- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 95 for 0x0311 (0.22 sec)
-
guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java
@BeforeExperiment void setUp() { testBytes = new byte[size]; new Random(RANDOM_SEED).nextBytes(testBytes); } @Benchmark byte hashing(int reps) { byte result = 0x01; HashMethod hashMethod = this.hashMethod; Algorithm algorithm = this.algorithm; for (int i = 0; i < reps; i++) { result ^= hashMethod.hash(algorithm, testBytes)[0]; } return result; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 3.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/Smb2LeaseStateTest.java
void testLeaseStateConstants() { assertEquals(0x00, Smb2LeaseState.SMB2_LEASE_NONE); assertEquals(0x01, Smb2LeaseState.SMB2_LEASE_READ_CACHING); assertEquals(0x02, Smb2LeaseState.SMB2_LEASE_HANDLE_CACHING); assertEquals(0x04, Smb2LeaseState.SMB2_LEASE_WRITE_CACHING); assertEquals(0x03, Smb2LeaseState.SMB2_LEASE_READ_HANDLE); assertEquals(0x05, Smb2LeaseState.SMB2_LEASE_READ_WRITE);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/util/HMACT64Test.java
mockedCrypto.when(Crypto::getMD5).thenReturn(mockMd5); HMACT64 hmac = new HMACT64(TEST_KEY); hmac.engineUpdate((byte) 0x01); verify(mockMd5, times(1)).update((byte) 0x01); } } @Test void testEngineUpdateByteArray() throws NoSuchAlgorithmException { // Test engineUpdate(byte[] input, int offset, int len)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java
private Smb2SessionSetupRequest request; // Test constants private static final int TEST_SECURITY_MODE = 0x01; private static final int TEST_CAPABILITIES = 0x00000001; private static final long TEST_PREVIOUS_SESSION_ID = 0x1234567890ABCDEFL; private static final byte[] TEST_TOKEN = { 0x01, 0x02, 0x03, 0x04, 0x05 }; @BeforeEach void setUp() { mockConfig = mock(Configuration.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcQueryInformationPolicyTest.java
// Assert assertEquals(expectedFlags, queryPolicy.getFlags()); // Binary check for individual flags assertEquals(0x03, queryPolicy.getFlags()); // 0x01 | 0x02 = 0x03 } @Test void getOpnum_shouldReturnCorrectValue() { // Arrange short level = 1;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.6K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NbtException.java
// error classes /** Success status code */ public static final int SUCCESS = 0; /** Name service error class */ public static final int ERR_NAM_SRVC = 0x01; /** Session service error class */ public static final int ERR_SSN_SRVC = 0x02; // name service error codes /** Format error in the name service */ public static final int FMT_ERR = 0x1;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java
class ToStringTests { @Test @DisplayName("toString with valid data produces expected format") void testToStringWithValidData() { byte[] challenge = new byte[] { (byte) 0x01, (byte) 0x02, (byte) 0x03, (byte) 0xFF }; UniAddress dc = mock(UniAddress.class); when(dc.toString()).thenReturn("SERVER123"); NtlmChallenge nc = new NtlmChallenge(challenge, dc);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java
// negative fid wraps around, lastWriteTime = 1000 -> 1 second -> int value 1 Arguments.of(-1, 1000L, new byte[] { (byte) 0xFF, (byte) 0xFF, 0x01, 0x00, 0x00, 0x00 })); } /** * When lastWriteTime is zero the encoded unsigned time must be all 1s. */ @Test @DisplayName("edge: writeParameterWordsWireFormat with lastWriteTime=0")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java
private LeaseV1CreateContextRequest leaseContext; private Smb2LeaseKey testKey; private int testState; @BeforeEach void setUp() { byte[] keyBytes = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 }; testKey = new Smb2LeaseKey(keyBytes); testState = Smb2LeaseState.SMB2_LEASE_READ_WRITE;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 5.8K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/netdfs.java
*/ public static final int DFS_VOLUME_FLAVOR_AD_BLOB = 0x200; /** * DFS storage state indicating offline status */ public static final int DFS_STORAGE_STATE_OFFLINE = 0x0001; /** * DFS storage state indicating online status */ public static final int DFS_STORAGE_STATE_ONLINE = 0x0002; /** * DFS storage state indicating active status */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 21.8K bytes - Viewed (0)