- Sort Score
- Num 10 results
- Language All
Results 2031 - 2040 of 4,189 for inst (0.02 seconds)
-
android/guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java
return; } int oldSize = map.size(); if (map.size() < 2 || !supportsClear) { return; } Iterator<Entry<K, V>> iterator = map.entrySet().iterator(); iterator.next(); // advance Entry<K, V> secondEntry = iterator.next(); K key = secondEntry.getKey(); SortedMap<K, V> subMap = map.tailMap(key); int subMapSize = subMap.size(); subMap.clear();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Oct 17 20:00:30 GMT 2024 - 3.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java
return; } int oldSize = map.size(); if (map.size() < 2 || !supportsClear) { return; } Iterator<Entry<K, V>> iterator = map.entrySet().iterator(); iterator.next(); // advance Entry<K, V> secondEntry = iterator.next(); K key = secondEntry.getKey(); SortedMap<K, V> subMap = map.tailMap(key); int subMapSize = subMap.size(); subMap.clear();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Oct 17 20:00:30 GMT 2024 - 3.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/CacheRefreshTest.java
.refreshAfterWrite(3, MILLISECONDS) .expireAfterWrite(6, MILLISECONDS) .lenientParsing() .ticker(ticker) .build(loader); int expectedLoads = 0; int expectedReloads = 0; for (int i = 0; i < 3; i++) { assertThat(cache.getUnchecked(i)).isEqualTo(i); expectedLoads++; assertThat(loader.getLoadCount()).isEqualTo(expectedLoads);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 4K bytes - Click Count (0) -
schema/serializer_test.go
uint64PtrValue = &uint64Value maxInt64Plus1Ptr = &maxInt64Plus1 ) tests := []struct { name string value interface{} want interface{} wantErr bool }{ { name: "int", value: intValue, want: time.Unix(int64(intValue), 0).UTC(), wantErr: false, }, { name: "int8", value: int8Value, want: time.Unix(int64(int8Value), 0).UTC(),Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sun Oct 26 12:29:44 GMT 2025 - 4.8K bytes - Click Count (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(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/AbstractIteratorTest.java
} } }; assertTrue(iter.hasNext()); assertEquals(0, (int) iter.next()); // verify idempotence of hasNext() assertTrue(iter.hasNext()); assertTrue(iter.hasNext()); assertTrue(iter.hasNext()); assertEquals(1, (int) iter.next()); assertFalse(iter.hasNext()); // Make sure computeNext() doesn't get invoked againCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 5.7K bytes - Click Count (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 codeCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Jul 05 00:11:05 GMT 2025 - 5.4K bytes - Click Count (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 contentCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.5K bytes - Click Count (0) -
.teamcity/src/main/kotlin/projects/FunctionalTestProject.kt
this.id(testCoverage.asId(model)) this.name = testCoverage.asName() }) { val functionalTests: List<BaseGradleBuildType> = functionalTestBucketProvider.createFunctionalTestsFor(stage, testCoverage) init { functionalTests.forEach(this::buildType) }
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Feb 12 09:12:03 GMT 2025 - 876 bytes - Click Count (0) -
docs_src/dependencies/tutorial002_an_py310.py
app = FastAPI() fake_items_db = [{"item_name": "Foo"}, {"item_name": "Bar"}, {"item_name": "Baz"}] class CommonQueryParams: def __init__(self, q: str | None = None, skip: int = 0, limit: int = 100): self.q = q self.skip = skip self.limit = limit @app.get("/items/") async def read_items(commons: Annotated[CommonQueryParams, Depends(CommonQueryParams)]): response = {}
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 664 bytes - Click Count (0)