Hello,world Java代码: public class Hello{ public static void main(String[] args){ System.out.print("Hello,world!"); }} 编译: javac Hello.java //编译生成class文 ...
分类:
其他好文 时间:
2021-05-24 14:06:34
阅读次数:
0
Scala语言类型(同java) 静态,强,类型推断, 弱类型:(javascripte) > "1"+2 '12' 强类型:(java,scala,python) >>> "1"+2 TypeError: cannot concatenate 'str' and 'int' objects 动态类 ...
分类:
其他好文 时间:
2021-05-24 14:04:24
阅读次数:
0
一、第一阶段从底层bios获取数据 首先是由最底层的bios扫描到硬件信息,然后上传给上层的kernel使用的。这里bios定义了一系列的中断调用函数供上层使用。对于内存在x86下则是定义了INT 0x15,eax = 0xE820来获取万恒的内存映射。INT 0x15,AX = 0xE801则是用 ...
分类:
其他好文 时间:
2021-05-24 14:03:27
阅读次数:
0
发送方式一: struct data{ int a = 123; int b = 465; } *m_data; m_data = new data; QByteArray data; data.resize(sizeof(struct data)); memcpy(data.data(), m_d ...
分类:
其他好文 时间:
2021-05-24 14:00:37
阅读次数:
0
#include <iostream> #include <cstring> #include <cmath> using namespace std; using ll=long long ; const int maxn=1e3+10; int dp[maxn][maxn]; int sum[m ...
分类:
其他好文 时间:
2021-05-24 13:59:03
阅读次数:
0
简介 使用了C++自带的实现deque 和 unordered_map code class LRUCache { public: unordered_map<int, bool> map; unordered_map<int, int> mapV; deque<int> q; int capaci ...
分类:
其他好文 时间:
2021-05-24 13:58:51
阅读次数:
0
JSP表达式 <%--JSP表达式 作用:用来将程序的输出,输出到客户端 <%= 变量或者表达式%> --%> <%= new java.util.Date()%> jsp脚本片段 1 <%--jsp脚本片段--%> 2 <% 3 int sum = 0; 4 for (int i = 1; i < ...
分类:
Web程序 时间:
2021-05-24 13:47:30
阅读次数:
0
countDownLatch这个类使一个线程等待其他线程各自执行完毕后再执行。 public class CountDownLatchDemo { public static void main(String[] args) throws InterruptedException{ /** * * ...
分类:
其他好文 时间:
2021-05-24 13:31:31
阅读次数:
0
(1) All medicinal products for human use manufactured or imported into the Community, including medicinal products intended for export, are to be manu ...
分类:
其他好文 时间:
2021-05-24 13:31:17
阅读次数:
0
C语言(sizeof&&strlen) sizeof(单目运算符):计算变量或变量类型占的字节数 sizeof求数组长度:sizeof(arr)/sizeof(arr[0]) 变量类型 字节数 短整型 2 整形 4 长整型 4 单精度浮点型 4 双精度浮点型 8 字符类型 1 指针 4或8 示例: ...
分类:
其他好文 时间:
2021-05-24 13:30:12
阅读次数:
0