Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 274 for mkbuiltin (0.26 sec)

  1. src/cmd/compile/internal/typecheck/mkbuiltin.go

    	}
    	return flist
    }
    `)
    
    	mkbuiltin(&b, "runtime")
    	mkbuiltin(&b, "coverage")
    
    	var err error
    	out := b.Bytes()
    	if !*nofmt {
    		out, err = format.Source(out)
    		if err != nil {
    			log.Fatal(err)
    		}
    	}
    	if *stdout {
    		_, err = os.Stdout.Write(out)
    	} else {
    		err = os.WriteFile("builtin.go", out, 0666)
    	}
    	if err != nil {
    		log.Fatal(err)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:49 UTC 2023
    - 6K bytes
    - Viewed (0)
  2. src/cmd/internal/goobj/mkbuiltin.go

    func main() {
    	flag.Parse()
    
    	var b bytes.Buffer
    	fmt.Fprintln(&b, "// Code generated by mkbuiltin.go. DO NOT EDIT.")
    	fmt.Fprintln(&b)
    	fmt.Fprintln(&b, "package goobj")
    
    	mkbuiltin(&b)
    
    	out, err := format.Source(b.Bytes())
    	if err != nil {
    		log.Fatal(err)
    	}
    	if *stdout {
    		_, err = os.Stdout.Write(out)
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/typecheck/builtin_test.go

    	testenv.MustHaveGoRun(t)
    	t.Parallel()
    
    	old, err := os.ReadFile("builtin.go")
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	new, err := testenv.Command(t, testenv.GoToolPath(t), "run", "mkbuiltin.go", "-stdout").Output()
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	if !bytes.Equal(old, new) {
    		t.Fatal("builtin.go out of date; run mkbuiltin.go")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:19:15 UTC 2022
    - 608 bytes
    - Viewed (0)
  4. src/cmd/internal/goobj/builtin.go

    package goobj
    
    import "internal/buildcfg"
    
    // Builtin (compiler-generated) function references appear
    // frequently. We assign special indices for them, so they
    // don't need to be referenced by name.
    
    // NBuiltin returns the number of listed builtin
    // symbols.
    func NBuiltin() int {
    	return len(builtins)
    }
    
    // BuiltinName returns the name and ABI of the i-th
    // builtin symbol.
    func BuiltinName(i int) (string, int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 22 13:50:24 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/typecheck/target.go

    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:generate go run mkbuiltin.go
    
    package typecheck
    
    import "cmd/compile/internal/ir"
    
    // Target is the package being compiled.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:38:26 UTC 2020
    - 312 bytes
    - Viewed (0)
  6. src/cmd/internal/goobj/builtinlist.go

    // Code generated by mkbuiltin.go. DO NOT EDIT.
    
    package goobj
    
    var builtins = [...]struct {
    	name string
    	abi  int
    }{
    	{"runtime.newobject", 1},
    	{"runtime.mallocgc", 1},
    	{"runtime.panicdivide", 1},
    	{"runtime.panicshift", 1},
    	{"runtime.panicmakeslicelen", 1},
    	{"runtime.panicmakeslicecap", 1},
    	{"runtime.throwinit", 1},
    	{"runtime.panicwrap", 1},
    	{"runtime.gopanic", 1},
    	{"runtime.gorecover", 1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/typecheck/builtin.go

    // Code generated by mkbuiltin.go. DO NOT EDIT.
    
    package typecheck
    
    import (
    	"cmd/compile/internal/types"
    	"cmd/internal/src"
    )
    
    // Not inlining this function removes a significant chunk of init code.
    //
    //go:noinline
    func newSig(params, results []*types.Field) *types.Type {
    	return types.NewSignature(nil, params, results)
    }
    
    func params(tlist ...*types.Type) []*types.Field {
    	flist := make([]*types.Field, len(tlist))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/authorization/authorizerfactory/builtin.go

    Jordan Liggitt <******@****.***> 1569333992 -0400
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 24 15:14:54 UTC 2019
    - 3.2K bytes
    - Viewed (0)
  9. pkg/config/schema/resource/schema.go

    	GroupVersionResource() schema.GroupVersionResource
    
    	// IsClusterScoped indicates that this resource is scoped to a particular namespace within a cluster.
    	IsClusterScoped() bool
    
    	// IsBuiltin indicates that this resource is builtin (not a CRD)
    	IsBuiltin() bool
    
    	// Identifier returns a unique identifier for the resource
    	Identifier() string
    
    	// Kind for this resource.
    	Kind() string
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 19 22:42:42 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/walk/builtin.go

    Russ Cox <******@****.***> 1709234889 -0500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 22:35:22 UTC 2024
    - 31.2K bytes
    - Viewed (0)
Back to top