- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 978 for accepts (0.05 sec)
-
src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java
when(mockDelegate.next()).thenReturn(mockFileEntry1, mockFileEntry2, mockFileEntry3); // Create a mock filter that accepts file1 and file3 but not file2 when(mockFilter.accept(mockResource1)).thenReturn(true); when(mockFilter.accept(mockResource2)).thenReturn(false); when(mockFilter.accept(mockResource3)).thenReturn(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CookieJar.kt
* empty list of cookies for the network request. * * Simple implementations will return the accepted cookies that have not yet expired and that * [match][Cookie.matches] [url]. */ fun loadForRequest(url: HttpUrl): List<Cookie> companion object { /** A cookie jar that never accepts any cookies. */ @JvmField val NO_COOKIES: CookieJar = NoCookies() private class NoCookies : CookieJar {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.4K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/Platform.java
final class Platform { static boolean isInstanceOfThrowableClass(Throwable t, Class<? extends Throwable> expectedClass) { /* * This method is used only by CatchingFuture, and CatchingFuture accepts only Throwable.class * under GWT. */ return true; } static void restoreInterruptIfIsInterruptedException(Throwable t) {} static void interruptCurrentThread() {}Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 27 16:15:49 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFileFilterTest.java
*/ public class SmbFileFilterTest { /** * A minimal implementation that accepts every {@link SmbFile}. */ private final SmbFileFilter ALWAYSACTIVE = new SmbFileFilter() { @Override public boolean accept(SmbFile file) throws SmbException { // Never inspect the file – simply accept. return true; } }; /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/BooleanFunction.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.util; /** * Functional interface for boolean functions. * Represents a function that accepts one argument and produces a boolean result. * @param <T> the type of the input to the function */ @FunctionalInterface public interface BooleanFunction<T> { /** * Applies this function to the given argument.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java
* * <p><b>Java 21+ users:</b> use {@link Thread.Builder#name(String, long)} instead. Note that * {@link #setNameFormat} accepts a thread name <i>format string</i> (e.g., {@code * threadFactoryBuilder.setNameFormat("rpc-pool-%d")}), while {@code threadBuilder.name()} accepts * a thread name <i>prefix</i> and initial counter value (e.g., {@code * threadBuilder.name("rpc-pool-", 0)}. *Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:35:26 UTC 2025 - 9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/filter/OrArtifactFilter.java
import java.util.Collection; import java.util.LinkedHashSet; import java.util.Set; import org.apache.maven.artifact.Artifact; /** * Apply multiple filters, accepting an artifact if at least one of the filters accepts it. * */ @Deprecated public class OrArtifactFilter implements ArtifactFilter { private Set<ArtifactFilter> filters; public OrArtifactFilter() { this.filters = new LinkedHashSet<>();Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 2.1K bytes - Viewed (0) -
android/guava/src/com/google/common/io/PatternFilenameFilter.java
import com.google.common.base.Preconditions; import java.io.File; import java.io.FilenameFilter; import java.util.regex.Pattern; import java.util.regex.PatternSyntaxException; /** * File name filter that only accepts files matching a regular expression. This class is thread-safe * and immutable. * * @author Apple Chow * @since 1.0 */ @J2ktIncompatible @GwtIncompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2.7K bytes - Viewed (1) -
cmd/metrics-router.go
metricsRouter.Handle(prometheusMetricsV2ResourcePath, auth(metricsResourceHandler())) // Metrics v3 metricsV3Server := newMetricsV3Server(auth) // Register metrics v3 handler. It also accepts an optional query // parameter `?list` - see handler for details. metricsRouter.Methods(http.MethodGet).Path(metricsV3Path + "{pathComps:.*}").Handler(metricsV3Server)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Jul 15 16:28:02 UTC 2024 - 2.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSetInformationResponseTest.java
// Setup mock configuration to avoid NPE when(mockConfig.getPid()).thenReturn(12345); response = new SmbComSetInformationResponse(mockConfig); } @Test @DisplayName("Constructor accepts valid config") void constructorValid() { assertDoesNotThrow(() -> new SmbComSetInformationResponse(mockConfig)); } @Nested @DisplayName("writeParameterWordsWireFormat tests")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.1K bytes - Viewed (0)