Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Perm (0.18 sec)

  1. 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).
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon May 22 20:56:09 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/parse.go

    // expr = term | term ('+' | '-' | '|' | '^') term.
    func (p *Parser) expr() uint64 {
    	value := p.term()
    	for {
    		switch p.peek() {
    		case '+':
    			p.next()
    			value += p.term()
    		case '-':
    			p.next()
    			value -= p.term()
    		case '|':
    			p.next()
    			value |= p.term()
    		case '^':
    			p.next()
    			value ^= p.term()
    		default:
    			return value
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  3. doc/go_spec.html

    of Extended Backus-Naur Form (EBNF):
    </p>
    
    <pre class="grammar">
    Syntax      = { Production } .
    Production  = production_name "=" [ Expression ] "." .
    Expression  = Term { "|" Term } .
    Term        = Factor { Factor } .
    Factor      = production_name | token [ "…" token ] | Group | Option | Repetition .
    Group       = "(" Expression ")" .
    Option      = "[" Expression "]" .
    Repetition  = "{" Expression "}" .
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  4. src/archive/tar/common.go

    	// Set file permission bits.
    	mode = fs.FileMode(fi.h.Mode).Perm()
    
    	// Set setuid, setgid and sticky bits.
    	if fi.h.Mode&c_ISUID != 0 {
    		mode |= fs.ModeSetuid
    	}
    	if fi.h.Mode&c_ISGID != 0 {
    		mode |= fs.ModeSetgid
    	}
    	if fi.h.Mode&c_ISVTX != 0 {
    		mode |= fs.ModeSticky
    	}
    
    	// Set file mode bits; clear perm, setuid, setgid, and sticky bits.
    	switch m := fs.FileMode(fi.h.Mode) &^ 07777; m {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  5. misc/wasm/wasm_exec.js

    			lchown(path, uid, gid, callback) { callback(enosys()); },
    			link(path, link, callback) { callback(enosys()); },
    			lstat(path, callback) { callback(enosys()); },
    			mkdir(path, perm, callback) { callback(enosys()); },
    			open(path, flags, mode, callback) { callback(enosys()); },
    			read(fd, buffer, offset, length, position, callback) { callback(enosys()); },
    			readdir(path, callback) { callback(enosys()); },
    JavaScript
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon May 22 17:47:47 GMT 2023
    - 16.3K bytes
    - Viewed (1)
  6. api/go1.22.txt

    pkg math/rand/v2, func NewPCG(uint64, uint64) *PCG #61716
    pkg math/rand/v2, func NewZipf(*Rand, float64, float64, uint64) *Zipf #61716
    pkg math/rand/v2, func NormFloat64() float64 #61716
    pkg math/rand/v2, func Perm(int) []int #61716
    pkg math/rand/v2, func Shuffle(int, func(int, int)) #61716
    pkg math/rand/v2, func Uint32() uint32 #61716
    pkg math/rand/v2, func Uint32N(uint32) uint32 #61716
    pkg math/rand/v2, func Uint64() uint64 #61716
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 20:54:27 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  7. src/archive/tar/tar_test.go

    	h, err := FileInfoHeader(fi, "")
    	if err != nil {
    		t.Fatalf("FileInfoHeader: %v", err)
    	}
    	if g, e := h.Name, "small.txt"; g != e {
    		t.Errorf("Name = %q; want %q", g, e)
    	}
    	if g, e := h.Mode, int64(fi.Mode().Perm()); g != e {
    		t.Errorf("Mode = %#o; want %#o", g, e)
    	}
    	if g, e := h.Size, int64(5); g != e {
    		t.Errorf("Size = %v; want %v", g, e)
    	}
    	if g, e := h.ModTime, fi.ModTime(); !g.Equal(e) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
  8. src/cmd/cgo/doc.go

    know the location of every pointer to Go memory. Because of this,
    there are restrictions on passing pointers between Go and C.
    
    In this section the term Go pointer means a pointer to memory
    allocated by Go (such as by using the & operator or calling the
    predefined new function) and the term C pointer means a pointer to
    memory allocated by C (such as by a call to C.malloc). Whether a
    pointer is a Go pointer or a C pointer is a dynamic property
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  9. doc/go1.17_spec.html

    <p>
    The syntax is specified using Extended Backus-Naur Form (EBNF):
    </p>
    
    <pre class="grammar">
    Production  = production_name "=" [ Expression ] "." .
    Expression  = Alternative { "|" Alternative } .
    Alternative = Term { Term } .
    Term        = production_name | token [ "…" token ] | Group | Option | Repetition .
    Group       = "(" Expression ")" .
    Option      = "[" Expression "]" .
    Repetition  = "{" Expression "}" .
    </pre>
    
    <p>
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  10. api/go1.18.txt

    pkg go/types, method (*Signature) RecvTypeParams() *TypeParamList
    pkg go/types, method (*Signature) TypeParams() *TypeParamList
    pkg go/types, method (*Term) String() string
    pkg go/types, method (*Term) Tilde() bool
    pkg go/types, method (*Term) Type() Type
    pkg go/types, method (*TypeList) At(int) Type
    pkg go/types, method (*TypeList) Len() int
    pkg go/types, method (*TypeParam) Constraint() Type
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 13K bytes
    - Viewed (0)
Back to top