- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 3,198 for 2047 (0.07 sec)
-
src/crypto/tls/boring_test.go
// 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. //go:build boringcrypto package tls import ( "crypto/ecdsa" "crypto/elliptic" "crypto/internal/boring/fipstls" "crypto/rand" "crypto/rsa" "crypto/x509" "crypto/x509/pkix" "encoding/pem" "fmt" "internal/obscuretestdata" "math/big" "net" "runtime"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:45:37 UTC 2024 - 19.4K bytes - Viewed (0) -
src/cmd/cgo/internal/testshared/testdata/globallib/global.go
// 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. package globallib // Data is large enough to that offsets into it do not fit into // 16-bit or 20-bit immediates. Ideally we'd also try and overrun // 32-bit immediates, but that requires the test machine to have // too much memory. var Data [1<<20 + 10]int64 func init() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 485 bytes - Viewed (0) -
src/crypto/internal/boring/sig/sig_other.s
// 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. // These functions are no-ops. // On amd64 they have recognizable implementations, so that you can // search a particular binary to see if they are present. // On other platforms (those using this source file), they don't. //go:build !amd64 TEXT ·BoringCrypto(SB),$0 RET
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:27 UTC 2023 - 499 bytes - Viewed (0) -
src/cmd/cgo/internal/testplugin/testdata/issue18584/plugin.go
// 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. package main import "reflect" type C struct { } func F(c *C) *C { return nil } func G() bool { var c *C return reflect.TypeOf(F).Out(0) == reflect.TypeOf(c)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 326 bytes - Viewed (0) -
src/cmd/cgo/internal/testshared/testdata/iface/main.go
// 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. package main import "testshared/iface_a" import "testshared/iface_b" func main() { if iface_a.F() != iface_b.F() { panic("empty interfaces not equal") } if iface_a.G() != iface_b.G() { panic("non-empty interfaces not equal") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 399 bytes - Viewed (0) -
src/cmd/cgo/internal/testshared/testdata/iface_i/i.go
// 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. package iface_i type I interface { M() } type T struct { } func (t *T) M() { }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 263 bytes - Viewed (0) -
test/fixedbugs/issue18915.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 error message for invalid conditions // or tags are consistent with earlier Go versions. package p func _() { if a := 10 { // ERROR "cannot use a := 10 as value|expected .*;|declared and not used" }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 27 21:10:19 UTC 2022 - 581 bytes - Viewed (0) -
test/fixedbugs/issue22794.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. package main type it struct { Floats bool inner string } func main() { i1 := it{Floats: true} if i1.floats { // ERROR "(type it .* field or method floats, but does have field Floats)|undefined field or method" }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 07 16:41:56 UTC 2024 - 615 bytes - Viewed (0) -
src/cmd/cgo/internal/testplugin/testdata/issue22175/plugin1.go
// 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. package main import "plugin" func F() int { p2, err := plugin.Open("issue22175_plugin2.so") if err != nil { panic(err) } g, err := p2.Lookup("G") if err != nil { panic(err) } return g.(func() int)() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 390 bytes - Viewed (0) -
test/fixedbugs/issue7525d.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. // Issue 7525: self-referential array types. package main import "unsafe" var x struct { // GC_ERROR "initialization cycle: x refers to itself" b [unsafe.Offsetof(x.b)]int // GCCGO_ERROR "array bound|typechecking loop|invalid array"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 29 14:21:33 UTC 2022 - 414 bytes - Viewed (0)