Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1211 - 1220 of 2,317 for method (0.05 sec)

  1. guava-tests/test/com/google/common/primitives/FloatsTest.java

      // We need to test that our method behaves like the JDK method.
      @SuppressWarnings("InlineMeInliner")
      public void testHashCode() {
        for (float value : VALUES) {
          assertThat(Floats.hashCode(value)).isEqualTo(Float.hashCode(value));
        }
      }
    
      @SuppressWarnings("InlineMeInliner") // We need to test our method.
      public void testIsFinite() {
        for (float value : NUMBERS) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java

        @Test
        void readBytesWireFormatTooShortException() {
            Configuration cfg = mock(Configuration.class);
            SmbComLockingAndX cmd = new SmbComLockingAndX(cfg);
            // arrays of size 1 so internal method will attempt to decode a range
            setField(cmd, "unlocks", new LockingAndXRange[] { new LockingAndXRange(false) });
            setField(cmd, "locks", new LockingAndXRange[] { new LockingAndXRange(false) });
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/concurrent/Deferred.java

     *   The Promise class has then and error methods that allow you to register callbacks
     *   for successful and unsuccessful computations, respectively.
     * </p>
     *
     * <p>
     *   The Deferred class uses a CountDownLatch to allow you to wait for the computation to complete.
     *   The resolve and reject methods decrement the CountDownLatch, allowing the getResponse method
     *   to return the result of the computation.
     * </p>
     *
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/Kerb5ContextTest.java

        private Kerb5Context ctx;
        private MockedStatic<GSSManager> mockedStatic;
    
        @BeforeEach
        void setUp() throws Exception {
            // Mock the static GSSManager.getInstance() method
            mockedStatic = mockStatic(GSSManager.class);
            mockedStatic.when(GSSManager::getInstance).thenReturn(gssManager);
    
            // Setup mock behavior for GSSManager with lenient matchers
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/query/QueryProcessor.java

         * before executing the appropriate query command.
         */
        protected FilterChain filterChain;
    
        /**
         * Initializes the query processor after construction.
         * This method creates the initial filter chain from the registered filters.
         * Called automatically by the DI container after bean construction.
         */
        @PostConstruct
        public void init() {
            createFilterChain();
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java

        @Test
        @DisplayName("ensureDFSResolved(): no exception when underlying call succeeds")
        void ensureDFSResolved_success() throws Exception {
            // Arrange: default mock does nothing
    
            // Act: call method under test
            handle.ensureDFSResolved();
    
            // Assert: interaction happened and did not throw
            verify(handle, times(1)).ensureDFSResolved();
            verifyNoMoreInteractions(handle);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  7. tensorflow/api_template.__init__.py

    setattr(_current_module, "metrics", _metrics)
    setattr(_current_module, "optimizers", _optimizers)
    setattr(_current_module, "initializers", _initializers)
    
    
    # Do an eager load for Keras' code so that any function/method that needs to
    # happen at load time will trigger, eg registration of optimizers in the
    # SavedModel registry.
    # See b/196254385 for more details.
    try:
      if _tf_uses_legacy_keras:
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Wed Oct 02 22:16:02 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/rank/fusion/RankFusionSearcher.java

            }
            return name;
        }
    
        /**
         * Executes a search operation with the specified parameters.
         * This method must be implemented by concrete searcher classes.
         *
         * @param query the search query string
         * @param params the search request parameters including pagination, filters, etc.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/job/PurgeThumbnailJob.java

        }
    
        /**
         * Sets the expiration time for thumbnails.
         *
         * @param expiry the expiration time in milliseconds (must be positive)
         * @return this PurgeThumbnailJob instance for method chaining
         */
        public PurgeThumbnailJob expiry(final long expiry) {
            if (expiry > 0) {
                this.expiry = expiry;
            }
            return this;
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/io/InputStreamUtil.java

            assertArgumentNotNull("is", is);
    
            final ByteArrayOutputStream os = new ByteArrayOutputStream(BUF_SIZE);
            CopyUtil.copy(is, os);
            return os.toByteArray();
        }
    
        /**
         * A method that wraps exception handling for {@link InputStream#available()}.
         *
         * @param is the input stream (must not be {@literal null})
         * @return the available size
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top