- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 1,994 for 2014 (0.04 sec)
-
test/fixedbugs/issue6703v.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 a pointer literal's method call. package ptrlitmethcall type T int func (*T) pm() int { _ = x return 0 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 23 20:27:09 UTC 2022 - 384 bytes - Viewed (0) -
test/fixedbugs/issue7366.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. // issue 7366: generates a temporary with ideal type // during comparison of small structs. package main type T struct { data [10]byte } func main() { var a T var b T if a == b { }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 363 bytes - Viewed (0) -
test/fixedbugs/issue7150.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. // issue 7150: array index out of bounds error off by one package main func main() { _ = [0]int{-1: 50} // ERROR "index must be non-negative integer constant|index expression is negative|must not be negative"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 22 17:50:13 UTC 2020 - 754 bytes - Viewed (0) -
test/fixedbugs/issue7316.go
// runoutput // 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 7316 // This test exercises all types of numeric conversions, which was one // of the sources of etype mismatch during register allocation in 8g. package main import "fmt" const tpl = ` func init() { var i %s j := %s(i) _ = %s(j) } `
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 777 bytes - Viewed (0) -
test/fixedbugs/issue8947.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. // Some uses of zeroed constants in non-assignment // expressions broke with our more aggressive zeroing // of assignments (internal compiler errors). package main func f1() { type T [2]int p := T{0, 1} switch p { case T{0, 0}: panic("wrong1")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 751 bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue9400/asm_ppc64x.s
// 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 (ppc64 || ppc64le) && gc #include "textflag.h" TEXT ·RewindAndSetgid(SB),NOSPLIT|NOFRAME,$0-0 // Rewind stack pointer so anything that happens on the stack // will clobber the test pattern created by the caller ADD $(1024 * 8), R1 // Ask signaller to setgid MOVW $1, R3
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 668 bytes - Viewed (0) -
src/runtime/race/race_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 race && (darwin || freebsd || linux) package race_test import ( "sync/atomic" "syscall" "testing" "unsafe" ) // Test that race detector does not crash when accessing non-Go allocated memory (issue 9136). func TestNonGoMemory(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 09 15:36:26 UTC 2022 - 762 bytes - Viewed (0) -
test/fixedbugs/issue7405.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. // Issue 7405: the equality function for struct with many // embedded fields became more complex after fixing issue 7366, // leading to out of registers on 386. package p type T1 struct { T2 T3 T4 } type T2 struct { Conn }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 20 21:22:37 UTC 2014 - 638 bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue6997_linux.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. //go:build !android #include <pthread.h> #include <stdio.h> #include <unistd.h> static pthread_t thread; static void* threadfunc(void* dummy) { while(1) { sleep(1); } } int StartThread() { return pthread_create(&thread, NULL, &threadfunc, NULL); }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 536 bytes - Viewed (0) -
src/syscall/asm_aix_ppc64.s
// 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. #include "textflag.h" // // System calls for aix/ppc64 are implemented in ../runtime/syscall_aix.go // TEXT ·syscall6(SB),NOSPLIT,$0 JMP runtime·syscall_syscall6(SB) TEXT ·rawSyscall6(SB),NOSPLIT,$0 JMP runtime·syscall_rawSyscall6(SB) TEXT ·RawSyscall(SB),NOSPLIT,$0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 14 09:10:02 UTC 2018 - 540 bytes - Viewed (0)