- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 1,144 for rewrite (0.06 sec)
-
cmd/metacache-walk_gen.go
func (z *WalkDirOptions) EncodeMsg(en *msgp.Writer) (err error) { // map header, size 8 // write "Bucket" err = en.Append(0x88, 0xa6, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74) if err != nil { return } err = en.WriteString(z.Bucket) if err != nil { err = msgp.WrapError(err, "Bucket") return } // write "BaseDir" err = en.Append(0xa7, 0x42, 0x61, 0x73, 0x65, 0x44, 0x69, 0x72) if err != nil { return
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Nov 21 01:09:35 UTC 2023 - 7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComWriteResponse.java
* License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.smb1.com; import jcifs.Configuration; import jcifs.internal.smb1.ServerMessageBlock; import jcifs.internal.util.SMBUtil; /** * SMB1 Write Response message. * * This response contains information about the write operation,
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacSignatureTest.java
*/ class PacSignatureTest { /** * Helper method to write integer in little-endian format. */ private void writeLittleEndianInt(ByteArrayOutputStream baos, int value) { ByteBuffer buffer = ByteBuffer.allocate(4); buffer.order(ByteOrder.LITTLE_ENDIAN); buffer.putInt(value); baos.write(buffer.array(), 0, 4); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/MessageDeflaterInflaterTest.kt
val inflater = MessageInflater(false) val buffer = fragmentBuffer(Buffer().write("f248cdc9c957c8cc4bcb492cc9cccf530400".decodeHex())) inflater.inflate(buffer) assertThat(buffer.readUtf8()).isEqualTo("Hello inflation!") } private fun MessageDeflater.deflate(byteString: ByteString): ByteString { val buffer = Buffer() buffer.write(byteString) deflate(buffer) return buffer.readByteString() }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationResponseTest.java
/** * Test for the writeSetupWireFormat method. * It should always return 0. */ @Test void testWriteSetupWireFormat() { byte[] dst = new byte[10]; // The method should not write anything and return 0 assertEquals(0, response.writeSetupWireFormat(dst, 0), "writeSetupWireFormat should return 0."); } /** * Test for the writeParametersWireFormat method.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java
setHeaderStart(response, 64); // Write structure header (9 bytes) SMBUtil.writeInt2(9, buffer, offset); // Structure size SMBUtil.writeInt2(80 - 64, buffer, offset + 2); // Buffer offset (relative to header) SMBUtil.writeInt4(50, buffer, offset + 4); // Total length of notification data // Write notification data at buffer offset 80 int notifyOffset = 80;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java
* * 1. visibility of the writes to these fields to Fire.run: * * The initial write to delegateRef is made definitely visible via the semantics of * addListener/SES.schedule. The later racy write in cancel() is not guaranteed to be observed, * however that is fine since the correctness is based on the atomic state in our base class. The * initial write to timer is never definitely visible to Fire.run since it is assigned after
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2WriteResponse.java
* License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.smb2.io; import jcifs.Configuration; import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.smb2.ServerMessageBlock2Response; import jcifs.internal.util.SMBUtil; /** * SMB2 Write response message. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.8K bytes - Viewed (0) -
cmd/bitrot-streaming.go
finished bool } func (b *streamingBitrotWriter) Write(p []byte) (int, error) { if len(p) == 0 { return 0, nil } if b.finished { return 0, errors.New("bitrot write not allowed") } if int64(len(p)) > b.shardSize { return 0, errors.New("unexpected bitrot buffer size") } if int64(len(p)) < b.shardSize { b.finished = true } b.h.Reset() b.h.Write(p) hashBytes := b.h.Sum(nil)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Jan 17 19:19:30 UTC 2025 - 6.2K bytes - Viewed (0)