- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for syntax (0.32 sec)
-
src/cmd/asm/internal/lex/input.go
case ')': tok = in.Stack.Next() // First token of macro definition. break Loop case ',': if acceptArg { in.Error("bad syntax in definition for macro:", name) } acceptArg = true case scanner.Ident: if !acceptArg { in.Error("bad syntax in definition for macro:", name) } arg := in.Stack.Text() if i := lookup(args, arg); i >= 0 {
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Tue Aug 29 07:48:38 GMT 2023 - 12.6K bytes - Viewed (0) -
src/cmd/asm/doc.go
-spectre list Enable spectre mitigations in list (all, ret). -trimpath prefix Remove prefix from recorded source file paths. -v Print debug output. Input language: The assembler uses mostly the same syntax for all architectures, the main variation having to do with addressing modes. Input is run through a simplified C preprocessor that implements #include, #define, #ifdef/endif, but not #if or ##.
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Tue Aug 22 20:46:45 GMT 2023 - 1.8K bytes - Viewed (0) -
src/cmd/asm/internal/asm/parse.go
goto next } } if tok == scanner.EOF { p.errorf("unexpected EOF") return "", "", nil, false } // Split operands on comma. Also, the old syntax on x86 for a "register pair" // was AX:DX, for which the new syntax is DX, AX. Note the reordering. if tok == '\n' || tok == ';' || (nesting == 0 && (tok == ',' || tok == ':')) { if tok == ':' {
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Wed Feb 21 14:34:57 GMT 2024 - 36.9K bytes - Viewed (0) -
src/cmd/addr2line/main.go
p := stdin.Text() if strings.Contains(p, ":") { // Reverse translate file:line to pc. // This was an extension in the old C version of 'go tool addr2line' // and is probably not used by anyone, but recognize the syntax. // We don't have an implementation. fmt.Fprintf(stdout, "!reverse translation not implemented\n") continue } pc, _ := strconv.ParseUint(strings.TrimPrefix(p, "0x"), 16, 64)
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Mon Apr 11 16:34:30 GMT 2022 - 2.3K bytes - Viewed (0) -
src/cmd/cgo/godefs.go
override[id.Name] = new } } } // Apply overrides. for old, new := range override { if id := goIdent[old]; id != nil { id.Name = new } } // Any names still using the _C syntax are not going to compile, // although in general we don't know whether they all made it // into the file, so we can't warn here. // // The most common case is union types, which begin with
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Thu Sep 08 14:33:35 GMT 2022 - 4.5K bytes - Viewed (0) -
internal/config/storageclass/storage-class_test.go
StorageClass{ Parity: 4, }, errors.New("Too many sections in EC:4:5"), }, { "EC:A", StorageClass{ Parity: 4, }, errors.New(`strconv.Atoi: parsing "A": invalid syntax`), }, { "AB", StorageClass{ Parity: 4, }, errors.New("Too few sections in AB"), }, } for i, tt := range tests { gotSc, err := parseStorageClass(tt.storageClassEnv)
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Tue Aug 15 23:04:20 GMT 2023 - 4.3K bytes - Viewed (0) -
istioctl/pkg/dashboard/dashboard.go
cmd := &cobra.Command{ Use: "prometheus", Short: "Open Prometheus web UI", Long: `Open Istio's Prometheus dashboard`, Example: ` istioctl dashboard prometheus # with short syntax istioctl dash prometheus istioctl d prometheus`, RunE: func(cmd *cobra.Command, args []string) error { client, err := ctx.CLIClientWithRevision(opts.Revision) if err != nil {
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Mon Apr 15 01:29:35 GMT 2024 - 20.5K bytes - Viewed (0) -
cmd/batch-job-common-types.go
"gopkg.in/yaml.v3" ) //go:generate msgp -file $GOFILE //msgp:ignore BatchJobYamlErr // BatchJobYamlErr can be used to return yaml validation errors with line, // column information guiding user to fix syntax errors type BatchJobYamlErr struct { line, col int msg string } // message returns the error message excluding line, col information. // Intended to be used in unit tests.
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Thu Feb 01 21:53:26 GMT 2024 - 7.9K bytes - Viewed (0) -
istioctl/pkg/validate/validate.go
Short: "Validate Istio policy and rules files", Example: ` # Validate bookinfo-gateway.yaml istioctl validate -f samples/bookinfo/networking/bookinfo-gateway.yaml # Validate bookinfo-gateway.yaml with shorthand syntax istioctl v -f samples/bookinfo/networking/bookinfo-gateway.yaml # Validate all yaml files under samples/bookinfo/networking directory istioctl validate -f samples/bookinfo/networking
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Mon Jan 22 17:58:52 GMT 2024 - 15K bytes - Viewed (0) -
cmd/endpoint-ellipses.go
// corresponding list of endpoints chunked evenly in accordance with a // specific set size. // For example: {1...64} is divided into 4 sets each of size 16. // This applies to even distributed setup syntax as well. func GetAllSets(args ...string) ([][]string, error) { var customSetDriveCount uint64 if v := env.Get(EnvErasureSetDriveCount, ""); v != "" { driveCount, err := strconv.Atoi(v) if err != nil {
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Thu Apr 11 21:22:47 GMT 2024 - 14.8K bytes - Viewed (0)