Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for defaultPath (0.19 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/IntegrationTestBuildContext.java

            TestFile testFile = optionalFile(propertyName);
            if (testFile != null) {
                return testFile;
            }
            if (defaultPath == null) {
                throw new RuntimeException("You must set the '" + propertyName + "' property to run the integration tests.");
            }
            return testFile(defaultPath);
        }
    
        @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/admission_test.go

    func (f *fakeMatcher) ValidateInitialization() error {
    	return nil
    }
    
    func (f *fakeMatcher) GetNamespace(name string) (*v1.Namespace, error) {
    	return nil, nil
    }
    
    type fakeMatcher struct {
    	DefaultMatch         bool
    	DefinitionMatchFuncs map[types.NamespacedName]func(generic.PolicyAccessor, admission.Attributes) bool
    	BindingMatchFuncs    map[types.NamespacedName]func(generic.BindingAccessor, admission.Attributes) bool
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 01:39:01 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modcmd/verify.go

    		return errs
    	}
    	h := string(bytes.TrimSpace(data))
    
    	if zipErr != nil && errors.Is(zipErr, fs.ErrNotExist) {
    		// ok
    	} else {
    		hZ, err := dirhash.HashZip(zip, dirhash.DefaultHash)
    		if err != nil {
    			errs = append(errs, fmt.Errorf("%s %s: %v", mod.Path, mod.Version, err))
    			return errs
    		} else if hZ != h {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 16:56:35 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. 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)
  9. 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