- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 1,057 for Bytes (0.01 sec)
-
src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java
// Verify offset (8 bytes) assertEquals(offset, SMBUtil.readInt8(buffer, 0)); // Verify length (8 bytes) assertEquals(length, SMBUtil.readInt8(buffer, 8)); // Verify flags (4 bytes) assertEquals(flags, SMBUtil.readInt4(buffer, 16)); // Verify reserved field is zeros (4 bytes)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComNtTransactionResponseTest.java
void testReadParameterWordsWireFormat_bufDataStartIsZero() { // Test case when bufDataStart is initially 0. byte[] buffer = new byte[37]; // 3 reserved + 8*4 bytes for int4 values + 2 bytes for setupCount int bufferIndex = 0; // Reserved bytes buffer[bufferIndex++] = 0x00; buffer[bufferIndex++] = 0x00; buffer[bufferIndex++] = 0x00; // totalParameterCount = 10
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/AbstractHasher.java
} @Override @CanIgnoreReturnValue public Hasher putBytes(byte[] bytes) { return putBytes(bytes, 0, bytes.length); } @Override @CanIgnoreReturnValue public Hasher putBytes(byte[] bytes, int off, int len) { Preconditions.checkPositionIndexes(off, off + len, bytes.length); for (int i = 0; i < len; i++) { putByte(bytes[off + i]); } return this; } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.5K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java
assertNotNull(value); assertEquals(48, value.length); // Verify the size field (first 4 bytes) assertEquals(48, (value[0] & 0xFF) | ((value[1] & 0xFF) << 8) | ((value[2] & 0xFF) << 16) | ((value[3] & 0xFF) << 24)); // Verify the zero field (next 4 bytes) assertEquals(0, (value[4] & 0xFF) | ((value[5] & 0xFF) << 8) | ((value[6] & 0xFF) << 16) | ((value[7] & 0xFF) << 24));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/SitemapsHelperTest.java
final byte[] bytes = "".getBytes(); final InputStream in = new ByteArrayInputStream(bytes); try { sitemapsHelper.parse(in); fail(); } catch (final CrawlingAccessException e) { // NOP } } public void test_parseXmlSitemaps_invalid2() { final byte[] bytes = "test".getBytes();
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 9.6K bytes - Viewed (0) -
android/guava/src/com/google/common/io/ByteArrayDataInput.java
@CanIgnoreReturnValue // to skip some bytes @Override short readShort(); @CanIgnoreReturnValue // to skip some bytes @Override int readUnsignedShort(); @CanIgnoreReturnValue // to skip some bytes @Override char readChar(); @CanIgnoreReturnValue // to skip some bytes @Override int readInt(); @CanIgnoreReturnValue // to skip some bytes @Override long readLong();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Dec 27 20:25:25 UTC 2024 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java
byte[] nameBytes = originalFileName.getBytes(StandardCharsets.UTF_16LE); byte[] buffer = new byte[100]; buffer[0] = 1; // replaceIfExists = true // Skip 7 reserved bytes (1-7) // Skip 8 bytes for RootDirectory (8-15) SMBUtil.writeInt4(nameBytes.length, buffer, 16); System.arraycopy(nameBytes, 0, buffer, 20, nameBytes.length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/MemoryUtil.java
displaySize = new BigDecimal(size).divide(BigDecimal.valueOf(1000)) + "KB"; } else { displaySize = size + "bytes"; } return displaySize; } /** * Gets the currently used memory in bytes. * * @return used memory in bytes */ public static long getUsedMemory() { final Runtime runtime = Runtime.getRuntime();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NetShareEnumResponseTest.java
*/ @Test void testReadParametersWireFormat() { NetShareEnumResponse response = new NetShareEnumResponse(); // Parameters: status (2 bytes), converter (2 bytes), numEntries (2 bytes), totalAvailableEntries (2 bytes) byte[] buffer = { 0x00, 0x00, // status = 0 (Success) 0x12, 0x34, // converter = 0x3412 0x02, 0x00, // numEntries = 2
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakAcknowledgment.java
// StructureSize (2 bytes) - must be 36 SMBUtil.writeInt2(STRUCTURE_SIZE, dst, dstIndex); dstIndex += 2; // Reserved (2 bytes) SMBUtil.writeInt2(0, dst, dstIndex); dstIndex += 2; // Flags (4 bytes) SMBUtil.writeInt4(flags, dst, dstIndex); dstIndex += 4; // LeaseKey (16 bytes) leaseKey.encode(dst, dstIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 4.2K bytes - Viewed (0)