Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 78 for entered (0.26 seconds)

  1. android/guava/src/com/google/common/util/concurrent/Monitor.java

      public boolean enter(Duration time) {
        return enter(toNanosSaturated(time), NANOSECONDS);
      }
    
      /**
       * Enters this monitor. Blocks at most the given time.
       *
       * @return whether the monitor was entered
       */
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      public boolean enter(long time, TimeUnit unit) {
        long timeoutNanos = toSafeNanos(time, unit);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 28 22:39:02 GMT 2026
    - 43.5K bytes
    - Click Count (0)
  2. .github/workflows/scorecard.yml

              #   - See https://github.com/ossf/scorecard-action#publishing-results.
              # For private repositories:
              #   - `publish_results` will always be set to `false`, regardless
              #     of the value entered here.
              publish_results: true
    
          # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
          # format to the repository Actions tab.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 22:02:44 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/StandardTable.java

            columnIterator = rowEntry.getValue().entrySet().iterator();
          }
          /*
           * requireNonNull is safe because:
           *
           * - columnIterator started off pointing to an empty iterator, so we must have entered the
           *   `if` body above at least once. Thus, if we got this far, that `if` body initialized
           *   rowEntry at least once.
           *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 30.4K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/math/BigIntegerMath.java

        if (approxCmp > 0) {
          /*
           * The code is written so that even completely incorrect approximations will still yield the
           * correct answer eventually, but in practice this branch should almost never be entered, and
           * even then the loop should not run more than once.
           */
          do {
            approxLog10--;
            approxPow = approxPow.divide(BigInteger.TEN);
            approxCmp = approxPow.compareTo(x);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

        /** Constructor for use by subclasses. */
        public Listener() {}
    
        /**
         * Called when the service initially becomes healthy.
         *
         * <p>This will be called at most once after all the services have entered the {@linkplain
         * State#RUNNING running} state. If any services fail during start up or {@linkplain
         * State#FAILED fail}/{@linkplain State#TERMINATED terminate} before all other services have
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 33.2K bytes
    - Click Count (1)
  6. android/guava/src/com/google/common/collect/StandardTable.java

            columnIterator = rowEntry.getValue().entrySet().iterator();
          }
          /*
           * requireNonNull is safe because:
           *
           * - columnIterator started off pointing to an empty iterator, so we must have entered the
           *   `if` body above at least once. Thus, if we got this far, that `if` body initialized
           *   rowEntry at least once.
           *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 29.4K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        // A corollary to all that is that we don't need to check isDone inside the loop because if we
        // get into the loop we know that we weren't done when we entered and therefore we aren't under
        // an obligation to execute 'immediately'.
        if (!isDone()) {
          Listener oldHead = listeners();
          if (oldHead != Listener.TOMBSTONE) {
    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)
  8. fastapi/routing.py

                        # would finalize the generator and also working for sync
                        # generators running in a thread pool.
                        #
                        # This context manager is entered on the request-scoped
                        # AsyncExitStack so its __aexit__ (which cancels the
                        # task group) is called by the exit stack after the
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 193K bytes
    - Click Count (0)
  9. cmd/site-replication.go

    				break
    			}
    			if peer.Endpoint == v.Endpoint && peer.SyncState.Empty() && !peer.DefaultBandwidth.IsSet {
    				return madmin.ReplicateEditStatus{}, errSRInvalidRequest(fmt.Errorf("Endpoint %s entered for deployment id %s already configured in site replication", v.Endpoint, v.DeploymentID))
    			}
    			admClient, err = c.getAdminClientWithEndpoint(ctx, v.DeploymentID, peer.Endpoint)
    			if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 184.8K bytes
    - Click Count (1)
  10. guava-tests/test/com/google/common/util/concurrent/MonitorTestCase.java

        TestGuard guard = new TestGuard(true);
        thread1.callAndAssertReturns(true, enterIf(), guard);
        thread2.callAndAssertBlocks(enter());
      }
    
      public final void testEnterIf_initiallyFalse() throws Exception {
        TestGuard guard = new TestGuard(false);
        thread1.callAndAssertReturns(false, enterIf(), guard);
        thread2.callAndAssertReturns(enter());
      }
    
      public final void testEnterIf_alreadyOccupied() throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 8.2K bytes
    - Click Count (0)
Back to Top