- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 968 for Buffer (0.06 sec)
-
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) -
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) -
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/internal/smb1/trans/TransPeekNamedPipe.java
return 0; } @Override protected int readParametersWireFormat ( byte[] buffer, int bufferIndex, int len ) { return 0; } @Override protected int readDataWireFormat ( byte[] buffer, int bufferIndex, int len ) { return 0; } @Override public String toString () {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 2.5K bytes - Viewed (0) -
compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/ToolchainsBuildingException.java
*/ public List<Problem> getProblems() { return problems; } private static String toMessage(List<Problem> problems) { StringWriter buffer = new StringWriter(1024); PrintWriter writer = new PrintWriter(buffer); writer.print(problems.size()); writer.print((problems.size() == 1) ? " problem was " : " problems were ");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K 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) -
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/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) -
cmd/xl-storage-format-v1_gen_test.go
v := ChecksumInfo{} 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 BenchmarkDecodeChecksumInfo(b *testing.B) { v := ChecksumInfo{} var buf bytes.Buffer msgp.Encode(&buf, &v) b.SetBytes(int64(buf.Len()))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 13.2K 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)