- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 73 for numbytes (0.04 sec)
-
src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java
// Set number of entries setNumEntries(response, 1); // Write share name (13 bytes, null padded) byte[] nameBytes = shareName.getBytes(StandardCharsets.US_ASCII); System.arraycopy(nameBytes, 0, buffer, bufferIndex, Math.min(nameBytes.length, 13)); bufferIndex += 14; // Write type (2 bytes) SMBUtil.writeInt2(shareType, buffer, bufferIndex);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java
assertEquals(nameBytes.length, SMBUtil.readInt4(buffer, 8)); assertEquals(0x1, buffer[12]); // Timeout specified // Verify pipe name byte[] encodedName = new byte[nameBytes.length]; System.arraycopy(buffer, 14, encodedName, 0, nameBytes.length); assertArrayEquals(nameBytes, encodedName); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FsctlPipeWaitRequest.java
dstIndex += 8; SMBUtil.writeInt4(this.nameBytes.length, dst, dstIndex); dstIndex += 4; dst[dstIndex] = (byte) (this.timeoutSpecified ? 0x1 : 0x0); dstIndex++; dstIndex++; // Padding System.arraycopy(this.nameBytes, 0, dst, dstIndex, this.nameBytes.length); dstIndex += this.nameBytes.length; return dstIndex - start; } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileRenameInformation2.java
dstIndex += 8; // RootDirectory = 0 final byte[] nameBytes = this.fileName.getBytes(StandardCharsets.UTF_16LE); SMBUtil.writeInt4(nameBytes.length, dst, dstIndex); dstIndex += 4; System.arraycopy(nameBytes, 0, dst, dstIndex, nameBytes.length); dstIndex += nameBytes.length; return dstIndex - start; } /** * {@inheritDoc}Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java
assertEquals(32, SMBUtil.readInt4(buffer, 12)); // Verify context name is encoded at offset 16 byte[] nameBytes = new byte[4]; System.arraycopy(buffer, 16, nameBytes, 0, 4); assertArrayEquals("RqLs".getBytes(), nameBytes); // Verify lease key is encoded at offset 24 (after header + name + padding) byte[] encodedKey = new byte[16];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 5.8K bytes - Viewed (0) -
tensorflow/c/c_test_util.cc
} TF_Tensor* Int32Tensor(int32_t v) { const int num_bytes = sizeof(int32_t); int32_t* values = new int32_t[1]; values[0] = v; return TF_NewTensor(TF_INT32, nullptr, 0, values, num_bytes, &Int32Deallocator, nullptr); } TF_Tensor* DoubleTensor(double v) { const int num_bytes = sizeof(double); double* values = new double[1]; values[0] = v;
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Sat Oct 04 05:55:32 UTC 2025 - 17.8K bytes - Viewed (1) -
src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java
// filename bytes, then null terminator byte[] nameBytes = name.getBytes(); for (int i = 0; i < nameBytes.length; i++) { assertEquals(nameBytes[i], dst[12 + i], "Filename byte mismatch at index " + i); } assertEquals((byte) 0x00, dst[12 + nameBytes.length], "Filename must be null-terminated"); } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
guava/src/com/google/common/hash/AbstractHasher.java
public Hasher putString(CharSequence charSequence, Charset charset) { return putBytes(charSequence.toString().getBytes(charset)); } @Override @CanIgnoreReturnValue public Hasher putBytes(byte[] bytes) { return putBytes(bytes, 0, bytes.length); } @Override @CanIgnoreReturnValue public Hasher putBytes(byte[] bytes, int off, int len) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/DES.java
* @param outBytes the output byte array * @param outOff the offset into the output array * @param intLen the number of integers to convert */ public static void spreadIntsToBytes(final int[] inInts, final int inOff, final byte[] outBytes, final int outOff, final int intLen) { for (int i = 0; i < intLen; ++i) { outBytes[outOff + i * 4] = (byte) (inInts[inOff + i] >>> 24);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 22.7K bytes - Viewed (0) -
guava/src/com/google/common/hash/AbstractCompositeHashFunction.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 5.3K bytes - Viewed (0)