- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 91 for 0x0002 (0.03 seconds)
-
src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java
byte[] encryptionKey = "12345678".getBytes(); ByteBuffer buffer = ByteBuffer.allocate(response.byteCount); buffer.put(encryptionKey); buffer.put(domainNameBytes); buffer.putShort((short) 0x0000); // Null terminator byte[] byteData = buffer.array(); // Call the method int bytesRead = response.readBytesWireFormat(byteData, 0); // Assertions
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java
// Set test values int testCapabilities = 0xABCDEF00; byte[] testGuid = new byte[16]; Arrays.fill(testGuid, (byte) 0xFF); int testSecurityMode = 0x0001; int testDialect = 0x0202; // Write to buffer SMBUtil.writeInt4(testCapabilities, buffer, bufferIndex); System.arraycopy(testGuid, 0, buffer, bufferIndex + 4, 16);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
getResultMessageMethod.setAccessible(true); assertEquals("0x0004", getResultMessageMethod.invoke(null, 4), "Should return hex format for unknown code 4"); assertEquals("0x00FF", getResultMessageMethod.invoke(null, 255), "Should return hex format for unknown code 255"); assertEquals("0x1000", getResultMessageMethod.invoke(null, 4096), "Should return hex format for large unknown code"); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java
*/ public static final int CIPHER_AES_256_CCM = 0x0003; /** * AES-256-GCM cipher identifier for SMB3.1.1 encryption (future support) */ public static final int CIPHER_AES_256_GCM = 0x0004; /** * Transform header flag indicating the message is encrypted */ public static final int TRANSFORM_FLAG_ENCRYPTED = 0x0001; /** * Create encryption context *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 35.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2RdmaTransformCapabilitiesContext.java
return transformCount > 0 && rdmaTransformId == 0x0001; } /** * Get the transform count * * @return number of transforms */ public int getTransformCount() { return transformCount; } /** * Get the RDMA transform ID * * @return transform ID (should be 0x0001 for V1) */ public int getRdmaTransformId() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 4.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java
.putByte((byte) 0x01) .putByte((byte) 0x00) .putByte((byte) 0x01) .putByte((byte) 0x00) .putByte((byte) 0x00) .putByte((byte) 0x00) .putByte((byte) 0x00); assertEquals(hashCode, hasher.hash().asLong()); hasher = HASH_FN.newHasher(); hasher .putChar((char) 0x0101) .putChar((char) 0x0100) .putChar((char) 0x0000)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 6.4K bytes - Click Count (0) -
okhttp-idna-mapping-table/src/test/kotlin/okhttp3/internal/idn/MappingTablesTest.kt
Mapping(0x0000, 0x002c, TYPE_VALID, ByteString.EMPTY), ) } @Test fun simplifyCombinesCanonicalEquivalent() { assertThat( mergeAdjacentRanges( listOf( Mapping(0x0000, 0x002c, TYPE_DISALLOWED_STD3_VALID, ByteString.EMPTY), Mapping(0x002d, 0x002e, TYPE_VALID, ByteString.EMPTY), ), ), ).containsExactly( Mapping(0x0000, 0x002e, TYPE_VALID, ByteString.EMPTY),
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 6.3K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/NetServerEnum2Test.java
System.arraycopy(dst, 2, writtenDescr, 0, descr.length); assertArrayEquals(descr, writtenDescr); int currentIndex = 2 + descr.length; // Verify level (0x0001) assertEquals(1, (dst[currentIndex] & 0xFF) | ((dst[currentIndex + 1] & 0xFF) << 8)); currentIndex += 2; // Verify maxDataCount
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java
// Check information level (FS_SIZE_INFO maps to 0x0103) int actualInfoLevel = SMBUtil.readInt2(buffer, 0); assertEquals(0x0103, actualInfoLevel); } @DisplayName("Test writeParametersWireFormat with different information levels") @ParameterizedTest @CsvSource({ "-1, 1", // SMB_INFO_ALLOCATION -> 0x0001 "3, 259" // FS_SIZE_INFO -> 0x0103 })Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.9K bytes - Click Count (0)