Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,434 for 2014 (0.03 sec)

  1. test/fixedbugs/bug492.dir/a.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 a
    
    type s struct {
    	s string
    }
    
    func F1(s s) {
    }
    
    func F2() s {
    	return s{""}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 22 23:07:10 UTC 2014
    - 248 bytes
    - Viewed (0)
  2. src/runtime/os_linux_noauxv.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 linux && !arm && !arm64 && !loong64 && !mips && !mipsle && !mips64 && !mips64le && !s390x && !ppc64 && !ppc64le
    
    package runtime
    
    func archauxv(tag, val uintptr) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 20 15:12:31 UTC 2022
    - 337 bytes
    - Viewed (0)
  3. test/fixedbugs/gcc61255.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.
    
    // PR61255: gccgo failed to compile IncDec statements on variadic functions.
    
    package main
    
    func main() {
    	append([]byte{}, 0)[0]++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 306 bytes
    - Viewed (0)
  4. test/fixedbugs/issue7884.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
    
    import "fmt"
    
    func main() {
    	var ii interface{} = 5
    	zz, err := ii.(interface{})
    	fmt.Println(zz, err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 291 bytes
    - Viewed (0)
  5. test/fixedbugs/issue7996.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.
    
    // /tmp/x.go:5: illegal constant expression: bool == interface {}
    
    package p
    
    var m = map[interface{}]struct{}{
    	nil:  {},
    	true: {},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 308 bytes
    - Viewed (0)
  6. src/cmd/vet/testdata/shift/shift.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.
    
    // This file contains tests for the suspicious shift checker.
    
    package shift
    
    func ShiftTest() {
    	var i8 int8
    	_ = i8 << 7
    	_ = (i8 + 1) << 8 // ERROR ".i8 . 1. .8 bits. too small for shift of 8"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 20 15:46:42 UTC 2019
    - 358 bytes
    - Viewed (0)
  7. test/fixedbugs/gcc61273.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.
    
    // PR61273: gccgo failed to compile a SendStmt in the PostStmt of a ForClause
    // that involved predefined constants.
    
    package main
    
    func main() {
    	c := make(chan bool, 1)
    	for ; false; c <- false {
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 375 bytes
    - Viewed (0)
  8. test/fixedbugs/issue1304.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
    
    var a = 1
    
    func main() {
    	defer func() {
    		recover()
    		if a != 2 {
    			println("BUG a =", a)
    		}
    	}()
    	a = 2
    	b := a - a
    	c := 4
    	a = c / b
    	a = 3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 330 bytes
    - Viewed (0)
  9. 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)
  10. test/fixedbugs/issue7742.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.
    
    // Issue 7742: cannot use &autotmp_0001 (type *map[string]string) as type *string in function argument
    
    package main
    
    var (
    	m map[string]string
    	v string
    )
    
    func main() {
    	m[v], _ = v, v
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 11 13:28:37 UTC 2014
    - 362 bytes
    - Viewed (0)
Back to top