- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 202 for Ints (0.02 seconds)
-
guava-tests/test/com/google/common/math/QuantilesTest.java
import com.google.common.collect.ImmutableMap; import com.google.common.collect.Ordering; import com.google.common.math.Quantiles.ScaleAndIndexes; import com.google.common.primitives.Doubles; import com.google.common.primitives.Ints; import com.google.common.primitives.Longs; import com.google.common.truth.Correspondence; import com.google.common.truth.Correspondence.BinaryPredicate; import java.util.ArrayList; import java.util.Collections;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 29.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/math/QuantilesTest.java
import com.google.common.collect.ImmutableMap; import com.google.common.collect.Ordering; import com.google.common.math.Quantiles.ScaleAndIndexes; import com.google.common.primitives.Doubles; import com.google.common.primitives.Ints; import com.google.common.primitives.Longs; import com.google.common.truth.Correspondence; import com.google.common.truth.Correspondence.BinaryPredicate; import java.util.ArrayList; import java.util.Collections;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 29.8K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/SampleElements.java
public Enums() { // elements aren't sorted, to better test SortedSet iteration ordering super(AnEnum.B, AnEnum.A, AnEnum.C, AnEnum.D, AnEnum.E); } } public static class Ints extends SampleElements<Integer> { public Ints() { // elements aren't sorted, to better test SortedSet iteration ordering super(1, 0, 2, 3, 4); } } public static <K extends @Nullable Object, V extends @Nullable Object>
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 4.2K bytes - Click Count (0) -
android/guava/src/com/google/common/math/Quantiles.java
for (int i = 0; i < len; i++) { doubles[i] = longs[i]; } return doubles; } private static double[] intsToDoubles(int[] ints) { int len = ints.length; double[] doubles = new double[len]; for (int i = 0; i < len; i++) { doubles[i] = ints[i]; } return doubles; } /** * Performs an in-place selection to find the element which would appear at a given index in a
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 30.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java
// Then assertEquals(0, bytesWritten); } @DisplayName("Should write zero bytes at various offsets") @ParameterizedTest @ValueSource(ints = { 0, 1, 10, 50, 100, 255 }) void testWriteBytesWireFormatAtDifferentOffsets(int offset) { // Given byte[] buffer = new byte[256]; // WhenCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.1K bytes - Click Count (0) -
src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java
assertEquals(ap, req.getApOptions(), "apOptions should reflect BIT STRING's first byte"); assertNull(req.getTicket(), "ticket should be null when tag 3 is absent"); } @ParameterizedTest @ValueSource(ints = { 0, 4, 6, 99 }) @DisplayName("seq ctor: invalid pvno values throw") void sequenceConstructor_invalidVersion_throws(int badPvno) throws Exception {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java
commandField.setAccessible(true); assertEquals(SMB_COM_NT_CANCEL, commandField.getByte(cancel)); } @ParameterizedTest @ValueSource(ints = { 0, 1, 100, 255, 65535 }) @DisplayName("Should handle different MID values") void testConstructorWithVariousMids(int mid) throws Exception { // Given
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.8K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/collect/MultisetIteratorBenchmark.java
Random random = new Random(); int sizeRemaining = size; // TODO(kevinb): generate better test contents for multisets while (sizeRemaining > 0) { // The JVM will return interned values for small ints. Integer value = random.nextInt(1000) + 128; int count = min(random.nextInt(10) + 1, sizeRemaining); sizeRemaining -= count; hashMultiset.add(value, count); linkedHashMultiset.add(value, count);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java
import static com.google.common.collect.Lists.transform; import static java.lang.Math.min; import static java.util.concurrent.Executors.newFixedThreadPool; import com.google.common.primitives.Ints; import java.util.List; import java.util.Random; import java.util.concurrent.Callable; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Dec 08 22:42:14 GMT 2025 - 5.7K bytes - Click Count (0) -
proguard/base.pro
# work. That's because the Proguard configuration required to make them work on # optimized code would preclude lots of optimization, like converting enums # into ints. # Throwables uses internal APIs for lazy stack trace resolution -dontnote sun.misc.SharedSecrets -keep class sun.misc.SharedSecrets { *** getJavaLangAccess(...); } -dontnote sun.misc.JavaLangAccess
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 09 00:29:01 GMT 2023 - 1.2K bytes - Click Count (0)