Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,092 for Trailing (0.14 sec)

  1. src/runtime/symtabinl_test.go

    	prevStack := "x"
    	for pc := pc1; pc < pc1+1024 && findfunc(pc) == f; pc += sys.PCQuantum {
    		stack := ""
    		u, uf := newInlineUnwinder(f, pc)
    		if file, _ := u.fileLine(uf); file == "?" {
    			// We're probably in the trailing function padding, where findfunc
    			// still returns f but there's no symbolic information. Just keep
    			// going until we definitely hit the end. If we see a "?" in the
    			// middle of unwinding, that's a real problem.
    			//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. internal/config/cache/remote.go

    }
    
    var etagRegex = regexp.MustCompile("\"*?([^\"]*?)\"*?$")
    
    // canonicalizeETag returns ETag with leading and trailing double-quotes removed,
    // if any present
    func canonicalizeETag(etag string) string {
    	return etagRegex.ReplaceAllString(etag, "$1")
    }
    
    // Init - populates the input values, initializes CondCheck
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Nov 22 21:46:17 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/cmd/completion.go

    __kubeadm_type() {
    	# -t is not supported by zsh
    	if [ "$1" == "-t" ]; then
    		shift
    
    		# fake Bash 4 to disable "complete -o nospace". Instead
    		# "compopt +-o nospace" is used in the code to toggle trailing
    		# spaces. We don't support that, but leave trailing spaces on
    		# all the time
    		if [ "$1" = "__kubeadm_compopt" ]; then
    			echo builtin
    			return 0
    		fi
    	fi
    	type "$@"
    }
    
    __kubeadm_compgen() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 25 09:28:34 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  4. cmd/gotemplate/gotemplate.go

    // - include <filename>: returns the content of that file as string
    // - indent <number of spaces> <string>: replace each newline with "newline + spaces", indent the newline at the end
    // - trim <string>: strip leading and trailing whitespace
    
    func main() {
    	kvs := make(map[string]string)
    
    	for _, keyValue := range os.Args[1:] {
    		index := strings.Index(keyValue, "=")
    		if index <= 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 22 18:39:23 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_collector_histogram.cc

    std::optional<CalibrationStatistics>
    CalibrationStatisticsCollectorHistogram::GetStatistics() const {
      if (hist_freq_.empty()) return std::nullopt;
    
      CalibrationStatistics::HistogramStatistics hist_stats;
    
      // Skip trailing zeros in the histogram.
      int32_t real_size = hist_freq_.size();
      for (; real_size > 0; --real_size) {
        if (hist_freq_[real_size - 1] != 0) break;
      }
    
      hist_stats.set_lower_bound(lower_bound_);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 05 09:09:34 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/CharSinkTester.java

        String expected = expectedLines.isEmpty() ? "" : Joiner.on(separator).join(expectedLines);
        if (!lines.isEmpty()) {
          // if we wrote any lines in writeLines(), there will be a trailing newline
          expected += separator;
        }
        assertEquals(expected, factory.getSinkContents());
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 4K bytes
    - Viewed (0)
  7. src/go/types/commentMap_test.go

    	for {
    		pos, tok, lit := s.Scan()
    		switch tok {
    		case token.EOF:
    			return
    		case token.COMMENT:
    			if lit[1] == '*' {
    				lit = lit[:len(lit)-2] // strip trailing */
    			}
    			lit = lit[2:] // strip leading // or /*
    			if rx.MatchString(lit) {
    				p := fset.Position(prev)
    				err := comment{p.Line, p.Column, lit}
    				if res == nil {
    					res = make(map[int][]comment)
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. tests/fuzz/regression_test.go

    			return nil
    		}
    		bytes, err := os.ReadFile(path)
    		if err != nil {
    			return err
    		}
    		matched := pattern.FindAllString(string(bytes), -1)
    		for _, m := range matched {
    			// Add the match, with trailing ( and previous `func ` stripped
    			matches = append(matches, m[5:len(m)-1])
    		}
    		return nil
    	})
    	if err != nil {
    		return nil, err
    	}
    	return matches, nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 10 16:43:09 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  9. security/pkg/pki/util/crypto_test.go

    -----END CERTIFICATE-----`
    )
    
    var (
    	certChainValid             = loadPEMFile("../testdata/cert-chain.pem")
    	certChainValidTrailingLine = loadPEMFile("../testdata/cert-chain-trailing-line.pem")
    )
    
    func TestParsePemEncodedCertificate(t *testing.T) {
    	testCases := map[string]struct {
    		errMsg        string
    		pem           string
    		publicKeyAlgo x509.PublicKeyAlgorithm
    	}{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 13:00:07 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  10. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/text/TreeFormatterTest.groovy

            formatter.endChildren()
    
            then:
            formatter.toString() == toPlatformLineSeparators("""${longText}:
      - ${longText}""")
        }
    
        def "formats node with trailing '.'"() {
            when:
            formatter.node("Some things.")
            formatter.startChildren()
            formatter.node("child 1.")
            formatter.endChildren()
            formatter.node("Some other things.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 12.4K bytes
    - Viewed (0)
Back to top