- Sort Score
- Result 10 results
- Languages All
Results 561 - 570 of 2,042 for sizi (0.02 sec)
-
okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerRealBackendTest.kt
log.put("runOnce delays.size=${delays.size}") return@schedule delays.removeAt(0) } assertThat(log.take()).isEqualTo("runOnce delays.size=2") val t2 = System.nanoTime() / 1e6 - t1 assertThat(t2).isCloseTo(750.0, 250.0) assertThat(log.take()).isEqualTo("runOnce delays.size=1") val t3 = System.nanoTime() / 1e6 - t1
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FilteredMultimapTest.java
Multimap<String, Integer> filtered = filterValues(keyFiltered, VALUE_PREDICATE); assertEquals(1, filtered.size()); assertTrue(filtered.containsEntry("foo", 1)); assertTrue(filtered.keySet().retainAll(asList("cat", "dog"))); assertEquals(0, filtered.size()); } // TODO(jlevy): Many more tests needed.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSetMultimap.java
new ImmutableMap.Builder<>(mapEntries.size()); int size = 0; for (Entry<? extends K, ? extends Collection<? extends V>> entry : mapEntries) { K key = entry.getKey(); Collection<? extends V> values = entry.getValue(); ImmutableSet<V> set = valueSet(valueComparator, values); if (!set.isEmpty()) { builder.put(key, set); size += set.size(); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 25.9K bytes - Viewed (0) -
internal/grid/msg_gen.go
err = msgp.WrapError(err) return } } } return } // EncodeMsg implements msgp.Encodable func (z *connectReq) EncodeMsg(en *msgp.Writer) (err error) { // map header, size 4 // write "ID" err = en.Append(0x84, 0xa2, 0x49, 0x44) if err != nil { return } err = en.WriteBytes((z.ID)[:]) if err != nil { err = msgp.WrapError(err, "ID") return }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jul 25 21:07:21 UTC 2024 - 22.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/BiMapPutTester.java
assertEquals(1, getMap().size()); assertTrue(getMap().containsKey(k0())); } @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(ONE) public void testForcePutValuePresent() { getMap().forcePut(k1(), v0()); expectContents(mapEntry(k1(), v0())); assertEquals(k1(), getMap().inverse().get(v0())); assertEquals(1, getMap().size()); assertFalse(getMap().containsKey(k0())); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.9K bytes - Viewed (0) -
guava/src/com/google/common/graph/AbstractDirectedNetworkConnections.java
: Sets.union(inEdgeMap.keySet(), outEdgeMap.keySet()); return Iterators.unmodifiableIterator(incidentEdges.iterator()); } @Override public int size() { return IntMath.saturatedAdd(inEdgeMap.size(), outEdgeMap.size() - selfLoopCount); } @Override public boolean contains(@CheckForNull Object obj) { return inEdgeMap.containsKey(obj) || outEdgeMap.containsKey(obj);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 26 17:43:39 UTC 2021 - 4.5K bytes - Viewed (0) -
tensorflow/c/c_test_util.cc
targets_.emplace_back(t); } } void CSession::Run(TF_Status* s) { if (inputs_.size() != input_values_.size()) { ADD_FAILURE() << "Call SetInputs() before Run()"; return; } ResetOutputValues(); output_values_.resize(outputs_.size(), nullptr); const TF_Output* inputs_ptr = inputs_.empty() ? nullptr : &inputs_[0]; TF_Tensor* const* input_values_ptr =
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Fri Oct 15 03:16:52 UTC 2021 - 17.8K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java
* * <ul> * <li>size: The length of the byte array to hash. * <li>algorithm: the algorithm to hash with (e.g. MD5, SHA1, etc.). * <li>hashMethod: how to hash the data (using the Hashing API or the MessageDigest API). * </ul> * * @author Kurt Alfred Kluever */ public class MessageDigestAlgorithmBenchmark { @Param({"10", "1000", "100000", "1000000"}) int size; @Param Algorithm algorithm;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.5K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java
* * <ul> * <li>size: The length of the byte array to hash. * <li>algorithm: the algorithm to hash with (e.g. MD5, SHA1, etc.). * <li>hashMethod: how to hash the data (using the Hashing API or the MessageDigest API). * </ul> * * @author Kurt Alfred Kluever */ public class MessageDigestAlgorithmBenchmark { @Param({"10", "1000", "100000", "1000000"}) int size; @Param Algorithm algorithm;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/SystemHelperTest.java
assertEquals(0, filteredEnvMap.size()); envMap.put("FESS_ENV_TEST", "123"); filteredEnvMap = systemHelper.getFilteredEnvMap("^FESS_ENV.*"); assertEquals(1, filteredEnvMap.size()); assertEquals("123", filteredEnvMap.get("FESS_ENV_TEST")); filteredEnvMap = systemHelper.getFilteredEnvMap("^XFESS_ENV.*"); assertEquals(0, filteredEnvMap.size()); envMap.put("", "123");
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 18.5K bytes - Viewed (0)