- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 2,434 for 2014 (0.03 sec)
-
test/fixedbugs/issue6703y.go
// errorcheck // Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Check for cycles in the method value of a pointer value returned // from a function call. package funcptrmethvalue type T int func (*T) pm() int { _ = x return 0 } func pf() *T { return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 23 20:27:09 UTC 2022 - 447 bytes - Viewed (0) -
src/syscall/mmap_unix_test.go
// Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build unix package syscall_test import ( "syscall" "testing" ) func TestMmap(t *testing.T) { b, err := syscall.Mmap(-1, 0, syscall.Getpagesize(), syscall.PROT_NONE, syscall.MAP_ANON|syscall.MAP_PRIVATE) if err != nil { t.Fatalf("Mmap: %v", err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 30 23:58:34 UTC 2022 - 500 bytes - Viewed (0) -
test/fixedbugs/issue8039.go
// run // Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // issue 8039. defer copy(x, <-c) did not rewrite <-c properly. package main func f(s []int) { c := make(chan []int, 1) c <- []int{1} defer copy(s, <-c) } func main() { x := make([]int, 1) f(x) if x[0] != 1 { println("BUG", x[0]) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 414 bytes - Viewed (0) -
test/fixedbugs/issue8132.go
// run // Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // issue 8132. stack walk handling of panic stack was confused // about what was legal. package main import "runtime" var p *int func main() { func() { defer func() { runtime.GC() recover() }() var x [8192]byte
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 534 bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue8811.c
// Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. int issue8811Initialized = 0; void issue8811Init() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 216 bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue8331.h
// Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. typedef struct { int i;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 198 bytes - Viewed (0) -
test/fixedbugs/issue8017.go
// compile // Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Issues 8017 and 8058: walk modifies nodes generated // by slicelit and causes an internal error afterwards // when gen_as_init parses it back. package main func F() { var ch chan int select { case <-ch:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 540 bytes - Viewed (0) -
test/fixedbugs/issue9321.go
// run // Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main import ( "bytes" "runtime" "runtime/pprof" "sync" ) func test() { var wg sync.WaitGroup wg.Add(2) test := func() { for i := 0; i < 10; i++ { buf := &bytes.Buffer{} pprof.Lookup("goroutine").WriteTo(buf, 2) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 538 bytes - Viewed (0) -
src/internal/syscall/unix/sysnum_linux_generic.go
// Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build linux && (arm64 || loong64 || riscv64) package unix // This file is named "generic" because at a certain point Linux started // standardizing on system call numbers across architectures. So far this // means only arm64 loong64 and riscv64 use the standard numbers. const (
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 01:23:00 UTC 2024 - 589 bytes - Viewed (0) -
test/fixedbugs/issue7023.dir/a.go
// Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package a func Foo() { goto bar bar:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 10 00:33:24 UTC 2014 - 201 bytes - Viewed (0)