CINXE.COM

对象 - 标签 - 腾讯云开发者社区-腾讯云

<!DOCTYPE html><html munual-autotracker-init="" qct-pv-id="AOsKf7nJA8rq-WckQ7DL4" qct-ip="8.222.208.146"><head><meta charSet="UTF-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/><title>对象 - 标签 - 腾讯云开发者社区-腾讯云</title><meta name="keywords" content="对象,云+社区标签"/><meta name="subjectTime" content="2023-03-14 11:34:54"/><meta name="description" content=""/><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, viewport-fit=cover"/><meta name="format-detection" content="telephone=no"/><link rel="canonical" href="https://cloud.tencent.com/developer/tag/17248"/><link rel="stylesheet" href="//cloudcache.tencent-cloud.cn/open_proj/proj_qcloud_v2/gateway/portal/css/global-20209142343.css"/><link rel="stylesheet" href="//cloudcache.tencent-cloud.cn/qcloud/ui/cloud-community/build/base/base-202410111735.css"/><link rel="stylesheet" href="//cloudcache.tencent-cloud.cn/open_proj/proj_qcloud_v2/community-pc/build/AskDialog/AskDialog-202204021635.css?max_age=31536000"/><link rel="stylesheet" href="//cloudcache.tencent-cloud.cn/open_proj/proj_qcloud_v2/community-pc/build/AskDialog/AskDialog-202204021635.css?max_age=31536000"/><link rel="stylesheet" href="//cloudcache.tencent-cloud.cn/qcloud/ui/community-pc/build/base/base-202410211524.css"/><link rel="stylesheet" href="//cloudcache.tencent-cloud.cn/qcloud/ui/cloud-community/build/base/base-202410111735.css"/><link rel="stylesheet" href="//cloudcache.tencent-cloud.cn/open_proj/proj_qcloud_v2/community-pc/build/Tag/Tag-202105140928.css?max_age=31536000"/><link rel="stylesheet" href="//cloudcache.tencent-cloud.cn/open_proj/proj_qcloud_v2/community/portal/css/markdown-201810241044.css?max_age=31536000"/><link rel="stylesheet" href="//cloudcache.tencent-cloud.cn/qcloud/draft-master/dist/draft-master-v2.0.118.d4s2ddo9sb.css?max_age=31536000"/><style media="screen">@supports (padding:max(0px)){.set-safe-area .com-main{bottom:calc(max(12px,constant(safe-area-inset-bottom)) + 50px);bottom:calc(max(12px,env(safe-area-inset-bottom)) + 50px)}.set-safe-area .com-main-simple-sec,.set-safe-area .com-main.without-tab-ft,.set-safe-area .com-main.without-ft{bottom:max(12px,constant(safe-area-inset-bottom));bottom:max(12px,env(safe-area-inset-bottom))}.set-safe-area .com-main-sec{bottom:max(12px,constant(safe-area-inset-bottom));bottom:max(12px,env(safe-area-inset-bottom))}.set-safe-area .com-m-footer,.set-safe-area .sa-fixed-btns{bottom:max(12px,constant(safe-area-inset-bottom));bottom:max(12px,env(safe-area-inset-bottom))}.set-safe-area .com-mobile-body{bottom:max(12px,constant(safe-area-inset-bottom));bottom:max(12px,env(safe-area-inset-bottom))}}@supports (padding:max(0px)){.set-safe-area .support-wrap,.set-safe-area div.body{bottom:max(12px,constant(safe-area-inset-bottom));bottom:max(12px,env(safe-area-inset-bottom))}.set-safe-area .com-responsive-no-ft div.body{bottom:max(12px,constant(safe-area-inset-bottom));bottom:max(12px,env(safe-area-inset-bottom))}}.doc-con .J-docShareModal{display: none;} .doc-con .J-docShareCopyTipModalMB{display: none} .with-focus+.com-main-simple-sec, .with-focus+.com-main,.with-focus+.com-body,.with-focus+.qa-body{top:100px} .qa-detail-ask-panel:after{display:none!important;} .sa-fixed-btns .c-btn-weak{background-color: #fff;} .qa-r-editor.draft-editor-host.rno-markdown{height: 290px;overflow-y:auto;} .uc-achievement{line-height:24px;margin-bottom:5px;white-space: initial;overflow:visible;text-overflow:initial} .uc-achievement .uc-achievement-icon{top:0;margin-top:0;}</style></head><body style="position:initial"><div id="react-root" class=""><div class="comp-tag-detail"><div class="cdc-header is-fixed"><div class="cdc-header__placeholder"></div><div class="cdc-header__inner"><div class="cdc-header__top"><div class="cdc-header__top-left"><a href="/?from=20060&amp;from_column=20060" target="_blank" class="cdc-header__top-logo"><i>腾讯云</i></a><div class="cdc-header__top-line"></div><a href="/developer" class="cdc-header__top-logo community"><i>开发者社区</i></a><div class="cdc-header__activity"><div id="cloud-header-product-container"></div></div></div><div class="cdc-header__top-operates"><a href="/document/product?from=20702&amp;from_column=20702" target="_blank" class="cdc-header__link">文档</a><a href="/voc/?from=20703&amp;from_column=20703" target="_blank" class="cdc-header__link">建议反馈</a><a href="https://console.cloud.tencent.com?from=20063&amp;from_column=20063" target="_blank" class="cdc-header__link" track-click="{&quot;areaId&quot;:102001,&quot;subAreaId&quot;:1}">控制台</a><div class="cdc-header__account"><div class="cdc-header__account-inner"><button class="cdc-btn cdc-header__account-btn cdc-btn--primary">登录/注册</button></div></div></div></div><div class="cdc-header__bottom"><div class="cdc-header__bottom-nav"><a href="/developer" class="cdc-header__bottom-home">首页</a><div class="cdc-header__nav-list"><div class="cdc-header__nav-item">学习</div><div class="cdc-header__nav-item">活动</div><div class="cdc-header__nav-item">专区</div><div class="cdc-header__nav-item">工具</div></div><a href="/tvp?from=20154&amp;from_column=20154" class="cdc-header__tvp" target="_blank">TVP</a><div class="cdc-header__activity"><a class="cdc-header__activity-tit" href="/act?from=20061&amp;from_column=20061" target="_blank">最新优惠活动<div class="cdc-badge"><div class="cdc-badge-inner"><div class="cdc-badge-text"></div></div></div></a></div><div id="community-header-product-container"></div></div><div class="cdc-header__bottom-operates"><div class="cdc-header__search"><div class="cdc-search__wrap"><div class="cdc-search"><span class="cdc-search__text">文章/答案/技术大牛</span><button class="cdc-search__btn">搜索<i class="cdc-search__i search"></i></button></div><div class="cdc-search__dropdown"><div class="cdc-search__bar"><input type="text" class="cdc-search__bar-input" placeholder="文章/答案/技术大牛" value=""/><div class="cdc-search__bar-btns"><button class="cdc-search__btn">搜索<i class="cdc-search__i search"></i></button><button class="cdc-search__btn">关闭<i class="cdc-search__i clear"></i></button></div></div></div></div></div><div class="cdc-header__create"><span class="cdc-header__create-btn not-logged"><span class="cdc-svg-icon-con"><span class="cdc-svg-icon" style="line-height:1;color:#0052D9;width:16px;height:16px"><svg width="16" height="16" viewBox="0 0 16 16" fill="currentcolor" xmlns="http://www.w3.org/2000/svg"><path d="M14.2466 12.0145C14.1698 13.6258 12.8381 14.9131 11.2129 14.9131H11.1579H4.0927H4.03772C2.4125 14.9131 1.08014 13.6258 1.00334 12.0145H1V11.8668V4.07213V4.04627V3.89922H1.00334C1.08014 2.28732 2.4125 1 4.03772 1H9.6473V1.00069H10.0786L8.7688 2.10773H8.43888H7.7916H6.37904H4.03772C2.97234 2.10773 2.10445 2.9777 2.10445 4.04629V4.41869V4.4472V6.39498V11.4269V11.4309V11.8668C2.10445 12.9354 2.97234 13.8053 4.03772 13.8053H6.37904H8.87153H11.2129C12.2782 13.8053 13.1461 12.9355 13.1461 11.8668V11.466V11.454V9.5181V6.39364L14.2506 5.3051V11.8668V12.0145H14.2466ZM10.4324 7.15226L9.63146 7.99761C9.36577 8.2693 8.69326 8.95104 8.48066 9.17631C8.26726 9.40288 8.09039 9.58901 7.95061 9.73544C7.81079 9.88188 7.72667 9.96597 7.70083 9.98656C7.63321 10.0488 7.55703 10.1144 7.47022 10.1846C7.38412 10.2542 7.29404 10.3099 7.20063 10.3516C7.10722 10.4007 6.97072 10.459 6.79049 10.5305C6.61028 10.6001 6.42213 10.6676 6.22468 10.7339C6.02792 10.8002 5.84109 10.8571 5.66484 10.9061C5.48795 10.9538 5.3561 10.9863 5.2693 11.0009C5.08977 11.0214 4.96988 10.993 4.90956 10.9168C4.84931 10.8405 4.83276 10.7107 4.85924 10.5312C4.87315 10.4331 4.9043 10.292 4.95468 10.1078C5.00431 9.92297 5.05802 9.7315 5.11431 9.53341C5.1713 9.33526 5.22629 9.15179 5.27926 8.98484C5.33297 8.8179 5.37599 8.7026 5.40978 8.64032C5.44953 8.54357 5.49463 8.45413 5.54495 8.37399C5.59465 8.29379 5.66616 8.20503 5.75965 8.10766C5.79934 8.06588 5.89281 7.96649 6.03988 7.81018C6.18624 7.65311 6.80114 7.02774 7.02104 6.79783L7.75117 6.03524L8.56212 5.1899L10.6345 3.02466L12.5214 4.93874L10.4324 7.15226ZM13.816 3.58581C13.7166 3.68987 13.6272 3.78064 13.5483 3.85883C13.4694 3.93703 13.4006 4.0066 13.3423 4.06686C13.276 4.13643 13.2144 4.19738 13.1561 4.24903L11.2785 2.33569C11.3785 2.24025 11.4965 2.12565 11.6336 1.99115C11.7707 1.85668 11.8854 1.75061 11.9761 1.67242C12.0934 1.57708 12.2133 1.51013 12.3385 1.47109C12.4525 1.43529 12.5644 1.41805 12.6751 1.41876H12.7056C12.7665 1.42139 12.8268 1.42729 12.8851 1.43724C12.8838 1.4366 12.8811 1.43724 12.8798 1.4366C12.8811 1.4366 12.8838 1.4366 12.8851 1.43724C13.1376 1.48428 13.4019 1.62009 13.6265 1.83743C13.7511 1.95871 13.8524 2.09382 13.9259 2.23296C14.0346 2.43834 14.0863 2.65304 14.0763 2.8491C14.0763 2.87294 14.0783 2.89748 14.0783 2.92201C14.0783 3.03529 14.0571 3.14789 14.0154 3.26055C13.9737 3.37314 13.9067 3.48185 13.816 3.58581Z" fill="#0052D9"></path></svg></span></span>发布<span class="cdc-svg-icon-con cdc-header__create-btn-arrow"><span class="cdc-svg-icon" style="line-height:1;color:inherit;width:16px;height:16px"><svg width="16" height="16" viewBox="0 0 16 16" fill="currentcolor" xmlns="http://www.w3.org/2000/svg"><path d="M8.16377 4L9.57798 5.41421L14.5277 10.364L13.1135 11.7782L8.1638 6.829L3.21402 11.7782L1.7998 10.364L8.16377 4Z"></path></svg></span></span></span></div></div></div></div></div><div class="cdc-m-header with-focus is-fixed"><div class="cdc-m-header__placeholder"></div><div class="cdc-m-header__inner"><div class="cdc-m-guider-banner is-sticky"><div class="cdc-m-guider-banner__guide-mvp" track-exposure="{&quot;areaId&quot;:118000}" track-click="{&quot;areaId&quot;:118000}"><div class="cdc-m-guider-banner__guide-mvp-text">精选内容/技术社群/优惠产品,<em>尽在小程序</em></div><div class="cdc-m-guider-banner__guide-mvp-btn">立即前往</div></div></div><div class="cdc-m-header__main"><div class="cdc-m-header__trigger"></div><div class="cdc-m-header__logo"><i class="cdc-m-header__logo-icon"></i></div><div class="cdc-m-header__search"><i class="cdc-m-header__search-icon"></i></div><div class="cdc-m-header__operate"><span class="cdc-m-header__operate-icon"></span></div></div></div></div><div class="J-body com-body max-width"><div class="com-crumb"><div class="com-inner"><a href="/developer" class="crumb-item">首页</a><span class="crumb-split"></span><a href="/developer/tags" class="crumb-item">标签</a><span class="crumb-split"></span><span class="crumb-item current">对象</span></div></div><div track-click="{&quot;areaId&quot;:{&quot;areaId&quot;:113006}}" track-exposure="{&quot;areaId&quot;:{&quot;areaId&quot;:113006}}" class="com-tag-intro"><i class="intro-bg"></i><h2 class="intro-title"><em>#</em>对象</h2><p class="intro-desc"></p><div class="intro-btns"><button type="button" class="c-btn" track-click="{&quot;elementId&quot;:1}">关注</button></div></div><div class="com-2-layout"><div class="layout-main"><div class="com-tab large tag-tab"><div class="com-tab-hd large"><ul class="com-tab-ctrl"><li class="com-tab-item actived"><a href="javascript:;">专栏文章<span class="num">(11.9K)</span></a></li><li class="com-tab-item"><a href="/developer/tag/17248?entry=video">技术视频<span class="num">(0)</span></a></li><li class="com-tab-item"><a href="/developer/tag/17248?entry=ask">互动问答<span class="num">(241)</span></a></li></ul></div><div class="com-tab-bd"><com class="com-tab-panel"><div class="com-article-panel-v2-list"><section class="com-article-panel-v2 higher"><a href="/developer/article/2470342" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;article&quot;,&quot;objectId&quot;:2470342}" track-exposure="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;article&quot;,&quot;objectId&quot;:2470342}" target="_blank" class="com-article-panel-v2-link"></a><div class="com-article-panel-v2-hd"><h3 class="com-article-panel-v2-title">探索C++三大特性--C++多态详解:从入门到深入</h3><nav class="com-tag-v2-list com-article-panel-v2-tags"><a href="/developer/tag/17590?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17590}" class="com-tag-v2">指针</a><a href="/developer/tag/10166?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:10166}" class="com-tag-v2">c++</a><a href="/developer/tag/17248?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17248}" class="com-tag-v2">对象</a><a href="/developer/tag/17290?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17290}" class="com-tag-v2">函数</a><a href="/developer/tag/17416?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17416}" class="com-tag-v2">入门</a></nav></div><div class="com-article-panel-v2-bd"><div class="com-article-panel-v2-cnt"><div class="com-article-panel-v2-user-wrap"><div class="com-media com-user-infos"><a href="/developer/user/11289931" track-click="{&quot;objectType&quot;:&quot;user&quot;,&quot;objectId&quot;:11289931}" target="_blank" class="com-media-object"><span class="com-media-img" style="background-image:url(https://developer.qcloudimg.com/avatar/39931.png?imageView2/2/w/48/h/7000)"></span></a><div class="com-media-body"><a href="/developer/user/11289931" track-click="{&quot;objectType&quot;:&quot;user&quot;,&quot;objectId&quot;:11289931}" target="_blank" class="author-info name">用户11289931</a><span class="author-info time"><time dateTime="2024-11-24 09:41:36" title="2024-11-24 09:41:36"> <span>4</span>小时前<span class="com-v-box">2024-11-24 09:41:36</span></time></span></div></div></div><p class="com-article-panel-v2-des">在C++中,多态(Polymorphism)是面向对象编程中的一个重要特性,允许不同的数据类型通过统一的接口进行处理。这种特性使得程序的可扩展性和可维护性大大提...</p><div class="com-operations com-article-panel-v2-opt"><span class="com-opt-link link-view"><i class="com-i-view"></i>2</span><span class="com-opt-link link-like"><i class="com-i-like"></i>0</span><span class="com-opt-link link-comment"><i class="com-i-dialog"></i>0</span><span><a href="javascript:;" class="com-opt-link link-share" hotrep="community.tag.tag_detail.activities.article.2470342.sharing"><i class="com-i-share"></i></a><ul class="com-share-options"></ul></span></div></div></div></section><section class="com-article-panel-v2 higher"><a href="/developer/article/2470299" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;article&quot;,&quot;objectId&quot;:2470299}" track-exposure="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;article&quot;,&quot;objectId&quot;:2470299}" target="_blank" class="com-article-panel-v2-link"></a><div class="com-article-panel-v2-hd"><h3 class="com-article-panel-v2-title">【人工智能】Transformers之Pipeline(二十四):文本特征抽取(feature-extraction)</h3><nav class="com-tag-v2-list com-article-panel-v2-tags"><a href="/developer/tag/17301?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17301}" class="com-tag-v2">继承</a><a href="/developer/tag/17381?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17381}" class="com-tag-v2">模型</a><a href="/developer/tag/10539?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:10539}" class="com-tag-v2">人工智能</a><a href="/developer/tag/15259?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:15259}" class="com-tag-v2">pipeline</a><a href="/developer/tag/17248?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17248}" class="com-tag-v2">对象</a></nav></div><div class="com-article-panel-v2-bd"><div class="com-article-panel-v2-object"><span class="com-article-panel-v2-img" style="background-image:url(https://developer.qcloudimg.com/http-save/yehe-6998696/39f0e1bfa5f1b8d09f2aadf707ce5bf7.jpg?imageView2/2/w/400/h/7000)"></span></div><div class="com-article-panel-v2-cnt"><div class="com-article-panel-v2-user-wrap"><div class="com-media com-user-infos"><a href="/developer/user/6998696" track-click="{&quot;objectType&quot;:&quot;user&quot;,&quot;objectId&quot;:6998696}" target="_blank" class="com-media-object"><span class="com-media-img" style="background-image:url(https://ask.qcloudimg.com/random-avatar/6998696/mzchru0vgy.png)"></span></a><div class="com-media-body"><a href="/developer/user/6998696" track-click="{&quot;objectType&quot;:&quot;user&quot;,&quot;objectId&quot;:6998696}" target="_blank" class="author-info name">LDG_AGI</a><span class="author-info time"><time dateTime="2024-11-24 08:40:49" title="2024-11-24 08:40:49"> <span>5</span>小时前<span class="com-v-box">2024-11-24 08:40:49</span></time></span></div></div></div><p class="com-article-panel-v2-des">pipeline(管道)是huggingface transformers库中一种极简方式使用大模型推理的抽象,将所有大模型分为音频(Audio)、计算机视觉(...</p><div class="com-operations com-article-panel-v2-opt"><span class="com-opt-link link-view"><i class="com-i-view"></i>6</span><span class="com-opt-link link-like"><i class="com-i-like"></i>0</span><span class="com-opt-link link-comment"><i class="com-i-dialog"></i>0</span><span><a href="javascript:;" class="com-opt-link link-share" hotrep="community.tag.tag_detail.activities.article.2470299.sharing"><i class="com-i-share"></i></a><ul class="com-share-options"></ul></span></div></div></div></section><section class="com-article-panel-v2 higher"><a href="/developer/article/2470291" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;article&quot;,&quot;objectId&quot;:2470291}" track-exposure="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;article&quot;,&quot;objectId&quot;:2470291}" target="_blank" class="com-article-panel-v2-link"></a><div class="com-article-panel-v2-hd"><h3 class="com-article-panel-v2-title">C++ 类和对象</h3><nav class="com-tag-v2-list com-article-panel-v2-tags"><a href="/developer/tag/17188?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17188}" class="com-tag-v2">变量</a><a href="/developer/tag/17191?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17191}" class="com-tag-v2">编译器</a><a href="/developer/tag/17248?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17248}" class="com-tag-v2">对象</a><a href="/developer/tag/17290?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17290}" class="com-tag-v2">函数</a><a href="/developer/tag/10166?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:10166}" class="com-tag-v2">c++</a></nav></div><div class="com-article-panel-v2-bd"><div class="com-article-panel-v2-cnt"><div class="com-article-panel-v2-user-wrap"><div class="com-media com-user-infos"><a href="/developer/user/11085319" track-click="{&quot;objectType&quot;:&quot;user&quot;,&quot;objectId&quot;:11085319}" target="_blank" class="com-media-object"><span class="com-media-img" style="background-image:url(https://developer.qcloudimg.com/avatar/35319.png?imageView2/2/w/48/h/7000)"></span></a><div class="com-media-body"><a href="/developer/user/11085319" track-click="{&quot;objectType&quot;:&quot;user&quot;,&quot;objectId&quot;:11085319}" target="_blank" class="author-info name">椰</a><span class="author-info time"><time dateTime="2024-11-24 08:27:41" title="2024-11-24 08:27:41"> <span>5</span>小时前<span class="com-v-box">2024-11-24 08:27:41</span></time></span></div></div></div><p class="com-article-panel-v2-des"> class为定义类的关键字,stack,list,vector,queue等都是类的名字,而{}内的东西是类的类的主体。类体中内容被称为类的成员...</p><div class="com-operations com-article-panel-v2-opt"><span class="com-opt-link link-view"><i class="com-i-view"></i>9</span><span class="com-opt-link link-like"><i class="com-i-like"></i>0</span><span class="com-opt-link link-comment"><i class="com-i-dialog"></i>0</span><span><a href="javascript:;" class="com-opt-link link-share" hotrep="community.tag.tag_detail.activities.article.2470291.sharing"><i class="com-i-share"></i></a><ul class="com-share-options"></ul></span></div></div></div></section><section class="com-article-panel-v2 higher"><a href="/developer/article/2470289" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;article&quot;,&quot;objectId&quot;:2470289}" track-exposure="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;article&quot;,&quot;objectId&quot;:2470289}" target="_blank" class="com-article-panel-v2-link"></a><div class="com-article-panel-v2-hd"><h3 class="com-article-panel-v2-title">【项目日记】仿mudou的高并发服务器 --- 实现缓冲区模块,通用类型Any模块,套接字模块</h3><nav class="com-tag-v2-list com-article-panel-v2-tags"><a href="/developer/tag/17248?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17248}" class="com-tag-v2">对象</a><a href="/developer/tag/17267?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17267}" class="com-tag-v2">服务器</a><a href="/developer/tag/17270?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17270}" class="com-tag-v2">高并发</a><a href="/developer/tag/17358?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17358}" class="com-tag-v2">连接</a><a href="/developer/tag/17440?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17440}" class="com-tag-v2">数据</a></nav></div><div class="com-article-panel-v2-bd"><div class="com-article-panel-v2-object"><span class="com-article-panel-v2-img" style="background-image:url(https://developer.qcloudimg.com/http-save/yehe-10927293/f15734a5d06a7427625514833dc1461c.png?imageView2/2/w/400/h/7000)"></span></div><div class="com-article-panel-v2-cnt"><div class="com-article-panel-v2-user-wrap"><div class="com-media com-user-infos"><a href="/developer/user/10927293" track-click="{&quot;objectType&quot;:&quot;user&quot;,&quot;objectId&quot;:10927293}" target="_blank" class="com-media-object"><span class="com-media-img" style="background-image:url(https://developer.qcloudimg.com/avatar/27293.png?imageView2/2/w/48/h/7000)"></span></a><div class="com-media-body"><a href="/developer/user/10927293" track-click="{&quot;objectType&quot;:&quot;user&quot;,&quot;objectId&quot;:10927293}" target="_blank" class="author-info name">叫我龙翔</a><span class="author-info time"><time dateTime="2024-11-24 08:23:33" title="2024-11-24 08:23:33"> <span>5</span>小时前<span class="com-v-box">2024-11-24 08:23:33</span></time></span></div></div></div><p class="com-article-panel-v2-des">这个项目的目标是实现一个可以高效处理请求的服务器,那么对于这样的一个服务器要如何实现呢?</p><div class="com-operations com-article-panel-v2-opt"><span class="com-opt-link link-view"><i class="com-i-view"></i>8</span><span class="com-opt-link link-like"><i class="com-i-like"></i>0</span><span class="com-opt-link link-comment"><i class="com-i-dialog"></i>0</span><span><a href="javascript:;" class="com-opt-link link-share" hotrep="community.tag.tag_detail.activities.article.2470289.sharing"><i class="com-i-share"></i></a><ul class="com-share-options"></ul></span></div></div></div></section><section class="com-article-panel-v2 higher"><a href="/developer/article/2470288" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;article&quot;,&quot;objectId&quot;:2470288}" track-exposure="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;article&quot;,&quot;objectId&quot;:2470288}" target="_blank" class="com-article-panel-v2-link"></a><div class="com-article-panel-v2-hd"><h3 class="com-article-panel-v2-title">【Linux】<共享内存应用>——使用两个伪终端模拟实现<生产者消费者模型></h3><nav class="com-tag-v2-list com-article-panel-v2-tags"><a href="/developer/tag/17592?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17592}" class="com-tag-v2">终端</a><a href="/developer/tag/10308?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:10308}" class="com-tag-v2">linux</a><a href="/developer/tag/17248?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17248}" class="com-tag-v2">对象</a><a href="/developer/tag/17290?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17290}" class="com-tag-v2">函数</a><a href="/developer/tag/17381?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17381}" class="com-tag-v2">模型</a></nav></div><div class="com-article-panel-v2-bd"><div class="com-article-panel-v2-object"><span class="com-article-panel-v2-img" style="background-image:url(https://developer.qcloudimg.com/http-save/yehe-10923987/75127b2f38d002c1cf032e1f74a26aa9.png?imageView2/2/w/400/h/7000)"></span></div><div class="com-article-panel-v2-cnt"><div class="com-article-panel-v2-user-wrap"><div class="com-media com-user-infos"><a href="/developer/user/10923987" track-click="{&quot;objectType&quot;:&quot;user&quot;,&quot;objectId&quot;:10923987}" target="_blank" class="com-media-object"><span class="com-media-img" style="background-image:url(https://developer.qcloudimg.com/avatar/23987.png?imageView2/2/w/48/h/7000)"></span></a><div class="com-media-body"><a href="/developer/user/10923987" track-click="{&quot;objectType&quot;:&quot;user&quot;,&quot;objectId&quot;:10923987}" target="_blank" class="author-info name">YY的秘密代码小屋</a><span class="author-info time"><time dateTime="2024-11-24 08:20:56" title="2024-11-24 08:20:56"> <span>5</span>小时前<span class="com-v-box">2024-11-24 08:20:56</span></time></span></div></div></div><p class="com-article-panel-v2-des"></p><div class="com-operations com-article-panel-v2-opt"><span class="com-opt-link link-view"><i class="com-i-view"></i>1</span><span class="com-opt-link link-like"><i class="com-i-like"></i>0</span><span class="com-opt-link link-comment"><i class="com-i-dialog"></i>0</span><span><a href="javascript:;" class="com-opt-link link-share" hotrep="community.tag.tag_detail.activities.article.2470288.sharing"><i class="com-i-share"></i></a><ul class="com-share-options"></ul></span></div></div></div></section><section class="com-article-panel-v2 higher"><a href="/developer/article/2470287" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;article&quot;,&quot;objectId&quot;:2470287}" track-exposure="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;article&quot;,&quot;objectId&quot;:2470287}" target="_blank" class="com-article-panel-v2-link"></a><div class="com-article-panel-v2-hd"><h3 class="com-article-panel-v2-title">【Linux】<共享内存应用>——模拟实现不同进程把hello字符对<共享内存文件对象>的放入和取出操作</h3><nav class="com-tag-v2-list com-article-panel-v2-tags"><a href="/developer/tag/17290?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17290}" class="com-tag-v2">函数</a><a href="/developer/tag/17332?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17332}" class="com-tag-v2">进程</a><a href="/developer/tag/17440?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17440}" class="com-tag-v2">数据</a><a href="/developer/tag/10308?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:10308}" class="com-tag-v2">linux</a><a href="/developer/tag/17248?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17248}" class="com-tag-v2">对象</a></nav></div><div class="com-article-panel-v2-bd"><div class="com-article-panel-v2-object"><span class="com-article-panel-v2-img" style="background-image:url(https://developer.qcloudimg.com/http-save/yehe-10923987/bf5fb8f0b40e4a01f417b6280bf588d8.png?imageView2/2/w/400/h/7000)"></span></div><div class="com-article-panel-v2-cnt"><div class="com-article-panel-v2-user-wrap"><div class="com-media com-user-infos"><a href="/developer/user/10923987" track-click="{&quot;objectType&quot;:&quot;user&quot;,&quot;objectId&quot;:10923987}" target="_blank" class="com-media-object"><span class="com-media-img" style="background-image:url(https://developer.qcloudimg.com/avatar/23987.png?imageView2/2/w/48/h/7000)"></span></a><div class="com-media-body"><a href="/developer/user/10923987" track-click="{&quot;objectType&quot;:&quot;user&quot;,&quot;objectId&quot;:10923987}" target="_blank" class="author-info name">YY的秘密代码小屋</a><span class="author-info time"><time dateTime="2024-11-24 08:19:30" title="2024-11-24 08:19:30"> <span>5</span>小时前<span class="com-v-box">2024-11-24 08:19:30</span></time></span></div></div></div><p class="com-article-panel-v2-des"></p><div class="com-operations com-article-panel-v2-opt"><span class="com-opt-link link-view"><i class="com-i-view"></i>5</span><span class="com-opt-link link-like"><i class="com-i-like"></i>0</span><span class="com-opt-link link-comment"><i class="com-i-dialog"></i>0</span><span><a href="javascript:;" class="com-opt-link link-share" hotrep="community.tag.tag_detail.activities.article.2470287.sharing"><i class="com-i-share"></i></a><ul class="com-share-options"></ul></span></div></div></div></section><section class="com-article-panel-v2 higher"><a href="/developer/article/2470106" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;article&quot;,&quot;objectId&quot;:2470106}" track-exposure="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;article&quot;,&quot;objectId&quot;:2470106}" target="_blank" class="com-article-panel-v2-link"></a><div class="com-article-panel-v2-hd"><h3 class="com-article-panel-v2-title">Java高效编程(1):使用静态工厂方法替代构造函数</h3><nav class="com-tag-v2-list com-article-panel-v2-tags"><a href="/developer/tag/17424?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17424}" class="com-tag-v2">设计模式</a><a href="/developer/tag/10164?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:10164}" class="com-tag-v2">java</a><a href="/developer/tag/17183?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17183}" class="com-tag-v2">编程</a><a href="/developer/tag/17217?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17217}" class="com-tag-v2">程序员</a><a href="/developer/tag/17248?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17248}" class="com-tag-v2">对象</a></nav></div><div class="com-article-panel-v2-bd"><div class="com-article-panel-v2-object"><span class="com-article-panel-v2-img" style="background-image:url(https://developer.qcloudimg.com/http-save/yehe-7079191/d3a182897767f9d7dde9d1501d53730e.jpg?imageView2/2/w/400/h/7000)"></span></div><div class="com-article-panel-v2-cnt"><div class="com-article-panel-v2-user-wrap"><div class="com-media com-user-infos"><a href="/developer/user/7079191" track-click="{&quot;objectType&quot;:&quot;user&quot;,&quot;objectId&quot;:7079191}" target="_blank" class="com-media-object"><span class="com-media-img" style="background-image:url(https://ask.qcloudimg.com/http-save/yehe-7079191/z6xkdwm7nc.jpeg?imageView2/2/w/48/h/7000)"></span></a><div class="com-media-body"><a href="/developer/user/7079191" track-click="{&quot;objectType&quot;:&quot;user&quot;,&quot;objectId&quot;:7079191}" target="_blank" class="author-info name">蒙娜丽宁</a><span class="author-info time"><time dateTime="2024-11-23 15:44:24" title="2024-11-23 15:44:24"> <span>22</span>小时前<span class="com-v-box">2024-11-23 15:44:24</span></time></span></div></div></div><p class="com-article-panel-v2-des">实现缓存:静态工厂方法可以返回相同的实例,而不是每次都创建一个新对象。例如,布尔值 Boolean.valueOf(true) 会返回 Boolean.TRUE...</p><div class="com-operations com-article-panel-v2-opt"><span class="com-opt-link link-view"><i class="com-i-view"></i>17</span><span class="com-opt-link link-like"><i class="com-i-like"></i>0</span><span class="com-opt-link link-comment"><i class="com-i-dialog"></i>0</span><span><a href="javascript:;" class="com-opt-link link-share" hotrep="community.tag.tag_detail.activities.article.2470106.sharing"><i class="com-i-share"></i></a><ul class="com-share-options"></ul></span></div></div></div></section><section class="com-article-panel-v2 higher"><a href="/developer/article/2470102" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;article&quot;,&quot;objectId&quot;:2470102}" track-exposure="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;article&quot;,&quot;objectId&quot;:2470102}" target="_blank" class="com-article-panel-v2-link"></a><div class="com-article-panel-v2-hd"><h3 class="com-article-panel-v2-title">深入探索 Go 语言的编译器与垃圾回收机制</h3><nav class="com-tag-v2-list com-article-panel-v2-tags"><a href="/developer/tag/17191?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17191}" class="com-tag-v2">编译器</a><a href="/developer/tag/17248?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17248}" class="com-tag-v2">对象</a><a href="/developer/tag/17354?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17354}" class="com-tag-v2">垃圾回收</a><a href="/developer/tag/17382?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17382}" class="com-tag-v2">内存</a><a href="/developer/tag/10174?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:10174}" class="com-tag-v2">go</a></nav></div><div class="com-article-panel-v2-bd"><div class="com-article-panel-v2-object"><span class="com-article-panel-v2-img" style="background-image:url(https://developer.qcloudimg.com/http-save/yehe-7079191/bedad53e35f5d4a5f16962b39b766835.jpg?imageView2/2/w/400/h/7000)"></span></div><div class="com-article-panel-v2-cnt"><div class="com-article-panel-v2-user-wrap"><div class="com-media com-user-infos"><a href="/developer/user/7079191" track-click="{&quot;objectType&quot;:&quot;user&quot;,&quot;objectId&quot;:7079191}" target="_blank" class="com-media-object"><span class="com-media-img" style="background-image:url(https://ask.qcloudimg.com/http-save/yehe-7079191/z6xkdwm7nc.jpeg?imageView2/2/w/48/h/7000)"></span></a><div class="com-media-body"><a href="/developer/user/7079191" track-click="{&quot;objectType&quot;:&quot;user&quot;,&quot;objectId&quot;:7079191}" target="_blank" class="author-info name">蒙娜丽宁</a><span class="author-info time"><time dateTime="2024-11-23 15:43:42" title="2024-11-23 15:43:42"> <span>22</span>小时前<span class="com-v-box">2024-11-23 15:43:42</span></time></span></div></div></div><p class="com-article-panel-v2-des">Go 的垃圾回收基于三色标记-清除算法。这个算法将堆中的对象分为三类:白色、灰色和黑色。白色对象是垃圾回收的候选对象,而灰色对象可能指向白色对象,黑色对象则不会...</p><div class="com-operations com-article-panel-v2-opt"><span class="com-opt-link link-view"><i class="com-i-view"></i>36</span><span class="com-opt-link link-like"><i class="com-i-like"></i>0</span><span class="com-opt-link link-comment"><i class="com-i-dialog"></i>0</span><span><a href="javascript:;" class="com-opt-link link-share" hotrep="community.tag.tag_detail.activities.article.2470102.sharing"><i class="com-i-share"></i></a><ul class="com-share-options"></ul></span></div></div></div></section><section class="com-article-panel-v2 higher"><a href="/developer/article/2470091" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;article&quot;,&quot;objectId&quot;:2470091}" track-exposure="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;article&quot;,&quot;objectId&quot;:2470091}" target="_blank" class="com-article-panel-v2-link"></a><div class="com-article-panel-v2-hd"><h3 class="com-article-panel-v2-title">10w 级的并发场景,JVM 有哪些方面值得优化呢?</h3><nav class="com-tag-v2-list com-article-panel-v2-tags"><a href="/developer/tag/17248?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17248}" class="com-tag-v2">对象</a><a href="/developer/tag/17382?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17382}" class="com-tag-v2">内存</a><a href="/developer/tag/17554?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17554}" class="com-tag-v2">优化</a><a href="/developer/tag/10688?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:10688}" class="com-tag-v2">jvm</a><a href="/developer/tag/17197?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17197}" class="com-tag-v2">并发</a></nav></div><div class="com-article-panel-v2-bd"><div class="com-article-panel-v2-object"><span class="com-article-panel-v2-img" style="background-image:url(https://developer.qcloudimg.com/http-save/yehe-2253892/29f9cd0c41c8a7ceabe82e6f9b3c2083.jpg?imageView2/2/w/400/h/7000)"></span></div><div class="com-article-panel-v2-cnt"><div class="com-article-panel-v2-user-wrap"><div class="com-media com-user-infos"><a href="/developer/user/2253892" track-click="{&quot;objectType&quot;:&quot;user&quot;,&quot;objectId&quot;:2253892}" target="_blank" class="com-media-object"><span class="com-media-img" style="background-image:url(https://developer.qcloudimg.com/http-save/10011/1b9c3652fd10c71666f670e276e212aa.jpg?imageView2/2/w/48/h/7000)"></span></a><div class="com-media-body"><a href="/developer/user/2253892" track-click="{&quot;objectType&quot;:&quot;user&quot;,&quot;objectId&quot;:2253892}" target="_blank" class="author-info name">码哥字节</a><span class="author-info time"><time dateTime="2024-11-23 15:33:17" title="2024-11-23 15:33:17"> <span>22</span>小时前<span class="com-v-box">2024-11-23 15:33:17</span></time></span></div></div></div><p class="com-article-panel-v2-des">这样就降低了对象频繁进入老年代的问题,实际上很多优化都是围绕着如何减少 Full GC 去做的,就是尽可能把短期存活的对象留在 survivor 里,不要进入老...</p><div class="com-operations com-article-panel-v2-opt"><span class="com-opt-link link-view"><i class="com-i-view"></i>24</span><span class="com-opt-link link-like"><i class="com-i-like"></i>0</span><span class="com-opt-link link-comment"><i class="com-i-dialog"></i>0</span><span><a href="javascript:;" class="com-opt-link link-share" hotrep="community.tag.tag_detail.activities.article.2470091.sharing"><i class="com-i-share"></i></a><ul class="com-share-options"></ul></span></div></div></div></section><section class="com-article-panel-v2 higher"><a href="/developer/article/2470087" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;article&quot;,&quot;objectId&quot;:2470087}" track-exposure="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;article&quot;,&quot;objectId&quot;:2470087}" target="_blank" class="com-article-panel-v2-link"></a><div class="com-article-panel-v2-hd"><h3 class="com-article-panel-v2-title">vivo 校招:说一说 JVM 垃圾回收算法有哪些?分别用在哪些垃圾收集器?</h3><nav class="com-tag-v2-list com-article-panel-v2-tags"><a href="/developer/tag/17248?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17248}" class="com-tag-v2">对象</a><a href="/developer/tag/17354?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17354}" class="com-tag-v2">垃圾回收</a><a href="/developer/tag/17460?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17460}" class="com-tag-v2">算法</a><a href="/developer/tag/17508?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17508}" class="com-tag-v2">线程</a><a href="/developer/tag/10688?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:10688}" class="com-tag-v2">jvm</a></nav></div><div class="com-article-panel-v2-bd"><div class="com-article-panel-v2-object"><span class="com-article-panel-v2-img" style="background-image:url(https://developer.qcloudimg.com/http-save/yehe-2253892/15f05cf0e4b71b7dc5b1fe72dc2dfc6f.jpg?imageView2/2/w/400/h/7000)"></span></div><div class="com-article-panel-v2-cnt"><div class="com-article-panel-v2-user-wrap"><div class="com-media com-user-infos"><a href="/developer/user/2253892" track-click="{&quot;objectType&quot;:&quot;user&quot;,&quot;objectId&quot;:2253892}" target="_blank" class="com-media-object"><span class="com-media-img" style="background-image:url(https://developer.qcloudimg.com/http-save/10011/1b9c3652fd10c71666f670e276e212aa.jpg?imageView2/2/w/48/h/7000)"></span></a><div class="com-media-body"><a href="/developer/user/2253892" track-click="{&quot;objectType&quot;:&quot;user&quot;,&quot;objectId&quot;:2253892}" target="_blank" class="author-info name">码哥字节</a><span class="author-info time"><time dateTime="2024-11-23 15:28:47" title="2024-11-23 15:28:47"> <span>22</span>小时前<span class="com-v-box">2024-11-23 15:28:47</span></time></span></div></div></div><p class="com-article-panel-v2-des">通过维护每个对象的引用计数来判断对象是否可以被回收。当有一个指针引用它,那么引用计数+1,当引用计数为 0 时,表示没有被对象引用,可以被回收。</p><div class="com-operations com-article-panel-v2-opt"><span class="com-opt-link link-view"><i class="com-i-view"></i>29</span><span class="com-opt-link link-like"><i class="com-i-like"></i>0</span><span class="com-opt-link link-comment"><i class="com-i-dialog"></i>0</span><span><a href="javascript:;" class="com-opt-link link-share" hotrep="community.tag.tag_detail.activities.article.2470087.sharing"><i class="com-i-share"></i></a><ul class="com-share-options"></ul></span></div></div></div></section><section class="com-article-panel-v2 higher"><a href="/developer/article/2470086" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;article&quot;,&quot;objectId&quot;:2470086}" track-exposure="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;article&quot;,&quot;objectId&quot;:2470086}" target="_blank" class="com-article-panel-v2-link"></a><div class="com-article-panel-v2-hd"><h3 class="com-article-panel-v2-title">揭秘Java多线程:synchronized如何调度王妃与王的夜夜笙歌</h3><nav class="com-tag-v2-list com-article-panel-v2-tags"><a href="/developer/tag/10164?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:10164}" class="com-tag-v2">java</a><a href="/developer/tag/16383?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:16383}" class="com-tag-v2">synchronized</a><a href="/developer/tag/17248?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17248}" class="com-tag-v2">对象</a><a href="/developer/tag/17250?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17250}" class="com-tag-v2">多线程</a><a href="/developer/tag/17508?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17508}" class="com-tag-v2">线程</a></nav></div><div class="com-article-panel-v2-bd"><div class="com-article-panel-v2-object"><span class="com-article-panel-v2-img" style="background-image:url(https://developer.qcloudimg.com/http-save/yehe-2253892/856708a32772c2570215881f64f7a0f7.jpg?imageView2/2/w/400/h/7000)"></span></div><div class="com-article-panel-v2-cnt"><div class="com-article-panel-v2-user-wrap"><div class="com-media com-user-infos"><a href="/developer/user/2253892" track-click="{&quot;objectType&quot;:&quot;user&quot;,&quot;objectId&quot;:2253892}" target="_blank" class="com-media-object"><span class="com-media-img" style="background-image:url(https://developer.qcloudimg.com/http-save/10011/1b9c3652fd10c71666f670e276e212aa.jpg?imageView2/2/w/48/h/7000)"></span></a><div class="com-media-body"><a href="/developer/user/2253892" track-click="{&quot;objectType&quot;:&quot;user&quot;,&quot;objectId&quot;:2253892}" target="_blank" class="author-info name">码哥字节</a><span class="author-info time"><time dateTime="2024-11-23 15:26:47" title="2024-11-23 15:26:47"> <span>22</span>小时前<span class="com-v-box">2024-11-23 15:26:47</span></time></span></div></div></div><p class="com-article-panel-v2-des">通过 do while 实现了自旋,getAndAddInt() 循环获取给定对象 o 中的偏移量处的值 v,然后判断内存值是否等于 v。</p><div class="com-operations com-article-panel-v2-opt"><span class="com-opt-link link-view"><i class="com-i-view"></i>16</span><span class="com-opt-link link-like"><i class="com-i-like"></i>0</span><span class="com-opt-link link-comment"><i class="com-i-dialog"></i>0</span><span><a href="javascript:;" class="com-opt-link link-share" hotrep="community.tag.tag_detail.activities.article.2470086.sharing"><i class="com-i-share"></i></a><ul class="com-share-options"></ul></span></div></div></div></section><section class="com-article-panel-v2 higher"><a href="/developer/article/2470083" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;article&quot;,&quot;objectId&quot;:2470083}" track-exposure="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;article&quot;,&quot;objectId&quot;:2470083}" target="_blank" class="com-article-panel-v2-link"></a><div class="com-article-panel-v2-hd"><h3 class="com-article-panel-v2-title">京东二面:Java中一共有 N 种实现锁的方式,你知道都有哪些吗?</h3><nav class="com-tag-v2-list com-article-panel-v2-tags"><a href="/developer/tag/10164?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:10164}" class="com-tag-v2">java</a><a href="/developer/tag/17248?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17248}" class="com-tag-v2">对象</a><a href="/developer/tag/17440?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17440}" class="com-tag-v2">数据</a><a href="/developer/tag/17508?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17508}" class="com-tag-v2">线程</a><a href="/developer/tag/17525?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17525}" class="com-tag-v2">性能</a></nav></div><div class="com-article-panel-v2-bd"><div class="com-article-panel-v2-object"><span class="com-article-panel-v2-img" style="background-image:url(https://developer.qcloudimg.com/http-save/yehe-2253892/01d865f2098c061e385e8035cfe20f56.jpg?imageView2/2/w/400/h/7000)"></span></div><div class="com-article-panel-v2-cnt"><div class="com-article-panel-v2-user-wrap"><div class="com-media com-user-infos"><a href="/developer/user/2253892" track-click="{&quot;objectType&quot;:&quot;user&quot;,&quot;objectId&quot;:2253892}" target="_blank" class="com-media-object"><span class="com-media-img" style="background-image:url(https://developer.qcloudimg.com/http-save/10011/1b9c3652fd10c71666f670e276e212aa.jpg?imageView2/2/w/48/h/7000)"></span></a><div class="com-media-body"><a href="/developer/user/2253892" track-click="{&quot;objectType&quot;:&quot;user&quot;,&quot;objectId&quot;:2253892}" target="_blank" class="author-info name">码哥字节</a><span class="author-info time"><time dateTime="2024-11-23 15:23:47" title="2024-11-23 15:23:47"> <span>22</span>小时前<span class="com-v-box">2024-11-23 15:23:47</span></time></span></div></div></div><p class="com-article-panel-v2-des">对象头主要包括标记字段 Mark World,元数据指针,如果是数组对象的话,对象头还必须存储数组长度。</p><div class="com-operations com-article-panel-v2-opt"><span class="com-opt-link link-view"><i class="com-i-view"></i>44</span><span class="com-opt-link link-like"><i class="com-i-like"></i>1</span><span class="com-opt-link link-comment"><i class="com-i-dialog"></i>0</span><span><a href="javascript:;" class="com-opt-link link-share" hotrep="community.tag.tag_detail.activities.article.2470083.sharing"><i class="com-i-share"></i></a><ul class="com-share-options"></ul></span></div></div></div></section><section class="com-article-panel-v2 higher"><a href="/developer/article/2470055" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;article&quot;,&quot;objectId&quot;:2470055}" track-exposure="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;article&quot;,&quot;objectId&quot;:2470055}" target="_blank" class="com-article-panel-v2-link"></a><div class="com-article-panel-v2-hd"><h3 class="com-article-panel-v2-title">Go 项目怎么做好分层架构和目录规划</h3><nav class="com-tag-v2-list com-article-panel-v2-tags"><a href="/developer/tag/17314?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17314}" class="com-tag-v2">架构</a><a href="/developer/tag/17440?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17440}" class="com-tag-v2">数据</a><a href="/developer/tag/10174?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:10174}" class="com-tag-v2">go</a><a href="/developer/tag/17248?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17248}" class="com-tag-v2">对象</a><a href="/developer/tag/17264?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17264}" class="com-tag-v2">服务</a></nav></div><div class="com-article-panel-v2-bd"><div class="com-article-panel-v2-object"><span class="com-article-panel-v2-img" style="background-image:url(https://developer.qcloudimg.com/http-save/yehe-3014091/fd0353f0b6d37cfc372c98dd8f502d3e.jpg?imageView2/2/w/400/h/7000)"></span></div><div class="com-article-panel-v2-cnt"><div class="com-article-panel-v2-user-wrap"><div class="com-media com-user-infos"><a href="/developer/user/3014091" track-click="{&quot;objectType&quot;:&quot;user&quot;,&quot;objectId&quot;:3014091}" target="_blank" class="com-media-object"><span class="com-media-img" style="background-image:url(https://ask.qcloudimg.com/random-avatar/3014091/rjj1xj4v7.png)"></span></a><div class="com-media-body"><a href="/developer/user/3014091" track-click="{&quot;objectType&quot;:&quot;user&quot;,&quot;objectId&quot;:3014091}" target="_blank" class="author-info name">KevinYan</a><span class="author-info time"><time dateTime="2024-11-23 14:33:29" title="2024-11-23 14:33:29"> <span>23</span>小时前<span class="com-v-box">2024-11-23 14:33:29</span></time></span></div></div></div><p class="com-article-panel-v2-des">开发项目的时候我们都爱说XX模块,模块一般是跟着项目所服务的业务走的。而项目的分层则没有那么依赖具体的业务类型,靠一些软件设计的方法论和经验在项目搭建初期就能大...</p><div class="com-operations com-article-panel-v2-opt"><span class="com-opt-link link-view"><i class="com-i-view"></i>26</span><span class="com-opt-link link-like"><i class="com-i-like"></i>0</span><span class="com-opt-link link-comment"><i class="com-i-dialog"></i>0</span><span><a href="javascript:;" class="com-opt-link link-share" hotrep="community.tag.tag_detail.activities.article.2470055.sharing"><i class="com-i-share"></i></a><ul class="com-share-options"></ul></span></div></div></div></section><section class="com-article-panel-v2 higher"><a href="/developer/article/2470003" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;article&quot;,&quot;objectId&quot;:2470003}" track-exposure="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;article&quot;,&quot;objectId&quot;:2470003}" target="_blank" class="com-article-panel-v2-link"></a><div class="com-article-panel-v2-hd"><h3 class="com-article-panel-v2-title">每个.net开发人员都应该知道的 20 个基本知识</h3><nav class="com-tag-v2-list com-article-panel-v2-tags"><a href="/developer/tag/17248?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17248}" class="com-tag-v2">对象</a><a href="/developer/tag/17254?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17254}" class="com-tag-v2">反射</a><a href="/developer/tag/17276?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17276}" class="com-tag-v2">工具</a><a href="/developer/tag/17303?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17303}" class="com-tag-v2">集合</a><a href="/developer/tag/17539?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17539}" class="com-tag-v2">异步编程</a></nav></div><div class="com-article-panel-v2-bd"><div class="com-article-panel-v2-object"><span class="com-article-panel-v2-img" style="background-image:url(https://developer.qcloudimg.com/http-save/yehe-7499234/d31a690b505a14bd64b6a68198b99149.jpg?imageView2/2/w/400/h/7000)"></span></div><div class="com-article-panel-v2-cnt"><div class="com-article-panel-v2-user-wrap"><div class="com-media com-user-infos"><a href="/developer/user/7499234" track-click="{&quot;objectType&quot;:&quot;user&quot;,&quot;objectId&quot;:7499234}" target="_blank" class="com-media-object"><span class="com-media-img" style="background-image:url(https://ask.qcloudimg.com/http-save/yehe-7499234/c96c64adf4850c3af5eb82a172828dcb.jpeg?imageView2/2/w/48/h/7000)"></span></a><div class="com-media-body"><a href="/developer/user/7499234" track-click="{&quot;objectType&quot;:&quot;user&quot;,&quot;objectId&quot;:7499234}" target="_blank" class="author-info name">郑子铭</a><span class="author-info time"><time dateTime="2024-11-23 13:40:18" title="2024-11-23 13:40:18"> <span>1</span>天前<span class="com-v-box">2024-11-23 13:40:18</span></time></span></div></div></div><p class="com-article-panel-v2-des">在本博客中,我将分享我学到的有关 C# 的 20 个重要知识 — 从掌握面向对象的编程 (OOP) 到了解异步编程的强大功能,再到采用 LINQ 和模式匹配等现...</p><div class="com-operations com-article-panel-v2-opt"><span class="com-opt-link link-view"><i class="com-i-view"></i>33</span><span class="com-opt-link link-like"><i class="com-i-like"></i>1</span><span class="com-opt-link link-comment"><i class="com-i-dialog"></i>0</span><span><a href="javascript:;" class="com-opt-link link-share" hotrep="community.tag.tag_detail.activities.article.2470003.sharing"><i class="com-i-share"></i></a><ul class="com-share-options"></ul></span></div></div></div></section><section class="com-article-panel-v2 higher"><a href="/developer/article/2470002" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;article&quot;,&quot;objectId&quot;:2470002}" track-exposure="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;article&quot;,&quot;objectId&quot;:2470002}" target="_blank" class="com-article-panel-v2-link"></a><div class="com-article-panel-v2-hd"><h3 class="com-article-panel-v2-title">您需要了解的C# 运算符</h3><nav class="com-tag-v2-list com-article-panel-v2-tags"><a href="/developer/tag/10171?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:10171}" class="com-tag-v2">c#</a><a href="/developer/tag/17248?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17248}" class="com-tag-v2">对象</a><a href="/developer/tag/17429?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17429}" class="com-tag-v2">事件</a><a href="/developer/tag/17440?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17440}" class="com-tag-v2">数据</a><a href="/developer/tag/17590?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17590}" class="com-tag-v2">指针</a></nav></div><div class="com-article-panel-v2-bd"><div class="com-article-panel-v2-object"><span class="com-article-panel-v2-img" style="background-image:url(https://developer.qcloudimg.com/http-save/yehe-7499234/815333df04d2f7cdcaf8f38c62f11ef5.jpg?imageView2/2/w/400/h/7000)"></span></div><div class="com-article-panel-v2-cnt"><div class="com-article-panel-v2-user-wrap"><div class="com-media com-user-infos"><a href="/developer/user/7499234" track-click="{&quot;objectType&quot;:&quot;user&quot;,&quot;objectId&quot;:7499234}" target="_blank" class="com-media-object"><span class="com-media-img" style="background-image:url(https://ask.qcloudimg.com/http-save/yehe-7499234/c96c64adf4850c3af5eb82a172828dcb.jpeg?imageView2/2/w/48/h/7000)"></span></a><div class="com-media-body"><a href="/developer/user/7499234" track-click="{&quot;objectType&quot;:&quot;user&quot;,&quot;objectId&quot;:7499234}" target="_blank" class="author-info name">郑子铭</a><span class="author-info time"><time dateTime="2024-11-23 13:39:46" title="2024-11-23 13:39:46"> <span>1</span>天前<span class="com-v-box">2024-11-23 13:39:46</span></time></span></div></div></div><p class="com-article-panel-v2-des">C# 是一种多功能且功能强大的编程语言,广泛用于开发从 Web 服务到桌面软件的各种应用程序。</p><div class="com-operations com-article-panel-v2-opt"><span class="com-opt-link link-view"><i class="com-i-view"></i>4</span><span class="com-opt-link link-like"><i class="com-i-like"></i>0</span><span class="com-opt-link link-comment"><i class="com-i-dialog"></i>0</span><span><a href="javascript:;" class="com-opt-link link-share" hotrep="community.tag.tag_detail.activities.article.2470002.sharing"><i class="com-i-share"></i></a><ul class="com-share-options"></ul></span></div></div></div></section><section class="com-article-panel-v2 higher"><a href="/developer/article/2469997" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;article&quot;,&quot;objectId&quot;:2469997}" track-exposure="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;article&quot;,&quot;objectId&quot;:2469997}" target="_blank" class="com-article-panel-v2-link"></a><div class="com-article-panel-v2-hd"><h3 class="com-article-panel-v2-title">.NET使用Moq开源模拟库简化单元测试</h3><nav class="com-tag-v2-list com-article-panel-v2-tags"><a href="/developer/tag/10667?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:10667}" class="com-tag-v2">开源</a><a href="/developer/tag/10752?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:10752}" class="com-tag-v2">单元测试</a><a href="/developer/tag/14760?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:14760}" class="com-tag-v2">moq</a><a href="/developer/tag/17248?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17248}" class="com-tag-v2">对象</a><a href="/developer/tag/17540?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17540}" class="com-tag-v2">异常</a></nav></div><div class="com-article-panel-v2-bd"><div class="com-article-panel-v2-object"><span class="com-article-panel-v2-img" style="background-image:url(https://developer.qcloudimg.com/http-save/yehe-7499234/608679f04987949ad46a3084751a8e46.jpg?imageView2/2/w/400/h/7000)"></span></div><div class="com-article-panel-v2-cnt"><div class="com-article-panel-v2-user-wrap"><div class="com-media com-user-infos"><a href="/developer/user/7499234" track-click="{&quot;objectType&quot;:&quot;user&quot;,&quot;objectId&quot;:7499234}" target="_blank" class="com-media-object"><span class="com-media-img" style="background-image:url(https://ask.qcloudimg.com/http-save/yehe-7499234/c96c64adf4850c3af5eb82a172828dcb.jpeg?imageView2/2/w/48/h/7000)"></span></a><div class="com-media-body"><a href="/developer/user/7499234" track-click="{&quot;objectType&quot;:&quot;user&quot;,&quot;objectId&quot;:7499234}" target="_blank" class="author-info name">郑子铭</a><span class="author-info time"><time dateTime="2024-11-23 13:36:22" title="2024-11-23 13:36:22"> <span>1</span>天前<span class="com-v-box">2024-11-23 13:36:22</span></time></span></div></div></div><p class="com-article-panel-v2-des">Moq是一个.NET开源、流行、使用简单的 .NET 模拟库,充分利用了.NET 的 Linq 表达式树和 lambda 表达式。这使得 Moq 成为最具生产力...</p><div class="com-operations com-article-panel-v2-opt"><span class="com-opt-link link-view"><i class="com-i-view"></i>27</span><span class="com-opt-link link-like"><i class="com-i-like"></i>1</span><span class="com-opt-link link-comment"><i class="com-i-dialog"></i>0</span><span><a href="javascript:;" class="com-opt-link link-share" hotrep="community.tag.tag_detail.activities.article.2469997.sharing"><i class="com-i-share"></i></a><ul class="com-share-options"></ul></span></div></div></div></section><section class="com-article-panel-v2 higher"><a href="/developer/article/2469995" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;article&quot;,&quot;objectId&quot;:2469995}" track-exposure="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;article&quot;,&quot;objectId&quot;:2469995}" target="_blank" class="com-article-panel-v2-link"></a><div class="com-article-panel-v2-hd"><h3 class="com-article-panel-v2-title">MVVM中实现 INotifyPropertyChanged 的 4 种方法</h3><nav class="com-tag-v2-list com-article-panel-v2-tags"><a href="/developer/tag/17429?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17429}" class="com-tag-v2">事件</a><a href="/developer/tag/14043?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:14043}" class="com-tag-v2">inotifypropertychanged</a><a href="/developer/tag/14818?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:14818}" class="com-tag-v2">mvvm</a><a href="/developer/tag/17248?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17248}" class="com-tag-v2">对象</a><a href="/developer/tag/17329?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17329}" class="com-tag-v2">接口</a></nav></div><div class="com-article-panel-v2-bd"><div class="com-article-panel-v2-object"><span class="com-article-panel-v2-img" style="background-image:url(https://developer.qcloudimg.com/http-save/yehe-7499234/8b3b7a22d632f649ab6a742d92d5cf4e.jpg?imageView2/2/w/400/h/7000)"></span></div><div class="com-article-panel-v2-cnt"><div class="com-article-panel-v2-user-wrap"><div class="com-media com-user-infos"><a href="/developer/user/7499234" track-click="{&quot;objectType&quot;:&quot;user&quot;,&quot;objectId&quot;:7499234}" target="_blank" class="com-media-object"><span class="com-media-img" style="background-image:url(https://ask.qcloudimg.com/http-save/yehe-7499234/c96c64adf4850c3af5eb82a172828dcb.jpeg?imageView2/2/w/48/h/7000)"></span></a><div class="com-media-body"><a href="/developer/user/7499234" track-click="{&quot;objectType&quot;:&quot;user&quot;,&quot;objectId&quot;:7499234}" target="_blank" class="author-info name">郑子铭</a><span class="author-info time"><time dateTime="2024-11-23 13:35:13" title="2024-11-23 13:35:13"> <span>1</span>天前<span class="com-v-box">2024-11-23 13:35:13</span></time></span></div></div></div><p class="com-article-panel-v2-des">在这种情况下,接口不会自动管理子对象中属性的更改。当子属性的值发生更改时(例如,在实例中),父对象 () 不会收到对象属性发生更改的通知,这会阻止 UI 按预期...</p><div class="com-operations com-article-panel-v2-opt"><span class="com-opt-link link-view"><i class="com-i-view"></i>14</span><span class="com-opt-link link-like"><i class="com-i-like"></i>1</span><span class="com-opt-link link-comment"><i class="com-i-dialog"></i>0</span><span><a href="javascript:;" class="com-opt-link link-share" hotrep="community.tag.tag_detail.activities.article.2469995.sharing"><i class="com-i-share"></i></a><ul class="com-share-options"></ul></span></div></div></div></section><section class="com-article-panel-v2 higher"><a href="/developer/article/2469984" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;article&quot;,&quot;objectId&quot;:2469984}" track-exposure="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;article&quot;,&quot;objectId&quot;:2469984}" target="_blank" class="com-article-panel-v2-link"></a><div class="com-article-panel-v2-hd"><h3 class="com-article-panel-v2-title">C#中使用 record 的好处 因为好用所以推荐!</h3><nav class="com-tag-v2-list com-article-panel-v2-tags"><a href="/developer/tag/17248?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17248}" class="com-tag-v2">对象</a><a href="/developer/tag/17301?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17301}" class="com-tag-v2">继承</a><a href="/developer/tag/17559?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17559}" class="com-tag-v2">语法</a><a href="/developer/tag/10171?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:10171}" class="com-tag-v2">c#</a><a href="/developer/tag/15634?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:15634}" class="com-tag-v2">record</a></nav></div><div class="com-article-panel-v2-bd"><div class="com-article-panel-v2-object"><span class="com-article-panel-v2-img" style="background-image:url(https://developer.qcloudimg.com/http-save/yehe-7499234/10bb373421fe277bc20999a3fa9715b3.jpg?imageView2/2/w/400/h/7000)"></span></div><div class="com-article-panel-v2-cnt"><div class="com-article-panel-v2-user-wrap"><div class="com-media com-user-infos"><a href="/developer/user/7499234" track-click="{&quot;objectType&quot;:&quot;user&quot;,&quot;objectId&quot;:7499234}" target="_blank" class="com-media-object"><span class="com-media-img" style="background-image:url(https://ask.qcloudimg.com/http-save/yehe-7499234/c96c64adf4850c3af5eb82a172828dcb.jpeg?imageView2/2/w/48/h/7000)"></span></a><div class="com-media-body"><a href="/developer/user/7499234" track-click="{&quot;objectType&quot;:&quot;user&quot;,&quot;objectId&quot;:7499234}" target="_blank" class="author-info name">郑子铭</a><span class="author-info time"><time dateTime="2024-11-23 13:28:27" title="2024-11-23 13:28:27"> <span>1</span>天前<span class="com-v-box">2024-11-23 13:28:27</span></time></span></div></div></div><p class="com-article-panel-v2-des">对于一个 class 的浅表复制,我们可能需要实现ICloneable,亦或者 new 一个对象逐个属性赋值,当然还有其他的方法,但是呢肯定是没有 record...</p><div class="com-operations com-article-panel-v2-opt"><span class="com-opt-link link-view"><i class="com-i-view"></i>17</span><span class="com-opt-link link-like"><i class="com-i-like"></i>0</span><span class="com-opt-link link-comment"><i class="com-i-dialog"></i>0</span><span><a href="javascript:;" class="com-opt-link link-share" hotrep="community.tag.tag_detail.activities.article.2469984.sharing"><i class="com-i-share"></i></a><ul class="com-share-options"></ul></span></div></div></div></section><section class="com-article-panel-v2 higher"><a href="/developer/article/2469983" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;article&quot;,&quot;objectId&quot;:2469983}" track-exposure="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;article&quot;,&quot;objectId&quot;:2469983}" target="_blank" class="com-article-panel-v2-link"></a><div class="com-article-panel-v2-hd"><h3 class="com-article-panel-v2-title">关于 .NET 8 中装箱和取拆箱的不为人知的真相:每个 C# 开发人员都需要了解的内容</h3><nav class="com-tag-v2-list com-article-panel-v2-tags"><a href="/developer/tag/17303?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17303}" class="com-tag-v2">集合</a><a href="/developer/tag/17554?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17554}" class="com-tag-v2">优化</a><a href="/developer/tag/10171?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:10171}" class="com-tag-v2">c#</a><a href="/developer/tag/17248?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17248}" class="com-tag-v2">对象</a><a href="/developer/tag/17256?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17256}" class="com-tag-v2">泛型</a></nav></div><div class="com-article-panel-v2-bd"><div class="com-article-panel-v2-object"><span class="com-article-panel-v2-img" style="background-image:url(https://developer.qcloudimg.com/http-save/yehe-7499234/0333e75189c0419f3375af7758ba9fa0.jpg?imageView2/2/w/400/h/7000)"></span></div><div class="com-article-panel-v2-cnt"><div class="com-article-panel-v2-user-wrap"><div class="com-media com-user-infos"><a href="/developer/user/7499234" track-click="{&quot;objectType&quot;:&quot;user&quot;,&quot;objectId&quot;:7499234}" target="_blank" class="com-media-object"><span class="com-media-img" style="background-image:url(https://ask.qcloudimg.com/http-save/yehe-7499234/c96c64adf4850c3af5eb82a172828dcb.jpeg?imageView2/2/w/48/h/7000)"></span></a><div class="com-media-body"><a href="/developer/user/7499234" track-click="{&quot;objectType&quot;:&quot;user&quot;,&quot;objectId&quot;:7499234}" target="_blank" class="author-info name">郑子铭</a><span class="author-info time"><time dateTime="2024-11-23 13:27:51" title="2024-11-23 13:27:51"> <span>1</span>天前<span class="com-v-box">2024-11-23 13:27:51</span></time></span></div></div></div><p class="com-article-panel-v2-des">通过装箱,可以将值类型视为对象,使它们能够存储在堆上、传递给需要对象的方法,或插入到 or 等集合中(从早期的 .NET 版本开始)。另一方面,Unboxing...</p><div class="com-operations com-article-panel-v2-opt"><span class="com-opt-link link-view"><i class="com-i-view"></i>15</span><span class="com-opt-link link-like"><i class="com-i-like"></i>1</span><span class="com-opt-link link-comment"><i class="com-i-dialog"></i>0</span><span><a href="javascript:;" class="com-opt-link link-share" hotrep="community.tag.tag_detail.activities.article.2469983.sharing"><i class="com-i-share"></i></a><ul class="com-share-options"></ul></span></div></div></div></section><section class="com-article-panel-v2 higher"><a href="/developer/article/2469978" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;article&quot;,&quot;objectId&quot;:2469978}" track-exposure="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;article&quot;,&quot;objectId&quot;:2469978}" target="_blank" class="com-article-panel-v2-link"></a><div class="com-article-panel-v2-hd"><h3 class="com-article-panel-v2-title">深入剖析C#12中的高级模式匹配</h3><nav class="com-tag-v2-list com-article-panel-v2-tags"><a href="/developer/tag/10171?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:10171}" class="com-tag-v2">c#</a><a href="/developer/tag/17188?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17188}" class="com-tag-v2">变量</a><a href="/developer/tag/17234?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17234}" class="com-tag-v2">递归</a><a href="/developer/tag/17248?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17248}" class="com-tag-v2">对象</a><a href="/developer/tag/17440?entry=article" track-click="{&quot;areaId&quot;:113001,&quot;objectType&quot;:&quot;tag&quot;,&quot;objectId&quot;:17440}" class="com-tag-v2">数据</a></nav></div><div class="com-article-panel-v2-bd"><div class="com-article-panel-v2-object"><span class="com-article-panel-v2-img" style="background-image:url(https://developer.qcloudimg.com/http-save/yehe-7499234/538c763ab1db92abf034e524d50a039b.jpg?imageView2/2/w/400/h/7000)"></span></div><div class="com-article-panel-v2-cnt"><div class="com-article-panel-v2-user-wrap"><div class="com-media com-user-infos"><a href="/developer/user/7499234" track-click="{&quot;objectType&quot;:&quot;user&quot;,&quot;objectId&quot;:7499234}" target="_blank" class="com-media-object"><span class="com-media-img" style="background-image:url(https://ask.qcloudimg.com/http-save/yehe-7499234/c96c64adf4850c3af5eb82a172828dcb.jpeg?imageView2/2/w/48/h/7000)"></span></a><div class="com-media-body"><a href="/developer/user/7499234" track-click="{&quot;objectType&quot;:&quot;user&quot;,&quot;objectId&quot;:7499234}" target="_blank" class="author-info name">郑子铭</a><span class="author-info time"><time dateTime="2024-11-23 13:23:48" title="2024-11-23 13:23:48"> <span>1</span>天前<span class="com-v-box">2024-11-23 13:23:48</span></time></span></div></div></div><p class="com-article-panel-v2-des">C# 12 为其已经强大的模式匹配功能引入了令人兴奋的新特性。这些增强功能为开发者提供了更具表现力和简洁的方式来处理数据,从而带来更干净、更易维护的代码。在本文...</p><div class="com-operations com-article-panel-v2-opt"><span class="com-opt-link link-view"><i class="com-i-view"></i>7</span><span class="com-opt-link link-like"><i class="com-i-like"></i>0</span><span class="com-opt-link link-comment"><i class="com-i-dialog"></i>0</span><span><a href="javascript:;" class="com-opt-link link-share" hotrep="community.tag.tag_detail.activities.article.2469978.sharing"><i class="com-i-share"></i></a><ul class="com-share-options"></ul></span></div></div></div></section></div><div><div class="c-loading c-loading-tip"><div class="c-loading-inner"><div class="one"></div><div class="two"></div><div class="three"></div></div></div></div></com></div></div></div><div class="layout-side" track-click="" track-exposure=""><div class="com-2-section side"><header class="com-2-section-hd"><h2 class="com-2-section-title without-icon"><span><em>相关</em>产品</span></h2></header><div class="com-2-section-bd"><ul class="com-side-products"><li class="panel-cell"><div class="com-side-product"><a href="" target="_blank" class="panel-link"></a><header class="com-side-product-hd"><div class="com-side-product-object"><img src="//cloudcache.tencent-cloud.com/qcloud/developer/images/release/team/product-default-icon.v1.svg" alt=""/></div><h3 class="com-side-product-title"></h3></header><p class="com-side-product-desc"></p></div></li></ul></div></div><div class="com-2-section side"><header class="com-2-section-hd"><h2 class="com-2-section-title without-icon"><span><em>热门</em>专栏</span></h2></header><div class="com-2-section-bd"><div class="com-side-column-panels-wrap"><div class="com-side-column-panels-cnt"><ul track-click="{&quot;areaId&quot;:113004}" track-exposure="{&quot;areaId&quot;:113004}" class="com-side-column-panels"><li class="panel-cell"><a href="/developer/column/98920" trackClick="{&quot;objectType&quot;:&quot;column&quot;,&quot;objectId&quot;:98920}" class="com-media com-side-column-panel"><div class="com-media-object"><span class="com-2-avatar"><span class="com-2-avatar-inner" style="background-image:url(https://developer.qcloudimg.com/http-save/10011/ba754063d9a8441b0cfa5c602b8fb0bd.jpg?imageView2/2/w/76/h/7000)"></span></span></div><div class="com-media-body"><h3 class="com-side-column-panel-title">韩曙亮的移动开发专栏</h3><div class="com-side-column-panel-infos"><div class="com-datas"><span class="com-data">4K 文章</span><span class="com-data">69 订阅</span></div></div></div></a></li><li class="panel-cell"><a href="/developer/column/2712" trackClick="{&quot;objectType&quot;:&quot;column&quot;,&quot;objectId&quot;:2712}" class="com-media com-side-column-panel"><div class="com-media-object"><span class="com-2-avatar"><span class="com-2-avatar-inner" style="background-image:url(https://ask.qcloudimg.com/avatar/1754203/fyjo501zw2.png?imageView2/2/w/76/h/7000)"></span></span></div><div class="com-media-body"><h3 class="com-side-column-panel-title">信数据得永生</h3><div class="com-side-column-panel-infos"><div class="com-datas"><span class="com-data">1.8K 文章</span><span class="com-data">61 订阅</span></div></div></div></a></li><li class="panel-cell"><a href="/developer/column/99412" trackClick="{&quot;objectType&quot;:&quot;column&quot;,&quot;objectId&quot;:99412}" class="com-media com-side-column-panel"><div class="com-media-object"><span class="com-2-avatar"><span class="com-2-avatar-inner" style="background-image:url(https://developer.qcloudimg.com/http-save/10011/c85d3121e8673792a25815038a207571.jpg?imageView2/2/w/76/h/7000)"></span></span></div><div class="com-media-body"><h3 class="com-side-column-panel-title">繁依Fanyi 的专栏</h3><div class="com-side-column-panel-infos"><div class="com-datas"><span class="com-data">957 文章</span><span class="com-data">35 订阅</span></div></div></div></a></li><li class="panel-cell"><a href="/developer/column/100405" trackClick="{&quot;objectType&quot;:&quot;column&quot;,&quot;objectId&quot;:100405}" class="com-media com-side-column-panel"><div class="com-media-object"><span class="com-2-avatar"><span class="com-2-avatar-inner" style="background-image:url(https://developer.qcloudimg.com/http-save/10011/2b411b8603ec2c134bc3c822c5c0d017.jpg?imageView2/2/w/76/h/7000)"></span></span></div><div class="com-media-body"><h3 class="com-side-column-panel-title">运维开发王义杰</h3><div class="com-side-column-panel-infos"><div class="com-datas"><span class="com-data">1.1K 文章</span><span class="com-data">33 订阅</span></div></div></div></a></li><li class="panel-cell"><a href="/developer/column/104228" trackClick="{&quot;objectType&quot;:&quot;column&quot;,&quot;objectId&quot;:104228}" class="com-media com-side-column-panel"><div class="com-media-object"><span class="com-2-avatar"><span class="com-2-avatar-inner" style="background-image:url(https://developer.qcloudimg.com/http-save/10011/a5914666a9130f099bb59906285ff47d.jpg?imageView2/2/w/76/h/7000)"></span></span></div><div class="com-media-body"><h3 class="com-side-column-panel-title">JAVA</h3><div class="com-side-column-panel-infos"><div class="com-datas"><span class="com-data">895 文章</span><span class="com-data">36 订阅</span></div></div></div></a></li></ul></div></div></div></div></div></div></div><div class="cdc-footer J-footer com-2-footer"><div class="cdc-footer__inner"><div class="cdc-footer__main"><div class="cdc-footer__website"><ul class="cdc-footer__website-group"><li class="cdc-footer__website-column"><div class="cdc-footer__website-box"><h3 class="cdc-footer__website-title">社区</h3><ul class="cdc-footer__website-list"><li class="cdc-footer__website-item"><a href="/developer/column">专栏文章</a></li><li class="cdc-footer__website-item"><a href="/developer/inventory">阅读清单</a></li><li class="cdc-footer__website-item"><a href="/developer/ask">互动问答</a></li><li class="cdc-footer__website-item"><a href="/developer/salon">技术沙龙</a></li><li class="cdc-footer__website-item"><a href="/developer/video">技术视频</a></li><li class="cdc-footer__website-item"><a href="/developer/teams">团队主页</a></li><li class="cdc-footer__website-item"><a href="/developer/timl">腾讯云TI平台</a></li></ul></div></li><li class="cdc-footer__website-column"><div class="cdc-footer__website-box"><h3 class="cdc-footer__website-title">活动</h3><ul class="cdc-footer__website-list"><li class="cdc-footer__website-item"><a href="/developer/support-plan">自媒体同步曝光计划</a></li><li class="cdc-footer__website-item"><a href="/developer/support-plan-invitation">邀请作者入驻</a></li><li class="cdc-footer__website-item"><a href="/developer/article/1535830">自荐上首页</a></li><li class="cdc-footer__website-item"><a href="/developer/competition">技术竞赛</a></li></ul></div></li><li class="cdc-footer__website-column"><div class="cdc-footer__website-box"><h3 class="cdc-footer__website-title">资源</h3><ul class="cdc-footer__website-list"><li class="cdc-footer__website-item"><a href="/developer/specials">技术周刊</a></li><li class="cdc-footer__website-item"><a href="/developer/tags">社区标签</a></li><li class="cdc-footer__website-item"><a href="/developer/devdocs">开发者手册</a></li><li class="cdc-footer__website-item"><a href="/lab?from=20064&amp;from_column=20064">开发者实验室</a></li></ul></div></li><li class="cdc-footer__website-column"><div class="cdc-footer__website-box"><h3 class="cdc-footer__website-title">关于</h3><ul class="cdc-footer__website-list"><li class="cdc-footer__website-item"><a rel="nofollow" href="/developer/article/1006434">社区规范</a></li><li class="cdc-footer__website-item"><a rel="nofollow" href="/developer/article/1006435">免责声明</a></li><li class="cdc-footer__website-item"><a rel="nofollow" href="mailto:cloudcommunity@tencent.com">联系我们</a></li><li class="cdc-footer__website-item"><a rel="nofollow" href="/developer/friendlink">友情链接</a></li></ul></div></li></ul></div><div class="cdc-footer__qr"><h3 class="cdc-footer__qr-title">腾讯云开发者</h3><div class="cdc-footer__qr-object"><img class="cdc-footer__qr-image" src="https://qcloudimg.tencent-cloud.cn/raw/a8907230cd5be483497c7e90b061b861.png" alt="扫码关注腾讯云开发者"/></div><div class="cdc-footer__qr-infos"><p class="cdc-footer__qr-info"><span class="cdc-footer__qr-text">扫码关注腾讯云开发者</span></p><p class="cdc-footer__qr-info"><span class="cdc-footer__qr-text">领取腾讯云代金券</span></p></div></div></div><div class="cdc-footer__recommend"><div class="cdc-footer__recommend-rows"><div class="cdc-footer__recommend-cell"><h3 class="cdc-footer__recommend-title">热门产品</h3><div class="cdc-footer__recommend-wrap"><ul class="cdc-footer__recommend-list"><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="https://dnspod.cloud.tencent.com?from=20064&amp;from_column=20064">域名注册</a></li><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="/product/cvm?from=20064&amp;from_column=20064">云服务器</a></li><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="/product/tbaas?from=20064&amp;from_column=20064">区块链服务</a></li><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="/product/mq?from=20064&amp;from_column=20064">消息队列</a></li><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="/product/dsa?from=20064&amp;from_column=20064">网络加速</a></li><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="/product/tencentdb-catalog?from=20064&amp;from_column=20064">云数据库</a></li><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="/product/cns?from=20064&amp;from_column=20064">域名解析</a></li><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="/product/cos?from=20064&amp;from_column=20064">云存储</a></li><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="/product/css?from=20064&amp;from_column=20064">视频直播</a></li></ul></div></div><div class="cdc-footer__recommend-cell"><h3 class="cdc-footer__recommend-title">热门推荐</h3><div class="cdc-footer__recommend-wrap"><ul class="cdc-footer__recommend-list"><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="/product/facerecognition?from=20064&amp;from_column=20064">人脸识别</a></li><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="/product/tm?from=20064&amp;from_column=20064">腾讯会议</a></li><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="/act/pro/enterprise2019?from=20064&amp;from_column=20064">企业云</a></li><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="/product/cdn-scd?from=20064&amp;from_column=20064">CDN加速</a></li><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="/product/trtc?from=20064&amp;from_column=20064">视频通话</a></li><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="/product/tiia?from=20064&amp;from_column=20064">图像分析</a></li><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="/product/cdb?from=20064&amp;from_column=20064">MySQL 数据库</a></li><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="/product/symantecssl?from=20064&amp;from_column=20064">SSL 证书</a></li><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="/product/asr?from=20064&amp;from_column=20064">语音识别</a></li></ul></div></div><div class="cdc-footer__recommend-cell"><h3 class="cdc-footer__recommend-title">更多推荐</h3><div class="cdc-footer__recommend-wrap"><ul class="cdc-footer__recommend-list"><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="/solution/data_protection?from=20064&amp;from_column=20064">数据安全</a></li><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="/product/clb?from=20064&amp;from_column=20064">负载均衡</a></li><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="/product/sms?from=20064&amp;from_column=20064">短信</a></li><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="/product/ocr?from=20064&amp;from_column=20064">文字识别</a></li><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="/product/vod?from=20064&amp;from_column=20064">云点播</a></li><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="https://tm.cloud.tencent.com?from=20064&amp;from_column=20064">商标注册</a></li><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="/solution/la?from=20064&amp;from_column=20064">小程序开发</a></li><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="/product/cat?from=20064&amp;from_column=20064">网站监控</a></li><li class="cdc-footer__recommend-item"><a class="com-2-footer-recommend-link" href="/product/cdm?from=20064&amp;from_column=20064">数据迁移</a></li></ul></div></div></div></div><div class="cdc-footer__copyright"><div class="cdc-footer__copyright-text"><p>Copyright © 2013 - <!-- -->2024<!-- --> Tencent Cloud. All Rights Reserved. 腾讯云 版权所有<!-- --> </p><p>深圳市腾讯计算机系统有限公司 ICP备案/许可证号:<a href="https://beian.miit.gov.cn/#/Integrated/index" target="_blank">粤B2-20090059<!-- --> </a><a href="https://www.beian.gov.cn/portal/index.do" target="_blank">深公网安备号 44030502008569</a></p><p>腾讯云计算(北京)有限责任公司 京ICP证150476号 | <!-- --> <a href="https://beian.miit.gov.cn/#/Integrated/index" target="_blank">京ICP备11018762号</a> | <!-- --> <a href="https://www.beian.gov.cn/portal/index.do" target="_blank">京公网安备号11010802020287</a></p></div></div></div></div></div><div class="com-widget-global"><div style="position:relative;z-index:8088"><div class="com-widget-global2"><div class="com-widget-global2__btn code"><div class="com-widget-global2__btn-tag">领券</div></div><div class="com-widget-global2__btn top" style="visibility:hidden"></div></div></div></div><div id="dialog-root"></div><div id="rno-dialog-root" class="rno-modal-wrap"></div></div><script>window.isServerContext = false; window.isClientContext = true;</script><script>window.$serverTime = 1732428800040; window.$clientTime = 1732428800040;</script><script class="">window.$ua = {"browser":{"name":"IE","version":"7.0","major":"7"},"cpu":{},"device":{},"engine":{},"os":{"name":"Windows","version":"Vista"}};</script><script src="//cloudcache.tencent-cloud.com/qcloud/developer/scripts/release/libs/dom4/1.8.3/dom4.js"></script><script src="https://cloudcache.tencent-cloud.com/qcloud/main/scripts/release/common/vendors/babel/polyfill.6.26.min.js"></script><script src="https://cloudcache.tencent-cloud.com/qcloud/main/scripts/release/common/vendors/react/react.16.8.6.min.js"></script><script src="https://cloudcache.tencent-cloud.com/qcloud/main/scripts/release/common/vendors/react/react-dom.16.8.6.min.js"></script><script src="https://cloudcache.tencent-cloud.com/qcloud/main/scripts/release/common/vendors/jquery-3.2.1.min.js"></script><script src="//cloudcache.tencent-cloud.com/qcloud/developer/scripts/release/base.e1782d07ea.js?max_age=31536000" crossorigin="anonymous"></script><script src="//cloudcache.tencent-cloud.com/qcloud/draft-master/dist/draft-master-v2.0.118.d4s2ddo9sb.js?max_age=31536000"></script><script src="https://cloud.tencent.com/qccomponent/login/api.js"></script><script src="//cloudcache.tencent-cloud.com/qcloud/main/scripts/release/common/deps/wechatJsSdk.js?version=1_0_1&amp;max_age=31536000"></script><script src="//cloudcache.tencent-cloud.com/qcloud/developer/scripts/release/common.d861693252.js?max_age=31536000" crossorigin="anonymous"></script><script src="https://web.sdk.qcloud.com/player/tcplayer/release/v4.7.2/tcplayer.v4.7.2.min.js"></script><script src="//dscache.tencent-cloud.cn/ecache/qcstat/qcloud/qcloudStatApi.js"></script><script src="https://qccommunity.qcloudimg.com/common/exposure-plugin-4.1.15.min.js"></script><script src="https://qccommunity.qcloudimg.com/community-track/qcloud-community-track.min.js"></script><script src="https://dscache.tencent-cloud.com/sdk/dianshi-sdk/loader/umd/dianshi-sdk-loader.v0.0.18.js"></script><script src="//cloudcache.tencent-cloud.com/qcloud/developer/scripts/release/tag/tag-detail.525acd5146.js?max_age=31536000" crossorigin="anonymous"></script><script class=""> window.$render({"tagInfo":{"id":17248,"name":"对象","icon":"","defaultIcon":"//cloudcache.tencent-cloud.com/open_proj/proj_qcloud_v2/gateway/q-and-a/css/img/tags/tag_comm.svg","shareIcon":"https://cloudcache.tencent-cloud.com/open_proj/proj_qcloud_v2/gateway/q-and-a/css/img/tags/share_comm.png","initial":"D","desc":"","followCount":1,"questionCount":241,"answerCount":348,"unanswerCount":55,"articleCount":11946,"devdocCount":0,"vlogCount":0,"boundProductId":0,"stick":{"articleIds":[],"askIds":[],"vlogIds":[]},"createTime":"2023-03-14 11:34:54"},"activeRelatedEntry":"article","timelineData":{"ask":{"fetchStatus":"none","done":false,"nextPageNumber":1,"pageSize":20,"total":0,"list":[]},"article":{"fetchStatus":"loaded","done":false,"nextPageNumber":2,"pageSize":20,"total":11936,"list":[{"id":2470342,"articleId":2470342,"title":"探索C++三大特性--C++多态详解:从入门到深入","content":"","plain":"","brief":"","summary":"在C++中,多态(Polymorphism)是面向对象编程中的一个重要特性,允许不同的数据类型通过统一的接口进行处理。这种特性使得程序的可扩展性和可维护性大大提...","abstract":"在C++中,多态(Polymorphism)是面向对象编程中的一个重要特性,允许不同的数据类型通过统一的接口进行处理。这种特性使得程序的可扩展性和可维护性大大提...","posterSummary":"在C++中,多态(Polymorphism)是面向对象编程中的一个重要特性,允许不同的数据类型通过统一的接口进行处理。这种特性使得程序的可扩展性和可维护性大大提高。","description":"","picture":"","coverImageUrl":"","sourceType":99,"sourceDetail":{},"channelType":2,"channelDetail":{},"authorId":11289931,"columnId":103834,"columnIds":[],"writeTime":1732412496,"updateTime":1732412496,"viewCount":2,"likeCount":0,"commentCount":0,"favorCount":0,"weight":0,"status":2,"draftId":0,"tagIds":[],"isCommentEnable":true,"highQuality":false,"skipAds":false,"showAds":false,"focusRead":false,"publishTime":null,"editTime":null,"isCloseTextLink":false,"author":{"avatarUrl":"https://developer.qcloudimg.com/avatar/39931.png","company":"","introduce":"","isProfessionVerified":0,"nickname":"用户11289931","title":"","uid":11289931,"id":11289931,"name":"用户11289931","avatar":"https://developer.qcloudimg.com/avatar/39931.png"},"tags":[{"tagId":17590,"tagName":"指针","id":17590,"name":"指针"},{"tagId":10166,"tagName":"c++","id":10166,"name":"c++"},{"tagId":17248,"tagName":"对象","id":17248,"name":"对象"},{"tagId":17290,"tagName":"函数","id":17290,"name":"函数"},{"tagId":17416,"tagName":"入门","id":17416,"name":"入门"}]},{"id":2470299,"articleId":2470299,"title":"【人工智能】Transformers之Pipeline(二十四):文本特征抽取(feature-extraction)","content":"","plain":"","brief":"","summary":"pipeline(管道)是huggingface transformers库中一种极简方式使用大模型推理的抽象,将所有大模型分为音频(Audio)、计算机视觉(...","abstract":"pipeline(管道)是huggingface transformers库中一种极简方式使用大模型推理的抽象,将所有大模型分为音频(Audio)、计算机视觉(...","posterSummary":"pipeline(管道)是huggingface transformers库中一种极简方式使用大模型推理的抽象,将所有大模型分为音频(Audio)、计算机视觉(Computer vision)、自然语言处理(NLP)、多模态(Multimodal)等4大类,28小类任务(tasks)。共计覆盖32万个模型","description":"","picture":"https://developer.qcloudimg.com/http-save/yehe-6998696/39f0e1bfa5f1b8d09f2aadf707ce5bf7.jpg","coverImageUrl":"https://developer.qcloudimg.com/http-save/yehe-6998696/39f0e1bfa5f1b8d09f2aadf707ce5bf7.jpg","sourceType":99,"sourceDetail":{},"channelType":2,"channelDetail":{},"authorId":6998696,"columnId":103512,"columnIds":[],"writeTime":1732408849,"updateTime":1732408849,"viewCount":6,"likeCount":0,"commentCount":0,"favorCount":0,"weight":0,"status":2,"draftId":0,"tagIds":[],"isCommentEnable":true,"highQuality":false,"skipAds":false,"showAds":false,"focusRead":false,"publishTime":null,"editTime":null,"isCloseTextLink":false,"author":{"avatarUrl":"https://ask.qcloudimg.com/random-avatar/6998696/mzchru0vgy.png","company":"","introduce":"","isProfessionVerified":0,"nickname":"LDG_AGI","title":"","uid":6998696,"id":6998696,"name":"LDG_AGI","avatar":"https://ask.qcloudimg.com/random-avatar/6998696/mzchru0vgy.png"},"tags":[{"tagId":17301,"tagName":"继承","id":17301,"name":"继承"},{"tagId":17381,"tagName":"模型","id":17381,"name":"模型"},{"tagId":10539,"tagName":"人工智能","id":10539,"name":"人工智能"},{"tagId":15259,"tagName":"pipeline","id":15259,"name":"pipeline"},{"tagId":17248,"tagName":"对象","id":17248,"name":"对象"}]},{"id":2470291,"articleId":2470291,"title":"C++ 类和对象","content":"","plain":"","brief":"","summary":" class为定义类的关键字,stack,list,vector,queue等都是类的名字,而{}内的东西是类的类的主体。类体中内容被称为类的成员...","abstract":" class为定义类的关键字,stack,list,vector,queue等都是类的名字,而{}内的东西是类的类的主体。类体中内容被称为类的成员...","posterSummary":" class为定义类的关键字,stack,list,vector,queue等都是类的名字,而{}内的东西是类的类的主体。类体中内容被称为类的成员:类中的变量为类的属性或者成员变量;类内的函数时类的方法和成员函数。","description":"","picture":"","coverImageUrl":"","sourceType":99,"sourceDetail":{},"channelType":2,"channelDetail":{},"authorId":11085319,"columnId":102716,"columnIds":[],"writeTime":1732408061,"updateTime":1732408061,"viewCount":9,"likeCount":0,"commentCount":0,"favorCount":0,"weight":0,"status":2,"draftId":0,"tagIds":[],"isCommentEnable":true,"highQuality":false,"skipAds":false,"showAds":false,"focusRead":false,"publishTime":null,"editTime":null,"isCloseTextLink":false,"author":{"avatarUrl":"https://developer.qcloudimg.com/avatar/35319.png","company":"","introduce":"","isProfessionVerified":0,"nickname":"椰","title":"","uid":11085319,"id":11085319,"name":"椰","avatar":"https://developer.qcloudimg.com/avatar/35319.png"},"tags":[{"tagId":17188,"tagName":"变量","id":17188,"name":"变量"},{"tagId":17191,"tagName":"编译器","id":17191,"name":"编译器"},{"tagId":17248,"tagName":"对象","id":17248,"name":"对象"},{"tagId":17290,"tagName":"函数","id":17290,"name":"函数"},{"tagId":10166,"tagName":"c++","id":10166,"name":"c++"}]},{"id":2470289,"articleId":2470289,"title":"【项目日记】仿mudou的高并发服务器 --- 实现缓冲区模块,通用类型Any模块,套接字模块","content":"","plain":"","brief":"","summary":"这个项目的目标是实现一个可以高效处理请求的服务器,那么对于这样的一个服务器要如何实现呢?","abstract":"这个项目的目标是实现一个可以高效处理请求的服务器,那么对于这样的一个服务器要如何实现呢?","posterSummary":"","description":"","picture":"https://developer.qcloudimg.com/http-save/yehe-10927293/f15734a5d06a7427625514833dc1461c.png","coverImageUrl":"https://developer.qcloudimg.com/http-save/yehe-10927293/f15734a5d06a7427625514833dc1461c.png","sourceType":99,"sourceDetail":{},"channelType":2,"channelDetail":{},"authorId":10927293,"columnId":102044,"columnIds":[],"writeTime":1732407813,"updateTime":1732407813,"viewCount":8,"likeCount":0,"commentCount":0,"favorCount":0,"weight":0,"status":2,"draftId":0,"tagIds":[],"isCommentEnable":true,"highQuality":false,"skipAds":false,"showAds":false,"focusRead":false,"publishTime":null,"editTime":null,"isCloseTextLink":false,"author":{"avatarUrl":"https://developer.qcloudimg.com/avatar/27293.png","company":"","introduce":"","isProfessionVerified":0,"nickname":"叫我龙翔","title":"","uid":10927293,"id":10927293,"name":"叫我龙翔","avatar":"https://developer.qcloudimg.com/avatar/27293.png"},"tags":[{"tagId":17248,"tagName":"对象","id":17248,"name":"对象"},{"tagId":17267,"tagName":"服务器","id":17267,"name":"服务器"},{"tagId":17270,"tagName":"高并发","id":17270,"name":"高并发"},{"tagId":17358,"tagName":"连接","id":17358,"name":"连接"},{"tagId":17440,"tagName":"数据","id":17440,"name":"数据"}]},{"id":2470288,"articleId":2470288,"title":"【Linux】<共享内存应用>——使用两个伪终端模拟实现<生产者消费者模型>","content":"","plain":"","brief":"","summary":"","abstract":"","posterSummary":"","description":"","picture":"https://developer.qcloudimg.com/http-save/yehe-10923987/75127b2f38d002c1cf032e1f74a26aa9.png","coverImageUrl":"https://developer.qcloudimg.com/http-save/yehe-10923987/75127b2f38d002c1cf032e1f74a26aa9.png","sourceType":99,"sourceDetail":{},"channelType":2,"channelDetail":{},"authorId":10923987,"columnId":101955,"columnIds":[],"writeTime":1732407656,"updateTime":1732407656,"viewCount":1,"likeCount":0,"commentCount":0,"favorCount":0,"weight":0,"status":2,"draftId":0,"tagIds":[],"isCommentEnable":true,"highQuality":false,"skipAds":false,"showAds":false,"focusRead":false,"publishTime":null,"editTime":null,"isCloseTextLink":false,"author":{"avatarUrl":"https://developer.qcloudimg.com/avatar/23987.png","company":"","introduce":"","isProfessionVerified":0,"nickname":"YY的秘密代码小屋","title":"","uid":10923987,"id":10923987,"name":"YY的秘密代码小屋","avatar":"https://developer.qcloudimg.com/avatar/23987.png"},"tags":[{"tagId":17592,"tagName":"终端","id":17592,"name":"终端"},{"tagId":10308,"tagName":"linux","id":10308,"name":"linux"},{"tagId":17248,"tagName":"对象","id":17248,"name":"对象"},{"tagId":17290,"tagName":"函数","id":17290,"name":"函数"},{"tagId":17381,"tagName":"模型","id":17381,"name":"模型"}]},{"id":2470287,"articleId":2470287,"title":"【Linux】<共享内存应用>——模拟实现不同进程把hello字符对<共享内存文件对象>的放入和取出操作","content":"","plain":"","brief":"","summary":"","abstract":"","posterSummary":"","description":"","picture":"https://developer.qcloudimg.com/http-save/yehe-10923987/bf5fb8f0b40e4a01f417b6280bf588d8.png","coverImageUrl":"https://developer.qcloudimg.com/http-save/yehe-10923987/bf5fb8f0b40e4a01f417b6280bf588d8.png","sourceType":99,"sourceDetail":{},"channelType":2,"channelDetail":{},"authorId":10923987,"columnId":101955,"columnIds":[],"writeTime":1732407570,"updateTime":1732407570,"viewCount":5,"likeCount":0,"commentCount":0,"favorCount":0,"weight":0,"status":2,"draftId":0,"tagIds":[],"isCommentEnable":true,"highQuality":false,"skipAds":false,"showAds":false,"focusRead":false,"publishTime":null,"editTime":null,"isCloseTextLink":false,"author":{"avatarUrl":"https://developer.qcloudimg.com/avatar/23987.png","company":"","introduce":"","isProfessionVerified":0,"nickname":"YY的秘密代码小屋","title":"","uid":10923987,"id":10923987,"name":"YY的秘密代码小屋","avatar":"https://developer.qcloudimg.com/avatar/23987.png"},"tags":[{"tagId":17290,"tagName":"函数","id":17290,"name":"函数"},{"tagId":17332,"tagName":"进程","id":17332,"name":"进程"},{"tagId":17440,"tagName":"数据","id":17440,"name":"数据"},{"tagId":10308,"tagName":"linux","id":10308,"name":"linux"},{"tagId":17248,"tagName":"对象","id":17248,"name":"对象"}]},{"id":2470106,"articleId":2470106,"title":"Java高效编程(1):使用静态工厂方法替代构造函数","content":"","plain":"","brief":"","summary":"实现缓存:静态工厂方法可以返回相同的实例,而不是每次都创建一个新对象。例如,布尔值 Boolean.valueOf(true) 会返回 Boolean.TRUE...","abstract":"实现缓存:静态工厂方法可以返回相同的实例,而不是每次都创建一个新对象。例如,布尔值 Boolean.valueOf(true) 会返回 Boolean.TRUE...","posterSummary":"实现缓存:静态工厂方法可以返回相同的实例,而不是每次都创建一个新对象。例如,布尔值 Boolean.valueOf(true) 会返回 Boolean.TRUE,而不是每次都创建一个新的 Boolean 对象。这种行为在性能优化中非常有用,尤其是在对象创建成本较高的情况下。","description":"","picture":"https://developer.qcloudimg.com/http-save/yehe-7079191/d3a182897767f9d7dde9d1501d53730e.jpg","coverImageUrl":"https://developer.qcloudimg.com/http-save/yehe-7079191/d3a182897767f9d7dde9d1501d53730e.jpg","sourceType":99,"sourceDetail":{},"channelType":4,"channelDetail":{},"authorId":7079191,"columnId":86206,"columnIds":[],"writeTime":1732347864,"updateTime":1732347864,"viewCount":17,"likeCount":0,"commentCount":0,"favorCount":0,"weight":0,"status":2,"draftId":0,"tagIds":[],"isCommentEnable":true,"highQuality":false,"skipAds":false,"showAds":false,"focusRead":false,"publishTime":null,"editTime":null,"isCloseTextLink":false,"author":{"avatarUrl":"https://ask.qcloudimg.com/http-save/yehe-7079191/z6xkdwm7nc.jpeg","company":"欧瑞科技","introduce":"东北大学计算机专业硕士,沈阳欧瑞科技创始人、超平台开发工具UnityMarvel创始人、企业内训讲师、IT作家。","isProfessionVerified":0,"nickname":"蒙娜丽宁","title":"创始人","uid":7079191,"id":7079191,"name":"蒙娜丽宁","avatar":"https://ask.qcloudimg.com/http-save/yehe-7079191/z6xkdwm7nc.jpeg"},"tags":[{"tagId":17424,"tagName":"设计模式","id":17424,"name":"设计模式"},{"tagId":10164,"tagName":"java","id":10164,"name":"java"},{"tagId":17183,"tagName":"编程","id":17183,"name":"编程"},{"tagId":17217,"tagName":"程序员","id":17217,"name":"程序员"},{"tagId":17248,"tagName":"对象","id":17248,"name":"对象"}]},{"id":2470102,"articleId":2470102,"title":"深入探索 Go 语言的编译器与垃圾回收机制","content":"","plain":"","brief":"","summary":"Go 的垃圾回收基于三色标记-清除算法。这个算法将堆中的对象分为三类:白色、灰色和黑色。白色对象是垃圾回收的候选对象,而灰色对象可能指向白色对象,黑色对象则不会...","abstract":"Go 的垃圾回收基于三色标记-清除算法。这个算法将堆中的对象分为三类:白色、灰色和黑色。白色对象是垃圾回收的候选对象,而灰色对象可能指向白色对象,黑色对象则不会...","posterSummary":"Go 的垃圾回收基于三色标记-清除算法。这个算法将堆中的对象分为三类:白色、灰色和黑色。白色对象是垃圾回收的候选对象,而灰色对象可能指向白色对象,黑色对象则不会指向白色对象。","description":"","picture":"https://developer.qcloudimg.com/http-save/yehe-7079191/bedad53e35f5d4a5f16962b39b766835.jpg","coverImageUrl":"https://developer.qcloudimg.com/http-save/yehe-7079191/bedad53e35f5d4a5f16962b39b766835.jpg","sourceType":99,"sourceDetail":{},"channelType":4,"channelDetail":{},"authorId":7079191,"columnId":86206,"columnIds":[],"writeTime":1732347822,"updateTime":1732347822,"viewCount":36,"likeCount":0,"commentCount":0,"favorCount":0,"weight":0,"status":2,"draftId":0,"tagIds":[],"isCommentEnable":true,"highQuality":false,"skipAds":false,"showAds":false,"focusRead":false,"publishTime":null,"editTime":null,"isCloseTextLink":false,"author":{"avatarUrl":"https://ask.qcloudimg.com/http-save/yehe-7079191/z6xkdwm7nc.jpeg","company":"欧瑞科技","introduce":"东北大学计算机专业硕士,沈阳欧瑞科技创始人、超平台开发工具UnityMarvel创始人、企业内训讲师、IT作家。","isProfessionVerified":0,"nickname":"蒙娜丽宁","title":"创始人","uid":7079191,"id":7079191,"name":"蒙娜丽宁","avatar":"https://ask.qcloudimg.com/http-save/yehe-7079191/z6xkdwm7nc.jpeg"},"tags":[{"tagId":17191,"tagName":"编译器","id":17191,"name":"编译器"},{"tagId":17248,"tagName":"对象","id":17248,"name":"对象"},{"tagId":17354,"tagName":"垃圾回收","id":17354,"name":"垃圾回收"},{"tagId":17382,"tagName":"内存","id":17382,"name":"内存"},{"tagId":10174,"tagName":"go","id":10174,"name":"go"}]},{"id":2470091,"articleId":2470091,"title":"10w 级的并发场景,JVM 有哪些方面值得优化呢?","content":"","plain":"","brief":"","summary":"这样就降低了对象频繁进入老年代的问题,实际上很多优化都是围绕着如何减少 Full GC 去做的,就是尽可能把短期存活的对象留在 survivor 里,不要进入老...","abstract":"这样就降低了对象频繁进入老年代的问题,实际上很多优化都是围绕着如何减少 Full GC 去做的,就是尽可能把短期存活的对象留在 survivor 里,不要进入老...","posterSummary":"这样就降低了对象频繁进入老年代的问题,实际上很多优化都是围绕着如何减少 Full GC 去做的,就是尽可能把短期存活的对象留在 survivor 里,不要进入老年代,这样就可以在 Minor GC 的时候回收掉这些对象,不会产生 Full GC,从而引发 STW,影响系统性能。","description":"","picture":"https://developer.qcloudimg.com/http-save/yehe-2253892/29f9cd0c41c8a7ceabe82e6f9b3c2083.jpg","coverImageUrl":"https://developer.qcloudimg.com/http-save/yehe-2253892/29f9cd0c41c8a7ceabe82e6f9b3c2083.jpg","sourceType":99,"sourceDetail":{},"channelType":4,"channelDetail":{},"authorId":2253892,"columnId":81086,"columnIds":[],"writeTime":1732347197,"updateTime":1732347197,"viewCount":24,"likeCount":0,"commentCount":0,"favorCount":0,"weight":0,"status":2,"draftId":0,"tagIds":[],"isCommentEnable":true,"highQuality":false,"skipAds":false,"showAds":false,"focusRead":false,"publishTime":null,"editTime":null,"isCloseTextLink":false,"author":{"avatarUrl":"https://developer.qcloudimg.com/http-save/10011/1b9c3652fd10c71666f670e276e212aa.jpg","company":"互联网金融","introduce":"著有《Redis 高手心法》、InfoQ 签约作者,擅长 MySQL、Spring Cloud、Kafka","isProfessionVerified":0,"nickname":"码哥字节","title":"架构师","uid":2253892,"id":2253892,"name":"码哥字节","avatar":"https://developer.qcloudimg.com/http-save/10011/1b9c3652fd10c71666f670e276e212aa.jpg"},"tags":[{"tagId":17248,"tagName":"对象","id":17248,"name":"对象"},{"tagId":17382,"tagName":"内存","id":17382,"name":"内存"},{"tagId":17554,"tagName":"优化","id":17554,"name":"优化"},{"tagId":10688,"tagName":"jvm","id":10688,"name":"jvm"},{"tagId":17197,"tagName":"并发","id":17197,"name":"并发"}]},{"id":2470087,"articleId":2470087,"title":"vivo 校招:说一说 JVM 垃圾回收算法有哪些?分别用在哪些垃圾收集器?","content":"","plain":"","brief":"","summary":"通过维护每个对象的引用计数来判断对象是否可以被回收。当有一个指针引用它,那么引用计数+1,当引用计数为 0 时,表示没有被对象引用,可以被回收。","abstract":"通过维护每个对象的引用计数来判断对象是否可以被回收。当有一个指针引用它,那么引用计数+1,当引用计数为 0 时,表示没有被对象引用,可以被回收。","posterSummary":"","description":"","picture":"https://developer.qcloudimg.com/http-save/yehe-2253892/15f05cf0e4b71b7dc5b1fe72dc2dfc6f.jpg","coverImageUrl":"https://developer.qcloudimg.com/http-save/yehe-2253892/15f05cf0e4b71b7dc5b1fe72dc2dfc6f.jpg","sourceType":99,"sourceDetail":{},"channelType":4,"channelDetail":{},"authorId":2253892,"columnId":81086,"columnIds":[],"writeTime":1732346927,"updateTime":1732346927,"viewCount":29,"likeCount":0,"commentCount":0,"favorCount":0,"weight":0,"status":2,"draftId":0,"tagIds":[],"isCommentEnable":true,"highQuality":false,"skipAds":false,"showAds":false,"focusRead":false,"publishTime":null,"editTime":null,"isCloseTextLink":false,"author":{"avatarUrl":"https://developer.qcloudimg.com/http-save/10011/1b9c3652fd10c71666f670e276e212aa.jpg","company":"互联网金融","introduce":"著有《Redis 高手心法》、InfoQ 签约作者,擅长 MySQL、Spring Cloud、Kafka","isProfessionVerified":0,"nickname":"码哥字节","title":"架构师","uid":2253892,"id":2253892,"name":"码哥字节","avatar":"https://developer.qcloudimg.com/http-save/10011/1b9c3652fd10c71666f670e276e212aa.jpg"},"tags":[{"tagId":17248,"tagName":"对象","id":17248,"name":"对象"},{"tagId":17354,"tagName":"垃圾回收","id":17354,"name":"垃圾回收"},{"tagId":17460,"tagName":"算法","id":17460,"name":"算法"},{"tagId":17508,"tagName":"线程","id":17508,"name":"线程"},{"tagId":10688,"tagName":"jvm","id":10688,"name":"jvm"}]},{"id":2470086,"articleId":2470086,"title":"揭秘Java多线程:synchronized如何调度王妃与王的夜夜笙歌","content":"","plain":"","brief":"","summary":"通过 do while 实现了自旋,getAndAddInt() 循环获取给定对象 o 中的偏移量处的值 v,然后判断内存值是否等于 v。","abstract":"通过 do while 实现了自旋,getAndAddInt() 循环获取给定对象 o 中的偏移量处的值 v,然后判断内存值是否等于 v。","posterSummary":"","description":"","picture":"https://developer.qcloudimg.com/http-save/yehe-2253892/856708a32772c2570215881f64f7a0f7.jpg","coverImageUrl":"https://developer.qcloudimg.com/http-save/yehe-2253892/856708a32772c2570215881f64f7a0f7.jpg","sourceType":99,"sourceDetail":{},"channelType":4,"channelDetail":{},"authorId":2253892,"columnId":81086,"columnIds":[],"writeTime":1732346807,"updateTime":1732346807,"viewCount":16,"likeCount":0,"commentCount":0,"favorCount":0,"weight":0,"status":2,"draftId":0,"tagIds":[],"isCommentEnable":true,"highQuality":false,"skipAds":false,"showAds":false,"focusRead":false,"publishTime":null,"editTime":null,"isCloseTextLink":false,"author":{"avatarUrl":"https://developer.qcloudimg.com/http-save/10011/1b9c3652fd10c71666f670e276e212aa.jpg","company":"互联网金融","introduce":"著有《Redis 高手心法》、InfoQ 签约作者,擅长 MySQL、Spring Cloud、Kafka","isProfessionVerified":0,"nickname":"码哥字节","title":"架构师","uid":2253892,"id":2253892,"name":"码哥字节","avatar":"https://developer.qcloudimg.com/http-save/10011/1b9c3652fd10c71666f670e276e212aa.jpg"},"tags":[{"tagId":10164,"tagName":"java","id":10164,"name":"java"},{"tagId":16383,"tagName":"synchronized","id":16383,"name":"synchronized"},{"tagId":17248,"tagName":"对象","id":17248,"name":"对象"},{"tagId":17250,"tagName":"多线程","id":17250,"name":"多线程"},{"tagId":17508,"tagName":"线程","id":17508,"name":"线程"}]},{"id":2470083,"articleId":2470083,"title":"京东二面:Java中一共有 N 种实现锁的方式,你知道都有哪些吗?","content":"","plain":"","brief":"","summary":"对象头主要包括标记字段 Mark World,元数据指针,如果是数组对象的话,对象头还必须存储数组长度。","abstract":"对象头主要包括标记字段 Mark World,元数据指针,如果是数组对象的话,对象头还必须存储数组长度。","posterSummary":"","description":"","picture":"https://developer.qcloudimg.com/http-save/yehe-2253892/01d865f2098c061e385e8035cfe20f56.jpg","coverImageUrl":"https://developer.qcloudimg.com/http-save/yehe-2253892/01d865f2098c061e385e8035cfe20f56.jpg","sourceType":99,"sourceDetail":{},"channelType":4,"channelDetail":{},"authorId":2253892,"columnId":81086,"columnIds":[],"writeTime":1732346627,"updateTime":1732346627,"viewCount":44,"likeCount":1,"commentCount":0,"favorCount":0,"weight":0,"status":2,"draftId":0,"tagIds":[],"isCommentEnable":true,"highQuality":false,"skipAds":false,"showAds":false,"focusRead":false,"publishTime":null,"editTime":null,"isCloseTextLink":false,"author":{"avatarUrl":"https://developer.qcloudimg.com/http-save/10011/1b9c3652fd10c71666f670e276e212aa.jpg","company":"互联网金融","introduce":"著有《Redis 高手心法》、InfoQ 签约作者,擅长 MySQL、Spring Cloud、Kafka","isProfessionVerified":0,"nickname":"码哥字节","title":"架构师","uid":2253892,"id":2253892,"name":"码哥字节","avatar":"https://developer.qcloudimg.com/http-save/10011/1b9c3652fd10c71666f670e276e212aa.jpg"},"tags":[{"tagId":10164,"tagName":"java","id":10164,"name":"java"},{"tagId":17248,"tagName":"对象","id":17248,"name":"对象"},{"tagId":17440,"tagName":"数据","id":17440,"name":"数据"},{"tagId":17508,"tagName":"线程","id":17508,"name":"线程"},{"tagId":17525,"tagName":"性能","id":17525,"name":"性能"}]},{"id":2470055,"articleId":2470055,"title":"Go 项目怎么做好分层架构和目录规划","content":"","plain":"","brief":"","summary":"开发项目的时候我们都爱说XX模块,模块一般是跟着项目所服务的业务走的。而项目的分层则没有那么依赖具体的业务类型,靠一些软件设计的方法论和经验在项目搭建初期就能大...","abstract":"开发项目的时候我们都爱说XX模块,模块一般是跟着项目所服务的业务走的。而项目的分层则没有那么依赖具体的业务类型,靠一些软件设计的方法论和经验在项目搭建初期就能大...","posterSummary":"开发项目的时候我们都爱说XX模块,模块一般是跟着项目所服务的业务走的。而项目的分层则没有那么依赖具体的业务类型,靠一些软件设计的方法论和经验在项目搭建初期就能大体确定其结构。","description":"","picture":"https://developer.qcloudimg.com/http-save/yehe-3014091/fd0353f0b6d37cfc372c98dd8f502d3e.jpg","coverImageUrl":"https://developer.qcloudimg.com/http-save/yehe-3014091/fd0353f0b6d37cfc372c98dd8f502d3e.jpg","sourceType":99,"sourceDetail":{},"channelType":4,"channelDetail":{},"authorId":3014091,"columnId":81622,"columnIds":[],"writeTime":1732343609,"updateTime":1732343609,"viewCount":26,"likeCount":0,"commentCount":0,"favorCount":0,"weight":0,"status":2,"draftId":0,"tagIds":[],"isCommentEnable":true,"highQuality":false,"skipAds":false,"showAds":false,"focusRead":false,"publishTime":null,"editTime":null,"isCloseTextLink":false,"author":{"avatarUrl":"https://ask.qcloudimg.com/random-avatar/3014091/rjj1xj4v7.png","company":"","introduce":"","isProfessionVerified":0,"nickname":"KevinYan","title":"","uid":3014091,"id":3014091,"name":"KevinYan","avatar":"https://ask.qcloudimg.com/random-avatar/3014091/rjj1xj4v7.png"},"tags":[{"tagId":17314,"tagName":"架构","id":17314,"name":"架构"},{"tagId":17440,"tagName":"数据","id":17440,"name":"数据"},{"tagId":10174,"tagName":"go","id":10174,"name":"go"},{"tagId":17248,"tagName":"对象","id":17248,"name":"对象"},{"tagId":17264,"tagName":"服务","id":17264,"name":"服务"}]},{"id":2470003,"articleId":2470003,"title":"每个.net开发人员都应该知道的 20 个基本知识","content":"","plain":"","brief":"","summary":"在本博客中,我将分享我学到的有关 C# 的 20 个重要知识 — 从掌握面向对象的编程 (OOP) 到了解异步编程的强大功能,再到采用 LINQ 和模式匹配等现...","abstract":"在本博客中,我将分享我学到的有关 C# 的 20 个重要知识 — 从掌握面向对象的编程 (OOP) 到了解异步编程的强大功能,再到采用 LINQ 和模式匹配等现...","posterSummary":"在本博客中,我将分享我学到的有关 C# 的 20 个重要知识 — 从掌握面向对象的编程 (OOP) 到了解异步编程的强大功能,再到采用 LINQ 和模式匹配等现代功能。无论您是刚开始学习还是有几个月的 C# 使用经验,这些课程都将帮助您加深理解并充分利用这门语言。","description":"","picture":"https://developer.qcloudimg.com/http-save/yehe-7499234/d31a690b505a14bd64b6a68198b99149.jpg","coverImageUrl":"https://developer.qcloudimg.com/http-save/yehe-7499234/d31a690b505a14bd64b6a68198b99149.jpg","sourceType":99,"sourceDetail":{},"channelType":4,"channelDetail":{},"authorId":7499234,"columnId":89717,"columnIds":[],"writeTime":1732340418,"updateTime":1732340418,"viewCount":33,"likeCount":1,"commentCount":0,"favorCount":0,"weight":0,"status":2,"draftId":0,"tagIds":[],"isCommentEnable":true,"highQuality":false,"skipAds":false,"showAds":false,"focusRead":false,"publishTime":null,"editTime":null,"isCloseTextLink":false,"author":{"avatarUrl":"https://ask.qcloudimg.com/http-save/yehe-7499234/c96c64adf4850c3af5eb82a172828dcb.jpeg","company":"","introduce":"微软 MVP,公众号:DotNet NB,CloudNative NB","isProfessionVerified":0,"nickname":"郑子铭","title":"后端开发工程师","uid":7499234,"id":7499234,"name":"郑子铭","avatar":"https://ask.qcloudimg.com/http-save/yehe-7499234/c96c64adf4850c3af5eb82a172828dcb.jpeg"},"tags":[{"tagId":17248,"tagName":"对象","id":17248,"name":"对象"},{"tagId":17254,"tagName":"反射","id":17254,"name":"反射"},{"tagId":17276,"tagName":"工具","id":17276,"name":"工具"},{"tagId":17303,"tagName":"集合","id":17303,"name":"集合"},{"tagId":17539,"tagName":"异步编程","id":17539,"name":"异步编程"}]},{"id":2470002,"articleId":2470002,"title":"您需要了解的C# 运算符","content":"","plain":"","brief":"","summary":"C# 是一种多功能且功能强大的编程语言,广泛用于开发从 Web 服务到桌面软件的各种应用程序。","abstract":"C# 是一种多功能且功能强大的编程语言,广泛用于开发从 Web 服务到桌面软件的各种应用程序。","posterSummary":"","description":"","picture":"https://developer.qcloudimg.com/http-save/yehe-7499234/815333df04d2f7cdcaf8f38c62f11ef5.jpg","coverImageUrl":"https://developer.qcloudimg.com/http-save/yehe-7499234/815333df04d2f7cdcaf8f38c62f11ef5.jpg","sourceType":99,"sourceDetail":{},"channelType":4,"channelDetail":{},"authorId":7499234,"columnId":89717,"columnIds":[],"writeTime":1732340386,"updateTime":1732340386,"viewCount":4,"likeCount":0,"commentCount":0,"favorCount":0,"weight":0,"status":2,"draftId":0,"tagIds":[],"isCommentEnable":true,"highQuality":false,"skipAds":false,"showAds":false,"focusRead":false,"publishTime":null,"editTime":null,"isCloseTextLink":false,"author":{"avatarUrl":"https://ask.qcloudimg.com/http-save/yehe-7499234/c96c64adf4850c3af5eb82a172828dcb.jpeg","company":"","introduce":"微软 MVP,公众号:DotNet NB,CloudNative NB","isProfessionVerified":0,"nickname":"郑子铭","title":"后端开发工程师","uid":7499234,"id":7499234,"name":"郑子铭","avatar":"https://ask.qcloudimg.com/http-save/yehe-7499234/c96c64adf4850c3af5eb82a172828dcb.jpeg"},"tags":[{"tagId":10171,"tagName":"c#","id":10171,"name":"c#"},{"tagId":17248,"tagName":"对象","id":17248,"name":"对象"},{"tagId":17429,"tagName":"事件","id":17429,"name":"事件"},{"tagId":17440,"tagName":"数据","id":17440,"name":"数据"},{"tagId":17590,"tagName":"指针","id":17590,"name":"指针"}]},{"id":2469997,"articleId":2469997,"title":".NET使用Moq开源模拟库简化单元测试","content":"","plain":"","brief":"","summary":"Moq是一个.NET开源、流行、使用简单的 .NET 模拟库,充分利用了.NET 的 Linq 表达式树和 lambda 表达式。这使得 Moq 成为最具生产力...","abstract":"Moq是一个.NET开源、流行、使用简单的 .NET 模拟库,充分利用了.NET 的 Linq 表达式树和 lambda 表达式。这使得 Moq 成为最具生产力...","posterSummary":"Moq是一个.NET开源、流行、使用简单的 .NET 模拟库,充分利用了.NET 的 Linq 表达式树和 lambda 表达式。这使得 Moq 成为最具生产力、类型安全且支持重构的模拟库。它不仅支持模拟接口,还支持模拟类。其 API 非常简单直观,不需要任何关于模拟概念的事先知识或经验。从而简化单元测试中的依赖管理和验证过程,提高代码的可测试性和可维护性。","description":"","picture":"https://developer.qcloudimg.com/http-save/yehe-7499234/608679f04987949ad46a3084751a8e46.jpg","coverImageUrl":"https://developer.qcloudimg.com/http-save/yehe-7499234/608679f04987949ad46a3084751a8e46.jpg","sourceType":99,"sourceDetail":{},"channelType":4,"channelDetail":{},"authorId":7499234,"columnId":89717,"columnIds":[],"writeTime":1732340182,"updateTime":1732340182,"viewCount":27,"likeCount":1,"commentCount":0,"favorCount":0,"weight":0,"status":2,"draftId":0,"tagIds":[],"isCommentEnable":true,"highQuality":false,"skipAds":false,"showAds":false,"focusRead":false,"publishTime":null,"editTime":null,"isCloseTextLink":false,"author":{"avatarUrl":"https://ask.qcloudimg.com/http-save/yehe-7499234/c96c64adf4850c3af5eb82a172828dcb.jpeg","company":"","introduce":"微软 MVP,公众号:DotNet NB,CloudNative NB","isProfessionVerified":0,"nickname":"郑子铭","title":"后端开发工程师","uid":7499234,"id":7499234,"name":"郑子铭","avatar":"https://ask.qcloudimg.com/http-save/yehe-7499234/c96c64adf4850c3af5eb82a172828dcb.jpeg"},"tags":[{"tagId":10667,"tagName":"开源","id":10667,"name":"开源"},{"tagId":10752,"tagName":"单元测试","id":10752,"name":"单元测试"},{"tagId":14760,"tagName":"moq","id":14760,"name":"moq"},{"tagId":17248,"tagName":"对象","id":17248,"name":"对象"},{"tagId":17540,"tagName":"异常","id":17540,"name":"异常"}]},{"id":2469995,"articleId":2469995,"title":"MVVM中实现 INotifyPropertyChanged 的 4 种方法","content":"","plain":"","brief":"","summary":"在这种情况下,接口不会自动管理子对象中属性的更改。当子属性的值发生更改时(例如,在实例中),父对象 () 不会收到对象属性发生更改的通知,这会阻止 UI 按预期...","abstract":"在这种情况下,接口不会自动管理子对象中属性的更改。当子属性的值发生更改时(例如,在实例中),父对象 () 不会收到对象属性发生更改的通知,这会阻止 UI 按预期...","posterSummary":"在这种情况下,接口不会自动管理子对象中属性的更改。当子属性的值发生更改时(例如,在实例中),父对象 () 不会收到对象属性发生更改的通知,这会阻止 UI 按预期更新。INotifyPropertyChangedWidthRectangleRectangleCalcViewModelAreaRectangle","description":"","picture":"https://developer.qcloudimg.com/http-save/yehe-7499234/8b3b7a22d632f649ab6a742d92d5cf4e.jpg","coverImageUrl":"https://developer.qcloudimg.com/http-save/yehe-7499234/8b3b7a22d632f649ab6a742d92d5cf4e.jpg","sourceType":99,"sourceDetail":{},"channelType":4,"channelDetail":{},"authorId":7499234,"columnId":89717,"columnIds":[],"writeTime":1732340113,"updateTime":1732340113,"viewCount":14,"likeCount":1,"commentCount":0,"favorCount":0,"weight":0,"status":2,"draftId":0,"tagIds":[],"isCommentEnable":true,"highQuality":false,"skipAds":false,"showAds":false,"focusRead":false,"publishTime":null,"editTime":null,"isCloseTextLink":false,"author":{"avatarUrl":"https://ask.qcloudimg.com/http-save/yehe-7499234/c96c64adf4850c3af5eb82a172828dcb.jpeg","company":"","introduce":"微软 MVP,公众号:DotNet NB,CloudNative NB","isProfessionVerified":0,"nickname":"郑子铭","title":"后端开发工程师","uid":7499234,"id":7499234,"name":"郑子铭","avatar":"https://ask.qcloudimg.com/http-save/yehe-7499234/c96c64adf4850c3af5eb82a172828dcb.jpeg"},"tags":[{"tagId":17429,"tagName":"事件","id":17429,"name":"事件"},{"tagId":14043,"tagName":"inotifypropertychanged","id":14043,"name":"inotifypropertychanged"},{"tagId":14818,"tagName":"mvvm","id":14818,"name":"mvvm"},{"tagId":17248,"tagName":"对象","id":17248,"name":"对象"},{"tagId":17329,"tagName":"接口","id":17329,"name":"接口"}]},{"id":2469984,"articleId":2469984,"title":"C#中使用 record 的好处 因为好用所以推荐!","content":"","plain":"","brief":"","summary":"对于一个 class 的浅表复制,我们可能需要实现ICloneable,亦或者 new 一个对象逐个属性赋值,当然还有其他的方法,但是呢肯定是没有 record...","abstract":"对于一个 class 的浅表复制,我们可能需要实现ICloneable,亦或者 new 一个对象逐个属性赋值,当然还有其他的方法,但是呢肯定是没有 record...","posterSummary":"对于一个 class 的浅表复制,我们可能需要实现ICloneable,亦或者 new 一个对象逐个属性赋值,当然还有其他的方法,但是呢肯定是没有 record 来的这么简单直接.我们仅需要一个with关键字就干完了","description":"","picture":"https://developer.qcloudimg.com/http-save/yehe-7499234/10bb373421fe277bc20999a3fa9715b3.jpg","coverImageUrl":"https://developer.qcloudimg.com/http-save/yehe-7499234/10bb373421fe277bc20999a3fa9715b3.jpg","sourceType":99,"sourceDetail":{},"channelType":4,"channelDetail":{},"authorId":7499234,"columnId":89717,"columnIds":[],"writeTime":1732339707,"updateTime":1732339707,"viewCount":17,"likeCount":0,"commentCount":0,"favorCount":0,"weight":0,"status":2,"draftId":0,"tagIds":[],"isCommentEnable":true,"highQuality":false,"skipAds":false,"showAds":false,"focusRead":false,"publishTime":null,"editTime":null,"isCloseTextLink":false,"author":{"avatarUrl":"https://ask.qcloudimg.com/http-save/yehe-7499234/c96c64adf4850c3af5eb82a172828dcb.jpeg","company":"","introduce":"微软 MVP,公众号:DotNet NB,CloudNative NB","isProfessionVerified":0,"nickname":"郑子铭","title":"后端开发工程师","uid":7499234,"id":7499234,"name":"郑子铭","avatar":"https://ask.qcloudimg.com/http-save/yehe-7499234/c96c64adf4850c3af5eb82a172828dcb.jpeg"},"tags":[{"tagId":17248,"tagName":"对象","id":17248,"name":"对象"},{"tagId":17301,"tagName":"继承","id":17301,"name":"继承"},{"tagId":17559,"tagName":"语法","id":17559,"name":"语法"},{"tagId":10171,"tagName":"c#","id":10171,"name":"c#"},{"tagId":15634,"tagName":"record","id":15634,"name":"record"}]},{"id":2469983,"articleId":2469983,"title":"关于 .NET 8 中装箱和取拆箱的不为人知的真相:每个 C# 开发人员都需要了解的内容","content":"","plain":"","brief":"","summary":"通过装箱,可以将值类型视为对象,使它们能够存储在堆上、传递给需要对象的方法,或插入到 or 等集合中(从早期的 .NET 版本开始)。另一方面,Unboxing...","abstract":"通过装箱,可以将值类型视为对象,使它们能够存储在堆上、传递给需要对象的方法,或插入到 or 等集合中(从早期的 .NET 版本开始)。另一方面,Unboxing...","posterSummary":"通过装箱,可以将值类型视为对象,使它们能够存储在堆上、传递给需要对象的方法,或插入到 or 等集合中(从早期的 .NET 版本开始)。另一方面,Unboxing 从对象中检索原始值类型,允许您再次使用它及其所有原始特征。ArrayListHashtable","description":"","picture":"https://developer.qcloudimg.com/http-save/yehe-7499234/0333e75189c0419f3375af7758ba9fa0.jpg","coverImageUrl":"https://developer.qcloudimg.com/http-save/yehe-7499234/0333e75189c0419f3375af7758ba9fa0.jpg","sourceType":99,"sourceDetail":{},"channelType":4,"channelDetail":{},"authorId":7499234,"columnId":89717,"columnIds":[],"writeTime":1732339671,"updateTime":1732339671,"viewCount":15,"likeCount":1,"commentCount":0,"favorCount":0,"weight":0,"status":2,"draftId":0,"tagIds":[],"isCommentEnable":true,"highQuality":false,"skipAds":false,"showAds":false,"focusRead":false,"publishTime":null,"editTime":null,"isCloseTextLink":false,"author":{"avatarUrl":"https://ask.qcloudimg.com/http-save/yehe-7499234/c96c64adf4850c3af5eb82a172828dcb.jpeg","company":"","introduce":"微软 MVP,公众号:DotNet NB,CloudNative NB","isProfessionVerified":0,"nickname":"郑子铭","title":"后端开发工程师","uid":7499234,"id":7499234,"name":"郑子铭","avatar":"https://ask.qcloudimg.com/http-save/yehe-7499234/c96c64adf4850c3af5eb82a172828dcb.jpeg"},"tags":[{"tagId":17303,"tagName":"集合","id":17303,"name":"集合"},{"tagId":17554,"tagName":"优化","id":17554,"name":"优化"},{"tagId":10171,"tagName":"c#","id":10171,"name":"c#"},{"tagId":17248,"tagName":"对象","id":17248,"name":"对象"},{"tagId":17256,"tagName":"泛型","id":17256,"name":"泛型"}]},{"id":2469978,"articleId":2469978,"title":"深入剖析C#12中的高级模式匹配","content":"","plain":"","brief":"","summary":"C# 12 为其已经强大的模式匹配功能引入了令人兴奋的新特性。这些增强功能为开发者提供了更具表现力和简洁的方式来处理数据,从而带来更干净、更易维护的代码。在本文...","abstract":"C# 12 为其已经强大的模式匹配功能引入了令人兴奋的新特性。这些增强功能为开发者提供了更具表现力和简洁的方式来处理数据,从而带来更干净、更易维护的代码。在本文...","posterSummary":"C# 12 为其已经强大的模式匹配功能引入了令人兴奋的新特性。这些增强功能为开发者提供了更具表现力和简洁的方式来处理数据,从而带来更干净、更易维护的代码。在本文中,我们将讨论 C# 12 的两大增强功能:let 模式和高级递归模式。为了充分利用这些模式,我们将解释它们的工作原理及优势,并提供实用的代码示例。","description":"","picture":"https://developer.qcloudimg.com/http-save/yehe-7499234/538c763ab1db92abf034e524d50a039b.jpg","coverImageUrl":"https://developer.qcloudimg.com/http-save/yehe-7499234/538c763ab1db92abf034e524d50a039b.jpg","sourceType":99,"sourceDetail":{},"channelType":4,"channelDetail":{},"authorId":7499234,"columnId":89717,"columnIds":[],"writeTime":1732339428,"updateTime":1732339428,"viewCount":7,"likeCount":0,"commentCount":0,"favorCount":0,"weight":0,"status":2,"draftId":0,"tagIds":[],"isCommentEnable":true,"highQuality":false,"skipAds":false,"showAds":false,"focusRead":false,"publishTime":null,"editTime":null,"isCloseTextLink":false,"author":{"avatarUrl":"https://ask.qcloudimg.com/http-save/yehe-7499234/c96c64adf4850c3af5eb82a172828dcb.jpeg","company":"","introduce":"微软 MVP,公众号:DotNet NB,CloudNative NB","isProfessionVerified":0,"nickname":"郑子铭","title":"后端开发工程师","uid":7499234,"id":7499234,"name":"郑子铭","avatar":"https://ask.qcloudimg.com/http-save/yehe-7499234/c96c64adf4850c3af5eb82a172828dcb.jpeg"},"tags":[{"tagId":10171,"tagName":"c#","id":10171,"name":"c#"},{"tagId":17188,"tagName":"变量","id":17188,"name":"变量"},{"tagId":17234,"tagName":"递归","id":17234,"name":"递归"},{"tagId":17248,"tagName":"对象","id":17248,"name":"对象"},{"tagId":17440,"tagName":"数据","id":17440,"name":"数据"}]}]},"video":{"fetchStatus":"none","done":false,"nextPageNumber":1,"pageSize":20,"total":0,"list":[]}},"relatedProducts":[{"id":0,"type":1,"name":"","cnName":"","iconUrl":"//cloudcache.tencent-cloud.com/qcloud/developer/images/release/team/product-default-icon.v1.svg","intro":"","introUrl":"","desc":"","documentUrl":"","features":"null","weight":0}],"relatedDevdocs":[],"activeUsers":[],"hotColumns":[{"id":98920,"name":"韩曙亮的移动开发专栏","desc":"","icon":"https://cloudcache.tencent-cloud.com/qcloud/developer/images/release/column-icons/1.png","background":"","status":2,"creatorId":2542479,"memberCount":1,"articleCount":3985,"followCount":69,"createdTime":1679628278,"creator":{"id":2542479,"uid":2542479,"name":"韩曙亮","label":"","avatar":"https://developer.qcloudimg.com/http-save/10011/ba754063d9a8441b0cfa5c602b8fb0bd.jpg","province":"1001","city":"","company":"","title":"","school":"中国人民大学","major":"计算机应用技术","homePage":"","region":1,"jobType":1,"graduationDate":"","education":0,"specialityIds":[],"specialities":[],"gender":1,"trade":"","growthLevel":0,"isProfessionVerified":false,"upvoteCount":0,"followingCount":2,"followerCount":143,"questionCount":0,"answerCount":0,"followQuestionCount":0,"followTagCount":0,"favorAnswerCount":0,"beHandPickedCount":0,"followColumnCount":2,"articleCount":3986,"validArticleCount":3985}},{"id":2712,"name":"信数据得永生","desc":"","icon":"https://imgcache.qq.com/qcloud/developer/images/release/column-icons/14.png","background":"","status":2,"creatorId":1754203,"memberCount":1,"articleCount":1757,"followCount":61,"createdTime":1524823081,"creator":{"id":1754203,"uid":1754203,"name":"ApacheCN_飞龙","label":"","avatar":"https://ask.qcloudimg.com/avatar/1754203/fyjo501zw2.png","province":"","city":"","company":"","title":"","school":"南京理工大学","major":"软件工程","homePage":"https://github.com/wizardforcel","region":1,"jobType":1,"graduationDate":"","education":0,"specialityIds":[10150,10149,10170,10314,10164],"specialities":[],"gender":1,"trade":"website","growthLevel":0,"isProfessionVerified":false,"upvoteCount":0,"followingCount":1,"followerCount":103,"questionCount":0,"answerCount":0,"followQuestionCount":0,"followTagCount":0,"favorAnswerCount":0,"beHandPickedCount":0,"followColumnCount":2,"articleCount":1758,"validArticleCount":1757}},{"id":99412,"name":"繁依Fanyi 的专栏","desc":"随便写点什么吧!","icon":"https://cloudcache.tencent-cloud.com/qcloud/developer/images/release/column-icons/18.png","background":"","status":2,"creatorId":9364190,"memberCount":1,"articleCount":957,"followCount":35,"createdTime":1682783728,"creator":{"id":9364190,"uid":9364190,"name":"繁依Fanyi","label":"","avatar":"https://developer.qcloudimg.com/http-save/10011/c85d3121e8673792a25815038a207571.jpg","province":"","city":"","company":"","title":"","school":"","major":"","homePage":"http://www.techfanyi.cn","region":1,"jobType":1,"graduationDate":"","education":0,"specialityIds":[],"specialities":[],"gender":1,"trade":"","growthLevel":0,"isProfessionVerified":false,"upvoteCount":0,"followingCount":7,"followerCount":64,"questionCount":0,"answerCount":0,"followQuestionCount":0,"followTagCount":1,"favorAnswerCount":0,"beHandPickedCount":0,"followColumnCount":3,"articleCount":1097,"validArticleCount":1093}},{"id":100405,"name":"运维开发王义杰","desc":"","icon":"https://cloudcache.tencent-cloud.com/qcloud/developer/images/release/column-icons/19.png","background":"","status":2,"creatorId":1242469,"memberCount":1,"articleCount":1141,"followCount":33,"createdTime":1691229814,"creator":{"id":1242469,"uid":1242469,"name":"运维开发王义杰","label":"","avatar":"https://developer.qcloudimg.com/http-save/10011/2b411b8603ec2c134bc3c822c5c0d017.jpg","province":"1213","city":"1216","company":"奇安信","title":"运维开发工程师","school":"南阳理工学院","major":"网络工程","homePage":"https://github.com/xilu0","region":1,"jobType":1,"graduationDate":"","education":0,"specialityIds":[10174,10308,10652,10663,10848],"specialities":[],"gender":1,"trade":"itcc","growthLevel":0,"isProfessionVerified":false,"upvoteCount":1,"followingCount":1,"followerCount":37,"questionCount":0,"answerCount":2,"followQuestionCount":0,"followTagCount":0,"favorAnswerCount":0,"beHandPickedCount":0,"followColumnCount":2,"articleCount":1141,"validArticleCount":1141}},{"id":104228,"name":"JAVA","desc":"","icon":"https://cloudcache.tencent-cloud.com/qcloud/developer/images/release/column-icons/6.png","background":"","status":2,"creatorId":11273182,"memberCount":1,"articleCount":895,"followCount":36,"createdTime":1731923522,"creator":{"id":11273182,"uid":11273182,"name":"默 语","label":"Java高级工程师、自媒体博主,北京城市开发者社区的主理人。全网 10余万粉丝,总阅读量超过1000万。","avatar":"https://developer.qcloudimg.com/http-save/10011/a5914666a9130f099bb59906285ff47d.jpg","province":"1001","city":"","company":"架构师","title":"国家电网","school":"中国石油大学","major":"计算机","homePage":"http://yanwc.blog.csdn.net","region":1,"jobType":1,"graduationDate":"","education":0,"specialityIds":[10848,17995,11052,10989,104],"specialities":[],"gender":1,"trade":"","growthLevel":0,"isProfessionVerified":false,"upvoteCount":0,"followingCount":1,"followerCount":15,"questionCount":0,"answerCount":0,"followQuestionCount":0,"followTagCount":0,"favorAnswerCount":0,"beHandPickedCount":0,"followColumnCount":2,"articleCount":895,"validArticleCount":895}}],"recommendedTags":[],"env":"production","documentBaseTitle":"腾讯云开发者社区-腾讯云","cdnDomain":"cloudcache.tencent-cloud.cn","cssDomain":"cloudcache.tencent-cloud.cn","qcloudDomain":"cloud.tencent.com","consoleDomain":"console.cloud.tencent.com","qcommunity_identify_id":"YXl2HLXDhGNtO4Ldwh5RO","session":{"isLogined":false,"isQcloudUser":false,"isOwner":false,"nickname":"","accountInfoCompleted":false,"phoneCompleted":false,"profile":{},"contactPhoneCompleted":false,"userInfo":{}},"pvId":"AOsKf7nJA8rq-WckQ7DL4","userIp":"8.222.208.146","fromMiniProgram":false,"route":{"url":"/developer/tag/17248","path":"/developer/tag/17248","pathname":"/developer/tag/17248","search":null,"query":{},"segments":["developer","tag","17248"]}}); </script><script class=""> if (!Element.prototype.matches) Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector; if (!Element.prototype.closest) Element.prototype.closest = function(s) { var el = this; if (!document.documentElement.contains(el)) return null; do { if (el.matches(s)) return el; el = el.parentElement; } while (el !== null); return null; }; window.addEventListener('mouseover', function(evt) { const target = evt.target; if (!target) { return; } const aEle = target.closest('a'); if (!aEle) { return; } let href = aEle.getAttribute('href'); if (!href) { return; } href = href.replace(/cloud.tencent.com.cn|cloud.tencent.com|cloud.tencent.cn/g, 'cloud.tencent.com'); aEle.setAttribute('href', href); }, true); </script></body></html>

Pages: 1 2 3 4 5 6 7 8 9 10