Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 498 for Implementation (0.27 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/log/slog/doc.go

    	}
    
    and you call it like this in main.go:
    
    	Infof(slog.Default(), "hello, %s", "world")
    
    then slog will report the source file as mylog.go, not main.go.
    
    A correct implementation of Infof will obtain the source location
    (pc) and pass it to NewRecord.
    The Infof function in the package-level example called "wrapping"
    demonstrates how to do this.
    
    # Working with Records
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 15 14:35:48 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  6. 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)
  7. src/html/template/content.go

    	fmtStringerType = reflect.TypeFor[fmt.Stringer]()
    )
    
    // indirectToStringerOrError returns the value, after dereferencing as many times
    // as necessary to reach the base type (or nil) or an implementation of fmt.Stringer
    // or error.
    func indirectToStringerOrError(a any) any {
    	if a == nil {
    		return nil
    	}
    	v := reflect.ValueOf(a)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 01 14:30:25 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  8. src/crypto/x509/pem_decrypt.go

    // license that can be found in the LICENSE file.
    
    package x509
    
    // RFC 1423 describes the encryption of PEM blocks. The algorithm used to
    // generate a key from the password was derived by looking at the OpenSSL
    // implementation.
    
    import (
    	"crypto/aes"
    	"crypto/cipher"
    	"crypto/des"
    	"crypto/md5"
    	"encoding/hex"
    	"encoding/pem"
    	"errors"
    	"io"
    	"strings"
    )
    
    type PEMCipher int
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  9. src/unsafe/unsafe.go

    //
    // Provided that T2 is no larger than T1 and that the two share an equivalent
    // memory layout, this conversion allows reinterpreting data of one type as
    // data of another type. An example is the implementation of
    // math.Float64bits:
    //
    //	func Float64bits(f float64) uint64 {
    //		return *(*uint64)(unsafe.Pointer(&f))
    //	}
    //
    // (2) Conversion of a Pointer to a uintptr (but not back to Pointer).
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 19:45:20 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. 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)
Back to top