无论是从本地输出的数据还是转发的数据报文,经过路由后都要输出到网络设备,而输出到网络设备的接口就是dst_output(output)函数 路由的时候,dst_output函数设置为ip_output ip_mc_output等 1、TCP输出接口 L4 层在发送数据时会根据协议的不同调用上面提到的 ...
分类:
其他好文 时间:
2019-05-11 18:09:04
阅读次数:
190
5-10 用Verilog设计一个功能类似74ls160的计数器。 (1)解题思路 设计一个74ls160,需要知道它的功能表,以及原理图 (2)核心模块代码 module fidv1 (rd,clk,et,load,datain,dataout,cout,ep); input rd,et,load ...
分类:
其他好文 时间:
2019-05-10 21:59:40
阅读次数:
295
Source: PAT_A1098 Insertion or Heap Sort (25 分) Description: According to Wikipedia: Insertion sort iterates, consuming one input element each repetit ...
分类:
其他好文 时间:
2019-05-09 23:46:48
阅读次数:
140
一、web.xml文件介绍 The web.xml file contains several elements that are required for a Facelets application. All of the following are created automatically ...
分类:
Web程序 时间:
2019-05-09 20:07:20
阅读次数:
160
location Location 接口表示其链接到的对象的位置(URL),构造函数 Document 和 Window 接口都有这样一个链接的Location,分别通过 Document.location和Window.location 访问 尽管 window.location 是一个只读 Lo ...
分类:
其他好文 时间:
2019-05-08 09:23:22
阅读次数:
392
nodejs采用的是CommonJS规范,而es6自己制定了一套模块化规范,两者语法不同,功能类似。 CommonJS规范: 有require、exports、module三个对象,处理模块之间的依赖。 ES6规范有: import、export两个对象,处理模块之间的依赖。 ...
分类:
Web程序 时间:
2019-05-06 17:34:33
阅读次数:
645
In the game of DotA, Pudge’s meat hook is actually the most horrible thing for most of the heroes. The hook is made up of several consecutive metallic ...
分类:
其他好文 时间:
2019-05-02 09:54:43
阅读次数:
135
1.数据库事务的4个基本特征,即ACID Atomic(原子性):数据库包含的操作被看作是一个整体的业务单元,该业务单元内的操作要么全部成功,要么全部失败。 Consistency(一致性):事务在完成时,必须使所有的数据保持一致的状态。 Isolation(隔离性):多线程同时操作同一数据时,会产 ...
分类:
编程语言 时间:
2019-05-01 13:28:25
阅读次数:
131
业务需要 配置一主多从数据库 读写分离 orm用的ef core , 把思路和代码写下1. 配置2个数据库上下文 ETMasterContext ETSlaveContext(把增删改功能禁用掉)public class ETMasterContext : DbContext { public ET... ...
分类:
其他好文 时间:
2019-04-30 12:32:45
阅读次数:
169