Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 481 for iota (0.05 sec)

  1. src/cmd/go/internal/lockedfile/internal/filelock/filelock_other.go

    // license that can be found in the LICENSE file.
    
    //go:build !unix && !windows
    
    package filelock
    
    import (
    	"errors"
    	"io/fs"
    )
    
    type lockType int8
    
    const (
    	readLock = iota + 1
    	writeLock
    )
    
    func lock(f File, lt lockType) error {
    	return &fs.PathError{
    		Op:   lt.String(),
    		Path: f.Name(),
    		Err:  errors.ErrUnsupported,
    	}
    }
    
    func unlock(f File) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 17 02:24:35 UTC 2023
    - 563 bytes
    - Viewed (0)
  2. src/cmd/internal/obj/ppc64/a.out.go

    	BO_NOTBCR  = 4  // branch on not cr value
    )
    
    // Bit settings from the CR
    
    const (
    	C_COND_LT = iota // 0 result is negative
    	C_COND_GT        // 1 result is positive
    	C_COND_EQ        // 2 result is zero
    	C_COND_SO        // 3 summary overflow or FP compare w/ NaN
    )
    
    const (
    	C_NONE     = iota
    	C_REGP     /* An even numbered gpr which can be used a gpr pair argument */
    	C_REG      /* Any gpr register */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 01 18:50:29 UTC 2024
    - 16K bytes
    - Viewed (0)
  3. src/internal/trace/traceviewer/emitter.go

    	return float64(t) / float64(time.Microsecond)
    }
    
    type GState int
    
    const (
    	GDead GState = iota
    	GRunnable
    	GRunning
    	GWaiting
    	GWaitingGC
    
    	gStateCount
    )
    
    type ThreadState int
    
    const (
    	ThreadStateInSyscall ThreadState = iota
    	ThreadStateInSyscallRuntime
    	ThreadStateRunning
    
    	threadStateCount
    )
    
    type frameNode struct {
    	id       int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:29:58 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  4. 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)
  5. src/cmd/compile/internal/syntax/syntax.go

    package syntax
    
    import (
    	"fmt"
    	"io"
    	"os"
    )
    
    // Mode describes the parser mode.
    type Mode uint
    
    // Modes supported by the parser.
    const (
    	CheckBranches Mode = 1 << iota // check correct use of labels, break, continue, and goto statements
    )
    
    // Error describes a syntax error. Error implements the error interface.
    type Error struct {
    	Pos Pos
    	Msg string
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 01 18:18:07 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  6. src/internal/coverage/cmerge/merge.go

    // with merging of counter data for a given function.
    
    import (
    	"fmt"
    	"internal/coverage"
    	"math"
    )
    
    type ModeMergePolicy uint8
    
    const (
    	ModeMergeStrict ModeMergePolicy = iota
    	ModeMergeRelaxed
    )
    
    // Merger provides state and methods to help manage the process of
    // merging together coverage counter data for a given function, for
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 23:26:34 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  7. src/internal/abi/symtab.go

    	// Examples of TopFrame functions include goexit, which appears
    	// at the top of a user goroutine stack, and mstart, which appears
    	// at the top of a system goroutine stack.
    	FuncFlagTopFrame FuncFlag = 1 << iota
    
    	// FuncFlagSPWrite indicates a function that writes an arbitrary value to SP
    	// (any write other than adding or subtracting a constant amount).
    	// The traceback routines cannot encode such changes into the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 14:25:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. src/internal/trace/event/go122/event.go

    )
    
    // Experiments.
    const (
    	// AllocFree is the alloc-free events experiment.
    	AllocFree event.Experiment = 1 + iota
    )
    
    // Experimental events.
    const (
    	_ event.Type = 127 + iota
    
    	// Experimental events for AllocFree.
    
    	// Experimental heap span events. Added in Go 1.23.
    	EvSpan      // heap span exists [timestamp, id, npages, type/class]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/lex/lex.go

    type ScanToken rune
    
    const (
    	// Asm defines some two-character lexemes. We make up
    	// a rune/ScanToken value for them - ugly but simple.
    	LSH          ScanToken = -1000 - iota // << Left shift.
    	RSH                                   // >> Logical right shift.
    	ARR                                   // -> Used on ARM for shift type 3, arithmetic right shift.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 18:31:05 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  10. src/cmd/internal/objabi/symkind.go

    //
    // TODO(rsc): Give idiomatic Go names.
    //
    //go:generate stringer -type=SymKind
    const (
    	// An otherwise invalid zero value for the type
    	Sxxx SymKind = iota
    	// Executable instructions
    	STEXT
    	// Read only static data
    	SRODATA
    	// Static data that does not contain any pointers
    	SNOPTRDATA
    	// Static data
    	SDATA
    	// Statically data that is initially all 0s
    	SBSS
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 05 19:44:37 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top