Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 226 for Implementation (0.17 sec)

  1. src/cmd/cgo/doc.go

    The runtime/cgo.Handle type can be used to safely pass Go values
    between Go and C. See the runtime/cgo package documentation for details.
    
    Note: the current implementation has a bug. While Go code is permitted
    to write nil or a C pointer (but not a Go pointer) to C memory, the
    current implementation may sometimes cause a runtime error if the
    contents of the C memory appear to be a Go pointer. Therefore, avoid
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 17:12:16 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  2. src/time/zoneinfo_read.go

    		}
    	}
    	if firstErr != nil {
    		return nil, firstErr
    	}
    	return nil, errors.New("unknown time zone " + name)
    }
    
    // readFile reads and returns the content of the named file.
    // It is a trivial implementation of os.ReadFile, reimplemented
    // here to avoid depending on io/ioutil or os.
    // It returns an error if name exceeds maxFileSize bytes.
    func readFile(name string) ([]byte, error) {
    	f, err := open(name)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  3. src/runtime/race_arm64.s

    	GO_ARGS
    	JMP	sync∕atomic·CompareAndSwapInt64(SB)
    
    TEXT	sync∕atomic·CompareAndSwapUintptr(SB), NOSPLIT, $0-25
    	GO_ARGS
    	JMP	sync∕atomic·CompareAndSwapInt64(SB)
    
    // Generic atomic operation implementation.
    // R9 = addr of target function
    TEXT	racecallatomic<>(SB), NOSPLIT, $0
    	// Set up these registers
    	// R0 = *ThreadState
    	// R1 = caller pc
    	// R2 = pc
    	// R3 = addr of incoming arg list
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  4. src/go/types/api.go

    // ImportMode is reserved for future use.
    type ImportMode int
    
    // An ImporterFrom resolves import paths to packages; it
    // supports vendoring per https://golang.org/s/go15vendor.
    // Use go/importer to obtain an ImporterFrom implementation.
    type ImporterFrom interface {
    	// Importer is present for backward-compatibility. Calling
    	// Import(path) is the same as calling ImportFrom(path, "", 0);
    	// i.e., locally vendored packages may not be found.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  5. src/math/rand/v2/rand.go

    	// Now there are exactly floor(2⁶⁴/n) possible ways to produce
    	// each output value k, so we've restored uniformity.
    	// To get valid uint64 math, 2⁶⁴ % n = (2⁶⁴ - n) % n = -n % n,
    	// so the direct implementation of this algorithm would be:
    	//
    	//	hi, lo := bits.Mul64(r.Uint64(), n)
    	//	thresh := -n % n
    	//	for lo < thresh {
    	//		hi, lo = bits.Mul64(r.Uint64(), n)
    	//	}
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:25:49 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  6. src/net/conf.go

    func (c *conf) mustUseGoResolver(r *Resolver) bool {
    	if !cgoAvailable {
    		return true
    	}
    
    	if runtime.GOOS == "plan9" {
    		// TODO(bradfitz): for now we only permit use of the PreferGo
    		// implementation when there's a non-nil Resolver with a
    		// non-nil Dialer. This is a sign that the code is trying
    		// to use their DNS-speaking net.Conn (such as an in-memory
    		// DNS cache) and they don't want to actually hit the network.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 03:13:26 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/api.go

    // ImportMode is reserved for future use.
    type ImportMode int
    
    // An ImporterFrom resolves import paths to packages; it
    // supports vendoring per https://golang.org/s/go15vendor.
    // Use go/importer to obtain an ImporterFrom implementation.
    type ImporterFrom interface {
    	// Importer is present for backward-compatibility. Calling
    	// Import(path) is the same as calling ImportFrom(path, "", 0);
    	// i.e., locally vendored packages may not be found.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 13:48:53 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  8. doc/go1.17_spec.html

    in the source text.
    </p>
    <p>
    Each code point is distinct; for instance, upper and lower case letters
    are different characters.
    </p>
    <p>
    Implementation restriction: For compatibility with other tools, a
    compiler may disallow the NUL character (U+0000) in the source text.
    </p>
    <p>
    Implementation restriction: For compatibility with other tools, a
    compiler may ignore a UTF-8-encoded byte order mark
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  9. src/cmd/cover/cover.go

    		// somehow create an infinite loop.
    		//
    		// Note that in the current implementation (Go 1.20) both
    		// routines are assembly stubs that forward calls to the
    		// internal/runtime/atomic equivalents, hence the infinite
    		// loop scenario is purely theoretical (maybe if in some
    		// future implementation one of these functions might be
    		// written in Go). See #57445 for more details.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  10. src/runtime/mgclimit.go

    		// our total assist time.
    		return
    	}
    	if l.transitioning {
    		throw("update during transition")
    	}
    	l.updateLocked(now)
    	l.unlock()
    }
    
    // updateLocked is the implementation of update. l.lock must be held.
    func (l *gcCPULimiterState) updateLocked(now int64) {
    	lastUpdate := l.lastUpdate.Load()
    	if now < lastUpdate {
    		// Defensively avoid overflow. This isn't even the latest update anyway.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 22:07:41 UTC 2024
    - 17.3K bytes
    - Viewed (0)
Back to top