Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for vs (0.12 sec)

  1. android/guava-tests/test/com/google/common/base/AsciiTest.java

        // Compare to: "\u00c1".equalsIgnoreCase("\u00e1") == true
        assertFalse(Ascii.equalsIgnoreCase("\u00c1", "\u00e1"));
        // Test chars just outside the alphabetic range ('A'-1 vs 'a'-1, 'Z'+1 vs 'z'+1)
        assertFalse(Ascii.equalsIgnoreCase("@", "`"));
        assertFalse(Ascii.equalsIgnoreCase("[", "{"));
      }
    
      @GwtIncompatible // String.toUpperCase() has browser semantics
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java

          }
    
          return mapGenerator.create(entries.toArray()).values();
        }
    
        @Override
        public V[] createArray(int length) {
          V[] vs =
              ((TestBiMapGenerator<K, V>) mapGenerator.getInnerGenerator()).createValueArray(length);
          return vs;
        }
    
        @Override
        public Iterable<V> order(List<V> insertionOrder) {
          return insertionOrder;
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/base/SplitterBenchmark.java

    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import com.google.common.collect.Iterables;
    
    /**
     * Microbenchmark for {@link Splitter#on} with char vs String with length == 1.
     *
     * @author Paul Lindner
     */
    public class SplitterBenchmark {
      // overall size of string
      @Param({"1", "10", "100", "1000"})
      int length;
      // Number of matching strings
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.7K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/base/SplitterBenchmark.java

    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import com.google.common.collect.Iterables;
    
    /**
     * Microbenchmark for {@link Splitter#on} with char vs String with length == 1.
     *
     * @author Paul Lindner
     */
    public class SplitterBenchmark {
      // overall size of string
      @Param({"1", "10", "100", "1000"})
      int length;
      // Number of matching strings
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/Fingerprint2011.java

        c += rotateRight(a, 7);
        a += load64(bytes, offset + length - 16);
        long wf = a + z;
        long ws = b + rotateRight(a, 31) + c;
        long r = shiftMix((vf + ws) * K2 + (wf + vs) * K0);
        return shiftMix(r * K0 + vs) * K2;
      }
    
      @VisibleForTesting
      static long murmurHash64WithSeed(byte[] bytes, int offset, int length, long seed) {
        long mul = K3;
        int topBit = 0x7;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Dec 28 17:50:25 GMT 2021
    - 6.5K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

      }
    
      Collection<V> values;
    
      @Override
      public Collection<V> values() {
        // does not impact recency ordering
        Collection<V> vs = values;
        return (vs != null) ? vs : (values = new Values(this));
      }
    
      Set<Entry<K, V>> entrySet;
    
      @Override
      public Set<Entry<K, V>> entrySet() {
        // does not impact recency ordering
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

        }
    
        @Override
        public V[] createArray(int length) {
          // noinspection UnnecessaryLocalVariable
          V[] vs = ((TestMapGenerator<K, V>) mapGenerator.getInnerGenerator()).createValueArray(length);
          return vs;
        }
    
        @Override
        public Iterable<V> order(List<V> insertionOrder) {
          List<Entry<K, V>> orderedEntries =
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/collect/SetContainsBenchmark.java

      // yet visit a variety of "values-relative-to-the-next-power-of-2"
      @Param({"5", "30", "180", "1100", "6900", "43000", "260000"}) // "1600000", "9800000"
      private int size;
    
      // TODO(kevinb): look at exact (==) hits vs. equals() hits?
      @Param({"0.2", "0.8"})
      private double hitRate;
    
      @Param("true")
      private boolean isUserTypeFast;
    
      // "" means no fixed seed
      @Param("")
      private SpecialRandom random;
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.4K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/collect/SetContainsBenchmark.java

      // yet visit a variety of "values-relative-to-the-next-power-of-2"
      @Param({"5", "30", "180", "1100", "6900", "43000", "260000"}) // "1600000", "9800000"
      private int size;
    
      // TODO(kevinb): look at exact (==) hits vs. equals() hits?
      @Param({"0.2", "0.8"})
      private double hitRate;
    
      @Param("true")
      private boolean isUserTypeFast;
    
      // "" means no fixed seed
      @Param("")
      private SpecialRandom random;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/math/StatsTest.java

          assertEquivalent(stats.min(), stream(array).min().getAsDouble());
          // static method on Stats vs on instance method on DoubleStream
          assertEquivalent(Stats.meanOf(array), stream(array).average().getAsDouble());
          // instance methods on Stats vs instance methods on DoubleSummaryStatistics
          DoubleSummaryStatistics streamStats = stream(array).summaryStatistics();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 32.1K bytes
    - Viewed (0)
Back to top