Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 106 for appropriate (2 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. src/crypto/md5/md5block_ppc64x.s

    // Licence: I hereby disclaim the copyright on this code and place it
    // in the public domain.
    
    //go:build (ppc64 || ppc64le) && !purego
    
    #include "textflag.h"
    
    // ENDIAN_MOVE generates the appropriate
    // 4 byte load for big or little endian.
    // The 4 bytes at ptr+off is loaded into dst.
    // The idx reg is only needed for big endian
    // and is clobbered when used.
    #ifdef GOARCH_ppc64le
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:05:32 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. 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)
  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/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)
  10. src/database/sql/driver/types.go

    type decimalDecompose interface {
    	// Decompose returns the internal decimal state into parts.
    	// If the provided buf has sufficient capacity, buf may be returned as the coefficient with
    	// the value set and length set as appropriate.
    	Decompose(buf []byte) (form byte, negative bool, coefficient []byte, exponent int32)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 16:30:20 UTC 2024
    - 8.8K bytes
    - Viewed (0)
Back to top