content
stringlengths
2
6.21k
label
stringclasses
16 values
unused_mut)] let mut scope_739 = writer.prefix("Phase2EncryptionAlgorithm"); if let Some(var_740) = &input.phase2_encryption_algorithms { let mut list_742 = scope_739.start_list(true, Some("item")); for item_741 in var_740 { #[allow(unused_mut)] let mut entry_743 = list_7...
Rust
'DYNAMODB_LOCATION_TABLE_NAME', ]; dotenv.config(); // Load Environment variables from '.env' file envVars.forEach((envVar) => { if (!process.env[`${envVar}`]) { throw new Error(`Environment variable ${envVar} seems to be missing.`); } }); return { readApiUrl: process.env.API_BASE_UR...
Typescript
.java).last().operator assertResolvant("'%bar%' <- function(a,b) 3", symbol!!.reference) } val dotMatcher: PsiElementPattern.Capture<RExpression> = psiElement(RExpression::class.java) .withText(".") .withParent(psiElement(org.jetbrains.r.psi.api.RArgumentList::class.java)) ...
Kotlin
reserved. // Copyright (c) 2013, Image Engine Design Inc. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above // copyr...
C++
height:32px;line-height:32px;font-size:12px;color:#606266}.el-time-spinner__item:hover:not(.disabled):not(.active){background:#f5f7fa;cursor:pointer}.el-time-spinner__item.active:not(.disabled){color:#303133;font-weight:700}.el-time-spinner__item.disabled{color:#c0c4cc;cursor:not-allowed}.el-time-panel{margin:5px 0;bor...
CSS
quot;,&quot;has_premium_subscriptions&quot;:false,&quot;display_name&quot;:&quot;Robert Stitz&quot;},&quot;steps&quot;:[{&quot;locale&quot;:&quot;de&quot;,&quot;id&quot;:292027,&quot;text&quot;:&quot;\u003cp\u003eUm eine runde Tischdecke anzufertigen, musst du die Maße des Tisches kennen - genauer gesagt, den Durchmes...
HTML
d="M1017.904762 530.285714c0 269.312-218.307048 487.619048-487.619048 487.619048v-81.286095a406.332952 406.332952 0 0 0 406.332953-406.332953V123.952762h-406.332953a406.332952 406.332952 0 1 0 0 812.665905v81.286095c-269.312 0-487.619048-218.307048-487.619047-487.619048s218.307048-487.619048 487.619047-487.619047h412....
JavaScript
DateTime(2000), lastDate: DateTime(2101), ); if (pickedDate != null && pickedDate != selectedDate) { if (isFromDate && pickedDate.isAfter(toDate)) { CustomSnackBar.error(errorList: [MyStrings.fromDateCannotBeAfterDate]); } else if (!isFromDate && pickedDate.isBefore(fromDate))...
Dart
="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">(discussiontools-replylink)</a><span class="ext-discussiontools-init-replylink-bracket">]</span></span><span data-mw-comment-end="c-J'en_passe_et_des_meilleurs-2020-05-04T12:56:00...
HTML
alled(); }); it('should output a jpeg image buffer', async () => { await service.generateHeatmap(PRESENCE_TEMPERATURES); expect(mockCanvas.toBuffer).toHaveBeenCalledWith( 'image/jpeg', expect.anything() ); }); it('should allow the output to be rotated', async () => { await service...
Typescript
)) { if (source is GamePlayer) { GamePlayer player = source as GamePlayer; player.Out.SendMessage("The " + this.Name + " is immune to thrust and your damage fails to effect it!", eChatType.CT_Important, eChatLoc.CL_ChatWindow); return; } return; } if ((this.IsImmuneToBody) && (d...
C#
/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://download.oracle.com/...
HTML
schreven, eenige schepen in bezit, en zeilden met een groot aantal ontevredenen naar Spanje. Allen wilden bij het Spaansche hof hun luide klachten over Columbus inbrengen. </p> <p>Zoo ongelukkig stonden de zaken, toen de admiraal in een toestand van volkomen bewusteloosheid de haven van Isabella binnenvoer. Nauwelijks...
HTML
543, -- Counterstance effect in percents DODGE_EFFECT = 552, -- Dodge effect in percents FOCUS_EFFECT = 561, -- Focus effect in percents MUG_EFFECT = 835, -- Mug effect as multiplier ACC_COLLAB_EFFECT = 884, -- Increases amount of ...
Lua
return allocations; } ExecutableKernel* EmulatorDevice::Module::getKernel(const std::string& name) { KernelMap::iterator kernel = kernels.find(name); if(kernel != kernels.end()) { return kernel->second; } auto ptxKernel = ir->kernels().find(name); if(ptxKernel != ir->kernels().end()) { ...
C++
age) .finish() } } #[repr(C)] pub struct GtkRecentInfo(c_void); impl ::std::fmt::Debug for GtkRecentInfo { fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { f.debug_struct(&format!("GtkRecentInfo @ {:?}", self as *const _)) .finish() } } #[repr(C)] #[derive(Co...
Rust
freezeAt(DateTime(2017, 12, 12)) { assertEquals( "Sunday, January 14, 2018", getRelativeDateTime(DateTime(2018, 1, 14).millis, is24HourFormat, DateStyle.FULL) ) } } @Test fun getRelativeFullDateTime() = withLocale(Locale.US) { ...
Kotlin
(i.e. methods // of authenticating servers) in preference order. var supportedHostKeyAlgos = []string{ CertAlgoRSAv01, CertAlgoDSAv01, CertAlgoECDSA256v01, CertAlgoECDSA384v01, CertAlgoECDSA521v01, KeyAlgoECDSA256, KeyAlgoECDSA384, KeyAlgoECDSA521, KeyAlgoRSA, KeyAlgoDSA, } // supportedMACs specifies a default s...
Go
background:url("../img/bg_set.gif") 0 -50px repeat-x} #smart_editor2 .se2_layer_b_style .se2_b_style3 span{background:url("../img/bg_set.gif") 0 -68px repeat-x} #smart_editor2 .se2_layer_b_style .se2_b_style4 span{background:url("../img/bg_set.gif") 0 -86px repeat-x} #smart_editor2 .se2_layer_b_style .se2_b_style5 span...
CSS
.attribute,pre .label,pre .ruby .class .title,pre .css .rules .attribute,pre .tag .attr{color:#718c00}pre .string,pre .value,pre .inheritance,pre .header,pre .ruby .symbol,pre .xml .cdata{color:#4271ae}pre .selector-tag,pre .css .hexcolor,pre .css .tag{color:#3e999f}pre .function,pre .python .decorator,pre .python .ti...
CSS
10) dl = fn5(dl, el, al, bl, cl, m[6], 0xa953fd4e, 8); al = rotl(al, 10) cl = fn5(cl, dl, el, al, bl, m[15], 0xa953fd4e, 5); el = rotl(el, 10) bl = fn5(bl, cl, dl, el, al, m[13], 0xa953fd4e, 6); dl = rotl(dl, 10) var ar = this._a var br = this._b var cr = this._c var dr = this._d var er = this._e //...
HTML
ss, :root .t_sub_theme .t_light .t_gray_active_Progress, :root.t_light .t_sub_theme .t_light .t_gray_active_Progress, :root .t_sub_theme .t_light .t_sub_theme .t_light .t_gray_active_Progress, :root.t_light .t_gray_active_TooltipArrow, :root.t_dark .t_light .t_gray_active_TooltipArrow, :root.t_light .t_dark .t_light .t...
CSS
var root_0 = null; var VBAR202 = null; var p_NameTest201 = null; var p_NameTest203 = null; var VBAR202_tree=null; try { // xquery/XQueryParser.g:791:9: ( p_NameTest ( VBAR p_NameTest )* | {...}? => () ) var alt89=2; var LA89_0 = th...
JavaScript
ست" + "انی آلماآتا\x13وقت آمازون\x1cوقت عادی آمازون$وقت تابستانی آمازون\x1cوقت" + " مرکز امریکا%وقت عادی مرکز امریکا-وقت تابستانی مرکز امریکا\x1aوقت شرق ام" + "ریکا#وقت عادی شرق امریکا+وقت تابستانی شرق امریکا$وقت کوهستانی امریکا-وق" + "ت عادی کوهستانی امریکا5وقت تابستانی کوهستانی امریکا\x1aوقت غرب امریکا#و" + "قت ...
Go
irot", "Grogneur" }, ["Blackrock Depths"] = { "Seigneur Roccor", "Panzor l'Invincible", "Pyromancien Blé-du-Savoir", "Verek", "Gardien Stilgiss" }, ["Blackrock Spire"] = { "Bannok Hache-Sinistre", "Gangregarde ardent", "Croc cristallin", "Ghok Bounneba...
Lua
}, 2 ); } private sanitizeHeaders(obj: UnknownObject): UnknownObject { const sanitized: UnknownObject = {}; for (const key of Object.keys(obj)) { if (this.allowedHeaderNames.has(key.toLowerCase())) { sanitized[key] = obj[key]; } else { sanitized[key] = RedactedS...
Typescript
5em; } .alert-type-counts-table thead > th:first-of-type { width: 45%; } .alerts-table, .alert-types-table { border-collapse: separate; border-spacing: 2ch 1.5em; width: 100%; } .alerts-table th, .alerts-table td, .alert-types-table th, .alert-types-table td { vertical-align: top; } .alerts-table td, .alert-ty...
CSS
oveSelected: Signal1<MenuShell, Int, CFunction<( CPointer<*>?, Int, COpaquePointer? ) -> Unit>> by lazy { Signal1<MenuShell, Int, CFunction<( CPointer<*>?, Int, COpaquePointer? ) -> Unit>>(widgetPtr!!, this, ...
Kotlin
name="driver_port"]'), ""); setMobileWidgetValue(element.closest("fieldset").find('[name="driver_tlsport"]'), ""); element.data("hidden", element.closest("fieldset").find('.ui-field-contain:has([name="driver_address"])').hide()); element.data("hidden", element.closest("fieldset").find('.ui-field-contain:has...
HTML
} }, {}) return new GraphQLObjectType({ name: 'Mutation', fields: () => mutations, }) } private getType(name: string) { const type = this.types.find(type => type.name === name) if (!type) { throw new Error('type not found') } return type } } const VALID_COLOR_REG = ...
Typescript
import os import pandas as pd import matplotlib.pyplot as plt test_dir = "/workspace/my_auxiliary_persistent/natmed_multitrial_results_synthetic_data/" fig_out_dir = "/workspace/my_auxiliary_persistent/natmed_multitrial_results_plots_synth_ground" def extract_auc_and_ci(test_dir): folder_names = [] auc_mea...
Python
into!(i32, usize); vec_into!(i32, f32); vec_into!(i32, f64); vec_into!(i64, isize); vec_into!(i64, u8); vec_into!(i64, u16); vec_into!(i64, u32); vec_into!(i64, u64); vec_into!(i64, usize); vec_into!(i64, f32); vec_into!(i64, f64); vec_into!(isize, u8); vec_into!(isize, u16); vec_into!(isize, u32); vec_into!(isize, u...
Rust
DELETE b" ) check_state() for node in list(cluster.instances.values()): node.restart_clickhouse() check_state() # drop executed on the third node node = cluster.instances[NODE03] node.query(f"{STMT_DROP} foobar ON CLUSTER 'cluster'") node.query( f"{STMT_DROP} IF EXISTS...
Python
Element xpath=//html/body/div &gt;&gt; css=span\n\n# converted to 'css=div'\nGet Element div\n\n# converted to 'xpath=//html/body/div'\nGet Element //html/body/div\n\n# converted to 'text=\"foo\"'\nGet Element \"foo\"\n\n# queries the div element of every 2nd span element inside an element with the id foo\...
HTML
register::<GunslingerComponent>(); ecs.register::<RewardsComponent>(); ecs.register::<PlayerAlly>(); // If you add additional components remember to update saveload.rs // This we do not serialized this as it contains function pointers ecs.register::<super::EventComponent>(); ecs.insert(super::E...
Rust
erty":"news","mail_locale":"us","mail_meta":"","mail_url_template":"","print_url":"javascript:window.print();","url":"http:\/\/news.yahoo.com\/apple-says-steve-jobs-resigning-ceo-224628633.html","shorturl":"http:\/\/news.yahoo.com\/apple-says-steve-jobs-resigning-ceo-224628633.html","retweet_url_template":"http:\/\/new...
HTML
loat JobManagerSpec; /** * TaskManager规格 注意:此字段可能返回 null,表示取不到有效值。 */ @SerializedName("TaskManagerSpec") @Expose private Float TaskManagerSpec; /** * CLS日志集ID 注意:此字段可能返回 null,表示取不到有效值。 */ @SerializedName("ClsLogsetId") @Expose private String ClsLogsetId; /** * ...
Java
spl-token-metadata/",\ "packageDependencies": [\ ["@solana/spl-token-metadata", "npm:0.1.6"]\ ],\ "linkType": "SOFT"\ }],\ ["virtual:decbdf457ebd3f7c8f1ecaba3fe08f96955f00897c41f265641cd9eaf1ee36d5b470f119a9e3f08b8a106305106a9ec8b051b4d500ef37fc70f53d951fff2abc#...
JavaScript
({ oc: i }); if (thread) { noticeThreadsId.push(i); } } } await homeSettings.updateOne({ 'c.noticeThreadsId': noticeThreadsId }); await db.SettingModel.saveSettingsToRedis('home'); await next(); }, ) .del('/', OnlyOperation(Operations.deleteHomeNot...
JavaScript
_fileInput = querySelector('#files'); _fileInput.onChange.listen((e) { _content.text = ''; _byteRange.text = ''; }); var buttons = querySelector('#read-bytes-buttons'); buttons.onClick.listen(_onClick); } void _onClick(MouseEvent event) { Element clicked = event.target; if ...
Dart
# file: vulnerability-assessment-service/app/api/endpoints.py from fastapi import APIRouter, status from celery.result import AsyncResult from app.models.models import ScanRequest, TaskStatus from app.task import run_openvas_scan router = APIRouter() @router.post("/scans", status_code=status.HTTP_202_ACCEPTED) async ...
Python
a4 fstx.d a4, Y, JY move IY, JY move IX, JX addi.d II, J, 1 move I, II slli.d II, II, BASE_SHIFT sub.d T0, M, J addi.d T0, T0, -1 srai.d T0, T0, 3 add.d T0, T0, J addi.d T0, ...
Assembly
private string GetResult() { var result = _wrapper.GetResult(); _output.WriteLine( result ); return result; } /// <summary> /// 测试默认输出 /// </summary> [Fact] public void TestDefault() { var result = new StringBuilde...
C#
;Converts a 'Degas' picture (PI1-3 or PC1-3) to normal format (all resolutions) ;ENTRY a0=source buffer address ; a1=destination buffer address ; k1 & k2 stores defined ;EXIT destination buffer holds picture image ; d0=0 OK, no other regs changed conv_degas movem.l a0-a2/d1-d4,-(sp) move (a0)+,d0 mo...
Assembly
ew InputStreamReader(p.getInputStream())); String readLine=br.readLine(); while(readLine!=null){ System.out.println(readLine); readLine=br.readLine(); } if(br!=null){ br.close(); } p.destroy(); p=null; } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrac...
HTML
' + '<span>Pop Out Sidebar</span>'; var tocJumpText = '<span aria-hidden="true">↑</span> ' + '<span>Jump to Table of Contents</span>'; var sidebarMedia = window.matchMedia('screen and (min-width: 78em)'); var autoToggle = function(e){ toggleSidebar(e...
HTML
0x54A8FC54, -0x44922945, 0x162C3A16 ) private val AES3 = intArrayOf( -0x395a9c9d, -0x77b8384, -0x11668889, -0x9728485, -0xf20d0e, -0x29429495, -0x214e9091, -0x6eab3a3b, 0x60503030, 0x02030101, -0x31569899, 0x567D2B2B, -0x18e60102, -0x4a9d2829, 0x4DE6ABAB,...
Kotlin
v <pos79=%rbx,>pos78=%rbp mov %rbx,%rbp # qhasm: uint32323232 f17 ^= *(int128 *) (pos17 + 48 + matrix) # asm 1: pxor 48(<pos17=int64#11,<matrix=int64#4,1),<f17=int6464#7 # asm 2: pxor 48(<pos17=%r13,<matrix=%rcx,1),<f17=%xmm6 pxor 48(%r13,%rcx,1),%xmm6 # qhasm: (uint64) pos78 >>= 42 # asm 1: shr $42,<pos78=int64...
Assembly
[8958] = "덩치 큰 성난발톱곰", [8962] = "니다", [8963] = "Effsee", [8964] = "검은바위 비룡", [8965] = "Shawn", [8976] = "Hematos", [8977] = "Krom\'Grul", [8978] = "Thauris Balgarr", [8979] = "Gruklash", [8980] = "불자루 우두머리", [8996] = "하급 공허방랑자", [8999] = "Innkeeper Sentinel Hill", [9016] = "Bael\'Gar", [901...
Lua
$fields: arg_$fields, ); checkSasPortalListDevicesResponse( response as api.SasPortalListDevicesResponse, ); }); unittest.test('method--move', () async { final mock = HttpServerMock(); final res = api.SasportalApi(mock).nodes.devices; final arg_request = buildSasPort...
Dart
++; /** * print REG_NO unsigned int */ std::cout << myRecAttr[0]->u_32_value() << "\t"; /** * print BRAND character string */ std::cout << myRecAttr[1]->aRef() << "\t"; /** * print COLOR character string */ std::cout << myRecAttr[2]->aRef() << std::endl; /** * nextResult(false) means that the...
C++
" : "collapse"); var next = $(this).parent().parent().next(); if (next.hasClass('compact')) { next.toggle(); next.next().toggle(); } else if (next.hasClass('summary')) { var list = $('<ul class="summary compact" />'); list.html(next.html()); list.find('.summary_desc, .note...
JavaScript
from opencompass.openicl.icl_prompt_template import PromptTemplate from opencompass.openicl.icl_retriever import ZeroRetriever from opencompass.openicl.icl_inferencer import GenInferencer from opencompass.openicl.icl_evaluator import AccEvaluator from opencompass.datasets import CommonsenseQADataset_CN from opencompass...
Python
nsafe("a", true, 1, 0) // value + no ttl + jitter v, ok = cache.cache.Get("a") is.True(ok) is.True(v.hasValue) is.Equal(1, v.value) // is.Equal(uint(8), v.bytes) is.Equal(int64(0), v.expiryNano) is.Equal(int64(0), v.staleExpiryNano) is.Equal(v.expiryNano, v.staleExpiryNano) cache.setUnsafe("a", true, 1, 100) ...
Go
+=) '' \\+/g,\n reEmptyStringTrailing = /(__e\\(.*?\\)|\\b__t\\)) \\+\\n'';/g;\n\n /** Used to match HTML entities and HTML characters. */\n var reEscapedHtml = /&(?:amp|lt|gt|quot|#39);/g,\n reUnescapedHtml = /[&<>\"']/g,\n reHasEscapedHtml = RegExp(reEscapedHtml.source),\n reHasUnescapedHtml = R...
JavaScript
249c-.246.213-.524.474-.738.795l-.126.19V13.5a.75.75 0 001.5 0v-1.12c.09-.1.203-.208.347-.333.063-.055.14-.119.222-.187.166-.14.358-.3.52-.452.536-.5 1.098-1.2 1.098-2.283a2.45 2.45 0 00-1.003-2.006C13.37 6.695 12.658 6.5 12 6.5c-.756 0-1.373.191-1.861.517a2.944 2.944 0 00-.997 1.148.75.75 0 001.341.67z"/><path fill="c...
Dart
) try: shape = cmdx.encode(path) except cmdx.ExistError: # Backwards compatibility, before meshes were exported if not self._registry.has(entity, "ConvexMeshComponents"): if shape_type == constants.MeshShape: ...
Python
onnection, testVirtShareDir, testEphemeralDiskDir, &agentStore, "/usr/share/OVMF", ephemeralDiskCreatorMock, metadataCache, nil, virtconfig.DefaultDiskVerificationMemoryLimitBytes, fakeCpuSetGetter, false) // we need the non-typecast object to make the function we want to test available libvirtmanager := manager.(...
Go
, /*hidden argument*/NULL); if (!L_17) { goto IL_007b; } } { RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9 L_18 = { reinterpret_cast<intptr_t> (DateTimeConstantAttribute_t546AFFD33ADD9C6F4C41B0E7B47B627932D92EEE_0_0_0_var) }; IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var); Type_t ...
C++
) { r := strings.NewReader("0123456789") tests := []struct { off int64 n int want string wanterr interface{} }{ {0, 10, "0123456789", nil}, {1, 10, "123456789", io.EOF}, {1, 9, "123456789", nil}, {11, 10, "", io.EOF}, {0, 0, "", nil}, {-1, 0, "", "strings: invalid offset"}, } for i...
Go
一定要在断奶后进行注射,因为母乳<a href="http://www.to3158.cn/tags-k-t.html" target="_blank" class="relatedlink">抗体</a>会<a href="http://www.to3158.cn/tags-y-x65b160bc296dd.html" target="_blank" class="relatedlink">影响</a>到猫咪疫苗的效果。</p><div style="text-align:center;"><img style="max-width: 100%;" alt="宠物猫疫苗多久打一次(宠物猫疫苗多久打一次最好)" src="https...
HTML
); if ( sameString(allele,"A") || sameString(allele,"C") || sameString(allele,"G") || sameString(allele,"T") ) { for (aiPtr=l->alleles; aiPtr!=NULL; aiPtr=aiPtr->next) if (sameString(aiPtr->allele, allele)) break; if (aiPtr==NULL) { AllocVar(ai1); ai1->allele=cloneString(allele); sl...
C
_UNSPECIFIED": 0, "CONTAINED_SESSION_NO_CALLBACK_RATE": 1, "LIVE_AGENT_HANDOFF_RATE": 2, "CALLBACK_SESSION_RATE": 3, "ABANDONED_SESSION_RATE": 4, "SESSION_END_RATE": 5, } ) func (x Experiment_Result_MetricType) Enum() *Experiment_Result_M...
Go
in 0 until t.length) { var firstMatch = true while (j < move) { if (t[i] == s[i + j - 1]) { if (firstMatch) { // Keep track of first match. To avoid useless comparisons on next // iteration. ...
Kotlin
const uint16x8_t twomask = make_uint16x8_t(0x0002, 0x0008, 0x0020, 0x0080, 0x0200, 0x0800, 0x2000, 0x8000 ); #else const uint16x8_t onemask = { 0x0001, 0x0004, ...
C++
fsb224_100 100; fsb224_1000 1000; fsb224_10000 10000; ); bench_update!( Fsb256::default(); fsb256_10 10; fsb256_100 100; fsb256_1000 1000; fsb256_10000 10000; ); bench_update!( Fsb384::default(); fsb384_10 10; fsb384_100 100; fsb384_1000 1000; fsb384_10000 10000; )...
Rust
r{height:100%;overflow:hidden}.wq-sidebar .sidebar-fold{cursor:pointer;text-align:center;height:28px}.wq-sidebar .sidebar-fold .fold-svg{color:#333;font-size:26px}.wq-sidebar .sidebar-fold.hide-sidebar{width:64px}.wq-sidebar.show-sidebar{min-width:200px}.wq-sidebar.hide-sidebar{min-width:64px}.wq-sidebar .sidebar-menu{...
CSS
escsz */ ; \ .long type ; \ 1:.asciz #name ; \ 2:.align 4 ; \ 3:desctype descdata ; \ 4:.align 4 ; \ .popsection #else /* !__STDC__, i.e. -traditiona...
C
var xlsx = package.GetAsByteArray(); MemoryStream ms = (MemoryStream)_oleObjectPart.GetStream(FileMode.Create, FileAccess.Write); ms.Write(xlsx, 0, xlsx.Length); } internal override void DeleteMe() { if (IsExternalLink || _externalLink != null) {...
C#
s_ref()], None, None, )?; } repo }; Ok(BuildData(repo)) } } /// Contains all the mappings for a specific version pub struct SpigotMappings { pub class_mappings: FrozenMappings, pub member_mappings: FrozenMappings...
Rust
rocess.MagicPacket(buff, send_index); //TRACE(_T("++++ AreaMagicAttack --- sid=%d, magicid=%d\n"), m_sNid+NPC_BAND, m_iMagic2); return m_sAttackDelay + 1000; // 지역마법은 조금 시간이 걸리도록..... } } else { // 독 공격하는 몬스터라면... (10%의 공격으로) if (m_byWhatAttackType == 2) { nRandom = myrand(1, 10000); ...
C++
b</em></span> ([<a href="#R.802.11b-1999">802.11b-1999</a>])</li> <li><span id="D.Device:2.Device.WiFi.NeighboringWiFiDiagnostic.Result.SupportedStandards.g"><em>g</em></span> ([<a href="#R.802.11g-2003">802.11g-2003</a>])</li> <li><span id="D.Device:2.Device.WiFi.NeighboringWiFiDiagnostic.Result.SupportedStandards.n">...
HTML
/* * Copyright 2000-2018 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the OpenSSL license (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.openssl.org/source/lice...
C
#[serde(rename = "additionalData", default, skip_serializing_if = "Option::is_none")] pub additional_data: Option<serde_json::Value>, #[serde(rename = "friendlyName", default, skip_serializing_if = "Option::is_none")] pub friendly_name: Option<String>, } #[derive(Clone, Debug, PartialEq, Serialize, Deseria...
Rust
数,在给定一个范围的情况下,从输入范围中返回一个包含成对连续元素的新范围。如果输入范围有奇数个元素,最后一个必须忽略。例如,如果输入范围是`{1, 1, 3, 5, 8, 13, 21}`,结果必须是`{ {1, 1}, {3, 5}, {8, 13}}`。 # 55.Zip 算法 编写一个函数,在给定两个范围的情况下,用这两个范围中的元素对返回一个新的范围。如果两个范围大小不同,结果必须包含与最小输入范围一样多的元素。例如,如果输入范围是`{ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }`和`{ 1, 1, 3, 5, 8, 13, 21 }`,结果应该是`{{1,1}, {2,1}, {3,3}, {4,5...
Markdown
*/ LDR R2, =0x356 \n\ /* 0803eb48 */ ADDS R1, R1, R2 @ Set R1 to R1 + R2 \n\ /* 0803eb4a */ STRH R0, [R1] \n\ /* 0803eb4c */ MOVS R0, 0x2 @ Set R0 to 0x2 \n\ /* 0803eb4e */ BL toss_boys_get_anim \n\ /* 0803eb52 */ ADDS R1, R0, 0x0 @ Set R1 to R0 + 0x0 \n\ /* 0803eb54 */ LDR R0, [R5] \n\ /* 0803eb56 */ MOVS R2, 0x7C @ S...
Assembly
from pydantic import Field, PositiveInt from pydantic_settings import BaseSettings class MyScaleConfig(BaseSettings): """ Configuration settings for MyScale vector database """ MYSCALE_HOST: str = Field( description="Hostname or IP address of the MyScale server (e.g., 'localhost' or 'myscale....
Python
12 12 12h24c6.6 0 12-5.4 12-12V56c0-13.3-10.7-24-24-24H300c-6.6 0-12 5.4-12 12zm148 276h-24c-6.6 0-12 5.4-12 12v100H300c-6.6 0-12 5.4-12 12v24c0 6.6 5.4 12 12 12h124c13.3 0 24-10.7 24-24V332c0-6.6-5.4-12-12-12zM160 468v-24c0-6.6-5.4-12-12-12H48V332c0-6.6-5.4-12-12-12H12c-6.6 0-12 5.4-12 12v124c0 13.3 10.7 24 24 24h124...
JavaScript
rrousselGit/freezed#adding-getters-and-methods-to-our-models'); /// @nodoc mixin _$Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerMyAudioParamTwinNormalProxyEnum { MyNodeTwinNormal get field0 => throw _privateConstructorUsedError; @optionalTypeArgs TResult when<TResult extends Object?>({ ...
Dart
"Silla de madera", [112192] = "silla", [112194] = "silla", [112195] = "silla", [112196] = "silla", [112197] = "silla", [112198] = "silla", [112199] = "silla", [112200] = "silla", [112201] = "silla", [112202] = "silla", [112204] = "silla", [112205] = "silla", [112214] = "silla", [112215] = "s...
Lua
, [r1, r6, lsl #2] mul r4, lr, r4 mul r5, lr, r5 mul r6, lr, r6 mov r4, r4, lsr #8 mov r7, r6, lsr #8 mov r5, r5, lsr #8 and r6, r5, #0xff and r4, r4, #0xff and r5, r4, #0xf8 and r7, r7, #0xff mov r4, ip, lsl #1 and r6, r6, #0xf8 mov r5, r5, lsl #2 and r7, r7, #0xf8 orr r5, r5, r6, lsl #7 orr r5, r5, r7...
Assembly
)) -- text(100,160,string.format("speed %d px/s current %d frame %d ratio %f",game.map.speed,game.map.currentSpeed,game.screen.frameFlip,game.map.speedRatio)) -- text(100,190,string.format("hero : %d speed %d",game.hero.pos.y,game.hero.currentSpeed)) end function generateMap() local x,y local n=1 local skip=0 loca...
Lua
r1, {r2,r3} stmia r0, {r2,r3} ldr r0, [lr, #0x10] str r0, [r12, #0x10] ldr r0, [lr, #0x14] str r0, [r12, #0x14] ldmfd sp!, {r3,pc} @ 0x2236a38 .arm Function_2236a38: @ 2236a38 :arm stmfd sp!, {r0-r3} .arm Function_2236a3c: @ 2236a3c :arm stmfd sp!, {r4,r5,lr} sub sp, sp, #0xc mov...
Assembly
have_read += n; if have_read == buf.len() { *current_part_number = new_part_number; return Some(PartData { data: buf, part_numbe...
Rust
e = "Smith") { return firstName + " " + lastName; } let result7 = buildName3("Bob"); // works correctly now, returns "Bob Smith" let result8 = buildName3("Bob", undefined); // still works, also returns "Bob Smith" // let result9 = buildName("Bob", "Adams", "Sr."); // error, too many parameter...
Typescript
@override // TODO: implement authors List<CategoryModel> get authors => _authors; @override // TODO: implement comicId String get comicId => _comicId; @override // TODO: implement cover String get cover => _cover; @override // TODO: implement description String get description => _description...
Dart
l(data, &s1); err != nil { return err } s.CvssScore = float64(s1.CvssScore) return nil } // WindowsUpdate: Windows Update represents the metadata about the update for // the Windows operating system. The fields in this message come from the // Windows Update API documented at // https://docs.microsoft.com/en-us/w...
Go
f $length == 0 { @warn "`$list` of `last($list)` must not be empty."; } @else { $value: nth($list, -1); } @return $value; } /** * @module List扩展函数 * @description 返回SassList中的倒数第几项 * @function nth-last * @version 2.1.0 * @param {String} $list 指定一个Sass List <2.1.0> * @param {Integer} $...
CSS
>, but the actual call (even in the absence of other sources of unsoundness) might only meet the weaker semantics specified for <tt>U.m</tt>. In particular: </p><ul> <li> If <tt>U.m</tt> is declared with an <tt>also_modifies</tt> pragma, the call might modify parts of the state that are specified as modification target...
HTML
="696" width="211" height="20" rx="3" ry="3" fill="#878787" stroke="#000000" pointer-events="all"></rect><g transform="translate(-0.5 -0.5)"><switch><foreignobject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left...
HTML
False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ### -StorageAccountName Specifies the name of the Azure Storage account for which to regenerate a key. ```yaml Type: String Parameter Sets: (All) Aliases: ServiceName Required: True Position: 1 Default value...
Markdown
s not found .word 0xbf2ce001 ! 2883: SLL_I sll %r19, 0x0001, %r31 T3_irf_ce_259: !$EV error(3,expr(@VA(.MAIN.T3_irf_ce_259), 16, 16),1,IRF,ce,32,49, x,x,x, x,x,x) .word 0xb935b001 ! 2885: SRLX_I srlx %r22, 0x0001, %r28 .word 0xbda549c0 ! 2885: FDIVd fdivd %f52, %f0, %f30 .word 0xb3a81820 ! 2887: FMOVRGZ fmovs...
Assembly
hury.png) (a) *ϕ*(*x*):正*w*产生正常步进 ![图片](img/CH07_F15b_Chaudhury.png) (b) 正常步进的感知器 ![图片](img/CH07_F15c_Chaudhury.png) (c) *ϕ*(−*x*):负*w*产生横向翻转步进 ![图片](img/CH07_F15d_Chaudhury.png) (d) 翻转步进的感知器 ![图片](img/CH07_F15e_Chaudhury.png) (e) *ϕ*(−*x*+5):改变偏置将步进向左或向右移动 ![图片](img/CH07_F15f_Chaudhury.png) (f) 横向移动的步进感知器 ...
Markdown
ta"><div align=center>:</div></td><td class="tabdata"> <INPUT TYPE="TEXT" NAME="wan_StaticIPSubMask" SIZE="16" MAXLENGTH="15" VALUE="0.0.0.0"></td></tr><tr> <td class="light-orange">&nbsp;</td><td class="light-orange"></td><td class="tabdata"><div align=right> <font color="#000000">Gateway</font></div></td><td class="t...
HTML
L);") db.execSQL("INSERT INTO $slavesTableNameTemp(slave_media_mrl, slave_type, slave_priority, slave_uri) SELECT slave_media_mrl, slave_type, slave_priority, slave_uri FROM $SLAVES_TABLE_NAME") db.execSQL("DROP TABLE $SLAVES_TABLE_NAME") db.execSQL("ALTER TABLE $slavesTableNameTemp RENAME TO $S...
Kotlin
-left: 1px solid rgba(127,127,127,.4)!important } treecol[sortDirection=ascending] .treecol-sortdirection { -moz-appearance: button-arrow-up!important } treecol[sortDirection=descending] .treecol-sortdirection { -moz-appearance: button-arrow-down!important } #unifinder-search-results-tree-cols treecolpicker { col...
CSS
stp s2, s3, [x17, #-8]! // 72 stp s0, s1, [x17, #-8]! // 64 stp d6, d7, [x17, #-16]! // 48 stp d4, d5, [x17, #-16]! // 32 stp d2, d3, [x17, #-16]! // 16 stp d0, d1, [x17, #-16]! // 0 add x0, sp, #16 stp x16, x30, [x17, #-16]! adrp x9, which_kind_of_test // determi...
Assembly
VARIANTS]; for(int i = 0; i < ItemSparkUpgrade.VARIANTS; i++) { sparkUpgradeIcons[i] = IconHelper.forName(evt.getMap(), "sparkUpgradeL" + i, "items"); } tailIcon = IconHelper.forName(evt.getMap(), "tail", "items"); phiFlowerIcon = IconHelper.forName(evt.getMap(), "phiFlower"...
Java
using Microsoft.Xna.Framework; using Mono.Cecil; using Monocle; using MonoMod; using MonoMod.Cil; using MonoMod.InlineRT; using MonoMod.Utils; using System; using System.Reflection.Emit; namespace Celeste { class patch_TrailManager : TrailManager { #pragma warning disable CS0649 // Field is never assigned to, and...
C#
ExpressionValue(first, constantValue)); } } else if (!attributes.isEmpty()) { AttributeExpr attribute = new AttributeExpr(attributes.iterator().next()); if (!blankNodeIDs.isEmpty()) { BlankNodeID first = blankNodeIDs.iterator().next(); translated.add(Equality.create(attribute, first.toExpression()));...
Java