Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for stash (0.15 sec)

  1. cmd/metacache-walk.go

    	// ReportNotFound will return errFileNotFound if all disks reports the BaseDir cannot be found.
    	ReportNotFound bool
    
    	// FilterPrefix will only return results with given prefix within folder.
    	// Should never contain a slash.
    	FilterPrefix string
    
    	// ForwardTo will forward to the given object path.
    	ForwardTo string
    
    	// Limit the number of returned objects if > 0.
    	Limit int
    
    	// DiskID contains the disk ID of the disk.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  2. src/archive/zip/writer.go

    // The file contents will be compressed using the [Deflate] method.
    // The name must be a relative path: it must not start with a drive
    // letter (e.g. C:) or leading slash, and only forward slashes are
    // allowed. To create a directory instead of a file, add a trailing
    // slash to the name.
    // The file's contents must be written to the [io.Writer] before the next
    // call to [Writer.Create], [Writer.CreateHeader], or [Writer.Close].
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  3. 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)
  4. src/cmd/asm/internal/lex/tokenizer.go

    	}
    }
    
    // We want center dot (·) and division slash (∕) to work as identifier characters.
    func isIdentRune(ch rune, i int) bool {
    	if unicode.IsLetter(ch) {
    		return true
    	}
    	switch ch {
    	case '_': // Underscore; traditional.
    		return true
    	case '\u00B7': // Represents the period in runtime.exit. U+00B7 '·' middle dot
    		return true
    	case '\u2215': // Represents the slash in runtime/debug.setGCPercent. U+2215 '∕' division slash
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Aug 04 20:35:21 GMT 2022
    - 3K bytes
    - Viewed (0)
  5. 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)
  6. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:52:52 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  7. 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)
  8. src/archive/tar/writer_test.go

    						int64(1e10 - blockSize),
    						strings.Repeat("\x00", blockSize-100) + strings.Repeat("0123456789", 10),
    					}, 6e10, nil},
    					testClose{nil},
    				},
    		*/
    	}, {
    		file: "testdata/trailing-slash.tar",
    		tests: []testFnc{
    			testHeader{Header{Name: strings.Repeat("123456789/", 30)}, nil},
    			testClose{nil},
    		},
    	}, {
    		// Automatically promote zero value of Typeflag depending on the name.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
  9. src/archive/tar/strconv.go

    		b[len(s)] = 0
    	}
    
    	// Some buggy readers treat regular files with a trailing slash
    	// in the V7 path field as a directory even though the full path
    	// recorded elsewhere (e.g., via PAX record) contains no trailing slash.
    	if len(s) > len(b) && b[len(b)-1] == '/' {
    		n := len(strings.TrimRight(s[:len(b)-1], "/"))
    		b[n] = 0 // Replace trailing slash with NUL terminator
    	}
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 01 14:28:42 GMT 2023
    - 9K bytes
    - Viewed (0)
  10. 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)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Jun 06 14:30:53 GMT 2022
    - 1.5K bytes
    - Viewed (0)
Back to top