- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 183 for iface (0.03 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
test/maplinear.go
panic("wrong size map after nan insertion") } }) // ~6ms on a 1.6GHz Zeon. checkLinear("eface", 10000, func(n int) { m := map[interface{}]int{} for i := 0; i < n; i++ { m[i] = 1 } }) // ~7ms on a 1.6GHz Zeon. // Regression test for CL 119360043. checkLinear("iface", 10000, func(n int) { m := map[I]int{} for i := 0; i < n; i++ { m[C(i)] = 1 } })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 3.6K bytes - Viewed (0) -
src/cmd/compile/internal/inline/inlheur/testdata/props/returns2.go
// <endcallsites> // <endfuncpreamble> func T_chained_conc_iface_call(x, y int) { // Similar to the case above, return from call returning concrete type // feeds directly into interface call. Note that only the first // iface call is interesting here. newBar(10).Plark().Plark() } func returnsFunc(x int) func(int) int { if x < 0 { G++ } return adder } func returnsFunc2() func(int) int {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 16 20:15:01 UTC 2023 - 5.7K bytes - Viewed (0)