- Sort Score
- Result 10 results
- Languages All
Results 531 - 540 of 842 for buffers (0.06 sec)
-
istioctl/pkg/writer/envoy/configdump/configdump_test.go
}, { name: "errors if config dump is not primed", wantErr: true, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { gotOut := &bytes.Buffer{} cw := &ConfigWriter{Stdout: gotOut} cd, _ := os.ReadFile("testdata/configdump.json") if tt.callPrime { cw.Prime(cd) } err := cw.PrintBootstrapDump("json") if tt.wantOutputFile != "" {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Jan 03 23:08:06 UTC 2024 - 3.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt
private class TestStreams( client: Boolean, private val taskFaker: TaskFaker, private val sourcePipe: Pipe, private val sinkPipe: Pipe, ) : RealWebSocket.Streams(client, sourcePipe.source.buffer(), sinkPipe.sink.buffer()) { private val name = if (client) "client" else "server" val listener = WebSocketRecorder(name) var webSocket: RealWebSocket? = null var closed = false var canceled = false
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 01:59:58 UTC 2024 - 18.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComWriteAndX.java
dstIndex += dataLength; return dstIndex - start; } int readParameterWordsWireFormat( byte[] buffer, int bufferIndex ) { return 0; } int readBytesWireFormat( byte[] buffer, int bufferIndex ) { return 0; } public String toString() { return new String( "SmbComWriteAndX[" + super.toString() +
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 4.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api.h
// Disables tracing of RunMetadata on the ops executed from this context. TF_CAPI_EXPORT extern void TFE_ContextDisableRunMetadata(TFE_Context* ctx); // Populates the passed-in buffer with a serialized RunMetadata protocol buffer // containing any run metadata information accumulated so far and clears this // information. // If async mode is enabled, this call blocks till all currently pending ops are // done.
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Apr 27 21:07:00 UTC 2023 - 22.8K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt
import okhttp3.Handshake import okhttp3.Handshake.Companion.handshake import okhttp3.Headers import okhttp3.HttpUrl import okhttp3.HttpUrl.Companion.toHttpUrlOrNull import okhttp3.internal.platform.Platform import okio.Buffer /** An HTTP request that came into the mock web server. */ @ExperimentalOkHttpApi class RecordedRequest( val requestLine: String, /** All headers. */ val headers: Headers, /**
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 23 14:31:42 UTC 2024 - 3.8K bytes - Viewed (0) -
okhttp-idna-mapping-table/src/test/kotlin/okhttp3/internal/idn/MappingTablesTest.kt
*/ package okhttp3.internal.idn import assertk.assertThat import assertk.assertions.containsExactly import assertk.assertions.isEqualTo import okhttp3.internal.idn.MappedRange.InlineDelta import okio.Buffer import okio.ByteString import okio.ByteString.Companion.encodeUtf8 import org.junit.jupiter.api.Test class MappingTablesTest { @Test fun simplifyCombinesMultipleMappings() { assertThat(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.3K bytes - Viewed (0) -
istioctl/pkg/writer/compare/sds/writer_test.go
}, }, expected: []string{"olinger", "source", "destination", "serial_number", "expires", "valid", "type", "certdata"}, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { w := &bytes.Buffer{} mockWriter := NewSDSWriter(w, tt.format) err := mockWriter.PrintSecretItems(tt.items) if err != nil { t.Errorf("error printing secret items: %v", err) }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri May 29 20:42:01 UTC 2020 - 4.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/WebPlatformUrlTest.kt
import assertk.assertions.isNotNull import assertk.assertions.isNull import okhttp3.HttpUrl.Companion.defaultPort import okhttp3.HttpUrl.Companion.toHttpUrl import okhttp3.HttpUrl.Companion.toHttpUrlOrNull import okio.buffer import okio.source import org.junit.jupiter.params.ParameterizedTest import org.junit.jupiter.params.provider.ArgumentsSource /** Runs the web platform URL tests against Java URL models. */ class WebPlatformUrlTest {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/RequestTest.kt
" cookie:██," + " set-cookie:██," + " user-agent:OkHttp" + "]}", ) } private fun bodyToHex(body: RequestBody): String { val buffer = Buffer() body.writeTo(buffer) return buffer.readByteString().hex() }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 16.4K bytes - Viewed (0) -
internal/ioutil/discard.go
import ( "io" ) // Discard is just like io.Discard without the io.ReaderFrom compatible // implementation which is buggy on NUMA systems, we have to use a simpler // io.Writer implementation alone avoids also unnecessary buffer copies, // and as such incurred latencies. var Discard io.Writer = discard{} // discard is /dev/null for Golang. type discard struct{} func (discard) Write(p []byte) (int, error) { return len(p), nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Nov 06 22:26:08 UTC 2023 - 1.3K bytes - Viewed (0)