Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 696 for Reject (1.52 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/main/java/jcifs/dcerpc/DcerpcConstants.java

         * Maybe flag - indicates 'maybe' call semantics requested
         */
        int DCERPC_MAYBE = 0x40; /* `maybe' call semantics requested */
        /**
         * Object UUID flag - if true, a non-nil object UUID is present
         */
        int DCERPC_OBJECT_UUID = 0x80; /* if true, a non-nil object UUID */
    
        // Packet Types (ptype)
        /**
         * Request packet type
         */
        int RPC_PT_REQUEST = 0x00;
        /**
         * Ping packet type
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. src/archive/tar/strconv.go

    // record is formatted as:
    //
    //	"%d %s=%s\n" % (size, key, value)
    //
    // Keys and values should be UTF-8, but the number of bad writers out there
    // forces us to be a more liberal.
    // Thus, we only reject all keys with NUL, and only reject NULs in values
    // for the PAX version of the USTAR string fields.
    // The key must not contain an '=' character.
    func validPAXRecord(k, v string) bool {
    	if k == "" || strings.Contains(k, "=") {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 9.1K bytes
    - Viewed (0)
Back to top