码迷,mamicode.com
首页 >  
搜索关键字:other    ( 5856个结果
java 闭包与回调
闭包(closure)是一个可调用的对象,它记录了一些信息,这些信息来自于创建它的作用域. 内部类是面向对象的闭包,因为它不仅包含外围类对象(创建内部类的作用域)的信息,还自动拥有一个指向此外围类对象的引用,在此作用域内,内部类有权操作所有的成员,包括private成员 回调的价值在于它的灵活性-- ...
分类:编程语言   时间:2019-01-07 23:34:02    阅读次数:330
LeetCode 657. Robot Return to Origin
There is a robot starting at position (0, 0), the origin, on a 2D plane. Given a sequence of its moves, judge if this robot ends up at (0, 0) after it ...
分类:其他好文   时间:2019-01-07 20:52:02    阅读次数:192
【leetcode】969. Pancake Sorting
题目如下: Given an array A, we can perform a pancake flip: We choose some positive integer k <= A.length, then reverse the order of the first k elements o ...
分类:其他好文   时间:2019-01-07 17:44:27    阅读次数:248
Chisel3 - Chisel vs. Scala
https://mp.weixin.qq.com/s/mTmXXBzSizgiigFYVQXKpw 介绍Chisel与Scala的不同与关联。 ?? 一. 层次高低 Chisel是使用Scala语言编写的具体代码。从抽象层次上看,Scala更高。 1. 语言与代码 Chisel是使用Scala语言编 ...
分类:其他好文   时间:2019-01-07 17:43:52    阅读次数:363
c array sort
bubble sort heap sort and others ...
分类:其他好文   时间:2019-01-07 01:42:03    阅读次数:135
Docker 的基本使用
一、简介 Docker 是一个开源的应用容器引擎,基于 Go 语言。Docker 支持将软件编译成一个镜像,然后在镜像中为软件做好配置,将镜像发布出去,其他使用者就可以直接使用这个镜像,而不需再和以前一样配置各种环境。Docker 容器是完全使用沙箱机制,相互之间不会有任何的接口。其实它和我们使用的 ...
分类:其他好文   时间:2019-01-06 18:18:32    阅读次数:178
随便写写
# _*_ coding: utf-8 _*___author__ = 'pythonwu'__date__ = "2019/1/4 18:06"#鸭子类型class Duck(object): def quack(self): print('quack')class Bird(object): d ...
分类:其他好文   时间:2019-01-06 18:06:57    阅读次数:136
Lab 1-2
Analyze the file Lab01 02.exe . Questions and Short Answers 1. Upload the Lab01 02.exe file to http://www.VirusTotal.com/ . Does it match any existing ...
分类:其他好文   时间:2019-01-06 12:44:31    阅读次数:131
Why review code?(为什么要复盘代码)
1. The code itself. The most obvious value in code review is often framed in “catching bugs”. (能查出bug) 2. Macro level knowledge sharing.When you revie ...
分类:其他好文   时间:2019-01-05 00:50:44    阅读次数:446
字符型日期转换日期型的非常数据定位与处理
由于数据的不规范性,造成日期类型转换异常。通过编写函数,找出异常值。 或者: 异常数据都转换成 99991231,通过检索对比找到异常的源数据。 ...
分类:其他好文   时间:2019-01-04 20:25:44    阅读次数:236
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!