Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 3,200 for 2047 (0.09 sec)

  1. test/fixedbugs/issue13265.go

    // errorcheck -0 -race
    
    //go:build (linux && amd64) || (linux && ppc64le) || (darwin && amd64) || (freebsd && amd64) || (netbsd && amd64) || (windows && amd64)
    
    // 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 13265: nil pointer deref.
    
    package p
    
    func f() {
        var c chan chan chan int
        for ; ; <-<-<-c {
        }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 438 bytes
    - Viewed (0)
  2. src/cmd/nm/nm_cgo_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.
    
    package main
    
    import (
    	"internal/testenv"
    	"testing"
    )
    
    func TestInternalLinkerCgoExec(t *testing.T) {
    	testenv.MustHaveCGO(t)
    	testenv.MustInternalLink(t, true)
    	testGoExec(t, true, false)
    }
    
    func TestExternalLinkerCgoExec(t *testing.T) {
    	testenv.MustHaveCGO(t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 02 16:34:21 UTC 2023
    - 533 bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testplugin/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)
  4. src/crypto/sha1/sha1block_arm64.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 !purego
    
    package sha1
    
    import "internal/cpu"
    
    var k = []uint32{
    	0x5A827999,
    	0x6ED9EBA1,
    	0x8F1BBCDC,
    	0xCA62C1D6,
    }
    
    //go:noescape
    func sha1block(h []uint32, p []byte, k []uint32)
    
    func block(dig *digest, p []byte) {
    	if !cpu.ARM64.HasSHA1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 490 bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/testerrors/testdata/long_double_size.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
    
    /*
    const int sizeofLongDouble = sizeof(long double);
    */
    import "C"
    
    import "fmt"
    
    func main() {
    	fmt.Println(C.sizeofLongDouble)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 305 bytes
    - Viewed (0)
  6. src/cmd/internal/notsha256/sha256block_amd64.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 !purego
    
    package notsha256
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 219 bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/testsanitizers/testdata/msan_shared.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.
    
    // This program segfaulted during libpreinit when built with -msan:
    // http://golang.org/issue/18707
    
    package main
    
    import "C"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 303 bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/testshared/testdata/iface_b/b.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_b
    
    import "testshared/iface_i"
    
    //go:noinline
    func F() interface{} {
    	return (*iface_i.T)(nil)
    }
    
    //go:noinline
    func G() iface_i.I {
    	return (*iface_i.T)(nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 335 bytes
    - Viewed (0)
  9. src/runtime/cgo/gcc_signal2_ios_arm64.c

    // 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 lldb
    
    // Used by gcc_signal_darwin_arm64.c when doing the test build during cgo.
    // We hope that for real binaries the definition provided by Go will take precedence
    // and the linker will drop this .o file altogether, which is why this definition
    // is all by itself in its own file.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 24 22:38:02 UTC 2023
    - 508 bytes
    - Viewed (0)
  10. test/fixedbugs/issue18747.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 p
    
    func _ () {
    	if {} // ERROR "missing condition in if statement"
    
    	if
    	{} // ERROR "missing condition in if statement"
    
    	if ; {} // ERROR "missing condition in if statement"
    
    	if foo; {} // ERROR "missing condition in if statement"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 01 22:37:04 UTC 2022
    - 575 bytes
    - Viewed (0)
Back to top