- Sort Score
- Result 10 results
- Languages All
Results 721 - 730 of 979 for buffer (0.12 sec)
-
cmd/bitrot-streaming.go
if len(p) == 0 { return 0, nil } if b.finished { return 0, errors.New("bitrot write not allowed") } if int64(len(p)) > b.shardSize { return 0, errors.New("unexpected bitrot buffer size") } if int64(len(p)) < b.shardSize { b.finished = true } b.h.Reset() b.h.Write(p) hashBytes := b.h.Sum(nil) _, err := b.iow.Write(hashBytes) if err != nil { b.closeWithErr(err)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Jan 17 19:19:30 UTC 2025 - 6.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/CopyUtil.java
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 45.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakAcknowledgment.java
SMBUtil.writeInt8(0, dst, dstIndex); dstIndex += 8; return dstIndex - start; } @Override protected int readBytesWireFormat(byte[] buffer, int bufferIndex) { // This is a request, not a response, so this method is not used return 0; } @Override public String toString() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 4.2K bytes - Viewed (0) -
cmd/object-api-utils_test.go
} for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { buf := make([]byte, 100) // make small buffer to ensure multiple reads are required for large case r, idxCB := newS2CompressReader(bytes.NewReader(tt.data), int64(len(tt.data)), false) defer r.Close() var rdrBuf bytes.Buffer _, err := io.CopyBuffer(&rdrBuf, r, buf) if err != nil { t.Fatal(err) } r.Close()Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 24.1K bytes - Viewed (0) -
cmd/bucket-replication-utils.go
for _, t := range ri.Targets { if t.Empty() || !t.ReplicationResynced { continue } return true } return false } func (ri replicatedInfos) ReplicationStatusInternal() string { b := new(bytes.Buffer) for _, t := range ri.Targets { if t.Empty() { continue } fmt.Fprintf(b, "%s=%s;", t.Arn, t.ReplicationStatus.String()) } return b.String() }Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 26K bytes - Viewed (0) -
src/main/java/jcifs/pac/Pac.java
} } } } catch (IOException e) { throw new PACDecodingException("Malformed PAC", e); } if (this.serverSignature == null || this.kdcSignature == null || this.logonInfo == null) { throw new PACDecodingException("Missing required buffers"); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java
dstIndex++; return dstIndex - start; } @Override protected int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) { return 0; } @Override protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) { return 0; } @Override public String toString() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
fun contentDisagreesWithChunkedHeaderBodyTooLong() { val builder = MockResponse .Builder() .chunkedBody("abc", 3) val buffer = Buffer() builder.body!!.writeTo(buffer) buffer.writeUtf8("\r\nYOU SHOULD NOT SEE THIS") builder.body(buffer) builder.clearHeaders() builder.addHeader("Transfer-encoding: chunked") server.enqueue(builder.build())
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 133.2K 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 Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 6.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt
import okhttp3.internal.UnreadableResponseBody import okhttp3.internal.concurrent.TaskRunner import okhttp3.internal.ws.WebSocketProtocol.acceptHeader import okhttp3.testing.Flaky import okhttp3.testing.PlatformRule import okio.Buffer import okio.ByteString import okio.ByteString.Companion.decodeHex import okio.ByteString.Companion.encodeUtf8 import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.BeforeEach
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 35.5K bytes - Viewed (0)