- Sort Score
- Num 10 results
- Language All
Results 1721 - 1730 of 4,454 for getI (0.02 seconds)
-
regression-test/src/androidTest/java/okhttp/regression/compare/ApacheHttpClientHttp2Test.kt
@Test fun testHttp2() { val client = HttpAsyncClients.createHttp2Default() client.use { client -> client.start() val request = SimpleHttpRequests.get("https://google.com/robots.txt") val response = client.execute(request, LoggingCallback).get() println("Protocol ${response.version}") println("Response ${response.code}") println("${response.body.bodyText.substring(0, 20)}...")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Feb 07 06:56:34 GMT 2026 - 2.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/AbstractRangeSetTest.java
List<Range<C>> asRanges = ImmutableList.copyOf(rangeSet.asRanges()); // test that connected ranges are coalesced for (int i = 0; i + 1 < asRanges.size(); i++) { Range<C> range1 = asRanges.get(i); Range<C> range2 = asRanges.get(i + 1); assertFalse(range1.isConnected(range2)); } // test that there are no empty ranges for (Range<C> range : asRanges) { assertFalse(range.isEmpty()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 2.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableMapKeySet.java
return map.keySpliterator(); } @Override public boolean contains(@Nullable Object object) { return map.containsKey(object); } @Override K get(int index) { return map.entrySet().asList().get(index).getKey(); } @Override public void forEach(Consumer<? super K> action) { checkNotNull(action); map.forEach((k, v) -> action.accept(k)); } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 2.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainBeforeHookTest.java
// during the process, though we can't directly test the lock state // When try { curtainBeforeHook.processDBFluteSystem(); // Then - if we get here without exception, the unlock/lock worked DfFinalTimeZoneProvider provider = getDBFluteSystemTimeZoneProvider(); // Provider might be null due to reflection limitations, which is ok
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 8.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/SocketChannelTest.kt
server.enqueue(MockResponse(body = "abc")) @Suppress("HttpUrlsUsage") val url = if (socketMode is TlsInstance) { "https://$hostname:${server.port}/get" } else { "http://$hostname:${server.port}/get" } val request = Request .Builder() .url(url) .build() val promise = CompletableFuture<Response>()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Nov 01 12:18:11 GMT 2025 - 7.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedMapTest.java
assertTrue(Thread.holdsLock(mutex)); return super.containsValue(value); } @Override public @Nullable V get(Object key) { assertTrue(Thread.holdsLock(mutex)); return super.get(key); } @Override public @Nullable V put(K key, V value) { assertTrue(Thread.holdsLock(mutex)); return super.put(key, value); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java
this.lookup = lookup; this.registry = registry; } /** * Get lifecycle based on phase * * @param phase * @return */ public Lifecycle get(String phase) { return getPhaseToLifecycleMap().get(phase); } /** * We use this to map all phases to the lifecycle that contains it. This is used so that a user can specify theCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 6.6K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/FutureCallback.java
void onSuccess(@ParametricNullness V result); /** * Invoked when a {@code Future} computation fails or is canceled. * * <p>If the future's {@link Future#get() get} method throws an {@link ExecutionException}, then * the cause is passed to this method. Any other thrown object is passed unaltered. */ void onFailure(Throwable t);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.5K bytes - Click Count (0) -
src/test/java/org/codelibs/core/beans/util/BeanMapTest.java
/** * @throws Exception */ @Test public void testGet() throws Exception { final BeanMap map = new BeanMap(); map.put("aaa", 1); map.put("bbb", 2); assertThat(map.get("aaa"), is((Object) 1)); } /** * @throws Exception */ @Test public void testGet_NotContains() throws Exception { exception.expect(IllegalKeyOfBeanMapException.class);Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.7K bytes - Click Count (0) -
src/test/java/org/codelibs/core/collection/LruHashMapTest.java
lru.put("ccc", "333"); assertThat(lru.get("aaa"), is("111")); Iterator<String> i = lru.keySet().iterator(); assertThat(i.next(), is("bbb")); assertThat(i.next(), is("ccc")); assertThat(i.next(), is("aaa")); lru.put("ddd", "444"); assertThat(lru.size(), is(3)); assertThat(lru.get("bbb"), is(nullValue())); i = lru.keySet().iterator();
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.7K bytes - Click Count (0)