Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for nodesMap (0.42 sec)

  1. cmd/endpoint.go

    			}
    			if !slices.Contains(node.Pools, ep.PoolIdx) {
    				node.Pools = append(node.Pools, ep.PoolIdx)
    			}
    			nodesMap[ep.Host] = node
    		}
    	}
    	nodes = make([]Node, 0, len(nodesMap))
    	for _, v := range nodesMap {
    		nodes = append(nodes, v)
    	}
    	sort.Slice(nodes, func(i, j int) bool {
    		return nodes[i].Host < nodes[j].Host
    	})
    	return
    }
    
    // GetPoolIdx return pool index
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/testdata/pgo/devirtualize/devirt.pprof.node_map

    Michael Pratt <******@****.***> 1709576979 -0500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:20:01 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/test/testdata/pgo/inline/inline_hot.pprof.node_map

    Michael Pratt <******@****.***> 1709576979 -0500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:20:01 UTC 2024
    - 267 bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/extract_outside_compilation_pass.cc

                return;
              }
    
              Node* copy;
              if (node_map.find(n) != node_map.end()) {
                // Already copied this node.
                copy = node_map.at(n);
              } else if (IsKeyPlaceholderNode(*n)) {
                // Change a).
                copy = key_placeholder;
                node_map[n] = copy;
              } else {
                // Copy the node.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 104.7K bytes
    - Viewed (0)
  5. src/internal/profile/graph.go

    	default:
    		// Do not leave it empty if there is no information at all.
    		name = append(name, "<unknown>")
    	}
    	return name
    }
    
    // NodeMap maps from a node info struct to a node. It is used to merge
    // report entries with the same info.
    type NodeMap map[NodeInfo]*Node
    
    // NodeSet is a collection of node info structs.
    type NodeSet map[NodeInfo]bool
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 20:59:15 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  6. src/syscall/mksysctl_openbsd.pl

    		my @node = @{$node{$key}};
    		my $nodename = $name.($name ne '' ? '.' : '').$key;
    		my @nodeoid = (@oid, $node[0]);
    		if ($node[1] eq 'CTLTYPE_NODE') {
    			if (exists $node_map{$nodename}) {
    				$node = \%mib;
    				$ctlname = $node_map{$nodename};
    				foreach my $part (split /\./, $ctlname) {
    					$node = \%{@{$$node{$part}}[2]};
    				}
    			} else {
    				$node = $node[2];
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 14 13:21:46 UTC 2018
    - 5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.h

                                     ArrayRef<TypeID> ops_to_skip = {},
                                     ArrayRef<ArrayRef<int64_t>> input_shapes = {});
    
    // Given a tensorflow NodeShape string, returns a vector of argument shapes
    // that can be used with InferShapeForFunction.
    // TF NodeShape uses `,` to separate dimensions, and `:` to separate arguments.
    // Ex: 1,2:3,4,5:6,? --> [[1, 2], [3, 4, 5], [6, ?]]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 12:49:45 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/memorymanager/state/state_mem.go

    	s.RLock()
    	defer s.RUnlock()
    
    	return s.assignments.Clone()
    }
    
    // SetMachineState stores NUMANodeMap in State
    func (s *stateMemory) SetMachineState(nodeMap NUMANodeMap) {
    	s.Lock()
    	defer s.Unlock()
    
    	s.machineState = nodeMap.Clone()
    	klog.InfoS("Updated machine memory state")
    }
    
    // SetMemoryBlocks stores memory assignments of container
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 15 19:51:19 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  9. pkg/kubelet/apis/config/validation/validation_test.go

    			conf.FeatureGates = map[string]bool{"NodeSwap": true}
    			conf.MemorySwap.SwapBehavior = "invalid-behavior"
    			return conf
    		},
    		errMsg: "invalid configuration: memorySwap.swapBehavior \"invalid-behavior\" must be one of: \"\", \"LimitedSwap\" or \"NoSwap\"",
    	}, {
    		name: "specify MemorySwap.SwapBehavior without enabling NodeSwap",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  10. src/cmd/vendor/github.com/google/pprof/internal/graph/graph.go

    				lines = []profile.Line{{}} // Create empty line to include location info.
    			}
    			for lidx := len(lines) - 1; lidx >= 0; lidx-- {
    				nodeMap := parentNodeMap[parent]
    				if nodeMap == nil {
    					nodeMap = make(NodeMap)
    					parentNodeMap[parent] = nodeMap
    				}
    				n := nodeMap.findOrInsertLine(l, lines[lidx], o)
    				if n == nil {
    					continue
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31K bytes
    - Viewed (0)
Back to top