Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,179 for timeIt (1.43 sec)

  1. src/test/java/jcifs/SmbTreeTest.java

        }
    
        /**
         * Test for close() method called multiple times.
         * Verifies that close can be called multiple times safely.
         */
        @Test
        void testClose_multipleTimes() {
            doNothing().when(smbTree).close();
    
            smbTree.close();
            smbTree.close();
            smbTree.close();
    
            verify(smbTree, times(3)).close();
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  2. guava-gwt/pom.xml

              <execution>
                <id>default-compile</id>
                <configuration>
                  <excludes>
                    <!-- Yes, we want to exclude ForceGuavaCompilation 4 times: -->
                    <!-- (And we might as well exclude DummyJavadocClass 3 times (though it would be harmless to include).) -->
                    <!-- 1. Don't compile it (since that requires a *non-test* dep on gwt-user. -->
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

          /**
           * Blocks until the task is complete or the timeout expires. Throws a {@link TimeoutException}
           * if the timer expires, otherwise behaves like {@link #get()}.
           */
          V get(long nanos)
              throws TimeoutException, CancellationException, ExecutionException, InterruptedException {
    
            // Attempt to acquire the shared lock with a timeout.
            if (!tryAcquireSharedNanos(-1, nanos)) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/DosFileFilterTest.java

            verify(file, times(1)).getAttributes();
        }
    
        @Test
        public void testAcceptReturnsFalseWhenAttributesDoNotMatch() throws Exception {
            SmbFile file = mock(SmbFile.class);
            when(file.getAttributes()).thenReturn(SmbFile.ATTR_HIDDEN);
            assertFalse(filter.accept(file), "Attributes not matching should be rejected");
            verify(file, times(1)).getAttributes();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  5. docs/en/docs/deployment/concepts.md

    In this case, it would be better to get **one extra server** and run some processes on it so that they all have **enough RAM and CPU time**.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/job/AllJobScheduler.java

     */
    package org.codelibs.fess.app.job;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.core.timer.TimeoutManager;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.app.logic.AccessContextLogic;
    import org.codelibs.fess.app.service.ScheduledJobService;
    import org.codelibs.fess.helper.JobHelper;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. tests/prepared_stmt_test.go

    	defer cancel()
    	txCtx := tx.WithContext(ctx)
    
    	user := *GetUser("prepared_stmt", Config{})
    
    	txCtx.Create(&user)
    
    	var result1 User
    	if err := txCtx.Find(&result1, user.ID).Error; err != nil {
    		t.Fatalf("no error should happen but got %v", err)
    	}
    
    	time.Sleep(time.Second)
    
    	var result2 User
    	if err := tx.Find(&result2, user.ID).Error; err != nil {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

            }
        }
    
        /**
         * Parses a time string in HH:MM format.
         *
         * @param time the time string to parse
         * @return an array containing [hour, minute]
         * @throws FessSystemException if the time format is invalid
         */
        protected static int[] parseTime(final String time) {
            final String[] froms = time.split(":");
            if (froms.length != 2) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/testing/FakeTickerTest.java

                return null;
              }
            });
    
        assertEquals(incrementByNanos * numberOfThreads, ticker.read());
      }
    
      /** Runs {@code callable} concurrently {@code numberOfThreads} times. */
      @GwtIncompatible // concurrency
      private void runConcurrentTest(int numberOfThreads, Callable<@Nullable Void> callable)
          throws Exception {
        ExecutorService executorService = newFixedThreadPool(numberOfThreads);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaConnection.java

                // RdmaCompletionEvent event = endpoint.getCqProcessor().getCqEvent(timeout);
                // if (event != null) {
                //     return event.getBuffer();
                // }
                // return null;
    
                // For skeleton implementation, return null (timeout)
                return null;
    
            } catch (Exception e) {
                state = RdmaConnectionState.ERROR;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 10.2K bytes
    - Viewed (0)
Back to top