Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 88 for appropriate (0.21 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/types.go

    )
    
    var errorType = types.Universe.Lookup("error").Type().Underlying().(*types.Interface)
    
    // matchArgType reports an error if printf verb t is not appropriate for
    // operand arg.
    //
    // If arg is a type parameter, the verb t must be appropriate for every type in
    // the type parameter type set.
    func matchArgType(pass *analysis.Pass, t printfArgType, arg ast.Expr) (reason string, ok bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. src/cmd/link/internal/sym/symkind.go

    	// object it checks all objects of the above types and bumps any object that
    	// has a relocation to it to the corresponding type below, which are then
    	// written to sections with appropriate magic names.
    	STYPERELRO
    	SSTRINGRELRO
    	SGOSTRINGRELRO
    	SGOFUNCRELRO
    	SGCBITSRELRO
    	SRODATARELRO
    	SFUNCTABRELRO
    	SELFRELROSECT
    
    	// Part of .data.rel.ro if it exists, otherwise part of .rodata.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. src/cmd/cgo/godefs.go

    	// into the file, so we can't warn here.
    	//
    	// The most common case is union types, which begin with
    	// _Ctype_union and for which typedef[name] is a Go byte
    	// array of the appropriate size (such as [4]byte).
    	// Substitute those union types with byte arrays.
    	for name, id := range goIdent {
    		if id.Name == name && strings.Contains(name, "_Ctype_union") {
    			if def := typedef[name]; def != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. doc/next/9-todo.md

    <!-- These items need to be completed and moved to an appropriate location in the release notes. -->
    
    <!-- These items need to be reviewed, and mentioned in the Go 1.23 release notes if applicable.
    
    None right now; more may come up later on.
    -->
    
    <!-- Maybe should be documented? Maybe shouldn't? Someone familiar with the change needs to determine.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:18:52 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/google/pprof/internal/driver/html/stacks.js

      // E.g., 9s (45%) 🠆 10s (50%)
      function diffText(from, to) {
        return percentText(from) + " 🠆 " + percentText(to);
      }
    
      // percentText returns text that displays v in appropriate units alongside its
      // percentange.
      function percentText(v) {
        function percent(v, total) {
          return Number(((100.0 * v) / total).toFixed(1)) + '%';
        }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/testsanitizers/cc_test.go

    }
    
    // goCmd returns a Cmd that executes "go $subcommand $args" with appropriate
    // additional flags and environment.
    func (c *config) goCmd(subcommand string, args ...string) *exec.Cmd {
    	return c.goCmdWithExperiments(subcommand, args, nil)
    }
    
    // goCmdWithExperiments returns a Cmd that executes
    // "GOEXPERIMENT=$experiments go $subcommand $args" with appropriate
    // additional flags and CGO-related environment variables.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 09 20:00:56 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  7. src/cmd/go/internal/work/gc.go

    		}
    		if size&1 != 0 {
    			w.WriteByte(0)
    		}
    	}
    
    	if err := w.Flush(); err != nil {
    		return err
    	}
    	return dst.Close()
    }
    
    // setextld sets the appropriate linker flags for the specified compiler.
    func setextld(ldflags []string, compiler []string) ([]string, error) {
    	for _, f := range ldflags {
    		if f == "-extld" || strings.HasPrefix(f, "-extld=") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:37:44 UTC 2024
    - 23K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/telemetry/internal/counter/stackcounter.go

    func EncodeStack(pcs []uintptr, prefix string) string {
    	var locs []string
    	lastImport := ""
    	frs := runtime.CallersFrames(pcs)
    	for {
    		fr, more := frs.Next()
    		// TODO(adonovan): this CutLast(".") operation isn't
    		// appropriate for generic function symbols.
    		path, fname := cutLastDot(fr.Function)
    		if path == lastImport {
    			path = `"` // (a ditto mark)
    		} else {
    			lastImport = path
    		}
    		var loc string
    		if fr.Func != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:10:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/coverage/cover.go

    type names struct {
    	MetaVar     *ir.Name
    	PkgIdVar    *ir.Name
    	InitFn      *ir.Func
    	CounterMode coverage.CounterMode
    	CounterGran coverage.CounterGranularity
    }
    
    // Fixup adds calls to the pkg init function as appropriate to
    // register coverage-related variables with the runtime.
    //
    // It also reclassifies selected variables (for example, tagging
    // coverage counter variables with flags so that they can be handled
    // properly downstream).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 21:55:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ppc64/ssa.go

    		// then handle the remainder
    		//	MOVD R0,(R20)
    		//	MOVD R0,8(R20)
    		// .... etc.
    		//
    		// the remainder bytes are cleared using one or more
    		// of the following instructions with the appropriate
    		// offsets depending which instructions are needed
    		//
    		//	MOVW R0,n1(R20)	4 bytes
    		//	MOVH R0,n2(R20)	2 bytes
    		//	MOVB R0,n3(R20)	1 byte
    		//
    		// 7 bytes: MOVW, MOVH, MOVB
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 55.4K bytes
    - Viewed (0)
Back to top