- Sort Score
- Result 10 results
- Languages All
Results 1091 - 1100 of 1,219 for Examples (0.06 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 fresh
Registered: 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) -
android/guava/src/com/google/common/primitives/ImmutableLongArray.java
hash *= 31; hash += Long.hashCode(array[i]); } return hash; } /** * Returns a string representation of this array in the same form as {@link * Arrays#toString(long[])}, for example {@code "[1, 2, 3]"}. */ @Override public String toString() { if (isEmpty()) { return "[]"; } StringBuilder builder = new StringBuilder(length() * 5); // rough estimate is fine
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 22K bytes - Viewed (0) -
guava/src/com/google/common/primitives/ImmutableIntArray.java
hash *= 31; hash += Integer.hashCode(array[i]); } return hash; } /** * Returns a string representation of this array in the same form as {@link * Arrays#toString(int[])}, for example {@code "[1, 2, 3]"}. */ @Override public String toString() { if (isEmpty()) { return "[]"; } StringBuilder builder = new StringBuilder(length() * 5); // rough estimate is fine
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 21.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/search/SearchApiTests.java
deleteMethod("/api/admin/failurelog/log/" + elem.get("id")); } final Map<String, Object> requestBody = new HashMap<>(); requestBody.put("q", "Example Domain"); checkMethodBase(requestBody).delete("/api/admin/searchlist/query"); refresh(); for (String sId : getSchedulerIds(NAME_PREFIX)) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 18.9K 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 the
Registered: 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)