Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for typAt (0.04 sec)

  1. src/go/internal/gcimporter/iimport.go

    	if pkg, ok := p.pkgCache[off]; ok {
    		return pkg
    	}
    	path := p.stringAt(off)
    	errorf("missing package %q in %q", path, p.ipath)
    	return nil
    }
    
    func (p *iimporter) typAt(off uint64, base *types.Named) types.Type {
    	if t, ok := p.typCache[off]; ok && canReuse(base, t) {
    		return t
    	}
    
    	if off < predeclReserved {
    		errorf("predeclared type missing from cache: %v", off)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  2. src/encoding/gob/type_test.go

    // license that can be found in the LICENSE file.
    
    package gob
    
    import (
    	"bytes"
    	"reflect"
    	"sync"
    	"testing"
    )
    
    type typeT struct {
    	id  typeId
    	str string
    }
    
    var basicTypes = []typeT{
    	{tBool, "bool"},
    	{tInt, "int"},
    	{tUint, "uint"},
    	{tFloat, "float"},
    	{tBytes, "bytes"},
    	{tString, "string"},
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 01 14:26:13 UTC 2023
    - 6.1K bytes
    - Viewed (0)
Back to top