STUDENT: No. Not unless he wants to break the vase into little pieces and stuff it in the corners.
学生:【听不见】,教授:不,除非它想把花瓶打成碎片,然后把它们堆到角落里。
where you sit in a room and you're huddled over you know, whatever, you're just counting it over and over and over again.
你蜷缩在屋子一角,手旁一堆工作,然后你就在那儿一遍又一遍地计算。
II Only thin smoke without flame ; From the heaps of couch-grass; Yet this will go onward the same Though Dynasties pass.
只有没有火焰的烟,从茅草堆中冒出;,然而这还是会照样向前,即使朝代更迭。
Regimes or constitutions you might say are forms or formalities that determine how power is shared and distributed among citizens.
政体或宪法是一堆形式或形态,那决定了权力如何,共享与分配给其公民。
It gets popped off the stack as one says and so you know what the values actually as we've hinted at with our brief discussions of forensics they're actually still there.
它从堆中释放了,那些值是什么,就像我们讨论的辩论练习,所暗示的,我们还在那里。
And finally, we often think of a set of materials for teaching, there's a set of lectures notes that we hand out to students, for example.
最后,我们常想有一堆材料,来教学,比如我们,常常发给学生的讲义。
Before that, people used to put papers in piles, tie them up in ribbons, and put them on bookshelves or in drawers.
在此之前,人们经常将纸堆起来,用丝带卷好系上,然后放在书架上或是抽屉里。
It seems like magic that a fleshy lump of gray, disgusting meat can give rise to these feelings.
这就像魔术一样,一堆灰色的,恶心的肉团,居然能产生如此丰富的情感
We don't want to have a bunch of short stories strung together.
我们不不想讲一堆小故事,绑在一起了事。
I'll compute its value. Then I'll empty the backpack out, put another combination of stuff compute its value, try all possible ways of filling up the backpack, and then when I'm done, I'll know which was the best.
直至把它填满,然后计算价值,然后我把包里的东西都导出来,再换一堆东西计算它们的价值,尝试过所有填满包的方案后,我就知道哪一种方案是最好的了。
And the answer, not that there aren't puzzles about it, but the answer is roughly, "It's the very same car if it's the very same hunk of metal and plastic and wires."
而答案,虽然还存在疑问,但答案大致上是,如果是同一堆铁,塑料,电线,就是同一辆车“
I have a lot of work to do and I have to work tomorrow.
我有一堆活要干,我明天也得工作。
You'll also see that they have all the physical constants that you're going to need, and also a bunch of the actual equations that we've been using in the first couple weeks here.
大家还可以看到这里有,你可能会用到的所有物理常数,还有一堆公式,是那些我们这几周来一直在用的。
They decide they're going to have a bonfire and they build this giant fire and into it they throw everything from the past.
他们决定要燃起一堆篝火,将之化为熊熊烈焰,将过去的一切尽抛其中
And the truth of whether a book should or should not be censored is something that's come about through the diligent effort of a group, rather than a single arbitrary judge like the state licenser.
但一本书是否真正被控制,是一堆人努力的结果,而不是政府出版管理处的人员专横的决定。
Please don't anybody tell me late - any time after today you didn't know when the mid-term was and therefore it clashes with 17 different things.
所以以后千万别跟我说,你不知道什么时候期中考试,然后还在考试那天安排大一堆事儿去做
So, I think if we said we've got melody, we've got theme, we've got bass, we've got a bunch of other stuff in the middle, that's just fine and dandy.
那么,如果说我们听到了旋律,听到主题,听到低音部,听到中间有一堆别的东西,就算令人满意了
If you think of these kind of like trays in a cafeteria, right, that are kind of upside down, and by default, they're stacked from the floor on up and up and up.
如果你想象这种自助餐厅的托盘,对的,那有点混乱的,默认的,它们从地板开始往上堆起来。
As Lewis Carroll's Alice might have phrased it, "You're nothing but a pack of neurons."
正如刘易斯·卡罗尔,在《爱丽斯》中所描述的,"你不过是一堆神经元罢了"
The heap offers us a solution to that problem.
堆就为那个问题提供了一个解决方案。
So, conceptually if you've ever wondered why you get access in all of your functions to global variables that's because they're not down here, they're at the very top of RAM and any function can access that RAM way up there, but for now the interesting player in the story is this thing called the heap.
所以,如果你想知道为什么全局变量能在,所有的函数中使用,那是因为它们不在这下面,而是在内存的顶端,那样任意函数都可以在内存中使用它们,现在,这里面一个有用的角色是,叫做堆的东西。
But as soon as the most recently called function finishes executing, you have to take that tray off the stack in order to get at the previous function's memory, and once he's done executing, you have to take that one off and then what's left well then main.
但是,一旦新的调用函数结束了执行,你必须从堆中把托盘拿掉,用来获得先前函数的内存,一旦他完成执行,你必须把那一块拿下来,然后剩下的是main函数。
The hay, that is, well, what? The payoff, what the poem is all about, what mowing is all about.
这堆草又是什么呢,是成果,诗歌的成果,割草的结果。
But when he take a wooden block tower apart and then put the pieces back together piece for piece duplicate.
但当你拆掉堆好的木积木,又把它们重新摆在一起,照原样一块块摆好。
It turns out that slightly before the stack, slightly before this conceptual chunk of memory, there's other things called environment variables that we may see over time but elsewhere in memory are other things.
结果是稍微在堆之前,稍微在这个内存块概念之前,另外还一个东西叫做环境变量,我们之后可能看到,内存中的其他地方,是其他的东西。
All right. The rules, though, are, they can only move one disk at a time, and they can never cover up a smaller disk with a larger disk. OK. Otherwise you'd just move the whole darn stack, OK?
好,规则是,他们只能一次挪动一个盘子,并且不能把大盘子放在小盘子上,不这样的话你就直接,把这一堆盘子都挪过来了对不对?
Now, as an aside, there's another couple of layers at the very top above the stack and above the heap, but below the tech segment and those are called initialized data and uninitialized data.
题外话,在堆和栈的顶端,还有好几层,但是在技术段之下,他们被叫做初始化数据和未初始化数据。
I have no idea where that is other than to know that it's up so let's just go ahead and assume that everything over here is the heap so what has just happened?
我不知道它在哪里,只知道它在上面,我们假设这里所有的东西是堆,那么会发生什么呢?
Well, because the memory we've been using for local variables, and for functions, storage space is what computer scientists generally call the stack.
好的,因为我们看到的内存是用于局部变量的,用于函数的,存储空间就是计算机科学家,通常说的堆。
That is the address in memory in the heap of the first byte that the user typed in.
那是用户输入的字符串第一个字节,内存中堆的地址。
应用推荐