- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 2,165 for PBuffer (0.1 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/cache2/Relay.kt
) synchronized(this@Relay) { // Append new upstream bytes into the buffer. Trim it to its max size. buffer.write(upstreamBuffer, upstreamBytesRead) if (buffer.size > bufferMaxSize) { buffer.skip(buffer.size - bufferMaxSize) } // Now that the file and buffer have bytes, adjust upstreamPos. ******@****.***amPos += upstreamBytesRead }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 11.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/string_utils.cc
// * length of whole buffer (int32_t) // * num of strings (int32_t). int32_t bytes = data_.size() // size of content + sizeof(int32_t) * (num_strings + 2); // size of header // Caller will take ownership of buffer. *buffer = reinterpret_cast<char*>(malloc(bytes)); if (*buffer == nullptr) { return -1; } // Set num of string
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 2.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/unidirectional_sequence_lstm.mlir
// CHECK-NEXT: tensors: [ { // CHECK-NEXT: shape: [ 4, 4, 4 ], // CHECK-NEXT: buffer: 1, // CHECK-NEXT: name: "arg0", // CHECK-NEXT: quantization: { // CHECK-EMPTY: // CHECK-NEXT: }, // CHECK-NEXT: has_rank: true // CHECK-NEXT: }, { // CHECK-NEXT: shape: [ 4, 4 ], // CHECK-NEXT: buffer: 2, // CHECK-NEXT: name: "arg1", // CHECK-NEXT: quantization: { // CHECK-EMPTY:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Dec 06 18:55:51 UTC 2023 - 11.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java
protected int readHeaderWireFormat ( byte[] buffer, int bufferIndex ) { // these are common between SYNC/ASYNC SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; SMBUtil.readInt2(buffer, bufferIndex); this.creditCharge = SMBUtil.readInt2(buffer, bufferIndex + 2); bufferIndex += 4; this.status = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4;
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Sep 30 10:47:31 UTC 2018 - 19.9K bytes - Viewed (0) -
test/fixedbugs/bug184.go
// license that can be found in the LICENSE file. package main import "fmt" type Buffer int func (*Buffer) Read() {} type Reader interface { Read() } func f() *Buffer { return nil } func g() Reader { // implicit interface conversion in assignment during return return f() } func h() (b *Buffer, ok bool) { return } func i() (r Reader, ok bool) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 17 04:49:30 UTC 2012 - 849 bytes - Viewed (0) -
platforms/core-runtime/daemon-services/src/main/java/org/gradle/internal/daemon/clientinput/StdInStream.java
waitForContent(); if (readPos != buffer.length) { int count = Math.min(length, buffer.length - readPos); System.arraycopy(buffer, readPos, dest, offset, count); readPos += count; return count; } else { // Closed return -1; } } } private void waitForContent() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 19:51:37 UTC 2024 - 3.1K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/splice_test.go
testCases := []struct { name string run func(sb runtime.Splice, buf *bytes.Buffer) }{ { name: "Basic Write", run: func(sb runtime.Splice, buf *bytes.Buffer) { sb.Write(testBytes0) buf.Write(testBytes0) }, }, { name: "Multiple Writes", run: func(sb runtime.Splice, buf *bytes.Buffer) { for _, b := range testBytes0 { sb.Write([]byte{b}) buf.Write([]byte{b})
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 05 18:03:48 UTC 2023 - 2.5K bytes - Viewed (0) -
maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java
logger.info(""); MessageBuilder buffer = builder().strong(">>> "); append(buffer, event.getMojoExecution()); buffer.strong(" > "); appendForkInfo(buffer, event.getMojoExecution().getMojoDescriptor()); append(buffer, event.getProject()); buffer.strong(" >>>"); logger.info(buffer.toString()); } }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Apr 03 17:49:40 UTC 2024 - 17.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComLockingAndX.java
protected int readParameterWordsWireFormat ( byte[] buffer, int bufferIndex ) { int start = bufferIndex; this.fid = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; this.typeOfLock = buffer[ bufferIndex ]; if ( ( this.typeOfLock & 0x10 ) == 0x10 ) { this.largeFile = true; } this.newOpLockLevel = buffer[ bufferIndex + 1 ]; bufferIndex += 2;
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 4.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/idn/IdnaMappingTableTest.kt
private fun String.map(): String { val buffer = Buffer() for (codePoint in codePoints()) { require(table.map(codePoint, buffer)) } return buffer.readUtf8() } private fun String.mapExpectingErrors(): String { val buffer = Buffer() var errorCount = 0 for (codePoint in codePoints()) { if (!table.map(codePoint, buffer)) errorCount++ }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 8.9K bytes - Viewed (0)