- Sort Score
- Result 10 results
- Languages All
Results 271 - 280 of 1,760 for lengths (0.55 sec)
-
src/test/java/org/codelibs/core/collection/ArrayUtilTest.java
assertThat(newArray.length, is(2)); assertThat(newArray[0], is("111")); assertThat(newArray[1], is("222")); final String[] emptyArray = new String[0]; assertThat(ArrayUtil.addAll((Object[]) null, (Object[]) null), is(nullValue())); assertThat(ArrayUtil.addAll(null, emptyArray).length, is(0));
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 10.6K bytes - Viewed (0) -
cmd/httprange.go
} return rangeLength, nil } // GetOffsetLength computes the start offset and length of the range // given the size of the resource func (h *HTTPRangeSpec) GetOffsetLength(resourceSize int64) (start, length int64, err error) { if h == nil { // No range specified, implies whole object. return 0, resourceSize, nil } length, err = h.GetLength(resourceSize) if err != nil { return 0, 0, err }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 5.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/synonym/SynonymFileTest.java
assertEquals(1, itemList.get(0).getInputs().length); assertEquals(1, itemList.get(0).getOutputs().length); assertEquals("a1", itemList.get(0).getInputs()[0]); assertEquals("A1", itemList.get(0).getOutputs()[0]); assertFalse(itemList.get(0).isUpdated()); assertEquals(2, itemList.get(1).getInputs().length); assertEquals(1, itemList.get(1).getOutputs().length);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java
String[] suffix = {"f", "g"}; String[] all = new String[elements.length + suffix.length]; arraycopy(elements, 0, all, 0, elements.length); arraycopy(suffix, 0, all, elements.length, suffix.length); return ImmutableList.copyOf(all).subList(0, elements.length); } } public static class ImmutableListTailSubListGenerator extends TestStringListGenerator { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java
multiset1.add("only1"); multiset2.add("only2"); for (int i = 0; i < elements.length; i++) { multiset1.add(elements[i]); multiset2.add(elements[elements.length - 1 - i]); } if (elements.length > 0) { multiset1.add(elements[0]); } if (elements.length > 1) { /* * When a test requests a multiset with duplicates, our plan of
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 9.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/WinErrorTest.java
@DisplayName("Arrays: non-null, same length, and exact contents") void arrays_are_well_formed_and_match() { // Validate arrays existence and alignment (edge and structure checks) assertNotNull(WinError.WINERR_CODES, "WINERR_CODES should not be null"); assertNotNull(WinError.WINERR_MESSAGES, "WINERR_MESSAGES should not be null");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.4K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/HandleGuidTest.java
HandleGuid guid1 = new HandleGuid(); HandleGuid guid2 = new HandleGuid(); assertNotEquals(guid1, guid2); assertEquals(16, guid1.toBytes().length); assertEquals(16, guid2.toBytes().length); } @Test public void testHandleGuidRoundTrip() { HandleGuid original = new HandleGuid(); byte[] bytes = original.toBytes();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/util/CryptoTest.java
assertNotNull(random2); assertEquals(length, random1.length); assertEquals(length, random2.length); // Very unlikely to be equal assertNotEquals(new String(random1), new String(random2)); } @Test @DisplayName("Should handle AES encryption operations") void testAESOperations() throws Exception { // Given byte[] key = new byte[16]; // 128-bit key
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
src/main/java/jcifs/http/NetworkExplorer.java
url = file.getLocator().getPath(); resp.setContentType("text/plain"); resp.setContentType(URLConnection.guessContentTypeFromName(url)); resp.setHeader("Content-Length", file.length() + ""); resp.setHeader("Accept-Ranges", "Bytes"); while ((n = in.read(buf)) != -1) { out.write(buf, 0, n); } } } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 23.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactoryTest.java
assertThat(args.length, is(1)); assertThat(args[0].getRawClass(), is(sameClass(Integer.class))); desc = ParameterizedClassDescFactory.createParameterizedClassDesc(method, 1, map); assertThat(desc.getRawClass(), is(sameClass(Map.class))); args = desc.getArguments(); assertThat(args.length, is(2));
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 4.4K bytes - Viewed (0)