Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for bug0a (0.04 sec)

  1. test/fixedbugs/bug106.dir/bug1.go

    // Copyright 2009 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 bug1
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 193 bytes
    - Viewed (0)
  2. test/fixedbugs/bug248.dir/bug3.go

    	// meaning that reflect data for v0, v1 didn't get confused.
    
    	// path is full (rooted) path name.  check suffix for gc, prefix for gccgo
    	if s := reflect.TypeOf(v0).PkgPath(); !strings.HasSuffix(s, "/bug0") && !strings.HasPrefix(s, "bug0") {
    		println("bad v0 path", len(s), s)
    		panic("fail")
    	}
    	if s := reflect.TypeOf(v1).PkgPath(); !strings.HasSuffix(s, "/bug1") && !strings.HasPrefix(s, "bug1") {
    		println("bad v1 path", s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 26 15:20:42 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  3. test/fixedbugs/bug000.go

    // license that can be found in the LICENSE file.
    
    package main
    
    func main() {
    	var x int;
    	switch x {
    	case 0:
    		{}
    	case 1:
    		x = 0;
    	}
    }
    /*
    bug0.go:8: case statement out of place
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:48:57 UTC 2012
    - 302 bytes
    - Viewed (0)
  4. test/fixedbugs/bug248.go

    //go:build !nacl && !js && !plan9
    
    // Copyright 2009 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 ignored
    
    // Compile: bug0.go, bug1.go
    // Compile and errorCheck: bug2.go
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 328 bytes
    - Viewed (0)
  5. src/go/doc/testdata/a0.go

    // Copyright 2012 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.
    
    // comment 0
    package a
    
    //BUG(uid): bug0
    
    //TODO(uid): todo0
    
    // A note with some spaces after it, should be ignored (watch out for
    // emacs modes that remove trailing whitespace).
    //NOTE(uid):
    
    // SECBUG(uid): sec hole 0
    // need to fix asap
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 1.1K bytes
    - Viewed (0)
  6. src/encoding/json/encode_test.go

    	}
    }
    
    // There are no tags here, so S should not appear.
    type BugZ struct {
    	BugA
    	BugC
    	BugY // Contains a tagged S field through BugD; should not dominate.
    }
    
    func TestDuplicatedFieldDisappears(t *testing.T) {
    	v := BugZ{
    		BugA{"BugA"},
    		BugC{"BugC"},
    		BugY{
    			BugA{"nested BugA"},
    			BugD{"nested BugD"},
    		},
    	}
    	b, err := Marshal(v)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  7. src/html/template/exec_test.go

    	// Nil interface values in if.
    	{"bug4", "{{if .Empty0}}non-nil{{else}}nil{{end}}", "nil", tVal, true},
    	// Stringer.
    	{"bug5", "{{.Str}}", "foozle", tVal, true},
    	{"bug5a", "{{.Err}}", "erroozle", tVal, true},
    	// Args need to be indirected and dereferenced sometimes.
    	{"bug6a", "{{vfunc .V0 .V1}}", "vfunc", tVal, true},
    	{"bug6b", "{{vfunc .V0 .V0}}", "vfunc", tVal, true},
    	{"bug6c", "{{vfunc .V1 .V0}}", "vfunc", tVal, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  8. src/text/template/exec_test.go

    	// Nil interface values in if.
    	{"bug4", "{{if .Empty0}}non-nil{{else}}nil{{end}}", "nil", tVal, true},
    	// Stringer.
    	{"bug5", "{{.Str}}", "foozle", tVal, true},
    	{"bug5a", "{{.Err}}", "erroozle", tVal, true},
    	// Args need to be indirected and dereferenced sometimes.
    	{"bug6a", "{{vfunc .V0 .V1}}", "vfunc", tVal, true},
    	{"bug6b", "{{vfunc .V0 .V0}}", "vfunc", tVal, true},
    	{"bug6c", "{{vfunc .V1 .V0}}", "vfunc", tVal, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
Back to top