- Sort Score
- Result 10 results
- Languages All
Results 281 - 290 of 1,626 for lengths (0.08 sec)
-
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 Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 21.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/BooleansTest.java
input = Arrays.copyOf(input, input.length); Booleans.reverse(input); assertThat(input).isEqualTo(expectedOutput); } private static void testReverse( boolean[] input, int fromIndex, int toIndex, boolean[] expectedOutput) { input = Arrays.copyOf(input, input.length); Booleans.reverse(input, fromIndex, toIndex);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 24.8K 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 Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 09 08:44:07 UTC 2024 - 5.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java
E[] array = collection.toArray(empty); assertEquals( "toArray(emptyT[]) should return an array of type T", empty.getClass(), array.getClass()); assertEquals("toArray(emptyT[]).length:", getNumElements(), array.length); expectArrayContentsAnyOrder(createSamplesArray(), array); } @CollectionFeature.Require(KNOWN_ORDER) public void testToArray_emptyArray_ordered() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 8.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestStringListGenerator.java
* #create(Object...)}. */ protected abstract List<String> create(String[] elements); @Override public String[] createArray(int length) { return new String[length]; } /** Returns the original element list, unchanged. */ @Override public List<String> order(List<String> insertionOrder) { return insertionOrder; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/netbios/Lmhosts.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 6.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/MIEName.java
*/ MIEName ( byte[] buf ) { int i; int len; if ( buf.length < TOK_ID_SIZE + MECH_OID_LEN_SIZE ) { throw new IllegalArgumentException(); } // TOK_ID for ( i = 0; i < TOK_ID.length; i++ ) { if ( TOK_ID[ i ] != buf[ i ] ) { throw new IllegalArgumentException(); } }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.5K bytes - Viewed (0) -
src/test/java/jcifs/tests/EnumTest.java
assertTrue("No share found", list.length > 0); log.debug(Arrays.toString(list)); String shareUrl = getTestShareURL(); String link = shareUrl.substring(dfsRoot.length()); Set<String> listLinks = new HashSet<>(Arrays.asList(list)); int firstSep = link.indexOf('/'); if ( firstSep == link.length() - 1 ) { // single level
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:09:03 UTC 2023 - 25.5K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InetAddresses.java
// contain non-decimal characters. int length = end - start; if (length <= 0 || length > 3) { throw new NumberFormatException(); } // Disallow leading zeroes, because no clear standard exists on // whether these should be interpreted as decimal or octal. if (length > 1 && ipString.charAt(start) == '0') { throw new NumberFormatException(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 47.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java
public void testLength() { assertThat(ImmutableIntArray.of().length()).isEqualTo(0); assertThat(ImmutableIntArray.of(0).length()).isEqualTo(1); assertThat(ImmutableIntArray.of(0, 1, 3).length()).isEqualTo(3); assertThat(ImmutableIntArray.of(0, 1, 3).subArray(1, 1).length()).isEqualTo(0); assertThat(ImmutableIntArray.of(0, 1, 3).subArray(1, 2).length()).isEqualTo(1); } public void testIsEmpty() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 20.1K bytes - Viewed (0)