Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 119 for Tperm (0.32 sec)

  1. pkg/kubelet/certificate/kubelet_test.go

    			}
    		})
    	}
    }
    
    func removeThenCreate(name string, data []byte, perm os.FileMode) error {
    	if err := os.Remove(name); err != nil {
    		if !os.IsNotExist(err) {
    			return err
    		}
    	}
    	return os.WriteFile(name, data, perm)
    }
    
    func createCertAndKeyFiles(certDir string) (string, string, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 03:07:40 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. pkg/util/filesystem/filesystem.go

    type Filesystem interface {
    	// from "os"
    	Stat(name string) (os.FileInfo, error)
    	Create(name string) (File, error)
    	Rename(oldpath, newpath string) error
    	MkdirAll(path string, perm os.FileMode) error
    	Chtimes(name string, atime time.Time, mtime time.Time) error
    	RemoveAll(path string) error
    	Remove(name string) error
    
    	// from "os"
    	ReadFile(filename string) ([]byte, error)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 13 01:02:46 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/etcd3/preflight/checks.go

    // can be reached, return true.
    func (con EtcdConnection) CheckEtcdServers() (done bool, err error) {
    	// Attempt to reach every Etcd server randomly.
    	serverNumber := len(con.ServerList)
    	serverPerms := rand.Perm(serverNumber)
    	for _, index := range serverPerms {
    		host, err := parseServerURI(con.ServerList[index])
    		if err != nil {
    			return false, err
    		}
    		if con.serverReachable(host) {
    			return true, nil
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 20 10:50:48 UTC 2018
    - 1.8K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/plan9/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 19 23:33:33 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  5. src/syscall/zsyscall_plan9_386.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)
  6. src/syscall/syscall_plan9.go

    		defer runtime.UnlockOSThread()
    	}
    	return open(path, mode)
    }
    
    //sys	create(path string, mode int, perm uint32) (fd int, err error)
    
    func Create(path string, mode int, perm uint32) (fd int, err error) {
    	if fixwd(path) {
    		defer runtime.UnlockOSThread()
    	}
    	return create(path, mode, perm)
    }
    
    //sys	remove(path string) (err error)
    
    func Remove(path string) error {
    	if fixwd(path) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/clone_constants_for_better_clustering.h

    //
    // We only clone small host constants now to avoid increasing memory consumption
    // too much.  Moreover, in practice the constants we have to duplicate are
    // things like the `perm` input to `Transpose` and the `size` input to `Slice`
    // which tend to be small anyway.
    
    class CloneConstantsForBetterClusteringPass : public GraphOptimizationPass {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 19 23:57:44 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  8. src/internal/bytealg/compare_ppc64x.s

    	VCMPEQUDCC	V3,V4,V1
    	BGE	CR6,different
    	RET
    
    	PCALIGN $16
    different:
    #ifdef	GOARCH_ppc64le
    	MOVD	$byteswap<>+00(SB),R16
    	LXVD2X	(R16)(R0),SWAP	// Set up swap string
    
    	VPERM	V3,V3,SWAP,V3
    	VPERM	V4,V4,SWAP,V4
    #endif
    
    	MFVSRD	VS35,R16	// move upper doublewords of A and B into GPR for comparison
    	MFVSRD	VS36,R10
    
    	CMPU	R16,R10
    	BEQ	lower
    	SETB_CR0_NE(R3)
    	RET
    
    	PCALIGN $16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:33:20 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/plan9/zsyscall_plan9_386.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)
  10. src/cmd/vendor/golang.org/x/sys/unix/ztypes_zos_s390x.go

    }
    
    type SysvShmDesc struct {
    	Perm   SysvIpcPerm
    	_      [4]byte
    	Lpid   int32
    	Cpid   int32
    	Nattch uint32
    	_      [4]byte
    	_      [4]byte
    	_      [4]byte
    	_      int32
    	_      uint8
    	_      uint8
    	_      uint16
    	_      *byte
    	Segsz  uint64
    	Atime  Time_t
    	Dtime  Time_t
    	Ctime  Time_t
    }
    
    type SysvShmDesc64 struct {
    	Perm   SysvIpcPerm
    	_      [4]byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top