- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 1,155 for differ (0.2 sec)
-
cmd/data-usage-cache_gen_test.go
v := allTierStats{} var buf bytes.Buffer msgp.Encode(&buf, &v) b.SetBytes(int64(buf.Len())) en := msgp.NewWriter(msgp.Nowhere) b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { v.EncodeMsg(en) } en.Flush() } func BenchmarkDecodeallTierStats(b *testing.B) { v := allTierStats{} var buf bytes.Buffer msgp.Encode(&buf, &v) b.SetBytes(int64(buf.Len()))
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Oct 04 22:23:33 UTC 2024 - 19K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXResponse.java
} @Override protected int readParameterWordsWireFormat(final byte[] buffer, int bufferIndex) { final int start = bufferIndex; this.isLoggedInAsGuest = ((buffer[bufferIndex] & 0x01) == 0x01) == true; bufferIndex += 2; if (this.isExtendedSecurity()) { final int blobLength = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; this.blob = new byte[blobLength];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
SMBUtil.writeTime(testTime, buffer, 32); // changeTime SMBUtil.writeInt8(1024L, buffer, 40); // endOfFile SMBUtil.writeInt8(2048L, buffer, 48); // allocationSize SMBUtil.writeInt4(0x20, buffer, 56); // extFileAttributes SMBUtil.writeInt4(512, buffer, 64); // eaSize // Decode fileBothDirectoryInfo.decode(buffer, 0, buffer.length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponse.java
} @Override protected int readSetupWireFormat(final byte[] buffer, final int bufferIndex, final int len) { return 0; } @Override protected int readParametersWireFormat(final byte[] buffer, final int bufferIndex, final int len) { return 0; } @Override protected int readDataWireFormat(final byte[] buffer, final int bufferIndex, final int len) throws SMBProtocolDecodingException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java
SMBUtil.writeInt4(-1000, buffer, bufferIndex + 11); SMBUtil.writeInt4(0, buffer, bufferIndex + 15); SMBUtil.writeInt4(0, buffer, bufferIndex + 19); SMBUtil.writeInt4(-5000, buffer, bufferIndex + 23); SMBUtil.writeInt4(0, buffer, bufferIndex + 27); SMBUtil.writeInt4(0, buffer, bufferIndex + 31); buffer[bufferIndex + 35] = (byte) 0x80; // 128 as unsigned
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.3K bytes - Viewed (0) -
cmd/batch-replicate_gen_test.go
v := BatchJobReplicateCredentials{} var buf bytes.Buffer msgp.Encode(&buf, &v) b.SetBytes(int64(buf.Len())) en := msgp.NewWriter(msgp.Nowhere) b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { v.EncodeMsg(en) } en.Flush() } func BenchmarkDecodeBatchJobReplicateCredentials(b *testing.B) { v := BatchJobReplicateCredentials{} var buf bytes.Buffer msgp.Encode(&buf, &v)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 29 18:27:23 UTC 2023 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java
// Group SID at offset 40 buffer.position(40); buffer.put((byte) 0x01); // Revision buffer.put((byte) 0x01); // SubAuthorityCount buffer.put(new byte[] { 0, 0, 0, 0, 0, 2 }); // IdentifierAuthority buffer.putInt(0); // SubAuthority // DACL at offset 60 buffer.position(60); buffer.put((byte) 0x02); // AclRevision
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/compression/CompressionNegotiateContextTest.java
// Encode first byte[] buffer = new byte[256]; int encodedSize = context.encode(buffer, 0); // Create new context for decoding CompressionNegotiateContext decodedContext = new CompressionNegotiateContext(); int decodedSize = decodedContext.decode(buffer, 0, encodedSize); assertEquals(encodedSize, decodedSize);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponse.java
} @Override protected int readSetupWireFormat(final byte[] buffer, final int bufferIndex, final int len) { return 0; } @Override protected int readParametersWireFormat(final byte[] buffer, final int bufferIndex, final int len) { return 0; } @Override protected int readDataWireFormat(final byte[] buffer, int bufferIndex, final int len) { final int start = bufferIndex;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java
@DisplayName("Should decode minimum buffer size") void testDecodeMinimumBufferSize() throws SMBProtocolDecodingException { byte[] buffer = new byte[12]; // Exact size needed SMBUtil.writeInt4(3, buffer, 0); SMBUtil.writeInt4(4096, buffer, 4); SMBUtil.writeInt4(12288, buffer, 8); int bytesDecoded = response.decode(buffer, 0, buffer.length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.8K bytes - Viewed (0)