- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for recurses (0.18 sec)
-
cmd/os_other.go
// baseDir is not honored in plan9 and solaris platforms. return os.MkdirAll(dirPath, perm) } // readDirFn applies the fn() function on each entries at dirPath, doesn't recurse into // the directory itself, if the dirPath doesn't exist this function doesn't return // an error. func readDirFn(dirPath string, filter func(name string, typ os.FileMode) error) error { d, err := Open(dirPath)
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Wed Sep 13 15:14:36 GMT 2023 - 4K bytes - Viewed (0) -
src/cmd/api/main_test.go
case *ast.TypeSpec: if isDeprecated(n.Doc) { mark(n.Name) } return true // recurse into struct or interface type case *ast.StructType: return true // recurse into fields case *ast.InterfaceType: return true // recurse into methods case *ast.FieldList: return true // recurse into fields case *ast.ValueSpec: if isDeprecated(n.Doc) { for _, id := range n.Names {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Apr 09 20:48:51 GMT 2024 - 31.4K bytes - Viewed (0) -
internal/logger/logonce.go
leafErr = uerr // continue to look for leaf errors underneath uerr = errors.Unwrap(leafErr) depth++ if depth == unwrapErrsDepth { // If we have reached enough depth we // do not further recurse down, this // is done to avoid any unnecessary // latencies this might bring. break } } if uerr == nil { leafErr = err } return leafErr } // One log message per error.
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 3.8K bytes - Viewed (0) -
cmd/os_windows.go
func osMkdirAll(dirPath string, perm os.FileMode, _ string) error { // baseDir is not honored in windows platform return os.MkdirAll(dirPath, perm) } // readDirFn applies the fn() function on each entries at dirPath, doesn't recurse into // the directory itself, if the dirPath doesn't exist this function doesn't return // an error. func readDirFn(dirPath string, filter func(name string, typ os.FileMode) error) error {
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Wed Oct 18 18:08:15 GMT 2023 - 5.1K bytes - Viewed (0) -
istioctl/pkg/analyze/analyze.go
var readers []local.ReaderSource err := filepath.Walk(dir, func(path string, info os.FileInfo, err error) error { if err != nil { return err } // If we encounter a directory, recurse only if the --recursive option // was provided and the directory is not the same as dir. if info.IsDir() { if !recursive && dir != path { return filepath.SkipDir } return nil }
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Apr 02 08:32:06 GMT 2024 - 17K bytes - Viewed (0) -
src/cmd/cgo/ast.go
func (f *File) walk(x interface{}, context astContext, visit func(*File, interface{}, astContext)) { visit(f, x, context) switch n := x.(type) { case *ast.Expr: f.walk(*n, context, visit) // everything else just recurs default: f.walkUnexpected(x, context, visit) case nil: // These are ordered and grouped to match ../../go/ast/ast.go case *ast.Field: if len(n.Names) == 0 && context == ctxField {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Jun 07 16:54:27 GMT 2023 - 14.3K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/listener.go
return []string{"UNMATCHED"} } case *matcher.Matcher_OnMatch_Matcher: ms, f := recurse(fc.GetName(), v.Matcher) if !f { return []string{"NONE"} } return ms } ms, f := recurse(fc.GetName(), l.GetFilterChainMatcher()) if !f { return []string{"NONE"} } return ms } func recurse(name string, match *matcher.Matcher) ([]string, bool) {
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Wed Nov 29 12:37:14 GMT 2023 - 18.1K bytes - Viewed (0) -
cmd/object-api-utils.go
var fetched bool return func() []byte { if !fetched { data = input() fetched = true } return metadataEncrypter(key)("compression-index", data) } } // compressionIndexDecrypt reverses compressionIndexEncrypter. func (o *ObjectInfo) compressionIndexDecrypt(input []byte) ([]byte, error) { return o.metadataDecrypter()("compression-index", input) }
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Mon Mar 11 11:55:34 GMT 2024 - 35.6K bytes - Viewed (1) -
cmd/object-api-listobjects_test.go
{testBuckets[0], "newPrefix0", "newPrefix0", nil}, {testBuckets[0], "newPrefix1", "newPrefix1", nil}, {testBuckets[0], "newzen/zen/recurse/again/again/again/pics", "recurse", nil}, {testBuckets[0], "obj0", "obj0", nil}, {testBuckets[0], "obj1", "obj1", nil}, {testBuckets[0], "obj2", "obj2", nil}, {testBuckets[1], "obj1", "obj1", nil},
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Tue Jan 30 20:43:25 GMT 2024 - 73.1K bytes - Viewed (0) -
cmd/os_unix.go
if err != nil { return consumed, nil, typ, err } return consumed, nameBuf[:nameLen], typ, nil } // readDirFn applies the fn() function on each entries at dirPath, doesn't recurse into // the directory itself, if the dirPath doesn't exist this function doesn't return // an error. func readDirFn(dirPath string, fn func(name string, typ os.FileMode) error) error {
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 9.3K bytes - Viewed (0)