Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 101 for ifaceeq (0.13 sec)

  1. src/cmd/compile/internal/typecheck/stmt.go

    		}
    		init.Append(Stmt(as))
    
    		// For "go/defer iface.M()", if iface is nil, we need to panic at
    		// the point of the go/defer statement.
    		if call.Op() == ir.OCALLINTER {
    			iface := as.Lhs[0]
    			init.Append(Stmt(ir.NewUnaryExpr(stmtPos, ir.OCHECKNIL, ir.NewUnaryExpr(iface.Pos(), ir.OITAB, iface))))
    		}
    	}
    
    	// Move call into the wrapper function, now that it's safe to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 15:10:54 UTC 2023
    - 17.8K bytes
    - Viewed (0)
  2. src/runtime/runtime-gdb.py

    		# chop at first space.
    		pc = int(str(pc).split(None, 1)[0], 16)
    	return pc
    
    
    #
    #  For reference, this is what we're trying to do:
    #  eface: p *(*(struct 'runtime.rtype'*)'main.e'->type_->data)->string
    #  iface: p *(*(struct 'runtime.rtype'*)'main.s'->tab->Type->data)->string
    #
    # interface types can't be recognized by their name, instead we check
    # if they have the expected fields.  Unfortunately the mapping of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 10 12:59:20 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  3. pkg/proxy/apis/config/validation/validation.go

    		allErrs = append(allErrs, field.Invalid(fldPath, version, e.Error()))
    	}
    
    	return allErrs
    }
    
    func validateInterface(iface string, fldPath *field.Path) field.ErrorList {
    	allErrs := field.ErrorList{}
    	if len(iface) == 0 {
    		allErrs = append(allErrs, field.Invalid(fldPath, iface, "must not be empty"))
    	}
    	return allErrs
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_main_function.cc

        if (attr_name.starts_with("tf_saved_model.")) {
          func->removeAttr(attr_name);
        }
      }
    
      auto iface = cast<FunctionOpInterface>(func.getOperation());
      for (int i = 0; i < func.getNumArguments(); ++i) {
        for (auto& attr : iface.getArgAttrs(i)) {
          const StringAttr& attr_name = attr.getName();
          if (attr_name.getValue().starts_with("tf_saved_model.")) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  5. pkg/kubelet/stats/cri_stats_provider_windows.go

    		InterfaceStats: criInterfaceToWinSummary(criNetwork.DefaultInterface),
    		Interfaces:     make([]statsapi.InterfaceStats, 0, len(criNetwork.Interfaces)),
    	}
    	for _, iface := range criNetwork.Interfaces {
    		iStats.Interfaces = append(iStats.Interfaces, criInterfaceToWinSummary(iface))
    	}
    	ps.Network = &iStats
    }
    
    func criInterfaceToWinSummary(criIface *runtimeapi.WindowsNetworkInterfaceUsage) statsapi.InterfaceStats {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 18 07:03:11 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  6. src/internal/fmtsort/sort_test.go

    	ct(reflect.TypeOf(toy{}), toy{0, 1}, toy{0, 2}, toy{1, -1}, toy{1, 1}),
    	ct(reflect.TypeOf([2]int{}), [2]int{1, 1}, [2]int{1, 2}, [2]int{2, 0}),
    	ct(reflect.TypeOf(any(0)), iFace, 1, 2, 3),
    }
    
    var iFace any
    
    func ct(typ reflect.Type, args ...any) []reflect.Value {
    	value := make([]reflect.Value, len(args))
    	for i, v := range args {
    		x := reflect.ValueOf(v)
    		if !x.IsValid() { // Make it a typed nil.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. test/live_regabi.go

    var m map[string]int
    var mi map[interface{}]int
    
    // str and iface are used to ensure that a temp is required for runtime calls below.
    func str() string
    func iface() interface{}
    
    func f16() {
    	if b {
    		delete(mi, iface()) // ERROR "stack object .autotmp_[0-9]+ interface \{\}$"
    	}
    	delete(mi, iface())
    	delete(mi, iface())
    }
    
    var m2s map[string]*byte
    var m2 map[[2]string]*byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/predicates.go

    // computed yet.
    func hasEmptyTypeset(t Type) bool {
    	if tpar, _ := Unalias(t).(*TypeParam); tpar != nil && tpar.bound != nil {
    		iface, _ := safeUnderlying(tpar.bound).(*Interface)
    		return iface != nil && iface.tset != nil && iface.tset.IsEmpty()
    	}
    	return false
    }
    
    // isGeneric reports whether a type is a generic, uninstantiated type
    // (generic signatures are not included).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  9. src/go/types/predicates.go

    // computed yet.
    func hasEmptyTypeset(t Type) bool {
    	if tpar, _ := Unalias(t).(*TypeParam); tpar != nil && tpar.bound != nil {
    		iface, _ := safeUnderlying(tpar.bound).(*Interface)
    		return iface != nil && iface.tset != nil && iface.tset.IsEmpty()
    	}
    	return false
    }
    
    // isGeneric reports whether a type is a generic, uninstantiated type
    // (generic signatures are not included).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  10. pilot/cmd/pilot-agent/app/cmd.go

    	// Find IP addr of excluded interfaces and add to a map for instant lookup
    	for _, ifaceName := range exclusions {
    		iface, err := net.InterfaceByName(ifaceName)
    		if err != nil {
    			log.Warnf("Unable to get interface %s: %v", ifaceName, err)
    			continue
    		}
    		addrs, err := iface.Addrs()
    		if err != nil {
    			log.Warnf("Unable to get IP addr(s) of interface %s: %v", ifaceName, err)
    			continue
    		}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top