- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 1,219 for 2014 (0.11 sec)
-
src/runtime/cputicks.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 !arm && !arm64 && !mips64 && !mips64le && !mips && !mipsle && !wasm package runtime // careful: cputicks is not guaranteed to be monotonic! In particular, we have // noticed drift between cpus on certain os/arch combinations. See issue 8976.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 10 12:47:42 UTC 2023 - 437 bytes - Viewed (0) -
test/fixedbugs/issue6703h.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 when calling an embedded method expression. package embedmethexprcall type T int func (T) m() int { _ = x return 0 } type E struct{ T }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 23 20:27:09 UTC 2022 - 409 bytes - Viewed (0) -
test/fixedbugs/issue6703o.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 an embedded struct's method value. package embedmethvalue type T int func (T) m() int { _ = x return 0 } type E struct{ T } var ( e E x = e.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 - 404 bytes - Viewed (0) -
test/fixedbugs/issue6703m.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 value returned from a function call. package funcmethvalue type T int func (T) m() int { _ = x return 0 } func f() T { return T(0) } var ( t T
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 23 20:27:09 UTC 2022 - 437 bytes - Viewed (0) -
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) -
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) -
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) -
src/cmd/cgo/internal/test/issue8148.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. // Issue 8148. A typedef of an unnamed struct didn't work when used // with an exported Go function. No runtime test; just make sure it // compiles. package cgotest /* typedef struct { int i; } T; int get8148(void); */ import "C" //export issue8148Callback
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 526 bytes - Viewed (0)