OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:UNSAFE
(Results
1 - 25
of
94
) sorted by null
1
2
3
4
/libcore/ojluni/src/main/java/java/lang/invoke/
MethodHandleStatics.java
28
import sun.misc.
Unsafe
;
40
static final
Unsafe
UNSAFE
=
Unsafe
.getUnsafe();
CallSite.java
270
//
unsafe
stuff:
274
TARGET_OFFSET =
UNSAFE
.objectFieldOffset(CallSite.class.getDeclaredField("target"));
286
return (MethodHandle)
UNSAFE
.getObjectVolatile(this, TARGET_OFFSET);
292
UNSAFE
.putObjectVolatile(this, TARGET_OFFSET, newTarget);
MethodType.java
[
all
...]
/art/test/067-preemptive-unpark/src/
Main.java
1
import sun.misc.
Unsafe
;
6
private static
Unsafe
UNSAFE
;
16
UNSAFE
.unpark(test);
41
* Set up {@link #
UNSAFE
}.
45
* Subvert the access check to get the unique
Unsafe
instance.
51
field =
Unsafe
.class.getDeclaredField("THE_ONE");
54
field =
Unsafe
.class.getDeclaredField("theUnsafe");
60
UNSAFE
= (
Unsafe
) field.get(null)
[
all
...]
/libcore/ojluni/src/main/java/java/net/
InetSocketAddress.java
307
UNSAFE
.putObject(this, FIELDS_OFFSET, h);
317
private static final sun.misc.
Unsafe
UNSAFE
;
320
sun.misc.
Unsafe
unsafe
= sun.misc.
Unsafe
.getUnsafe();
external variable declarations
321
FIELDS_OFFSET =
unsafe
.objectFieldOffset(
323
UNSAFE
=
unsafe
;
Inet6Address.java
579
private static final sun.misc.
Unsafe
UNSAFE
;
583
sun.misc.
Unsafe
unsafe
= sun.misc.
Unsafe
.getUnsafe();
external variable declarations
584
FIELDS_OFFSET =
unsafe
.objectFieldOffset(
586
UNSAFE
=
unsafe
;
653
UNSAFE
.putObject(this, FIELDS_OFFSET, h);
[
all
...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/apache/harmony/kernel/dalvik/
ThreadsTest.java
24
import sun.misc.
Unsafe
;
27
* Tests for the <code>park()</code> functionality of {@link
Unsafe
}.
30
private static
Unsafe
UNSAFE
= null;
33
* Set up {@link #
UNSAFE
}. This subverts the access check to
34
* get the unique
Unsafe
instance. We can do this because
39
Field field =
Unsafe
.class.getDeclaredField("THE_ONE");
42
UNSAFE
= (
Unsafe
) field.get(null);
86
UNSAFE
.unpark(parkerThread)
[
all
...]
/libcore/ojluni/src/main/java/java/io/
File.java
2160
sun.misc.Unsafe
unsafe
= sun.misc.Unsafe.getUnsafe();
external variable declarations
[
all
...]
/external/protobuf/java/core/src/main/java/com/google/protobuf/
Utf8.java
93
* A mask used when performing
unsafe
reads to determine if a long value contains any non-ASCII
117
* Used by {@code
Unsafe
} UTF-8 string validation logic to determine the minimum string length
121
* (when calling {@code
Unsafe
.getLong}). This threshold guarantees that even if the initial
122
* offset is unaligned, we're guaranteed to make at least one call to {@code
Unsafe
.getLong()}
760
* {@link Processor} implementation that does not use any {@code sun.misc.
Unsafe
} methods.
1631
sun.misc.Unsafe
unsafe
= null;
local
[
all
...]
CodedOutputStream.java
62
private static final sun.misc.
Unsafe
UNSAFE
= getUnsafe();
2609
sun.misc.Unsafe
unsafe
= null;
local
[
all
...]
/prebuilts/misc/common/robolectric/lib/
robolectric-utils-3.1.1.jar
guava-19.0.jar
/prebuilts/tools/common/m2/repository/io/netty/netty-common/4.1.3.Final/
netty-common-4.1.3.Final.jar
/prebuilts/tools/common/m2/repository/io/netty/netty-common/4.1.6.Final/
netty-common-4.1.6.Final.jar
/prebuilts/tools/common/m2/repository/io/netty/netty-common/4.1.0.CR3/
netty-common-4.1.0.CR3.jar
/prebuilts/tools/common/m2/repository/com/google/protobuf/protobuf-lite/3.0.1/
protobuf-lite-3.0.1.jar
/prebuilts/tools/common/m2/repository/io/reactivex/rxjava/1.1.0/
rxjava-1.1.0.jar
/cts/tests/libcore/javautilcollections/libs/
guava-20.0.jar
/prebuilts/misc/common/guava/
guava-20.0.jar
/prebuilts/tools/common/google-java-format/
google-java-format-1.0-all-deps.jar
google-java-format-all-deps.jar
/prebuilts/tools/common/m2/repository/com/google/guava/guava/19.0/
guava-19.0.jar
/prebuilts/tools/common/m2/repository/com/google/guava/guava/19.0-rc2/
guava-19.0-rc2.jar
/prebuilts/tools/common/m2/repository/com/google/guava/guava/20.0/
guava-20.0.jar
/prebuilts/tools/common/m2/repository/com/google/guava/guava/21.0/
guava-21.0.jar
Completed in 729 milliseconds
1
2
3
4