- Sort Score
- Num 10 results
- Language All
Results 141 - 150 of 879 for lang_th (0.05 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt
} // Stream a request body of unknown length. contentLength != -1L -> { newKnownLengthSink() } // Stream a request body of a known length. else -> { // Stream a request body of a known length. throw IllegalStateException( "Cannot stream a request body without chunked encoding or a known content length!", ) } }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 17.6K bytes - Click Count (7) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
assertNotNull(request.getPreauthSalt()); // Verify data integrity assertEquals(16, request.getClientGuid().length); assertEquals(32, request.getPreauthSalt().length); assertTrue(request.getDialects().length > 0); assertEquals(2, request.getNegotiateContexts().length); } @Test @DisplayName("Should handle minimum version greater than SMB202")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/HashingInputStreamTest.java
byte[] buf = new byte[4]; int numOfByteRead = in.read(buf, 0, buf.length); assertEquals(4, numOfByteRead); for (int i = 0; i < testBytes.length; i++) { assertEquals(testBytes[i], buf[i]); } verify(hasher).putBytes(testBytes, 0, testBytes.length); verify(hashFunction).newHasher(); verifyNoMoreInteractions(hashFunction, hasher); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 5.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/HashingInputStreamTest.java
byte[] buf = new byte[4]; int numOfByteRead = in.read(buf, 0, buf.length); assertEquals(4, numOfByteRead); for (int i = 0; i < testBytes.length; i++) { assertEquals(testBytes[i], buf[i]); } verify(hasher).putBytes(testBytes, 0, testBytes.length); verify(hashFunction).newHasher(); verifyNoMoreInteractions(hashFunction, hasher); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 5.1K bytes - Click Count (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java
int idx = 0; if (idx < tok.length) { majorVersion = getNextIntegerToken(tok[idx++]); if (majorVersion == null) { fallback = true; } } else { fallback = true; } if (idx < tok.length) { minorVersion = getNextIntegerToken(tok[idx++]);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 6.1K bytes - Click Count (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
final UniAddress[] addrs = new UniAddress[iaddrs.length]; for (int ii = 0; ii < iaddrs.length; ii++) { addrs[ii] = new UniAddress(iaddrs[ii]); } return addrs; } private static UniAddress[] wrapNetbiosAddresses(final NetbiosAddress[] addr) { final UniAddress[] addrs = new UniAddress[addr.length]; for (int i = 0; i < addr.length; i++) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 38.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/escape/ArrayBasedEscaperMapTest.java
// Array length is highest character value + 1 assertThat(replacementArray).hasLength(65536); // The final element should always be non-null. assertThat(replacementArray[replacementArray.length - 1]).isNotNull(); // Exhaustively check all mappings (an int index avoids wrapping). for (int n = 0; n < replacementArray.length; n++) { char c = (char) n;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 2.7K bytes - Click Count (0) -
guava/src/com/google/common/base/Splitter.java
* length, CEILING)}. To avoid this behavior, use {@code omitEmptyStrings}. * * @param length the desired length of pieces after splitting, a positive integer * @return a splitter, with default settings, that can split into fixed sized pieces * @throws IllegalArgumentException if {@code length} is zero or negative */ public static Splitter fixedLength(int length) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 23.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java
} Arrays.fill(sortedElements, uniques, length, null); if (maybeExpand && uniques * 4 > length * 3) { // lots of nonduplicated elements, expand the array by 50% sortedElements = Arrays.copyOf(sortedElements, IntMath.saturatedAdd(length, length / 2 + 1)); } int[] sortedCounts = new int[sortedElements.length]; for (int i = 0; i < length; i++) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 35.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/RegularImmutableSet.java
} @Override int internalArrayEnd() { return elements.length; } @Override int copyIntoArray(@Nullable Object[] dst, int offset) { arraycopy(elements, 0, dst, offset, elements.length); return offset + elements.length; } @Override ImmutableList<E> createAsList() { return (table.length == 0) ? ImmutableList.of() : new RegularImmutableAsList<>(this, elements); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 3.8K bytes - Click Count (0)