- Sort Score
- Num 10 results
- Language All
Results 371 - 380 of 1,188 for PUT (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt
} // TODO report compiler bug TODO("Can't get here") } } override fun put(element: T) { taskRunner.withLock { delegate.put(element) editCount++ } } override fun iterator() = error("unsupported") override fun offer(e: T) = error("unsupported")Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed May 28 23:28:25 GMT 2025 - 11.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
for (int insertion = 0; insertion < totalInsertions; insertion++) { RandomHasherAction.pickAtRandom(random).performAction(random, sinksAndControl); } // We need to ensure that at least 4 bytes have been put into the hasher or else // Hasher#hash will throw an ISE. int intToPut = random.nextInt(); for (Hasher hasher : sinksAndControl) { hasher.putInt(intToPut); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 28 18:19:59 GMT 2025 - 8.6K bytes - Click Count (0) -
docs/en/docs/tutorial/path-params-numeric-validations.md
But you still need to use `Path` for the `item_id` path parameter. And you don't want to use `Annotated` for some reason. Python will complain if you put a value with a "default" before a value that doesn't have a "default". But you can re-order them, and have the value without a default (the query parameter `q`) first.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 6.1K bytes - Click Count (0) -
cmd/typed-errors.go
// errSignatureMismatch means signature did not match. var errSignatureMismatch = errors.New("Signature does not match") // When upload object size is greater than 5G in a single PUT/POST operation. var errDataTooLarge = errors.New("Object size larger than allowed limit") // When upload object size is less than what was expected. var errDataTooSmall = errors.New("Object size smaller than expected")
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 16 07:34:24 GMT 2025 - 5.9K bytes - Click Count (1) -
cmd/warm-backend-gcs.go
return "", gcsToObjectError(err, gcs.Bucket, key) } return "", w.Close() } // FIXME: add support for remote version ID in GCS remote tier and remove this. // Currently it's a no-op. func (gcs *warmBackendGCS) Put(ctx context.Context, key string, data io.Reader, length int64) (remoteVersionID, error) { return gcs.PutWithMeta(ctx, key, data, length, map[string]string{}) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 6.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/ClassPathTest.java
throws IOException { Manifest manifest = new Manifest(); // Without version, the manifest is silently ignored. Ugh! manifest.getMainAttributes().put(Attributes.Name.MANIFEST_VERSION, "1.0"); manifest.getMainAttributes().put(Attributes.Name.CLASS_PATH, jarFile.getName()); Closer closer = Closer.create(); try { FileOutputStream fileOut = closer.register(new FileOutputStream(jarFile));Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 23.1K bytes - Click Count (0) -
cmd/bitrot-streaming.go
// Hence an immediate Read() on the file can return incorrect data. if b.canClose != nil { b.canClose.Wait() } // Recycle the buffer. if b.byteBuf != nil { globalBytePoolCap.Load().Put(b.byteBuf) b.byteBuf = nil } return err } // newStreamingBitrotWriterBuffer returns streaming bitrot writer implementation. // The output is written to the supplied writer w.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Jan 17 19:19:30 GMT 2025 - 6.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/StatsTest.java
byte[] buffer = MANY_VALUES_STATS_VARARGS.toByteArray(); byte[] tooLongByteArray = ByteBuffer.allocate(buffer.length + 2) .order(ByteOrder.LITTLE_ENDIAN) .put(buffer) .putChar('.') .array(); assertThrows(IllegalArgumentException.class, () -> Stats.fromByteArray(tooLongByteArray)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 33.4K bytes - Click Count (0) -
docs/zh/docs/tutorial/cors.md
你可以在 **FastAPI** 应用中使用 `CORSMiddleware` 来配置它。 * 导入 `CORSMiddleware`。 * 创建一个允许的源列表(由字符串组成)。 * 将其作为「中间件」添加到你的 **FastAPI** 应用中。 你也可以指定后端是否允许: * 凭证(Authorization 请求头、Cookies 等)。 * 特定的 HTTP 方法(`POST`,`PUT`)或者使用通配符 `"*"` 允许所有方法。 * 特定的 HTTP 请求头或者使用通配符 `"*"` 允许所有请求头。 {* ../../docs_src/cors/tutorial001_py310.py hl[2,6:11,13:19] *} 默认情况下,这个 `CORSMiddleware` 实现所使用的默认参数较为保守,所以你需要显式地启用特定的源、方法或者 headers,以便浏览器能够在跨域上下文中使用它们。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 4.9K bytes - Click Count (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java
public void activateBatchMode(boolean ciEnv, String[] cliArgs, boolean isBatchMode) throws Exception { CliRequest request = new CliRequest(cliArgs, null); if (ciEnv) { request.getSystemProperties().put("env.CI", "true"); } cli.cli(request); boolean batchMode = !cli.populateRequest(request).isInteractiveMode(); assertEquals(isBatchMode, batchMode); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 30.9K bytes - Click Count (0)