OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [java/] [util/] [concurrent/] [atomic/] [AtomicLongArray.h] - Blame information for rev 758

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 758 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __java_util_concurrent_atomic_AtomicLongArray__
5
#define __java_util_concurrent_atomic_AtomicLongArray__
6
 
7
#pragma interface
8
 
9
#include <java/lang/Object.h>
10
#include <gcj/array.h>
11
 
12
extern "Java"
13
{
14
  namespace sun
15
  {
16
    namespace misc
17
    {
18
        class Unsafe;
19
    }
20
  }
21
}
22
 
23
class java::util::concurrent::atomic::AtomicLongArray : public ::java::lang::Object
24
{
25
 
26
  jlong rawIndex(jint);
27
public:
28
  AtomicLongArray(jint);
29
  AtomicLongArray(JArray< jlong > *);
30
  virtual jint length();
31
  virtual jlong get(jint);
32
  virtual void set(jint, jlong);
33
  virtual void lazySet(jint, jlong);
34
  virtual jlong getAndSet(jint, jlong);
35
  virtual jboolean compareAndSet(jint, jlong, jlong);
36
  virtual jboolean weakCompareAndSet(jint, jlong, jlong);
37
  virtual jlong getAndIncrement(jint);
38
  virtual jlong getAndDecrement(jint);
39
  virtual jlong getAndAdd(jint, jlong);
40
  virtual jlong incrementAndGet(jint);
41
  virtual jlong decrementAndGet(jint);
42
  virtual jlong addAndGet(jint, jlong);
43
  virtual ::java::lang::String * toString();
44
private:
45
  static const jlong serialVersionUID = -2308431214976778248LL;
46
  static ::sun::misc::Unsafe * unsafe;
47
  static jint base;
48
  static jint scale;
49
  JArray< jlong > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) array;
50
public:
51
  static ::java::lang::Class class$;
52
};
53
 
54
#endif // __java_util_concurrent_atomic_AtomicLongArray__

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.