Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for protoPtr (0.3 sec)

  1. pkg/controller/endpointslice/endpointslice_controller_test.go

    				{
    					Name:     pointer.String("sctp-example"),
    					Protocol: protoPtr(v1.ProtocolSCTP),
    					Port:     pointer.Int32(3456),
    				},
    				{
    					Name:     pointer.String("udp-example"),
    					Protocol: protoPtr(v1.ProtocolUDP),
    					Port:     pointer.Int32(161),
    				},
    				{
    					Name:     pointer.String("tcp-example"),
    					Protocol: protoPtr(v1.ProtocolTCP),
    					Port:     pointer.Int32(80),
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  2. pkg/proxy/conntrack/conntrack.go

    	return &execCT{execer: execer}
    }
    
    // noConnectionToDelete is the error string returned by conntrack when no matching connections are found
    const noConnectionToDelete = "0 flow entries have been deleted"
    
    func protoStr(proto v1.Protocol) string {
    	return strings.ToLower(string(proto))
    }
    
    func parametersWithFamily(isIPv6 bool, parameters ...string) []string {
    	if isIPv6 {
    		parameters = append(parameters, "-f", "ipv6")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 15 18:09:05 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/python/type_casters.h

    // function that return an `ProtoT` should return a valid serialized `ProtoT`.
    //
    // See https://pybind11.readthedocs.io/en/stable/advanced/cast/custom.html
    template <typename ProtoT, typename = std::enable_if_t<std::is_base_of_v<
                                   tsl::protobuf::Message, ProtoT>>>
    struct SerializedProtobufCaster {
     public:
      PYBIND11_TYPE_CASTER(ProtoT, const_name<ProtoT>());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 11 19:29:56 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. pkg/test/framework/components/echo/common/call.go

    		},
    		ProxyProtocolVersion: getProxyProtoVersion(opts.ProxyProtocolVersion),
    	}
    }
    
    func getProxyProtoVersion(protoVer int) proto.ProxyProtoVersion {
    	if protoVer == 1 {
    		return proto.ProxyProtoVersion_V1
    	} else if protoVer == 2 {
    		return proto.ProxyProtoVersion_V2
    	}
    
    	return proto.ProxyProtoVersion_NONE
    }
    
    func getProtoALPN(alpn []string) *proto.Alpn {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Oct 08 09:39:20 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/api/apitesting/roundtrip/compatibility.go

    	}
    	if yamlErr != nil {
    		return actualJSON, actualYAML, actualProto, yamlErr
    	}
    	if protoErr != nil {
    		return actualJSON, actualYAML, actualProto, protoErr
    	}
    	return actualJSON, actualYAML, actualProto, nil
    }
    
    func writeFile(t *testing.T, dir string, gvk schema.GroupVersionKind, suffix, extension string, data []byte) {
    	if err := os.MkdirAll(dir, os.FileMode(0755)); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 16:38:32 UTC 2023
    - 17.8K bytes
    - Viewed (0)
  6. src/net/dial.go

    		}
    		return network, 0, nil
    	}
    	afnet = network[:i]
    	switch afnet {
    	case "ip", "ip4", "ip6":
    		protostr := network[i+1:]
    		proto, i, ok := dtoi(protostr)
    		if !ok || i != len(protostr) {
    			proto, err = lookupProtocol(ctx, protostr)
    			if err != nil {
    				return "", 0, err
    			}
    		}
    		return afnet, proto, nil
    	}
    	return "", 0, UnknownNetworkError(network)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 26.9K bytes
    - Viewed (0)
Back to top