Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 389 for rejected (0.65 sec)

  1. src/test/java/jcifs/smb/SmbFileFilterTest.java

            // 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);
            assertFalse(filter.accept(smbFile), "Zero size should be rejected");
            verify(smbFile, times(1)).length();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/DosFileFilterTest.java

                "48, 32, true", // DIRECTORY | ARCHIVE vs ARCHIVE
                "21, 5, true", // READONLY | SYSTEM | DIRECTORY vs READONLY | SYSTEM
    
                // Negative cases (should be rejected)
                "1, 2, false", // READONLY vs HIDDEN
                "2, 1, false", // HIDDEN vs READONLY
                "16, 32, false", // DIRECTORY vs ARCHIVE
                "3, 4, false", // READONLY | HIDDEN vs SYSTEM
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/pac/PacTest.java

            for (int i = 0; i < 8; i++) {
                baos.write((int) ((value >> (i * 8)) & 0xFF));
            }
        }
    
        @Test
        void testEmptyPac() {
            // Test that PAC with size <= 8 is rejected
            byte[] emptyData = new byte[8];
    
            PACDecodingException e = assertThrows(PACDecodingException.class, () -> new Pac(emptyData, keys));
            // Any PACDecodingException is acceptable for this test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. cmd/metrics-v3-api.go

    var (
    	apiRejectedAuthTotalMD = NewCounterMD(apiRejectedAuthTotal,
    		"Total number of requests rejected for auth failure", "type")
    	apiRejectedHeaderTotalMD = NewCounterMD(apiRejectedHeaderTotal,
    		"Total number of requests rejected for invalid header", "type")
    	apiRejectedTimestampTotalMD = NewCounterMD(apiRejectedTimestampTotal,
    		"Total number of requests rejected for invalid timestamp", "type")
    	apiRejectedInvalidTotalMD = NewCounterMD(apiRejectedInvalidTotal,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/spnego/NegTokenTarg.java

         */
        public static final int ACCEPT_INCOMPLETE = 1;
        /**
         * Result code indicating authentication was rejected
         */
        public static final int REJECTED = 2;
        /**
         * Result code indicating MIC token is requested
         */
        public static final int REQUEST_MIC = 3;
    
        private ASN1ObjectIdentifier mechanism;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/DosFileFilterTest.java

            SmbFile file = mock(SmbFile.class);
            when(file.getAttributes()).thenReturn(SmbFile.ATTR_HIDDEN);
            assertFalse(filter.accept(file), "Attributes not matching should be rejected");
            verify(file, times(1)).getAttributes();
        }
    
        @Test
        public void testAcceptIgnoresWildcard() throws Exception {
            // Wildcard shouldn't affect accept logic.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocket.kt

       * message.
       *
       * This method returns true if the message was enqueued. Messages that would overflow the outgoing
       * message buffer will be rejected and trigger a [graceful shutdown][close] of this web socket.
       * This method returns false in that case, and in any other case where this web socket is closing,
       * closed, or canceled.
       *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/request/Request.java

         */
        public Request() {
            // nothing
        }
    
        /**
         * Executes the request.
         * @param client The OpenSearch client.
         * @return A Promise that will be resolved with the response or rejected with an error.
         */
        public Deferred<T>.Promise execute(final Client client) {
            final String error = getValidationError();
            if (!Strings.isNullOrEmpty(error)) {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  9. cmd/copy-part-range.go

    }
    
    // checkCopyPartRangeWithSize adds more check to the range string in case of
    // copy object part. This API requires having specific start and end  range values
    // e.g. 'bytes=3-10'. Other use cases will be rejected.
    func checkCopyPartRangeWithSize(rs *HTTPRangeSpec, resourceSize int64) (err error) {
    	if rs == nil {
    		return nil
    	}
    	if rs.IsSuffixLength || rs.Start >= resourceSize || rs.End >= resourceSize {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jun 18 03:27:04 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/request/RequestBuilder.java

            this.client = client;
            this.request = request;
        }
    
        /**
         * Executes the request.
         * @return A Promise that will be resolved with the response or rejected with an error.
         */
        public Deferred<Res>.Promise execute() {
            return request.execute(client);
        }
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 1.6K bytes
    - Viewed (0)
Back to top