Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for toen (0.66 sec)

  1. doc/next/6-stdlib/3-iter.md

      a new slice.
    - [AppendSeq](/pkg/slices#AppendSeq) appends values from an iterator to
      an existing slice.
    - [Sorted](/pkg/slices#Sorted) collects values from an iterator into a
      new slice, and then sorts the slice.
    - [SortedFunc](/pkg/slices#SortedFunc) is like `Sorted` but with a
      comparison function.
    - [SortedStableFunc](/pkg/slices#SortedStableFunc) is like `SortFunc`
      but uses a stable sort algorithm.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:13 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/compiler_internal.go

    // RenameResult takes an array of (result) fields and an index, and if the indexed field
    // does not have a name and if the result in the signature also does not have a name,
    // then the signature and field are renamed to
    //
    //	fmt.Sprintf("#rv%d", i+1)`
    //
    // the newly named object is inserted into the signature's scope,
    // and the object and new field name are returned.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/walk/temp.go

    	"cmd/compile/internal/ir"
    	"cmd/compile/internal/typecheck"
    	"cmd/compile/internal/types"
    )
    
    // initStackTemp appends statements to init to initialize the given
    // temporary variable to val, and then returns the expression &tmp.
    func initStackTemp(init *ir.Nodes, tmp *ir.Name, val ir.Node) *ir.AddrExpr {
    	if val != nil && !types.Identical(tmp.Type(), val.Type()) {
    		base.Fatalf("bad initial value for %L: %L", tmp, val)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 16:41:23 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_tidy_compat_implicit.txt

    
    # If we combine a Go 1.16 go.sum file...
    go mod tidy -go=1.16
    
    # ...with a Go 1.17 go.mod file...
    cp go.mod.orig go.mod
    
    # ...then Go 1.17 no longer works. 😞
    ! go list -deps -test -f $MODFMT all
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/build_pgo_auto_multi.txt

    stdout 'test/dep \[test/b\]'
    stdout 'test/dep$'
    
    # Here we have 3 main packages, a, b, and nopgo, where a and b each has
    # its own default.pgo profile, and nopgo has none.
    # All 3 main packages import dep and dep2, both of which then import dep3
    # (a diamond-shape import graph).
    -- go.mod --
    module test
    go 1.20
    -- a/a.go --
    package main
    import _ "test/dep"
    import _ "test/dep2"
    func main() {}
    -- a/a_test.go --
    package main
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:38:19 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/labels.go

    			// become forward jumps in the current block.
    			fwdJumps = append(fwdJumps, check.blockBranches(all, b, lstmt, s.List)...)
    
    		case *syntax.IfStmt:
    			stmtBranches(s.Then)
    			if s.Else != nil {
    				stmtBranches(s.Else)
    			}
    
    		case *syntax.SwitchStmt:
    			b := &block{b, lstmt, nil}
    			for _, s := range s.Body {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_vendor_auto.txt

    # When the version is upgraded to 1.14, 'go mod vendor' should write a
    # vendor/modules.txt with the updated 1.14 annotations.
    go mod edit -go=1.14
    go mod vendor
    cmp $WORK/modules-1.14.txt vendor/modules.txt
    
    # Then, -mod=vendor should kick in automatically and succeed.
    go list -f {{.Dir}} -tags tools -e all
    stdout '^'$WORK'[/\\]auto$'
    stdout '^'$WORK'[/\\]auto[/\\]vendor[/\\]example.com[/\\]printversion$'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 15:21:14 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/util.go

    	return constant.MakeFromLiteral(lit, kind2tok[kind], 0)
    }
    
    var kind2tok = [...]token.Token{
    	syntax.IntLit:    token.INT,
    	syntax.FloatLit:  token.FLOAT,
    	syntax.ImagLit:   token.IMAG,
    	syntax.RuneLit:   token.CHAR,
    	syntax.StringLit: token.STRING,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. doc/next/6-stdlib/99-minor/archive/tar/50102.md

    If the argument to [FileInfoHeader] implements the new [FileInfoNames]
    interface, then the interface methods will be used to set the Uname/Gname
    of the file header. This allows applications to override the system-dependent
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 20:57:18 UTC 2024
    - 243 bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/mod_vendor_goversion.txt

    stderr 'conversion of slice to array pointer requires go1\.17 or later'
    
    ! grep 1.13 vendor/modules.txt
    go build example.net/bad114
    
    
    # Upgrading the main module to 1.17 adds version annotations.
    # Then everything is once again consistent with the non-vendored world.
    
    go mod edit -go=1.17
    go mod vendor
    
    grep '^## explicit; go 1.17$' vendor/modules.txt
    go build example.net/need117
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 21:29:39 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top