Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for Accepted (0.03 sec)

  1. src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java

            // Test with no roles
            testUser.setRoleNames(new String[] {});
            assertFalse(fessUserBean.hasRoles(new String[] { "admin", "user" }));
    
            // Test with single role matching one of accepted
            testUser.setRoleNames(new String[] { "admin" });
            assertTrue(fessUserBean.hasRoles(new String[] { "admin", "user" }));
            assertTrue(fessUserBean.hasRoles(new String[] { "guest", "admin" }));
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java

        }
    
        @Test
        @DisplayName("Iterator with rejecting filter - finds next acceptable")
        void iteratorWithRejectingFilter() throws Exception {
            // Setup: first entry rejected, second accepted
            FileEntry entry1 = mock(FileEntry.class);
            FileEntry entry2 = mock(FileEntry.class);
    
            when(delegate.hasNext()).thenReturn(true, true, false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

            // Assert
            assertNotNull(e1);
            assertNotNull(e2);
            assertEquals("first", e1.getName());
            assertEquals(acceptedName, e2.getName(), "Should return the first name accepted by filter");
    
            // Verify filter interactions: not called for '.' and '..', called for others
            verify(nameFilter, never()).accept(parent, ".");
            verify(nameFilter, never()).accept(parent, "..");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/spnego/NegTokenInitTest.java

            // This test documents the actual behavior - any tag number is accepted
            byte[] token =
                    buildInitToken(new ASN1ObjectIdentifier[] { OID_KRB }, NegTokenInit.INTEGRITY, new byte[] { 0x42 }, null, false, null, 1, // Non-zero tag number is currently accepted
                            null);
    
            // The implementation accepts any tag number without validation
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

            new SecureRandom().nextBytes(standardFileId);
            new SecureRandom().nextBytes(longFileId);
    
            RequestWithFileId request = new Smb2CloseRequest(mockConfig, emptyFileId);
    
            // All sizes should be accepted without exception
            assertDoesNotThrow(() -> request.setFileId(shortFileId), "Should handle 8-byte file ID");
            assertDoesNotThrow(() -> request.setFileId(standardFileId), "Should handle 16-byte file ID");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java

        boolean getVerbose();
    
        @Nonnull
        PathScope getPathScope();
    
        /**
         * Returns a filter for the types of path (class-path, module-path, …) accepted by the tool.
         * For example, if a Java tools accepts only class-path elements, then the filter should return
         * {@code true} for {@link JavaPathType#CLASSES} and {@code false} for {@link JavaPathType#MODULES}.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

            // Null treeConnection throws NPE when acquire() is called
            assertThrows(NullPointerException.class, () -> new SmbTreeHandleImpl(resourceLoc, null));
        }
    
        @Test
        @DisplayName("Null resourceLoc is accepted but may cause issues later")
        void constructorNullResourceLoc() {
            // Null resourceLoc doesn't throw NPE immediately - it's stored and may cause issues when used
            // This test documents the current behavior
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

          }
        }
      }
    
      @Throws(IOException::class)
      fun flush() {
        writer.flush()
      }
    
      /**
       * Degrades this connection such that new streams can neither be created locally, nor accepted
       * from the remote peer. Existing streams are not impacted. This is intended to permit an endpoint
       * to gracefully stop accepting new requests without harming previously established streams.
       */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

        level = DeprecationLevel.ERROR,
      )
      fun code(): Int = code
    
      /**
       * Returns true if the code is in [200..300), which means the request was successfully received,
       * understood, and accepted.
       */
      val isSuccessful: Boolean = code in 200..299
    
      @JvmName("-deprecated_message")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "message"),
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 14:39:28 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/SmbCircuitBreaker.java

         */
        private double calculateAvailability() {
            long total = totalRequests.get();
            if (total == 0) {
                return 100.0;
            }
            long accepted = total - totalCircuitOpenRejections.get();
            return (accepted * 100.0) / total;
        }
    
        /**
         * Circuit breaker metrics snapshot (Java 17 Record)
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
Back to top