- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 110 for 0x1001 (0.05 sec)
-
src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java
// Testing invalid protocol ID during decode instead byte[] invalidBuffer = new byte[52]; // Write invalid protocol ID invalidBuffer[0] = 0x00; invalidBuffer[1] = 0x00; invalidBuffer[2] = 0x00; invalidBuffer[3] = 0x00; assertThrows(IllegalArgumentException.class, () -> { Smb2TransformHeader.decode(invalidBuffer, 0); }); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2Constants.java
/** * SMB2 negotiate flag indicating signing is enabled */ public static final int SMB2_NEGOTIATE_SIGNING_ENABLED = 0x0001; /** * SMB2 negotiate flag indicating signing is required */ public static final int SMB2_NEGOTIATE_SIGNING_REQUIRED = 0x0002; /** * SMB 2.0.2 dialect (Windows Vista/Server 2008) */ public static final int SMB2_DIALECT_0202 = 0x0202; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
// Since FLAGS2_RESOLVE_PATHS_IN_DFS is 0x1000, when cast to byte it becomes 0 // Therefore the method will always return false unless flags has all 0x00 bits set // This test verifies actual behavior testBlock.setFlags((byte) 0x00); assertFalse(testBlock.isResolveInDfs());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 36.2K bytes - Viewed (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
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.6K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/math/QuantilesBenchmark.java
@Param({"10", "100", "1000", "10000", "100000"}) int datasetSize; @Param QuantilesAlgorithm algorithm; private final double[][] datasets = new double[0x100][]; @BeforeExperiment void setUp() { Random rng = new Random(); for (int i = 0; i < 0x100; i++) { datasets[i] = new double[datasetSize]; for (int j = 0; j < datasetSize; j++) { datasets[i][j] = rng.nextDouble(); } } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java
@DisplayName("Signing enabled flag should be 0x0001") void testSigningEnabledFlag() { assertEquals(0x0001, Smb2Constants.SMB2_NEGOTIATE_SIGNING_ENABLED, "Signing enabled flag must be 0x0001"); } @Test @DisplayName("Signing required flag should be 0x0002") void testSigningRequiredFlag() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java
@ParameterizedTest @CsvSource({ "4, 257", // FILE_BASIC_INFO -> 0x0101 "5, 258", // FILE_STANDARD_INFO -> 0x0102 "20, 260" // FILE_ENDOFFILE_INFO -> 0x0104 }) void testWithDifferentInformationLevels(byte infoLevel, int expectedMappedValue) { when(mockFileInfo.getFileInformationLevel()).thenReturn(infoLevel);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java
/** * Delete the file when the last handle to it is closed */ public static final int FILE_DELETE_ON_CLOSE = 0x1000; /** * Open file by its file ID */ public static final int FILE_OPEN_BY_FILE_ID = 0x2000; /** * The file is being opened for backup intent */ public static final int FILE_OPEN_FOR_BACKUP_INTENT = 0x4000; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 22.9K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/math/StatsBenchmark.java
int n; @Param MeanAlgorithm meanAlgorithm; @Param VarianceAlgorithm varianceAlgorithm; private final double[][] values = new double[0x100][]; @BeforeExperiment void setUp() { Random rng = new Random(); for (int i = 0; i < 0x100; i++) { values[i] = new double[n]; for (int j = 0; j < n; j++) { values[i][j] = rng.nextDouble(); } } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 4.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java
.putChar((char) 0x0101) .putChar((char) 0x0100) .putChar((char) 0x0000) .putChar((char) 0x0000); assertEquals(hashCode, hasher.hash().asLong()); hasher = HASH_FN.newHasher(); hasher.putBytes(new byte[] {0x01, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00}); assertEquals(hashCode, hasher.hash().asLong()); hasher = HASH_FN.newHasher(); hasher.putLong(0x0000000001000101L);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6.3K bytes - Viewed (0)