- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 51 for isIdent (0.26 sec)
-
src/go/printer/testdata/parser.go
} func (p *parser) makeIdentList(list []ast.Expr) []*ast.Ident { idents := make([]*ast.Ident, len(list)) for i, x := range list { ident, isIdent := x.(*ast.Ident) if !isIdent { pos := x.(ast.Expr).Pos() p.errorExpected(pos, "identifier") ident = &ast.Ident{pos, "_", nil} } idents[i] = ident } return idents }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 20 20:19:51 UTC 2023 - 50.5K bytes - Viewed (0) -
src/go/parser/parser.go
func (p *parser) parseImportSpec(doc *ast.CommentGroup, _ token.Token, _ int) ast.Spec { if p.trace { defer un(trace(p, "ImportSpec")) } var ident *ast.Ident switch p.tok { case token.IDENT: ident = p.parseIdent() case token.PERIOD: ident = &ast.Ident{NamePos: p.pos, Name: "."} p.next() } pos := p.pos var path string if p.tok == token.STRING { path = p.lit p.next()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 08 20:07:50 UTC 2023 - 72.2K bytes - Viewed (0) -
src/go/printer/nodes.go
// won't indent again. If we didn't (ws == indent), identList will // indent if the identList spans multiple lines, and it will outdent // again at the end (and still ws == indent). Thus, a subsequent indent // by a linebreak call after a type, or in the next multi-line identList // will do the right thing. p.identList(par.Names, ws == indent) p.print(blank) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 17 18:53:17 UTC 2023 - 52.6K bytes - Viewed (0) -
src/go/types/api_test.go
}) } } type recordedInstance struct { Ident *ast.Ident Inst Instance } func sortedInstances(m map[*ast.Ident]Instance) (instances []recordedInstance) { for id, inst := range m { instances = append(instances, recordedInstance{id, inst}) } slices.SortFunc(instances, func(a, b recordedInstance) int { return CmpPos(a.Ident.Pos(), b.Ident.Pos()) }) return instances }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 94.2K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
c.bool = c.Ident("bool") c.byte = c.Ident("byte") c.int8 = c.Ident("int8") c.int16 = c.Ident("int16") c.int32 = c.Ident("int32") c.int64 = c.Ident("int64") c.uint8 = c.Ident("uint8") c.uint16 = c.Ident("uint16") c.uint32 = c.Ident("uint32") c.uint64 = c.Ident("uint64") c.uintptr = c.Ident("uintptr") c.float32 = c.Ident("float32") c.float64 = c.Ident("float64")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 97K bytes - Viewed (0) -
src/cmd/compile/internal/types2/api_test.go
// Print the scope tree of mainScope in case of error. var printScopeTree func(indent string, s *Scope) printScopeTree = func(indent string, s *Scope) { t.Logf("%sscope %s %v-%v = %v", indent, ScopeComment(s), s.Pos(), s.End(), s.Names()) for i := range s.NumChildren() { printScopeTree(indent+" ", s.Child(i)) } } printScopeTree("", mainScope)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 93.3K bytes - Viewed (0) -
src/cmd/link/internal/ld/elf.go
} else { eh.Ident[elf.EI_CLASS] = byte(elf.ELFCLASS32) } if ctxt.Arch.ByteOrder == binary.BigEndian { eh.Ident[elf.EI_DATA] = byte(elf.ELFDATA2MSB) } else { eh.Ident[elf.EI_DATA] = byte(elf.ELFDATA2LSB) } eh.Ident[elf.EI_VERSION] = byte(elf.EV_CURRENT) if ctxt.LinkMode == LinkExternal { eh.Type = uint16(elf.ET_REL) } else if ctxt.BuildMode == BuildModePIE {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 13:29:54 UTC 2024 - 63.6K bytes - Viewed (0) -
operator/cmd/mesh/testdata/manifest-generate/output/sidecar_template.golden.yaml
{{ end }} {{- end }} {{- else }} {{- if .Values.global.proxy.resources }} {{ toYaml .Values.global.proxy.resources | indent 6 }} {{- end }} {{- end }} {{- end }} {{ $nativeSidecar := (eq (env "ENABLE_NATIVE_SIDECARS" "false") "true") }} {{- $containers := list }}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jan 10 05:10:03 UTC 2024 - 86.9K bytes - Viewed (0) -
tests/integration/pilot/testdata/upgrade/1.6.11-install.yaml.tar
.Values.global.imagePullPolicy `Always` }}" {{- if .Values.global.proxy_init.resources }} env: {{- range $key, $value := .ProxyConfig.ProxyMetadata }} - name: {{ $key }} value: "{{ $value }}" {{- end }} resources: {{ toYaml .Values.global.proxy_init.resources | indent 4 }} {{- else }} resources: {} {{- end }} securityContext: allowPrivilegeEscala: {{ .Values.global.proxy.privileged }} privileged: {{ .Values.global.proxy.privileged }} capabilities: {{- if not .Values.istio_cni.enabled }} add: - NET_ADMIN - NET_RAW...
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jan 13 16:06:08 UTC 2021 - 50K bytes - Viewed (0) -
pkg/kube/inject/testdata/inputs/traffic-params.yaml.7.template.gen.yaml
{{ end }} {{- end }} {{- else }} {{- if .Values.global.proxy.resources }} {{ toYaml .Values.global.proxy.resources | indent 6 }} {{- end }} {{- end }} {{- end }} {{ $nativeSidecar := (eq (env "ENABLE_NATIVE_SIDECARS" "false") "true") }} {{- $containers := list }}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 03 01:55:05 UTC 2024 - 75.9K bytes - Viewed (0)