Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for topproto (0.2 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. cni/pkg/ipset/nldeps_unspecified.go

    	return errors.New("not implemented on this platform")
    }
    
    func (m *realDeps) addIP(name string, ip netip.Addr, ipProto uint8, comment string, replace bool) error {
    	return errors.New("not implemented on this platform")
    }
    
    func (m *realDeps) deleteIP(name string, ip netip.Addr, ipProto uint8) error {
    	return errors.New("not implemented on this platform")
    }
    
    func (m *realDeps) 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)
  9. pilot/pkg/security/authz/model/generator_test.go

    				}
    				return
    			}
    			if diff := cmp.Diff(got, tc.want, protocmp.Transform()); diff != "" {
    				var gotYaml string
    				gotProto, ok := got.(proto.Message)
    				if !ok {
    					t.Fatal("failed to extract proto")
    				}
    				if gotYaml, err = protomarshal.ToYAML(gotProto); err != nil {
    					t.Fatalf("%s: failed to parse yaml: %s", tc.name, err)
    				}
    				t.Errorf("got:\n %v\n but want:\n %v", gotYaml, tc.want)
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 20 01:58:53 UTC 2024
    - 13K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/micro_time_test.go

    			}
    
    			var tJSON, tProto MicroTime
    			if err = tJSON.UnmarshalJSON(jsonData); err != nil {
    				t.Fatalf("Failed to unmarshal JSON: '%v': %v", jsonData, err)
    			}
    			if err = tProto.Unmarshal(protoData); err != nil {
    				t.Fatalf("Failed to unmarshal proto: '%v': %v", protoData, err)
    			}
    
    			result := tJSON.Equal(&tProto)
    			if result != c.result {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top