Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 283 for pname (0.04 sec)

  1. 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)
  2. tensorflow/c/experimental/filesystem/modular_filesystem.h

      std::string TranslateName(const std::string& name) const override;
      void FlushCaches(TransactionToken* token) override;
      Status SetOption(const std::string& name,
                       const std::vector<string>& values) override;
      Status SetOption(const std::string& name,
                       const std::vector<int64_t>& values) override;
      Status SetOption(const std::string& name,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 12 08:49:52 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/callback_windows.go

    		if f == nil {
    			continue
    		}
    		fname := f.Name()
    		switch fname {
    		case "goCallback":
    			// TODO(qmuntal): investigate why this function doesn't appear
    			// when using the external linker.
    			continue
    		}
    		// In module mode, this package has a fully-qualified import path.
    		// Remove it if present.
    		fname = strings.TrimPrefix(fname, "cmd/cgo/internal/")
    		if !strings.HasPrefix(fname, "test.") {
    			continue
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 16:01:37 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/modular_filesystem.cc

      return StatusFromTF_Status(plugin_status.get());
    }
    
    std::string ModularFileSystem::TranslateName(const std::string& name) const {
      if (ops_->translate_name == nullptr) return FileSystem::TranslateName(name);
    
      char* p = ops_->translate_name(filesystem_.get(), name.c_str());
      CHECK(p != nullptr) << "TranslateName(" << name << ") returned nullptr";
    
      std::string ret(p);
      // Since `p` is allocated by plugin, free it using plugin's method.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 23.1K bytes
    - Viewed (0)
  5. misc/ios/detect.go

    			files = append(files, string(line))
    		}
    	}
    	return files
    }
    
    func parseMobileProvision(fname string) *exec.Cmd {
    	return exec.Command("security", "cms", "-D", "-i", string(fname))
    }
    
    func plistExtract(fname string, path string) ([]byte, error) {
    	out, err := exec.Command("/usr/libexec/PlistBuddy", "-c", "Print "+path, fname).CombinedOutput()
    	if err != nil {
    		return nil, err
    	}
    	return bytes.TrimSpace(out), nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:30 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  6. 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)
  7. src/archive/tar/stat_unix.go

    		if u, ok := userMap.Load(h.Uid); ok {
    			h.Uname = u.(string)
    		} else if u, err := user.LookupId(strconv.Itoa(h.Uid)); err == nil {
    			h.Uname = u.Username
    			userMap.Store(h.Uid, h.Uname)
    		}
    		if g, ok := groupMap.Load(h.Gid); ok {
    			h.Gname = g.(string)
    		} else if g, err := user.LookupGroupId(strconv.Itoa(h.Gid)); err == nil {
    			h.Gname = g.Name
    			groupMap.Store(h.Gid, h.Gname)
    		}
    	}
    	h.AccessTime = statAtime(sys)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 16:01:50 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top