- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for _fail (0.13 sec)
-
src/bufio/bufio_test.go
br.ReadRune() br.Peek(1) if err := br.UnreadRune(); err == nil { t.Error("UnreadRune didn't fail after Peek") } } func TestNoUnreadByteAfterPeek(t *testing.T) { br := NewReader(strings.NewReader("example")) br.ReadByte() br.Peek(1) if err := br.UnreadByte(); err == nil { t.Error("UnreadByte didn't fail after Peek") } } func TestNoUnreadRuneAfterDiscard(t *testing.T) {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Feb 10 18:56:01 GMT 2023 - 51.5K bytes - Viewed (0) -
src/archive/zip/reader_test.go
} } func TestCompressedDirectory(t *testing.T) { // Empty Java JAR, with a compressed directory with uncompressed size 0 // which should not fail. // // Length Method Size Cmpr Date Time CRC-32 Name // -------- ------ ------- ---- ---------- ----- -------- ---- // 0 Defl:N 2 0% 12-01-2022 16:50 00000000 META-INF/
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Mar 27 18:23:49 GMT 2024 - 55.3K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
func (p *Package) needsPointerCheck(f *File, t ast.Expr, arg ast.Expr) bool { // An untyped nil does not need a pointer check, and when // _cgoCheckPointer returns the untyped nil the type assertion we // are going to insert will fail. Easier to just skip nil arguments. // TODO: Note that this fails if nil is shadowed. if id, ok := arg.(*ast.Ident); ok && id.Name == "nil" { return false } return p.hasPointer(f, t, true) }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Nov 02 16:43:23 GMT 2023 - 97K bytes - Viewed (0)