- Sort Score
- Num 10 results
- Language All
Results 151 - 160 of 2,166 for accept (0.04 seconds)
-
guava-tests/test/com/google/common/cache/CacheEvictionTest.java
CacheTesting.checkRecency( cache, MAX_SIZE, new Receiver<ReferenceEntry<Integer, Integer>>() { @Override public void accept(ReferenceEntry<Integer, Integer> entry) { cache.getUnchecked(entry.getKey()); } }); } public void testUpdateRecency_onInvalidate() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 15K bytes - Click Count (0) -
src/test/java/jcifs/BufferCacheTest.java
// Then assertNotNull(buffer, "getBuffer should never return null"); assertSame(expectedBuffer, buffer, "Should return configured buffer"); } @Test @DisplayName("releaseBuffer should accept byte arrays gracefully") void testReleaseBufferContract() { // Given byte[] buffer = new byte[1024]; doNothing().when(mockBufferCache).releaseBuffer(buffer); // When & ThenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.3K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Function.java
* Objects.equals}{@code (a, b)} implies that {@code Objects.equals(function.apply(a), * function.apply(b))}. * </ul> * * @throws NullPointerException if {@code input} is null and this function does not accept null * arguments */ @ParametricNullness T apply(@ParametricNullness F input); /** * <i>May</i> return {@code true} if {@code obj} is a {@code Function} that behaves identically toCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jul 10 01:47:55 GMT 2025 - 3.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
assertArrayEquals(testFileId, closeResponse.getFileId()); assertEquals(testFileName, closeResponse.getFileName()); } @Test @DisplayName("Constructor should accept null fileId") void testConstructorWithNullFileId() { // When Smb2CloseResponse closeResponse = new Smb2CloseResponse(mockConfig, null, testFileName); // Then
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 26.9K bytes - Click Count (0) -
src/test/java/jcifs/spnego/SpnegoTokenTest.java
// Current behavior of test impl: returns same reference assertSame(raw, t.toByteArray(), "should return the same reference as mechanismToken"); } @Test @DisplayName("Setters accept null and getters return null") void settersAcceptNull() { TestSpnegoToken t = new TestSpnegoToken(); t.setMechanismToken(null); t.setMechanismListMIC(null);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.6K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
public static void staticOneArgCheckForNullThrowsNpe(@CheckForNull String s) { checkNotNull(s); // doesn't check if you said you'd accept null, but you don't } public static void staticOneArgNullableThrowsNpe(@Nullable String s) { checkNotNull(s); // doesn't check if you said you'd accept null, but you don't } public void oneArgCorrectlyThrowsNpe(String s) { checkNotNull(s); // expect NPE here on nullCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 47.9K bytes - Click Count (0) -
android/guava/src/com/google/common/eventbus/EventBus.java
* database load), spawn a thread or queue it for later. (For a convenient way to do this, use an * {@link AsyncEventBus}.) * * <h2>Subscriber Methods</h2> * * <p>Event subscriber methods must accept only one argument: the event. * * <p>Subscribers should not, in general, throw. If they do, the EventBus will catch and log the * exception. This is rarely the right solution for error handling and should not be relied upon; itCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 12.7K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Log.java
/** * This interface supplies the API for providing feedback to the user from the {@code Mojo}, * using standard Maven channels. * There should be no big surprises here, although you may notice that the methods accept * <code>java.lang.CharSequence</code> rather than <code>java.lang.String</code>. This is provided mainly as a * convenience, to enable developers to pass things like <code>java.lang.StringBuffer</code> directly into the logger,Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Sep 28 09:03:24 GMT 2024 - 5.4K bytes - Click Count (0) -
CONTRIBUTING.md
+ Make sure you fill in the earliest version that you know has the issue. + Fork the repository on GitHub. Making and Submitting Changes -------------- We accept Pull Requests via GitHub. The [developer mailing list][dev-ml-list] is the main channel of communication for contributors. There are some guidelines which will make applying PRs easier for us:
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Jun 07 09:55:33 GMT 2025 - 4.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java
CacheTesting.checkRecency( cache, MAX_SIZE, new Receiver<ReferenceEntry<Integer, Integer>>() { @Override public void accept(ReferenceEntry<Integer, Integer> entry) { cache.getUnchecked(entry.getKey()); } }); } public void testUpdateRecency_onInvalidate() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 15K bytes - Click Count (0)