请输入您要查询的英文单词:

 

单词 reference counter
释义
reference counter
  • 简明释义
  • (计)引用计数器:引用计数器是一种用于跟踪对象被引用次数的机制。当对象被引用时,引用计数器加1;当对象不再被引用时,引用计数器减1。当引用计数器为0时,表示对象没有被引用,可以被回收。
  • 网络释义
  • 1

    [计]?引用计数器

    一种简单但是速度较慢的垃圾回收算法,每个对象拥有一个引用计数器(Reference Counter),当每次引用附加到这个对象时,对象的引用计数器加1。当每次引用超出作用范围或者被设置为null时,对象的引用计数器减1。

  • 2

    ?引用计数

    为了减少管理对象生命周期的编程工作量, Open CASCADE 中对象的删除函数是由手柄控制类的引用计数( reference counter )来确保。手柄就是用来管理引用计数,当对象不再引用时将会调用 delete 将其删除。

短语
  • 双语例句
  • 1
    In our sample, all we have to worry about is the reference counters-both the global and the object counter-and the "database" structures.
    在我们的例子里,我们全部要关心的是引用计数—全局和对象计数—和“数据库”结构。
  • 2
    Overhead in memory is very small: You basically have a 4- byte overhead per interface (the vtable pointers in the object's instance data) plus 4 bytes for the reference counter.
    内存开销非常小:基本上每个接口需要额外4个字节(对象实例数据里虚函数表指针),加上引用计数的4个字节。
  • 3
    When more than one special register is generated, you must qualify each reference to a LINAGE-COUNTER with its related file name.
    当生成多个专用寄存器时,必须用相关联的文件名指定对LINAGE - COUNTER的每个引用。
随便看

 

英汉双解词典包含3185865条英汉词条,基本涵盖了全部常用单词的翻译及用法,是英语学习的有利工具。

 

Copyright © 2004-2022 Newdu.com All Rights Reserved
更新时间:2025/3/30 13:35:12