- Sort Score
- Result 10 results
- Languages All
Results 591 - 600 of 1,315 for range (0.08 sec)
-
cmd/batch-rotate_gen.go
o = msgp.AppendArrayHeader(o, uint32(len(z.Tags))) for za0001 := range z.Tags { o, err = z.Tags[za0001].MarshalMsg(o) if err != nil { err = msgp.WrapError(err, "Tags", za0001) return } } // string "Metadata" o = append(o, 0xa8, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61) o = msgp.AppendArrayHeader(o, uint32(len(z.Metadata))) for za0002 := range z.Metadata { o, err = z.Metadata[za0002].MarshalMsg(o)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Dec 02 10:51:33 UTC 2023 - 27.1K bytes - Viewed (0) -
cmd/xl-storage.go
if err != nil { return err } // Clear and repopulate for k := range foundDirs { delete(foundDirs, k) } // Populate into map for _, k := range dirs { foundDirs[k] = struct{}{} } // Delete all directories we expect to be there. for _, dir := range wantDirs { delete(foundDirs, dir) } // Nothing to delete if len(foundDirs) == 0 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Oct 26 09:58:27 UTC 2024 - 91.3K bytes - Viewed (0) -
cmd/os_other.go
if err != nil { if err == io.EOF { break } err = osErrToFileErr(err) if err == errFileNotFound { return nil } return err } for _, fi := range fis { if fi.Mode()&os.ModeSymlink == os.ModeSymlink { fi, err = Stat(pathJoin(dirPath, fi.Name())) if err != nil { // It got deleted in the meantime, not found // or returns too many symlinks ignore this
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 13 15:14:36 UTC 2023 - 4K bytes - Viewed (0) -
cni/pkg/plugin/kubernetes.go
Annotations: pod.Annotations, ProxyEnvironments: make(map[string]string), } for _, c := range containers(pod) { pi.Containers.Insert(c.Name) if c.Name == ISTIOPROXY { // don't include ports from istio-proxy in the redirect ports // Get proxy container env variable, and extract out ProxyConfig from it. for _, e := range c.Env { pi.ProxyEnvironments[e.Name] = e.Value } if len(c.Args) >= 2 && c.Args[0] == "proxy" {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 18:38:14 UTC 2024 - 3.7K bytes - Viewed (0) -
internal/s3select/sql/jsonpath.go
if len(p) == 0 || v == nil { return v, false, nil } switch { case p[0].Key != nil: key := p[0].Key.keyString() switch kvs := v.(type) { case jstream.KVS: for _, kv := range kvs { if kv.Key == key { return jsonpathEval(p[1:], kv.Value) } } // Key not found - return nil result return Missing{}, false, nil case simdjson.Object: elem := kvs.FindKey(key, nil)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 3.5K bytes - Viewed (0) -
istioctl/pkg/waypoint/waypoint_test.go
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Apr 04 15:53:09 UTC 2024 - 4.4K bytes - Viewed (0) -
internal/config/identity/ldap/ldap.go
// This will not return an error as the argument is validated to be a DN. pdn, _ := ldap.ParseDN(searchRes.NormDN) // Check that the DN is under a configured base DN in the LDAP // directory. for _, baseDN := range baseDNList { if baseDN.Parsed.AncestorOf(pdn) { return searchRes, true, nil } } // Not under any configured base DN so return false. return searchRes, false, nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 01:04:53 UTC 2024 - 12.4K bytes - Viewed (0) -
tests/upsert_test.go
} for idx, lang := range langs { lang.Name = lang.Name + "_new" langs[idx] = lang } if err := DB.Clauses(clause.OnConflict{ Columns: []clause.Column{{Name: "code"}}, DoUpdates: clause.AssignmentColumns([]string{"name"}), }).Create(&langs).Error; err != nil { t.Fatalf("failed to upsert, got %v", err) } for _, lang := range langs { var results []Language
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Sep 05 07:39:19 UTC 2022 - 11.4K bytes - Viewed (0) -
clause/delete_test.go
"DELETE FROM `users`", nil, }, { []clause.Interface{clause.Delete{Modifier: "LOW_PRIORITY"}, clause.From{}}, "DELETE LOW_PRIORITY FROM `users`", nil, }, } 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: Tue Jun 02 01:18:01 UTC 2020 - 608 bytes - Viewed (0) -
internal/event/target/kafka.go
} // Validate KafkaArgs fields func (k KafkaArgs) Validate() error { if !k.Enable { return nil } if len(k.Brokers) == 0 { return errors.New("no broker address found") } for _, b := range k.Brokers { if _, err := xnet.ParseHost(b.String()); err != nil { return err } } if k.QueueDir != "" { if !filepath.IsAbs(k.QueueDir) { return errors.New("queueDir path should be absolute")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 13.6K bytes - Viewed (0)