Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 455 for fullpath (0.11 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. src/cmd/cover/cover_test.go

    	testenv.MustHaveGoRun(t)
    	dir := tempDir(t)
    
    	t.Parallel()
    
    	htmlUDir := filepath.Join(dir, "htmlunformatted")
    	htmlU := filepath.Join(htmlUDir, "htmlunformatted.go")
    	htmlUTest := filepath.Join(htmlUDir, "htmlunformatted_test.go")
    	htmlUProfile := filepath.Join(htmlUDir, "htmlunformatted.cov")
    	htmlUHTML := filepath.Join(htmlUDir, "htmlunformatted.html")
    
    	if err := os.Mkdir(htmlUDir, 0777); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 07 16:54:28 UTC 2023
    - 18.4K 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. 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)
  6. 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)
  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. 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)
  9. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioSoftwareModelMultiProjectIntegrationTest.groovy

            and:
            exeProject.projectConfigurations['debug'].includePath == filePath("src/main/headers", "../lib/src/hello/headers")
            helloDllProject.projectConfigurations['debug'].includePath == filePath("src/hello/headers", "../greet/src/greetings/headers")
            helloLibProject.projectConfigurations['debug'].includePath == filePath("src/hello/headers", "../greet/src/greetings/headers")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 26K bytes
    - Viewed (0)
  10. 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)
Back to top