Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 186 for asString (0.08 sec)

  1. src/cmd/go/internal/modindex/read.go

    	embedPos := make(map[string][]token.Position)
    	testEmbedPos := make(map[string][]token.Position)
    	xTestEmbedPos := make(map[string][]token.Position)
    	importPos := make(map[string][]token.Position)
    	testImportPos := make(map[string][]token.Position)
    	xTestImportPos := make(map[string][]token.Position)
    	allTags := make(map[string]bool)
    	for _, tf := range rp.sourceFiles {
    		name := tf.name()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types/fmt.go

    			mode = fmtTypeID
    		}
    		fmt.Fprint(s, tconv(t, verb, mode))
    	default:
    		fmt.Fprintf(s, "%%!%c(*Type=%p)", verb, t)
    	}
    }
    
    // String returns the Go syntax for the type t.
    func (t *Type) String() string {
    	return tconv(t, 0, fmtGo)
    }
    
    // LinkString returns a string description of t, suitable for use in
    // link symbols.
    //
    // The description corresponds to type identity. That is, for any pair
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 15:41:17 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/typestring.go

    				w.typeName(obj)
    				break
    			}
    		}
    		w.string(t.name)
    
    	case *Array:
    		w.byte('[')
    		w.string(strconv.FormatInt(t.len, 10))
    		w.byte(']')
    		w.typ(t.elem)
    
    	case *Slice:
    		w.string("[]")
    		w.typ(t.elem)
    
    	case *Struct:
    		w.string("struct{")
    		for i, f := range t.fields {
    			if i > 0 {
    				w.byte(';')
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. src/cmd/covdata/tool_test.go

    	bargs := []string{"build", "-cover", "-o", exepath}
    	bargs = append(bargs, flags...)
    	gobuild(t, subdir, bargs)
    	return exepath, subdir
    }
    
    type state struct {
    	dir      string
    	exedir1  string
    	exedir2  string
    	exedir3  string
    	exepath1 string
    	exepath2 string
    	exepath3 string
    	tool     string
    	outdirs  [4]string
    }
    
    const debugWorkDir = false
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/builtins_test.go

    	{"String", `var p *byte; _ = unsafe.String(p, 1)`, `func(*byte, int) string`},
    	{"String", `type B *byte; var b B; _ = unsafe.String(b, 0)`, `func(*byte, int) string`},
    
    	{"StringData", `var s string; _ = unsafe.StringData(s)`, `func(string) *byte`},
    	{"StringData", `_ = unsafe.StringData("foo")`, `func(string) *byte`},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 18:06:31 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modfetch/codehost/git_test.go

    			}
    		}
    	}
    }
    
    type zipFile struct {
    	name string
    	size int64
    }
    
    func TestReadZip(t *testing.T) {
    	t.Parallel()
    
    	type readZipTest struct {
    		repo   string
    		rev    string
    		subdir string
    		err    string
    		files  map[string]uint64
    	}
    	runTest := func(tt readZipTest) func(*testing.T) {
    		return func(t *testing.T) {
    			t.Parallel()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 19:46:23 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    func concatstrings(*[32]byte, []string) string
    
    func cmpstring(string, string) int
    func intstring(*[4]byte, int64) string
    func slicebytetostring(buf *[32]byte, ptr *byte, n int) string
    func slicebytetostringtmp(ptr *byte, n int) string
    func slicerunetostring(*[32]byte, []rune) string
    func stringtoslicebyte(*[32]byte, string) []byte
    func stringtoslicerune(*[32]rune, string) []rune
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  8. src/cmd/go/internal/modload/query.go

    // newQueryMatcher returns errRevQuery.
    func newQueryMatcher(path string, query, current string, allowed AllowedFunc) (*queryMatcher, error) {
    	badVersion := func(v string) (*queryMatcher, error) {
    		return nil, fmt.Errorf("invalid semantic version %q in range %q", v, query)
    	}
    
    	matchesMajor := func(v string) bool {
    		_, pathMajor, ok := module.SplitPathVersion(path)
    		if !ok {
    			return false
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 11 22:29:11 UTC 2023
    - 44.7K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/parse.go

    			p.expectOperandEnd()
    			return
    		}
    		if p.have(scanner.String) {
    			if prefix != '$' {
    				p.errorf("string constant must be an immediate")
    				return
    			}
    			str, err := strconv.Unquote(p.get(scanner.String).String())
    			if err != nil {
    				p.errorf("string parse error: %s", err)
    			}
    			a.Type = obj.TYPE_SCONST
    			a.Val = str
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 14:34:57 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modcmd/vendor.go

    			}
    		}
    	}
    }
    
    type metakey struct {
    	modPath string
    	dst     string
    }
    
    var copiedMetadata = make(map[metakey]bool)
    
    // copyMetadata copies metadata files from parents of src to parents of dst,
    // stopping after processing the src parent for modPath.
    func copyMetadata(modPath, pkg, dst, src string, copiedFiles map[string]bool) {
    	for parent := 0; ; parent++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 14:19:59 UTC 2024
    - 14.5K bytes
    - Viewed (0)
Back to top