- Sort Score
- Num 10 results
- Language All
Results 341 - 350 of 451 for olur (0.03 seconds)
-
android/guava/src/com/google/common/hash/LittleEndianByteArray.java
if (theUnsafe.arrayIndexScale(byte[].class) != 1) { throw new AssertionError(); } } } /** * Fallback implementation for when VarHandle and Unsafe are not available in our current * environment. */ private enum JavaLittleEndianBytes implements LittleEndianBytes { INSTANCE { @Override public long getLongLittleEndian(byte[] source, int offset) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 10.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/TestThread.java
* of Java 20, it always throws an exception, and as of Java 26, the method does not even exist. * For now, we continue using it to clean up under older JDKs. * * Our usages should at least be *relatively* safe: Typically, threads started by a test are dying * at the end of the test, so there is no object state put at risk by stopping the threads
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 11.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/math/DoubleMathTest.java
assertThrows(IllegalArgumentException.class, () -> DoubleMath.fuzzyEquals(1, 2, tolerance)); } } /* * We've split testFuzzyCompare() into multiple tests so that our internal Android test runner has * a better chance of completing each within its per-test-method timeout. */ public void testFuzzyCompare0() { runTestFuzzyCompare(0); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 03 16:20:39 GMT 2026 - 27.5K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Verify.java
* considered "compiled comments." * <li>An explicit {@code if/throw} (as illustrated below) is always acceptable; we still * recommend using our {@link VerifyException} exception type. Throwing a plain {@link * RuntimeException} is frowned upon. * <li>Use of {@link java.util.Objects#requireNonNull(Object)} is generally discouraged, since
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Dec 29 17:36:00 GMT 2025 - 18.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java
customThreadFound.incrementAndGet(); } }; ThreadDumpUtil.processThreadDump(searchConsumer); // Verify that our custom thread was captured assertTrue("Should find custom thread in dump", customThreadFound.get() > 0); } finally { latch.countDown();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 15.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java
assertThat(simplifyPath("./../../")).isEqualTo("../.."); assertThat(simplifyPath("./.././../")).isEqualTo("../.."); } /* * We co-opt some URI resolution tests for our purposes. * Some of the tests have queries and anchors that are a little silly here. */ /** http://gbiv.com/protocols/uri/rfc/rfc2396.html#rfc.section.C.1 */ public void testRfc2396Normal() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 11.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java
} public Test testsForHashtable() { return MapTestSuiteBuilder.using( new TestStringMapGenerator() { @Override // We are testing Hashtable / testing our tests on Hashtable. @SuppressWarnings("JdkObsolete") protected Map<String, String> create(Entry<String, String>[] entries) { return populate(new Hashtable<String, String>(), entries);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Dec 16 03:23:31 GMT 2025 - 21.8K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/GcFinalization.java
WeakReference<Object> ref = createWeakReferenceWithFinalizer(finalizerRan); await(finalizerRan); awaitClear(ref); // Hope to catch some stragglers queued up behind our finalizable object System.runFinalization(); } private static WeakReference<Object> createWeakReferenceWithFinalizer( CountDownLatch finalizerRan) { Object referent = new Object();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 20:19:19 GMT 2026 - 12.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java
assertThat(simplifyPath("./../../")).isEqualTo("../.."); assertThat(simplifyPath("./.././../")).isEqualTo("../.."); } /* * We co-opt some URI resolution tests for our purposes. * Some of the tests have queries and anchors that are a little silly here. */ /** http://gbiv.com/protocols/uri/rfc/rfc2396.html#rfc.section.C.1 */ public void testRfc2396Normal() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 11.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
// but work beyond that must take at least one second assertThat(afterBurst).isAtLeast(1000); } } /** * This neat test shows that no matter what weights we use in our requests, if we push X amount of * permits in a cool state, where X = rate * timeToCoolDown, and we have specified a * timeToWarmUp() period, it will cost as the prescribed amount of time. E.g., callingCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 22K bytes - Click Count (0)