Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 623 for Implementation (0.21 sec)

  1. src/os/user/lookup_plan9.go

    func init() {
    	userImplemented = false
    	groupImplemented = false
    	groupListImplemented = false
    }
    
    var (
    	// unused variables (in this implementation)
    	// modified during test to exercise code paths in the cgo implementation.
    	userBuffer  = 0
    	groupBuffer = 0
    )
    
    func current() (*User, error) {
    	ubytes, err := os.ReadFile("/dev/user")
    	if err != nil {
    		return nil, fmt.Errorf("user: %s", err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 07 16:09:09 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  2. src/go/doc/comment/testdata/text7.txt

    Encoder (transmitter) and a Decoder (receiver). A typical use is
    transporting arguments and results of remote procedure calls (RPCs) such as
    those provided by package "net/rpc".
    
    The implementation compiles a custom codec for each data type in the stream
    and is most efficient when a single Encoder is used to transmit a stream of
    values, amortizing the cost of compilation.
    -- text --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:31:45 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  3. src/crypto/aes/cipher_asm.go

    type aesCipherAsm struct {
    	aesCipher
    }
    
    // aesCipherGCM implements crypto/cipher.gcmAble so that crypto/cipher.NewGCM
    // will use the optimised implementation in aes_gcm.go when possible.
    // Instances of this type only exist when hasGCMAsm returns true. Likewise,
    // the gcmAble implementation is in aes_gcm.go.
    type aesCipherGCM struct {
    	aesCipherAsm
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 14:58:19 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. src/os/user/lookup_stubs.go

    package user
    
    import (
    	"fmt"
    	"os"
    	"runtime"
    	"strconv"
    )
    
    var (
    	// unused variables (in this implementation)
    	// modified during test to exercise code paths in the cgo implementation.
    	userBuffer  = 0
    	groupBuffer = 0
    )
    
    func current() (*User, error) {
    	uid := currentUID()
    	// $USER and /etc/passwd may disagree; prefer the latter if we can get it.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 07 16:09:09 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  5. src/crypto/sha256/fallback_test.go

    package sha256
    
    import (
    	"fmt"
    	"io"
    	"testing"
    )
    
    // Tests the fallback code path in case the optimized asm
    // implementation cannot be used.
    // See also TestBlockGeneric.
    func TestGenericPath(t *testing.T) {
    	if useAsm == false {
    		t.Skipf("assembly implementation unavailable")
    	}
    	useAsm = false
    	defer func() { useAsm = true }()
    	c := New()
    	in := "ΑΒΓΔΕϜΖΗΘΙΚΛΜΝΞΟΠϺϘΡΣΤΥΦΧΨΩ"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 894 bytes
    - Viewed (0)
  6. src/crypto/elliptic/params.go

    package elliptic
    
    import "math/big"
    
    // CurveParams contains the parameters of an elliptic curve and also provides
    // a generic, non-constant time implementation of [Curve].
    //
    // The generic Curve implementation is deprecated, and using custom curves
    // (those not returned by [P224], [P256], [P384], and [P521]) is not guaranteed
    // to provide any security property.
    type CurveParams struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 17:46:09 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  7. src/runtime/mklockrank.go

    < WB
    # Below WB is the write barrier implementation.
    < wbufSpans;
    
    # Span allocator
    stackLarge,
      stackpool,
      wbufSpans
    # Above mheap is anything that can call the span allocator.
    < mheap;
    # Below mheap is the span allocator implementation.
    #
    # Specials: we're allowed to allocate a special while holding
    # an mspanSpecial lock, and they're part of the malloc implementation.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. src/runtime/sigqueue_note.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // The current implementation of notes on Darwin is not async-signal-safe,
    // so on Darwin the sigqueue code uses different functions to wake up the
    // signal_recv thread. This file holds the non-Darwin implementations of
    // those functions. These functions will never be called.
    
    //go:build !darwin && !plan9
    
    package runtime
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 648 bytes
    - Viewed (0)
  9. src/crypto/aes/cipher_generic.go

    // directly. Platforms with hardware accelerated
    // implementations of AES should implement their
    // own version of newCipher (which may then call
    // newCipherGeneric if needed).
    func newCipher(key []byte) (cipher.Block, error) {
    	return newCipherGeneric(key)
    }
    
    // expandKey is used by BenchmarkExpand and should
    // call an assembly implementation if one is available.
    func expandKey(key []byte, enc, dec []uint32) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 772 bytes
    - Viewed (0)
  10. src/log/slog/internal/benchmarks/benchmarks.go

    //     tasks as fast as possible (and sometimes faster, in that an
    //     implementation may not be concurrency-safe). This gives us an upper bound
    //     on handler performance, so we can evaluate the (handler-independent) core
    //     activity of the package in an end-to-end context without concern that a
    //     slow handler implementation is skewing the results.
    //
    //   - We also test the built-in handlers, for comparison.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 25 12:14:46 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top