- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for local (0.13 sec)
-
guava-tests/test/com/google/common/reflect/InvokableTest.java
* initializer. */ private static class LocalClassWithSeeminglyHiddenThisInStaticInitializer { static { class Local { @SuppressWarnings("unused") // through reflection Local(LocalClassWithSeeminglyHiddenThisInStaticInitializer outer) {} } Constructor<?> constructor = Local.class.getDeclaredConstructors()[0];
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 30.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/ToStringHelperTest.java
assertEquals("FooBar{}", toTest); } @GwtIncompatible // Class names are obfuscated in GWT public void testToStringHelper_localInnerClass() { // Local inner classes have names ending like "Outer.$1Inner" class LocalInnerClass {} String toTest = MoreObjects.toStringHelper(new LocalInnerClass()).toString(); assertEquals("LocalInnerClass{}", toTest); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 21:24:55 GMT 2024 - 15.6K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/Types.java
OWNED_BY_ENCLOSING_CLASS { @Override @CheckForNull Class<?> getOwnerType(Class<?> rawType) { return rawType.getEnclosingClass(); } }, LOCAL_CLASS_HAS_NO_OWNER { @Override @CheckForNull Class<?> getOwnerType(Class<?> rawType) { if (rawType.isLocalClass()) { return null; } else {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 23.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFuture.java
void releaseResources(ReleaseResourcesReason reason) { checkNotNull(reason); /* * All elements of `futures` are completed, or this future has already completed and read * `futures` into a local variable (in preparation for propagating cancellation to them). In * either case, no one needs to read `futures` for cancellation purposes later. (And
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 01 21:46:34 GMT 2024 - 15.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java
assertFalse(entrySet.retainAll(asList(null, entryOf(1, 1), entryOf(15, 15)))); checkEmpty(entrySet); checkEmpty(cache); } } /* ---------------- Local utilities -------------- */ /** Most of the tests in this class run against every one of these caches. */ private Iterable<LoadingCache<Object, Object>> caches() { // lots of different ways to configure a LoadingCache
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 11.5K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedBytes.java
* * And, no, defining (final or not) local variables out of the loop still isn't as good * because the null check on the theUnsafe object remains inside the loop and * BYTE_ARRAY_BASE_OFFSET doesn't get constant-folded. * * The compiler can treat static final fields as compile-time constants and can constant-fold * them while (final or not) local variables are run time values. */
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 18.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
* Pat Fisher, Mike Judd. */ /* * Source: * http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/test/tck/JSR166TestCase.java?revision=1.90 * (We have made some trivial local modifications (commented out * uncompilable code).) */ package com.google.common.util.concurrent; import static java.util.concurrent.TimeUnit.MILLISECONDS; import static java.util.concurrent.TimeUnit.NANOSECONDS;
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 37.7K bytes - Viewed (0) -
guava/src/com/google/common/cache/Striped64.java
import com.google.common.annotations.GwtIncompatible; import java.util.Random; import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * A package-local class holding common representation and mechanics for classes supporting dynamic * striping on 64bit values. The class extends Number so that concrete subclasses must publicly do * so. */ @GwtIncompatible
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 11.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/ToStringHelperTest.java
assertEquals("FooBar{}", toTest); } @GwtIncompatible // Class names are obfuscated in GWT public void testToStringHelper_localInnerClass() { // Local inner classes have names ending like "Outer.$1Inner" class LocalInnerClass {} String toTest = MoreObjects.toStringHelper(new LocalInnerClass()).toString(); assertEquals("LocalInnerClass{}", toTest); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 21:24:55 GMT 2024 - 15.6K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/Striped64.java
import com.google.common.annotations.GwtIncompatible; import java.util.Random; import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * A package-local class holding common representation and mechanics for classes supporting dynamic * striping on 64bit values. The class extends Number so that concrete subclasses must publicly do * so. */ @GwtIncompatible
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 11.5K bytes - Viewed (0)