Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for copySlice (0.16 sec)

  1. src/vendor/golang.org/x/text/unicode/norm/input.go

    	if in.bytes != nil {
    		return append(buf, in.bytes[b:e]...)
    	}
    	for i := b; i < e; i++ {
    		buf = append(buf, in.str[i])
    	}
    	return buf
    }
    
    func (in *input) copySlice(buf []byte, b, e int) int {
    	if in.bytes == nil {
    		return copy(buf, in.str[b:e])
    	}
    	return copy(buf, in.bytes[b:e])
    }
    
    func (in *input) charinfoNFC(p int) (uint16, int) {
    	if in.bytes == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 20:28:54 UTC 2019
    - 2K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/text/unicode/norm/input.go

    	if in.bytes != nil {
    		return append(buf, in.bytes[b:e]...)
    	}
    	for i := b; i < e; i++ {
    		buf = append(buf, in.str[i])
    	}
    	return buf
    }
    
    func (in *input) copySlice(buf []byte, b, e int) int {
    	if in.bytes == nil {
    		return copy(buf, in.str[b:e])
    	}
    	return copy(buf, in.bytes[b:e])
    }
    
    func (in *input) charinfoNFC(p int) (uint16, int) {
    	if in.bytes == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/text/unicode/norm/iter.go

    		return i.returnSlice(inCopyStart, i.p)
    	} else if inCopyStart < i.p {
    		i.rb.src.copySlice(i.buf[outCopyStart:], inCopyStart, i.p)
    	}
    	return i.buf[:outp]
    doNorm:
    	// Insert what we have decomposed so far in the reorderBuffer.
    	// As we will only reorder, there will always be enough room.
    	i.rb.src.copySlice(i.buf[outCopyStart:], inCopyStart, i.p)
    	i.rb.insertDecomposed(i.buf[0:outp])
    	return doNormDecomposed(i)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 19:27:51 UTC 2019
    - 11K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/text/unicode/norm/iter.go

    		return i.returnSlice(inCopyStart, i.p)
    	} else if inCopyStart < i.p {
    		i.rb.src.copySlice(i.buf[outCopyStart:], inCopyStart, i.p)
    	}
    	return i.buf[:outp]
    doNorm:
    	// Insert what we have decomposed so far in the reorderBuffer.
    	// As we will only reorder, there will always be enough room.
    	i.rb.src.copySlice(i.buf[outCopyStart:], inCopyStart, i.p)
    	i.rb.insertDecomposed(i.buf[0:outp])
    	return doNormDecomposed(i)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/text/unicode/norm/composition.go

    }
    
    // insertSingle inserts an entry in the reorderBuffer for the rune at
    // position i. info is the runeInfo for the rune at position i.
    func (rb *reorderBuffer) insertSingle(src input, i int, info Properties) {
    	src.copySlice(rb.byte[rb.nbyte:], i, i+int(info.size))
    	rb.insertOrdered(info)
    }
    
    // insertCGJ inserts a Combining Grapheme Joiner (0x034f) into rb.
    func (rb *reorderBuffer) insertCGJ() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. src/vendor/golang.org/x/text/unicode/norm/composition.go

    }
    
    // insertSingle inserts an entry in the reorderBuffer for the rune at
    // position i. info is the runeInfo for the rune at position i.
    func (rb *reorderBuffer) insertSingle(src input, i int, info Properties) {
    	src.copySlice(rb.byte[rb.nbyte:], i, i+int(info.size))
    	rb.insertOrdered(info)
    }
    
    // insertCGJ inserts a Combining Grapheme Joiner (0x034f) into rb.
    func (rb *reorderBuffer) insertCGJ() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 19:27:51 UTC 2019
    - 14.1K bytes
    - Viewed (0)
  7. test/noinit.go

    	2008, 2208, 2308, 4008, 4208, 4308, 5008, 5208, 5308,
    	2009, 2209, 2309, 4009, 4209, 4309, 5009, 5209, 5309,
    }
    
    var (
    	copy_zero     = zero
    	copy_one      = one
    	copy_pi       = pi
    	copy_slice    = slice
    	copy_sliceInt = sliceInt
    	// copy_hello    = hello // static init of copied strings defeats link -X; see #34675
    
    	// Could be handled without an initialization function, but
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 14 17:57:36 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  8. src/internal/trace/traceviewer/static/trace_viewer_full.html

    closeOpenSlices(nextSlice.start);result.pushSlice(nextSlice);if(isFromB){openB.push(nextSlice);}else{splitOpenSlices(nextSlice.start);openA.push(nextSlice);}}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2.5M bytes
    - Viewed (0)
Back to top