Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for writable (0.15 sec)

  1. src/cmd/compile/internal/staticinit/sched.go

    // most of the work is to generate
    // data statements for the constant
    // part of the composite literal.
    
    var statuniqgen int // name generator for static temps
    
    // StaticName returns a name backed by a (writable) static data symbol.
    // Use readonlystaticname for read-only node.
    func StaticName(t *types.Type) *ir.Name {
    	// Don't use LookupNum; it interns the resulting string, but these are all unique.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 17:16:14 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssagen/pgen.go

    		}
    		// set the R_WEAK bit, leave rest of reloc type intact
    		fn.LSym.R[i].Type |= objabi.R_WEAK
    	}
    }
    
    // StackOffset returns the stack location of a LocalSlot relative to the
    // stack pointer, suitable for use in a DWARF location entry. This has nothing
    // to do with its offset in the user variable.
    func StackOffset(slot ssa.LocalSlot) int32 {
    	n := slot.N
    	var off int64
    	switch n.Class {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/resolver.go

    		return
    	}
    
    	check.declare(check.pkg.scope, ident, obj, nopos)
    	check.objMap[obj] = d
    	obj.setOrder(uint32(len(check.objMap)))
    }
    
    // filename returns a filename suitable for debugging output.
    func (check *Checker) filename(fileNo int) string {
    	file := check.files[fileNo]
    	if pos := file.Pos(); pos.IsKnown() {
    		// return check.fset.File(pos).Name()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/unify.go

    	// they may match inexactly at the top, but element types must match
    	// exactly.
    	assign unifyMode = 1 << iota
    
    	// If exact is set, types unify if they are identical (or can be
    	// made identical with suitable arguments for type parameters).
    	// Otherwise, a named type and a type literal unify if their
    	// underlying types unify, channel directions are ignored, and
    	// if there is an interface, the other type must implement the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/api.go

    	// FileVersions maps a file to its Go version string.
    	// If the file doesn't specify a version, the reported
    	// string is Config.GoVersion.
    	// Version strings begin with “go”, like “go1.21”, and
    	// are suitable for use with the [go/version] package.
    	FileVersions map[*syntax.PosBase]string
    }
    
    func (info *Info) recordTypes() bool {
    	return info.Types != nil || info.StoreTypesInSyntax
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 13:48:53 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  6. src/cmd/go/alldocs.go

    //
    //	-exec xprog
    //	    Run the test binary using xprog. The behavior is the same as
    //	    in 'go run'. See 'go help run' for details.
    //
    //	-json
    //	    Convert test output to JSON suitable for automated processing.
    //	    See 'go doc test2json' for the encoding details.
    //
    //	-o file
    //	    Compile the test binary to the named file.
    //	    The test still runs (unless -c or -i is specified).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
  7. src/cmd/dist/build.go

    		copyfile(pathf("%s/compile3", tooldir), pathf("%s/compile", tooldir), writeExec)
    	}
    
    	// Now that toolchain3 has been built from scratch, its compiler and linker
    	// should have accurate build IDs suitable for caching.
    	// Now prime the build cache with the rest of the standard library for
    	// testing, and so that the user can run 'go install std cmd' to quickly
    	// iterate on local changes without waiting for a full rebuild.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  8. src/cmd/go/go_test.go

    		tg.check(removeAll(path))
    	}
    	if tg.tempdir != "" {
    		tg.check(removeAll(tg.tempdir))
    	}
    }
    
    func removeAll(dir string) error {
    	// module cache has 0444 directories;
    	// make them writable in order to remove content.
    	filepath.WalkDir(dir, func(path string, info fs.DirEntry, err error) error {
    		// chmod not only directories, but also things that we couldn't even stat
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/infer.go

    	}
    
    	return tparams2, check.subst(pos, typ, renameMap, nil, check.context())
    }
    
    // typeParamsString produces a string containing all the type parameter names
    // in list suitable for human consumption.
    func typeParamsString(list []*TypeParam) string {
    	// common cases
    	n := len(list)
    	switch n {
    	case 0:
    		return ""
    	case 1:
    		return list[0].obj.name
    	case 2:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 13:54:20 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	{name: "StringLen", argLength: 1, typ: "Int"},     // len(arg0)
    
    	// Interfaces
    	{name: "IMake", argLength: 2},                // arg0=itab, arg1=data
    	{name: "ITab", argLength: 1, typ: "Uintptr"}, // arg0=interface, returns itable field
    	{name: "IData", argLength: 1},                // arg0=interface, returns data field
    
    	// Structs
    	{name: "StructMake0"},                              // Returns struct with 0 fields.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
Back to top