- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 32 for pad_string (0.15 sec)
-
tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc
} }); // Pad string to a certain size to format the table. Space is preferred to // Tab since it is easier to check the format in the mlir tests. auto pad_string = [](StringRef s, int32_t width) -> std::string { return llvm::Twine(s).concat(std::string(width - s.size(), ' ')).str(); }; // Generate a quantization report. size_t name_col_width = 5;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 54.5K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/profile/encode.go
} for _, f := range p.Function { f.nameX = addString(strings, f.Name) f.systemNameX = addString(strings, f.SystemName) f.filenameX = addString(strings, f.Filename) } p.dropFramesX = addString(strings, p.DropFrames) p.keepFramesX = addString(strings, p.KeepFrames) if pt := p.PeriodType; pt != nil { pt.typeX = addString(strings, pt.Type) pt.unitX = addString(strings, pt.Unit) } p.commentX = nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 15:19:53 UTC 2024 - 17.1K bytes - Viewed (0) -
analysis/analysis-api-standalone/analysis-api-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/project/structure/StandaloneProjectFactory.kt
return roots.mapNotNull { path -> val pathString = FileUtil.toSystemIndependentName(path.toAbsolutePath().toString()) when { pathString.endsWith(JAR_PROTOCOL) || pathString.endsWith(KLIB_FILE_EXTENSION) -> { environment.environment.jarFileSystem.findFileByPath(pathString + JAR_SEPARATOR) } pathString.contains(JAR_SEPARATOR) -> {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 04 22:09:27 UTC 2024 - 22.4K bytes - Viewed (0) -
src/fmt/format.go
// left padding f.writePadding(width) f.buf.write(b) } else { // right padding f.buf.write(b) f.writePadding(width) } } // padString appends s to f.buf, padded on left (!f.minus) or right (f.minus). func (f *fmt) padString(s string) { if !f.widPresent || f.wid == 0 { f.buf.writeString(s) return } width := f.wid - utf8.RuneCountInString(s) if !f.minus { // left padding
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:31:55 UTC 2024 - 13.8K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/bootstrap/DaemonStartupCommunication.java
Decoder decoder = new InputStreamBackedDecoder(inputStream); String pidString = decoder.readNullableString(); String uid = decoder.readString(); Long pid = pidString == null ? null : Long.parseLong(pidString); Address address = new MultiChoiceAddressSerializer().read(decoder); File daemonLog = new File(decoder.readString());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:38 UTC 2024 - 4.7K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/providers/collections/kotlin/build.gradle.kts
// Define a domain object set to hold strings val myStrings: DomainObjectSet<String> = project.objects.domainObjectSet(String::class) // Add some strings to the domain object set fun addString(value: String) { myStrings.add(value) } } // end::dos[] // tag::ndos[] // tag::ndol[] // tag::ndoc[] abstract class Person(val name: String) // end::ndol[] // end::ndoc[]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 17 18:14:15 UTC 2024 - 2.1K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/providers/collections/groovy/build.gradle
// Define a domain object set to hold strings DomainObjectSet<String> myStrings = project.objects.domainObjectSet(String) // Add some strings to the domain object set void addString(String value) { myStrings.add(value) } } // end::dos[] // tag::ndos[] // tag::ndol[] // tag::ndoc[] abstract class Person { String name } // end::ndol[] // end::ndoc[]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 17 18:14:15 UTC 2024 - 2.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/string_utils.h
public: explicit MiniDynamicBuffer(size_t max_length = kDefaultMaxLength) : offset_({0}), max_length_(max_length) {} // Add string to dynamic buffer by resizing the buffer and copying the data. absl::Status AddString(const char* str, size_t len); // Fill content into a buffer and returns the number of bytes stored. // The function allocates space for the buffer but does NOT take ownership. int WriteToBuffer(char** buffer);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 2.2K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java
assertEquals(mojo.pathString, path.toString()); } @Override protected String getProjectsDirectory() { // TODO Auto-generated method stub return null; } public static class Mojo { URI uri; Path path; String uriString; String uriAsciiString; String pathString; }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Mar 25 10:50:01 UTC 2024 - 19.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/string_utils.cc
#include <cstddef> #include <cstdint> #include <cstdlib> #include <cstring> #include <vector> #include "absl/status/status.h" namespace mlir::TFL { absl::Status MiniDynamicBuffer::AddString(const char* str, size_t len) { // If `data_.size() + len` is greater than `SIZE_MAX` then the left hand side // will overflow to something less than max_length_. After checking `len <=
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 2.9K bytes - Viewed (0)