Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 583 for incorrectly (0.05 sec)

  1. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                request = mock(CommonServerMessageBlock.class);
                response = mock(CommonServerMessageBlock.class);
            }
    
            @Test
            @DisplayName("Should sign data correctly with zero signature field")
            void testSignZeroesSignatureField() {
                // Fill signature field with non-zero values
                for (int i = 0; i < SIGNATURE_LENGTH; i++) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/body.md

    * Read the body of the request as JSON.
    * Convert the corresponding types (if needed).
    * Validate the data.
        * If the data is invalid, it will return a nice and clear error, indicating exactly where and what was the incorrect data.
    * Give you the received data in the parameter `item`.
        * As you declared it in the function to be of type `Item`, you will also have all the editor support (completion, etc) for all of the attributes and their types.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/UnsignedLong.java

        return value;
      }
    
      /**
       * Returns the value of this {@code UnsignedLong} as a {@code float}, analogous to a widening
       * primitive conversion from {@code long} to {@code float}, and correctly rounded.
       */
      @Override
      public float floatValue() {
        if (value >= 0) {
          return (float) value;
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/DfsReferralTest.java

    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the DfsReferral class.
     * This class tests the functionality of the DfsReferral class,
     * ensuring that objects are constructed correctly, appended properly,
     * and that the toString method returns the expected format.
     */
    class DfsReferralTest {
    
        /**
         * Tests the default constructor of the DfsReferral class.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/netbios/SessionRetargetResponsePacketTest.java

    class SessionRetargetResponsePacketTest {
    
        @Mock
        private InputStream mockInputStream;
    
        @Test
        void constructorShouldInitializeTypeAndLength() {
            // Test that the constructor correctly initializes the type and length fields.
            SessionRetargetResponsePacket packet = new SessionRetargetResponsePacket();
            assertEquals(SessionServicePacket.SESSION_RETARGET_RESPONSE, packet.type);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  6. cmd/endpoint-ellipses.go

    	for _, totalSize := range totalSizes {
    		// Check if totalSize has minimum range upto setSize
    		if totalSize < setSizes[0] || totalSize < setDriveCount {
    			msg := fmt.Sprintf("Incorrect number of endpoints provided %s", args)
    			return nil, config.ErrInvalidNumberOfErasureEndpoints(nil).Msg(msg)
    		}
    	}
    
    	commonSize := getDivisibleSize(totalSizes)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/ntlmssp/av/AvChannelBindingsTest.java

    import static org.junit.jupiter.api.Assertions.assertNull;
    
    import org.junit.jupiter.api.Test;
    
    class AvChannelBindingsTest {
    
        /**
         * Test that the constructor correctly initializes with a valid channel binding hash.
         */
        @Test
        void testConstructorWithValidHash() {
            byte[] testHash = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 };
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/RequestWithPathTest.java

            // Test with implementation
            testImplementation.setPath(expectedPath);
            assertEquals(expectedPath, testImplementation.getPath());
        }
    
        @Test
        @DisplayName("Test setPath updates path correctly")
        void testSetPath() {
            // Test with mock
            String newPath = "/new/path/file.txt";
            doNothing().when(requestWithPath).setPath(newPath);
    
            requestWithPath.setPath(newPath);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/transport/TransportTest.java

            }
        }
    
        @Nested
        @DisplayName("State management tests")
        class StateManagementTests {
    
            @Test
            @DisplayName("should correctly identify disconnected states")
            void shouldIdentifyDisconnectedStates() {
                // States: 0=not connected, 1=connecting, 2=run connected, 3=connected,
                // 4=error, 5=disconnecting, 6=disconnected/invalid
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/cors.md

    ## Wildcards { #wildcards }
    
    It's also possible to declare the list as `"*"` (a "wildcard") to say that all are allowed.
    
    But that will only allow certain types of communication, excluding everything that involves credentials: Cookies, Authorization headers like those used with Bearer Tokens, etc.
    
    So, for everything to work correctly, it's better to specify explicitly the allowed origins.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 5.5K bytes
    - Viewed (0)
Back to top