Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/cmd/vendor/golang.org/x/text/cases/trieval.go

    // cXORCase can result in large series of identical trie values. This, in turn,
    // allows us to better compress the trie blocks.
    const (
    	cUncased          info = iota // 000
    	cTitle                        // 001
    	cLower                        // 010
    	cUpper                        // 011
    	cIgnorableUncased             // 100
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. src/runtime/metrics/value.go

    	"math"
    	"unsafe"
    )
    
    // ValueKind is a tag for a metric [Value] which indicates its type.
    type ValueKind int
    
    const (
    	// KindBad indicates that the Value has no type and should not be used.
    	KindBad ValueKind = iota
    
    	// KindUint64 indicates that the type of the Value is a uint64.
    	KindUint64
    
    	// KindFloat64 indicates that the type of the Value is a float64.
    	KindFloat64
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 16:59:11 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types/alg.go

    // AlgKind describes the kind of algorithms used for comparing and
    // hashing a Type.
    type AlgKind int8
    
    //go:generate stringer -type AlgKind -trimprefix A alg.go
    
    const (
    	AUNK   AlgKind = iota
    	ANOEQ          // Types cannot be compared
    	ANOALG         // implies ANOEQ, and in addition has a part that is marked Noalg
    	AMEM           // Type can be compared/hashed as regular memory.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 15:30:00 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modload/search.go

    	"cmd/go/internal/search"
    	"cmd/go/internal/str"
    	"cmd/go/internal/trace"
    	"cmd/internal/pkgpattern"
    
    	"golang.org/x/mod/module"
    )
    
    type stdFilter int8
    
    const (
    	omitStd = stdFilter(iota)
    	includeStd
    )
    
    // matchPackages is like m.MatchPackages, but uses a local variable (rather than
    // a global) for tags, can include or exclude packages in the standard library,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:15 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/analysis/validate.go

    func Validate(analyzers []*Analyzer) error {
    	// Map each fact type to its sole generating analyzer.
    	factTypes := make(map[reflect.Type]*Analyzer)
    
    	// Traverse the Requires graph, depth first.
    	const (
    		white = iota
    		grey
    		black
    		finished
    	)
    	color := make(map[*Analyzer]uint8)
    	var visit func(a *Analyzer) error
    	visit = func(a *Analyzer) error {
    		if a == nil {
    			return fmt.Errorf("nil *Analyzer")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 21:52:54 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/universe.go

    }
    
    var predeclaredConsts = [...]struct {
    	name string
    	kind BasicKind
    	val  constant.Value
    }{
    	{"true", UntypedBool, constant.MakeBool(true)},
    	{"false", UntypedBool, constant.MakeBool(false)},
    	{"iota", UntypedInt, constant.MakeInt64(0)},
    }
    
    func defPredeclaredConsts() {
    	for _, c := range predeclaredConsts {
    		def(NewConst(nopos, nil, c.name, Typ[c.kind], c.val))
    	}
    }
    
    func defPredeclaredNil() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. src/go/types/universe.go

    }
    
    var predeclaredConsts = [...]struct {
    	name string
    	kind BasicKind
    	val  constant.Value
    }{
    	{"true", UntypedBool, constant.MakeBool(true)},
    	{"false", UntypedBool, constant.MakeBool(false)},
    	{"iota", UntypedInt, constant.MakeInt64(0)},
    }
    
    func defPredeclaredConsts() {
    	for _, c := range predeclaredConsts {
    		def(NewConst(nopos, nil, c.name, Typ[c.kind], c.val))
    	}
    }
    
    func defPredeclaredNil() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  8. src/internal/trace/resources.go

    // GoState represents the state of a goroutine.
    //
    // New GoStates may be added in the future. Users of this type must be robust
    // to that possibility.
    type GoState uint8
    
    const (
    	GoUndetermined GoState = iota // No information is known about the goroutine.
    	GoNotExist                    // Goroutine does not exist.
    	GoRunnable                    // Goroutine is runnable but not running.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. src/crypto/x509/boring_test.go

    	"crypto/elliptic"
    	"crypto/internal/boring/fipstls"
    	"crypto/rand"
    	"crypto/rsa"
    	"crypto/x509/pkix"
    	"fmt"
    	"math/big"
    	"strings"
    	"testing"
    	"time"
    )
    
    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: Thu Nov 17 17:38:47 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  10. src/sync/mutex.go

    	sema  uint32
    }
    
    // A Locker represents an object that can be locked and unlocked.
    type Locker interface {
    	Lock()
    	Unlock()
    }
    
    const (
    	mutexLocked = 1 << iota // mutex is locked
    	mutexWoken
    	mutexStarving
    	mutexWaiterShift = iota
    
    	// Mutex fairness.
    	//
    	// Mutex can be in 2 modes of operations: normal and starvation.
    	// In normal mode waiters are queued in FIFO order, but a woken up waiter
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top