content
stringlengths
2
6.21k
label
stringclasses
16 values
{ Transfer: GirModel.Transfer.Full } => Model.Utf8StringArray.NullTerminated.GetInternalUnownedHandleName(), { Transfer: GirModel.Transfer.None } => Model.Utf8StringArray.NullTerminated.GetInternalHandleName(), _ => throw new Exception("Unknown transfer type for parameter with a null t...
C#
,50, FMC_1_BTN_PERF_PRESS, FMC_1_BTN_PERF_RELEASE) --INIT Button --Press function FMC_1_BTN_INIT_PRESS() fs2020_variable_write("L:"..unitpos.."_KEY_INIT", "Num", 1) sound_play(snd_click) end --Release function FMC_1_BTN_INIT_RELEASE() fs2020_variable_write("L:"..unitpos.."_KEY_INIT", "Num", 0) end button_add(n...
Lua
Messages & Special:ListFiles */ /* Visually hide repeating text, but leave in for better form navigation on screen readers */ .mw-special-Allmessages .mw-htmlform-ooui .oo-ui-fieldsetLayout:first-child .oo-ui-fieldsetLayout-header, .mw-special-Listfiles .mw-htmlform-ooui .oo-ui-fieldsetLayout:first-child .oo-ui-fieldse...
CSS
tell = 1; } String endingLogo = "□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□\n"+ "□□□□□□□□■■■■■□□■□□□□□■□■■■□□□□□■■■□□□■□□□□□□■□□□□□■■□□□□□□□□□□□□\n"+ "□□□□□□□□■□□□□□□■■□□□□■□■□□□■□□□□■□□□□■■□□□□□■□□□■□□□□■□□□□□□□□□□\n"+ "□□□□□□□□■□□□□□□■□■□□□■□■□□□□■□□□■□□□□■□□■□□□■□□■□□□□□□...
Java
state sta rock_state,X jmp rock_good move_rock_exploding: inc rock_state,X jmp rock_good move_rock_normal: ; two states. If MAP_LOCATION==0, if ypos>105 start exploding ; else if ypos>190 or so just go away ; sprite code will truncate sprite so we don't ; run off screen and corrupt memory clc lda r...
Assembly
f, 18.1163f, 5.5184f, 18.0043f, 5.4653f) curveToRelative(-0.1119f, -0.053f, -0.2386f, -0.0796f, -0.3801f, -0.0796f) horizontalLineToRelative(-6.47f) curveToRelative(-0.2828f, 0.0f, -0.5186f, 0.1002f, -0.7071f, 0.3005f) curveToRelative(-0.1885f, 0.2004f, -0.2828f, 0.442f, ...
Kotlin
l.String.Affix */ body.theme-dark .markdown-body .chroma .sb { color: #e6db74 } /* Literal.String.Backtick */ body.theme-dark .markdown-body .chroma .sc { color: #e6db74 } /* Literal.String.Char */ body.theme-dark .markdown-body .chroma .dl { color: #e6db74 } /* Literal.String.Delimiter */ body.theme-dark .markdown-bod...
CSS
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef THIRD_PARTY_BLINK_RENDERER_CORE_ANIMATION_SCROLL_TIMELINE_UTIL_H_ #define THIRD_PARTY_BLINK_RENDERER_CORE_ANIMATION_SCROLL_TIMELINE_UTIL_H_ #incl...
C
threshold is not used for log groups, instead we use 15 days as the threshold func (c *CloudWatchLogsCleaner) ListLogGroups(ctx context.Context, filterInput FilterInput) ([]string, error) { // describe-logs-groups does not return the tags and since we expect there to be a number of log groups (~400) // for a specific...
Go
const error$ = new Subject<void>(); if (this.videoEl) { this.videoEl.oncanplay = () => { playing$.next(); }; this.videoEl.onerror = () => { error$.error(undefined); }; } return race(playing$, error$).pipe(take(1)); } protected getSourceUrl(): string { if (...
Typescript
import pytest from src.logs_handler import LogsHandler from src.path_handler import PathHandler @pytest.mark.parametrize( "params", ( {"from": "ss", "path": "aboba"}, {"from": "ss"}, {"path": "https://vk.com/alsldla"}, ), ) def test_logs_handler_wrong_input(params): path_handl...
Python
import torch import torchmetrics from loguru import logger class AUCMetric(): def __init__(self): self.softmax = torch.nn.Softmax(dim=1) def __call__(self, logits, labels): """ Parameters ---------- logits output of the model labels ...
Python
{ 'name': 'test of access rights and rules', 'description': "Testing of access restrictions", 'version': '0.0.1', 'category': 'Hidden/Tests', 'data': [ 'ir.model.access.csv', 'security.xml', 'data.xml', ], 'license': 'LGPL-3', }
Python
google_scholar = '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="384" height="512" preserveAspectRatio="xMidYMid meet" viewBox="0 0 384 512"><path fill="currentColor" d="M343.759 106.662V79.43L363.524 64h-213.89L20.476 176.274h85.656a82.339 82.339 0 00-.219 6.225c0 20.8...
Dart
e'> <strong>Example:</strong> A bullet aimed straight up leaves the barrel of a gun at 400 m/s. It accelerates down at 9.8 m/s². If the bullet travels for 40.8 s before stopping how far up did it go? Ignore air friction. <details> <summary>solution</summary> $$u = 400 \, \mathrm{\tfrac{m}{s}}$$ ...
HTML
icstyles : { bold : 'Félkövér', italic : 'Dőlt', strike : 'Áthúzott', subscript : 'Alsó index', superscript : 'Felső index', underline : 'Aláhúzott' }, editor : 'HTML szerkesztő', editorPanel : 'HTML szerkesztő panel', common : { editorHelp : 'Segítségért nyo...
JavaScript
pty(pt2.id)) { continue; } if (this.hasLine(pt1, pt2) && this.hasLine(pt2, pt3)) { return [pt1, pt2, pt3]; } } if (this.equalsElement(pt2, pt3)) { if (!this.isEmpty(pt1.id)) { continue; } if (this.hasLine(pt0, pt1) && this.hasLine(pt1, pt2)) { return [pt0, pt1, pt2]; ...
Typescript
/// </summary> /// <param name="req"><see cref="DescribeDeployedResourcesRequest"/></param> /// <returns><see cref="DescribeDeployedResourcesResponse"/></returns> public Task<DescribeDeployedResourcesResponse> DescribeDeployedResources(DescribeDeployedResourcesRequest req) { ...
C#
return } else { nowStep = 'name' nowStepLine = 1 } break case 2: if (lineTrim.startsWith('*') && !lineTrim.endsWith('*/')) { ...
Typescript
"factories": openapi.Schema( type=openapi.TYPE_INTEGER, description="工廠數量" ), "documents": openapi.Schema( type=openapi.TYPE_INTEGER, description="公文數量" ), ...
Python
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SharpDX; using SharpDX.D3DCompiler; using SharpDX.Direct3D11; using SharpDX.DXGI; using Buffer = SharpDX.Direct3D11.Buffer; using Device = SharpDX.Direct3D11.Device; using SharpDX.Direct3D; namesp...
C#
;affiliate_banner_id=9" target="_blank"><span style="color: #0000ff;">Network Management Architecture and Technology Map</span></a><br/> • <a href="http://www.javvin.com/product_info.php?ref=41&amp;products_id=79&amp;affiliate_banner_id=7" target="_blank"><span style="color: #0000ff;">Network Dictionary</span></a><br/>...
HTML
er: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; padding: 0.875rem 1rem 0.875rem 3rem; color: #fff; font-size: 0.95rem; transition: all 0.3s ease; } .auth-input:focus { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 215, 0, 0.5); box-shadow: 0 0 0 0.2rem rgba...
CSS
stvewx 24, 10, 31 stvewx 24, 11, 31 stvewx 24, 12, 31 mtspr 256,7 li 10,63 li 11,79 lvx 20,10,1 addi 10,10,32 lvx 21,11,1 addi 11,11,32 lvx 22,10,1 addi 10,10,32 lvx 23,11,1 addi 11,11,32 lvx 24,10,1 addi 10,10,32 lvx 25,11,1 addi 11,11,32 lvx 26,10,1 addi 10,10,32 lvx 27,11,1 addi 11,11,32 lvx 2...
Assembly
p-password-fluid .p-password-input {\n width: 100%;\n}\n\n.p-password-input::-ms-reveal,\n.p-password-input::-ms-clear {\n display: none;\n}\n\n.p-password-overlay {\n padding: ").concat(dt("password.overlay.padding"), ";\n background: ").concat(dt("password.overlay.background"), ";\n color: ").concat(dt...
JavaScript
HANDLE MOVE.L D0,GR_SIZE TST GR_FIRST BEQ GR_103 TST GR_FLAG3 BEQ GR_103 CLR GR_FLAG3 CLR GR_FLAG2 ADD #1,FRECN(A4) ADD #1,FOBJN(A4) CLR.L D0 MOVE FRECN(A4),D0 SUB #1,D0 MULU FSIZE(A4),D0 JSR F_SEEK TST.L D0 BMI GR_ERROR GR_103 TST FBOOL(A4) ;Sorted in-memory table BEQ GR_200 CLR.L D1 MOVE FRECN(A...
Assembly
text": "\u8d35\u5dde\u7701\u67d0\u6863\u6848\u9986", "type": "paragraph"}]} </script> <p> <a href="index.htm"> [返回索引页面] </a> </p> <h1> 中共沿河县委对杨平昌所犯错误的结论 </h1> <p> 日期:1961-5-2 作者:[待确定] </p> <p> 杨平昌,男,32岁,家庭成分贫农,个人出身农民,城关公社黑水管理区杨寨生产队人,解放前读两年小学,1946年在黑水乡当伪乡长一年另四个月,49年解放前夕匪首魏延安委任匪分队长未到职,解...
HTML
#!/usr/bin/env python3 """ Route module for the API """ from os import getenv from api.v1.views import app_views from flask import Flask, jsonify, abort, request from flask_cors import (CORS, cross_origin) import os app = Flask(__name__) app.register_blueprint(app_views) CORS(app, resources={r"/api/v1/*": {"origins":...
Python
" Return value:"] #[doc = " None."] #[doc = " Comments:"] #[doc = " You have to call this function before you can call any PDF"] #[doc = " processing functions."] pub fn FPDF_InitLibraryWithConfig(config: *const FPDF_LIBRARY_CONFIG); } extern "C" { #[doc = " Function:...
Rust
().getColumns(0); double stdNaturalNums = Math.sqrt((nSamples * nSamples - 1) / 12.0); INDArray theoreticalStd = Nd4j.create(new double[] {stdNaturalNums * x, stdNaturalNums * y, stdNaturalNums * z}).reshape(1, -1).castTo(Nd4j.defaultFloatingPointType()); INDArray theoreticallabe...
Java
�骤后,您的新注册商就可以处理转移。ICANN要求任何转移操作都会将域名的到期日期延长至少一年。这是指新到期日期距离您当前的到期日期为一年,而不是自转让之日起一年。例如,如果您在2018年10月10日转移域名,但它本将于2019年3月10日到期,则您的新到期日期将为2020年3月10日。</p> <p></p> <figure class="kg-card kg-image-card"><img src="https://blog.cloudflare.com/content/images/2018/09/registrar-hidden-fees@2x-2.png" class="kg-image" alt="" loadin...
HTML
ves":{"ADV":{"description":"Adventure","books":{"1002":{"title":"Indiana Smith","price":0,"authors":[]}}}}}`); expect(firstBook1.state.title).toEqual("Indiana Smith"); const firstBook2 = firstBook1(Product.setPrice(4.99)); const firstBook3 = firstBook2(Book.addAuthor("Jim Orwell")); e...
Typescript
title="Search"> </fieldset> </form> <p id="login"> <a href="../../../../../https/dev.opera.com/login/index.html" accesskey="L" title="Log in">Log in</a> </p> <nav id="nav"> <ul role="menu"> <li role="menuitem" class="selected"> <...
HTML
Test void importEqAndSshTogetherTest() { Network network = readCgmesResources(DIR, "tieLine_EQ.xml", "tieLine_EQ_BD.xml", "tieLine_SSH.xml"); assertEqCount(network, 2, 4); assertFirstSsh(network); } @Test void importEqAndTwoSshsTest() { Network network = readCgmesResour...
Java
_or_data(bs, walkPacked, base.walkPacked); isOk &= read_bit_or_data(bs, wishShootDirPacked, base.wishShootDirPacked); isOk &= read_bit_or_data(bs, wishLookDirPacked, wishShootDirPacked); // yes, by default use 'shoot' for look if (isControlBitSet(HCT_SHOOT)) isOk &= read_bit_or_data(bs, shootPos, base.shootPo...
C++
6f6; --background-transparent-black-or-white-1: #ffffffb0; --background-transparent-black-or-white-2: #ffffffca; --background-transparent-black-or-white-3: #eeeeee91; --background-transparent-black-or-white-3-1: #fafafac3; --background-transparent-black-or-white-4: #a7a7a765; --background-transparent-black...
CSS
REFETCHTEST li PREC, 3 * SIZE li PREA, 16 * 12 * SIZE #else #ifdef linux #ifndef __64BIT__ lwz PREA, 16 + STACKSIZE(SP) lwz PREC, 20 + STACKSIZE(SP) #else ld PREA, 136 + STACKSIZE(SP) ld PREC, 144 + STACKSIZE(SP) #endif #endif #if defined(_AIX) || defined(__APPLE__) #ifdef __64BIT__ ld PREA, 136 + S...
Assembly
require "behaviours/chaseandattack" require "behaviours/runaway" require "behaviours/wander" require "behaviours/doaction" require "behaviours/findflower" require "behaviours/panic" local beecommon = require "brains/beecommon" local BrainCommon = require("brains/braincommon") local MAX_CHASE_DIST = 15 local MAX_CHASE_...
Lua
></line> <line x1="8" y1="12" x2="16" y2="12"></line> </svg> </div> <h3 class="modal-title">Publish Options</h3> <p class="modal-text">Choose how you want to publish this course:</p> <div class="publish-options"> <div class="publish-option" id="publish-lms"> ...
HTML
:type is_retry: bool, optional :param is_skip: 是否将跳过设置为 True :type is_skip: bool, optional :param reset_retry: 是否重置重试次数 :type reset_retry: bool, optional :param reset_skip: 是否重置跳过标志 :type reset_skip: bool, optional :param error_ignored: 是否为忽略错误跳过 :t...
Python
3.9 64.3 81.4c1.8-20.2 10.4-39.8 25.8-55.3c34.9-34.9 91.5-34.9 126.4 0c3.7 3.7 7 7.6 9.9 11.7zM489.1 181.7l24-28.6c9.3-11.1 14.9-25.4 14.9-41.1c0-35.3-28.7-64-64-64c-15.7 0-29.9 5.6-41.1 14.9l-28.6 24L364 65c-7.9-5.7-17.5-9-28-9c-25.1 0-45.7 19.3-47.8 43.8l-1.5 17.4-12.4 12.4L224 179.9V256v19.9l-14.1 14.1L176 323.9v42....
JavaScript
d7fd50ec32be9df13e2caeef186b30b5d653836b0725def8ccd58a56cf#rd),笔名 [ConardLi](https://mp.weixin.qq.com/s?__biz=Mzk0MDMwMzQyOA==&mid=2247493407&idx=1&sn=41b8782a3bdc75b211206b06e1929a58&chksm=c2e11234f5969b22a0d7fd50ec32be9df13e2caeef186b30b5d653836b0725def8ccd58a56cf#rd)。 `Reporting API` 定义了一个新的 `HTTP Header`,`Report-...
Markdown
self) { int delay_correction = 0; int last_delay = -2; RTC_DCHECK(self); #if !defined(WEBRTC_ANDROID) // On desktops, turn on correction after |kDelayCorrectionStart| frames. This // is to let the delay estimation get a chance to converge. Also, if the // playout audio volume is low (or even muted) the de...
C++
dcast":false,"supportScihub":false},"radar":[{"source":["antibody-software.com/wizfile/download"]}],"name":"Version History","maintainers":["Fatpandac"],"url":"antibody-software.com/wizfile/download","location":"index.ts","heat":0,"topFeeds":[]}' :test='{"code":0}' /> # ggfittext 0.10.2 ## Minor changes - Copy `thet...
Markdown
ABORT(FR_DISK_ERR); fs->dsect = sect + (fs->fptr / 512 & (fs->csize - 1)); } return FR_OK; } #endif /*-----------------------------------------------------------------------*/ /* Create a Directroy Object */ /*---------------------------------------------...
C
pillow(PIL) 9.3.0 - scikit-learn(sklearn) 1.2.0 - [MIM](https://github.com/open-mmlab/mim) v0.3.4 - [MMCV](https://github.com/open-mmlab/mmcv) v2.0.0rc4 - [MMEngine](https://github.com/open-mmlab/mmengine) v0.2.0 or higher - [MMSegmentation](https://github.com/open-mmlab/mmsegmentation) v1.0.0rc5 All the commands bel...
Markdown
lass="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-2048-path"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11...
HTML
background=self.colors['bg_secondary'], foreground=self.colors['accent_green'], font=('Segoe UI', 10, 'bold')) style.configure('Custom.TRadiobutton', background=self.colors['bg_secondary'], ...
Python
_LABEL = "Reputacja", REROLL_BUTTON = "POWTÓRZ RZUTY", RESISTANCES_LABEL = "Odporności", REST_BUTTON = "ODPOCZYNEK", RETURN_GAME_BUTTON = "POWRÓT DO GRY", REVERT_BUTTON = "POWRÓT", ROOMS_TITLE = "Pokoje", ROYAL_BUTTON = "DWORSKI", RULES_LABEL = "Zasady", RUMORS_LABEL = "Pogłoski", SAVE_BUTTON = "ZAPISZ", SAV...
Lua
(sysUploadTaskService.minioList()); } } package com.wuzeyu.gateway.center.interfaces; import com.wuzeyu.gateway.center.application.IConfigManageService; import com.wuzeyu.gateway.center.application.IMessageService; import com.wuzeyu.gateway.center.domain.manage.model.aggregates.ApplicationSystemRichInfo; import ...
Java
*/ /* DATE NAME DESCRIPTION */ /* */ /* 05-19-2020 Yuxin Zhou Initial Version 6.0 */ /* 09-30-2020 Yuxin Zhou Modified comment(s), ...
C
t/sparse_solver.h" #include <Eigen/src/IterativeSolvers/DGMRES.h> template<typename T> void test_dgmres_T() { DGMRES<SparseMatrix<T>, DiagonalPreconditioner<T> > dgmres_colmajor_diag; DGMRES<SparseMatrix<T>, IdentityPreconditioner > dgmres_colmajor_I; DGMRES<SparseMatrix<T>, IncompleteLUT<T> > dgmre...
C++
8L, 9L); List<Integer> metricsWithField2 = List.of(0, 1, 2, 3, 4); StarTreeField sf = getStarTreeField(MetricStat.VALUE_COUNT); StarTreeValues starTreeValues = getStarTreeValues( getSortedNumericMock(dimList, docsWithField), getSortedNumericMock(dimList2, docsWithField2...
Java
); } /* allocate stack and push root node */ vfloat<K> stack_near[stackSizeChunk]; NodeRef stack_node[stackSizeChunk]; stack_node[0] = BVH::invalidNode; stack_near[0] = inf; stack_node[1] = bvh->root; stack_near[1] = ray_tnear; NodeRef* stackEnd MAYBE_UNUSED = sta...
C++
Msg::Firstaccept(first_accept_rpc(first_accept)), PaxosMsg::AcceptDecide(accept_decide) => rpc_message::Msg::Acceptdecide(accept_decide_rpc(accept_decide)), PaxosMsg::Accepted(accepted) => rpc_message::Msg::Accepted(accepted_rpc(accepted)), PaxosMsg::Decide(decide) => rpc_message::Ms...
Rust
00091C98 EC 81 00 28 */ fsubs f4, f1, f0 /* 8009675C 00091C9C EC 1E 00 32 */ fmuls f0, f30, f0 /* 80096760 00091CA0 FC 60 10 90 */ fmr f3, f2 /* 80096764 00091CA4 EC 9F 01 32 */ fmuls f4, f31, f4 /* 80096768 00091CA8 EF E4 00 2A */ fadds f31, f4, f0 /* 8009676C 00091CAC 4B F8 24 59 */ bl func_80018BC4 /* 80096770...
Assembly
有这三个主义,所以要党外人士帮助党整风。” </p> <p> (九三市分社机关小组会议上的发言记录) </p> <p> 4.“二流”与“三流”。 </p> <p> “群众路线是老的,孙子兵法也有这样说法,过去有人认为群众有两种:一种是靠拢党的,一是不靠拢党的。靠拢党的,党就认为是群众,不靠扰党的,就不被重视。”“靠近党的是二流,想靠近党尚未靠上的人是三流。” </p> <p> “学校中现在有一批得宠的人,接近权贵,这些人都是‘二流子手’”。 </p> <p> (以上系肃反学习小组中群众揭发,1957年7月9日王恒守在九三复旦支社大会上供认) </p> <p...
HTML
); if (weightA !== -1 && weightB !== -1) { ret = weightA - weightB; } else if (weightA !== -1) { ret = -1; } else if (weightB !== -1) { ret = 1; } else { ret = a.localeCompare(b); } re...
Typescript
t: [0, 0, 0, 16, 15, 14, 13, 12, 11, 10, 9, 8], srcValuesWithOffsetAndLength: [0, 0, 0, 16, 15, 14, 13, 12, 11, 10, 9, 8, 0], srcOffset: 3, }, { type: 'mat4', setter: 'uniformMatrix4fv', elem: '[3][3]', numElementsPerType: 16, srcValues: [16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1...
HTML
0b8\u7269\u54c1\u65f6\uff0c\u5fc5\u987b\u4e25\u683c\u624b\u7eed\uff0c\u7528\u591a\u5c11\uff0c\u9886\u591a\u5c11\uff0c\u4e0d\u5f97\u968f\u610f\u4e71\u653e\uff1b\u7b2c\u56db\u3001\u5546\u4e1a\u9500\u552e\u90e8\u95e8\u548c\u8fd0\u8f93\u5ba2\u7ad9\u3001\u8d27\u7ad9\u4e00\u6982\u7981\u6b62\u5b58\u653e\u7206\u70b8\u7269\u54c...
HTML
, transparent 75%, #ccc 75%),linear-gradient(-45deg, transparent 75%, #ccc 75%); background-size: 20px 20px; background-position: 0 0, 0 10px, 10px -10px, -10px 0px; position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index:-1; } div....
CSS
ild);$eff = $(d);}$eff.find('a[name="effdivtop"]').remove().end().prepend('<a name="effdivtop"></a><center>' + out + '</center>').css('display','block');if (!window.dontscroll || (window.dontscroll && dontscroll==0)) {tp.mainpane.document.location = tp.mainpane.document.location + "#effdivtop";}if (afterFunc) { afterFu...
HTML
get(), label='LKF_x3', color='pink', linewidth=2) plt.plot(cp.array(x_lstm_output_data)[:, 2].get(), label='DKF_x3', color='green', linewidth=1) plt.xlabel('data') plt.ylabel('value') plt.legend() plt.title('Acc of estimate vs true') # 估測狀態誤差匯出 x_k_update_data = cp.array(x_k_update_data).reshape(-1, 1) # reshape to 2...
Python
Class.class).invoke(null, arg_for_args); return (Integer)result; } catch (InvocationTargetException e) { Throwable th = e.getCause(); throw th == null ? e : th; } } } /* * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALT...
Java
Z_ASSERT_UNREACHABLE("How did we even get here?"); // Just insert the frame and don't worry about reflowing it mFrames.InsertFrames(nullptr, aPrevFrame, aFrameList); return; } PresShell()->FrameNeedsReflow(this, IntrinsicDirty::TreeChange, NS_FRAME_HAS_DIRTY_CHILDREN); ...
C++
rgv[2], NULL, 16); offset = simple_strtoul(argv[3], NULL, 10); size = simple_strtoul(argv[4], NULL, 10); ret = atf_read_nor(offset, buffer, size); } else if ((argc == 5) && !strcmp(argv[1], "writemmc")) { buffer = (void *)simple_strtoul(argv[2], NULL, 16); offset = simple_strtoul(argv[3], NULL, 10); size ...
C
start;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:1rem;border-bottom:1px solid #e9ecef;border-top-left-radius:.3rem;border-top-right-radius:.3rem}.modal-header .close{padding:1rem;margin:-1rem -1rem -1rem auto}.modal-title{margin-bottom:0;line-height:1.5}.modal-body{position:rel...
CSS
mutex_destroy(&retry_mutex); toku_cond_destroy(&retry_cv); } void locktree::add_reference(void) { (void)toku_sync_add_and_fetch(&m_reference_count, 1); } uint32_t locktree::release_reference(void) { return toku_sync_sub_and_fetch(&m_reference_count, 1); } uint32_t locktree::get_reference_count(void) { ...
C++
) { finishOnboarding(gotItData, isHappy = false) } }.requestFocus(true) if (ind < steps.lastIndex) { builder.withButtonLabel(EduUiOnboardingBundle.message("gotIt.button.next")).onButtonClick { if (ind == 0) { EduCounterUsageCollector.uiOnboardingStarted() } ...
Kotlin
player?.stopVideo(); } catch (e) { console.log(e); } } replay() { try { this.setCurrentTime(1); } catch (e) { console.log(e); } } } import HTMLElement from '../html-element/HTMLElement'; import IHTMLScriptElement from './IHTMLScriptElement'; /** * HTML Script Element. * ...
Typescript
ChangedRegion() et al are suspected for bugs/need changes. // The code below is as simple and clear as possible. void vncDesktop::GetChangedRegion(vncRegion &rgn, const RECT &rect) { rgn.AddRect(rect); // Copy the changes to the back buffer const int c2rect_re_vd_top = rect.top - m_bmrect.top; const int c3rect_re_...
C++
/or other materials provided with the distribution. 3. Neither the name of Electronic Arts, Inc. ("EA") nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY ELECTRONIC ARTS AND ITS CONTRI...
C++
':[u'أءزف'], u'آزل':[u'أءزل'], u'آزى':[u'أءزى', u'ءازى'], u'آسب':[u'أءسب'], u'آسد':[u'أءسد'], u'آسف':[u'أءسف'], u'آسن':[u'أءسن'], #~ u'آسى':[u'ءاسى'], u'آسى':[u'أءسى', u'ءاسى'], u'آشى':[u'أءشى'], u'آصد':[u'أءصد'], u'آصر':[u'ءاصر'], u'آصل':[u'أءصل'], u'آضّ':[u'ءاضّ'], u'آض':[u'ءاضّ'], u'آطم':[u'أءطم'], u...
Python
tbl->attach (*solo_boost_display, 0, 2, 2, 3, EXPAND , SHRINK, 1, 2); level_tbl->attach (*solo_cut_label, 2, 4, 0, 1, EXPAND|FILL, SHRINK, 1, 2); level_tbl->attach (*solo_cut_control, 2, 4, 1, 2, EXPAND|FILL, SHRINK, 1, 2); level_tbl->attach (*solo_cut_display, 2, 4, 2, 3, EXPAND , SHRINK, 1, 2)...
C++
for event in event_regex.captures_iter(&collection[1]) { events.push((event[1].to_string(), event[2].parse::<i64>().unwrap(), event[3].parse::<i64>().unwrap())); } let behavior_regex = Regex::new(r"\(Behavior=(?:.*?)([[:word:]]*?)',LinkedVariables=\(ArrayIndexAndLength=(.*?)\),OutputLinks=\(ArrayIn...
Rust
.rasterColorMix, [0.0, 1.0, 2.0, 3.0]); expect(layer.rasterColorRange, [0.0, 1.0]); expect(layer.rasterContrast, 1.0); expect(layer.rasterElevation, 1.0); expect(layer.rasterEmissiveStrength, 1.0); expect(layer.rasterFadeDuration, 1.0); expect(layer.rasterHueRotate, 1.0); expect(layer.raster...
Dart
,因地制宜,不要搞平均主义,城乡有差别,城市里每人一条毛巾,而乡村每家一条。商业部要搞好,否则要浪费。还有外贸问题,我国现在货币发行量大大减少,银行存款就超过发行量,这说明我们东西多,价格降低,外贸部要革命,主要依靠国内市场,世界上最大市场是西欧才二亿人口,我们有八亿人口的市场为何还要做二亿人口的市场呢。世界上帝国主义都看中这市场,加拿大、意大利要跟中国建交,主要也是经济上原因。今后要做到不求他人,让他们求我们,我们有物质,人力资源,外贸要立足于国内,外汇也要立足于国内,侨汇也不过一亿,依靠他们还要翘尾巴。 </p> <p> ⑤做好铁路交通运输问题。最近在徐州、贵州附近有问题,批判走资派但业务上也必须重视(其中有一段没...
HTML
U+1F6AD, U+1F6B2, U+1F6B9-1F6BA, U+1F6BC, U+1F6C6-1F6CF, U+1F6D3-1F6D7, U+1F6E0-1F6EA, U+1F6F0-1F6F3, U+1F6F7-1F6FC, U+1F700-1F7FF, U+1F800-1F80B, U+1F810-1F847, U+1F850-1F859, U+1F860-1F887, U+1F890-1F8AD, U+1F8B0-1F8BB, U+1F8C0-1F8C1, U+1F900-1F90B, U+1F93B, U+1F946, U+1F984, U+1F996, U+1F9E9, U+1FA00-1FA6F, U+1FA70...
HTML
----- */ body.p-text { } body.p-text .main { } /* 本扉ページ ---------------------------------------------------------------- */ body.p-titlepage { } body.p-titlepage .main { } /* 奥付ページ ---------------------------------------------------------------- */ body.p-colophon { } body.p-colophon .main { } /* 目次ページ ----------...
CSS
layed", "Outperfom", "Outperform", "Outpsoken", "Outspoken", "Outrageos", "Outrageous", "Outskirst", "Outskirts", "Outskrits", "Outskirts", "Outwieghs", "Outweighs", "Overbaord", "Overboard", "Overclcok", "Overclock", "Overdirve", "Overdrive", "Overhpyed", "Overhyped", "Overhwelm", "Overwhelm", "Overlcock",...
Go
ystem")) .with(arg("--StartPath", home.toString())) .with(multiArg("--StartParams", "--config-dir=" + bootloader.confDir(), "--home-dir=" + home)) .with(arg("--StopMode", "jvm")) .with(arg("--StopMethod", "stop")) .with(arg("--StopPath", ho...
Java
k </samp> &#8217;, &#8216; <samp> tbreak </samp> &#8217;, &#8216; <samp> watch </samp> &#8217;, &#8216; <samp> watche </samp> &#8217;...) </a> </td> </tr> <tr> <td> </td> <td valign="top"> <a href="#IDX49"> breakpoint on variable modification </a> </td> <td valign="top"> <a href="#SEC23"> 4....
HTML
002fd5)); } private static void populateSD() { SET_ENCODINGS.put("SD", CodePointSet.createNoDedup(0x000069, 0x00006a, 0x00012f, 0x00012f, 0x000249, 0x000249, 0x000268, 0x000268, 0x00029d, 0x00029d, 0x0002b2, 0x0002b2, 0x0003f3, 0x0003f3, 0x000456, ...
Java
art'; import 'package:masiro/misc/url.dart'; class MasiroApi { static final _dio = getIt<Dio>(); static Future<PagedNovelResponse> getPagedNovelCollection({ required int page, int collection = 1, }) async { final response = await _dio.get( MasiroUrl.loadMoreNovels, queryParameters: {'pag...
Dart
te IE 9]> <object data="../svggen/interact-zoom-03-t.svg" type="image/svg+xml" width="480" height="360"> <![endif]--> </object> </td> <td align="left"> <img alt="raster of interact-zoom-03-t" src="../png/basic-interact-zoom-03-t.png" width="160" height="120"/> <...
HTML
ne => { // Didn't match. } some(item_ref) => { // Check for duplicates. match copy *item_ref { some(original_def_id) if original_def_id != item_def_id => { self.session.err(fm...
Rust
Server\"`*"] pub const PROPERTY_USER_RADIUS_FRAMED_IPV6_ROUTE: USERPROPERTIES = 1034i32; #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkPolicyServer\"`*"] pub const PROPERTY_USER_SAVED_RADIUS_FRAMED_IPV6_ROUTE: USERPROPERTIES = 1035i32; #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkPoli...
Rust
ENOTEMPTY ENOTNAM ENOTRECOVERABLE ENOTSOCK ENOTSUP ENOTTY ENOTUNIQ ENXIO EOPNOTSUPP EOVERFLOW EOWNERDEAD EPERM EPFNOSUPPORT EPIPE EPROTO EPROTONOSUPPORT EPROTOTYPE ERANGE EREMCHG EREMOTE EREMOTEIO ERESTART EROFS ESHUTDOWN ESOCKTNOSUPPORT ESPIPE ESRCH ESRMNT ESTALE ESTRPIPE ETIME ETIMEDO...
Go
Option`의 `state` 필드 값에 따라 동일한 메소드의 구현을 대행하며, 그 결과값을 `state` 필드의 새 값으로 설정한다. 이 패턴을 따르는 `Post`의 메소드를 많이 갖게 되면, 이러한 반복을 제거하기 위해 매크로의 정의를 고려할 수 있다. 객체 지향 언어에서 정의하는 것과 동일하게 상태 패턴을 구현함으로써, 사용할 수 있는 러스트의 강점을 모두 이용하지 못하고 있다. 유효하지 않은 상태 및 전환이 컴파일 타임 에러가 될 수 있도록 하기 위해 할 수 있는 `blog` crate에 대한 변경 몇가지를 살펴보자. ### 상태와 동작을 타입처럼 인코딩하...
Markdown
/* * Audacity: A Digital Audio Editor */ #pragma once #include <QObject> #include "libraries/lib-components/EffectInterface.h" #include "modularity/ioc.h" #include "effects/effects_base/ieffectinstancesregister.h" #include "effects/effects_base/ieffectexecutionscenario.h" #include "effects/effects_base/ieffectsprovi...
C
string("Ipv6GatewayId"), ipv6GatewayId); } /* * Copyright 2009-2017 Alibaba Cloud 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/l...
C++
yUtils } from "../../utils"; import { NamespaceDeclarationStructure } from "../../structures"; import { FactoryStructurePrinter } from "../FactoryStructurePrinter"; import { BlankLineFormattingStructuresPrinter } from "../formatting"; export class NamespaceDeclarationStructurePrinter extends FactoryStructurePrinter<Na...
Typescript
*/ IsAdmitted: string; /**自動淘汰 */ AutoManualEliminate: string; /**自動遞補 */ AutoManually: string; /**保證是否金繳納 */ MarginPayment: string; /**校友課程系統編號 */ AlumniID: string; /**校友系統編號 */ StudentId: string; /**序號 */ SerialNumber: string; /**校友姓名 */ StudentName: string; /**銀行代碼 */ BankC...
Typescript
nc fn create_order( &mut self, _: ObjectId, _: String, _: Option<f64>, _: f64, _: Option<OrderOption>, ) -> ThreadSafeResult<ObjectId> { return Err(Box::new(ExecutionFailed::new( "Call create_order from TestExecutorTrait.", ))); } async fn remove_order( &mut self, _:...
Rust
local unitPayloads = { ["name"] = "VSN_F104S_AG", ["payloads"] = { [1] = { ["displayName"] = "DEAD", ["name"] = "DEAD", ["pylons"] = { [1] = { ["CLSID"] = "{LAU-138 wtip - AIM-9L}", ["num"] = 2, }, [2] = { ["CLSID"] = "{08164777-5E9C-4B08-B48E-5AA7AFB246E2}", ["num"] =...
Lua
EngageZone(EngageZone) self:F2() if EngageZone then self.EngageZone=EngageZone else self.EngageZone=nil end end function AI_A2A_CAP:SetEngageRange(EngageRange) self:F2() if EngageRange then self.EngageRange=EngageRange else self.EngageRange=nil end end function AI_A2A_CAP:CreateAttackUnitTasks(AttackSetUnit,DefenderGro...
Lua
if(Guid.TryParse(id, out Guid guidId)) { Id = guidId; } else { DisplayName = id; } } internal RoleDefinition GetInstance(ApiRequestHelper requestHelper) { if (Instance != null) ...
C#
1L[cheminée,chocolat,épée,arc,chute de pierre" << false; QTest::newRow("test2") << "10d10c" << false; QTest::newRow("test3") << "10d10a" << false; QTest::newRow("test4") << "10d0a[>7]" << false; QTest::newRow("test5") << "aiteanetauearuteurn" << false; QTest::newRow("test6") << "meregue" << false; ...
C++
<line x1="12" y1="1" x2="12" y2="3"></line> <line x1="12" y1="21" x2="12" y2="23"></line> <line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line> <line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line> <line x1="1" y1="12" x2="3" y2="12"></line> <line x1="21" y1="12" x2="23" y2="12"></line...
HTML
) in arms.iter() { collect_expr(imported, expr) } for stmt in stmts.iter() { collect_stmt(imported, stmt) } }, spiral::Expr::Call(ref fun_e, ref args) => { collect_expr(imported, fun_e); for arg in args.iter() { collect_expr(imported, arg) } }, spiral::Expr::Var(_) | spiral::Expr::...
Rust