Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 1,085 for Trailing (0.22 sec)

  1. pkg/volume/util/volumepathhandler/volume_path_handler_linux.go

    		if backingFilePath == path || backingFilePath == realPath {
    			return fmt.Sprintf("/dev/%s", filepath.Base(device)), nil
    		}
    	}
    
    	return "", errors.New(ErrDeviceNotFound)
    }
    
    // cleanPath remove any trailing substrings that are not part of the backing file path.
    func cleanBackingFilePath(path string) string {
    	// If the block device was deleted, the path will contain a "(deleted)" suffix
    	path = strings.TrimSpace(path)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/elfexec/elfexec.go

    const (
    	maxNoteSize        = 1 << 20 // in bytes
    	noteTypeGNUBuildID = 3
    )
    
    // elfNote is the payload of a Note Section in an ELF file.
    type elfNote struct {
    	Name string // Contents of the "name" field, omitting the trailing zero byte.
    	Desc []byte // Contents of the "desc" field.
    	Type uint32 // Contents of the "type" field.
    }
    
    // parseNotes returns the notes from a SHT_NOTE section or PT_NOTE segment.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  3. src/cmd/go/internal/generate/generate.go

    		if non-empty, specifies a regular expression to select
    		directives whose full original source text (excluding
    		any trailing spaces and final newline) matches the
    		expression.
    
    	-skip=""
    		if non-empty, specifies a regular expression to suppress
    		directives whose full original source text (excluding
    		any trailing spaces and final newline) matches the
    		expression. If a directive matches both the -run and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 29 19:39:24 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  4. src/math/big/ftoa.go

    			d.round(prec)
    		}
    	}
    
    	// 3) read digits out and format
    	switch fmt {
    	case 'e', 'E':
    		return fmtE(buf, fmt, prec, d)
    	case 'f':
    		return fmtF(buf, prec, d)
    	case 'g', 'G':
    		// trim trailing fractional zeros in %e format
    		eprec := prec
    		if eprec > len(d.mant) && len(d.mant) >= d.exp {
    			eprec = len(d.mant)
    		}
    		// %e is used if the exponent from the conversion
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  5. src/net/http/cookiejar/jar.go

    // golang.org/x/net/publicsuffix.
    type PublicSuffixList interface {
    	// PublicSuffix returns the public suffix of domain.
    	//
    	// TODO: specify which of the caller and callee is responsible for IP
    	// addresses, for leading and trailing dots, for case sensitivity, and
    	// for IDN/Punycode.
    	PublicSuffix(domain string) string
    
    	// String returns a description of the source of this public suffix
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 15K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/LogContent.java

                    continue;
                }
    
                lines.add(chars.substring(pos, getSubstringEnd(chars, pos, next)));
                pos = next + 1;
                if (pos == chars.length()) {
                    // trailing EOL
                    lines.add("");
                }
            }
            return lines.build();
        }
    
        private static int getSubstringEnd(String chars, int pos, int next) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/Resources.java

        return asCharSource(url, charset).readLines(callback);
      }
    
      /**
       * Reads all of the lines from a URL. The lines do not include line-termination characters, but do
       * include other leading and trailing whitespace.
       *
       * <p>This method returns a mutable {@code List}. For an {@code ImmutableList}, use {@code
       * Resources.asCharSource(url, charset).readLines()}.
       *
       * @param url the URL to read from
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  8. src/cmd/distpack/archive.go

    	}
    }
    
    // Remove removes files matching any of the patterns from the archive.
    // The patterns use the syntax of path.Match, with an extension of allowing
    // a leading **/ or trailing /**, which match any number of path elements
    // (including no path elements) before or after the main match.
    func (a *Archive) Remove(patterns ...string) {
    	a.Filter(func(name string) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 11 17:37:52 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modload/search.go

    		_, span := trace.StartSpan(ctx, "walkPkgs "+root)
    		defer span.Done()
    
    		// If the root itself is a symlink to a directory,
    		// we want to follow it (see https://go.dev/issue/50807).
    		// Add a trailing separator to force that to happen.
    		root = str.WithFilePathSeparator(filepath.Clean(root))
    		err := fsys.Walk(root, func(pkgDir string, fi fs.FileInfo, err error) error {
    			if err != nil {
    				m.AddError(err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:15 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  10. src/path/filepath/path.go

    	}
    	names, err := f.Readdirnames(-1)
    	f.Close()
    	if err != nil {
    		return nil, err
    	}
    	slices.Sort(names)
    	return names, nil
    }
    
    // Base returns the last element of path.
    // Trailing path separators are removed before extracting the last element.
    // If the path is empty, Base returns ".".
    // If the path consists entirely of separators, Base returns a single separator.
    func Base(path string) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 15.5K bytes
    - Viewed (0)
Back to top