Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 157 for New (0.09 sec)

  1. src/cmd/vendor/golang.org/x/mod/modfile/read.go

    						}
    
    						// Add new line after hint within the block.
    						stmt.Line = append(stmt.Line, nil)
    						copy(stmt.Line[j+2:], stmt.Line[j+1:])
    						new := &Line{Token: tokens[1:], InBlock: true}
    						stmt.Line[j+1] = new
    						return new
    					}
    				}
    			}
    		}
    	}
    
    	new := &Line{Token: tokens}
    	x.Stmt = append(x.Stmt, new)
    	return new
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/telemetry/internal/counter/counter.go

    	}
    	return b.clearExtra() | counterStateBits(x)<<stateExtraShift
    }
    
    // New returns a counter with the given name.
    // New can be called in global initializers and will be compiled down to
    // linker-initialized data. That is, calling New to initialize a global
    // has no cost at program startup.
    func New(name string) *Counter {
    	// Note: not calling defaultFile.New in order to keep this
    	// function something the compiler can inline and convert
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  3. src/cmd/go/internal/workcmd/edit.go

    	}
    	newPath, newVersion, err := parsePathVersionOptional("new", new, true)
    	if err != nil {
    		base.Fatalf("go: -replace=%s: %v", arg, err)
    	}
    	if newPath == new && !modfile.IsDirectoryPath(new) {
    		base.Fatalf("go: -replace=%s: unversioned new path must be local directory", arg)
    	}
    
    	workedits = append(workedits, func(f *modfile.WorkFile) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	{name: "AtomicLoad64", argLength: 2, typ: "(UInt64,Mem)"},                                  // Load from arg0.  arg1=memory.  Returns loaded value and new memory.
    	{name: "AtomicLoadPtr", argLength: 2, typ: "(BytePtr,Mem)"},                                // Load from arg0.  arg1=memory.  Returns loaded value and new memory.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  5. src/cmd/covdata/metamerge.go

    type pkfunc struct {
    	pk, fcn uint32
    }
    
    // pcombinestate
    type pcombinestate struct {
    	// Meta-data builder for the package.
    	cmdb *encodemeta.CoverageMetaDataBuilder
    	// Maps function meta-data hash to new function index in the
    	// new version of the package we're building.
    	ftab map[[16]byte]uint32
    }
    
    func newMetaMerge() *metaMerge {
    	return &metaMerge{
    		pkm:    make(map[string]*pkstate),
    		astate: &argstate{},
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 17:17:47 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/internal/driver/html/stacks.js

      const TEXT_MARGIN = 2;
      const FONT_SIZE = 12;
      const MIN_FONT_SIZE = 8;
    
      // Fields
      let pivots = [];          // Indices of currently selected data.Sources entries.
      let matches = new Set();  // Indices of sources that match search
      let elems = new Map();    // Mapping from source index to display elements
      let displayList = [];     // List of boxes to display.
      let actionMenuOn = false; // Is action menu visible?
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  7. src/cmd/go/internal/cache/cache.go

    // GODEBUG=gocacheverify=1.
    var verify = false
    
    var errVerifyMode = errors.New("gocacheverify=1")
    
    // DebugTest is set when GODEBUG=gocachetest=1 is in the environment.
    var DebugTest = false
    
    func init() { initEnv() }
    
    var (
    	gocacheverify = godebug.New("gocacheverify")
    	gocachehash   = godebug.New("gocachehash")
    	gocachetest   = godebug.New("gocachetest")
    )
    
    func initEnv() {
    	if gocacheverify.Value() == "1" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 14:19:39 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/text/transform/transform.go

    	// receive all of the transformed bytes.
    	ErrShortDst = errors.New("transform: short destination buffer")
    
    	// ErrShortSrc means that the source buffer has insufficient data to
    	// complete the transformation.
    	ErrShortSrc = errors.New("transform: short source buffer")
    
    	// ErrEndOfSpan means that the input and output (the transformed input)
    	// are not identical.
    	ErrEndOfSpan = errors.New("transform: input and output are not identical")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  9. src/cmd/go/internal/work/shell.go

    func replacePrefix(s, old, new string) string {
    	n := strings.Count(s, old)
    	if n == 0 {
    		return s
    	}
    
    	s = strings.ReplaceAll(s, " "+old, " "+new)
    	s = strings.ReplaceAll(s, "\n"+old, "\n"+new)
    	s = strings.ReplaceAll(s, "\n\t"+old, "\n\t"+new)
    	if strings.HasPrefix(s, old) {
    		s = new + s[len(old):]
    	}
    	return s
    }
    
    type cmdError struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/README

    	Unlike Unix mkdir, parent directories are always created if
    	needed.
    
    mv old new
    	rename a file or directory to a new path
    
    	OS-specific restrictions may apply when old and new are in
    	different directories.
    
    replace [old new]... file
    	replace strings in a file
    
    	The 'old' and 'new' arguments are unquoted as if in quoted
    	Go strings.
    
    rm path...
    	remove a file or directory
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 12.5K bytes
    - Viewed (0)
Back to top