- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 1,092 for Trailing (0.14 sec)
-
src/strings/strings.go
func TrimLeftFunc(s string, f func(rune) bool) string { i := indexFunc(s, f, false) if i == -1 { return "" } return s[i:] } // TrimRightFunc returns a slice of the string s with all trailing // Unicode code points c satisfying f(c) removed. func TrimRightFunc(s string, f func(rune) bool) string { i := lastIndexFunc(s, f, false) if i >= 0 && s[i] >= utf8.RuneSelf {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 16:48:16 UTC 2024 - 31.2K bytes - Viewed (0) -
src/encoding/pem/pem_test.go
var pemRepeatingBegin = strings.Repeat("-----BEGIN \n", 10) var badPEMTests = []struct { name string input string }{ { "too few trailing dashes", pemTooFewEndingDashes, }, { "too many trailing dashes", pemTooManyEndingDashes, }, { "trailing non-whitespace", pemTrailingNonWhitespace, }, { "incorrect ending type", pemWrongEndingType, }, {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 29 22:56:00 UTC 2022 - 23.5K bytes - Viewed (0) -
cmd/metacache-walk.go
objReturned(entry.metadata) select { case <-ctx.Done(): return ctx.Err() case out <- entry: } return nil } // Fast exit track to check if we are listing an object with // a trailing slash, this will avoid to list the object content. if HasSuffix(opts.BaseDir, SlashSeparator) { metadata, err := s.readMetadata(ctx, pathJoin(volumeDir, opts.BaseDir[:len(opts.BaseDir)-1]+globalDirSuffix,
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat Jun 01 05:17:37 UTC 2024 - 12.4K bytes - Viewed (0) -
src/go/types/return.go
case *ast.ForStmt: if s.Cond == nil && !hasBreak(s.Body, label, true) { return true } } return false } func (check *Checker) isTerminatingList(list []ast.Stmt, label string) bool { // trailing empty statements are permitted - skip them for i := len(list) - 1; i >= 0; i-- { if _, ok := list[i].(*ast.EmptyStmt); !ok { return check.isTerminating(list[i], label) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 22 19:32:17 UTC 2024 - 4.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/post_quantize.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 07:39:40 UTC 2024 - 5.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/post_quantize.cc
MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(PostQuantizePass) explicit PostQuantizePass() = default; private: void runOnOperation() override; }; // TODO: b/305815328 - Consider preserving leading and trailing QDQs for // ModifyIONodesPass in TFLite use cases. // Removes the back-to-back quantize and dequantize ops with volatile attribute. class RemoveVolatileQdqPattern : public OpRewritePattern<quantfork::DequantizeCastOp> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 07:39:40 UTC 2024 - 6.3K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/validation/validation.go
} return errs } // IsFullyQualifiedName checks if the name is fully qualified. This is similar // to IsFullyQualifiedDomainName but requires a minimum of 3 segments instead of // 2 and does not accept a trailing . as valid. // TODO: This function is deprecated and preserved until all callers migrate to // IsFullyQualifiedDomainName; please don't add new callers. func IsFullyQualifiedName(fldPath *field.Path, name string) field.ErrorList {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 16:08:43 UTC 2024 - 19K bytes - Viewed (0) -
src/internal/txtar/archive.go
// and end with the three-byte sequence " --", but the enclosed // file name can be surrounding by additional white space, // all of which is stripped. // // If the txtar file is missing a trailing newline on the final line, // parsers should consider a final newline to be present anyway. // // There are no possible syntax errors in a txtar archive. package txtar import ( "bytes" "fmt" "os"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 20 02:13:02 UTC 2022 - 4.2K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitLoggingOutputCaptureIntegrationTest.groovy
classResult.assertTestCaseStderr("ok", containsString("${java.util.logging.Level.INFO.getLocalizedName()}: info from thread $n")) } } def "output does not require trailing end-of-line separator"() { file("src/test/java/OkTest.java") << """ ${testFrameworkImports} public class OkTest { ${beforeTestAnnotation}
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 7.5K bytes - Viewed (0) -
src/go/doc/comment/text.go
if def.Used { fmt.Fprintf(&out, "[%s]: %s\n", def.Text, def.URL) } } } return out.Bytes() } // writeNL calls out.WriteByte('\n') // but first trims trailing spaces on the previous line. func writeNL(out *bytes.Buffer) { // Trim trailing spaces. data := out.Bytes() n := 0 for n < len(data) && (data[len(data)-n-1] == ' ' || data[len(data)-n-1] == '\t') { n++ } if n > 0 { out.Truncate(len(data) - n)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 8.8K bytes - Viewed (0)