Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 362 for Implementation (0.53 sec)

  1. 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)
  2. src/testing/example.go

    type InternalExample struct {
    	Name      string
    	F         func()
    	Output    string
    	Unordered bool
    }
    
    // RunExamples is an internal function but exported because it is cross-package;
    // it is part of the implementation of the "go test" command.
    func RunExamples(matchString func(pat, str string) (bool, error), examples []InternalExample) (ok bool) {
    	_, ok = runExamples(matchString, examples)
    	return ok
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. 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)
  4. src/runtime/symtabinl.go

    // the physical function, so there's always at least one frame.
    //
    // This is typically used as:
    //
    //	for u, uf := newInlineUnwinder(...); uf.valid(); uf = u.next(uf) { ... }
    //
    // Implementation note: This is used in contexts that disallow write barriers.
    // Hence, the constructor returns this by value and pointer receiver methods
    // must not mutate pointer fields. Also, we keep the mutable state in a separate
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/text/cases/trieval.go

    	return c&fullCasedMask == cIgnorableUncased
    }
    
    func (c info) isMid() bool {
    	return c&(fullCasedMask|isMidBit) == isMidBit|cIgnorableUncased
    }
    
    // The case mapping implementation will need to know about various Canonical
    // Combining Class (CCC) values. We encode two of these in the trie value:
    // cccZero (0) and cccAbove (230). If the value is cccOther, it means that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/runtime/mpallocbits.go

    	s += uint(sys.OnesCount64(b[j/64] & ((1 << (j%64 + 1)) - 1)))
    	return
    }
    
    // pallocBits is a bitmap that tracks page allocations for at most one
    // palloc chunk.
    //
    // The precise representation is an implementation detail, but for the
    // sake of documentation, 0s are free pages and 1s are allocated pages.
    type pallocBits pageBits
    
    // summarize returns a packed summary of the bitmap in pallocBits.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 15:13:43 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  9. src/fmt/doc.go

    concrete value that it holds, and printing continues with the next rule.
    
    2. If an operand implements the [Formatter] interface, it will
    be invoked. In this case the interpretation of verbs and flags is
    controlled by that implementation.
    
    3. If the %v verb is used with the # flag (%#v) and the operand
    implements the [GoStringer] interface, that will be invoked.
    
    If the format (which is implicitly %v for [Println] etc.) is valid
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:56:20 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  10. 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)
Back to top