Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 2,434 for 2014 (0.03 sec)

  1. test/fixedbugs/issue6703u.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 value.
    
    package ptrlitmethvalue
    
    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)
  2. test/fixedbugs/issue6703w.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 value's method value.
    
    package ptrmethvalue
    
    type T int
    
    func (*T) pm() int {
    	_ = x
    	return 0
    }
    
    var (
    	p *T
    	x = p.pm // 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
    - 382 bytes
    - Viewed (0)
  3. test/fixedbugs/issue6703a.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 function value.
    
    package funcvalue
    
    func fx() int {
    	_ = x
    	return 0
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 23 20:27:09 UTC 2022
    - 335 bytes
    - Viewed (0)
  4. src/runtime/typekind.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
    
    import "internal/abi"
    
    // isDirectIface reports whether t is stored directly in an interface value.
    func isDirectIface(t *_type) bool {
    	return t.Kind_&abi.KindDirectIface != 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 356 bytes
    - Viewed (0)
  5. test/fixedbugs/issue8311.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 8311.
    // error for x++ should say x++ not x += 1
    
    package p
    
    func f() {
    	var x []byte
    	x++ // ERROR "invalid operation: x[+][+]|non-numeric type"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 15 02:35:59 UTC 2020
    - 333 bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/issue8517_windows.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.
    
    #include "windows.h"
    
    extern void testHandleLeaksCallback();
    
    DWORD WINAPI testHandleLeaksFunc(LPVOID lpThreadParameter)
    {
    	int i;
    	for(i = 0; i < 100; i++) {
    		testHandleLeaksCallback();
    	}
    	return 0;
    }
    
    void testHandleLeaks()
    {
    	HANDLE h;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 517 bytes
    - Viewed (0)
  7. src/cmd/pprof/doc.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.
    
    // Pprof interprets and displays profiles of Go programs.
    //
    // Basic usage:
    //
    //	go tool pprof binary profile
    //
    // For detailed usage information:
    //
    //	go tool pprof -h
    //
    // For an example, see https://blog.golang.org/profiling-go-programs.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 19 15:49:05 UTC 2022
    - 419 bytes
    - Viewed (0)
  8. test/fixedbugs/issue6703i.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 literal's method value.
    
    package embedlitmethvalue
    
    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
    - 407 bytes
    - Viewed (0)
  9. test/fixedbugs/issue6703p.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 call.
    
    package embedmethcall
    
    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. test/fixedbugs/issue8501.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 p
    
    type T struct {
    	f float64
    }
    
    var t T
    
    func F() {
    	_ = complex(1.0) // ERROR "invalid operation|not enough arguments"
    	_ = complex(t.f) // ERROR "invalid operation|not enough arguments"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 02 02:52:56 UTC 2015
    - 374 bytes
    - Viewed (0)
Back to top