- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for ContainsRune (0.04 seconds)
-
src/bytes/bytes_test.go
{[]byte("a☺b☻c☹d"), '☻', true}, {[]byte("aRegExp*"), '*', true}, } func TestContainsRune(t *testing.T) { for _, ct := range ContainsRuneTests { if ContainsRune(ct.b, ct.r) != ct.expected { t.Errorf("ContainsRune(%q, %q) = %v, want %v", ct.b, ct.r, !ct.expected, ct.expected) } } } func TestContainsFunc(t *testing.T) { for _, ct := range ContainsRuneTests {Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Dec 23 23:54:14 GMT 2025 - 62.9K bytes - Click Count (0) -
docs/debugging/xl-meta/main.go
if m.objSize == 0 { m.objSize = ei.V2Obj.Size } m.data = ei.V2Obj.EcM m.parity = ei.V2Obj.EcN if len(ei.V2Obj.PartNums) == 1 && !strings.ContainsRune(ei.V2Obj.MetaUsr.Etag, '-') { m.wantMD5 = ei.V2Obj.MetaUsr.Etag } if m.shards == 0 { m.shards = m.data + m.parity } idx = ei.V2Obj.EcIndex - 1Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 40.4K bytes - Click Count (0)