Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 228 for iota (0.04 sec)

  1. src/go/doc/reader.go

    	"make":    true,
    	"new":     true,
    	"panic":   true,
    	"print":   true,
    	"println": true,
    	"real":    true,
    	"recover": true,
    }
    
    var predeclaredConstants = map[string]bool{
    	"false": true,
    	"iota":  true,
    	"nil":   true,
    	"true":  true,
    }
    
    // assumedPackageName returns the assumed package name
    // for a given import path. This is a copy of
    // golang.org/x/tools/internal/imports.ImportPathToAssumedName.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  2. src/internal/trace/gc.go

    type UtilFlags int
    
    const (
    	// UtilSTW means utilization should account for STW events.
    	// This includes non-GC STW events, which are typically user-requested.
    	UtilSTW UtilFlags = 1 << iota
    	// UtilBackground means utilization should account for
    	// background mark workers.
    	UtilBackground
    	// UtilAssist means utilization should account for mark
    	// assists.
    	UtilAssist
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 26K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/mod/module/module.go

    	}
    	return nil
    }
    
    // pathKind indicates what kind of path we're checking. Module paths,
    // import paths, and file paths have different restrictions.
    type pathKind int
    
    const (
    	modulePath pathKind = iota
    	importPath
    	filePath
    )
    
    // checkPath checks that a general path is valid. kind indicates what
    // specific constraints should be applied.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 20:17:07 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  4. 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)
  5. src/cmd/compile/internal/types2/object.go

    type color uint32
    
    // An object may be painted in one of three colors.
    // Color values other than white or black are considered grey.
    const (
    	white color = iota
    	black
    	grey // must be > white and black
    )
    
    func (c color) String() string {
    	switch c {
    	case white:
    		return "white"
    	case black:
    		return "black"
    	default:
    		return "grey"
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  6. src/runtime/profbuf.go

    			notewakeup(&b.wait)
    		}
    		break
    	}
    }
    
    // profBufReadMode specifies whether to block when no data is available to read.
    type profBufReadMode int
    
    const (
    	profBufBlocking profBufReadMode = iota
    	profBufNonBlocking
    )
    
    var overflowTag [1]unsafe.Pointer // always nil
    
    func (b *profBuf) read(mode profBufReadMode) (data []uint64, tags []unsafe.Pointer, eof bool) {
    	if b == nil {
    		return nil, nil, true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  7. src/runtime/sema.go

    	if s.releasetime != 0 {
    		s.releasetime = cputicks()
    	}
    	goready(s.g, traceskip)
    }
    
    type semaProfileFlags int
    
    const (
    	semaBlockProfile semaProfileFlags = 1 << iota
    	semaMutexProfile
    )
    
    // Called from runtime.
    func semacquire(addr *uint32) {
    	semacquire1(addr, false, 0, 0, waitReasonSemacquire)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 19K bytes
    - Viewed (0)
  8. src/go/types/unify.go

    type unifyMode uint
    
    const (
    	// If assign is set, we are unifying types involved in an assignment:
    	// they may match inexactly at the top, but element types must match
    	// exactly.
    	assign unifyMode = 1 << iota
    
    	// If exact is set, types unify if they are identical (or can be
    	// made identical with suitable arguments for type parameters).
    	// Otherwise, a named type and a type literal unify if their
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  9. src/net/http/fs.go

    }
    
    // condResult is the result of an HTTP request precondition check.
    // See https://tools.ietf.org/html/rfc7232 section 3.
    type condResult int
    
    const (
    	condNone condResult = iota
    	condTrue
    	condFalse
    )
    
    func checkIfMatch(w ResponseWriter, r *Request) condResult {
    	im := r.Header.Get("If-Match")
    	if im == "" {
    		return condNone
    	}
    	for {
    		im = textproto.TrimString(im)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 17:06:47 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modfetch/codehost/git.go

    	refs    map[string]string
    	refsErr error
    
    	localTagsOnce sync.Once
    	localTags     sync.Map // map[string]bool
    }
    
    const (
    	// How much have we fetched into the git repo (in this process)?
    	fetchNone = iota // nothing yet
    	fetchSome        // shallow fetches of individual hashes
    	fetchAll         // "fetch -t origin": get all remote branches and tags
    )
    
    // loadLocalTags loads tag references from the local git cache
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 22:10:38 UTC 2024
    - 27.4K bytes
    - Viewed (0)
Back to top