Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 114 for isAttr (0.12 sec)

  1. src/cmd/compile/internal/types/type.go

    }
    
    func (t *Type) IsComplex() bool {
    	return t.kind == TCOMPLEX64 || t.kind == TCOMPLEX128 || t == UntypedComplex
    }
    
    // IsPtr reports whether t is a regular Go pointer type.
    // This does not include unsafe.Pointer.
    func (t *Type) IsPtr() bool {
    	return t.kind == TPTR
    }
    
    // IsPtrElem reports whether t is the element of a pointer (to t).
    func (t *Type) IsPtrElem() bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  2. hack/tools/go.mod

    	github.com/maratori/testpackage v1.1.1 // indirect
    	github.com/matoous/godox v0.0.0-20230222163458-006bad1f9d26 // indirect
    	github.com/mattn/go-colorable v0.1.13 // indirect
    	github.com/mattn/go-isatty v0.0.20 // indirect
    	github.com/mattn/go-runewidth v0.0.9 // indirect
    	github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
    	github.com/mbilski/exhaustivestruct v1.2.0 // indirect
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  3. go.sum

    github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s=
    github.com/mattn/go-isatty v0.0.10/go.mod h1:qgIWMr58cqv1PHHyhnkY9lrL7etaEgOFcMEpPG5Rm84=
    github.com/mattn/go-isatty v0.0.11/go.mod h1:PhnuNfih5lzO57/f3n+odYbM4JtupLOxQOAqxQCu2WE=
    github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM=
    github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY=
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:53:53 UTC 2024
    - 85.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/walk/range.go

    			body = []ir.Node{rangeAssign2(nrange, hv1, tmp)}
    			break
    		}
    
    		// Slice to iterate over
    		var hs ir.Node
    		if t.IsSlice() {
    			hs = ha
    		} else {
    			var arr ir.Node
    			if t.IsPtr() {
    				arr = ha
    			} else {
    				arr = typecheck.NodAddr(ha)
    				arr.SetType(t.PtrTo())
    				arr.SetTypecheck(1)
    			}
    			hs = ir.NewSliceExpr(base.Pos, ir.OSLICEARR, arr, nil, nil, nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 14:52:33 UTC 2023
    - 17.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/object.go

    	// check if the receiver is set (we cannot just look for non-nil obj.typ).
    	if sig, _ := obj.typ.(*Signature); sig != nil && sig.recv != nil {
    		_, isPtr := deref(sig.recv.typ)
    		return isPtr
    	}
    
    	// If a method's type is not set it may be a method/function that is:
    	// 1) client-supplied (via NewFunc with no signature), or
    	// 2) internally created but not yet type-checked.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  6. go.mod

    	github.com/hashicorp/golang-lru/v2 v2.0.7
    	github.com/howardjohn/unshare-go v0.4.0
    	github.com/kr/pretty v0.3.1
    	github.com/kylelemons/godebug v1.1.0
    	github.com/lestrrat-go/jwx v1.2.29
    	github.com/mattn/go-isatty v0.0.20
    	github.com/miekg/dns v1.1.59
    	github.com/mitchellh/copystructure v1.2.0
    	github.com/mitchellh/go-homedir v1.1.0
    	github.com/moby/buildkit v0.13.2
    	github.com/onsi/gomega v1.33.1
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 15:32:28 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  7. src/encoding/gob/decode.go

    	}
    	dec.decodeArrayHelper(state, value, elemOp, length, ovfl, helper)
    }
    
    // decodeIntoValue is a helper for map decoding.
    func decodeIntoValue(state *decoderState, op decOp, isPtr bool, value reflect.Value, instr *decInstr) reflect.Value {
    	v := value
    	if isPtr {
    		v = decAlloc(value)
    	}
    
    	op(instr, state, v)
    	return value
    }
    
    // decodeMap decodes a map and stores it in value.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:10:23 UTC 2023
    - 40.1K bytes
    - Viewed (0)
  8. src/go/types/object.go

    	// check if the receiver is set (we cannot just look for non-nil obj.typ).
    	if sig, _ := obj.typ.(*Signature); sig != nil && sig.recv != nil {
    		_, isPtr := deref(sig.recv.typ)
    		return isPtr
    	}
    
    	// If a method's type is not set it may be a method/function that is:
    	// 1) client-supplied (via NewFunc with no signature), or
    	// 2) internally created but not yet type-checked.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/listener.go

    				if currentListenerEntry.protocol.IsHTTP() {
    					conflictType = TCPOverHTTP
    				} else if currentListenerEntry.protocol.IsTCP() {
    					conflictType = TCPOverTCP
    				} else {
    					conflictType = TCPOverAuto
    				}
    			}
    
    		case istionetworking.ListenerProtocolAuto:
    			if currentListenerEntry != nil {
    				if currentListenerEntry.protocol.IsHTTP() {
    					conflictType = AutoOverHTTP
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  10. src/runtime/iface_test.go

    		{name: "I8", fn: func() { i1 = eight8I }},
    		{name: "I16", fn: func() { i1 = zero16I }},
    		{name: "I32", fn: func() { i1 = zero32I }},
    		{name: "I64", fn: func() { i1 = zero64I }},
    		{name: "Istr", fn: func() { i1 = zerostrI }},
    		{name: "Islice", fn: func() { i1 = zerosliceI }},
    	}
    
    	for _, test := range tests {
    		t.Run(test.name, func(t *testing.T) {
    			n := testing.AllocsPerRun(1000, test.fn)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 7.5K bytes
    - Viewed (0)
Back to top