- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 498 for Implementation (0.41 sec)
-
src/runtime/os_darwin.go
} // The read and write file descriptors used by the sigNote functions. var sigNoteRead, sigNoteWrite int32 // sigNoteSetup initializes a single, there-can-only-be-one, async-signal-safe note. // // The current implementation of notes on Darwin is not async-signal-safe, // because the functions pthread_mutex_lock, pthread_cond_signal, and // pthread_mutex_unlock, called by semawakeup, are not async-signal-safe.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 11.9K 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/image/draw/draw_test.go
golden := makeGolden(dst, b, src, src.Bounds().Min, nil, image.Point{}, op) if !b.Eq(golden.Bounds()) { t.Errorf("drawOverlap xoff=%d,yoff=%d: bounds %v versus %v", xoff, yoff, dst.Bounds(), golden.Bounds()) continue } // Draw the same combination onto the actual dst using the optimized DrawMask implementation.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 20 18:07:05 UTC 2023 - 26K bytes - Viewed (0) -
src/strings/replace.go
} i += keylen last = i continue } i++ } if last != len(s) { wn, err = sw.WriteString(s[last:]) n += wn } return } // singleStringReplacer is the implementation that's used when there is only // one string to replace (and that string has more than one byte). type singleStringReplacer struct { finder *stringFinder
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 17:10:31 UTC 2023 - 14.5K 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) -
src/compress/zlib/reader.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. /* Package zlib implements reading and writing of zlib format compressed data, as specified in RFC 1950. The implementation provides filters that uncompress during reading and compress during writing. For example, to write compressed data to a buffer: var b bytes.Buffer w := zlib.NewWriter(&b) w.Write([]byte("hello, world\n"))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 23:20:03 UTC 2023 - 4.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_darwin.go
} func xattrPointer(dest []byte) *byte { // It's only when dest is set to NULL that the OS X implementations of // getxattr() and listxattr() return the current sizes of the named attributes. // An empty byte array is not sufficient. To maintain the same behaviour as the // linux implementation, we wrap around the system calls and pass in NULL when // dest is empty. var destp *byte if len(dest) > 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 10 16:32:44 UTC 2023 - 20.7K bytes - Viewed (0) -
src/cmd/compile/internal/types2/sizes.go
func (conf *Config) alignof(T Type) int64 { f := stdSizes.Alignof if conf.Sizes != nil { f = conf.Sizes.Alignof } if a := f(T); a >= 1 { return a } panic("implementation of alignof returned an alignment < 1") } func (conf *Config) offsetsof(T *Struct) []int64 { var offsets []int64 if T.NumFields() > 0 { // compute offsets on demand f := stdSizes.Offsetsof
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 8.8K bytes - Viewed (0) -
src/syscall/syscall_freebsd.go
// but it is also input to mksyscall, // which parses the //sys lines and generates system call stubs. // Note that sometimes we use a lowercase //sys name and wrap // it in our own nicer implementation, either here or in // syscall_bsd.go or syscall_unix.go. package syscall import "unsafe" func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 18:12:35 UTC 2023 - 8.7K bytes - Viewed (0) -
src/go/types/typelists.go
// TypeList instead. func (l *TypeList) list() []Type { if l == nil { return nil } return l.types } // ---------------------------------------------------------------------------- // Implementation func bindTParams(list []*TypeParam) *TypeParamList { if len(list) == 0 { return nil } for i, typ := range list { if typ.index >= 0 { panic("type parameter bound more than once") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 2K bytes - Viewed (0)