/libcore/benchmarks/src/benchmarks/regression/ |
H A D | MutableIntBenchmark.java | 73 @Param Kind kind; field in class:MutableIntBenchmark 76 kind.timeCreate(reps); 80 kind.timeIncrement(reps); 84 kind.timeGet(reps);
|
/libcore/ojluni/src/main/java/java/nio/file/ |
H A D | WatchEvent.java | 32 * <p> An event is classified by its {@link #kind() kind} and has a {@link 50 * An event kind, for the purposes of identification. 57 * Returns the name of the event kind. 59 * @return the name of the event kind 91 * Returns the event kind. 93 * @return the event kind 95 Kind<T> kind(); method in interface:WatchEvent
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
H A D | AbstractWatchKey.java | 105 final void signalEvent(WatchEvent.Kind<?> kind, Object context) { argument 106 boolean isModify = (kind == StandardWatchEventKinds.ENTRY_MODIFY); 113 if ((prev.kind() == StandardWatchEventKinds.OVERFLOW) || 114 ((kind == prev.kind() && 127 assert ev.kind() == StandardWatchEventKinds.ENTRY_MODIFY; 141 kind = StandardWatchEventKinds.OVERFLOW; 149 new Event<Object>((WatchEvent.Kind<Object>)kind, context); 152 } else if (kind == StandardWatchEventKinds.OVERFLOW) { 191 private final WatchEvent.Kind<T> kind; field in class:AbstractWatchKey.Event 204 public WatchEvent.Kind<T> kind() { method in class:AbstractWatchKey.Event [all...] |
/libcore/ojluni/src/main/java/java/lang/invoke/ |
H A D | MethodHandleInfo.java | 84 * <tr><th>reference kind</th><th>descriptive name</th><th>scope</th><th>member</th><th>behavior</th></tr> 127 * A direct method handle reference kind, 143 * Returns the reference kind of the cracked method handle, which in turn 146 * @return the integer code for the kind of reference used to access the underlying member 183 // NOTE: class/name/type and reference kind constitute a symbolic reference 238 * Returns the descriptive name of the given reference kind, 241 * @param referenceKind an integer code for a kind of reference used to access a class member 244 * <a href="MethodHandleInfo.html#refkinds">reference kind number</a> 248 throw newIllegalArgumentException("invalid reference kind", referenceKind); 256 * {@linkplain #referenceKindToString reference kind strin 282 toString(int kind, Class<?> defc, String name, MethodType type) argument [all...] |
H A D | MethodHandles.java | 1204 private MethodHandle findAccessor(Class<?> refc, String name, Class<?> type, int kind) argument 1207 return findAccessor(field, refc, type, kind, true /* performAccessChecks */); 1210 private MethodHandle findAccessor(Field field, Class<?> refc, Class<?> type, int kind, argument 1213 final boolean isSetterKind = kind == MethodHandle.IPUT || kind == MethodHandle.SPUT; 1214 final boolean isStaticKind = kind == MethodHandle.SGET || kind == MethodHandle.SPUT; 1224 switch (kind) { 1238 throw new IllegalArgumentException("Invalid kind " + kind); [all...] |
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
H A D | MatchOpTest.java | 98 private <T> void assertPredicates(List<T> source, Kind kind, Predicate<T>[] predicates, boolean... answers) { argument 101 boolean match = this.<T>kinds().get(kind).apply(predicates[i]).apply(source.stream()); 102 assertEquals(answers[i], match, kind.toString() + predicates[i].toString()); 124 for (Kind kind : Kind.values()) { 125 setContext("kind", kind); 126 exerciseTerminalOps(data, this.<Integer>kinds().get(kind).apply(p)); 127 exerciseTerminalOps(data, s -> s.filter(pFalse), this.<Integer>kinds().get(kind).apply(p)); 128 exerciseTerminalOps(data, s -> s.filter(pEven), this.<Integer>kinds().get(kind).apply(p)); 183 private void assertIntPredicates(Supplier<IntStream> source, Kind kind, IntPredicat argument 268 assertLongPredicates(Supplier<LongStream> source, Kind kind, LongPredicate[] predicates, boolean... answers) argument 353 assertDoublePredicates(Supplier<DoubleStream> source, Kind kind, DoublePredicate[] predicates, boolean... answers) argument [all...] |
/libcore/dalvik/src/main/java/dalvik/system/ |
H A D | VMDebug.java | 268 public static native int getAllocCount(int kind); argument
|
/libcore/ojluni/src/main/java/sun/invoke/util/ |
H A D | Wrapper.java | 81 static int format(int kind, int size, int slots) { argument 82 assert(((kind >> KIND_SHIFT) << KIND_SHIFT) == kind); 84 assert((kind == SIGNED) ? (size > 0) : 85 (kind == UNSIGNED) ? (size > 0) : 86 (kind == FLOATING) ? (size == 32 || size == 64) : 91 return kind | (size << SIZE_SHIFT) | (slots << SLOT_SHIFT);
|