- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 4,189 for intA (0.07 sec)
-
guava-tests/test/com/google/common/primitives/IntArrayAsListTest.java
/** * Test suite covering {@link Ints#asList(int[])}. * * @author Kevin Bourrillion */ @GwtCompatible(emulated = true) @SuppressWarnings("cast") // redundant casts are intentional and harmless public class IntArrayAsListTest extends TestCase { private static List<Integer> asList(Integer[] values) { int[] temp = new int[values.length]; for (int i = 0; i < values.length; i++) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jun 01 09:32:35 UTC 2023 - 5.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeMultiset.java
+ aggregateAboveRange(aggr, node.left); } } @Override public int size() { return Ints.saturatedCast(aggregateForEntries(Aggregate.SIZE)); } @Override int distinctElements() { return Ints.saturatedCast(aggregateForEntries(Aggregate.DISTINCT)); } static int distinctElements(@CheckForNull AvlNode<?> node) { return (node == null) ? 0 : node.distinctElements; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 34.5K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/math/IntMathRoundingBenchmark.java
for (int i = 0; i < reps; i++) { int j = i & ARRAY_MASK; tmp += IntMath.log10(positive[j], mode); } return tmp; } @Benchmark int sqrt(int reps) { int tmp = 0; for (int i = 0; i < reps; i++) { int j = i & ARRAY_MASK; tmp += IntMath.sqrt(positive[j], mode); } return tmp; } @Benchmark int divide(int reps) { int tmp = 0;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.6K bytes - Viewed (0) -
android/guava/src/com/google/thirdparty/publicsuffix/TrieParser.java
* @return The number of characters consumed from {@code encoded}. */ private static int doParseTrieToBuilder( Deque<CharSequence> stack, CharSequence encoded, int start, ImmutableMap.Builder<String, PublicSuffixType> builder) { int encodedLen = encoded.length(); int idx = start; char c = '\0'; // Read all the characters for this node.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 13 19:20:43 UTC 2022 - 4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractMapBasedMultiset.java
@Override public final int setCount(@ParametricNullness E element, int count) { checkNonnegative(count, "count"); int oldCount = (count == 0) ? backingMap.remove(element) : backingMap.put(element, count); size += (count - oldCount); return oldCount; } @Override public final boolean setCount(@ParametricNullness E element, int oldCount, int newCount) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Mar 06 16:06:58 UTC 2023 - 8.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java
} /** * Asserts that a Unicode escaper escapes the given code point into the expected string. * * @param escaper the non-null escaper to test * @param expected the expected output string * @param cp the Unicode code point to escape */ public static void assertEscaping(UnicodeEscaper escaper, String expected, int cp) { String escaped = computeReplacement(escaper, cp);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jan 18 20:55:09 UTC 2022 - 3.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java
} /** * Asserts that a Unicode escaper escapes the given code point into the expected string. * * @param escaper the non-null escaper to test * @param expected the expected output string * @param cp the Unicode code point to escape */ public static void assertEscaping(UnicodeEscaper escaper, String expected, int cp) { String escaped = computeReplacement(escaper, cp);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jan 18 20:55:09 UTC 2022 - 3.8K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/math/IntMathBenchmark.java
*/ public class IntMathBenchmark { private static int[] exponent = new int[ARRAY_SIZE]; private static int[] factorial = new int[ARRAY_SIZE]; private static int[] binomial = new int[ARRAY_SIZE]; private static final int[] positive = new int[ARRAY_SIZE]; private static final int[] nonnegative = new int[ARRAY_SIZE]; private static final int[] ints = new int[ARRAY_SIZE]; @BeforeExperiment void setUp() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.2K bytes - Viewed (0) -
guava/src/com/google/common/hash/LittleEndianByteArray.java
* it slower than the native version. * * @param input the input bytes * @param offset the offset into the array at which to start reading * @param length the number of bytes from the input to read * @return a long of a concatenated 8 bytes */ static long load64Safely(byte[] input, int offset, int length) { long result = 0;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 9.8K bytes - Viewed (0) -
guava/src/com/google/common/hash/PrimitiveSink.java
PrimitiveSink putBytes(ByteBuffer bytes); /** Puts a short into this sink. */ @CanIgnoreReturnValue PrimitiveSink putShort(short s); /** Puts an int into this sink. */ @CanIgnoreReturnValue PrimitiveSink putInt(int i); /** Puts a long into this sink. */ @CanIgnoreReturnValue PrimitiveSink putLong(long l); /** Puts a float into this sink. */ @CanIgnoreReturnValue PrimitiveSink putFloat(float f);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 15 20:59:00 UTC 2022 - 3.9K bytes - Viewed (0)