Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 978 for accepts (0.09 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. docs/en/docs/tutorial/handling-errors.md

    And **FastAPI**'s `HTTPException` error class inherits from Starlette's `HTTPException` error class.
    
    The only difference is that **FastAPI**'s `HTTPException` accepts any JSON-able data for the `detail` field, while Starlette's `HTTPException` only accepts strings for it.
    
    So, you can keep raising **FastAPI**'s `HTTPException` as normally in your code.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top