- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 794 for rewrite (0.03 sec)
-
src/archive/tar/writer.go
return "", "", false } return name[:i], name[i+1:], true } // Write writes to the current file in the tar archive. // Write returns the error [ErrWriteTooLong] if more than // Header.Size bytes are written after [Writer.WriteHeader]. // // Calling Write on special types like [TypeLink], [TypeSymlink], [TypeChar],
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Mon Feb 03 16:38:43 UTC 2025 - 19.7K bytes - Viewed (0) -
cmd/batch-handlers_gen.go
err = en.Append(0xa3, 0x66, 0x6c, 0x64) if err != nil { return } err = en.WriteBool(z.Failed) if err != nil { err = msgp.WrapError(err, "Failed") return } // write "lbkt" err = en.Append(0xa4, 0x6c, 0x62, 0x6b, 0x74) if err != nil { return } err = en.WriteString(z.Bucket) if err != nil { err = msgp.WrapError(err, "Bucket") return } // write "lobj"
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 20.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
doNothing().when(raf).write(any(byte[].class), anyInt(), anyInt()); doNothing().when(raf).writeShort(anyInt()); raf.writeUTF("é"); // 2-byte UTF-8 char // size prefix should be 2, and then write called with len=2 verify(raf).writeShort(eq(2)); verify(raf).write(any(byte[].class), eq(0), eq(2)); } @Test @DisplayName("write(byte[],off,0): returns without I/O")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaConnection.java
} @Override public void rdmaWrite(RdmaMemoryRegion localRegion, long remoteAddress, int remoteKey, int length) throws IOException { // TCP fallback doesn't support real RDMA write throw new UnsupportedOperationException("RDMA write not supported by TCP fallback"); } @Override public RdmaNegotiateResponse negotiate(RdmaNegotiateRequest request) throws IOException {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 8.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FilesTest.java
public void testWriteString() throws IOException { File temp = createTempFile(); Files.write(I18N, temp, UTF_16LE); assertEquals(I18N, Files.toString(temp, UTF_16LE)); } public void testWriteBytes() throws IOException { File temp = createTempFile(); byte[] data = newPreFilledByteArray(2000); Files.write(data, temp); assertThat(Files.toByteArray(temp)).isEqualTo(data);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 22.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbConstants.java
int FILE_READ_ATTRIBUTES = 0x00000080; // 8 /** File write attributes access right */ int FILE_WRITE_ATTRIBUTES = 0x00000100; // 9 /** Delete access right */ int DELETE = 0x00010000; // 16 /** Read control access right */ int READ_CONTROL = 0x00020000; // 17 /** Write DAC access right */ int WRITE_DAC = 0x00040000; // 18 /** Write owner access right */ int WRITE_OWNER = 0x00080000; // 19Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.3K bytes - Viewed (0) -
cmd/erasure-server-pool-rebalance_gen.go
// write "no" err = en.Append(0xa2, 0x6e, 0x6f) if err != nil { return } err = en.WriteUint64(z.NumObjects) if err != nil { err = msgp.WrapError(err, "NumObjects") return } // write "nv" err = en.Append(0xa2, 0x6e, 0x76) if err != nil { return } err = en.WriteUint64(z.NumVersions) if err != nil { err = msgp.WrapError(err, "NumVersions") return } // write "bs"
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 26.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java
/** * Writes data to the specified file path. * * @param path the file path to write to * @param data the data to write */ protected void write(final String path, final byte[] data) { validateFilePath(path); LdiFileUtil.write(path, data); } /** * Validates the file path. * * @param path the file path to validateRegistered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 27 07:01:25 UTC 2025 - 9.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt
// Write the first headers frame. writeMedium(frame, (headerBlock.size / 2).toInt() + paddingLength + 1) frame.writeByte(Http2.TYPE_HEADERS) frame.writeByte(FLAG_PADDED) frame.writeInt(expectedStreamId and 0x7fffffff) frame.writeByte(paddingLength) frame.write(headerBlock, headerBlock.size / 2) frame.write(padding)Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 28.1K bytes - Viewed (0) -
internal/lsync/lrwmutex_test.go
lrwm := NewLRWMutex() // fmt.Println("Getting initial write lock") if !lrwm.GetLock(ctx, "", "", time.Second) { panic("Failed to acquire initial write lock") } go func() { time.Sleep(2 * time.Second) lrwm.Unlock() // fmt.Println("Initial write lock released, waiting...") }() // fmt.Println("Trying to acquire 2nd write lock, waiting...") locked = lrwm.GetLock(ctx, "", "", duration)
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 7.8K bytes - Viewed (0)