- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 1,010 for Long (0.02 seconds)
-
guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 12.8K bytes - Click Count (0) -
src/main/java/jcifs/util/SmbCircuitBreaker.java
private final long totalRequests; private final long totalFailures; private final double failureRate; private final long averageResponseTime; private final long minResponseTime; private final long maxResponseTime; public WindowMetrics(long totalRequests, long totalFailures, double failureRate, long averageResponseTime, long minResponseTime,Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 33.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java
} public void testAddAndGet() { AtomicLongMap<String> map = AtomicLongMap.create(); String key = "key"; long addend = random.nextInt(MAX_ADDEND); for (int i = 0; i < ITERATIONS; i++) { long before = map.get(key); long result = map.addAndGet(key, addend); long after = map.get(key); assertEquals(before + addend, after); assertEquals(after, result); addend = after; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 17.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java
@Test public void test_getTimeAdjustTimeMillisAsLong_values() { Long[] testValues = { 0L, 1L, -1L, 1000L, -1000L, 60000L, -60000L, 3600000L, -3600000L, Long.MAX_VALUE, Long.MIN_VALUE }; for (Long value : testValues) { FessConfig testConfig = new FessConfig.SimpleImpl() { private static final long serialVersionUID = 1L; @OverrideCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/LongsTest.java
testRotate(new long[] {1}, -2, new long[] {1}); testRotate(new long[] {1}, -1, new long[] {1}); testRotate(new long[] {1}, 0, new long[] {1}); testRotate(new long[] {1}, 1, new long[] {1}); testRotate(new long[] {1}, 2, new long[] {1}); testRotate(new long[] {1, 2}, -3, new long[] {2, 1}); testRotate(new long[] {1, 2}, -1, new long[] {2, 1}); testRotate(new long[] {1, 2}, -2, new long[] {1, 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/src/com/google/common/hash/BloomFilterStrategies.java
*/ public static long[] toPlainArray(AtomicLongArray atomicLongArray) { long[] array = new long[atomicLongArray.length()]; for (int i = 0; i < array.length; ++i) { array[i] = atomicLongArray.get(i); } return array; } /** Number of bits */ long bitSize() { return (long) data.length() * Long.SIZE; } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 10.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/AllocInfoTest.java
static class TestAllocInfo implements AllocInfo { private final long capacity; private final long free; private byte fileSystemInformationClass = FS_SIZE_INFO; TestAllocInfo(long capacity, long free) { this.capacity = capacity; this.free = free; } TestAllocInfo(long capacity, long free, byte fileSystemInformationClass) { this.capacity = capacity;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.8K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/UnsignedLongs.java
* 0} and {@code 2^64 - 1} inclusive. * * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated; use the * equivalent {@link Long#compareUnsigned(long, long)} method instead. * * @param a the first unsigned {@code long} to compare * @param b the second unsigned {@code long} to compareCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jan 05 22:13:21 GMT 2026 - 17.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/DiscreteDomain.java
} @Override public @Nullable 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"); } return result; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 10.4K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/LittleEndianByteArray.java
@Override public long getLongLittleEndian(byte[] array, int offset) { long bigEndian = theUnsafe.getLong(array, (long) offset + BYTE_ARRAY_BASE_OFFSET); // The hardware is big-endian, so we need to reverse the order of the bytes. return Long.reverseBytes(bigEndian); } @Override public void putLongLittleEndian(byte[] array, int offset, long value) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 10.1K bytes - Click Count (0)