Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 426 for locks (0.06 sec)

  1. docs/en/docs/advanced/security/oauth2-scopes.md

    The *path operation* itself also declares a scope, `"items"`, so this will also be in the list of `security_scopes.scopes` passed to `get_current_user`.
    
    Here's how the hierarchy of dependencies and scopes looks like:
    
    * The *path operation* `read_own_items` has:
        * Required scopes `["items"]` with the dependency:
        * `get_current_active_user`:
            *  The dependency function `get_current_active_user` has:
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    **FastAPI** uses them internally to achieve this.
    
    ///
    
    ## Dependencies with `yield` and `HTTPException` { #dependencies-with-yield-and-httpexception }
    
    You saw that you can use dependencies with `yield` and have `try` blocks that catch exceptions.
    
    The same way, you could raise an `HTTPException` or similar in the exit code, after the `yield`.
    
    /// tip
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  3. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

        assertThat(first.requestLine).isEqualTo("GET / HTTP/1.1")
        val redirect = server.takeRequest()
        assertThat(redirect.requestLine).isEqualTo("GET /new-path HTTP/1.1")
      }
    
      /**
       * Test that MockWebServer blocks for a call to enqueue() if a request is made before a mock
       * response is ready.
       */
      @Test
      fun dispatchBlocksWaitingForEnqueue() {
        Thread {
          try {
            Thread.sleep(1000)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 03 13:16:34 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/SmbResourceTest.java

         */
        private SmbResource createMockResource() {
            return mock(SmbResource.class);
        }
    
        @BeforeEach
        void setUp() {
            // Reset mocks to ensure clean state for each test
            reset(mockResource, mockLocator, mockContext);
        }
    
        @Nested
        @DisplayName("Interface Contract Tests")
        class InterfaceContractTests {
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/bigger-applications.md

    * and from it, import the function `get_token_header`.
    
    But that file doesn't exist, our dependencies are in a file at `app/dependencies.py`.
    
    Remember how our app/file structure looks like:
    
    <img src="/img/tutorial/bigger-applications/package.drawio.svg">
    
    ---
    
    The two dots `..`, like in:
    
    ```Python
    from ..dependencies import get_token_header
    ```
    
    mean:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  6. src/archive/tar/writer.go

    // then this returns an error.
    func (tw *Writer) Close() error {
    	if tw.err == ErrWriteAfterClose {
    		return nil
    	}
    	if tw.err != nil {
    		return tw.err
    	}
    
    	// Trailer: two zero blocks.
    	err := tw.Flush()
    	for i := 0; i < 2 && err == nil; i++ {
    		_, err = tw.w.Write(zeroBlock[:])
    	}
    
    	// Ensure all future actions are invalid.
    	tw.err = ErrWriteAfterClose
    	return err // Report IO errors
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Feb 03 16:38:43 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  7. okhttp/src/jvmMain/resources/okhttp3/internal/publicsuffix/PublicSuffixDatabase.list

    lifeinsurance
    lifestyle
    lig.it
    lighting
    liguria.it
    like
    likes-pie.com
    likescandy.com
    lillehammer.no
    lillesand.no
    lilly
    lima-city.at
    lima-city.ch
    lima-city.de
    lima-city.rocks
    lima.zone
    limanowa.pl
    limited
    limo
    lincoln
    lindas.no
    lindesnes.no
    lindรฅs.no
    link
    linkyard-cloud.ch
    linkyard.cloud
    lipsy
    littlestar.jp
    live
    live-on.net
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 22:00:49 UTC 2025
    - 129.6K bytes
    - Viewed (3)
  8. docs/sts/web-identity.md

    assigned a unique RoleARN by the MinIO server and this is used to select the policies to apply to temporary credentials generated in the AssumeRoleWithWebIdentity call.
    
    2. `id_token` claims: When the role policy is not configured, MinIO looks for a specific claim in the `id_token` (JWT) returned by the OpenID provider in the STS request. The default claim is `policy` and can be overridden by the `claim_name` configuration parameter or the `MINIO_IDENTITY_OPENID_CLAIM_NAME` environment variable....
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  9. cmd/xl-storage-disk-id-check.go

    			newAcc := &AccElem{}
    			old := e.cached.Swap(newAcc)
    			var a AccElem
    			a.Size = atomic.LoadInt64(&old.Size)
    			a.Total = atomic.LoadInt64(&old.Total)
    			a.N = atomic.LoadInt64(&old.N)
    			e.mu.Lock()
    			e.addAll(t-1, a)
    			e.mu.Unlock()
    			acc = newAcc
    		} else {
    			// We may be able to grab the new accumulator by yielding.
    			runtime.Gosched()
    			acc = e.cached.Load()
    		}
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 25 05:41:04 UTC 2025
    - 34.5K bytes
    - Viewed (0)
  10. docs/em/docs/index.md

    * ๐Ÿ’‚โ€โ™‚ &amp; ๐Ÿค, โœ… ๐Ÿ•โ€๐Ÿฆบ **Oauth2๏ธโƒฃ** โฎ๏ธ **๐Ÿฅ™ ๐Ÿค** &amp; **๐Ÿ‡บ๐Ÿ‡ธ๐Ÿ” ๐Ÿ”ฐ** ๐Ÿ”.
    * ๐ŸŒ… ๐Ÿง (โœ‹๏ธ ๐Ÿ˜จ โฉ) โš’ ๐Ÿ“ฃ **๐Ÿ™‡ ๐Ÿฆ ๐ŸŽป ๐Ÿท** (๐Ÿ‘ Pydantic).
    * **๐Ÿ•น** ๐Ÿ› ๏ธ โฎ๏ธ <a href="https://strawberry.rocks" class="external-link" target="_blank">๐Ÿ“</a> &amp; ๐ŸŽ ๐Ÿ—ƒ.
    * ๐Ÿ“š โž• โš’ (๐Ÿ‘ ๐Ÿ’ƒ):
        * ** *๏ธโƒฃ **
        * ๐Ÿ“ถ โฉ ๐Ÿ’ฏ โš“๏ธ ๐Ÿ”› ๐Ÿ‡ธ๐Ÿ‡ฒ &amp; `pytest`
        * **โšœ**
        * **๐Ÿช ๐ŸŽ‰**
        * ...&amp; ๐ŸŒ–.
    
    ## ๐ŸŽญ
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 17.1K bytes
    - Viewed (0)
Back to top