Search Options

Results per page
Sort
Preferred Languages
Advance

Results 5341 - 5350 of 5,421 for return (0.16 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/ServerTruncatesRequestTest.kt

        assertThat(listener.recordedEventTypes()).isEqualTo(expectedEvents)
    
        // Confirm that the connection pool was not corrupted by making another call.
        makeSimpleCall()
      }
    
      /**
       * If the server returns a full response, it doesn't really matter if the HTTP/2 stream is reset.
       * Attempts to write the request body fails fast.
       */
      @Test
      fun serverTruncatesRequestHttp2OnDuplexRequest() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/NtlmContextTest.java

        void setUp() {
            // MockitoExtension handles mock initialization
            // Type1Message.getDefaultWorkstation() is static, so we can't easily mock it without PowerMock.
            // We will proceed assuming it returns a predictable value or handle it as is.
        }
    
        @Test
        void testConstructor_withSigning() {
            // Test constructor when signing is enabled
            NtlmContext context = new NtlmContext(mockAuth, true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  3. cmd/erasure-sets_test.go

    	nDisks := 16 // Maximum disks.
    	var erasureDisks []string
    	for range nDisks {
    		// Do not attempt to create this path, the test validates
    		// so that newErasureSets initializes non existing paths
    		// and successfully returns initialized object layer.
    		disk := filepath.Join(globalTestTmpDir, "minio-"+nextSuffix())
    		erasureDisks = append(erasureDisks, disk)
    		defer os.RemoveAll(disk)
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  4. docs/pt/docs/advanced/advanced-dependencies.md

    E quando a dependência for resolvida, o **FastAPI** chamará este `checker` como:
    
    ```Python
    checker(q="somequery")
    ```
    
    ...e passar o que quer que isso retorne como valor da dependência em nossa *função de operação de rota* como o parâmetro `fixed_content_included`:
    
    {* ../../docs_src/dependencies/tutorial011_an_py39.py hl[22] *}
    
    /// tip | Dica
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java

            assertEquals("Invalid resume key", exception.getMessage(), "Exception message should match");
        }
    
        @Test
        @DisplayName("Test getResumeKey returns null before decode")
        void testGetResumeKeyBeforeDecode() {
            assertNull(response.getResumeKey(), "Resume key should be null before decode");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java

            assertArrayEquals(key.getKey(), context.getLeaseKey().getKey());
            assertEquals(DirectoryLeaseState.DIRECTORY_READ_HANDLE, context.getLeaseState());
    
            // Directory-specific fields should retain defaults
            assertEquals(DirectoryCacheScope.IMMEDIATE_CHILDREN, context.getCacheScope());
            assertEquals(30000L, context.getMaxCacheAge());
            assertTrue(context.isNotificationEnabled());
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  7. docs/es/docs/advanced/response-directly.md

    Por defecto, **FastAPI** convertiría automáticamente ese valor de retorno a JSON usando el `jsonable_encoder` explicado en [JSON Compatible Encoder](../tutorial/encoder.md){.internal-link target=_blank}.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 17:46:44 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/RemoteRepository.java

     * @see ModelBase#getRepositories()
     * @see ModelBase#getPluginRepositories()
     */
    @Experimental
    @Immutable
    public interface RemoteRepository extends Repository {
    
        @Nonnull
        String getUrl();
    
        @Nonnull
        String getProtocol();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/ntlmssp/Type1MessageTest.java

            assertFalse((unicodeType1.getFlags() & NtlmFlags.NTLMSSP_NEGOTIATE_OEM) != 0);
    
            // When OEM flag is passed, it gets OR'd with default flags
            // Since mockConfig.isUseUnicode() returns true, default flags include UNICODE
            assertTrue((oemType1.getFlags() & NtlmFlags.NTLMSSP_NEGOTIATE_OEM) != 0);
            assertTrue((oemType1.getFlags() & NtlmFlags.NTLMSSP_NEGOTIATE_UNICODE) != 0);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/extra-models.md

    ///
    
    ### About `**user_in.dict()` { #about-user-in-dict }
    
    #### Pydantic's `.dict()` { #pydantics-dict }
    
    `user_in` is a Pydantic model of class `UserIn`.
    
    Pydantic models have a `.dict()` method that returns a `dict` with the model's data.
    
    So, if we create a Pydantic object `user_in` like:
    
    ```Python
    user_in = UserIn(username="john", password="secret", email="******@****.***")
    ```
    
    and then we call:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.2K bytes
    - Viewed (0)
Back to top