Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for deletion (0.18 sec)

  1. guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java

            });
        assertTrue(1 >= cache.size());
      }
    
      public void testCompute() {
        cache.put(key, "1");
        // simultaneous deletion
        doParallelCacheOp(
            count,
            n -> {
              cache.asMap().compute(key, (k, v) -> null);
            });
        assertEquals(0, cache.size());
      }
    
      public void testComputeWithLoad() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

          }
        },
    
        /**
         * Disables cycle detection. This option causes the factory to return unmodified lock
         * implementations provided by the JDK, and is provided to allow applications to easily
         * parameterize when cycle detection is enabled.
         *
         * <p>Note that locks created by a factory with this policy will not participate the
         * cycle detection performed by locks created by other factories.
         */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/Quantiles.java

          int[] allRequired, int requiredFrom, int requiredTo, double[] array, int from, int to) {
        // Choose the first selection to do...
        int requiredChosen = chooseNextSelection(allRequired, requiredFrom, requiredTo, from, to);
        int required = allRequired[requiredChosen];
    
        // ...do the first selection...
        selectInPlace(required, array, from, to);
    
        // ...then recursively perform the selections in the range below...
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ReverseNaturalOrdering.java

      }
    
      @Override
      public <S extends Comparable<?>> Ordering<S> reverse() {
        return Ordering.natural();
      }
    
      // Override the min/max methods to "hoist" delegation outside loops
    
      @Override
      public <E extends Comparable<?>> E min(E a, E b) {
        return NaturalOrdering.INSTANCE.max(a, b);
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sun Jun 20 14:22:42 GMT 2021
    - 2.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java

     * strategies.
     *
     * <ul>
     *   <li>SafeAtomicHelper: uses Atomic FieldsUpdaters to implement synchronization
     *   <li>SynchronizedHelper: uses {@code synchronized} blocks for synchronization
     * </ul>
     *
     * To force selection of our fallback strategies we load {@link AggregateFutureState} (and all of
     * {@code com.google.common.util.concurrent}) in degenerate class loaders which make certain
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.9K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/internal/impl/PathModularizationCache.java

                    } else if (unknown) {
                        // More than one filtered value, and we don't know how to handle at least one of them.
                        // TODO: add a plugin mechanism for allowing plugin to specify their selection algorithm.
                        return Optional.empty();
                    }
                }
            }
            if (classes & modules) {
                selected = getPathType(path);
            }
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractEntity.java

        @Override
        public String toStringWithRelation() { // #pending
            return toString();
        }
    
        @Override
        public String buildDisplayString(String name, boolean column, boolean relation) { // #pending
            return toString();
        }
    
        // ===================================================================================
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java

                final SearchHits searchHits = searchResponse.getHits();
                builder.allRecordCount(searchHits.getTotalHits().value);
                builder.allRecordCountRelation(searchHits.getTotalHits().relation.toString());
                builder.queryTime(searchResponse.getTook().millis());
    
                if (searchResponse.getTotalShards() != searchResponse.getSuccessfulShards()) {
                    builder.partialResults(true);
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/project/ProjectSorter.java

         * </ul>
         * @throws DuplicateProjectException if any projects are duplicated by id
         */
        // MAVENAPI FIXME: the DAG used is NOT only used to represent the dependency relation,
        // but also for <parent>, <build><plugin>, <reports>. We need multiple DAG's
        // since a DAG can only handle 1 type of relationship properly.
        // Use case:  This is detected as a cycle:
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Sep 22 06:02:04 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/TimeLimiter.java

    public interface TimeLimiter {
    
      /**
       * Returns an instance of {@code interfaceType} that delegates all method calls to the {@code
       * target} object, enforcing the specified time limit on each call. This time-limited delegation
       * is also performed for calls to {@link Object#equals}, {@link Object#hashCode}, and {@link
       * Object#toString}.
       *
       * <p>If the target method call finishes before the limit is reached, the return value or
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 18:32:03 GMT 2023
    - 8.3K bytes
    - Viewed (0)
Back to top