Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TC (0.12 sec)

  1. src/bytes/bytes_test.go

    }
    
    func TestIndexFunc(t *testing.T) {
    	for _, tc := range indexFuncTests {
    		first := IndexFunc([]byte(tc.in), tc.f.f)
    		if first != tc.first {
    			t.Errorf("IndexFunc(%q, %s) = %d; want %d", tc.in, tc.f.name, first, tc.first)
    		}
    		last := LastIndexFunc([]byte(tc.in), tc.f.f)
    		if last != tc.last {
    			t.Errorf("LastIndexFunc(%q, %s) = %d; want %d", tc.in, tc.f.name, last, tc.last)
    		}
    	}
    }
    
    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/bucket/lifecycle/lifecycle_test.go

    		},
    	}
    
    	for _, tc := range testCases {
    		tc := tc
    		t.Run("", func(t *testing.T) {
    			lc, err := ParseLifecycleConfig(bytes.NewReader([]byte(tc.inputConfig)))
    			if err != nil {
    				t.Fatalf("Got unexpected error: %v", err)
    			}
    			opts := ObjectOpts{
    				Name:             tc.objectName,
    				UserTags:         tc.objectTags,
    				ModTime:          tc.objectModTime,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 53.2K bytes
    - Viewed (0)
Back to top