Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 228 for iota (0.05 sec)

  1. src/internal/coverage/cfile/emit.go

    	covProfileAlreadyEmitted bool
    )
    
    // fileType is used to select between counter-data files and
    // meta-data files.
    type fileType int
    
    const (
    	noFile = 1 << iota
    	metaDataFile
    	counterDataFile
    )
    
    // emitMetaData emits the meta-data output file for this coverage run.
    // This entry point is intended to be invoked by the compiler from
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/operand.go

    	"cmd/compile/internal/syntax"
    	"fmt"
    	"go/constant"
    	. "internal/types/errors"
    )
    
    // An operandMode specifies the (addressing) mode of an operand.
    type operandMode byte
    
    const (
    	invalid   operandMode = iota // operand is invalid
    	novalue                      // operand represents no value (result of a function call w/o result)
    	builtin                      // operand is a built-in function
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 21:17:10 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/asmdecl/asmdecl.go

    	Run:  run,
    }
    
    // 'kind' is a kind of assembly variable.
    // The kinds 1, 2, 4, 8 stand for values of that size.
    type asmKind int
    
    // These special kinds are not valid sizes.
    const (
    	asmString asmKind = 100 + iota
    	asmSlice
    	asmArray
    	asmInterface
    	asmEmptyInterface
    	asmStruct
    	asmComplex
    )
    
    // An asmArch describes assembly parameters for an architecture
    type asmArch struct {
    	name      string
    	bigEndian bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  4. src/encoding/xml/xml.go

    // ending a given tag are *below* it on the stack, which is
    // more work but forced on us by XML.
    type stack struct {
    	next *stack
    	kind int
    	name Name
    	ok   bool
    }
    
    const (
    	stkStart = iota
    	stkNs
    	stkEOF
    )
    
    func (d *Decoder) push(kind int) *stack {
    	s := d.free
    	if s != nil {
    		d.free = s.next
    	} else {
    		s = new(stack)
    	}
    	s.next = d.stk
    	s.kind = kind
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 47.3K bytes
    - Viewed (0)
  5. src/os/file_unix.go

    }
    
    // newFileKind describes the kind of file to newFile.
    type newFileKind int
    
    const (
    	// kindNewFile means that the descriptor was passed to us via NewFile.
    	kindNewFile newFileKind = iota
    	// kindOpenFile means that the descriptor was opened using
    	// Open, Create, or OpenFile.
    	kindOpenFile
    	// kindPipe means that the descriptor was opened using Pipe.
    	kindPipe
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:52:34 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  6. src/reflect/abi.go

    	freg   int     // FP register index, used if kind == abiStepFloatReg
    }
    
    // abiStepKind is the "op-code" for an abiStep instruction.
    type abiStepKind int
    
    const (
    	abiStepBad      abiStepKind = iota
    	abiStepStack                // copy to/from stack
    	abiStepIntReg               // copy to/from integer register
    	abiStepPointer              // copy pointer to/from integer register
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:08:32 UTC 2024
    - 15K bytes
    - Viewed (0)
  7. src/runtime/select.go

    	val unsafe.Pointer // ptr to data (SendDir) or ptr to receive buffer (RecvDir)
    }
    
    // These values must match ../reflect/value.go:/SelectDir.
    type selectDir int
    
    const (
    	_             selectDir = iota
    	selectSend              // case Chan <- Send
    	selectRecv              // case <-Chan:
    	selectDefault           // default
    )
    
    //go:linkname reflect_rselect reflect.rselect
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 13 21:36:04 UTC 2024
    - 15K bytes
    - Viewed (0)
  8. src/net/dnsclient_unix.go

    	hostLookupFiles:    "files",
    	hostLookupDNS:      "dns",
    }
    
    func (o hostLookupOrder) String() string {
    	if s, ok := lookupOrderName[o]; ok {
    		return s
    	}
    	return "hostLookupOrder=" + itoa.Itoa(int(o)) + "??"
    }
    
    func (r *Resolver) goLookupHostOrder(ctx context.Context, name string, order hostLookupOrder, conf *dnsConfig) (addrs []string, err error) {
    	if order == hostLookupFilesDNS || order == hostLookupFiles {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  9. src/go/doc/doc.go

    // Mode values control the operation of [New] and [NewFromFiles].
    type Mode int
    
    const (
    	// AllDecls says to extract documentation for all package-level
    	// declarations, not just exported ones.
    	AllDecls Mode = 1 << iota
    
    	// AllMethods says to show all embedded methods, not just the ones of
    	// invisible (unexported) anonymous fields.
    	AllMethods
    
    	// PreserveAST says to leave the AST unmodified. Originally, pieces of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/syntax/scanner.go

    	"io"
    	"unicode"
    	"unicode/utf8"
    )
    
    // The mode flags below control which comments are reported
    // by calling the error handler. If no flag is set, comments
    // are ignored.
    const (
    	comments   uint = 1 << iota // call handler for all comments
    	directives                  // call handler for directives only
    )
    
    type scanner struct {
    	source
    	mode   uint
    	nlsemi bool // if set '\n' and EOF translate to ';'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 28 18:17:41 UTC 2022
    - 17.1K bytes
    - Viewed (0)
Back to top