Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 4,240 for Reject (0.03 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiTest.kt

          // OkHttp does not reject invalid Punycode.
          "xn--a",
          "xn--a.ß",
          "xn--a.xn--zca",
          "xn--a-yoc",
          // OkHttp doesn't reject U+FFFD encoded in Punycode.
          "xn--zn7c.com",
          // OkHttp doesn't reject a U+200D. https://www.rfc-editor.org/rfc/rfc5892.html#appendix-A.2
          "xn--1ug.example",
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java

            @DisplayName("should reject unsupported model versions")
            void shouldRejectUnsupportedModelVersions(String version) {
                assertFalse(ModelVersionUtils.isValidModelVersion(version));
            }
    
            @ParameterizedTest
            @MethodSource("provideInvalidVersions")
            @DisplayName("should reject invalid version formats")
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbFilenameFilterTest.java

            assertTrue(filter.accept(mockDir, "document.txt"), "Should accept .txt files in the correct path");
            assertFalse(filter.accept(mockDir, "image.png"), "Should reject non-.txt files");
            assertFalse(filter.accept(mockDir, null), "Should reject null names");
    
            // Verify getPath was called three times (once for each accept call)
            verify(mockDir, times(3)).getPath();
            verifyNoMoreInteractions(mockDir);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  4. docs/en/docs/js/custom.js

            return new Promise((resolve, reject) => {
                if (img.complete && img.naturalHeight !== 0) {
                    resolve();
                } else {
                    img.addEventListener('load', () => {
                        if (img.naturalHeight !== 0) {
                            resolve();
                        } else {
                            reject();
                        }
                    });
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Sep 22 15:11:52 UTC 2025
    - 6.3K bytes
    - Viewed (2)
  5. src/main/java/org/codelibs/fess/suggest/concurrent/Deferred.java

     *   The resolve and reject methods decrement the CountDownLatch, allowing the getResponse method
     *   to return the result of the computation.
     * </p>
     *
     * @param <RESPONSE> The type of the response.
     */
    public class Deferred<RESPONSE extends Response> {
        /**
         * Constructs a new Deferred object.
         */
        public Deferred() {
            // nothing
        }
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CookieJar.kt

    package okhttp3
    
    /**
     * Provides **policy** and **persistence** for HTTP cookies.
     *
     * As policy, implementations of this interface are responsible for selecting which cookies to
     * accept and which to reject. A reasonable policy is to reject all cookies, though that may
     * interfere with session-based authentication schemes that require cookies.
     *
     * As persistence, implementations of this interface must also provide storage of cookies. Simple
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java

            Thread th = new Thread(() -> {
                try {
                    Thread.sleep(1000);
                } catch (InterruptedException ignore) {}
                deferred.reject(new Exception());
            });
            th.start();
    
            final CountDownLatch latch = new CountDownLatch(1);
            deferred.promise().error(error -> latch.countDown());
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  8. cmd/local-locker.go

    	}
    
    	// If we have too many waiting, reject this at once.
    	if l.waitMutex.Load() > lockMutexWaitLimit {
    		l.locksOverloaded.Add(1)
    		return false, nil
    	}
    	// Wait for mutex
    	defer l.getMutex()()
    	if ctx.Err() != nil {
    		return false, ctx.Err()
    	}
    	if !l.canTakeLock(args.Resources...) {
    		// Not all locks can be taken on resources,
    		// reject it completely.
    		return false, nil
    	}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 12K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

      public void testDelegateRejection() {
        AtomicInteger numCalls = new AtomicInteger();
        AtomicBoolean reject = new AtomicBoolean(true);
        SequentialExecutor executor =
            new SequentialExecutor(
                new Executor() {
                  @Override
                  public void execute(Runnable r) {
                    if (reject.get()) {
                      throw new RejectedExecutionException();
                    }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/cookie-param-models.md

    Your API now has the power to control its own <abbr title="This is a joke, just in case. It has nothing to do with cookie consents, but it's funny that even the API can now reject the poor cookies. Have a cookie. 🍪">cookie consent</abbr>. 🤪🍪
    
    You can use Pydantic's model configuration to `forbid` any `extra` fields:
    
    {* ../../docs_src/cookie_param_models/tutorial002_an_py310.py hl[10] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 3.1K bytes
    - Viewed (0)
Back to top