Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 71 for iota (0.09 sec)

  1. 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)
  2. src/internal/trace/internal/oldtrace/order.go

    package oldtrace
    
    import "errors"
    
    type orderEvent struct {
    	ev   Event
    	proc *proc
    }
    
    type gStatus int
    
    type gState struct {
    	seq    uint64
    	status gStatus
    }
    
    const (
    	gDead gStatus = iota
    	gRunnable
    	gRunning
    	gWaiting
    
    	unordered = ^uint64(0)
    	garbage   = ^uint64(0) - 1
    	noseq     = ^uint64(0)
    	seqinc    = ^uint64(0) - 1
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. src/runtime/write_err_android.go

    //
    // https://android.googlesource.com/platform/system/core/+/refs/tags/android-6.0.1_r78/liblog/logd_write.c
    type loggerType int32
    
    const (
    	unknown loggerType = iota
    	legacy
    	logd
    	// TODO(hakim): logging for emulator?
    )
    
    var logger loggerType
    
    func writeErr(b []byte) {
    	if len(b) == 0 {
    		return
    	}
    
    	if logger == unknown {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. src/syscall/syscall_js.go

    type Signal int
    
    const (
    	_ Signal = iota
    	SIGCHLD
    	SIGINT
    	SIGKILL
    	SIGTRAP
    	SIGQUIT
    	SIGTERM
    )
    
    func (s Signal) Signal() {}
    
    func (s Signal) String() string {
    	if 0 <= s && int(s) < len(signals) {
    		str := signals[s]
    		if str != "" {
    			return str
    		}
    	}
    	return "signal " + itoa.Itoa(int(s))
    }
    
    var signals = [...]string{}
    
    // File system
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. 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)
  6. src/cmd/compile/internal/types2/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 Feb 07 16:41:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  7. 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)
  8. src/net/internal/socktest/switch.go

    		st[c] = s
    	}
    	return s
    }
    
    // A FilterType represents a filter type.
    type FilterType int
    
    const (
    	FilterSocket        FilterType = iota // for Socket
    	FilterConnect                         // for Connect or ConnectEx
    	FilterListen                          // for Listen
    	FilterAccept                          // for Accept, Accept4 or AcceptEx
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/text/internal/language/match.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package language
    
    import "errors"
    
    type scriptRegionFlags uint8
    
    const (
    	isList = 1 << iota
    	scriptInFrom
    	regionInFrom
    )
    
    func (t *Tag) setUndefinedLang(id Language) {
    	if t.LangID == 0 {
    		t.LangID = id
    	}
    }
    
    func (t *Tag) setUndefinedScript(id Script) {
    	if t.ScriptID == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. test/typeparam/graph.go

    					workqueue = append(workqueue, nodePath[_Node, _Edge]{a, ve})
    					visited[a] = true
    				}
    			}
    		}
    	}
    	return nil, errors.New("no path")
    }
    
    type direction int
    
    const (
    	north direction = iota
    	ne
    	east
    	se
    	south
    	sw
    	west
    	nw
    	up
    	down
    )
    
    func (dir direction) String() string {
    	strs := map[direction]string{
    		north: "north",
    		ne:    "ne",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top