Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for topproto (0.21 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/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)
  4. 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)
  5. 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)
  6. 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)
  7. cni/pkg/nodeagent/net.go

    	// Add the pod UID as an ipset entry comment, so we can (more) easily find and delete
    	// all relevant entries for a pod later.
    	podUID := string(pod.ObjectMeta.UID)
    	ipProto := uint8(unix.IPPROTO_TCP)
    
    	var ipsetAddrErrs []error
    	var addedIps []netip.Addr
    
    	// For each pod IP
    	for _, pip := range podIPs {
    		// Add to host ipset
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph.cc

              xla::ShapeIndex({alias.first}), alias.second, xla::ShapeIndex({}),
              xla::HloInputOutputAliasConfig::AliasKind::kMayAlias));
        }
      }
      *module_proto->mutable_input_output_alias() = config.ToProto();
      return absl::OkStatus();
    }
    
    bool failed(const absl::Status& status) { return !status.ok(); }
    
    // Transforms the given module to be suitable for export to TensorFlow GraphDef
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 14K bytes
    - Viewed (0)
  9. pkg/config/model.go

    // this must be one of:
    // * golang/protobuf Message
    // * gogo/protobuf Message
    // * Able to marshal/unmarshal using json
    type Spec any
    
    func ToProto(s Spec) (*anypb.Any, error) {
    	// golang protobuf. Use protoreflect.ProtoMessage to distinguish from gogo
    	// golang/protobuf 1.4+ will have this interface. Older golang/protobuf are gogo compatible
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/utils/xla_sharding_util.cc

      // going forward. So, remove parsing binary sharding.
      absl::StatusOr<xla::HloSharding> sharding_hlo = xla::ParseSharding(shard_str);
      if (sharding_hlo.ok()) {
        sharding = sharding_hlo->ToProto();
        return mlir::success();
      }
      if (report_error)
        llvm::errs() << std::string(sharding_hlo.status().message()) << "\n";
      return mlir::failure();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 21:28:13 UTC 2024
    - 34K bytes
    - Viewed (0)
Back to top