- Sort Score
- Result 10 results
- Languages All
Results 701 - 710 of 1,271 for Range (0.03 sec)
-
src/cmd/asm/internal/lex/input.go
} } // predefine installs the macros set by the -D flag on the command line. func predefine(defines flags.MultiFlag) map[string]*Macro { macros := make(map[string]*Macro) for _, name := range defines { value := "1" i := strings.IndexRune(name, '=') if i > 0 { name, value = name[:i], name[i+1:] } tokens := Tokenize(name) if len(tokens) != 1 || tokens[0].ScanToken != scanner.Ident {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Sep 06 13:17:27 UTC 2024 - 12.5K bytes - Viewed (0) -
internal/s3select/csv/reader.go
if r.columnNames == nil { r.columnNames = make([]string, len(csvRecord)) for i := range csvRecord { r.columnNames[i] = fmt.Sprintf("_%v", i+1) } } // If no index map, add that. if r.nameIndexMap == nil { r.nameIndexMap = make(map[string]int64) for i := range r.columnNames { r.nameIndexMap[r.columnNames[i]] = int64(i) } } dstRec, ok := dst.(*Record) if !ok {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 8.9K bytes - Viewed (0) -
misc/ios/go_ios_exec.go
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Jun 18 16:32:49 UTC 2024 - 8.7K bytes - Viewed (0) -
cmd/api-headers_test.go
) func TestNewRequestID(t *testing.T) { // Ensure that it returns an alphanumeric result of length 16. id := mustGetRequestID(UTCNow()) if len(id) != 16 { t.Fail() } var e rune for _, char := range id { e = char // Ensure that it is alphanumeric, in this case, between 0-9 and A-Z. if !(('0' <= e && e <= '9') || ('A' <= e && e <= 'Z')) { t.Fail() } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 1.1K bytes - Viewed (0) -
helm/minio/templates/_helper_custom_command.txt
} # Try connecting to MinIO instance {{- if .Values.tls.enabled }} scheme=https {{- else }} scheme=http {{- end }} connectToMinio $scheme {{ if .Values.customCommands }} # Run custom commands {{- range .Values.customCommands }} runCommand {{ .command }} {{- end }}
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Feb 19 20:34:14 UTC 2022 - 1.4K bytes - Viewed (0) -
clause/select_test.go
Value: 18, }, }, }, }, }, }, clause.From{}}, "SELECT `age` = ? as name FROM `users`", []interface{}{18}, }, } for idx, result := range results { t.Run(fmt.Sprintf("case #%v", idx), func(t *testing.T) { checkBuildClauses(t, result.Clauses, result.Result, result.Vars) }) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sat Feb 18 01:06:43 UTC 2023 - 1.7K bytes - Viewed (0) -
istioctl/pkg/cli/context_test.go
wantNamespace: "test", }, { description: "return default namespace", namespace: "", defaultNamespace: "default", wantNamespace: "default", }, } for _, tt := range tests { t.Run(tt.description, func(t *testing.T) { gotNs := handleNamespace(tt.namespace, tt.defaultNamespace) if gotNs != tt.wantNamespace { t.Fatalf("unexpected namespace: wanted %v got %v", tt.wantNamespace, gotNs)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jun 09 18:17:49 UTC 2023 - 1.4K bytes - Viewed (0) -
schema/utils_test.go
`gorm:"before:value;column; after:value" other:"before:value;column:db;after:value"`: `gorm:"before:value; after:value" other:"before:value;column:db;after:value"`, } for k, v := range tags { if string(removeSettingFromTag(reflect.StructTag(k), "column")) != v { t.Errorf("%v after removeSettingFromTag should equal %v, but got %v", k, v, removeSettingFromTag(reflect.StructTag(k), "column")) } }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Fri Jul 31 10:19:25 UTC 2020 - 1.5K bytes - Viewed (0) -
istioctl/pkg/util/handlers/handlers_test.go
namespace: "namespace", wantPodName: "gateway.gateway.networking.k8s.io/istiod", wantNamespace: "istio-system", }, } for _, tt := range tests { t.Run(strings.Split(tt.proxyName, ".")[0], func(t *testing.T) { gotPodName, gotNamespace := InferPodInfo(tt.proxyName, tt.namespace) if gotPodName != tt.wantPodName || gotNamespace != tt.wantNamespace {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jun 09 18:17:49 UTC 2023 - 6.6K bytes - Viewed (0) -
doc/next/6-stdlib/99-minor/go/types/66626.md
return iterators, allowing you to simplify code such as this: ```go params := fn.Type.(*types.Signature).Params() for i := 0; i < params.Len(); i++ { use(params.At(i)) } ``` to this: ```go for param := range fn.Signature().Params().Variables() { use(param) } ``` The methods are: [`Interface.EmbeddedTypes`](/pkg/go/types#Interface.EmbeddedTypes), [`Interface.ExplicitMethods`](/pkg/go/types#Interface.ExplicitMethods),
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Jul 31 22:54:09 UTC 2024 - 1K bytes - Viewed (0)