- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 645 for Start (0.04 sec)
-
cmd/httprange.go
return 0, 0, err } start = h.Start if h.IsSuffixLength { start = resourceSize + h.Start if start < 0 { start = 0 } } return start, length, nil } // Parse a HTTP range header value into a HTTPRangeSpec func parseRequestRangeSpec(rangeString string) (hrange *HTTPRangeSpec, err error) { // Return error if given range string doesn't start with byte range prefix.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 09 08:44:07 UTC 2024 - 5.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/StopwatchTest.java
} public void testStart() { assertSame(stopwatch, stopwatch.start()); assertTrue(stopwatch.isRunning()); } public void testStart_whileRunning() { stopwatch.start(); assertThrows(IllegalStateException.class, stopwatch::start); assertTrue(stopwatch.isRunning()); } public void testStop() { stopwatch.start(); assertSame(stopwatch, stopwatch.stop());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 5.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ComparisonChainTest.java
assertThat(ComparisonChain.start().compareFalseFirst(false, true).result()).isLessThan(0); assertThat(ComparisonChain.start().compareFalseFirst(false, false).result()).isEqualTo(0); } public void testCompareTrueFirst() { assertThat(ComparisonChain.start().compareTrueFirst(true, true).result()).isEqualTo(0);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 27 13:27:08 UTC 2024 - 7.5K bytes - Viewed (0) -
src/bytes/iter.go
start := -1 for i := 0; i < len(s); { size := 1 r := rune(s[i]) if r >= utf8.RuneSelf { r, size = utf8.DecodeRune(s[i:]) } if f(r) { if start >= 0 { if !yield(s[start:i:i]) { return } start = -1 } } else if start < 0 { start = i } i += size } if start >= 0 { yield(s[start:len(s):len(s)]) } }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Aug 14 18:23:13 UTC 2024 - 3.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/StopwatchTest.java
} public void testStart() { assertSame(stopwatch, stopwatch.start()); assertTrue(stopwatch.isRunning()); } public void testStart_whileRunning() { stopwatch.start(); assertThrows(IllegalStateException.class, stopwatch::start); assertTrue(stopwatch.isRunning()); } public void testStop() { stopwatch.start(); assertSame(stopwatch, stopwatch.stop());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 5.7K bytes - Viewed (0) -
internal/s3select/select.go
if start < 0 { return 0, 0, errors.New("ScanRange: Start after EOF") } return start, -1, nil } if s.Start == nil { // Suffix length end := int64(*s.End) if end < 0 { return 0, 0, errors.New("ScanRange: End bigger than file") } // Suffix length return -end, -1, nil } start = int64(*s.Start) end := int64(*s.End) return start, end - start + 1, nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Sep 22 00:33:43 UTC 2024 - 21.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayMapTest.java
start = System.currentTimeMillis(); SerializeUtil.serialize(hmap); System.out.println("HashMap serialize:" + (System.currentTimeMillis() - start)); start = System.currentTimeMillis(); SerializeUtil.serialize(amap); System.out.println("ArrayMap serialize:" + (System.currentTimeMillis() - start)); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 10.7K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Bytes.java
final byte[] array; final int start; final int end; ByteArrayAsList(byte[] array) { this(array, 0, array.length); } ByteArrayAsList(byte[] array, int start, int end) { this.array = array; this.start = start; this.end = end; } @Override public int size() { return end - start; } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 27 16:47:48 UTC 2024 - 15.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java
try { final long start = System.currentTimeMillis(); final SuggestWriterResult result = suggestWriter.write(client, settings, index, array, true); return new SuggestIndexResponse(items.length, items.length, result.getFailures(), System.currentTimeMillis() - start); } catch (final Exception e) {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 26.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/CaseInsensitiveMapTest.java
System.out.println("CaseInsensitiveMap.put:" + (System.currentTimeMillis() - start)); start = System.currentTimeMillis(); for (int i = 0; i < num; i++) { hmap.get("a" + String.valueOf(i)); } System.out.println("HashMap.get:" + (System.currentTimeMillis() - start)); start = System.currentTimeMillis(); for (int i = 0; i < num; i++) {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 4K bytes - Viewed (0)