- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 863 for IBytes (0.03 sec)
-
src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java
byte[] buffer = createValidCopyChunkResponse(5, 65536, 327680); int bytesDecoded = response.decode(buffer, 0, buffer.length); assertEquals(12, bytesDecoded); // 3 x 4 bytes = 12 bytes assertEquals(5, response.getChunksWritten()); assertEquals(65536, response.getChunkBytesWritten()); assertEquals(327680, response.getTotalBytesWritten()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java
// Structure Size (2 bytes) - should be 24 assertEquals(24, SMBUtil.readInt2(buffer, 0)); // Reserved1 (2 bytes) - should be 0 (bytes were initialized to 0xCC, so they weren't written) // This is expected behavior - the reserved fields are not explicitly written to 0 // Reserved2 (4 bytes) - should be 0 (bytes were initialized to 0xCC, so they weren't written)
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/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) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt
if (type == TYPE_A || type == TYPE_AAAA) { val bytes = ByteArray(length) buf.read(bytes) result.add(InetAddress.getByAddress(bytes)) } else { buf.skip(length.toLong()) } } return result } @Throws(EOFException::class) private fun skipName(source: Buffer) { // 0 - 63 bytes var length = source.readByte().toInt()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/DES.java
} /// Encrypt a block of eight bytes. private void encrypt(final byte[] clearText, final int clearOff, final byte[] cipherText, final int cipherOff) { squashBytesToInts(clearText, clearOff, tempInts, 0, 2); des(tempInts, tempInts, encryptKeys); spreadIntsToBytes(tempInts, 0, cipherText, cipherOff, 2); } /// Decrypt a block of eight bytes.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 22.7K 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/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) -
android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java
} /** Convenience method to compute a fingerprint on a full bytes array. */ private static long fingerprint(byte[] bytes) { return fingerprint(bytes, bytes.length); } /** Convenience method to compute a fingerprint on a subset of a byte array. */ private static long fingerprint(byte[] bytes, int length) { return HASH_FN.hashBytes(bytes, 0, length).asLong(); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
return read(b, 0, b.length); } /** * Reads up to len bytes from the file into the specified byte array. * * @param b the byte array to read data into * @param off the offset in the array at which to start storing bytes * @param len the maximum number of bytes to read * @return the number of bytes read, or -1 if end of file is reached * @throws SmbException if an I/O error occurs
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.1K bytes - Viewed (0)