- Sort Score
- Result 10 results
- Languages All
Results 671 - 680 of 777 for buffer (0.05 sec)
-
okhttp/src/test/java/okhttp3/EventListenerTest.kt
import okhttp3.internal.connection.RealConnectionPool.Companion.get import okhttp3.logging.HttpLoggingInterceptor import okhttp3.testing.Flaky import okhttp3.testing.PlatformRule import okio.Buffer import okio.BufferedSink import org.hamcrest.BaseMatcher import org.hamcrest.CoreMatchers import org.hamcrest.Description import org.hamcrest.Matcher import org.hamcrest.MatcherAssert import org.junit.Assume
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 56.9K bytes - Viewed (2) -
istioctl/pkg/validate/validate_test.go
}) validateCmd := NewValidateCommand(ctx) validateCmd.SilenceUsage = true validateCmd.SetArgs(c.args) // capture output to keep test logs clean var out bytes.Buffer validateCmd.SetOut(&out) validateCmd.SetErr(&out) err := validateCmd.Execute() if (err != nil) != c.wantError { t.Errorf("unexpected validate return status: got %v want %v: \nerr=%v",
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Aug 02 16:18:14 UTC 2024 - 21.4K bytes - Viewed (0) -
cmd/storage-datatypes.go
DstPath string `msg:"dp"` FI FileInfo `msg:"fi"` Opts RenameOptions `msg:"ro"` } // RenameDataInlineHandlerParams are parameters for RenameDataHandler with a buffer for inline data. type RenameDataInlineHandlerParams struct { RenameDataHandlerParams `msg:"p"` } func newRenameDataInlineHandlerParams() *RenameDataInlineHandlerParams { buf := grid.GetByteBufferCap(32 + 16<<10)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 17.3K bytes - Viewed (0) -
tensorflow/c/c_api.cc
result = session->Run(run_options_proto, input_pairs, output_tensor_names, target_oper_names, &outputs, &run_metadata_proto); // Serialize back to upstream client, who now owns the new buffer if (run_metadata != nullptr) { status->status = MessageToBuffer(run_metadata_proto, run_metadata); if (!status->status.ok()) return; } } else {
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 102.3K bytes - Viewed (0) -
doc/go1.17_spec.html
make(chan int, 100) </pre> <p> The capacity, in number of elements, sets the size of the buffer in the channel. If the capacity is zero or absent, the channel is unbuffered and communication succeeds only when both a sender and receiver are ready. Otherwise, the channel is buffered and communication succeeds without blocking if the buffer is not full (sends) or not empty (receives).
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Oct 10 18:25:45 UTC 2024 - 211.6K bytes - Viewed (0) -
cmd/metacache-stream_test.go
} if gotObj.name != want { t.Errorf("entry %d, want %q, got %q", i, want, gotObj.name) } } } func Test_newMetacacheStream(t *testing.T) { r := loadMetacacheSample(t) var buf bytes.Buffer w := newMetacacheWriter(&buf, 1<<20) defer w.Close() err := r.readFn(func(object metaCacheEntry) bool { err := w.write(object) if err != nil { t.Fatal(err) } return true })
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 15K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.cc
tensorflow::ServerDef server_def; if (!server_def.ParseFromArray(proto, proto_len)) { status->status = tensorflow::errors::InvalidArgument( "Invalid tensorflow.ServerDef protocol buffer"); return; } status->status = tensorflow::unwrap(ctx) ->GetDistributedManager() ->InitializeLocalOnlyContext(server_def, keep_alive_secs);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 35.9K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Ints.java
* use a shared {@link java.nio.ByteBuffer} instance, or use {@link * com.google.common.io.ByteStreams#newDataOutput()} to get a growable buffer. */ public static byte[] toByteArray(int value) { return new byte[] { (byte) (value >> 24), (byte) (value >> 16), (byte) (value >> 8), (byte) value }; } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 31K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbTransport.java
} InetAddress localAddr; int localPort; UniAddress address; Socket socket; int port, mid; OutputStream out; InputStream in; byte[] sbuf = new byte[512]; /* small local buffer */ SmbComBlankResponse key = new SmbComBlankResponse(); long sessionExpiration = System.currentTimeMillis() + SO_TIMEOUT; LinkedList referrals = new LinkedList(); SigningDigest digest = null;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 31.2K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Chars.java
* use a shared {@link java.nio.ByteBuffer} instance, or use {@link * com.google.common.io.ByteStreams#newDataOutput()} to get a growable buffer. */ @GwtIncompatible // doesn't work public static byte[] toByteArray(char value) { return new byte[] {(byte) (value >> 8), (byte) value}; } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 27 16:47:48 UTC 2024 - 23.9K bytes - Viewed (0)