- Sort Score
- Num 10 results
- Language All
Results 751 - 760 of 1,558 for putA (0.02 seconds)
-
docs/zh/docs/index.md
--- 回到之前的代码示例,**FastAPI** 将会: * 校验 `GET` 和 `PUT` 请求的路径中是否包含 `item_id`。 * 校验 `GET` 和 `PUT` 请求中的 `item_id` 是否为 `int` 类型。 * 如果不是,客户端会看到清晰有用的错误信息。 * 对于 `GET` 请求,检查是否存在名为 `q` 的可选查询参数(如 `http://127.0.0.1:8000/items/foo?q=somequery`)。 * 因为参数 `q` 被声明为 `= None`,所以它是可选的。 * 如果没有 `None`,它就是必需的(就像 `PUT` 情况下的请求体)。 * 对于发送到 `/items/{item_id}` 的 `PUT` 请求,把请求体作为 JSON 读取: * 检查是否存在必需属性 `name`,且为 `str`。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 20.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/DocMap.java
* @return the previous value associated with key, or null if no mapping existed */ @Override public Object put(final String key, final Object value) { return parent.put(key, value); } /** * Removes the mapping for a key from this map if it is present. * * @param key the key whose mapping is to be removed from the mapCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 5.7K bytes - Click Count (0) -
src/main/java/org/codelibs/core/net/URLUtil.java
} /** Map for normalizing protocols */ protected static final Map<String, String> CANONICAL_PROTOCOLS = newHashMap(); static { CANONICAL_PROTOCOLS.put("wsjar", "jar"); // Proprietary protocol used by WebSphere for jar files CANONICAL_PROTOCOLS.put("vfsfile", "file"); // Proprietary protocol used by JBossAS5 for file system } /** * Opens a URL and returns an {@link InputStream}. *Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 6.8K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java
final Lock acquiredAggregatorLock; final OwnerReentrantLock acquiredProjectLock; ProjectLock(MavenSession session, MojoDescriptor mojoDescriptor) { mojos.put(Thread.currentThread(), mojoDescriptor); boolean aggregator = mojoDescriptor.isAggregator(); acquiredAggregatorLock = aggregator ? aggregatorLock.writeLock() : aggregatorLock.readLock();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Jun 12 14:55:55 GMT 2025 - 21K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java
Object value = new Object(); result.put(key, value); } result.put(extraKey, extraValue); result.put(extraValue, null); return result; } }; LoadingCache<Object, Object> cache = CacheBuilder.newBuilder().build(loader); cache.asMap().put(extraKey, extraKey);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 91K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java
if (!repos.containsKey(repo.getId())) { repos.put(repo.getId(), repo); } } for (ArtifactRepository repo : pomRepositories) { if (!repos.containsKey(repo.getId())) { repos.put(repo.getId(), repo); } }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Sep 25 12:03:50 GMT 2025 - 30.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/job/impl/ScriptExecutor.java
public ScriptExecutor() { super(); } @Override public Object execute(final String scriptType, final String script) { final Map<String, Object> params = new HashMap<>(); params.put("executor", this); return ComponentUtil.getScriptEngineFactory().getScriptEngine(scriptType).evaluate(script, params); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/KeyMatchHelper.java
if (queryMap == null) { queryMap = new HashMap<>(); keyMatchQueryMap.put(virtualHost, queryMap); } final String termKey = toLowerCase(keyMatch.getTerm());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 10.1K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java
return delegate.pollFirstEntry(); } @Override public @Nullable Entry<K, V> pollLastEntry() { return delegate.pollLastEntry(); } @Override public @Nullable V put(K key, V value) { return delegate.put(checkValid(key), value); } @Override public void putAll(Map<? extends K, ? extends V> map) { for (K key : map.keySet()) { checkValid(key); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 7.4K bytes - Click Count (0) -
internal/handlers/forwarder.go
} return f } type bufPool struct { sz int pool bpool.Pool[*[]byte] } func (b *bufPool) Put(buf []byte) { if cap(buf) < b.sz || cap(buf) > b.sz*2 { // Buffer too small or will likely leak memory after being expanded. // Drop it. return } b.pool.Put(&buf) } func (b *bufPool) Get() []byte { bufp := b.pool.Get() if bufp == nil || cap(*bufp) < b.sz {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 5.7K bytes - Click Count (0)