Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 83 for rdeps (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java

        return striped;
      }
    
      @Benchmark
      long timeConstruct(long reps) {
        long rvalue = 0;
        int numStripesLocal = numStripes;
        Impl implLocal = impl;
        for (long i = 0; i < reps; i++) {
          rvalue += implLocal.get(numStripesLocal).hashCode();
        }
        return rvalue;
      }
    
      @Benchmark
      long timeGetAt(long reps) {
        long rvalue = 0;
        int[] stripesLocal = stripes;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 4K bytes
    - Click Count (0)
  2. android/guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java

        return striped;
      }
    
      @Benchmark
      long timeConstruct(long reps) {
        long rvalue = 0;
        int numStripesLocal = numStripes;
        Impl implLocal = impl;
        for (long i = 0; i < reps; i++) {
          rvalue += implLocal.get(numStripesLocal).hashCode();
        }
        return rvalue;
      }
    
      @Benchmark
      long timeGetAt(long reps) {
        long rvalue = 0;
        int[] stripesLocal = stripes;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 4K bytes
    - Click Count (0)
  3. android/guava-tests/benchmark/com/google/common/base/StopwatchBenchmark.java

      @Benchmark
      long stopwatch(int reps) {
        long total = 0;
        for (int i = 0; i < reps; i++) {
          Stopwatch s = Stopwatch.createStarted();
          // here is where you would do something
          total += s.elapsed(NANOSECONDS);
        }
        return total;
      }
    
      @Benchmark
      long manual(int reps) {
        long total = 0;
        for (int i = 0; i < reps; i++) {
          long start = System.nanoTime();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  4. android/guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

        requests.set(0);
        misses.set(0);
      }
    
      @Benchmark
      int time(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          dummy += cache.getUnchecked(nextRandomKey());
        }
        requests.addAndGet(reps);
        return dummy;
      }
    
      private int nextRandomKey() {
        int a = random.nextInt(max);
    
        /*
    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)
  5. guava-tests/benchmark/com/google/common/base/SplitterBenchmark.java

      }
    
      @Benchmark
      int charSplitter(int reps) {
        int total = 0;
    
        for (int i = 0; i < reps; i++) {
          total += Iterables.size(CHAR_SPLITTER.split(input));
        }
    
        return total;
      }
    
      @Benchmark
      int stringSplitter(int reps) {
        int total = 0;
    
        for (int i = 0; i < reps; i++) {
          total += Iterables.size(STRING_SPLITTER.split(input));
        }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java

                    List<Dependency> deps = new ArrayList<>();
    
                    Plugin existing = plugins.get(key);
                    if (existing != null) {
                        if (version == null) {
                            version = existing.getVersion();
                        }
                        execs.addAll(existing.getExecutions());
                        deps.addAll(existing.getDependencies());
                    }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  7. impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java

            MojoExecution exec = newMojoExecution();
    
            Artifact depArtifact = createArtifact("group", "artifact", "1");
    
            List<Artifact> deps = new ArrayList<>();
            deps.add(depArtifact);
    
            exec.getMojoDescriptor().getPluginDescriptor().setArtifacts(deps);
    
            MavenSession session = newMavenSession();
    
            @SuppressWarnings("unchecked")
            List<Artifact> depResults =
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Mar 26 19:31:34 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  8. android/guava-tests/benchmark/com/google/common/collect/HashMultisetAddPresentBenchmark.java

          multisets.add(multiset);
          queries[i] = random.nextInt();
          multiset.add(queries[i]);
        }
      }
    
      @Benchmark
      int add(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
          tmp += multisets.get(j).add(queries[j], 4);
        }
        return tmp;
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/project/artifact/DefaultProjectArtifactsCache.java

                version = project.getVersion();
    
                Set<String> deps = new LinkedHashSet<>();
                if (project.getDependencyArtifacts() != null) {
                    for (Artifact dep : project.getDependencyArtifacts()) {
                        deps.add(dep.toString());
                    }
                }
                dependencyArtifacts = Collections.unmodifiableSet(deps);
    
                workspace = RepositoryUtils.getWorkspace(session);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  10. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java

            ArtifactDescriptorResult result = system.readArtifactDescriptor(session, request);
    
            List<Dependency> deps = result.getDependencies();
            assertEquals(2, deps.size());
            checkUtSimpleArtifactDependencies(deps.get(0), deps.get(1));
        }
    
        /**
         * check ut.simple:artifact:1.0 dependencies
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 9.5K bytes
    - Click Count (0)
Back to Top