Two passes: all pointer linking info will be recorded in 1st pass - to hashmap; 2nd pass recover the pointer relationship from hashmap.1A!class Soluti...
分类:
其他好文 时间:
2014-07-23 14:59:26
阅读次数:
209
Go语言没有异常处理机制,大部分情况下只能用panic和recover。在这种机制下,函数体中的被调函数中出现的错误是无法处理的,只能静候崩溃。 今天我发现thrift在生成的RPC代码有空指针BUG导致程序崩溃,这个有BUG...
分类:
其他好文 时间:
2014-07-22 09:00:04
阅读次数:
191
Go语言最主要的特性:? 自动垃圾回收? 更丰富的内置类型? 函数多返回值? 错误处理? 匿名函数和闭包? 类型和接口? 并发编程? 反射? 语言交互性1.2.4 错误处理Go语言引入了3个关键字用于标准的错误处理流程,这3个关键字分别为defer、panic和recover。1:编译环境准备在Go...
分类:
其他好文 时间:
2014-07-19 20:27:28
阅读次数:
254
Two elements of a binary search tree (BST) are swapped by mistake.
Recover the tree without changing its structure.
Note:
A solution using O(n)
space is pretty straight forward. Could you devis...
分类:
其他好文 时间:
2014-07-18 22:33:04
阅读次数:
328
Two elements of a binary search tree (BST) are swapped by mistake.Recover the tree without changing its structure.Note:A solution using O(n) space is ...
分类:
其他好文 时间:
2014-07-17 17:32:50
阅读次数:
246
leon@DGLIRUAN2 /F/linux/android/leon/workspace/AngoWidget (master)
$ git log
commit 2f847e3a858ecb2f843e7820cd8eaedf2ec7102d
Author: leon
Date: Mon Jul 14 23:38:58 2014 +0800
alarm worki...
分类:
其他好文 时间:
2014-07-15 12:28:00
阅读次数:
279
USE [BBDAS_FP_DATA]GO/****** Object: StoredProcedure [dbo].[Recover_Deleted_Data_Proc] Script Date: 07/12/2014 15:09:44 ******/SET ANSI_NULLS ONGO...
分类:
数据库 时间:
2014-07-14 09:09:17
阅读次数:
369
ABMR:在asm 环境中测试Automatic Block Recover 特性的方法...
分类:
其他好文 时间:
2014-07-13 15:55:13
阅读次数:
211
Two elements of a binary search tree (BST) are swapped by mistake.
分类:
其他好文 时间:
2014-07-03 19:44:18
阅读次数:
161
真心不动了,研发的同事关测试IBM 3650服务器是直接关插排电源???
第二天加点重启之后oracle 打开报错ORA-00600: internal error code, arguments: [4194], [53], [41], [], [], [], [], []
求助DBA
决绝办法,启用undo手动管理,重建undo表空间
步骤如下:
SQL> alter system ...
分类:
其他好文 时间:
2014-07-01 08:33:20
阅读次数:
186