- Sort Score
- Num 10 results
- Language All
Results 171 - 180 of 2,099 for writeFn (0.05 seconds)
-
cmd/metrics-v3-system-drive.go
allDriveLabels...) driveWritesPerSecMD = NewGaugeMD(driveWritesPerSec, "Writes per second on a drive", allDriveLabels...) driveWritesKBPerSecMD = NewGaugeMD(driveWritesKBPerSec, "Kilobytes written per second on a drive", allDriveLabels...) driveWritesAwaitMD = NewGaugeMD(driveWritesAwait, "Average time for write requests served on a drive", allDriveLabels...) drivePercUtilMD = NewGaugeMD(drivePercUtil,
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 7.8K bytes - Click Count (0) -
docs/smb3-features/05-rdma-smb-direct-design.md
// Add RDMA read channel info writeInt4(dst, dstIndex + written, rdmaChannelInfo.getRemoteKey()); written += 4; writeInt8(dst, dstIndex + written, rdmaChannelInfo.getAddress()); written += 8; writeInt4(dst, dstIndex + written, rdmaChannelInfo.getLength()); written += 4; } return written; } public static class RdmaChannelInfo {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 35.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java
assertEquals(0x00, buffer[4]); assertEquals(0x00, buffer[5]); // Check that filename is written correctly (starting at offset 6) // The filename should be null-terminated Unicode string assertTrue(written > 6); // Verify the total bytes written is reasonable assertTrue(written > TEST_FILENAME.length()); } @ParameterizedTest
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComWriteResponse.java
*/ public class SmbComWriteResponse extends ServerMessageBlock { private long count; /** * Constructs a write response for SMB1 protocol. * * @param config the configuration for this SMB session */ public SmbComWriteResponse(final Configuration config) { super(config); } /** * Gets the number of bytes written. *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java
// When int bytesWritten = request.writeBytesWireFormat(buffer, offset); // Then // The writeBytesWireFormat writes the structure and calculates padding // Base structure: 24 bytes, then pad8 alignment, then token: 5 bytes // Total bytes written includes padding for 8-byte alignment int expectedBytesWritten = 35; assertEquals(expectedBytesWritten, bytesWritten);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21.2K bytes - Click Count (0) -
docs/contribute/concurrency.md
In OkHttp we expose a blocking API over a framed protocol. This document explains the code and policy that makes that work. ### Threads #### Application's calling thread
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 06 16:35:36 GMT 2022 - 7K bytes - Click Count (0) -
src/main/java/jcifs/internal/util/SMBUtil.java
public class SMBUtil { /** * Private constructor to prevent instantiation of utility class. */ private SMBUtil() { } /** * Writes a 16-bit integer value to a byte array in little-endian format * @param val the value to write * @param dst the destination byte array * @param dstIndex the starting index in the destination array */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java
int written = echoRequest.writeBytesWireFormat(minBuffer, 0); assertEquals(4, written); assertEquals(4, SMBUtil.readInt2(minBuffer, 0)); // Large buffer byte[] largeBuffer = new byte[10000]; written = echoRequest.writeBytesWireFormat(largeBuffer, 5000); assertEquals(4, written);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java
assertEquals(4, bytesWritten); // Verify structure size (4) is written at offset assertEquals(4, SMBUtil.readInt2(buffer, offset)); // Verify reserved field (0) is written at offset + 2 assertEquals(0, SMBUtil.readInt2(buffer, offset + 2)); } @Test @DisplayName("Should write exact wire format structure") void testWriteBytesWireFormatStructure() { // Given
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.1K bytes - Click Count (0) -
src/archive/tar/fuzz_test.go
Name: "lorem.txt", Mode: 0600, Size: int64(len(inp)), }) if err != nil { f.Fatalf("failed to create writer: %s", err) } _, err = w.Write(inp) if err != nil { f.Fatalf("failed to write file to archive: %s", err) } if err := w.Close(); err != nil { f.Fatalf("failed to write archive: %s", err) } f.Add(b.Bytes()) f.Fuzz(func(t *testing.T, b []byte) { r := NewReader(bytes.NewReader(b))
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jan 13 18:06:33 GMT 2022 - 2.2K bytes - Click Count (0)