Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,444 for 2014 (0.07 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. 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)
  5. 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)
  6. 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)
  7. src/runtime/cgo/gcc_fatalf.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.
    
    //go:build aix || (!android && linux) || dragonfly || freebsd || netbsd || openbsd || solaris
    
    #include <stdarg.h>
    #include <stdio.h>
    #include <stdlib.h>
    #include "libcgo.h"
    
    void
    fatalf(const char* format, ...)
    {
    	va_list ap;
    
    	fprintf(stderr, "runtime/cgo: ");
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 14:57:16 UTC 2023
    - 526 bytes
    - Viewed (0)
  8. src/runtime/rdebug.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 runtime
    
    import _ "unsafe" // for go:linkname
    
    //go:linkname setMaxStack runtime/debug.setMaxStack
    func setMaxStack(in int) (out int) {
    	out = int(maxstacksize)
    	maxstacksize = uintptr(in)
    	return out
    }
    
    //go:linkname setPanicOnFault runtime/debug.setPanicOnFault
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 02 18:52:03 UTC 2022
    - 550 bytes
    - Viewed (0)
  9. test/fixedbugs/issue6703q.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 an embedded struct returned
    // from a function call.
    
    package funcembedmethvalue
    
    type T int
    
    func (T) m() int {
    	_ = x
    	return 0
    }
    
    func g() E {
    	return E{0}
    }
    
    type E struct{ T }
    
    var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 23 20:27:09 UTC 2022
    - 477 bytes
    - Viewed (0)
  10. 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)
Back to top