- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 89 for yLongs (0.04 seconds)
-
guava-tests/benchmark/com/google/common/math/LessThanBenchmark.java
int[] xInts; int[] yInts; long[] xLongs; long[] yLongs; int[] constant; private static final long NONNEGATIVE_LONG_MASK = 0x7FFFFFFFFFFFFFFFL; @BeforeExperiment void setUp() { Random random = new Random(randomSeed); xInts = new int[SAMPLE_SIZE]; yInts = new int[SAMPLE_SIZE]; xLongs = new long[SAMPLE_SIZE]; yLongs = new long[SAMPLE_SIZE]; constant = new int[SAMPLE_SIZE];
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 4.1K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/math/LessThanBenchmark.java
int[] xInts; int[] yInts; long[] xLongs; long[] yLongs; int[] constant; private static final long NONNEGATIVE_LONG_MASK = 0x7FFFFFFFFFFFFFFFL; @BeforeExperiment void setUp() { Random random = new Random(randomSeed); xInts = new int[SAMPLE_SIZE]; yInts = new int[SAMPLE_SIZE]; xLongs = new long[SAMPLE_SIZE]; yLongs = new long[SAMPLE_SIZE]; constant = new int[SAMPLE_SIZE];
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 4.1K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Longs.java
* href="https://github.com/google/guava/wiki/PrimitivesExplained">primitive utilities</a>. * * @author Kevin Bourrillion * @since 1.0 */ @GwtCompatible public final class Longs { private Longs() {} /** * The number of bytes required to represent a primitive {@code long} value. * * <p>Prefer {@link Long#BYTES} instead. */ public static final int BYTES = Long.BYTES; /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Oct 22 18:14:49 GMT 2025 - 29K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java
@BeforeExperiment void setUp() { for (int i = 0; i < ARRAY_SIZE; i++) { longs[i] = random(); divisors[i] = randomDivisor(longs[i]); decimalStrings[i] = UnsignedLongs.toString(longs[i]); binaryStrings[i] = UnsignedLongs.toString(longs[i], 2); hexStrings[i] = UnsignedLongs.toString(longs[i], 16); prefixedHexStrings[i] = "0x" + hexStrings[i]; } } @Benchmark
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 28 01:26:26 GMT 2024 - 4.4K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java
// Java 2nd Edition Item 76: Write readObject methods defensively. private transient AtomicLongArray longs; /** * Creates a new {@code AtomicDoubleArray} of the given length, with all elements initially zero. * * @param length the length of the array */ public AtomicDoubleArray(int length) { this.longs = new AtomicLongArray(length); } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 8.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/LongsTest.java
assertThat(Longs.lastIndexOf(ARRAY1, 2L)).isEqualTo(-1); assertThat(Longs.lastIndexOf(ARRAY234, 1L)).isEqualTo(-1); assertThat(Longs.lastIndexOf(new long[] {-1L}, -1L)).isEqualTo(0); assertThat(Longs.lastIndexOf(ARRAY234, 2L)).isEqualTo(0); assertThat(Longs.lastIndexOf(ARRAY234, 3L)).isEqualTo(1); assertThat(Longs.lastIndexOf(ARRAY234, 4L)).isEqualTo(2);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 28.8K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java
@BeforeExperiment void setUp() { for (int i = 0; i < ARRAY_SIZE; i++) { longs[i] = random(); divisors[i] = randomDivisor(longs[i]); decimalStrings[i] = UnsignedLongs.toString(longs[i]); binaryStrings[i] = UnsignedLongs.toString(longs[i], 2); hexStrings[i] = UnsignedLongs.toString(longs[i], 16); prefixedHexStrings[i] = "0x" + hexStrings[i]; } } @Benchmark
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 28 01:26:26 GMT 2024 - 4.4K bytes - Click Count (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild.minify.gradle.kts
// For build operation listener and logging "it.unimi.dsi.fastutil.longs.LongSet", "it.unimi.dsi.fastutil.longs.LongOpenHashSet", "it.unimi.dsi.fastutil.longs.LongSets", // For dependency management "it.unimi.dsi.fastutil.longs.Long2ObjectMap", "it.unimi.dsi.fastutil.longs.Long2ObjectMaps", "it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap", // For the configuration cache moduleCreated: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 12 18:27:10 GMT 2026 - 5.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/LongArrayAsListTest.java
ListTestSuiteBuilder.using(new LongsAsListTailSubListGenerator()) .named("Longs.asList, tail subList"), ListTestSuiteBuilder.using(new LongsAsListMiddleSubListGenerator()) .named("Longs.asList, middle subList")); TestSuite suite = new TestSuite(); for (ListTestSuiteBuilder<Long> builder : builders) { suite.addTest( builder
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/DiscreteDomainTest.java
assertEquals(1, DiscreteDomain.longs().offset(0L, 1).longValue()); assertEquals(Long.MAX_VALUE, DiscreteDomain.longs().offset(0L, Long.MAX_VALUE).longValue()); } public void testLongsOffsetExceptions() { assertThrows(IllegalArgumentException.class, () -> DiscreteDomain.longs().offset(0L, -1)); assertThrows( IllegalArgumentException.class, () -> DiscreteDomain.longs().offset(Long.MAX_VALUE, 1)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.7K bytes - Click Count (0)