- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 64 for stringSlice (0.31 sec)
-
pilot/test/xdstest/extract.go
resourceNames.Insert(s.GetName()) } } } } resourceNames.Delete("") ls := resourceNames.UnsortedList() sort.Sort(sort.Reverse(sort.StringSlice(ls))) return ls } func ExtractListenerNames(ll []*listener.Listener) []string { res := []string{} for _, l := range ll { res = append(res, l.Name) } return res }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Dec 19 22:42:42 UTC 2023 - 13.9K bytes - Viewed (0) -
internal/logger/logger.go
if p < i { data.Swap(p, i) } } return p + 1 } // Remove any duplicates and return unique entries. func uniqueEntries(paths []string) []string { sort.Strings(paths) n := uniq(sort.StringSlice(paths)) return paths[:n] } // Init sets the trimStrings to possible GOPATHs // and GOROOT directories. Also append github.com/minio/minio // This is done to clean up the filename, when stack trace is
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 12.4K bytes - Viewed (0) -
cmd/common-main.go
} ctxt.MemLimit = mlimit } else { ctxt.MemLimit = memAvailable } if memAvailable < ctxt.MemLimit { ctxt.MemLimit = memAvailable } ctxt.FTP = ctx.StringSlice("ftp") ctxt.SFTP = ctx.StringSlice("sftp") ctxt.Interface = ctx.String("interface") ctxt.UserTimeout = ctx.Duration("conn-user-timeout") ctxt.SendBufSize = ctx.Int("send-buf-size") ctxt.RecvBufSize = ctx.Int("recv-buf-size")
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 30 11:58:12 UTC 2024 - 31.5K bytes - Viewed (0) -
src/encoding/gob/encoder_test.go
nilBoolChannelPtr *chan bool nilStringSlice []string stringSlice = make([]string, 1) nilStringSlicePtr *[]string ) testCases := []struct { value any mustPanic bool }{ {nilStringPtr, true}, {intMap, false}, {intMapPtr, false}, {nilIntMapPtr, true}, {zero, false}, {nilStringSlice, false}, {stringSlice, false}, {nilStringSlicePtr, true},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 29.7K bytes - Viewed (0) -
src/encoding/json/decode_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 16:40:14 UTC 2024 - 67.6K bytes - Viewed (0) -
pilot/pkg/networking/core/listener.go
if !fullWildcardFound { chain.sniHosts = append([]string{}, chain.sniHosts...) sort.Stable(sort.StringSlice(chain.sniHosts)) match.ServerNames = chain.sniHosts } } if len(chain.destinationCIDRs) > 0 { chain.destinationCIDRs = append([]string{}, chain.destinationCIDRs...) sort.Stable(sort.StringSlice(chain.destinationCIDRs)) for _, d := range chain.destinationCIDRs { cidr := util.ConvertAddressToCidr(d)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 06 04:44:06 UTC 2024 - 55.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"(IntSlice).Search", Method, 0}, {"(IntSlice).Sort", Method, 0}, {"(IntSlice).Swap", Method, 0}, {"(StringSlice).Len", Method, 0}, {"(StringSlice).Less", Method, 0}, {"(StringSlice).Search", Method, 0}, {"(StringSlice).Sort", Method, 0}, {"(StringSlice).Swap", Method, 0}, {"Find", Func, 19}, {"Float64Slice", Type, 0}, {"Float64s", Func, 0}, {"Float64sAreSorted", Func, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0) -
src/internal/filepathlite/path_plan9.go
return "", errInvalidPath } return path, nil } // IsAbs reports whether the path is absolute. func IsAbs(path string) bool { return stringslite.HasPrefix(path, "/") || stringslite.HasPrefix(path, "#") } // volumeNameLen returns length of the leading volume name on Windows. // It returns 0 elsewhere. func volumeNameLen(path string) int { return 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 23:07:50 UTC 2024 - 952 bytes - Viewed (0) -
src/runtime/security_unix.go
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build unix package runtime import ( "internal/stringslite" ) func secure() { initSecureMode() if !isSecureMode() { return } // When secure mode is enabled, we do one thing: enforce specific
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 15:41:45 UTC 2024 - 866 bytes - Viewed (0) -
src/strings/clone.go
// Copyright 2021 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package strings import ( "internal/stringslite" ) // Clone returns a fresh copy of s. // It guarantees to make a copy of s into a new allocation, // which can be important when retaining only a small substring // of a much larger string. Using Clone can help such programs
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 04 01:23:42 UTC 2024 - 809 bytes - Viewed (0)