- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 20 for indexType (0.38 sec)
-
istioctl/pkg/validate/validate.go
case []any: return transformInterfaceArray(v) case map[any]any: return transformInterfaceMap(v) default: return v } } func servicePortPrefixed(n string) bool { i := strings.IndexByte(n, '-') if i >= 0 { n = n[:i] } p := protocol.Parse(n) return p == protocol.Unsupported } func handleNamespace(istioNamespace string) string { if istioNamespace == "" {
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Mon Jan 22 17:58:52 GMT 2024 - 15K bytes - Viewed (0) -
src/archive/tar/strconv.go
} // parseString parses bytes as a NUL-terminated C-style string. // If a NUL byte is not found then the whole slice is returned as a string. func (*parser) parseString(b []byte) string { if i := bytes.IndexByte(b, 0); i >= 0 { return string(b[:i]) } return string(b) } // formatString copies s into b, NUL-terminating if possible. func (f *formatter) formatString(b []byte, s string) { if len(s) > len(b) {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Aug 01 14:28:42 GMT 2023 - 9K bytes - Viewed (0) -
istioctl/pkg/kubeinject/kubeinject.go
// if the revision is "default", render templates with an empty revision if rev == util.DefaultRevisionName { rev = "" } injectorAddress := centralOpts.Xds index := strings.IndexByte(injectorAddress, ':') if index != -1 { injectorAddress = injectorAddress[:index] } injector, meshConfig, err := setupKubeInjectParameters(cliContext, &sidecarTemplate, &valuesConfig, rev, injectorAddress)
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Mar 29 02:29:02 GMT 2024 - 21.6K bytes - Viewed (0) -
src/bufio/scan.go
// newline. func ScanLines(data []byte, atEOF bool) (advance int, token []byte, err error) { if atEOF && len(data) == 0 { return 0, nil, nil } if i := bytes.IndexByte(data, '\n'); i >= 0 { // We have a full newline-terminated line. return i + 1, dropCR(data[0:i]), nil } // If we're at EOF, we have a final, non-terminated line. Return it. if atEOF {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Oct 23 09:06:30 GMT 2023 - 14.2K bytes - Viewed (0) -
cmd/streaming-signature-v4.go
input := bufio.NewScanner(bytes.NewReader(valueBuffer.Bytes())) for input.Scan() { line := strings.TrimSpace(input.Text()) if line == "" { continue } // Find first separator. idx := strings.IndexByte(line, trailerKVSeparator[0]) if idx <= 0 || idx >= len(line) { if cr.debug { fmt.Printf("index, ':' not found in %q\n", line) } return errMalformedEncoding } key := line[:idx]
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 18.2K bytes - Viewed (0) -
src/bufio/bufio.go
// ReadSlice returns err != nil if and only if line does not end in delim. func (b *Reader) ReadSlice(delim byte) (line []byte, err error) { s := 0 // search start index for { // Search buffer. if i := bytes.IndexByte(b.buf[b.r+s:b.w], delim); i >= 0 { i += s line = b.buf[b.r : b.r+i+1] b.r += i + 1 break } // Pending error? if b.err != nil { line = b.buf[b.r:b.w] b.r = b.w
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Oct 12 14:39:08 GMT 2023 - 21.8K bytes - Viewed (0) -
src/bytes/buffer.go
line = append(line, slice...) return line, err } // readSlice is like ReadBytes but returns a reference to internal buffer data. func (b *Buffer) readSlice(delim byte) (line []byte, err error) { i := IndexByte(b.buf[b.off:], delim) end := b.off + i + 1 if i < 0 { end = len(b.buf) err = io.EOF } line = b.buf[b.off:end] b.off = end b.lastRead = opRead return line, err }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 17:10:31 GMT 2023 - 15.7K bytes - Viewed (0) -
cmd/encryption-v1.go
// fail. func DecryptETag(key crypto.ObjectKey, object ObjectInfo) (string, error) { if n := strings.Count(object.ETag, "-"); n > 0 { if n != 1 { return "", errObjectTampered } i := strings.IndexByte(object.ETag, '-') if len(object.ETag[:i]) != 32 { return "", errObjectTampered } if _, err := hex.DecodeString(object.ETag[:32]); err != nil { return "", errObjectTampered }
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 36.5K bytes - Viewed (0) -
api/go1.2.txt
pkg runtime, type MemStats struct, OtherSys uint64 pkg runtime/debug, func SetMaxStack(int) int pkg runtime/debug, func SetMaxThreads(int) int pkg sort, func Stable(Interface) pkg strings, func IndexByte(string, uint8) int pkg sync/atomic, func SwapInt32(*int32, int32) int32 pkg sync/atomic, func SwapInt64(*int64, int64) int64 pkg sync/atomic, func SwapPointer(*unsafe.Pointer, unsafe.Pointer) unsafe.Pointer
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 18 04:36:59 GMT 2013 - 1.9M bytes - Viewed (2) -
api/go1.txt
pkg bytes, func HasPrefix([]uint8, []uint8) bool pkg bytes, func HasSuffix([]uint8, []uint8) bool pkg bytes, func Index([]uint8, []uint8) int pkg bytes, func IndexAny([]uint8, string) int pkg bytes, func IndexByte([]uint8, uint8) int pkg bytes, func IndexFunc([]uint8, func(int32) bool) int pkg bytes, func IndexRune([]uint8, int32) int pkg bytes, func Join([][]uint8, []uint8) []uint8 pkg bytes, func LastIndex([]uint8, []uint8) int
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Aug 14 18:58:28 GMT 2013 - 1.7M bytes - Viewed (1)