孙福林ID:jdlsfl
28835次访问,排名4004好友90人,关注者125
软件
jdlsfl的文章
原创 92 篇
翻译 0 篇
转载 53 篇
评论 39 篇
福林天下的公告
If If you can keep your head when all about you Are losing theirs and blaming it on you; If you can trust yourself when all men doubt you, But make allowance for their doubting too; If you can wait and not be tired by waiting, Or, being lied about, don’t deal in lies, Or, being hated, don’t give way to hating, And yet don’t look too good, nor talk too wise; If you can dream - and not make dreams your master; If you can think - and not make thoughts your aim; If you can meet with triumph and disaster And treat those two impostors just the same; If you can bear to hear the truth you’ve spoken Twisted by knaves to make a trap for fools, Or watch the things you gave your life to broken, And stoop and build ’em up with 5)worn-out tools; If you can make one heap of all your winnings And risk it on one turn of pitch-and-toss, And lose, and start again at your beginnings And never breathe a word about your loss; If you can force your heart and nerve and sinew To serve your turn long after they are gone, And so hold on when there is nothing in you Except the Will which says to them: “Hold on !”; If you can talk with crowds and keep your virtue, Or walk with Kings - nor lose the common touch; If neither foes nor loving friends can hurt you; If all men count with you, but none too much; If you can fill the unforgiving minute With sixty seconds “worth of distance run”Yours is the Earth and everything that’s in it, And - which is more - you’ll be a Man !
最近评论
chenjiehong:
chenjiehong:我也不成功 也有迷茫过 不过我才不听什么李开复,王开复放P呢 叫他拖掉博士的马甲 他连扫垃圾都不够资格 所以我到觉得 花时间看这些白痴随便的定论 还不如自己想想下一步怎么走
我也迷茫过 不过还是坚持走程序员的路 虽然脑子不聪明 也不怎么灵活 虽然目前还是没工作 但我还是一步一步的去补上原来的漏洞 目前我正在一家超市打工 赚来的1500元除了补贴家用 就是买书看了 我依然对程序热爱 ……
chenjiehong:我也不成功 也有迷茫过 不过我才不听什么李开复,王开复放P呢 叫他拖掉博士的马甲 他连扫垃圾都不够资格 所以我到觉得 花时间看这些白痴随便的定论 还不如自己想想下一步怎么走
我也迷茫过 不过还是坚持走程序员的路 虽然脑子不聪明 也不怎么灵活 虽然目前还是没工作 但我还是一步一步的去补上原来的漏洞 目前我正在一家超市打工 赚来的1500元除了补贴家用 就是买书看了 我依然对程序热爱 ……
chenjiehong:我也不成功 也有迷茫过 不过我才不听什么李开复,王开复放P呢 叫他拖掉博士的马甲 他连扫垃圾都不够资格 所以我到觉得 花时间看这些白痴随便的定论 还不如自己想想下一步怎么走
我也迷茫过 不过还是坚持走程序员的路 虽然脑子不聪明 也不怎么灵活 虽然目前还是没工作 但我还是一步一步的去补上原来的漏洞 目前我正在一家超市打工 赚来的1500元除了补贴家用 就是买书看了 我依然对程序热爱 ……
chenjiehong:我也不成功 也有迷茫过 不过我才不听什么李开复,王开复放P呢 叫他拖掉博士的马甲 他连扫垃圾都不够资格 所以我到觉得 花时间看这些白痴随便的定论 还不如自己想想下一步怎么走
我也迷茫过 不过还是坚持走程序员的路 虽然脑子不聪明 也不怎么灵活 虽然目前还是没工作 但我还是一步一步的去补上原来的漏洞 目前我正在一家超市打工 赚来的1500元除了补贴家用 就是买书看了 我依然对程序热爱 ……
文章分类
收藏
    相册
    IT
    csdn(RSS)
    存档
    软件项目交易
    订阅我的博客
    XML聚合  FeedSky
    订阅到鲜果
    订阅到Google
    订阅到抓虾
    订阅到BlogLines
    订阅到Yahoo
    订阅到GouGou
    订阅到飞鸽
    订阅到Rojo
    订阅到newsgator
    订阅到netvibes

    转载 Java的位移操作收藏

    新一篇: Oracle10g 数据类型 | 旧一篇: 如何操作Cookie

    “<<”, “>>”, “>>>”在Java中是左移、有符号右移和无符号右移运算符。位移运算符只对int值进行操作,如果不是int,编译器会报错。在Java中,一个int的长度始终是32bit,也就是4个字节。

    比如t>>>n的含义就是把整数t右移n位,高位补上零。所以如果t是个负数,最高位是1,那么经过无符号右移之后,就成了一个正数。比如 -1>>>31=1。

    值得注意的是,虚拟机在进行位移操作之前,把位移的位数(即“t>>>n”中的n)对32取了模,左移或右移33位等价于移动1位,而且无论任何数,使其移动32位,其值都不会发生变化。因为在虚拟机看来,t>>>32与t>>>0是等价的(同理t<<32等价于t<<0)。移动64位也是如此,以此类推。

    那如果移动的位数 n 是负数怎么办呢?。 这时虚拟机会先让n对32取模,变成一个绝对值小于32的负数,然后再加上32,直到 n 变成一个正数。比如(k>>>-1) ==> (k>>>31); (k>>-43) ==> (k>>-11) ==> (k>>>21)。

    发表于 @ 2008年06月21日 15:26:00|评论(loading...)|收藏

    新一篇: Oracle10g 数据类型 | 旧一篇: 如何操作Cookie

    评论

    #njyky 发表于2008-07-07 17:30:52  IP: 58.213.92.*
    呵呵 记得上学时候都是这样的
    不过64位*64位的OS就不是的了
    #njyky 发表于2008-07-07 17:31:53  IP: 221.6.25.*
    才发现都是南京的嘛,MSN;yangkaiye@hotmail.com
    #lovingprince 发表于2008-07-16 17:38:48  IP: 121.0.31.*
    还不错,收藏一下,呵呵
    发表评论  


    登录
    Csdn Blog version 3.1a
    Copyright © 福林天下