Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 329 for fints (0.02 sec)

  1. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

            assertEquals(securityInfo, SMBUtil.readInt4(dst, dstIndex + 4));
        }
    
        @ParameterizedTest
        @DisplayName("Test writeParametersWireFormat with various FID values")
        @ValueSource(ints = { 0x0000, 0x0001, 0x7FFF, 0xFFFF, 0x1234, 0xABCD })
        void testWriteParametersWireFormatWithVariousFids(int fid) {
            querySecurityDesc = new NtTransQuerySecurityDesc(mockConfig, fid, OWNER_SECURITY_INFORMATION);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.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
    - 20.5K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

                description,
                cls,
                explicitTestNames.get(0),
                cls.getName());
        return new AssertionError(message, e);
      }
    
      /**
       * Finds the classes not ending with a test suffix and not covered by an explicit test whose name
       * is {@code explicitTestNames}.
       */
      @VisibleForTesting
      List<Class<?>> findClassesToTest(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  7. 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)
  8. guava/src/com/google/common/math/LongMath.java

      public static boolean isPowerOfTwo(long x) {
        return x > 0 & (x & (x - 1)) == 0;
      }
    
      /**
       * Returns 1 if {@code x < y} as unsigned longs, and 0 otherwise. Assumes that x - y fits into a
       * signed long. The implementation is branch-free, and benchmarks suggest it is measurably faster
       * than the straightforward ternary expression.
       */
      @VisibleForTesting
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 29 16:20:07 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top