Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 198 for iota (0.04 sec)

  1. src/crypto/x509/x509.go

    	for _, details := range signatureAlgorithmDetails {
    		if details.algo == algo {
    			return details.name
    		}
    	}
    	return strconv.Itoa(int(algo))
    }
    
    type PublicKeyAlgorithm int
    
    const (
    	UnknownPublicKeyAlgorithm PublicKeyAlgorithm = iota
    	RSA
    	DSA // Only supported for parsing.
    	ECDSA
    	Ed25519
    )
    
    var publicKeyAlgoName = [...]string{
    	RSA:     "RSA",
    	DSA:     "DSA",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:20:15 UTC 2024
    - 82K bytes
    - Viewed (0)
  2. src/crypto/tls/quic.go

    	"errors"
    	"fmt"
    )
    
    // QUICEncryptionLevel represents a QUIC encryption level used to transmit
    // handshake messages.
    type QUICEncryptionLevel int
    
    const (
    	QUICEncryptionLevelInitial = QUICEncryptionLevel(iota)
    	QUICEncryptionLevelEarly
    	QUICEncryptionLevelHandshake
    	QUICEncryptionLevelApplication
    )
    
    func (l QUICEncryptionLevel) String() string {
    	switch l {
    	case QUICEncryptionLevelInitial:
    		return "Initial"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  3. src/internal/trace/internal/oldtrace/parser.go

    type Frame struct {
    	PC uint64
    	// string ID of the function name
    	Fn uint64
    	// string ID of the file name
    	File uint64
    	Line int
    }
    
    const (
    	// Special P identifiers:
    	FakeP    = 1000000 + iota
    	TimerP   // contains timer unblocks
    	NetpollP // contains network unblocks
    	SyscallP // contains returns from syscalls
    	GCP      // contains GC state
    	ProfileP // contains recording of CPU profile samples
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  4. 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)
  5. src/time/zoneinfo_read.go

    	//	number of standard/wall indicators
    	//	number of leap seconds
    	//	number of transition times
    	//	number of local time zones
    	//	number of characters of time zone abbrev strings
    	const (
    		NUTCLocal = iota
    		NStdWall
    		NLeap
    		NTime
    		NZone
    		NChar
    	)
    	var n [6]int
    	for i := 0; i < 6; i++ {
    		nn, ok := d.big4()
    		if !ok {
    			return nil, errBadData
    		}
    		if uint32(int(nn)) != nn {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  6. src/net/conf.go

    	goos     string   // copy of runtime.GOOS, used for testing
    	mdnsTest mdnsTest // assume /etc/mdns.allow exists, for testing
    }
    
    // mdnsTest is for testing only.
    type mdnsTest int
    
    const (
    	mdnsFromSystem mdnsTest = iota
    	mdnsAssumeExists
    	mdnsAssumeDoesNotExist
    )
    
    var (
    	confOnce sync.Once // guards init of confVal via initConfVal
    	confVal  = &conf{goos: runtime.GOOS}
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 03:13:26 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/main.go

    // neither true nor false, allowing it to be set from context (e.g. from another
    // flag).
    // *ternaryFlag implements flag.Value.
    type ternaryFlag int
    
    const (
    	ternaryFlagUnset ternaryFlag = iota
    	ternaryFlagFalse
    	ternaryFlagTrue
    )
    
    func (t *ternaryFlag) Set(s string) error {
    	v, err := strconv.ParseBool(s)
    	if err != nil {
    		return err
    	}
    	if v {
    		*t = ternaryFlagTrue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:59:50 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  8. src/internal/trace/oldtrace.go

    	lastTs         Time
    	procMs         map[ProcID]ThreadID
    	lastStwReason  uint64
    
    	inlineToStringID  []uint64
    	builtinToStringID []uint64
    }
    
    const (
    	// Block reasons
    	sForever = iota
    	sPreempted
    	sGosched
    	sSleep
    	sChanSend
    	sChanRecv
    	sNetwork
    	sSync
    	sSyncCond
    	sSelect
    	sEmpty
    	sMarkAssistWait
    
    	// STW kinds
    	sSTWUnknown
    	sSTWGCMarkTermination
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  9. src/log/slog/value.go

    )
    
    // Kind is the kind of a [Value].
    type Kind int
    
    // The following list is sorted alphabetically, but it's also important that
    // KindAny is 0 so that a zero Value represents nil.
    
    const (
    	KindAny Kind = iota
    	KindBool
    	KindDuration
    	KindFloat64
    	KindInt64
    	KindString
    	KindTime
    	KindUint64
    	KindGroup
    	KindLogValuer
    )
    
    var kindStrings = []string{
    	"Any",
    	"Bool",
    	"Duration",
    	"Float64",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:12:08 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. 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)
Back to top