Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 449 for iota (0.08 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/crypto/x509/internal/macos/security.go

    type SecTrustSettingsResult int32
    
    const (
    	SecTrustSettingsResultInvalid SecTrustSettingsResult = iota
    	SecTrustSettingsResultTrustRoot
    	SecTrustSettingsResultTrustAsRoot
    	SecTrustSettingsResultDeny
    	SecTrustSettingsResultUnspecified
    )
    
    type SecTrustResultType int32
    
    const (
    	SecTrustResultInvalid SecTrustResultType = iota
    	SecTrustResultProceed
    	SecTrustResultConfirm // deprecated
    	SecTrustResultDeny
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 21 20:05:17 UTC 2022
    - 9.1K bytes
    - Viewed (0)
  5. 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)
  6. src/cmd/go/internal/lockedfile/internal/filelock/filelock_other.go

    // license that can be found in the LICENSE file.
    
    //go:build !unix && !windows
    
    package filelock
    
    import (
    	"errors"
    	"io/fs"
    )
    
    type lockType int8
    
    const (
    	readLock = iota + 1
    	writeLock
    )
    
    func lock(f File, lt lockType) error {
    	return &fs.PathError{
    		Op:   lt.String(),
    		Path: f.Name(),
    		Err:  errors.ErrUnsupported,
    	}
    }
    
    func unlock(f File) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 17 02:24:35 UTC 2023
    - 563 bytes
    - Viewed (0)
  7. src/cmd/internal/obj/ppc64/a.out.go

    	BO_NOTBCR  = 4  // branch on not cr value
    )
    
    // Bit settings from the CR
    
    const (
    	C_COND_LT = iota // 0 result is negative
    	C_COND_GT        // 1 result is positive
    	C_COND_EQ        // 2 result is zero
    	C_COND_SO        // 3 summary overflow or FP compare w/ NaN
    )
    
    const (
    	C_NONE     = iota
    	C_REGP     /* An even numbered gpr which can be used a gpr pair argument */
    	C_REG      /* Any gpr register */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 01 18:50:29 UTC 2024
    - 16K bytes
    - Viewed (0)
  8. src/internal/trace/traceviewer/emitter.go

    	return float64(t) / float64(time.Microsecond)
    }
    
    type GState int
    
    const (
    	GDead GState = iota
    	GRunnable
    	GRunning
    	GWaiting
    	GWaitingGC
    
    	gStateCount
    )
    
    type ThreadState int
    
    const (
    	ThreadStateInSyscall ThreadState = iota
    	ThreadStateInSyscallRuntime
    	ThreadStateRunning
    
    	threadStateCount
    )
    
    type frameNode struct {
    	id       int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:29:58 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  9. 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)
  10. src/internal/coverage/cmerge/merge.go

    // with merging of counter data for a given function.
    
    import (
    	"fmt"
    	"internal/coverage"
    	"math"
    )
    
    type ModeMergePolicy uint8
    
    const (
    	ModeMergeStrict ModeMergePolicy = iota
    	ModeMergeRelaxed
    )
    
    // Merger provides state and methods to help manage the process of
    // merging together coverage counter data for a given function, for
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 23:26:34 UTC 2023
    - 3.7K bytes
    - Viewed (0)
Back to top