- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 157 for BAZ (0.05 sec)
-
tests/test_additional_properties_bool.py
@app.post("/") async def post( foo: Union[Foo, None] = None, ): return foo client = TestClient(app) def test_call_invalid(): response = client.post("/", json={"foo": {"bar": "baz"}}) assert response.status_code == 422 def test_call_valid(): response = client.post("/", json={}) assert response.status_code == 200 assert response.json() == {}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 4.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/tls/HostnameVerifierTest.kt
""".trimIndent(), ) assertThat(verifier.verify("foo.com", session)).isFalse() assertThat(verifier.verify("bar.com", session)).isTrue() assertThat(verifier.verify("a.baz.com", session)).isTrue() assertThat(verifier.verify("baz.com", session)).isFalse() assertThat(verifier.verify("a.foo.com", session)).isFalse() assertThat(verifier.verify("a.bar.com", session)).isFalse()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 40.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/RangeMap.java
* * <p>For example, if {@code rangeMap} had the entries {@code [1, 5] => "foo", (6, 8) => "bar", * (10, ∞) => "baz"} then {@code rangeMap.subRangeMap(Range.open(3, 12))} would return a range map * with the entries {@code (3, 5] => "foo", (6, 8) => "bar", (10, 12) => "baz"}. * * <p>The returned range map supports all optional operations that this range map supports, except
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 7.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/MultipartBodyTest.kt
MultipartBody.Builder() .addPart(headersOf("Foo", "Bar"), "Baz".toRequestBody(null)) .build() assertThat(body.parts.size).isEqualTo(1) val part1Buffer = Buffer() val part1 = body.part(0) part1.body.writeTo(part1Buffer) assertThat(part1.headers).isEqualTo(headersOf("Foo", "Bar")) assertThat(part1Buffer.readUtf8()).isEqualTo("Baz") } @Test fun nonAsciiFilename() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HttpUrlTest.kt
assertThat(url.queryParameterValues("baz")).isEqualTo(listOf(null as String?)) } @Test fun queryParametersWithEmptyValues() { val url = parse("http://host/?foo=&bar=&baz=") assertThat(url.querySize).isEqualTo(3) assertThat(url.queryParameterNames).containsExactlyInAnyOrder("foo", "bar", "baz") assertThat(url.queryParameterValue(0)).isEqualTo("")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 67.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt
@Test fun readPaddedHeadersFrame() { val paddingLength = 254 val padding = ByteArray(paddingLength) Arrays.fill(padding, 0.toByte()) val headerBlock = literalHeaders(headerEntries("foo", "barrr", "baz", "qux")) writeMedium(frame, headerBlock.size.toInt() + paddingLength + 1) frame.writeByte(Http2.TYPE_HEADERS) frame.writeByte(FLAG_END_HEADERS or FLAG_PADDED) frame.writeInt(expectedStreamId and 0x7fffffff)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 28.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicsTest.java
assertThrows(NegativeArraySizeException.class, () -> Atomics.newReferenceArray(-1)); } public void testNewReferenceArray_withStringArray() throws Exception { String[] array = {"foo", "bar", "baz"}; AtomicReferenceArray<String> refArray = Atomics.newReferenceArray(array); for (int i = 0; i < array.length; ++i) { assertEquals(array[i], refArray.get(i)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 2.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/ClassLoaderUtilTest.java
final ClassLoader cl2 = new URLClassLoader(new URL[] { new URL("file:/bar") }, cl1); final ClassLoader cl3 = new URLClassLoader(new URL[] { new URL("file:/baz") }, cl2); assertThat(ClassLoaderUtil.isAncestor(cl3, cl2), is(true)); assertThat(ClassLoaderUtil.isAncestor(cl3, cl1), is(true)); assertThat(ClassLoaderUtil.isAncestor(cl2, cl1), is(true));
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3K bytes - Viewed (0) -
docs/zh/docs/tutorial/body-nested-models.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.2K bytes - Viewed (0) -
tests/test_tutorial/test_schema_extra_example/test_tutorial005_an.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Aug 26 18:03:13 UTC 2023 - 6.7K bytes - Viewed (0)