Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 2,434 for 2014 (0.03 sec)

  1. 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)
  2. 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)
  3. 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)
  4. test/fixedbugs/issue8028.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.
    
    // Issue 8028. Used to fail in -race mode with "non-orig name" error.
    
    package p
    
    var (
    	t2 = T{F, "s1"}
    	t1 = T{F, "s2"}
    
    	tt = [...]T{t1, t2}
    )
    
    type I interface{}
    
    type T struct {
    	F func() I
    	S string
    }
    
    type E struct{}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 426 bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/testgodefs/testdata/main.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 main
    
    import (
    	"fmt"
    	"os"
    	"reflect"
    )
    
    // Test that the struct field in anonunion.go was promoted.
    var v1 T
    var v2 = v1.L
    
    // Test that P, Q, and R all point to byte.
    var v3 = Issue8478{P: (*byte)(nil), Q: (**byte)(nil), R: (***byte)(nil)}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  6. src/runtime/internal/sys/consts.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 sys
    
    import (
    	"internal/goarch"
    	"internal/goos"
    )
    
    // AIX requires a larger stack for syscalls.
    // The race build also needs more stack. See issue 54291.
    // This arithmetic must match that in cmd/internal/objabi/stack.go:stackGuardMultiplier.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 16:26:25 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  7. src/runtime/memclr_plan9_amd64.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.
    
    #include "textflag.h"
    
    // See memclrNoHeapPointers Go doc for important implementation constraints.
    
    // func memclrNoHeapPointers(ptr unsafe.Pointer, n uintptr)
    TEXT runtime·memclrNoHeapPointers(SB),NOSPLIT,$0-16
    	MOVQ	ptr+0(FP), DI
    	MOVQ	n+8(FP), CX
    	MOVQ	CX, BX
    	ANDQ	$7, BX
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 29 19:11:07 UTC 2021
    - 511 bytes
    - Viewed (0)
  8. test/fixedbugs/issue8047.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.  Stack copier shouldn't crash if there
    // is a nil defer.
    
    package main
    
    func stackit(n int) {
    	if n == 0 {
    		return
    	}
    	stackit(n - 1)
    }
    
    func main() {
    	defer func() {
    		// catch & ignore panic from nil defer below
    		err := recover()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 530 bytes
    - Viewed (0)
  9. src/syscall/asm_linux_ppc64x.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 linux && (ppc64 || ppc64le)
    
    #include "textflag.h"
    
    //
    // System calls for ppc64, Linux
    //
    
    // func rawVforkSyscall(trap, a1, a2, a3 uintptr) (r1, err uintptr)
    TEXT ·rawVforkSyscall(SB),NOSPLIT|NOFRAME,$0-48
    	MOVD	a1+8(FP), R3
    	MOVD	a2+16(FP), R4
    	MOVD	a3+24(FP), R5
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:11:15 UTC 2023
    - 913 bytes
    - Viewed (0)
  10. test/clearfat.go

    // runoutput
    
    // 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 that {5,6,8,9}g/ggen.c:clearfat is zeroing the entire object.
    
    package main
    
    import (
    	"bytes"
    	"fmt"
    	"strconv"
    	"strings"
    )
    
    const ntest = 1100
    
    func main() {
    	var decls, calls bytes.Buffer
    
    	for i := 1; i <= ntest; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 31 15:08:27 UTC 2014
    - 1.1K bytes
    - Viewed (0)
Back to top