- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 235 for Implementation (0.23 sec)
-
src/os/exec_unix.go
return ErrProcessDone } return err } func (p *Process) release() error { // We clear the Pid field only for API compatibility. On Unix, Release // has always set Pid to -1. Internally, the implementation relies // solely on statusReleased to determine that the Process is released. p.Pid = pidReleased switch p.mode { case modeHandle: // Drop the Process' reference and mark handle unusable for
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 22:06:47 UTC 2024 - 4.1K bytes - Viewed (0) -
src/net/dnsclient_unix.go
} // goLookupCNAME is the native Go (non-cgo) implementation of LookupCNAME. func (r *Resolver) goLookupCNAME(ctx context.Context, host string, order hostLookupOrder, conf *dnsConfig) (string, error) { _, cname, err := r.goLookupIPCNAMEOrder(ctx, "CNAME", host, order, conf) return cname.String(), err } // goLookupPTR is the native Go implementation of LookupAddr.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:23:45 UTC 2024 - 24.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/counter/counter.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 10.3K bytes - Viewed (0) -
src/testing/newcover.go
// Copyright 2022 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Support for test coverage with redesigned coverage implementation. package testing import ( "fmt" "internal/goexperiment" "os" _ "unsafe" // for linkname ) // cover2 variable stores the current coverage mode and a
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 09:58:07 UTC 2024 - 1.6K bytes - Viewed (0) -
src/runtime/lock_futex.go
// license that can be found in the LICENSE file. //go:build dragonfly || freebsd || linux package runtime import ( "internal/runtime/atomic" "unsafe" ) // This implementation depends on OS-specific implementations of // // futexsleep(addr *uint32, val uint32, ns int64) // Atomically, // if *addr == val { sleep } // Might be woken up spuriously; that's allowed.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:57:34 UTC 2024 - 5.4K bytes - Viewed (0) -
src/net/http/fs.go
// ending in "/index.html" to the same path, without the final // "index.html". // // To use the operating system's file system implementation, // use [http.Dir]: // // http.Handle("/", http.FileServer(http.Dir("/tmp"))) // // To use an [fs.FS] implementation, use [http.FileServerFS] instead. func FileServer(root FileSystem) Handler { return &fileHandler{root} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 09 17:06:47 UTC 2024 - 31.1K bytes - Viewed (0) -
src/go/types/typeset.go
} if hasTerms { buf.WriteString(s.terms.String()) } buf.WriteString("}") return buf.String() } // ---------------------------------------------------------------------------- // Implementation // hasTerms reports whether the type set has specific type terms. func (s *_TypeSet) hasTerms() bool { return !s.terms.isEmpty() && !s.terms.isAll() } // subsetOf reports whether s1 ⊆ s2.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 13.7K bytes - Viewed (0) -
src/runtime/stubs.go
// pointer-sized portion is cleared atomically. Despite the function // name, this is necessary because this function is the underlying // implementation of typedmemclr and memclrHasPointers. See the doc of // memmove for more details. // // The (CPU-specific) implementations of this function are in memclr_*.s. // // memclrNoHeapPointers should be an internal detail, // but widely used packages access it using linkname.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 20.2K bytes - Viewed (0) -
src/os/dir_unix.go
if d == nil { d = new(dirInfo) f.dirinfo.Store(d) } d.mu.Lock() defer d.mu.Unlock() if d.buf == nil { d.buf = dirBufPool.Get().(*[]byte) } // Change the meaning of n for the implementation below. // // The n above was for the public interface of "if n <= 0, // Readdir returns all the FileInfo from the directory in a // single slice". // // But below, we use only negative to mean looping until the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 20:11:45 UTC 2024 - 4.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sync/semaphore/semaphore.go
// Copyright 2017 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package semaphore provides a weighted semaphore implementation. package semaphore // import "golang.org/x/sync/semaphore" import ( "container/list" "context" "sync" ) type waiter struct { n int64 ready chan<- struct{} // Closed when semaphore acquired. }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 4.3K bytes - Viewed (0)