- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 204 for Revoke (0.13 sec)
-
guava/src/com/google/common/util/concurrent/FluentFuture.java
* of {@link java.util.concurrent.CompletableFuture#thenAccept} and {@link * java.util.concurrent.CompletableFuture#thenAcceptAsync}. * * @param callback The callback to invoke when this {@code Future} is completed. * @param executor The executor to run {@code callback} when the future completes. */ public final void addCallback(FutureCallback<? super V> callback, Executor executor) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:51:36 UTC 2024 - 19.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java
*/ SettableFuture<@Nullable Void> newFuture = SettableFuture.create(); ListenableFuture<@Nullable Void> oldFuture = ref.getAndSet(newFuture); // Invoke our task once the previous future completes. TrustedListenableFutureTask<T> taskFuture = TrustedListenableFutureTask.create(task); oldFuture.addListener(taskFuture, taskExecutor);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 01 21:46:34 UTC 2024 - 22.1K bytes - Viewed (0) -
cmd/admin-handlers-users_test.go
c.Assert(groupInfo.Policy, policy) c.Assert(groupInfo.Status, string(madmin.GroupEnabled)) // 5. Disable/enable the group and verify that user access is revoked/restored. err = s.adm.SetGroupStatus(ctx, group, madmin.GroupDisabled) if err != nil { c.Fatalf("group set status err: %v", err) } groupInfo, err = s.adm.GetGroupDescription(ctx, group) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Sep 22 00:33:43 UTC 2024 - 47.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/CharMatcherTest.java
} private static final CharMatcher WHATEVER = new CharMatcher() { @Override public boolean matches(char c) { throw new AssertionFailedError("You weren't supposed to actually invoke me!"); } }; public void testAnyAndNone_logicalOps() throws Exception { // These are testing behavior that's never promised by the API, but since
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 18:32:41 UTC 2024 - 30.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt
* async task to do so. */ inner class ReaderRunnable internal constructor( internal val reader: Http2Reader, ) : Http2Reader.Handler, () -> Unit { override fun invoke() { var connectionErrorCode = ErrorCode.INTERNAL_ERROR var streamErrorCode = ErrorCode.INTERNAL_ERROR var errorException: IOException? = null try { reader.readConnectionPreface(this)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 32.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
return Reflection.newProxy(interfaceType, new FreshInvocationHandler(interfaceType)); } private Object invokeGeneratorMethod(Method generator, Object... args) { try { return generator.invoke(this, args); } catch (InvocationTargetException e) { throwIfUnchecked(e.getCause()); throw new RuntimeException(e.getCause()); } catch (Exception e) { throwIfUnchecked(e);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 28.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Streams.java
? ((Collection<T>) iterable).stream() : StreamSupport.stream(iterable.spliterator(), false); } /** * Returns {@link Collection#stream}. * * @deprecated There is no reason to use this; just invoke {@code collection.stream()} directly. */ @Deprecated @InlineMe(replacement = "collection.stream()") public static <T extends @Nullable Object> Stream<T> stream(Collection<T> collection) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 37.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SetsTest.java
assertThat(units).isEmpty(); } public void testToImmutableEnumSetReused() { // The method call lets us capture the accumulator as an A and invoke the callbacks manually genericTestToImmutableEnumSetReused(Sets.<SomeEnum>toImmutableEnumSet()); } private static <A extends @Nullable Object> void genericTestToImmutableEnumSetReused(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 48.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
return Reflection.newProxy(interfaceType, new FreshInvocationHandler(interfaceType)); } private Object invokeGeneratorMethod(Method generator, Object... args) { try { return generator.invoke(this, args); } catch (InvocationTargetException e) { throwIfUnchecked(e.getCause()); throw new RuntimeException(e.getCause()); } catch (Exception e) { throwIfUnchecked(e);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 28.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
* other code to use these forms too. Only the most typically used JUnit assertion methods are * defined this way, but enough to live with. * <li>If you override {@link #setUp} or {@link #tearDown}, make sure to invoke {@code * super.setUp} and {@code super.tearDown} within them. These methods are used to clear and * check for thread assertion failures.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 37.9K bytes - Viewed (0)