Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 185 for iota (0.39 sec)

  1. src/io/fs/fs.go

    // changed, although new bits might be added.
    const (
    	// The single letters are the abbreviations
    	// used by the String method's formatting.
    	ModeDir        FileMode = 1 << (32 - 1 - iota) // d: is a directory
    	ModeAppend                                     // a: append-only
    	ModeExclusive                                  // l: exclusive use
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 15 21:21:41 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. 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)
  3. src/cmd/vendor/golang.org/x/tools/go/cfg/cfg.go

    	succs2 [2]*Block // underlying array for Succs
    }
    
    // A BlockKind identifies the purpose of a block.
    // It also determines the possible types of its Stmt field.
    type BlockKind uint8
    
    const (
    	KindInvalid BlockKind = iota // Stmt=nil
    
    	KindUnreachable     // unreachable block after {Branch,Return}Stmt / no-return call ExprStmt
    	KindBody            // function body BlockStmt
    	KindForBody         // body of ForStmt
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. src/slices/sort.go

    	return i, i < n && cmp(x[i], target) == 0
    }
    
    type sortedHint int // hint for pdqsort when choosing the pivot
    
    const (
    	unknownHint sortedHint = iota
    	increasingHint
    	decreasingHint
    )
    
    // xorshift paper: https://www.jstatsoft.org/article/view/v008i14/xorshift.pdf
    type xorshift uint64
    
    func (r *xorshift) Next() uint64 {
    	*r ^= *r << 13
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 07 23:54:41 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. src/go/types/hilbert_test.go

    		for j := 0; j < n; j++ {
    			if j > 0 {
    				g.p(", ")
    			}
    			g.p("h%d_%d", i, j)
    		}
    		if i == 0 {
    			g.p(" = ")
    			for j := 0; j < n; j++ {
    				if j > 0 {
    					g.p(", ")
    				}
    				g.p("1.0/(iota + %d)", j+1)
    			}
    		}
    		g.p("\n")
    	}
    	g.p(")\n\n")
    }
    
    func (g *gen) inverse(n int) {
    	g.p(`// Inverse Hilbert matrix
    const (
    `)
    	for i := 0; i < n; i++ {
    		for j := 0; j < n; j++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/ast/inspector/typeof.go

    //
    // The initial map-based implementation was too slow;
    // see https://go-review.googlesource.com/c/tools/+/135655/1/go/ast/inspector/inspector.go#196
    
    import (
    	"go/ast"
    	"math"
    )
    
    const (
    	nArrayType = iota
    	nAssignStmt
    	nBadDecl
    	nBadExpr
    	nBadStmt
    	nBasicLit
    	nBinaryExpr
    	nBlockStmt
    	nBranchStmt
    	nCallExpr
    	nCaseClause
    	nChanType
    	nCommClause
    	nComment
    	nCommentGroup
    	nCompositeLit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  7. src/unicode/graphic.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package unicode
    
    // Bit masks for each code point under U+0100, for fast lookup.
    const (
    	pC     = 1 << iota // a control character.
    	pP                 // a punctuation character.
    	pN                 // a numeral.
    	pS                 // a symbolic character.
    	pZ                 // a spacing character.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 20:02:46 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  8. src/go/types/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 Apr 03 18:48:38 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. src/cmd/internal/sys/arch.go

    import "encoding/binary"
    
    // ArchFamily represents a family of one or more related architectures.
    // For example, ppc64 and ppc64le are both members of the PPC64 family.
    type ArchFamily byte
    
    const (
    	NoArch ArchFamily = iota
    	AMD64
    	ARM
    	ARM64
    	I386
    	Loong64
    	MIPS
    	MIPS64
    	PPC64
    	RISCV64
    	S390X
    	Wasm
    )
    
    // Arch represents an individual architecture.
    type Arch struct {
    	Name   string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 13 19:51:03 UTC 2022
    - 6.2K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modload/list.go

    	"cmd/go/internal/modfetch/codehost"
    	"cmd/go/internal/modinfo"
    	"cmd/go/internal/search"
    	"cmd/internal/pkgpattern"
    
    	"golang.org/x/mod/module"
    )
    
    type ListMode int
    
    const (
    	ListU ListMode = 1 << iota
    	ListRetracted
    	ListDeprecated
    	ListVersions
    	ListRetractedVersions
    )
    
    // ListModules returns a description of the modules matching args, if known,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 22:43:50 UTC 2023
    - 8.8K bytes
    - Viewed (0)
Back to top