Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 222 for Revoke (1.39 sec)

  1. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        thread.awaitWaiting();
        Thread.class.getMethod("suspend").invoke(thread);
        // Sleep for enough time to add 1500 milliseconds of overwait to the get() call.
        long toWaitMillis = 3500 - NANOSECONDS.toMillis(System.nanoTime() - thread.startTime);
        Thread.sleep(toWaitMillis);
        thread.setPriority(Thread.MAX_PRIORITY);
        Thread.class.getMethod("resume").invoke(thread);
        thread.join();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  2. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  3. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

                      SetMultimap.class.getClassLoader(),
                      new Class<?>[] {SetMultimap.class},
                      new InvocationHandler() {
                        @Override
                        public Object invoke(Object proxy, Method method, Object[] args)
                            throws Throwable {
                          throw new UnsupportedOperationException();
                        }
                      });
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt

       *
       * If a frame cannot be sent - because there are none enqueued or because the web socket is not
       * connected - this does nothing and returns false. Otherwise, this returns true and the caller
       * should immediately invoke this method again until it returns false.
       *
       * This method may only be invoked by the writer thread. There may be only thread invoking this
       * method at a time.
       */
      @Throws(IOException::class)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

            Method createInfoMethod = Smb2QueryInfoResponse.class.getDeclaredMethod("createInformation", byte.class, byte.class);
            createInfoMethod.setAccessible(true);
    
            Decodable result = (Decodable) createInfoMethod.invoke(null, infoType, infoClass);
    
            assertNotNull(result, String.format("Should create information for type %d, class %d", infoType, infoClass));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  7. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/primitives/Floats.java

      public static int hashCode(float value) {
        return Float.hashCode(value);
      }
    
      /**
       * Compares the two specified {@code float} values using {@link Float#compare(float, float)}. You
       * may prefer to invoke that method directly; this method exists only for consistency with the
       * other utilities in this package.
       *
       * <p><b>Note:</b> this method simply delegates to the JDK method {@link Float#compare}. It is
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  9. android/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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  10. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 37K bytes
    - Viewed (0)
Back to top