Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,451 for 2014 (0.03 sec)

  1. src/runtime/sys_ppc64x.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 ppc64 || ppc64le
    
    package runtime
    
    import "unsafe"
    
    // adjust Gobuf as if it executed a call to fn with context ctxt
    // and then did an immediate Gosave.
    func gostartcall(buf *gobuf, fn, ctxt unsafe.Pointer) {
    	if buf.lr != 0 {
    		throw("invalid use of gostartcall")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 532 bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/text/internal/language/coverage.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 language
    
    // BaseLanguages returns the list of all supported base languages. It generates
    // the list by traversing the internal structures.
    func BaseLanguages() []Language {
    	base := make([]Language, 0, NumLanguages)
    	for i := 0; i < langNoIndexOffset; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 730 bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. src/cmd/cgo/internal/test/issue6997_linux.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 !android
    
    #include <pthread.h>
    #include <stdio.h>
    #include <unistd.h>
    
    static pthread_t thread;
    
    static void* threadfunc(void* dummy) {
    	while(1) {
    		sleep(1);
    	}
    }
    
    int StartThread() {
    	return pthread_create(&thread, NULL, &threadfunc, NULL);
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 536 bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/test/issue9400/stubs.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 linux && gc
    
    package issue9400
    
    var Baton int32
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 243 bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/testshared/testdata/depBase/asm.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 gc
    
    #include "textflag.h"
    
    TEXT ·ImplementedInAsm(SB),NOSPLIT,$0-0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 250 bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/issue9400/asm_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 (ppc64 || ppc64le) && gc
    
    #include "textflag.h"
    
    TEXT ·RewindAndSetgid(SB),NOSPLIT|NOFRAME,$0-0
    	// Rewind stack pointer so anything that happens on the stack
    	// will clobber the test pattern created by the caller
    	ADD	$(1024 * 8), R1
    
    	// Ask signaller to setgid
    	MOVW	$1, R3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 668 bytes
    - Viewed (0)
  10. src/runtime/race/race_unix_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.
    
    //go:build race && (darwin || freebsd || linux)
    
    package race_test
    
    import (
    	"sync/atomic"
    	"syscall"
    	"testing"
    	"unsafe"
    )
    
    // Test that race detector does not crash when accessing non-Go allocated memory (issue 9136).
    func TestNonGoMemory(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 09 15:36:26 UTC 2022
    - 762 bytes
    - Viewed (0)
Back to top