[2020-11-20 15:39:11,703] [16792 XNIO-1 task-1(io.undertow.request) : ERROR]io.undertow.servlet.api.LoggingExceptionHandler.handleThrowable(LoggingExc ...
分类:
编程语言 时间:
2020-11-24 12:44:38
阅读次数:
7
using NLog; using System; using System.IO.Ports; using System.Text; using System.Threading; namespace TestCom485 { class Program { static void Main(st ...
分类:
其他好文 时间:
2020-11-24 12:42:10
阅读次数:
9
一、前言 用过unittest的童鞋都知道,有两个前置方法,两个后置方法;分别是 setup() setupClass() teardown() teardownClass() Pytest也贴心的提供了类似setup、teardown的方法,并且还超过四个,一共有十种 **模块级别:**setup ...
分类:
其他好文 时间:
2020-11-24 12:40:48
阅读次数:
8
#include <string.h> #include <stdlib.h> #include <stdio.h> #include "gmp.h" #define MILLER_RABIN_TEST_NUM 5 #define PRIME_BIT 512 #define CLOCKS_PER_S ...
分类:
其他好文 时间:
2020-11-24 12:38:56
阅读次数:
6
https://blog.csdn.net/lierwang2017/article/details/78744468?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-1.control&depth_1-ut ...
分类:
数据库 时间:
2020-11-24 12:35:23
阅读次数:
8
使用循环逐个转换 public class Test1 { public static void main(String[] args) { int[] a = { 11, 12, 13}; // 打印输出 for (String i : intArrToStringArr(a)) { System ...
分类:
编程语言 时间:
2020-11-24 12:05:33
阅读次数:
9
2.4 1的数目 基础问题 写一个函数$f(N)$, 返回1到N之间出现的1的个数,比如$f(12) = 5$ 解法 解法1 暴力求解 直接遍历即可 解法2 通过分析小于n的数在每一位上可能出现1的次数之和 // 2.4 1的数目 class Test{ public static void mai ...
分类:
其他好文 时间:
2020-11-23 12:47:11
阅读次数:
19
两台mysql版本号为5.7以上 主库配置文件设置(注意设置在[mysqld]项中) 主库的ip地址为:192.168.1.1 server-id=1 #唯一id,主库设置1 log-bin=mysql-bin #日志记录 sync-binlog=1 binlog-do-db=test #同步指定的 ...
分类:
数据库 时间:
2020-11-23 12:43:46
阅读次数:
28
db.test.find({"_id":"5349b4ddd2781d08c09890f4"})结果数据为空。test为集合collection解决方法:值中加入ObjectIddb.test.find({"_id":ObjectId("5349b4ddd2781d08c09890f4")})总结:MongoDB中存储
分类:
数据库 时间:
2020-11-23 12:30:47
阅读次数:
14
在说Asnc和Await之前,先说明一下Func和Action委托, Task任务的基础的用法 1. Func public delegate TResult Func<out TResult>(); Func是一种委托,这是在3.5里面新增的,2.0里面我们使用委托是用Delegate,Func位 ...