package cn.edu360 import java.io.{FileInputStream, FileOutputStream, ObjectInputStream, ObjectOutputStream} /** * Created by zx on 2017/6/25. */class  ...
                            
                            
                                分类:
其他好文   时间:
2021-06-02 15:46:04   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    USB2.0IP设计 最近,在学习USB2.0IP的设计,其中包含了CRC校验码的内容,之前学习千兆以太网曾经用到过CRC32校验(https://www.cnblogs.com/Xwangzi66/p/14185143.html),CRC详细原理可见括号的链接,今天则从怎么用工具快速生成Veril ...
                            
                            
                                分类:
其他好文   时间:
2021-06-02 15:06:59   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    c语言中指针作为参数的函数同时计算两个数的和与差。 1、 #include <stdio.h> void sum_dif(int n1, int n2, int *sum, int *dif) { *sum = n1 + n2; *dif = (n1 > n2) ? (n1 - n2) : (n2  ...
                            
                            
                                分类:
编程语言   时间:
2021-06-02 15:05:19   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    A good problem that helps understanding sliding window algorithm :3 ...
                            
                            
                                分类:
其他好文   时间:
2021-06-02 14:14:21   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    最近有一个需求,shell终端输入^X切换到另一个登陆界面。 如何判断输入的是^加上其他字母成为要解决的问题。 查了一堆资料,发现可以这样判断: #!/bin/sh echo Please input ^X: read a echo $a if [ $a = $'\030' ];then echo  ...
                            
                            
                                分类:
系统相关   时间:
2021-06-02 14:05:04   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    防抖函数 事件被触发时,在n秒后执行函数,在n秒内多次触发事件,则重新开始计时 利用定时器来实现,在n秒内多次触发,则先清除定时器,从新计时 1 // 定义一个请求函数 2 function request(val) { 3 console.log("request: " + val); 4 } 5 ...
                            
                            
                                分类:
其他好文   时间:
2021-06-02 13:52:05   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    https://blog.csdn.net/weixin_44882864/article/details/102958973 https://blog.csdn.net/weixin_43078114/article/details/103511970 ...
                            
                            
                                分类:
其他好文   时间:
2021-05-24 16:51:49   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    ctfshow 大吉大利杯 先进行一波简单审计 extract函数作用 extract() 函数从数组中将变量导入到当前的符号表。 $str = file_get_contents("php://input") php://input 可以读取不管是POST方式或者GET方法提交过来的数据 ...
                            
                            
                                分类:
Web程序   时间:
2021-05-24 16:41:52   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    c语言中按位逻辑运算符、位移运算符 #include <stdio.h> int count_bits(unsigned x) { int bits = 0; while(x) { if(x & 1U) bits++; x >>= 1; } return bits; } int int_bits(v ...
                            
                            
                                分类:
编程语言   时间:
2021-05-24 14:41:08   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    0. 参考文档 https://zhuanlan.zhihu.com/p/292151192 1. IO流分类 1.1 分类方式 IO流主要有三种分类方式: 按数据流的方向:输入流、输出流 按处理数据单元:字节流、字符流 按功能:节点流、处理流 1.2 常用流分类 转换流 ? InputStream ...
                            
                            
                                分类:
其他好文   时间:
2021-05-24 12:52:23   
                                阅读次数:
0