Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 20 for rejections (0.15 seconds)

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

            verify(tree, times(1)).release(); // closed after exhaustion
        }
    
        @ParameterizedTest
        @ValueSource(strings = { "", "file.txt", "subdir" })
        @DisplayName("Name filter interaction: accept calls and rejections")
        void nameFilterAccepts(String acceptedName) throws Exception {
            // Arrange
            stubAcquireReturnsSelf();
            when(nameFilter.accept(any(), any())).thenReturn(false);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  2. src/main/java/jcifs/util/SmbCircuitBreaker.java

            @Override
            public String toString() {
                return String.format(
                        "CircuitBreakerMetrics[name=%s, state=%s, requests=%d, successes=%d, "
                                + "failures=%d, rejections=%d, successRate=%.2f%%, availability=%.2f%%]",
                        name, currentState, totalRequests, totalSuccesses, totalFailures, totalRejections, successRate, availability);
            }
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 33.4K bytes
    - Click Count (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

        }
    
        Violation acceptOrReject(JApiCompatibility member, Violation rejection) {
            List<String> changes = member.compatibilityChanges.collect { Violation.describe(it.getType()) }
            return acceptOrReject(member, changes, rejection)
        }
    
        Violation acceptOrReject(JApiCompatibility member, List<String> changes, Violation rejection) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jan 22 12:18:18 GMT 2026
    - 10K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancerTest.java

            loadBalancer.setStrategy(LoadBalancingStrategy.WEIGHTED_RANDOM);
            when(mockChannelManager.getHealthyChannels()).thenReturn(Arrays.asList(channel1, channel2));
    
            // Test multiple selections to ensure it works
            for (int i = 0; i < 10; i++) {
                ChannelInfo selected = loadBalancer.selectChannel(mockMessage);
                assertTrue(Arrays.asList(channel1, channel2).contains(selected));
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/filter/LoadControlFilter.java

            if (cpuPercent < threshold) {
                chain.doFilter(request, response);
                return;
            }
    
            if (logger.isInfoEnabled()) {
                logger.info("Rejecting request due to high CPU load: path={}, cpu={}%, threshold={}%", path, cpuPercent, threshold);
            }
    
            if (isApiPath) {
                sendApiResponse(httpResponse);
            } else {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Tue Feb 10 04:24:02 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/NetServerEnumIteratorTest.java

            when(treeHandle.send(any(), any(), (RequestParam[]) any())).thenAnswer(invocation -> {
                return invocation.getArgument(1);
            });
    
            // When: Create iterator with rejecting filter
            NetServerEnumIterator iterator = new NetServerEnumIterator(parent, treeHandle, "*", 0, nameFilter);
    
            // Then: Iterator should have no elements
            assertFalse(iterator.hasNext());
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/RepositoryAwareRequest.java

     * </ul>
     *
     * <p>Repository validation ensures data integrity by:
     * <ul>
     *   <li>Preventing duplicate repositories that could cause confusion</li>
     *   <li>Rejecting null repository entries that would cause failures</li>
     *   <li>Maintaining consistent repository ordering for reproducible builds</li>
     * </ul>
     *
     * @since 4.0.0
     * @see RemoteRepository
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 5K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/math/Quantiles.java

        int required = allRequired[requiredChosen];
    
        // ...do the first selection...
        selectInPlace(required, array, from, to);
    
        // ...then recursively perform the selections in the range below...
        int requiredBelow = requiredChosen - 1;
        while (requiredBelow >= requiredFrom && allRequired[requiredBelow] == required) {
          requiredBelow--; // skip duplicates of required in the range below
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 30.1K bytes
    - Click Count (0)
  9. src/test/java/jcifs/util/PathValidatorTest.java

            normalizedPath = noUncValidator.validatePath("////server//share");
            assertEquals("\\server\\share", normalizedPath);
    
            // To properly test UNC rejection, we would need to fix the normalization logic
            // to preserve the leading double backslash for UNC paths
        }
    
        @Test
        public void testInvalidUncPath() throws Exception {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.6K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java

            // With filter, resource should be closed due to try-with-resources
            verify(filter).accept(resource);
            verify(resource).close();
        }
    
        @Test
        @DisplayName("Iterator with rejecting filter - finds next acceptable")
        void iteratorWithRejectingFilter() throws Exception {
            // Setup: first entry rejected, second accepted
            FileEntry entry1 = mock(FileEntry.class);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 10.6K bytes
    - Click Count (0)
Back to Top