- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 2,082 for ulong (0.07 sec)
-
android/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; }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 13 14:28:25 UTC 2024 - 17.4K bytes - Viewed (0) -
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; } /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 10.7K 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) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Jun 01 09:32:35 UTC 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"); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 10.3K bytes - Viewed (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; }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 13 14:28:25 UTC 2024 - 17.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java
public void testCheckedCast() { for (long value : UNSIGNED_INTS) { assertThat(UnsignedInts.toLong(UnsignedInts.checkedCast(value))).isEqualTo(value); } assertCastFails(1L << 32); assertCastFails(-1L); assertCastFails(Long.MAX_VALUE); assertCastFails(Long.MIN_VALUE); } private static void assertCastFails(long value) { try { UnsignedInts.checkedCast(value);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 06 16:10:08 UTC 2024 - 12.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java
/** Invokes {@code unit.}{@link TimeUnit#sleep(long) sleep(sleepFor)} uninterruptibly. */ @J2ktIncompatible @GwtIncompatible // concurrency @SuppressWarnings("GoodTime") // should accept a java.time.Duration public static void sleepUninterruptibly(long sleepFor, TimeUnit unit) { boolean interrupted = false; try { long remainingNanos = unit.toNanos(sleepFor); long end = System.nanoTime() + remainingNanos;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 04 09:45:04 UTC 2023 - 14.4K bytes - Viewed (0) -
platforms/core-runtime/cli/src/test/groovy/org/gradle/cli/CommandLineParserTest.groovy
result.option('long-option-a').values == ['arg'] } def parsesLongOptionWithEqualsArgument() { parser.option('long-option-a').hasArgument() expect: def result = parser.parse(['--long-option-a=arg']) result.hasOption('long-option-a') result.option('long-option-a').value == 'arg' result.option('long-option-a').values == ['arg']
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:00:57 UTC 2023 - 20.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/user/cbean/cq/bs/BsGroupCQ.java
return this; } public void setGidNumber_Equal(Long gidNumber) { setGidNumber_Term(gidNumber, null); } public void setGidNumber_Equal(Long gidNumber, ConditionOptionCall<TermQueryBuilder> opLambda) { setGidNumber_Term(gidNumber, opLambda); } public void setGidNumber_Term(Long gidNumber) { setGidNumber_Term(gidNumber, null); }
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 20K bytes - Viewed (0) -
src/math/big/natdiv.go
multiplication, along with a few n-digit additions and subtractions. The standard n-by-n-digit multiplication algorithm requires O(n²) time, making the overall algorithm require time T(n) where T(n) = 2T(n/2) + O(n) + O(n²) which, by the Bentley-Haken-Saxe theorem, ends up reducing to T(n) = O(n²). This is not an improvement over regular long division.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 14 17:02:38 UTC 2024 - 34.4K bytes - Viewed (0)