Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1701 - 1710 of 2,109 for collect (0.03 sec)

  1. docs/en/docs/tutorial/response-model.md

    If you added the return type annotation, tools and editors would complain with a (correct) error telling you that your function is returning a type (e.g. a dict) that is different from what you declared (e.g. a Pydantic model).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 16K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/Network.java

      Graph<N> asGraph();
    
      //
      // Network properties
      //
    
      /**
       * Returns true if the edges in this network are directed. Directed edges connect a {@link
       * EndpointPair#source() source node} to a {@link EndpointPair#target() target node}, while
       * undirected edges connect a pair of nodes to each other.
       */
      boolean isDirected();
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:03:02 UTC 2025
    - 22.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/config/DelegatingConfigurationTest.java

            int timeout3 = delegatingConfig.getResponseTimeout();
    
            // Then
            assertEquals(30000, timeout1, "First call should return correct value");
            assertEquals(30000, timeout2, "Second call should return correct value");
            assertEquals(30000, timeout3, "Third call should return correct value");
            verify(mockDelegate, times(3)).getResponseTimeout();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java

            outputBuffer = new byte[1024];
            response = new TransTransactNamedPipeResponse(mockConfig, outputBuffer);
        }
    
        @Test
        void testConstructor() {
            // Verify that the response is created with correct configuration and buffer
            assertNotNull(response);
    
            // Use reflection to verify the outputBuffer is set correctly
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java

                assertEquals(2000000L, basicInfo.getLastWriteTime());
                assertEquals(0L, basicInfo.getSize()); // Basic info always returns 0 for size
            }
    
            @Test
            @DisplayName("Should generate correct toString for basic info")
            void testBasicInfoToString() {
                Trans2QueryPathInformationResponse.SmbQueryFileBasicInfo basicInfo = response.new SmbQueryFileBasicInfo();
    
                basicInfo.attributes = 0x20;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. tests/non_std_test.go

    	}
    
    	var animals []Animal
    	DB.Find(&animals)
    	if count := DB.Model(Animal{}).Where("1=1").Update("CreatedAt", time.Now().Add(2*time.Hour)).RowsAffected; count != int64(len(animals)) {
    		t.Error("RowsAffected should be correct when do batch update")
    	}
    
    	animal = Animal{From: "somewhere"}              // No name fields, should be filled with the default value (galeone)
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. docs/orchestration/docker-compose/nginx.conf

                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                proxy_set_header X-Forwarded-Proto $scheme;
                proxy_set_header X-NginX-Proxy true;
    
                # This is necessary to pass the correct IP to be hashed
                real_ip_header X-Real-IP;
    
                proxy_connect_timeout 300;
                
                # To support websocket
                proxy_http_version 1.1;
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Mar 05 06:32:39 UTC 2022
    - 3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java

            assertEquals(TEST_LAST_WRITE_TIME, info.getLastWriteTime());
            assertEquals(TEST_ATTRIBUTES, info.getAttributes());
        }
    
        @Test
        @DisplayName("Test getFileInformationLevel returns correct value")
        void testGetFileInformationLevel() {
            assertEquals(FileInformation.FILE_BASIC_INFO, fileBasicInfo.getFileInformationLevel());
        }
    
        @Test
        @DisplayName("Test getSize always returns 0")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/body-multiple-params.md

    ## Recap { #recap }
    
    You can add multiple body parameters to your *path operation function*, even though a request can only have a single body.
    
    But **FastAPI** will handle it, give you the correct data in your function, and validate and document the correct schema in the *path operation*.
    
    You can also declare singular values to be received as part of the body.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            // Then
            assertEquals(0, request.getCapabilities() & Smb2Constants.SMB2_GLOBAL_CAP_ENCRYPTION);
        }
    
        @Test
        @DisplayName("Should generate correct dialect list")
        void testDialectGeneration() {
            // Given
            when(mockConfig.getMinimumVersion()).thenReturn(DialectVersion.SMB210);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
Back to top