Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 235 for Implementation (0.16 sec)

  1. 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)
  2. src/cmd/compile/internal/types2/typeparam.go

    func (t *TypeParam) Underlying() Type {
    	return t.iface()
    }
    
    func (t *TypeParam) String() string { return TypeString(t, nil) }
    
    // ----------------------------------------------------------------------------
    // Implementation
    
    func (t *TypeParam) cleanup() {
    	t.iface()
    	t.check = nil
    }
    
    // iface returns the constraint interface of t.
    func (t *TypeParam) iface() *Interface {
    	bound := t.bound
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. src/internal/coverage/cfile/apis.go

    	}
    	if cmode != coverage.CtrModeAtomic {
    		return fmt.Errorf("ClearCounters invoked for program built with -covermode=%s (please use -covermode=atomic)", cmode.String())
    	}
    
    	// Implementation note: this function would be faster and simpler
    	// if we could just zero out the entire counter array, but for the
    	// moment we go through and zero out just the slots in the array
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. src/runtime/arena.go

    // necessary in order to make new(T) a valid implementation of arenas. Such a property
    // is desirable to allow for a trivial implementation. (It also avoids complexities
    // that arise from synchronization with the GC when trying to set the arena chunks to
    // fault while the GC is active.)
    //
    // The implementation works in layers. At the bottom, arenas are managed in chunks.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:44:56 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  5. src/runtime/rwmutex.go

    // protects some resource (e.g., allocmLock protects creation of new Ms). The
    // read and write locks of that resource need to be represented in the lock
    // rank.
    //
    // Internal ranking: as an implementation detail, rwmutex uses two mutexes:
    // rLock and wLock. These have lock order requirements: wLock must be locked
    // before rLock. This also needs to be represented in the lock rank.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:29:04 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. src/syscall/syscall_darwin.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 (
    	"internal/abi"
    	"unsafe"
    )
    
    func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 11K bytes
    - Viewed (0)
  7. src/runtime/lock_sema.go

    //go:build aix || darwin || netbsd || openbsd || plan9 || solaris || windows
    
    package runtime
    
    import (
    	"internal/runtime/atomic"
    	"unsafe"
    )
    
    // This implementation depends on OS-specific implementations of
    //
    //	func semacreate(mp *m)
    //		Create a semaphore for mp, if it does not already have one.
    //
    //	func semasleep(ns int64) int32
    //		If ns < 0, acquire m's semaphore and return 0.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  8. src/internal/concurrent/hashtriemap.go

    package concurrent
    
    import (
    	"internal/abi"
    	"internal/goarch"
    	"math/rand/v2"
    	"sync"
    	"sync/atomic"
    	"unsafe"
    )
    
    // HashTrieMap is an implementation of a concurrent hash-trie. The implementation
    // is designed around frequent loads, but offers decent performance for stores
    // and deletes as well, especially if the map is larger. It's primary use-case is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 16:01:55 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. src/internal/poll/fd_plan9.go

    	// so this is always false, but the field is present because
    	// shared code in fd_mutex.go checks it.
    	isFile bool
    }
    
    // We need this to close out a file descriptor when it is unlocked,
    // but the real implementation has to live in the net package because
    // it uses os.File's.
    func (fd *FD) destroy() error {
    	if fd.Destroy != nil {
    		fd.Destroy()
    	}
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 14:00:54 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. src/testing/internal/testdeps/deps.go

    	"io"
    	"os"
    	"os/signal"
    	"reflect"
    	"regexp"
    	"runtime/pprof"
    	"strings"
    	"sync"
    	"time"
    )
    
    // Cover indicates whether coverage is enabled.
    var Cover bool
    
    // TestDeps is an implementation of the testing.testDeps interface,
    // suitable for passing to [testing.MainStart].
    type TestDeps struct{}
    
    var matchPat string
    var matchRe *regexp.Regexp
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top