E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
LEC
【xv6学习之
Lec
2】 PC hardware and x86 programming slides
这一节我们主要了解PC的硬件与x86编程。首先是计算机架构,如下图:关于EIP:内存操作:基本栈操作:(*)Notrealinstructions能够很好理解一下:8086:x86: I/O:从C代码到可执行文件:PCEmulator:
woxiaohahaa
·
2015-11-27 14:00
通过实例深入理解
lec
和yacc
本框架是一个lex/yacc完整的示例,包括详细的注释,用于学习lex/yacc程序基本的搭建方法,在linux/cygwin下敲入make就可以编译和执行。大部分框架已经搭好了,你只要稍加扩展就可以成为一个计算器之类的程序,用于《编译原理》的课程设计,或者对照理解其它lex/yacc项目的代码。本例子虽小却演示了lex/yacc程序最重要和常用的特征: * lex/yacc程序组成结构、文件
·
2015-11-11 04:45
实例
Min Edit Distance
Min Edit Distance ————两字符串之间的最小距离 PPT原稿参见Stanford;http://www.stanford.edu/class/cs124/
lec
/med.pdf
·
2015-11-10 22:03
it
Practical Programming in C
electrical-engineering-and-computer-science/6-087-practical-programming-in-c-january-iap-2010/lecture-notes/
LEC
robertsong2004
·
2015-02-03 14:00
任务调度quartz整理
1packagecom.
lec
.util.job;23importjava.text.ParseExcepti
追梦的年轻人
·
2014-12-25 09:00
自制操作系统--(9)
handout地址:http://pdos.csail.mit.edu/6.828/2011/
lec
/x86
hao707822882
·
2014-10-06 11:00
自制操作系统
自制操作系统--(6)内存(2)
接下来做part2,先上一张开启分页后的地址变换图:(完整的图在http://pdos.csail.mit.edu/6.828/2011/
lec
/x86_translation_and_registers.pdf
hao707822882
·
2014-10-06 10:00
自制操作系统
什么是T1与E1线路
租用线路旁路了本地交换电信局(
LEC
)上的交换设备,所以在每次数据传输之前无需起始阶段,它们总是连通的。如果线路是长距的(LATA间),那么将需要一个长途电信公司,就象联路的另一端的
LEC
。
·
2014-05-12 22:00
T
MIT6.006
Lec
03:插入排序,归并排序,递归树
MIT6.006是算法导论课,
Lec
03主要讲插入排序,归并排序,以及分析方法(递归树)等。
·
2013-08-20 19:00
插入排序
MIT6.006
Lec
02:DocumentDistance
MIT6.006是算法导论,
Lec
02讲的是DocumentDistance(文档距离),比如比较两个文档相似度或者搜索引擎中都会用到。
·
2013-08-20 13:00
document
MIT6.006
Lec
01:Python实现
MIT6.006是AlgoIntro这门课,据说语言使用pythonLec01是讲peakfinding,也就是峰值点具体为:一维情况下一个数组中a[i]>a[i-1]且a[i]>a[i+1]那么它是peak 边界时检查一个方向就ok二维情况下需要某元素x比四个相邻元素都大,边界也类似一维去处理只要找到一个peak返回就好复杂度:一维用二分,logn二维先二分,二分后的一维数组遍历一下,所以是O(
·
2013-08-19 20:00
python
JOS学习笔记(六)
接下来做part2,先上一张开启分页后的地址变换图:(完整的图在http://pdos.csail.mit.edu/6.828/2011/
lec
/x86_translation_and_registers.pdf
ROger__wonG
·
2013-03-19 17:00
struts2 文件上传
html <form name="form1" action="
lec
_uploadFile.action" method="
username2
·
2013-03-10 09:00
struts
6.00 Introduction to Computer Science and Programming
Lec
9: Set
这个
lec
的课后补充材料里面有关于Python中Set的介绍,而这正是我所关心的,就单写一下。
jubincn
·
2013-02-21 00:00
6.00 Introduction to Computer Science and Programming
Lec
9: Lecture 9: Memory and Search Methods
这个
lec
主要讲排序算法,首先从list的实现开始。Python中的list显然是可变的,可以自由地向其中添加、删除各种类型的元素,然后有可以使用下标来查找,有些类似于Java中的list。
jubincn
·
2013-02-20 22:00
6.00 Introduction to Computer Science and Programming
Lec
8: Efficiency and Order of Growth
这个
lec
主要将复杂度的内容,这部分内容没有什么好总结的,不过里面那段Python代码比较有意思,就贴在这里吧importpylab,math defshowGrowth(lower,upper):
jubincn
·
2013-02-19 22:00
6.00 Introduction to Computer Science and Programming
lec
6: Debugging
这节课没学到什么新东西,几乎不涉及到Python语言,其他内容也都知道,不过还是简单地记一下吧,未来连起来看这个系列的时候更有连惯性。1.浮点数判断相等因为二进制和十进制转换的关系,浮点数的表示是通过“近似”的方式来的,视频中Python用repr(0.1)会出现后面的几位,我的2.7.3的版本不会有这个问题,不过使用这个命令,还是能看出来:>>>print0.001==0.00100000000
jubincn
·
2013-02-07 00:00
quartz 添加任务调度
package com.
lec
.util.job; import java.text.ParseException; import java.util.Date; import
fackyou200
·
2012-10-18 11:00
quartz
yale_OS(2)——OS-xv6的源代码的调试
(学习课程地址如下:http://zoo.cs.yale.edu/classes/cs422/2011/
lec
/l2-hw)1.打开一个终端,进入xv6目录下,运行如下命令:makeqemu-gdb 此时
wuxiaoer717
·
2012-05-27 22:00
thread
ubuntu
OS
Path
远程连接
终端
6.087 Practical Programming in C,
lec
14
LinuxinterprocesscommunicationPreliminaries•Eachprocesshasitsownaddressspace.Therefore,individualprocessescannotcommunicate,unlikethreads.•Interprocesscommunication:Linux/Unixprovidesseveralwaystoallo
jubincn
·
2011-11-06 23:00
c
unix
System
redirect
Signal
Descriptor
6.087 Practical Programming in C,
lec
14
LinuxinterprocesscommunicationPreliminaries•Eachprocesshasitsownaddressspace.Therefore,individualprocessescannotcommunicateunlikethreads.•Interprocesscommunication:Linux/Unixprovidesseveralwaystoallow
jubincn
·
2011-11-06 23:00
programming
6.087 Practical Programming in C,
lec
13
Multithreadedprogramming.SocketsandasynchronousI/OMultithreadedprogramming•OSimplementsscheduler–determineswhichthreadsexecute•Schedulingmayexecutethreadsinarbitraryorder•Withoutpropersynchronization,
jubincn
·
2011-11-06 21:00
programming
6.087 Practical Programming in C,
lec
13
Multithreadedprogramming.SocketsandasynchronousI/OMultithreadedprogramming•OSimplementsscheduler–determineswhichthreadsexecute•Schedulingmayexecutethreadsinarbitraryorder•Withoutpropersynchronization,
jubincn
·
2011-11-06 21:00
6.087 Practical Programming in C,
lec
12
MultithreadingandconcurrencyPreliminaries:Parallelcomputing•Parallelism:Multiplecomputationsaredonesimultaneously.•Instructionlevel(pipelining)•Dataparallelism(SIMD)•Taskparallelism(embarrassinglypara
jubincn
·
2011-11-03 23:00
programming
6.087 Practical Programming in C,
lec
12
MultithreadingandconcurrencyPreliminaries:Parallelcomputing•Parallelism:Multiplecomputationsaredonesimultaneously.•Instructionlevel(pipelining)•Dataparallelism(SIMD)•Taskparallelism(embarrassinglypara
jubincn
·
2011-11-03 23:00
6.087 Practical Programming in C,
lec
11
Dynamicmemoryallocation,mallocandvalgrind,garbagecollection.Review:CstandardlibraryStdio.h•I/Ofunctions:fopen(),freopen(),fflush(),remove(),rename(),tmpfile(),tmpnam(),fread(),fwrite(),fseek(),ftell()
jubincn
·
2011-11-01 22:00
数据结构
c
list
Allocation
structure
Pointers
6.087 Practical Programming in C,
lec
11
Dynamicmemoryallocation,mallocandvalgrind,garbagecollection.Review:CstandardlibraryStdio.h•I/Ofunctions:fopen(),freopen(),fflush(),remove(),rename(),tmpfile(),tmpnam(),fread(),fwrite(),fseek(),ftell()
jubincn
·
2011-11-01 22:00
programming
6.087 Practical Programming in C,
lec
10
Cstandardlibrary:stdio.h,ctype.h,stdlib.h,assert.h,stdarg.h,time.h:Fileoperationsintremove(constchar∗filename)•removesthefilefromthefilesystem.•retrnnon-zeroonerror.intrename(constchar∗oldname,constchar∗
jubincn
·
2011-10-31 10:00
c
function
Stream
File
generator
DST
6.087 Practical Programming in C,
lec
10
C standard library: stdio.h,ctype.h, stdlib.h, assert.h, stdarg.h, time.h <stdio.h>: File operations int remove(const char∗ filename) • removes the file from the filesystem. • retrn non-zero o
jubincn
·
2011-10-31 10:00
programming
6.087 Practical Programming in C,
lec
9
External libraries. B-trees,priority queues. Symbols and libraries • External libraries provide a wealth of functionality –example: C standard library • Programs access libraries’ functions and var
jubincn
·
2011-10-29 23:00
programming
6.087 Practical Programming in C,
lec
9
Externallibraries.B-trees,priorityqueues.Symbolsandlibraries•Externallibrariesprovideawealthoffunctionality–example:Cstandardlibrary•Programsaccesslibraries’functionsandvariablesviaidentifiersknownassy
jubincn
·
2011-10-29 23:00
c
tree
gcc
search
library
variables
6.087 Practical Programming in C,
lec
8
Voidandfunctionpointers.Hashtables.Voidpointers•Cdoesnotallowustodeclareandusevoidvariables.•voidcanbeusedonlyasreturntypeorparameterofafunction.•Callowsvoidpointers•Question:Whataresomescenarioswhere
jubincn
·
2011-10-28 14:00
c
function
Arrays
wrapper
structure
Pointers
6.087 Practical Programming in C,
lec
8
Voidandfunctionpointers.Hashtables.Voidpointers•Cdoesnotallowustodeclareandusevoidvariables.•voidcanbeusedonlyasreturntypeorparameterofafunction.•Callowsvoidpointers•Question:Whataresomescenarioswhere
jubincn
·
2011-10-28 14:00
programming
6.087 Practical Programming in C,
lec
7
<style type="text/css"> <!-- @page {margin:0.79in} p {margin-bottom:0.08in} h3 {margin-bottom:0.08in} h3.western {font-family:"Arial",sans-serif} h3.cjk {font-family:"
jubincn
·
2011-10-27 09:00
programming
6.087 Practical Programming in C,
lec
7
Pointerstopointers,pointerandstringarrays,multidimensionalarrays.Stacksandqueues.Pointerpointers•Whatdoesthisfunctiondo?voidswap(int∗∗a,int∗∗b){int∗temp=∗a;∗a=∗b;∗b=temp;}•Howdoesitcomparetothefamilia
jubincn
·
2011-10-27 09:00
c
String
Arrays
sorting
Numbers
Pointers
6.087 Practical Programming in C,
lec
6
User-defineddatatypes,structs,unions,bitfields.Memoryallocation.Linkedlists,binarytrees.StructureDefinition:Astructureisacollectionofrelatedvariables(ofpossiblydifferenttypes)groupedtogetherunderasingl
jubincn
·
2011-10-26 11:00
数据结构
c
struct
Arrays
structure
Pointers
6.087 Practical Programming in C,
lec
6
User-defined datatypes, structs, unions, bitfields. Memory allocation. Linked lists, binary trees. Structure Definition: A structure is a collection of related variables (ofpossibly different types) g
jubincn
·
2011-10-26 11:00
programming
6.087 Practical Programming in C,
lec
5: Pointers and memory addressing
Pointersandmemoryaddressing.Arraysandpointerarithmetic.Strings. Searchingandsortingalgorithms.Pointersandaddresses•Pointer:memoryaddressofavariable•Addresscanbeusedtoaccess/modifyavariablefromanywhere
jubincn
·
2011-10-22 23:00
c
Arrays
Primitive
sorting
variables
Pointers
6.087 Practical Programming in C,
lec
5
Pointers and memory addressing. Arrays and pointer arithmetic. Strings. Searching and sorting algorithms. Pointers and addresses • Pointer: memory address of a variable • Address can be used to ac
jubincn
·
2011-10-22 23:00
programming
6.087 Practical Programming in C,
lec
4:More control flow. Input and output.
Review:Blocks•Blockscombinemultiplestatementsintoasingleunit.•Canbeusedwhenasinglestatementisexpected.•Createsalocalscope(variablesdeclaredinsidearelocaltotheblock).•Blockscanbenested.{intx=0;{inty=0;
jubincn
·
2011-10-21 09:00
c
Stream
File
input
character
Pointers
6.087 Practical Programming in C,
lec
4:More control flow. Input and output.
Review: Blocks • Blocks combine multiple statements into a single unit. • Can be used when a single statement is expected. • Creates a local scope (variables declared inside are local tothe block
jubincn
·
2011-10-21 09:00
programming
6.087 Practical Programming in C,
lec
3: Control flow. Functions and modular programming. Variable s
声明:这个OCW类的Blog为我自己的一些看法,基本没有进行考证,因为我的目的是进行相关思考,未来学习编译原理的时候再看看自己的想法是否正确。 Blocks and compound statements • A simple statement ends in asemicolon: z = foo(x+y); • Consider the multiple statements:
jubincn
·
2011-10-19 23:00
programming
6.087 Practical Programming in C,
lec
3: Control flow. Functions and modular programming. Variable s
声明:这个OCW类的Blog为我自己的一些看法,基本没有进行考证,因为我的目的是进行相关思考,未来学习编译原理的时候再看看自己的想法是否正确。Blocksandcompoundstatements•Asimplestatementendsinasemicolon:z=foo(x+y);•Considerthemultiplestatements:temp=x+y;z=foo(temp);•Curl
jubincn
·
2011-10-19 23:00
c
function
header
interface
initialization
variables
6.087 Practical Programming in C,
lec
2: Variables and datatypes, operators.
Review:CProgramminglanguage•Cisafast,small,general-purpose,platformindependentprogramminglanguage.C中使用简单的数据类型(本质上全部都是数字)和有限的运算符(屈指可数)来构建其基本单元,使用栈来自动控制计算顺序,因此小而快。数字的表示和栈结构是所有计算机共有的,因此可以实现跨平台。总之,C和图灵机的计
jubincn
·
2011-10-18 23:00
c
语言
character
fortran
variables
Constants
6.087 Practical Programming in C,
lec
2: Variables and datatypes, operators.
Review: C Programming language • C is a fast,small,general-purpose,platform independent programming language. C中使用简单的数据类型(本质上全部都是数字)和有限的运算符(屈指可数)来构建其基本单元,使用栈来自动控制计算顺序,因此小而快。数字的表示和栈结构是所有计算机共有的,因此可以实
jubincn
·
2011-10-18 23:00
programming
6.087 Practical Programming in C,
lec
1:Introduction. Writing, compiling, and debugging C programs.
前言:最近通过MIT OCW的6.087Practial Programming in C来复习C语言,对照了下6.087的课程设置与C Programming Language的章节结构,感觉两者的顺序差不多,但6.087为了使学习曲线更平滑,将一些比较难的内容分为两个或多个章节,并将难点放到后面,从而使学习过程更为轻松。这里是6.087的链接:http://ocw.mit.edu/cou
jubincn
·
2011-10-12 23:00
programming
6.087 Practical Programming in C,
lec
1:Introduction. Writing, compiling, and debugging C programs.
前言:最近通过MITOCW的6.087 PractialProgramminginC来复习C语言,对照了下6.087的课程设置与CProgrammingLanguage的章节结构,感觉两者的顺序差不多,但6.087为了使学习曲线更平滑,将一些比较难的内容分为两个或多个章节,并将难点放到后面,从而使学习过程更为轻松。这里是6.087的链接:http://ocw.mit.edu/courses/ele
jubincn
·
2011-10-12 23:00
错误~~悲剧
1.ActivityMain.javapackagecom.
lec
.notification; importandroid.app.Activity; importandroid.app.Notification
icePhone
·
2011-07-25 11:00
thread
android
service
layout
button
encoding
CISCO交换机配置命令之二
interfaceatmnumberATM(config-if)#laneconfigdatabasedatabase-nameATM(config-if)#laneconfigauto-config-atm-address 31.将每个
LEC
dajune
·
2011-05-02 21:31
职场
Cisco
休闲
交换机
配置命令
交换机命令
ext-gwt-fck集成
jwc-gwt-fckeditor-0.2.2.jar这个jar包复制到项目,设置buildpath3,gwt配置文件里面加入4,编译,检查fckeditor目录是否已经复制到gwt项目的相应目录,如/war/com.
lec
.assurance.MainFrame
Jerry_BJ
·
2010-07-19 15:00
fckeditor
jar
gwt
上一页
2
3
4
5
6
7
8
9
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他