Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 208 for iota (0.04 sec)

  1. src/cmd/vendor/golang.org/x/arch/x86/x86asm/inst.go

    // the interface value instead of requiring an allocation.
    
    // A Reg is a single register.
    // The zero Reg value has no name but indicates “no register.”
    type Reg uint8
    
    const (
    	_ Reg = iota
    
    	// 8-bit
    	AL
    	CL
    	DL
    	BL
    	AH
    	CH
    	DH
    	BH
    	SPB
    	BPB
    	SIB
    	DIB
    	R8B
    	R9B
    	R10B
    	R11B
    	R12B
    	R13B
    	R14B
    	R15B
    
    	// 16-bit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  2. src/runtime/traceruntime.go

    //
    // Note that traceBlockReasons should not be compared, since reasons that are
    // distinct by name may *not* be distinct by value.
    type traceBlockReason uint8
    
    const (
    	traceBlockGeneric traceBlockReason = iota
    	traceBlockForever
    	traceBlockNet
    	traceBlockSelect
    	traceBlockCondWait
    	traceBlockSync
    	traceBlockChanSend
    	traceBlockChanRecv
    	traceBlockGCMarkAssist
    	traceBlockGCSweep
    	traceBlockSystemGoroutine
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  3. 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)
  4. src/cmd/compile/internal/walk/walk.go

    	}
    	if mapfast(t) == mapslow {
    		return typecheck.LookupRuntime(name, t.Key(), t.Elem(), t.Key())
    	}
    	return typecheck.LookupRuntime(name, t.Key(), t.Elem())
    }
    
    const (
    	mapslow = iota
    	mapfast32
    	mapfast32ptr
    	mapfast64
    	mapfast64ptr
    	mapfaststr
    	nmapfast
    )
    
    type mapnames [nmapfast]string
    
    func mkmapnames(base string, ptr string) mapnames {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 20:56:00 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/analysis/internal/analysisflags/flags.go

    // It is used to identify whether a flag appears;
    // the standard boolean flag cannot
    // distinguish missing from unset.
    // It also satisfies flag.Value.
    type triState int
    
    const (
    	unset triState = iota
    	setTrue
    	setFalse
    )
    
    func triStateFlag(name string, value triState, usage string) *triState {
    	flag.Var(&value, name, usage)
    	return &value
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/loopbce.go

    package ssa
    
    import (
    	"cmd/compile/internal/base"
    	"cmd/compile/internal/types"
    	"fmt"
    )
    
    type indVarFlags uint8
    
    const (
    	indVarMinExc    indVarFlags = 1 << iota // minimum value is exclusive (default: inclusive)
    	indVarMaxInc                            // maximum value is inclusive (default: exclusive)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 07 17:37:47 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  7. src/sort/sort.go

    	n := data.Len()
    	if n <= 1 {
    		return
    	}
    	limit := bits.Len(uint(n))
    	pdqsort(data, 0, n, limit)
    }
    
    type sortedHint int // hint for pdqsort when choosing the pivot
    
    const (
    	unknownHint sortedHint = iota
    	increasingHint
    	decreasingHint
    )
    
    // xorshift paper: https://www.jstatsoft.org/article/view/v008i14/xorshift.pdf
    type xorshift uint64
    
    func (r *xorshift) Next() uint64 {
    	*r ^= *r << 13
    	*r ^= *r >> 17
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 16:40:32 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  8. src/go/printer/printer.go

    	formfeed = whiteSpace('\f')
    	indent   = whiteSpace('>')
    	unindent = whiteSpace('<')
    )
    
    // A pmode value represents the current printer mode.
    type pmode int
    
    const (
    	noExtraBlank     pmode = 1 << iota // disables extra blank after /*-style comment
    	noExtraLinebreak                   // disables extra line break after /*-style comment
    )
    
    type commentInfo struct {
    	cindex         int               // current comment index
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 41.6K bytes
    - Viewed (0)
  9. src/encoding/json/stream.go

    //   - bool, for JSON booleans
    //   - float64, for JSON numbers
    //   - [Number], for JSON numbers
    //   - string, for JSON string literals
    //   - nil, for JSON null
    type Token any
    
    const (
    	tokenTopValue = iota
    	tokenArrayStart
    	tokenArrayValue
    	tokenArrayComma
    	tokenObjectStart
    	tokenObjectKey
    	tokenObjectColon
    	tokenObjectValue
    	tokenObjectComma
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  10. 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)
Back to top