- Sort Score
- Result 10 results
- Languages All
Results 581 - 590 of 717 for failed (0.05 sec)
-
Hashing.java
sh3.cpp">32-bit murmur3 L133: * algorithm, x86 variant</a> (little-endian variant), using the given seed value. L134: * L135: * <p>The exact C++ equivalent is the MurmurHash3_x86_32 function (Murmur3A). L136: * L137: * <p>This method is called {@code murmur3_32_fixed} because it fixes a bug in the {@code L138: * HashFunction} returned by the original {@code murmur3_32} method. L139: * L140: * @since 31.0 L141: */ L142: public static HashFunction murmur3_32_fixed(int seed) { L143:...github.com/google/guava/android/guava/src/com/g...Fri Jul 19 16:02:36 UTC 2024 29.3K bytes -
FarmHashFingerprint64Test.java
L29: * L30: * @author Kyle Maddison L31: * @author Geoff Pike L32: */ L33:public class FarmHashFingerprint64Test extends TestCase { L34: L35: private static final HashFunction HASH_FN = Hashing.farmHashFingerprint64(); L36: L37: // If this test fails, all bets are off L38: public void testReallySimpleFingerprints() { L39: assertEquals(8581389452482819506L, fingerprint("test".getBytes(UTF_8))); L40: // 32 characters long L41: assertEquals(-4196240717365766262L, fingerprint(Strings.repeat("test",...github.com/google/guava/android/guava-tests/tes...Tue Jul 23 14:22:54 UTC 2024 6.2K bytes -
ComparatorsTest.java
L128: assertThat(min(1, 2, reverse)).isEqualTo(2); L129: assertThat(min(2, 1, reverse)).isEqualTo(2); L130: assertThat(max(1, 2, reverse)).isEqualTo(1); L131: assertThat(max(2, 1, reverse)).isEqualTo(1); L132: } L133: L134: /** L135: * Fails compilation if the signature of min and max is changed to take {@code Comparator<T>} L136: * instead of {@code Comparator<? super T>}. L137: */ L138: public void testMinMaxWithSupertypeComparator() { L139: Comparator<Number> numberComparator...github.com/google/guava/android/guava-tests/tes...Wed Oct 30 16:15:19 UTC 2024 6.4K bytes -
IdnaMappingTable.txt
; 0644 # 6.1 ARABIC MATHEMATICAL TAILED LAM L7943:1EE4C ; disallowed # NA <reserved-1EE4C> L7944:1EE4D ; mapped ; 0646 # 6.1 ARABIC MATHEMATICAL TAILED NOON L7945:1EE4E ; mapped ; 0633 # 6.1 ARABIC MATHEMATICAL TAILED SEEN L7946:1EE4F ; mapped ; 0639 # 6.1 ARABIC MATHEMATICAL TAILED AIN L7947:1EE50 ; disallowed ...github.com/square/okhttp/okhttp-idna-mapping-ta...Sat Feb 10 11:25:47 UTC 2024 854.1K bytes -
AtomicDoubleTest.java
AtomicDouble(1.0); L79: assertBitEquals(1.0, at.get()); L80: for (double x : VALUES) { L81: at.lazySet(x); L82: assertBitEquals(x, at.get()); L83: } L84: } L85: L86: /** compareAndSet succeeds in changing value if equal to expected else fails */ L87: public void testCompareAndSet() { L88: double prev = Math.E; L89: double unused = Math.E + Math.PI; L90: AtomicDouble at = new AtomicDouble(prev); L91: for (double x : VALUES) { L92: assertBitEquals(prev, at.get()); L93: ...github.com/google/guava/guava-tests/test/com/go...Thu Oct 17 02:42:09 UTC 2024 10.3K bytes -
OkHttpTest.kt
.execute() L851: L852: response.use { L853: assertEquals(200, response.code) L854: assertEquals(Protocol.HTTP_2, response.protocol) L855: } L856: L857: // Only logs to the test logger above L858: // Will fail if "adb shell setprop log.tag.okhttp.Http2 DEBUG" is called L859: assertEquals(setOf(OkHttpTest::class.java.name), testHandler.calls.keys) L860: } L861: L862: fun testCachedRequest() { L863: enableTls() L864: L865: server.enqueue(MockResponse(body = "abc", headers =...github.com/square/okhttp/android-test/src/andro...Sat Jan 20 10:30:28 UTC 2024 27K bytes -
Multimaps.java
L1810: } L1811: L1812: @Override L1813: public Set<K> elementSet() { L1814: return multimap.keySet(); L1815: } L1816: L1817: @Override L1818: Iterator<K> elementIterator() { L1819: throw new AssertionError("should never be called"); L1820: } L1821: } L1822: L1823: /** A skeleton implementation of {@link Multimap#entries()}. */ L1824: abstract static class Entries<K extends @Nullable Object, V extends @Nullable Object> L1825: extends AbstractCollection<Map.Entry<K,...github.com/google/guava/android/guava/src/com/g...Wed Oct 16 21:21:17 UTC 2024 86.3K bytes -
CacheBuilderTest.java
InterruptedException { L417: // If a clear() happens close to the end of computation, one of two things should happen: L418: // - computation ends first: the removal listener is called, and the cache does not contain the L419: // key/value pair L420: // - clear() happens first: the removal listener is not called, and the cache contains the pair L421: AtomicBoolean computationShouldWait = new AtomicBoolean(); L422: CountDownLatch computationLatch = new CountDownLatch(1); L423: Qu...github.com/google/guava/guava-tests/test/com/go...Fri Oct 18 15:00:32 UTC 2024 24.9K bytes -
ByteSourceTest.java
new ByteProcessor<@Nullable Void>() { L159: boolean firstCall = true; L160: L161: @Override L162: public boolean processBytes(byte[] buf, int off, int len) throws IOException { L163: assertTrue("consume() called twice", firstCall); L164: firstCall = false; L165: return false; L166: } L167: L168: @Override L169: public @Nullable Void getResult() { L170: return null; L171: } L172: };...github.com/google/guava/guava-tests/test/com/go...Sat Oct 19 00:26:48 UTC 2024 15.4K bytes -
PairedStats.java
Objects; L28:import java.io.Serializable; L29:import java.nio.ByteBuffer; L30:import java.nio.ByteOrder; L31:import javax.annotation.CheckForNull; L32: L33:/** L34: * An immutable value object capturing some basic statistics about a collection of paired double L35: * values (e.g. points on a plane). Build instances with {@link PairedStatsAccumulator#snapshot}. L36: * L37: * @author Pete Gillin L38: * @since 20.0 L39: */ L40:@J2ktIncompatible L41:@GwtIncompatible L42:@ElementTypesAreNonnullByDefault...github.com/google/guava/guava/src/com/google/co...Fri May 12 17:02:53 UTC 2023 12.6K bytes