Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 2,434 for 2014 (0.04 sec)

  1. test/fixedbugs/issue7538a.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 7538: blank (_) labels handled incorrectly
    
    package p
    
    func f() {
    _:
    _:
    	goto _ // ERROR "not defined|undefined label"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 15 02:35:59 UTC 2020
    - 305 bytes
    - Viewed (0)
  2. test/nilptr4.go

    // build
    
    // 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.
    
    // Test that the compiler does not crash during compilation.
    
    package main
    
    import "unsafe"
    
    // Issue 7413
    func f1() {
    	type t struct {
    		i int
    	}
    
    	var v *t
    	_ = int(uintptr(unsafe.Pointer(&v.i)))
    	_ = int32(uintptr(unsafe.Pointer(&v.i)))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 428 bytes
    - Viewed (0)
  3. test/fixedbugs/issue6403.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 6403: fix spurious 'const initializer is not a constant' error
    
    package p
    
    import "syscall"
    
    const A int = syscall.X // ERROR "undefined: syscall.X|undefined identifier .*syscall.X"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 15 02:35:59 UTC 2020
    - 445 bytes
    - Viewed (0)
  4. test/fixedbugs/issue7153.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 7153: array invalid index error duplicated on successive bad values
    
    package p
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 23 05:11:09 UTC 2021
    - 434 bytes
    - Viewed (0)
  5. test/fixedbugs/issue8347.go

    // run
    
    // 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 main() {
    	c := make(chan bool, 1)
    	ok := true
    	for i := 0; i < 12; i++ {
    		select {
    		case _, ok = <-c:
    			if i < 10 && !ok {
    				panic("BUG")
    			}
    		default:
    		}
    		if i < 10 && !ok {
    			panic("BUG")
    		}
    		if i >= 10 && ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 433 bytes
    - Viewed (0)
  6. test/fixedbugs/gcc61254.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.
    
    // PR61254: gccgo failed to compile a slice expression with missing indices.
    
    package main
    
    func main() {
    	[][]int{}[:][0][0]++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 302 bytes
    - Viewed (0)
  7. src/runtime/rt0_solaris_amd64.s

    // 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 "textflag.h"
    
    TEXT _rt0_amd64_solaris(SB),NOSPLIT,$-8
    	JMP	_rt0_amd64(SB)
    
    TEXT _rt0_amd64_solaris_lib(SB),NOSPLIT,$0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 11 21:12:51 UTC 2017
    - 311 bytes
    - Viewed (0)
  8. test/fixedbugs/issue8017.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.
    
    // Issues 8017 and 8058: walk modifies nodes generated
    // by slicelit and causes an internal error afterwards
    // when gen_as_init parses it back.
    
    package main
    
    func F() {
    	var ch chan int
    	select {
    	case <-ch:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 540 bytes
    - Viewed (0)
  9. test/fixedbugs/issue9321.go

    // run
    
    // 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
    
    import (
    	"bytes"
    	"runtime"
    	"runtime/pprof"
    	"sync"
    )
    
    func test() {
    	var wg sync.WaitGroup
    	wg.Add(2)
    	test := func() {
    		for i := 0; i < 10; i++ {
    			buf := &bytes.Buffer{}
    			pprof.Lookup("goroutine").WriteTo(buf, 2)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 538 bytes
    - Viewed (0)
  10. test/fixedbugs/issue7547.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.
    
    package main
    
    func f() map[string]interface{} {
    	var p *map[string]map[string]interface{}
    	_ = p
    	return nil
    }
    
    func main() {
    	f()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 04 19:58:19 UTC 2014
    - 305 bytes
    - Viewed (0)
Back to top