Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 288 for iota (0.07 sec)

  1. src/go/types/expr.go

    				// init expression/func declaration which contains
    				// them: use existing package-level declaration info.
    				decl := check.decl // capture for use in closure below
    				iota := check.iota // capture for use in closure below (go.dev/issue/22345)
    				// Don't type-check right away because the function may
    				// be part of a type definition to which the function
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  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/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)
  7. 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)
  8. src/runtime/traceallocfree.go

    // Runtime -> tracer API for memory events.
    
    package runtime
    
    import (
    	"internal/abi"
    	"runtime/internal/sys"
    )
    
    // Batch type values for the alloc/free experiment.
    const (
    	traceAllocFreeTypesBatch = iota // Contains types. [{id, address, size, ptrspan, name length, name string} ...]
    	traceAllocFreeInfoBatch         // Contains info for interpreting events. [min heap addr, page size, min heap align, min stack align]
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:32:51 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. 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)
  10. src/cmd/vendor/rsc.io/markdown/entity.go

    	"&InvisibleComma;":                  "\u2063",
    	"&InvisibleTimes;":                  "\u2062",
    	"&Iogon;":                           "\u012e",
    	"&Iopf;":                            "\U0001d540",
    	"&Iota;":                            "\u0399",
    	"&Iscr;":                            "\u2110",
    	"&Itilde;":                          "\u0128",
    	"&Iukcy;":                           "\u0406",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 101K bytes
    - Viewed (0)
Back to top