- Sort Score
- Result 10 results
- Languages All
Results 281 - 290 of 2,168 for Sample (0.04 sec)
-
guava-testlib/src/com/google/common/collect/testing/OneSizeGenerator.java
return generator.create(elements.toArray()); } @Override public Collection<E> getSampleElements(int howMany) { SampleElements<E> samples = samples(); List<E> allSampleElements = asList(samples.e0(), samples.e1(), samples.e2(), samples.e3(), samples.e4()); return new ArrayList<>(allSampleElements.subList(0, howMany)); } @Override public CollectionSize getCollectionSize() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.5K bytes - Viewed (0) -
chainable_api.go
// // This supports both standard clauses (clause.OrderBy, clause.Limit, clause.Where) and more // advanced techniques like specifying lock strength and optimizer hints. See the // [docs] for more depth. // // // add a simple limit clause // db.Clauses(clause.Limit{Limit: 1}).Find(&User{}) // // tell the optimizer to use the `idx_user_name` index // db.Clauses(hints.UseIndex("idx_user_name")).Find(&User{}) // // specify the lock strength to UPDATE
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sun May 25 07:40:40 UTC 2025 - 14.8K bytes - Viewed (0) -
cmd/endpoint_test.go
{[]string{"http://localhost:9000/d1", "http://localhost:9000/d2", "http://example.org:9000/d3", "http://example.com:9000/d4"}, []string{"example.com:9000", "example.org:9000", "localhost:9000"}, "localhost:9000"}, {[]string{"http://localhost:9000/d1", "http://localhost:10000/d2", "http://example.org:9000/d3", "http://example.com:9000/d4"}, []string{"example.com:9000", "example.org:9000", "localhost:10000", "localhost:9000"}, "localhost:9000"},
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 18.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/crawler/transformer/FessFileTransformerTest.java
url = "http://example.com/"; exp = "http://example.com/"; assertEquals(exp, transformer.decodeUrlAsName(url, false)); url = "http://example.com/index.html"; exp = "http://example.com/index.html"; assertEquals(exp, transformer.decodeUrlAsName(url, false)); url = "http://example.com/" + encodeUrl("ใในใ ") + ".html";
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 11K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java
} @Override public SampleElements<Entry<V, K>> samples() { SampleElements<Entry<K, V>> samples = generator.samples(); return new SampleElements<>( reverse(samples.e0()), reverse(samples.e1()), reverse(samples.e2()), reverse(samples.e3()), reverse(samples.e4())); } private Entry<V, K> reverse(Entry<K, V> entry) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 6.8K bytes - Viewed (2) -
android/guava/src/com/google/common/collect/ImmutableSetMultimap.java
* java.util.stream} Javadoc), that order is preserved, but entries are <a * href="ImmutableMultimap.html#iteration">grouped by key</a>. * * <p>Example: * * {@snippet : * static final Multimap<Character, String> FIRST_LETTER_MULTIMAP = * Stream.of("banana", "apple", "carrot", "asparagus", "cherry") * .collect(toImmutableSetMultimap(str -> str.charAt(0), str -> str.substring(1))); * * // is equivalent to
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/ProtocolHelperTest.java
assertFalse(protocolHelper.isValidWebProtocol("ftp://example.com")); assertFalse(protocolHelper.isValidWebProtocol("file://example.com")); assertFalse(protocolHelper.isValidWebProtocol("smb://example.com")); assertFalse(protocolHelper.isValidWebProtocol("ldap://example.com")); assertFalse(protocolHelper.isValidWebProtocol("example.com")); assertFalse(protocolHelper.isValidWebProtocol(""));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 21.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CookieTest.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 24.4K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlRequestTest.java
Proxy proxy = Proxy.NO_PROXY; CurlRequest result = request.proxy(proxy); assertSame(request, result); // Fluent API assertSame(proxy, request.proxy()); } @Test public void testEncodingMethod() { CurlRequest request = new CurlRequest(Method.GET, "https://example.com"); String encoding = "ISO-8859-1";
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 8.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/cors/CorsHandlerFactoryTest.java
// Setup String origin = "https://example.com"; TestCorsHandler handler = new TestCorsHandler("example-handler"); // Execute corsHandlerFactory.add(origin, handler); CorsHandler result = corsHandlerFactory.get(origin); // Verify assertNotNull(result); assertEquals(handler, result); assertEquals("example-handler", ((TestCorsHandler) result).getName()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.1K bytes - Viewed (0)