Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Tperm (0.63 sec)

  1. src/os/removeall_at.go

    	}
    
    	// EISDIR means that we have a directory, and we need to
    	// remove its contents.
    	// EPERM or EACCES means that we don't have write permission on
    	// the parent directory, but this entry might still be a directory
    	// whose contents need to be removed.
    	// Otherwise just return the error.
    	if err != syscall.EISDIR && err != syscall.EPERM && err != syscall.EACCES {
    		return &PathError{Op: "unlinkat", Path: base, Err: err}
    	}
    	uErr := err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:26 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. pkg/kubelet/certificate/kubelet_test.go

    			}
    		})
    	}
    }
    
    func removeThenCreate(name string, data []byte, perm os.FileMode) error {
    	if err := os.Remove(name); err != nil {
    		if !os.IsNotExist(err) {
    			return err
    		}
    	}
    	return os.WriteFile(name, data, perm)
    }
    
    func createCertAndKeyFiles(certDir string) (string, string, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 03:07:40 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. pkg/controller/statefulset/stateful_set_utils_test.go

    	pods := make([]*v1.Pod, 10)
    	perm := rand.Perm(10)
    	for i, v := range perm {
    		pods[i] = newStatefulSetPod(set, v)
    	}
    	sort.Sort(ascendingOrdinal(pods))
    	if !sort.IsSorted(ascendingOrdinal(pods)) {
    		t.Error("ascendingOrdinal fails to sort Pods")
    	}
    }
    
    func TestOverlappingStatefulSets(t *testing.T) {
    	sets := make([]*apps.StatefulSet, 10)
    	perm := rand.Perm(10)
    	for i, v := range perm {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 50.9K bytes
    - Viewed (0)
  4. src/cmd/go/internal/fsys/fsys.go

    }
    
    func openFile(path string, flag int, perm os.FileMode) (*os.File, error) {
    	cpath := canonicalize(path)
    	if node, ok := overlay[cpath]; ok {
    		// Opening a file in the overlay.
    		if node.isDir() {
    			return nil, &fs.PathError{Op: "OpenFile", Path: path, Err: errors.New("fsys.OpenFile doesn't support opening directories yet")}
    		}
    		// We can't open overlaid paths for write.
    		if perm != os.FileMode(os.O_RDONLY) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:35:34 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

    The output `y` has the same rank as `x`. The shapes of `x` and `y` satisfy:
      `y.shape[i] == x.shape[perm[i]] for i in [0, 1, ..., rank(x) - 1]`
      `y[i,j,k,...,s,t,u] == conj(x[perm[i], perm[j], perm[k],...,perm[s], perm[t], perm[u]])`
      }];
    
      let arguments = (ins
        TF_Tensor:$x,
        TF_I32OrI64Tensor:$perm
      );
    
      let results = (outs
        TF_Tensor:$y
      );
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

        AdjustablePolicy(Permission... permissions) {
          for (Permission permission : permissions) perms.add(permission);
        }
    
        void addPermission(Permission perm) {
          perms.add(perm);
        }
    
        void clearPermissions() {
          perms = new Permissions();
        }
    
        @Override
        public PermissionCollection getPermissions(CodeSource cs) {
          return perms;
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  7. cmd/object_api_suite_test.go

    		t.Fatalf("%s: <ERROR> %s", instanceType, err)
    	}
    	uploadID := res.UploadID
    
    	parts := make(map[int]string)
    	metadata := make(map[string]string)
    	for i := 1; i <= 10; i++ {
    		randomPerm := rand.Perm(10)
    		randomString := ""
    		for _, num := range randomPerm {
    			randomString += strconv.Itoa(num)
    		}
    
    		expectedETaghex := getMD5Hash([]byte(randomString))
    
    		metadata["md5"] = expectedETaghex
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

          // 2. Transpose to [H, W, ..., G, filter_in_depth, out_depth / G].
          llvm::SmallVector<int64_t, 6> perm(num_dims + 1);
          std::iota(perm.begin(), perm.end(), 0);
          std::swap(perm[num_spatial_dims], perm[num_spatial_dims + 1]);
          std::swap(new_shape[num_spatial_dims], new_shape[num_spatial_dims + 1]);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  9. src/cmd/go/internal/work/exec.go

    		return err
    	}
    
    	if err := sh.Mkdir(a.Objdir); err != nil {
    		return err
    	}
    
    	perm := fs.FileMode(0666)
    	if a1.Mode == "link" {
    		switch cfg.BuildBuildmode {
    		case "c-archive", "c-shared", "plugin":
    		default:
    			perm = 0777
    		}
    	}
    
    	// make target directory
    	dir, _ := filepath.Split(a.Target)
    	if dir != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

        TFL_TensorOf<[I32]>:$perm
      );
    
      let results = (outs
        TFL_TensorOf<[I32, F32, I8, UI8, QI8, QUI8, TFL_Quint8, I1, I64, QI16]>:$output
      );
    
      let hasVerifier = 1;
    
      let hasFolder = 1;
    
      let hasCanonicalizer = 1;
    
      let builders = [
        OpBuilder<(ins "Value":$input, "Value":$perm),
        [{ BuildTransposeOp(&$_builder, $_state, input, perm); }]>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
Back to top