- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 1,848 for Pwrite (0.04 seconds)
-
cmd/batch-expire_gen.go
return } // write "Name" err = en.Append(0xa4, 0x4e, 0x61, 0x6d, 0x65) if err != nil { return } err = en.WriteString(z.Name) if err != nil { err = msgp.WrapError(err, "Name") return } // write "Purge" err = en.Append(0xa5, 0x50, 0x75, 0x72, 0x67, 0x65) if err != nil { return } // map header, size 1 // write "RetainVersions"
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 19.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java
assertEquals(off, getFieldValue(write, "off"), "Off should match constructor arg"); assertEquals(len, getFieldValue(write, "count"), "Count should equal len"); } /** * Test setParam method updates the write parameters */ @Test public void testSetParam() { // Arrange SmbComWrite write = new SmbComWrite();
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt
} /** * We had a bug where the cache was left in an inconsistent state after a journal write failed. * https://github.com/square/okhttp/issues/1211 */ @Test fun journalWriteFailsDuringEditorCommit() { set("a", "a", "a") set("b", "b", "b") // Create an entry that fails to write to the journal during commit. val editor = cache.edit("c")!! editor.setString(0, "c")
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Nov 01 12:18:11 GMT 2025 - 59.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
* * <p>This test covers a scenario where we write a smaller amount of data first, then write a * large amount that crosses the threshold (transitioning from "not at threshold" to "over the * threshold"). (We then write some more afterward.) This differs from the existing * testThreshold() which writes exactly enough bytes to fill the buffer, then immediately writes * more bytes. *
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Oct 30 16:30:29 GMT 2025 - 6.7K bytes - Click Count (0) -
internal/grid/msg_gen.go
} // EncodeMsg implements msgp.Encodable func (z *connectReq) EncodeMsg(en *msgp.Writer) (err error) { // map header, size 4 // write "ID" err = en.Append(0x84, 0xa2, 0x49, 0x44) if err != nil { return } err = en.WriteBytes((z.ID)[:]) if err != nil { err = msgp.WrapError(err, "ID") return } // write "Host" err = en.Append(0xa4, 0x48, 0x6f, 0x73, 0x74) if err != nil { return
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 22.4K bytes - Click Count (0) -
mockwebserver/src/main/kotlin/mockwebserver3/internal/ThrottledSink.kt
bytesLeft -= toWrite delegate.write(source, toWrite) } }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Jul 29 12:43:16 GMT 2025 - 1.5K bytes - Click Count (0) -
internal/store/queuestore.go
return err } // write - writes an item to the directory. func (store *QueueStore[I]) write(key Key, item I) error { // Marshals the item. eventData, err := json.Marshal(item) if err != nil { return err } return store.writeBytes(key, eventData) } // writeBytes - writes bytes to the directory.Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 7.8K bytes - Click Count (0) -
src/main/java/org/codelibs/curl/CurlRequest.java
logger.fine(() -> ">>> " + body); connection.setDoOutput(true); try (BufferedWriter writer = new BufferedWriter(new OutputStreamWriter(connection.getOutputStream(), encoding))) { writer.write(body); writer.flush(); } } else if (bodyStream != null) { logger.fine(() -> ">>> <binary>");
Created: Sat Dec 20 09:13:53 GMT 2025 - Last Modified: Mon Nov 24 03:10:07 GMT 2025 - 18.6K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java
} /** * Verify that writeParameterWordsWireFormat writes the file id and the * unsigned time correctly. The last write time is zero which should be * encoded as four 0xFF bytes by {@code writeUTime}. */ @ParameterizedTest(name = "fid={0}, lastWriteTime={1}") @MethodSource("validParams") @DisplayName("happy: writeParameterWordsWireFormat writes correct bytes")Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.8K bytes - Click Count (0) -
compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/DefaultToolchainsWriter.java
@Override public void write(Writer output, Map<String, Object> options, PersistedToolchains toolchains) throws IOException { Objects.requireNonNull(output, "output cannot be null"); Objects.requireNonNull(toolchains, "toolchains cannot be null"); try (Writer out = output) { new MavenToolchainsStaxWriter().write(out, toolchains.getDelegate());Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.9K bytes - Click Count (0)