Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for Publication (0.05 sec)

  1. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

         *       operations in a thread always happen-before subsequent read operations in the same
         *       thread
         *   <li>If this field's value == null because of unsafe publication, we know that it isn't the
         *       object associated with our thread, because if it was the publication wouldn't have been
         *       unsafe and we'd have seen our thread as the value. This state is also why a new
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/extra-models.md

    ///
    
    ## Reduce duplication { #reduce-duplication }
    
    Reducing code duplication is one of the core ideas in **FastAPI**.
    
    As code duplication increments the chances of bugs, security issues, code desynchronization issues (when you update in one place but not in the others), etc.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  3. okhttp-bom/build.gradle.kts

            api(subproject)
          }
        }
        api("com.squareup.okhttp3:okhttp-jvm:${project.version}")
        api("com.squareup.okhttp3:okhttp-android:${project.version}")
      }
    }
    
    publishing {
      publications.create<MavenPublication>("maven") {
        from(project.components["javaPlatform"])
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Jul 13 08:32:01 UTC 2025
    - 501 bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MapMakerTest.java

        }
    
        @CanIgnoreReturnValue // Sure, why not?
        @Override
        public T apply(T key) {
          awaitUninterruptibly(delayLatch);
          return key;
        }
      }
    
      /*
       * TODO(cpovirk): eliminate duplication between these tests and those in LegacyMapMakerTests and
       * anywhere else
       */
    
      public void testInitialCapacity_negative() {
        MapMaker maker = new MapMaker();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RoutePlanner.kt

     *     list of available routes.
     *
     * If the pool gains an eligible connection while DNS, TCP, or TLS work is in flight, this finder
     * will prefer pooled connections. Only pooled HTTP/2 connections are used for such de-duplication.
     *
     * It is possible to cancel the finding process by canceling its call.
     *
     * Implementations of this interface are not thread-safe. Each instance is thread-confined to the
     * thread executing the call.
     */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. docs/en/docs/history-design-future.md

    That way I could find the best ways to reduce code duplication as much as possible, to have completion everywhere, type and error checks, etc.
    
    All in a way that provided the best development experience for all the developers.
    
    ## Requirements { #requirements }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/dependencies/index.md

    You just pass it to `Depends` and **FastAPI** knows how to do the rest.
    
    ///
    
    ## Share `Annotated` dependencies { #share-annotated-dependencies }
    
    In the examples above, you see that there's a tiny bit of **code duplication**.
    
    When you need to use the `common_parameters()` dependency, you have to write the whole parameter with the type annotation and `Depends()`:
    
    ```Python
    commons: Annotated[dict, Depends(common_parameters)]
    ```
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  8. cmd/peer-s3-client.go

    			if err != nil {
    				return err
    			}
    			nodeBuckets[idx] = localBuckets
    			return nil
    		}, idx)
    	}
    
    	errs := g.Wait()
    
    	// The list of buckets in a map to avoid duplication
    	resultMap := make(map[string]BucketInfo)
    
    	for poolIdx := 0; poolIdx < sys.poolsCount; poolIdx++ {
    		perPoolErrs := make([]error, 0, len(sys.peerClients))
    		for i, client := range sys.peerClients {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/bigger-applications.md

    ///
    
    /// check
    
    The `prefix`, `tags`, `responses`, and `dependencies` parameters are (as in many other cases) just a feature from **FastAPI** to help you avoid code duplication.
    
    ///
    
    ### Import the dependencies { #import-the-dependencies }
    
    This code lives in the module `app.routers.items`, the file `app/routers/items.py`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

    /**
     * Tests for {@link ImmutableBiMap}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    public class ImmutableBiMapTest extends TestCase {
    
      // TODO: Reduce duplication of ImmutableMapTest code
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      @AndroidIncompatible // test-suite builders
      public static Test suite() {
        TestSuite suite = new TestSuite();
    
        suite.addTest(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
Back to top