Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 811 - 820 of 3,329 for new1 (0.02 seconds)

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

        this.maximumSizes = new LinkedHashSet<>(maximumSizes);
        return this;
      }
    
      @CanIgnoreReturnValue
      CacheBuilderFactory withExpireAfterWrites(Set<DurationSpec> durations) {
        this.expireAfterWrites = new LinkedHashSet<>(durations);
        return this;
      }
    
      @CanIgnoreReturnValue
      CacheBuilderFactory withExpireAfterAccesses(Set<DurationSpec> durations) {
        this.expireAfterAccesses = new LinkedHashSet<>(durations);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java

        }
    
        @SuppressWarnings("unchecked")
        @Override
        public K[] createKeyArray(int length) {
          return (K[]) new Object[length];
        }
    
        @SuppressWarnings("unchecked")
        @Override
        public V[] createValueArray(int length) {
          return (V[]) new Object[length];
        }
    
        @Override
        public TestSubjectGenerator<?> getInnerGenerator() {
          return generator;
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 6.8K bytes
    - Click Count (0)
  3. guava/src/com/google/common/base/CharMatcher.java

        public String replaceFrom(CharSequence sequence, char replacement) {
          char[] array = new char[sequence.length()];
          Arrays.fill(array, replacement);
          return new String(array);
        }
    
        @Override
        public String replaceFrom(CharSequence sequence, CharSequence replacement) {
          StringBuilder result = new StringBuilder(sequence.length() * replacement.length());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 54.4K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/math/LinearTransformation.java

          checkArgument(!Double.isNaN(slope));
          if (isFinite(slope)) {
            double yIntercept = y1 - x1 * slope;
            return new RegularLinearTransformation(slope, yIntercept);
          } else {
            return new VerticalLinearTransformation(x1);
          }
        }
      }
    
      /**
       * Builds an instance representing a vertical transformation with a constant value of {@code x}.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java

        this.nameFormat = nameFormat;
        return this;
      }
    
      /**
       * Sets daemon or not for new threads created with this ThreadFactory.
       *
       * <p><b>Java 21+ users:</b> use {@link Thread.Builder.OfPlatform#daemon(boolean)} instead.
       *
       * @param daemon whether or not new Threads created with this ThreadFactory will be daemon threads
       * @return this for the builder pattern
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Dec 29 17:36:00 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/crawler/transformer/FessFileTransformerTest.java

            FieldConfigs fieldConfigs = new FieldConfigs(params);
            final Map<String, Object> dataMap = Map.of(//
                    "foo", new String[] { "aaa", "bbb" }, //
                    "bar", new String[] { "ccc", "ddd" }, //
                    "baz", new String[] { "eee", "fff" });
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14.4K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/hash/SipHashFunctionTest.java

      // From https://github.com/BrandonHaynes/siphash-csharp/blob/master/tests/Tests.cs
      public void testKnownValues() {
        assertSip(new byte[] {}, 0x726fdb47dd0e0e31L);
        assertSip(new byte[] {0x61}, 0x2ba3e8e9a71148caL);
        assertSip(new byte[1000000], 0x28205108397aa742L);
        assertSip("12345678", 0x02130609caea37ebL);
        assertSip("abcdef", 0x2a6e77e733c7c05dL);
        assertSip("SipHash", 0x8325093242a96f60L);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/hash/SipHashFunctionTest.java

      // From https://github.com/BrandonHaynes/siphash-csharp/blob/master/tests/Tests.cs
      public void testKnownValues() {
        assertSip(new byte[] {}, 0x726fdb47dd0e0e31L);
        assertSip(new byte[] {0x61}, 0x2ba3e8e9a71148caL);
        assertSip(new byte[1000000], 0x28205108397aa742L);
        assertSip("12345678", 0x02130609caea37ebL);
        assertSip("abcdef", 0x2a6e77e733c7c05dL);
        assertSip("SipHash", 0x8325093242a96f60L);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/collect/MapsTest.java

      }
    
      public void testTreeMapDerived() {
        TreeMap<Derived, Integer> map = Maps.newTreeMap();
        assertEquals(emptyMap(), map);
        map.put(new Derived("foo"), 1);
        map.put(new Derived("bar"), 2);
        assertThat(map.keySet()).containsExactly(new Derived("bar"), new Derived("foo")).inOrder();
        assertThat(map.values()).containsExactly(2, 1).inOrder();
        assertThat(map.comparator()).isNull();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 63.2K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

          try {
            try {
              urls.add(new File(entry).toURI().toURL());
            } catch (SecurityException e) { // File.toURI checks to see if the file is a directory
              urls.add(new URL("file", null, new File(entry).getAbsolutePath()));
            }
          } catch (MalformedURLException e) {
            throw new AssertionError("malformed class path entry: " + entry, e);
          }
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 26 02:41:17 GMT 2026
    - 7.7K bytes
    - Click Count (0)
Back to Top