Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 431 - 440 of 849 for halted (0.04 seconds)

  1. fastapi/.agents/skills/fastapi/SKILL.md

    Apply shared dependencies at the router level via `dependencies=[Depends(...)]`.
    
    ## Async vs Sync *path operations*
    
    Use `async` *path operations* only when fully certain that the logic called inside is compatible with async and await (it's called with `await`) or that doesn't block.
    
    ```python
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    # Use async def when calling async code
    @app.get("/async-items/")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

       *     unrecoverable errors, callers should prefer more specific types, avoiding {@code
       *     Throwable.class} in particular.
       * @param fallback the {@link Function} to be called if the input fails with the expected
       *     exception type. The function's argument is the input's exception. "The input's exception"
       *     means the cause of the {@link ExecutionException} thrown by {@code this.get()} or, if
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 19.8K bytes
    - Click Count (0)
  3. TESTING.asciidoc

    Example:
    
    Say you need to make a change to `master` and have a BWC layer in `5.x`. You
    will need to:
    . Create a branch called `index_req_change` off your remote `${remote}`. This
    will contain your change.
    . Create a branch called `index_req_bwc_5.x` off `5.x`. This will contain your bwc layer.
    . Push both branches to your remote repository.
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Jun 07 13:55:20 GMT 2021
    - 32.5K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

       * safe to do so. The exact circumstances under which a copy will or will not be performed are
       * undocumented and subject to change.
       *
       * <p>This method is not type-safe, as it may be called on elements that are not mutually
       * comparable.
       *
       * @throws ClassCastException if the elements are not mutually comparable
       * @throws NullPointerException if any of {@code elements} is null
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 35.2K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/hash/Hasher.java

      /**
       * Equivalent to processing each {@code char} value in the {@code CharSequence}, in order. In
       * other words, no character encoding is performed; the low byte and high byte of each {@code
       * char} are hashed directly (in that order). The input must not be updated while this method is
       * in progress.
       *
       * <p><b>Warning:</b> This method will produce different output than most other languages do when
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  6. cmd/api-response_test.go

    	}
    
    	_, err := trw.Write([]byte("hello"))
    	if err != nil {
    		t.Fatalf("Write unexpectedly failed: %v", err)
    	}
    
    	// Check that WriteHeader and Write were called on the underlying response writer
    	resp := rw.Result()
    	if resp.StatusCode != 123 {
    		t.Fatalf("unexpected status: %v", resp.StatusCode)
    	}
    	body, err := io.ReadAll(resp.Body)
    	if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 24 04:05:19 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java

            assertEquals(name, share.netName);
            assertEquals(type, share.type);
            assertEquals(remark, share.remark);
        }
    
        @Test
        @DisplayName("Test setUseUnicode is called with false")
        void testSetUseUnicode() throws Exception {
            // Create a spy to verify method call
            NetShareEnumResponse spyResponse = spy(new NetShareEnumResponse(mockConfig));
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.2K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

            }
    
            // After try-with-resources, auth should be closed
            // We can't directly test if password is wiped since auth is out of scope,
            // but the close() method should have been called
        }
    
        /**
         * Test secure memory clearing in close()
         */
        @Test
        @DisplayName("Test secure memory clearing on close")
        public void testCloseSecurelyClearsMemory() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 23.3K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        // causing the thread to be suspended for 3.5 seconds, and then park itself for 2 seconds after
        // being resumed. To avoid a flake in this scenario, calculate how long that thread actually
        // waited and assert based on that time. Empirically, the race where the thread ends up waiting
        // for 5.5 seconds happens about 2% of the time.
        boolean longWait = NANOSECONDS.toSeconds(thread.timeSpentBlocked) >= 5;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 45.2K bytes
    - Click Count (0)
  10. build-logic/dependency-modules/src/main/kotlin/gradlebuild.dependency-modules.gradle.kts

            val group = r.group
            val module = r.module
            val expectedLength = group.length + 1 + module.length
    
            val isProvided = providedBy.any {
                // This method is called very often during dependency resolution.
                // This implementation avoids allocating new strings.
                it.length == expectedLength &&
                    it[group.length] == ':' &&
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 26 09:04:32 GMT 2026
    - 9.5K bytes
    - Click Count (0)
Back to Top