- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for vs (0.17 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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 Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 5.5K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/MapBenchmark.java
} }; abstract Map<Element, Element> create(Collection<Element> contents); } @Param({"5", "50", "500", "5000", "50000"}) private int size; // TODO: look at exact (==) hits vs. equals() hits? @Param("0.9") 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: Wed Apr 26 20:07:17 GMT 2023 - 7.6K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java
// It really seems like this should be faster than TO_BYTE_ARRAY_NEW_STRING. But it just isn't // my best guess is that the jdk authors have spent more time optimizing that callpath than this // one. (StringCoding$StringDecoder vs. StreamDecoder). StringCoding has a ton of special cases // theoretically we could duplicate all that logic here to try to beat 'new String' or at least // come close. USING_DECODER_WITH_SIZE_HINT { @Override
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 5.2K bytes - Viewed (0)