Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 2,434 for 2014 (0.04 sec)

  1. test/fixedbugs/issue7995.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.
    
    // Issue 7995: globals not flushed quickly enough.
    
    package main
    
    import "fmt"
    
    var (
    	p = 1
    	q = &p
    )
    
    func main() {
    	p = 50
    	*q = 100
    	s := fmt.Sprintln(p, *q)
    	if s != "100 100\n" {
    		println("BUG:", s)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 379 bytes
    - Viewed (0)
  2. test/fixedbugs/issue9432.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.
    
    // gc used to recurse infinitely when dowidth is applied
    // to a broken recursive type again.
    // See golang.org/issue/9432.
    package p
    
    type foo struct { // ERROR "invalid recursive type|cycle"
    	bar  foo
    	blah foo
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 04 21:22:23 UTC 2020
    - 390 bytes
    - Viewed (0)
  3. test/fixedbugs/issue6703v.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 call.
    
    package ptrlitmethcall
    
    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)
  4. test/fixedbugs/issue7366.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 7366: generates a temporary with ideal type
    // during comparison of small structs.
    
    package main
    
    type T struct {
    	data [10]byte
    }
    
    func main() {
    	var a T
    	var b T
    	if a == b {
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 363 bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/issue8828/issue8828.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.
    
    void foo()
    {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 175 bytes
    - Viewed (0)
  6. src/runtime/sys_ppc64x.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 ppc64 || ppc64le
    
    package runtime
    
    import "unsafe"
    
    // adjust Gobuf as if it executed a call to fn with context ctxt
    // and then did an immediate Gosave.
    func gostartcall(buf *gobuf, fn, ctxt unsafe.Pointer) {
    	if buf.lr != 0 {
    		throw("invalid use of gostartcall")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 532 bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/text/internal/language/coverage.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 language
    
    // BaseLanguages returns the list of all supported base languages. It generates
    // the list by traversing the internal structures.
    func BaseLanguages() []Language {
    	base := make([]Language, 0, NumLanguages)
    	for i := 0; i < langNoIndexOffset; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 730 bytes
    - Viewed (0)
  8. test/fixedbugs/issue7944.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.
    
    // Issue 7944:
    // Liveness bitmaps said b was live at call to g,
    // but no one told the register optimizer.
    
    package main
    
    import "runtime"
    
    func f(b []byte) {
    	for len(b) > 0 {
    		n := len(b)
    		n = f1(n)
    		f2(b[n:])
    		b = b[n:]
    	}
    	g()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 558 bytes
    - Viewed (0)
  9. test/fixedbugs/issue8060.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
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 15 16:24:16 UTC 2014
    - 198 bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/test/issue9400/asm_amd64x.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.
    
    //go:build (amd64 || amd64p32) && gc
    
    #include "textflag.h"
    
    TEXT ·RewindAndSetgid(SB),NOSPLIT,$0-0
    	// Rewind stack pointer so anything that happens on the stack
    	// will clobber the test pattern created by the caller
    	ADDQ	$(1024 * 8), SP
    
    	// Ask signaller to setgid
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 589 bytes
    - Viewed (0)
Back to top