Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2531 - 2540 of 5,478 for newA (0.06 seconds)

  1. guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java

          } catch (NoSuchAlgorithmException e) {
            throw new AssertionError(e);
          }
        }
    
        HashFunction getHashFunction() {
          return hashFn;
        }
      }
    
      // Use a constant seed for all of the benchmarks to ensure apples to apples comparisons.
      private static final int RANDOM_SEED = new Random().nextInt();
    
      private byte[] testBytes;
    
      @BeforeExperiment
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/SortedSetMultimapTestSuiteBuilder.java

        Set<Feature<?>> features = computeMultimapAsMapGetFeatures(parentBuilder.getFeatures());
        if (Collections.disjoint(features, EnumSet.allOf(CollectionSize.class))) {
          return new TestSuite();
        } else {
          return SortedSetTestSuiteBuilder.using(
                  new SetMultimapTestSuiteBuilder.MultimapAsMapGetGenerator<K, V>(
                      parentBuilder.getSubjectGenerator()))
              .withFeatures(features)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 30 16:15:19 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  3. android/guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java

          } catch (NoSuchAlgorithmException e) {
            throw new AssertionError(e);
          }
        }
    
        HashFunction getHashFunction() {
          return hashFn;
        }
      }
    
      // Use a constant seed for all of the benchmarks to ensure apples to apples comparisons.
      private static final int RANDOM_SEED = new Random().nextInt();
    
      private byte[] testBytes;
    
      @BeforeExperiment
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectRealmCache.java

            public String toString() {
                return extensionRealms.toString();
            }
        }
    
        protected final Map<Key, CacheRecord> cache = new ConcurrentHashMap<>();
    
        @Override
        public Key createKey(List<? extends ClassRealm> extensionRealms) {
            return new CacheKey(extensionRealms);
        }
    
        @Override
        public CacheRecord get(Key key) {
            return cache.get(key);
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  5. src/test/java/jcifs/SmbTransportPoolTest.java

                // When - simulate concurrent requests
                Thread thread1 = new Thread(() -> transportPool.getSmbTransport(context, address, DEFAULT_PORT, false));
                Thread thread2 = new Thread(() -> transportPool.getSmbTransport(context, address, DEFAULT_PORT, true));
    
                thread1.start();
                thread2.start();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  6. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/DefaultSettingsWriter.java

            Objects.requireNonNull(settings, "settings cannot be null");
    
            try (Writer out = output) {
                new SettingsStaxWriter().write(out, settings.getDelegate());
            } catch (XMLStreamException e) {
                throw new IOException("Error writing settings", e);
            }
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/project/ReactorModelPool.java

     */
    class ReactorModelPool {
    
        private final Map<CacheKey, File> pomFiles = new HashMap<>();
    
        public File get(String groupId, String artifactId, String version) {
            return pomFiles.get(new CacheKey(groupId, artifactId, version));
        }
    
        public void put(String groupId, String artifactId, String version, File pomFile) {
            pomFiles.put(new CacheKey(groupId, artifactId, version), pomFile);
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  8. guava-tests/benchmark/com/google/common/collect/ComparatorDelegationOverheadBenchmark.java

     */
    @NullUnmarked
    public class ComparatorDelegationOverheadBenchmark {
      private final Integer[][] inputArrays = new Integer[0x100][];
    
      @Param({"10000"})
      int n;
    
      @BeforeExperiment
      void setUp() throws Exception {
        Random rng = new Random();
        for (int i = 0; i < 0x100; i++) {
          Integer[] array = new Integer[n];
          for (int j = 0; j < n; j++) {
            array[j] = rng.nextInt();
          }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/BuildableDOMCategory.groovy

            DomBuilder builder = new DomBuilder(parent)
            cl.delegate = builder
            cl.call()
            return builder.elements[0]
        }
    
        public static void leftShift(Node parent, Node node) {
            parent.appendChild(parent.ownerDocument.importNode(node, true))
        }
    
        public static void addFirst(Node parent, Closure cl) {
            DomBuilder builder = new DomBuilder(parent.ownerDocument, null)
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Aug 11 15:32:19 GMT 2022
    - 2.8K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/EnumBiMapTest.java

          return new Currency[length];
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      @AndroidIncompatible // test-suite builders
      public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTest(
            BiMapTestSuiteBuilder.using(new EnumBiMapGenerator())
                .named("EnumBiMap")
                .withFeatures(
                    CollectionSize.ANY,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 11.9K bytes
    - Click Count (0)
Back to Top