- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 939 for Style (0.11 sec)
-
test/linknameasm.go
// buildrundir // 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 amd64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 15:22:22 UTC 2024 - 210 bytes - Viewed (0) -
src/net/http/fs_test.go
}, "not_modified_modtime": { file: "testdata/style.css", serveETag: `"foo"`, // Last-Modified sent only when no ETag modtime: htmlModTime, reqHeader: map[string]string{ "If-Modified-Since": htmlModTime.UTC().Format(TimeFormat), }, wantStatus: 304, }, "not_modified_modtime_with_contenttype": { file: "testdata/style.css", serveContentType: "text/css", // explicit content type
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 23:39:44 UTC 2024 - 49.9K bytes - Viewed (0) -
src/cmd/link/testdata/linkname/fastrand.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. // Linkname fastrand is allowed _for now_, as it has a // linknamed definition, for legacy reason. // NOTE: this may not be allowed in the future. Don't do this! package main import _ "unsafe" //go:linkname fastrand runtime.fastrand func fastrand() uint32 func main() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 457 bytes - Viewed (0) -
src/cmd/link/testdata/linkname/push.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. // "Push" linknames are ok. package main import ( "cmd/link/testdata/linkname/p" _ "unsafe" ) // Push f1 to p. // //go:linkname f1 cmd/link/testdata/linkname/p.f1 func f1() { f2() } // f2 is pushed from p. // //go:linkname f2 func f2()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 17:05:33 UTC 2024 - 426 bytes - Viewed (0) -
src/cmd/link/testdata/linkname/coro.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. // Linkname coroswitch is not allowed, even if iter.Pull // is instantiated in the same package. package main import ( "iter" "unsafe" ) func seq(yield func(int) bool) { yield(123) } func main() { next, stop := iter.Pull(seq) next() stop()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 17:05:33 UTC 2024 - 506 bytes - Viewed (0) -
src/internal/types/testdata/fixedbugs/issue67628.go
// -gotypesalias=1 // 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 p func f[P any](x P) P { return x } func _() { type A = int var a A b := f(a) // type of b is A // error should report type of b as A, not int _ = b /* ERROR "mismatched types A and untyped string" */ + "foo"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 02:09:51 UTC 2024 - 406 bytes - Viewed (0) -
src/cmd/link/testdata/linkname/p/p.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 p import _ "unsafe" // f1 is pushed from main. // //go:linkname f1 func f1() // Push f2 to main. // //go:linkname f2 main.f2 func f2() {}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 17:05:33 UTC 2024 - 328 bytes - Viewed (0) -
test/fixedbugs/issue29870b.go
// errorcheck // Copyright 2019 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 we're compiling "_" functions at least enough // to get to an error which is generated during walk. package main func _() { x := 7 // ERROR "declared and not used"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 357 bytes - Viewed (0) -
src/go/doc/comment/std.go
// Copyright 2022 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. // Code generated by 'go generate' DO NOT EDIT. //go:generate ./mkstd.sh package comment var stdPkgs = []string{ "bufio", "bytes", "cmp", "context", "crypto", "embed", "encoding", "errors", "expvar", "flag", "fmt", "hash", "html",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 21:19:39 UTC 2024 - 671 bytes - Viewed (0) -
src/internal/syscall/unix/pidfd_linux.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 unix import "syscall" func PidFDSendSignal(pidfd uintptr, s syscall.Signal) error { _, _, errno := syscall.Syscall(pidfdSendSignalTrap, pidfd, uintptr(s), 0) if errno != 0 { return errno } return nil } func PidFDOpen(pid, flags int) (uintptr, error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 01:23:00 UTC 2024 - 591 bytes - Viewed (0)