码迷,mamicode.com
首页 >  
搜索关键字:go 学习资料    ( 12885个结果
go语言初记2(备忘)
看《Go入门指南》,这里讲得比较基础,针对go 1.0版,以下是一些我自己觉得特别和不容易理解的地方的摘抄!上次有说到go里不同类型之间操作必须显示转换,int和uint不固定,所以int 不是int32int和uint在 32 位操作系统上,它们均使用 32 位(4 个字节),在 64 位操作系统...
分类:其他好文   时间:2014-07-19 17:05:18    阅读次数:312
datetime.timedelta
from django.utils import timezoneimport datetimetimezone.now()datetime.datetime(2014, 7, 18, 9, 42, 24, 531000, tzinfo=)timezone.now() -datetime.timed...
分类:其他好文   时间:2014-07-19 16:38:09    阅读次数:235
组合 Lucas定理
组合Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64u[Submit] [Go Back] [Status]Description给出组合数C(n,m), 表示从n个元素中选出m个元素的方案数。例如C(5,2) = 1...
分类:其他好文   时间:2014-07-19 11:20:32    阅读次数:237
UVALive 4043 Ants
KM 构图求最小权值匹配保证最小的权值,所连的边一定是能够不相交的.AntsTime Limit:3000MSMemory Limit:Unknown64bit IO Format:%lld & %llu[Submit] [Go Back] [Status]DescriptionYoung nat....
分类:其他好文   时间:2014-07-19 00:24:57    阅读次数:297
javascript refresh page 几种页面刷新的方法
Javascript刷新页面的几种方法:1 history.go(0)2 location.reload()3 location=location4 location.assign(location)5 document.execCommand('Refresh')6 window.navigate...
分类:编程语言   时间:2014-07-18 16:15:24    阅读次数:219
javascript页面刷新的几种方法
javascript refresh page 几种页面刷新的方法本节内容:Javascript刷新当前页面的方法与实例。window.location.reload(),window.history.go(0)和document.execCommand(''Refresh''),这三个方法是最快速...
分类:编程语言   时间:2014-07-18 15:23:57    阅读次数:199
【DataStructure】Charming usage of Set in the java
In an attempt to remove duplicate elements from list, I go to the lengths to take advantage of  methods in the java api. After investiagting the document of java api, the result is so satisfying that...
分类:编程语言   时间:2014-07-18 14:02:00    阅读次数:282
[POJ 1390]Blocks
Description Some of you may have played a game called 'Blocks'. There are n blocks in a row, each box has a color. Here is an example: Gold, Silver, Silver, Silver, Silver, Bronze, Bronze, Bronze, Go...
分类:其他好文   时间:2014-07-18 11:23:05    阅读次数:280
自己整理的常用SQL Server 2005 语句、
--创建数据库createdatabase数据库go--打开数据库use数据库--删除数据库dropdatabase数据库Go--创建数据表createtable数据表(列名1数据类型1限定条件(是否是主外键、是否为空),列名2数据类型2限定条件(是否是主外键、是否为空))go--删除数据表drop...
分类:数据库   时间:2014-07-17 23:11:37    阅读次数:381
Sql语句不能识别Go的解决办法(动态创建表的触发器)
问题来源用sqlserver直接打开sql文本,执行没问题,但是当用Sqlcommand类执行cmdtext命令文本时总是失败报错。原因分析及解决用数据库直接执行sql语句没问题,甚至还可以用Go来进行分批处理,但是当你用链接类访问数据库,并执行sql语句时就有些限制,如下:System.Data....
分类:数据库   时间:2014-07-17 22:17:59    阅读次数:466
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!