Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,434 for 2014 (0.04 sec)

  1. src/runtime/os_linux_novdso.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 && !amd64 && !arm && !arm64 && !loong64 && !mips64 && !mips64le && !ppc64 && !ppc64le && !riscv64 && !s390x
    
    package runtime
    
    func vdsoauxv(tag, val uintptr) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 19 19:32:35 UTC 2022
    - 347 bytes
    - Viewed (0)
  2. test/fixedbugs/issue6405.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 6405: spurious 'not enough arguments to return' error
    
    package p
    
    func Open() (int, error) {
    	return OpenFile() // ERROR "undefined: OpenFile"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 14 15:42:42 UTC 2014
    - 329 bytes
    - Viewed (0)
  3. test/fixedbugs/issue8073.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 8073.
    // was "internal compiler error: overflow: float64 integer constant"
    
    package main
    
    func main() {
    	var x int
    	_ = float64(x * 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 318 bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/testnocgo/nocgo_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.
    
    package nocgo
    
    import "testing"
    
    func TestNop(t *testing.T) {
    	i := NoCgo()
    	if i != 42 {
    		t.Errorf("got %d, want %d", i, 42)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 292 bytes
    - Viewed (0)
  5. src/runtime/os_darwin_arm64.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
    
    //go:nosplit
    func cputicks() int64 {
    	// runtime·nanotime() is a poor approximation of CPU ticks that is enough for the profiler.
    	return nanotime()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 329 bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/testso/testdata/so/cgoso_unix.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 aix || dragonfly || freebsd || linux || netbsd || solaris
    
    package cgosotest
    
    /*
    extern int __thread tlsvar;
    int *getTLS() { return &tlsvar; }
    */
    import "C"
    
    func init() {
    	if v := *C.getTLS(); v != 12345 {
    		println("got", v)
    		panic("BAD TLS value")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 01:37:41 UTC 2023
    - 428 bytes
    - Viewed (0)
  7. src/cmd/vet/testdata/bool/bool.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.
    
    // This file contains tests for the bool checker.
    
    package bool
    
    func _() {
    	var f, g func() int
    
    	if v, w := f(), g(); v == w || v == w { // ERROR "redundant or: v == w || v == w"
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 20 15:46:42 UTC 2019
    - 346 bytes
    - Viewed (0)
  8. src/os/sticky_bsd.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 aix || darwin || dragonfly || freebsd || (js && wasm) || netbsd || openbsd || solaris || wasip1
    
    package os
    
    // According to sticky(8), neither open(2) nor mkdir(2) will create
    // a file with the sticky bit set.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 07 23:34:21 UTC 2023
    - 425 bytes
    - Viewed (0)
  9. test/fixedbugs/issue7998.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:5: cannot use _ as value
    
    package p
    
    func f(ch chan int) bool {
    	select {
    	case _, ok := <-ch:
    		return ok
    	}
    	_, ok := <-ch
    	_ = ok
    	select {
    	case _, _ = <-ch:
    		return true
    	}
    	return false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 380 bytes
    - Viewed (0)
  10. test/fixedbugs/issue6703k.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 method value.
    
    package methvalue
    
    type T int
    
    func (T) m() int {
    	_ = x
    	return 0
    }
    
    var (
    	t T
    	x = t.m // ERROR "initialization cycle|depends upon itself"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 23 20:27:09 UTC 2022
    - 359 bytes
    - Viewed (0)
Back to top