- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 313 for 14 (0.02 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt
} @Test fun truncatedMetadataEntry() { val response = testCorruptingCache { corruptMetadata { // truncate metadata to 1/4 of length it.substring(0, it.length / 4) } } assertThat(response.body.string()).isEqualTo("ABC.2") // not cached assertThat(cache.requestCount()).isEqualTo(2)
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 6K bytes - Click Count (0) -
docs/uk/docs/tutorial/background-tasks.md
## Додавання фонової задачі Усередині Вашої *функції обробки шляху*, передайте функцію задачі в об'єкт *background tasks*, використовуючи метод `.add_task()`: {* ../../docs_src/background_tasks/tutorial001.py hl[14] *} `.add_task()` приймає аргументи: * Функція задача, яка буде виконуватися у фоновому режимі (`write_notification`). Зверніть увагу, що передається обʼєкт без дужок.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 7.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ForwardingConcurrentMapTest.java
assertFalse(map.replace("foo", 2, 3)); assertFalse(map.replace("bar", 1, 2)); assertEquals(Integer.valueOf(1), map.get("foo")); assertFalse(map.containsKey("bar")); assertTrue(map.replace("foo", 1, 4)); assertEquals(Integer.valueOf(4), map.get("foo")); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 2.5K bytes - Click Count (0) -
docs/uk/docs/tutorial/handling-errors.md
Ймовірно, Вам не доведеться використовувати це безпосередньо у своєму коді. Але якщо Вам знадобиться це для складного сценарію, Ви можете додати власні заголовки: {* ../../docs_src/handling_errors/tutorial002.py hl[14] *} ## Встановлення власних обробників помилокCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 13.9K bytes - Click Count (0) -
build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/Cleanup.kt
import org.gradle.api.specs.Spec import org.gradle.kotlin.dsl.* import org.gradle.util.GradleVersion import java.io.File private val dirVersionPattern = "\\d+\\.\\d+(\\.\\d+)?(-\\w+)*(-\\d{14}[+-]\\d{4})?".toRegex() val logger = Logging.getLogger("gradlebuild.cleanup") /** * Removes state for versions that we're unlikely to ever need again, such as old snapshot versions. */Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Jun 28 08:29:28 GMT 2024 - 4.4K bytes - Click Count (0) -
tests/test_tutorial/test_request_files/test_tutorial001_02.py
with path.open("rb") as file: response = client.post("/files/", files={"file": file}) assert response.status_code == 200, response.text assert response.json() == {"file_size": 14} def test_post_upload_file(tmp_path: Path, client: TestClient): path = tmp_path / "test.txt" path.write_bytes(b"<file content>") with path.open("rb") as file:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 7.4K bytes - Click Count (0) -
docs/de/docs/tutorial/handling-errors.md
Aber falls Sie es für ein fortgeschrittenes Szenario benötigen, können Sie benutzerdefinierte Header hinzufügen: {* ../../docs_src/handling_errors/tutorial002_py39.py hl[14] *} ## Benutzerdefinierte Exceptionhandler installieren { #install-custom-exception-handlers }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 10.4K bytes - Click Count (0) -
tests/test_tutorial/test_request_forms_and_files/test_tutorial001.py
files={"file": filea, "fileb": ("testb.txt", fileb, "text/plain")}, ) assert response.status_code == 200, response.text assert response.json() == { "file_size": 14, "token": "foo", "fileb_content_type": "text/plain", } def test_openapi_schema(client: TestClient): response = client.get("/openapi.json")Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 7.3K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainTest.java
configuration1.addChild(jdkHome1); tm1.setConfiguration(configuration1); ToolchainModel tm2 = new ToolchainModel(); tm1.setType("jdk"); tm1.addProvide("version", "1.4"); tm1.addProvide("vendor", "sun"); Xpp3Dom configuration2 = new Xpp3Dom("configuration"); Xpp3Dom jdkHome2 = new Xpp3Dom("jdkHome"); jdkHome2.setValue("${env.JAVA_HOME}");
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 11 12:33:57 GMT 2025 - 4.9K bytes - Click Count (0) -
cmd/erasure-decode_test.go
{dataBlocks: 6, onDisks: 12, offDisks: 0, blocksize: int64(oneMiByte), data: oneMiByte, offset: oneMiByte, length: 0, algorithm: BLAKE2b512, shouldFail: false, shouldFailQuorum: false}, // 4 {dataBlocks: 7, onDisks: 14, offDisks: 0, blocksize: int64(oneMiByte), data: oneMiByte, offset: 3, length: 1024, algorithm: DefaultBitrotAlgorithm, shouldFail: false, shouldFailQuorum: false}, // 5Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 21K bytes - Click Count (0)