Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 98 for entero (0.06 sec)

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

          }
        };
      }
    
      /** Enters this monitor. Blocks indefinitely. */
      public void enter() {
        lock.lock();
      }
    
      /**
       * Enters this monitor. Blocks at most the given time.
       *
       * @return whether the monitor was entered
       * @since 28.0 (but only since 33.4.0 in the Android flavor)
       */
      public boolean enter(Duration time) {
        return enter(toNanosSaturated(time), TimeUnit.NANOSECONDS);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

       *
       * @return the number of elements in this queue
       */
      @CanIgnoreReturnValue
      @Override
      public int size() {
        Monitor monitor = this.monitor;
        monitor.enter();
        try {
          return count;
        } finally {
          monitor.leave();
        }
      }
    
      // this doc comment is a modified copy of the inherited doc comment,
      // without the reference to unlimited queues.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

          List<Entry<Service, Long>> loadTimes;
          monitor.enter();
          try {
            loadTimes = Lists.newArrayListWithCapacity(startupTimers.size());
            // N.B. There will only be an entry in the map if the service has started
            for (Entry<Service, Stopwatch> entry : startupTimers.entrySet()) {
              Service service = entry.getKey();
              Stopwatch stopwatch = entry.getValue();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/Service.java

     * therefore every method of the listener will be called at most once. N.B. The {@link State#FAILED}
     * and {@link State#TERMINATED} states are terminal states, once a service enters either of these
     * states it cannot ever leave them.
     *
     * <p>Implementors of this interface are strongly encouraged to extend one of the abstract classes
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/Service.java

     * therefore every method of the listener will be called at most once. N.B. The {@link State#FAILED}
     * and {@link State#TERMINATED} states are terminal states, once a service enters either of these
     * states it cannot ever leave them.
     *
     * <p>Implementors of this interface are strongly encouraged to extend one of the abstract classes
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  6. docs/pt/docs/python-types.md

    * `list`
    * `tuple`
    * `set`
    * `dict`
    
    E o mesmo como no Python 3.8, do módulo `typing`:
    
    * `Union`
    * `Optional`
    * ...entro outros.
    
    ////
    
    //// tab | Python 3.8+
    
    * `List`
    * `Tuple`
    * `Set`
    * `Dict`
    * `Union`
    * `Optional`
    * ...entro outros.
    
    ////
    
    ### Classes como tipos
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 10:32:53 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/AbstractService.java

       *
       * @throws IllegalStateException if the service is not {@link State#STARTING}.
       */
      protected final void notifyStarted() {
        monitor.enter();
        try {
          // We have to examine the internal state of the snapshot here to properly handle the stop
          // while starting case.
          if (snapshot.state != STARTING) {
            IllegalStateException failure =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

       * methods that do not take an explicit timeout value, a single test case is generated only if the
       * implicit timeout of that method matches the given timeoutsToUse. For example, enter() is
       * treated like enter(MAX, MILLIS) and tryEnter() is treated like enter(0, MILLIS).
       */
      private static void addTests(
          TestSuite suite,
          Method method,
          Scenario scenario,
          TimeoutsToUse timeoutsToUse,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AbstractService.java

       *
       * @throws IllegalStateException if the service is not {@link State#STARTING}.
       */
      protected final void notifyStarted() {
        monitor.enter();
        try {
          // We have to examine the internal state of the snapshot here to properly handle the stop
          // while starting case.
          if (snapshot.state != STARTING) {
            IllegalStateException failure =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  10. docs/es/docs/tutorial/query-params-str-validations.md

    {* ../../docs_src/query_params_str_validations/tutorial002_an_py310.py hl[9] *}
    
    Nota que el valor por defecto sigue siendo `None`, por lo que el parámetro sigue siendo opcional.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Feb 15 16:23:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
Back to top