- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 47 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) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/DuplicateHandlingCopyActionExecutorTest.groovy
actions {} when: visit() then: 2 * delegateAction.processFile({ it.relativePath.pathString == '/root/path/file1.txt' }) 1 * delegateAction.processFile({ it.relativePath.pathString == '/root/path/file2.txt' }) } def duplicatesExcludedByPerFileConfiguration() { given: files 'path/file1.txt', 'path/file2.txt', 'path/file1.txt'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 02 14:30:00 UTC 2024 - 7.5K bytes - Viewed (0) -
src/internal/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) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 07 19:52:28 UTC 2023 - 13.6K 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/core-configuration/model-groovy/src/test/groovy/org/gradle/model/dsl/internal/NonTransformedModelDslBackingTest.groovy
def modelDsl def setup() { modelDsl = new NonTransformedModelDslBacking(getRegistry()) } void register(String pathString, Object element) { registry.register(ModelRegistrations.bridgedInstance(ModelReference.of(pathString, element.class), element).descriptor("register").build()) } def "can add rules via dsl"() { given: register("foo", []) when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 4.3K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/util/PathTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Oct 02 12:54:37 UTC 2023 - 8.9K 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)