Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 316 for enter_1 (0.12 sec)

  1. tensorflow/compiler/jit/xla_cluster_util_test.cc

      Output enter_0 =
          ops::internal::Enter(root.WithOpName("enter_0"), a, "frame_0");
      Output exit_0 = ops::internal::Exit(root.WithOpName("exit_0"), enter_0);
      Output enter_1 =
          ops::internal::Enter(root.WithOpName("enter_1"), a, "frame_1");
      Output exit_1 = ops::internal::Exit(root.WithOpName("exit_1"), enter_1);
      Output b = ops::Add(root.WithOpName("b"), a, exit_1);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/mark_for_compilation_pass_test.cc

      auto enter_0 = ops::internal::Enter(root.WithOpName("enter_a"), a, "frame");
      auto exit_0 = ops::internal::Exit(root.WithOpName("exit_a"), enter_0);
      auto tanh = ops::Tanh(root.WithOpName("tanh"), exit_0);
      auto enter_1 =
          ops::internal::Enter(root.WithOpName("enter_1"), tanh, "frame");
      auto exit_1 = ops::internal::Exit(root.WithOpName("exit_1"), enter_1);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 10:11:10 UTC 2024
    - 79.6K bytes
    - Viewed (0)
  3. 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
       */
      public boolean enter(Duration time) {
        return enter(toNanosSaturated(time), TimeUnit.NANOSECONDS);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 18:22:01 UTC 2023
    - 42.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/Monitor.java

        this.lock = new ReentrantLock(fair);
      }
    
      /** 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
       */
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      public boolean enter(long time, TimeUnit unit) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 18:22:01 UTC 2023
    - 38.6K bytes
    - Viewed (0)
  5. 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 {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 26 20:07:17 UTC 2023
    - 8K bytes
    - Viewed (0)
  6. android/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 {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 26 20:07:17 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/shape_inference_test.cc

        auto enter =
            ops::internal::Enter(scope.WithOpName("while/Enter"), source, "aloop");
        // Add an unused Enter node. These should be ignored.
        auto enter2 =
            ops::internal::Enter(scope.WithOpName("while/Enter2"), source, "aloop");
        auto merge = ops::Merge(scope.WithOpName("while/Merge"),
                                std::initializer_list<Input>{enter, dummy});
        auto ten = ops::Const<int32>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 00:41:19 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

       */
      @CanIgnoreReturnValue
      @Override
      public boolean offer(E e) {
        if (e == null) throw new NullPointerException();
        final Monitor monitor = this.monitor;
        if (monitor.enterIf(notFull)) {
          try {
            insert(e);
            return true;
          } finally {
            monitor.leave();
          }
        } else {
          return false;
        }
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

       */
      @CanIgnoreReturnValue
      @Override
      public boolean offer(E e) {
        if (e == null) throw new NullPointerException();
        final Monitor monitor = this.monitor;
        if (monitor.enterIf(notFull)) {
          try {
            insert(e);
            return true;
          } finally {
            monitor.leave();
          }
        } else {
          return false;
        }
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  10. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 12.1K bytes
    - Viewed (0)
Back to top