- Sort Score
- Result 10 results
- Languages All
Results 851 - 860 of 2,048 for size0 (0.02 sec)
-
mockwebserver/src/test/java/mockwebserver3/CustomDispatcherTest.kt
} } assertThat(requestsMade.size).isEqualTo(0) mockWebServer.dispatcher = dispatcher val url = mockWebServer.url("/").toUrl() val conn = url.openConnection() as HttpURLConnection conn.responseCode // Force the connection to hit the "server". // Make sure our dispatcher got the request. assertThat(requestsMade.size).isEqualTo(1) } @Test fun outOfOrderResponses() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/SortedSetNavigationTester.java
.getSampleElements(getSubjectGenerator().getCollectionSize().getNumElements())); sort(values, sortedSet.comparator()); // some tests assume SEVERAL == 3 if (values.size() >= 1) { a = values.get(0); if (values.size() >= 3) { b = values.get(1); c = values.get(2); } } } @CollectionSize.Require(ZERO) public void testEmptySetFirst() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileStandardInfo.java
this.directory = ( buffer[ bufferIndex++ ] & 0xFF ) > 0; return bufferIndex - start; } /** * {@inheritDoc} * * @see jcifs.Encodable#size() */ @Override public int size () { return 22; } /** * {@inheritDoc} * * @see jcifs.Encodable#encode(byte[], int) */ @Override
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.3K bytes - Viewed (0) -
internal/ioutil/read_file.go
f, err := OsOpenFile(name, readMode, 0o666) if err != nil { return nil, nil, err } defer f.Close() st, err := f.Stat() if err != nil { return nil, nil, err } dst := make([]byte, st.Size()) _, err = io.ReadFull(f, dst) return dst, st, err } // ReadFile reads the named file and returns the contents. // A successful call returns err == nil, not err == EOF.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Dec 09 18:17:51 UTC 2023 - 2.3K bytes - Viewed (0) -
cmd/site-replication-metrics_gen.go
o = msgp.Require(b, z.Msgsize()) // map header, size 4 // string "LastHour" o = append(o, 0x84, 0xa8, 0x4c, 0x61, 0x73, 0x74, 0x48, 0x6f, 0x75, 0x72) o, err = z.LastHour.MarshalMsg(o) if err != nil { err = msgp.WrapError(err, "LastHour") return } // string "SinceUptime" o = append(o, 0xab, 0x53, 0x69, 0x6e, 0x63, 0x65, 0x55, 0x70, 0x74, 0x69, 0x6d, 0x65) // map header, size 2 // string "Count"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Feb 06 06:00:45 UTC 2024 - 40.6K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/management/DefaultPluginManagementInjector.java
if (!src.isEmpty()) { List<PluginExecution> tgt = target.getExecutions(); Map<Object, PluginExecution> merged = new LinkedHashMap<>((src.size() + tgt.size()) * 2); for (PluginExecution element : src) { Object key = getPluginExecutionKey().apply(element); merged.put(key, element); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.9K bytes - Viewed (0) -
tensorflow/c/eager/dlpack_test.cc
std::vector<int64_t> shape, std::vector<int64_t> strides) { size_t num_elements = 1; for (int i = 0; i < static_cast<int32_t>(shape.size()); ++i) { num_elements *= shape[i]; } std::vector<float> data(num_elements); for (size_t j = 0; j < num_elements; ++j) { data[j] = j; } DLManagedTensor dlm_in = {};
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Fri Jun 30 03:04:46 UTC 2023 - 4.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/MultiInputStreamTest.java
} private static ByteSource newByteSource(final int start, final int size) { return new ByteSource() { @Override public InputStream openStream() { return new ByteArrayInputStream(newPreFilledByteArray(start, size)); } }; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/filter/EncodingFilter.java
} final Map<String, String[]> paramMap = new HashMap<>(paramListMap.size()); for (final Map.Entry<String, List<String>> entry : paramListMap.entrySet()) { final List<String> list = entry.getValue(); paramMap.put(entry.getKey(), list.toArray(new String[list.size()])); } return paramMap; } @Override public void destroy() {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 6.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionNode.java
throws CyclicDependencyException, OverConstrainedVersionException { if (artifacts != null && !artifacts.isEmpty()) { children = new ArrayList<>(artifacts.size()); for (Artifact a : artifacts) { if (parents.contains(a.getDependencyConflictId())) { a.setDependencyTrail(getDependencyTrail());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.6K bytes - Viewed (0)