- Sort Score
- Num 10 results
- Language All
Results 551 - 560 of 2,271 for LENGTH (0.08 seconds)
-
src/test/java/org/codelibs/fess/util/OptionalUtilTest.java
assertNotNull(result); assertTrue(result.isPresent()); assertSame(testValue, result.get()); assertEquals(3, result.get().length); } @Test public void test_ofNullable_withEmptyArray() { String[] testValue = new String[0]; OptionalEntity<String[]> result = OptionalUtil.ofNullable(testValue);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 13.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/SetTestSuiteBuilder.java
@Override public Set<E> create(Object... elements) { return (Set<E>) SerializableTester.reserialize(gen.create(elements)); } @Override public E[] createArray(int length) { return gen.createArray(length); } @Override public Iterable<E> order(List<E> insertionOrder) { return gen.order(insertionOrder); } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 4.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java
// SecurityBufferOffset (+4) and Length (+6) SMBUtil.writeInt2(secBufOffset, buf, bodyStart + 4); SMBUtil.writeInt2(blob != null ? blob.length : 0, buf, bodyStart + 6); if (blob != null && blob.length > 0) { int blobStart = headerStart + secBufOffset; System.arraycopy(blob, 0, buf, blobStart, blob.length); } } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.7K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt
val rangesLimit = when { sectionsIndex + 4 < sections.length -> sections.read14BitInt(sectionsIndex + 6) else -> ranges.length / 4 } val rangesIndex = findRangesOffset(codePoint, rangesPosition, rangesLimit) when (val b1 = ranges[rangesIndex + 1].code) { in 0..63 -> { // Length of the UTF-16 sequence that this range maps to. The offset is b2b3.Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 9K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/LittleEndianByteArray.java
// We don't want this in production code as this is the most critical part of the loop. assert input.length >= offset + 8; // Delegates to the fast (unsafe) version or the fallback. return byteArray.getLongLittleEndian(input, offset); } /** * Similar to load64, but allows offset + 8 > input.length, padding the result with zeroes. This
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 10.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java
* * @param buffer the byte buffer containing the security descriptor data * @param bufferIndex the starting offset in the buffer * @param len the length of data to decode * @throws IOException if an I/O error occurs during decoding */ public SecurityDescriptor(final byte[] buffer, final int bufferIndex, final int len) throws IOException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileOutputStreamTest.java
// When & Then - test boundary conditions // Negative length or offset should not cause issues (len <= 0 returns early) assertDoesNotThrow(() -> outputStream.write(data, 0, -1)); // negative length, returns early assertDoesNotThrow(() -> outputStream.write(data, 0, 0)); // zero length, returns early // These should pass through to the underlying implementationCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java
serverData.encryptionKeyLength = 8; response.flags2 = ServerMessageBlock.FLAGS2_UNICODE; byte[] domainNameBytes = "DOMAIN_U".getBytes("UTF-16LE"); response.byteCount = 8 + domainNameBytes.length + 2; // key + domain + null terminator // Prepare byte array byte[] encryptionKey = "12345678".getBytes(); ByteBuffer buffer = ByteBuffer.allocate(response.byteCount);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.2K bytes - Click Count (0) -
android/guava/src/com/google/common/escape/CharEscaper.java
public String escape(String string) { checkNotNull(string); // GWT specific check (do not optimize) // Inlineable fast-path loop which hands off to escapeSlow() only if needed int length = string.length(); for (int index = 0; index < length; index++) { if (escape(string.charAt(index)) != null) { return escapeSlow(string, index); } } return string; } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 15:45:16 GMT 2025 - 6.7K bytes - Click Count (0) -
android/guava/src/com/google/common/net/InternetDomainName.java
// levels equals the number of dots that are getting clipped away, then add the length of each // clipped part to get the length of the leading substring that is being removed. int substringFrom = levels; for (int i = 0; i < levels; i++) { substringFrom += parts.get(i).length(); } String ancestorName = name.substring(substringFrom);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 21:21:59 GMT 2026 - 26.2K bytes - Click Count (0)