Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 207 for swallowed (0.04 sec)

  1. android/guava-tests/test/com/google/common/collect/MapMakerTest.java

      public void xtestInitialCapacity_setTwice() {
        MapMaker maker = new MapMaker().initialCapacity(16);
        try {
          // even to the same value is not allowed
          maker.initialCapacity(16);
          fail();
        } catch (IllegalStateException expected) {
        }
      }
    
      public void testReturnsPlainConcurrentHashMapWhenPossible() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/config/SecurityConfigurationTest.java

         */
        @Test
        public void testSMB1Disabled() throws CIFSException {
            BaseConfiguration config = new BaseConfiguration(true);
    
            // SMB1 versions should not be allowed
            assertTrue("SMB1 should be disabled", config.getMinimumVersion().atLeast(DialectVersion.SMB202));
    
            // Minimum version should be SMB2 or higher
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java

            assertEquals(SMBProtocolDowngradeException.class.getName(), ex.toString());
        }
    
        @Test
        void assertThrows_capturesExceptionAndMessage() {
            // Arrange
            String msg = "downgrade not allowed";
    
            // Act & Assert - verify thrown type and message
            SMBProtocolDowngradeException thrown = assertThrows(SMBProtocolDowngradeException.class, () -> {
                throw new SMBProtocolDowngradeException(msg);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfAbsentTester.java

        assertThrows(
            UnsupportedOperationException.class,
            () ->
                getMap()
                    .computeIfAbsent(
                        k3(),
                        k -> {
                          // allowed to be called
                          assertEquals(k3(), k);
                          return v3();
                        }));
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

     * </p>
     * <ul>
     *   <li>Initialize the client with SMB authentication details.</li>
     *   <li>Retrieve content and metadata from SMB files.</li>
     *   <li>Process access control entries to determine allowed and denied SIDs (Security Identifiers).</li>
     *   <li>Handle timeouts during SMB operations.</li>
     * </ul>
     *
     * <p>
     * The client uses a {@link SmbAuthenticationHolder} to manage SMB authentication credentials.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

        private static final String ADMIN_SERVER = "/admin/server_";
    
        private static final Logger logger = LogManager.getLogger(SearchEngineApiManager.class);
    
        /** Roles that are allowed to access the search engine API */
        protected String[] acceptedRoles = { "admin" };
    
        /**
         * Default constructor.
         * Initializes the API manager with the admin server path prefix.
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/SessionReuseTest.kt

        assertEquals(0, client.connectionPool.connectionCount())
    
        // Force reuse. This appears flaky (30% of the time) even though sessions are reused.
        // javax.net.ssl.SSLHandshakeException: No new session is allowed and no existing
        // session can be resumed
        //
        // Report https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8264944
        // Sessions improvement https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8245576
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 5.9K bytes
    - Viewed (1)
  8. guava/src/com/google/common/collect/ImmutableMapEntry.java

      /**
       * Creates an {@code ImmutableMapEntry} array to hold parameterized entries. The result must never
       * be upcast back to ImmutableMapEntry[] (or Object[], etc.), or allowed to escape the class.
       *
       * <p>The returned array has all its elements set to their initial null values. However, we don't
       * declare it as {@code @Nullable ImmutableMapEntry[]} because our checker doesn't require newly
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 01 21:42:29 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Multiset.java

       * addAll(Collections.nCopies(element, occurrences))}, which would presumably perform much more
       * poorly.
       *
       * @param element the element to add occurrences of; may be null only if explicitly allowed by the
       *     implementation
       * @param occurrences the number of occurrences of the element to add. May be zero, in which case
       *     no change will be made.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java

            // Then
            assertNull(result);
            verify(request, times(1)).createCancel();
        }
    
        @Test
        @DisplayName("Test allowChain returns true when chaining is allowed")
        void testAllowChainReturnsTrue() {
            // Given
            when(request.allowChain(nextRequest)).thenReturn(true);
    
            // When
            boolean result = request.allowChain(nextRequest);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
Back to top