Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for needSwap (0.17 sec)

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

    			pos = load.Pos
    			break
    		}
    	}
    	if pos == src.NoXPos {
    		return false
    	}
    
    	// Check to see if we need byte swap before storing.
    	needSwap := isLittleEndian && root.Block.Func.Config.BigEndian ||
    		isBigEndian && !root.Block.Func.Config.BigEndian
    	if needSwap && (size != 1 || !root.Block.Func.Config.haveByteSwap(n)) {
    		return false
    	}
    
    	// This is the commit point.
    
    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/link/internal/benchmark/bench.go

    // makeBenchString makes a benchmark string consumable by Go's benchmarking tools.
    func makeBenchString(name string) string {
    	needCap := true
    	ret := []rune("Benchmark")
    	for _, r := range name {
    		if unicode.IsSpace(r) {
    			needCap = true
    			continue
    		}
    		if needCap {
    			r = unicode.ToUpper(r)
    			needCap = false
    		}
    		ret = append(ret, r)
    	}
    	return string(ret)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 30 18:10:36 UTC 2023
    - 4.7K bytes
    - Viewed (0)
Back to top