码迷,mamicode.com
首页 >  
搜索关键字:unhandled event loop    ( 14041个结果
[bx]和loop指令
1.[bx]的含义 [bx]表示一个内存单元,它的偏移地址在bx中,比如:mov ax,[bx]会将一个内存单元的内容送入ax,这个内存单元的长度是2个字节,存放一个字,偏移地址存放在bx中,段地址在ds中。mov al,[bx]则是移动半个字。 2.loop指令 loop 标号 CPU执行loop指令的时候分两步: 1.(cx)=(cx)-1 2.判定cx中的值,不为零则转至...
分类:其他好文   时间:2014-07-22 23:01:15    阅读次数:263
epoll函数及三种I/O复用函数的对比
epoll函数#include int epoll_create(int size)int epoll_ctl(int epfd, int op, int fd, struct epoll_event *event)int epoll_wait(int epfd,struct epoll_event...
分类:其他好文   时间:2014-05-06 00:21:30    阅读次数:519
[ISSUE]Lambda binding for lua is not supported.
环境: cocos2d-x + lua 3.0beta2想使用CCNotification, 发现3.0已经替换为CCEvent, 晃了一眼设计,不错原来在C++ 上自己也实现了一套Event,因为不满意CCNotification 没有优先级,没有自定义分类(比如UI,Logic),不能携带数据,...
分类:其他好文   时间:2014-05-05 23:39:31    阅读次数:1327
对int、iret和栈的深入理解
我们以一个程序来展开讨论:用7ch中断例程完成loop指令的功能,在屏幕中间显示80个"!" 1.程序框架如下 assume cs:code code segment start: mov ax,0b800h ;向8086CPU显存的地址 mov di,160*12 ;显示位置 mov bx,offset s-offset se ;跳转的位移 mov cx,80 ;循环次数 s: m...
分类:其他好文   时间:2014-05-05 13:00:20    阅读次数:321
JavaScript判断图片是否加载完成的三种方式
一、load事件?12345678910111213141516 img - load event loading... 测试,所有浏览器都显示出了“loaded”,说明所有浏览器都支持img的load事件。二、readystatechange事件?12345678910111213141...
分类:编程语言   时间:2014-05-04 12:02:50    阅读次数:482
Let us learn C in Code <11> flowchart while
So many days passed since the last C tutorial about the flowchart, this chapter we will go on  the flowchart and while loops...
分类:其他好文   时间:2014-05-04 09:01:20    阅读次数:307
JavaScript判断图片是否加载完成的三种方式
有时需要获取图片的尺寸,这需要在图片加载完成以后才可以。有三种方式实现,下面一一介绍。一、load事件 img - load event loading... 测试,所有浏览器都显示出了“loaded”,说明所有浏览器都支持img的load事件。二、readystatechange事件 ...
分类:编程语言   时间:2014-05-03 22:18:43    阅读次数:430
第八章 用户界面(四)
第八章 用户界面(四) 处理 WinForms 事件和事件模块   在第七章我们讨论过事件(Event)模块,它能够用于处理 WinForms 中的事件。当处理 WinForms 中的事件时,通常会遇到没有完全符合想要事件的情况。例如,当鼠标的左、右键单击时会触发MouseButton 事件,但是,我们可能只希望它响应鼠标左键的单击。这时,用 Event.filter 函数可...
分类:其他好文   时间:2014-05-03 20:52:28    阅读次数:279
纠正for循环中关键字continue的执行顺序
下面是一个小程序,可以很好阐述 关键字:continue,break; package org.song.loop; public class TestLoop { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub int tot...
分类:其他好文   时间:2014-05-03 00:03:21    阅读次数:311
java监听器
一、先看看jdk提供的event包:public interface EventListener:所有事件侦听器接口必须扩展的标记接口。package java.util;/** * A tagging interface that all event listener interfaces mus...
分类:编程语言   时间:2014-05-02 00:25:21    阅读次数:432
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!