Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 84 for topproto (0.46 sec)

  1. src/cmd/vendor/github.com/google/pprof/internal/driver/commands.go

    	"proto":     {report.Proto, nil, awayFromTTY("pb.gz"), false, "Outputs the profile in compressed protobuf format", ""},
    	"topproto":  {report.TopProto, nil, awayFromTTY("pb.gz"), false, "Outputs top entries in compressed protobuf format", ""},
    
    	// Generate report in DOT format and postprocess with dot
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/driver/driver.go

    	case "list":
    		trim = false
    		cfg.Granularity = "lines"
    		// Do not force 'noinlines' to be false so that specifying
    		// "-list foo -noinlines" is supported and works as expected.
    	case "text", "top", "topproto":
    		if cfg.NodeCount == -1 {
    			cfg.NodeCount = 0
    		}
    	default:
    		if cfg.NodeCount == -1 {
    			cfg.NodeCount = 80
    		}
    	}
    
    	switch outputFormat {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/internal/report/report.go

    	"github.com/google/pprof/internal/plugin"
    	"github.com/google/pprof/profile"
    )
    
    // Output formats.
    const (
    	Callgrind = iota
    	Comments
    	Dis
    	Dot
    	List
    	Proto
    	Raw
    	Tags
    	Text
    	TopProto
    	Traces
    	Tree
    	WebList
    )
    
    // Options are the formatting and filtering options used to generate a
    // profile.
    type Options struct {
    	OutputFormat int
    
    	CumSort       bool
    	CallTree      bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  4. pkg/config/kube/conversion_test.go

    			portName:      "http-something",
    			expectedProto: protocol.HTTP,
    		},
    		{
    			name:          "prefers appProto over portName",
    			portName:      "http-something",
    			appProto:      &https,
    			expectedProto: protocol.HTTPS,
    		},
    		{
    			name:          "resolves from appProto",
    			portName:      "something-httpx",
    			appProto:      &https,
    			expectedProto: protocol.HTTPS,
    		},
    		{
    			name:          "resolves grpc-web",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 28 15:30:30 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  5. cni/pkg/ipset/ipset.go

    	}
    	return err
    }
    
    func (m *IPSet) AddIP(ip netip.Addr, ipProto uint8, comment string, replace bool) error {
    	ipToInsert := ip.Unmap()
    
    	// We have already Unmap'd, so we can do a simple IsV6 y/n check now
    	if ipToInsert.Is6() {
    		return m.Deps.addIP(m.V6Name, ipToInsert, ipProto, comment, replace)
    	}
    	return m.Deps.addIP(m.V4Name, ipToInsert, ipProto, comment, replace)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 22:24:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/net_test.go

    	set := ipset.IPSet{V4Name: "foo-v4", Prefix: "foo", Deps: fakeIPSetDeps}
    	ipProto := uint8(unix.IPPROTO_TCP)
    
    	fakeIPSetDeps.On("addIP",
    		"foo-v4",
    		netip.MustParseAddr("99.9.9.9"),
    		ipProto,
    		podUID,
    		false,
    	).Return(nil)
    
    	fakeIPSetDeps.On("addIP",
    		"foo-v4",
    		netip.MustParseAddr("2.2.2.2"),
    		ipProto,
    		podUID,
    		false,
    	).Return(nil)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  7. cni/pkg/ipset/nldeps_mock.go

    	return args.Error(0)
    }
    
    func (m *MockedIpsetDeps) addIP(name string, ip netip.Addr, ipProto uint8, comment string, replace bool) error {
    	args := m.Called(name, ip, ipProto, comment, replace)
    	return args.Error(0)
    }
    
    func (m *MockedIpsetDeps) deleteIP(name string, ip netip.Addr, ipProto uint8) error {
    	args := m.Called(name, ip, ipProto)
    	return args.Error(0)
    }
    
    func (m *MockedIpsetDeps) flush(name string) error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 22:24:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. pkg/config/kube/conversion.go

    func ConvertProtocol(port int32, portName string, proto corev1.Protocol, appProto *string) protocol.Instance {
    	if proto == corev1.ProtocolUDP {
    		return protocol.UDP
    	}
    
    	// If application protocol is set, we will use that
    	// If not, use the port name
    	name := portName
    	if appProto != nil {
    		name = *appProto
    		// Kubernetes has a few AppProtocol specific standard names defined in the Service spec
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 02:03:58 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. cni/pkg/ipset/nldeps_linux.go

    	err := netlink.IpsetDestroy(name)
    	return err
    }
    
    func (m *realDeps) addIP(name string, ip netip.Addr, ipProto uint8, comment string, replace bool) error {
    	err := netlink.IpsetAdd(name, &netlink.IPSetEntry{
    		Comment:  comment,
    		IP:       net.IP(ip.AsSlice()),
    		Protocol: &ipProto,
    		Replace:  replace,
    	})
    	if err != nil {
    		return fmt.Errorf("failed to add IP %s to ipset %s: %w", ip, name, err)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 30 18:07:05 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. pkg/config/conversion.go

    func PilotConfigToResource(c *Config) (*mcp.Resource, error) {
    	r := &mcp.Resource{}
    
    	// MCP, K8S and Istio configs use gogo configs
    	// On the wire it's the same as golang proto.
    	a, err := ToProto(c.Spec)
    	if err != nil {
    		return nil, err
    	}
    	r.Body = a
    	r.Metadata = &mcp.Metadata{
    		Name:        c.Namespace + "/" + c.Name,
    		CreateTime:  timestamppb.New(c.CreationTimestamp),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 23 17:19:38 UTC 2022
    - 1.3K bytes
    - Viewed (0)
Back to top