#MDCC Swift 链式语法应 用 陈乘

Size: px
Start display at page:

Download "#MDCC Swift 链式语法应 用 陈乘"

Transcription

1 #MDCC 2016 Swift 链式语法应 用 陈乘

2 关于我 Swift 开发者 ENJOY ios 客户端负责 人 两年年 Swift 实际项 目开发经验 微博 ID: webfrogs Twitter: nswebfrog

3 Writing code is always easy, the hard part is reading it.

4 链式语法?

5 链式语法 可以连续不不断地进 行行 方法调 用的 一种语法形式

6 Objective-C 链式语法 RAC [[[[client login] then:^{ return [client loadcachedmessages]; ] flattenmap:^(nsarray *messages) { return [client fetchmessagesaftermessage: messages.lastobject]; ] subscribeerror:^(nserror *error) { [self presenterror:error]; completed:^{ NSLog(@"Fetched all messages."); ]; Masonry make.top.equalto(self.view).with.offset(80);

7 Swift 链式语法 Optional Chaining let dic: [String: String] = ["url": " let request = dic["url"].flatmap { URL(string: $0).map { URLRequest(url: $0)

8 链式语法优点 简洁 高复 用性 高可读性 减少中间变量量

9 实现 方式 函数的返回值类型与 自身类型相同 举例例 : extension Int { func add(_ value: Int) -> Int { return self + value let sum = 3.add(2).add(6)

10 应 用实例例 链式 UI 代码 链式 网络结果处理理

11 UI 代码 let firstlabel = UILabel() view.addsubview(firstlabel) firstlabel.snp.makeconstraints { (make) in make.top.equalto(self.view).offset(80) make.centerx.equalto(self.view) firstlabel.backgroundcolor =.clear firstlabel.font = UIFont.systemFont(ofSize: 20) firstlabel.textcolor =.red firstlabel.text = "firstlabel" let secondlabel = UILabel() view.addsubview(secondlabel) secondlabel.snp.makeconstraints { (make) in make.top.equalto(firstlabel.snp.bottom).offset(20) make.centerx.equalto(self.view) secondlabel.backgroundcolor =.clear secondlabel.font = UIFont.systemFont(ofSize: 20) secondlabel.textcolor =.red secondlabel.text = "secondlabel"

12 UI 代码 let firstlabel = UILabel() view.addsubview(firstlabel) firstlabel.snp.makeconstraints { (make) in make.top.equalto(self.view).offset(80) make.centerx.equalto(self.view) firstlabel.backgroundcolor =.clear firstlabel.font = UIFont.systemFont(ofSize: 20) firstlabel.textcolor =.red firstlabel.text = "firstlabel" let secondlabel = UILabel() view.addsubview(secondlabel) secondlabel.snp.makeconstraints { (make) in make.top.equalto(firstlabel.snp.bottom).offset(20) make.centerx.equalto(self.view) secondlabel.backgroundcolor =.clear secondlabel.font = UIFont.systemFont(ofSize: 20) secondlabel.textcolor =.red secondlabel.text = "secondlabel"

13 UI 代码 1. 创建 view let firstlabel = UILabel() view.addsubview(firstlabel) firstlabel.snp.makeconstraints { (make) in make.top.equalto(self.view).offset(80) make.centerx.equalto(self.view) firstlabel.backgroundcolor =.clear firstlabel.font = UIFont.systemFont(ofSize: 20) firstlabel.textcolor =.red firstlabel.text = "firstlabel" 2. 添加到 父视图 3. 设置约束 4. 配置 view 属性 let secondlabel = UILabel() view.addsubview(secondlabel) secondlabel.snp.makeconstraints { (make) in make.top.equalto(firstlabel.snp.bottom).offset(20) make.centerx.equalto(self.view) secondlabel.backgroundcolor =.clear secondlabel.font = UIFont.systemFont(ofSize: 20) secondlabel.textcolor =.red secondlabel.text = "secondlabel"

14 链式 UI 代码 let firstlabel = UILabel.ccf_create(withSuperView: view).ccf_layout { (make) in make.top.equalto(self.view).offset(80) make.centerx.equalto(self.view).ccf_config { (label) in label.backgroundcolor =.clear label.font = UIFont.systemFont(ofSize: 20) label.textcolor =.red label.text = "firstlabel" let secondlabel = UILabel.ccf_create(withSuperView: view).ccf_layout { (make) in make.top.equalto(firstlabel.snp.bottom).offset(20) make.centerx.equalto(self.view).ccf_config { (label) in label.backgroundcolor =.clear label.font = UIFont.systemFont(ofSize: 20) label.textcolor =.red label.text = "secondlabel"

15 链式 UI 代码 let commonlabelconfig: (UILabel) -> Void = { label in label.backgroundcolor =.clear label.font = UIFont.systemFont(ofSize: 20) label.textcolor =.red let firstlabel = UILabel.ccf_create(withSuperView: view).ccf_layout { (make) in make.top.equalto(self.view).offset(80) make.centerx.equalto(self.view).ccf_config(commonlabelconfig).ccf_config { (label) in label.text = "firstlabel" let secondlabel = UILabel.ccf_create(withSuperView: view).ccf_layout { (make) in make.top.equalto(firstlabel.snp.bottom).offset(20) make.centerx.equalto(self.view).ccf_config(commonlabelconfig).ccf_config { (label) in label.text = "secondlabel"

16 链式 UI 代码 let commonlabelconfig: (String?) -> ((UILabel) -> Void) = { text in return { label in label.backgroundcolor =.clear label.font = UIFont.systemFont(ofSize: 20) label.textcolor =.red label.text = text let firstlabel = UILabel.ccf_create(withSuperView: view).ccf_layout { (make) in make.top.equalto(self.view).offset(80) make.centerx.equalto(self.view).ccf_config(commonlabelconfig("firstlabel")) let secondlabel = UILabel.ccf_create(withSuperView: view).ccf_layout { (make) in make.top.equalto(firstlabel.snp.bottom).offset(20) make.centerx.equalto(self.view).ccf_config(commonlabelconfig("secondlabel"))

17 链式 UI 代码 Demo Talk is cheap. Show me the code. Linus Torvalds

18 应 用实例例 链式 UI 代码 链式 网络结果处理理

19 网络结果处理理 目的 :JSON 数据转换为 Model 对象

20 网络结果处理理 let jsondata: Any = ["key": "value"] guard let jsondic = jsondata as? [String: Any] else { // TODO: data format error return guard let model = DemoModel(jsonDic: jsondic) else { // TODO: data format error return // do something

21 链式 网络结果处理理 封装 网络结果 抽象数据处理理过程 提供基础处理理组件

22 链式 网络结果处理理 demoresult.flatmap(responsedatatodic).flatmap(responsedictoapimodel).successhandler { (data: DemoResponseModel) in // TODO: success print(data).failurehandler { (error) in // TODO: failure print(error)

23 链式 网络结果处理理 网络结果封装 : enum APIResult<T> { case success(t) case failure(error)

24 链式 网络结果处理理 extension APIResult { func flatmap<u>(_ transform: (T) -> APIResult<U>) -> APIResult<U> { let result: APIResult<U> switch self { case let.success(value): result = transform(value) case let.failure(error): result =.failure(error) return result func map<u>(_ transform: (T) -> U) -> APIResult<U> { let result: APIResult<U> switch self { case let.success(value): result =.success(transform(value)) case let.failure(error): result =.failure(error) return result

25 链式 网络结果处理理 extension APIResult { func successhandler(_ success: (T) -> Void) -> APIResult<T> { if case let.success(value) = self { success(value) return self func failurehandler(_ failure: (Error) -> Void) -> APIResult<T> { if case let.failure(error) = self { failure(error) return self

26 链式 网络结果处理理 Demo Talk is cheap. Show me the code. Linus Torvalds

27 命名空间式扩展 去除 Objective-C 时代的前缀式扩展 方法命名 目前 几乎所有主流的 Swift 三 方框架都已 支持 SnapKit: view.snp_makeconstraints { (make) in view.snp.makeconstraints { (make) in

28 命名空间式扩展 protocol NamespaceCompatible { associatedtype CompatibleType var ccf: CompatibleType { get static var ccf: CompatibleType.Type { get struct Namespace<Base> { let base: Base init(_ base: Base) { self.base = base extension NamespaceCompatible { var ccf: Namespace<Self> { return Namespace(self) static var ccf: Namespace<Self>.Type { return Namespace.self extension NSObject: NamespaceCompatible {

29 命名空间式扩展 UI 链式代码的适配 对 Struct 进 行行扩展 比较麻烦

30 命名空间式扩展 Demo Talk is cheap. Show me the code. Linus Torvalds

31 总结 了了解链式代码 如何编写 自 己的链式代码 链式代码实例例 Swifty 的命名空间 方式扩展 Demo 工程地址 :

32 思考 如何在实际的编程中应 用链式语法 链式代码与 RxSwift 结合 如何让 自 己的代码更更加 Swifty

33 扩展资料料 WWDC 2016 session 403: Swift API Design Guidelines WWDC 2015 session 408: Protocol-Oriented Programming in Swift 读 Swift 源码, 理理解 Monad

34 ENJOY Swift ~ Thanks!

Understanding IO patterns of SSDs

Understanding IO patterns of SSDs 固态硬盘 I/O 特性测试 周大 众所周知, 固态硬盘是一种由闪存作为存储介质的数据库存储设备 由于闪存和磁盘之间物理特性的巨大差异, 现有的各种软件系统无法直接使用闪存芯片 为了提供对现有软件系统的支持, 往往在闪存之上添加一个闪存转换层来实现此目的 固态硬盘就是在闪存上附加了闪存转换层从而提供和磁盘相同的访问接口的存储设备 一方面, 闪存本身具有独特的访问特性 另外一方面, 闪存转换层内置大量的算法来实现闪存和磁盘访问接口之间的转换

More information

ICP Enablon User Manual Factory ICP Enablon 用户手册 工厂 Version th Jul 2012 版本 年 7 月 16 日. Content 内容

ICP Enablon User Manual Factory ICP Enablon 用户手册 工厂 Version th Jul 2012 版本 年 7 月 16 日. Content 内容 Content 内容 A1 A2 A3 A4 A5 A6 A7 A8 A9 Login via ICTI CARE Website 通过 ICTI 关爱网站登录 Completing the Application Form 填写申请表 Application Form Created 创建的申请表 Receive Acknowledgement Email 接收确认电子邮件 Receive User

More information

<properties> <jdk.version>1.8</jdk.version> <project.build.sourceencoding>utf-8</project.build.sourceencoding> </properties>

<properties> <jdk.version>1.8</jdk.version> <project.build.sourceencoding>utf-8</project.build.sourceencoding> </properties> SpringBoot 的基本操作 一 基本概念在 spring 没有出现的时候, 我们更多的是使用的 Spring,SpringMVC,Mybatis 等开发框架, 但是要将这些框架整合到 web 项目中需要做大量的配置,applicationContext.xml 以及 servlet- MVC.xml 文件等等, 但是这些文件还还不够, 还需要配置 web.xml 文件进行一系列的配置 以上操作是比较麻烦的,

More information

Previous on Computer Networks Class 18. ICMP: Internet Control Message Protocol IP Protocol Actually a IP packet

Previous on Computer Networks Class 18. ICMP: Internet Control Message Protocol IP Protocol Actually a IP packet ICMP: Internet Control Message Protocol IP Protocol Actually a IP packet 前 4 个字节都是一样的 0 8 16 31 类型代码检验和 ( 这 4 个字节取决于 ICMP 报文的类型 ) ICMP 的数据部分 ( 长度取决于类型 ) ICMP 报文 首部 数据部分 IP 数据报 ICMP: Internet Control Message

More information

1. DWR 1.1 DWR 基础 概念 使用使用 DWR 的步骤. 1 什么是 DWR? Direct Web Remote, 直接 Web 远程 是一个 Ajax 的框架

1. DWR 1.1 DWR 基础 概念 使用使用 DWR 的步骤. 1 什么是 DWR? Direct Web Remote, 直接 Web 远程 是一个 Ajax 的框架 1. DWR 1.1 DWR 基础 1.1.1 概念 1 什么是 DWR? Direct Web Remote, 直接 Web 远程 是一个 Ajax 的框架 2 作用 使用 DWR, 可以直接在 html 网页中调用 Java 对象的方法 ( 通过 JS 和 Ajax) 3 基本原理主要技术基础是 :AJAX+ 反射 1) JS 通过 AJAX 发出请求, 目标地址为 /dwr/*, 被 DWRServlet(

More information

三 依赖注入 (dependency injection) 的学习

三 依赖注入 (dependency injection) 的学习 三 依赖注入 (dependency injection) 的学习 EJB 3.0, 提供了一个简单的和优雅的方法来解藕服务对象和资源 使用 @EJB 注释, 可以将 EJB 存根对象注入到任何 EJB 3.0 容器管理的 POJO 中 如果注释用在一个属性变量上, 容器将会在它被第一次访问之前赋值给它 在 Jboss 下一版本中 @EJB 注释从 javax.annotation 包移到了 javax.ejb

More information

如何查看 Cache Engine 缓存中有哪些网站 /URL

如何查看 Cache Engine 缓存中有哪些网站 /URL 如何查看 Cache Engine 缓存中有哪些网站 /URL 目录 简介 硬件与软件版本 处理日志 验证配置 相关信息 简介 本文解释如何设置处理日志记录什么网站 /URL 在 Cache Engine 被缓存 硬件与软件版本 使用这些硬件和软件版本, 此配置开发并且测试了 : Hardware:Cisco 缓存引擎 500 系列和 73xx 软件 :Cisco Cache 软件版本 2.3.0

More information

第二小题 : 逻辑隔离 (10 分 ) OpenFlow Switch1 (PC-A/Netfpga) OpenFlow Switch2 (PC-B/Netfpga) ServerB PC-2. Switching Hub

第二小题 : 逻辑隔离 (10 分 ) OpenFlow Switch1 (PC-A/Netfpga) OpenFlow Switch2 (PC-B/Netfpga) ServerB PC-2. Switching Hub 第二小题 : 逻辑隔离 (10 分 ) 一 实验背景云平台服务器上的不同虚拟服务器, 分属于不同的用户 用户远程登录自己的虚拟服务器之后, 安全上不允许直接访问同一局域网的其他虚拟服务器 二 实验目的搭建简单网络, 通过逻辑隔离的方法, 实现用户能远程登录局域网内自己的虚拟内服务器, 同时不允许直接访问同一局域网的其他虚拟服务器 三 实验环境搭建如图 1-1 所示, 我们会创建一个基于 OpenFlow

More information

Triangle - Delaunay Triangulator

Triangle - Delaunay Triangulator Triangle - Delaunay Triangulator eryar@163.com Abstract. Triangle is a 2D quality mesh generator and Delaunay triangulator. Triangle was created as part of the Quake project in the school of Computer Science

More information

Microsoft RemoteFX: USB 和设备重定向 姓名 : 张天民 职务 : 高级讲师 公司 : 东方瑞通 ( 北京 ) 咨询服务有限公司

Microsoft RemoteFX: USB 和设备重定向 姓名 : 张天民 职务 : 高级讲师 公司 : 东方瑞通 ( 北京 ) 咨询服务有限公司 Microsoft RemoteFX: USB 和设备重定向 姓名 : 张天民 职务 : 高级讲师 公司 : 东方瑞通 ( 北京 ) 咨询服务有限公司 RemoteFX 中新的 USB 重定向特性 在 RDS 中所有设备重定向机制 VDI 部署场景讨论 : 瘦客户端和胖客户端 (Thin&Rich). 用户体验 : 演示使用新的 USB 重定向功能 81% 4 本地和远程的一致的体验 (Close

More information

测试基础架构 演进之路. 茹炳晟 (Robin Ru) ebay 中国研发中心

测试基础架构 演进之路. 茹炳晟 (Robin Ru) ebay 中国研发中心 测试基础架构 演进之路 茹炳晟 (Robin Ru) ebay 中国研发中心 茹炳晟 (Robin Ru) 主要工作经历 : ebay 中国研发中心 -- 测试基础架构技术主管 Hewlett-Packard 惠普软件 ( 中国 ) 研发中心 -- 测试架构师 资深测试专家 Alcatel-Lucent 阿尔卡特朗讯 ( 上海 ) 研发中心 -- 测试技术主管 Cisco 思科 ( 中国 ) 研发中心

More information

实验三十三 DEIGRP 的配置 一 实验目的 二 应用环境 三 实验设备 四 实验拓扑 五 实验要求 六 实验步骤 1. 掌握 DEIGRP 的配置方法 2. 理解 DEIGRP 协议的工作过程

实验三十三 DEIGRP 的配置 一 实验目的 二 应用环境 三 实验设备 四 实验拓扑 五 实验要求 六 实验步骤 1. 掌握 DEIGRP 的配置方法 2. 理解 DEIGRP 协议的工作过程 实验三十三 DEIGRP 的配置 一 实验目的 1. 掌握 DEIGRP 的配置方法 2. 理解 DEIGRP 协议的工作过程 二 应用环境 由于 RIP 协议的诸多问题, 神州数码开发了与 EIGRP 完全兼容的 DEIGRP, 支持变长子网 掩码 路由选择参考更多因素, 如带宽等等 三 实验设备 1. DCR-1751 三台 2. CR-V35FC 一条 3. CR-V35MT 一条 四 实验拓扑

More information

Ganglia 是 UC Berkeley 发起的一个开源集群监视项目, 主要是用来监控系统性能, 如 :cpu mem 硬盘利用率, I/O 负载 网络流量情况等, 通过曲线很容易见到每个节点的工作状态, 对合理调整 分配系统资源, 提高系统整体性能起到重要作用

Ganglia 是 UC Berkeley 发起的一个开源集群监视项目, 主要是用来监控系统性能, 如 :cpu mem 硬盘利用率, I/O 负载 网络流量情况等, 通过曲线很容易见到每个节点的工作状态, 对合理调整 分配系统资源, 提高系统整体性能起到重要作用 在本博客的 Spark Metrics 配置详解 文章中介绍了 Spark Metrics 的配置, 其中我们就介绍了 Spark 监控支持 Ganglia Sink Ganglia 是 UC Berkeley 发起的一个开源集群监视项目, 主要是用来监控系统性能, 如 :cpu mem 硬盘利用率, I/O 负载 网络流量情况等, 通过曲线很容易见到每个节点的工作状态, 对合理调整 分配系统资源,

More information

<?xml version="1.0"?> <?xml-stylesheet type="text/xsl" href="configuration.xsl"?> <configuration> <!--- global properties --> <property>

<?xml version=1.0?> <?xml-stylesheet type=text/xsl href=configuration.xsl?> <configuration> <!--- global properties --> <property> 1 重读配置文件 core-site.xml 要利用 Java 客户端来存取 HDFS 上的文件, 不得不说的是配置文件 hadoop-0.20.2/conf/core-site.xml 了, 最初我就是在这里吃了大亏, 所以我死活连不 上 HDFS, 文件无法创建 读取

More information

Build a Key Value Flash Disk Based Storage System. Flash Memory Summit 2017 Santa Clara, CA 1

Build a Key Value Flash Disk Based Storage System. Flash Memory Summit 2017 Santa Clara, CA 1 Build a Key Value Flash Disk Based Storage System Flash Memory Summit 2017 Santa Clara, CA 1 Outline Ø Introduction,What s Key Value Disk Ø A Evolution to Key Value Flash Disk Based Storage System Ø Three

More information

Chapter 11 SHANDONG UNIVERSITY 1

Chapter 11 SHANDONG UNIVERSITY 1 Chapter 11 File System Implementation ti SHANDONG UNIVERSITY 1 Contents File-System Structure File-System Implementation Directory Implementation Allocation Methods Free-Space Management Efficiency and

More information

PCU50 的整盘备份. 本文只针对操作系统为 Windows XP 版本的 PCU50 PCU50 启动硬件自检完后, 出现下面文字时, 按向下光标键 光标条停在 SINUMERIK 下方的空白处, 如下图, 按回车键 PCU50 会进入到服务画面, 如下图

PCU50 的整盘备份. 本文只针对操作系统为 Windows XP 版本的 PCU50 PCU50 启动硬件自检完后, 出现下面文字时, 按向下光标键 光标条停在 SINUMERIK 下方的空白处, 如下图, 按回车键 PCU50 会进入到服务画面, 如下图 PCU50 的整盘备份 本文只针对操作系统为 Windows XP 版本的 PCU50 PCU50 启动硬件自检完后, 出现下面文字时, 按向下光标键 OS Loader V4.00 Please select the operating system to start: SINUMERIK Use and to move the highlight to your choice. Press Enter

More information

public static InetAddress getbyname(string host) public static InetAddress getlocalhost() public static InetAddress[] getallbyname(string host)

public static InetAddress getbyname(string host) public static InetAddress getlocalhost() public static InetAddress[] getallbyname(string host) 网络编程 杨亮 网络模型 访问 网络 Socket InetAddress 类 public static InetAddress getbyname(string host) public static InetAddress getlocalhost() public static InetAddress[] getallbyname(string host) public class OreillyByName

More information

Chapter 1 (Part 2) Introduction to Operating System

Chapter 1 (Part 2) Introduction to Operating System Chapter 1 (Part 2) Introduction to Operating System 张竞慧办公室 : 计算机楼 366 室电邮 :jhzhang@seu.edu.cn 主页 :http://cse.seu.edu.cn/personalpage/zjh/ 电话 :025-52091017 1.1 Computer System Components 1. Hardware provides

More information

Command Dictionary CUSTOM

Command Dictionary CUSTOM 命令模式 CUSTOM [(filename)] [parameters] Executes a "custom-designed" command which has been provided by special programming using the GHS Programming Interface. 通过 GHS 程序接口, 执行一个 用户设计 的命令, 该命令由其他特殊程序提供 参数说明

More information

学习沉淀成长分享 EIGRP. 红茶三杯 ( 朱 SIR) 微博 : Latest update:

学习沉淀成长分享 EIGRP. 红茶三杯 ( 朱 SIR) 微博 :  Latest update: 学习沉淀成长分享 EIGRP 红茶三杯 ( 朱 SIR) 微博 :http://t.sina.com/vinsoney Latest update: 2012-06-01 课程目标 EIGRP 协议基础 EIGRP 基础配置 EIGRP 协议基础 EIGRP 的协议特点 EIGRP 的三张表 EIGRP 数据包 初始路由发现 EIGRP metric DUAL 算法 EIGRP 的协议特点 CISCO

More information

AvalonMiner Raspberry Pi Configuration Guide. AvalonMiner 树莓派配置教程 AvalonMiner Raspberry Pi Configuration Guide

AvalonMiner Raspberry Pi Configuration Guide. AvalonMiner 树莓派配置教程 AvalonMiner Raspberry Pi Configuration Guide AvalonMiner 树莓派配置教程 AvalonMiner Raspberry Pi Configuration Guide 简介 我们通过使用烧录有 AvalonMiner 设备管理程序的树莓派作为控制器 使 用户能够通过控制器中管理程序的图形界面 来同时对多台 AvalonMiner 6.0 或 AvalonMiner 6.01 进行管理和调试 本教程将简要的说明 如何把 AvalonMiner

More information

libde265 HEVC 性能测试报告

libde265 HEVC 性能测试报告 libde265 HEVC www.libde265.org libde265 HEVC 高效率视频编码 (HEVC) 是新的视频压缩标准, 是 H.264/MPEG-4 AVC (Advanced Video Coding) 的后继者 HEVC 是由 ISO/IEC Moving Picture Experts Group (MPEG) 和 ITU-T Video Coding Experts Group

More information

IPC 的 Proxy-Stub 设计模式 ( c)

IPC 的 Proxy-Stub 设计模式 ( c) B05_c 基於軟硬整合觀點 IPC 的 Proxy-Stub 设计模式 ( c) By 高煥堂 天子 曹操 地头蛇? 3 包裝 IBinder 接口基於軟硬整合觀點 -- 使用 Proxy-Stub 设计模式 采用 Proxy-Stub 设计模式将 IBinder 接口包装起来, 让 App 与 IBinder 接口不再产生高度相依性 應用程序 (App) 其将 IBinder 接口包装起来, 转换出更好用的新接口

More information

IP unnumbered 实验讲义 一. 实验目的 : 二. 实验设备 : 三. 实验拓扑 : 四. 实验内容 :

IP unnumbered 实验讲义 一. 实验目的 : 二. 实验设备 : 三. 实验拓扑 : 四. 实验内容 : 一. 实验目的 : IP unnumbered 实验讲义 掌握 ip unnumbered 命令以及命令适用范围 二. 实验设备 : 2600 router*2,serial 相连 IOS (tm) C2600 Software (C2600-DO3S-M), Version 12.0(5)T1 三. 实验拓扑 : F0 S0 S0 F0 Router A Router B 四. 实验内容 : 基本配置

More information

Spark Standalone 模式应用程序开发 Spark 大数据博客 -

Spark Standalone 模式应用程序开发 Spark 大数据博客 - 在本博客的 Spark 快速入门指南 (Quick Start Spark) 文章中简单地介绍了如何通过 Spark s hell 来快速地运用 API 本文将介绍如何快速地利用 Spark 提供的 API 开发 Standalone 模式的应用程序 Spark 支持三种程序语言的开发 :Scala ( 利用 SBT 进行编译 ), Java ( 利用 Maven 进行编译 ) 以及 Python

More information

NyearBluetoothPrint SDK. Development Document--Android

NyearBluetoothPrint SDK. Development Document--Android NyearBluetoothPrint SDK Development Document--Android (v0.98) 2018/09/03 --Continuous update-- I Catalogue 1. Introduction:... 3 2. Relevant knowledge... 4 3. Direction for use... 4 3.1 SDK Import... 4

More information

New Media Data Analytics and Application. Lecture 7: Information Acquisition An Integration Ting Wang

New Media Data Analytics and Application. Lecture 7: Information Acquisition An Integration Ting Wang New Media Data Analytics and Application Lecture 7: Information Acquisition An Integration Ting Wang Outlines Product-Oriented Data Collection Make a Web Crawler System Integration You should know your

More information

A Benchmark For Stroke Extraction of Chinese Characters

A Benchmark For Stroke Extraction of Chinese Characters 2015-09-29 13:04:51 http://www.cnki.net/kcms/detail/11.2442.n.20150929.1304.006.html 北京大学学报 ( 自然科学版 ) Acta Scientiarum Naturalium Universitatis Pekinensis doi: 10.13209/j.0479-8023.2016.025 A Benchmark

More information

Apache Kafka 源码编译 Spark 大数据博客 -

Apache Kafka 源码编译 Spark 大数据博客 - 经过近一个月时间, 终于差不多将之前在 Flume 0.9.4 上面编写的 source sink 等插件迁移到 Flume-ng 1.5.0, 包括了将 Flume 0.9.4 上面的 TailSou rce TailDirSource 等插件的迁移 ( 当然, 我们加入了许多新的功能, 比如故障恢复 日志的断点续传 按块发送日志以及每个一定的时间轮询发送日志而不是等一个日志发送完才发送另外一个日志

More information

2. Introduction to Digital Media Format

2. Introduction to Digital Media Format Digital Asset Management 数字媒体资源管理 2. Introduction to Digital Media Format 任课 老师 : 张宏鑫 2014-09-30 Outline Image format and coding methods Audio format and coding methods Video format and coding methods

More information

计算机组成原理第二讲 第二章 : 运算方法和运算器 数据与文字的表示方法 (1) 整数的表示方法. 授课老师 : 王浩宇

计算机组成原理第二讲 第二章 : 运算方法和运算器 数据与文字的表示方法 (1) 整数的表示方法. 授课老师 : 王浩宇 计算机组成原理第二讲 第二章 : 运算方法和运算器 数据与文字的表示方法 (1) 整数的表示方法 授课老师 : 王浩宇 haoyuwang@bupt.edu.cn 1 Today: Bits, Bytes, and Integers Representing information as bits Bit-level manipulations Integers Representation: unsigned

More information

Logitech G302 Daedalus Prime Setup Guide 设置指南

Logitech G302 Daedalus Prime Setup Guide 设置指南 Logitech G302 Daedalus Prime Setup Guide 设置指南 Logitech G302 Daedalus Prime Contents / 目录 English................. 3 简体中文................. 6 2 Logitech G302 Daedalus Prime 1 On 2 USB Your Daedalus Prime

More information

Software Engineering. Zheng Li( 李征 ) Jing Wan( 万静 )

Software Engineering. Zheng Li( 李征 ) Jing Wan( 万静 ) Software Engineering Zheng Li( 李征 ) Jing Wan( 万静 ) 作业 Automatically test generation 1. 编写一个三角形程序, 任意输入三个整数, 判断三个整形边长能否构成三角形, 如果是三角形, 则判断它是一般三角形 等腰三角形或等边三角形, 并输出三角形的类型 2. 画出程序的 CFG, 计算圈复杂度 3. 设计一组测试用例满足测试准则

More information

WSV 让网站更加安全的几个小 妙招 徐栋 北京中达金桥技术服务有限公司

WSV 让网站更加安全的几个小 妙招 徐栋 北京中达金桥技术服务有限公司 WSV-300-4 让网站更加安全的几个小 妙招 徐栋 北京中达金桥技术服务有限公司 小提示 网络安全不 能亡羊补牢 安全基础 No upsniff from image/* X-Content-Type-Options: nosniff Option to force file save: Content-Disposition: attachment;filename= foo.doc ; X-Download-Options:

More information

TBarCode OCX Microsoft ActiveX compliant Barcode Control

TBarCode OCX Microsoft ActiveX compliant Barcode Control TBarCode OCX Microsoft ActiveX compliant Barcode Control Version 9.0 Tutorial 19 December 2008 TEC-IT Datenverarbeitung GmbH W agnerstrasse 6 A-4400 Steyr, Austria t ++43 (0)7252 72720 f ++43 (0)7252 72720

More information

绝佳的并行处理 - FPGA 加速的根本基石

绝佳的并行处理 - FPGA 加速的根本基石 赛灵思技术日 XILINX TECHNOLOGY DAY 绝佳的并行处理 - 加速的根本基石 朱勇赛灵思大中华区业务拓展总监 2019 年 3 月 19 日 加速 : 大幅提升应用的性能 Without acceleration CPU func1 func2 func3 func4 With acceleration CPU func1 func3 func4 func2 handles compute-intensive,

More information

Digital Asset Management 数字媒体资源管理理 2. Introduction to Digital Media Format

Digital Asset Management 数字媒体资源管理理 2. Introduction to Digital Media Format Digital Asset Management 数字媒体资源管理理 2. Introduction to Digital Media Format 任课 老老师 : 张宏鑫 2017-09-27 Outline Image format and coding methods Audio format and coding methods Video format and coding methods

More information

Multiprotocol Label Switching The future of IP Backbone Technology

Multiprotocol Label Switching The future of IP Backbone Technology Multiprotocol Label Switching The future of IP Backbone Technology Computer Network Architecture For Postgraduates Chen Zhenxiang School of Information Science and Technology. University of Jinan (c) Chen

More information

朱晔和你聊 Spring 系列 S1E2: SpringBoot 并不神秘

朱晔和你聊 Spring 系列 S1E2: SpringBoot 并不神秘 朱晔和你聊 Spring 系列 S1E2: SpringBoot 并不神秘 文本我们会一步一步做一个例子来看看 SpringBoot 的自动配置是如何实现的, 然后来看一 些 SpringBoot 留给我们的扩展点 自己制作一个 SpringBoot Starter 我们知道 SpringBoot 提供了非常多的启动器, 引入了启动器依赖即可直接享受到自动依赖 配置和自动属性配置 : https://github.com/spring-projects/spring-boot/tree/master/spring-boot-project/springboot-starters

More information

Chapter 7: Deadlocks. Operating System Concepts 9 th Edition

Chapter 7: Deadlocks. Operating System Concepts 9 th Edition Chapter 7: Deadlocks Silberschatz, Galvin and Gagne 2013 Chapter Objectives To develop a description of deadlocks, which prevent sets of concurrent processes from completing their tasks To present a number

More information

OTAD Application Note

OTAD Application Note OTAD Application Note Document Title: OTAD Application Note Version: 1.0 Date: 2011-08-30 Status: Document Control ID: Release _OTAD_Application_Note_CN_V1.0 Copyright Shanghai SIMCom Wireless Solutions

More information

Silverlight 3 概览 俞晖市场推广经理微软 ( 中国 ) 有限公司

Silverlight 3 概览 俞晖市场推广经理微软 ( 中国 ) 有限公司 Silverlight 3 概览 俞晖市场推广经理微软 ( 中国 ) 有限公司 business opportunity 越来越丰富 MTV.COM (1996) CSS FLASH 4.0 AJAX HTML 3.2 DHTML SSL 3.0 FLASH 1.0 REAL AUDIO HTML 1.0 MTV.COM (2008) Silverlight 概览 跨浏览器 IE, Safari,

More information

XML allows your content to be created in one workflow, at one cost, to reach all your readers XML 的优势 : 只需一次加工和投入, 到达所有读者的手中

XML allows your content to be created in one workflow, at one cost, to reach all your readers XML 的优势 : 只需一次加工和投入, 到达所有读者的手中 XML allows your content to be created in one workflow, at one cost, to reach all your readers XML 的优势 : 只需一次加工和投入, 到达所有读者的手中 We can format your materials to be read.. in print 印刷 XML Conversions online

More information

The Design of Everyday Things

The Design of Everyday Things The Design of Everyday Things Byron Li Copyright 2009 Trend Micro Inc. It's Not Your Fault Donald A. Norman & His Book Classification 03/17/11 3 Norman Door Why Learn to think from different aspects Contribute

More information

Virtual Memory Management for Main-Memory KV Database Using Solid State Disk *

Virtual Memory Management for Main-Memory KV Database Using Solid State Disk * ISSN 1673-9418 CODEN JKYTA8 E-mail: fcst@vip.163.com Journal of Frontiers of Computer Science and Technology http://www.ceaj.org 1673-9418/2011/05(08)-0686-09 Tel: +86-10-51616056 DOI: 10.3778/j.issn.1673-9418.2011.08.002

More information

上汽通用汽车供应商门户网站项目 (SGMSP) User Guide 用户手册 上汽通用汽车有限公司 2014 上汽通用汽车有限公司未经授权, 不得以任何形式使用本文档所包括的任何部分

上汽通用汽车供应商门户网站项目 (SGMSP) User Guide 用户手册 上汽通用汽车有限公司 2014 上汽通用汽车有限公司未经授权, 不得以任何形式使用本文档所包括的任何部分 上汽通用汽车供应商门户网站项目 (SGMSP) User Guide 用户手册 上汽通用汽车有限公司 2014 上汽通用汽车有限公司未经授权, 不得以任何形式使用本文档所包括的任何部分 SGM IT < 上汽通用汽车供应商门户网站项目 (SGMSP)> 工作产品名称 :< User Guide 用户手册 > Current Version: Owner: < 曹昌晔 > Date Created:

More information

nbns-list netbios-type network next-server option reset dhcp server conflict 1-34

nbns-list netbios-type network next-server option reset dhcp server conflict 1-34 目录 1 DHCP 1-1 1.1 DHCP 公共命令 1-1 1.1.1 dhcp dscp 1-1 1.1.2 dhcp enable 1-1 1.1.3 dhcp select 1-2 1.2 DHCP 服务器配置命令 1-3 1.2.1 address range 1-3 1.2.2 bims-server 1-4 1.2.3 bootfile-name 1-5 1.2.4 class 1-6

More information

OpenCascade 的曲面.

OpenCascade 的曲面. 在 OpenSceneGraph 中绘制 OpenCascade 的曲面 eryar@163.com 摘要 Abstract : 本文对 OpenCascade 中的几何曲面数据进行简要说明, 并结合 OpenSceneGraph 将这些曲面显示 关键字 Key Words:OpenCascade OpenSceneGraph Geometry Surface NURBS 一 引言 Introduction

More information

NetScreen 概念与范例. ScreenOS 参考指南 第 7 卷 : 虚拟系统. ScreenOS 编号 SC 修订本 E

NetScreen 概念与范例. ScreenOS 参考指南 第 7 卷 : 虚拟系统. ScreenOS 编号 SC 修订本 E NetScreen 概念与范例 ScreenOS 参考指南 第 7 卷 : 虚拟系统 ScreenOS 5.0.0 编号 093-0930-000-SC 修订本 E Copyright Notice Copyright 2004 NetScreen Technologies, Inc. All rights reserved. NetScreen, NetScreen Technologies, GigaScreen,

More information

1. Spring 整合 Jdbc 进行持久层开发

1. Spring 整合 Jdbc 进行持久层开发 本章学习目标 小风 Java 实战系列教程 Spring 整合 Jdbc 进行持久层开发 Spring 事务管理的 XML 方式 Spring 事务管理的注解方式 Spring 事务管理的零配置方式 1. Spring 整合 Jdbc 进行持久层开发 1.1. JdbcTemplate 的基本使用 JdbcTemplate 类是 Spring 框架提供用于整合 Jdcb 技术的工具类 这个工具类提

More information

Technology: Anti-social Networking 科技 : 反社交网络

Technology: Anti-social Networking 科技 : 反社交网络 Technology: Anti-social Networking 科技 : 反社交网络 1 Technology: Anti-social Networking 科技 : 反社交网络 The Growth of Online Communities 社交网络使用的增长 Read the text below and do the activity that follows. 阅读下面的短文, 然后完成练习

More information

Jbuilder 2007 开发 EJB3.0 Entity 罗代均 ldj_work#126.com 2007 年 8 月

Jbuilder 2007 开发 EJB3.0 Entity 罗代均 ldj_work#126.com 2007 年 8 月 一. 准备开发环境 Jbuilder 2007 开发 EJB3.0 Entity 罗代均 ldj_work#126.com 2007 年 8 月 Jbuilder 2007, 新版 JBuilder2007 基于 Eclipse 平台, 与以往的 JBuilder 版本完全不同. 借助于 Eclipse 的开放平台以及丰富的插件, 使得 JBulider 对当前的流行的框架支持非常好, 同时支持 EJB3.0

More information

深入了解 Redis. 宋传胜

深入了解 Redis. 宋传胜 深入了解 Redis 宋传胜 Chuansheng.song@langtaojin.com 简单介绍 文本协议 memcached 类似 KEY 可打印字符 VALUE 支持的类型 STRINGS LIST SET SORTED SET HASH 高性能 (100k+ SET/80k+ GET)/s 序列化支持 主从同步支持 客户端自己实现 sharding 基本数据结构 RedisObject (Redis.h)

More information

密级 : 博士学位论文. 论文题目基于 ScratchPad Memory 的嵌入式系统优化研究

密级 : 博士学位论文. 论文题目基于 ScratchPad Memory 的嵌入式系统优化研究 密级 : 博士学位论文 论文题目基于 ScratchPad Memory 的嵌入式系统优化研究 作者姓名指导教师学科 ( 专业 ) 所在学院提交日期 胡威陈天洲教授计算机科学与技术计算机学院二零零八年三月 A Dissertation Submitted to Zhejiang University for the Degree of Doctor of Philosophy TITLE: The

More information

畅联科技锁掌柜开放接口 - Android 版本 用户手册

畅联科技锁掌柜开放接口 - Android 版本 用户手册 畅联科技锁掌柜开放接口 - Android 版本 用户手册 2018-08-08 一 引入到项目 配置 Android Manifest.xml, 添加权限

More information

Decode Zend. Darkness/Airsupply

Decode Zend. Darkness/Airsupply Decode Zend Darkness/Airsupply 关于 PHP 深入了解 PHP 目录 Decode 的关键 ---Opcode Opcode Hooker 技术介绍 分析 Zend Optimizer 开始 Decode 饶过混淆技术 简约不简单 跨平台 使用广泛 About PHP Inside PHP Php core 与 ZendCore 1 把原始的 php 脚本生成中间代码

More information

Skill-building Courses Business Analysis Lesson 3 Problem Solving

Skill-building Courses Business Analysis Lesson 3 Problem Solving Skill-building Courses Business Analysis Lesson 3 Problem Solving Review Software Development Life Cycle/Agile/Scrum Learn best practices for collecting and cleaning data in Excel to ensure accurate analysis

More information

VAS 5054A FAQ ( 所有 5054A 整合, 中英对照 )

VAS 5054A FAQ ( 所有 5054A 整合, 中英对照 ) VAS 5054A FAQ ( 所有 5054A 整合, 中英对照 ) About Computer Windows System Requirements ( 电脑系统要求方面 ) 问 :VAS 5054A 安装过程中出现错误提示 :code 4 (corrupt cabinet) 答 : 客户电脑系统有问题, 换 XP 系统安装 Q: When vas5054 install, an error

More information

CloudStack 4.3 API 开发指南!

CloudStack 4.3 API 开发指南! CloudStack 4.3 API 开发指南 CloudStack4.3 离发布也不远了, 自从 CloudStack4.1 以后, 其耦合度 一步步下降, 这使开发变得更加容易, 今天我们就以 CloudStack4.3 版本为基础, 来感受 一下如何添加 一个新的 API 首先,CloudStack4.3 里所有的 API 都可认为是 一个插件提供的服务, 诸如 ACL, 网络, 主机以及管理服务器

More information

RPG IV 新特性概览. 钟嘉田 DB2 for i Performance, IBM 中国系统与科技研发中心

RPG IV 新特性概览. 钟嘉田 DB2 for i Performance, IBM 中国系统与科技研发中心 RPG IV 新特性概览 钟嘉田 zhongjt@cn.ibm.com DB2 for i Performance, IBM 中国系统与科技研发中心 议程 RPG 更新旅程 V3R1 ~ V6R1,RPG IV 在各个领域的更新 7.1 ~ 7.3 RPG IV 的新功能 2017 International Business Machines Corporation 2 RPG 更新旅程 RPG

More information

DEV Office 客户端开发增强

DEV Office 客户端开发增强 DEV261 2007 Office 客户端开发增强 课程内容概述 在 Office 2007 客户端众多新特性中, 和使用者关系最为密切的应该是在 UI 方面的增强 例如, Office 2007 摒弃了传统以计算机命令作为功能组织单位的菜单, 而替换为以用户命令为组织单位的 Ribbon,, 这使得用户可以根据当前正在操作的文档内容, 快速定位到想要执行的操作 对于每一个信息工作者而言,UI,

More information

S 1.6V 3.3V. S Windows 2000 Windows XP Windows Vista S USB S RGB LED (PORT1 PORT2 PORT3) S I 2 C. + 表示无铅 (Pb) 并符合 RoHS 标准 JU10 JU14, JU24, JU25

S 1.6V 3.3V. S Windows 2000 Windows XP Windows Vista S USB S RGB LED (PORT1 PORT2 PORT3) S I 2 C. + 表示无铅 (Pb) 并符合 RoHS 标准 JU10 JU14, JU24, JU25 19-4694; Rev 0; 6/09 MAX7360 评估板 (EV kit) 提供经过验证的设计, 用于评估 MAX7360 集成 ESD 保护电路的 I 2 C 接口 低 EMI 按键开关控制器和 8 路 LED 驱动器 /GPIO 评估板还包含 Windows 2000 Windows XP 和 Windows Vista 兼容软件, 提供简易的图形用户接口 (GUI) 来验证 MAX7360

More information

漂亮的测试. By Alberto Savoia 代码之美 第七章 史际帆

漂亮的测试. By Alberto Savoia 代码之美 第七章 史际帆 漂亮的测试 代码之美 第七章 By Alberto Savoia 史际帆 作者简介 :Alberto Savoia Alberto Savoia is co-founder and CTO of Agitar Software. Before Agitar, he was Senior Director of Engineering at Google; prior to that he was the

More information

Murrelektronik Connectivity Interface Part I Product range MSDD, cable entry panels MSDD 系列, 电缆穿线板

Murrelektronik Connectivity Interface Part I Product range MSDD, cable entry panels MSDD 系列, 电缆穿线板 Murrelektronik Connectivity Interface Part I Product range MSDD, cable entry panels MSDD 系列, 电缆穿线板 INTERFACE PORTFOLIO PG 03 Relays 继电器 Intelligent Interface Technology 智能转换技术 Passive Interface Technology

More information

Chapter2 Instruction Sets

Chapter2 Instruction Sets Coputer Architecture Chapter Instruction Sets Zheng Qinghua CS Departent of XJTU 05.3 Introduction to Instruction Set Architecture ISA is the structure of a coputer that a achine language prograer ust

More information

Declaration of Conformity STANDARD 100 by OEKO TEX

Declaration of Conformity STANDARD 100 by OEKO TEX Declaration of Conformity STANDARD 100 by OEKO TEX OEKO-TEX - International Association for Research and Testing in the Field of Textile and Leather Ecology OEKO-TEX - 国际纺织和皮革生态学研究和检测协会 Declaration of

More information

Presentation Title. By Author The MathWorks, Inc. 1

Presentation Title. By Author The MathWorks, Inc. 1 Presentation Title By Author 2014 The MathWorks, Inc. 1 4G LTE 轻松入门 陈建平 MathWorks 中国 2014 The MathWorks, Inc. 2 大纲 4G 综述 LTE 系统工具箱的应用 黄金参考模型 点到点链路级仿真 信号发生和分析 信号信息恢复 4G 系统的并行仿真加速 3 无线标准的演化 * *Although ETSI

More information

[ 电子书 ]Spark for Data Science PDF 下载 Spark 大数据博客 -

[ 电子书 ]Spark for Data Science PDF 下载 Spark 大数据博客 - [ 电子书 ]Spark for Data Science PDF 下载 昨天分享了 [ 电子书 ]Apache Spark 2 for Beginners pdf 下载, 这本书很适合入门学习 Spark, 虽然书名上写着是 Apache Spark 2, 但是其内容介绍几乎和 Spark 2 毫无关系, 今天要分享的图书也是一本适合入门的 Spark 电子书, 也是 Packt 出版,2016

More information

CHINA VISA APPLICATION CONCIERGE SERVICE*

CHINA VISA APPLICATION CONCIERGE SERVICE* TRAVEL VISA PRO ORDER FORM Call us for assistance 866-378-1722 Fax 866-511-7599 www.travelvisapro.com info@travelvisapro.com CHINA VISA APPLICATION CONCIERGE SERVICE* Travel Visa Pro will review your documents

More information

Computer Networks. Wenzhong Li. Nanjing University

Computer Networks. Wenzhong Li. Nanjing University Computer Networks Wenzhong Li Nanjing University 1 Chapter 4. Internetworking The Internet Protocol IP Address ARP and DHCP ICMP IPv6 Mobile IP Internet Routing IP Multicasting Multiprotocol Label Switching

More information

我们应该做什么? 告知性分析 未来会发生什么? 预测性分析 为什么会发生 诊断性分析 过去发生了什么? 描述性分析 高级分析 传统 BI. Source: Gartner

我们应该做什么? 告知性分析 未来会发生什么? 预测性分析 为什么会发生 诊断性分析 过去发生了什么? 描述性分析 高级分析 传统 BI. Source: Gartner 价值 我们应该做什么? 告知性分析 未来会发生什么? 预测性分析 为什么会发生 诊断性分析 过去发生了什么? 描述性分析 传统 BI 高级分析 Source: Gartner 困难 常见方案 Cortana 高级分析套件 SQL Server 2016 或者 Microsoft R Server Machine Learning 或者 Microsoft R Server 1. 业务理解 2. 数据理解

More information

Autodesk Backburner 2011 安装手册

Autodesk Backburner 2011 安装手册 Autodesk Backburner 2011 安装手册 Autodesk Backburner 2011 2010 Autodesk, Inc. All rights reserved. Except as otherwise permitted by Autodesk, Inc., this publication, or parts thereof, may not be reproduced

More information

MFUN [ 文档编号 :MFUN-DMSJ ]

MFUN [ 文档编号 :MFUN-DMSJ ] MFUN [ 文档编号 :MFUN-DMSJ-20180621] Release Notes Modified modify the content Revision time version Reviewer Yu Chao Write documentation 2018/6/21 V1.0 Yu Chao Document information file name Document Document

More information

Wireless Presentation Pod

Wireless Presentation Pod Wireless Presentation Pod WPP20 www.yealink.com Quick Start Guide (V10.1) Package Contents If you find anything missing, contact your system administrator. WPP20 Wireless Presentation Pod Quick Start Guide

More information

China Next Generation Internet (CNGI) project and its impact. MA Yan Beijing University of Posts and Telecommunications 2009/08/06.

China Next Generation Internet (CNGI) project and its impact. MA Yan Beijing University of Posts and Telecommunications 2009/08/06. China Next Generation Internet (CNGI) project and its impact MA Yan Beijing University of Posts and Telecommunications 2009/08/06 Outline Next Generation Internet CNGI project in general CNGI-CERNET2 CERNET2

More information

Safe Memory-Leak Fixing for C Programs

Safe Memory-Leak Fixing for C Programs Safe Memory-Leak Fixing for C Programs Qing Gao, Yingfei Xiong, Yaqing Mi, Lu Zhang, Weikun Yang, Zhaoing Zhou, Bing Xie, Hong Mei Institute of Software, Peking Unversity 内存管理 安全攸关软件的开发必然涉及内存管理问题 软件工程经典问题,

More information

Smart Services Lucy Huo (Senior Consultant, UNITY Business Consulting) April 27, 2016

Smart Services Lucy Huo (Senior Consultant, UNITY Business Consulting) April 27, 2016 Smart Services Lucy Huo (Senior Consultant, UNITY Business Consulting) April 27, 2016 42 = Average Age of a Company According to Christensen, well-established companies are not capable of change in face

More information

Altera 器件高级特性与应用 内容安排 时钟管理 时钟管理 片内存储器 数字信号处理 高速差分接口 高速串行收发器. 时钟偏斜 (skew): 始终分配到系统中到达各个时钟末端 ( 器件内部触发器的时钟输入端 ) 的时钟相位不一致的现象 抖动 : 时钟边沿的输出位置和理想情况存在一定的误差

Altera 器件高级特性与应用 内容安排 时钟管理 时钟管理 片内存储器 数字信号处理 高速差分接口 高速串行收发器. 时钟偏斜 (skew): 始终分配到系统中到达各个时钟末端 ( 器件内部触发器的时钟输入端 ) 的时钟相位不一致的现象 抖动 : 时钟边沿的输出位置和理想情况存在一定的误差 4-E Altera 器件高级特性与应用 西安电子科技大学雷达信号处理重点实验室罗丰 luofeng@xidian.edu.cn 内容安排 时钟管理 片内存储器 数字信号处理 高速差分接口 高速串行收发器 2 时钟管理 时钟偏斜 (skew): 始终分配到系统中到达各个时钟末端 ( 器件内部触发器的时钟输入端 ) 的时钟相位不一致的现象 抖动 : 时钟边沿的输出位置和理想情况存在一定的误差 3 1

More information

ngx_openresty: an Nginx ecosystem glued by Lua

ngx_openresty: an Nginx ecosystem glued by Lua ngx_openresty: an Nginx ecosystem glued by Lua ngx_openresty: an Nginx ecosystem glued by Lua 由 Lua 粘合的 Nginx 生态环境 agentzh@gmail.com 章亦春 (agentzh) 2012.02 I've been hacking in the Fuzhou city in the last

More information

Keygen Codes For Photoshop Cs6 ->>> DOWNLOAD

Keygen Codes For Photoshop Cs6 ->>> DOWNLOAD Keygen Codes For Photoshop Cs6 ->>> DOWNLOAD 1 / 5 2 / 5 Photoshop Cs6 Crack Serial Ke....op_sp_fanyi{font-size:1em;word-break:normal;}.op_sp_fanyi.op_sp_fanyi_read{display: inline-block;*display: inline;*zoom:1;marginleft:4px;*position:relative;*top:-2px;}.op_sp_fanyi_how_read,.op_sp_fanyi_mp3_play{display:block;w

More information

Compile times - assert macros

Compile times - assert macros Compile times - assert macros 53 doctest 1.0 - CHECK(a == b); do { Result res; bool threw = false; try { res = ExpressionDecomposer() success) {

More information

/* 说明 : 由于在实现算法的过程中, 我们无法验证自己的思想的正确性, 所以用 c++ 实现了并进行了验证 数据结构以突出思想, 体现结构的逻辑结构为主, 所以在看算法的时候, 主要看思想和逻辑,

/* 说明 : 由于在实现算法的过程中, 我们无法验证自己的思想的正确性, 所以用 c++ 实现了并进行了验证 数据结构以突出思想, 体现结构的逻辑结构为主, 所以在看算法的时候, 主要看思想和逻辑, /* 说明 : 由于在实现算法的过程中, 我们无法验证自己的思想的正确性, 所以用 c++ 实现了并进行了验证 数据结构以突出思想, 体现结构的逻辑结构为主, 所以在看算法的时候, 主要看思想和逻辑, 对于变量和结构的定义, 都可以忽略, 以及最后的 main() 函数, 在查看的时候发现各种疑问欢迎与我们助教讨论 */ //Header.h 常量及结构的申明. #definetrue 1 #definefalse

More information

云计算入门 Introduction to Cloud Computing GESC1001

云计算入门 Introduction to Cloud Computing GESC1001 Lecture #3 云计算入门 Introduction to Cloud Computing GESC1001 Philippe Fournier-Viger Professor School of Humanities and Social Sciences philfv8@yahoo.com Fall 2018 1 Course schedule Part 1 Part 2 Part 3 Introduction

More information

Outline. Motivations (1/3) Distributed File Systems. Motivations (3/3) Motivations (2/3)

Outline. Motivations (1/3) Distributed File Systems. Motivations (3/3) Motivations (2/3) Outline TFS: Tianwang File System -Performance Gain with Variable Chunk Size in GFS-like File Systems Authors: Zhifeng Yang, Qichen Tu, Kai Fan, Lei Zhu, Rishan Chen, Bo Peng Introduction (what s it all

More information

Congestion Control Mechanisms for Ad-hoc Social Networks 自组织社会网络中的拥塞控制机制

Congestion Control Mechanisms for Ad-hoc Social Networks 自组织社会网络中的拥塞控制机制 Congestion Control Mechanisms for Ad-hoc Social Networks 自组织社会网络中的拥塞控制机制 by Hannan-Bin-Liaqat (11117018) to School of Software in partial fulfillment of the requirements for the degree of Doctor of Philosophy

More information

Tizen v2.3 Graphics & UI Frameworks. Embedded Software SKKU

Tizen v2.3 Graphics & UI Frameworks. Embedded Software SKKU !1 105 Tizen v2.3 Graphics & UI Frameworks 内容!2 105 EFL(Enlightenment Foundation Library) EFL Features Ecore Evas Edje Elementary Cserve2 Window Systems X Window System Wayland DALi 3D Engine Tizen Graphics

More information

本文列出 Git 常用命令, 点击下图查看大图

本文列出 Git 常用命令, 点击下图查看大图 Git 常用命令速查表 本文列出 Git 常用命令, 点击下图查看大图 如果想及时了解 Spark Hadoop 或者 Hbase 相关的文章, 欢迎关注微信公共帐号 :iteblog_hadoop 入门 git init or git clone url 1 / 6 配置 git config --global color.ui true git config --global push.default

More information

TW5.0 如何使用 SSL 认证. 先使用 openssl 工具 1 生成 CA 私钥和自签名根证书 (1) 生成 CA 私钥 openssl genrsa -out ca-key.pem 1024

TW5.0 如何使用 SSL 认证. 先使用 openssl 工具 1 生成 CA 私钥和自签名根证书 (1) 生成 CA 私钥 openssl genrsa -out ca-key.pem 1024 TW5.0 如何使用 SSL 认证 先使用 openssl 工具 1 生成 CA 私钥和自签名根证书 (1) 生成 CA 私钥 openssl genrsa -out ca-key.pem 1024 Generating RSA private key, 1024 bit long modulus.++++++...++++++ e is 65537 (0x10001) (2) 生成待签名证书 openssl

More information

赛灵思技术日 XILINX TECHNOLOGY DAY 用赛灵思 FPGA 加速机器学习推断 张帆资深全球 AI 方案技术专家

赛灵思技术日 XILINX TECHNOLOGY DAY 用赛灵思 FPGA 加速机器学习推断 张帆资深全球 AI 方案技术专家 赛灵思技术日 XILINX TECHNOLOGY DAY 用赛灵思 FPGA 加速机器学习推断 张帆资深全球 AI 方案技术专家 2019.03.19 Who is Xilinx? Why Should I choose FPGA? Only HW/SW configurable device 1 2 for fast changing networks High performance / low

More information

Green Computing Cloud Computing LSD Tech Co., Ltd SSD server & SSD Storage Cloud SSD Supercomputer LSD Tech Co., LTD

Green Computing Cloud Computing LSD Tech Co., Ltd SSD server & SSD Storage Cloud SSD Supercomputer LSD Tech Co., LTD www.lsdtech.co.kr Green Computing Cloud Computing LSD Tech Co., Ltd SSD server & SSD Storage Cloud SSD Supercomputer LSD Tech Co., LTD 2012. 09. 28 1. 公司介绍 LSD Tech Co., Ltd LSD Tech( 株 ) 以制造 SSD 服务器,

More information

新一代 ODA X5-2 低调 奢华 有内涵

新一代 ODA X5-2 低调 奢华 有内涵 新一代 ODA X5-2 低调 奢华 有内涵 李昊首席销售顾问甲骨文公司系统事业部 内容预览 1 2 3 4 ODA 概述 ODA X5-2 新功能 / 特性介绍 ODA X5-2 市场定位 & 竞争分析总结 & 讨论 内容预览 1 2 3 4 ODA 概述 ODA X5-2 新功能 / 特性介绍 ODA X5-2 市场定位 & 竞争分析总结 & 讨论 什么是 ODA ODA: 五年四代, 稳中求变

More information

在数据中心中加速 AI - Xilinx 机器学习套件 (Xilinx ML Suite )

在数据中心中加速 AI - Xilinx 机器学习套件 (Xilinx ML Suite ) 赛灵思高级主任 DSP/ 机器学习专家赛灵思高级主任 DSP/ 机器学习专家 赛灵思技术日 XILINX TECHNOLOGY DAY 在数据中心中加速 AI - Xilinx 机器学习套件 (Xilinx ML Suite ) 王宏强赛灵思资深主任 DSP/ 机器学习专家 2019 年 3 月 19 日 机器学习推断是赛灵思的长项 TRAINING Input cat =? labels dog

More information

基于 Davinci 平台的视频应用开发 沈燕飞

基于 Davinci 平台的视频应用开发 沈燕飞 基于 Davinci 平台的视频应用开发 沈燕飞 DaVinci 技术发布里程图 2 达芬奇五大类平台及目标应用 3 TMS320DM6446/3 处理器构架 4 TMS320DM643x 处理器构架 5 DM355 实现便携式应用的创新 6 TMS320DM648/DM647 处理器 7 TMS320DM6467 芯片内部框图 8 实现多格式高清转码功能解决方案 9 DVSDK 工具链 } 完整的开发系统

More information

测试 SFTP 的 问题在归档配置页的 MediaSense

测试 SFTP 的 问题在归档配置页的 MediaSense 测试 SFTP 的 问题在归档配置页的 MediaSense Contents Introduction Prerequisites Requirements Components Used 问题 : 测试 SFTP 按钮发生故障由于 SSH 算法协商故障解决方案 Bug Reled Informion Introduction 本文描述如何解决可能发生的安全壳 SSH 算法协商故障, 当您配置一个安全文件传输协议

More information

BlueCore BlueTunes Configuration Tool User Guide

BlueCore BlueTunes Configuration Tool User Guide BlueCore BlueTunes Configuration Tool User Guide Issue 1 CSR Cambridge Science Park Milton Road Cambridge CB4 0WH United Kingdom Registered in England 3665875 Tel.: +44 (0)1223 692000 Fax.: +44 (0)1223

More information

F03_c. 观摩 : SurfaceView 小框架 基於軟硬整合觀點. 的特殊性设计 ( c) By 高煥堂

F03_c. 观摩 : SurfaceView 小框架 基於軟硬整合觀點. 的特殊性设计 ( c) By 高煥堂 F03_c 观摩 : SurfaceView 小框架 基於軟硬整合觀點 的特殊性设计 ( c) By 高煥堂 3 范例:JNI + 基於軟硬整合觀點 OpenGL ES C 引擎 范例 ( 一 ) 撰写 , 实现 Renderer 特殊性接口, 并定义 Native 函数, 来与 C/C++ 层的 OpenGL 引擎衔接 ondrawframe( ) onsurfacechanged( ) onsurfacecreated(

More information

Vista 程序员的好帮手. XXX DPE, Microsoft China

Vista 程序员的好帮手. XXX DPE, Microsoft China Vista 程序员的好帮手 XXX DPE, Microsoft China xxx@microsoft.com 你在开发哪种程序? Server? Web 2.0? RIA(Rich Interactive Application)? 还是 Desktop 程序? 程序员的操作系统 Vista 为程序员提供了非常与业和方便的开发平台 用 WPF 开发下一代的桌面应用程序 化繁为简的 IIS7 提高了

More information

Packaging 10Apr2012 Rev V Specification MBXL HSG 1. PURPOSE 目的 2. APPLICABLE PRODUCT 适用范围

Packaging 10Apr2012 Rev V Specification MBXL HSG 1. PURPOSE 目的 2. APPLICABLE PRODUCT 适用范围 107-68703 Packaging 10Apr2012 Rev V Specification MBXL HSG 1. PURPOSE 目的 Define the packaging specifiction and packaging method of MBXL HSG. 订定 MBXL HSG 产品之包装规格及包装方式 2. APPLICABLE PRODUCT 适用范围 PKG TYPE

More information