Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 123 for iota (0.04 sec)

  1. 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)
  2. src/crypto/crypto.go

    	case BLAKE2b_256:
    		return "BLAKE2b-256"
    	case BLAKE2b_384:
    		return "BLAKE2b-384"
    	case BLAKE2b_512:
    		return "BLAKE2b-512"
    	default:
    		return "unknown hash value " + strconv.Itoa(int(h))
    	}
    }
    
    const (
    	MD4         Hash = 1 + iota // import golang.org/x/crypto/md4
    	MD5                         // import crypto/md5
    	SHA1                        // import crypto/sha1
    	SHA224                      // import crypto/sha256
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  3. 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)
  4. src/html/template/content.go

    	// the encapsulated content should come from a trusted source,
    	// as it will be included verbatim in the template output.
    	Srcset string
    )
    
    type contentType uint8
    
    const (
    	contentTypePlain contentType = iota
    	contentTypeCSS
    	contentTypeHTML
    	contentTypeHTMLAttr
    	contentTypeJS
    	contentTypeJSStr
    	contentTypeURL
    	contentTypeSrcset
    	// contentTypeUnsafe is used in attr.go for values that affect how
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 01 14:30:25 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  5. 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)
  6. src/cmd/compile/internal/types2/selection.go

    // inserted for "pointerness" are not evaluated until the function is
    // called, so a T.f or (*T).f expression never panics.
    type SelectionKind int
    
    const (
    	FieldVal   SelectionKind = iota // x.f is a struct field selector
    	MethodVal                       // x.f is a method selector
    	MethodExpr                      // x.f is a method expression
    )
    
    // A Selection describes a selector expression x.f.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/errors.go

    		// TODO(gri) We may also want to augment the error message and
    		// refer to the position (pos) in the original expression.
    		if check.errpos.Pos().IsKnown() {
    			assert(check.iota != nil)
    			pos = check.errpos
    		}
    
    		// Report invalid syntax trees explicitly.
    		if code == InvalidSyntaxTree {
    			msg = "invalid syntax tree: " + msg
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  8. src/go/parser/interface.go

    }
    
    // A Mode value is a set of flags (or 0).
    // They control the amount of source code parsed and other optional
    // parser functionality.
    type Mode uint
    
    const (
    	PackageClauseOnly    Mode             = 1 << iota // stop parsing after package clause
    	ImportsOnly                                       // stop parsing after import declarations
    	ParseComments                                     // parse comments and add them to AST
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top