Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3281 - 3290 of 3,763 for int (0.01 sec)

  1. docs/zh/docs/tutorial/path-operation-configuration.md

    # 路径操作配置
    
    *路径操作装饰器*支持多种配置参数。
    
    /// warning | "警告"
    
    注意:以下参数应直接传递给**路径操作装饰器**,不能传递给*路径操作函数*。
    
    ///
    
    ## `status_code` 状态码
    
    `status_code` 用于定义*路径操作*响应中的 HTTP 状态码。
    
    可以直接传递 `int` 代码, 比如 `404`。
    
    如果记不住数字码的涵义,也可以用 `status` 的快捷常量:
    
    ```Python hl_lines="3  17"
    {!../../docs_src/path_operation_configuration/tutorial001.py!}
    ```
    
    状态码在响应中使用,并会被添加到 OpenAPI 概图。
    
    /// note | "技术细节"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/config/exentity/WebAuthentication.java

            }
            return null;
        }
    
        private AuthScope getAuthScope() {
            if (StringUtil.isBlank(getHostname())) {
                return AuthScope.ANY;
            }
    
            int p;
            if (getPort() == null) {
                p = AuthScope.ANY_PORT;
            } else {
                p = getPort();
            }
    
            String r = getAuthRealm();
            if (StringUtil.isBlank(r)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/query/StoredLtrQueryBuilder.java

                    && Objects.equals(storeName, other.storeName) && Objects.equals(params, other.params)
                    && Objects.equals(activeFeatures, other.activeFeatures);
        }
    
        @Override
        protected int doHashCode() {
            return Objects.hash(modelName, featureSetName, storeName, params, activeFeatures);
        }
    
        public String modelName() {
            return modelName;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/FakeRoutePlanner.kt

        return url.host == address.url.host && url.port == address.url.port
      }
    
      override fun close() {
        factory.close()
      }
    
      inner class FakePlan(
        val id: Int,
      ) : RoutePlanner.Plan {
        var planningThrowable: Throwable? = null
        var canceled = false
        var connectState = ConnectState.READY
        val connection =
          factory.newConnection(
            pool = pool,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 24 04:40:49 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/graph/MapIteratorCache.java

                cacheEntry = entry;
                return entry.getKey();
              }
            };
          }
    
          @Override
          public int size() {
            return backingMap.size();
          }
    
          @Override
          public boolean contains(@CheckForNull Object key) {
            return containsKey(key);
          }
        };
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 4.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java

       *
       * @param priority the priority for new Threads created with this ThreadFactory
       * @return this for the builder pattern
       */
      @CanIgnoreReturnValue
      public ThreadFactoryBuilder setPriority(int priority) {
        // Thread#setPriority() already checks for validity. These error messages
        // are nicer though and will fail-fast.
        checkArgument(
            priority >= Thread.MIN_PRIORITY,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 14 22:50:54 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/AbstractArtifactResolutionException.java

            if (path != null) {
                sb.append(LS);
                sb.append(indentation);
                sb.append("Path to dependency: ");
                sb.append(LS);
                int num = 1;
                for (Iterator<String> i = path.iterator(); i.hasNext(); num++) {
                    sb.append(indentation);
                    sb.append('\t');
                    sb.append(num);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  8. cmd/metacache-bucket.go

    			if _, ok := remove[id]; ok {
    				continue
    			}
    			remainCaches = append(remainCaches, cache)
    		}
    		if len(remainCaches) > metacacheMaxEntries {
    			// Sort oldest last...
    			sort.Slice(remainCaches, func(i, j int) bool {
    				return remainCaches[i].lastHandout.Before(remainCaches[j].lastHandout)
    			})
    			// Keep first metacacheMaxEntries...
    			for _, cache := range remainCaches[metacacheMaxEntries:] {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractConditionQuery.java

            return null;
        }
    
        @Override
        public SqlClause xgetSqlClause() {
            return null;
        }
    
        @Override
        public int xgetNestLevel() {
            return 0;
        }
    
        @Override
        public int xgetNextNestLevel() {
            return 0;
        }
    
        @Override
        public boolean isBaseQuery() {
            return false;
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractConditionQuery.java

            return null;
        }
    
        @Override
        public SqlClause xgetSqlClause() {
            return null;
        }
    
        @Override
        public int xgetNestLevel() {
            return 0;
        }
    
        @Override
        public int xgetNextNestLevel() {
            return 0;
        }
    
        @Override
        public boolean isBaseQuery() {
            return false;
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.1K bytes
    - Viewed (0)
Back to top