- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,451 for 2014 (0.05 sec)
-
src/cmd/cgo/internal/testnocgo/nocgo_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 292 bytes - Viewed (0) -
src/runtime/os_darwin_arm64.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 runtime //go:nosplit func cputicks() int64 { // runtime·nanotime() is a poor approximation of CPU ticks that is enough for the profiler. return nanotime()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 329 bytes - Viewed (0) -
src/cmd/cgo/internal/testso/testdata/so/cgoso_unix.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 aix || dragonfly || freebsd || linux || netbsd || solaris package cgosotest /* extern int __thread tlsvar; int *getTLS() { return &tlsvar; } */ import "C" func init() { if v := *C.getTLS(); v != 12345 { println("got", v) panic("BAD TLS value") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 19 01:37:41 UTC 2023 - 428 bytes - Viewed (0) -
src/os/sticky_bsd.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 aix || darwin || dragonfly || freebsd || (js && wasm) || netbsd || openbsd || solaris || wasip1 package os // According to sticky(8), neither open(2) nor mkdir(2) will create // a file with the sticky bit set.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 07 23:34:21 UTC 2023 - 425 bytes - Viewed (0) -
test/fixedbugs/issue6703k.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 method value. package methvalue type T int func (T) m() int { _ = x return 0 } var ( t T x = t.m // ERROR "initialization cycle|depends upon itself"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 23 20:27:09 UTC 2022 - 359 bytes - Viewed (0) -
test/fixedbugs/issue6703u.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 value. package ptrlitmethvalue 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/issue6703w.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 value's method value. package ptrmethvalue type T int func (*T) pm() int { _ = x return 0 } var ( p *T x = p.pm // ERROR "initialization cycle|depends upon itself"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 23 20:27:09 UTC 2022 - 382 bytes - Viewed (0) -
test/fixedbugs/issue6703a.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 function value. package funcvalue func fx() int { _ = x return 0 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 23 20:27:09 UTC 2022 - 335 bytes - Viewed (0) -
src/runtime/typekind.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 runtime import "internal/abi" // isDirectIface reports whether t is stored directly in an interface value. func isDirectIface(t *_type) bool { return t.Kind_&abi.KindDirectIface != 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 15:10:48 UTC 2024 - 356 bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue8517_windows.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. #include "windows.h" extern void testHandleLeaksCallback(); DWORD WINAPI testHandleLeaksFunc(LPVOID lpThreadParameter) { int i; for(i = 0; i < 100; i++) { testHandleLeaksCallback(); } return 0; } void testHandleLeaks() { HANDLE h;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 517 bytes - Viewed (0)