Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 689 for Perm (0.13 sec)

  1. android/guava/src/com/google/common/collect/Collections2.java

       * <pre>{@code
       * for (List<String> perm : orderedPermutations(asList("b", "c", "a"))) {
       *   println(perm);
       * }
       * // -> ["a", "b", "c"]
       * // -> ["a", "c", "b"]
       * // -> ["b", "a", "c"]
       * // -> ["b", "c", "a"]
       * // -> ["c", "a", "b"]
       * // -> ["c", "b", "a"]
       *
       * for (List<Integer> perm : orderedPermutations(asList(1, 2, 2, 1))) {
       *   println(perm);
       * }
       * // -> [1, 1, 2, 2]
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  2. src/syscall/zsyscall_plan9_arm.go

    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func create(path string, mode int, perm uint32) (fd int, err error) {
    	var _p0 *byte
    	_p0, err = BytePtrFromString(path)
    	if err != nil {
    		return
    	}
    	r0, _, e1 := Syscall(SYS_CREATE, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
    	fd = int(r0)
    	if int32(r0) == -1 {
    		err = e1
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 6.2K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/plan9/zsyscall_plan9_arm.go

    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func create(path string, mode int, perm uint32) (fd int, err error) {
    	var _p0 *byte
    	_p0, err = BytePtrFromString(path)
    	if err != nil {
    		return
    	}
    	r0, _, e1 := Syscall(SYS_CREATE, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
    	fd = int(r0)
    	if int32(r0) == -1 {
    		err = e1
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  4. src/syscall/zsyscall_plan9_amd64.go

    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func create(path string, mode int, perm uint32) (fd int, err error) {
    	var _p0 *byte
    	_p0, err = BytePtrFromString(path)
    	if err != nil {
    		return
    	}
    	r0, _, e1 := Syscall(SYS_CREATE, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
    	fd = int(r0)
    	if int32(r0) == -1 {
    		err = e1
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 6.2K bytes
    - Viewed (0)
  5. 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)
  6. src/runtime/os_openbsd_syscall2.go

    // It returns a non-negative number of bytes written or a negative errno value.
    //
    //go:noescape
    func write1(fd uintptr, p unsafe.Pointer, n int32) int32
    
    //go:noescape
    func open(name *byte, mode, perm int32) int32
    
    // return value is only set on linux to be used in osinit().
    func madvise(addr unsafe.Pointer, n uintptr, flags int32) int32
    
    // exitThread terminates the current thread, writing *wait = freeMStack when
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. src/io/fs/fs.go

    // IsRegular reports whether m describes a regular file.
    // That is, it tests that no mode type bits are set.
    func (m FileMode) IsRegular() bool {
    	return m&ModeType == 0
    }
    
    // Perm returns the Unix permission bits in m (m & [ModePerm]).
    func (m FileMode) Perm() FileMode {
    	return m & ModePerm
    }
    
    // Type returns type bits in m (m & [ModeType]).
    func (m FileMode) Type() FileMode {
    	return m & ModeType
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 15 21:21:41 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. src/runtime/os_wasm.go

    func sigdisable(uint32)              {}
    func sigenable(uint32)               {}
    func sigignore(uint32)               {}
    
    // Stubs so tests can link correctly. These should never be called.
    func open(name *byte, mode, perm int32) int32        { panic("not implemented") }
    func closefd(fd int32) int32                         { panic("not implemented") }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top