- Sort Score
- Result 10 results
- Languages All
Results 431 - 440 of 502 for reslist (0.08 sec)
-
src/bytes/buffer.go
func (b *Buffer) grow(n int) int { m := b.Len() // If buffer is empty, reset to recover space. if m == 0 && b.off != 0 { b.Reset() } // Try to grow by means of a reslice. if i, ok := b.tryGrowByReslice(n); ok { return i } if b.buf == nil && n <= smallBufferSize { b.buf = make([]byte, n, smallBufferSize) return 0 } c := cap(b.buf) if n <= c/2-m {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon May 19 17:38:56 UTC 2025 - 16K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java
assertTrue("Exception handling should be fast", true); } } public void test_crawl_withConfigIdList_emptyList() { try { List<String> configIds = Arrays.asList("id1", "id2"); dataIndexHelper.crawl("test-session", configIds); assertTrue("Should complete quickly with empty results", true); } catch (Exception e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 12.7K bytes - Viewed (0) -
guava/src/com/google/common/eventbus/SubscriberRegistry.java
private final String name; private final List<Class<?>> parameterTypes; MethodIdentifier(Method method) { this.name = method.getName(); this.parameterTypes = Arrays.asList(method.getParameterTypes()); } @Override public int hashCode() { return Objects.hash(name, parameterTypes); } @Override public boolean equals(@Nullable Object o) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 10.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/ClientAuthTest.kt
newKeyManager( null, serverCert, serverIntermediateCa.certificate, ) val trustManager = newTrustManager( null, Arrays.asList(serverRootCa.certificate, clientRootCa.certificate), emptyList(), ) val sslContext = SSLContext.getInstance("TLS") sslContext.init( arrayOf<KeyManager>(keyManager),
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/OptionalUtilTest.java
assertNotNull(result); assertTrue(result.isPresent()); assertEquals(testValue, result.get()); } public void test_ofNullable_withList() { List<String> testValue = Arrays.asList("item1", "item2", "item3"); OptionalEntity<List<String>> result = OptionalUtil.ofNullable(testValue); assertNotNull(result); assertTrue(result.isPresent());Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 13K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
client .newBuilder() .protocols(Arrays.asList(Protocol.HTTP_1_1)) .build() assertContent("A", getResponse(newRequest("/"))) } @Test fun setProtocolsWithoutHttp11() { assertFailsWith<IllegalArgumentException> { OkHttpClient .Builder() .protocols(Arrays.asList(Protocol.HTTP_2)) } } @TestRegistered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 133.2K bytes - Viewed (0) -
android/guava/src/com/google/common/base/MoreObjects.java
* throws a {@link NullPointerException}. * * <p>To find the first non-null element in an iterable, use {@code Iterables.find(iterable, * Predicates.notNull())}. For varargs, use {@code Iterables.find(Arrays.asList(a, b, c, ...), * Predicates.notNull())}, static importing as necessary. * * <p><b>Note:</b> if {@code first} is represented as an {@link Optional}, this can beRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 16.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/MacHashFunctionTest.java
} } } @AndroidIncompatible // sun.security public void testNoProviders() { ProviderList providers = Providers.getProviderList(); Providers.setProviderList(ProviderList.newList()); try { Hashing.hmacMd5(MD5_KEY); fail("expected ISE"); } catch (IllegalStateException expected) { } finally { Providers.setProviderList(providers); } }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Dec 27 16:19:35 UTC 2024 - 13.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java
ImmutableSet.of(3), set.intersection(ContiguousSet.create(Range.closed(3, 5), integers()))); } public void testAsList() { ImmutableList<Integer> list = ContiguousSet.create(Range.closed(1, 3), integers()).asList(); for (int i = 0; i < 3; i++) { assertEquals(i + 1, list.get(i).intValue()); } assertEquals(ImmutableList.of(1, 2, 3), ImmutableList.copyOf(list.iterator()));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java
assertThat(min(0x5a4316b8c153ac4dL, 8L, 100L, 0L, 0x6cf78a4b139a4e2aL, 0xff1a618b7f65ea12L)) .isEqualTo(0L); } public void testLexicographicalComparator() { List<long[]> ordered = Arrays.asList( new long[] {}, new long[] {LEAST}, new long[] {LEAST, LEAST}, new long[] {LEAST, 1L}, new long[] {1L}, new long[] {1L, LEAST},
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.8K bytes - Viewed (0)