Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 167 for prefer (1.35 sec)

  1. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    //// tab | Python 3.8+
    
    ```Python
    commons: Annotated[CommonQueryParams, Depends(CommonQueryParams)]
    ```
    
    ////
    
    //// tab | Python 3.8+ non-Annotated
    
    /// tip
    
    Prefer to use the `Annotated` version if possible.
    
    ///
    
    ```Python
    commons: CommonQueryParams = Depends(CommonQueryParams)
    ```
    
    ////
    
    The last `CommonQueryParams`, in:
    
    ```Python
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/testing.md

    ```
    
    ////
    
    //// tab | Python 3.10+ non-Annotated
    
    /// tip
    
    Prefer to use the `Annotated` version if possible.
    
    ///
    
    ```Python
    {!> ../../docs_src/app_testing/app_b_py310/main.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+ non-Annotated
    
    /// tip
    
    Prefer to use the `Annotated` version if possible.
    
    ///
    
    ```Python
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/TopKSelector.java

     * create the {@code TopKSelector} instance.
     *
     * <p>If your input data is available as a {@link Stream}, prefer passing {@link
     * Comparators#least(int)} to {@link Stream#collect(java.util.stream.Collector)}. If it is available
     * as an {@link Iterable} or {@link Iterator}, prefer {@link Ordering#leastOf(Iterable, int)}.
     *
     * <p>This uses the same efficient implementation as {@link Ordering#leastOf(Iterable, int)},
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancerTest.java

            when(mockChannelManager.getHealthyChannels()).thenReturn(Arrays.asList(channel1, channel2));
    
            ChannelInfo selected = loadBalancer.selectChannel(largeRead);
            // Should prefer higher bandwidth channel for large transfers
            assertEquals(channel2, selected);
        }
    
        @Test
        void testAdaptiveStrategyMetadataOperation() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancer.java

            // Adaptive strategy based on message type and size
    
            if (isLargeTransfer(message)) {
                // For large transfers, prefer high-bandwidth channels
                ChannelInfo maxBandwidthChannel = null;
                int maxBandwidth = 0;
                for (ChannelInfo channel : channels) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  6. docs/smb3-features/03-multi-channel-design.md

            // Score interface for selection (higher is better)
            int score = linkSpeed;  // Base score is link speed
            
            if (rssCapable) score += 1000;   // Prefer RSS-capable
            if (rdmaCapable) score += 2000;  // Prefer RDMA-capable
            if (!ipv6) score += 100;         // Slight preference for IPv4
            
            return score;
        }
        
        private boolean checkRSSCapability() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Suppliers.java

       * @param unit the unit that {@code duration} is expressed in
       * @throws IllegalArgumentException if {@code duration} is not positive
       * @since 2.0
       */
      @SuppressWarnings("GoodTime") // Prefer the Duration overload
      public static <T extends @Nullable Object> Supplier<T> memoizeWithExpiration(
          Supplier<T> delegate, long duration, TimeUnit unit) {
        checkNotNull(delegate);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java

         */
        public int getScore() {
            int score = linkSpeed; // Base score is link speed
    
            if (rssCapable)
                score += 1000; // Prefer RSS-capable
            if (rdmaCapable)
                score += 2000; // Prefer RDMA-capable
            // Note: No IPv4 preference bonus to keep base score equal to link speed
    
            return score;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Suppliers.java

       * @param unit the unit that {@code duration} is expressed in
       * @throws IllegalArgumentException if {@code duration} is not positive
       * @since 2.0
       */
      @SuppressWarnings("GoodTime") // Prefer the Duration overload
      public static <T extends @Nullable Object> Supplier<T> memoizeWithExpiration(
          Supplier<T> delegate, long duration, TimeUnit unit) {
        checkNotNull(delegate);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  10. docs/en/docs/how-to/graphql.md

    Depending on your use case, you might prefer to use a different library, but if you asked me, I would probably suggest you try **Strawberry**.
    
    Here's a small preview of how you could integrate Strawberry with FastAPI:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top