- Sort Score
- Num 10 results
- Language All
Results 381 - 390 of 511 for inInts (0.22 seconds)
-
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 Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 30.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java
// Check information level int actualInfoLevel = SMBUtil.readInt2(buffer, 0); assertEquals(0x0101, actualInfoLevel); } @ParameterizedTest @ValueSource(ints = { -1, 0, 100, 255, Integer.MAX_VALUE }) void testMapInformationLevelWithUnsupportedLevels(int level) { if (level == FileInformation.FILE_BASIC_INFO || level == FileInformation.FILE_STANDARD_INFOCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.4K 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: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 26.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
assertThat(peeker.getDone(input1)).isSameInstanceAs("value1"); try { peeker.getDone(input2Failed); fail("Peeker.getDone() should fail for failed inputs"); } catch (ExecutionException expected) { } try { peeker.getDone(nonInput);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 63K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbPipeInputStreamTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/SMBSigningDigestTest.java
assertFalse(result, "Verify should return false for invalid signature"); verify(signingDigest, times(1)).verify(testData, offset, length, extraPad, message); } @ParameterizedTest @ValueSource(ints = { 0, 1, 2, 4, 8, 16 }) @DisplayName("Test verify method with different extra padding values") void testVerifyWithDifferentExtraPadding(int extraPad) { // Arrange int offset = 0;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java
assertEquals(0, bytesRead); assertEquals(0, response.getAttributes()); assertEquals(0, response.getSize()); } @ParameterizedTest @ValueSource(ints = { 0x0001, 0x0002, 0x0004, 0x0010, 0x0020, 0x0080, 0x0100 }) void testDifferentFileAttributes(int fileAttribute) { // Test various file attribute values
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.9K bytes - Click Count (0) -
src/main/java/jcifs/smb1/util/MD4.java
tail[padLen + i] = (byte) (count * 8 >>> 8 * i); } engineUpdate(tail, 0, tail.length); final byte[] result = new byte[16]; // cast this MD4's context (array of 4 ints) into an array of 16 bytes. for (int i = 0; i < 4; i++) { for (int j = 0; j < 4; j++) { result[i * 4 + j] = (byte) (context[i] >>> 8 * j); } }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 9.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/dtyp/ACETest.java
assertEquals(0x08, ace.getFlags()); assertEquals(0x00000001, ace.getAccessMask()); } @ParameterizedTest @DisplayName("Test various access mask values") @ValueSource(ints = { 0x00000001, // FILE_READ_DATA 0x00000002, // FILE_WRITE_DATA 0x00000004, // FILE_APPEND_DATA 0x00010000, // DELETE 0x00020000, // READ_CONTROL
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java
"Should throw configured exception"); } @ParameterizedTest @ValueSource(ints = { 1, 10, 50, 100, 255 }) @DisplayName("Should handle various data lengths") void testVariousDataLengths(int length) throws SMBProtocolDecodingException {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 16.2K bytes - Click Count (0)