Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 71 for iota (0.09 sec)

  1. src/io/fs/fs.go

    // changed, although new bits might be added.
    const (
    	// The single letters are the abbreviations
    	// used by the String method's formatting.
    	ModeDir        FileMode = 1 << (32 - 1 - iota) // d: is a directory
    	ModeAppend                                     // a: append-only
    	ModeExclusive                                  // l: exclusive use
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 15 21:21:41 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. src/runtime/mklockrank.go

    // in addition to satisfying the partial order in lockPartialOrder.
    // A few ranks allow self-cycles, which are specified in lockPartialOrder.
    const (
    	lockRankUnknown lockRank = iota
    
    `)
    	for _, rank := range topo {
    		if isPseudo(rank) {
    			fmt.Fprintf(w, "\t// %s\n", rank)
    		} else {
    			fmt.Fprintf(w, "\t%s\n", cname(rank))
    		}
    	}
    	fmt.Fprintf(w, `)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. src/net/interface.go

    	HardwareAddr HardwareAddr // IEEE MAC-48, EUI-48 and EUI-64 form
    	Flags        Flags        // e.g., FlagUp, FlagLoopback, FlagMulticast
    }
    
    type Flags uint
    
    const (
    	FlagUp           Flags = 1 << iota // interface is administratively up
    	FlagBroadcast                      // interface supports broadcast access capability
    	FlagLoopback                       // interface is a loopback interface
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. src/runtime/netpoll_windows.go

    // defined values because the only way to set the key of an overlapped entry
    // is using the iocphandle, which is not accessible to user code.
    const (
    	netpollSourceReady = iota + 1
    	netpollSourceBreak
    	netpollSourceTimer
    )
    
    const (
    	// sourceBits is the number of bits needed to represent a source.
    	// 4 bits can hold 16 different sources, which is more than enough.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. src/vendor/golang.org/x/crypto/sha3/sha3.go

    package sha3
    
    // spongeDirection indicates the direction bytes are flowing through the sponge.
    type spongeDirection int
    
    const (
    	// spongeAbsorbing indicates that the sponge is absorbing input.
    	spongeAbsorbing spongeDirection = iota
    	// spongeSqueezing indicates that the sponge is being squeezed.
    	spongeSqueezing
    )
    
    const (
    	// maxRate is the maximum size of the internal buffer. SHAKE-256
    	// currently needs the largest buffer.
    	maxRate = 168
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. src/go/types/selection.go

    // inserted for "pointerness" are not evaluated until the function is
    // called, so a T.f or (*T).f expression never panics.
    type SelectionKind int
    
    const (
    	FieldVal   SelectionKind = iota // x.f is a struct field selector
    	MethodVal                       // x.f is a method selector
    	MethodExpr                      // x.f is a method expression
    )
    
    // A Selection describes a selector expression x.f.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. src/os/dir.go

    package os
    
    import (
    	"internal/bytealg"
    	"internal/filepathlite"
    	"io"
    	"io/fs"
    	"slices"
    )
    
    type readdirMode int
    
    const (
    	readdirName readdirMode = iota
    	readdirDirEntry
    	readdirFileInfo
    )
    
    // Readdir reads the contents of the directory associated with file and
    // returns a slice of up to n [FileInfo] values, as would be returned
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  8. src/runtime/traceevent.go

    //     are suffixes reserved for scheduling resources.
    //
    // NOTE: If you add an event type, make sure you also update all
    // tables in this file!
    type traceEv uint8
    
    const (
    	traceEvNone traceEv = iota // unused
    
    	// Structural events.
    	traceEvEventBatch // start of per-M batch of events [generation, M ID, timestamp, batch length]
    	traceEvStacks     // start of a section of the stack table [...traceEvStack]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. src/strconv/itoa.go

    	if fastSmalls && 0 <= i && i < nSmalls && base == 10 {
    		return small(int(i))
    	}
    	_, s := formatBits(nil, uint64(i), base, i < 0, false)
    	return s
    }
    
    // Itoa is equivalent to [FormatInt](int64(i), 10).
    func Itoa(i int) string {
    	return FormatInt(int64(i), 10)
    }
    
    // AppendInt appends the string form of the integer i,
    // as generated by [FormatInt], to dst and returns the extended buffer.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. src/net/dnsclient.go

    	ip := ParseIP(addr)
    	if ip == nil {
    		return "", &DNSError{Err: "unrecognized address", Name: addr}
    	}
    	if ip.To4() != nil {
    		return itoa.Uitoa(uint(ip[15])) + "." + itoa.Uitoa(uint(ip[14])) + "." + itoa.Uitoa(uint(ip[13])) + "." + itoa.Uitoa(uint(ip[12])) + ".in-addr.arpa.", nil
    	}
    	// Must be IPv6
    	buf := make([]byte, 0, len(ip)*4+len("ip6.arpa."))
    	// Add it, in reverse, to the buffer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top