一、课程总结 网络体系结构自顶向下可以划分为典型的四层结构如图所示,分别是应用层、传输层、网络层、网络接口层。 在linux应用程序中,所有有关socket的系统调用(包括socket、bind、listen等)共用一个系统调用号112,系统调用名称为socketcall。内核执行函数entry_S ...
分类:
其他好文 时间:
2020-01-10 20:34:04
阅读次数:
71
1.加入依赖 <dependency> <groupId>org.mongodb</groupId> <artifactId>mongodb-driver</artifactId> <version>3.9.1</version> </dependency> <dependency> <groupI ...
分类:
数据库 时间:
2020-01-10 18:48:25
阅读次数:
99
netty 中,每一个 channel 有一个写缓冲 ChannelOutboundBuffer ChannelOutboundBuffer 类中维持一个 Entry 链表,Entry 是链表的节点,封装了待写入的 ByteBuf,而 netty 最终写入 socket 的是 ByteBuffer, ...
分类:
数据库 时间:
2020-01-10 01:14:41
阅读次数:
93
首先,模块引入的时候有两种方式:1、相对导入:importEntryfrom"./components/Entry";import{DefaultHeaders}from"../constants/http";import"/mod";相对导入在解析时是相对于导入它的文件,并且不能解析为一个外部模块声明,你应该为你自己写的模块使用相对导入,这样能确保它们在运行时的相对位置。2、非相对导入:impo
分类:
其他好文 时间:
2020-01-10 00:50:06
阅读次数:
89
一、课程总结 网络体系结构自顶向下可以划分为典型的四层结构如图所示,分别是应用层、传输层、网络层、网络接口层。 在linux应用程序中,所有有关socket的系统调用(包括socket、bind、listen等)共用一个系统调用号112,系统调用名称为socketcall。内核执行函数entry_S ...
分类:
其他好文 时间:
2020-01-09 21:01:58
阅读次数:
84
继承了abstractMap, 实现了map、cloneable、serializable接口 初始参数 默认初始化容量16 最大容量1 20) ^ (h 12);return h ^ (h 7) ^ (h 4);` indexFor(h, length) : 静态,默认访问权限。 h&(lengt ...
分类:
其他好文 时间:
2020-01-07 13:02:13
阅读次数:
68
一、下列分别是base.config.js dev.config.js prod.config.js const path = require('path') const webpack = require('webpack') const HtmlWebpackPlugin = require(' ...
分类:
Web程序 时间:
2020-01-06 22:59:34
阅读次数:
101
api差异参考官网地址:https://spark.apache.org/docs/2.1.1/sql-programming-guide.html#upgrading-from-spark-sql-16-to-20 1.SparkSession is now the new entry point ...
分类:
其他好文 时间:
2020-01-06 19:23:38
阅读次数:
87
1. 在/usr/share/applications下,创建一个.desktop的文件 sudo vim /usr/share/applications/{文件名}.desktop 2. 配置,如:websotorm [Desktop Entry] Type=Application Termina ...
分类:
其他好文 时间:
2020-01-06 17:50:45
阅读次数:
153
| 文章名 | 相关链接 | | | | | spring security | http://blog.didispace.com/spring security oauth2 xjf 1/ | | python | https://juejin.im/user/5d358b226fb9a07eb ...
分类:
其他好文 时间:
2020-01-06 13:08:14
阅读次数:
93