06 2018 档案

摘要:Faults Faults result from error conditions that a handler might be able to correct. When a fault occurs, the processor transfers control to the fault 阅读全文
posted @ 2018-06-30 19:22 geeklove 阅读(241) 评论(0) 推荐(0)
摘要:different levels of ECF: In general, we refer to these abrupt changes as exceptional control flow (ECF). Exceptional control flow occurs at all levels 阅读全文
posted @ 2018-06-30 17:58 geeklove 阅读(291) 评论(0) 推荐(0)
摘要:Loading and Linking Shared Libraries from Applications Up to this point, we have discussed the scenario in which the dynamic linker loads and links sh 阅读全文
posted @ 2018-06-30 15:32 geeklove 阅读(181) 评论(0) 推荐(0)
摘要:Executable Object Files The format of an executable object file is similar to that of a relocatable object file. The ELF header describes the overall 阅读全文
posted @ 2018-06-28 19:19 geeklove 阅读(333) 评论(0) 推荐(0)
摘要:ref: http://www.linfo.org/free.html https://www.cnblogs.com/coldplayerest/archive/2010/02/20/1669949.html Memory consists of mainly of random access m 阅读全文
posted @ 2018-06-25 20:19 geeklove 阅读(505) 评论(0) 推荐(0)
摘要:Relocation Once the linker has completed the symbol resolution step, it has associated each symbol reference in the code with exactly one symbol defin 阅读全文
posted @ 2018-06-25 19:55 geeklove 阅读(288) 评论(0) 推荐(0)
摘要:Linking with Static Libraries In practice, all compilation systems provide a mechanism for packaging related object modules into a single file called 阅读全文
posted @ 2018-06-24 16:32 geeklove 阅读(265) 评论(0) 推荐(0)
摘要:简介和分类 Linking is the process of collecting and combining various pieces of code and data into a single file that can be loaded (copied) into memory an 阅读全文
posted @ 2018-06-23 12:18 geeklove 阅读(237) 评论(0) 推荐(0)
摘要:Hiding variable and function names with static C programmers use the static attribute to hide variable and function declarations inside modules, much 阅读全文
posted @ 2018-06-23 11:26 geeklove 阅读(206) 评论(0) 推荐(0)
摘要:Serving Static Content Root Directory and Index Files If a request ends with a slash, NGINX treats it as a request for a directory and tries to find a 阅读全文
posted @ 2018-06-20 19:41 geeklove 阅读(261) 评论(0) 推荐(0)
摘要:Configuring NGINX Plus as a Web Server At a high level, configuring NGINX Plus as a web server is a matter of defining which URLs it handles and how i 阅读全文
posted @ 2018-06-20 19:20 geeklove 阅读(264) 评论(0) 推荐(0)
摘要:NGINX Load Balancing – TCP and UDP Load Balancer Configuring Reverse Proxy For UDP traffic, also include the udp parameter. TCP is the default protoco 阅读全文
posted @ 2018-06-18 20:11 geeklove 阅读(216) 评论(0) 推荐(0)
摘要:Procedure Example 准备调用swap_add之前的代码: 此时,ebp指向顶部,esp指向中部,call之后push return address 要改变ebp之前必须保存,以便之后恢复: setup code for swap_add: 此时,ebp指向中部,esp指向中部 bod 阅读全文
posted @ 2018-06-18 20:08 geeklove 阅读(221) 评论(0) 推荐(0)
摘要:Passive Health Checks When NGINX considers a server unavailable, it temporarily stops sending requests to the server until it is considered active aga 阅读全文
posted @ 2018-06-17 12:47 geeklove 阅读(199) 评论(0) 推荐(0)
摘要:前言: 作为战斗民族的发明,Nginx在服务器网络处理方面因其稳定,高效,简洁的配置,出色的表现而被广泛使用 Docs written in English are the best material of mastering a specific technology. (ref: https:/ 阅读全文
posted @ 2018-06-16 19:02 geeklove 阅读(157) 评论(0) 推荐(0)
摘要:Loops: Instead, combinations of condi- tional tests and jumps are used to implement the effect of loops. Most compilers generate loop code based on th 阅读全文
posted @ 2018-06-12 21:00 geeklove 阅读(230) 评论(0) 推荐(0)
摘要:Unary and Binary Operations unary operations: This operand can be either a register or a memory location. For example, the instruction incl (%esp) cau 阅读全文
posted @ 2018-06-11 13:12 geeklove 阅读(292) 评论(0) 推荐(0)
摘要:主机的IP地址与硬件地址的区别: 数据报在传输过程中的流程: 需要注意的地方: 地址解析协议ARP ARP协议的用途是为了从网络层使用的IP地址,解析出在数据链路层使用的硬件地址 RARP协议叫逆地址解析协议,用于从硬件地址中找到IP地址。DHCP协议已经包含了这项功能。 每一台主机上都有一个ARP 阅读全文
posted @ 2018-06-10 14:55 geeklove 阅读(264) 评论(0) 推荐(0)
摘要:不同语言的正则表达式的实现方法不一 PCRE表达式全集 https://www.regular-expressions.info/quickstart.html https://zh.wikipedia.org/wiki/%E6%AD%A3%E5%88%99%E8%A1%A8%E8%BE%BE%E5 阅读全文
posted @ 2018-06-07 20:24 geeklove 阅读(124) 评论(0) 推荐(0)
摘要:网络层提供的两种服务: 网络层的设计思路: 基本情况如下: 情况如下图所示: 虚电路服务与数据报服务的对比: 一些网络连接的中间设备: 分组在互联网中的传送: 如图: IP地址编址方法历史: 两级IP地址的表示: IP地址 ::= {<网络号>,<主机号>} 网络号在整个互联网范围内唯一,主机号在网 阅读全文
posted @ 2018-06-07 19:04 geeklove 阅读(181) 评论(0) 推荐(0)
摘要:1 数据在网络中的时延主要包括四个部分: 发送时延:主机或路由器在发送数据帧时需要的时间 传播时延:电磁波在信道中的传播时间 处理时延:主机或路由器收到分组之后处理花费的时间 排队时延:分组在输入队列和输出队列的排队时间,时间长短取决于网络当时的通信量 2物理层: 在物理层上传输的数据单位是比特 频 阅读全文
posted @ 2018-06-05 19:03 geeklove 阅读(4460) 评论(0) 推荐(0)
摘要:Data Formats 如图: Accessing Information 如图: The low-order 2 bytes of the first four registers can be independently read or written by the byte operatio 阅读全文
posted @ 2018-06-03 18:11 geeklove 阅读(274) 评论(0) 推荐(0)
摘要:x86(wiki): x86 is a family of backward-compatible(向后兼容) instruction set architectures[a]based on the Intel 8086 CPU and its Intel 8088 variant(变种). IA 阅读全文
posted @ 2018-06-03 13:44 geeklove 阅读(325) 评论(0) 推荐(0)
摘要:需要虚拟存储器的原因: As demand on the CPU increases, processes slow down in some reasonably smooth way. But if too many processes need too much memory, then so 阅读全文
posted @ 2018-06-01 19:42 geeklove 阅读(243) 评论(0) 推荐(0)
摘要:根据文档(https://docs.python.org/2/tutorial/controlflow.html#more-on-defining-functions) 介绍了三种方法 1 Default Argument Values The most useful form is to spec 阅读全文
posted @ 2018-06-01 16:39 geeklove 阅读(217) 评论(0) 推荐(0)