Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,423 for Trailing (0.17 sec)

  1. src/math/cmplx/tan.go

    	// is set by t*PIn being representable as a float64 without error
    	// where t is given by t = floor(x * (1 / Pi)) and PIn are the leading partial
    	// terms of Pi. Since the leading terms, PI1 and PI2 below, have 30 and 32
    	// trailing zero bits respectively, t should have less than 30 significant bits.
    	//	t < 1<<30  -> floor(x*(1/Pi)+0.5) < 1<<30 -> x < (1<<30-1) * Pi - 0.5
    	// So, conservatively we can take x < 1<<30.
    	const reduceThreshold float64 = 1 << 30
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 01 03:16:37 UTC 2020
    - 8.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

                /*
                 * Samba has a tendency to return pathConsumed values so that they consume a trailing slash of the
                 * requested path. Normalize this here.
                 */
                if ( reqPath.charAt(consumed - 1) == '\\' ) {
                    if ( log.isDebugEnabled() ) {
                        log.debug("Server consumed trailing slash of request path, adjusting");
                    }
                    dr.pathConsumed--;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sat Nov 13 15:13:49 UTC 2021
    - 11K 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