Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2701 - 2710 of 2,992 for DEFAULT (0.21 seconds)

  1. src/main/java/jcifs/smb/SmbSessionImpl.java

                        }
                        setSessionSetup(response);
                        state = 0;
                        break;
                    }
                    break;
                default:
                    throw new SmbException("Unexpected session setup state: " + state);
    
                }
            } while (state != 0);
        }
    
        @SuppressWarnings("deprecation")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 68.9K bytes
    - Click Count (0)
  2. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

            @Override
            public boolean isSatisfied() {
              return !q.isEmpty();
            }
          };
    
      /**
       * Creates a {@code MonitorBasedPriorityBlockingQueue} with the default initial capacity (11) that
       * orders its elements according to their {@linkplain Comparable natural ordering}.
       */
      public MonitorBasedPriorityBlockingQueue() {
        q = new PriorityQueue<E>();
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 19K bytes
    - Click Count (0)
  3. guava/src/com/google/common/base/Joiner.java

          }
    
          @Override
          public @Nullable Object get(int index) {
            switch (index) {
              case 0:
                return first;
              case 1:
                return second;
              default:
                return rest[index - 2];
            }
          }
        };
      }
    
      // cloned from ImmutableCollection
      private static int expandedCapacity(int oldCapacity, int minCapacity) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 15:16:19 GMT 2025
    - 21K bytes
    - Click Count (0)
  4. internal/lru/lru.go

    // Close destroys cleanup goroutine. To clean up the cache, run Purge() before Close().
    // func (c *LRU[K, V]) Close() {
    //	c.mu.Lock()
    //	defer c.mu.Unlock()
    //	select {
    //	case <-c.done:
    //		return
    //	default:
    //	}
    //	close(c.done)
    // }
    
    // removeOldest removes the oldest item from the cache. Has to be called with lock!
    func (c *LRU[K, V]) removeOldest() {
    	if ent := c.evictList.Back(); ent != nil {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

       *
       * @return an empty collection of values
       */
      abstract Collection<V> createCollection();
    
      /**
       * Creates the collection of values for an explicitly provided key. By default, it simply calls
       * {@link #createCollection()}, which is the correct behavior for most implementations. The {@link
       * LinkedHashMultimap} class overrides it.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Aug 12 15:51:57 GMT 2025
    - 46.9K bytes
    - Click Count (0)
  6. docs/zh-hant/docs/advanced/custom-response.md

    有了回應模型,FastAPI 會使用 Pydantic 直接將資料序列化為 JSON,而不需要像其他情況那樣先經過 `jsonable_encoder` 之類的中介步驟。
    
    而且在底層,Pydantic 用來序列化為 JSON 的 Rust 機制和 `orjson` 相同,因此用回應模型已經能獲得最佳效能。
    
    ## 預設回應類別 { #default-response-class }
    
    在建立 **FastAPI** 類別實例或 `APIRouter` 時,你可以指定預設要使用哪個回應類別。
    
    用來設定的是 `default_response_class` 參數。
    
    在下面的例子中,**FastAPI** 會在所有「路徑操作」中預設使用 `HTMLResponse`,而不是 JSON。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  7. cmd/api-errors.go

    		Description:    "Invalid keyId",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrKMSDefaultKeyAlreadyConfigured: {
    		Code:           "KMS.DefaultKeyAlreadyConfiguredException",
    		Description:    "A default encryption already exists and cannot be changed on KMS",
    		HTTPStatusCode: http.StatusConflict,
    	},
    	ErrNoAccessKey: {
    		Code:           "AccessDenied",
    		Description:    "No AWSAccessKey was presented",
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 16 07:34:24 GMT 2025
    - 93K bytes
    - Click Count (3)
  8. android/guava/src/com/google/common/net/MediaType.java

     * Content-Type} header and as such has no support for header-specific considerations such as line
     * folding and comments.
     *
     * <p>For media types that take a charset the predefined constants default to UTF-8 and have a
     * "_UTF_8" suffix. To get a version without a character set, use {@link #withoutParameters}.
     *
     * @since 12.0
     * @author Gregory Kick
     */
    @GwtCompatible
    @Immutable
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 02 01:46:40 GMT 2025
    - 48K bytes
    - Click Count (0)
  9. docs/smb3-features/05-rdma-smb-direct-design.md

        FAST_REGISTRATION   // Fast memory region registration
    }
    
    public class RdmaCapabilities {
        // RDMA transform capabilities
        public static final int SMB_DIRECT_RESPONSE_REQUESTED = 0x00000001;
        
        // Default RDMA settings
        public static final int DEFAULT_RDMA_READ_WRITE_SIZE = 1048576;  // 1MB
        public static final int DEFAULT_RECEIVE_CREDIT_MAX = 255;
        public static final int DEFAULT_SEND_CREDIT_TARGET = 32;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 35.9K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

            assertViolations(result, 0, 4, 0);
    
            assertContains(result.getErrors().get(0), "duplicate execution with id a");
            assertContains(result.getErrors().get(1), "duplicate execution with id default");
            assertContains(result.getErrors().get(2), "duplicate execution with id c");
            assertContains(result.getErrors().get(3), "duplicate execution with id b");
        }
    
        @Test
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 33.9K bytes
    - Click Count (0)
Back to Top