- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,848 for lengths (0.05 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt
for (i in strings.indices) { lengths[i] = strings[i].toLong() } } catch (_: NumberFormatException) { invalidLengths(strings) } } /** Append space-prefixed lengths to [writer]. */ @Throws(IOException::class) internal fun writeLengths(writer: BufferedSink) { for (length in lengths) { writer.writeByte(' '.code).writeDecimalLong(length)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 23:28:25 UTC 2025 - 34.7K bytes - Viewed (0) -
src/bytes/compare_test.go
} } func TestCompareBytes(t *testing.T) { lengths := make([]int, 0) // lengths to test in ascending order for i := 0; i <= 128; i++ { lengths = append(lengths, i) } lengths = append(lengths, 256, 512, 1024, 1333, 4095, 4096, 4097) if !testing.Short() { lengths = append(lengths, 65535, 65536, 65537, 99999) } n := lengths[len(lengths)-1] a := make([]byte, n+1) b := make([]byte, n+1)
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Jul 13 23:11:42 UTC 2023 - 6.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/ContentLengthHelper.java
} maxLengthMap.put(mimeType, maxLength); } /** * Gets the maximum content length for a specific MIME type. * If no specific length is set for the MIME type, returns the default maximum length. * @param mimeType The MIME type to get the maximum length for * @return The maximum content length in bytes */ public long getMaxLength(final String mimeType) { if (StringUtil.isBlank(mimeType)) {Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3.3K bytes - Viewed (0) -
src/test/java/jcifs/NetbiosAddressTest.java
assertNotNull(anyHosts); assertNotNull(masterBrowser); assertNotNull(smbServer); // Test that they have expected lengths assertEquals(16, anyHosts.length()); assertEquals(15, masterBrowser.length()); assertEquals(15, smbServer.length()); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java
@DisplayName("Should handle various offsets and lengths") @CsvSource({ "1024, 0, 1024", "1024, 100, 900", "1024, 500, 524", "2048, 1024, 1024", "4096, 2048, 2048", "65536, 32768, 32768" }) void testVariousOffsetsAndLengths(int dataSize, int offset, int length) { byte[] data = new byte[dataSize]; assertDoesNotThrow(() -> request.setData(data, offset, length)); } } @NestedRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.4K bytes - Viewed (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java
Comparable[] c = new Comparable[versions.length]; for (int i = 0; i < versions.length; i++) { c[i] = newComparable(versions[i]); } for (int i = 1; i < versions.length; i++) { Comparable low = c[i - 1]; for (int j = i; j < versions.length; j++) { Comparable high = c[j];
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 17.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaChannelInfo.java
* addresses, and lengths for direct memory access operations. */ public class RdmaChannelInfo { private final Smb2RdmaTransform transform; /** * Create new RDMA channel info * * @param remoteKey remote memory key for RDMA access (token) * @param address remote memory address (offset) * @param length length of the memory region */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 2.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java
if (first == second) { return 0; } else if (first == null) { return -1; } else if (second == null) { return 1; } else if (first.length() != second.length()) { return first.length() - second.length(); } else { return first.compareTo(second); } } } /** Decreasing integer values. A {@code null} comes before any non-null value. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.4K bytes - Viewed (0) -
guava/src/com/google/common/hash/Fingerprint2011.java
result = murmurHash64WithSeed(bytes, offset, length, K0 ^ K1 ^ K2); } else if (length <= 64) { result = hashLength33To64(bytes, offset, length); } else { result = fullFingerprint(bytes, offset, length); } long u = length >= 8 ? load64(bytes, offset) : K0; long v = length >= 9 ? load64(bytes, offset + length - 8) : K0; result = hash128to64(result + v, u);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 6.5K bytes - Viewed (0) -
tensorflow/c/c_api.h
// keep. // `value` must point to a string of length `length` bytes. TF_CAPI_EXPORT extern void TF_SetAttrString(TF_OperationDescription* desc, const char* attr_name, const void* value, size_t length); // `values` and `lengths` each must have lengths `num_values`. // `values[i]` must point to a string of length `lengths[i]` bytes.
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Thu Oct 26 21:08:15 UTC 2023 - 82.3K bytes - Viewed (0)