Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for pad_string (0.32 sec)

  1. 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)
  2. src/debug/dwarf/tag_string.go

    Ian Lance Taylor <******@****.***> 1556758126 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 03 17:32:37 UTC 2019
    - 3.9K bytes
    - Viewed (0)
  3. 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)
  4. subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/CopyActionExecuterTest.groovy

            when:
            executer.execute(copySpec, copyAction)
    
            then:
            1 * action.processFile({ it.relativePath.pathString == "a" })
            0 * action.processFile(_)
        }
    
        Closure path(path) {
            return { println it.relativePath.pathString; it.relativePath.pathString == path }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 28 12:39:32 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. subprojects/core/src/testFixtures/groovy/org/gradle/api/file/FileVisitorUtil.groovy

                        if (details.relativePath.parent.parent) {
                            assertThat(dirs, hasItem(details.relativePath.parent.pathString))
                        }
                        assertTrue(files.add(details.relativePath.pathString))
                        assertTrue(details.relativePath.isFile())
                        assertTrue(details.file.file)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 22 14:26:33 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. internal/s3select/sql/utils.go

    // String - returns the JSONPath representation
    func (e *JSONPath) String() string {
    	if len(e.pathString) == 0 {
    		parts := make([]string, len(e.PathExpr)+1)
    		parts[0] = e.BaseKey.String()
    		for i, pe := range e.PathExpr {
    			parts[i+1] = pe.String()
    		}
    		e.pathString = strings.Join(parts, "")
    	}
    	return e.pathString
    }
    
    // StripTableAlias removes a table alias from the path. The result is also
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Nov 10 16:12:50 UTC 2021
    - 3.6K bytes
    - Viewed (0)
  10. 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)
Back to top