Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for formTable (0.15 sec)

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

    func (f Form) QuickSpan(b []byte) int {
    	n, _ := formTable[f].quickSpan(inputBytes(b), 0, len(b), true)
    	return n
    }
    
    // Span implements transform.SpanningTransformer. It returns a boundary n such
    // that b[0:n] == f(b[0:n]). It is not guaranteed to return the largest such n.
    func (f Form) Span(b []byte, atEOF bool) (n int, err error) {
    	n, ok := formTable[f].quickSpan(inputBytes(b), 0, len(b), atEOF)
    	if n < len(b) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 22:26:23 UTC 2022
    - 14.9K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/text/unicode/norm/normalize.go

    func (f Form) QuickSpan(b []byte) int {
    	n, _ := formTable[f].quickSpan(inputBytes(b), 0, len(b), true)
    	return n
    }
    
    // Span implements transform.SpanningTransformer. It returns a boundary n such
    // that b[0:n] == f(b[0:n]). It is not guaranteed to return the largest such n.
    func (f Form) Span(b []byte, atEOF bool) (n int, err error) {
    	n, ok := formTable[f].quickSpan(inputBytes(b), 0, len(b), atEOF)
    	if n < len(b) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/text/unicode/norm/transform.go

    	// Cap the maximum number of src bytes to check.
    	b := src
    	eof := atEOF
    	if ns := len(dst); ns < len(b) {
    		err = transform.ErrShortDst
    		eof = false
    		b = b[:ns]
    	}
    	i, ok := formTable[f].quickSpan(inputBytes(b), 0, len(b), eof)
    	n := copy(dst, b[:i])
    	if !ok {
    		nDst, nSrc, err = f.transform(dst[n:], src[n:], atEOF)
    		return nDst + n, nSrc + n, err
    	}
    
    	if err == nil && n < len(src) && !atEOF {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 19:27:51 UTC 2019
    - 2.4K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/text/unicode/norm/transform.go

    	// Cap the maximum number of src bytes to check.
    	b := src
    	eof := atEOF
    	if ns := len(dst); ns < len(b) {
    		err = transform.ErrShortDst
    		eof = false
    		b = b[:ns]
    	}
    	i, ok := formTable[f].quickSpan(inputBytes(b), 0, len(b), eof)
    	n := copy(dst, b[:i])
    	if !ok {
    		nDst, nSrc, err = f.transform(dst[n:], src[n:], atEOF)
    		return nDst + n, nSrc + n, err
    	}
    
    	if err == nil && n < len(src) && !atEOF {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/text/unicode/norm/composition.go

    	out    []byte
    	flushF func(*reorderBuffer) bool
    }
    
    func (rb *reorderBuffer) init(f Form, src []byte) {
    	rb.f = *formTable[f]
    	rb.src.setBytes(src)
    	rb.nsrc = len(src)
    	rb.ss = 0
    }
    
    func (rb *reorderBuffer) initString(f Form, src string) {
    	rb.f = *formTable[f]
    	rb.src.setString(src)
    	rb.nsrc = len(src)
    	rb.ss = 0
    }
    
    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/cmd/vendor/golang.org/x/text/unicode/norm/forminfo.go

    type formInfo struct {
    	form                     Form
    	composing, compatibility bool // form type
    	info                     lookupFunc
    	nextMain                 iterFunc
    }
    
    var formTable = []*formInfo{{
    	form:          NFC,
    	composing:     true,
    	compatibility: false,
    	info:          lookupInfoNFC,
    	nextMain:      nextComposed,
    }, {
    	form:          NFD,
    	composing:     false,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. src/vendor/golang.org/x/text/unicode/norm/composition.go

    	out    []byte
    	flushF func(*reorderBuffer) bool
    }
    
    func (rb *reorderBuffer) init(f Form, src []byte) {
    	rb.f = *formTable[f]
    	rb.src.setBytes(src)
    	rb.nsrc = len(src)
    	rb.ss = 0
    }
    
    func (rb *reorderBuffer) initString(f Form, src string) {
    	rb.f = *formTable[f]
    	rb.src.setString(src)
    	rb.nsrc = len(src)
    	rb.ss = 0
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 19:27:51 UTC 2019
    - 14.1K bytes
    - Viewed (0)
  8. src/vendor/golang.org/x/text/unicode/norm/forminfo.go

    type formInfo struct {
    	form                     Form
    	composing, compatibility bool // form type
    	info                     lookupFunc
    	nextMain                 iterFunc
    }
    
    var formTable = []*formInfo{{
    	form:          NFC,
    	composing:     true,
    	compatibility: false,
    	info:          lookupInfoNFC,
    	nextMain:      nextComposed,
    }, {
    	form:          NFD,
    	composing:     false,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:59:52 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Tables.java

              V2 extends @Nullable Object>
          extends AbstractTable<R, C, V2> {
        final Table<R, C, V1> fromTable;
        final Function<? super V1, V2> function;
    
        TransformedTable(Table<R, C, V1> fromTable, Function<? super V1, V2> function) {
          this.fromTable = checkNotNull(fromTable);
          this.function = checkNotNull(function);
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Tables.java

              V2 extends @Nullable Object>
          extends AbstractTable<R, C, V2> {
        final Table<R, C, V1> fromTable;
        final Function<? super V1, V2> function;
    
        TransformedTable(Table<R, C, V1> fromTable, Function<? super V1, V2> function) {
          this.fromTable = checkNotNull(fromTable);
          this.function = checkNotNull(function);
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 04 22:45:41 UTC 2024
    - 26.3K bytes
    - Viewed (0)
Back to top