- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for mustCert (0.28 sec)
-
src/crypto/x509/root_unix_test.go
for i, cn := range tc.cns { if i >= r.len() { t.Errorf("missing cert %v @ %v", cn, i) } else if r.mustCert(t, i).Subject.CommonName != cn { fmt.Printf("%#v\n", r.mustCert(t, 0).Subject) t.Errorf("unexpected cert common name %q, want %q", r.mustCert(t, i).Subject.CommonName, cn) } } if r.len() > len(tc.cns) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 01 00:36:38 UTC 2023 - 6.1K bytes - Viewed (0) -
src/internal/trace/base.go
} for id, value := range d.sparse { if !yield(id, value) { return false } } return true } // mustGet returns the E for id or panics if it fails. // // This should only be used if id has already been validated. func (d *dataTable[EI, E]) mustGet(id EI) E { data, ok := d.get(id) if !ok { panic(fmt.Sprintf("expected id %d in %T table", id, data)) } return data }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 6.8K bytes - Viewed (0)