- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 277 for Hints (0.17 sec)
-
android/guava-tests/test/com/google/common/primitives/BytesTest.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(Bytes.toArray(bytes)).isEqualTo(array); assertThat(Bytes.toArray(shorts)).isEqualTo(array); assertThat(Bytes.toArray(ints)).isEqualTo(array);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 17.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java
assertEquals(4, context.size()); // Only header } @ParameterizedTest @DisplayName("Should encode with different hash algorithm counts") @ValueSource(ints = { 0, 1, 2, 5, 10 }) void testEncodeWithDifferentHashAlgoCounts(int count) { int[] hashAlgos = new int[count]; for (int i = 0; i < count; i++) { hashAlgos[i] = i + 1;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
} // We're testing our asEnumeration method against a known-good implementation. @SuppressWarnings("JdkObsolete") private static Enumeration<Integer> enumerate(int... ints) { Vector<Integer> vector = new Vector<>(Ints.asList(ints)); return vector.elements(); } public void testToString() { Iterator<String> iterator = Lists.newArrayList("yam", "bam", "jam", "ham").iterator();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 56.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java
assertTrue(s.contains("Trans2GetDfsReferral[")); assertTrue(s.contains("filename=/bar")); assertTrue(s.contains("maxReferralLevel=0x3")); } @ParameterizedTest @ValueSource(ints = { 0, 5, -1, 65534 }) @DisplayName("referral level variations") void testLevels(int level) throws Exception { Trans2GetDfsReferral cmd = new Trans2GetDfsReferral("foo");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/util/HexdumpTest.java
assertTrue(result.startsWith("00010203")); assertEquals(64, result.length()); // 32 bytes * 2 chars per byte } @ParameterizedTest @ValueSource(ints = { 1, 16, 32, 64, 128, 256 }) @DisplayName("Should handle various data sizes") void testVariousDataSizes(int size) { // Given byte[] data = createTestData(size); // When
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
assertEquals(0, encodedSize % 8, "Encoded size should be 8-byte aligned for name length " + nameLen); } } @ParameterizedTest @ValueSource(ints = { 0, 10, 50, 100, 200 }) @DisplayName("Should handle various buffer offsets") void testVariousBufferOffsets(int offset) { byte[] largeBuffer = new byte[512];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java
buffer.size(); }); } @ParameterizedTest @DisplayName("Should handle various referral levels") @ValueSource(ints = { 0, 1, 2, 3, 4, 5, 255, 256, 32767, 65535 }) void testConstructorWithVariousReferralLevels(int maxReferralLevel) { String path = "\\\\test";
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/HashFunction.java
* or implied. See the License for the specific language governing permissions and limitations under * the License. */ package com.google.common.hash; import com.google.common.primitives.Ints; import com.google.errorprone.annotations.Immutable; import java.nio.ByteBuffer; import java.nio.charset.Charset; import org.jspecify.annotations.Nullable; /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 10.9K bytes - Viewed (0) -
guava/src/com/google/common/hash/HashFunction.java
* or implied. See the License for the specific language governing permissions and limitations under * the License. */ package com.google.common.hash; import com.google.common.primitives.Ints; import com.google.errorprone.annotations.Immutable; import java.nio.ByteBuffer; import java.nio.charset.Charset; import org.jspecify.annotations.Nullable; /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 10.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableRangeSet.java
import com.google.common.annotations.J2ktIncompatible; import com.google.common.collect.SortedLists.KeyAbsentBehavior; import com.google.common.collect.SortedLists.KeyPresentBehavior; import com.google.common.primitives.Ints; import com.google.errorprone.annotations.CanIgnoreReturnValue; import com.google.errorprone.annotations.DoNotCall; import com.google.errorprone.annotations.concurrent.LazyInit; import com.google.j2objc.annotations.RetainedWith;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 27.5K bytes - Viewed (0)