Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1541 - 1550 of 4,245 for get3 (0.16 seconds)

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

        Predicate<Throwable> predicate = INSTANCE_OF.get(expectedThrowable);
        if (predicate == null) {
          throw new IllegalArgumentException(
              expectedThrowable
                  + " is not yet supported by ReflectionFreeAssertThrows. Add an entry for it in the"
                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java

            futures.add(pool.submit(new MutateTask(multiset, keys)));
          }
    
          int[] deltas = new int[3];
          for (Future<int[]> future : futures) {
            int[] taskDeltas = future.get();
            for (int i = 0; i < deltas.length; i++) {
              deltas[i] += taskDeltas[i];
            }
          }
    
          List<Integer> actualCounts = transform(keys, multiset::count);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Dec 08 22:42:14 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  3. cmd/metrics-v3-cluster-usage.go

    //
    // This is a `MetricsLoaderFn`.
    func loadClusterUsageObjectMetrics(ctx context.Context, m MetricValues, c *metricsCache) error {
    	dataUsageInfo, err := c.dataUsageInfo.Get()
    	if err != nil {
    		metricsLogIf(ctx, err)
    		return nil
    	}
    
    	// data usage has not captured any data yet.
    	if dataUsageInfo.LastUpdate.IsZero() {
    		return nil
    	}
    
    	var (
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

          List<LockGraphNode> acquiredLockList = requireNonNull(acquiredLocks.get());
          LockGraphNode node = lock.getLockGraphNode();
          // Iterate in reverse because locks are usually locked/unlocked in a
          // LIFO order.
          for (int i = acquiredLockList.size() - 1; i >= 0; i--) {
            if (acquiredLockList.get(i) == node) {
              acquiredLockList.remove(i);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 11 17:06:34 GMT 2025
    - 35.9K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderRequest.java

        /**
         * Gets the path to the project to build.
         * This is typically the path to a pom.xml file or a directory containing a pom.xml file.
         *
         * @return an optional containing the path to the project, or empty if not specified
         */
        @Nonnull
        Optional<Path> getPath();
    
        /**
         * Gets the source of the project to build.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/opensearch/extension/analysis/SynonymLoader.java

                }
                reader = new StringReader(sb.toString());
            } else if (settings.get("synonyms_path") != null) {
                if (settings.getAsBoolean("dynamic_reload", false)) {
                    final String filePath = settings.get("synonyms_path", null);
    
                    if (filePath == null) {
                        throw new IllegalArgumentException("synonyms_path is not found.");
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Sun May 18 02:59:16 GMT 2025
    - 6.7K bytes
    - Click Count (1)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java

            } else {
                String current = ChecksumAlgorithmHelper.calculate(
                                src.getPath(), List.of(new Sha1ChecksumAlgorithmFactory()))
                        .get(Sha1ChecksumAlgorithmFactory.NAME);
                String existing = sourceState.get();
                if (!Files.exists(target) || !Objects.equals(current, existing)) {
                    pomArtifactTransformer.transform(project, session, src, target);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Nov 06 18:32:25 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/ListMultimapRemoveTester.java

      @CollectionSize.Require(SEVERAL)
      public void testMultimapRemoveDeletesFirstOccurrence() {
        resetContainer(mapEntry(k0(), v0()), mapEntry(k0(), v1()), mapEntry(k0(), v0()));
    
        List<V> list = multimap().get(k0());
        multimap().remove(k0(), v0());
        assertContentsInOrder(list, v1(), v0());
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(SEVERAL)
      public void testRemoveAtIndexFromGetPropagates() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3.7K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AbstractChainedListenableFutureTest.java

        listener = new MockFutureListener(resultFuture);
      }
    
      public void testFutureGetBeforeCallback() throws Exception {
        // Verify that get throws a timeout exception before the callback is called.
        assertThrows(TimeoutException.class, () -> resultFuture.get(1L, MILLISECONDS));
      }
    
      public void testFutureGetThrowsWrappedException() throws Exception {
        inputFuture.setException(EXCEPTION);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/SortedSetNavigationTester.java

        sort(values, sortedSet.comparator());
    
        // some tests assume SEVERAL == 3
        if (values.size() >= 1) {
          a = values.get(0);
          if (values.size() >= 3) {
            b = values.get(1);
            c = values.get(2);
          }
        }
      }
    
      @CollectionSize.Require(ZERO)
      public void testEmptySetFirst() {
        assertThrows(NoSuchElementException.class, () -> sortedSet.first());
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.3K bytes
    - Click Count (0)
Back to Top