- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for fakeurl (0.29 sec)
-
src/cmd/vendor/github.com/google/pprof/internal/driver/webui.go
if host == v { return true } } return false } func openBrowser(url string, o *plugin.Options) { // Construct URL. baseURL, _ := gourl.Parse(url) current := currentConfig() u, _ := current.makeURL(*baseURL) // Give server a little time to get ready. time.Sleep(time.Millisecond * 500) for _, b := range browsers() { args := strings.Split(b, " ")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 14K bytes - Viewed (0) -
platforms/core-runtime/wrapper-shared/src/main/java/org/gradle/wrapper/Download.java
} } public void sendHeadRequest(URI uri) throws Exception { URL safeUrl = safeUri(uri).toURL(); int responseCode = -1; try { HttpURLConnection conn = (HttpURLConnection)safeUrl.openConnection(); conn.setRequestMethod("HEAD"); addBasicAuthentication(uri, conn);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:37 UTC 2024 - 13.3K bytes - Viewed (0) -
istioctl/pkg/admin/istiodconfig.go
} scopeInfos = append(scopeInfos, si) } return scopeInfos, nil } type ControlzClient struct { baseURL *url.URL httpClient *http.Client } func (c *ControlzClient) GetScopes() ([]*ScopeInfo, error) { var scopeInfos []*ScopeInfo resp, err := c.httpClient.Get(c.baseURL.String()) if err != nil { return nil, err } defer resp.Body.Close() if resp.StatusCode != http.StatusOK {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 13.5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/wait/wait_test.go
condition: func(int) ConditionWithContextFunc { return func(context.Context) (done bool, err error) { return false, fakeErr } }, errExpected: fakeErr, attemptsExpected: 1, }, { name: "condition returns done=true on immediate attempt, no retry is attempted", condition: func(int) ConditionWithContextFunc {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 26 16:28:45 UTC 2024 - 41.1K bytes - Viewed (0) -
platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/idea/model/Project.java
private void loadModulePaths() { for (Node moduleNode : getChildren(findOrCreateModules(), "module")) { String fileurl = (String) moduleNode.attribute("fileurl"); String filepath = (String) moduleNode.attribute("filepath"); modulePaths.add(pathFactory.path(fileurl, filepath)); } } private void loadWildcards() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 12.9K bytes - Viewed (0) -
platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperHttpIntegrationTest.groovy
} } task echoProperty { doLast { println "fooD=" + project.findProperty("fooD") } } """ } private prepareWrapper(String baseUrl) { prepareWrapper(new URI("${baseUrl}/$TEST_DISTRIBUTION_URL")) } @Issue('https://github.com/gradle/gradle-private/issues/1537') def "downloads wrapper from http server and caches"() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 05:54:32 UTC 2024 - 10.7K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/config.go
return fmt.Errorf("error setting config field %s: %v", f.name, err) } } return nil } // makeURL returns a URL based on initialURL that contains the config contents // as parameters. The second result is true iff a parameter value was changed. func (cfg *config) makeURL(initialURL url.URL) (url.URL, bool) { q := initialURL.Query() changed := false for _, f := range configFields {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 15:19:53 UTC 2024 - 10.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/TraversalUtil.java
final String[] path = referenceClass.getName().split("\\."); String baseUrl = url.toExternalForm(); for (final String element : path) { final int pos = baseUrl.lastIndexOf('/'); baseUrl = baseUrl.substring(0, pos); } return getTraverser(URLUtil.create(baseUrl + '/'), null, null); } /**
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 19.5K bytes - Viewed (0) -
src/net/smtp/smtp_test.go
panic("unexpected call") } type faker struct { io.ReadWriter } func (f faker) Close() error { return nil } func (f faker) LocalAddr() net.Addr { return nil } func (f faker) RemoteAddr() net.Addr { return nil } func (f faker) SetDeadline(time.Time) error { return nil } func (f faker) SetReadDeadline(time.Time) error { return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 28.5K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/sftp/SFTPServer.groovy
passwordAuthenticationEnabled = true } private SshServer setupConfiguredTestSshd(int sshPort) { //copy dsa key to config directory URL fileUrl = ClassLoader.getSystemResource("sshd-config/test-dsa.key") FileUtils.copyURLToFile(fileUrl, new File(configDir, "test-dsa.key")) SshServer sshServer = SshServer.setUpDefaultServer() sshServer.setPort(sshPort)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 17.1K bytes - Viewed (0)