- Sort Score
- Num 10 results
- Language All
Results 491 - 500 of 1,540 for put (0.01 seconds)
-
docs/en/docs/tutorial/extra-models.md
If it was in a type annotation we could have used the vertical bar, as: ```Python some_variable: PlaneItem | CarItem ``` But if we put that in the assignment `response_model=PlaneItem | CarItem` we would get an error, because Python would try to perform an **invalid operation** between `PlaneItem` and `CarItem` instead of interpreting that as a type annotation.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 6.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Sep 24 22:52:18 GMT 2025 - 28.6K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/LocalCache.java
@Override public @Nullable V put(K key, V value) { checkNotNull(key); checkNotNull(value); int hash = hash(key); return segmentFor(hash).put(key, hash, value, false); } @Override public @Nullable V putIfAbsent(K key, V value) { checkNotNull(key); checkNotNull(value); int hash = hash(key); return segmentFor(hash).put(key, hash, value, true); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 143.5K bytes - Click Count (0) -
futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java
* * (We could consider releasing a listenablefuture:1.0.1 someday. But we would want to look into how * that affects users, especially users of the Android Gradle Plugin, since the plugin developers * put in a special hack for us: https://issuetracker.google.com/issues/131431257) */ @DoNotMock("Use the methods in Futures (like immediateFuture) or SettableFuture") @NullMarkedCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 8K bytes - Click Count (0) -
cmd/benchmark-utils_test.go
// uses *testing.B and the object Layer to run the benchmark. runPutObjectBenchmark(b, objLayer, objSize) } // creates Erasure/FS backend setup, obtains the object layer and runs parallel benchmark for put object. func benchmarkPutObjectParallel(b *testing.B, instanceType string, objSize int) { // create a temp Erasure/FS backend. ctx, cancel := context.WithCancel(b.Context()) defer cancel()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 8.1K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/cors.md
* 匯入 `CORSMiddleware`。 * 建立允許的來源清單(字串)。 * 將它加入到你的 **FastAPI** 應用程式做為「中介軟體(middleware)」。 你也可以指定你的後端是否允許: * 憑證(credentials,例如 Authorization 標頭、Cookie 等)。 * 特定的 HTTP 方法(如 `POST`、`PUT`),或使用萬用字元 `"*"` 表示全部。 * 特定的 HTTP 標頭,或使用萬用字元 `"*"` 表示全部。 {* ../../docs_src/cors/tutorial001_py310.py hl[2,6:11,13:19] *} `CORSMiddleware` 的實作在預設參數上相當嚴格,因此你需要明確啟用特定的來源、方法或標頭,瀏覽器才會允許在跨網域情境中使用它們。 支援以下參數:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 5K bytes - Click Count (0) -
internal/bucket/lifecycle/lifecycle_test.go
Name: "obj-1", }, hasRules: false, }, { // PUT version with no matching tags lc: Lifecycle{ Rules: []Rule{ rules[0], }, }, opts: ObjectOpts{ IsLatest: true, Name: "obj-1", Size: 1 * humanize.MiByte, }, hasRules: false, }, { // PUT version with matching tags lc: Lifecycle{ Rules: []Rule{Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 55.5K bytes - Click Count (0) -
docs/en/docs/advanced/additional-responses.md
Keep in mind that you have to return the `JSONResponse` directly. /// /// info The `model` key is not part of OpenAPI. **FastAPI** will take the Pydantic model from there, generate the JSON Schema, and put it in the correct place. The correct place is: * In the key `content`, that has as value another JSON object (`dict`) that contains:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 8.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/DocumentHelperTest.java
DocumentHelper documentHelper = new DocumentHelper(); ResponseData responseData = new ResponseData(); Map<String, Object> dataMap = new HashMap<>(); responseData.getMetaDataMap().put(TikaExtractor.class.getSimpleName(), new TikaExtractor()); String content = " Test Content "; assertEquals("Test Content", documentHelper.getContent(null, responseData, content, dataMap)); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 13.2K bytes - Click Count (0) -
docs/en/docs/tutorial/bigger-applications.md
# Bigger Applications - Multiple Files { #bigger-applications-multiple-files } If you are building an application or a web API, it's rarely the case that you can put everything in a single file. **FastAPI** provides a convenience tool to structure your application while keeping all the flexibility. /// info If you come from Flask, this would be the equivalent of Flask's Blueprints. /// ## An example file structure { #an-example-file-structure }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 07 09:29:03 GMT 2026 - 19.2K bytes - Click Count (0)