Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 123 for Fname (0.09 sec)

  1. 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)
  2. src/cmd/compile/internal/pkginit/initAsanGlobals.go

    	i32 := types.Types[types.TINT32]
    	fname := typecheck.Lookup
    	nxp := src.NoXPos
    	nfield := types.NewField
    	asanGlobal := types.NewStruct([]*types.Field{
    		nfield(nxp, fname("beg"), up),
    		nfield(nxp, fname("size"), up),
    		nfield(nxp, fname("sizeWithRedzone"), up),
    		nfield(nxp, fname("name"), up),
    		nfield(nxp, fname("moduleName"), up),
    		nfield(nxp, fname("hasDynamicInit"), up),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 17 19:36:24 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. pkg/envoy/proxy.go

    }
    
    var HostIP = os.Getenv("HOST_IP")
    
    // readBootstrapToJSON reads a config file, in YAML or JSON, and returns JSON string
    func readBootstrapToJSON(fname string) (string, error) {
    	b, err := os.ReadFile(fname)
    	if err != nil {
    		return "", fmt.Errorf("failed to read file: %s, %v", fname, err)
    	}
    
    	// Replace host with HOST_IP env var if it is "$(HOST_IP)".
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 10:02:56 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/telemetry/internal/counter/stackcounter.go

    		name = name[:maxNameLen-len(bad)] + bad
    	}
    	return name
    }
    
    // DecodeStack expands the (compressed) stack encoded in the counter name.
    func DecodeStack(ename string) string {
    	if !strings.Contains(ename, "\n") {
    		return ename // not a stack counter
    	}
    	lines := strings.Split(ename, "\n")
    	var lastPath string // empty or ends with .
    	for i, line := range lines {
    		path, rest := cutLastDot(line)
    		if len(path) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:10:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. src/go/doc/exports.go

    		// which are not filtered for top-level function declarations.
    		if name := s.Name.Name; token.IsExported(name) {
    			r.filterType(r.lookupType(s.Name.Name), s.Type)
    			return true
    		} else if IsPredeclared(name) {
    			if r.shadowedPredecl == nil {
    				r.shadowedPredecl = make(map[string]bool)
    			}
    			r.shadowedPredecl[name] = true
    		}
    	}
    	return false
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 01 18:18:07 UTC 2022
    - 8.5K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/telemetry/internal/upload/findwork.go

    	for _, fi := range fis {
    		if strings.HasSuffix(fi.Name(), ".v1.count") {
    			fname := filepath.Join(localdir, fi.Name())
    			_, expiry, err := u.counterDateSpan(fname)
    			switch {
    			case err != nil:
    				u.logger.Printf("Error reading expiry for count file %s: %v", fi.Name(), err)
    			case expiry.After(u.startTime):
    				u.logger.Printf("Skipping count file %s: still active", fi.Name())
    			default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:12:15 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top