- Sort Score
- Num 10 results
- Language All
Results 1571 - 1580 of 2,346 for result (0.06 seconds)
-
guava-tests/test/com/google/common/util/concurrent/WrappingScheduledExecutorServiceTest.java
} @Override public Future<?> submit(Runnable task) { throw new UnsupportedOperationException(); } @Override public <T> Future<T> submit(Runnable task, T result) { throw new UnsupportedOperationException(); } @Override public void execute(Runnable command) { throw new UnsupportedOperationException(); } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 7.5K bytes - Click Count (0) -
tests/callbacks_test.go
} datas := []struct { callbacks []callback err string results []string }{ { callbacks: []callback{{h: c1}, {h: c2}, {h: c3}, {h: c4}, {h: c5}}, results: []string{"c1", "c2", "c3", "c4", "c5"}, }, { callbacks: []callback{{h: c1}, {h: c2}, {h: c3}, {h: c4}, {h: c5, before: "c4"}}, results: []string{"c1", "c2", "c3", "c5", "c4"}, }, {Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Tue Mar 26 03:33:36 GMT 2024 - 7.2K bytes - Click Count (0) -
guava/src/com/google/common/base/Optional.java
* * <p>Note about generics: The signature {@code public T or(T defaultValue)} is overly * restrictive. However, the ideal signature, {@code public <S super T> S or(S)}, is not legal * Java. As a result, some sensible operations involving subtypes are compile errors: * * {@snippet : * Optional<Integer> optionalInt = getSomeOptionalInt(); * Number value = optionalInt.or(0.5); // error *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 15.1K bytes - Click Count (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerRequest.java
@Experimental public interface InvokerRequest { /** * The parser request this instance was created from. */ @Nonnull ParserRequest parserRequest(); /** * Flag representing parser processing result: if there were some fatal errors during * {@link Parser#parseInvocation(ParserRequest)} this method will return {@code true} and invoker shouldCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 6.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/IntsTest.java
} /** * Encodes an integer as a string with given radix, then uses {@link Ints#tryParse(String, int)} * to parse the result. Asserts the result is the same as what we started with. */ private static void radixEncodeParseAndAssertEquals(Integer value, int radix) { assertWithMessage("Radix: %s", radix)Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 29.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/net/PercentEscaperTest.java
|| "+*/-".indexOf(c) >= 0) { assertUnescaped(e, c); } else { assertEscaping(e, escapeAscii(c), c); } } } /** Tests that if specify '%' as safe the result is an idempotent escaper. */ public void testCustomEscaper_withpercent() { UnicodeEscaper e = new PercentEscaper("%", false); assertThat(e.escape("foo|bar")).isEqualTo("foo%7Cbar");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 5.4K bytes - Click Count (0) -
src/bytes/reader.go
} return int(int64(len(r.s)) - r.i) } // Size returns the original length of the underlying byte slice. // Size is the number of bytes available for reading via [Reader.ReadAt]. // The result is unaffected by any method calls except [Reader.Reset]. func (r *Reader) Size() int64 { return int64(len(r.s)) } // Read implements the [io.Reader] interface. func (r *Reader) Read(b []byte) (n int, err error) { if r.i >= int64(len(r.s)) {
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Jul 16 18:17:37 GMT 2024 - 3.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Lists.java
implements Serializable, RandomAccess { @ParametricNullness final E first; final E[] rest; OnePlusArrayList(@ParametricNullness E first, E[] rest) { this.first = first; this.rest = checkNotNull(rest); } @Override public int size() { return IntMath.saturatedAdd(rest.length, 1); } @Override @ParametricNullness public E get(int index) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 16:38:09 GMT 2026 - 42.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/SortedSetMultimap.java
* of a {@code SortedSetMultimap} in a way that affects its {@link Object#equals} behavior (or its * position in the order of the values). Undefined behavior and bugs will result. * * <p>See the Guava User Guide article on <a href= * "https://github.com/google/guava/wiki/NewCollectionTypesExplained#multimap">{@code Multimap}</a>. * * @author Jared Levy * @since 2.0 */ @GwtCompatibleCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 5.2K bytes - Click Count (0) -
src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java
assertNotNull(decrypted); // With dummy data, we can't verify the content, just that it decrypts without error // and returns a result of the expected size. assertEquals(data.length - 24, decrypted.length); } /** * Test decrypt with an unsupported encryption type. */ @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.7K bytes - Click Count (0)