Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 2,434 for 2014 (0.04 sec)

  1. test/fixedbugs/issue6406.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.
    
    package main
    
    func main() {
    	s = "bob" // ERROR "undefined.*s"
    	_ = s // ERROR "undefined.*s"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 03 20:03:20 UTC 2014
    - 271 bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/issue9400/asm_amd64x.s

    // 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 (amd64 || amd64p32) && gc
    
    #include "textflag.h"
    
    TEXT ·RewindAndSetgid(SB),NOSPLIT,$0-0
    	// Rewind stack pointer so anything that happens on the stack
    	// will clobber the test pattern created by the caller
    	ADDQ	$(1024 * 8), SP
    
    	// Ask signaller to setgid
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 589 bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testnocgo/nocgo.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.
    
    // Test that -static works when not using cgo.  This test is in
    // misc/cgo to take advantage of the testing framework support for
    // when -static is expected to work.
    
    package nocgo
    
    func NoCgo() int {
    	c := make(chan int)
    
    	// The test is run with external linking, which means that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 574 bytes
    - Viewed (0)
  4. src/syscall/flock_linux.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.
    
    package syscall
    
    import "unsafe"
    
    // fcntl64Syscall is usually SYS_FCNTL, but is overridden on 32-bit Linux
    // systems by flock_linux_32bit.go to be SYS_FCNTL64.
    var fcntl64Syscall uintptr = SYS_FCNTL
    
    // FcntlFlock performs a fcntl syscall for the [F_GETLK], [F_SETLK] or [F_SETLKW] command.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 647 bytes
    - Viewed (0)
  5. test/fixedbugs/issue8047b.go

    // run
    
    // 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 8047. Defer setup during panic shouldn't crash for nil defer.
    
    package main
    
    func main() {
    	defer func() {
    		// This recover recovers the panic caused by the nil defer func
    		// g(). The original panic(1) was already aborted/replaced by this
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 04 16:32:38 UTC 2019
    - 575 bytes
    - Viewed (0)
  6. test/fixedbugs/issue8620.go

    // run
    
    // 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 8620. Used to fail with -race.
    
    package main
    
    func min(a, b int) int {
    	if a < b {
    		return a
    	}
    	return b
    }
    
    func test(s1, s2 []struct{}) {
    	n := min(len(s1), len(s2))
    	if copy(s1, s2) != n {
    		panic("bad copy result")
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 496 bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/test/issue8517.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 !windows
    
    package cgotest
    
    import "testing"
    
    func test8517(t *testing.T) {
    	t.Skip("skipping windows only test")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 286 bytes
    - Viewed (0)
  8. test/fixedbugs/issue8280.go

    // compiledir
    
    // 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 8280: cannot import package exporting a func var returning a result named _
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 24 20:53:34 UTC 2014
    - 277 bytes
    - Viewed (0)
  9. test/fixedbugs/issue7538a.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.
    
    // Issue 7538: blank (_) labels handled incorrectly
    
    package p
    
    func f() {
    _:
    _:
    	goto _ // ERROR "not defined|undefined label"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 15 02:35:59 UTC 2020
    - 305 bytes
    - Viewed (0)
  10. test/fixedbugs/gcc61254.go

    // compile
    
    // 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.
    
    // PR61254: gccgo failed to compile a slice expression with missing indices.
    
    package main
    
    func main() {
    	[][]int{}[:][0][0]++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 302 bytes
    - Viewed (0)
Back to top