- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 919 for strides (0.07 sec)
-
istioctl/pkg/util/ambient/util.go
package ambient import ( "context" "strings" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "istio.io/api/annotation" "istio.io/api/label" "istio.io/istio/pkg/config/constants" "istio.io/istio/pkg/kube" ) func IsZtunnelPod(client kube.CLIClient, podName, podNamespace string) bool { isZtunnel := strings.HasPrefix(podName, "ztunnel") if client == nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 1.8K bytes - Viewed (0) -
src/archive/zip/reader.go
return fs.FormatDirEntry(f) } // toValidName coerces name to be a valid name for fs.FS.Open. func toValidName(name string) string { name = strings.ReplaceAll(name, `\`, `/`) p := path.Clean(name) p = strings.TrimPrefix(p, "/") for strings.HasPrefix(p, "../") { p = p[len("../"):] } return p } func (r *Reader) initFileList() { r.fileListOnce.Do(func() {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Sat Aug 03 01:05:29 UTC 2024 - 28.1K bytes - Viewed (0) -
docs/pt/docs/tutorial/body-nested-models.md
Portanto, em nosso exemplo, podemos fazer com que `tags` sejam especificamente uma "lista de strings": ```Python hl_lines="14" {!../../docs_src/body_nested_models/tutorial002.py!} ``` ## Tipo "set" Mas então, quando nós pensamos mais, percebemos que as tags não devem se repetir, elas provavelmente devem ser strings únicas. E que o Python tem um tipo de dados especial para conjuntos de itens únicos, o `set`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.4K bytes - Viewed (0) -
internal/kms/secret-key.go
// ListKeys returns a list of keys with metadata. The builtin KMS consists of just a single key. func (s secretKey) ListKeys(ctx context.Context, req *ListRequest) ([]madmin.KMSKeyInfo, string, error) { if strings.HasPrefix(s.keyID, req.Prefix) && strings.HasPrefix(s.keyID, req.ContinueAt) { return []madmin.KMSKeyInfo{{Name: s.keyID}}, "", nil } return []madmin.KMSKeyInfo{}, "", nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 8.3K bytes - Viewed (0) -
cni/pkg/log/uds_test.go
{"error", "error log", nil}, {"info", "with labels", ptr.Of(float64(2))}, } // For each level, there should be two lines, one from direct log, // the other one from UDS server gotLogs := strings.Split( strings.TrimSuffix(string(out), "\n"), "\n") if want, got := len(cases)*2, len(gotLogs); want != got { t.Fatalf("Number of logs want %v, got %v logs: %v", want, got, gotLogs) } i := 0 for _, l := range gotLogs {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Jun 12 16:26:28 UTC 2024 - 4.1K bytes - Viewed (0) -
cmd/sftp-server-driver.go
}) { if object.Err != nil { return nil, object.Err } if object.Key == prefix { continue } isDir := strings.HasSuffix(object.Key, SlashSeparator) files = append(files, &minioFileInfo{ p: pathClean(strings.TrimPrefix(object.Key, prefix)), info: object, isDir: isDir, }) } return listerAt(files), nil case "Stat":
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jun 05 07:51:13 UTC 2024 - 11.1K bytes - Viewed (0) -
cmd/api-headers.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "bytes" "context" "encoding/json" "encoding/xml" "fmt" "net/http" "strconv" "strings" "time" "github.com/minio/minio-go/v7/pkg/tags" "github.com/minio/minio/internal/crypto" xhttp "github.com/minio/minio/internal/http" xxml "github.com/minio/xxml" )
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue May 28 04:44:00 UTC 2024 - 7K bytes - Viewed (0) -
cmd/warm-backend-azure.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "errors" "fmt" "io" "net/http" "strings" "github.com/Azure/azure-sdk-for-go/sdk/azcore" "github.com/Azure/azure-sdk-for-go/sdk/azcore/to" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/storage/azblob"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 31 22:10:24 UTC 2024 - 7K bytes - Viewed (0) -
cmd/generic-handlers.go
// if the caller sends path of following style // a/a/a/a/a/a/a/a... return true } path = filepath.ToSlash(strings.TrimSpace(path)) // For windows '\' must be converted to '/' for _, p := range strings.Split(path, SlashSeparator) { switch strings.TrimSpace(p) { case dotdotComponent: return true case dotComponent: return true } } return false }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 20.5K bytes - Viewed (0) -
istioctl/pkg/admin/istiodconfig.go
if !matched { return nil, fmt.Errorf("pattern %s did not match", slp) } scopeLogLevel := strings.Split(slp, ":") s := &ScopeLevelPair{ scope: scopeLogLevel[0], logLevel: scopeLogLevel[1], } return s, nil } func newScopeInfosFromScopeLevelPairs(scopeLevelPairs string) ([]*ScopeInfo, error) { slParis := strings.Split(scopeLevelPairs, ",") var scopeInfos []*ScopeInfo for _, slp := range slParis {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 13.5K bytes - Viewed (0)