Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 649 for testu (0.37 sec)

  1. test/fixedbugs/issue13799.go

    	for iter := 0; ; iter++ {
    		if iter%50 == 0 {
    			fmt.Println(iter) // ERROR "iter escapes to heap$" "... argument does not escape$"
    		}
    		test1(iter)
    		test2(iter)
    		test3(iter)
    		test4(iter)
    		test5(iter)
    		test6(iter)
    	}
    }
    
    func test1(iter int) {
    
    	const maxI = 500
    	m := make(map[int][]int) // ERROR "make\(map\[int\]\[\]int\) escapes to heap$"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:50:24 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  2. test/fixedbugs/issue4585.go

    	}
    
    	m[a] = 1
    	m[b] = 2
    	if len(m) == 2 {
    		panic("broken hash: len(m) == 2")
    	}
    	if m[a] != 2 {
    		panic("m[a] != 2")
    	}
    }
    
    func main() {
    	test1()
    	test2()
    	test3()
    	test4()
    	test5()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 2.5K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/ReproducibleArchivesIntegrationTest.groovy

                }
            }
            """
    
            when:
            succeeds taskName
    
            then:
            def archiveFile = archive(file("build/test.${fileExtension}"))
            archiveFile.hasDescendants('test3.txt', 'test4.txt')
            archiveFile.content('test3.txt') == 'test2'
            archiveFile.content('test4.txt') == 'test1'
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 02 14:30:00 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  4. maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            assertThat(activation.getRequiredInactiveProfileIds(), containsInAnyOrder("test1", "test2"));
            assertThat(activation.getOptionalInactiveProfileIds(), containsInAnyOrder("test3", "test4"));
    
            activation = new ProfileActivation();
            performProfileActivation(parser.parse(options, new String[] {"-P", "-test1,+test2"}), activation);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:59 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/sourceparser/RegexBackedCSourceParserTest.groovy

            found == ['test1', 'test2', 'test3', 'test4', 'system1', 'system2', 'system3', 'system4', 'DEFINED1', 'DEFINED2']
        }
    
        def "finds #directive surrounded by different whitespace"() {
            when:
            sourceFile << """
    #include     "test1"
    #include\t"test2"\t
    \t#include\t"test3"
    #include"test4"
    
    #include     <system1>
    #include\t<system2>\t
    \t#include\t<system3>
    #include<system4>
    """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 34.3K bytes
    - Viewed (0)
  6. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/eclipse/model/SourceFolderTest.groovy

    import groovy.xml.XmlParser
    import spock.lang.Specification
    
    class SourceFolderTest extends Specification {
        final static String XML_TEXT = '''
                    <classpathentry including="**/Test1*|**/Test2*" excluding="**/Test3*|**/Test4*" kind="src" output="bin2" path="src">
                        <attributes>
                            <attribute name="org.eclipse.jdt.launching.CLASSPATH_ATTR_LIBRARY_PATH_ENTRY" value="mynative"/>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 3K bytes
    - Viewed (0)
  7. src/net/testdata/aliases

    127.0.0.1 test
    127.0.0.2 test2.example.com 2.test
    127.0.0.3 3.test test3.example.com
    127.0.0.4 example.com
    127.0.0.5 test4.example.com 4.test 5.test test5.example.com
    
    # must be a non resolvable domain on the internet
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 10 18:29:14 UTC 2022
    - 257 bytes
    - Viewed (0)
  8. pilot/pkg/model/push_context_test.go

    	}{
    		{
    			proxyNs:     "test1",
    			serviceNs:   "test1",
    			host:        testhost,
    			wantSubsets: []string{"subset1", "subset2"},
    		},
    		{
    			proxyNs:     "test1",
    			serviceNs:   "test2",
    			host:        testhost,
    			wantSubsets: []string{"subset1", "subset2"},
    		},
    		{
    			proxyNs:     "test2",
    			serviceNs:   "test1",
    			host:        testhost,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 95.3K bytes
    - Viewed (0)
  9. test/fixedbugs/issue8613.go

    var out int
    var zero int
    
    func main() {
    	wantPanic("test1", func() {
    		out = 1 / zero
    	})
    	wantPanic("test2", func() {
    		_ = 1 / zero
    	})
    	wantPanic("test3", func() {
    		v := 0
    		_ = 1 / v
    	})
    	wantPanic("test4", func() { divby(0) })
    }
    
    func wantPanic(test string, fn func()) {
    	defer func() {
    		if e := recover(); e == nil {
    			panic(test + ": expected panic")
    		}
    	}()
    	fn()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 23 22:01:32 UTC 2016
    - 608 bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/testing/testng-preserveorder/groovy/src/test/java/org/gradle/testng/Test2.java

    import org.testng.annotations.Test;
    
    public class Test2 {
    
        public static class C implements Serializable {
            private static final long serialVersionUID = 1L;
        }
    
        @BeforeClass
        public void beforeClass() {
            System.out.println("Test2.beforeClass()");
        }
    
        @Test
        public void test1() {
            System.out.println("Test2.test1()");
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 736 bytes
    - Viewed (0)
Back to top