Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 116 for popf (0.05 sec)

  1. src/internal/trace/internal/oldtrace/order.go

    func (l *orderEventList) Less(i, j int) bool {
    	return (*l)[i].ev.Ts < (*l)[j].ev.Ts
    }
    
    func (h *orderEventList) Push(x orderEvent) {
    	*h = append(*h, x)
    	heapUp(h, len(*h)-1)
    }
    
    func (h *orderEventList) Pop() orderEvent {
    	n := len(*h) - 1
    	(*h)[0], (*h)[n] = (*h)[n], (*h)[0]
    	heapDown(h, 0, n)
    	x := (*h)[len(*h)-1]
    	*h = (*h)[:len(*h)-1]
    	return x
    }
    
    func heapUp(h *orderEventList, j int) {
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/tpu_cluster_formation.mlir

      %3 = "tf.opD"(%2) {_xla_compile_device_type = "TPU", _replication_info = "replicate", is_stateless = true} : (tensor<i1>) -> tensor<i1>
      %4 = "tf.opE"() {is_stateless = true} : () -> tensor<i1>
      %5 = "tf.opF"(%arg0) {_xla_compile_device_type = "TPU", _replication_info = "replicate", is_stateless = true} : (tensor<i1>) -> tensor<i1>
      func.return %2, %3, %5 : tensor<i1>, tensor<i1>, tensor<i1>
    }
    
    // CHECK:      "tf.opB"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  3. src/internal/trace/gc.go

    }
    
    func (h bandUtilHeap) Swap(i, j int) {
    	h[i], h[j] = h[j], h[i]
    }
    
    func (h *bandUtilHeap) Push(x any) {
    	*h = append(*h, x.(bandUtil))
    }
    
    func (h *bandUtilHeap) Pop() any {
    	x := (*h)[len(*h)-1]
    	*h = (*h)[:len(*h)-1]
    	return x
    }
    
    // UtilWindow is a specific window at Time.
    type UtilWindow struct {
    	Time int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 26K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/common/lift_as_function_call.cc

      // doesn't depends on any ops below it.
      std::stack<Operation*> op_stack;
      while (!value_queue.empty()) {
        Value current_value = value_queue.front();
        value_queue.pop();
    
        Operation* defining_node = current_value.getDefiningOp();
        if (defining_node == nullptr) continue;
        op_stack.push(defining_node);
        for (Value arg : defining_node->getOperands()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  5. src/runtime/mgcwork.go

    	if b.nobj != 0 {
    		throw("workbuf is not empty")
    	}
    }
    
    // getempty pops an empty work buffer off the work.empty list,
    // allocating new buffers if none are available.
    //
    //go:nowritebarrier
    func getempty() *workbuf {
    	var b *workbuf
    	if work.empty != 0 {
    		b = (*workbuf)(work.empty.pop())
    		if b != nil {
    			b.checkempty()
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  6. platforms/core-runtime/files/src/main/java/org/gradle/internal/file/impl/DefaultDeleter.java

            Deque<File> stack = new ArrayDeque<File>();
            stack.push(directory);
            while (!stack.isEmpty() && paths.size() < MAX_REPORTED_PATHS) {
                File current = stack.pop();
                String absolutePath = current.getAbsolutePath();
                if (!current.equals(directory) && !failedPaths.contains(absolutePath) && current.lastModified() >= startTime) {
                    paths.add(absolutePath);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 15 17:10:06 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/DefaultTransformUpstreamDependenciesResolver.java

            Deque<ResolvedComponentResult> pending = new ArrayDeque<>();
            pending.push(rootComponent);
    
            while (!pending.isEmpty()) {
                ResolvedComponentResult component = pending.pop();
    
                if (component.getId().equals(componentIdentifier)) {
                    return component;
                }
    
                for (DependencyResult d : component.getDependencies()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:29:40 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  8. tensorflow/cc/tools/freeze_saved_model.cc

      }
      // We do a traversal backwards from the outputs specified in the MetaGraphDef.
      while (!nodes_to_visit.empty()) {
        const string node_name = nodes_to_visit.front();
        nodes_to_visit.pop();
        if (reachable_node_names->find(node_name) != reachable_node_names->end()) {
          continue;
        }
        reachable_node_names->insert(node_name);
        NodeDef* node = name_to_node_map.at(node_name);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 11 08:05:36 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  9. src/encoding/json/scanner.go

    	s.parseState = append(s.parseState, newParseState)
    	if len(s.parseState) <= maxNestingDepth {
    		return successState
    	}
    	return s.error(c, "exceeded max depth")
    }
    
    // popParseState pops a parse state (already obtained) off the stack
    // and updates s.step accordingly.
    func (s *scanner) popParseState() {
    	n := len(s.parseState) - 1
    	s.parseState = s.parseState[0:n]
    	if n == 0 {
    		s.step = stateEndTop
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/lostcancel/lostcancel.go

    	ast.Inspect(node, func(n ast.Node) bool {
    		switch n.(type) {
    		case *ast.FuncLit:
    			if len(stack) > 0 {
    				return false // don't stray into nested functions
    			}
    		case nil:
    			stack = stack[:len(stack)-1] // pop
    			return true
    		}
    		stack = append(stack, n) // push
    
    		// Look for [{AssignStmt,ValueSpec} CallExpr SelectorExpr]:
    		//
    		//   ctx, cancel    := context.WithCancel(...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 9K bytes
    - Viewed (0)
Back to top