Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 2,434 for 2014 (0.03 sec)

  1. src/runtime/export_windows_test.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.
    
    // Export guts for testing.
    
    package runtime
    
    import "unsafe"
    
    const MaxArgs = maxArgs
    
    var (
    	OsYield                 = osyield
    	TimeBeginPeriodRetValue = &timeBeginPeriodRetValue
    )
    
    func NumberOfProcessors() int32 {
    	var info systeminfo
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 17:25:00 UTC 2024
    - 759 bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. test/fixedbugs/issue6671.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 6671: Logical operators should produce untyped bool for untyped operands.
    
    package p
    
    type mybool bool
    
    func _(x, y int) {
    	type mybool bool
    	var b mybool
    	_ = b
    	b = bool(true)             // ERROR "cannot use"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 1K bytes
    - Viewed (0)
  5. src/syscall/route_freebsd_32bit.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 && 386) || (freebsd && arm)
    
    package syscall
    
    import "unsafe"
    
    func (any *anyMessage) parseRouteMessage(b []byte) *RouteMessage {
    	p := (*RouteMessage)(unsafe.Pointer(any))
    	off := int(unsafe.Offsetof(p.Header.Rmx)) + SizeofRtMetrics
    	if freebsdConfArch == "amd64" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 15:46:41 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  6. test/fixedbugs/issue8036.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 8036. Stores necessary for stack scan being eliminated as redundant by optimizer.
    
    package main
    
    import "runtime"
    
    type T struct {
    	X *int
    	Y *int
    	Z *int
    }
    
    type TI [3]uintptr
    
    //go:noinline
    func G() (t TI) {
    	t[0] = 1
    	t[1] = 2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 633 bytes
    - Viewed (0)
  7. test/fixedbugs/issue7675.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 7675: fewer errors for wrong argument count
    
    package p
    
    func f(string, int, float64, string)
    
    func g(string, int, float64, ...string)
    
    func main() {
    	f(1, 0.5, "hello") // ERROR "not enough arguments|incompatible type"
    	f("1", 2, 3.1, "4")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 15 02:35:59 UTC 2020
    - 785 bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/test/issue8828/issue8828.c

    // 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.
    
    void foo()
    {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 175 bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/issue8517_windows.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 cgotest
    
    //void testHandleLeaks();
    import "C"
    
    import (
    	"syscall"
    	"testing"
    	"unsafe"
    )
    
    var issue8517counter int
    
    var (
    	kernel32              = syscall.MustLoadDLL("kernel32.dll")
    	getProcessHandleCount = kernel32.MustFindProc("GetProcessHandleCount")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 990 bytes
    - Viewed (0)
  10. test/fixedbugs/issue7997.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.
    
    // /tmp/x.go:3: internal error: f &p (type *int) recorded as live on entry
    
    package p
    
    func f(ch chan int) *int {
    	select {
    	case p1x := <-ch:
    		return &p1x
    	default:
    		// ok
    	}
    	select {
    	case p1 := <-ch:
    		return &p1
    	default:
    		// ok
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 732 bytes
    - Viewed (0)
Back to top