content
stringlengths
2
6.21k
label
stringclasses
16 values
/*_ vbuf.h Mon Aug 17 1987 Modified by: Walter Bright */ /* Copyright (C) 1987-1991 by Northwest Software */ /* All Rights Reserved */ /* Written by Walter Bright */ /* Virtual buffered memory */ #ifndef VBUF_H #define VBUF_H 1 #ifndef P #include "toolkit.h" #endif /* Pointer to a vbuf that is in memor...
C
val expName: String? = null, /** * 快递公司官网 */ val expSite: String? = null, /** * 快递公司电话 */ val expPhone: String? = null, /** * 快递公司logo */ val logo: String? = null, /** * 快递员姓名 */ val courier: String? = null, /** * 快递员电话 */ va...
Kotlin
,0x00,0x2b,0xd0,0x80,0x04,0x02,0x00] v_cmp_ngt_f16_e64 s[10:11], -1, v2 // CHECK: [0x0a,0x00,0x2b,0xd0,0xc1,0x04,0x02,0x00] v_cmp_ngt_f16_e64 s[10:11], 0.5, v2 // CHECK: [0x0a,0x00,0x2b,0xd0,0xf0,0x04,0x02,0x00] v_cmp_ngt_f16_e64 s[10:11], -4.0, v2 // CHECK: [0x0a,0x00,0x2b,0xd0,0xf7,0x04,0x02,0x00] v_cmp_ngt_f16_e...
Assembly
nt; } } @media (--dev-dot-tablet-up) { .g-hide-on-tablet-up { display: none !important; } } @media (--dev-dot-desktop) { .g-hide-on-desktop { display: none !important; } } @media (--dev-dot-show-mobile-menu) { .g-hide-with-mobile-menu { display: none !important; } } @media (--dev-dot-hide-mobile-menu) ...
CSS
required_att = None drop_attn = self.dropout(attn) if (self.use_final_linear): context = unshape(torch.matmul(drop_attn, value)) output = self.final_linear(context) return output, required_att else: context = torch.matmul(drop_attn, value) ...
Python
#ifndef DASH__HVIEW_H_INCLUDED #define DASH__HVIEW_H_INCLUDED #include <dash/Team.h> #include <dash/pattern/BlockPattern.h> #include <iostream> namespace dash { template<class ContainerType, int LEVEL> class HIter : public ContainerType::iterator { private: BlockPattern<1> & m_pattern; Team & m_subt...
C
, 16px, 16px); } treechildren::-moz-tree-image(title, query, hostContainer, open) { list-style-image: url("chrome://global/skin/icons/folder-item.png"); -moz-image-region: rect(16px, 32px, 32px, 16px); } treechildren::-moz-tree-image(title, query, OrganizerQuery_History) { list-style-image: url("chrome://browse...
CSS
# -*- coding: utf-8 -*- # # Copyright 2023 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requir...
Python
is enabled, returns 1 on ax if so or 0 otherwise check_a20_line: push es mov ax, 0xFFFF mov es, ax mov si, 0x500 mov di, 0x510 mov al, byte ptr ds:[si] push ax mov al, byte ptr es:[di] push ax mov byte ptr ds:[si], 0x00 mov byte ptr es:[di], 0xFF cmp byte ptr ds:[si], ...
Assembly
if (!file_exists(flags.lr_bam_filename)) { fprintf(stderr, "[Hypo::utils] Error: File Error: Long reads BAM file does not exist %s!\n",flags.lr_bam_filename.c_str()); exit(1); } cmd += (" -B " + std::string(optarg)); args++; break; case 'o': flags.output_filename = std...
C++
/*' $Header: P:/PVCS/MAX/QUILIB/STACKDLG.C_V 1.1 30 May 1997 12:09:06 BOB $ */ /****************************************************************************** * * * (C) Copyright 1991-92 Qualitas, Inc. GNU General Public License version 3. * * * * STACKDLG.C ...
C
tParent) return self._engagement_object @property def findingForm(self): return self.findingClass.formClass( engagementParent=self.engagementParent, scoringType=self.scoringType ) def __iter__(self): for finding in self.findings: yie...
Python
手持的美国财富比美国人手持的外国财富要多1万亿美元就一在一道,当时的美国的 GDP 将近 20 万亿,所以基本上是零啊。就是没有那,而且这为什么会这么低呢?美国人不是到最近这几年才开始有贸易逆差,而是因为美国的对外投资向来都是拿到最好的资产,比如说台积电,比如说三星,比如说哪一个矿?非洲的那些矿,OK,美国人拿到的外国资产,它的报酬率,投资报酬率向来都是外国人在美国资产,你看美国人不是光对中国,其实它历史上一直都把外国的来的大户在美国买的资产限制在非回报率很低、效率很低的东西,比如说美国国债。<br/> <br/><a onclick="seek(4472)">王孟源 01:14:32</a> <br/>所以美国人对外所拥有的财富,...
HTML
, 10) bigint == expected } assertTrue { val bigint = 1234567890123456L.toBigInteger() val expected = BigInteger.parseString("1234567890123456", 10) bigint == expected } assertTrue { val bigint = 1234.toShort().toBigInteger() ...
Kotlin
} return true; } else if ("$or" in query) { let what = query.$or; match = this.match(what[0], element) || this.match(what[1], element); } else { match = true; for (let field in query) { let test = query[field]; const propertyValue = element[field]; if...
Typescript
твие(ЭтотОбъект, "ПриОткрытии"); ТФ.ЗапуститьИЗавершить(); Сообщить(?( ТипЗнч(Высота) = Тип("ТфВеличина") , "", "!!! ") + "Верхний.Высота (Toplevel.Height) Свойство" + " " + ТекущаяДата() + Символы.ПС); </DIV> </PRE> </details> <P></P> <H4 class=dtH4>Смотрите также</H4> <P><A href="OSTG...
HTML
0 ] add %l4, 1, %l4 P282: !CASX [9] (maybe <- 0xbb) (Int) add %i1, 512, %l6 ldx [%l6], %o0 ! move %o0(upper) -> %o0(upper) ! move %o0(lower) -> %o0(lower) mov %o0, %l3 sllx %l4, 32, %o1 casx [%l6], %l3, %o1 ! move %o1(upper) -> %o1(upper) ! move %o1(lower) -> %o1(lower) add %l4, 1, %l4 P283: !PREFETCH [3] (Int) p...
Assembly
} static Future<DoctypeResponse> getMeta(String doctype) async { try { var isOnline = await verifyOnline(); DoctypeResponse metaResponse; if (isOnline) { metaResponse = await locator<Api>().getDoctype(doctype); } else { var cachedMeta = getItem('${doctype}Meta'); ...
Dart
": "HighlightMode", "nested": [], "union": false}, "defaultValue": "border", "kind": "NAMED_ONLY", "required": false, "repr": "mode: HighlightMode = border"}], "returnType": null, "doc": "<p>Adds a highlight to elements matched by the <code>selector</code>. Provides a style adjustment.</p>\n<p>Returns the number of hig...
HTML
, reified P2, reified P3, reified P4, reified P5, reified P6, reified P7, reified P8, reified P9> Signal10<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9>.await(): SignalArguments10<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9> = suspendCancellableCoroutine { cont: CancellableContinuation<SignalArguments1...
Kotlin
break; case 3: // Unknown after start of every file var unknown3 = dataReader.ReadBytesExactly(13); var size3 = dataReader.ReadUInt16(); var array3A = new ushort[size3]; for (var i = 0; i < size3; i...
C#
을 처리하는 방법은 잘 모릅니다. 일상생활에서 농부들이 사용하는 가장 흔한 시간 효율적이며 가장 빠른 짚 관리 방법 중 일부를 나열해 주실 수 있나요?\n' + '\n' + '**Gemini Pro**\n' + '\n' + '*** 충전 및 리페어 세트.\n' + '\n' + '짚 초퍼를 사용하여 짚을 담그고 수확 직후 밭 위로 고르게 펴줍니다.\n' + '\n' + '이것은 영양분을 토양에 환원시키고 토양 구조를 개선하고 잡초를 억제하며 수분을 유지하는 데 도움이 된다.\n' + ...
HTML
----- async createNote(item: NoteItem): Promise<NoteItem> { logger.info('Creating note:', item) await this.docClient.put({ TableName: this.noteTable, Item: item, }).promise(); return item } //--------------------DELETE NOTE-------------------- async deleteNote(noteId: string, us...
Typescript
r.info("Selecting ${nodes[1]}") nodes[1].findRegion().click() logger.info("Selecting ${nodes[2]}") nodes[2].findRegion().click() logger.info("Executing plan") mapRunnerRegions.executePlan.click() } } /* * GPLv3 License * * Copyright (c) waicool20 * * This program is f...
Kotlin
float recordingT = this.recordingT.set(recording ? 1 : 0); final float recordingLongT = this.recordingLongT.set(recording ? 1 : 0); final float isVideo = Math.max(recordingT, overrideStartModeIsVideoT >= 0 ? overrideStartModeIsVideoT : this.startModeIsVideoT.set(startModeIsVideo ? 1 : 0)); flo...
Java
nClickDept = function (e, treeId, treeNode) { $("#citySel").attr("value", instance.getSelectedVal()); $("#deptid").attr("value", treeNode.id); }; /** * 显示部门选择的树 * * @returns */ UserInfoDlg.showDeptSelectTree = function () { var cityObj = $("#citySel"); var cityOffset = $("#citySel").offset(); $...
JavaScript
UL><UL> <LI><H2>4 years at CNRI (Reston, USA) </H2> </UL><UL> <LI><H2>Interests: </H2> <UL> <LI>languages, programming tools, user interface design, distributed systems, multimedia, ... </UL></UL><UL> <LI><H2> </H2> </UL><UL> <LI><H2>Python was a logical next step...</H2> </UL></P> <P> --> </Body> </HTML> <!-- Prese...
HTML
person = new Person("myName3"); person.AddStuff(new Stuff(person) { Name = "this pen is mine" }); session.Save(person); nicePersonId = person.Id; Assert.AreEqual(1, person.MyStuff.Count()); session.Flush(); } using (ISession session = OpenSession()) { var person = session.Get<Person>(n...
C#
function dump(o) if type(o) == 'table' then local s = '{' for k,v in pairs(o) do if type(k) ~= 'number' then k = '"'..k..'"' end if string.len(s) > 1 then s = s .. ',' end s = s .. ' ['..k..'] = ' .. dump(v) end return s .. ' }' elseif type(o) == 'string' then return '"'..tostring(o)..'"' else r...
Lua
国医药导报, 2013 . 17. - 杨福江.预防医学[M] .郑州: 郑 州大学出版社, 2008 . - 孙世发 慢性病调补方[M] .北京: 科学技术文献出版社, 2010. - 汤贤英 ,罗军敏,等 医学免疫学实验教程[M] .西安: 第四 军医大学出版社, 2009. - 中国成入血脂异常防治指南制订联合委员会.中国成人血脂异常防治指南[J ].中华心血管病杂志, 2007. 5. - 宁亚利,黑莲芝, 等.常见病的辨证施膳 [M] .西安: 陕西科学技术出版社, 2008 . - 张绍文,邓强, 等.简明脊柱外科学[M] .兰州: 甘肃文化出版社, 2009. 46.刘振华 医疗风险预防管理学[M] .北京: 科学技术...
Markdown
e command if $?!=0 fi ``` `if` 다음에 위치한 명령은 반환 코드(`$?`)가 평가될 것이므로 어떤 명령이든 사용할 수 있습니다. `test` 명령을 사용하여 이 테스트의 결과(파일 존재, 변수가 비어 있지 않음, 쓰기 권한 설정)에 따라 여러 작업을 정의하는 것이 편리한 경우가 많습니다. 기존 명령(`mkdir`, `tar`, ...을 사용하면 성공할 경우 수행해야 할 동작이나 실패할 경우 표시해야 할 오류 메시지를 정의할 수 있습니다. 예시: ``` if [[ -e /etc/passwd ]] then echo "The f...
Markdown
,0x809b bfc03500: 34638cb9 ori v1,v1,0x8cb9 bfc03504: 145507ea bne v0,s5,bfc054b0 <inst_error> bfc03508: 00000000 nop bfc0350c: 147607e8 bne v1,s6,bfc054b0 <inst_error> bfc03510: 00000000 nop /home/ghj/Desktop/func/inst/n47_multu.S:15 bfc03514: 3c08686d lui t0,0x686d bfc03518: 3508ecfc ori t0,t0,0xecfc bfc0351c:...
Assembly
f%a1%e5%ae%89%e5%85%a8cto%e5%bc%a0%e4%bc%9f%e9%92%a6-800" width="800" height="599" srcset="http://www.aqniu.com/wp-content/uploads/2017/01/亚信安全CTO张伟钦-800.jpg 800w, http://www.aqniu.com/wp-content/uploads/2017/01/亚信安全CTO张伟钦-800-300x225.jpg 300w, http://www.aqniu.com/wp-content/uploads/2017/01/亚信安全CTO张伟钦-800-768x575.jpg ...
HTML
"ASSISTANT:", "@" .. test_dir:joinpath('multi_modify.txt'):absolute(), "<search>", search_text_1, "</search>", "<replace>", replace_text_1, "</replace>", } vim.api.nvim_buf_set_lines(bufnr, 0, -1, false, mod_block_1) -- Apply first modification file_editor.appl...
Lua
ypress.env('prefix')}${Date.now()}`, tagList: [`${Cypress.env('prefix')}${Date.now()}`], }; // When cy.then(function () { createArticle(article, this.token).then((response: Cypress.Response<Article>) => { cy.wrap(response.body.article.slug).as('slug'); }); }); cy.then(fun...
Typescript
async { await _assertNotConst( r''' final a = 1; final b = 2; var x = const {0: 0, 1: a, 2: b}; ''', () => _xInitializer(), () => [findNode.simple('a,'), findNode.simple('b}')], ); } test_mapLiteral_typeArgument() async { await _assertConst(r''' var x = const <int, int>{0: 0}; ''', (...
Dart
entity:DeleteAttribute( "particleID" ) end end end end --------------------------------------------------------------------------- -- Update player labels and the scoreboard --------------------------------------------------------------------------- function COverthrowGameMode:OnThink() for nPlayerID = 0, (DOTA...
Lua
"> <td>&gt;5000 &amp;&amp; &lt;=6000</td> <td class="num">32,526</td> <td>&gt;20000 &amp;&amp; &lt;=25000</td> <td class="num">41,618</td> <td>&gt;200000 &amp;&amp; &lt;=250000</td> <td class="num">880</td> </tr> <tr class="r1"> <td>&gt;6000 &amp;&amp; &lt;=7000</td> <td cl...
HTML
/mfUjIyAOCjwwJ6Tm8O1P/eTcLBO7ym1ZyZaV/+WY6KjawLlM/rp91XxuCFTzYyKGaSQzQfdJ4N59vSz2lO8MmrmxW+i/Fuw2gTUXOOMyuUFk/6sydx7SUbNvdJ/RrXJCIiCAg+cZ7MYnqiATbfWaX/q5GOiYl3n/eafD5oe1xtDpjcjo4s4/SZqSkCXtVlN8qn3zmh5TnsPQUYxkBEQAwUe2FNcJnh4D3t+NWPZzPPDDjbo3S7P3GBpn/anTgiP68XuvkxP8rWD1j/Wj8GeuyGEmhkVixTsmfWTEELSn9Xd3Tono0Ze+CbaO6wOATVV...
HTML
e> * @return The storeRound. */ @java.lang.Override public int getStoreRound() { return storeRound_; } /** * <code>uint32 store_round = 7;</code> * @param value The storeRound to set. * @return This builder for chaining. */ public Builder s...
Java
2array[0]-=IK2PI; } else if( j2array[0] < -IKPI ) { j2array[0]+=IK2PI; } j2valid[0] = true; for(int ij2 = 0; ij2 < 1; ++ij2) { if( !j2valid[ij2] ) { continue; } _ij2[0] = ij2; _ij2[1] = -1; for(int iij2 = ij2+1; iij2 < 1; ++iij2) { if( j2valid[iij2] && IKabs(cj2array[ij2]-cj2array[iij2]) < IKFAST_SOLUTION_THRESH...
C++
.7); /* Semi-transparent white background */ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); animation: moveRotate 4s linear infinite; position: absolute; } @keyframes moveRotate { 0% { top: 0; left: 0; transform:...
HTML
name='L317' href='#L317'><pre>317</pre></a></td><td class='skipped-line'></td><td class='code'><pre> /// use ruchy::performance_optimizations::StringInterner;</pre></td></tr><tr><td class='line-number'><a name='L318' href='#L318'><pre>318</pre></a></td><td class='skipped-line'></td><td class='code'><pre> ///</pr...
HTML
<html> <head> <title> 中共四川绵阳地委关于绵阳县五级干部会议情况的简报 - 1959-4-25 - CCRD 中国当代政治运动史数据库 </title> <link href="../../../../Emblem_of_the_PCP-Shining_Path.svg.ico" rel="icon" type="image/x-icon"/> </head> <body> <meta content="中共四川绵阳地委关于绵阳县五级干部会议情况的简报" property="title"/> <meta content="1959-4-25" property="date"/>...
HTML
tart file, name, description, authors, manual section). man_pages = [ (master_doc, 'realisticprogressiononerp-1', u'Realistic Progression One (RP-1) Documentation', [author], 1) ] # -- Options for Texinfo output ---------------------------------------------- # Grouping the document tree into Texinfo files. ...
Python
lx]?|blx|bxj|cbn?z|tb[bh]|bic|'+ 'bfc|bfi|[su]bfx|bkpt|cdp2?|clz|clrex|cmp|cmn|cpsi[ed]|cps|'+ 'setend|dbg|dmb|dsb|eor|isb|it[te]{0,3}|lsl|lsr|ror|rrx|'+ 'ldm(([id][ab])|f[ds])?|ldr((s|ex)?[bhd])?|movt?|mvn|mra|mar|'+ 'mul|[us]mull|smul[bwt][bt]|smu[as]d|smmul|smmla|'+ ...
JavaScript
ublic void setXuekeTypes(Integer xuekeTypes) { this.xuekeTypes = xuekeTypes; } /** * 获取:项目预算(元) */ public Integer getKeyanxiangmuHuafei() { return keyanxiangmuHuafei; } /** * 设置:项目预算(元) */ public void setKeyanxiangmuHuafei(Integer keyanxiangmuHuafei) { this.keyan...
Java
"><span class="blind">본문 요약봇</span></a> <div class="media_end_head_autosummary_layer_dimmed _SUMMARY_DIMMED" style="display: none;"></div> <div class="media_end_head_autosummary_layer _auto_summary_contents _SUMMARY_LAYER" style="display: none;"> <div class="media_end_head_autosummary_layer_head"> ...
HTML
tant; } .banner-section.business-account.integrations .overlay { background-size: cover; } .banner-section.business-account.integrations .banner-img-bottom { margin-top: -180px; } .banner-section.business-account.integrations .overlay form .cmn-btn { width: 50%; } .banner-section.business-account.integrat...
CSS
r hidden-xs"href="#toc-dilation" aria-hidden="true">TOC</a></span></h3> <p>Apply dilation effect to the video. </p> <p>This filter replaces the pixel by the local(3x3) maximum. </p> <p>It accepts the following options: </p> <dl compact="compact"> <dt><samp>threshold0</samp></dt> <dt><samp>threshold1</samp></dt> <dt><s...
HTML
null) { ProtoWriterTools.writeDelimited( out, FIELD_LEAFRECORD_VALUE, Math.toIntExact(localValueBytes.length()), localValueBytes::writeTo); } assert out.position() == pos + getSizeInBytes() : "pos=" + pos + ", out.position()=" + out.position() + ", size=" ...
Java
SizedBox(height: 5.0), // Botão de Inutilização SizedBox( width: double.infinity, child: ElevatedButton( style: ElevatedButton.styleFrom( backgroundColor: AppColors.secondary, ), ...
Dart
ationalUnit[1]) // check for key usage assert.Equal(t, x509.KeyUsage(33), ca.Cert.KeyUsage) // x509.KeyUsageCertSign | x509.KeyUsageDigitalSignature // check for extended usage err = func(cert *x509.Certificate) error { for _, usage := range []x509.ExtKeyUsage{ // expected extended key usage list x509.ExtKey...
Go
TaskScheduler { val scheduler = ThreadPoolTaskScheduler() scheduler.poolSize = 1 scheduler.setThreadNamePrefix("jwt-scheduler-") scheduler.initialize() return scheduler } } /* * Tencent is pleased to support the open source community by making BK-CI 蓝鲸持续集成平台 available. * ...
Kotlin
tion[]; } export namespace AttachInstancesToLoadBalancerResult { /** * @internal */ export const filterSensitiveLog = (obj: AttachInstancesToLoadBalancerResult): any => ({ ...obj, }); } export interface AttachLoadBalancerTlsCertificateRequest { /** * <p>The name of the load balancer to which you ...
Typescript
D(), ourTranslation, targetTranslation); double currentDistance = Vec2D.length(toTarget); switch (_mode) { case DistanceMode.closer: if (currentDistance < _distance) { return; } break; case DistanceMode.further: if (currentDistance > _distance) { ...
Dart
onf orientation = m_pose_filter->getOrientation(time); const Eigen::Vector3f position_cm = m_pose_filter->getPositionCm(time); pose.Orientation.w = orientation.w(); pose.Orientation.x = orientation.x(); pose.Orientation.y = orientation.y(); pose.Orientation.z = orientation.z(); pose.PositionCm.x = positio...
C++
27.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8c8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336a80 80 0 1 0 0-160 80 80 0 1 0 0 160z'; break; case 'floppy-disk': ...
Kotlin
VRfvlKxxYXUWkUvg3b5Maf8Idb40Ev3uGqj+wLMNnR6ktLnJ+eRmrNE+kVkNcHGHBgH2bbgNQih7jnYBCW6lE/OgQa4cGuRTuf/oUVFc40dZKWXokA0BY3LUTqQ/73pTsCHOaYSAW5au5GZ+GbP4BmD3TaV49n6a/r4+BEOBJInr6rWByhF++QjgqEI2kKUhJYWqKzhCgFfTTGXqdFr7p0Nfbq4BBH7ZF/qRjexZZ/oxT6OeLydfrpOffMJLroRiNUonFUFb4GFPQEyuFPSwkErxs38RYPM7KxiTNTx85ZnqEprA8D2GmT79gQ91lqyk...
CSS
_0223E39E: ; jump table .short _0223E3A8 - _0223E39E - 2 ; case 0 .short _0223E3AC - _0223E39E - 2 ; case 1 .short _0223E3B6 - _0223E39E - 2 ; case 2 .short _0223E3C2 - _0223E39E - 2 ; case 3 .short _0223E3BC - _0223E39E - 2 ; case 4 _0223E3A8: mov r0, #0 pop {r3, pc} _0223E3AC: cmp r0, #8 bge _0223E3B6 bl o...
Assembly
DestinationAzureBlobStorageUpdateOutputFormat: all fields are null") } type DestinationAzureBlobStorageUpdate struct { // The Azure blob storage account key. If you set this value, you must not set the Shared Access Signature. AzureBlobStorageAccountKey *string `json:"azure_blob_storage_account_key,omitempty"` // ...
Go
enterr = msg return end -- Does it change if it's a workshop error? If it does, we're fucked. if msg:sub(1, 9) == "\n[ERROR] " then msg = msg:sub(10, -1) local newmsg = msg --[[not epoe_server_traces:GetBool() and msg:match("(.-)\n") or]] OnLuaError(newmsg) return end end) end In...
Lua
ermediateTestFolder { get; } protected override string TestOutputDirectory => Path.Combine(Path.GetDirectoryName(ThisAssembly.Location), $"FunctionalTestOutput.{TypeUnderTest}"); protected override string TestBinaryTestDataDirectory => Path.Combine(ProductRootDirectory, "src", ...
C#
Context *C, const wmEvent *event) { ARegion *region = CTX_wm_region(C); SpaceOutliner *space_outliner = CTX_wm_space_outliner(C); float fmval[2]; UI_view2d_region_to_view(&region->v2d, event->mval[0], event->mval[1], &fmval[0], &fmval[1]); return outliner_dropzone_find(space_outliner, fmval, true); } static...
C++
ion.complete:nth-child(3) { border-color: #7d000f; } .wizard > section.complete:nth-child(4), .wizard > .section.complete:nth-child(4) { border-color: #64000c; } .wizard > section.complete:nth-child(5), .wizard > .section.complete:nth-child(5) { border-color: #4a0009; } .wizard > section.complete:nth-child(6), .w...
CSS
this.json.fetchTime, }); const ext = blob.type.match('json') ? '.json' : '.html'; const href = URL.createObjectURL(blob); const a = /** @type {HTMLAnchorElement} */ (this._dom.createElement('a')); a.download = `${filename}${ext}`; a.href = href; this._document.body.appendChild(a); // Fire...
HTML
xrange|zip)\b/, 'boolean': /\b(?:False|None|True)\b/, 'number': /\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i, 'operator': /[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/, 'punctuation': /[{}[\];(),.:]...
JavaScript
_mut(|item| { sum += **item; }); sum }); } #[bench] #[cfg(not(miri))] fn bench_cowvec_fast_for_each_owned_case(b: &mut Bencher) { let mut thevec2 = Vec::new(); for _ in 0..ITERATIONS { thevec2.push(32i128); } let...
Rust
e(s,a,o)}}))}e.manageCommandObserver=function(t,r,n,o){var s={},l=!0;r&&r._commandObserver&&(s=r._commandObserver),s.cache||(s.cache={}),s.lookupTable={};var c=e.hasSimpleAPICommandBindings(t,n,s.lookupTable);if(r&&r._commandObserver){if(c)return s;if(r._commandObserver.remove)return r._commandObserver.remove(),r._comm...
HTML
enu-item-icon { display: inline-block; -webkit-box-sizing: border-box; box-sizing: border-box; width: 40px; padding-right: 16px; color: rgba(0, 0, 0, 0.54); } /* 菜单中的辅助文本或图标 */ .mdui-menu-item-helper { float: right; } /* 有子菜单的条目的图标 */ .mdui-menu-item-more { float: right; width: 24px; height:...
CSS
"BazelQuery:UNQUOTED_WORD", "BazelQuery:,", "WHITE_SPACE", "BazelQuery:UNQUOTED_WORD", "BazelQuery:)", "BazelQuery:,", "WHITE_SPACE", "BazelQuery:INTEGER", "BazelQuery:)", ) } @Test fun `should lex a simple attr query`() { val code = ...
Kotlin
} } else if (s != status) { setStatus(s); } } return super.getStatus(doLoad, doVerify); } void startLoad() { if (tracker.target.prepareImage(image, width, height, this)) { setStatus(COMPLETE); } } int parseflags(int i...
Java
} } } func assertCredsExistAfter(timeout time.Duration) credsAssertion { return func(t testing.TB, connURL, username, password string) { t.Helper() time.Sleep(timeout) assertCredsExist(t, connURL, username, password) } } func testCredsExist(t testing.TB, connURL, username, password string) error { t.Helper(...
Go
#000,24px 78px0 0.020px #000,30px 78px0 0.020px,36px 78px0 0.020px,42px 78px0 0.020px,48px 78px0 0.020px,54px 78px0 0.020px,60px 78px0 0.020px,66px 78px0 0.020px #000,72px 78px0 0.020px #ff5478,78px 78px0 0.020px #ff5478,84px 78px0 0.020px #ff5478,90px 78px0 0.020px #ff5478,96px 78px0 0.020px #000,12px 84px0 0.020px #0...
CSS
动以上曰死,脉绝不至曰死,乍疏乍数曰死。 平人之常气禀于胃,胃者平人之常气也,人无胃气曰逆,逆者死。 春胃微弦曰平,弦多胃少曰肝病,但弦无胃曰死。胃而有毛曰秋病,毛甚曰今病。脏真散于肝,肝脏筋膜之气也。 长夏胃微软弱曰平,弱多胃少曰脾病,但代无胃曰死,软弱有石曰冬病,弱甚曰今病。脏真濡于脾,脾藏肌肉之气也。 夏胃微钩曰平,钩多胃少曰心病,但钩旡胃曰死,胃而有石曰冬病,石甚曰今病。脏真通于心,心藏血脉之气也。 秋胃微毛曰平,毛多胃少曰肺病,但毛无胃曰死,毛而有弦曰春病,弦甚曰今病。脏真高于肺,以行营卫阴阳也。 冬胃微石曰平,石多胃少曰肾病,但石无胃曰死,石而有钩曰夏病,钩甚曰今病。脏真下于肾,肾藏骨髓之气也。 胃之大络。名曰虚里,贯鬲...
HTML
ersion 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License". </p> </body> </html> <html> <head> <title> 攻击省委书记攻击中央 - 河南农学院, 王瑞林......
HTML
ile> #include <QLocale> #include <QUrl> using namespace Context; SongkickEngine::SongkickEngine( QObject* parent, const QList<QVariant>& args ) : DataEngine( parent ) , ContextObserver( ContextView::self() ) , m_datesJob( ) , m_currentTrack( 0 ) , m_ontour( true ) , m_dates( true ) { Q_UNU...
C++
factory.create_link("Google".to_string(), "http://www.google.com/".to_string()); let mut tray_news = factory.create_tray("新聞".to_string()); tray_news.add(asahi); tray_news.add(yomiuri); let mut tray_yahoo = factory.create_tray("Yahoo!".to_string()); tray_yahoo.add(us_yahoo); tray_yahoo.add(jp...
Rust
,而渲染是由单独的线程来进行的,这个过程会阻塞用户的操作。对于较大的页面、DOM 较多的页面,浏览器渲染会占用大量的 CPU 并带来明显的停顿时间。 渲染其实包括两种,一种是 reflow,就是页面元素的位置、间隔等等发生更改,这个工作是由 CPU 完成的;另一种叫做 repaint,基本上就是当颜色等发生变更的时候就需要重新绘制,这个工作是由 GPU 完成的。 因此,如果我们能够减少反复、多次,或是无意义的渲染,就可以在一定程度上为 Web 应用提速,特别是 reflow。那么对于这方面优化的其中一个思路,就是合并操作,即可以合并多个 DOM 操作为一次进行,或是合并单个 DOM 的多次操作为一次进行(React 或者 Vue...
Markdown
-disabled="true"].icon-link { cursor: default; } button[disabled].icon-btn svg, button[aria-disabled="true"].icon-btn svg, a:not([href]).icon-link svg, a[aria-disabled="true"].icon-link svg { background-color: transparent; opacity: 0.5; /* csslint ignore:start */ filter: alpha(opacity=50); /* csslint ignore...
CSS
: 041 o44: 044 o77: 077 o137: 0137 o173: 0173 o174: 0174 o175: 0175 o176: 0176 d128: 128 o400000: 0400000 o177: 0177 o2:d2: 2 o3: 3 d14: 14 d144: 144 o12: 012 d4:o4: 04 dm4: -4 o10: 010 o15: 015 o40: 040 crflg: .=.+1 col: .=.+1 t: .=.+1 t1: .=.+1 c: .=.+1 c1: .=.+1 c2: .=.+1 dpstat: .=.+1 dprea
Assembly
' ); }); it('should fail if money has wrong currency', () => { expect(() => assertMoney({ amount: 1, currencyCode: 'foobar' }) ).toThrowError('Currency code "foobar" doesn\'t match ISO-4217 format'); }); it('should fail if amount exceeds the safe integer limit', () => { [...
Typescript
ed', () { var models = [ (ModelSourceBuilder().withFileName('parent').withYaml( ''' class: Parent table: parent ''', ).build()), ModelSourceBuilder().withFileName('child').withYaml( ''' class: Child table: child fields: pare...
Dart
{ g_print ("%s\n", authors[i]); } g_print (_("\nDia is documented by:\n\n")); for (i = 0; i < ndocumentors; i++) { g_print ("%s\n", documentors[i]); } } typedef struct _PairExtensionFilter PairExtensionFilter; struct _PairExtensionFilter { const char *ext; const DiaExportFilter *ef; }; static int...
C
0004($t7) ## FFFFFF9C /* 05AC4 80B6F464 2463E0E8 */ addiu $v1, $v1, %lo(D_80B7E0E8) ## $v1 = 80B7E0E8 /* 05AC8 80B6F468 3C01BF00 */ lui $at, 0xBF00 ## $at = BF000000 /* 05ACC 80B6F46C AE0E0004 */ sw $t6, 0x0004($s0) ## 00000028 /* 05AD0 80B6F470 8DF80008 */ lw $t8...
Assembly
?? 10, maxCustomLangNameLen = maxCustomLangNameLen ?? 20, defMajorAudioVolume = defMajorAudioVolume ?? 20, enableCustomLang = enableCustomLang ?? false; factory NEInterpretationConfig.fromJson(Map map) { return NEInterpretationConfig( isSupported: map['enable'] ?? false, maxI...
Dart
g { val st = find<MipsSegmentType> { it.id == id } return if (st != null) st.name else "Unknown relocation type id ${id.hex8}" } } }/* * * This file is part of Kopycat emulator software. * * Copyright (C) 2023 INFORION, LLC * * This program is free software; you can redistribu...
Kotlin
not reside in .init.data. We then * alias this one vector to alpha_mv, so no copy is needed. * * Upshot: set __initdata to nothing for non-GENERIC kernels. */ #ifdef CONFIG_ALPHA_GENERIC #define __initmv __initdata #define ALIAS_MV(x) #else #define __initmv __initdata_refok /* GCC actually has a syntax for defi...
C
sk( type=TaskType.Regression, level=TaskLevel.Contact, num_labels=3 ) assert dataset.tasks["contact_regression"] == Task( type=TaskType.Regression, level=TaskLevel.Contact, num_labels=1 ) class TestHuggingFaceDataset: root = "multimolecule/" def test_bprna_spo...
Python
} .phui-header-subheader { font-weight: normal; font-size: {$biggerfontsize}; margin-top: 8px; } .phui-header-subheader .phui-icon-view { margin-right: 4px; } .phui-header-subheader .phui-tag-view span.phui-icon-view, .phui-header-subheader .policy-header-callout span.phui-icon-view { display: inline-bloc...
CSS
StringTokenizer( new SqlString("SELECT fish.\"id column\", fish.'fish name' as 'bar\\' column', f FROM fish")); var expected = new string[] { "SELECT", "fish.\"id column\"", ",", "fish.'fish name'", "as", "'bar\\' column'", ",", "f", "FROM", "fish" }; ...
C#
ComEventsInfo? eventsInfo = Find(rcw); if (eventsInfo == null) { eventsInfo = new ComEventsInfo(rcw); Marshal.SetComObjectData(rcw, typeof(ComEventsInfo), eventsInfo); } return eventsInfo; } public ComEventsSink? FindSi...
C#
"Assertion failed"; } } export enum Token { Comma = 0, Colon, Semicolon, Dot, Bar, Underscore, Ident, OpIdent, ConstInt, ConstString, LBrace, RBrace, LParen, RParen, LBracket, RBracket, Equal, Arrow, DoubleBackslash, Invalid, Eof,...
Typescript
srl $7, $4, $7 # [1] extll $3, 0, $3 # [1] blbs $8, G14887 # [1-] G14892: /* TagType. */ and $4, 63, $5 # [0di] srl $3, ArrayLongPrefixBitPos, $6 # [1] subq $5, TypeHeaderI, $5 # [1] bne $5, G14880 # [1] blbs $6, G14882 # [1] and $17, 63, $5 # set CD...
Assembly
various appender types", "[appender]") { duckdb::unique_ptr<QueryResult> result; DuckDB db(nullptr); Connection con(db); REQUIRE_NO_FAIL(con.Query("CREATE TABLE type_table(a BOOL, b UINT8, c UINT16, d UINT32, e UINT64, f FLOAT)")); { Appender appender(con, "type_table"); appender.AppendRow(true, uint8_t(1), ...
C++
buckling bravado.","https://storage.googleapis.com/fabmaster/cardfaces/2025-SEA/EN/SEA159.png","","633296","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],["P6GcrpdtbJCf9hgfBTTh7","6CpcdCrJKFkpkdkdLPQqT","Golden Tipple","1","SEA159","7BqWG8Lr8FRNHwWtP8G...
HTML
" .. state .. ".png") end))) local systray = widget({ type = "systray" }) -- Wibox initialisation local wibox = {} local promptbox = {} local layoutbox = {} local taglist = {} local tasklist = {} tasklist.buttons = awful.util.table.join( awful.button({ }, 1, function (c) i...
Lua
< 3) { checkUnnamed1(o.domains!); unittest.expect(o.nextPageToken!, unittest.equals('foo')); } buildCounterListDomainsResponse--; } core.List<api.TrafficStats> buildUnnamed2() => [ buildTrafficStats(), buildTrafficStats(), ]; void checkUnnamed2(core.List<api.TrafficStats> o) { unittest.expect(o, un...
Dart
let circuit_2 = build_fp_elem_var_circuit(p2, m, fp_elem_var.two_power_m)?; test_variable_independence_for_circuit::<F>(circuit_1, circuit_2)?; Ok(()) } fn build_fp_elem_var_circuit<F: PrimeField>( p: F, m: usize, two_power_m: F, ) -> Result<PlonkCircuit<F>, PlonkEr...
Rust
mock.call( job_doc, [commands.BlenderRender( blender_cmd='/path/to/blender --enable-new-depsgraph', filepath='/agent327/scenes/someshot/somefile.flamenco.blend', format='OPEN_EXR', render_output='/render/o...
Python