Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Dtype (0.04 sec)

  1. src/cmd/cgo/gcc.go

    func (p *Package) recordTypedefs(dtype dwarf.Type, pos token.Pos) {
    	p.recordTypedefs1(dtype, pos, map[dwarf.Type]bool{})
    }
    
    func (p *Package) recordTypedefs1(dtype dwarf.Type, pos token.Pos, visited map[dwarf.Type]bool) {
    	if dtype == nil {
    		return
    	}
    	if visited[dtype] {
    		return
    	}
    	visited[dtype] = true
    	switch dt := dtype.(type) {
    	case *dwarf.TypedefType:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types/type.go

    }
    
    // Map contains Type fields specific to maps.
    type Map struct {
    	Key  *Type // Key type
    	Elem *Type // Val (elem) type
    
    	Bucket *Type // internal struct type representing a hash bucket
    }
    
    // MapType returns t's extra map-specific fields.
    func (t *Type) MapType() *Map {
    	t.wantEtype(TMAP)
    	return t.extra.(*Map)
    }
    
    // Forward contains Type fields specific to forward types.
    type Forward struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  3. src/reflect/type.go

    type rtype struct {
    	t abi.Type
    }
    
    func (t *rtype) common() *abi.Type {
    	return &t.t
    }
    
    func (t *rtype) uncommon() *abi.UncommonType {
    	return t.t.Uncommon()
    }
    
    type aNameOff = abi.NameOff
    type aTypeOff = abi.TypeOff
    type aTextOff = abi.TextOff
    
    // ChanDir represents a channel type's direction.
    type ChanDir int
    
    const (
    	RecvDir ChanDir             = 1 << iota // <-chan
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  4. src/runtime/mbitmap.go

    			// Allocate space to unroll the gcprog. This space will consist of
    			// a dummy _type value and the unrolled gcprog. The dummy _type will
    			// refer to the bitmap, and the mspan will refer to the dummy _type.
    			if span.spanclass.sizeclass() != 0 {
    				throw("GCProg for type that isn't large")
    			}
    			spaceNeeded := alignUp(unsafe.Sizeof(_type{}), goarch.PtrSize)
    			heapBitsOff := spaceNeeded
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  5. src/runtime/malloc.go

    //   - github.com/v2pro/plz
    //
    // Do not remove or change the type signature.
    // See go.dev/issue/67401.
    //
    //go:linkname reflect_unsafe_New reflect.unsafe_New
    func reflect_unsafe_New(typ *_type) unsafe.Pointer {
    	return mallocgc(typ.Size_, typ, true)
    }
    
    //go:linkname reflectlite_unsafe_New internal/reflectlite.unsafe_New
    func reflectlite_unsafe_New(typ *_type) unsafe.Pointer {
    	return mallocgc(typ.Size_, typ, true)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/syntax/parser.go

    			if pname, ptype := extractName(x, p.tok == _Comma); pname != nil && (ptype != nil || p.tok != _Rbrack) {
    				// d.Name "[" pname ...
    				// d.Name "[" pname ptype ...
    				// d.Name "[" pname ptype "," ...
    				d.TParamList = p.paramList(pname, ptype, _Rbrack, true) // ptype may be nil
    				d.Alias = p.gotAssign()
    				d.Type = p.typeOrNil()
    			} else {
    				// d.Name "[" pname "]" ...
    				// d.Name "[" x ...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  7. pkg/controller/job/job_controller.go

    func ensureJobConditionStatus(list []batch.JobCondition, cType batch.JobConditionType, status v1.ConditionStatus, reason, message string, now time.Time) ([]batch.JobCondition, bool) {
    	if condition := findConditionByType(list, cType); condition != nil {
    		if condition.Status != status || condition.Reason != reason || condition.Message != message {
    			*condition = *newCondition(cType, status, reason, message, now)
    			return list, true
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
  8. src/runtime/map.go

    	extra *mapextra // optional fields
    }
    
    // mapextra holds fields that are not present on all maps.
    type mapextra struct {
    	// If both key and elem do not contain pointers and are inline, then we mark bucket
    	// type as containing no pointers. This avoids scanning such maps.
    	// However, bmap.overflow is a pointer. In order to keep overflow buckets
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  9. src/crypto/tls/tls_test.go

    	}
    	keyPEM := pem.EncodeToMemory(&pem.Block{Type: "PRIVATE KEY", Bytes: keyDER})
    	tmpl := &x509.Certificate{
    		SerialNumber: big.NewInt(1),
    		Subject:      pkix.Name{CommonName: "test"},
    	}
    	certDER, err := x509.CreateCertificate(rand.Reader, tmpl, tmpl, key.Public(), key)
    	if err != nil {
    		t.Fatal(err)
    	}
    	certPEM := pem.EncodeToMemory(&pem.Block{Type: "CERTIFICATE", Bytes: certDER})
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 60.5K bytes
    - Viewed (0)
  10. src/net/http/fs_test.go

    func testServeFileContentType(t *testing.T, mode testMode) {
    	const ctype = "icecream/chocolate"
    	ts := newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) {
    		switch r.FormValue("override") {
    		case "1":
    			w.Header().Set("Content-Type", ctype)
    		case "2":
    			// Explicitly inhibit sniffing.
    			w.Header()["Content-Type"] = []string{}
    		}
    		ServeFile(w, r, "testdata/file")
    	})).ts
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 49.9K bytes
    - Viewed (0)
Back to top