- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 52 for length_is (0.08 sec)
-
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java
int paramWritten = trans2QueryPathInfo.writeParametersWireFormat(paramBuffer, 0); int dataWritten = trans2QueryPathInfo.writeDataWireFormat(dataBuffer, 0); // Verify lengths assertEquals(2, setupWritten); assertTrue(paramWritten > 6); assertEquals(0, dataWritten); // Verify setup content
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/Fingerprint2011Test.java
*/ @NullUnmarked public class Fingerprint2011Test extends TestCase { // Length of the sample string to produce private static final int MAX_BYTES = 1000; // Map from sample string lengths to the fingerprint private static final ImmutableSortedMap<Integer, Long> LENGTH_FINGERPRINTS = new ImmutableSortedMap.Builder<Integer, Long>(Ordering.natural()) .put(1000, 0x433109b33e13e6edL)Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 7.8K bytes - Viewed (0) -
src/bufio/scan_test.go
} buf.WriteByte('\n') } } // Test the line splitter, including some carriage returns but no long lines. func TestScanLongLines(t *testing.T) { // Build a buffer of lots of line lengths up to but not exceeding smallMaxTokenSize. tmp := new(bytes.Buffer) buf := new(bytes.Buffer) lineNum := 0 j := 0 for i := 0; i < 2*smallMaxTokenSize; i++ { genLine(tmp, lineNum, j, true)
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Sep 22 16:22:42 UTC 2023 - 14.3K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Fingerprint2011.java
output[1] = seedB + c; } /* * Compute an 8-byte hash of a byte array of length greater than 64 bytes. */ private static long fullFingerprint(byte[] bytes, int offset, int length) { // For lengths over 64 bytes we hash the end first, and then as we // loop we keep 56 bytes of state: v, w, x, y, and z. long x = load64(bytes, offset); long y = load64(bytes, offset + length - 16) ^ K1;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java
baseAuth.close(); startAuth.close(); middleAuth.close(); endAuth.close(); } } /** * Test constant-time comparison with various password lengths. */ @Test public void testConstantTimeWithDifferentLengths() throws Exception { char[] password1 = "short".toCharArray(); char[] password2 = "verylongpasswordthatisdifferent".toCharArray();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java
int actualLength = (int) lengthField.get(response); assertEquals(expectedLength, actualLength); } @DisplayName("Test readParametersWireFormat with various lengths") @ParameterizedTest @ValueSource(ints = { 0, 1, 100, 1000, 65535, Integer.MAX_VALUE }) void testReadParametersWireFormatWithVariousLengths(int expectedLength) throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/CrawlJobTest.java
return; } if (expected == null || actual == null) { fail("Arrays are not equal: one is null"); } assertEquals("Array lengths differ", expected.length, actual.length); for (int i = 0; i < expected.length; i++) { assertEquals("Array element at index " + i + " differs", expected[i], actual[i]); } } @OverrideRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 25K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SetsTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 45.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
src/archive/tar/common.go
// ending offset is aligned down to the nearest block edge. // // Even though the Go tar Reader and the BSD tar utility can handle entries // with arbitrary offsets and lengths, the GNU tar utility can only handle // offsets and lengths that are multiples of blockSize. func alignSparseEntries(src []sparseEntry, size int64) []sparseEntry { dst := src[:0] for _, s := range src { pos, end := s.Offset, s.endOffset()
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Sep 13 21:03:27 UTC 2024 - 24.5K bytes - Viewed (0)