Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 2,434 for 2014 (0.06 sec)

  1. test/fixedbugs/issue6703e.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.
    
    // Check for cycles in the method value of a value literal.
    
    package litmethvalue
    
    type T int
    
    func (T) m() int {
    	_ = x
    	return 0
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 23 20:27:09 UTC 2022
    - 376 bytes
    - Viewed (0)
  2. test/fixedbugs/issue6703g.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.
    
    // Check for cycles in an embedded method expression.
    
    package embedmethexpr
    
    type T int
    
    func (T) m() int {
    	_ = x
    	return 0
    }
    
    type E struct{ T }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 23 20:27:09 UTC 2022
    - 389 bytes
    - Viewed (0)
  3. test/fixedbugs/issue7525.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 7525: self-referential array types.
    
    package main
    
    import "unsafe"
    
    var x struct { // GC_ERROR "initialization cycle: x refers to itself"
    	a [unsafe.Sizeof(x.a)]int // GCCGO_ERROR "array bound|typechecking loop|invalid expression"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 29 14:21:33 UTC 2022
    - 417 bytes
    - Viewed (0)
  4. test/gcstring.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.
    
    // Test that s[len(s):] - which can point past the end of the allocated block -
    // does not confuse the garbage collector.
    
    package main
    
    import (
    	"runtime"
    	"time"
    )
    
    type T struct {
    	ptr **int
    	pad [120]byte
    }
    
    var things []interface{}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 872 bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/issue9400/gccgo.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 gccgo
    
    package issue9400
    
    import (
    	"runtime"
    	"sync/atomic"
    )
    
    // The test for the gc compiler resets the stack pointer so that the
    // stack gets modified.  We don't have a way to do that for gccgo
    // without writing more assembly code, which we haven't bothered to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 612 bytes
    - Viewed (0)
  6. src/syscall/route_freebsd_64bit.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 (freebsd && amd64) || (freebsd && arm64) || (freebsd && riscv64)
    
    package syscall
    
    import "unsafe"
    
    func (any *anyMessage) parseRouteMessage(b []byte) *RouteMessage {
    	p := (*RouteMessage)(unsafe.Pointer(any))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 29 22:39:46 UTC 2022
    - 762 bytes
    - Viewed (0)
  7. src/debug/plan9obj/plan9obj.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.
    
    /*
     * Plan 9 a.out constants and data structures
     */
    
    package plan9obj
    
    // Plan 9 Program header.
    type prog struct {
    	Magic uint32 /* magic number */
    	Text  uint32 /* size of text segment */
    	Data  uint32 /* size of initialized data */
    	Bss   uint32 /* size of uninitialized data */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 23:34:33 UTC 2016
    - 863 bytes
    - Viewed (0)
  8. test/fixedbugs/gcc61204.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.
    
    // PR61204: Making temporaries for zero-sized types caused an ICE in gccgo.
    // This is a reduction of a program reported by GoSmith.
    
    package main
    
    func main() {
    	type t [0]int
    	var v t
    	v, _ = [0]int{}, 0
    	_ = v
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 387 bytes
    - Viewed (0)
  9. test/fixedbugs/issue6703j.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.
    
    // Check for cycles in an embedded struct literal's method call.
    
    package embedlitmethcall
    
    type T int
    
    func (T) m() int {
    	_ = x
    	return 0
    }
    
    type E struct{ T }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 23 20:27:09 UTC 2022
    - 406 bytes
    - Viewed (0)
  10. test/fixedbugs/issue7419.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 7419: odd behavior for float constants underflowing to 0
    
    package main
    
    import (
    	"os"
    )
    
    var x = 1e-779137
    var y = 1e-779138
    
    func main() {
    	if x != 0 {
    		os.Exit(1)
    	}
    	if y != 0 {
    		os.Exit(2)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 19 04:48:00 UTC 2014
    - 378 bytes
    - Viewed (0)
Back to top