Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 118 for JOIN (0.07 sec)

  1. plugin/pkg/admission/resourcequota/admission_test.go

    	if len(kubeClient.Actions()) == 0 {
    		t.Errorf("Expected a client action")
    	}
    
    	expectedActionSet := sets.NewString(
    		strings.Join([]string{"update", "resourcequotas", "status"}, "-"),
    	)
    	actionSet := sets.NewString()
    	for _, action := range kubeClient.Actions() {
    		actionSet.Insert(strings.Join([]string{action.GetVerb(), action.GetResource().Resource, action.GetSubresource()}, "-"))
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:28:42 UTC 2024
    - 84.1K bytes
    - Viewed (0)
  2. src/go/build/build.go

    	OpenFile func(path string) (io.ReadCloser, error)
    }
    
    // joinPath calls ctxt.JoinPath (if not nil) or else filepath.Join.
    func (ctxt *Context) joinPath(elem ...string) string {
    	if f := ctxt.JoinPath; f != nil {
    		return f(elem...)
    	}
    	return filepath.Join(elem...)
    }
    
    // splitPathList calls ctxt.SplitPathList (if not nil) or else filepath.SplitList.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  3. pkg/volume/csi/csi_attacher_test.go

    		// Verify
    		if err != nil && !tc.shouldFail {
    			t.Errorf("test should not fail, but error occurred: %v", err)
    		} else if err == nil {
    			expectedMountPath := filepath.Join(pluginDir, testDriver, generateSha(tc.volumeId), globalMountInGlobalPath)
    			if tc.shouldFail {
    				t.Errorf("test should fail, but no error occurred")
    			} else if mountPath != expectedMountPath {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 58.1K bytes
    - Viewed (0)
  4. cmd/erasure-healing_test.go

    	}
    
    	for _, drive := range fsDirs {
    		dir := path.Join(drive, bucket, object, uuid.String())
    		_, err := os.ReadFile(pathJoin(dir, "part.1"))
    		if err == nil {
    			t.Fatal("expected data dit to be cleaned up")
    		}
    	}
    
    	// Remove the bucket - to simulate the case where bucket was
    	// created when the disk was down.
    	err = os.RemoveAll(path.Join(fsDirs[0], bucket))
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  5. src/cmd/dist/test.go

    	cmd := exec.Command(bin, args...)
    	if filepath.IsAbs(dir) {
    		setDir(cmd, dir)
    	} else {
    		setDir(cmd, filepath.Join(goroot, dir))
    	}
    	cmd.Stdout = os.Stdout
    	cmd.Stderr = os.Stderr
    	if vflag > 1 {
    		errprintf("%s\n", strings.Join(cmd.Args, " "))
    	}
    	return cmd
    }
    
    // flattenCmdline flattens a mixture of string and []string as single list
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test_base.py

          * output_tensor is a float 2x2 matrix
        """
        # Creates and populates an asset file.
        asset_dir = self.create_tempdir('assets').full_path
        asset_file = os.path.join(asset_dir, 'vocab_file.txt')
        content = '\n'.join(['static', 'range', 'quantization'])
        file_io.write_string_to_file(filename=asset_file, file_content=content)
    
        # The resulting table looks like:
        # "static" -> 0
        # "range" -> 1
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 08:51:46 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  7. pkg/apis/admissionregistration/validation/validation.go

    	allErrors := field.ErrorList{}
    
    	// Currently only v1beta1 accepted in AdmissionReviewVersions
    	if len(versions) < 1 {
    		allErrors = append(allErrors, field.Required(fldPath, fmt.Sprintf("must specify one of %v", strings.Join(AcceptedAdmissionReviewVersions, ", "))))
    	} else {
    		seen := map[string]bool{}
    		hasAcceptedVersion := false
    		for i, v := range versions {
    			if seen[v] {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 56.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/authentication/v1/generated.pb.go

    	if this == nil {
    		return "nil"
    	}
    	s := strings.Join([]string{`&SelfSubjectReviewStatus{`,
    		`UserInfo:` + strings.Replace(strings.Replace(this.UserInfo.String(), "UserInfo", "UserInfo", 1), `&`, ``, 1) + `,`,
    		`}`,
    	}, "")
    	return s
    }
    func (this *TokenRequest) String() string {
    	if this == nil {
    		return "nil"
    	}
    	s := strings.Join([]string{`&TokenRequest{`,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 72K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/rbac/v1/generated.pb.go

    	s := strings.Join([]string{`&ClusterRoleList{`,
    		`ListMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ListMeta), "ListMeta", "v1.ListMeta", 1), `&`, ``, 1) + `,`,
    		`Items:` + repeatedStringForItems + `,`,
    		`}`,
    	}, "")
    	return s
    }
    func (this *PolicyRule) String() string {
    	if this == nil {
    		return "nil"
    	}
    	s := strings.Join([]string{`&PolicyRule{`,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 77.5K bytes
    - Viewed (0)
  10. cmd/xl-storage.go

    }
    
    func (s *xlStorage) moveToTrash(filePath string, recursive, immediatePurge bool) (err error) {
    	pathUUID := mustGetUUID()
    	targetPath := pathutil.Join(s.drivePath, minioMetaTmpDeletedBucket, pathUUID)
    
    	if recursive {
    		err = renameAll(filePath, targetPath, pathutil.Join(s.drivePath, minioMetaBucket))
    	} else {
    		err = Rename(filePath, targetPath)
    	}
    
    	var targetPath2 string
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (0)
Back to top