Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for text_64 (0.21 sec)

  1. 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)
  2. 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)
  3. src/index/suffixarray/sais2.go

    // license that can be found in the LICENSE file.
    
    // Code generated by go generate; DO NOT EDIT.
    
    package suffixarray
    
    func text_64(text []byte, sa []int64) {
    	if int(int64(len(text))) != len(text) || len(text) != len(sa) {
    		panic("suffixarray: misuse of text_64")
    	}
    	sais_8_64(text, 256, sa, make([]int64, 2*256))
    }
    
    func sais_8_64(text []byte, textMax int, sa, tmp []int64) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 23:57:18 UTC 2024
    - 52.3K bytes
    - Viewed (0)
  4. src/runtime/runtime1.go

    // align stack variables on 386.
    var test_z64, test_x64 uint64
    
    func testAtomic64() {
    	test_z64 = 42
    	test_x64 = 0
    	if atomic.Cas64(&test_z64, test_x64, 1) {
    		throw("cas64 failed")
    	}
    	if test_x64 != 0 {
    		throw("cas64 failed")
    	}
    	test_x64 = 42
    	if !atomic.Cas64(&test_z64, test_x64, 1) {
    		throw("cas64 failed")
    	}
    	if test_x64 != 42 || test_z64 != 1 {
    		throw("cas64 failed")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  5. src/runtime/pprof/testdata/test64

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

    Russ Cox <******@****.***> 1649017278 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:31:45 UTC 2022
    - 919 bytes
    - Viewed (0)
  7. src/go/doc/comment/testdata/text4.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)
  8. test/fixedbugs/issue12577.go

    	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)
  9. test/fixedbugs/issue24449.go

    	}
    	if len(a) <= len(b) {
    		atomic.AddInt64(&cnt64, 16)
    	}
    	return atomic.LoadInt64(&cnt64) == 31
    }
    
    func main() {
    	if !test32([]int{}, []int{}) {
    		panic("test32")
    	}
    	if !test64([]int{}, []int{}) {
    		panic("test64")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 20 09:44:50 UTC 2018
    - 1.2K bytes
    - Viewed (0)
  10. test/fixedbugs/issue14651.go

    	test32(float32(m1011p149), f32(m1011p149))
    	test32(float32(m1100p149), f32(m1100p149))
    
    	test64(float64(m0000p1074), f64(m0000p1074))
    	test64(float64(m1000p1074), f64(m1000p1074))
    	test64(float64(m1001p1074), f64(m1001p1074))
    	test64(float64(m1011p1074), f64(m1011p1074))
    	test64(float64(m1100p1074), f64(m1100p1074))
    }
    
    func f32(x float64) float32 { return float32(x) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 22 17:09:29 UTC 2016
    - 1.9K bytes
    - Viewed (0)
Back to top