Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 353 for Tperm (0.14 sec)

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

    	[]int{4, 2, 1, 3, 0},                // Perm(5)
    	[]int{0, 2, 3, 1, 5, 4, 6, 7},       // Perm(8)
    	[]int{2, 0, 8, 3, 4, 7, 6, 5, 1},    // Perm(9)
    	[]int{0, 6, 5, 3, 8, 4, 1, 2, 9, 7}, // Perm(10)
    	[]int{9, 14, 4, 11, 13, 8, 0, 6, 2, 12, 3, 7, 1, 10, 5, 15}, // Perm(16)
    	[]int{},                             // Perm(0)
    	[]int{0},                            // Perm(1)
    	[]int{2, 4, 0, 3, 1},                // Perm(5)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:03:11 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  2. src/runtime/create_file_unix.go

    // license that can be found in the LICENSE file.
    
    //go:build unix
    
    package runtime
    
    const canCreateFile = true
    
    // create returns an fd to a write-only file.
    func create(name *byte, perm int32) int32 {
    	return open(name, _O_CREAT|_O_WRONLY|_O_TRUNC, perm)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 03:45:30 UTC 2022
    - 368 bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/profile/legacy_profile.go

    	cSpaceString   = `(?:\s+(\S+))?`
    	cSpaceHex      = `(?:\s+([[:xdigit:]]+))?`
    	cSpaceAtOffset = `(?:\s+\(@([[:xdigit:]]+)\))?`
    	cPerm          = `(?:\s+([-rwxp]+))?`
    
    	procMapsRE  = regexp.MustCompile(`^` + cHexRange + cPerm + cSpaceHex + hexPair + spaceDigits + cSpaceString)
    	briefMapsRE = regexp.MustCompile(`^` + cHexRange + cPerm + cSpaceString + cSpaceAtOffset + cSpaceHex)
    
    	// Regular expression to parse log data, of the form:
    	// ... file:line] msg...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 32.8K bytes
    - Viewed (0)
  4. pkg/kubelet/container/os.go

    	Open(name string) (*os.File, error)
    	OpenFile(name string, flag int, perm os.FileMode) (*os.File, error)
    	Rename(oldpath, newpath string) error
    }
    
    // RealOS is used to dispatch the real system level operations.
    type RealOS struct{}
    
    // MkdirAll will call os.MkdirAll to create a directory.
    func (RealOS) MkdirAll(path string, perm os.FileMode) error {
    	return os.MkdirAll(path, perm)
    }
    
    // Symlink will call os.Symlink to create a symbolic link.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 30 03:35:26 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  5. src/internal/testenv/testenv_unix.go

    	var errno syscall.Errno
    	if errors.As(err, &errno) {
    		switch errno {
    		case syscall.EPERM, syscall.EROFS:
    			// User lacks permission: either the call requires root permission and the
    			// user is not root, or the call is denied by a container security policy.
    			return true
    		case syscall.EINVAL:
    			// Some containers return EINVAL instead of EPERM if a system call is
    			// denied by security policy.
    			return true
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 17:44:01 UTC 2023
    - 994 bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top