Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 584 for spice (0.05 sec)

  1. src/runtime/slice.go

    package runtime
    
    import (
    	"internal/abi"
    	"internal/goarch"
    	"runtime/internal/math"
    	"runtime/internal/sys"
    	"unsafe"
    )
    
    type slice struct {
    	array unsafe.Pointer
    	len   int
    	cap   int
    }
    
    // A notInHeapSlice is a slice backed by runtime/internal/sys.NotInHeap memory.
    type notInHeapSlice struct {
    	array *notInHeap
    	len   int
    	cap   int
    }
    
    func panicmakeslicelen() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. src/reflect/value.go

    // extendSlice returns a new slice value with the length
    // incremented by the number of specified elements.
    func (v Value) extendSlice(n int) Value {
    	v.mustBeExported()
    	v.mustBe(Slice)
    
    	// Shallow copy the slice header to avoid mutating the source slice.
    	sh := *(*unsafeheader.Slice)(v.ptr)
    	s := &sh
    	v.ptr = unsafe.Pointer(s)
    	v.flag = flagIndir | flag(Slice) // equivalent flag to MakeSlice
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  3. samples/bookinfo/src/productpage/static/tailwind/tailwind.css

    p",[["gap",["gap"]],[["gap-x",["columnGap"]],["gap-y",["rowGap"]]]]),space:({matchUtilities:i,addUtilities:e,theme:t})=>{i({"space-x":r=>(r=r==="0"?"0px":r,{"& > :not([hidden]) ~ :not([hidden])":{"--tw-space-x-reverse":"0","margin-right":`calc(${r} * var(--tw-space-x-reverse))`,"margin-left":`calc(${r} * calc(1 - var(--tw-space-x-reverse)))`}}),"space-y":r=>(r=r==="0"?"0px":r,{"& > :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0","margin-top":`calc(${r} * calc(1 - var(--tw-space-y-re...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 14:48:01 UTC 2024
    - 357.1K bytes
    - Viewed (1)
  4. src/unsafe/unsafe.go

    // At run time, if len is negative, or if ptr is nil and len is not zero,
    // a run-time panic occurs.
    func Slice(ptr *ArbitraryType, len IntegerType) []ArbitraryType
    
    // SliceData returns a pointer to the underlying array of the argument
    // slice.
    //   - If cap(slice) > 0, SliceData returns &slice[:1][0].
    //   - If slice == nil, SliceData returns nil.
    //   - Otherwise, SliceData returns a non-nil pointer to an
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 19:45:20 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. src/syscall/dir_plan9.go

    // returning the remaining slice of b..
    func pstring(b []byte, s string) []byte {
    	b = pbit16(b, uint16(len(s)))
    	n := copy(b, s)
    	return b[n:]
    }
    
    // gbit8 reads an 8-bit number from b and returns it with the remaining slice of b.
    func gbit8(b []byte) (uint8, []byte) {
    	return uint8(b[0]), b[1:]
    }
    
    // gbit16 reads a 16-bit number in little-endian order from b and returns it with the remaining slice of b.
    //
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:32:38 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. pkg/proxy/util/utils.go

    	"k8s.io/kubernetes/pkg/features"
    	netutils "k8s.io/utils/net"
    )
    
    const (
    	// IPv4ZeroCIDR is the CIDR block for the whole IPv4 address space
    	IPv4ZeroCIDR = "0.0.0.0/0"
    
    	// IPv6ZeroCIDR is the CIDR block for the whole IPv6 address space
    	IPv6ZeroCIDR = "::/0"
    )
    
    // isValidEndpoint checks that the given host / port pair are valid endpoint
    func isValidEndpoint(host string, port int) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 11:57:43 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. src/net/textproto/reader.go

    // ReadContinuedLine reads a possibly continued line from r,
    // eliding the final trailing ASCII white space.
    // Lines after the first are considered continuations if they
    // begin with a space or tab character. In the returned data,
    // continuation lines are separated from the previous line
    // only by a single space: the newline and leading white space
    // are removed.
    //
    // For example, consider this input:
    //
    //	Line 1
    //	  continued...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  8. src/encoding/csv/reader.go

    	LazyQuotes bool
    
    	// If TrimLeadingSpace is true, leading white space in a field is ignored.
    	// This is done even if the field delimiter, Comma, is white space.
    	TrimLeadingSpace bool
    
    	// ReuseRecord controls whether calls to Read may return a slice sharing
    	// the backing array of the previous call's returned slice for performance.
    	// By default, each call to Read returns newly allocated memory owned by the caller.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:32:28 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  9. src/net/ip.go

    // This library accepts either size of byte slice but always
    // returns 16-byte addresses.
    
    package net
    
    import (
    	"internal/bytealg"
    	"internal/itoa"
    	"internal/stringslite"
    	"net/netip"
    )
    
    // IP address lengths (bytes).
    const (
    	IPv4len = 4
    	IPv6len = 16
    )
    
    // An IP is a single IP address, a slice of bytes.
    // Functions in this package accept either 4-byte (IPv4)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 03:13:26 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  10. src/math/big/floatmarsh.go

    	if x == nil {
    		return nil, nil
    	}
    
    	// determine max. space (bytes) required for encoding
    	sz := 1 + 1 + 4 // version + mode|acc|form|neg (3+2+2+1bit) + prec
    	n := 0          // number of mantissa words
    	if x.form == finite {
    		// add space for mantissa and exponent
    		n = int((x.prec + (_W - 1)) / _W) // required mantissa length in words for given precision
    		// actual mantissa slice could be shorter (trailing 0's) or longer (unused bits):
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:31:58 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top