- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 2,068 for Tong (0.3 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) -
android/guava/src/com/google/common/math/DoubleMath.java
@GwtIncompatible // #roundIntermediate public static long roundToLong(double x, RoundingMode mode) { double z = roundIntermediate(x, mode); checkInRangeForRoundingInputs( MIN_LONG_AS_DOUBLE - z < 1.0 & z < MAX_LONG_AS_DOUBLE_PLUS_ONE, x, mode); return (long) z; } private static final double MIN_LONG_AS_DOUBLE = -0x1p63; /*
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 07 17:50:39 GMT 2024 - 18.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractEntity.java
public class DocMeta implements Serializable { private static final long serialVersionUID = 1L; protected String id; protected Long version; protected Long seqNo; protected Long primaryTerm; private transient RequestOptionCall<IndexRequestBuilder> indexOption;
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 10.9K 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-tests/benchmark/com/google/common/math/LongMathBenchmark.java
private static final long[] positive = new long[ARRAY_SIZE]; private static final long[] nonnegative = new long[ARRAY_SIZE]; private static final long[] longs = new long[ARRAY_SIZE]; @BeforeExperiment void setUp() { for (int i = 0; i < ARRAY_SIZE; i++) { exponents[i] = randomExponent(); positive[i] = randomPositiveBigInteger(Long.SIZE - 1).longValue();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 3.5K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/SingleThreadAbstractFutureBenchmark.java
} @Benchmark public long timeGetWith0Timeout(long reps) throws Exception { Facade<?> f = notDoneFuture; long r = 0; for (int i = 0; i < reps; i++) { try { f.get(0, TimeUnit.SECONDS); r += 1; } catch (TimeoutException e) { r += 2; } } return r; } @Benchmark
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jul 16 17:22:27 GMT 2019 - 3.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsJobLogCQ.java
regOBD("_id"); return this; } public void setEndTime_Equal(Long endTime) { setEndTime_Term(endTime, null); } public void setEndTime_Equal(Long endTime, ConditionOptionCall<TermQueryBuilder> opLambda) { setEndTime_Term(endTime, opLambda); } public void setEndTime_Term(Long endTime) { setEndTime_Term(endTime, null); }
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 71.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/SipHashFunctionTest.java
* * @author Kurt Alfred Kluever */ public class SipHashFunctionTest extends TestCase { // From https://131002.net/siphash/siphash24.c // k = 00 01 02 ... private static final long K0 = 0x0706050403020100L; private static final long K1 = 0x0f0e0d0c0b0a0908L; private static final HashFunction SIP_WITH_KEY = Hashing.sipHash24(K0, K1); private static final HashFunction SIP_WITHOUT_KEY = Hashing.sipHash24();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Sun May 05 18:02:35 GMT 2019 - 6.6K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheStats.java
@GwtCompatible @ElementTypesAreNonnullByDefault public final class CacheStats { private final long hitCount; private final long missCount; private final long loadSuccessCount; private final long loadExceptionCount; @SuppressWarnings("GoodTime") // should be a java.time.Duration private final long totalLoadTime; private final long evictionCount; /** * Constructs a new {@code CacheStats} instance. *
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Sun Aug 07 02:38:22 GMT 2022 - 12.6K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheStats.java
@GwtCompatible @ElementTypesAreNonnullByDefault public final class CacheStats { private final long hitCount; private final long missCount; private final long loadSuccessCount; private final long loadExceptionCount; @SuppressWarnings("GoodTime") // should be a java.time.Duration private final long totalLoadTime; private final long evictionCount; /** * Constructs a new {@code CacheStats} instance. *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Sun Aug 07 02:38:22 GMT 2022 - 12.6K bytes - Viewed (0)