- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 777 for buffer (0.05 sec)
-
guava/src/com/google/common/escape/CharEscaper.java
int slen = s.length(); // Get a destination buffer and setup some loop variables. char[] dest = Platform.charBufferFromThreadLocal(); int destSize = dest.length; int destIndex = 0; int lastEscape = 0; // Loop through the rest of the string, replacing when needed into the // destination buffer, which gets grown as needed as well. for (; index < slen; index++) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jan 18 20:55:09 UTC 2022 - 6.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComOpenAndXResponse.java
bufferIndex += 4; this.grantedAccess = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; this.fileType = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; this.deviceState = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; this.action = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 5.2K bytes - Viewed (0) -
tensorflow/c/c_test_util.cc
TF_Status* s = TF_NewStatus(); TF_Buffer* buffer = TF_NewBuffer(); TF_GraphToGraphDef(graph, buffer, s); bool ret = TF_GetCode(s) == TF_OK; EXPECT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); if (ret) ret = graph_def->ParseFromArray(buffer->data, buffer->length); TF_DeleteBuffer(buffer); TF_DeleteStatus(s); return ret; }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Fri Oct 15 03:16:52 UTC 2021 - 17.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/SmbNegotiationResponse.java
*/ boolean haveCapabilitiy ( int cap ); /** * @return the send buffer size */ int getSendBufferSize (); /** * @return the receive buffer size */ int getReceiveBufferSize (); /** * * @return the transaction buffer size */ int getTransactionBufferSize (); /** *
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 2.6K bytes - Viewed (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/internal/IsProbablyUtf8.kt
package okhttp3.logging.internal import java.io.EOFException import okio.Buffer /** * Returns true if the body in question probably contains human readable text. Uses a small * sample of code points to detect unicode control characters commonly used in binary file * signatures. */ fun Buffer.isProbablyUtf8(): Boolean { try { val prefix = Buffer() val byteCount = size.coerceAtMost(64) copyTo(prefix, 0, byteCount)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Jan 07 16:05:34 UTC 2024 - 1.4K bytes - Viewed (0) -
src/archive/tar/writer_test.go
t.Fatal(err) } if hdr.Name != longName { t.Fatal("Couldn't recover long name") } } func TestValidTypeflagWithPAXHeader(t *testing.T) { var buffer bytes.Buffer tw := NewWriter(&buffer) fileName := strings.Repeat("ab", 100) hdr := &Header{ Name: fileName, Size: 4, Typeflag: 0, } if err := tw.WriteHeader(hdr); err != nil {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Sep 23 14:32:33 UTC 2024 - 39.4K bytes - Viewed (0) -
cmd/bucket-stats_gen_test.go
v := BucketReplicationStat{} var buf bytes.Buffer msgp.Encode(&buf, &v) b.SetBytes(int64(buf.Len())) en := msgp.NewWriter(msgp.Nowhere) b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { v.EncodeMsg(en) } en.Flush() } func BenchmarkDecodeBucketReplicationStat(b *testing.B) { v := BucketReplicationStat{} var buf bytes.Buffer msgp.Encode(&buf, &v) b.SetBytes(int64(buf.Len()))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 30 08:00:59 UTC 2023 - 20.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/LockingAndXRange.java
int lLow = SMBUtil.readInt4(buffer, bufferIndex + 16); this.lengthInBytes = ( lHigh << 32 ) | lLow; return 20; } this.pid = SMBUtil.readInt2(buffer, bufferIndex); this.byteOffset = SMBUtil.readInt4(buffer, bufferIndex + 2); this.lengthInBytes = SMBUtil.readInt4(buffer, bufferIndex + 6); return 10; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.5K bytes - Viewed (0) -
guava/src/com/google/common/math/Stats.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 23 16:45:30 UTC 2024 - 24.9K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/UnicodeString.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 2.5K bytes - Viewed (0)