Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 122 for cuns (0.03 sec)

  1. guava-testlib/test/com/google/common/testing/FakeTickerTest.java

                long unused = ticker.read();
                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 {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/ExecutionList.java

        // contract to guarantee ordering among runnables we'd have to modify the logic here to allow
        // it.
        executeListener(runnable, executor);
      }
    
      /**
       * Runs this execution list, executing all existing pairs in the order they were added. However,
       * note that listeners added after this point may be executed before those previously added, and
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ArrayTable.java

      }
    
      /**
       * Returns the value corresponding to the specified row and column indices. The same value is
       * returned by {@code get(rowKeyList().get(rowIndex), columnKeyList().get(columnIndex))}, but this
       * method runs more quickly.
       *
       * @param rowIndex position of the row key in {@link #rowKeyList()}
       * @param columnIndex position of the row key in {@link #columnKeyList()}
       * @return the value with the specified row and column
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 19:39:21 UTC 2025
    - 26.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/TreeBasedTable.java

     *
     * <p>Lookups by row key are often faster than lookups by column key, because the data is stored in
     * a {@code Map<R, Map<C, V>>}. A method call like {@code column(columnKey).get(rowKey)} still runs
     * quickly, since the row key is provided. However, {@code column(columnKey).size()} takes longer,
     * since an iteration across all row keys occurs.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

           * lets all futures share the same listener.
           *
           * We store `localFuturesOrNull` inside the listener because `this.futures` might be nulled
           * out by the time the listener runs for the final future -- at which point we need to check
           * all inputs for exceptions *if* we're collecting values. If we're not, then the listener
           * doesn't need access to the futures again, so we can just pass `null`.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java

    import java.util.concurrent.Future;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.TimeoutException;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A TimeLimiter that runs method calls in the background using an {@link ExecutorService}. If the
     * time limit expires for a given method call, the thread running the call will be interrupted.
     *
     * @author Kevin Bourrillion
     * @author Jens Nyman
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java

       */
      public static ListeningScheduledExecutorService noOpScheduledExecutor() {
        return new NoOpScheduledExecutorService();
      }
    
      /**
       * Creates a scheduled executor service that runs each task in the thread that invokes {@code
       * execute/submit/schedule}, as in {@link CallerRunsPolicy}. This applies both to individually
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

       *     means the cause of the {@link ExecutionException} thrown by {@code this.get()} or, if
       *     {@code get()} throws a different kind of exception, that exception itself.
       * @param executor the executor that runs {@code fallback} if the input fails
       */
      @J2ktIncompatible
      @Partially.GwtIncompatible("AVAILABLE but requires exceptionType to be Throwable.class")
      public final <X extends Throwable> FluentFuture<V> catching(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  9. docs/features/interceptors.md

        .header("User-Agent", "OkHttp Example")
        .build();
    
    Response response = client.newCall(request).execute();
    response.body().close();
    ```
    
    When we run this code, the interceptor runs twice. Once for the initial request to `http://www.publicobject.com/helloworld.txt`, and another for the redirect to `https://publicobject.com/helloworld.txt`.
    
    ```
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/job/PythonJob.java

            stream(values).of(stream -> stream.forEach(argList::add));
            return this;
        }
    
        /**
         * Executes the Python script job.
         * Creates a session ID, sets up the execution environment, and runs the Python script
         * with the configured filename and arguments.
         *
         * @return a string containing the execution result and any error messages
         */
        @Override
        public String execute() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.2K bytes
    - Viewed (0)
Back to top