- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 1,069 for nBytes (0.21 sec)
-
src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java
int bytesWritten = info.encode(buffer, startIndex); // Verify bytes written (encode returns 40, which includes 4 padding bytes) assertEquals(40, bytesWritten); // Create a new FileBasicInfo and decode to verify encoding FileBasicInfo decoded = new FileBasicInfo(); decoded.decode(buffer, startIndex, 36); // decode only reads 36 bytes // Verify the values match after round-trip
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java
return 32; } @Override public int size() { // Context header: 16 bytes // Name: 4 bytes ("DLse") // Padding: 4 bytes (to align data to 8-byte boundary) // Standard lease data: 32 bytes // Directory-specific data: 20 bytes (CacheScope(4) + MaxCacheAge(8) + Flags(4) + NotificationFilter(4)) return 16 + 4 + 4 + 32 + 20; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 9.4K bytes - Viewed (0) -
cmd/last-minute_gen_test.go
import ( "bytes" "testing" "github.com/tinylib/msgp/msgp" ) func TestMarshalUnmarshalAccElem(t *testing.T) { v := AccElem{} bts, err := v.MarshalMsg(nil) if err != nil { t.Fatal(err) } left, err := v.UnmarshalMsg(bts) if err != nil { t.Fatal(err) } if len(left) > 0 { t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Jul 05 21:45:49 UTC 2022 - 6.8K bytes - Viewed (0) -
cmd/batch-expire_gen_test.go
import ( "bytes" "testing" "github.com/tinylib/msgp/msgp" ) func TestMarshalUnmarshalBatchJobExpire(t *testing.T) { v := BatchJobExpire{} bts, err := v.MarshalMsg(nil) if err != nil { t.Fatal(err) } left, err := v.UnmarshalMsg(bts) if err != nil { t.Fatal(err) } if len(left) > 0 { t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sat Dec 02 10:51:33 UTC 2023 - 6.9K bytes - Viewed (0) -
cmd/metrics-v2_gen_test.go
t.Fatal(err) } left, err := v.UnmarshalMsg(bts) if err != nil { t.Fatal(err) } if len(left) > 0 { t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left) } left, err = msgp.Skip(bts) if err != nil { t.Fatal(err) } if len(left) > 0 { t.Errorf("%d bytes left over after Skip(): %q", len(left), left) } } func BenchmarkMarshalMsgMetricDescription(b *testing.B) {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 10 09:15:15 UTC 2024 - 4.7K bytes - Viewed (0) -
cmd/metrics-v3-bucket-replication.go
"Total number of bytes failed at least once to replicate in the last hour on a bucket", bucketL, targetArnL) bucketReplLastHrFailedCountMD = NewGaugeMD(bucketReplLastHrFailedCount, "Total number of objects which failed replication in the last hour on a bucket", bucketL, targetArnL) bucketReplLastMinFailedBytesMD = NewGaugeMD(bucketReplLastMinFailedBytes,
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Jun 04 20:45:31 UTC 2025 - 8.3K bytes - Viewed (0) -
src/test/java/jcifs/EncodableTest.java
// Act int written = enc.encode(dst, dstIndex); // Assert: reported written bytes matches size() and requested len. assertEquals(len, enc.size(), "size() must equal provided length"); assertEquals(len, written, "encode() must return number of bytes written"); // Assert: copied region equals the source slice. for (int i = 0; i < len; i++) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Request.java
// Write durable handle V2 request data (32 bytes total) // MS-SMB2 2.2.13.2.4 structure: SMBUtil.writeInt4((int) getTimeoutFor100Ns(), dst, dstIndex); // Timeout (4 bytes in 100-ns intervals) dstIndex += 4; SMBUtil.writeInt4(flags, dst, dstIndex); // Flags (4 bytes) dstIndex += 4; SMBUtil.writeInt8(0, dst, dstIndex); // Reserved (8 bytes) dstIndex += 8;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacMac.java
* @param usage the Kerberos key usage number for this operation * @param baseKey the base Kerberos key for key derivation * @param input the data to calculate the MAC for * @return the calculated MAC bytes (truncated to 12 bytes) * @throws GeneralSecurityException if cryptographic operations fail */ public static byte[] calculateMacHMACAES(int usage, KerberosKey baseKey, byte[] input) throws GeneralSecurityException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Settings.kt
/** HTTP/2: Size in bytes of the table used to decode the sender's header blocks. */ const val HEADER_TABLE_SIZE = 1 /** HTTP/2: The peer must not send a PUSH_PROMISE frame when this is 0. */ const val ENABLE_PUSH = 2 /** Sender's maximum number of concurrent streams. */ const val MAX_CONCURRENT_STREAMS = 3 /** Window size in bytes. */ const val INITIAL_WINDOW_SIZE = 4
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 3.8K bytes - Viewed (0)