Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 112 for Implementation (0.28 sec)

  1. src/path/filepath/path_windows.go

    	if strings.HasPrefix(p, prefix) {
    		return true
    	}
    	return strings.HasPrefix(strings.ToLower(p), strings.ToLower(prefix))
    }
    
    func splitList(path string) []string {
    	// The same implementation is used in LookPath in os/exec;
    	// consider changing os/exec when changing this.
    
    	if path == "" {
    		return []string{}
    	}
    
    	// Split path, respecting but preserving quotes.
    	list := []string{}
    	start := 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:50 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. src/database/sql/driver/types.go

    package driver
    
    import (
    	"fmt"
    	"reflect"
    	"strconv"
    	"time"
    )
    
    // ValueConverter is the interface providing the ConvertValue method.
    //
    // Various implementations of ValueConverter are provided by the
    // driver package to provide consistent implementations of conversions
    // between drivers. The ValueConverters have several uses:
    //
    //   - converting from the [Value] types as provided by the sql package
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 16:30:20 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/struct.go

    	return ""
    }
    
    func (s *Struct) Underlying() Type { return s }
    func (s *Struct) String() string   { return TypeString(s, nil) }
    
    // ----------------------------------------------------------------------------
    // Implementation
    
    func (s *Struct) markComplete() {
    	if s.fields == nil {
    		s.fields = make([]*Var, 0)
    	}
    }
    
    func (check *Checker) structType(styp *Struct, e *syntax.StructType) {
    	if e.FieldList == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. src/internal/runtime/atomic/sys_linux_arm.s

    #include "textflag.h"
    
    // Linux/ARM atomic operations.
    
    // Because there is so much variation in ARM devices,
    // the Linux kernel provides an appropriate compare-and-swap
    // implementation at address 0xffff0fc0.  Caller sets:
    //	R0 = old value
    //	R1 = new value
    //	R2 = addr
    //	LR = return address
    // The function returns with CS true if the swap happened.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. doc/next/9-todo.md

    CL 463097, CL 568198 - x/net CLs that implemented accepted proposal https://go.dev/issue/57953 for x/net/websocket; no need for rel note
    many x/net CLs - work on accepted proposal https://go.dev/issue/58547 to add a QUIC implementation to x/net/quic
    CL 514775 - implements a performance optimization for accepted proposal https://go.dev/issue/59488
    CL 484995 - x/sys CL implements accepted proposal https://go.dev/issue/59537 to add x/sys/unix API
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:18:52 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. src/vendor/golang.org/x/net/nettest/nettest.go

    	}
    	switch network {
    	case "ip4":
    		if ip := ip.To4(); ip != nil {
    			return ip, true
    		}
    	case "ip6":
    		if ip.IsLoopback() { // addressing scope of the loopback address depends on each implementation
    			return nil, false
    		}
    		if ip := ip.To16(); ip != nil && ip.To4() == nil {
    			return ip, true
    		}
    	default:
    		if ip := ip.To4(); ip != nil {
    			return ip, true
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. src/crypto/tls/key_schedule.go

    	// Package mlkem768 implements ML-KEM, which compared to Kyber removed a
    	// final hashing step. Compute SHAKE-256(K || SHA3-256(c), 32) to match Kyber.
    	// See https://words.filippo.io/mlkem768/#bonus-track-using-a-ml-kem-implementation-as-kyber-v3.
    	h := sha3.NewShake256()
    	h.Write(K)
    	ch := sha3.Sum256(c)
    	h.Write(ch[:])
    	out := make([]byte, 32)
    	h.Read(out)
    	return out
    }
    
    const x25519PublicKeySize = 32
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 14:56:25 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. src/go/ast/print.go

    func (p *printer) printf(format string, args ...any) {
    	if _, err := fmt.Fprintf(p, format, args...); err != nil {
    		panic(localError{err})
    	}
    }
    
    // Implementation note: Print is written for AST nodes but could be
    // used to print arbitrary data structures; such a version should
    // probably be in a different package.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 21:32:41 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. src/runtime/netpoll_wasip1.go

    //   This is in contrast to poll(2) which accepts a mask with POLLIN and
    //   POLLOUT bits, allowing for a subscription to either, neither, or both
    //   reads and writes.
    //
    // Since poll_oneoff is similar to poll(2), the implementation here was derived
    // from netpoll_aix.go.
    
    const _EINTR = 27
    
    var (
    	evts []event
    	subs []subscription
    	pds  []*pollDesc
    	mtx  mutex
    )
    
    func netpollinit() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. src/go/types/sizes.go

    func (conf *Config) alignof(T Type) int64 {
    	f := stdSizes.Alignof
    	if conf.Sizes != nil {
    		f = conf.Sizes.Alignof
    	}
    	if a := f(T); a >= 1 {
    		return a
    	}
    	panic("implementation of alignof returned an alignment < 1")
    }
    
    func (conf *Config) offsetsof(T *Struct) []int64 {
    	var offsets []int64
    	if T.NumFields() > 0 {
    		// compute offsets on demand
    		f := stdSizes.Offsetsof
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top