Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,219 for 2014 (0.05 sec)

  1. test/fixedbugs/issue6703l.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 call.
    
    package methcall
    
    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)
  2. test/fixedbugs/issue6703t.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 call of a pointer method expression.
    
    package ptrmethexprcall
    
    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
    - 391 bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top