- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 193 for intern (0.04 seconds)
-
guava/src/com/google/common/collect/Interners.java
* Returns a function that delegates to the {@link Interner#intern} method of the given interner. * * @since 8.0 */ public static <E> Function<E, E> asFunction(Interner<E> interner) { return new InternerFunction<>(checkNotNull(interner)); } private static final class InternerFunction<E> implements Function<E, E> { private final Interner<E> interner; InternerFunction(Interner<E> interner) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Interners.java
* Returns a function that delegates to the {@link Interner#intern} method of the given interner. * * @since 8.0 */ public static <E> Function<E, E> asFunction(Interner<E> interner) { return new InternerFunction<>(checkNotNull(interner)); } private static final class InternerFunction<E> implements Function<E, E> { private final Interner<E> interner; InternerFunction(Interner<E> interner) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/InternersTest.java
assertThat(pool.intern(canonical)).isSameInstanceAs(canonical); assertThat(pool.intern(not)).isSameInstanceAs(canonical); } public void testWeak_null() { Interner<String> pool = Interners.newWeakInterner(); assertThrows(NullPointerException.class, () -> pool.intern(null)); } public void testWeak_builder() { int concurrencyLevel = 42; Interner<Object> interner =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 4.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/InternersTest.java
assertThat(pool.intern(canonical)).isSameInstanceAs(canonical); assertThat(pool.intern(not)).isSameInstanceAs(canonical); } public void testWeak_null() { Interner<String> pool = Interners.newWeakInterner(); assertThrows(NullPointerException.class, () -> pool.intern(null)); } public void testWeak_builder() { int concurrencyLevel = 42; Interner<Object> interner =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 4.5K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/internal.kt
import okhttp3.OkHttpClient import okhttp3.Request import okhttp3.Response import okhttp3.internal.concurrent.TaskRunner import okhttp3.internal.connection.ConnectionListener import okhttp3.internal.connection.RealConnection // Exposes Kotlin-internal APIs to Java test code and code in other modules. internal fun parseCookie( currentTimeMillis: Long, url: HttpUrl, setCookie: String,
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 3.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/llm/ChatIntent.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 01 08:11:18 GMT 2026 - 1.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/auth/AuthenticationManagerTest.java
assertNotNull(manager); } // Test insert with no chains @Test public void test_insert_noChains() { User user = createTestUser("testuser"); authenticationManager.insert(user); // Should not throw exception even with no chains } // Test insert with single chain @Test public void test_insert_singleChain() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 14.3K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Monitor.java
public boolean enter(Duration time) { return enter(toNanosSaturated(time), NANOSECONDS); } /** * Enters this monitor. Blocks at most the given time. * * @return whether the monitor was entered */ @SuppressWarnings("GoodTime") // should accept a java.time.Duration public boolean enter(long time, TimeUnit unit) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 28 22:39:02 GMT 2026 - 43.5K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java
* * <p>Note that you cannot always tell if an attempt to insert an element will succeed by * inspecting {@code remainingCapacity} because it may be the case that another thread is about to * insert or remove an element. */ @CanIgnoreReturnValue @Override public int remainingCapacity() { Monitor monitor = this.monitor; monitor.enter(); try { return items.length - count; } finally {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 22.4K bytes - Click Count (0) -
okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt
acceptedIssuers .map { it.subjectDN.name } .toSet() // It's safe to assume all platforms will have a major Internet certificate issuer. val majorIssuers = listOf( "DigiCert", "Let's Encrypt", "ISRG", // Internet Security Research Group (Let's Encrypt parent) "GlobalSign", "Comodo", "Sectigo", "GeoTrust",Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 08:16:15 GMT 2026 - 7.5K bytes - Click Count (0)