- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for didn (0.22 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/bytes/buffer_test.go
buf2.ReadFrom(panicReader{panic: true}) } func TestReadFromNegativeReader(t *testing.T) { var b Buffer defer func() { switch err := recover().(type) { case nil: t.Fatal("bytes.Buffer.ReadFrom didn't panic") case error: // this is the error string of errNegativeRead wantError := "bytes.Buffer: reader returned negative count from Read" if err.Error() != wantError {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Apr 26 13:31:36 GMT 2024 - 18.6K bytes - Viewed (0) -
src/cmd/cgo/internal/test/callback.go
} func testCallbackPanicLocked(t *testing.T) { runtime.LockOSThread() defer runtime.UnlockOSThread() if !lockedOSThread() { t.Fatal("runtime.LockOSThread didn't") } defer func() { s := recover() if s == nil { t.Fatal("did not panic") } if s.(string) != "callback panic" { t.Fatal("wrong panic:", s) } if !lockedOSThread() { t.Fatal("lost lock on OS thread after panic")
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 111.5K bytes - Viewed (0) -
src/archive/zip/zip_test.go
} if got, want := fh2.ModifiedDate, fh.ModifiedDate; got != want { t.Errorf("ModifiedDate: got %d, want %d\n", got, want) } if sysfh, ok := fi.Sys().(*FileHeader); !ok && sysfh != fh { t.Errorf("Sys didn't return original *FileHeader") } } func TestFileHeaderRoundTrip(t *testing.T) { fh := &FileHeader{ Name: "foo.txt", UncompressedSize: 987654321, ModifiedTime: 1234,
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Mar 27 18:23:49 GMT 2024 - 19.5K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/01-pkgsite.yml
- type: textarea id: what-did-you-do attributes: label: "What did you do?" description: "If possible, provide a recipe for reproducing the error. Starting with a Private/Incognito tab/window may help rule out problematic browser extensions." validations: required: true - type: textarea id: actual-behavior attributes: label: "What did you see happen?" validations:
Others - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Jan 04 23:31:17 GMT 2024 - 1.4K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/04-vuln.yml
- type: textarea id: what-did-you-do attributes: label: "What did you do?" description: "If possible, provide a recipe for reproducing the error. A complete runnable program is good. A link on [go.dev/play](https://go.dev/play) is best." validations: required: true - type: textarea id: actual-behavior attributes: label: "What did you see happen?" validations:
Others - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Jan 04 23:31:17 GMT 2024 - 1.9K bytes - Viewed (0) -
doc/next/6-stdlib/1-time.md
[time.Timer] and [time.Ticker]. First, `Timer`s and `Ticker`s that are no longer referred to by the program become eligible for garbage collection immediately, even if their `Stop` methods have not been called. Earlier versions of Go did not collect unstopped `Timer`s until after they had fired and never collected unstopped `Ticker`s. Second, the timer channel associated with a `Timer` or `Ticker` is now unbuffered, with capacity 0.
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Apr 12 20:57:18 GMT 2024 - 1.5K bytes - Viewed (0) -
misc/ios/detect.go
func main() { udids := getLines(exec.Command("idevice_id", "-l")) if len(udids) == 0 { fail("no udid found; is a device connected?") } mps := detectMobileProvisionFiles(udids) if len(mps) == 0 { fail("did not find mobile provision matching device udids %q", udids) } fmt.Println("# Available provisioning profiles below.") fmt.Println("# NOTE: Any existing app on the device with the app id specified by GOIOS_APP_ID")
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Oct 19 23:33:30 GMT 2023 - 3.2K bytes - Viewed (0) -
src/cmd/asm/internal/asm/testdata/amd64.s
SHLL CX, R12 SHLL CX, foo+4(SB) // Old syntax, still accepted: SHLL CX, R11:AX // SHLL CX, AX, R11 // LTYPEM spec6 { outcode($1, &$2); } MOVL AX, R11 MOVL $4, R11 // MOVL AX, 0(AX):DS // no longer works - did it ever? // LTYPEI spec7 { outcode($1, &$2); } IMULB DX IMULW DX, BX IMULL R11, R12 IMULQ foo+4(SB), R11 // LTYPEXC spec8 { outcode($1, &$2); } CMPPD X1, X2, 4 CMPPD foo+4(SB), X2, 4
Others - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Apr 09 18:57:21 GMT 2019 - 3.3K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/03-gopls.yml
description: "Output of `go env` on the command line in your workspace directory" render: shell validations: required: true - type: textarea id: what-did-you-do attributes: label: "What did you do?" description: "If possible, provide a recipe for reproducing the error. A complete runnable program is good. A link on [go.dev/play](https://go.dev/play) is better. A failing unit test is the best."
Others - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Jan 04 23:31:17 GMT 2024 - 1.8K bytes - Viewed (0)