Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for isIntermediate (2.65 sec)

  1. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

            }
    
            @Test
            @DisplayName("Should check if intermediate")
            void testIsIntermediate() {
                // Test with mock
                when(mockReferralData.isIntermediate()).thenReturn(false);
                assertFalse(mockReferralData.isIntermediate());
                verify(mockReferralData, times(1)).isIntermediate();
    
                // Test with concrete implementation
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/dfs/DfsReferralDataInternal.java

         */
        boolean isResolveHashes();
    
        /**
         * Check if this referral needs to be resolved further
         *
         * @return whether this refrral needs to be resolved further
         */
        boolean isIntermediate();
    
        /**
         * Combine this referral with another to form a chain
         *
         * @param next the referral to combine with
         * @return new referral, combining a chain of referrals
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

            }
    
            @Test
            @DisplayName("Should get and set intermediate flag")
            void testIntermediate() {
                assertFalse(referralData.isIntermediate());
                referralData.intermediate();
                assertTrue(referralData.isIntermediate());
            }
        }
    
        @Nested
        @DisplayName("Cache Management Tests")
        class CacheManagementTests {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

        }
    
        /**
         * Mark this referral as intermediate (requires further resolution)
         */
        public void intermediate() {
            this.intermediate = true;
        }
    
        /**
         * @return the intermediate
         */
        @Override
        public boolean isIntermediate() {
            return this.intermediate;
        }
    
        @Override
        public String toString() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/DfsImpl.java

                    }
                }
            }
    
            if (dr == null && path != null) {
                dr = getStandaloneCached(domain, root, path, now);
            }
    
            if (dr != null && dr.isIntermediate()) {
                dr = resolveIntermediates(tf, path, depthLimit, dr);
            }
    
            return dr;
    
        }
    
        /**
         * @param tf
         * @param path
         * @param depthLimit
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 29.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/math/QuantilesTest.java

        assertThrows(IllegalArgumentException.class, () -> intermediate.indexes(1, -1, 3));
      }
    
      public void testScale_indexes_varargs_tooHigh() {
        Quantiles.Scale intermediate = Quantiles.scale(10);
        assertThrows(IllegalArgumentException.class, () -> intermediate.indexes(1, 11, 3));
      }
    
      public void testScale_indexes_collection_negative() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/math/QuantilesTest.java

        assertThrows(IllegalArgumentException.class, () -> intermediate.indexes(1, -1, 3));
      }
    
      public void testScale_indexes_varargs_tooHigh() {
        Quantiles.Scale intermediate = Quantiles.scale(10);
        assertThrows(IllegalArgumentException.class, () -> intermediate.indexes(1, 11, 3));
      }
    
      public void testScale_indexes_collection_negative() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

        void testExceptionChaining() {
            // Given
            Exception rootCause = new IllegalStateException("Root error");
            RuntimeCIFSException intermediateCause = new RuntimeCIFSException("Intermediate", rootCause);
    
            // When
            RuntimeCIFSException finalException = new RuntimeCIFSException("Final error", intermediateCause);
    
            // Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  9. okhttp-tls/README.md

    representative of real-world HTTPS deployment. To get closer to that we can use `HeldCertificate`
    to generate a trusted root certificate, an intermediate certificate, and a server certificate.
    We use `certificateAuthority(int)` to create certificates that can sign other certificates. The
    int specifies how many intermediate certificates are allowed beneath it in the chain.
    
    ```java
    HeldCertificate rootCertificate = new HeldCertificate.Builder()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Oct 30 21:39:59 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbExceptionTest.java

        void testExceptionChaining() {
            // Given
            Exception rootCause = new RuntimeException("Root cause");
            SmbException intermediateCause = new SmbException("Intermediate", rootCause);
    
            // When
            SmbException finalException = new SmbException("Final error", intermediateCause);
    
            // Then
            assertEquals(intermediateCause, finalException.getCause());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top