Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for mishandled (0.13 sec)

  1. src/cmd/compile/internal/test/shift_test.go

    		t.Errorf("shift overflow mishandled")
    	}
    	if one16>>N>>N == 1 {
    		t.Errorf("shift overflow mishandled")
    	}
    	if one16u>>N>>N == 1 {
    		t.Errorf("shift overflow mishandled")
    	}
    	if one8<<N<<N == 1 {
    		t.Errorf("shift overflow mishandled")
    	}
    	if one8>>N>>N == 1 {
    		t.Errorf("shift overflow mishandled")
    	}
    	if one8u>>N>>N == 1 {
    		t.Errorf("shift overflow mishandled")
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 22:26:39 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  2. test/fixedbugs/issue19710.go

    // run
    
    // Copyright 2017 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 19710: mishandled defer delete(...)
    
    package main
    
    func main() {
    	if n := len(f()); n != 0 {
    		println("got", n, "want 0")
    		panic("bad defer delete")
    	}
    }
    
    func f() map[int]bool {
    	m := map[int]bool{}
    	for i := 0; i < 3; i++ {
    		m[i] = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 15 19:15:01 UTC 2017
    - 455 bytes
    - Viewed (0)
  3. test/fixedbugs/bug511.go

    // compiledir
    
    // Copyright 2021 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.
    
    // Gccgo mishandled type aliases as receiver types.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 25 15:24:25 UTC 2021
    - 244 bytes
    - Viewed (0)
  4. test/fixedbugs/bug480.go

    // compiledir
    
    // Copyright 2013 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.
    
    // Gccgo mishandled an import of a forward declared type.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 250 bytes
    - Viewed (0)
  5. test/fixedbugs/issue38125.go

    // compile
    
    // Copyright 2020 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.
    
    // gccgo mishandled embedded methods of type aliases.
    
    package p
    
    type I int
    
    func (I) M() {}
    
    type T = struct {
    	I
    }
    
    func F() {
    	_ = T.M
    	_ = struct { I }.M
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 28 23:43:22 UTC 2020
    - 333 bytes
    - Viewed (0)
  6. test/fixedbugs/issue26120.go

    // Copyright 2018 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 26120: INDEX of 1-element but non-SSAable array
    // is mishandled when building SSA.
    
    package p
    
    type T [1]struct {
    	f    []int
    	i, j int
    }
    
    func F() {
    	var v T
    	f := func() T {
    		return v
    	}
    	_ = []int{}[f()[0].i]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 29 12:05:05 UTC 2018
    - 397 bytes
    - Viewed (0)
  7. test/fixedbugs/bug507.go

    // compiledir
    
    // Copyright 2020 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.
    
    // Gccgo mishandled a combination of normal import and dot import.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 22 04:31:41 UTC 2020
    - 259 bytes
    - Viewed (0)
  8. test/fixedbugs/bug504.go

    // compiledir
    
    // Copyright 2017 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.
    
    // Gccgo mishandled a reference to a type alias in a package that was
    // not directly imported.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 19:02:09 UTC 2017
    - 288 bytes
    - Viewed (0)
  9. test/fixedbugs/issue26335.go

    // run
    
    // Copyright 2018 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.
    
    // gccgo mishandled passing a struct with an empty field through
    // reflect.Value.Call.
    
    package main
    
    import (
    	"reflect"
    )
    
    type Empty struct {
    	f1, f2 *byte
    	empty struct{}
    }
    
    func F(e Empty, s []string) {
    	if len(s) != 1 || s[0] != "hi" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 11 18:14:35 UTC 2018
    - 563 bytes
    - Viewed (0)
  10. src/mime/mediatype_test.go

    		// at least when the source page is served with UTF-8.
    		{`form-data; firstname="Брэд"; lastname="Фицпатрик"`,
    			"form-data",
    			m("firstname", "Брэд", "lastname", "Фицпатрик")},
    
    		// Empty string used to be mishandled.
    		{`foo; bar=""`, "foo", m("bar", "")},
    
    		// Microsoft browsers in intranet mode do not think they need to escape \ in file name.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 26 17:58:37 UTC 2022
    - 18.1K bytes
    - Viewed (0)
Back to top