- Sort Score
- Result 10 results
- Languages All
Results 711 - 720 of 1,270 for expectEq (0.12 sec)
-
android/guava-tests/test/com/google/common/collect/MapMakerTest.java
MapMaker maker = new MapMaker().initialCapacity(16); try { // even to the same value is not allowed maker.initialCapacity(16); fail(); } catch (IllegalStateException expected) { } } public void testReturnsPlainConcurrentHashMapWhenPossible() { Map<?, ?> map = new MapMaker().initialCapacity(5).makeMap(); assertTrue(map instanceof ConcurrentHashMap); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 2.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ConnectionListenerTest.kt
client.newCall( Request.Builder() .url(server!!.url("/")) .build(), ) assertFailsWith<IOException> { call.execute() }.also { expected -> assertThat(expected.message).isIn("timeout", "Read timed out") } assertThat(listener.recordedEventTypes()).containsExactly( "ConnectStart", "ConnectEnd", "ConnectionAcquired",
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 9.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/cache2/RelayTest.kt
source1.close() // Not exhausted! assertThat(relay1.isClosed).isTrue() assertFailsWith<IOException> { read(file) }.also { expected -> assertThat(expected.message).isEqualTo("unreadable cache file") } assertFile(Relay.PREFIX_DIRTY, -1L, -1, null, null) } @Test fun redundantCallsToCloseAreIgnored() { val upstream = Buffer()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 8.1K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/NetworkBuilder.java
*/ @CanIgnoreReturnValue public NetworkBuilder<N, E> allowsSelfLoops(boolean allowsSelfLoops) { this.allowsSelfLoops = allowsSelfLoops; return this; } /** * Specifies the expected number of nodes in the network. * * @throws IllegalArgumentException if {@code expectedNodeCount} is negative */ @CanIgnoreReturnValue public NetworkBuilder<N, E> expectedNodeCount(int expectedNodeCount) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 03 01:21:31 UTC 2022 - 7.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java
expectedBuilder.put(entry.getKey().intersection(subRange), entry.getValue()); } } ImmutableRangeMap<Integer, Integer> expected = expectedBuilder.build(); assertEquals(expected, rangeMap.subRangeMap(subRange)); } } } } } public void testSerialization() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 9.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/DoubleUtilsTest.java
public void testBigToDouble() { for (BigInteger b : ALL_BIGINTEGER_CANDIDATES) { if (b.doubleValue() != DoubleUtils.bigToDouble(b)) { failFormat( "Converting %s to double: expected doubleValue %s but got bigToDouble %s", b, b.doubleValue(), DoubleUtils.bigToDouble(b)); } } } public void testEnsureNonNegative() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 03 18:10:55 UTC 2024 - 3K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/tflite-converter-issue.md
If the conversion is successful, but the generated model is wrong, then state what is wrong: - Model produces wrong results and/or has lesser accuracy. - Model produces correct results, but it is slower than expected. ### 4. (optional) RNN conversion support If converting TF RNN to TFLite fused RNN ops, please prefix [RNN] in the title. ### 5. (optional) Any other info / logs
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Jun 15 03:35:58 UTC 2022 - 2.1K bytes - Viewed (0) -
internal/kms/secret-key.go
return nil, ErrNotSupported } // parseCiphertext parses and converts a ciphertext into // the format expected by a secretKey. // // Previous implementations of the secretKey produced a structured // ciphertext. parseCiphertext converts all previously generated // formats into the expected format. func parseCiphertext(b []byte) ([]byte, kms.SecretKeyType) { if len(b) == 0 { return b, kms.AES256 }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 8.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/QuantilesTest.java
@Override public boolean apply(@Nullable Double actual, @Nullable Double expected) { // Test for equality to allow non-finite values to match; otherwise, use the finite // test. return actual.equals(expected) || FINITE_QUANTILE_CORRESPONDENCE.compare(actual, expected); } }, "is identical to or " + FINITE_QUANTILE_CORRESPONDENCE);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 29.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/HashBiMap.java
return create(16); } /** * Constructs a new, empty bimap with the specified expected size. * * @param expectedSize the expected number of entries * @throws IllegalArgumentException if the specified expected size is negative */ public static <K extends @Nullable Object, V extends @Nullable Object> HashBiMap<K, V> create( int expectedSize) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 13 14:11:58 UTC 2023 - 24.5K bytes - Viewed (0)