- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 158 for iota (0.04 sec)
-
src/cmd/go/internal/web/api.go
// SecurityMode specifies whether a function should make network // calls using insecure transports (eg, plain text HTTP). // The zero value is "secure". type SecurityMode int const ( SecureOnly SecurityMode = iota // Reject plain HTTP; validate HTTPS. DefaultSecurity // Allow plain HTTP if explicit; validate HTTPS. Insecure // Allow plain HTTP if not explicitly HTTPS; skip HTTPS validation. )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 25 13:00:34 UTC 2022 - 6.9K bytes - Viewed (0) -
src/crypto/x509/pem_decrypt.go
"crypto/md5" "encoding/hex" "encoding/pem" "errors" "io" "strings" ) type PEMCipher int // Possible values for the EncryptPEMBlock encryption algorithm. const ( _ PEMCipher = iota PEMCipherDES PEMCipher3DES PEMCipherAES128 PEMCipherAES192 PEMCipherAES256 ) // rfc1423Algo holds a method for enciphering a PEM block. type rfc1423Algo struct { cipher PEMCipher
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 17:09:47 UTC 2023 - 7.2K bytes - Viewed (0) -
src/html/template/error.go
// <img src="#ZgotmplZ"> // If the data comes from a trusted source, use content types to exempt it // from filtering: URL(`javascript:...`). const ( // OK indicates the lack of an error. OK ErrorCode = iota // ErrAmbigContext: "... appears in an ambiguous context within a URL" // Example: // <a href=" // {{if .C}} // /path/ // {{else}} // /search?q= // {{end}}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 02 15:18:39 UTC 2023 - 9.3K bytes - Viewed (0) -
src/runtime/traceevent.go
// are suffixes reserved for scheduling resources. // // NOTE: If you add an event type, make sure you also update all // tables in this file! type traceEv uint8 const ( traceEvNone traceEv = iota // unused // Structural events. traceEvEventBatch // start of per-M batch of events [generation, M ID, timestamp, batch length] traceEvStacks // start of a section of the stack table [...traceEvStack]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:47:01 UTC 2024 - 9.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/fuse.go
// fuseLate runs fuse(f, fuseTypePlain|fuseTypeIf|fuseTypeBranchRedirect). func fuseLate(f *Func) { fuse(f, fuseTypePlain|fuseTypeIf|fuseTypeBranchRedirect) } type fuseType uint8 const ( fuseTypePlain fuseType = 1 << iota fuseTypeIf fuseTypeIntInRange fuseTypeBranchRedirect fuseTypeShortCircuit ) // fuse simplifies control flow by joining basic blocks. func fuse(f *Func, typ fuseType) { for changed := true; changed; {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 31 20:45:54 UTC 2023 - 9K bytes - Viewed (0) -
src/compress/lzw/reader.go
"errors" "fmt" "io" ) // Order specifies the bit ordering in an LZW data stream. type Order int const ( // LSB means Least Significant Bits first, as used in the GIF file format. LSB Order = iota // MSB means Most Significant Bits first, as used in the TIFF and PDF // file formats. MSB ) const ( maxWidth = 12 decoderInvalidCode = 0xffff flushBuffer = 1 << maxWidth )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 12 14:39:39 UTC 2023 - 8K bytes - Viewed (0) -
src/internal/itoa/itoa.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Simple conversions to avoid depending on strconv. package itoa // Itoa converts val to a decimal string. func Itoa(val int) string { if val < 0 { return "-" + Uitoa(uint(-val)) } return Uitoa(uint(val)) } // Uitoa converts val to a decimal string. func Uitoa(val uint) string {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 11 02:53:50 UTC 2023 - 1.1K bytes - Viewed (0) -
src/strconv/itoa.go
if fastSmalls && 0 <= i && i < nSmalls && base == 10 { return small(int(i)) } _, s := formatBits(nil, uint64(i), base, i < 0, false) return s } // Itoa is equivalent to [FormatInt](int64(i), 10). func Itoa(i int) string { return FormatInt(int64(i), 10) } // AppendInt appends the string form of the integer i, // as generated by [FormatInt], to dst and returns the extended buffer.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:21:28 UTC 2024 - 5.3K bytes - Viewed (0) -
src/time/zoneinfo_js.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 29 20:05:34 UTC 2022 - 1K bytes - Viewed (0) -
src/log/log_test.go
func BenchmarkItoa(b *testing.B) { dst := make([]byte, 0, 64) for i := 0; i < b.N; i++ { dst = dst[0:0] itoa(&dst, 2015, 4) // year itoa(&dst, 1, 2) // month itoa(&dst, 30, 2) // day itoa(&dst, 12, 2) // hour itoa(&dst, 56, 2) // minute itoa(&dst, 0, 2) // second itoa(&dst, 987654, 6) // microsecond } } func BenchmarkPrintln(b *testing.B) { const testString = "test"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 21 20:04:37 UTC 2023 - 7.4K bytes - Viewed (0)