Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 275 for acceptT (0.04 seconds)

  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);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java

            when(filter.accept(resource)).thenReturn(false, true);
    
            TestIterator iterator = new TestIterator(filter);
    
            // Verify iteration
            assertTrue(iterator.hasNext());
            assertSame(resource, iterator.next());
            assertFalse(iterator.hasNext());
    
            // Both resources should be closed
            verify(filter, times(2)).accept(resource);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

            // Verify filter interactions: not called for '.' and '..', called for others
            verify(nameFilter, never()).accept(parent, ".");
            verify(nameFilter, never()).accept(parent, "..");
            ArgumentCaptor<String> nameCaptor = ArgumentCaptor.forClass(String.class);
            verify(nameFilter, atLeast(1)).accept(eq(parent), nameCaptor.capture());
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  4. CONTRIBUTING.md

    If you have multiple changes to accept (and you're sure they ought to be accepted instead of corrected), you can use the `Accept Changes for all Errors` button to speed the process.
    This button will cause a Javascript alert dialog to appear asking you to type a reason for accepting the changes, e.g. "Added new API for Gradle 8.x".
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Nov 25 06:57:22 GMT 2025
    - 19K bytes
    - Click Count (0)
  5. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

                    If you did this intentionally, please accept the change and provide an explanation:
                    <a class="btn btn-info" role="button" data-toggle="collapse" href="#accept-${changeId}" aria-expanded="false" aria-controls="collapseExample">Accept this change</a>
                    <div class="collapse" id="accept-${changeId}">
                      <div class="well">
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/curl/CurlRequestTest.java

            // Threshold of 0 should be accepted
            request.threshold(0);
    
            assertEquals(0, request.threshold());
        }
    
        @Test
        public void testThresholdWithNegative() {
            CurlRequest request = new CurlRequest(Method.GET, "https://example.com");
    
            // Negative threshold should be accepted (though may not make sense)
            request.threshold(-1);
    
    Created: Sat Dec 20 09:13:53 GMT 2025
    - Last Modified: Mon Nov 24 03:10:07 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

            // Given
            RequestWithFileId request = new Smb2CloseRequest(mockConfig, testFileId);
    
            // When
            request.setFileId(emptyFileId);
    
            // Then - should accept empty file ID
            assertDoesNotThrow(() -> request.setFileId(emptyFileId), "Should handle empty file ID without throwing exception");
        }
    
        @Test
        @DisplayName("Should handle unspecified file ID constant")
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  8. guava/src/com/google/common/net/InetAddresses.java

       *
       * <p>This deliberately avoids all nameservice lookups (e.g. no DNS).
       *
       * <p>This method accepts non-ASCII digits, for example {@code "192.168.0.1"} (those are fullwidth
       * characters). That is consistent with {@link InetAddress}, but not with various RFCs. If you
       * want to accept ASCII digits only, you can use something like {@code
       * CharMatcher.ascii().matchesAllOf(ipString)}.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 19 21:24:11 GMT 2025
    - 47.4K bytes
    - Click Count (0)
  9. src/test/java/jcifs/spnego/NegTokenInitTest.java

        }
    
        @Test
        @DisplayName("Parse accepts non-zero outer tag numbers (current implementation behavior)")
        void testParseAcceptsNonZeroOuterTag() throws Exception {
            // Note: The current implementation does not validate the outer APPLICATION tag number
            // This test documents the actual behavior - any tag number is accepted
            byte[] token =
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21K bytes
    - Click Count (0)
  10. internal/etag/etag.go

    //   - strict
    //   - non-strict
    //
    // In strict mode, parse only accepts ETags that
    // are AWS S3 compatible. In particular, an AWS
    // S3 ETag always consists of a 128 bit checksum
    // value and an optional -<part-number> suffix.
    // Therefore, s must have the following form in
    // strict mode:  <32-hex-characters>[-<integer>]
    //
    // In non-strict mode, parse also accepts ETags
    // that are not AWS S3 compatible - e.g. encrypted
    // ETags.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri May 16 14:27:42 GMT 2025
    - 13.2K bytes
    - Click Count (0)
Back to Top