- Sort Score
- Num 10 results
- Language All
Results 271 - 280 of 2,952 for method (0.05 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt
val headers = headersOf("User-Agent", "RequestTest") val method = "PUT" val request = Request( url = url, headers = headers, method = method, body = body, ) assertThat(request.url).isEqualTo(url) assertThat(request.headers).isEqualTo(headers) assertThat(request.method).isEqualTo(method) assertThat(request.body).isEqualTo(body)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 11K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcSecurityProviderTest.java
// Verify that the wrap method was called exactly once verify(dcerpcSecurityProvider, times(1)).wrap(mockNdrBuffer); } @Test void testUnwrapMethodIsCalled() throws DcerpcException { // Test that the unwrap method can be called without throwing an exception dcerpcSecurityProvider.unwrap(mockNdrBuffer); // Verify that the unwrap method was called exactly once with the mockNdrBufferCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ForwardingMapTest.java
private static <T> void callAllPublicMethods(TypeToken<T> type, T object) throws InvocationTargetException { for (Method method : type.getRawType().getMethods()) { if ((method.getModifiers() & STATIC) != 0) { continue; } ImmutableList<Parameter> parameters = type.method(method).getParameters(); Object[] args = new Object[parameters.size()]; for (int i = 0; i < parameters.size(); i++) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 12.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt
val headers = headersOf("User-Agent", "RequestTest") val method = "PUT" val request = Request( url = url, headers = headers, method = method, body = body, ) assertThat(request.url).isEqualTo(url) assertThat(request.headers).isEqualTo(headers) assertThat(request.method).isEqualTo(method) assertThat(request.body).isEqualTo(body)
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) -
android/guava/src/com/google/common/collect/AbstractSetMultimap.java
* {@link Set}, instead of the {@link Collection} specified in the {@link Multimap} interface. */ @Override public Set<V> get(@ParametricNullness K key) { return (Set<V>) super.get(key); } /** * {@inheritDoc} * * <p>Because a {@code SetMultimap} has unique values for a given key, this method returns aCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 20 13:05:10 GMT 2025 - 4.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractSetMultimap.java
* {@link Set}, instead of the {@link Collection} specified in the {@link Multimap} interface. */ @Override public Set<V> get(@ParametricNullness K key) { return (Set<V>) super.get(key); } /** * {@inheritDoc} * * <p>Because a {@code SetMultimap} has unique values for a given key, this method returns aCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 20 13:05:10 GMT 2025 - 4.9K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/CacheBuilder.java
/* * We avoid using a method reference or lambda here for now: * * - method reference: Inside Google, CacheBuilder is used from the implementation of a custom * ClassLoader that is sometimes used as a system classloader. That's a problem because * method-reference linking tries to look up the system classloader, and it fails because there * isn't one yet.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 13:13:59 GMT 2026 - 52K bytes - Click Count (0) -
docs/en/docs/how-to/extending-openapi.md
A `FastAPI` application (instance) has an `.openapi()` method that is expected to return the OpenAPI schema. As part of the application object creation, a *path operation* for `/openapi.json` (or for whatever you set your `openapi_url`) is registered. It just returns a JSON response with the result of the application's `.openapi()` method.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 3.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Sets.java
* method provides a {@link Set} implementation corresponding to any {@link Map} implementation. * There is no need to use this method on a {@link Map} implementation that already has a * corresponding {@link Set} implementation (such as {@link java.util.HashMap} or {@link * java.util.TreeMap}). * * <p>Each method invocation on the set returned by this method results in exactly one methodCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 81.4K bytes - Click Count (0) -
doc/next/6-stdlib/99-minor/net/url/73450.md
The new [URL.Clone] method creates a deep copy of a URL.
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Mar 06 18:48:32 GMT 2026 - 118 bytes - Click Count (0)