Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 30 for iota (0.39 sec)

  1. 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)
  2. src/cmd/link/internal/sym/symkind.go

    type SymKind uint8
    
    // Defined SymKind values.
    //
    // TODO(rsc): Give idiomatic Go names.
    //
    //go:generate stringer -type=SymKind
    const (
    	Sxxx SymKind = iota
    	STEXT
    	SELFRXSECT
    	SMACHOPLT
    
    	// Read-only sections.
    	STYPE
    	SSTRING
    	SGOSTRING
    	SGOFUNC
    	SGCBITS
    	SRODATA
    	SFUNCTAB
    
    	SELFROSECT
    
    	// Read-only sections with relocations.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. src/internal/trace/parser.go

    package trace
    
    // Frame is a frame in stack traces.
    type Frame struct {
    	PC   uint64
    	Fn   string
    	File string
    	Line int
    }
    
    const (
    	// Special P identifiers:
    	FakeP    = 1000000 + iota
    	TimerP   // depicts timer unblocks
    	NetpollP // depicts network unblocks
    	SyscallP // depicts returns from syscalls
    	GCP      // depicts GC state
    	ProfileP // depicts recording of CPU profile samples
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:31:04 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. src/runtime/mklockrank.go

    // in addition to satisfying the partial order in lockPartialOrder.
    // A few ranks allow self-cycles, which are specified in lockPartialOrder.
    const (
    	lockRankUnknown lockRank = iota
    
    `)
    	for _, rank := range topo {
    		if isPseudo(rank) {
    			fmt.Fprintf(w, "\t// %s\n", rank)
    		} else {
    			fmt.Fprintf(w, "\t%s\n", cname(rank))
    		}
    	}
    	fmt.Fprintf(w, `)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. 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)
  6. src/net/interface.go

    	HardwareAddr HardwareAddr // IEEE MAC-48, EUI-48 and EUI-64 form
    	Flags        Flags        // e.g., FlagUp, FlagLoopback, FlagMulticast
    }
    
    type Flags uint
    
    const (
    	FlagUp           Flags = 1 << iota // interface is administratively up
    	FlagBroadcast                      // interface supports broadcast access capability
    	FlagLoopback                       // interface is a loopback interface
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. src/vendor/golang.org/x/crypto/sha3/sha3.go

    package sha3
    
    // spongeDirection indicates the direction bytes are flowing through the sponge.
    type spongeDirection int
    
    const (
    	// spongeAbsorbing indicates that the sponge is absorbing input.
    	spongeAbsorbing spongeDirection = iota
    	// spongeSqueezing indicates that the sponge is being squeezed.
    	spongeSqueezing
    )
    
    const (
    	// maxRate is the maximum size of the internal buffer. SHAKE-256
    	// currently needs the largest buffer.
    	maxRate = 168
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. src/os/dir.go

    package os
    
    import (
    	"internal/bytealg"
    	"internal/filepathlite"
    	"io"
    	"io/fs"
    	"slices"
    )
    
    type readdirMode int
    
    const (
    	readdirName readdirMode = iota
    	readdirDirEntry
    	readdirFileInfo
    )
    
    // Readdir reads the contents of the directory associated with file and
    // returns a slice of up to n [FileInfo] values, as would be returned
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. src/runtime/traceevent.go

    //     are suffixes reserved for scheduling resources.
    //
    // NOTE: If you add an event type, make sure you also update all
    // tables in this file!
    type traceEv uint8
    
    const (
    	traceEvNone traceEv = iota // unused
    
    	// Structural events.
    	traceEvEventBatch // start of per-M batch of events [generation, M ID, timestamp, batch length]
    	traceEvStacks     // start of a section of the stack table [...traceEvStack]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. src/net/dnsclient.go

    	ip := ParseIP(addr)
    	if ip == nil {
    		return "", &DNSError{Err: "unrecognized address", Name: addr}
    	}
    	if ip.To4() != nil {
    		return itoa.Uitoa(uint(ip[15])) + "." + itoa.Uitoa(uint(ip[14])) + "." + itoa.Uitoa(uint(ip[13])) + "." + itoa.Uitoa(uint(ip[12])) + ".in-addr.arpa.", nil
    	}
    	// Must be IPv6
    	buf := make([]byte, 0, len(ip)*4+len("ip6.arpa."))
    	// Add it, in reverse, to the buffer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top