- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 421 for bug2 (0.07 sec)
-
test/fixedbugs/bug248.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 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) -
src/encoding/gob/encoder_test.go
} // Mutually recursive slices of structs caused problems. type Bug3 struct { Num int Children []*Bug3 } func TestGobPtrSlices(t *testing.T) { in := []*Bug3{ {1, nil}, {2, nil}, } b := new(bytes.Buffer) err := NewEncoder(b).Encode(&in) if err != nil { t.Fatal("encode:", err) } var out []*Bug3 err = NewDecoder(b).Decode(&out) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 29.7K bytes - Viewed (0) -
src/html/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: Sat Feb 24 21:59:12 UTC 2024 - 57.6K bytes - Viewed (0) -
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) -
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) -
releasenotes/notes/bug-report-perf.yaml
# This should be filled in for all user facing changes. # kind describes the type of change that this represents. # Valid Values are: # - bug-fix -- Used to specify that this change represents a bug fix. # - security-fix -- Used to specify that this change represents a vulnerability fix. # - feature -- Used to specify a new feature that has been added.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Nov 20 20:26:12 UTC 2023 - 1.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-function-name-bug.pbtxt
# This test is tailored to reproduce b/141617294. In particular, the function # library contains "foo1", "foo2", ..., "foo20", from which "foo1" and "foo11" # were mapped to the same name "foo110" in the bug. node { name: "unnamed" op: "foo1" } node { name: "unnamed1" op: "foo11" } library { function { signature { name: "foo1" } } function { signature {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSequenceReaderTest.java
CharBuffer buf2 = CharBuffer.allocate(expected.length()); assertEquals(expected.length() == 0 ? -1 : expected.length(), reader.read(buf2)); Java8Compatibility.flip(buf2); assertEquals(expected, buf2.toString()); assertFullyRead(reader); // read in chunks to fixed CharBuffer reader = new CharSequenceReader(charSequence); buf2 = CharBuffer.allocate(5);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 6.5K bytes - Viewed (0) -
src/cmd/go/internal/bug/bug.go
"cmd/go/internal/web" "cmd/go/internal/work" ) var CmdBug = &base.Command{ Run: runBug, UsageLine: "go bug", Short: "start a bug report", Long: ` Bug opens the default browser and starts a new bug report. The report includes useful system information. `, } func init() { CmdBug.Flag.BoolVar(&cfg.BuildV, "v", false, "") base.AddChdirFlag(&CmdBug.Flag) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 5.7K bytes - Viewed (0) -
src/compress/gzip/gzip_test.go
} } func TestWriterReset(t *testing.T) { buf := new(bytes.Buffer) buf2 := new(bytes.Buffer) z := NewWriter(buf) msg := []byte("hello world") z.Write(msg) z.Close() z.Reset(buf2) z.Write(msg) z.Close() if buf.String() != buf2.String() { t.Errorf("buf2 %q != original buf of %q", buf2.String(), buf.String()) } } type limitedWriter struct { N int }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 11 17:10:06 UTC 2024 - 6K bytes - Viewed (0)