You've got to do it above this chunk of code, you've got to do it inside this chunk of code.
你不得不在一大段代码之上来实现它,你不得不在一大段代码之内来实现它。
When you call a function, what actually happens is that function gets its own chunk of memory that's identical in size to the data type that it expects.
当你调用一个函数,实际上发生的是,函数得到了自己的内存块,相同的类型,是占有一样大小的内存的。
Likewise for mass, we will take a chunk of some material and we will call it a kilogram.
质量也是这样,我们找来一大块材料,然后称它为 1 千克
Death is bad insofar as it deprives you of a chunk of life that would have been good.
死亡是坏的,因为它剥夺了,你的本可以美好的生命。
I'm going to assign each chunk to a different writer. And they're going to go off and write that element, that hour's worth of stuff.
我将把每个部分分给一个作家,它们将撰写每一个部分,也就是每个小时的内容,你可以想象你得到的是什么:
And these cases are so interesting I want to devote some chunk to a class in the next few weeks to discussing them.
这些研究都非常有研究价值,我会在随后几周的某节课里,花较多的时间来讲述这些研究
Somehow the oikos obtains a chunk of land that is understood to belong to it.
贵族家庭控制了大片土地,土地属于其私人所有
So let's hear a little bit of this and then we'll stop so they don't sue us for copyright infringement and then we'll go somewhere else and take another chunk.
那么我们听一小段,然后我们就停,免得他们告我们侵权,然后我们又得去找别的段子了
They all died. And it was--not everybody, but in France 1,500,000 people died, and that's a huge demographic chunk, it's like a big shark took a big bite out of your basic pyramid of your demographic tree.
都死了,的确是,倒不是所有人,但是在法国有一百五十万人阵亡,这在人口比例中占很大一部分,就好像一个大鲨鱼照着,人口树的基底咬了一大口
you can see that the subcortical here, so this is a brain that was cut away here, here, and here was a chunk taking out, you can see deep into this area you can also see that's what happening in the cortex.
你可以看看这块皮质下层,大脑在这块,这块,还有这块被分隔开了,这一大块,你可以看得很深,你能看见在皮质层里发生了什么事情。
And now that you have patterns of bits after bits after bits, and if you chunk them up into say, eight-unit quantities, now can you start storing words and sentences, and paragraphs.
你现在按照一定模式一位一位的进行排列,如果你组成块,8位一个单位,这时候我们就可以存储字和句子以及段落。
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.
结果是稍微在堆之前,稍微在这个内存块概念之前,另外还一个东西叫做环境变量,我们之后可能看到,内存中的其他地方,是其他的东西。
Well, again, just as I said verbally a moment ago, if you're going here, you're literally touching, trying to read or change memory that's beyond the boundaries of a chunk of memory that you're supposed to be touching based on its length.
嗯,再次强调,就像我刚才说的,如果你从这里出发,你将依次接触到,试着读取或者改变内存,如果超出了你可以使用的,内存块长度的界限。
And when we return the string to you we're essentially telling you where this chunk of memory is.
当我们返回该字符串时,我们实际上是告诉你,这块存储单元位于哪里。
You put a chunk of wood on a table and you try to move it at constant speed.
你把一大块木头放在桌子上,试着让它匀速运动
This chunk of code and this chunk of code, they're really doing the same thing.
这一块代码和这一块代码,它们实际上是相同的功能。
The next chunk of life is always not worth having, " always worse than nothing."
下一阶段的生活都不值得拥有,“没有比拥有要好“
Suppose I want to compute square roots a lot of places in a big chunk of code.
假设我想在一大段代码中,计算很多次平方根。
So the heap is a chunk of memory in a computer's RAM that's conceptually allocated to what's called dynamic memory allocation.
堆是在计算机RAM中的一块内存,它可以进行,动态内存分配。
Yeah, a pointer to this chunk of memory.
是的,一个指向这块内存的指针。
You're incrementing this chunk of memory.
你增加了这一块内存。
If that would've been worth having, then-- if the next chunk of my life would've been worth having-- then it's bad for me that I die now instead of living for the next ten years.
如果它是值得拥有的话-,如果我下阶段的生活值得拥有的话-,那么它就是坏事,因为我现在就死了,无法再活十年。
It's just a chunk of characters back to back to back so this is storing at the very first location in the string what?
它只是一串紧邻的字母串,所以它把什么存储在,字符串的第一个地址下?
Well, if that function calls another function, you put another tray on, and so that new tray represents that function's chunk of memory.
好的,如果那个函数调用另一个函数,你再放一个托盘在上面,新的托盘代表,那个函数的内存块。
It's just some random chunk of four bytes that happens to be available at this point in time, but I can put something there.
只是一些随机的四字节的内存块,在这里是可以使用的,但是我可以在那里放置东西。
Well, this will, in fact, be declared, but, unfortunately, you're using a different chunk of memory.
好的,这个被声明了,但是,不幸的是,你在使用一块不同的内存。
Well, if you want to call a function, it's like putting another tray on that stack of trays and that tray represents a chunk of memory that, that function can use.
嗯,如果你想调用一个函数,这就像把一个托盘放到另一个托盘上,托盘代表一块,函数可以使用的内存。
应用推荐