- Sort Score
- Result 10 results
- Languages All
Results 2401 - 2410 of 3,853 for Uint (0.02 sec)
-
guava/src/com/google/common/util/concurrent/RateLimiter.java
* @throws IllegalArgumentException if the requested number of permits is negative or zero * @since 16.0 (present in 13.0 with {@code void} return type}) */ @CanIgnoreReturnValue public double acquire(int permits) { long microsToWait = reserve(permits); stopwatch.sleepMicrosUninterruptibly(microsToWait); return 1.0 * microsToWait / SECONDS.toMicros(1L); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:51:36 UTC 2024 - 21.6K bytes - Viewed (0) -
cmd/storage-rest-client.go
values := make(url.Values) values.Set(storageRESTVolume, volume) values.Set(storageRESTFilePath, path) values.Set(storageRESTOffset, strconv.Itoa(int(offset))) values.Set(storageRESTLength, strconv.Itoa(int(length))) respBody, err := client.callGet(ctx, storageRESTMethodReadFileStream, values, nil, -1) if err != nil { return nil, toStorageErr(err) } return respBody, nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Oct 13 13:07:21 UTC 2024 - 30.2K bytes - Viewed (0) -
docs/ko/docs/tutorial/path-params.md
"item_id" ], "msg": "value is not a valid integer", "type": "type_error.integer" } ] } ``` 경로 매개변수 `item_id`는 `int`가 아닌 `"foo"` 값이기 때문입니다. `int`가 아닌 `float`을 전달하는 경우에도 동일한 오류가 나타납니다: <a href="http://127.0.0.1:8000/items/4.2" class="external-link" target="_blank">http://127.0.0.1:8000/items/4.2</a> /// check | "확인"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java
assertTrue(countDownLatch.await(1L, SECONDS)); } public void testOrdering() throws Exception { final AtomicInteger integer = new AtomicInteger(); for (int i = 0; i < 10; i++) { final int expectedCount = i; list.add( new Runnable() { @Override public void run() { integer.compareAndSet(expectedCount, expectedCount + 1);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 4.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMap.java
} private Builder(Comparator<? super K> comparator, int initialCapacity) { this.comparator = checkNotNull(comparator); this.keys = new @Nullable Object[initialCapacity]; this.values = new @Nullable Object[initialCapacity]; } private void ensureCapacity(int minCapacity) { if (minCapacity > keys.length) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 53K bytes - Viewed (0) -
internal/store/batch.go
} } b.items = append(b.items, item) return nil } // Len returns the no of items in the batch func (b *Batch[_]) Len() int { b.Lock() defer b.Unlock() return len(b.items) } func (b *Batch[_]) isFull() bool { return len(b.items) >= int(b.limit) } func (b *Batch[I]) commit() error { switch len(b.items) { case 0: return nil case 1: _, err := b.store.Put(b.items[0])
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 2.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/InputStreamUtil.java
import org.codelibs.core.exception.IORuntimeException; /** * {@link InputStream}用のユーティリティクラスです。 * * @author higa */ public abstract class InputStreamUtil { /** デフォルトのバッファサイズ */ private static final int BUF_SIZE = 4096; /** * {@link FileInputStream}を作成します。 * * @param file * ファイル。{@literal null}であってはいけません * @return ファイルから入力する{@link FileInputStream}
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.2K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableMap.java
return ImmutableCollection.unsafeDelegate(delegate.values()); } @Override public int size() { return delegate.size(); } @Override public boolean equals(@Nullable Object object) { return delegate.equals(object); } @Override public int hashCode() { return delegate.hashCode(); } @Override public String toString() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jan 24 16:03:45 UTC 2024 - 3.9K bytes - Viewed (0) -
istioctl/pkg/util/configdump/route.go
} drc := routeDump.GetDynamicRouteConfigs() // Support v2 or v3 in config dump. See ads.go:RequestedTypes for more info. for i := range drc { drc[i].RouteConfig.TypeUrl = v3.RouteType } sort.Slice(drc, func(i, j int) bool { r := &route.RouteConfiguration{} err = drc[i].RouteConfig.UnmarshalTo(r) if err != nil { return false } name := r.Name err = drc[j].RouteConfig.UnmarshalTo(r) if err != nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Nov 03 08:41:32 UTC 2022 - 3.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java
if (stemmerOverrideItemList == null) { reload(null); } if (offset >= stemmerOverrideItemList.size() || offset < 0) { return new PagingList<>(Collections.<StemmerOverrideItem> emptyList(), offset, size, stemmerOverrideItemList.size()); } int toIndex = offset + size;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 10.6K bytes - Viewed (0)