- Sort Score
- Result 10 results
- Languages All
Results 1421 - 1430 of 3,853 for Uint (0.07 sec)
-
okhttp/src/test/java/okhttp3/internal/http2/SettingsTest.kt
class SettingsTest { @Test fun unsetField() { val settings = Settings() assertThat(settings.isSet(Settings.MAX_CONCURRENT_STREAMS)).isFalse() assertThat(settings.getMaxConcurrentStreams()).isEqualTo(Int.MAX_VALUE) } @Test fun setFields() { val settings = Settings() settings[Settings.HEADER_TABLE_SIZE] = 8096 assertThat(settings.headerTableSize).isEqualTo(8096)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.7K bytes - Viewed (0) -
tests/test_response_model_sub_types.py
from pydantic import BaseModel class Model(BaseModel): name: str app = FastAPI() @app.get("/valid1", responses={"500": {"model": int}}) def valid1(): pass @app.get("/valid2", responses={"500": {"model": List[int]}}) def valid2(): pass @app.get("/valid3", responses={"500": {"model": Model}}) def valid3(): pass
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 5.3K bytes - Viewed (0) -
istioctl/pkg/cli/mock_client.go
type MockClient struct { // Results is a map of podName to the results of the expected test on the pod Results map[string][]byte kube.CLIClient } func (c MockClient) NewPortForwarder(_, _, _ string, _, _ int) (kube.PortForwarder, error) { return MockPortForwarder{}, nil } func (c MockClient) AllDiscoveryDo(_ context.Context, _, _ string) (map[string][]byte, error) { return c.Results, nil }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Mar 08 08:38:19 UTC 2024 - 2.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java
for (int i = 0; i < 10000; i++) { stripedLock.get(new Object()).lock(); // nothing special (e.g. an exception) happens } } public void testBulkGetReturnsSorted() { for (Striped<?> striped : allImplementations()) { Map<Object, Integer> indexByLock = Maps.newHashMap(); for (int i = 0; i < striped.size(); i++) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 26 12:58:35 UTC 2024 - 8.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/StripedTest.java
for (int i = 0; i < 10000; i++) { stripedLock.get(new Object()).lock(); // nothing special (e.g. an exception) happens } } public void testBulkGetReturnsSorted() { for (Striped<?> striped : allImplementations()) { Map<Object, Integer> indexByLock = Maps.newHashMap(); for (int i = 0; i < striped.size(); i++) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 26 12:58:35 UTC 2024 - 8.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java
public synchronized PagingList<SynonymItem> selectList(final int offset, final int size) { if (synonymItemList == null) { reload(null); } if (offset >= synonymItemList.size() || offset < 0) { return new PagingList<>(Collections.<SynonymItem> emptyList(), offset, size, synonymItemList.size()); } int toIndex = offset + size; if (toIndex > synonymItemList.size()) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 12.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/GeneralRange.java
* whenever they pass `true` for the matching `has*Bound` parameter. */ if (hasLowerBound) { int unused = comparator.compare( uncheckedCastNullableTToT(lowerEndpoint), uncheckedCastNullableTToT(lowerEndpoint)); } if (hasUpperBound) { int unused = comparator.compare(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 10.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/AccessTokenHelperTest.java
protected static final int NUM = 20; private AccessTokenHelper accessTokenHelper; @Override public void setUp() throws Exception { super.setUp(); accessTokenHelper = new AccessTokenHelper(); } public void test_generateAccessToken() { List<String> tokens = new ArrayList<String>(); for (int i = 0; i < NUM; i++) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestEnumMapGenerator.java
@Override @SuppressWarnings("unchecked") public final Entry<AnEnum, String>[] createArray(int length) { return (Entry<AnEnum, String>[]) new Entry<?, ?>[length]; } @Override public final AnEnum[] createKeyArray(int length) { return new AnEnum[length]; } @Override public final String[] createValueArray(int length) { return new String[length]; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/SingletonImmutableSet.java
return ImmutableList.of(element); } @Override boolean isPartialView() { return false; } @Override int copyIntoArray(@Nullable Object[] dst, int offset) { dst[offset] = element; return offset + 1; } @Override public final int hashCode() { return element.hashCode(); } @Override public String toString() { return '[' + element.toString() + ']'; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.6K bytes - Viewed (0)