- Sort Score
- Result 10 results
- Languages All
Results 4021 - 4030 of 5,353 for Return (0.03 sec)
-
guava-testlib/test/com/google/common/testing/FakeTickerTest.java
public @Nullable Void call() throws Exception { // adds two nanoseconds to the ticker ticker.advance(1L); Thread.sleep(10); ticker.advance(1L); return null; } }); assertEquals(numberOfThreads * 2, ticker.read()); } @GwtIncompatible // concurrency public void testConcurrentAutoIncrementStep() throws Exception {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/AbstractCacheTest.java
Cache<Object, Object> cache = new AbstractCache<Object, Object>() { @Override public @Nullable Object getIfPresent(Object key) { return valueRef.get(); } }; assertNull(cache.getIfPresent(new Object())); Object newValue = new Object(); valueRef.set(newValue);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableEnumMapTest.java
Map<AnEnum, String> map = new HashMap<>(); for (Entry<AnEnum, String> entry : entries) { map.put(entry.getKey(), entry.getValue()); } return Maps.immutableEnumMap(map); } } @J2ktIncompatible @GwtIncompatible // suite @AndroidIncompatible // test-suite builders public static Test suite() { TestSuite suite = new TestSuite();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/netbios/Lmhosts.java
* throw on a regular basis here. * * @param host the hostname to resolve * @param tc the CIFS context * @return resolved name, null if not found */ public synchronized NbtAddress getByName(final String host, final CIFSContext tc) { return getByName(new Name(tc.getConfig(), host, 0x20, null), tc); } synchronized NbtAddress getByName(final Name name, final CIFSContext tc) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.3K bytes - Viewed (0) -
schema/naming_test.go
} func (r CustomReplacer) Replace(name string) string { return r.f(name) } func TestCustomReplacer(t *testing.T) { ns := NamingStrategy{ TablePrefix: "public.", SingularTable: true, NameReplacer: CustomReplacer{ func(name string) string { replaced := "REPLACED_" + strings.ToUpper(name) return strings.NewReplacer("CID", "_Cid").Replace(replaced) }, },
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue May 30 02:00:48 UTC 2023 - 7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
MapMakerInternalMap<K, V, ? extends InternalEntry<K, V, ?>, ? extends Segment<K, V, ?, ?>> makeMap(MapMaker maker) { return MapMakerInternalMap.create(maker); } private static MapMaker createMapMaker() { MapMaker maker = new MapMaker(); maker.useCustomMap = true; return maker; } // constructor tests public void testDefaults() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 35.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
MapMakerInternalMap<K, V, ? extends InternalEntry<K, V, ?>, ? extends Segment<K, V, ?, ?>> makeMap(MapMaker maker) { return MapMakerInternalMap.create(maker); } private static MapMaker createMapMaker() { MapMaker maker = new MapMaker(); maker.useCustomMap = true; return maker; } // constructor tests public void testDefaults() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 35.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/DataStoreTest.java
} @Override public long getDocumentSize() { return documentCount.get(); } @Override public long getExecuteTime() { executeTime.set(System.currentTimeMillis() - startTime); return executeTime.get(); } @Override public void commit() { committed.set(true);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ListenableFuture.java
* with the methods in {@link Futures} or, if necessary, to extend {@link AbstractFuture}. * * <p>Occasionally, an API will return a plain {@code Future} and it will be impossible to change * the return type. For this case, we provide a more expensive workaround in {@code * JdkFutureAdapters}. However, when possible, it is more efficient and reliable to create a {@code
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 8K bytes - Viewed (0) -
api/maven-api-cli/src/main/mdo/core-extensions.mdo
<code> <![CDATA[ /** * Gets the identifier of the extension. * * @return The extension id in the form {@code <groupId>:<artifactId>:<version>}, never {@code null}. */ public String getId() { return (getGroupId() == null ? "[unknown-group-id]" : getGroupId()) + ":" + (getArtifactId() == null ? "[unknown-artifact-id]" : getArtifactId())
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sun May 18 09:15:56 UTC 2025 - 4.4K bytes - Viewed (0)