Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for mergePoint (0.27 sec)

  1. src/cmd/compile/internal/ssa/memcombine.go

    	// its memory argument is live. We can't just put it in root.Block.
    	// We use the block of the latest load.
    	loads := make([]*Value, n, 8)
    	for i := int64(0); i < n; i++ {
    		loads[i] = r[i].load
    	}
    	loadBlock := mergePoint(root.Block, loads...)
    	if loadBlock == nil {
    		return false
    	}
    	// Find a source position to use.
    	pos := src.NoXPos
    	for _, load := range loads {
    		if load.Block == loadBlock {
    			pos = load.Pos
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 19:45:41 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewrite.go

    		return 8
    	case align%4 == 0:
    		return 4
    	case align%2 == 0:
    		return 2
    	}
    	return 1
    }
    
    // mergePoint finds a block among a's blocks which dominates b and is itself
    // dominated by all of a's blocks. Returns nil if it can't find one.
    // Might return nil even if one does exist.
    func mergePoint(b *Block, a ...*Value) *Block {
    	// Walk backward from b looking for one of the a's blocks.
    
    	// Max distance
    	d := 100
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/topologymanager/policy.go

    		// of them encode unpreferred allocations.
    		mergedHint := mergePermutation(defaultAffinity, permutation)
    
    		// Compare the current bestHint with the candidate mergedHint and
    		// update bestHint if appropriate.
    		bestHint = m.compare(bestHint, &mergedHint)
    	})
    
    	if bestHint == nil {
    		bestHint = &TopologyHint{defaultAffinity, false}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 09:45:25 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/internal/classpath/DefaultInstrumentedClosuresTracker.java

        private final Object2IntMap<InstrumentableClosure> currentClosuresEntries = new Object2IntOpenHashMap<>();
    
        @Override
        public void enterClosure(InstrumentableClosure thisClosure) {
            currentClosuresEntries.mergeInt(thisClosure, 1, Integer::sum);
        }
    
        @Override
        public void leaveClosure(InstrumentableClosure thisClosure) {
            currentClosuresEntries.computeInt(thisClosure, (key, oldValue) -> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 24 15:58:00 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top