- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 202 for Ints (0.02 seconds)
-
guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java
} else { return next >>> 1; } } public void testCrc32cStrideTable() { int next = CRC32C_GENERATOR_FLIPPED; for (int i = 0; i < 12; i++) { // for 3 ints = 12 bytes in between each stride window next = (next >>> 8) ^ Crc32cHashFunction.Crc32cHasher.byteTable[next & 0xFF]; } int[][] expected = new int[4][256]; for (int b = 0; b < 4; ++b) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 6.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java
assertEquals("\\", trans2FindFirst2.getPath()); } @ParameterizedTest @DisplayName("Test search attributes masking") @ValueSource(ints = { 0x00, 0x16, 0x37, 0xFF }) void testSearchAttributesMasking(int searchAttributes) { trans2FindFirst2 = new Trans2FindFirst2(mockConfig, "\\test", "*.*", searchAttributes, 10, 1024);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/TreeMultiset.java
+ aggr.nodeAggregate(node) + 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(@Nullable AvlNode<?> node) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Dec 09 15:58:48 GMT 2025 - 33.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
// When int result = response.writeBytesWireFormat(dst, dstIndex); // Then assertEquals(0, result); } @ParameterizedTest @ValueSource(ints = { 0, 10, 50, 99 }) @DisplayName("Should return 0 regardless of destination index") void testWriteBytesWireFormatWithDifferentIndices(int index) { // Given byte[] dst = new byte[100];Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 26.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java
assertEquals(0, size % 8, "Size should be aligned to 8-byte boundary"); } @ParameterizedTest @DisplayName("Should calculate size for various lock counts") @ValueSource(ints = { 0, 1, 2, 5, 10, 20, 50, 100 }) void testSizeWithVariousLockCounts(int lockCount) { Smb2Lock[] locks = new Smb2Lock[lockCount]; for (int i = 0; i < lockCount; i++) {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 25.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/math/StatsTesting.java
import com.google.common.collect.ImmutableList; import com.google.common.collect.Iterables; import com.google.common.collect.Lists; import com.google.common.primitives.Doubles; import com.google.common.primitives.Ints; import java.math.BigInteger; import java.util.List; import java.util.stream.DoubleStream; import org.jspecify.annotations.NullUnmarked; /**
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 23.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
List<Integer> ints = Arrays.asList(0, 1, 2); List<Float> floats = Arrays.asList(0.0f, 1.0f, 2.0f); List<Long> longs = Arrays.asList(0L, 1L, 2L); List<Double> doubles = Arrays.asList(0.0, 1.0, 2.0); assertThat(Doubles.toArray(bytes)).isEqualTo(array); assertThat(Doubles.toArray(shorts)).isEqualTo(array); assertThat(Doubles.toArray(ints)).isEqualTo(array);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 30.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java
import static java.lang.Math.max; import static java.util.Objects.requireNonNull; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import com.google.common.primitives.Ints; import com.google.errorprone.annotations.CanIgnoreReturnValue; import com.google.j2objc.annotations.WeakOuter; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Dec 08 22:42:14 GMT 2025 - 22.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/util/StringUtilTest.java
assertEquals("string,builder,buffer", result); } @ParameterizedTest @DisplayName("Should handle various element counts") @ValueSource(ints = { 1, 2, 5, 10, 20, 50, 100 }) void testJoinWithVariousElementCounts(int count) { CharSequence[] elements = new CharSequence[count]; for (int i = 0; i < count; i++) {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 9K bytes - Click Count (0) -
cmd/erasure-metadata-utils_test.go
if gotNewErr != errErasureWriteQuorum { t.Errorf("Test %d : expected %s, got %s", i+1, errErasureWriteQuorum, gotErr) } } } // TestHashOrder - test order of ints in array func TestHashOrder(t *testing.T) { testCases := []struct { objectName string hashedOrder []int }{ // cases which should pass the test. // passing in valid object name.Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 7.3K bytes - Click Count (0)