title: java nio aio bio概念 date: 2018/1/13 21:12:55 tags: [nio,aio] categories: 开发 java 就目前来说,大多数的系统瓶颈在io , io的瓶颈又在寻址 …… 跑题了,我先来记录总结几个基本概念吧 IO分两阶段: 1.数 ...
分类:
编程语言 时间:
2021-06-28 20:08:59
阅读次数:
0
title: java自定义序列化协议 tags: [序列化,protobuf] date: 2018/5/15 20:26:25 categories: 开发 java 序列化协议 相信大家见识过很序列化的框架 : fastjson , hessian ,kryo,protobuf,jdk序列化 ...
分类:
编程语言 时间:
2021-06-28 20:08:42
阅读次数:
0
概述 Thrift是一个可互操作和可伸缩服务的框架,用来进行可扩展且跨语言的服务的开发。它结合了功能强大的软件堆栈和代码生成引擎,以构建在 C++, Java, Python, PHP, Ruby, Erlang, Perl, Haskell, C#, Cocoa, JavaScript, Node ...
分类:
其他好文 时间:
2021-06-28 19:55:38
阅读次数:
0
package main import ( "fmt" "math/rand" "sync" "time" ) var wg sync.WaitGroup func f1(i int) { wg.Done() fmt.Println(i) } func main() { rand.Seed(time ...
分类:
其他好文 时间:
2021-06-28 19:53:07
阅读次数:
0
题目链接 AC代码 每次看到形如$a_i + a_j = i + j$这种公式,总想着把带$i$的划到一边,带$j$的划到一遍,然后map乱搞。但是这题并不是这样搞的。 注意到一个非常重要的条件,就是$a$中元素是不重复的。所以可以用一个数组$p$记录$x$在$a$中的下标。 然后对于每一个$a_i ...
分类:
其他好文 时间:
2021-06-28 19:48:44
阅读次数:
0
<?xml version="1.0" encoding="UTF-8"?><configuration> <system.webServer> <rewrite> <rules> <rule name="Imported Rule 1"> <match url="^index.html" /> < ...
分类:
Web程序 时间:
2021-06-28 19:43:32
阅读次数:
0
相信恨多小伙伴想升级到@vue/cli的时候,都会经过这一步,就是先卸载掉旧版本的vue-cli,再安装新版的@vue/cli。 但是在卸载的时候,却发现卸载不了,下面带大家用这个方法可以奏效 问题描述:执行npm uninstall vue-cli -g,执行完毕提示up to date in 3 ...
分类:
其他好文 时间:
2021-06-28 19:11:10
阅读次数:
0
/* 指定考试成绩,判断成绩的等级。 90-100 优秀 80-89 好 70-79 良 60-69 及格 60以下 不及格 */ public class IfElsePractise{ public static void main(String[] args){ int score = 98; ...
分类:
其他好文 时间:
2021-06-28 19:00:36
阅读次数:
0
/*单if语句的格式: if(关系表达式){ 语句体; } */ public class SeguenceIf{ public static void main(String [] args){ System.out.println("今天天气不错,正在压马路,突然发现一个好玩的地方:网吧"); ...
分类:
其他好文 时间:
2021-06-28 18:55:48
阅读次数:
0
方法的重载 public class MethodDemo05 { public static void main(String[] args) { int add1 = add(1, 2); System.out.println(add1); System.out.println(" "); in ...
分类:
其他好文 时间:
2021-06-28 18:55:14
阅读次数:
0