- Sort Score
- Num 10 results
- Language All
Results 251 - 260 of 284 for 0x04 (0.1 seconds)
-
src/test/java/jcifs/smb/SecurityBlobTest.java
// Parameter source for toString() hex rendering cases static Stream<Arguments> hexCases() { return Stream.of(Arguments.of(new byte[] {}, ""), Arguments.of(new byte[] { (byte) 0x00 }, "00"), Arguments.of(new byte[] { (byte) 0x0F }, "0f"), Arguments.of(new byte[] { (byte) 0x10 }, "10"), Arguments.of(new byte[] { (byte) 0xAB }, "ab"),Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java
assertArrayEquals(maxFileId, copiedFileId); // Test with file ID having minimum byte values byte[] minFileId = new byte[16]; Arrays.fill(minFileId, (byte) 0x00); Smb2FlushRequest minRequest = new Smb2FlushRequest(mockConfig, minFileId); written = minRequest.writeBytesWireFormat(buffer, 0); assertEquals(24, written);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java
// Random but realistic GUID byte[] testGuid = { (byte) 0x01, (byte) 0x23, (byte) 0x45, (byte) 0x67, (byte) 0x89, (byte) 0xAB, (byte) 0xCD, (byte) 0xEF, (byte) 0xFE, (byte) 0xDC, (byte) 0xBA, (byte) 0x98, (byte) 0x76, (byte) 0x54, (byte) 0x32, (byte) 0x10 }; // Security mode with signing requiredCreated: 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/internal/smb2/nego/Smb2NegotiateResponseTest.java
// Then assertTrue(response.haveCapabilitiy(0x01)); // Has this bit assertTrue(response.haveCapabilitiy(0x0F)); // Has all these bits assertFalse(response.haveCapabilitiy(0x10)); // Doesn't have this bit assertFalse(response.haveCapabilitiy(0x40)); // Doesn't have this bit } @Test @DisplayName("Should check DFS support correctly")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 32.5K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 69.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/NtlmUtilTest.java
byte[] server = hex("0102030405060708"); byte[] client = hex("DEADBEEFCAFEBABE"); // Act byte[] a = NtlmUtil.getNTLM2Response(pwdHash, server, client); server[7] ^= 0x01; // mutate byte[] b = NtlmUtil.getNTLM2Response(pwdHash, server, client); // Assert assertEquals(24, a.length);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 12K bytes - Click Count (1) -
src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java
} @Test @DisplayName("Encryption capability should be 0x40") void testGlobalCapEncryption() { assertEquals(0x40, Smb2Constants.SMB2_GLOBAL_CAP_ENCRYPTION, "Encryption capability must be 0x40"); } @Test @DisplayName("All capability flags should be unique powers of 2")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.1K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/HashCode.java
*/ public abstract long asLong(); /** * If this hashcode has enough bits, returns {@code asLong()}, otherwise returns a {@code long} * value with {@code asBytes()} as the least-significant bytes and {@code 0x00} as the remaining * most-significant bytes. * * @since 14.0 (since 11.0 as {@code Hashing.padToLong(HashCode)}) */ public abstract long padToLong(); /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 12.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbEnumerationUtilTest.java
// Test with various wildcard patterns and attribute masks String[] wildcards = { "*.txt", "test*", null }; int[] attributes = { 0x10, 0x20, 0x07 }; for (int i = 0; i < wildcards.length; i++) { DosFileFilter dos = new DosFileFilter(wildcards[i], attributes[i]);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 15.8K bytes - Click Count (0)