- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 284 for isSlash (0.17 sec)
-
src/cmd/buildid/buildid.go
if err != nil { log.Fatal(err) } matches, hash, err := buildid.FindAndHash(f, id, 0) f.Close() if err != nil { log.Fatal(err) } // <= go 1.7 doesn't embed the contentID or actionID, so no slash is present if !strings.Contains(id, "/") { log.Fatalf("%s: build ID is a legacy format...binary too old for this tool", file) } newID := id[:strings.LastIndex(id, "/")] + "/" + buildid.HashToString(hash)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 1.7K bytes - Viewed (0) -
operator/pkg/util/common_test.go
desc string in string want bool }{ { desc: "empty", in: "", want: false, }, { desc: "no-markers", in: "foobar", want: false, }, { desc: "with-slash", in: "/home/bobby/go_rocks/main", want: true, }, { desc: "with-period", in: "istio.go", want: true, }, } for _, tt := range tests { t.Run(tt.desc, func(t *testing.T) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 29 20:42:01 UTC 2020 - 2.2K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferResource.java
*/ @Deprecated public interface ArtifactTransferResource { /** * The base URL of the repository, e.g. "http://repo1.maven.org/maven2/". Unless the URL is unknown, it will be * terminated by a trailing slash. * * @return The base URL of the repository or an empty string if unknown, never {@code null}. */ String getRepositoryUrl(); /**
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 2K bytes - Viewed (0) -
src/crypto/x509/root_unix.go
for _, f := range files { if !isSameDirSymlink(f, dir) { uniq = append(uniq, f) } } return uniq, nil } // isSameDirSymlink reports whether fi in dir is a symlink with a // target not containing a slash. func isSameDirSymlink(f fs.DirEntry, dir string) bool { if f.Type()&fs.ModeSymlink == 0 { return false } target, err := os.Readlink(filepath.Join(dir, f.Name()))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 11 20:54:07 UTC 2023 - 2.7K bytes - Viewed (0) -
src/go/printer/printer_test.go
t.Error("expected offset 1") // error in test } testComment(t, f, len(src), &ast.Comment{Slash: pos, Text: "//-style comment"}) testComment(t, f, len(src), &ast.Comment{Slash: pos, Text: "/*-style comment */"}) testComment(t, f, len(src), &ast.Comment{Slash: pos, Text: "/*-style \n comment */"}) testComment(t, f, len(src), &ast.Comment{Slash: pos, Text: "/*-style comment \n\n\n */"}) } type visitor chan *ast.Ident
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 03 14:56:25 UTC 2024 - 20.4K bytes - Viewed (0) -
internal/store/store.go
Del(key string) error DelList(key []string) error Open() error Delete() error Extension() string } // Key denotes the key present in the store. type Key struct { Name string IsLast bool } // replayItems - Reads the items from the store and replays. func replayItems[I any](store Store[I], doneCh <-chan struct{}, log logger, id string) <-chan Key { keyCh := make(chan Key) go func() {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Mar 25 16:44:20 UTC 2024 - 3.5K bytes - Viewed (0) -
src/os/getwd.go
getwdCache.Unlock() if len(dir) > 0 { d, err := statNolog(dir) if err == nil && SameFile(dot, d) { return dir, nil } } // Root is a special case because it has no parent // and ends in a slash. root, err := statNolog("/") if err != nil { // Can't stat root - no hope. return "", err } if SameFile(root, dot) { return "/", nil } // General algorithm: find name in parent
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 28 06:28:02 UTC 2020 - 2.5K bytes - Viewed (0) -
src/go/ast/import.go
for _, c := range g.cg.List { if g.left { c.Slash = pos[i].Start - 1 } else { // An import spec can have both block comment and a line comment // to its right. In that case, both of them will have the same pos. // But while formatting the AST, the line comment gets moved to // after the block comment. c.Slash = pos[i].End } } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 5.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/library/cidr_test.go
expr: `cidr("192.168.0.0/")`, expectRuntimeErr: "network address parse error during conversion from string: network address parse error during conversion from string: netip.ParsePrefix(\"192.168.0.0/\"): bad bits after slash: \"\"", }, { name: "contains IP ipv4 (IP)", expr: `cidr("192.168.0.0/24").containsIP(ip("192.168.0.1"))`, expectResult: trueVal, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 12:03:09 UTC 2023 - 8.3K bytes - Viewed (0) -
maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus/1.0.4/plexus-1.0.4.pom
<name>Emmanuel Venisse</name> <email>******@****.***</email> <roles> <role>Developer</role> </roles> </developer> <developer> <name>Trygve Laugstøl</name> <id>trygvis</id> <email>******@****.***</email> <roles> <role>Developer</role> </roles> </developer> <developer> <name>Kenney Westerhof</name>
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Sun Oct 02 08:41:25 UTC 2022 - 5.6K bytes - Viewed (0)