Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,220 for 2014 (0.03 sec)

  1. src/cmd/go/testdata/script/generate.txt

    }
    -- generate/simple.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.
    
    // Simple test for go generate.
    
    // We include a build tag that go generate should ignore.
    
    // +build ignore
    
    //go:generate echo Success
    
    package p
    -- generate/alias.go --
    // Copyright 2014 The Go Authors. All rights reserved.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 17 03:24:24 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  2. src/os/sticky_notbsd.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 && !netbsd && !openbsd && !solaris && !wasip1
    
    package os
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 07 23:34:21 UTC 2023
    - 320 bytes
    - Viewed (0)
  3. src/internal/syscall/unix/sysnum_linux_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 unix
    
    const (
    	getrandomTrap       uintptr = 359
    	copyFileRangeTrap   uintptr = 379
    	pidfdSendSignalTrap uintptr = 424
    	pidfdOpenTrap       uintptr = 434
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 01:23:00 UTC 2024
    - 353 bytes
    - Viewed (0)
  4. src/internal/syscall/unix/sysnum_linux_arm.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 unix
    
    const (
    	getrandomTrap       uintptr = 384
    	copyFileRangeTrap   uintptr = 391
    	pidfdSendSignalTrap uintptr = 424
    	pidfdOpenTrap       uintptr = 434
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 01:23:00 UTC 2024
    - 324 bytes
    - Viewed (0)
  5. test/fixedbugs/issue6703s.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 method expression.
    
    package ptrmethexpr
    
    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
    - 370 bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  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