- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 696 for lang_th (0.06 sec)
-
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) -
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) -
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/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/smb1/smb1/NetServerEnum2Test.java
// Verify description byte[] descr = NetServerEnum2.DESCR[0].getBytes("ASCII"); byte[] writtenDescr = new byte[descr.length]; System.arraycopy(dst, 2, writtenDescr, 0, descr.length); assertArrayEquals(descr, writtenDescr); int currentIndex = 2 + descr.length; // Verify level (0x0001) assertEquals(1, (dst[currentIndex] & 0xFF) | ((dst[currentIndex + 1] & 0xFF) << 8));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/compression/CompressionService.java
* * @param data the data buffer * @param offset the offset in the buffer * @param length the length of data to compress * @param algorithm the compression algorithm to use * @return the compressed data * @throws CIFSException if compression fails */ byte[] compress(byte[] data, int offset, int length, int algorithm) throws CIFSException; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/CopyUtilTest.java
final int result = copy(is, os); assertThat(result, is(srcBytes.length)); assertThat(os.toByteArray(), is(srcBytes)); } /** * @throws Exception */ @Test public void testReaderToWriter() throws Exception { final int result = copy(reader, writer); assertThat(result, is(srcString.length())); assertThat(writer.toString(), is(srcString)); } /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 4.6K bytes - Viewed (0)