- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 367 for Expect (0.06 sec)
-
android/guava-tests/test/com/google/common/io/ByteSourceTest.java
* @param input the size of the input source * @param offset the first argument to {@link ByteSource#slice} * @param length the second argument to {@link ByteSource#slice} * @param expectRead the number of bytes we expect to read */ private static void assertCorrectSlice(int input, int offset, long length, int expectRead) throws IOException { checkArgument(expectRead == (int) max(0, min(input, offset + length) - offset));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 15.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/SourceSinkFactories.java
return new String(factory.getSinkContents(), UTF_8); } @Override public String getExpected(String data) { /* * Get what the byte sink factory would expect for no written bytes, then append expected * string to that. */ byte[] factoryExpectedForNothing = factory.getExpected(new byte[0]);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 17.7K bytes - Viewed (0) -
cni/pkg/nodeagent/ztunnelserver.go
} case <-time.After(ztunnelKeepAliveCheckInterval): // do a short read, just to see if the connection to ztunnel is // still alive. As ztunnel shouldn't send anything unless we send // something first, we expect to get an os.ErrDeadlineExceeded error // here if the connection is still alive. // note that unlike tcp connections, reading is a good enough test here. _, err := conn.readMessage(time.Second / 100) switch {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Jul 29 16:08:35 UTC 2024 - 13.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactHashSet.java
/** * Creates a {@code CompactHashSet} instance, with a high enough "initial capacity" that it * <i>should</i> hold {@code expectedSize} elements without growth. * * @param expectedSize the number of elements you expect to add to the returned set * @return a new, empty {@code CompactHashSet} with enough capacity to hold {@code expectedSize} * elements without resizing
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 24K bytes - Viewed (0) -
cmd/metacache-set.go
time.Sleep(retryDelay250) continue default: internalLogIf(ctx, err) return entries, err } } // We finished at the end of the block. // And should not expect any more results. bi, err := getMetacacheBlockInfo(fi, partN) internalLogIf(ctx, err) if err != nil || bi.EOS { // We are done and there are no more parts. return entries, io.EOF }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 16:23:16 UTC 2024 - 30.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
* elements without resizing. Note that this is not what {@link HashSet#HashSet(int)} does, but it * is what most users want and expect it to do. * * <p>This behavior can't be broadly guaranteed, but has been tested with OpenJDK 1.7 and 1.8. * * @param expectedSize the number of elements you expect to add to the returned set * @return a new, empty hash set with enough capacity to hold {@code expectedSize} elements
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 78.8K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test.cc
if (async) { if (forward_input) { // Since the input was forwarded, we released the input handle right away // and hence expect the input to be forwarded to the return tensor. EXPECT_EQ(orig_ptr, TF_TensorData(t)); } else { // In async mode we expect forwarding to work without releasing the input // handle since by the time the kernel is executed we have released the
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Aug 03 20:50:20 UTC 2023 - 94.6K bytes - Viewed (0) -
istioctl/pkg/analyze/analyze.go
if meshCfgFile != "" { _ = sa.AddFileKubeMeshConfig(meshCfgFile) } // If we're not using kube (files only), add defaults for some resources we expect to be provided by Istio if !useKube { err := sa.AddDefaultResources() if err != nil { return err } } // If files are provided, treat them (collectively) as a source.
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 31 06:53:50 UTC 2024 - 17.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/EventListenerTest.kt
server.enqueue( MockResponse.Builder() .add100Continue() .build(), ) val request = Request.Builder() .url(server.url("/")) .header("Expect", "100-continue") .post("abc".toRequestBody("text/plain".toMediaType())) .build() val call = client.newCall(request) call.execute()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 56.9K bytes - Viewed (2) -
android/guava-tests/test/com/google/common/collect/OrderingTest.java
} Ordering<Object> arbitrary = Ordering.arbitrary(); sort(list, arbitrary); // Now we don't care what order it's put the list in, only that // comparing any pair of elements gives the answer we expect. testComparator(arbitrary, list); assertEquals("Ordering.arbitrary()", arbitrary.toString()); } @J2ktIncompatible // ArbitraryOrdering public void testArbitrary_withCollisions() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 42.6K bytes - Viewed (0)