首页 \ 问答 \ Delphi中的异步文件I / O.(async file I/O in Delphi)

Delphi中的异步文件I / O.(async file I/O in Delphi)

本文中 delphi.net(prism)支持异步文件io。 Delphi(Native / VCL)也有Async File IO Class吗?


in this article delphi.net(prism) support async file io. Delphi(Native/VCL) has Async File IO Class too?


原文:https://stackoverflow.com/questions/10497380
更新时间:2023-12-28 07:12

最满意答案

通常人们会选择他们想要的名称,如果发生碰撞,那么问题就会通过分发来解决。 这就是ackack in Debian,Kanji converter)和ackack-grep in Debian,text search utility)。

碰撞似乎并不常见。 快速Web搜索应该告诉您名称是否在某处使用。 如果它不是可搜索的,它可能不包含在许多发行版中,这意味着你不太可能真正发生冲突。


Usually people choose the name they want and if something collides then the problem gets resolved by the distribution. That's what happened with ack (ack in Debian, Kanji converter) and ack (ack-grep in Debian, text search utility).

Collisions don't seem to be that common though. A quick web search should tell you if the name is used somewhere. If it's not searcheable, it's probably not included in many distributions and that means you're not likely to actually conflict.

相关问答

更多
  • 根据你的评论: 谢谢,这是有效的,但我有一个小问题。 有一些文件被bzip压缩,即word.cap.COB2T_1390213719.bz2,所以我不希望这些文件在列表中,那么应该怎么做? 您可以在循环内添加条件: for file in word.cap.COB2T*; do if [[ "$file" != *.bz2 ]]; then # Do something here echo ${file}; fi done As per your comment: Thanks, ...
  • 如果只有一个文件名不以a开头. , 然后: filename="$(ls $directory)" 这捕获了ls的输出。 由于“一个文件”的限制,即使名称包含换行符,空格,制表符或其他内容,它也是安全的。 对于多个文件,解析ls的输出是有问题的。 如果您想要路径名,而不仅仅是文件名,您可以使用: filename=$directory/* 同样,由于“一个文件”的限制,这只是安全的。 使用它来区分“目录中有一个文件,名称是* ”和错误情况“目录中根本没有文件”是不可能的。 使用ls ,如果字符串为空,则 ...
  • 格伦的答案很好,但实际上并不需要括号。 另外,括号用于子命令(类似于bash的$() )。 因此,除非您打算运行名为doc的命令,否则set varType (doc pdf txt)的parens不会执行您想要的操作。 尝试这依赖于鱼的独特方式来扩展具有多个值的变量: set varYear (seq 1996 2016) set varType doc pdf txt mkdir -p $varYear/$varType 或者使用传统的循环结构: for varYear in (seq 1996 20 ...
  • 相反,稍微改变你的方法: filename : 13842985.xml directory : 842/985/13842985.xml # use the 6 last to create the directory name 我假设文件名有些随机。 该方案将创建1000个顶级文件夹,每个文件夹包含1000个子文件夹。 从最后一个数字开始而不是第一个数字开始,您将受到长文件名的保护: filename : 138429851234.xml directory : 851/234/138429 ...
  • 通过演示touch - ls步骤( * char应该用引号括起来或者用\来转义,以防止shell globbing ): $ touch '*' $ ls -l '*' -rw-rw-r-- 1 osboxes osboxes 7 Nov 3 19:04 * With demonstrating touch-ls steps (* char should be enclosed in quotes or escaped with \ to prevent shell globbing): $ touch ...
  • 您可以使用tree命令 。 它将显示目录的树状结构。 tree . └── foo ├── bar │   └── test ├── bar2 │   └── test └── test You could use the tree command. It will display a tree like structure for a directory. tree . └── foo ├── bar │   └── test ├── ba ...
  • 这取决于文件日期和时间是否重要或文件内容... 如果日期很重要(例如,这是你正在研究的同步事物),我将使用ls -l运行find 。 如果内容很重要,我想检查MD5校验和,如下所示: find . -type f -print -exec md5 -q {} \; > somefile 这给出了这样的输出: ./West Wales 14-Oct-09.axe 2c0c390bfc4206b8b88e11d537eacda8 ./wl 44f84a91a98da15381a198e29417170c ...
  • 通常人们会选择他们想要的名称,如果发生碰撞,那么问题就会通过分发来解决。 这就是ack ( ack in Debian,Kanji converter)和ack ( ack-grep in Debian,text search utility)。 碰撞似乎并不常见。 快速Web搜索应该告诉您名称是否在某处使用。 如果它不是可搜索的,它可能不包含在许多发行版中,这意味着你不太可能真正发生冲突。 Usually people choose the name they want and if something ...
  • 这是weblogic中耳朵图的链接 Here's a link to diagram of an ear in weblogic
  • 请参阅jquery文件上传对此相关的支持@ Dead133s提及webkitdirectory https://github.com/blueimp/jQuery-File-Upload/wiki/Browser-support “可以选择完整的文件夹结构,但目前只有谷歌Chrome支持。要启用此功能,必须将以下特定于供应商的目录属性添加到文件输入字段:”

相关文章

更多

最新问答

更多
  • 获取MVC 4使用的DisplayMode后缀(Get the DisplayMode Suffix being used by MVC 4)
  • 如何通过引用返回对象?(How is returning an object by reference possible?)
  • 矩阵如何存储在内存中?(How are matrices stored in memory?)
  • 每个请求的Java新会话?(Java New Session For Each Request?)
  • css:浮动div中重叠的标题h1(css: overlapping headlines h1 in floated divs)
  • 无论图像如何,Caffe预测同一类(Caffe predicts same class regardless of image)
  • xcode语法颜色编码解释?(xcode syntax color coding explained?)
  • 在Access 2010 Runtime中使用Office 2000校对工具(Use Office 2000 proofing tools in Access 2010 Runtime)
  • 从单独的Web主机将图像传输到服务器上(Getting images onto server from separate web host)
  • 从旧版本复制文件并保留它们(旧/新版本)(Copy a file from old revision and keep both of them (old / new revision))
  • 西安哪有PLC可控制编程的培训
  • 在Entity Framework中选择基类(Select base class in Entity Framework)
  • 在Android中出现错误“数据集和渲染器应该不为null,并且应该具有相同数量的系列”(Error “Dataset and renderer should be not null and should have the same number of series” in Android)
  • 电脑二级VF有什么用
  • Datamapper Ruby如何添加Hook方法(Datamapper Ruby How to add Hook Method)
  • 金华英语角.
  • 手机软件如何制作
  • 用于Android webview中图像保存的上下文菜单(Context Menu for Image Saving in an Android webview)
  • 注意:未定义的偏移量:PHP(Notice: Undefined offset: PHP)
  • 如何读R中的大数据集[复制](How to read large dataset in R [duplicate])
  • Unity 5 Heighmap与地形宽度/地形长度的分辨率关系?(Unity 5 Heighmap Resolution relationship to terrain width / terrain length?)
  • 如何通知PipedOutputStream线程写入最后一个字节的PipedInputStream线程?(How to notify PipedInputStream thread that PipedOutputStream thread has written last byte?)
  • python的访问器方法有哪些
  • DeviceNetworkInformation:哪个是哪个?(DeviceNetworkInformation: Which is which?)
  • 在Ruby中对组合进行排序(Sorting a combination in Ruby)
  • 网站开发的流程?
  • 使用Zend Framework 2中的JOIN sql检索数据(Retrieve data using JOIN sql in Zend Framework 2)
  • 条带格式类型格式模式编号无法正常工作(Stripes format type format pattern number not working properly)
  • 透明度错误IE11(Transparency bug IE11)
  • linux的基本操作命令。。。