- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 89 for slash (0.12 sec)
-
misc/go_android_exec/main.go
if err != nil { return 0, err } var deviceCwd string if isStd { // Note that we use path.Join here instead of filepath.Join: // The device paths should be slash-separated even if the go_android_exec // wrapper itself is compiled for Windows. deviceCwd = path.Join(deviceGoroot, "src", importPath) } else { deviceCwd = path.Join(deviceGopath, "src", importPath)
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Aug 21 17:46:57 GMT 2023 - 15.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HttpUrlTest.kt
// Add a string with zero slashes: resulting URL gains one slash. assertThat(base.newBuilder().addPathSegments("").build().encodedPath) .isEqualTo("/a/b/c/") assertThat(base.newBuilder().addPathSegments("d").build().encodedPath) .isEqualTo("/a/b/c/d") // Add a string with one slash: resulting URL gains two slashes.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 67.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
* the root URL <code>smb1://</code> is also <code>smb1://</code>. If this * <tt>SmbFile</tt> refers to a workgroup, server, share, or directory, * the name will include a trailing slash '/' so that composing new * <tt>SmbFile</tt>s will maintain the trailing slash requirement. * * @return The last component of the URL associated with this SMB * resource or <code>smb1://</code> if the resource is <code>smb1://</code>
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Mon Mar 13 12:00:57 GMT 2023 - 107.9K bytes - Viewed (2) -
src/archive/tar/tar_test.go
fi := v.h.FileInfo() h2, err := FileInfoHeader(fi, "") if err != nil { t.Error(err) continue } if strings.Contains(fi.Name(), "/") { t.Errorf("FileInfo of %q contains slash: %q", v.h.Name, fi.Name()) } name := path.Base(v.h.Name) if fi.IsDir() { name += "/" } if got, want := h2.Name, name; got != want { t.Errorf("i=%d: Name: got %v, want %v", i, got, want) }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Mar 15 16:01:50 GMT 2024 - 24K bytes - Viewed (0) -
src/main/java/jcifs/smb/DfsImpl.java
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:07:29 GMT 2023 - 29.1K bytes - Viewed (0) -
src/archive/tar/reader.go
} if gnuLongLink != "" { hdr.Linkname = gnuLongLink } if hdr.Typeflag == TypeRegA { if strings.HasSuffix(hdr.Name, "/") { hdr.Typeflag = TypeDir // Legacy archives use trailing slash for directories } else { hdr.Typeflag = TypeReg } } // The extended headers may have updated the size. // Thus, setup the regFileReader again after merging PAX headers.
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Mar 08 01:59:14 GMT 2024 - 26.8K bytes - Viewed (0) -
cmd/metacache-set.go
BaseDir string // Scan/return only content with prefix. Prefix string // FilterPrefix will return only results with this prefix when scanning. // Should never contain a slash. // Prefix should still be set. FilterPrefix string // Marker to resume listing. // The response will be the first entry >= this object name. Marker string // Limit the number of results. Limit int
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 17:59:08 GMT 2024 - 30.4K bytes - Viewed (0) -
cmd/metacache-stream.go
// 1 Integer, metacacheStreamVersion of the writer. // This can be used for managing breaking changes. // // For each element: // 1. Bool. If false at end of stream. // 2. String. Name of object. Directories contains a trailing slash. // 3. Binary. Blob of metadata. Length 0 on directories. // ... Next element. // // Streams can be assumed to be sorted in ascending order. // If the stream ends before a false boolean it can be assumed it was truncated.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 19.5K bytes - Viewed (0) -
src/archive/zip/reader.go
ydir, yelem, _ := split(y) return xdir < ydir || xdir == ydir && xelem < yelem } // Open opens the named file in the ZIP archive, // using the semantics of fs.FS.Open: // paths are always slash separated, with no // leading / or ../ elements. func (r *Reader) Open(name string) (fs.File, error) { r.initFileList() if !fs.ValidPath(name) {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 27.7K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc
if (object->empty() && !object_empty_ok) { TF_SetStatus(status, TF_INVALID_ARGUMENT, "GCS path doesn't contain an object name."); } } /// Appends a trailing slash if the name doesn't already have one. static void MaybeAppendSlash(std::string* name) { if (name->empty()) *name = "/"; else if (name->back() != '/') name->push_back('/'); }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Aug 23 06:55:53 GMT 2023 - 46.9K bytes - Viewed (0)