Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for combine (0.8 sec)

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

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package ssa
    
    import (
    	"cmd/compile/internal/base"
    	"cmd/compile/internal/types"
    	"cmd/internal/src"
    	"sort"
    )
    
    // memcombine combines smaller loads and stores into larger ones.
    // We ensure this generates good code for encoding/binary operations.
    // It may help other cases also.
    func memcombine(f *Func) {
    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/crypto/internal/edwards25519/scalar.go

    		indexU64 := pos / 64
    		indexBit := pos % 64
    		var bitBuf uint64
    		if indexBit < 64-w {
    			// This window's bits are contained in a single u64
    			bitBuf = digits[indexU64] >> indexBit
    		} else {
    			// Combine the current 64 bits with bits from the next 64
    			bitBuf = (digits[indexU64] >> indexBit) | (digits[1+indexU64] << (64 - indexBit))
    		}
    
    		// Add carry into the current window
    		window := carry + (bitBuf & windowMask)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/internal/driver/fetch.go

    	if len(profiles) == 1 && len(msrcs) == 1 {
    		return profiles[0], msrcs[0], nil
    	}
    
    	p, err := profile.Merge(profiles)
    	if err != nil {
    		return nil, nil, err
    	}
    
    	// Combine mapping sources.
    	msrc := make(plugin.MappingSources)
    	for _, ms := range msrcs {
    		for m, s := range ms {
    			msrc[m] = append(msrc[m], s...)
    		}
    	}
    	return p, msrc, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 19K bytes
    - Viewed (0)
  4. src/cmd/go/internal/work/gccgo.go

    		// initialization code.
    		//
    		// The user remains responsible for linking against
    		// -lgo -lpthread -lm in the final link. We can't use
    		// -r to pick them up because we can't combine
    		// split-stack and non-split-stack code in a single -r
    		// link, and libgo picks up non-split-stack code from
    		// libffi.
    		ldflags = append(ldflags, "-Wl,-r", "-nostdlib")
    		ldflags = append(ldflags, goLibBegin...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 02 22:18:34 UTC 2024
    - 19K bytes
    - Viewed (0)
  5. src/cmd/go/internal/work/gc.go

    }
    
    // pluginPath computes the package path for a plugin main package.
    //
    // This is typically the import path of the main package p, unless the
    // plugin is being built directly from source files. In that case we
    // combine the package build ID with the contents of the main package
    // source files. This allows us to identify two different plugins
    // built from two source files with the same name.
    func pluginPath(a *Action) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:37:44 UTC 2024
    - 23K bytes
    - Viewed (0)
  6. src/cmd/go/internal/help/helpdoc.go

    		but for the linker.
    	CXX
    		The command to use to compile C++ code.
    	FC
    		The command to use to compile Fortran code.
    	PKG_CONFIG
    		Path to pkg-config tool.
    
    Architecture-specific environment variables:
    
    	GOARM
    		For GOARCH=arm, the ARM architecture for which to compile.
    		Valid values are 5, 6, 7.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/compile.go

    	"sort"
    	"strings"
    	"time"
    )
    
    // Compile is the main entry point for this package.
    // Compile modifies f so that on return:
    //   - all Values in f map to 0 or 1 assembly instructions of the target architecture
    //   - the order of f.Blocks is the order to emit the Blocks
    //   - the order of b.Values is the order to emit the Values in each Block
    //   - f has a non-nil regAlloc field
    func Compile(f *Func) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  8. src/cmd/cgo/doc.go

    combine the go.o object file and any supporting non-Go code into a
    final executable. External linking avoids the dynamic library
    requirement but introduces a requirement that the host linker be
    present to create such a binary.
    
    Most builds both compile source code and invoke the linker to create a
    binary. When cgo is involved, the compile step already requires gcc, so
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 17:12:16 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/call.go

    	if iexpr, _ := call.Fun.(*syntax.IndexExpr); iexpr != nil {
    		if check.indexExpr(x, iexpr) {
    			// Delay function instantiation to argument checking,
    			// where we combine type and value arguments for type
    			// inference.
    			assert(x.mode == value)
    			inst = iexpr
    		}
    		x.expr = iexpr
    		check.record(x)
    	} else {
    		check.exprOrType(x, call.Fun, true)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/liveness/intervals.go

    		}
    		first = second
    	}
    	return false
    }
    
    // Merge combines the intervals from "is" and "is2" and returns
    // a new Intervals object containing all combined ranges from the
    // two inputs.
    func (is Intervals) Merge(is2 Intervals) Intervals {
    	if len(is) == 0 {
    		return is2
    	} else if len(is2) == 0 {
    		return is
    	}
    	// walk the combined set of intervals and merge them together.
    	var ret Intervals
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 21:55:27 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top