- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 939 for Style (0.04 sec)
-
src/runtime/badlinkname.go
// Copyright 2024 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 _ "unsafe" // These should be an internal details // but widely used packages access them using linkname. // Do not remove or change the type signature. // See go.dev/issue/67401. // Notable members of the hall of shame include:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 661 bytes - Viewed (0) -
src/cmd/cgo/internal/testerrors/testdata/issue67517.go
// Copyright 2024 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 // typedef struct { int a; void* ptr; } S; // static void f(S* p) {} import "C" func main() { C.f(&C.S{ a: 1+ (3 + ""), // ERROR HERE ptr: nil, })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 335 bytes - Viewed (0) -
src/internal/syscall/unix/nofollow_bsd.go
// Copyright 2024 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 dragonfly || freebsd package unix import "syscall" // References: // - https://man.freebsd.org/cgi/man.cgi?open(2) // - https://man.dragonflybsd.org/?command=open§ion=2
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:09:26 UTC 2024 - 384 bytes - Viewed (0) -
test/fixedbugs/issue23664.go
// errorcheck // Copyright 2018 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. // Verify error messages for incorrect if/switch headers. package p func f() { if f() true { // ERROR "unexpected name true, expected {" } switch f() true { // ERROR "unexpected name true, expected {" }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 387 bytes - Viewed (0) -
src/internal/trace/event/requirements.go
// Copyright 2023 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 event // SchedReqs is a set of constraints on what the scheduling // context must look like. type SchedReqs struct { Thread Constraint Proc Constraint Goroutine Constraint } // Constraint represents a various presence requirements. type Constraint uint8
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 685 bytes - Viewed (0) -
src/os/executable_darwin.go
// Copyright 2016 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 os import ( "errors" _ "unsafe" // for linkname ) //go:linkname executablePath var executablePath string // set by ../runtime/os_darwin.go var initCwd, initCwdErr = Getwd() func executable() (string, error) { ep := executablePath if len(ep) == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 675 bytes - Viewed (0) -
test/fixedbugs/issue20789.go
// errorcheck // Copyright 2017 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. // Make sure this doesn't crash the compiler. // (This test should be part of the internal/syntax // package, but we don't have a general test framework // there yet, so put it here for now. See also #20800.) package e
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 449 bytes - Viewed (0) -
src/syscall/linkname_bsd.go
// Copyright 2024 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 darwin || dragonfly || freebsd || netbsd || openbsd package syscall import _ "unsafe" // used by internal/syscall/unix //go:linkname ioctlPtr // golang.org/x/net linknames sysctl. // Do not remove or change the type signature. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:12:46 UTC 2024 - 426 bytes - Viewed (0) -
src/syscall/linkname_darwin.go
// Copyright 2024 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 syscall import _ "unsafe" // used by os //go:linkname closedir //go:linkname readdir_r // used by internal/poll //go:linkname fdopendir // used by internal/syscall/unix //go:linkname unlinkat //go:linkname openat //go:linkname fstatat
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 468 bytes - Viewed (0) -
src/cmd/link/testdata/linkname/ok.go
// Copyright 2024 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. // Use of public API is ok. package main import ( "iter" "unique" ) func seq(yield func(int) bool) { yield(123) } var s = "hello" func main() { h := unique.Make(s) next, stop := iter.Pull(seq) defer stop() println(h.Value())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 17:05:33 UTC 2024 - 433 bytes - Viewed (0)