- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 155 for 1011 (0.02 sec)
-
guava/src/com/google/common/math/PairedStatsAccumulator.java
if (value > 0.0) { return value; } else { return Double.MIN_VALUE; } } private static double ensureInUnitRange(double value) { return Doubles.constrainToRange(value, -1.0, 1.0); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 17:02:53 UTC 2023 - 10.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt
"custom-key", "custom-value", ), ) } @Test fun readSingleByteInt() { assertThat(newReader(byteStream()).readInt(10, 31)).isEqualTo(10) assertThat(newReader(byteStream()).readInt(0xe0 or 10, 31)).isEqualTo(10) } @Test fun readMultibyteInt() { assertThat(newReader(byteStream(154, 10)).readInt(31, 31)).isEqualTo(1337) } @Test
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 38.2K bytes - Viewed (0) -
.bazelrc
build:release_macos_x86 --config=avx_linux build:release_macos_x86 --cpu=darwin # Target Catalina as the minimum compatible OS version build:release_macos_x86 --macos_minimum_os=10.15 build:release_macos_x86 --action_env MACOSX_DEPLOYMENT_TARGET=10.15 # Build configs for macOS Arm64 build:release_macos_arm64 --config=release_macos_base build:release_macos_arm64 --cpu=darwin_arm64
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Mon Oct 28 22:02:31 UTC 2024 - 51.3K bytes - Viewed (0) -
src/archive/tar/reader_test.go
}, { input: makeInput(FormatGNU, "1234", makeSparseStrings(sparseDatas{{0, 0}, {1, 1}})...), wantMap: sparseDatas{{0, 0}, {1, 1}}, wantSize: 01234, }, { input: makeInput(FormatGNU, "1234", append(makeSparseStrings(sparseDatas{{0, 0}, {1, 1}}), []string{"", "blah"}...)...), wantMap: sparseDatas{{0, 0}, {1, 1}}, wantSize: 01234, }, { input: makeInput(FormatGNU, "3333",
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Oct 03 15:48:09 UTC 2024 - 46.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/tls/ClientAuthTest.kt
assertThat(response.handshake!!.localPrincipal).isNull() assertThat(response.body.string()).isEqualTo("abc") } @Flaky @RetryingTest(5) fun missingClientAuthFailsForNeeds() { // Fails with 11.0.1 https://github.com/square/okhttp/issues/4598 // StreamReset stream was reset: PROT... val client = buildClient(null, clientIntermediateCa.certificate) val socketFactory = buildServerSslSocketFactory()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Jan 14 10:20:09 UTC 2024 - 12.5K bytes - Viewed (0) -
fastapi/encoders.py
where a integer (but not int typed) is used. Encoding this as a float results in failed round-tripping between encode and parse. Our Id type is a prime example of this. >>> decimal_encoder(Decimal("1.0")) 1.0 >>> decimal_encoder(Decimal("1")) 1 """ if dec_value.as_tuple().exponent >= 0: # type: ignore[operator] return int(dec_value) else: return float(dec_value)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 21:56:59 UTC 2024 - 10.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/RangeMap.java
* (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 * for {@code asMapOfRanges().iterator().remove()}. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 7.7K bytes - Viewed (0) -
internal/lsync/lrwmutex_test.go
n = 5 } HammerRWMutex(1, 1, n) HammerRWMutex(1, 3, n) HammerRWMutex(1, 10, n) HammerRWMutex(4, 1, n) HammerRWMutex(4, 3, n) HammerRWMutex(4, 10, n) HammerRWMutex(10, 1, n) HammerRWMutex(10, 3, n) HammerRWMutex(10, 10, n) HammerRWMutex(10, 5, n) } // Borrowed from rwmutex_test.go func TestDRLocker(t *testing.T) { wl := NewLRWMutex() var rl sync.Locker wlocked := make(chan bool, 1)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Mar 05 04:57:35 UTC 2023 - 7.9K bytes - Viewed (0) -
docs/zh/docs/tutorial/request-files.md
//// tab | Python 3.9+ ```Python hl_lines="8 13" {!> ../../docs_src/request_files/tutorial002_py39.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="10 15" {!> ../../docs_src/request_files/tutorial002.py!} ``` //// 接收的也是含 `bytes` 或 `UploadFile` 的列表(`list`)。 /// note | "技术细节" 也可以使用 `from starlette.responses import HTMLResponse`。
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/ws/WebSocketReaderTest.kt
} @Test fun closeIncompleteCallsCallback() { data.write("880703e948656c6c6f".decodeHex()) // Close with code and reason data.close() clientReader.processNextFrame() callback.assertClosing(1001, "Hello") } @Test fun closeOutOfRangeThrows() { data.write("88020001".decodeHex()) // Close with code 1 assertFailsWith<ProtocolException> { clientReader.processNextFrame()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 14.4K bytes - Viewed (1)