Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for ab (0.15 sec)

  1. src/bytes/bytes_test.go

    	{"Trim", []byte{'a', 'a'}, "a", nil},
    	{"Trim", []byte{'a'}, "ab", nil},
    	{"Trim", []byte{'a', 'b'}, "ab", nil},
    	{"Trim", []byte("☺"), "☺", nil},
    	{"TrimLeft", nil, "", nil},
    	{"TrimLeft", []byte{}, "", nil},
    	{"TrimLeft", []byte{'a'}, "a", nil},
    	{"TrimLeft", []byte{'a', 'a'}, "a", nil},
    	{"TrimLeft", []byte{'a'}, "ab", nil},
    	{"TrimLeft", []byte{'a', 'b'}, "ab", nil},
    	{"TrimLeft", []byte("☺"), "☺", nil},
    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/sql/parser_test.go

    		participle.CaseInsensitive("Timeword"),
    	)
    
    	j := JSONPath{}
    	cases := []string{
    		"S3Object",
    		"S3Object.id",
    		"S3Object.book.title",
    		"S3Object.id[1]",
    		"S3Object.id['abc']",
    		"S3Object.id['ab']",
    		"S3Object.words.*.id",
    		"S3Object.words.name[*].val",
    		"S3Object.words.name[*].val[*]",
    		"S3Object.words.name[*].val.*",
    	}
    	for i, tc := range cases {
    		err := p.ParseString(tc, &j)
    		if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  3. internal/s3select/sql/stringfuncs_test.go

    		matchExpected      bool
    	}{
    		{"abcd", "bcd", false, "", false},
    		{"abcd", "bcd", true, "", true},
    		{"abcd", "abcd", false, "", true},
    		{"abcd", "abcd", true, "", true},
    		{"abcd", "ab", false, "cd", true},
    		{"abcd", "ab", true, "cd", true},
    		{"abcd", "bc", false, "", false},
    		{"abcd", "bc", true, "d", true},
    	}
    
    	for i, tc := range matcherCases {
    		res, ok := matcher(tc.iText, tc.iPat, tc.iHasLeadingPercent)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 3.1K bytes
    - Viewed (0)
  4. src/bytes/compare_test.go

    	{[]byte(""), []byte("a"), -1},
    	{[]byte("abc"), []byte("abc"), 0},
    	{[]byte("abd"), []byte("abc"), 1},
    	{[]byte("abc"), []byte("abd"), -1},
    	{[]byte("ab"), []byte("abc"), -1},
    	{[]byte("abc"), []byte("ab"), 1},
    	{[]byte("x"), []byte("ab"), 1},
    	{[]byte("ab"), []byte("x"), -1},
    	{[]byte("x"), []byte("a"), 1},
    	{[]byte("b"), []byte("x"), -1},
    	// test runtime·memeq's chunked implementation
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jul 13 23:11:42 GMT 2023
    - 6.8K bytes
    - Viewed (0)
  5. src/archive/tar/writer_test.go

    		tests: []testFnc{
    			testRemaining{8, 5},
    			testWrite{"ab\x00\x00\x00cde", 8, nil},
    			testWrite{"a", 0, ErrWriteTooLong},
    			testRemaining{0, 0},
    		},
    	}, {
    		maker: makeSparse{makeReg{5, "abcde"}, sparseHoles{{2, 3}}, 8},
    		tests: []testFnc{
    			testWrite{"ab\x00\x00\x00cdez", 8, ErrWriteTooLong},
    			testRemaining{0, 0},
    		},
    	}, {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
  6. internal/bucket/versioning/versioning_test.go

                                      <Status>Enabled</Status>
                                      <ExcludedPrefixes>
                                        <Prefix>path/to/my/workload/_staging/ab/</Prefix>
                                      </ExcludedPrefixes>
                                      <ExcludedPrefixes>
                                        <Prefix>path/to/my/workload/_staging/cd/</Prefix>
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 08 05:06:44 GMT 2022
    - 8.8K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/arch/arm.go

    	arm.ABEQ,
    	arm.ABNE,
    	arm.ABCS,
    	arm.ABCC,
    	arm.ABMI,
    	arm.ABPL,
    	arm.ABVS,
    	arm.ABVC,
    	arm.ABHI,
    	arm.ABLS,
    	arm.ABGE,
    	arm.ABLT,
    	arm.ABGT,
    	arm.ABLE,
    	arm.AB,
    	obj.ANOP,
    }
    
    // ARMConditionCodes handles the special condition code situation for the ARM.
    // It returns a boolean to indicate success; failure means cond was unrecognized.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Nov 18 17:59:44 GMT 2022
    - 6.1K bytes
    - Viewed (0)
  8. src/bytes/example_test.go

    }
    
    func ExampleBuffer_Next() {
    	var b bytes.Buffer
    	b.Grow(64)
    	b.Write([]byte("abcde"))
    	fmt.Printf("%s\n", b.Next(2))
    	fmt.Printf("%s\n", b.Next(2))
    	fmt.Printf("%s", b.Next(2))
    	// Output:
    	// ab
    	// cd
    	// e
    }
    
    func ExampleBuffer_Read() {
    	var b bytes.Buffer
    	b.Grow(64)
    	b.Write([]byte("abcde"))
    	rdbuf := make([]byte, 1)
    	n, err := b.Read(rdbuf)
    	if err != nil {
    		panic(err)
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:40 GMT 2024
    - 15K bytes
    - Viewed (1)
  9. internal/config/storageclass/storage-class_test.go

    		{
    			"EC:3",
    			StorageClass{
    				Parity: 3,
    			},
    			nil,
    		},
    		{
    			"EC:4",
    			StorageClass{
    				Parity: 4,
    			},
    			nil,
    		},
    		{
    			"AB:4",
    			StorageClass{
    				Parity: 4,
    			},
    			errors.New("Unsupported scheme AB. Supported scheme is EC"),
    		},
    		{
    			"EC:4:5",
    			StorageClass{
    				Parity: 4,
    			},
    			errors.New("Too many sections in EC:4:5"),
    		},
    		{
    			"EC:A",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 15 23:04:20 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  10. src/archive/tar/reader_test.go

    		tests: []testFnc{
    			testRemaining{8, 5},
    			testRead{3, "ab\x00", nil},
    			testRead{10, "\x00\x00cde", io.EOF},
    			testRemaining{0, 0},
    		},
    	}, {
    		maker: makeSparse{makeReg{"abcde", 5}, sparseDatas{{0, 2}, {5, 3}}, 8},
    		tests: []testFnc{
    			testRemaining{8, 5},
    			testWriteTo{fileOps{"ab", int64(3), "cde"}, 8, nil},
    			testRemaining{0, 0},
    		},
    	}, {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Nov 21 21:14:38 GMT 2022
    - 47.1K bytes
    - Viewed (0)
Back to top