Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 291 for Implementation (0.32 sec)

  1. 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)
  2. src/runtime/libfuzzer.go

    	}
    	// if s1 == s2 we could call the hook with a last argument of 0 but this is unnecessary since this case will be then
    	// ignored by libfuzzer
    }
    
    // This function has now the same implementation as libfuzzerHookStrCmp because we lack better checks
    // for case-insensitive string equality in the runtime package.
    //
    //go:nosplit
    func libfuzzerHookEqualFold(s1, s2 string, fakePC int) {
    	if s1 != s2 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 23 01:12:02 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  3. src/go/types/union.go

    func (t *Term) Type() Type     { return t.typ }
    func (t *Term) String() string { return (*term)(t).String() }
    
    // ----------------------------------------------------------------------------
    // Implementation
    
    // Avoid excessive type-checking times due to quadratic termlist operations.
    const maxTermCount = 100
    
    // parseUnion parses uexpr as a union of expressions.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 6.2K 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/internal/chacha8rand/chacha8_generic.go

    	b[15][0] = 0
    	b[15][1] = 0
    }
    
    func _() {
    	// block and block_generic must have same type
    	x := block
    	x = block_generic
    	_ = x
    }
    
    // block_generic is the non-assembly block implementation,
    // for use on systems without special assembly.
    // Even on such systems, it is quite fast: on GOOS=386,
    // ChaCha8 using this code generates random values faster than PCG-DXSM.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:32:54 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  7. 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)
  8. src/log/slog/level.go

    // As Level itself implements Leveler, clients typically supply
    // a Level value wherever a Leveler is needed, such as in [HandlerOptions].
    // Clients who need to vary the level dynamically can provide a more complex
    // Leveler implementation such as *[LevelVar].
    type Leveler interface {
    	Level() Level
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 30 17:34:43 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  9. src/compress/flate/dict_decoder.go

    //     perform a form of run-length encoding on repeated runs of symbols.
    //     The writeCopy and tryWriteCopy are used to implement this command.
    //
    // For performance reasons, this implementation performs little to no sanity
    // checks about the arguments. As such, the invariants documented for each
    // method call must be respected.
    type dictDecoder struct {
    	hist []byte // Sliding window history
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 6K bytes
    - Viewed (0)
  10. 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)
Back to top