Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 112 for Walks (0.05 sec)

  1. src/cmd/link/internal/loadpe/ldpe.go

    		bld = makeUpdater(state.l, bld, s)
    		bld.SetType(sym.SXREF)
    	}
    
    	return bld, s, nil
    }
    
    // preprocessSymbols walks the COFF symbols for the PE file we're
    // reading and looks for cases where we have both a symbol definition
    // for "XXX" and an "__imp_XXX" symbol, recording these cases in a map
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 20:26:46 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  2. src/encoding/xml/read.go

    		dst.SetString(string(src))
    	case reflect.Slice:
    		if len(src) == 0 {
    			// non-nil to flag presence
    			src = []byte{}
    		}
    		dst.SetBytes(src)
    	}
    	return nil
    }
    
    // unmarshalPath walks down an XML structure looking for wanted
    // paths, and calls unmarshal on them.
    // The consumed result tells whether XML elements have been consumed
    // from the Decoder until start's matching end element, or if it's
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 22.4K bytes
    - Viewed (0)
  3. src/archive/tar/writer.go

    	}
    	if isHeaderOnlyType(flag) {
    		size = 0
    	}
    	tw.curr = &regFileWriter{tw.w, size}
    	tw.pad = blockPadding(size)
    	return nil
    }
    
    // AddFS adds the files from fs.FS to the archive.
    // It walks the directory tree starting at the root of the filesystem
    // adding each file to the tar archive while maintaining the directory structure.
    func (tw *Writer) AddFS(fsys fs.FS) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  4. tests/integration/README.md

    ## Overview
    
    The goal of the framework is to make it as easy as possible to author and run tests. In its simplest
    case, just typing ```go test ./...``` should be sufficient to run tests.
    
    This guide walks through the basics of writing tests with the Istio test framework. For best
    practices, see [Writing Good Integration Tests](https://github.com/istio/istio/wiki/Writing-Good-Integration-Tests).
    
    ## Writing Tests
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 19:04:51 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/cli-runtime/pkg/resource/visitor.go

    	utf16bom := unicode.BOMOverride(unicode.UTF8.NewDecoder())
    	v.StreamVisitor.Reader = transform.NewReader(f, utf16bom)
    
    	return v.StreamVisitor.Visit(fn)
    }
    
    // StreamVisitor reads objects from an io.Reader and walks them. A stream visitor can only be
    // visited once.
    // TODO: depends on objects being in JSON format before being passed to decode - need to implement
    // a stream decoder method on runtime.Codec to properly handle this.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 10:17:56 UTC 2023
    - 21.3K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/mod/modfile/read.go

    // We use the preorder list to assign each whole-line comment to the syntax
    // immediately following it, and we use the postorder list to assign each
    // end-of-line comment to the syntax immediately preceding it.
    
    // order walks the expression adding it and its subexpressions to the
    // preorder and postorder lists.
    func (in *input) order(x Expr) {
    	if x != nil {
    		in.pre = append(in.pre, x)
    	}
    	switch x := x.(type) {
    	default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  7. src/cmd/go/internal/fsys/fsys.go

    		filename := filepath.Join(path, fi.Name())
    		if err := walk(filename, fi, walkFn); err != nil {
    			if !fi.IsDir() || err != filepath.SkipDir {
    				return err
    			}
    		}
    	}
    	return nil
    }
    
    // Walk walks the file tree rooted at root, calling walkFn for each file or
    // directory in the tree, including root.
    func Walk(root string, walkFn filepath.WalkFunc) error {
    	Trace("Walk", root)
    	info, err := Lstat(root)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:35:34 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  8. src/cmd/go/go_test.go

    func TestGoListStdDoesNotIncludeCommands(t *testing.T) {
    	tooSlow(t, "walks all of GOROOT/src")
    
    	tg := testgo(t)
    	defer tg.cleanup()
    	tg.parallel()
    	tg.run("list", "std")
    	tg.grepStdoutNot("cmd/", "go list std shows commands")
    }
    
    func TestGoListCmdOnlyShowsCommands(t *testing.T) {
    	skipIfGccgo(t, "gccgo does not have GOROOT")
    	tooSlow(t, "walks all of GOROOT/src/cmd")
    
    	tg := testgo(t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  9. src/encoding/gob/type.go

    	// cycle detection algorithm from Knuth, Vol 2, Section 3.1, Ex 6,
    	// pp 539-540.  As we step through indirections, run another type at
    	// half speed. If they meet up, there's a cycle.
    	slowpoke := ut.base // walks half as fast as ut.base
    	for {
    		pt := ut.base
    		if pt.Kind() != reflect.Pointer {
    			break
    		}
    		ut.base = pt.Elem()
    		if ut.base == slowpoke { // ut.base lapped slowpoke
    			// recursive pointer type.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/infer.go

    		// If any term of tpar has a tilde, we don't
    		// have a precise core type and we must return
    		// a tilde as well.
    		return &term{tilde, typ}, false
    	}
    	return nil, false
    }
    
    // killCycles walks through the given type parameters and looks for cycles
    // created by type parameters whose inferred types refer back to that type
    // parameter, either directly or indirectly. If such a cycle is detected,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 13:54:20 UTC 2024
    - 26.4K bytes
    - Viewed (0)
Back to top