Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 319 for dumpTo (0.15 sec)

  1. src/go/doc/comment/testdata_test.go

    		dumpTo(out, indent+1, x.Items)
    
    	case []*ListItem:
    		for _, item := range x {
    			dumpNL(out, indent)
    			dumpTo(out, indent, item)
    		}
    
    	case *ListItem:
    		fmt.Fprintf(out, "Item Number=%q", x.Number)
    		dumpTo(out, indent+1, x.Content)
    
    	case *Paragraph:
    		fmt.Fprintf(out, "Paragraph")
    		dumpTo(out, indent+1, x.Text)
    
    	case *Code:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. src/internal/pkgbits/encoder.go

    func NewPkgEncoder(syncFrames int) PkgEncoder {
    	return PkgEncoder{
    		stringsIdx: make(map[string]Index),
    		syncFrames: syncFrames,
    	}
    }
    
    // DumpTo writes the package's encoded data to out0 and returns the
    // package fingerprint.
    func (pw *PkgEncoder) DumpTo(out0 io.Writer) (fingerprint [8]byte) {
    	h := md5.New()
    	out := io.MultiWriter(out0, h)
    
    	writeUint32 := func(x uint32) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 10 23:26:58 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/syntax/dumper.go

    			err = e.(writeError).err // re-panics if it's not a writeError
    		}
    	}()
    
    	if n == nil {
    		p.printf("nil\n")
    		return
    	}
    	p.dump(reflect.ValueOf(n), n)
    	p.printf("\n")
    
    	return
    }
    
    type dumper struct {
    	output io.Writer
    	ptrmap map[Node]int // node -> dump line number
    	indent int          // current indentation level
    	last   byte         // last byte processed by Write
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 08 17:32:14 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  4. pkg/test/framework/resource/dumper.go

    // limitations under the License.
    
    package resource
    
    // Dumper is an interface that is implemented by all components that can dump their state. In CI, it is
    // useful to get as much context as possible when a test fails. Dumper allows dumping of state from a test.
    type Dumper interface {
    	Dump(ctx Context)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Aug 14 21:19:42 UTC 2020
    - 861 bytes
    - Viewed (0)
  5. src/net/http/httputil/dump.go

    		return nil, err
    	}
    	dump := buf.Bytes()
    
    	// If we used a dummy body above, remove it now.
    	// TODO: if the req.ContentLength is large, we allocate memory
    	// unnecessarily just to slice it off here. But this is just
    	// a debug function, so this is acceptable for now. We could
    	// discard the body earlier if this matters.
    	if dummyBody {
    		if i := bytes.Index(dump, []byte("\r\n\r\n")); i >= 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  6. operator/cmd/mesh/operator-dump.go

    		"Output format: one of json|yaml")
    }
    
    func operatorDumpCmd(rootArgs *RootArgs, odArgs *operatorDumpArgs) *cobra.Command {
    	return &cobra.Command{
    		Use:   "dump",
    		Short: "Dumps the Istio operator controller manifest.",
    		Long:  "The dump subcommand dumps the Istio operator controller manifest.",
    		Args:  cobra.ExactArgs(0),
    		PreRunE: func(cmd *cobra.Command, args []string) error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  7. pkg/scheduler/internal/cache/debugger/dumper.go

    func (d *CacheDumper) dumpNodes(logger klog.Logger) {
    	dump := d.cache.Dump()
    	nodeInfos := make([]string, 0, len(dump.Nodes))
    	for name, nodeInfo := range dump.Nodes {
    		nodeInfos = append(nodeInfos, d.printNodeInfo(name, nodeInfo))
    	}
    	// Extra blank line added between node entries for readability.
    	logger.Info("Dump of cached NodeInfo", "nodes", strings.Join(nodeInfos, "\n\n"))
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 29 05:26:32 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  8. operator/cmd/mesh/profile-dump.go

    }
    
    func profileDumpCmd(pdArgs *profileDumpArgs) *cobra.Command {
    	return &cobra.Command{
    		Use:   "dump [<profile>]",
    		Short: "Dumps an Istio configuration profile",
    		Long:  "The dump subcommand dumps the values in an Istio configuration profile.",
    		Args: func(cmd *cobra.Command, args []string) error {
    			if len(args) > 1 {
    				return fmt.Errorf("too many positional arguments")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  9. pkg/test/framework/runtime.go

    	}
    	return &runtime{
    		context: ctx,
    	}, nil
    }
    
    // Dump state for all allocated resources.
    func (i *runtime) Dump(ctx resource.Context) {
    	i.DumpCustom(ctx, true)
    }
    
    // DumpCustom provides custom control over how the global scope is dumped.
    func (i *runtime) DumpCustom(ctx resource.Context, recursive bool) {
    	i.context.globalScope.dump(ctx, recursive)
    }
    
    // suiteContext returns the suiteContext.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 26 17:50:56 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  10. src/encoding/gob/dump.go

    import (
    	"encoding/gob"
    	"fmt"
    	"os"
    )
    
    func main() {
    	var err error
    	file := os.Stdin
    	if len(os.Args) > 1 {
    		file, err = os.Open(os.Args[1])
    		if err != nil {
    			fmt.Fprintf(os.Stderr, "dump: %s\n", err)
    			os.Exit(1)
    		}
    		defer file.Close()
    	}
    	gob.Debug(file)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 16:39:09 UTC 2024
    - 579 bytes
    - Viewed (0)
Back to top