Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for proto (0.19 sec)

  1. tensorflow/c/c_api.cc

                                    const char* attr_name, const void* proto,
                                    size_t proto_len, TF_Status* status) {
      // shape.ParseFromArray takes an int as length, this function takes size_t,
      // make sure there is no information loss.
      if (proto_len > std::numeric_limits<int>::max()) {
        status->status = InvalidArgument(
            "proto_len (", proto_len,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  2. Makefile.core.mk

    	@bin/check_samples.sh
    	@testlinter
    	@envvarlinter istioctl pilot security
    
    # Allow-list:
    # (k8s) Machinery, utils, klog
    # (proto) Istio API non-CRDs, MeshConfig and ProxyConfig
    # (proto) Envoy TLS proto for SDS
    # (proto) Envoy Wasm filters for wasm xDS proxy
    # (proto) xDS discovery service for xDS proxy
    .PHONY: check-agent-deps
    check-agent-deps:
    	@go list -f '{{ join .Deps "\n" }}' -tags=agent \
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 26 19:45:17 GMT 2024
    - 22.5K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_function.cc

                                      const void* proto, size_t proto_len,
                                      TF_Status* status) {
      tensorflow::AttrValue attr_value;
      if (!attr_value.ParseFromArray(proto, proto_len)) {
        status->status = InvalidArgument(
            "Unparseable AttrValue proto passed to "
            "TF_FunctionSetAttrValueProto");
        return;
      }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 13.6K bytes
    - Viewed (2)
  4. cni/pkg/nodeagent/ztunnelserver.go

    // limitations under the License.
    
    package nodeagent
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"io"
    	"net"
    	"os"
    	"sync"
    	"time"
    
    	"golang.org/x/sys/unix"
    	"google.golang.org/protobuf/proto"
    	v1 "k8s.io/api/core/v1"
    
    	"istio.io/istio/pkg/monitoring"
    	"istio.io/istio/pkg/spiffe"
    	"istio.io/istio/pkg/zdsapi"
    )
    
    var (
    	ztunnelKeepAliveCheckInterval = 5 * time.Second
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  5. tensorflow/c/c_api_experimental.cc

    // On success, returns a set of TF_Function instances from `text_proto` of
    // GraphDef type. These functions must be deleted by calling TF_DeleteFunction.
    //
    // If `mutate_proto_func` is non-NULL, run it over each FunctionDef proto,
    // before creating a TF_Function out of the possibly mutated proto.
    static std::vector<UniqueFuncPtr> CreateFunctionsFromTextProto(
        const char* text_proto,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/compare/comparator.go

    	"fmt"
    	"io"
    	"strings"
    
    	admin "github.com/envoyproxy/go-control-plane/envoy/admin/v3"
    	discovery "github.com/envoyproxy/go-control-plane/envoy/service/discovery/v3"
    	legacyproto "github.com/golang/protobuf/proto" // nolint: staticcheck
    	exprpb "google.golang.org/genproto/googleapis/api/expr/v1alpha1"
    	"google.golang.org/protobuf/reflect/protoreflect"
    	"google.golang.org/protobuf/reflect/protoregistry"
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 3.7K bytes
    - Viewed (1)
  7. tensorflow/c/c_api_test.cc

      string bytes1, bytes2;
      tensorflow::TensorShapeProto proto;
    
      const int64_t pts1[] = {2, 4, -1, 8};
      tensorflow::PartialTensorShape(pts1).AsProto(&proto);
      proto.SerializeToString(&bytes1);
    
      const int64_t pts2[] = {1, 3, 5, 7};
      tensorflow::PartialTensorShape(pts2).AsProto(&proto);
      proto.SerializeToString(&bytes2);
    
      std::unique_ptr<const void*[]> list_ptrs;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  8. istioctl/pkg/writer/envoy/configdump/endpoint.go

    	endpoint "github.com/envoyproxy/go-control-plane/envoy/config/endpoint/v3"
    	"google.golang.org/protobuf/types/known/anypb"
    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/istioctl/pkg/util/proto"
    	"istio.io/istio/pilot/pkg/networking/util"
    )
    
    type EndpointFilter struct {
    	Address string
    	Port    uint32
    	Cluster string
    	Status  string
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/ztunnelserver_test.go

    			Ack: &zdsapi.Ack{},
    		},
    	}
    	data, err := proto.Marshal(ack)
    	if err != nil {
    		panic(err)
    	}
    	err = c.SetWriteDeadline(time.Now().Add(time.Second))
    	if err != nil {
    		panic(err)
    	}
    	c.Write(data)
    }
    
    func sendHello(c *net.UnixConn) {
    	ack := &zdsapi.ZdsHello{
    		Version: zdsapi.Version_V1,
    	}
    	data, err := proto.Marshal(ack)
    	if err != nil {
    		panic(err)
    	}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  10. cni/pkg/ipset/nldeps_linux.go

    		return fmt.Errorf("failed to add IP %s with and proto %d to ipset %s: %w", ip, ipProto, name, err)
    	}
    	return nil
    }
    
    func (m *realDeps) deleteIP(name string, ip netip.Addr, ipProto uint8) error {
    	err := netlink.IpsetDel(name, &netlink.IPSetEntry{
    		IP:       net.IP(ip.AsSlice()),
    		Protocol: &ipProto,
    	})
    	if err != nil {
    		return fmt.Errorf("failed to delete IP %s with and proto %d from ipset %s: %w", ip, ipProto, name, err)
    	}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.9K bytes
    - Viewed (0)
Back to top