- Sort Score
- Num 10 results
- Language All
Results 1471 - 1480 of 3,731 for get2 (0.08 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt
val contentType = "application/json".toMediaType() val body = "{}".toRequestBody(contentType) val get = Request .Builder() .url("http://localhost/api") .get() .build() assertThat(get.method).isEqualTo("GET") assertThat(get.body).isNull() val head = Request .Builder() .url("http://localhost/api") .head()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 24.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java
List<String> result = SuggestUtil.getAsList(listWithNulls); assertNotNull(result); assertEquals(3, result.size()); assertEquals("valid", result.get(0)); assertEquals(null, result.get(1)); assertEquals("another", result.get(2)); } @Test(expected = IllegalArgumentException.class) public void testGetAsListWithArray() { // Test with array (should throw exception)Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 24 03:40:05 GMT 2025 - 26.7K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java
List active = profileManager.getActiveProfiles(); assertNotNull(active); assertEquals(1, active.size()); assertEquals("defaultActivated", ((Profile) active.get(0)).getId()); } @Test void testShouldNotActivateDefaultProfile() throws Exception { Profile syspropActivated = new Profile(); syspropActivated.setId("syspropActivated");Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Mar 30 23:08:36 GMT 2025 - 6.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/FilteredEntrySetMultimap.java
super(unfiltered, predicate); } @Override public SetMultimap<K, V> unfiltered() { return (SetMultimap<K, V>) unfiltered; } @Override public Set<V> get(@ParametricNullness K key) { return (Set<V>) super.get(key); } @Override public Set<V> removeAll(@Nullable Object key) { return (Set<V>) super.removeAll(key); } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableList.java
private final ImmutableList<E> list; Itr(ImmutableList<E> list, int index) { super(list.size(), index); this.list = list; } @Override protected E get(int index) { return list.get(index); } } @Override public int indexOf(@Nullable Object object) { return (object == null) ? -1 : Lists.indexOfImpl(this, object); } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 27.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java
new AtomicReference<WeakReference<?>>( (WeakReference<?>) sepFwrCons.newInstance(sepStopwatchA.get(), sepFrqA.get())); assertThat(sepStopwatchA.get()).isNotNull(); // Clear all references to the Stopwatch and wait for it to be gc'd. sepStopwatchA.set(null); GcFinalization.awaitClear(sepStopwatchRef.get()); // Return a weak reference to the parallel ClassLoader. This is the reference that should
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 26 02:41:17 GMT 2026 - 7.7K bytes - Click Count (0) -
okhttp/src/jvmTest/java/okhttp3/CallJavaTest.java
private OkHttpClient client = clientTestRule.newClient(); @Test public void tagsSeededFromRequest() { Request request = new Request.Builder() .url(HttpUrl.get("https://square.com/")) .tag(Integer.class, 5) .tag(String.class, "hello") .build(); Call call = client.newCall(request); assertEquals(5, call.tag(Integer.class));
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Oct 26 14:54:46 GMT 2025 - 1.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleType.java
private final int value; HandleType(int value) { this.value = value; } /** * Get the numeric value of this handle type * @return the numeric value */ public int getValue() { return value; } /** * Get HandleType from numeric value * @param value the numeric value * @return the corresponding HandleType */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 1.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/fileauth/ApiAdminFileauthAction.java
// ============== // GET /api/admin/fileauth/settings // PUT /api/admin/fileauth/settings /** * Returns list of file authentication settings. * Supports both GET and PUT requests for retrieving paginated file authentication configurations. * * @param body search parameters for filtering and paginationCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 9.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java
ImmutableList.copyOf(asMap.entrySet()).reverse(), ImmutableList.copyOf(descendingMap.entrySet())); for (Range<Integer> query : RANGES) { assertEquals(expectedAsMap.get(query), asMap.get(query)); } } } } } public void testSubRangeMap() { for (Range<Integer> range1 : RANGES) { for (Range<Integer> range2 : RANGES) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 9.4K bytes - Click Count (0)