Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 447 for Trailing (0.13 sec)

  1. 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)
  2. 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)
  3. 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)
  4. cmd/object-api-utils.go

    }
    
    // pathsJoinPrefix - like pathJoin retains trailing SlashSeparator
    // for all elements, prepends them with 'prefix' respectively.
    func pathsJoinPrefix(prefix string, elem ...string) (paths []string) {
    	paths = make([]string, len(elem))
    	for i, e := range elem {
    		paths[i] = pathJoin(prefix, e)
    	}
    	return paths
    }
    
    // pathJoin - like path.Join() but retains trailing SlashSeparator of the last element
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_collector_test.cc

      EXPECT_TRUE(statistics.has_value());
      EXPECT_EQ(statistics.value().histogram_statistics().lower_bound(), 0.f);
      EXPECT_EQ(statistics.value().histogram_statistics().bin_width(), 2.f);
      // Trailing zeros should be removed.
      EXPECT_THAT(statistics.value().histogram_statistics().hist_freq(),
                  ElementsAre(1, 0, 3, 5, 7, 6, 5));
    }
    
    TEST(HistogramStatisticsCollectorTest, AggregateSameBatchSize) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 16 04:33:52 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  6. src/net/parse.go

    // lowerASCII returns the ASCII lowercase version of b.
    func lowerASCII(b byte) byte {
    	if 'A' <= b && b <= 'Z' {
    		return b + ('a' - 'A')
    	}
    	return b
    }
    
    // trimSpace returns x without any leading or trailing ASCII whitespace.
    func trimSpace(x string) string {
    	for len(x) > 0 && isSpace(x[0]) {
    		x = x[1:]
    	}
    	for len(x) > 0 && isSpace(x[len(x)-1]) {
    		x = x[:len(x)-1]
    	}
    	return x
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 14:00:54 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. src/math/big/float.go

    // the slice may (but doesn't have to) be shorter if the mantissa contains
    // trailing 0 bits. x.mant is normalized if the msb of x.mant == 1 (i.e.,
    // the msb is shifted all the way "to the left"). Thus, if the mantissa has
    // trailing 0 bits or x.prec is not a multiple of the Word size _W,
    // x.mant[0] has trailing zero bits. The msb of the mantissa corresponds
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 15:46:54 UTC 2024
    - 44.5K bytes
    - Viewed (0)
  8. src/internal/poll/fd_wasip1.go

    		size, ok := direntReclen(b)
    		if !ok {
    			break
    		}
    		if size > uint64(len(b)) {
    			break
    		}
    		fd.Dircookie = syscall.Dircookie(next)
    		b = b[size:]
    	}
    
    	// Trim a potentially incomplete trailing entry; this is necessary because
    	// the code in src/os/dir_unix.go does not deal well with partial values in
    	// calls to direntReclen, etc... and ends up causing an early EOF before all
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 20:14:02 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. src/fmt/doc.go

    For floating-point values, width sets the minimum width of the field and
    precision sets the number of places after the decimal, if appropriate,
    except that for %g/%G precision sets the maximum number of significant
    digits (trailing zeros are removed). For example, given 12.345 the format
    %6.3f prints 12.345 while %.3g prints 12.3. The default precision for %e, %f
    and %#g is 6; for %g it is the smallest number of digits necessary to identify
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:56:20 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/execution/commandline/CommandLineIntegrationTest.groovy

            then:
            // Handle JAVA_HOME specified
            executer.withJavaHome(javaHome).withArguments(expectedJavaHome).withTasks('checkJavaHome').run()
    
            // Handle JAVA_HOME with trailing separator
            executer.withJavaHome(javaHome + File.separator).withArguments(expectedJavaHome).withTasks('checkJavaHome').run()
    
            if (!OperatingSystem.current().isWindows()) {
                return
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:22 UTC 2024
    - 12K bytes
    - Viewed (0)
Back to top