Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 403 for Tperm (0.04 sec)

  1. src/math/rand/v2/example_test.go

    	show("Int32N(10)", r.Int32N(10), r.Int32N(10), r.Int32N(10))
    	show("Int64N(10)", r.Int64N(10), r.Int64N(10), r.Int64N(10))
    
    	// Perm generates a random permutation of the numbers [0, n).
    	show("Perm", r.Perm(5), r.Perm(5), r.Perm(5))
    	// Output:
    	// Float32     0.95955694          0.8076733            0.8135684
    	// Float64     0.4297927436037299  0.797802349388613    0.3883664855410056
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 30 17:09:26 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/cgotest/overlaydir.go

    		for len(suffix) > 0 && suffix[0] == filepath.Separator {
    			suffix = suffix[1:]
    		}
    		dstPath := filepath.Join(dstRoot, suffix)
    
    		perm := info.Mode() & os.ModePerm
    		if info.Mode()&os.ModeSymlink != 0 {
    			info, err = os.Stat(srcPath)
    			if err != nil {
    				return err
    			}
    			perm = info.Mode() & os.ModePerm
    		}
    
    		// Always copy directories (don't symlink them).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 20:56:09 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. src/internal/syscall/unix/at_libc2.go

    	_ "unsafe" // for linkname
    )
    
    func Unlinkat(dirfd int, path string, flags int) error {
    	return unlinkat(dirfd, path, flags)
    }
    
    func Openat(dirfd int, path string, flags int, perm uint32) (int, error) {
    	return openat(dirfd, path, flags, perm)
    }
    
    func Fstatat(dirfd int, path string, stat *syscall.Stat_t, flags int) error {
    	return fstatat(dirfd, path, stat, flags)
    }
    
    //go:linkname unlinkat syscall.unlinkat
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 31 16:59:38 UTC 2022
    - 927 bytes
    - Viewed (0)
  4. src/crypto/sha512/sha512block_ppc64x.s

    	VADDUDM	V16, V6, V6
    	VADDUDM	V17, V7, V7
    
    	CMPU	INP, END
    	BLT	loop
    
    #ifdef GOARCH_ppc64le
    	VPERM	V0, V1, KI, V0
    	VPERM	V2, V3, KI, V2
    	VPERM	V4, V5, KI, V4
    	VPERM	V6, V7, KI, V6
    #else
    	VPERM	V1, V0, KI, V0
    	VPERM	V3, V2, KI, V2
    	VPERM	V5, V4, KI, V4
    	VPERM	V7, V6, KI, V6
    #endif
    	STXVD2X	VS32, (CTX+R_x000)	// v0 = vs32
    	STXVD2X	VS34, (CTX+R_x010)	// v2 = vs34
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  5. src/crypto/aes/asm_ppc64x.s

    #define NEEDS_ESPERM
    #define P8_LXVB16X(RA,RB,VT) \
    	LXVD2X	(RA+RB), VT \
    	VPERM	VT, VT, ESPERM, VT
    
    #define P8_STXVB16X(VS,RA,RB) \
    	VPERM	VS, VS, ESPERM, TMP2 \
    	STXVD2X	TMP2, (RA+RB)
    
    #define XXBRD_ON_LE(VA,VT) \
    	VPERM	VA, VA, ESPERM, VT
    
    #  endif // defined(GOPPC64_power9)
    #else
    #define P8_LXVB16X(RA,RB,VT)  LXVD2X	(RA+RB), VT
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:05:32 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  6. src/cmd/go/internal/toolchain/path_unix.go

    	}
    
    	// Mimicking exec.findExecutable here.
    	// ENOSYS means Eaccess is not available or not implemented.
    	// EPERM can be returned by Linux containers employing seccomp.
    	// In both cases, fall back to checking the permission bits.
    	err := unix.Eaccess(filepath.Join(dir, de.Name()), unix.X_OK)
    	if (err == syscall.ENOSYS || err == syscall.EPERM) && info.Mode()&0111 != 0 {
    		err = nil
    	}
    	if err != nil {
    		return "", false
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 31 15:15:19 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/layout_optimization.cc

          ConstOp perm =
              dyn_cast_or_null<ConstOp>(transpose.getOperand(1).getDefiningOp());
          if (!perm) return;
    
          // With the same permutation indices.
          auto dense_elem_attr = mlir::dyn_cast<DenseElementsAttr>(perm.getValue());
          if (!dense_elem_attr) return;
    
          if (!permutation_op) permutation_op = perm;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  8. src/internal/syscall/unix/at_libc.go

    		return errno
    	}
    
    	return nil
    }
    
    func Openat(dirfd int, path string, flags int, perm uint32) (int, error) {
    	p, err := syscall.BytePtrFromString(path)
    	if err != nil {
    		return 0, err
    	}
    
    	fd, _, errno := syscall6(uintptr(unsafe.Pointer(&procOpenat)), 4, uintptr(dirfd), uintptr(unsafe.Pointer(p)), uintptr(flags), uintptr(perm), 0, 0)
    	if errno != 0 {
    		return 0, errno
    	}
    
    	return int(fd), nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  9. src/os/file_open_unix.go

    // license that can be found in the LICENSE file.
    
    //go:build unix || (js && wasm)
    
    package os
    
    import (
    	"internal/poll"
    	"syscall"
    )
    
    func open(path string, flag int, perm uint32) (int, poll.SysFile, error) {
    	fd, err := syscall.Open(path, flag, perm)
    	return fd, poll.SysFile{}, err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 07 23:34:21 UTC 2023
    - 397 bytes
    - Viewed (0)
  10. pkg/volume/emptydir/empty_dir.go

    		// the specific bits we need.
    		err := os.Chmod(dir, perm)
    		if err != nil {
    			return err
    		}
    
    		fileinfo, err = os.Lstat(dir)
    		if err != nil {
    			return err
    		}
    
    		if fileinfo.Mode().Perm() != perm.Perm() {
    			klog.Errorf("Expected directory %q permissions to be: %s; got: %s", dir, perm.Perm(), fileinfo.Mode().Perm())
    		}
    	}
    
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top