Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 251 for Implementation (0.24 sec)

  1. src/net/http/client.go

    		// or responses with a zero-length body.” Unfortunately, we didn't document
    		// that same constraint for arbitrary RoundTripper implementations, and
    		// RoundTripper implementations in the wild (mostly in tests) assume that
    		// they can use a nil Body to mean an empty one (similar to Request.Body).
    		// (See https://golang.org/issue/38095.)
    		//
    		// If the ContentLength allows the Body to be empty, fill in an empty one
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 06:06:11 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  2. src/encoding/binary/binary.go

    	AppendUint32([]byte, uint32) []byte
    	AppendUint64([]byte, uint64) []byte
    	String() string
    }
    
    // LittleEndian is the little-endian implementation of [ByteOrder] and [AppendByteOrder].
    var LittleEndian littleEndian
    
    // BigEndian is the big-endian implementation of [ByteOrder] and [AppendByteOrder].
    var BigEndian bigEndian
    
    type littleEndian struct{}
    
    func (littleEndian) Uint16(b []byte) uint16 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:29:31 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  3. src/net/net_fake.go

    	var q packetQueueState
    	var empty chan packetQueueState
    	if len(b) == 0 {
    		// For consistency with the implementation on Unix platforms,
    		// allow a zero-length Read to proceed if the queue is empty.
    		// (Without this, TestZeroByteRead deadlocks.)
    		empty = pq.empty
    	}
    
    	select {
    	case <-dt.expired:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 19:24:21 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/internal/analysisinternal/analysis.go

    		if lhs, ok := got.Underlying().(*types.Basic); ok {
    			return rhs.Info()&types.IsConstType == lhs.Info()&types.IsConstType
    		}
    	}
    	return types.AssignableTo(want, got)
    }
    
    // MakeReadFile returns a simple implementation of the Pass.ReadFile function.
    func MakeReadFile(pass *analysis.Pass) func(filename string) ([]byte, error) {
    	return func(filename string) ([]byte, error) {
    		if err := CheckReadable(pass, filename); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  5. src/crypto/ecdsa/ecdsa_test.go

    			f(t, curve)
    		})
    	}
    }
    
    // genericParamsForCurve returns the dereferenced CurveParams for
    // the specified curve. This is used to avoid the logic for
    // upgrading a curve to its specific implementation, forcing
    // usage of the generic implementation.
    func genericParamsForCurve(c elliptic.Curve) *elliptic.CurveParams {
    	d := *(c.Params())
    	return &d
    }
    
    func TestKeyGeneration(t *testing.T) {
    	testAllCurves(t, testKeyGeneration)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:58 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  6. src/runtime/alg.go

    	return memhash(p, h, size)
    }
    
    // runtime variable to check if the processor we're running on
    // actually supports the instructions used by the AES-based
    // hash implementation.
    var useAeshash bool
    
    // in asm_*.s
    
    // memhash should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  7. src/html/template/js.go

    }
    
    var jsonMarshalType = reflect.TypeFor[json.Marshaler]()
    
    // indirectToJSONMarshaler returns the value, after dereferencing as many times
    // as necessary to reach the base type (or nil) or an implementation of json.Marshal.
    func indirectToJSONMarshaler(a any) any {
    	// text/template now supports passing untyped nil as a func call
    	// argument, so we must support it. Otherwise we'd panic below, as one
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  8. src/net/udpsock.go

    type addrPortUDPAddr struct {
    	netip.AddrPort
    }
    
    func (addrPortUDPAddr) Network() string { return "udp" }
    
    // UDPConn is the implementation of the Conn and PacketConn interfaces
    // for UDP network connections.
    type UDPConn struct {
    	conn
    }
    
    // SyscallConn returns a raw network connection.
    // This implements the syscall.Conn interface.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 16:58:25 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  9. src/crypto/aes/gcm_amd64.s

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build !purego
    
    // This is an optimized implementation of AES-GCM using AES-NI and CLMUL-NI
    // The implementation uses some optimization as described in:
    // [1] Gueron, S., Kounavis, M.E.: Intel® Carry-Less Multiplication
    //     Instruction and its Usage for Computing the GCM Mode rev. 2.02
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  10. src/runtime/HACKING.md

    `go:nowritebarrierrec` function and produces an error if it encounters
    a function containing a write barrier. This flood stops at
    `go:yeswritebarrierrec` functions.
    
    `go:nowritebarrierrec` is used in the implementation of the write
    barrier to prevent infinite loops.
    
    Both directives are used in the scheduler. The write barrier requires
    an active P (`getg().m.p != nil`) and scheduler code often runs
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top