Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for cap (0.14 sec)

  1. src/bytes/bytes_test.go

    			if !reflect.DeepEqual(a, b) {
    				t.Errorf("Split disagrees withSplitN(%q, %q, %d) = %v; want %v", tt.s, tt.sep, tt.n, b, a)
    			}
    		}
    		if len(a) > 0 {
    			in, out := a[0], s
    			if cap(in) == cap(out) && &in[:1][0] == &out[:1][0] {
    				t.Errorf("Join(%#v, %q) didn't copy", a, tt.sep)
    			}
    		}
    	}
    }
    
    var splitaftertests = []SplitTest{
    	{abcd, "a", -1, []string{"a", "bcd"}},
    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)
Back to top