- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 821 for Leading (0.16 sec)
-
staging/src/k8s.io/apimachinery/pkg/api/validation/generic_test.go
description: "only a single dash", }, { beforeMasking: "-foo", expectedAfterMasking: "-foo", description: "has leading dash", }, { beforeMasking: "-foo-", expectedAfterMasking: "-foa", description: "has both leading and trailing dashes", }, { beforeMasking: "b-", expectedAfterMasking: "a", description: "has trailing dash", },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 03 14:47:11 UTC 2021 - 1.7K bytes - Viewed (0) -
src/math/trig_reduce.go
// in 3 float64 parts still gives accurate results. This threshold // is set by y*C being representable as a float64 without error // where y is given by y = floor(x * (4 / Pi)) and C is the leading partial // terms of 4/Pi. Since the leading terms (PI4A and PI4B in sin.go) have 30 // and 32 trailing zero bits, y should have less than 30 significant bits. // // y < 1<<30 -> floor(x*4/Pi) < 1<<30 -> x < (1<<30 - 1) * Pi/4 //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 3.3K bytes - Viewed (0) -
src/os/path_unix.go
dirname := "." // Remove all but one leading slash. for len(path) > 1 && path[0] == '/' && path[1] == '/' { path = path[1:] } i := len(path) - 1 // Remove trailing slashes. for ; i > 0 && path[i] == '/'; i-- { path = path[:i] } // if no slashes in path, base is path basename := path // Remove leading directory path for i--; i >= 0; i-- { if path[i] == '/' {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:44:48 UTC 2024 - 1.2K bytes - Viewed (0) -
src/mime/type.go
} // AddExtensionType sets the MIME type associated with // the extension ext to typ. The extension should begin with // a leading dot, as in ".html". func AddExtensionType(ext, typ string) error { if !strings.HasPrefix(ext, ".") { return fmt.Errorf("mime: extension %q missing leading dot", ext) } once.Do(initMime) return setExtensionType(ext, typ) } func setExtensionType(extension, mimeType string) error {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/scatter.cc
// Permute updates if `update_window_dims` are leading indices. // Other possibilities for `update_window_dims` are not supported yet. if (!IsIotaAttr(update_window_dims, update_window_dims.size())) return rewriter.notifyMatchFailure( scatter_op, "update_window_dims are not leading or trailing indices"); SmallVector<int64_t, 4> permutation_array(updates_type.getRank());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Sep 12 02:29:42 UTC 2023 - 3.1K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_invalid_path.txt
# Test that an import path containing an element with a leading dot is valid, # but such a module path is not. # Verifies #43985. cd $WORK/gopath/src/dotname go list ./.dot stdout '^example.com/dotname/.dot$' go list ./use stdout '^example.com/dotname/use$' ! go list -m example.com/dotname/.dot@latest stderr '^go: example.com/dotname/.dot@latest: malformed module path "example.com/dotname/.dot": leading dot in path element$'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 02 02:54:20 UTC 2023 - 1.7K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/util/documentation_test.go
desc: "Consecutive new lines are combined into a single paragraph", in: "Line1\nLine2", out: "Line1 Line2", }, { desc: "Leading and trailing spaces are stripped (single line)", in: "\t \nThe text line \n \t", out: "The text line", }, { desc: "Leading and trailing spaces are stripped (multi line)", in: "\t \nLine1\nLine2 \n \t", out: "Line1 Line2", }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 24 11:40:55 UTC 2019 - 2.8K bytes - Viewed (0) -
src/net/textproto/textproto.go
return 0, err } return id, nil } // TrimString returns s without leading and trailing ASCII space. func TrimString(s string) string { for len(s) > 0 && isASCIISpace(s[0]) { s = s[1:] } for len(s) > 0 && isASCIISpace(s[len(s)-1]) { s = s[:len(s)-1] } return s } // TrimBytes returns b without leading and trailing ASCII space. func TrimBytes(b []byte) []byte {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 3.7K bytes - Viewed (0) -
src/cmd/gofmt/internal.go
if err != nil { return nil, err } return buf.Bytes(), nil } // Partial source file. // Determine and prepend leading space. i, j := 0, 0 for j < len(src) && isSpace(src[j]) { if src[j] == '\n' { i = j + 1 // byte offset of last line in leading space } j++ } var res []byte res = append(res, src[:i]...) // Determine and prepend indentation of first code line.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 28 14:23:08 UTC 2020 - 5K bytes - Viewed (0) -
src/go/format/internal.go
if err != nil { return nil, err } return buf.Bytes(), nil } // Partial source file. // Determine and prepend leading space. i, j := 0, 0 for j < len(src) && isSpace(src[j]) { if src[j] == '\n' { i = j + 1 // byte offset of last line in leading space } j++ } var res []byte res = append(res, src[:i]...) // Determine and prepend indentation of first code line.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 28 14:23:08 UTC 2020 - 5K bytes - Viewed (0)