- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,918 for ints (0.02 sec)
-
src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java
void testEncodeVariousCipherCounts(int cipherCount) { int[] ciphers = new int[cipherCount]; for (int i = 0; i < cipherCount; i++) { ciphers[i] = i + 1; } EncryptionNegotiateContext context = new EncryptionNegotiateContext(mockConfig, ciphers); int bytesWritten = context.encode(buffer, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java
// Given byte[] buffer = new byte[256]; int offset = 10; // When int bytesWritten = response.writeBytesWireFormat(buffer, offset); // Then assertEquals(0, bytesWritten); } @DisplayName("Should write zero bytes at various offsets") @ParameterizedTest @ValueSource(ints = { 0, 1, 10, 50, 100, 255 })
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/IntsMethodsForWeb.java
import jsinterop.annotations.JsPackage; /** Web specializations for {@link Ints} methods. */ public abstract class IntsMethodsForWeb { @JsMethod(name = "Math.min", namespace = JsPackage.GLOBAL) public static native int min(int... array); @JsMethod(name = "Math.max", namespace = JsPackage.GLOBAL) public static native int max(int... array);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Oct 26 00:50:12 UTC 2023 - 1K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java
@Benchmark int time(int reps) { int dummy = 0; for (int i = 0; i < reps; i++) { dummy += cache.getUnchecked(nextRandomKey()); } requests.addAndGet(reps); return dummy; } private int nextRandomKey() { int a = random.nextInt(max); /* * For example, if concentration=2.0, the following takes the square root of * the uniformly-distributed random integer, then truncates any fractional
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.4K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java
} @Override public int hashCode() { return getClass().hashCode() ^ seed; } @Override public HashCode hashInt(int input) { int k1 = mixK1(input); int h1 = mixH1(seed, k1); return fmix(h1, Ints.BYTES); } @Override public HashCode hashLong(long input) { int low = (int) input; int high = (int) (input >>> 32); int k1 = mixK1(low);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:36:11 UTC 2025 - 11.8K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/AbstractBaseGraph.java
@Override public UnmodifiableIterator<EndpointPair<N>> iterator() { return EndpointPairIterator.of(AbstractBaseGraph.this); } @Override public int size() { return Ints.saturatedCast(edgeCount()); } @Override public boolean remove(@Nullable Object o) { throw new UnsupportedOperationException(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 7.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/EnumMultiset.java
throw new ClassCastException("Expected an " + type + " but got " + element); } } @Override int distinctElements() { return distinctElements; } @Override public int size() { return Ints.saturatedCast(size); } @Override public int count(@Nullable Object element) { // isActuallyE checks for null, but we check explicitly to help nullness checkers.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.3K bytes - Viewed (0) -
proguard/base.pro
# Note: We intentionally don't add the flags we'd need to make Flags and Enums # 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
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 09 00:29:01 UTC 2023 - 1.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java
import static junit.framework.Assert.fail; import com.google.common.annotations.GwtCompatible; import com.google.common.collect.ImmutableSet; import com.google.common.collect.Ordering; import com.google.common.primitives.Ints; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.util.ArrayList; import java.util.Comparator; import java.util.LinkedHashSet; import java.util.List; import java.util.Set;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:07:06 UTC 2025 - 12.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java
import static junit.framework.Assert.fail; import com.google.common.annotations.GwtCompatible; import com.google.common.collect.ImmutableSet; import com.google.common.collect.Ordering; import com.google.common.primitives.Ints; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.util.ArrayList; import java.util.Comparator; import java.util.LinkedHashSet; import java.util.List; import java.util.Set;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 12.1K bytes - Viewed (0)