Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testInputs (0.09 sec)

  1. src/cmd/go/internal/test/test.go

    // (see comment in tryCacheWithID above) for the
    // test log.
    func computeTestInputsID(a *work.Action, testlog []byte) (cache.ActionID, error) {
    	testlog = bytes.TrimPrefix(testlog, testlogMagic)
    	h := cache.NewHash("testInputs")
    	// The runtime always looks at GODEBUG, without telling us in the testlog.
    	fmt.Fprintf(h, "env GODEBUG %x\n", hashGetenv("GODEBUG"))
    	pwd := a.Package.Dir
    	for _, line := range bytes.Split(testlog, []byte("\n")) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  2. internal/s3select/select_test.go

    			input:      testInput,
    			query:      `SELECT time from s3object s WHERE id = 2`,
    			wantResult: `{"time":"2017-01-02T03:04Z"}`,
    		},
    		{
    			name:       "select-int-direct",
    			input:      testInput,
    			query:      `SELECT num from s3object s WHERE id = 2`,
    			wantResult: `{"num":"-5"}`,
    		},
    		{
    			name:       "select-float-direct",
    			input:      testInput,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 76.2K bytes
    - Viewed (0)
  3. src/bufio/bufio_test.go

    	r := NewReader(strings.NewReader("x"))
    	r.ReadRune()
    	r.Peek(1)
    	r.UnreadRune()
    	r.ReadRune() // Used to panic here
    }
    
    var testOutput = []byte("0123456789abcdefghijklmnopqrstuvwxy")
    var testInput = []byte("012\n345\n678\n9ab\ncde\nfgh\nijk\nlmn\nopq\nrst\nuvw\nxy")
    var testInputrn = []byte("012\r\n345\r\n678\r\n9ab\r\ncde\r\nfgh\r\nijk\r\nlmn\r\nopq\r\nrst\r\nuvw\r\nxy\r\n\n\r\n")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:56:01 UTC 2023
    - 51.5K bytes
    - Viewed (0)
Back to top