Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 397 for iota (0.07 sec)

  1. src/runtime/write_err_android.go

    //
    // https://android.googlesource.com/platform/system/core/+/refs/tags/android-6.0.1_r78/liblog/logd_write.c
    type loggerType int32
    
    const (
    	unknown loggerType = iota
    	legacy
    	logd
    	// TODO(hakim): logging for emulator?
    )
    
    var logger loggerType
    
    func writeErr(b []byte) {
    	if len(b) == 0 {
    		return
    	}
    
    	if logger == unknown {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/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 Feb 07 16:41:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/cmd/compile/internal/walk/complit.go

    // that function to allow multiple instances of that function
    // to execute concurrently without clobbering each others' data.
    type initContext uint8
    
    const (
    	inInitFunction initContext = iota
    	inNonInitFunction
    )
    
    func (c initContext) String() string {
    	if c == inInitFunction {
    		return "inInitFunction"
    	}
    	return "inNonInitFunction"
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:03:54 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/op.go

    	if paramResultInfo.InRegistersUsed()+paramResultInfo.OutRegistersUsed() > 0 {
    		reg = &regInfo{}
    	}
    	return &AuxCall{Fn: fn, abiInfo: paramResultInfo, reg: reg}
    }
    
    const (
    	auxNone           auxType = iota
    	auxBool                   // auxInt is 0/1 for false/true
    	auxInt8                   // auxInt is an 8-bit integer
    	auxInt16                  // auxInt is a 16-bit integer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 15:29:10 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  7. 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)
  8. src/internal/trace/parser.go

    package trace
    
    // Frame is a frame in stack traces.
    type Frame struct {
    	PC   uint64
    	Fn   string
    	File string
    	Line int
    }
    
    const (
    	// Special P identifiers:
    	FakeP    = 1000000 + iota
    	TimerP   // depicts timer unblocks
    	NetpollP // depicts network unblocks
    	SyscallP // depicts returns from syscalls
    	GCP      // depicts GC state
    	ProfileP // depicts recording of CPU profile samples
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:31:04 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  9. src/go/printer/testdata/parser.go

    	pos := p.expect(keyword)
    	var lparen, rparen token.Pos
    	var list []ast.Spec
    	if p.tok == token.LPAREN {
    		lparen = p.pos
    		p.next()
    		for iota := 0; p.tok != token.RPAREN && p.tok != token.EOF; iota++ {
    			list = append(list, f(p, p.leadComment, iota))
    		}
    		rparen = p.expect(token.RPAREN)
    		p.expectSemi()
    	} else {
    		list = append(list, f(p, nil, 0))
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 20:19:51 UTC 2023
    - 50.5K bytes
    - Viewed (0)
  10. src/go/doc/example.go

    	// However, if there is a constant group with iota, leave it all: later
    	// constant declarations in the group may have no value and so cannot stand
    	// on their own, and removing any constant from the group could change the
    	// values of subsequent ones.
    	// See testdata/examples/iota.go for a minimal example.
    	var ds []ast.Decl
    	for _, d := range depDecls {
    		switch d := d.(type) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 21.4K bytes
    - Viewed (0)
Back to top