- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 2,066 for Fong (0.2 sec)
-
android/guava/src/com/google/common/math/LongMath.java
} }; static boolean test(long base, long n) { // Since base will be considered % n, it's okay if base > FLOOR_SQRT_MAX_LONG, // so long as n <= FLOOR_SQRT_MAX_LONG. return ((n <= FLOOR_SQRT_MAX_LONG) ? SMALL : LARGE).testWitness(base, n); } /** Returns a * b mod m. */ abstract long mulMod(long a, long b, long m); /** Returns a^2 mod m. */
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 07 17:50:39 GMT 2024 - 44.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/ConverterTest.java
.addEqualityGroup(STR_TO_LONG, STR_TO_LONG.reverse().reverse()) .addEqualityGroup(STR_TO_LONG.reverse(), STR_TO_LONG.reverse()) .testEquals(); } public void testReverseReverse() { Converter<String, Long> converter = STR_TO_LONG; assertEquals(converter, converter.reverse().reverse()); } public void testApply() { assertEquals(LONG_VAL, STR_TO_LONG.apply(STR_VAL)); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Oct 06 17:02:33 GMT 2023 - 7.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/DiscreteDomain.java
} @Override @CheckForNull public Long previous(Long value) { long l = value; return (l == Long.MIN_VALUE) ? null : l - 1; } @Override Long offset(Long origin, long distance) { checkNonnegative(distance, "distance"); long result = origin + distance; if (result < 0) { checkArgument(origin < 0, "overflow"); }
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 10.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java
@Override protected List<Long> create(Long[] elements) { Long[] prefix = {Long.MIN_VALUE, Long.MAX_VALUE}; Long[] suffix = {86L, 99L}; Long[] all = concat(concat(prefix, elements), suffix); return makeArray(all).subArray(2, elements.length + 2).asList(); } } @J2ktIncompatible @GwtIncompatible // used only from suite private static Long[] concat(Long[] a, Long[] b) {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Jun 01 09:32:35 GMT 2023 - 20.2K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri May 14 22:05:11 GMT 2021 - 4.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/StatsTest.java
assertThat(LONG_MANY_VALUES_STATS_ITERATOR.sum()) .isWithin(ALLOWED_ERROR * LONG_MANY_VALUES_MEAN) .of(LONG_MANY_VALUES_MEAN * LONG_MANY_VALUES_COUNT); assertThat(LONG_MANY_VALUES_STATS_SNAPSHOT.sum()) .isWithin(ALLOWED_ERROR * LONG_MANY_VALUES_MEAN) .of(LONG_MANY_VALUES_MEAN * LONG_MANY_VALUES_COUNT); } public void testPopulationVariance() {
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) -
android/guava/src/com/google/common/hash/Murmur3_128HashFunction.java
protected void process(ByteBuffer bb) { long k1 = bb.getLong(); long k2 = bb.getLong(); bmix64(k1, k2); length += CHUNK_SIZE; } private void bmix64(long k1, long k2) { h1 ^= mixK1(k1); h1 = Long.rotateLeft(h1, 27); h1 += h2; h1 = h1 * 5 + 0x52dce729; h2 ^= mixK2(k2); h2 = Long.rotateLeft(h2, 31); h2 += h1;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Apr 20 18:43:59 GMT 2021 - 5.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/SearchRenderData.java
protected int pageSize; protected int currentPageNumber; protected long allRecordCount; protected String allRecordCountRelation; protected int allPageCount; protected boolean existNextPage; protected boolean existPrevPage; protected long currentStartRecordNumber; protected long currentEndRecordNumber; protected List<String> pageNumberList;
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 6.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java
@Override protected List<Long> create(Long[] elements) { Long[] prefix = {Long.MIN_VALUE, Long.MAX_VALUE}; Long[] suffix = {86L, 99L}; Long[] all = concat(concat(prefix, elements), suffix); return makeArray(all).subArray(2, elements.length + 2).asList(); } } @J2ktIncompatible @GwtIncompatible // used only from suite private static Long[] concat(Long[] a, Long[] b) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Jun 01 09:32:35 GMT 2023 - 19K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/DiscreteDomain.java
} @Override @CheckForNull public Long previous(Long value) { long l = value; return (l == Long.MIN_VALUE) ? null : l - 1; } @Override Long offset(Long origin, long distance) { checkNonnegative(distance, "distance"); long result = origin + distance; if (result < 0) { checkArgument(origin < 0, "overflow"); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 10.3K bytes - Viewed (0)