- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 1,708 for lengths (0.04 sec)
-
src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java
firstInstance.decode(originalBuffer, 0, originalBuffer.length); // Encode from first instance byte[] encodedBuffer = new byte[8]; firstInstance.encode(encodedBuffer, 0); // Decode into second instance FileInternalInfo secondInstance = new FileInternalInfo(); secondInstance.decode(encodedBuffer, 0, encodedBuffer.length); // Verify both instances have same values
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharSequenceReaderTest.java
assertEquals(expected.length(), reader.skip(Long.MAX_VALUE)); assertFullyRead(reader); // skip 5 and read the rest if (expected.length() > 5) { reader = new CharSequenceReader(charSequence); assertEquals(5, reader.skip(5)); buf = new char[expected.length() - 5]; assertEquals(buf.length, reader.read(buf, 0, buf.length));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 6.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.4K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacUnicodeStringTest.java
* Tests the {@link PacUnicodeString#check(String)} method with a string of incorrect length. */ @Test void testCheck_withInvalidLength_throwsException() { // Length is 10 bytes, so expected string length is 5 characters PacUnicodeString pacString = new PacUnicodeString((short) 10, (short) 20, 100); String testString = "too-long"; // Length is 8 // Expect a PACDecodingException to be thrown
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
buffer[SmbConstants.SMB1_HEADER_LENGTH] = 0; SMBUtil.writeInt2(0, buffer, SmbConstants.SMB1_HEADER_LENGTH + 1); int length = testBlock.decode(buffer, 0); assertNotNull(testBlock.getRawPayload()); assertEquals(length, testBlock.getRawPayload().length); } } @Nested
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 36.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java
} @Override public K[] createKeyArray(int length) { return ((TestMultimapGenerator<K, V, M>) multimapGenerator.getInnerGenerator()) .createKeyArray(length); } @SuppressWarnings("unchecked") @Override public Collection<V>[] createValueArray(int length) { return (Collection<V>[]) new Collection<?>[length]; } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 26.8K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Ascii.java
*/ public static boolean equalsIgnoreCase(CharSequence s1, CharSequence s2) { // Calling length() is the null pointer check (so do it before we can exit early). int length = s1.length(); if (s1 == s2) { return true; } if (length != s2.length()) { return false; } for (int i = 0; i < length; i++) { char c1 = s1.charAt(i); char c2 = s2.charAt(i); if (c1 == c2) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 21.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/FileEntryTest.java
Arguments.of((LongGetter) FileEntry::length, -100L, "negative length"), Arguments.of((LongGetter) FileEntry::length, 0L, "zero length"), Arguments.of((LongGetter) FileEntry::length, 1L, "small length")); } @ParameterizedTest(name = "Long getter {2} returns {1}") @MethodSource("longGetterProvider")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10K bytes - Viewed (0)