- Sort Score
- Result 10 results
- Languages All
Results 391 - 400 of 3,796 for Get (0.01 sec)
-
tests/main_test.go
} } func TestSetAndGet(t *testing.T) { if value, ok := DB.Set("hello", "world").Get("hello"); !ok { t.Errorf("Should be able to get setting after set") } else if value.(string) != "world" { t.Errorf("Set value should not be changed") } if _, ok := DB.Get("non_existing"); ok { t.Errorf("Get non existing key should return error") }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Mar 24 01:31:58 UTC 2022 - 1.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/container/StandardCrawlerContainer.java
return (T) this; } final ComponentDef<?> componentDef = prototypeMap.get(name); if (componentDef != null) { return (T) componentDef.get(); } final ComponentHolder<?> componentHolder = singletonMap.get(name); if (componentHolder != null) { return (T) componentHolder.get(); } return null; } @Override
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:41:37 UTC 2024 - 7.6K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Striped.java
* i.e. {@code if (key1.equals(key2))} then {@code striped.get(key1) == striped.get(key2)} (assuming * {@link Object#hashCode()} is correctly implemented for the keys). Note that if {@code key1} is * <strong>not</strong> equal to {@code key2}, it is <strong>not</strong> guaranteed that {@code * striped.get(key1) != striped.get(key2)}; the elements might nevertheless be mapped to the same
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 26 12:58:35 UTC 2024 - 20.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableRangeMap.java
return null; } else { Range<K> range = ranges.get(index); return range.contains(key) ? immutableEntry(range, values.get(index)) : null; } } @Override public Range<K> span() { if (ranges.isEmpty()) { throw new NoSuchElementException(); } Range<K> firstRange = ranges.get(0); Range<K> lastRange = ranges.get(ranges.size() - 1);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 14.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/MapCacheTest.java
assertThat(mapCache.get(key)).isEqualTo(key + "_value"); } } @Test public void testPutNewValue() { assertThat(mapCache.put("key", "value")).isNull(); assertThat(mapCache.get("key")).isEqualTo("value"); // ensure key/value is cached assertThat(mapCache.put("key", "new value")).isEqualTo("value"); assertThat(mapCache.get("key")).isEqualTo("new value"); } @Test
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 26 16:23:26 UTC 2021 - 3.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/UncheckedThrowingFuture.java
throw (Error) cause; } } throw e; } @Override public V get() throws ExecutionException, InterruptedException { try { super.get(); } catch (ExecutionException e) { rethrow(e); } throw new AssertionError("Unreachable"); } @Override public V get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 12 20:02:10 UTC 2018 - 3.2K bytes - Viewed (0) -
internal/config/subnet/config.go
var proxyURL *xnet.URL proxy := env.Get(config.EnvMinIOSubnetProxy, kvs.Get(config.Proxy)) if len(proxy) > 0 { proxyURL, err = xnet.ParseHTTPURL(proxy) if err != nil { return cfg, err } } cfg.License = strings.TrimSpace(env.Get(config.EnvMinIOSubnetLicense, kvs.Get(config.License))) cfg.APIKey = strings.TrimSpace(env.Get(config.EnvMinIOSubnetAPIKey, kvs.Get(config.APIKey))) cfg.Proxy = proxy
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 3.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/ResourceUtil.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Oct 24 08:52:32 UTC 2024 - 7.5K bytes - Viewed (0) -
tests/test_tutorial/test_custom_response/test_tutorial006.py
client = TestClient(app) def test_get(): response = client.get("/typer", follow_redirects=False) assert response.status_code == 307, response.text assert response.headers["location"] == "https://typer.tiangolo.com" def test_openapi_schema(): response = client.get("/openapi.json") assert response.status_code == 200, response.text assert response.json() == {
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java
WeakReference<Object> garbage = new WeakReference<>(new Object()); GcFinalization.awaitClear(garbage); assertNotNull(weakRef.get()); } } public void testMaximalWeakStripedLock() { Striped<Lock> stripedLock = Striped.lazyWeakLock(Integer.MAX_VALUE); for (int i = 0; i < 10000; i++) { stripedLock.get(new Object()).lock(); // nothing special (e.g. an exception) happens
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 26 12:58:35 UTC 2024 - 8.4K bytes - Viewed (0)