Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/os/path.go

    // along with any necessary parents, and returns nil,
    // or else returns an error.
    // The permission bits perm (before umask) are used for all
    // directories that MkdirAll creates.
    // If path is already a directory, MkdirAll does nothing
    // and returns nil.
    func MkdirAll(path string, perm FileMode) error {
    	// Fast path: if we can tell whether path is a directory or file, stop with success or error.
    	dir, err := Stat(path)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:38:09 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. src/crypto/internal/nistec/p256_asm_ppc64le.s

    	LXVD2X (CPOOL+R0), PH
    	LXVD2X (CPOOL+R16), PL
    
    	// VPERM byte selections
    	LXVD2X (CPOOL+R18), SEL2
    	LXVD2X (CPOOL+R19), SEL1
    
    	LXVD2X (R16)(x_ptr), T1
    	LXVD2X (R0)(x_ptr), T0
    
    	// Put in true little endian order
    	XXPERMDI T0, T0, $2, T0
    	XXPERMDI T1, T1, $2, T1
    
    	// First round
    	VPERM   T1, T0, SEL1, RED2    // d1 d0 d1 d0
    	VPERM   ZER, RED2, SEL2, RED1 // 0  d1 d0  0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  7. pkg/file/file.go

    		return err
    	}
    	defer in.Close()
    
    	perm, err := in.Stat()
    	if err != nil {
    		return err
    	}
    
    	return AtomicWriteReader(filepath.Join(targetDir, targetFilename), in, perm.Mode())
    }
    
    func Copy(srcFilepath, targetDir, targetFilename string) error {
    	in, err := os.Open(srcFilepath)
    	if err != nil {
    		return err
    	}
    	defer in.Close()
    
    	perm, err := in.Stat()
    	if err != nil {
    		return err
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 11 21:42:29 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. internal/lock/lock_windows.go

    	errLockViolation syscall.Errno = 0x21
    )
    
    // lockedOpenFile is an internal function.
    func lockedOpenFile(path string, flag int, perm os.FileMode, lockType uint32) (*LockedFile, error) {
    	f, err := Open(path, flag, perm)
    	if err != nil {
    		return nil, err
    	}
    
    	if err = lockFile(syscall.Handle(f.Fd()), lockType); err != nil {
    		f.Close()
    		return nil, err
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Oct 18 18:08:15 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  9. pkg/util/filesystem/defaultfs.go

    }
    
    // MkdirAll via os.MkdirAll
    func (fs *DefaultFs) MkdirAll(path string, perm os.FileMode) error {
    	return os.MkdirAll(fs.prefix(path), perm)
    }
    
    // MkdirAllWithPathCheck checks if path exists already. If not, it creates a directory
    // named path, along with any necessary parents, and returns nil, or else returns an error.
    // Permission bits perm (before umask) are used for all directories that
    // MkdirAllWithPathCheck creates.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 03 07:38:14 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/crypto/internal/poly1305/sum_s390x.s

    	VPERM T_0, R_0, T_1, R_0   // [_,  r₂₆[0], _, 0]
    	VPERM T_0, R_1, T_1, R_1   // [_,  r₂₆[1], _, 0]
    	VPERM T_0, R_2, T_1, R_2   // [_,  r₂₆[2], _, 0]
    	VPERM T_0, R_3, T_1, R_3   // [_,  r₂₆[3], _, 0]
    	VPERM T_0, R_4, T_1, R_4   // [_,  r₂₆[4], _, 0]
    	VPERM T_0, R5_1, T_1, R5_1 // [_, 5r₂₆[1], _, 0]
    	VPERM T_0, R5_2, T_1, R5_2 // [_, 5r₂₆[2], _, 0]
    	VPERM T_0, R5_3, T_1, R5_3 // [_, 5r₂₆[3], _, 0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 17.5K bytes
    - Viewed (0)
Back to top