- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 117 for Implementation (0.19 sec)
-
src/runtime/align_runtime_test.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // This file lives in the runtime package // so we can get access to the runtime guts. // The rest of the implementation of this test is in align_test.go. package runtime import "unsafe" // AtomicFields is the set of fields on which we perform 64-bit atomic // operations (all the *64 operations in internal/runtime/atomic).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 1.8K bytes - Viewed (0) -
src/net/netip/slow_test.go
} return s, nil } // parseIPv4Slow parses and returns an IPv4 address in dotted quad // form, e.g. "192.168.0.1". It is slow but easy to read, and the // reference implementation against which we compare faster // implementations for correctness. func parseIPv4Slow(s string) (Addr, error) { fs := strings.Split(s, ".") if len(fs) != 4 { return Addr{}, fmt.Errorf("netaddr.ParseIP(%q): invalid IP address", s) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 11 19:54:31 UTC 2024 - 5.8K bytes - Viewed (0) -
src/crypto/internal/boring/README.md
Interested users will have to evaluate for themselves whether the code is useful for their own purposes. --- This directory holds the core of the BoringCrypto implementation as well as the build scripts for the module itself: syso/*.syso. syso/goboringcrypto_linux_amd64.syso is built with: GOARCH=amd64 ./build.sh syso/goboringcrypto_linux_arm64.syso is built with:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 26 22:52:27 UTC 2024 - 1.4K bytes - Viewed (0) -
src/runtime/netpoll_aix.go
package runtime import ( "internal/runtime/atomic" "unsafe" ) // This is based on the former libgo/runtime/netpoll_select.c implementation // except that it uses poll instead of select and is written in Go. // It's also based on Solaris implementation for the arming mechanisms //go:cgo_import_dynamic libc_poll poll "libc.a/shr_64.o" //go:linkname libc_poll libc_poll var libc_poll libFunc
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 5.1K bytes - Viewed (0) -
src/sync/map_reference_test.go
Range(func(key, value any) (shouldContinue bool)) Clear() } var ( _ mapInterface = &RWMutexMap{} _ mapInterface = &DeepCopyMap{} ) // RWMutexMap is an implementation of mapInterface using a sync.RWMutex. type RWMutexMap struct { mu sync.RWMutex dirty map[any]any } func (m *RWMutexMap) Load(key any) (value any, ok bool) { m.mu.RLock() value, ok = m.dirty[key]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 01 15:34:22 UTC 2024 - 5.6K bytes - Viewed (0) -
src/internal/trace/gc_test.go
t.Skip("skipping in -short mode") } check := func(t *testing.T, mu [][]trace.MutatorUtil) { mmuCurve := trace.NewMMUCurve(mu) // Test the optimized implementation against the "obviously // correct" implementation. for window := time.Nanosecond; window < 10*time.Second; window *= 10 { want := mmuSlow(mu[0], window) got := mmuCurve.MMU(window) if !aeq(want, got) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 5.3K bytes - Viewed (0) -
doc/next/6-stdlib/1-time.md
### Timer changes Go 1.23 makes two significant changes to the implementation of [time.Timer] and [time.Ticker]. <!-- go.dev/issue/61542 --> First, `Timer`s and `Ticker`s that are no longer referred to by the program become eligible for garbage collection immediately, even if their `Stop` methods have not been called. Earlier versions of Go did not collect unstopped `Timer`s until after they had fired and never collected unstopped `Ticker`s.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 20:49:22 UTC 2024 - 1.5K bytes - Viewed (0) -
src/net/http/servemux121.go
// Changes are minimal: aside from the different receiver type, // they mostly involve renaming functions, usually by unexporting them. // servemux121.go exists solely to provide a snapshot of // the pre-Go 1.22 ServeMux implementation for backwards compatibility. // Do not modify this file, it should remain frozen. import ( "internal/godebug" "net/url" "sort" "strings" "sync" )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 15:40:38 UTC 2024 - 5.8K bytes - Viewed (0) -
src/runtime/netpoll_stub.go
notewakeup(&netpollNote) } unlock(&netpollBrokenLock) } // Polls for ready network connections. // Returns list of goroutines that become runnable. func netpoll(delay int64) (gList, int32) { // Implementation for platforms that do not support // integrated network poller. if delay != 0 { // This lock ensures that only one goroutine tries to use // the note. It should normally be completely uncontended.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 1.5K bytes - Viewed (0) -
src/run.bash
# name or the builder name being non-empty. # # GO_TEST_SHORT: if set to a non-empty, false-ish string, run tests in "-short=false" mode. # This environment variable is an internal implementation detail between the # Go build system (x/build) and cmd/dist for the purpose of longtest builders, # and will be removed if it stops being needed. See go.dev/issue/12508. #
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 15:02:23 UTC 2024 - 1.7K bytes - Viewed (0)