- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 62 for Fname (0.13 sec)
-
src/cmd/vendor/golang.org/x/telemetry/internal/upload/upload.go
} else if match[1] > today { u.logger.Printf("Report date for %q is later than today (%s)", filepath.Base(fname), today) return // report is in the future, which shouldn't happen } buf, err := os.ReadFile(fname) if err != nil { u.logger.Printf("%v reading %s", err, fname) return } if u.uploadReportContents(fname, buf) { // anything left to do? } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 14:52:56 UTC 2024 - 3.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/upload/date.go
} func (u *uploader) parseCountFile(fname string) (*counter.File, error) { u.cache.mu.Lock() defer u.cache.mu.Unlock() if u.cache.m == nil { u.cache.m = make(map[string]*counter.File) } if f, ok := u.cache.m[fname]; ok { return f, nil } buf, err := os.ReadFile(fname) if err != nil { return nil, fmt.Errorf("parse ReadFile: %v for %s", err, fname) } f, err := counter.Parse(fname, buf)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 21:12:15 UTC 2024 - 2.2K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/settings.go
} return editSettings(fname, func(s *settings) error { for i, c := range s.Configs { if c.Name == name { s.Configs[i].config = cfg return nil } } s.Configs = append(s.Configs, namedConfig{Name: name, config: cfg}) return nil }) } // removeConfig removes config from fname. func removeConfig(fname, config string) error { return editSettings(fname, func(s *settings) error {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 4.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/framepointer/framepointer.go
return nil, nil } // Find assembly files to work on. var sfiles []string for _, fname := range pass.OtherFiles { if strings.HasSuffix(fname, ".s") && pass.Pkg.Path() != "runtime" { sfiles = append(sfiles, fname) } } for _, fname := range sfiles { content, tf, err := analysisutil.ReadFile(pass, fname) if err != nil { return nil, err } lines := strings.SplitAfter(string(content), "\n")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 2.4K bytes - Viewed (0) -
src/testing/fstest/mapfs.go
var need = make(map[string]bool) if name == "." { elem = "." for fname, f := range fsys { i := strings.Index(fname, "/") if i < 0 { if fname != "." { list = append(list, mapFileInfo{fname, f}) } } else { need[fname[:i]] = true } } } else { elem = name[strings.LastIndex(name, "/")+1:] prefix := name + "/" for fname, f := range fsys {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 7.1K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/webhtml.go
// Load specified file. loadFile := func(fname string) string { data, err := embeddedFiles.ReadFile(fname) if err != nil { fmt.Fprintf(os.Stderr, "internal/driver: embedded file %q not found\n", fname) os.Exit(1) } return string(data) } loadCSS := func(fname string) string { return `<style type="text/css">` + "\n" + loadFile(fname) + `</style>` + "\n" } loadJS := func(fname string) string {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 2.6K bytes - Viewed (0) -
cmd/admin-handler-utils.go
func exportError(ctx context.Context, err error, fname, entity string) APIError { if entity == "" { return toAPIError(ctx, fmt.Errorf("error exporting %s with: %w", fname, err)) } return toAPIError(ctx, fmt.Errorf("error exporting %s from %s with: %w", entity, fname, err)) } // wraps import error for more context func importError(ctx context.Context, err error, fname, entity string) APIError { if entity == "" {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 8.2K bytes - Viewed (0) -
src/internal/coverage/cformat/format.go
// Counter values will be accumulated where appropriate. func (fm *Formatter) AddUnit(file string, fname string, isfnlit bool, unit coverage.CoverableUnit, count uint32) { if fm.p == nil { panic("AddUnit invoked before SetPackage") } fkey := fnfile{file: file, fname: fname, lit: isfnlit} idx, ok := fm.p.funcTable[fkey] if !ok { idx = uint32(len(fm.p.funcs)) fm.p.funcs = append(fm.p.funcs, fkey)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 9.7K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/BazelFileContentGenerator.groovy
"outname": attr.string(), }, outputs = {"out": "%{name}.java"}, implementation = _impl, ) def junit_tests(name, srcs, **kwargs): s_name = name.replace("-", "_") + "TestSuite" _GenSuite( name = s_name, srcs = srcs, outname = s_name, ) java_test( name = name, test_class = s_name, srcs = srcs + [":" + s_name],
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/integration/node_expansion_pass.cc
std::string fname = absl::StrCat("_expanded_", ndef.name(), "_", std::to_string(x)); if (!ctx.FindFunctionByName(fname)) { TF_ASSIGN_OR_RETURN(auto func, ExpandNode(ndef, fname)); TF_RETURN_IF_ERROR(ctx.AddFunctionDef(func)); } // Rewrite the out_op to be the call op. This essentially a deep copy of the // orig_op, except the op name. auto* new_op = new EagerOperation(&ctx);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Feb 25 16:22:36 UTC 2024 - 3.8K bytes - Viewed (0)