Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for defaultPath (0.35 sec)

  1. pkg/volume/util/volumepathhandler/volume_path_handler_linux_test.go

    			input:         fmt.Sprintf("%s\r\t\n ", defaultPath),
    			expectedOuput: defaultPath,
    		},
    		{
    			name:          "path is suffixed with \"(deleted)\"",
    			input:         pathWithSuffix("(deleted)"),
    			expectedOuput: defaultPath,
    		},
    		{
    			name:          "path is suffixed with \"(deleted)\" and whitespaces",
    			input:         pathWithSuffix(" (deleted)\t"),
    			expectedOuput: defaultPath,
    		},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 27 13:53:00 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. 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)
  3. pkg/registry/networking/ingress/storage/storage_test.go

    	defaultBackendName  = "default-backend"
    	defaultBackendPort  = intstr.FromInt32(80)
    	defaultLoadBalancer = "127.0.0.1"
    	defaultPath         = "/foo"
    	defaultPathType     = networking.PathTypeImplementationSpecific
    	defaultPathMap      = map[string]string{defaultPath: defaultBackendName}
    	defaultTLS          = []networking.IngressTLS{
    		{Hosts: []string{"foo.bar.com", "*.bar.com"}, SecretName: "foosecret"},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 15 09:01:21 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. pkg/ledger/smt_tools.go

    		// visit right node
    		return s.get(rnode, key, batch, 2*iBatch+2, height-1)
    	}
    	// visit left node
    	return s.get(lnode, key, batch, 2*iBatch+1, height-1)
    }
    
    // DefaultHash is a getter for the defaultHashes array
    func (s *smt) DefaultHash(height int) []byte {
    	return s.defaultHashes[height]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. 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)
Back to top