本文详细的描述了ZooKeeper在Linux操作系统下的安装
分类:
其他好文 时间:
2020-01-05 22:45:54
阅读次数:
150
什么是单元测试? 单元测试是负责对最小的软件设计单元(模块)进行验证。 python语言下有很多单元测试框架,例如unittest、pytest、doctest等,其中unittest为python语言中自带的单元测试框架。 下面给出一个比较简单的unittest单元测试脚本 在python标准库关 ...
分类:
编程语言 时间:
2020-01-05 20:42:00
阅读次数:
86
package com.xinboedu.www.test; /** * 功能概要: * * @author linbingwen * @since 2016年6月11日 */ public class ThreadGroupDemo { public static void main(String ...
分类:
编程语言 时间:
2020-01-05 15:53:44
阅读次数:
94
Seven times have I despised my soul: ——Kahlil Gibran The first time when I saw her being meek that she might attain height. The second time when I saw ...
分类:
其他好文 时间:
2020-01-05 11:36:43
阅读次数:
74
原题 在 O(n log n) 时间复杂度和常数级空间复杂度下,对链表进行排序。 示例 1: 示例 2: 原题url:https://leetcode cn.com/problems/sort list/ 解决 题目很明确,排序,对于时间复杂度和空间复杂度有要求,针对 ,让我想到了 和`快速排序`, ...
分类:
编程语言 时间:
2020-01-05 11:32:53
阅读次数:
115
原题链接在这里:https://leetcode.com/problems/previous-permutation-with-one-swap/ 题目: Given an array A of positive integers (not necessarily distinct), return ...
分类:
其他好文 时间:
2020-01-05 09:32:35
阅读次数:
73
satic可以修饰变量,方法和代码块 静态变量: 1.static方法可以调用本类的static变量,但不能直接调用非static变量,调用非static变量必须使用对象调用。 静态方法: 1.静态方法可以被继承但是不能被重写; 不可以重写: 可以继承,t.eat()的结果是Second类eat() ...
分类:
其他好文 时间:
2020-01-05 00:26:29
阅读次数:
63
来源:http://codeforces.com/problemset/problem/1265/B B. Beautiful Numbers time limit per test 1 second memory limit per test 256 megabytes input standar ...
分类:
其他好文 时间:
2020-01-02 22:33:54
阅读次数:
59
一、 hive流程 hive与hdfs 和 yarn、mr 交互 动态 First : hive从 hdfs中拉取数据 ( .txt文件) Second : hive 与 SQL 交互。。。即 获取 模板信息 ※ : 模板信息 三个映射 A 表 与 文件 B 字段 与 文件内容 C 分割符 deli ...
分类:
其他好文 时间:
2020-01-02 22:21:16
阅读次数:
76
//first High second Lowvoid process32BitConvertToDouble6Bit(float source,uint16_t &first,uint16_t &second){ uint32_t v_tmp; qDebug() << v_tmp; v_tmp = ...
分类:
其他好文 时间:
2020-01-02 18:31:12
阅读次数:
150