Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 495 for test32 (0.14 sec)

  1. src/test/java/org/codelibs/core/misc/DisposableUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void test2() throws Exception {
            DisposableUtil.add(new TestDisposable("a"));
            DisposableUtil.add(new TestDisposable("b"));
            assertThat(DisposableUtil.disposables.size(), is(2));
            DisposableUtil.dispose();
            assertThat(count, is(2));
            assertThat(names, is("ba"));
            assertThat(DisposableUtil.disposables.size(), is(0));
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. src/net/hosts_test.go

    }{
    	// 127.0.0.1
    	{"test", "test"},
    	// 127.0.0.2
    	{"test2.example.com", "test2.example.com"},
    	{"2.test", "test2.example.com"},
    	// 127.0.0.3
    	{"test3.example.com", "3.test"},
    	{"3.test", "3.test"},
    	// 127.0.0.4
    	{"example.com", "example.com"},
    	// 127.0.0.5
    	{"test5.example.com", "test4.example.com"},
    	{"5.test", "test4.example.com"},
    	{"4.test", "test4.example.com"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 04 07:21:38 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  3. src/cmd/go/internal/gover/mod_test.go

    	"testing"
    
    	"golang.org/x/mod/module"
    )
    
    func TestIsToolchain(t *testing.T) { test1(t, isToolchainTests, "IsToolchain", IsToolchain) }
    
    var isToolchainTests = []testCase1[string, bool]{
    	{"go", true},
    	{"toolchain", true},
    	{"anything", false},
    	{"golang.org/toolchain", false},
    }
    
    func TestModCompare(t *testing.T) { test3(t, modCompareTests, "ModCompare", ModCompare) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 17:51:28 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. src/cmd/go/internal/gover/gover_test.go

    	in2 In2
    	in3 In3
    	out Out
    }
    
    func test1[In, Out any](t *testing.T, tests []testCase1[In, Out], name string, f func(In) Out) {
    	t.Helper()
    	for _, tt := range tests {
    		if out := f(tt.in); !reflect.DeepEqual(out, tt.out) {
    			t.Errorf("%s(%v) = %v, want %v", name, tt.in, out, tt.out)
    		}
    	}
    }
    
    func test2[In1, In2, Out any](t *testing.T, tests []testCase2[In1, In2, Out], name string, f func(In1, In2) Out) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 23:20:32 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  5. 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)
  6. cmd/site-replication_test.go

    			[]string{},
    		},
    		// Test3: not currently under site replication.
    		{
    			[]madmin.PeerInfo{},
    			set.CreateStringSet(),
    			set.CreateStringSet("dep1", "dep2", "dep3", "dep4"),
    			[]string{},
    		},
    	}
    
    	for i, tc := range testCases {
    		names := getMissingSiteNames(tc.oldDepIDs, tc.newDepIDs, tc.currSites)
    		if len(names) != len(tc.expNames) {
    			t.Errorf("Test %d: Expected `%v`, got `%v`", i+1, tc.expNames, names)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 20 00:53:08 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformWithDependenciesIntegrationTest.groovy

            then:
            output.count("transform") == 3
            outputContains("transform external test-1.2.jar")
            outputContains("transform local test2-1.5.thing using [test-1.2.jar.external]")
            outputContains("transform local test3-1.5.thing using [test-1.2.jar.external]")
            outputContains("artifacts = [test2-1.5.thing.local (test:test2:1.5), test3-1.5.thing.local (test:test3:1.5)]")
    
            when:
            run(":resolveArtifacts")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 54.2K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/listener_test.go

    	// storing the services out of time order to test that it's being sorted properly.
    	testOutboundListenerConflict(t,
    		buildServiceWithPort("test1.com", 3306, protocol.HTTP, tnow.Add(1*time.Second)),
    		buildServiceWithPort("test2.com", 3306, protocol.MySQL, tnow))
    	testOutboundListenerConflict(t,
    		buildServiceWithPort("test1.com", 9999, protocol.HTTP, tnow.Add(1*time.Second)),
    		buildServiceWithPort("test2.com", 9999, protocol.MySQL, tnow))
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 93.6K bytes
    - Viewed (0)
  9. pilot/pkg/model/context_test.go

    				CreationTime: tnow.Add(1 * time.Second),
    				Hostname:     host.Name("test1.com"),
    			},
    		},
    		{
    			Service: &model.Service{
    				CreationTime: tnow,
    				Hostname:     host.Name("test3.com"),
    			},
    		},
    		{
    			Service: &model.Service{
    				CreationTime: tnow,
    				Hostname:     host.Name("test2.com"),
    			},
    		},
    	}
    
    	serviceDiscovery := memory.NewServiceDiscovery()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 05 23:51:52 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  10. pilot/pkg/model/push_context_test.go

    					},
    				},
    			},
    		},
    	}
    
    	expectedns := []string{
    		"testns/super-high-priority", "testns/high-priority", "testns/default-priority", "testns/a-medium-priority",
    		"testns/b-medium-priority", "testns/b-low-priority", "testns/a-low-priority",
    	}
    
    	expectedns1 := []string{"testns-1/default-priority", "testns-1/a-medium-priority", "testns-1/b-medium-priority"}
    
    	for _, cfg := range envoyFilters {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 95.3K bytes
    - Viewed (0)
Back to top