Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for bhar (0.16 sec)

  1. src/bytes/bytes_test.go

    func TestIndexRune(t *testing.T) {
    	tests := []struct {
    		in   string
    		rune rune
    		want int
    	}{
    		{"", 'a', -1},
    		{"", '☺', -1},
    		{"foo", '☹', -1},
    		{"foo", 'o', 1},
    		{"foo☺bar", '☺', 3},
    		{"foo☺☻☹bar", '☹', 9},
    		{"a A x", 'A', 2},
    		{"some_text=some_value", '=', 9},
    		{"☺a", 'a', 3},
    		{"a☻☺b", '☺', 4},
    
    		// RuneError should match any invalid UTF-8 byte sequence.
    		{"�", '�', 0},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  2. internal/s3select/select_test.go

    			query:      `SELECT synonyms from s3object s WHERE 'bar' IN s.synonyms[*] `,
    			wantResult: `{"synonyms":["foo","bar","whatever"]}`,
    		},
    		{
    			name:       "donatello-1",
    			query:      `SELECT * from s3object s WHERE 'bar' in s.synonyms`,
    			wantResult: `{"id":0,"title":"Test Record","desc":"Some text","synonyms":["foo","bar","whatever"]}`,
    		},
    		{
    			name:       "donatello-2",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  3. cmd/object-api-listobjects_test.go

    		{testBuckets[5], "foo/201910/1112", "content", nil},
    		{testBuckets[5], "foo/201910/2112", "content", nil},
    		{testBuckets[5], "foo/201910_txt", "content", nil},
    		{testBuckets[5], "201910/foo/bar/xl.meta/1.txt", "content", nil},
    		{testBuckets[6], "aaa", "content", nil},
    		{testBuckets[6], "bbb_aaa", "content", nil},
    		{testBuckets[6], "bbb_aaa", "content", nil},
    		{testBuckets[6], "ccc", "content", nil},
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  4. src/cmd/cgo/gcc.go

    var debugDefine = flag.Bool("debug-define", false, "print relevant #defines")
    var debugGcc = flag.Bool("debug-gcc", false, "print gcc invocations")
    
    var nameToC = map[string]string{
    	"schar":         "signed char",
    	"uchar":         "unsigned char",
    	"ushort":        "unsigned short",
    	"uint":          "unsigned int",
    	"ulong":         "unsigned long",
    	"longlong":      "long long",
    	"ulonglong":     "unsigned long long",
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  5. src/archive/zip/reader_test.go

    			{
    				Name:     "foo.txt",
    				Content:  []byte("foo\n"),
    				Modified: time.Date(2012, 3, 8, 16, 59, 10, 0, timeZone(-8*time.Hour)),
    				Mode:     0644,
    			},
    			{
    				Name:     "bar.txt",
    				Content:  []byte("bar\n"),
    				Modified: time.Date(2012, 3, 8, 16, 59, 12, 0, timeZone(-8*time.Hour)),
    				Mode:     0644,
    			},
    		},
    	},
    	{
    		// created by Go, after we wrote the "optional" data
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  6. src/bufio/bufio_test.go

    	r.Read(buf)
    	if string(buf) != "foo" {
    		t.Errorf("buf = %q; want foo", buf)
    	}
    
    	r.Reset(strings.NewReader("bar bar"))
    	checkAll(r, "bar bar")
    
    	*r = Reader{} // zero out the Reader
    	r.Reset(strings.NewReader("bar bar"))
    	checkAll(r, "bar bar")
    
    	// Wrap a reader and then Reset to that reader.
    	r.Reset(strings.NewReader("recur"))
    	r2 := NewReader(r)
    	checkAll(r2, "recur")
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
Back to top