- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for expectedTypes (0.06 sec)
-
src/test/java/jcifs/smb1/smb1/SmbComNegotiateTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
// ensures that the number of invocations looks sane void assertInvariants(int expectedBytes) { // we should have seen as many bytes as the next multiple of chunk after expectedBytes - 1 assertEquals(out.toByteArray().length, ceilToMultiple(expectedBytes, chunkSize)); assertEquals(expectedBytes / chunkSize, processCalled); assertEquals(expectedBytes % chunkSize != 0, remainingCalled); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:19:59 UTC 2025 - 8.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FilesTest.java
int size = 1024; byte[] expectedBytes = new byte[size]; byte[] bytes = newPreFilledByteArray(1024); // Setup File file = createTempFile(); Files.write(bytes, file); Random random = new Random(); random.nextBytes(expectedBytes); // Test MappedByteBuffer map = Files.map(file, MapMode.READ_WRITE); map.put(expectedBytes); // VerifyRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 22.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FilesTest.java
int size = 1024; byte[] expectedBytes = new byte[size]; byte[] bytes = newPreFilledByteArray(1024); // Setup File file = createTempFile(); Files.write(bytes, file); Random random = new Random(); random.nextBytes(expectedBytes); // Test MappedByteBuffer map = Files.map(file, MapMode.READ_WRITE); map.put(expectedBytes); // VerifyRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 22.1K bytes - Viewed (0) -
internal/hash/checksum_test.go
t.Errorf("Checksum mismatch for %s: expected %+v, got %+v", tt.name, chksm, gotChksm) } // Verify the checksum type expectedType := chksm.Type if gotChksm.Type != expectedType { t.Errorf("Type mismatch for %s: expected %s, got %s", tt.name, expectedType.StringFull(), gotChksm.Type.StringFull()) } }) } }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 22 14:15:21 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java
byte[] expectedBytes = unicodeFileName.getBytes(StandardCharsets.UTF_16LE); assertEquals(32 + expectedBytes.length, bytesWritten); // Verify filename length in header int fnLength = buffer[Smb2Constants.SMB2_HEADER_LENGTH + 26] | (buffer[Smb2Constants.SMB2_HEADER_LENGTH + 27] << 8); assertEquals(expectedBytes.length, fnLength); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
internal/event/target/redis.go
if err != nil { return err } if typeAvailable != "none" { expectedType := "hash" if r.Format == event.AccessFormat { expectedType = "list" } if typeAvailable != expectedType { return fmt.Errorf("expected type %v does not match with available type %v", expectedType, typeAvailable) } } return nil } // RedisTarget - Redis target.Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 9.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
// Then - Verify UTF-16LE encoding byte[] expectedBytes = testPath.getBytes(StandardCharsets.UTF_16LE); byte[] actualBytes = new byte[expectedBytes.length]; System.arraycopy(buffer, Smb2Constants.SMB2_HEADER_LENGTH + 8, actualBytes, 0, expectedBytes.length); assertArrayEquals(expectedBytes, actualBytes);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
Type expectedType = new TypeToken<Map<String, List<Object>>>() {}.getType(); assertEquals( expectedType, new TypeToken<ListMap<String, Object>>() {}.getSupertype(Map.class).getType()); } private interface StringListMap<V> extends ListMap<String, V> {} public <V> void testGetSupertype_partiallySpecializedType() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 89K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java
"100, " + SmbConstants.TYPE_SHARE // Unknown type defaults to share }) void testGetTypeWithDifferentShareTypes(int inputType, int expectedType) { SmbShareInfo info = new SmbShareInfo(TEST_NET_NAME, inputType, TEST_REMARK); assertEquals(expectedType, info.getType()); } @Test @DisplayName("Test getType with hidden flag") void testGetTypeWithHiddenFlag() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0)