Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 2,691 for spice (0.16 sec)

  1. src/html/template/css.go

    		0xe000 <= r && r <= 0xfffd ||
    		0x10000 <= r && r <= 0x10ffff
    }
    
    // decodeCSS decodes CSS3 escapes given a sequence of stringchars.
    // If there is no change, it returns the input, otherwise it returns a slice
    // backed by a new array.
    // https://www.w3.org/TR/css3-syntax/#SUBTOK-stringchar defines stringchar.
    func decodeCSS(s []byte) []byte {
    	i := bytes.IndexByte(s, '\\')
    	if i == -1 {
    		return s
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 02 19:38:18 UTC 2023
    - 7K bytes
    - Viewed (0)
  2. src/math/big/sqrt.go

    		sqi.prec *= 2
    		sqi = ng(sqi)
    	}
    	// sqi = 1/√x
    
    	// x/√x = √x
    	z.Mul(x, sqi)
    }
    
    // newFloat returns a new *Float with space for twice the given
    // precision.
    func newFloat(prec2 uint32) *Float {
    	z := new(Float)
    	// nat.make ensures the slice length is > 0
    	z.mant = z.mant.make(int(prec2/_W) * 2)
    	return z
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  3. src/runtime/mheap.go

    			return 0, false
    		}
    
    		if uintptr(av) == h.curArena.end {
    			// The new space is contiguous with the old
    			// space, so just extend the current space.
    			h.curArena.end = uintptr(av) + asize
    		} else {
    			// The new space is discontiguous. Track what
    			// remains of the current space and switch to
    			// the new space. This should be rare.
    			if size := h.curArena.end - h.curArena.base; size != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  4. src/fmt/scan_test.go

    		{"space vs newline 0010", "1\n2", "%d \n%d", 2, true},
    		{"space vs newline 0011", "1\n2", "%d \n %d", 2, true},
    		{"space vs newline 0100", "1\n 2", "%d\n%d", 2, true},
    		{"space vs newline 0101", "1\n 2", "%d\n%d ", 2, true},
    		{"space vs newline 0110", "1\n 2", "%d \n%d", 2, true},
    		{"space vs newline 0111", "1\n 2", "%d \n %d", 2, true},
    		{"space vs newline 1000", "1 \n2", "%d\n%d", 2, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 20:25:13 UTC 2023
    - 39.3K bytes
    - Viewed (0)
  5. src/runtime/cgocheck.go

    		return
    	}
    	cgoCheckTypedBlock(typ, src, off, size)
    }
    
    // cgoCheckSliceCopy is called when copying n elements of a slice.
    // src and dst are pointers to the first element of the slice.
    // typ is the element type of the slice.
    // It throws if the program is copying slice elements that contain unpinned Go
    // pointers into non-Go memory.
    //
    //go:nosplit
    //go:nowritebarrier
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. src/archive/tar/strconv.go

    }
    
    // parsePAXRecord parses the input PAX record string into a key-value pair.
    // If parsing is successful, it will slice off the currently read record and
    // return the remainder as r.
    func parsePAXRecord(s string) (k, v, r string, err error) {
    	// The size field ends at the first space.
    	nStr, rest, ok := strings.Cut(s, " ")
    	if !ok {
    		return "", "", s, ErrHeader
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 01 14:28:42 UTC 2023
    - 9K bytes
    - Viewed (0)
  7. src/runtime/mstats.go

    	// HeapSys is bytes of heap memory obtained from the OS.
    	//
    	// HeapSys measures the amount of virtual address space
    	// reserved for the heap. This includes virtual address space
    	// that has been reserved but not yet used, which consumes no
    	// physical memory, but tends to be small, as well as virtual
    	// address space for which the physical memory has been
    	// returned to the OS after it became unused (see HeapReleased
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 21:03:13 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  8. src/fmt/print.go

    	p := newPrinter()
    	p.doPrintf(format, a)
    	s := string(p.buf)
    	p.free()
    	return s
    }
    
    // Appendf formats according to a format specifier, appends the result to the byte
    // slice, and returns the updated slice.
    func Appendf(b []byte, format string, a ...any) []byte {
    	p := newPrinter()
    	p.doPrintf(format, a)
    	b = append(b, p.buf...)
    	p.free()
    	return b
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:22:43 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  9. src/bytes/bytes_test.go

    	return predicate{
    		func(r rune) bool {
    			return !p.f(r)
    		},
    		"not " + p.name,
    	}
    }
    
    var trimFuncTests = []TrimFuncTest{
    	{isSpace, space + " hello " + space,
    		[]byte("hello"),
    		[]byte("hello " + space),
    		[]byte(space + " hello")},
    	{isDigit, "\u0e50\u0e5212hello34\u0e50\u0e51",
    		[]byte("hello"),
    		[]byte("hello34\u0e50\u0e51"),
    		[]byte("\u0e50\u0e5212hello")},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  10. src/sort/sort.go

    func (x StringSlice) Sort() { Sort(x) }
    
    // Convenience wrappers for common cases
    
    // Ints sorts a slice of ints in increasing order.
    //
    // Note: as of Go 1.22, this function simply calls [slices.Sort].
    func Ints(x []int) { intsImpl(x) }
    
    // Float64s sorts a slice of float64s in increasing order.
    // Not-a-number (NaN) values are ordered before other values.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 16:40:32 UTC 2023
    - 10.1K bytes
    - Viewed (0)
Back to top