Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,161 for Reject (0.08 sec)

  1. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  2. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  3. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12K bytes
    - Viewed (0)
  4. 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_py39.py hl[10] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbFileFilterTest.java

            SmbFileFilter filter = f -> f.length() > 0;
    
            // negative size -> reject
            when(smbFile.length()).thenReturn(-1L);
            assertFalse(filter.accept(smbFile), "Negative size should be rejected");
            verify(smbFile, times(1)).length();
    
            // zero size -> reject
            reset(smbFile);
            when(smbFile.length()).thenReturn(0L);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java

            assertTrue(key.isZero());
            assertArrayEquals(zeroBytes, key.getKey());
        }
    
        @Test
        @DisplayName("Should reject null key")
        void testNullKey() {
            assertThrows(IllegalArgumentException.class, () -> new Smb2LeaseKey(null));
        }
    
        @Test
        @DisplayName("Should reject wrong size key")
        void testWrongSizeKey() {
            assertThrows(IllegalArgumentException.class, () -> new Smb2LeaseKey(new byte[15]));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. cmd/postpolicyform_test.go

    			success: false,
    		},
    		// duplicate 'expiration' reject
    		{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  8. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  9. cmd/auth-handler.go

    	if cred.AccessKey == "" {
    		return ErrAccessDenied
    	}
    
    	conditions := getConditionValues(r, "", cred)
    	conditions["object-lock-mode"] = []string{string(retMode)}
    	conditions["object-lock-retain-until-date"] = []string{retDate.UTC().Format(time.RFC3339)}
    	if retDays > 0 {
    		conditions["object-lock-remaining-retention-days"] = []string{strconv.Itoa(retDays)}
    	}
    	if retMode == objectlock.RetGovernance && byPassSet {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

            @Test
            @DisplayName("Should reject null data buffer in sign method")
            void testSignNullDataBuffer() {
                assertThrows(IllegalArgumentException.class, () -> digest.sign(null, 0, 100, request, response),
                        "Should throw IllegalArgumentException for null data buffer");
            }
    
            @Test
            @DisplayName("Should reject negative offset in sign method")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
Back to top