Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 394 for inInts (0.03 sec)

  1. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

            // When
            int bytesRead = request.readBytesWireFormat(buffer, 0);
    
            // Then
            assertEquals(0, bytesRead);
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0, 10, 50, 100, 200 })
        @DisplayName("Should write consistent structure at different offsets")
        void testWriteBytesAtDifferentOffsets(int offset) {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. cmd/xl-storage_test.go

    		srcPath     string
    		expectedErr error
    	}{
    		// TestXLStorage case - 1.
    		// TestXLStorage case with valid inputs, expected to pass.
    		{
    			srcVol:      "success-vol",
    			srcPath:     "success-file",
    			expectedErr: nil,
    		},
    		// TestXLStorage case - 2.
    		// TestXLStorage case with valid inputs, expected to pass.
    		{
    			srcVol:      "success-vol",
    			srcPath:     "path/to/success-file",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 66K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

       * single-threaded.
       */
      @GwtIncompatible // GWT is single threaded
      public void testCopyOf_threadSafe() {
        /*
         * The actual collections that we pass as inputs will be wrappers around these, so
         * ImmutableSet.copyOf won't short-circuit because it won't see an ImmutableSet input.
         */
        ImmutableList<ImmutableSet<String>> distinctCandidatesByAscendingSize =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

            doThrow(new AssertionError("ensureOpen should not be called")).when(raf).ensureOpen();
            raf.write(new byte[1], 0, 0);
        }
    
        @Test
        @DisplayName("Null inputs: read(byte[]) and write* with nulls throw NPE")
        void nullInputs_throwNPE() throws Exception {
            SmbRandomAccessFile raf = newInstance("rw", false, true, false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

                assertEquals(4, decodedSize);
                assertEquals(0, context.getHashAlgos().length);
                assertEquals(0, context.getSalt().length);
            }
    
            @ParameterizedTest
            @ValueSource(ints = { 0, 1, 3, 5, 10 })
            @DisplayName("Should calculate size correctly for different hash algo counts")
            void testSizeCalculation(int hashAlgoCount) {
                // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
Back to top