- Sort Score
- Num 10 results
- Language All
Results 471 - 480 of 620 for Accept4 (0.05 seconds)
-
android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java
* @return the count of the element before the operation; possibly zero * @throws IllegalArgumentException if {@code occurrences} is negative */ /* * TODO(cpovirk): remove and removeExactly currently accept null inputs only * if occurrences == 0. This satisfies both NullPointerTester and * CollectionRemoveTester.testRemove_nullAllowed, but it's not clear that it'sCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 22.3K bytes - Click Count (0) -
internal/ringbuffer/ring_buffer.go
return 0 } return r.size } if r.w < r.r { return r.r - r.w } return r.size - r.w + r.r } // WriteString writes the contents of the string s to buffer, which accepts a slice of bytes. func (r *RingBuffer) WriteString(s string) (n int, err error) { x := (*[2]uintptr)(unsafe.Pointer(&s)) h := [3]uintptr{x[0], x[1], x[1]} buf := *(*[]byte)(unsafe.Pointer(&h)) return r.Write(buf)Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 13.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/Iterables.java
public void forEach(Consumer<? super T> action) { checkNotNull(action); unfiltered.forEach( (@ParametricNullness T a) -> { if (retainIfTrue.test(a)) { action.accept(a); } }); } @Override @GwtIncompatible // Spliterator public Spliterator<T> spliterator() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 43.6K bytes - Click Count (0) -
guava/src/com/google/common/base/Optional.java
* Number value = first.or(0.5); // fine * } * * <p><b>Comparison to {@code java.util.Optional}:</b> this method is similar to Java 8's {@code * Optional.orElse}, but will not accept {@code null} as a {@code defaultValue} ({@link #orNull} * must be used instead). As a result, the value returned by this method is guaranteed non-null, * which is not the case for the {@code java.util} equivalent. */
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) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java
// When SrvCopychunkCopy copy = new SrvCopychunkCopy(sourceKey); // Then assertNotNull(copy); } @Test @DisplayName("Should accept various source key patterns") void testConstructorWithVariousSourceKeys() { // Given byte[] zeroKey = new byte[SOURCE_KEY_SIZE]; byte[] maxKey = new byte[SOURCE_KEY_SIZE];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 23.1K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Equivalence.java
} if (obj instanceof Wrapper) { Wrapper<?> that = (Wrapper<?>) obj; // note: not necessarily a Wrapper<T> if (this.equivalence.equals(that.equivalence)) { /* * We'll accept that as sufficient "proof" that either equivalence should be able to * handle either reference, so it's safe to circumvent compile-time type checking. */ @SuppressWarnings("unchecked")Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jul 10 01:47:55 GMT 2025 - 14.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/TypeTokenTest.java
} private abstract static class RawTypeConsistencyTester<T extends Enum<T> & CharSequence> { abstract T returningT(); abstract void acceptT(T t); abstract <X extends T> X returningX(); abstract <X> void acceptX(X x); abstract <T2 extends Enum<T2> & CharSequence> T2 returningT2(); abstract <T2 extends CharSequence & Iterable<T2>> void acceptT2(T2 t2);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 89.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
* @param consumer the consumer to execute */ public void godHandEpilogue(final ActionRuntime runtime, final Consumer<ActionRuntime> consumer) { consumer.accept(runtime); } /** * Before hook for action processing. * * @param runtime the action runtime * @param func the function to executeCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 52.6K bytes - Click Count (0) -
CHANGELOG/CHANGELOG-1.10.md
Created: Fri Apr 03 09:05:14 GMT 2026 - Last Modified: Thu May 05 13:44:43 GMT 2022 - 341.8K bytes - Click Count (0) -
guava/src/com/google/common/base/Verify.java
* Preconditions.checkNotNull. * * (verifyNotNull has many fewer "problem" callers, so we could try to be stricter. On the other * hand, verifyNotNull arguably has more reason to accept nullable arguments in the first * place....) */ /** * Ensures that {@code reference} is non-null, throwing a {@code VerifyException} with a default * message otherwise. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Dec 29 17:36:00 GMT 2025 - 18.5K bytes - Click Count (0)