Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 2,214 for correct (0.04 sec)

  1. docs/en/docs/advanced/additional-responses.md

    The correct place is:
    
    * In the key `content`, that has as value another JSON object (`dict`) that contains:
        * A key with the media type, e.g. `application/json`, that contains as value another JSON object, that contains:
            * A key `schema`, that has as the value the JSON Schema from the model, here's the correct place.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

            assertTrue(resp instanceof ServerMessageBlock2);
            assertTrue(resp instanceof TreeConnectResponse);
        }
    
        @Test
        @DisplayName("Should return correct share type constants")
        void testShareTypeConstants() {
            // Then
            assertEquals((byte) 0x1, Smb2TreeConnectResponse.SMB2_SHARE_TYPE_DISK);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/ndr/NdrHyperTest.java

        }
    
        @Test
        void testConstructorAndGetValue() {
            // Test that the constructor correctly initializes the value
            long expectedValue = 123456789012345L;
            NdrHyper ndrHyper = new NdrHyper(expectedValue);
            assertEquals(expectedValue, ndrHyper.value, "Constructor should set the correct value.");
        }
    
        @Test
        void testEncode() throws NdrException {
            // Test the encode method
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

        List<String> expectedEvents = new ArrayList<>();
        expectedEvents.add(EVENT);
        expectedEvents.add(EVENT);
    
        assertEquals("Two correct events should be delivered.", expectedEvents, catcher1.getEvents());
    
        assertEquals(
            "One correct event should be delivered.", Lists.newArrayList(EVENT), catcher2.getEvents());
    
        bus.unregister(catcher1);
        bus.post(EVENT);
    
        assertEquals(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeTest.java

        private String testPipeName = "\\PIPE\\testpipe";
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        @DisplayName("Constructor should initialize with correct values")
        void testConstructor() {
            // Act
            transWaitNamedPipe = new TransWaitNamedPipe(mockConfig, testPipeName);
    
            // Assert
            assertNotNull(transWaitNamedPipe);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

            int expectedBytes = 12 + (fileName.length() * 2); // Unicode is 2 bytes per char
            assertEquals(expectedBytes, bytesRead);
        }
    
        @Test
        @DisplayName("Test getAction returns correct value")
        void testGetAction() throws SMBProtocolDecodingException {
            int expectedAction = FileNotifyInformation.FILE_ACTION_RENAMED_NEW_NAME;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/sso/SsoResponseTypeTest.java

            }
        }
    
        public void test_name() {
            // Test name() method returns correct string representation
            assertEquals("METADATA", SsoResponseType.METADATA.name());
            assertEquals("LOGOUT", SsoResponseType.LOGOUT.name());
        }
    
        public void test_ordinal() {
            // Test ordinal() method returns correct position
            assertEquals(0, SsoResponseType.METADATA.ordinal());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

        class FlagConstantsTests {
    
            @Test
            @DisplayName("Should have correct shared lock flag value")
            void testSharedLockFlag() {
                assertEquals(0x1, Smb2Lock.SMB2_LOCKFLAG_SHARED_LOCK);
            }
    
            @Test
            @DisplayName("Should have correct exclusive lock flag value")
            void testExclusiveLockFlag() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/SecureKeyManagerTest.java

            assertEquals(32, derived1.length, "Derived key should have correct length");
            assertEquals(32, derived2.length, "Derived key should have correct length");
            assertEquals(32, derived3.length, "Derived key should have correct length");
    
            assertFalse(Arrays.equals(derived1, derived2), "Different labels should produce different keys");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  10. 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)
Back to top