Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,867 for myHost (0.27 sec)

  1. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/AbstractJUnit4TestTaskIntegrationTest.groovy

     */
    abstract class AbstractJUnit4TestTaskIntegrationTest extends AbstractTestTaskIntegrationTest implements JUnit4CommonTestSources {
        @Override
        String getStandaloneTestClass() {
            return testClass('MyTest')
        }
    
        @Override
        String testClass(String className) {
            return """
                import org.junit.*;
                import org.junit.experimental.categories.Category;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/KotlinPluginSmokeTest.groovy

                        implementation("org.jetbrains.kotlin:kotlin-test-junit5")
                    }
                }
            """
    
            ["test", "integTest"].each {
                file("src/$it/kotlin/MyTest.kt") << """
                    class MyTest {
                        @kotlin.test.Test
                        fun testSum() {
                            assert(2 + 2 == 4)
                        }
                    }
                """
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  3. cmd/metrics-v3-cache.go

    		var types madmin.MetricType = madmin.MetricsCPU
    
    		m := collectLocalMetrics(types, collectMetricsOpts{
    			hosts: map[string]struct{}{
    				globalLocalNodeName: {},
    			},
    		})
    
    		for _, hm := range m.ByHost {
    			if hm.CPU != nil {
    				v = *hm.CPU
    				break
    			}
    		}
    
    		return
    	}
    
    	return cachevalue.NewFromFunc(1*time.Minute,
    		cachevalue.Opts{ReturnLastGood: true},
    		loadCPUMetrics)
    }
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 09 00:51:34 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/TestLauncherSpec.groovy

                }
    
                build.dependsOn secondTest
            """
            addDefaultTests()
        }
    
        void addDefaultTests() {
            file("src/test/java/example/MyTest.java") << """
                package example;
                public class MyTest {
                    @org.junit.Test public void foo() throws Exception {
                         org.junit.Assert.assertEquals(1, 1);
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 08:42:44 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/test/inst_test.go

    // Sort is used for multiple pointer types across two packages.
    func TestInst(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    	testenv.MustHaveGoRun(t)
    
    	// Build ptrsort.go, which uses package mysort.
    	var output []byte
    	var err error
    	filename := "ptrsort.go"
    	exename := "ptrsort"
    	outname := "ptrsort.out"
    	gotool := testenv.GoToolPath(t)
    	dest := filepath.Join(t.TempDir(), exename)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 06 18:07:35 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  6. src/net/lookup_windows_test.go

    		}
    		expected, err := nslookupNS(server)
    		if err != nil {
    			t.Skipf("skipping failed nslookup %s test: %s", server, err)
    		}
    		byHost := func(a, b *NS) int {
    			return strings.Compare(a.Host, b.Host)
    		}
    		slices.SortFunc(expected, byHost)
    		slices.SortFunc(ns, byHost)
    		if !reflect.DeepEqual(expected, ns) {
    			t.Errorf("different results %s:\texp:%v\tgot:%v", toJson(server), toJson(expected), ns)
    		}
    	})
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/NestedConfigureDslIntegrationTest.groovy

    configurations {
        conf.incoming.afterResolve {
            distributions {
                myDist {
                    contents {}
                }
            }
        }
    }
    
    task resolve {
        dependsOn configurations.conf
        doFirst {
            configurations.conf.files // Trigger `afterResolve`
            assert distributions*.name.contains('myDist')
        }
    }
    
    assert configurations*.name.contains('conf')
    """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  8. src/runtime/mpallocbits.go

    		cur += t
    		if start == notSetYet {
    			start = cur
    		}
    		most = max(most, cur)
    		// Final region that might span to next uint64
    		cur = l
    	}
    	if start == notSetYet {
    		// Made it all the way through without finding a single 1 bit.
    		const n = uint(64 * len(b))
    		return packPallocSum(n, n, n)
    	}
    	most = max(most, cur)
    
    	if most >= 64-2 {
    		// There is no way an internal run of zeros could beat max.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 15:13:43 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  9. src/crypto/internal/edwards25519/field/fe_generic.go

    	//     r0 < 2⁷ × 2⁵² × 2⁵²
    	//     r0 < 2¹¹¹
    	//
    	// Moreover, the top coefficient (r4) is at most 107 bits, so c4 is at most
    	// 56 bits, and c4 * 19 is at most 61 bits, which again fits in a uint64 and
    	// allows us to easily apply the reduction identity.
    	//
    	//     r4 = a0×b4 + a1×b3 + a2×b2 + a3×b1 + a4×b0
    	//     r4 < 5 × 2⁵² × 2⁵²
    	//     r4 < 2¹⁰⁷
    	//
    
    	c0 := shiftRightBy51(r0)
    	c1 := shiftRightBy51(r1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 27 01:16:19 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/model/eclipse/EclipseLinkedResource.java

     */
    public interface EclipseLinkedResource {
    
        /**
         * The project-relative path of the linked resource as it appears in the workspace.
         * <p>
         * See the official Eclipse documentation for most up-to-date information on properties of a linked resource
         * <p>
         * For example, a linked resource to a file system folder /some/path/to/someFolder can have a name 'someFolder'
         *
         * @return name
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top