Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 449 for iota (0.05 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/go/types/errsupport.go

    	// inaccessible   x.foo   !=    foo    cannot refer to unexported field foo
    	// missing        x.foo   !=    foO    type X has no field or method foo
    
    	const (
    		ok           = iota
    		missing      // no object found
    		misspelled   // found object with different spelling
    		unexported   // found object with name differing only in first letter
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modload/list.go

    	"cmd/go/internal/modfetch/codehost"
    	"cmd/go/internal/modinfo"
    	"cmd/go/internal/search"
    	"cmd/internal/pkgpattern"
    
    	"golang.org/x/mod/module"
    )
    
    type ListMode int
    
    const (
    	ListU ListMode = 1 << iota
    	ListRetracted
    	ListDeprecated
    	ListVersions
    	ListRetractedVersions
    )
    
    // ListModules returns a description of the modules matching args, if known,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 22:43:50 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  7. src/crypto/dsa/dsa.go

    // ParameterSizes is an enumeration of the acceptable bit lengths of the primes
    // in a set of DSA parameters. See FIPS 186-3, section 4.2.
    type ParameterSizes int
    
    const (
    	L1024N160 ParameterSizes = iota
    	L2048N224
    	L2048N256
    	L3072N256
    )
    
    // numMRTests is the number of Miller-Rabin primality tests that we perform. We
    // pick the largest recommended number from table C.1 of FIPS 186-3.
    const numMRTests = 64
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  8. src/runtime/netpoll_windows.go

    // defined values because the only way to set the key of an overlapped entry
    // is using the iocphandle, which is not accessible to user code.
    const (
    	netpollSourceReady = iota + 1
    	netpollSourceBreak
    	netpollSourceTimer
    )
    
    const (
    	// sourceBits is the number of bits needed to represent a source.
    	// 4 bits can hold 16 different sources, which is more than enough.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. doc/go1.17_spec.html

    	b = 1 &lt;&lt; iota  // b == 2  (iota == 1)
    	c = 3          // c == 3  (iota == 2, unused)
    	d = 1 &lt;&lt; iota  // d == 8  (iota == 3)
    )
    
    const (
    	u         = iota * 42  // u == 0     (untyped integer constant)
    	v float64 = iota * 42  // v == 42.0  (float64 constant)
    	w         = iota * 42  // w == 84    (untyped integer constant)
    )
    
    const x = iota  // x == 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  10. 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)
Back to top