- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 1,612 for writeFn (0.58 sec)
-
src/test/java/jcifs/smb1/smb1/SmbComNegotiateTest.java
byte[] dst = new byte[expectedBytes.length]; int dstIndex = 0; // Execute the method to write bytes int bytesWritten = smbComNegotiate.writeBytesWireFormat(dst, dstIndex); // Verify the number of bytes written assertEquals(expectedBytes.length, bytesWritten, "The number of bytes written should match the length of the dialect string."); // Verify the content of the destination array
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Files.java
* java.nio.file.Files#write(java.nio.file.Path, byte[], java.nio.file.OpenOption...)}. * * @param from the bytes to write * @param to the destination file * @throws IOException if an I/O error occurs */ public static void write(byte[] from, File to) throws IOException { asByteSink(to).write(from); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 32.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComWrite.java
/** * Sets the parameters for this write request. * * @param fid the file identifier * @param offset the file offset at which to write * @param remaining the number of bytes remaining to be written * @param b the data buffer containing bytes to write * @param off the offset in the buffer where data starts * @param len the number of bytes to write */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.6K bytes - Viewed (0) -
cmd/bitrot.go
func closeBitrotReaders(rs []io.ReaderAt) { for _, r := range rs { if r != nil { if br, ok := r.(io.Closer); ok { br.Close() } } } } // Close all the writers. func closeBitrotWriters(ws []io.Writer) []error { errs := make([]error, len(ws)) for i, w := range ws { if w == nil { errs[i] = errDiskNotFound continue } if bw, ok := w.(io.Closer); ok {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Feb 26 19:26:13 UTC 2025 - 7.7K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PostStreamingWithPipe.java
return sink; } @Override public MediaType contentType() { return MEDIA_TYPE_MARKDOWN; } @Override public void writeTo(BufferedSink sink) throws IOException { sink.writeAll(pipe.source()); } } public static void main(String... args) throws Exception { new PostStreamingWithPipe().run(); }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jul 06 03:18:15 UTC 2018 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java
assertEquals(block.useUnicode, next.useUnicode, "useUnicode must be propagated"); assertTrue(next.writeParamCalls > 0, "chained SMB parameter words should be written"); assertTrue(next.writeBytesCalls > 0, "chained SMB bytes should be written"); } @Test @DisplayName("decode basic AndX block with no chaining") void testDecodeBasicNoAndx() { DummyAndXBlock block = new DummyAndXBlock() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
cmd/xl-storage-format-v2_gen.go
} err = en.WriteInt(z.ErasureM) if err != nil { err = msgp.WrapError(err, "ErasureM") return } // write "EcN" err = en.Append(0xa3, 0x45, 0x63, 0x4e) if err != nil { return } err = en.WriteInt(z.ErasureN) if err != nil { err = msgp.WrapError(err, "ErasureN") return } // write "EcBSize" err = en.Append(0xa7, 0x45, 0x63, 0x42, 0x53, 0x69, 0x7a, 0x65)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Dec 15 22:50:12 UTC 2024 - 56K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java
tmp = null; } /** * Writes the specified byte to this file output stream. * * @throws IOException if a network error occurs */ @Override public void write(final int b) throws IOException { tmp[0] = (byte) b; write(tmp, 0, 1); } /** * Writes b.length bytes from the specified byte array to this
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11K bytes - Viewed (0) -
cmd/bucket-replication-metrics_gen.go
} // EncodeMsg implements msgp.Encodable func (z ActiveWorkerStat) EncodeMsg(en *msgp.Writer) (err error) { // map header, size 3 // write "Curr" err = en.Append(0x83, 0xa4, 0x43, 0x75, 0x72, 0x72) if err != nil { return } err = en.WriteInt(z.Curr) if err != nil { err = msgp.WrapError(err, "Curr") return } // write "Avg" err = en.Append(0xa3, 0x41, 0x76, 0x67) if err != nil { return }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Mar 21 17:21:35 UTC 2024 - 33.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt
editor = snapshot.edit() ?: return // edit() returns null if snapshot is not current. entry.writeTo(editor) editor.commit() } catch (_: IOException) { abortQuietly(editor) } } private fun abortQuietly(editor: DiskLruCache.Editor?) { // Give up because the cache cannot be written. try { editor?.abort() } catch (_: IOException) { } } /**
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 26.9K bytes - Viewed (0)