package main import ( "crypto/rand" "fmt" "math/big" "strconv" "strings" "time" ) type task struct { id uint32 // 订单编号 callback chan int // 工厂编号 } con ...
分类:
其他好文 时间:
2020-09-17 23:14:01
阅读次数:
31
错误: ERROR: [1] bootstrap checks failed [1]: system call filters failed to install; check the logs and fix your configuration or disable system call fi ...
分类:
其他好文 时间:
2020-09-17 21:25:40
阅读次数:
37
原文地址: Critical CSS and Webpack: Automatically Minimize Render-Blocking CSS 原文作者: Anthony Gore 译者: 蜗牛(GivenCui) 校对者: veizz "消除阻塞渲染的CSS和JavaScript"。 这一条 ...
分类:
Web程序 时间:
2020-09-17 17:30:33
阅读次数:
36
1、多线程的创建方式 继承Thread类 实现runnable 接口,无返回值,无异常 实现callable接口,有返回值,有异常 线程池(此种方式,网上很多不算创建方式,但是个人觉得可以创建线程,所以我归进去) 1、1 继承Thread类 public static class MyThread ...
分类:
编程语言 时间:
2020-09-17 17:10:06
阅读次数:
35
24 call 和 apply 改变this指向同,首个参数对象萌。 拨打电话按键清,申请传参数组拎。 改变this指向同,首个参数对象萌。 他们的作用都是改变this的指向 第一个参数都是传入this指向的对象 拨打电话按键清,申请传参数组拎。 call 方法传入参数是一个一个传入 apply 方 ...
分类:
Web程序 时间:
2020-09-17 16:46:38
阅读次数:
38
int** shiftGrid(int** grid, int gridSize, int* gridColSize, int k, int* returnSize, int** returnColumnSizes){ int** arr = (int**)calloc(gridSize,sizeo ...
分类:
其他好文 时间:
2020-09-17 16:19:10
阅读次数:
24
组件从概念上来看就像JS中的一个函数,它可以接收任意的输入值(称之为props),并返回一个需要在页面上展示的React元素。我们可以将UI切分成几个不同的,独立的,可复用的部分,进行单个部分即单个组件的构建,后面进行整合展示就可。 一、函数组件和类组件 组件的名称必须是大写开头,这样是为了在使用时 ...
分类:
其他好文 时间:
2020-09-17 16:10:18
阅读次数:
25
Mybatis扩展 Map 使用map可以定制化sql的操作 实体类方法 void createUserByMap(HashMap<String, Object> map); 配置文件 <insert id="createUserByMap" parameterType="map"> insert ...
分类:
其他好文 时间:
2020-09-17 15:39:48
阅读次数:
31
LOCAL_PATH := $(call my-dir)include $(CLEAR_VARS)LOCAL_MODULE := static_AAALOCAL_SRC_FILES := $(LOCAL_PATH)/libavcodec.ainclude $(PREBUILT_STATIC_LIBR ...
分类:
移动开发 时间:
2020-09-17 15:30:51
阅读次数:
49
hadoop的RPC基本概念: 1,RPC(Remote Procedure Call Protocol)--远程过程调用协议,它是一种通过网络从远程计算机程序上请求服务,而不需要了解底层网络技术的协议。RPC协议假定某些传输协议的存在,如TCP或UDP,为通信程序之间携带信息数据。在OSI网络通信 ...
分类:
其他好文 时间:
2020-09-16 12:21:20
阅读次数:
33