Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 182 for original (0.71 sec)

  1. src/go/types/instantiate.go

    // Methods attached to a *Named type are also instantiated, and associated with
    // a new *Func that has the same position as the original method, but nil function
    // scope.
    //
    // If ctxt is non-nil, it may be used to de-duplicate the instance against
    // previous instances with the same identity. As a special case, generic
    // *Signature origin types are only considered identical if they are pointer
    // equivalent, so that instantiating distinct (but possibly identical)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  2. src/syscall/rlimit.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build unix
    
    package syscall
    
    import (
    	"sync/atomic"
    )
    
    // origRlimitNofile, if non-nil, is the original soft RLIMIT_NOFILE.
    var origRlimitNofile atomic.Pointer[Rlimit]
    
    // Some systems set an artificially low soft limit on open file count, for compatibility
    // with code that uses select and its hard-coded maximum file descriptor
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:57 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. src/go/types/subst.go

    		// careful not to call any methods that would cause t to be expanded: doing
    		// so would result in deadlock.
    		//
    		// So we call t.Origin().TypeParams() rather than t.TypeParams().
    		orig := t.Origin()
    		n := orig.TypeParams().Len()
    		if n == 0 {
    			return t // type is not parameterized
    		}
    
    		if t.TypeArgs().Len() != n {
    			return Typ[Invalid] // error reported elsewhere
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:04:07 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  4. src/cmd/go/internal/cfg/cfg.go

    }
    
    // An EnvVar is an environment variable Name=Value.
    type EnvVar struct {
    	Name    string
    	Value   string
    	Changed bool // effective Value differs from default
    }
    
    // OrigEnv is the original environment of the program at startup.
    var OrigEnv []string
    
    // CmdEnv is the new environment for running go tool commands.
    // User binaries (during go test or go run) are run with OrigEnv,
    // not CmdEnv.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  5. src/go/internal/gcimporter/iimport.go

    		return r.p.tparamIndex[id]
    
    	case instanceType:
    		if r.p.exportVersion < iexportVersionGenerics {
    			errorf("unexpected instantiation type")
    		}
    		// pos does not matter for instances: they are positioned on the original
    		// type.
    		_ = r.pos()
    		len := r.uint64()
    		targs := make([]types.Type, len)
    		for i := range targs {
    			targs[i] = r.typ()
    		}
    		baseType := r.typ()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/stdversion/stdversion.go

    // origin returns the original uninstantiated symbol for obj.
    func origin(obj types.Object) types.Object {
    	switch obj := obj.(type) {
    	case *types.Var:
    		return obj.Origin()
    	case *types.Func:
    		return obj.Origin()
    	case *types.TypeName:
    		if named, ok := obj.Type().(*types.Named); ok { // (don't unalias)
    			return named.Origin().Obj()
    		}
    	}
    	return obj
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. src/runtime/mgcscavenge.go

    	}
    	// Now, the top bit of each m-aligned group in x is set
    	// that group was all zero in the original x.
    
    	// From each group of m bits subtract 1.
    	// Because we know only the top bits of each
    	// m-aligned group are set, we know this will
    	// set each group to have all the bits set except
    	// the top bit, so just OR with the original
    	// result to set all the bits.
    	return ^((x - (x >> (m - 1))) | x)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:48:45 UTC 2024
    - 52.3K bytes
    - Viewed (0)
  8. src/cmd/go/internal/load/pkg.go

    	CompiledImports   []string             // additional Imports necessary when using CompiledGoFiles (all from standard library); 1:1 with the end of PackagePublic.Imports
    	RawImports        []string             // this package's original imports as they appear in the text of the program; 1:1 with the end of PackagePublic.Imports
    	ForceLibrary      bool                 // this package is a library (even if named "main")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modget/get.go

    }
    
    type resolver struct {
    	localQueries      []*query // queries for absolute or relative paths
    	pathQueries       []*query // package path literal queries in original order
    	wildcardQueries   []*query // path wildcard queries in original order
    	patternAllQueries []*query // queries with the pattern "all"
    
    	// Indexed "none" queries. These are also included in the slices above;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:26:32 UTC 2024
    - 66.5K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ir/func.go

    	// function for go:nowritebarrierrec analysis. Only filled in
    	// if nowritebarrierrecCheck != nil.
    	NWBRCalls *[]SymAndPos
    
    	// For wrapper functions, WrappedFunc point to the original Func.
    	// Currently only used for go/defer wrappers.
    	WrappedFunc *Func
    
    	// WasmImport is used by the //go:wasmimport directive to store info about
    	// a WebAssembly function import.
    	WasmImport *WasmImport
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 21.1K bytes
    - Viewed (0)
Back to top