Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 470 for correta (0.41 sec)

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

        assertEquals(1, (int) iter.peek());
        assertEquals(1, (int) iter.next());
    
        /*
         * We test peek() after various calls to make sure that one bad call doesn't interfere with its
         * ability to throw the correct exception in the future.
         */
        assertThrows(NoSuchElementException.class, iter::peek);
        assertThrows(NoSuchElementException.class, iter::peek);
        assertThrows(NoSuchElementException.class, iter::next);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/RequestParamTest.java

        @ParameterizedTest
        @ValueSource(strings = { "NONE", "NO_TIMEOUT", "NO_RETRY", "RETAIN_PAYLOAD" })
        @DisplayName("valueOf(name) returns the correct enum and toString matches name")
        void valueOfResolvesNamesAndToString(String name) {
            RequestParam rp = RequestParam.valueOf(name);
            assertNotNull(rp);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/UnsignedLongs.java

        if (dividend >= 0) {
          return dividend / divisor;
        }
    
        /*
         * Otherwise, approximate the quotient, check, and correct if necessary. Our approximation is
         * guaranteed to be either exact or one less than the correct value. This follows from fact that
         * floor(floor(x)/i) == floor(x/i) for any real x and integer i != 0. The proof is not quite
         * trivial.
         */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java

            }
    
            // Verify that the scroll method exists with correct signature
            try {
                SearchEngineUtil.class.getMethod("scroll", String.class, java.util.function.Function.class);
            } catch (NoSuchMethodException e) {
                fail("scroll method should exist with correct signature");
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/DialectVersionTest.java

            assertNotNull(DialectVersion.SMB300);
            assertNotNull(DialectVersion.SMB302);
            assertNotNull(DialectVersion.SMB311);
        }
    
        @Test
        @DisplayName("Should have correct version ordering")
        void testVersionOrdering() {
            // SMB versions should be ordered chronologically
            assertTrue(DialectVersion.SMB1.compareTo(DialectVersion.SMB202) < 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/transport/TransportExceptionTest.java

            // Test with various messages
            String message = "Test error message";
            TransportException exception = new TransportException(message);
    
            // Verify the exception has the correct message
            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
    
            // Test with empty string
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/security/http-basic-auth.md

    Of course, the attackers would not try all this by hand, they would write a program to do it, possibly with thousands or millions of tests per second. And they would get just one extra correct letter at a time.
    
    But doing that, in some minutes or hours the attackers would have guessed the correct username and password, with the "help" of our application, just using the time taken to answer.
    
    #### Fix it with `secrets.compare_digest()` { #fix-it-with-secrets-compare-digest }
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/FunctionsTest.java

        assertEquals("correct", f.apply(new Object()));
        assertEquals("correct", f.apply(null));
    
        Function<@Nullable Object, @Nullable String> g = Functions.constant(null);
        assertEquals(null, g.apply(2));
        assertEquals(null, g.apply(null));
    
        new EqualsTester()
            .addEqualityGroup(f, Functions.constant("correct"))
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java

        }
    
        public void test_constructor() {
            assertNotNull("Constructor should create instance", target);
            assertTrue("Instance should be of correct type", target instanceof SystemMonitorTarget);
            assertTrue("Instance should be a MonitorTarget", target instanceof MonitorTarget);
            assertTrue("Instance should be a TimeoutTarget", target instanceof TimeoutTarget);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java

        private static final int TEST_FID = 0x1234;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        @DisplayName("Constructor should initialize with correct values")
        void testConstructor() {
            // Act
            transPeekNamedPipe = new TransPeekNamedPipe(mockConfig, TEST_PIPE_NAME, TEST_FID);
    
            // Assert
            assertNotNull(transPeekNamedPipe);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
Back to top