- Sort Score
- Result 10 results
- Languages All
Results 511 - 520 of 660 for buffered (0.12 sec)
-
istioctl/pkg/proxystatus/proxystatus_test.go
} verifyExecTestOutput(t, XdsStatusCommand(ctx), c) }) } } func verifyExecTestOutput(t *testing.T, cmd *cobra.Command, c execTestCase) { t.Helper() var out bytes.Buffer cmd.SetArgs(c.args) cmd.SilenceUsage = true cmd.SetOut(&out) cmd.SetErr(&out) fErr := cmd.Execute() output := out.String() if c.expectedOutput != "" && c.expectedOutput != output {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Mar 15 08:28:50 UTC 2024 - 5.5K bytes - Viewed (0) -
src/cmd/asm/internal/asm/endtoend_test.go
architecture.Init(ctxt) lexer := lex.NewLexer(input) parser := NewParser(ctxt, architecture, lexer) pList := new(obj.Plist) var ok bool testOut = new(strings.Builder) // The assembler writes test output to this buffer. ctxt.Bso = bufio.NewWriter(os.Stdout) ctxt.IsAsm = true defer ctxt.Bso.Flush() failed := false ctxt.DiagFunc = func(format string, args ...interface{}) { failed = true t.Errorf(format, args...) }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Dec 07 18:42:59 UTC 2023 - 11.6K bytes - Viewed (0) -
cmd/xl-storage_test.go
0, 5, nil, errFileNameTooLong, }, // Buffer size greater than object size. - 6 { volume, "myobject", 0, 16, []byte("hello, world"), io.ErrUnexpectedEOF, }, // Reading from an offset success. - 7 { volume, "myobject", 7, 5, []byte("world"), nil, }, // Reading from an object but buffer size greater. - 8 { volume, "myobject", 7, 8,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 66.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2CancelRequest.java
} /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int) */ @Override protected int readBytesWireFormat ( byte[] buffer, int bufferIndex ) { return 0; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 4.1K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PostStreamingWithPipe.java
* write to {@code sink()} and close it to complete the post. */ static final class PipeBody extends RequestBody { private final Pipe pipe = new Pipe(8192); private final BufferedSink sink = Okio.buffer(pipe.sink()); public BufferedSink sink() { return sink; } @Override public MediaType contentType() { return MEDIA_TYPE_MARKDOWN; }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Fri Jul 06 03:18:15 UTC 2018 - 3.1K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java
delim = DELIMITER_STRING; } dummy ^= sb.toString().length(); } return dummy; } /** * Always append the delimiter after the component, and in the very end shortens the buffer to get * rid of the extra trailing delimiter. */ @Benchmark int alwaysAppendThenBackUp(int reps) { int dummy = 0; for (int i = 0; i < reps; i++) { StringBuilder sb = new StringBuilder();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.9K bytes - Viewed (0) -
docs/works_with_okhttp.md
* [Thrifty](https://github.com/Microsoft/thrifty): An implementation of Apache Thrift for Android.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Jun 08 18:15:23 UTC 2022 - 3.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSortedSet.java
* enough. Consider, for example, the case where we have a buffer of size (n+1), add n * distinct elements, and add the last element over again many times over. We don't want a * situation where we re-sort the entire buffer every time the last element is re-added. * * <p>The solution is to ensure there are O(n) spaces left over in the buffer after
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 39.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt
* Otherwise it would compress values in a way that servers could not decompress. * * If `server_max_window_bits` is less than 15, OkHttp will waste memory on an oversized buffer. * * See [RFC 7692, 7.1][rfc_7692] for details on negotiation process. * * [rfc_7692]: https://tools.ietf.org/html/rfc7692#section-7.1 */ @IgnoreJRERequirement // As of AGP 3.4.1, D8 desugars API 24 hashCode methods.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 8.1K bytes - Viewed (0) -
internal/handlers/forwarder.go
f.RoundTripper = http.DefaultTransport } return f } type bufPool struct { sz int pool sync.Pool } func (b *bufPool) Put(buf []byte) { if cap(buf) < b.sz || cap(buf) > b.sz*2 { // Buffer too small or will likely leak memory after being expanded. // Drop it. return } b.pool.Put(&buf) } func (b *bufPool) Get() []byte { bufp := b.pool.Get().(*[]byte) return (*bufp)[:b.sz] }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 07 05:42:10 UTC 2023 - 5.6K bytes - Viewed (0)