- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 116 for mkbuiltin (3.1 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
src/cmd/compile/internal/syntax/type.go
exprFlags } type exprFlags uint16 func (f exprFlags) IsVoid() bool { return f&1 != 0 } func (f exprFlags) IsType() bool { return f&2 != 0 } func (f exprFlags) IsBuiltin() bool { return f&4 != 0 } // a language builtin that resembles a function call, e.g., "make, append, new" func (f exprFlags) IsValue() bool { return f&8 != 0 } func (f exprFlags) IsNil() bool { return f&16 != 0 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 20:03:31 UTC 2024 - 2.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/internal/analysisutil/util.go
typVal := info.Types[n.Fun] switch { case typVal.IsType(): // Type conversion, which is safe. case typVal.IsBuiltin(): // Builtin func, conservatively assumed to not // be safe for now. safe = false return false default: // A non-builtin func or method call. // Conservatively assume that all of them have // side effects for now. safe = false return false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 3.9K bytes - Viewed (0)