Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,451 for 2014 (0.03 sec)

  1. src/cmd/cgo/internal/test/issue8828/trivial.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 issue8828
    
    //void foo();
    import "C"
    
    func Bar() {
    	C.foo()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:34:11 UTC 2023
    - 229 bytes
    - Viewed (0)
  2. test/fixedbugs/issue6572.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.
    
    package main
    
    func foo() (T, T) { // ERROR "undefined"
    	return 0, 0
    }
    
    func bar() (T, string, T) { // ERROR "undefined"
    	return 0, "", 0
    }
    
    func main() {
    	var x, y, z int
    	x, y = foo()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 12 23:07:01 UTC 2021
    - 452 bytes
    - Viewed (0)
  3. test/fixedbugs/issue6703m.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 a value returned from a function call.
    
    package funcmethvalue
    
    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)
  4. test/fixedbugs/issue6703y.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 a pointer value returned
    // from a function call.
    
    package funcptrmethvalue
    
    type T int
    
    func (*T) pm() int {
    	_ = x
    	return 0
    }
    
    func pf() *T {
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 23 20:27:09 UTC 2022
    - 447 bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/backdoor.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 cgotest
    
    import _ "unsafe"
    
    //go:linkname lockedOSThread runtime.lockedOSThread
    //extern runtime_lockedOSThread
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 307 bytes
    - Viewed (0)
  6. src/runtime/cputicks.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 !arm && !arm64 && !mips64 && !mips64le && !mips && !mipsle && !wasm
    
    package runtime
    
    // careful: cputicks is not guaranteed to be monotonic! In particular, we have
    // noticed drift between cpus on certain os/arch combinations. See issue 8976.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 10 12:47:42 UTC 2023
    - 437 bytes
    - Viewed (0)
  7. test/fixedbugs/issue6703h.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 when calling an embedded method expression.
    
    package embedmethexprcall
    
    type T int
    
    func (T) m() int {
    	_ = x
    	return 0
    }
    
    type E struct{ T }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 23 20:27:09 UTC 2022
    - 409 bytes
    - Viewed (0)
  8. test/fixedbugs/issue6703o.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 an embedded struct's method value.
    
    package embedmethvalue
    
    type T int
    
    func (T) m() int {
    	_ = x
    	return 0
    }
    
    type E struct{ T }
    
    var (
    	e E
    	x = e.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
    - 404 bytes
    - Viewed (0)
  9. src/path/filepath/symlink_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 !windows && !plan9
    
    package filepath
    
    func evalSymlinks(path string) (string, error) {
    	return walkSymlinks(path)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 14:05:53 UTC 2022
    - 287 bytes
    - Viewed (0)
  10. src/internal/syscall/unix/sysnum_linux_386.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 = 355
    	copyFileRangeTrap   uintptr = 377
    	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)
Back to top