Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 112 for Tperm (0.05 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/ztypes_zos_s390x.go

    }
    
    type SysvShmDesc struct {
    	Perm   SysvIpcPerm
    	_      [4]byte
    	Lpid   int32
    	Cpid   int32
    	Nattch uint32
    	_      [4]byte
    	_      [4]byte
    	_      [4]byte
    	_      int32
    	_      uint8
    	_      uint8
    	_      uint16
    	_      *byte
    	Segsz  uint64
    	Atime  Time_t
    	Dtime  Time_t
    	Ctime  Time_t
    }
    
    type SysvShmDesc64 struct {
    	Perm   SysvIpcPerm
    	_      [4]byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/utils/lstm_utils.cc

                    SmallVector<int32_t, 4> perm, RankedTensorType original_type,
                    mlir::Location location) {
      // Create a constant op for transpose permutation.
      auto perm_op = CreateI32DenseConst(builder, perm, location);
    
      // Create tensor type for the transpose result.
      auto transpose_type = original_type;
      auto transpose_shape =
          llvm::to_vector<8>(llvm::map_range(perm, [transpose_type](int32_t dim) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 36.2K 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. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

      auto perm = GetDataFormatPermutation(this->getDataFormat(), data_format);
      if (perm.empty()) return failure();
    
      // Update data_format attribute and result types.
      if (failed(::mlir::TF::UpdateDataFormat(data_format, this))) return failure();
    
      // Update convolution attributes.
      (*this)->setAttr("dilations", ShuffleArrayAttr(getDilations(), perm));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  5. src/os/file_unix.go

    // openFileNolog is the Unix implementation of OpenFile.
    // Changes here should be reflected in openDirAt and openDirNolog, if relevant.
    func openFileNolog(name string, flag int, perm FileMode) (*File, error) {
    	setSticky := false
    	if !supportsCreateWithStickyBit && flag&O_CREATE != 0 && perm&ModeSticky != 0 {
    		if _, err := Stat(name); IsNotExist(err) {
    			setSticky = true
    		}
    	}
    
    	var (
    		r int
    		s poll.SysFile
    		e error
    	)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:52:34 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  6. src/syscall/syscall_openbsd_libc.go

    //sysnb getentropy(p []byte) (err error)
    //sys   fstatat(fd int, path string, stat *Stat_t, flags int) (err error)
    //sys   unlinkat(fd int, path string, flags int) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. src/go/types/issues_test.go

    	}
    
    	// run the test for all order permutations of the incoming files
    	for _, perm := range [][len(sources)]int{
    		{0, 1, 2},
    		{0, 2, 1},
    		{1, 0, 2},
    		{1, 2, 0},
    		{2, 0, 1},
    		{2, 1, 0},
    	} {
    		// create file order permutation
    		files := make([]*ast.File, len(sources))
    		for i := range perm {
    			files[i] = orig[perm[i]]
    		}
    
    		// type-check package with given file order permutation
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  8. pkg/kubelet/kuberuntime/kuberuntime_sandbox_test.go

    	pod := newTestPod()
    
    	fakeOS := m.osInterface.(*containertest.FakeOS)
    	fakeOS.MkdirAllFn = func(path string, perm os.FileMode) error {
    		// Check pod logs root directory is created.
    		assert.Equal(t, filepath.Join(testPodLogsDirectory, pod.Namespace+"_"+pod.Name+"_12345678"), path)
    		assert.Equal(t, os.FileMode(0755), perm)
    		return nil
    	}
    	id, _, err := m.createPodSandbox(ctx, pod, 1)
    	assert.NoError(t, err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

      }
      return TransposeOp::build(builder, result, UnrankedTensorType::get(etype), x,
                                perm);
    }
    
    namespace {
    
    OpFoldResult FoldIdentityTranspose(TransposeOp op) {
      DenseIntElementsAttr perm;
      if (!matchPattern(op.getPerm(), m_Constant(&perm))) return {};
      const auto elements = perm.getValues<APInt>();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  10. 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)
Back to top