Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 52 for ifaceeq (0.22 sec)

  1. src/internal/reflectlite/value.go

    			// A nil ReadWriter passed to nil Reader is OK,
    			// but using ifaceE2I below will panic.
    			// Avoid the panic by returning a nil dst (e.g., Reader) explicitly.
    			return Value{dst, nil, flag(abi.Interface)}
    		}
    		x := valueInterface(v)
    		if dst.NumMethod() == 0 {
    			*(*any)(target) = x
    		} else {
    			ifaceE2I(dst, x, target)
    		}
    		return Value{dst, target, flagIndir | flag(abi.Interface)}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. test/live.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
    - 18K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/util/net/interface_test.go

    `
    const noInternetConnection = `Iface	Destination	Gateway 	Flags	RefCnt	Use	Metric	Mask		MTU	Window	IRTT                                                       
    docker0	000011AC	00000000	0001	0	0	0	0000FFFF	0	0	0                                                                            
    virbr0	007AA8C0	00000000	0001	0	0	0	00FFFFFF	0	0	0            
    `
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 10 07:29:34 UTC 2023
    - 33.2K bytes
    - Viewed (0)
  4. src/go/internal/gcimporter/gcimporter_test.go

    	if level > 10 {
    		t.Errorf("%s: embeds itself", named)
    		return
    	}
    
    	iface, _ := named.Underlying().(*types.Interface)
    	if iface == nil {
    		return // not an interface
    	}
    
    	// check explicitly declared methods
    	for i := 0; i < iface.NumExplicitMethods(); i++ {
    		m := iface.ExplicitMethod(i)
    		recv := m.Type().(*types.Signature).Recv()
    		if recv == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top