ArrayList的核心成员属性 public class ArrayList<E> extends AbstractList<E> implements List<E>, RandomAccess, Cloneable, java.io.Serializable { private static ...
分类:
其他好文 时间:
2021-06-18 19:30:43
阅读次数:
0
The current C++11 std::launch only has two modes: async or deferred. In a production system, neither is what you want: async will launch a new thread ...
分类:
编程语言 时间:
2021-06-18 18:48:54
阅读次数:
0
使用:pymysql.cursors.DictCursor 直接上代码 import pymysql db = pymysql.connect(host = "host", user = "user", password = "password", database = "database") cu ...
分类:
数据库 时间:
2021-06-16 18:09:26
阅读次数:
0
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Net.Sockets; using Sy ...
分类:
其他好文 时间:
2021-06-16 18:02:41
阅读次数:
0
符号 说明 == a == b,判断a和b的值是否相等,成立为true,不成立为false != a != b,判断a和b的值是否不相等,成立为true,不成立为false > a > b,判断a是否大于b,成立为true,不成立为false >= a >= b,判断a是否大于等于b,成立为true ...
分类:
其他好文 时间:
2021-06-15 17:42:31
阅读次数:
0
日常报错(累~): 小编最近用yolact对BraTS数据集做预测,验证结果如下: 发现ET对于Dice和PPV太小了,根据公式,我一开始以为是模型预测的区域过多导致的。 后面生成图片观察: 忽然之间,意识到,是自己的target生成错了。笔者对这个三个区域,首先是采用边缘提取,获取边缘的坐标,之后 ...
分类:
其他好文 时间:
2021-06-13 10:35:43
阅读次数:
0
springcloud-eureka-feign-mybatis-seata 整合步奏 1.下载seata-server,修改seate-server配置 2.client端(你自己的项目)拷贝seate-server中的file.conf, registry.conf 加入自己项目 3.数据源代理 ...
分类:
编程语言 时间:
2021-06-11 19:16:48
阅读次数:
0
ObjectOutputStream 类 <1> 基本概念 1. java.io.ObjectOutputStream类:用于将一个对象的所有内容整体写入到输出流中 2. 只能将支持 java.io.Serializable 接口的对象写入流中 3. 类通过实现 java.io.Serializab ...
分类:
编程语言 时间:
2021-06-10 18:18:23
阅读次数:
0
做《TLPI》第四章的最后习题的时候,体会到内容。 常规的I/O操作有open(),read(),write(),close()还有比较特殊的lseek(),ioctl()。 linux在读写一个文件的时候都会通过一个 “文件偏移量”来确定在哪个位置读写,英文是offset, 而lseek()则可以 ...
分类:
其他好文 时间:
2021-06-10 17:57:11
阅读次数:
0
题目:https://vjudge.z180.cn/problem/LightOJ-1248#author=0 题意:掷骰子,每个面至少出现一次的投掷期望 题解:几何分布 #include <algorithm> #include <bitset> #include <cmath> #include ...
分类:
其他好文 时间:
2021-06-09 15:28:58
阅读次数:
0