- Sort Score
- Result 10 results
- Languages All
Results 1601 - 1610 of 3,407 for rint (0.13 sec)
-
guava/src/com/google/common/collect/FilteredKeyMultimap.java
return unfiltered; } @Override public Predicate<? super Entry<K, V>> entryPredicate() { return Maps.keyPredicateOnEntries(keyPredicate); } @Override public int size() { int size = 0; for (Collection<V> collection : asMap().values()) { size += collection.size(); } return size; } @Override public boolean containsKey(@Nullable Object key) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 6.2K bytes - Viewed (0) -
docs_src/body_multiple_params/tutorial004_py39.py
class User(BaseModel): username: str full_name: Union[str, None] = None @app.put("/items/{item_id}") async def update_item( *, item_id: int, item: Item, user: User, importance: int = Body(gt=0), q: Union[str, None] = None, ): results = {"item_id": item_id, "item": item, "user": user, "importance": importance} if q: results.update({"q": q})
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 653 bytes - Viewed (0) -
docs/uk/docs/tutorial/body-nested-models.md
Це буде корисно, якщо Ви хочете приймати ключі, які заздалегідь невідомі. --- Це також зручно, якщо Ви хочете мати ключі іншого типу (наприклад, `int`). Ось що ми розглянемо далі. У цьому випадку Ви можете приймати будь-який `dict`, якщо його ключі — це `int`, а значення — `float`: {* ../../docs_src/body_nested_models/tutorial009_py39.py hl[7] *} /// tip | ПорадаRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Feb 28 14:18:01 UTC 2025 - 10.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSourceTest.java
for (CharSource in : BROKEN_SOURCES) { int suppressed = runSuppressionFailureTest(in, newNormalCharSink()); assertEquals(0, suppressed); suppressed = runSuppressionFailureTest(in, BROKEN_CLOSE_SINK); assertEquals((in == BROKEN_OPEN_SOURCE) ? 0 : 1, suppressed); } for (CharSink out : BROKEN_SINKS) { int suppressed = runSuppressionFailureTest(newNormalCharSource(), out);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 11.5K bytes - Viewed (0) -
cmd/data-scanner-metric.go
} } } // time n scanner actions. // Use for s < scannerMetricLastRealtime func (p *scannerMetrics) timeN(s scannerMetric) func(n int) { startTime := time.Now() return func(n int) { duration := time.Since(startTime) atomic.AddUint64(&p.operations[s], uint64(n)) if s < scannerMetricLastRealtime { p.latency[s].add(duration) } } }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Oct 01 06:06:01 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java
cos.write(new byte[9]); assertTrue(cos.isInMemory()); cos.close(); } @Test public void testWriteWithOffsetAndLength() throws IOException { // Test write(byte[], int, int) method ContentOutputStream cos = new ContentOutputStream(10, Curl.tmpDir); byte[] data = new byte[] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }; cos.write(data, 2, 3); // Write bytes at index 2, 3, 4
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Wed Nov 12 14:01:04 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/ClSQLException.java
* @param sqlState * SQL state * @param vendorCode * Vendor code */ public ClSQLException(final String messageCode, final Object[] args, final String sqlState, final int vendorCode) { this(messageCode, args, sqlState, vendorCode, null, null); } /** * Creates a {@link ClSQLException}. * * @param messageCode * Message codeRegistered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/util/ByteEncodableTest.java
// Test basic encoding byte[] data = { 0x01, 0x02, 0x03, 0x04, 0x05 }; ByteEncodable encodable = new ByteEncodable(data, 1, 3); byte[] dest = new byte[5]; int encodedLen = encodable.encode(dest, 0); // Verify encoded length assertEquals(3, encodedLen, "Encoded length should be equal to the specified length"); // Verify contentRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java
@ListFeature.Require(SUPPORTS_SET) public void testSet_replacingNull() { E[] elements = createSamplesArray(); int i = aValidIndex(); elements[i] = null; collection = getSubjectGenerator().create(elements); doTestSet(e3()); } private void doTestSet(E newValue) { int index = aValidIndex(); E initialValue = getList().get(index); assertEquals(
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStreamTest.java
byte[] buffer = new byte[5]; int bytesRead = stream.read(buffer); assertEquals(5, bytesRead); assertEquals("Hello", new String(buffer)); } public void test_readBytesWithOffset_delegatesToUnderlying() throws IOException { // Test that read(byte[], int, int) delegates to underlying stream byte[] data = "0123456789".getBytes();Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 6.6K bytes - Viewed (0)