Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,444 for 2014 (0.08 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/cmd/vendor/golang.org/x/sys/unix/fcntl_linux_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 (linux && 386) || (linux && arm) || (linux && mips) || (linux && mipsle) || (linux && ppc)
    
    package unix
    
    func init() {
    	// On 32-bit Linux systems, the fcntl syscall that matches Go's
    	// Flock_t type is SYS_FCNTL64, not SYS_FCNTL.
    	fcntl64Syscall = SYS_FCNTL64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 436 bytes
    - Viewed (0)
  5. src/runtime/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.
    
    #include "textflag.h"
    
    #ifndef GOARCH_amd64
    TEXT ·sigpanic0(SB),NOSPLIT,$0-0
    	JMP	·sigpanic<ABIInternal>(SB)
    #endif
    
    // See map.go comment on the need for this routine.
    TEXT ·mapinitnoop<ABIInternal>(SB),NOSPLIT,$0-0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 21:49:14 UTC 2024
    - 386 bytes
    - Viewed (0)
  6. test/fixedbugs/issue6703v.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 a pointer literal's method call.
    
    package ptrlitmethcall
    
    type T int
    
    func (*T) pm() int {
    	_ = x
    	return 0
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 23 20:27:09 UTC 2022
    - 384 bytes
    - Viewed (0)
  7. 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)
  8. test/fixedbugs/issue6703n.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 call of a value returned from a function call.
    
    package funcmethcall
    
    type T int
    
    func (T) m() int {
    	_ = x
    	return 0
    }
    
    func f() T {
    	return T(0)
    }
    
    var (
    	t T
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 23 20:27:09 UTC 2022
    - 437 bytes
    - Viewed (0)
  9. test/fixedbugs/issue6703r.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 call of an embedded struct returned
    // from a function call.
    
    package funcembedmethcall
    
    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/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)
Back to top