- Sort Score
- Num 10 results
- Language All
Results 211 - 220 of 303 for Revoke (0.13 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt
* interceptors. * * ```kotlin * val interceptor = Interceptor { chain: Interceptor.Chain -> * chain.proceed(chain.request()) * } * ``` */ inline operator fun invoke(crossinline block: (chain: Chain) -> Response): Interceptor = Interceptor { block(it) } } interface Chain { fun request(): Request @Throws(IOException::class) fun proceed(request: Request): ResponseCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 8.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java
lastMethodCalled = "invokeAllTimeout"; lastTimeoutInMillis = unit.toMillis(timeout); return inline.invokeAll(tasks, timeout, unit); } // Define the invokeAny methods to invoke the first task @Override public <T> T invokeAny(Collection<? extends Callable<T>> tasks) throws ExecutionException, InterruptedException { assertTaskWrapped(tasks);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 10.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/SubtypeTester.java
if (method.isAnnotationPresent(TestSubtype.class)) { method.setAccessible(true); SubtypeTester tester = (SubtypeTester) clone(); tester.method = method; method.invoke(tester, new Object[] {null}); } } } private Type getOnlyParameterType() { assertThat(method.getGenericParameterTypes()).hasLength(1); return method.getGenericParameterTypes()[0]; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 6.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java
createFileInfoMethod.setAccessible(true); FileBothDirectoryInfo result = (FileBothDirectoryInfo) createFileInfoMethod.invoke(response); assertNotNull(result); } @Test @DisplayName("Test createFileInfo with unsupported info class returns null")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 23.5K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java
*/ abstract void afterRanInterruptiblyFailure(Throwable error); /** * Interrupts the running task. Because this internally calls {@link Thread#interrupt()} which can * in turn invoke arbitrary code it is not safe to call while holding a lock. */ @SuppressWarnings("Interruption") // We are implementing a user-requested interrupt. final void interruptTask() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 28 22:39:02 GMT 2026 - 10K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFuture.java
complete( owner, /* * Interruption doesn't propagate through a DelegatingToFuture chain (see * getFutureValue), so don't invoke interruptTask. */ false); } } } /** Constructor for use by subclasses. */ protected AbstractFuture() {} /** * {@inheritDoc} *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 14:39:00 GMT 2026 - 43.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/CurlHelperTest.java
try { java.lang.reflect.Method method = CurlHelper.class.getDeclaredMethod("request", CurlRequest.class); method.setAccessible(true); return (CurlRequest) method.invoke(curlHelper, request); } catch (Exception e) { fail("Failed to call protected request method: " + e.getMessage()); return null; } } @OverrideCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 10.4K bytes - Click Count (0) -
src/main/java/org/codelibs/core/beans/MethodDesc.java
* @param target * the target object. Must not be {@literal null} * @param args * the method arguments * @return the result of the method */ <T> T invoke(Object target, Object... args); /** * Invokes a static method and returns its result. * * @param <T> * the return type of the method * @param argsCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 5.9K bytes - Click Count (0) -
guava/src/com/google/common/base/FinalizableReferenceQueue.java
* * <p>Keep a strong reference to this object until all of the associated referents have been * finalized. If this object is garbage collected earlier, the backing thread will not invoke {@code * finalizeReferent()} on the remaining references. * * <p>As an example of how this is used, imagine you have a class {@code MyServer} that creates aCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 19:26:59 GMT 2026 - 15.8K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/Types.java
TypeVariableInvocationHandler(TypeVariableImpl<?> typeVariableImpl) { this.typeVariableImpl = typeVariableImpl; } @Override public @Nullable Object invoke(Object proxy, Method method, @Nullable Object @Nullable [] args) throws Throwable { String methodName = method.getName(); Method typeVariableMethod = typeVariableMethods.get(methodName);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Oct 31 19:34:24 GMT 2025 - 24.3K bytes - Click Count (0)