Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for text_32 (0.09 sec)

  1. src/index/suffixarray/sais.go

    //go:generate go run gen.go
    
    package suffixarray
    
    // text_32 returns the suffix array for the input text.
    // It requires that len(text) fit in an int32
    // and that the caller zero sa.
    func text_32(text []byte, sa []int32) {
    	if int(int32(len(text))) != len(text) || len(text) != len(sa) {
    		panic("suffixarray: misuse of text_32")
    	}
    	sais_8_32(text, 256, sa, make([]int32, 2*256))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 23:57:18 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  2. src/index/suffixarray/suffixarray.go

    // [Index] creation time is O(N) for N = len(data).
    func New(data []byte) *Index {
    	ix := &Index{data: data}
    	if len(data) <= maxData32 {
    		ix.sa.int32 = make([]int32, len(data))
    		text_32(data, ix.sa.int32)
    	} else {
    		ix.sa.int64 = make([]int64, len(data))
    		text_64(data, ix.sa.int64)
    	}
    	return ix
    }
    
    // writeInt writes an int x to w using buf to buffer the write.
    func writeInt(w io.Writer, buf []byte, x int) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  3. src/index/suffixarray/suffixarray_test.go

    func TestNew32(t *testing.T) {
    	test(t, func(x []byte) []int {
    		sa := make([]int32, len(x))
    		text_32(x, sa)
    		out := make([]int, len(sa))
    		for i, v := range sa {
    			out[i] = int(v)
    		}
    		return out
    	})
    }
    
    func TestNew64(t *testing.T) {
    	test(t, func(x []byte) []int {
    		sa := make([]int64, len(x))
    		text_64(x, sa)
    		out := make([]int, len(sa))
    		for i, v := range sa {
    			out[i] = int(v)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. src/runtime/pprof/testdata/test32

    Russ Cox <******@****.***> 1488850797 -0500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 08 01:09:18 UTC 2017
    - 528 bytes
    - Viewed (0)
  5. src/go/doc/comment/testdata/text2.txt

    Russ Cox <******@****.***> 1648990796 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:31:41 UTC 2022
    - 937 bytes
    - Viewed (0)
  6. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/JavadocConverterTest.groovy

    <h2>section1</h2>
    text1
    <h3>section 1.1</h3>
    text2
    <h2>section 2</h2>
    text3
    '''
    
            when:
            def result = parser.parse(classMetaData, listener)
    
            then:
            format(result.docbook) == '''<section><title>section1</title><para>
    text1
    </para><section><title>section 1.1</title><para>
    text2
    </para></section></section><section><title>section 2</title><para>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 14.2K bytes
    - Viewed (0)
  7. fess-crawler-lasta/src/test/resources/test/text2.txt

    Shinsuke Sugaya <******@****.***> 1444529815 +0900
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Sun Oct 11 02:16:55 UTC 2015
    - 6 bytes
    - Viewed (0)
  8. fess-crawler/src/test/resources/test/text2.txt

    Shinsuke Sugaya <******@****.***> 1444529815 +0900
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Sun Oct 11 02:16:55 UTC 2015
    - 6 bytes
    - Viewed (0)
  9. src/go/doc/comment/testdata/text3.txt

    Russ Cox <******@****.***> 1649017278 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:31:45 UTC 2022
    - 937 bytes
    - Viewed (0)
  10. test/fixedbugs/issue12577.go

    	}
    }
    
    func main() {
    	if f := -x0; f != 0 || !math.Signbit(float64(f)) {
    		println("BUG: got", f, "want -0.0")
    	}
    
    	test32(-0.0)
    	test32(x0)
    	test32(x1)
    	test32(x2)
    	test32(x3)
    
    	if f := -y0; f != 0 || !math.Signbit(f) {
    		println("BUG: got", f, "want -0.0")
    	}
    
    	test64(-0.0)
    	test64(y0)
    	test64(y1)
    	test64(y2)
    	test64(y3)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 20 22:11:11 UTC 2015
    - 1011 bytes
    - Viewed (0)
Back to top