• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C++ INC_STATS函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C++中INC_STATS函数的典型用法代码示例。如果您正苦于以下问题:C++ INC_STATS函数的具体用法?C++ INC_STATS怎么用?C++ INC_STATS使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了INC_STATS函数的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。

示例1: nameAttrGetter

static v8::Handle<v8::Value> nameAttrGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info)
{
    INC_STATS("DOM.TestException.name._get");
    TestException* imp = V8TestException::toNative(info.Holder());
    return v8String(imp->name(), info.GetIsolate());
}
开发者ID:yoavweiss,项目名称:RespImg-WebKit,代码行数:6,代码来源:V8TestException.cpp


示例2: attr2AttrGetter

static v8::Handle<v8::Value> attr2AttrGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info)
{
    INC_STATS("DOM.TestEventConstructor.attr2._get");
    TestEventConstructor* imp = V8TestEventConstructor::toNative(info.Holder());
    return v8String(imp->attr2(), info.GetIsolate());
}
开发者ID:Moondee,项目名称:Artemis,代码行数:6,代码来源:V8TestEventConstructor.cpp


示例3: INC_STATS

v8::Handle<v8::Value> V8WebGLUnsignedShortArray::setCallback(const v8::Arguments& args)
{
    INC_STATS("DOM.WebGLUnsignedShortArray.set()");
    return setWebGLArray<WebGLUnsignedShortArray, V8WebGLUnsignedShortArray>(args, V8ClassIndex::WEBGLUNSIGNEDSHORTARRAY);
}
开发者ID:325116067,项目名称:semc-qsd8x50,代码行数:5,代码来源:V8WebGLUnsignedShortArrayCustom.cpp


示例4: dataAttrGetter

static v8::Handle<v8::Value> dataAttrGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info)
{
    INC_STATS("DOM.TextEvent.data._get");
    TextEvent* imp = V8TextEvent::toNative(info.Holder());
    return v8String(imp->data());
}
开发者ID:Treeeater,项目名称:chrome_bindings,代码行数:6,代码来源:V8TextEvent.cpp


示例5: INC_STATS

v8::Handle<v8::Value> V8ScriptProfileNode::callUIDAccessorGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info)
{
    INC_STATS("DOM.ScriptProfileNode.callUIDAccessorGetter");
    ScriptProfileNode* imp = V8ScriptProfileNode::toNative(info.Holder());
    return v8::Number::New(imp->callUID());
}
开发者ID:0omega,项目名称:platform_external_webkit,代码行数:6,代码来源:V8ScriptProfileNodeCustom.cpp


示例6: farthestViewportElementAttrGetter

static v8::Handle<v8::Value> farthestViewportElementAttrGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info)
{
    INC_STATS("DOM.SVGLocatable.farthestViewportElement._get");
    SVGLocatable* imp = V8SVGLocatable::toNative(info.Holder());
    return toV8(imp->farthestViewportElement());
}
开发者ID:Treeeater,项目名称:chrome_bindings,代码行数:6,代码来源:V8SVGLocatable.cpp


示例7: yAttrGetter

static v8::Handle<v8::Value> yAttrGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info)
{
    INC_STATS("DOM.SVGPathSegLinetoVerticalAbs.y._get");
    SVGPathSegLinetoVerticalAbs* imp = V8SVGPathSegLinetoVerticalAbs::toNative(info.Holder());
    return v8::Number::New(imp->y());
}
开发者ID:Treeeater,项目名称:chrome_bindings,代码行数:6,代码来源:V8SVGPathSegLinetoVerticalAbs.cpp


示例8: INC_STATS

v8::Handle<v8::Value> V8DOMSettableTokenList::indexedPropertyGetter(uint32_t index, const v8::AccessorInfo& info)
{
    INC_STATS("DOM.DOMSettableTokenList.IndexedPropertyGetter");
    DOMSettableTokenList* list = V8DOMSettableTokenList::toNative(info.Holder());
    return v8StringOrNull(list->item(index));
}
开发者ID:1833183060,项目名称:wke,代码行数:6,代码来源:V8DOMSettableTokenListCustom.cpp


示例9: excitingAttrAttrGetter

static v8::Handle<v8::Value> excitingAttrAttrGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info)
{
    INC_STATS("DOM.TestActiveDOMObject.excitingAttr._get");
    TestActiveDOMObject* imp = V8TestActiveDOMObject::toNative(info.Holder());
    return v8Integer(imp->excitingAttr(), info.GetIsolate());
}
开发者ID:kcomkar,项目名称:webkit,代码行数:6,代码来源:V8TestActiveDOMObject.cpp


示例10: INC_STATS

v8::Handle<v8::Value> V8Console::memoryAccessorGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info)
{
    INC_STATS("DOM.Console.memoryAccessorGetter");
    Console* imp = V8Console::toNative(info.Holder());
    return toV8(imp->memory(), info.Holder(), info.GetIsolate());
}
开发者ID:pial003,项目名称:RespImg-WebCore,代码行数:6,代码来源:V8ConsoleCustom.cpp


示例11: INC_STATS

v8::Handle<v8::Value> V8WebGLByteArray::constructorCallback(const v8::Arguments& args)
{
    INC_STATS("DOM.WebGLByteArray.Contructor");

    return constructWebGLArray<WebGLByteArray, signed char>(args, &info, v8::kExternalByteArray);
}
开发者ID:UIKit0,项目名称:WebkitAIR,代码行数:6,代码来源:V8WebGLByteArrayCustom.cpp


示例12: INC_STATS

v8::Handle<v8::Value> V8DatabaseSync::readTransactionCallback(const v8::Arguments& args)
{
    INC_STATS("DOM.DatabaseSync.readTransaction()");
    return createTransaction(args, true);
}
开发者ID:mikedougherty,项目名称:webkit,代码行数:5,代码来源:V8DatabaseSyncCustom.cpp


示例13: SpySetName

VOID
SpySetName (
    __inout PRECORD_LIST RecordList,
    __in PDEVICE_OBJECT DeviceObject,
    __in_opt PFILE_OBJECT FileObject,
    __in ULONG LookupFlags,
    __in_opt PVOID Context
)
/*++

Routine Description:

    This routine looks up the FileObject in the hash table.  If the FileObject
    is found in the hash table, copy the associated file name to RecordList.
    Otherwise, calls NLGetFullPathName to try to get the name of the FileObject.
    If successful, copy the file name to the RecordList and insert into hash
    table.

Arguments:

    RecordList - RecordList to copy name to.
    FileObject - the FileObject to look up.
    LookInFileObject - see routine description
    DeviceExtension - contains the volume name (e.g., "c:") and
        the next device object which may be needed.

Return Value:

    None.

--*/
{
    PFILESPY_DEVICE_EXTENSION devExt = DeviceObject->DeviceExtension;
    UINT_PTR hashIndex;
    KIRQL oldIrql;
    PHASH_ENTRY pHash;
    PHASH_ENTRY newHash;
    PLIST_ENTRY listHead;
    PNAME_CONTROL newName = NULL;
    PCHAR buffer = NULL;
    NTSTATUS status;
    BOOLEAN cacheName;

    UNREFERENCED_PARAMETER( Context );

    try {

        if (FileObject == NULL) {

            SpyCopyFileNameToLogRecord( &RecordList->LogRecord, &gEmptyUnicode );
            leave;
        }

        hashIndex = HASH_FUNC(FileObject);

        INC_STATS(TotalContextSearches);

        listHead = &gHashTable[hashIndex];

        //
        //  Don't bother checking the hash if we are in create, we must always
        //  generate a name.
        //

        if (!FlagOn(LookupFlags, NLFL_IN_CREATE)) {

            //
            //  Acquire the hash lock
            //

            KeAcquireSpinLock( &gHashLockTable[hashIndex], &oldIrql );

            pHash = SpyHashBucketLookup( &gHashTable[hashIndex], FileObject );

            if (pHash != NULL) {

                //
                //  Copy the found file name to the LogRecord
                //

                SpyCopyFileNameToLogRecord( &RecordList->LogRecord, &pHash->Name );

                KeReleaseSpinLock( &gHashLockTable[hashIndex], oldIrql );

                INC_STATS( TotalContextFound );

                leave;
            }

            KeReleaseSpinLock( &gHashLockTable[hashIndex], oldIrql );
        }

#if WINVER >= 0x0501
        //
        //  We can not allocate paged pool if this is a paging file.  If it is
        //  a paging file set a default name and return
        //

#if __NDAS_FS__

//.........这里部分代码省略.........
开发者ID:yzx65,项目名称:ndas4windows,代码行数:101,代码来源:fspyhash.c



注:本文中的INC_STATS函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C++ INDEX函数代码示例发布时间:2022-05-30
下一篇:
C++ INC_DEC函数代码示例发布时间:2022-05-30
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap