首页 文章 精选 留言 我的

精选列表

搜索[Agent运行时],共10002篇文章
优秀的个人博客,低调大师

Deno 1.3.1 发布,基于 V8 的 TypeScript 运行时

Deno 1.3.1现已发布,该版本更新内容如下: 修复:解析文件 URL 时允许isolated“%”(#7108) 修复:Blob.arrayBuffer 返回 Uint8Array(#7086) 修复:带有破折号的 CLI 参数解析(#7039) 修复:从任何有效的 bodySource 创建 body 流(#7128) 修复:细化权限请求/撤销(#7074) 修复:URLSearchParams 中的多个空格的处理(#7068) core:启用 WebAssembly.instantiateStreaming(#7043) core:添加缺少的 HeapLimits 导出(#7047) upgrade:swc_ecmascript、deno_lintdprint(#7098) Changes in std version 0.66.0: BREAKING(std/datetime):删除 currentDayOfYear(#7059) feat(std/node):添加 basic asserts(#7091) feat(std/datetime):泛化解析器,添加 formatter(#6619) fix(std/node):Misnamed assert exports(#7123) fix(std/encoding/toml):阻止 TOML 解析器检测字符串中的数字。(#7064) fix(std/encoding/csv):改进 ParseError 上的错误消息(#7057) Install / Upgrade Using Deno: deno upgrade --version 1.3.1 With Shell: curl -fsSL https://deno.land/x/install/install.sh | sh -s v1.3.1 With PowerShell: $v="1.3.1"; iwr https://deno.land/x/install/install.ps1 -useb | iex 更新说明:https://github.com/denoland/Deno/releases/

优秀的个人博客,低调大师

Deno 1.2.1 发布,基于 V8 的 TypeScript 运行时

Deno 于 2020.07.23发布了 v1.2.1 版本。用户可以使用以下命令安装 Deno v1.2.1 版本: Linux/macOS: curl -fsSL https://x.deno.js.cn/install.sh | sh -s v1.2.1 Windows: $v="1.2.1"; iwr https://x.deno.js.cn/install.ps1 -useb | iex Deno CLI 的变更: fix: IPv6 hostname should be compressed (#6772) fix: Ignore polling errors caused byreturn()in watchFs (#6785) fix: ImproveURLcompatibility (#6807) fix:ModuleSpecifierremoves relative path parts (#6762) fix: Share reqwest client between fetch calls (#6792) fix: add icon and metadata todeno.exeon Windows (#6693) fix: panic for runtime error in TS compiler (#6758) fix: providing empty source code for missing compiled files (#6760) refactor: MakeOpDispatchera trait (#6736,#6742) refactor: Remove duplicate code and allow filename overwrite for DomFile (#6817,#6830) upgrade: Rust 1.45.0 (#6791) upgrade: rusty_v8 0.7.0 (#6801) upgrade: tokio 0.2.22 (#6838) Deno 标准库(Deno Standard Modules) v0.62.0 的变更: BREAKING(std/fs): removereadFileStrandwriteFileStr(#6848,#6847) feat(std/encoding): addascii85module (#6711) feat(std/node): addstring_decoder(#6638) fix(std/encoding/toml): could not parse strings with apostrophes/semicolons (#6781) fix(std/testing):assertThrowsinheritance (#6623) fix(std/wasi): remove number overload from rights inpath_open(#6768) refactor(std/datetime): improve weekOfYear (#6741) refactor(std/path): enrich the types inparse_format_test(#6803)

优秀的个人博客,低调大师

Deno 1.2.0 发布,基于 V8 的 TypeScript 运行时

Deno 于 2020.07.13 发布了 v1.2.0 版本。 Deno CLI 的变更: feat(cli): 为 “deno upgrade” 命令添加--cert选项 (#6609) feat(cli): 为 “deno install” 命令添加--config选项 (#6204) feat(cli): 为 “deno info” 命令添加--json选项 (#6372) feat(cli): 添加--no-check选项 (#6456) feat(cli): 为 “deno upgrade” 命令添加--output选项 (#6352) feat(cli): 添加DENO_CERT环境变量 (#6370) feat(cli): 为 bundle 添加 lockfile 功能支持 (#6624) feat(cli/js): 为writeTextFile和writeTextFileSync添加WriteFileOptions(#6280) feat(cli/js): 为Buffer.bytes添加copy参数 (#6697) feat(cli/js): Addperformanceuser timing APIs (#6421) feat(cli/js): Addsorted,trailingComma,compactanditerableLimitto InspectOptions(#6591) feat(cli/js):Deno.chown()makeuid,gidargs optional (#4612) feat(doc): Improve terminal printer (#6594) feat(test): Add support for regex in filter flag (#6343) feat(unstable): AddDeno.consoleSize()(#6520) feat(unstable): AddDeno.ppid(#6539,#6717) fix(cli): Don’t panic when no"HOME"env var is set (#6728) fix(cli): Harden pragma and reference parsing in module analysis (#6702) fix(cli): Panic when stdio isnullon windows (#6528) fix(cli): Parsing of --allow-netflag (#6698) fix(cli/js): Allow Buffer to storeMAX_SIZEbytes (#6570) fix(cli/js): Definition ofURLconstructor (#6653) fix(cli/js):Deno.setRawshouldn’t panic on ENOTTY (#6630) fix(cli/js): Fix process socket types (#6676) fix(cli/js): Fix relative redirect in fetch API (#6715) fix(cli/js): Implement IPv4 hostname parsing inURL(#6707) fix(cli/js): Implement spec-compliant host parsing forURL(#6689) fix(cli/js):Responseconstructor default properties in fetch API (#6650) fix(cli/js): Update timers to ignore Date Override (#6552) perf(cli): Improve.arrayBuffer()speed in fetch API (#6669) refactor(core): Remove control slice from ops (#6048) Deno 标准库(Deno Standard Modules) v0.61.0 的变更: BREAKING(std/encoding/hex): 简化了 API (#6690) feat(std/datetime): 添加weekOfYear(#6659) feat(std/log): Expose Logger type and improve public interface forget&setlog levels (#6617) feat(std/node): Addbuf.equals()(#6640) feat(std/wasi): Implementfd_readdir(#6631) fix(std):base64in workers (#6681) fix(std):md5in workers (#6662) fix(std/http): Properly return port 80 in_parseAddrFromStr(#6635) fix(std/mime): Boundary random hex values (#6646) fix(std/node): Addencodingargument toBuffer.byteLength(#6639) fix(std/tesing/asserts):AssertEquals/NotEqualsshould use milliseconds in Date (#6644) fix(std/wasi): Returnerrno::successfrom fd_tell (#6636) 中国用户可以使用以下命令安装 Deno v1.2.0 版本: Linux/macOS: curl -fsSL https://x.deno.js.cn/install.sh | sh -s v1.2.0 Windows: $v="1.2.0"; iwr https://x.deno.js.cn/install.ps1 -useb | iex

优秀的个人博客,低调大师

Android运行时异常“Binary XML file line # : Error inflating class”

http://blog.csdn.net/huangxiaohu_coder/article/details/8497286 在原生Android下编译APK,编译没有问题,但是在运行的时候经常出现如标题所描述的异常,然后整个程序Crash掉...... 我遇到该问题常常都是因为修改了资源文件所引起,大致有以下几种方式来解决: 1.引用类名问题:自定义了一个View,将他用于布局文件中,假设他的包名叫MyPackage,类名叫MyTestView,这个时候你在XML作为布局元素来布局的话,必须使用完整路径名,也就是包名加类名来引用,用MyPackage.MyTestView来进行引用。 2.构造函数问题:自定义一个View,必须派生实现基类View的三个构造函数 View(Context context) //Simple constructor to use when creating a view from code View(Context context, AttributeSet attrs) //Constructor that is called when inflating a view from XML View(Context context, AttributeSet attrs, int defStyle) //Perform inflation from XML and apply a class-specific base style 从文档上的介绍来看,第二个和第三个构造函数对于XML这种引用方式是必须实现的,这三个构造函数应该是在不同的应用场合来实例化一个View对象。 3.编译的中间文件没有清理干净:第三种就是你在原生系统代码的编译环境下编译APK之后,特别是修改了XML,出现标题所述现象,这个时候你只需要删除out目录下编译生成的中间文件夹即可(具体名字记不清了:在编译过程中,系统会将那个位置打印出来,通过串口来看吧,.../out/....../..../classes.dex,你循着这个路径往前推到你的应用的project名字那一层文件夹),删除再重新make就OK了。 或者重新拉代码 4.找不到资源文件:我原来在2.3的原生系统增加动态壁纸的时候,动态壁纸一跑起来就出这个异常,然后crash,当时就是因为找不到drawable的资源文件,于是当时我把drawable的hdpi或nodpi等文件夹的图片资源都拷贝一份到drawble下,问题解决(当时一直不明白系统会根据分辨率来选择加载不同drawable下文件夹的资源,为什么这里必须放入drawable中)。 分类: android solve 本文转自wanqi博客园博客,原文链接:http://www.cnblogs.com/wanqieddy/p/4990608.html,如需转载请自行联系原作者

优秀的个人博客,低调大师

Objective-C 检测运行时对象的内存大小

malloc_size 返回指针所指向对象字节数。但是这种方法不会考虑到对象成员变量指针所指向对象所占用的内存。跟instrument 的 Allocation计算出来的值相同。 官方解释: The malloc_size() function returns the size of the memory block that backs the allocation pointed to by ptr. The memory block size is always at least as large as the allocation it backs, and may be larger. 单个对象占用的内存大小 ARC 模式下: #import <malloc/malloc.h> NSLog(@"Size of %@: %zd", NSStringFromClass([myObject class]), malloc_size((__bridge const void *) myObject)); __bridge 用来关键字进行对象转换。 没有用ARC : #import <malloc/malloc.h> NSLog(@"size of myObject: %zd", malloc_size(myObject)); 集合中的所有对象占用的内存大小 比如数组: NSArray *myArray = [myDictionary allValues]; id obj = nil; int totalSize = 0; for(obj in myArray) { totalSize += malloc_size(obj); } size of object 其他方法 #import <malloc/malloc.h> #import <objc/runtime.h> NSLog(@"Object Size: %zd", malloc_good_size(class_getInstanceSize([yourObject class])));

资源下载

更多资源
优质分享App

优质分享App

近一个月的开发和优化,本站点的第一个app全新上线。该app采用极致压缩,本体才4.36MB。系统里面做了大量数据访问、缓存优化。方便用户在手机上查看文章。后续会推出HarmonyOS的适配版本。

腾讯云软件源

腾讯云软件源

为解决软件依赖安装时官方源访问速度慢的问题,腾讯云为一些软件搭建了缓存服务。您可以通过使用腾讯云软件源站来提升依赖包的安装速度。为了方便用户自由搭建服务架构,目前腾讯云软件源站支持公网访问和内网访问。

Spring

Spring

Spring框架(Spring Framework)是由Rod Johnson于2002年提出的开源Java企业级应用框架,旨在通过使用JavaBean替代传统EJB实现方式降低企业级编程开发的复杂性。该框架基于简单性、可测试性和松耦合性设计理念,提供核心容器、应用上下文、数据访问集成等模块,支持整合Hibernate、Struts等第三方框架,其适用范围不仅限于服务器端开发,绝大多数Java应用均可从中受益。

Rocky Linux

Rocky Linux

Rocky Linux(中文名:洛基)是由Gregory Kurtzer于2020年12月发起的企业级Linux发行版,作为CentOS稳定版停止维护后与RHEL(Red Hat Enterprise Linux)完全兼容的开源替代方案,由社区拥有并管理,支持x86_64、aarch64等架构。其通过重新编译RHEL源代码提供长期稳定性,采用模块化包装和SELinux安全架构,默认包含GNOME桌面环境及XFS文件系统,支持十年生命周期更新。

用户登录
用户注册
修改密码
忘记密码