Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 57 for Dtype (0.14 sec)

  1. src/cmd/compile/internal/syntax/printer.go

    		p.print(blank)
    		if len(list) == 1 && list[0].Name == nil {
    			p.printNode(list[0].Type)
    		} else {
    			p.printParameterList(list, 0)
    		}
    	}
    }
    
    // If tok != 0 print a type parameter list: tok == _Type means
    // a type parameter list for a type, tok == _Func means a type
    // parameter list for a func.
    func (p *printer) printParameterList(list []*Field, tok token) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 24 07:17:27 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation.go

    		aType := string(a.Type)
    		if aType == "" {
    			allErrs = append(allErrs, field.Required(fldPath.Child("type"), ""))
    			continue
    		}
    		if !knownTypes.Has(aType) {
    			allErrs = append(allErrs, field.NotSupported(fldPath.Child("type"), aType, knownTypes.List()))
    			continue
    		}
    		if seenAuthorizerTypes.Has(aType) && !repeatableTypes.Has(aType) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/typecheck/typecheck.go

    		n := n.(*ir.LogicalExpr)
    		n.X, n.Y = Expr(n.X), Expr(n.Y)
    		if n.X.Type() == nil || n.Y.Type() == nil {
    			n.SetType(nil)
    			return n
    		}
    		// For "x == x && len(s)", it's better to report that "len(s)" (type int)
    		// can't be used with "&&" than to report that "x == x" (type untyped bool)
    		// can't be converted to int (see issue #41500).
    		if !n.X.Type().IsBoolean() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 19:08:34 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  4. src/runtime/slice.go

    }
    
    func panicmakeslicecap() {
    	panic(errorString("makeslice: cap out of range"))
    }
    
    // makeslicecopy allocates a slice of "tolen" elements of type "et",
    // then copies "fromlen" elements of type "et" into that new allocation from "from".
    func makeslicecopy(et *_type, tolen int, fromlen int, from unsafe.Pointer) unsafe.Pointer {
    	var tomem, copymem uintptr
    	if uintptr(tolen) > uintptr(fromlen) {
    		var overflow bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. pkg/model/proxy.go

    )
    
    // NodeType decides the responsibility of the proxy serves in the mesh
    type NodeType string
    
    const (
    	// SidecarProxy type is used for sidecar proxies in the application containers
    	SidecarProxy NodeType = "sidecar"
    
    	// Router type is used for standalone proxies acting as L7/L4 routers
    	Router NodeType = "router"
    
    	// Waypoint type is used for waypoint proxies
    	Waypoint NodeType = "waypoint"
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 17:18:17 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  6. src/runtime/chan.go

    	debugChan = false
    )
    
    type hchan struct {
    	qcount   uint           // total data in the queue
    	dataqsiz uint           // size of the circular queue
    	buf      unsafe.Pointer // points to an array of dataqsiz elements
    	elemsize uint16
    	closed   uint32
    	timer    *timer // timer feeding this chan
    	elemtype *_type // element type
    	sendx    uint   // send index
    	recvx    uint   // receive index
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  7. src/net/http/fs.go

    	if done {
    		return
    	}
    
    	code := StatusOK
    
    	// If Content-Type isn't set, use the file's extension to find it, but
    	// if the Content-Type is unset explicitly, do not sniff the type.
    	ctypes, haveType := w.Header()["Content-Type"]
    	var ctype string
    	if !haveType {
    		ctype = mime.TypeByExtension(filepath.Ext(name))
    		if ctype == "" {
    			// read a chunk to decide between utf-8 text and binary
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 17:06:47 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  8. src/runtime/cgocall.go

    // depending on indir. The top parameter is whether we are at the top
    // level, where Go pointers are allowed. Go pointers to pinned objects are
    // allowed as long as they don't reference other unpinned pointers.
    func cgoCheckArg(t *_type, p unsafe.Pointer, indir, top bool, msg string) {
    	if !t.Pointers() || p == nil {
    		// If the type has no pointers there is nothing to do.
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  9. pilot/pkg/model/config_test.go

    	if !reflect.DeepEqual(got, want) {
    		t.Errorf("descriptor.Types() => got %+vwant %+v", spew.Sdump(got), spew.Sdump(want))
    	}
    
    	aType, aExists := schemas.FindByGroupVersionKind(a.GroupVersionKind())
    	if !aExists || !reflect.DeepEqual(aType, a) {
    		t.Errorf("descriptor.GetByType(a) => got %+v, want %+v", aType, a)
    	}
    	if _, exists := schemas.FindByGroupVersionKind(config.GroupVersionKind{Kind: "missing"}); exists {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 20 12:54:10 UTC 2023
    - 19K bytes
    - Viewed (0)
  10. src/runtime/netpoll.go

    // must be stored in interfaces indirectly. See issue 42076.
    func (pd *pollDesc) makeArg() (i any) {
    	x := (*eface)(unsafe.Pointer(&i))
    	x._type = pdType
    	x.data = unsafe.Pointer(&pd.self)
    	return
    }
    
    var (
    	pdEface any    = (*pollDesc)(nil)
    	pdType  *_type = efaceOf(&pdEface)._type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 20.7K bytes
    - Viewed (0)
Back to top