Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 60 for addType (0.12 sec)

  1. pkg/util/iptables/testing/parse_test.go

    		{
    			name: "local source",
    			rule: `-A KUBE-XLB-GNZBNJ2PO5MGZ6GT -m comment --comment "masquerade LOCAL traffic for ns2/svc2:p80 LB IP" -m addrtype --src-type LOCAL -j KUBE-MARK-MASQ`,
    			parsed: &Rule{
    				Raw:        `-A KUBE-XLB-GNZBNJ2PO5MGZ6GT -m comment --comment "masquerade LOCAL traffic for ns2/svc2:p80 LB IP" -m addrtype --src-type LOCAL -j KUBE-MARK-MASQ`,
    				Chain:      iptables.Chain("KUBE-XLB-GNZBNJ2PO5MGZ6GT"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 26K bytes
    - Viewed (0)
  2. src/debug/dwarf/open.go

    		return nil, err
    	}
    	d.unit = u
    	return d, nil
    }
    
    // AddTypes will add one .debug_types section to the DWARF data. A
    // typical object with DWARF version 4 debug info will have multiple
    // .debug_types sections. The name is used for error reporting only,
    // and serves to distinguish one .debug_types section from another.
    func (d *Data) AddTypes(name string, types []byte) error {
    	return d.parseTypes(name, types)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback.cc

    namespace tfrt {
    namespace fallback {
    
    FallbackDialect::FallbackDialect(MLIRContext *context)
        : Dialect(/*name=*/"tfrt_fallback", context,
                  TypeID::get<FallbackDialect>()) {
      addTypes<TFTensorType, TFAllocatorType>();
    
      addOperations<
    #define GET_OP_LIST
    #include "tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback.cpp.inc"
          >();
    }
    
    /// Parse a type registered to this dialect.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/python/mlir_wrapper/ops.cc

          .def(py::init([](mlir::Location loc, std::string name) {
            return mlir::OperationState(loc, llvm::StringRef(name));
          }))
          .def("addTypes",
               [](mlir::OperationState& state, std::vector<mlir::Type> tys) {
                 state.addTypes(mlir::ArrayRef<mlir::Type>(tys));
               })
          .def("addOperands",
               [](mlir::OperationState& os, std::vector<mlir::Value> ops) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 30 02:12:49 UTC 2022
    - 7.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.cc

    };
    
    }  // namespace
    
    TensorflowMlrtDialect::TensorflowMlrtDialect(mlir::MLIRContext *context)
        : mlir::Dialect(/*name=*/"tf_mlrt", context,
                        mlir::TypeID::get<TensorflowMlrtDialect>()) {
      addTypes<TFTensorType, TFDeviceType>();
      addInterfaces<TensorflowMlrtInlinerInterface>();
    
      addOperations<
    #define GET_OP_LIST
    #include "tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.cpp.inc"
          >();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/network.go

    		Cluster: n.clusterID,
    	}
    	newGateways := model.NetworkGatewaySet{}
    	for _, addr := range gw.Spec.Addresses {
    		if addr.Type == nil {
    			continue
    		}
    		if addrType := *addr.Type; addrType != v1beta1.IPAddressType && addrType != v1beta1.HostnameAddressType {
    			continue
    		}
    		for _, l := range slices.Filter(gw.Spec.Listeners, autoPassthrough) {
    			networkGateway := base
    			networkGateway.Addr = addr.Value
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 22:23:22 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/gpu_fusion.cc

                             _FusedBatchNormExOp::getOperationName());
        state.addOperands(batch_norm.getOperands());
        if (side_input) state.operands.push_back(side_input);
        state.addTypes(batch_norm.getResultTypes());
        state.addAttributes(batch_norm->getAttrs());
        Operation *op = rewriter.create(state);
        rewriter.replaceOp(batch_norm, op->getResults());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 03 12:35:38 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  8. pkg/proxy/iptables/proxier_test.go

    	if rule.SourceAddress != nil && !addressMatches(tracer.t, rule.SourceAddress, sourceIP) {
    		return false
    	}
    	if rule.SourceType != nil {
    		addrtype := "not-matched"
    		if tracer.localIPs.Has(sourceIP) {
    			addrtype = "LOCAL"
    		}
    		if !rule.SourceType.Matches(addrtype) {
    			return false
    		}
    	}
    
    	if rule.Protocol != nil && !rule.Protocol.Matches(protocol) {
    		return false
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 249.9K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/link.go

    	// table for 'name'.
    	NAME_GOTREF
    	// Indicates that this is a reference to a TOC anchor.
    	NAME_TOCREF
    )
    
    //go:generate stringer -type AddrType
    
    type AddrType uint8
    
    const (
    	TYPE_NONE AddrType = iota
    	TYPE_BRANCH
    	TYPE_TEXTSIZE
    	TYPE_MEM
    	TYPE_CONST
    	TYPE_FCONST
    	TYPE_SCONST
    	TYPE_REG
    	TYPE_ADDR
    	TYPE_SHIFT
    	TYPE_REGREG
    	TYPE_REGREG2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  10. src/text/template/funcs.go

    	if err := goodFunc(name, typ); err != nil {
    		return reflect.Value{}, err
    	}
    	numIn := typ.NumIn()
    	var dddType reflect.Type
    	if typ.IsVariadic() {
    		if len(args) < numIn-1 {
    			return reflect.Value{}, fmt.Errorf("wrong number of args for %s: got %d want at least %d", name, len(args), numIn-1)
    		}
    		dddType = typ.In(numIn - 1).Elem()
    	} else {
    		if len(args) != numIn {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 20.9K bytes
    - Viewed (0)
Back to top