Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 117 for Implementation (0.39 sec)

  1. 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)
  2. src/hash/crc32/gen_const_ppc64le.go

    // The original is dual licensed under GPL and Apache 2.  As the copyright holder
    // for the work, IBM has contributed this new work under the golang license.
    
    // This code was written in Go based on the original C implementation.
    
    // This is a tool needed to generate the appropriate constants needed for
    // the vpmsum algorithm.  It is included to generate new constant tables if
    // new polynomial values are included in the future.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 19 20:44:20 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/cmd/vendor/golang.org/x/text/internal/language/match.go

    func (t Tag) minimize() (Tag, error) {
    	t, err := minimizeTags(t)
    	if err != nil {
    		return t, err
    	}
    	t.RemakeString()
    	return t, nil
    }
    
    // minimizeTags mimics the behavior of the ICU 51 C implementation.
    func minimizeTags(t Tag) (Tag, error) {
    	if t.equalTags(Und) {
    		return t, nil
    	}
    	max, err := addTags(t)
    	if err != nil {
    		return t, err
    	}
    	for _, id := range [...]Tag{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. 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)
  7. src/crypto/md5/md5block_ppc64x.s

    // Original source:
    //	http://www.zorinaq.com/papers/md5-amd64.html
    //	http://www.zorinaq.com/papers/md5-amd64.tar.bz2
    //
    // MD5 optimized for ppc64le using Go's assembler for
    // ppc64le, based on md5block_amd64.s implementation by
    // the Go authors.
    //
    // Author: Marc Bevand <bevand_m (at) epita.fr>
    // Licence: I hereby disclaim the copyright on this code and place it
    // in the public domain.
    
    //go:build (ppc64 || ppc64le) && !purego
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:05:32 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. src/testing/example.go

    type InternalExample struct {
    	Name      string
    	F         func()
    	Output    string
    	Unordered bool
    }
    
    // RunExamples is an internal function but exported because it is cross-package;
    // it is part of the implementation of the "go test" command.
    func RunExamples(matchString func(pat, str string) (bool, error), examples []InternalExample) (ok bool) {
    	_, ok = runExamples(matchString, examples)
    	return ok
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. src/runtime/netpoll_kqueue.go

    // license that can be found in the LICENSE file.
    
    //go:build darwin || dragonfly || freebsd || netbsd || openbsd
    
    package runtime
    
    // Integrated network poller (kqueue-based implementation).
    
    import (
    	"internal/goarch"
    	"internal/runtime/atomic"
    	"unsafe"
    )
    
    var (
    	kq             int32         = -1
    	netpollWakeSig atomic.Uint32 // used to avoid duplicate calls of netpollBreak
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. src/runtime/symtabinl.go

    // the physical function, so there's always at least one frame.
    //
    // This is typically used as:
    //
    //	for u, uf := newInlineUnwinder(...); uf.valid(); uf = u.next(uf) { ... }
    //
    // Implementation note: This is used in contexts that disallow write barriers.
    // Hence, the constructor returns this by value and pointer receiver methods
    // must not mutate pointer fields. Also, we keep the mutable state in a separate
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top