Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 844 for bug2 (0.1 sec)

  1. src/encoding/json/encode_test.go

    	}
    }
    
    type BugD struct { // Same as BugA after tagging.
    	XXX string `json:"S"`
    }
    
    // BugD's tagged S field should dominate BugA's.
    type BugY struct {
    	BugA
    	BugD
    }
    
    // Test that a field with a tag dominates untagged fields.
    func TestTaggedFieldDominates(t *testing.T) {
    	v := BugY{
    		BugA{"BugA"},
    		BugD{"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)
  2. test/fixedbugs/bug083.dir/bug1.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package bug1
    
    import "./bug0"
    
    // This is expected to fail--t0 is in package bug0 and should not be
    // visible here in package bug1.  The test for failure is in
    // ../bug083.go.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 372 bytes
    - Viewed (0)
  3. src/text/template/exec_test.go

    	{"bug2", "{{$.NonEmptyInterface.Method0}}", "M0", tVal, true},
    	// Struct values were not legal in with - mere oversight.
    	{"bug3", "{{with $}}{{.Method0}}{{end}}", "M0", tVal, true},
    	// 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},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  4. 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)
  5. test/fixedbugs/bug106.dir/bug0.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 bug0
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 187 bytes
    - Viewed (0)
  6. test/fixedbugs/bug083.dir/bug0.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 bug0
    
    type t0 struct {
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 204 bytes
    - Viewed (0)
  7. test/fixedbugs/bug133.dir/bug0.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 bug0
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 198 bytes
    - Viewed (0)
  8. test/fixedbugs/bug088.dir/bug0.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 bug0
    
    var V0 func() int;
    var V1 func() (a int);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 242 bytes
    - Viewed (0)
  9. src/go/doc/testdata/a.1.golden

    // comment 0  comment 1 
    PACKAGE a
    
    IMPORTPATH
    	testdata/a
    
    FILENAMES
    	testdata/a0.go
    	testdata/a1.go
    
    BUGS .Bugs is now deprecated, please use .Notes instead
    	bug0
    
    	bug1
    
    
    BUGS
    BUG(uid)	bug0
    
    BUG(uid)	bug1
    
    
    NOTES
    NOTE(uid)	
    
    NOTE(foo)	1 of 4 - this is the first line of note 1
    	- note 1 continues on this 2nd line
    	- note 1 continues on this 3rd line
    
    NOTE(foo)	2 of 4
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 688 bytes
    - Viewed (0)
  10. src/go/doc/testdata/a.0.golden

    // comment 0  comment 1 
    PACKAGE a
    
    IMPORTPATH
    	testdata/a
    
    FILENAMES
    	testdata/a0.go
    	testdata/a1.go
    
    BUGS .Bugs is now deprecated, please use .Notes instead
    	bug0
    
    	bug1
    
    
    BUGS
    BUG(uid)	bug0
    
    BUG(uid)	bug1
    
    
    NOTES
    NOTE(uid)	
    
    NOTE(foo)	1 of 4 - this is the first line of note 1
    	- note 1 continues on this 2nd line
    	- note 1 continues on this 3rd line
    
    NOTE(foo)	2 of 4
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 688 bytes
    - Viewed (0)
Back to top