Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 455 for fullpath (2.4 sec)

  1. src/path/filepath/path_windows_test.go

    	// Make sure we have sufficient privilege to run mklink command.
    	testenv.MustHaveSymlink(t)
    
    	file := filepath.Join(tmpdir, "file")
    	err = os.WriteFile(file, []byte(""), 0666)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	target = filepath.Join(target, file[len(filepath.VolumeName(file)):])
    
    	filelink := filepath.Join(tmpdir, "filelink")
    	output, err = exec.Command("cmd", "/c", "mklink", filelink, target).CombinedOutput()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 20:38:54 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  2. pkg/apis/flowcontrol/validation/validation.go

    func ValidateNonResourceURLPath(path string, fldPath *field.Path) *field.Error {
    	if len(path) == 0 {
    		return field.Invalid(fldPath, path, "must not be empty")
    	}
    	if path == "/" { // root path
    		return nil
    	}
    
    	if !strings.HasPrefix(path, "/") {
    		return field.Invalid(fldPath, path, "must start with slash")
    	}
    	if strings.Contains(path, " ") {
    		return field.Invalid(fldPath, path, "must not contain white-space")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 26.7K bytes
    - Viewed (0)
  3. pkg/proxy/apis/config/validation/validation.go

    		allErrs = append(allErrs, field.Invalid(fldPath.Child("SyncPeriod"), config.SyncPeriod, "must be greater than 0"))
    	}
    
    	if config.MinSyncPeriod.Duration < 0 {
    		allErrs = append(allErrs, field.Invalid(fldPath.Child("MinSyncPeriod"), config.MinSyncPeriod, "must be greater than or equal to 0"))
    	}
    
    	if config.MinSyncPeriod.Duration > config.SyncPeriod.Duration {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  4. pkg/apis/storage/validation/validation.go

    func validateVolumeAttachmentSpec(
    	spec *storage.VolumeAttachmentSpec, fldPath *field.Path) field.ErrorList {
    	allErrs := field.ErrorList{}
    	allErrs = append(allErrs, validateAttacher(spec.Attacher, fldPath.Child("attacher"))...)
    	allErrs = append(allErrs, validateVolumeAttachmentSource(&spec.Source, fldPath.Child("source"))...)
    	allErrs = append(allErrs, validateNodeName(spec.NodeName, fldPath.Child("nodeName"))...)
    	return allErrs
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 00:47:13 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  5. cni/pkg/install/install_test.go

    			// Create existing config file if specified in test case
    			cniConfigFilePath := filepath.Join(cniNetDir, c.configFilename)
    			if err := file.AtomicCopy(filepath.Join("testdata", c.existingConfigFilename), cniNetDir, c.configFilename); err != nil {
    				t.Fatal(err)
    			}
    
    			// Create existing binary files
    			if err := os.WriteFile(filepath.Join(cniBinDir, "istio-cni"), []byte{1, 2, 3}, 0o755); err != nil {
    				t.Fatal(err)
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/validation/validation.go

    func ValidateManagedFields(fieldsList []metav1.ManagedFieldsEntry, fldPath *field.Path) field.ErrorList {
    	var allErrs field.ErrorList
    	for i, fields := range fieldsList {
    		fldPath := fldPath.Index(i)
    		switch fields.Operation {
    		case metav1.ManagedFieldsOperationApply, metav1.ManagedFieldsOperationUpdate:
    		default:
    			allErrs = append(allErrs, field.Invalid(fldPath.Child("operation"), fields.Operation, "must be `Apply` or `Update`"))
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 01:52:02 UTC 2022
    - 13.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/validation.go

    	})
    }
    
    func ValidateStructuralWithOptions(fldPath *field.Path, s *Structural, opts ValidationOptions) field.ErrorList {
    	allErrs := field.ErrorList{}
    
    	allErrs = append(allErrs, validateStructuralInvariants(s, rootLevel, fldPath, opts)...)
    	allErrs = append(allErrs, validateStructuralCompleteness(s, fldPath, opts)...)
    
    	// sort error messages. Otherwise, the errors slice will change every time due to
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 18:21:31 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

                throw new CrawlerSystemException("The uri is empty.");
            }
    
            String filePath = uri;
            if (!filePath.startsWith("file:")) {
                filePath = "file://" + filePath;
            }
    
            final StringBuilder buf = new StringBuilder(filePath.length() + 100);
            try {
                for (final char c : filePath.toCharArray()) {
                    if (c == ' ') {
                        buf.append("%20");
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

            responseData.setMethod(Constants.GET_METHOD);
            final String filePath = preprocessUri(uri);
            responseData.setUrl(filePath);
    
            SmbFile file = null;
            final SmbAuthentication smbAuthentication = smbAuthenticationHolder.get(filePath);
            if (logger.isDebugEnabled()) {
                logger.debug("Creating SmbFile: {}", filePath);
            }
            try {
                if (smbAuthentication == null) {
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu May 23 01:54:10 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  10. src/cmd/link/elf_test.go

    	if err != nil {
    		t.Skipf("can't find objcopy: %v", err)
    	}
    
    	dir := t.TempDir()
    
    	gopath := filepath.Join(dir, "GOPATH")
    	env := append(os.Environ(), "GOPATH="+gopath)
    
    	if err := os.WriteFile(filepath.Join(dir, "go.mod"), []byte("module elf_test\n"), 0666); err != nil {
    		t.Fatal(err)
    	}
    
    	asmFile := filepath.Join(dir, "x.s")
    	if err := os.WriteFile(asmFile, []byte(asmSource), 0444); err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 16:34:01 UTC 2023
    - 13.7K bytes
    - Viewed (0)
Back to top