Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 143 for Fname (1.3 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. build-logic/performance-testing/src/main/groovy/gradlebuild/performance/generator/tasks/CppMultiProjectGeneratorTask.groovy

                def subproject = subprojects[chosenSubprojectNumber]
                def fName = "project${subproject.subprojectNumber}lib${chosenSourceFileNumber}"
                cppFile = "${subproject.name}/src/main/cpp/${fName}.cpp"
                headerFile = "${subproject.name}/src/main/public/${fName}.h"
            }
    
            """
                defaults {
                    gradle-args = ["--max-workers=12"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jul 07 13:12:26 UTC 2021
    - 4.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/runtime/race/testdata/io_test.go

    	"path/filepath"
    	"sync"
    	"testing"
    	"time"
    )
    
    func TestNoRaceIOFile(t *testing.T) {
    	x := 0
    	path := t.TempDir()
    	fname := filepath.Join(path, "data")
    	go func() {
    		x = 42
    		f, _ := os.Create(fname)
    		f.Write([]byte("done"))
    		f.Close()
    	}()
    	for {
    		f, err := os.Open(fname)
    		if err != nil {
    			time.Sleep(1e6)
    			continue
    		}
    		buf := make([]byte, 100)
    		count, err := f.Read(buf)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 08 07:33:58 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/test/testdata/flowgraph_generator1.go

    		for i := 0; i < nconfigs; i++ {
    			fname := fnameBase + fmt.Sprintf("%b", i)
    			bs, k := strings2blocks(split, fname, i)
    			fmt.Printf("%s", makeFunctionFromFlowGraph(bs, fname))
    			s += `
    		{f:` + fname + `, maxin:` + fmt.Sprintf("%d", 1<<k) + `, blocks:` + fmtBlocks(bs) + `},`
    		}
    
    	}
    	s += `}
    `
    	// write types for name+array tables.
    	fmt.Printf("%s",
    		`
    type blo struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:40:04 UTC 2020
    - 6.7K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top