- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 191 for Ints (0.02 sec)
-
src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java
byte[] buffer = new byte[256]; int result = request.readBytesWireFormat(buffer, 0); assertEquals(0, result); } @ParameterizedTest @ValueSource(ints = { 0, 10, 50, 100 }) @DisplayName("writeBytesWireFormat should work at different offsets") void testWriteBytesWireFormatAtDifferentOffsets(int offset) { byte[] buffer = new byte[512];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcLookupSidsTest.java
Object namesObj = namesField.get(lookupSids); assertNotNull(namesObj); assertTrue(namesObj instanceof lsarpc.LsarTransNameArray); } @ParameterizedTest @ValueSource(ints = { 1, 5, 10, 20, 50 }) void constructor_shouldHandleVariousSidArraySizes(int size) { // Arrange testSids = new jcifs.SID[size]; for (int i = 0; i < size; i++) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java
// Assert assertNotNull(transPeekNamedPipe); assertNull(transPeekNamedPipe.name); } @ParameterizedTest @ValueSource(ints = { 0, 1, -1, Integer.MAX_VALUE, Integer.MIN_VALUE, 0xFFFF }) @DisplayName("Constructor should handle various FID values") void testConstructorWithVariousFids(int fid) { // Act
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/MD4.java
tail[padLen + i] = (byte) (count * 8 >>> 8 * i); } engineUpdate(tail, 0, tail.length); final byte[] result = new byte[16]; // cast this MD4's context (array of 4 ints) into an array of 16 bytes. for (int i = 0; i < 4; i++) { for (int j = 0; j < 4; j++) { result[i * 4 + j] = (byte) (context[i] >>> 8 * j); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/ACETest.java
assertEquals(0x08, ace.getFlags()); assertEquals(0x00000001, ace.getAccessMask()); } @ParameterizedTest @DisplayName("Test various access mask values") @ValueSource(ints = { 0x00000001, // FILE_READ_DATA 0x00000002, // FILE_WRITE_DATA 0x00000004, // FILE_APPEND_DATA 0x00010000, // DELETE 0x00020000, // READ_CONTROL
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java
"Should throw configured exception"); } @ParameterizedTest @ValueSource(ints = { 1, 10, 50, 100, 255 }) @DisplayName("Should handle various data lengths") void testVariousDataLengths(int length) throws SMBProtocolDecodingException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java
assertEquals(3, SMBUtil.readInt2(buffer, 2)); assertArrayEquals(salt, Arrays.copyOfRange(buffer, 4, 7)); } @ParameterizedTest @ValueSource(ints = { 1, 3, 5, 10, 20 }) @DisplayName("Should encode various hash algorithm counts correctly") void testEncodeVariousHashAlgoCounts(int algoCount) { int[] hashAlgos = new int[algoCount];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 34K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java
assertEquals(100, testResponse.getAvailable()); assertEquals(status, testResponse.getStatus()); } } @ParameterizedTest @ValueSource(ints = { 0, 1, 100, 255, 1000, 32767, 65535 }) @DisplayName("readParametersWireFormat should handle various available values") void testReadParametersWireFormatWithVariousAvailableValues(int available) { // Arrange
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/spnego/NegTokenInitTest.java
} } @Nested @DisplayName("Context Flags Tests") class ContextFlagsTests { @ParameterizedTest @ValueSource(ints = { NegTokenInit.DELEGATION, NegTokenInit.MUTUAL_AUTHENTICATION, NegTokenInit.REPLAY_DETECTION, NegTokenInit.SEQUENCE_CHECKING, NegTokenInit.ANONYMITY, NegTokenInit.CONFIDENTIALITY, NegTokenInit.INTEGRITY })
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java
byte subCommand = netShareEnum.getSubCommand(); assertEquals(SmbComTransaction.NET_SHARE_ENUM, subCommand); } @ParameterizedTest @DisplayName("Test maxDataCount values") @ValueSource(ints = { 1024, 2048, 4096, 8192, 16384, 32768, 65535 }) void testMaxDataCountValues(int maxDataCount) throws Exception { netShareEnum = new NetShareEnum(realConfig); // Set maxDataCount using reflection
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0)