Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for appendInt (0.26 sec)

  1. src/cmd/dist/build.go

    func copyfile(dst, src string, flag int) {
    	if vflag > 1 {
    		errprintf("cp %s %s\n", src, dst)
    	}
    	writefile(readfile(src), dst, flag)
    }
    
    // dopack copies the package src to dst,
    // appending the files listed in extra.
    // The archive format is the traditional Unix ar format.
    func dopack(dst, src string, extra []string) {
    	bdst := bytes.NewBufferString(readfile(src))
    	for _, file := range extra {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  2. src/testing/testing.go

    //
    //	func Example() { ... }
    //	func ExampleF() { ... }
    //	func ExampleT() { ... }
    //	func ExampleT_M() { ... }
    //
    // Multiple example functions for a package/type/function/method may be provided by
    // appending a distinct suffix to the name. The suffix must start with a
    // lower-case letter.
    //
    //	func Example_suffix() { ... }
    //	func ExampleF_suffix() { ... }
    //	func ExampleT_suffix() { ... }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modload/load.go

    		panic("buildStacks")
    	}
    	for _, pkg := range ld.roots {
    		pkg.stack = pkg // sentinel to avoid processing in next loop
    		ld.pkgs = append(ld.pkgs, pkg)
    	}
    	for i := 0; i < len(ld.pkgs); i++ { // not range: appending to ld.pkgs in loop
    		pkg := ld.pkgs[i]
    		for _, next := range pkg.imports {
    			if next.stack == nil {
    				next.stack = pkg
    				ld.pkgs = append(ld.pkgs, next)
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
Back to top