Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 403 for Tperm (0.05 sec)

  1. pkg/kubelet/container/testing/os.go

    	Removes    []string
    	Files      map[string][]*os.FileInfo
    	FilesLock  sync.RWMutex
    }
    
    // Mkdir is a fake call that just returns nil.
    func (f *FakeOS) MkdirAll(path string, perm os.FileMode) error {
    	if f.MkdirAllFn != nil {
    		return f.MkdirAllFn(path, perm)
    	}
    	return nil
    }
    
    // Symlink is a fake call that just returns nil.
    func (f *FakeOS) Symlink(oldname string, newname string) error {
    	if f.SymlinkFn != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 07 13:37:31 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  2. src/os/file_open_wasip1.go

    // license that can be found in the LICENSE file.
    
    //go:build wasip1
    
    package os
    
    import (
    	"internal/poll"
    	"syscall"
    )
    
    func open(filePath string, flag int, perm uint32) (int, poll.SysFile, error) {
    	if filePath == "" {
    		return -1, poll.SysFile{}, syscall.EINVAL
    	}
    	absPath := filePath
    	// os.(*File).Chdir is emulated by setting the working directory to the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 07 23:34:21 UTC 2023
    - 818 bytes
    - Viewed (0)
  3. src/internal/poll/copy_file_range_linux.go

    			// See issue #42334.
    			//
    			// If the file is on NFS, we can see EOPNOTSUPP.
    			// See issue #40731.
    			//
    			// If the process is running inside a Docker container,
    			// we might see EPERM instead of ENOSYS. See issue
    			// #40893. Since EPERM might also be a legitimate error,
    			// don't mark copy_file_range(2) as unsupported.
    			return 0, false, nil
    		case nil:
    			if n == 0 {
    				// If we did not read any bytes at all,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 17:40:10 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/push_transpose_through_ewise.cc

              tpose_arg_rank == 0)) {
          return failure();
        }
    
        auto perm = llvm::dyn_cast_or_null<arith::ConstantOp>(
            tpose_arg.getPerm().getDefiningOp());
        if (!perm) {
          return failure();
        }
        auto perm_value =
            llvm::dyn_cast<DenseElementsAttr>(perm.getValue()).getValues<int32_t>();
        llvm::SmallVector<int32_t> perm_arr(perm_value.begin(), perm_value.end());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/transforms/tflite_legalize_hlo_patterns.td

      "CreateCastToInt32($0, $_loc, $_builder)">;
    // TODO: b/304003568 - Add TF_TransposeOp folding logic to tflite.
    def LegalizeTranspose : Pat<(MHLO_TransposeOp $arg, $perm),
                                (TFL_TransposeOp $arg,
                                (CreateTFLCastToInt32Op (TFL_ConstOp $perm)))>;
    
    
    def ConvertDotGeneralOp : NativeCodeCall<"ConvertDotGeneralOp($_builder, "
                                                   "$0.getDefiningOp())">;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 18 18:07:41 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  6. pom.xml

    							<mapper>
    								<type>perm</type>
    								<user>${packaging.fess.user}</user>
    								<group>${packaging.fess.group}</group>
    							</mapper>
    						</data>
    						<data>
    							<type>directory</type>
    							<src>${project.build.directory}/fess/WEB-INF/classes/org/codelibs/fess/tomcat</src>
    							<mapper>
    								<type>perm</type>
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu May 30 06:49:02 UTC 2024
    - 48.7K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/xattr_bsd.go

    		 *
    		 * Linux will still error if we ask for user attributes on a file that
    		 * we don't have read permissions on, so don't ignore those errors
    		 */
    		if e != nil {
    			if e == EPERM && nsid != EXTATTR_NAMESPACE_USER {
    				continue
    			}
    			return s, e
    		}
    
    		s += stmp
    		pos = s
    		if pos > destsiz {
    			pos = destsiz
    		}
    	}
    
    	return s, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  8. internal/disk/directio_darwin.go

    // ODirectPlatform indicates if the platform supports O_DIRECT
    const ODirectPlatform = true
    
    // OpenFileDirectIO - bypass kernel cache.
    func OpenFileDirectIO(filePath string, flag int, perm os.FileMode) (*os.File, error) {
    	return directio.OpenFile(filePath, flag, perm)
    }
    
    // DisableDirectIO - disables directio mode.
    func DisableDirectIO(f *os.File) error {
    	fd := f.Fd()
    	_, err := unix.FcntlInt(fd, unix.F_NOCACHE, 0)
    	return err
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jun 17 14:31:36 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  9. src/syscall/creds_test.go

    			if op, ok := err.(*net.OpError); ok {
    				err = op.Err
    			}
    			if sys, ok := err.(*os.SyscallError); ok {
    				err = sys.Err
    			}
    			switch err {
    			case syscall.EPERM, syscall.EINVAL:
    			default:
    				t.Fatalf("WriteMsgUnix failed with %v, want EPERM or EINVAL", err)
    			}
    		}
    
    		ucred.Pid = int32(os.Getpid())
    		ucred.Uid = uint32(os.Getuid())
    		ucred.Gid = uint32(os.Getgid())
    		oob := syscall.UnixCredentials(&ucred)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 17 02:43:05 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  10. src/os/exec/lp_unix.go

    		return syscall.EISDIR
    	}
    	err = unix.Eaccess(file, unix.X_OK)
    	// 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.
    	if err == nil || (err != syscall.ENOSYS && err != syscall.EPERM) {
    		return err
    	}
    	if m&0111 != 0 {
    		return nil
    	}
    	return fs.ErrPermission
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top