Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 103 for iota (0.05 sec)

  1. src/runtime/mfinal.go

    	fin     [(_FinBlockSize - 2*goarch.PtrSize - 2*4) / unsafe.Sizeof(finalizer{})]finalizer
    }
    
    var fingStatus atomic.Uint32
    
    // finalizer goroutine status.
    const (
    	fingUninitialized uint32 = iota
    	fingCreated       uint32 = 1 << (iota - 1)
    	fingRunningFinalizer
    	fingWait
    	fingWake
    )
    
    var finlock mutex  // protects the following variables
    var fing *g        // goroutine that runs finalizers
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 01:56:56 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. src/runtime/error.go

    	}
    	return "interface conversion: " + cs + " is not " + as +
    		": missing method " + e.missingMethod
    }
    
    // itoa converts val to a decimal representation. The result is
    // written somewhere within buf and the location of the result is returned.
    // buf must be at least 20 bytes.
    //
    //go:nosplit
    func itoa(buf []byte, val uint64) []byte {
    	i := len(buf) - 1
    	for val >= 10 {
    		buf[i] = byte(val%10 + '0')
    		i--
    		val /= 10
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. src/go/types/check.go

    	scope         *Scope                 // top-most scope for lookups
    	pos           token.Pos              // if valid, identifiers are looked up as if at position pos (used by Eval)
    	iota          constant.Value         // value of iota in a constant declaration; nil otherwise
    	errpos        positioner             // if set, identifier position of a constant with inherited initializer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  4. src/crypto/tls/boring_test.go

    				testClientCert(t, listName+"->"+rootName[1:]+" (fips, client cert)", pool, leaf.key, list, shouldVerifyFIPS)
    				fipstls.Abandon()
    			}
    		}
    	}
    }
    
    const (
    	boringCertCA = iota
    	boringCertLeaf
    	boringCertFIPSOK = 0x80
    )
    
    func boringRSAKey(t *testing.T, size int) *rsa.PrivateKey {
    	k, err := rsa.GenerateKey(rand.Reader, size)
    	if err != nil {
    		t.Fatal(err)
    	}
    	return k
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:45:37 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top