/prebuilts/go/darwin-x86/test/ |
funcdup.go | 10 F1(i int) (i int) // ERROR "duplicate argument i|redefinition|previous" 11 F2(i, i int) // ERROR "duplicate argument i|redefinition|previous" 12 F3() (i, i int) // ERROR "duplicate argument i|redefinition|previous" 15 type T1 func(i, i int) // ERROR "duplicate argument i|redefinition|previous" 16 type T2 func(i int) (i int) // ERROR "duplicate argument i|redefinition|previous" 17 type T3 func() (i, i int) // ERROR "duplicate argument i|redefinition|previous" 21 func (i *R) F1(i int) {} // ERROR "duplicate argument i|redefinition|previous" 22 func (i *R) F2() (i int) {return 0} // ERROR "duplicate argument i|redefinition|previous" 23 func (i *R) F3(j int) (j int) {return 0} // ERROR "duplicate argument j|redefinition|previous" 25 func F1(i, i int) {} // ERROR "duplicate argument i|redefinition|previous [all...] |
funcdup2.go | 10 F1(i int) (i int) // ERROR "duplicate argument i|redefinition|previous" 11 F2(i, i int) // ERROR "duplicate argument i|redefinition|previous" 12 F3() (i, i int) // ERROR "duplicate argument i|redefinition|previous" 15 var T1 func(i, i int) // ERROR "duplicate argument i|redefinition|previous" 16 var T2 func(i int) (i int) // ERROR "duplicate argument i|redefinition|previous" 17 var T3 func() (i, i int) // ERROR "duplicate argument i|redefinition|previous"
|
switch5.go | 7 // Verify that switch statements with duplicate cases are detected by the compiler. 15 case 0: // ERROR "duplicate case 0 in switch" 20 case int(0): // ERROR "duplicate case int.0. .value 0. in switch" 27 case 5: // ERROR "duplicate case 5 in switch" 28 case 5.0: // ERROR "duplicate case 5 in switch" 35 case "": // ERROR "duplicate case .. in switch" 37 case "abc": // ERROR "duplicate case .abc. in switch" 44 case 0: // ERROR "duplicate case 0 in switch" 47 case float32(10): // ERROR "duplicate case float32\(10\) .value 10. in switch" 49 case float64(10): // ERROR "duplicate case float64\(10\) .value 10. in switch [all...] |
switch7.go | 7 // Verify that type switch statements with duplicate cases are detected 18 case int: // ERROR "duplicate case int in type switch" 21 case error: // ERROR "duplicate case error in type switch" 23 case fmt.Stringer: // ERROR "duplicate case fmt.Stringer in type switch" 30 case struct { // ERROR "duplicate case struct { i int .tag1. } in type switch"
|
/prebuilts/go/linux-x86/test/ |
funcdup.go | 10 F1(i int) (i int) // ERROR "duplicate argument i|redefinition|previous" 11 F2(i, i int) // ERROR "duplicate argument i|redefinition|previous" 12 F3() (i, i int) // ERROR "duplicate argument i|redefinition|previous" 15 type T1 func(i, i int) // ERROR "duplicate argument i|redefinition|previous" 16 type T2 func(i int) (i int) // ERROR "duplicate argument i|redefinition|previous" 17 type T3 func() (i, i int) // ERROR "duplicate argument i|redefinition|previous" 21 func (i *R) F1(i int) {} // ERROR "duplicate argument i|redefinition|previous" 22 func (i *R) F2() (i int) {return 0} // ERROR "duplicate argument i|redefinition|previous" 23 func (i *R) F3(j int) (j int) {return 0} // ERROR "duplicate argument j|redefinition|previous" 25 func F1(i, i int) {} // ERROR "duplicate argument i|redefinition|previous [all...] |
funcdup2.go | 10 F1(i int) (i int) // ERROR "duplicate argument i|redefinition|previous" 11 F2(i, i int) // ERROR "duplicate argument i|redefinition|previous" 12 F3() (i, i int) // ERROR "duplicate argument i|redefinition|previous" 15 var T1 func(i, i int) // ERROR "duplicate argument i|redefinition|previous" 16 var T2 func(i int) (i int) // ERROR "duplicate argument i|redefinition|previous" 17 var T3 func() (i, i int) // ERROR "duplicate argument i|redefinition|previous"
|
switch5.go | 7 // Verify that switch statements with duplicate cases are detected by the compiler. 15 case 0: // ERROR "duplicate case 0 in switch" 20 case int(0): // ERROR "duplicate case int.0. .value 0. in switch" 27 case 5: // ERROR "duplicate case 5 in switch" 28 case 5.0: // ERROR "duplicate case 5 in switch" 35 case "": // ERROR "duplicate case .. in switch" 37 case "abc": // ERROR "duplicate case .abc. in switch" 44 case 0: // ERROR "duplicate case 0 in switch" 47 case float32(10): // ERROR "duplicate case float32\(10\) .value 10. in switch" 49 case float64(10): // ERROR "duplicate case float64\(10\) .value 10. in switch [all...] |
switch7.go | 7 // Verify that type switch statements with duplicate cases are detected 18 case int: // ERROR "duplicate case int in type switch" 21 case error: // ERROR "duplicate case error in type switch" 23 case fmt.Stringer: // ERROR "duplicate case fmt.Stringer in type switch" 30 case struct { // ERROR "duplicate case struct { i int .tag1. } in type switch"
|
/prebuilts/go/darwin-x86/test/fixedbugs/ |
issue7214.go | 7 // Issue 7214: No duplicate key error for maps with interface{} key type 11 var _ = map[interface{}]int{2: 1, 2: 1} // ERROR "duplicate key" 13 var _ = map[interface{}]int{int16(2): 1, int16(2): 1} // ERROR "duplicate key" 17 var _ = map[interface{}]int{"a": 1, "a": 1} // ERROR "duplicate key" 19 var _ = map[interface{}]int{S("a"): 1, S("a"): 1} // ERROR "duplicate key" 30 var _ = map[I]int{N(2): 1, N(2): 1} // ERROR "duplicate key"
|
bug211.go | 9 type R interface { duplicate() } 10 type S interface { duplicate() } 11 type T interface { R; S } // ERROR "duplicate"
|
bug412.go | 10 x int // GCCGO_ERROR "duplicate field name .x." 11 x int // GC_ERROR "duplicate field x"
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
issue7214.go | 7 // Issue 7214: No duplicate key error for maps with interface{} key type 11 var _ = map[interface{}]int{2: 1, 2: 1} // ERROR "duplicate key" 13 var _ = map[interface{}]int{int16(2): 1, int16(2): 1} // ERROR "duplicate key" 17 var _ = map[interface{}]int{"a": 1, "a": 1} // ERROR "duplicate key" 19 var _ = map[interface{}]int{S("a"): 1, S("a"): 1} // ERROR "duplicate key" 30 var _ = map[I]int{N(2): 1, N(2): 1} // ERROR "duplicate key"
|
bug211.go | 9 type R interface { duplicate() } 10 type S interface { duplicate() } 11 type T interface { R; S } // ERROR "duplicate"
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
DuplicateDirectByteBufferTest.java | 24 buf = buf.duplicate();
|
DuplicateHeapByteBufferTest.java | 24 buf = buf.duplicate();
|
DuplicateWrappedByteBufferTest.java | 24 buf = buf.duplicate();
|
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/i386/ilp32/lns/ |
lns-duplicate.d | 1 #source: ../../../lns/lns-duplicate.s 3 #name: lns-duplicate
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
ListRemoveTester.java | 41 E duplicate = arrayAndDuplicate.duplicate; local 43 int firstIndex = getList().indexOf(duplicate); 46 getList().remove(duplicate)); 47 assertTrue("After remove(duplicate), a list should still contain " 48 + "the duplicate element", getList().contains(duplicate)); 49 assertFalse("remove(duplicate) should remove the first instance of the " 50 + "duplicate element in the list", 51 firstIndex == getList().indexOf(duplicate)); [all...] |
ListRemoveAllTester.java | 43 E duplicate = arrayAndDuplicate.duplicate; local 46 getList().removeAll(MinimalCollection.of(duplicate))); 49 getList().contains(duplicate));
|
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/tic6x/ |
unwind-bad-1.l | 3 [^:]*:9: Error: duplicate \.personalityindex directive 6 [^:]*:29: Error: duplicate \.personality directive 8 [^:]*:34: Error: duplicate \.handlerdata directive
|
/external/llvm/test/MC/ARM/ |
eh-directive-movsp.s | 7 .section .duplicate 9 .global duplicate 10 .type duplicate,%function 11 duplicate: label 20 @ CHECK: Name: .ARM.exidx.duplicate
|
/external/tensorflow/tensorflow/user_ops/ |
duplicate_op_test.py | 30 duplicate = tf.load_op_library(library_filename) 32 self.assertEqual(len(duplicate.OP_LIST.op), 0)
|
/toolchain/binutils/binutils-2.27/ld/testsuite/ld-mmix/ |
b-widec3.d | 6 #error: invalid symbol table: duplicate symbol `Main'
|
/external/javassist/sample/duplicate/ |
Main.java | 1 package sample.duplicate;
21 First, run sample.duplicate.Viewer without a metaobject.
23 % java sample.duplicate.Viewer
28 of sample.duplicate.DuplicatedObject.
30 % java sample.duplicate.Main
33 sample.duplicate.Viewer is loaded by javassist.tools.reflect.Loader so that
39 cl.makeReflective("sample.duplicate.Ball",
40 "sample.duplicate.DuplicatedObject",
42 cl.run("sample.duplicate.Viewer", args);
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/samplegrouping/ |
UnknownEntry.java | 37 this.content = (ByteBuffer) content.duplicate().rewind(); 42 this.content = (ByteBuffer) byteBuffer.duplicate().rewind(); 47 return content.duplicate(); 52 ByteBuffer bb = content.duplicate();
|