- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 950 for integers (0.16 sec)
-
src/encoding/gob/doc.go
struct { } // no field names in common struct { C, D int } // no field names in common Integers are transmitted two ways: arbitrary precision signed integers or arbitrary precision unsigned integers. There is no int8, int16 etc. discrimination in the gob format; there are only signed and unsigned integers. As described below, the transmitter sends the value in a variable-length encoding;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 20:22:45 UTC 2024 - 17.1K bytes - Viewed (0) -
guava/src/com/google/common/math/IntMath.java
*/ public static int floorPowerOfTwo(int x) { checkPositive("x", x); return Integer.highestOneBit(x); } /** * Returns {@code true} if {@code x} represents a power of two. * * <p>This differs from {@code Integer.bitCount(x) == 1}, because {@code * Integer.bitCount(Integer.MIN_VALUE) == 1}, but {@link Integer#MIN_VALUE} is not a power of two. */ public static boolean isPowerOfTwo(int x) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 07 17:50:39 UTC 2024 - 23.5K bytes - Viewed (0) -
android/guava/src/com/google/common/math/IntMath.java
*/ public static int floorPowerOfTwo(int x) { checkPositive("x", x); return Integer.highestOneBit(x); } /** * Returns {@code true} if {@code x} represents a power of two. * * <p>This differs from {@code Integer.bitCount(x) == 1}, because {@code * Integer.bitCount(Integer.MIN_VALUE) == 1}, but {@link Integer#MIN_VALUE} is not a power of two. */ public static boolean isPowerOfTwo(int x) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 07 17:50:39 UTC 2024 - 23.5K bytes - Viewed (0) -
guava/src/com/google/common/primitives/UnsignedLongs.java
/** * Sorts the array, treating its elements as unsigned 64-bit integers. * * @since 23.1 */ public static void sort(long[] array) { checkNotNull(array); sort(array, 0, array.length); } /** * Sorts the array between {@code fromIndex} inclusive and {@code toIndex} exclusive, treating its * elements as unsigned 64-bit integers. * * @since 23.1 */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 17.6K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedLongs.java
/** * Sorts the array, treating its elements as unsigned 64-bit integers. * * @since 23.1 */ public static void sort(long[] array) { checkNotNull(array); sort(array, 0, array.length); } /** * Sorts the array between {@code fromIndex} inclusive and {@code toIndex} exclusive, treating its * elements as unsigned 64-bit integers. * * @since 23.1 */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 17.6K bytes - Viewed (0) -
platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/deps/ClassSetAnalysisData.java
* Gets the accessible, inlineable constants of the given class. */ public IntSet getConstants(String className) { IntSet integers = classesToConstants.get(className); if (integers == null) { return IntSets.EMPTY_SET; } return integers; } public static class Serializer extends AbstractSerializer<ClassSetAnalysisData> {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 15:22:57 UTC 2024 - 15.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/JoinerTest.java
private static class IterableIterator implements Iterable<Integer>, Iterator<Integer> { private static final ImmutableSet<Integer> INTEGERS = ImmutableSet.of(1, 2, 3, 4); private final Iterator<Integer> iterator; public IterableIterator() { this.iterator = iterator(); } @Override public Iterator<Integer> iterator() { return INTEGERS.iterator(); } @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Feb 09 15:49:48 UTC 2024 - 12.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/JoinerTest.java
private static class IterableIterator implements Iterable<Integer>, Iterator<Integer> { private static final ImmutableSet<Integer> INTEGERS = ImmutableSet.of(1, 2, 3, 4); private final Iterator<Integer> iterator; public IterableIterator() { this.iterator = iterator(); } @Override public Iterator<Integer> iterator() { return INTEGERS.iterator(); } @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Feb 09 15:49:48 UTC 2024 - 12.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java
@Override protected SortedSet<Integer> create(Integer[] elements) { return checkedCreate(nullCheckedTreeSet(elements)); } } public static class ContiguousSetHeadsetGenerator extends AbstractContiguousSetGenerator { @Override protected SortedSet<Integer> create(Integer[] elements) { SortedSet<Integer> set = nullCheckedTreeSet(elements);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 15.5K bytes - Viewed (0) -
android/guava/src/com/google/common/math/BigIntegerMath.java
BigInteger halfSquare = sqrtFloor.pow(2).add(sqrtFloor); /* * We wish to test whether or not x <= (sqrtFloor + 0.5)^2 = halfSquare + 0.25. Since both x * and halfSquare are integers, this is equivalent to testing whether or not x <= * halfSquare. */ return (halfSquare.compareTo(x) >= 0) ? sqrtFloor : sqrtFloor.add(BigInteger.ONE); default:
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 07 17:50:39 UTC 2024 - 18.9K bytes - Viewed (0)