Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 185 for iota (0.04 sec)

  1. 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)
  2. 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)
  3. src/vendor/golang.org/x/net/idna/trieval.go

    	disallowed          category = 0x40
    	disallowedSTD3Valid category = 0x80
    	ignored             category = 0xC0
    )
    
    // join types and additional rune information
    const (
    	joiningL = (iota + 1)
    	joiningD
    	joiningT
    	joiningR
    
    	//the following types are derived during processing
    	joinZWJ
    	joinZWNJ
    	joinVirama
    	numJoinTypes
    )
    
    func (c info) isMapped() bool {
    	return c&0x3 != 0
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 04:45:15 UTC 2022
    - 3K bytes
    - Viewed (0)
  4. src/cmd/internal/objabi/head.go

    // THE SOFTWARE.
    
    package objabi
    
    import "fmt"
    
    // HeadType is the executable header type.
    type HeadType uint8
    
    const (
    	Hunknown HeadType = iota
    	Hdarwin
    	Hdragonfly
    	Hfreebsd
    	Hjs
    	Hlinux
    	Hnetbsd
    	Hopenbsd
    	Hplan9
    	Hsolaris
    	Hwasip1
    	Hwindows
    	Haix
    )
    
    func (h *HeadType) Set(s string) error {
    	switch s {
    	case "aix":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 30 18:50:57 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. src/cmd/compile/internal/staticdata/embed.go

    import (
    	"path"
    	"sort"
    	"strings"
    
    	"cmd/compile/internal/base"
    	"cmd/compile/internal/ir"
    	"cmd/compile/internal/objw"
    	"cmd/compile/internal/types"
    	"cmd/internal/obj"
    )
    
    const (
    	embedUnknown = iota
    	embedBytes
    	embedString
    	embedFiles
    )
    
    func embedFileList(v *ir.Name, kind int) []string {
    	// Build list of files to store.
    	have := make(map[string]bool)
    	var list []string
    	for _, e := range *v.Embed {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 10 18:22:02 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/decode.go

    		off := a.BitFields.ParseSigned(i) << a.Shift
    		neg := int64(-1) << (int(a.Shift) + a.BitFields.NumBits())
    		return Offset(neg | off)
    	}
    }
    
    type ArgType int8
    
    const (
    	TypeUnknown      ArgType = iota
    	TypePCRel                // PC-relative address
    	TypeLabel                // absolute address
    	TypeReg                  // integer register
    	TypeCondRegBit           // conditional register bit (0-31)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 17:16:14 UTC 2022
    - 5.6K bytes
    - Viewed (0)
Back to top