- Sort Score
- Result 10 results
- Languages All
Results 931 - 940 of 1,236 for Example (0.21 sec)
-
android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
* returned. * * <p>All default instances returned by {@link #get} are generics-safe. Clients won't get type * errors for using {@code get(Comparator.class)} as a {@code Comparator<Foo>}, for example. * Immutable empty instances are returned for collection types; {@code ""} for string; {@code 0} for * number types; reasonable default instance for other stateless types. For mutable types, a freshRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 20.9K bytes - Viewed (0) -
src/bufio/scan.go
// deliver a final empty token (which is different from a nil token). // One could achieve the same behavior with a custom error value but // providing one here is tidier. // See the emptyFinalToken example for a use of this value. var ErrFinalToken = errors.New("final token") // Scan advances the [Scanner] to the next token, which will then be
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed May 21 18:05:26 UTC 2025 - 14.2K bytes - Viewed (0) -
src/builtin/builtin.go
// equal to its length. A second integer argument may be provided to // specify a different capacity; it must be no smaller than the // length. For example, make([]int, 0, 10) allocates an underlying array // of size 10 and returns a slice of length 0 and capacity 10 that is // backed by this underlying array.
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Dec 30 23:59:23 UTC 2024 - 12.8K bytes - Viewed (0) -
guava/src/com/google/common/base/Functions.java
* NullPointerException} on null input. * * <p><b>Warning:</b> The returned function may not be <i>consistent with equals</i> (as * documented at {@link Function#apply}). For example, this function yields different results for * the two equal instances {@code ImmutableSet.of(1, 2)} and {@code ImmutableSet.of(2, 1)}. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 17:32:30 UTC 2025 - 15.4K bytes - Viewed (0) -
guava/src/com/google/common/base/MoreObjects.java
throw new NullPointerException("Both parameters are null"); } /** * Creates an instance of {@link ToStringHelper}. * * <p>This is helpful for implementing {@link Object#toString()}. Specification by example: * * {@snippet : * // Returns "ClassName{}" * MoreObjects.toStringHelper(this) * .toString(); * * // Returns "ClassName{x=1}" * MoreObjects.toStringHelper(this)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 16.6K bytes - Viewed (0) -
LICENSE
"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which theRegistered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Mon Nov 29 17:31:56 UTC 2021 - 13.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/validation/UriTypeTest.java
private String testFieldWithMultiplePayloads; // Test method with UriType annotation @UriType(protocolType = ProtocolType.WEB) public String testMethod() { return "http://example.com"; } // Test parameter with UriType annotation public void testMethodWithParameter(@UriType(protocolType = ProtocolType.FILE) final String uri) { // Method for testing parameter annotation }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 21K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/SearchRequestParamsTest.java
} public void test_hasConditionQuery_withSiteSearch() { // Test with site search testParams.conditions.put(SearchRequestParams.AS_SITESEARCH, new String[] { "example.com" }); assertTrue(searchRequestParams.hasConditionQuery()); } public void test_hasConditionQuery_withFileType() { // Test with file typeRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 26.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ClassSanityTester.java
* * <ul> * <li>The non-private constructor or non-private static factory method with the most parameters * is used to construct the sample instances. In case of tie, the candidate constructors or * factories are tried one after another until one can be used to construct sample * instances. * <li>For the constructor or static factory method used to construct instances, it's checked
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 32.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbSession.java
* actually shutdown the connection before other threads * have committed themselves (e.g. InterruptTest example). */ try { transport.disconnect(true); } catch (final Exception e) {}Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 20.7K bytes - Viewed (0)