- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 15 for rejections (0.05 seconds)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
android/guava/src/com/google/common/net/InternetDomainName.java
* but given that any public suffix may become a host without warning, it is better to err on the * side of permissiveness and thus avoid spurious rejection of valid sites. Of course, to actually * determine addressability of any host, clients of this class will need to perform their own DNS * lookups. * * <p>During construction, names are normalized in two ways: *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 21:21:59 GMT 2026 - 26.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableSet.java
return (ImmutableSet<E>) RegularImmutableSet.EMPTY; } /** * Returns an immutable set containing the given element. Preferred over {@link * Collections#singleton} for code consistency, {@code null} rejection, and because the return * type conveys the immutability guarantee. */ public static <E> ImmutableSet<E> of(E e1) { return new SingletonImmutableSet<>(e1); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Oct 11 14:54:00 GMT 2025 - 22.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableSet.java
return (ImmutableSet<E>) RegularImmutableSet.EMPTY; } /** * Returns an immutable set containing the given element. Preferred over {@link * Collections#singleton} for code consistency, {@code null} rejection, and because the return * type conveys the immutability guarantee. */ public static <E> ImmutableSet<E> of(E e1) { return new SingletonImmutableSet<>(e1); } /*
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Nov 07 16:09:47 GMT 2025 - 35.3K bytes - Click Count (0)