Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for AsPair (0.09 sec)

  1. tensorflow/compiler/jit/mark_for_compilation_pass.cc

          return cluster_name ? *cluster_name : "[none]";
        }
    
        std::pair<absl::string_view, std::optional<absl::string_view>> AsPair()
            const {
          return {node_name, cluster_name};
        }
    
        bool operator<(const EdgeInfo& other) const {
          return AsPair() < other.AsPair();
        }
      };
    
      using EdgeInfoMap = std::map<absl::string_view, std::map<EdgeInfo, int64_t>>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java

      public void testNullMonitorInGuardConstructorThrowsNPE() {
        assertThrows(NullPointerException.class, () -> new FlagGuard(null));
      }
    
      public void testIsFair() {
        assertTrue(new Monitor(true).isFair());
        assertFalse(new Monitor(false).isFair());
      }
    
      public void testOccupiedMethods() {
        Monitor monitor = new Monitor();
        verifyOccupiedMethodsInCurrentThread(monitor, false, false, 0);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java

      public void testNullMonitorInGuardConstructorThrowsNPE() {
        assertThrows(NullPointerException.class, () -> new FlagGuard(null));
      }
    
      public void testIsFair() {
        assertTrue(new Monitor(true).isFair());
        assertFalse(new Monitor(false).isFair());
      }
    
      public void testOccupiedMethods() {
        Monitor monitor = new Monitor();
        verifyOccupiedMethodsInCurrentThread(monitor, false, false, 0);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  4. docs/pt/docs/advanced/events.md

    ```
    
    Quando você cria um gerenciador de contexto ou um gerenciador de contexto assíncrono como mencionado acima, o que ele faz é que, antes de entrar no bloco `with`, ele irá executar o código anterior ao `yield`, e depois de sair do bloco `with`, ele irá executar o código depois do `yield`.
    
    No nosso exemplo de código acima, nós não usamos ele diretamente, mas nós passamos para o FastAPI para ele usá-lo.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  5. src/go/printer/nodes.go

    		// it to 0).
    		prevSize := size
    		const infinity = 1e6 // larger than any source line
    		size = p.nodeSize(x, infinity)
    		pair, isPair := x.(*ast.KeyValueExpr)
    		if size <= infinity && prev.IsValid() && next.IsValid() {
    			// x fits on a single line
    			if isPair {
    				size = p.nodeSize(pair.Key, infinity) // size <= infinity
    			}
    		} else {
    			// size too large or we don't have good layout information
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/Monitor.java

          }
        } finally {
          lock.unlock(); // Will throw IllegalMonitorStateException if not held
        }
      }
    
      /** Returns whether this monitor is using a fair ordering policy. */
      public boolean isFair() {
        return fair;
      }
    
      /**
       * Returns whether this monitor is occupied by any thread. This method is designed for use in
       * monitoring of the system state, not for synchronization control.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 18:22:01 UTC 2023
    - 38.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/Monitor.java

          }
        } finally {
          lock.unlock(); // Will throw IllegalMonitorStateException if not held
        }
      }
    
      /** Returns whether this monitor is using a fair ordering policy. */
      public boolean isFair() {
        return fair;
      }
    
      /**
       * Returns whether this monitor is occupied by any thread. This method is designed for use in
       * monitoring of the system state, not for synchronization control.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 18:22:01 UTC 2023
    - 42.5K bytes
    - Viewed (0)
Back to top