- Sort Score
- Num 10 results
- Language All
Results 71 - 75 of 75 for TestData (0.1 seconds)
-
doc/go_spec.html
as in an <a href="#Assignment_statements">assignment statement</a>. </p> <pre> var testdata *struct { a *[7]int } for i, _ := range testdata.a { // testdata.a is never evaluated; len(testdata.a) is constant // i ranges from 0 to 6 f(i) } var a [10]string for i, s := range a { // type of i is int // type of s is string
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Apr 01 23:39:18 GMT 2026 - 287.8K bytes - Click Count (1) -
lib/fips140/v1.26.0.zip
z2 := slices.Clone(z) var y uint y-- c := addMulVVW(z, x, y) c2 := test.f(&z2[0], &x[0], y) if !slices.Equal(z, z2) || c != c2 { t.Errorf("%016X, %016X != %016X, %016X", z, c, z2, c2) } }) } } func TestInverse(t *testing.T) { f, err := os.Open("testdata/mod_inv_tests.txt") if err != nil { t.Fatal(err) } var ModInv, A, M string var lineNum int scanner := bufio.NewScanner(f) for scanner.Scan() { lineNum++ line := scanner.Text() if len(line) == 0 || line[0] == '#' { continue } k, v, _ := strings.Cut(line,...
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jan 08 17:58:32 GMT 2026 - 660.3K bytes - Click Count (0) -
lib/fips140/v1.0.0-c2097c7c.zip
z2 := slices.Clone(z) var y uint y-- c := addMulVVW(z, x, y) c2 := test.f(&z2[0], &x[0], y) if !slices.Equal(z, z2) || c != c2 { t.Errorf("%016X, %016X != %016X, %016X", z, c, z2, c2) } }) } } func TestInverse(t *testing.T) { f, err := os.Open("testdata/mod_inv_tests.txt") if err != nil { t.Fatal(err) } var ModInv, A, M string var lineNum int scanner := bufio.NewScanner(f) for scanner.Scan() { lineNum++ line := scanner.Text() if len(line) == 0 || line[0] == '#' { continue } k, v, _ := strings.Cut(line,...
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Sep 25 19:53:19 GMT 2025 - 642.7K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java
Arrays.fill(destData, (byte) 0x00); // Clear destData ndrBuffer.readOctetArray(destData, 1, 3); // Read 0x10, 0x11, 0x12 into destData[1-3] assertEquals(3, ndrBuffer.getIndex()); assertEquals(0x00, destData[0]); assertEquals(0x10, destData[1]); assertEquals(0x11, destData[2]); assertEquals(0x12, destData[3]); assertEquals(0x00, destData[4]); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.3K bytes - Click Count (0) -
src/bufio/bufio_test.go
} } func TestReadAfterLines(t *testing.T) { line1 := "this is line1" restData := "this is line2\nthis is line 3\n" inbuf := bytes.NewReader([]byte(line1 + "\n" + restData)) outbuf := new(strings.Builder) maxLineLength := len(line1) + len(restData)/2 l := NewReaderSize(inbuf, maxLineLength) line, isPrefix, err := l.ReadLine()
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Feb 07 01:08:54 GMT 2025 - 51.6K bytes - Click Count (0)