- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,150 for writeFn (0.37 sec)
-
cmd/batch-handlers.go
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 63.5K bytes - Viewed (0) -
src/bufio/bufio.go
// accepted and all subsequent writes, and [Writer.Flush], will return the error. // After all data has been written, the client should call the // [Writer.Flush] method to guarantee all data has been forwarded to // the underlying [io.Writer]. type Writer struct { err error buf []byte n int wr io.Writer }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Sep 03 14:04:47 UTC 2025 - 22K bytes - Viewed (0) -
guava/src/com/google/common/io/CharStreams.java
* writer will close the target if it is {@link Closeable}, and flushing the writer will flush the * target if it is {@link java.io.Flushable}. * * @param target the object to which output will be sent * @return a new Writer object, unless target is a Writer, in which case the target is returned */ public static Writer asWriter(Appendable target) { if (target instanceof Writer) { return (Writer) target; }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 30 17:25:01 UTC 2025 - 10.9K bytes - Viewed (0) -
cmd/local-locker.go
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComFindClose2Test.java
} @Test void testWriteParameterWordsWireFormatLittleEndian() { byte[] dst = new byte[2]; int written = instance.writeParameterWordsWireFormat(dst, 0); assertEquals(2, written, "writeParameterWordsWireFormat should write exactly 2 bytes"); // SMBUtil.writeInt2 writes the low byte first (little‑endian) assertEquals((byte) (TEST_SID & 0xFF), dst[0]);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java
SmbComClose close = new SmbComClose(fid, lastWriteTime); byte[] buffer = new byte[10]; int written = close.writeParameterWordsWireFormat(buffer, 0); assertEquals(6, written, "writeParameterWordsWireFormat should return 6"); // Only compare the first 6 bytes that were actually written byte[] actualWritten = new byte[6]; System.arraycopy(buffer, 0, actualWritten, 0, 6);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.8K bytes - Viewed (0) -
android/guava/src/com/google/common/io/AppendableWriter.java
@GwtIncompatible final class AppendableWriter extends Writer { private final Appendable target; private boolean closed; /** * Creates a new writer that appends everything it writes to {@code target}. * * @param target target to which to append output */ AppendableWriter(Appendable target) { this.target = checkNotNull(target); } /* * Abstract methods from Writer */ @OverrideRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:37:28 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaStatistics.java
} /** * Calculate average write latency in microseconds * * @return average write latency */ public double getAverageWriteLatencyMicros() { long writes = rdmaWrites.get(); if (writes == 0) { return 0.0; } return totalWriteTime.get() / (double) writes / 1000.0; // Convert to microseconds } /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 10.7K bytes - Viewed (0) -
cmd/erasure-encode_test.go
} writers := make([]io.Writer, len(disks)) for i, disk := range disks { if disk == OfflineDisk { continue } writers[i] = newBitrotWriter(disk, "", "testbucket", "object", erasure.ShardFileSize(int64(len(data[test.offset:]))), test.algorithm, erasure.ShardSize()) } n, err := erasure.Encode(t.Context(), bytes.NewReader(data[test.offset:]), writers, buffer, erasure.dataBlocks+1)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 11.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbCopyUtilTest.java
w.wait(10); } assertTrue(w.isReady(), "WriterThread should be ready"); // Submit a write that will throw inside the writer thread w.write(payload, payload.length, out); // Give the writer thread time to process and set exception w.wait(100); } // Wait a bit more to ensure exception is captured Thread.sleep(100);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0)