- Sort Score
- Num 10 results
- Language All
Results 831 - 840 of 2,271 for LENGTH (0.07 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt
val response1 = client.newCall(request).execute() val in1 = response1.body.source() assertThat(in1.readUtf8("I love ".length.toLong())).isEqualTo("I love ") in1.skip("puppies but hate ".length.toLong()) assertThat(in1.readUtf8("spiders".length.toLong())).isEqualTo("spiders") assertThat(in1.exhausted()).isTrue() in1.close() assertThat(cache.writeSuccessCount()).isEqualTo(1)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Mar 20 09:13:37 GMT 2026 - 121K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java
// Test text that exceeds maximum length after encoding StringBuilder sb = new StringBuilder(); for (int i = 0; i < 500; i++) { sb.append("0123456789"); } String longText = sb.toString(); String id = SuggestUtil.createSuggestTextId(longText); assertNotNull(id); assertEquals(445, id.length()); // Should be truncated to ID_MAX_LENGTH }Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 24 03:40:05 GMT 2025 - 26.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/QueryStringBuilder.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 12.3K bytes - Click Count (0) -
tensorflow/c/eager/c_api.cc
} TFE_DeleteOp(op); return ret; } void TFE_OpSetAttrString(TFE_Op* op, const char* attr_name, const void* value, size_t length) { auto s = tensorflow::unwrap(op)->SetAttrString( attr_name, static_cast<const char*>(value), length); if (!s.ok()) { LOG(WARNING) << "Unable to set attribute: " << attr_name; } }
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Fri Nov 07 05:55:21 GMT 2025 - 43.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndXResponse.java
// Attempt to read nativeFileSystem, but don't fail if there are issues final int fsLen = this.byteCount - (bufferIndex - start); if (fsLen > 0 && fsLen < 256) { // Sanity check on length this.nativeFileSystem = readString(buffer, bufferIndex); bufferIndex += stringWireLength(this.nativeFileSystem, bufferIndex); } } catch (final Exception e) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/NetServerEnum2Response.java
public long createTime() { return 0L; } @Override public long lastModified() { return 0L; } @Override public long length() { return 0L; } @Override public String toString() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 4.5K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt
.removeHeader("Content-Length") .build() server.enqueue(responseWithoutBody) val call = client.newCall(Request(server.url("/foo"))) val response = call.execute() // Body contains nothing. assertThat(response.body.bytes().size).isEqualTo(0) assertThat(response.body.contentLength()).isEqualTo(0) // Content-Length header doesn't exist in a 204 response.
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 67.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/MemoryUtil.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 5.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/IteratorTester.java
* using the latest values obtained from {@link IteratorTester#newTargetIterator()}. * * <p>The value you pass to the parameter {@code steps} should be greater than the length of your * iterator, so that this class can check that your iterator behaves correctly when it is exhausted. * * <p>For example, to test {@link java.util.Collections#unmodifiableList(java.util.List)Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 4.3K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java
// Check that the path is written after the referral level // The path should be written starting at index 2 // writeString adds null terminator assertTrue(len > 2, "Length should include path"); String writtenPath = extractStringFromBuffer(buffer, 2, len - 2); assertTrue(writtenPath.contains("abc"), "Path should be written to buffer"); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0)