- Sort Score
- Num 10 results
- Language All
Results 131 - 140 of 2,271 for LENGTH (0.09 seconds)
-
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) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 21.7K bytes - Click Count (0) -
cmd/object_api_suite_test.go
length = int64(len(uploadContent)) _, err = obj.PutObject(context.Background(), "bucket", "object", mustGetPutObjReader(t, bytes.NewBufferString(uploadContent), length, "", ""), opts) if err != nil { t.Fatalf("%s: <ERROR> %s", instanceType, err) } var bytesBuffer bytes.Buffer err = GetObject(context.Background(), obj, "bucket", "object", 0, length, &bytesBuffer, "", opts) if err != nil {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 34.5K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/length/ReplaceValueInLength.java
import com.fasterxml.jackson.databind.node.NumericNode; import com.fasterxml.jackson.databind.node.ObjectNode; import org.elasticsearch.gradle.internal.test.rest.transform.ReplaceByKey; import org.gradle.api.tasks.Internal; /** * A transformation to replace the key in a length assertion, must be a numeric type * For example, change from "length":{"index._doc": 1} to "length":{"index._doc": 2}
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Sep 27 14:44:05 GMT 2021 - 1.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java
public Entry<Country, String>[] createArray(int length) { return (Entry<Country, String>[]) new Entry<?, ?>[length]; } @Override public Iterable<Entry<Country, String>> order(List<Entry<Country, String>> insertionOrder) { return insertionOrder; } @Override public Country[] createKeyArray(int length) { return new Country[length]; } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 8.4K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/CurlResponseTest.java
headers.put("Content-Length", Arrays.asList("100")); response.setHeaders(headers); Map<String, List<String>> result = response.getHeaders(); assertNotNull(result); // Headers should be stored in lowercase assertTrue(result.containsKey("content-type")); assertTrue(result.containsKey("content-length")); } @Test
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 17.7K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CliUtils.java
requireNonNull(str, "str"); final int length = str.length(); if (length > 1 && str.startsWith("\"") && str.endsWith("\"") && str.substring(1, length - 1).indexOf('"') == -1) { str = str.substring(1, length - 1); } return str; } @Nonnull
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Oct 13 18:30:29 GMT 2025 - 5K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/MockHttp2Peer.kt
} /** * Shortens the last frame from its original length to `length`. This will cause the peer to * close the socket as soon as this frame has been written; otherwise the peer stays open until * explicitly closed. */ fun truncateLastFrame(length: Int): Http2Writer { val lastFrame = outFrames.removeAt(outFrames.size - 1) require(length < bytesOut.size - lastFrame.start)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 8.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileFilterTest.java
} @Test @DisplayName("accept: length-based filter evaluates negative/zero/positive sizes") void accept_lengthBasedFilter_handlesNumericEdges() throws Exception { // Arrange: filter that accepts only strictly positive length SmbFileFilter filter = f -> f.length() > 0; // negative size -> reject when(smbFile.length()).thenReturn(-1L);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/validation/CustomSizeTest.java
assertEquals("Default groups should be empty", 0, getDefaultGroups().length); assertEquals("Default payload should be empty", 0, getDefaultPayload().length); assertEquals("Default minKey should be empty", StringUtil.EMPTY, getDefaultMinKey()); assertEquals("Default maxKey should be empty", StringUtil.EMPTY, getDefaultMaxKey());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17.4K bytes - Click Count (0) -
src/main/java/jcifs/smb1/util/Hexdump.java
* @param length the number of bytes to dump from the source array */ public static void hexdump(final PrintStream ps, final byte[] src, final int srcIndex, final int length) { if (length == 0) { return; } final int s = length % 16; final int r = s == 0 ? length / 16 : length / 16 + 1; final char[] c = new char[r * (74 + NL_LENGTH)];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.8K bytes - Click Count (0)