Search Options

Results per page
Sort
Preferred Languages
Advance

Results 521 - 530 of 1,468 for Results (0.04 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/AbstractSortedMultiset.java

        Iterator<Entry<E>> entryIterator = entryIterator();
        if (entryIterator.hasNext()) {
          Entry<E> result = entryIterator.next();
          result = Multisets.immutableEntry(result.getElement(), result.getCount());
          entryIterator.remove();
          return result;
        }
        return null;
      }
    
      @Override
      public @Nullable Entry<E> pollLastEntry() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/SmbNegotiationRequestTest.java

        void testIsSigningEnforcedReturnsTrue() {
            // Given
            when(negotiationRequest.isSigningEnforced()).thenReturn(true);
    
            // When
            boolean result = negotiationRequest.isSigningEnforced();
    
            // Then
            assertTrue(result, "isSigningEnforced should return true when signing is enforced");
            verify(negotiationRequest, times(1)).isSigningEnforced();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComSessionSetupAndXTest.java

            byte[] buffer = new byte[1024];
    
            int result = setupAndX.readBytesWireFormat(buffer, 0);
    
            // The implementation always returns 0
            assertEquals(0, result, "readBytesWireFormat returns 0");
        }
    
        @Test
        void testToString() {
            String result = setupAndX.toString();
            assertNotNull(result);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/auth/AuthenticationManagerTest.java

            assertEquals(user, chain3.lastUpdatedUser);
        }
    
        // Test changePassword with no chains
        public void test_changePassword_noChains() {
            boolean result = authenticationManager.changePassword("testuser", "newpass");
            assertTrue(result); // Returns true when no chains present
        }
    
        // Test changePassword with single chain success
        public void test_changePassword_singleChain_success() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

            void testToString() {
                String result = smbInfoAllocation.toString();
    
                assertNotNull(result);
                assertTrue(result.contains("SmbInfoAllocation"));
                assertTrue(result.contains("alloc="));
                assertTrue(result.contains("free="));
                assertTrue(result.contains("sectPerAlloc="));
                assertTrue(result.contains("bytesPerSect="));
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/util/OptionalUtilTest.java

            assertNotNull(result);
            assertTrue(result.isPresent());
            assertEquals(testValue, result.get());
            assertEquals(0, result.get().size());
        }
    
        public void test_ofNullable_withNullList() {
            List<String> testValue = null;
            OptionalEntity<List<String>> result = OptionalUtil.ofNullable(testValue);
    
            assertNotNull(result);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 13K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/util/StringUtilTest.java

            String longString1 = "a".repeat(1000);
            String longString2 = "b".repeat(1000);
            String result = StringUtil.join(",", longString1, longString2);
            assertEquals(2001, result.length()); // 1000 + 1 + 1000
            assertTrue(result.startsWith("aaa"));
            assertTrue(result.endsWith("bbb"));
            assertTrue(result.contains(","));
        }
    
        @Test
        @DisplayName("Should handle long delimiter")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java

            ComponentUtil.register(systemHelper, "systemHelper");
            ComponentUtil.setFessConfig(fessConfig);
    
            // Execute
            String result = pingSearchEngineJob.execute();
    
            // Assert
            assertEquals("Status of test-cluster is changed to GREEN.", result);
        }
    
        // Test normal operation with YELLOW status and no state change
        public void test_execute_yellowStatusNoChange() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/util/ParameterUtilTest.java

            assertTrue("Result should contain password={cipher}, but was: " + result, result.contains("password={cipher}"));
    
            // Test with empty encryption target
            value = "password=";
            result = ParameterUtil.encrypt(value);
            assertTrue(result.contains("password={cipher}"));
    
            // Test with only whitespace value
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  10. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/Restriction.java

        }
    
        @Override
        public int hashCode() {
            int result = 13;
    
            if (lowerBound == null) {
                result += 1;
            } else {
                result += lowerBound.hashCode();
            }
    
            result *= lowerBoundInclusive ? 1 : 2;
    
            if (upperBound == null) {
                result -= 3;
            } else {
                result -= upperBound.hashCode();
            }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top