Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for defaultPath (0.27 sec)

  1. src/cmd/vendor/github.com/google/pprof/internal/binutils/binutils.go

    		}
    		paths[name] = append(paths[name], path)
    	}
    
    	defaultPath := paths[""]
    	b.llvmSymbolizer, b.llvmSymbolizerFound = chooseExe([]string{"llvm-symbolizer"}, []string{}, append(paths["llvm-symbolizer"], defaultPath...))
    	b.addr2line, b.addr2lineFound = chooseExe([]string{"addr2line"}, []string{"gaddr2line"}, append(paths["addr2line"], defaultPath...))
    	// The "-n" option is supported by LLVM since 2011. The output of llvm-nm
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  2. src/net/http/cookiejar/jar.go

    		// of interpreting ::1%.www.example.com as a subdomain of www.example.com.
    		return true
    	}
    	return net.ParseIP(host) != nil
    }
    
    // defaultPath returns the directory part of a URL's path according to
    // RFC 6265 section 5.1.4.
    func defaultPath(path string) string {
    	if len(path) == 0 || path[0] != '/' {
    		return "/" // Path is empty or malformed.
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 15K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CookieTest.kt

      }
    
      @Test fun hostOnly() {
        assertThat(parse(url, "a=b")!!.hostOnly).isTrue()
        assertThat(
          parse(url, "a=b; domain=example.com")!!.hostOnly,
        ).isFalse()
      }
    
      @Test fun defaultPath() {
        assertThat(parse("http://example.com/foo/bar".toHttpUrl(), "a=b")!!.path).isEqualTo("/foo")
        assertThat(parse("http://example.com/foo/".toHttpUrl(), "a=b")!!.path).isEqualTo("/foo")
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  4. src/net/http/cookiejar/jar_test.go

    	"//":          "/",
    	"/a//b":       "/a/",
    	"/a/./b":      "/a/.",
    	"/a/../b":     "/a/..",
    }
    
    func TestDefaultPath(t *testing.T) {
    	for path, want := range defaultPathTests {
    		if got := defaultPath(path); got != want {
    			t.Errorf("%q: got %q, want %q", path, got, want)
    		}
    	}
    }
    
    var domainAndTypeTests = [...]struct {
    	host         string // host Set-Cookie header was received from
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 34K bytes
    - Viewed (0)
  5. platforms/software/signing/src/main/java/org/gradle/plugins/signing/Signature.java

         */
        @Override
        @Internal
        public Date getDate() {
            return date != null ? date : defaultDate();
        }
    
        @Nullable
        private Date defaultDate() {
            final File file = getFile();
            if (file == null) {
                return null;
            }
    
            final long modified = file.lastModified();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 12:20:43 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modfetch/fetch.go

    // an error and does not write ziphashfile.
    func hashZip(mod module.Version, zipfile, ziphashfile string) (err error) {
    	hash, err := dirhash.HashZip(zipfile, dirhash.DefaultHash)
    	if err != nil {
    		return err
    	}
    	if err := checkModSum(mod, hash); err != nil {
    		return err
    	}
    	hf, err := lockedfile.Create(ziphashfile)
    	if err != nil {
    		return err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 30.3K bytes
    - Viewed (0)
Back to top