Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 134 for myHost (0.13 sec)

  1. src/net/dnsclient.go

    // routines.
    // See golang.org/issue/12189.
    // But we don't want to add dots for local names from /etc/hosts.
    // It's hard to tell so we settle on the heuristic that names without dots
    // (like "localhost" or "myhost") do not get trailing dots, but any other
    // names do.
    func absDomainName(s string) string {
    	if bytealg.IndexByteString(s, '.') != -1 && s[len(s)-1] != '.' {
    		s += "."
    	}
    	return s
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/jvm/AbstractConsoleJvmTestLoggingFunctionalTest.groovy

                assert !taskOutput.contains("""MyTest > testExpectation ${TestLogEvent.STANDARD_OUT.consoleMarker}
        standard output""")
                assert !taskOutput.contains("""MyTest > testExpectation ${TestLogEvent.STANDARD_ERROR.consoleMarker}
        standard error""")
            } else {
                outputDoesNotContain("""MyTest > testExpectation ${TestLogEvent.STANDARD_OUT.consoleMarker}
        standard output""")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 14:21:18 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r61/TestLauncherCrossVersionSpec.groovy

            assertTestNotExecuted(className: "example.MyTest")
        }
    
        def "can target specific test task and methods"() {
            when:
            launchTests { TestLauncher launcher ->
                launcher.withTaskAndTestMethods(':secondTest', "example.MyTest", ["foo2"])
            }
            then:
            assertTaskNotExecuted(":test")
            assertTaskExecuted(":secondTest")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r56/TestLauncherDebugTestsCrossVersionTest.groovy

                ${mavenCentralRepository()}
                dependencies { ${testImplementationConfiguration} 'junit:junit:4.13' }
            """
            file('src/test/java/example/MyTest.java').text = """
                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: Thu May 16 10:10:39 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/types/KtType.kt

         *
         * ```
         * typealias MyString = String
         * typealias MyList<A> = List<A>
         *
         * val list: MyList<MyString> = listOf()
         * ```
         *
         * `MyList<MyString>` may be expanded to a type `List<String>` with an abbreviated type `MyList<String>`, where `String` also has the
         * abbreviated type `MyString`. The abbreviated type is not `MyList<MyString>`, although it might be rendered as such.
         *
         *
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheToolingApiInvocationIntegrationTest.groovy

                println("script log statement")
            """
            file("src/test/java/my/MyTest.java") << """
                package my;
                import org.junit.Test;
                public class MyTest {
                    @Test public void test() {}
                }
            """
    
            when:
            runTestClasses("my.MyTest")
    
            then:
            outputContains("script log statement")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r60/TestOutputCrossVersionSpec.groovy

                dependencies.${testImplementationConfiguration} 'junit:junit:4.13'
                test.ignoreFailures = true
            """
            file("src/test/java/example/MyTest.java") << """
                package example;
                public class MyTest {
                    @org.junit.Test public void works() throws Exception {
                        System.out.print("out1");
                        System.err.print("err1");
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGUpToDateCheckIntegrationTest.groovy

                }
            '''.stripIndent()
            file('suite.xml') << '''
                <!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
                <suite name="MySuite">
                  <test name="MyTest">
                    <classes>
                      <class name="SomeTest" />
                    </classes>
                  </test>
                </suite>
            '''.stripIndent()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 18 12:30:10 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top