Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 3,515 for Avoid (0.05 sec)

  1. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

                  if (workerRunningState == RUNNING) {
                    // Don't want to have two workers pulling from the queue.
                    return;
                  } else {
                    // Increment the run counter to avoid the ABA problem of a submitter marking the
                    // thread as QUEUED after it already ran and exhausted the queue before returning
                    // from execute().
                    workerRunCount++;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/IntsTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testStringConverterSerialization() {
        SerializableTester.reserializeAndAssert(Ints.stringConverter());
      }
    
      public void testToArray() {
        // need explicit type parameter to avoid javac warning!?
        List<Integer> none = Arrays.<Integer>asList();
        assertThat(Ints.toArray(none)).isEqualTo(EMPTY);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableSortedMultiset.java

       * returns an {@code ImmutableSortedMultiset<Multiset<String>>} containing one element (the given
       * multiset itself).
       *
       * <p>Despite the method name, this method attempts to avoid actually copying the data when it is
       * safe to do so. The exact circumstances under which a copy will or will not be performed are
       * undocumented and subject to change.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/Shorts.java

       *
       * @since 23.1
       */
      public static void sortDescending(short[] array) {
        checkNotNull(array);
        sortDescending(array, 0, array.length);
      }
    
      /**
       * Sorts the elements of {@code array} between {@code fromIndex} inclusive and {@code toIndex}
       * exclusive in descending order.
       *
       * @since 23.1
       */
      public static void sortDescending(short[] array, int fromIndex, int toIndex) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/primitives/Shorts.java

       *
       * @since 23.1
       */
      public static void sortDescending(short[] array) {
        checkNotNull(array);
        sortDescending(array, 0, array.length);
      }
    
      /**
       * Sorts the elements of {@code array} between {@code fromIndex} inclusive and {@code toIndex}
       * exclusive in descending order.
       *
       * @since 23.1
       */
      public static void sortDescending(short[] array, int fromIndex, int toIndex) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/eventbus/Dispatcher.java

        /** Per-thread dispatch state, used to avoid reentrant event dispatching. */
        @SuppressWarnings("ThreadLocalUsage") // Each Dispatcher needs its own state.
        private final ThreadLocal<Boolean> dispatching =
            new ThreadLocal<Boolean>() {
              @Override
              protected Boolean initialValue() {
                return false;
              }
            };
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/query/QueryTestBase.java

        }
    
        /**
         * Override this method in child classes to perform additional setup
         */
        protected void setUpChild() throws Exception {
            // Default implementation does nothing
        }
    
        /**
         * Creates and registers a properly initialized FessConfig
         */
        protected void setupBaseFessConfig() {
            ComponentUtil.setFessConfig(createBaseFessConfig());
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

     * AbstractFutureTest test methods in these degenerate classloaders.
     */
    
    @NullUnmarked
    public class AbstractFutureFallbackAtomicHelperTest extends TestCase {
    
      // stash these in static fields to avoid loading them over and over again (speeds up test
      // execution significantly)
    
      /**
       * This classloader disallows {@link java.lang.invoke.VarHandle}, which will prevent us from
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/rdma/RdmaBufferManager.java

         */
        public void releaseBuffer(ByteBuffer buffer) {
            // For direct buffers, we rely on GC
            // Could implement a more sophisticated buffer pool here
        }
    
        /**
         * Clean up all pooled regions
         *
         * This method should be called when shutting down to
         * release all resources.
         */
        public void cleanup() {
            // Clean up all pooled regions
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

      }
    
      public void testAvoidsStackOverflow_alternatingCancelledAndSubmitted() throws Exception {
        SettableFuture<@Nullable Void> settableFuture = SettableFuture.create();
        ListenableFuture<@Nullable Void> unused =
            serializer.submitAsync(
                new AsyncCallable<@Nullable Void>() {
                  @Override
                  public ListenableFuture<@Nullable Void> call() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 20:58:01 UTC 2025
    - 16.1K bytes
    - Viewed (0)
Back to top