content
stringlengths
2
6.21k
label
stringclasses
16 values
public void blogArticlesRSS(final RequestContext context) { } /** * Tag articles RSS output. * * @param context the specified context */ public void tagArticlesRSS(final RequestContext context) { } } /* * Latke - 一款以 JSON 为主的 Java Web 框架 * Copyright (c) 2009-present, b3log.org...
Java
/* Generated by RuntimeBrowser. Image: /System/Library/PrivateFrameworks/OfficeImport.framework/OfficeImport */ /* RuntimeBrowser encountered one or more ivar type encodings for a function pointer. The runtime does not encode function signature information. We use a signature of: "int (*funcName)(...
C
final double progress2; final double strokeWidth2; final Color color2; Paint _paint1 = Paint()..style = PaintingStyle.stroke; Paint _paint2 = Paint()..style = PaintingStyle.stroke; _CirclePainter( {this.progress1 = 0.0, this.strokeWidth1 = 1.0, this.color1 = Colors.white, this.prog...
Dart
std::ptr::null_mut()); EVP_DigestUpdate(ctx, input.as_ptr() as *mut void, input.len()); EVP_DigestFinal_ex(ctx, output.as_mut_ptr(), std::ptr::null_mut()); EVP_MD_CTX_destroy(ctx); } }); } fn sha_512_ffi(c: &mut Criterion) { benchmark_hash_function(c, "hash::SHA-512...
Rust
22.89V288h81.39v224h100.2V288z"></path></svg> Sign in with Facebook </button> <button type="button" class="text-white bg-[#1da1f2] hover:bg-[#1da1f2]/90 focus:ring-4 focus:outline-none focus:ring-[#1da1f2]/50 font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center dark:focus:ring-[#1da1f2]/55 ...
HTML
->IsEmpty()) Show3d(); else Show2d(); } void GeomWidget::Show3d() { myView3d->axo(); myView3d->fitAll(); QAction* aShadingAction = myView3d->getViewAction(ViewAction_Shading); aShadingAction->trigger(); aShadingAction->setChecked(true); QAction* aHlrOffAction = myView3d->getViewAction(ViewAction_...
C++
0)     {         // Stores count of nodes at         // current level         let length = que.length;         // Stores prefix XOR of all         // the nodes at current level         let prefix_XOR = 0;         // Stores prefix OR of all         // the nodes at current level         let prefix_OR = 0;         //...
Markdown
md-min) { margin-bottom: 5px; } } // nojs styles .gn-nojs { .gn-top-search { padding: 30px 0; margin-bottom: 30px; .gn-form-any input.input-lg { height: 46px; } .btn-lg { padding: 13px 16px; } } } /* * Copyright 2015-2016 Imply Data, Inc. * * Licensed under the Apache L...
CSS
data-md-color-accent=blue] .md-nav__extra_link:focus,[data-md-color-accent=blue] .md-nav__extra_link:hover{color:#448aff}[data-md-color-accent=light-blue] .md-nav__extra_link:focus,[data-md-color-accent=light-blue] .md-nav__extra_link:hover{color:#0091ea}[data-md-color-accent=cyan] .md-nav__extra_link:focus,[data-md-co...
CSS
import os import difflib from collections import defaultdict def create_patch(result, file, start, end, old_str, new_str): # pylint: disable=too-many-arguments if isinstance(old_str, bytes): old_str = old_str.decode("utf8") if isinstance(new_str, bytes): new_str = new_str.decode("utf8") p...
Python
#0x0 ble branch_21d1bdc branch_21d1b7c: @ 21d1b7c :thumb ldr r0, [r4, #0x4] cmp r0, #0x0 bne branch_21d1bd4 ldr r0, [pc, #0x60] @ 0x21d1be4, (=0x21d1b25) ldr r2, [r6, #0x0] mov r1, r4 bl AddTaskToTaskList1 str r0, [r4, #0x4] ldr r0, [r5, #0x10] ldr r1, [pc, #0x54...
Assembly
Laf; import com.formdev.flatlaf.extras.FlatAnimatedLafChange; import com.formdev.flatlaf.ui.FlatUIUtils; import com.intellij.uiDesigner.core.GridConstraints; import com.intellij.uiDesigner.core.GridLayoutManager; import com.intellij.uiDesigner.core.Spacer; import org.dromara.quickswing.ui.app.QSDialog; import org.droma...
Java
1.963495F); Shape3a = new LODModelPart(this, 0, 36); Shape3a.addBox(-2F, -7F, 0F, 4, 1, 9); Shape3a.setRotationPoint(0F, 15F, -3F); Shape3a.setTextureSize(128, 128); Shape3a.mirror = true; this.setRotation(Shape3a, 0F, 0F, 0F); Shape3b = new LODModelPart(this, 0, 36); Shape3b.addBox(-2F, -7F, 0F, 4, 1, ...
Java
;/style&gt; </pre> <pre class="prettyprint" data-lang="html"> &lt;!DOCTYPE html> &lt;html> &lt;head> &lt;title>My Awesome Page&lt;/title> &lt;/head> &lt;body> &lt;p&gt;Hello world&lt;/p&gt; &lt;body> &lt;/html> </pre> </article> </slide> <slide> <aside class="note"> <section> <ul> ...
HTML
s removed from %s", pszPath); else bprint(*pbp, " DACLs removed"); } return 0; } // // Attempt to make take ownership of the file. // SetSecurityDescriptorOwner (&si, ls.OwnerSid, FALSE); if (SetFileSecurity(pszPath, OWNER_SECURITY_INFORMATION, &si)) err...
C++
32"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)]; </script> </div> <p><p><a href="http://www.aqniu.com/wp-content/uploads/2014/09/mcfee-th...
HTML
is.params['CD2_1']; // let cd2_2 = this.params['CD2_2']; // let mat = new Matrix(cd1_1, cd2_1, cd1_2, cd2_2, 0, 0); // mat = mat.inverted(); // cd1_1 = mat.a; // cd1_2 = mat.c; // cd2_1 = mat.b; // cd2_2 = mat.d; // //cel.c -> celset(pcode,cel,prg) // let alpha0 = crval1; // is ref...
Typescript
} List<File> files = []; for (var i = 0; i < pickedImage.length; i++) { File? fileImage = await pickedImage[i].originFile; if (fileImage != null) { files.add(fileImage); } ...
Dart
toDouble(), ); core.Map<core.String, core.dynamic> toJson() => { if (reasons != null) 'reasons': reasons!, if (risk != null) 'risk': risk!, }; } /// Options for user acceptance testing. class GoogleCloudRecaptchaenterpriseV1TestingOptions { /// For challenge-based keys only (CHECKBOX, INVISIBLE), ...
Dart
ame="us-gaap:OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent" scale="6" id="f-901">118</ix:nonFraction>&#160;</span></td><td style="background-color:#cceeff;border-top:1pt solid #000000;padding:2px 1pt 2px 0;text-align:right;vertical-align:bottom"/></tr><tr><td colspan="3" style="back...
HTML
if (resource.TxtRecords == null) { resource.TxtRecords = new List<TxtRecord>(); } foreach (var record in Inner.TxtRecords) { resource.TxtRecords.Add(record); } Inner.Tx...
C#
02:00", f.print(dt)); } //----------------------------------------------------------------------- public void testPrint_locale() { DateTime dt = new DateTime(2004, 6, 9, 10, 20, 30, 40, UTC); assertEquals("mer. 2004-06-09T10:20:30Z", f.withLocale(Locale.FRENCH).print(dt)); assertEqu...
Java
<div class="text-white text-xl">2:11</div> <div class="flex items-center space-x-2"> <i class="fas fa-cog text-white"></i> <div class="text-white text-sm">0.11 KB/s</div> <i class="fas fa-bell-slash text-white"></i> <i class="fas fa-wifi text-white"></i> <div class="text...
HTML
pic/33478-highlighter-not-working-in-vr/_lt_/a_gt_). But to answer your question - I have my game using a combination of code from VRExperienceHelper and the excellent _t_zero to hero_t_ PG from davrous (_lt_a href_eq__qt_http_dd_//www.babylonjs-playground.com/#E0WY4U%2318_qt_ rel_eq__qt_external nofollow_qt__gt_http_d...
JavaScript
t asm.emitPOP_Reg(T0); // object ref asm.emitPUSH_RegIdx(T0, S0, BYTE, NO_SLOT); // pushes [T0+S0] } } static { MagicGenerator g = new Load32_Offset(); generators.put(getMethodReference(Address.class, MagicNames.loadInt, Offset.class, int.class), g); generators.put(getM...
Java
"]); dijit.range.create=function(win){ if(dijit.range._w3c){ return (win||dojo.global).document.createRange(); }else{ return new dijit.range.W3CRange; } }; dijit.range.getSelection=function(win,_2a){ if(dijit.range._w3c){ return win.getSelection(); }else{ var s=new dijit.range.ie.selection(win); if(!_2a){ s._getCurrent...
JavaScript
"""empty message Revision ID: 0008_archive_template Revises: 0007_template_history Create Date: 2016-04-25 14:16:49.787229 """ # revision identifiers, used by Alembic. revision = "0008_archive_template" down_revision = "0007_template_history" import sqlalchemy as sa from alembic import op from sqlalchemy.dialects i...
Python
pnt.z = ((ry->o.z + (ry->d.z * t)) - bx->min.z) / bln.z; /* call external evaluator assume 0.0 -> 1.0 range.. */ scalar = xvol->evaluator(pnt.x, pnt.y, pnt.z); transval = tt * scalar; sum += transval; col2 = ExtVoxelColor(scalar); col.r += t...
C++
4\nL 33.3 55.9\n' fill='#191919'/>\n<path class='atom-45' d='M 38.2 55.9\nQ 38.6 56.1, 38.8 56.3\nQ 39.1 56.6, 39.1 57.0\nQ 39.1 57.4, 38.9 57.7\nQ 38.7 57.9, 38.4 58.1\nQ 38.0 58.2, 37.6 58.2\nQ 36.9 58.2, 36.5 57.9\nQ 36.1 57.6, 36.1 57.0\nQ 36.1 56.7, 36.2 56.4\nQ 36.4 56.1, 36.8 55.9\nQ 36.5 55.8, 36.4 55.6\nQ 36.2...
HTML
/** * Copyright (C) 2017 Kamarudin (http://coding4ever.net/) * * 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 required by app...
C#
a0009 ! 785: SMUL_R smul %r8, %r9, %r29 .word 0xec1a2de8 ! 786: LDD_I ldd [%r8 + 0x0de8], %r22 .word 0x8143e052 ! 788: MEMBAR membar #StoreLoad | #Lookaside | #Sync .word 0x8143e037 ! 789: MEMBAR membar #LoadLoad | #StoreLoad | #LoadStore | #Lookaside | #MemIssue .word 0xc6420009 ! 790: LDSW_R ldsw [%r8 + %...
Assembly
位下的)扁平行李箱", "steamers":"abbr. steamed clams 汽船, 蒸汽机\\nn. 汽船( steamer的复数形式 ); 大轮船; 汽锅; 蒸锅", "steamfitter":"na. 汽管装配工人\\n[网络] 蒸汽管道工;热气;管工", "steamgas":"过热蒸汽", "steamier":" steamy(蒸汽的, 充满水汽的)的比较级形式", "steamiest":" steamy(蒸汽的, 充满水汽的)的最高级形式", "steamily":"adv. steamy的变形", "steaminess":" 雾深", "steaming":"[化] 通入蒸汽", "steaming ...
Typescript
const ruleNumSelector = window.document.getElementById("rule_num"); expect(ruleNumSelector).toBeVisible(); $(ruleNumSelector!) .val(2) .change(); const { rule_type, rule_num } = getRuleResult(); const result = getRuleInfoResult(rule_type, rule_num); expect(result).toBe("每天二次"); }); ...
Typescript
/* -*- c++ -*- ---------------------------------------------------------- LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator https://www.lammps.org/, Sandia National Laboratories LAMMPS development team: developers@lammps.org Copyright (2003) Sandia Corporation. Under the terms of Contract...
C
0%A4%95%E0%A4%BE%E0%A4%95%E0%A4%B0%E0%A4%A3+%E0%A4%85%E0%A4%AD%E0%A4%BF%E0%A4%AF%E0%A4%BE%E0%A4%A8" rel="noopener noreferrer" target="_blank" title="Share on Facebook" class="fb-icon ext"><i></i></a></li> <li><a href="https://twitter.com/share?text=%E0%A4%B5%E0%A4%BF%E0%A4%B6%E0%A5%8D%E0%A4%B5+%E0%A...
HTML
lume: ${sound_volume}`, innerWidth / 2 + 30, innerHeight / 2 + 40); } } const sketch = (p: p5) => { let mike = null; let audioCircle; let on = false; p.setup = () => { p.createCanvas(innerWidth, innerHeight); p.background("black"); // p.frameRate(20); mike = new p5.AudioIn(); mike.start...
Typescript
r16[i].lo) cc->AddRangeFlags(next, g->r16[i].lo - 1, parse_flags); next = g->r16[i].hi + 1; } for (int i = 0; i < g->nr32; i++) { if (next < g->r32[i].lo) cc->AddRangeFlags(next, g->r32[i].lo - 1, parse_flags); next = g->r32[i].hi + 1; } if (next <= Runemax) cc->A...
C++
s, 31, "Unknown Status"); } else OR_OPTION_START("ru", language) OR_OPTION_END("russian", language) { snprintf(sys, 31, "СИСТЕМА"); snprintf(battery, 31, "Батарея"); snprintf(uptime, 31, "Время работы"); snprintf(processes, 31, "Процессы"); snprintf(packages, 31, "Пакеты"); snprintf(date, 31, "ДАТА"); s...
C
2 に進んでください。停止している場合は Step 1 から開始します。 ### Step 1 : アプリをローカルで実行する F5 を押してデバッグを開始するか、スタート ボタン 1️⃣ をクリックして再起動します。デバッグ プロファイルの選択を求められるので、Debug in Teams (Edge) 2️⃣ を選択するか、他のプロファイルを選択します。 ![Run application locally](../../assets/images/extend-message-ext-01/02-02-Run-Project-01.png) デバッグを開始すると Teams がブラウザー ウィンドウで開きます。Age...
Markdown
ter(item => { return item.done }) }) /** * * 완료 퍼센트 */ completedPercentage = VueAPI.computed(() => { return Math.floor((this.completed.value.length / this.$todo.todoList.length) * 100) + '%' }) /** * * 오늘 요일 얻어오기 */ today = VueAPI.computed(() => { const weekday = ['일요일', '월요일...
Typescript
) else: self._parallelized_download_from_cloud( signed_uri, headers, file_size, local_path, remote_file_path, ) except Exception as err: raise Mlflow...
Python
á tečka",divide:"Numerická klávesa dělení",f1:"F1",f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"F6",f7:"F7",f8:"F8",f9:"F9",f10:"F10",f11:"F11",f12:"F12",numLock:"Num lock",scrollLock:"Scroll lock",semiColon:"Středník",equalSign:"Rovnítko",comma:"Čárka",dash:"Pomlčka",period:"Tečka",forwardSlash:"Lomítko",graveAccent:"Přízvuk",...
JavaScript
}, { "id": 73796, "type": "artist", "name": "taneno nakami", "url": "/artist/taneno-nakami/", "count": 20 }, { "id": 90671, ...
Dart
ass Foo { static #foo = function() {}; static foo = this.#foo } if (Foo.foo.name !== '#foo') throw 'fail: ' + Foo.foo.name`, }), test(['in.js', '--outfile=node.js', '--minify', '--keep-names', '--format=esm', '--target=es6'], { 'in.js': `class Foo { #foo = () => {}; foo = this.#foo } if (new Foo().foo.name !== ...
JavaScript
dict_info_enumeration_at_end aspell_dict_info_enumeration_at_end = nullptr; PFUNC_aspell_dict_info_enumeration_next aspell_dict_info_enumeration_next = nullptr; PFUNC_delete_aspell_dict_info_enumeration delete_aspell_dict_info_enumeration = nullptr; PFUNC_aspell_dict_info_enumeration_clone aspell_dict_info_...
C++
 #region BSD License /* Copyright (c) 2010 Miguel Angel Guirado López This file is part of CsAssortedWidgets. All rights reserved. This file is a C# port of AssortedWidgets project. Original authors see readme.txt file. Redistribution and use in source and binary forms, with or without modific...
C#
ta_size_t i = 0; i < num_data; ++i) { ordered_hessians[i] = hessians[data_indices[i]]; } hessians_future_ = queue_.enqueue_write_buffer_async(device_hessians_, 0, num_data * sizeof(score_t), ptr_pinned_hessians_); } else { hessians_future_ = queue_.enqueue_write_buffer_async(device_hessian...
C++
arn yarn global add wrangler ``` ## Step 2 - Configure all the things From the root of the repo, ``` cp .env.example .env cp valhalla/jawn/.env.example valhalla/jawn/.env ``` Start up Supabase: `supabase start` Then update the values in the `.env` files based off your API keys, including the Supabase Anon and Secr...
Markdown
2]; for (int i = 0; i < eom_params.cs_per_irrep[C_irr]; i++) { if (params.eom_ref == 0) { sprintf(lbl, "%s %d %d", "RIA", C_irr, i); global_dpd_->file2_init(&R1, PSIF_CC_RAMPS, C_irr, 0, 1, lbl); sprintf(lbl, "%s %d %d", "RIA_old", C_irr, i); global_dpd_->fil...
C++
margin: -3px -6px 10px -5px; } html[dir] .oZOYW._34z23, html[dir] ._27yFt._34z23 { margin-top: 5px; } ._1ilaQ { color: #929fa6; } ._2N_Df { box-sizing: border-box; max-width: 100%; width: 336px; } html[dir] ._2N_Df { padding: 6px; } html[dir] ._3YKc8 { padding-top: 24px; } html[dir] ._3YKc8 ._2A0Cj ...
CSS
Alias:</i></td> <td></td> </tr> <tr id="DetailsImageAttributes751_01" style="display: none;"> <td width="75"><i>Initial:</i></td> <td></td> </tr> <tr id="DetailsImageAttributes751_02" style="display: none;"> <td width="75"><i>Stereotype: </i></td> <td></td> ...
HTML
r user. The password can include any printable /// ASCII character except "/", """, or "@". It cannot contain spaces. /// /// <b>MySQL</b> /// /// Constraints: Must contain from 8 to 41 characters. /// /// <b>PostgreSQL</b> /// /// Constraints: Must contain from 8 to 128 characters. /// /// Parame...
Dart
: 'Odstranit', 'btnApply' : 'Použít', 'btnCancel' : 'Zrušit', 'btnNo' : 'Ne', 'btnYes' : 'Ano', 'btnMount' : 'Připojit', // added 18.04.2012 'btnApprove': 'Přejít do části 1 $ & schválit', // from v2.1 added 26.04.2012 'btnUnmount': 'Odpojit', // from v2.1 added 30.04.2012 'btnCon...
JavaScript
m_userCompNode = new DefaultMutableTreeNode("User"); model.insertNodeInto(m_userCompNode, root, 0); } // add the components for (int i = 0; i < tempV.size(); i++) { Vector tempB = (Vector)tempV.elementAt(i); String displayName = (String)tempB.get(0); S...
Java
i++) { if (predicate(list[i], i, list)) new_list.push(list[i]); } return new_list; }; _.find = function(list, predicate) { for (var i = 0, len = list.length; i < len; i++) { if (predicate(list[i], i, list)) return list[i]; } }; _.findIndex = function(list, predicate) { for (var i = 0, len = list.leng...
HTML
Registry.registerNameTranslate(nameTranslate)进行设置. * @param nameTranslate */ // public static void setCurrentNameTranslate(NameTranslate nameTranslate) { //closed on V2.4.0 static void setCurrentNameTranslateOneTime(NameTranslate nameTranslate) { HoneyContext.clearFieldNameCache(); currentNameTranslate.set(nam...
Java
0-.936.253-1.709.755-2.318c.525-.643 1.255-.965 2.186-.965c.887 0 1.624.322 2.216.965c.329.357.537.717.625 1.082c.053.227.079.646.079 1.266v2.84h-.005z"/>', }, kubernetes: { body: '<path fill="currentColor" d="m10.013 13.738l-2.254.387a4.475 4.475 0 0 0 1.753 2.231l.865-2.095a.27.27 0 0 0 .022-.228c-.022-...
JavaScript
</svg>\r\n"); #line 72 "..\..\Views\History\ServerWidgetPropertiesHistory.cshtml" } #line default #line hidden WriteLiteral(" </div>\r\n </div>\r\n </div>\r\n</div>\r\n"); } } } #pragma warning ...
C#
в порядке, через некоторое время приложение выводит сообщение об успешной передаче настроек.</li></ul><h3>Отмена и повтор действий</h3></div> <div> <ul><li>В командной панели отчета размещены кнопки <img src="CommonPicture.ОтменитьДействие"></img>отмены и <img src="CommonPicture.ПовторитьДействие"></img>повтора действи...
HTML
i=>{t(i.fileName)})}function yme(e,t){var r,i;let o=e.getFileIncludeReasons(),s=l=>iI(l,e.getCurrentDirectory(),e.getCanonicalFileName);for(let l of e.getSourceFiles())t(`${YS(l,s)}`),(r=o.get(l.path))==null||r.forEach(f=>t(` ${Mq(e,f,s).messageText}`)),(i=Oq(l,s))==null||i.forEach(f=>t(` ${f.messageText}`))}function...
JavaScript
null }, { "Big5", t_chinese, null }, { "Big5-HKSCS", t_chinese, null }, { "windows-1251", null, "" }, { "iso-8859-5", russian, null }, { "koi8-r", r...
Java
using System; using System.Collections.Generic; namespace NHibernate.Test.NHSpecificTest.NH2828 { public class Company { public virtual Guid Id { get; protected set; } /// <summary> /// The addresses. /// </summary> private readonly ISet<Address> addresses; /// <summary> /// The bank accounts. ///...
C#
out-flex .lighter .box,[data-theme=dark] .main--layout-flex .wrapper,[data-theme=dark] .main--layout-flex .wrapper2,[data-theme=dark] .main--layout-simplified-grid-system .wrapper,[data-theme=dark] .sliding-card{background-color:#394046;border-color:#535c65}[data-theme=dark] .main--layout-flex .lighter .box,[data-theme...
CSS
32] - 切片引用 } ``` ### 练习 5: 切片长度和容量 **题目**: 解释切片引用为什么没有容量概念,只有长度。 **解答**: ```rust fn exercise_5() { let vec = vec![1, 2, 3, 4, 5]; let slice = &vec[1..4]; println!("Vec长度: {}, 容量: {}", vec.len(), vec.capacity()); println!("切片长度: {}", slice.len()); // println!("切片容量: {}", slice.capacity()); // ...
Markdown
// Assert Assert.IsNull(binderResult); } [TestMethod] public void BindModelWithBase64QuotedValueReturnsByteArray() { // Arrange string base64Value = Base64TestString; ValueProviderDictionary valueProvider = new ValueProviderDictionary(null) { ...
C#
Preço: </span><span class=preco> R$325,00 </span></p> <button class="comprar"><a href="formulario.html" target="_self"> Comprar </a></button> </div> <!-- Pedal 2 --> <div class="instrumento"> <img src="https://encrypted-tbn3.gstatic.com/shopping?q=tbn:...
HTML
eName is the module name constant used in many places ModuleName = "distribution" // StoreKey is the store key string for distribution StoreKey = ModuleName // RouterKey is the message route for distribution RouterKey = ModuleName // QuerierRoute is the querier route for distribution QuerierRoute = ModuleName...
Go
["Forgemaster Garfrost"] = "Maestro de Forja Gargelus", -- ["Forgremaster Throngus"] = "", ["Four Horsemen Chest"] = "Cofre de los Cuatro Jinetes", ["Fras Siabi"] = "Fras Siabi", Freya = "Freya", ["Gahz'ranka"] = "Gahz'ranka", ["Gahz'rilla"] = "Gahz'rilla", ["Gal'darah"] = "Gal'darah", ["Galgann Firehammer"] = ...
Lua
ins.bottomLeft, dirs[0], skinWidth, collisionMask); slopeRays[1] = Raycast(raycastOrigins.bottomLeft, dirs[1], skinWidth, collisionMask); slopeRays[2] = Raycast(raycastOrigins.bottomRight, dirs[2], skinWidth, collisionMask); slopeRays[3] = Raycast(raycastOrigins.bottomRight, dirs[3], skinWidth, collis...
C#
, 232, 167, 156, 185, 140, 231, 87, 140, 81, 8} local decstring = ciphermode.decryptString(key, btatt_value():raw(), ciphermode.decryptECB) local decbuf = ByteArray.new(decstring, true):tvb("Decrypted") subtree:add(decbytes_F, decbuf()) local lenR = decbuf(1, 1) subtree:add(length_F, lenR) local msglen = lenR:le...
Lua
(self)) return then() styleDescendantsThen(self, context, visitedSet) { // The parser can't produce declarations of its own, but the // bootstrap (and other) macros can, so when we visit the output of // one of those macros, we can find declarations to style. Which is // here. val style = when (self.d...
Kotlin
KeyForTestOrBust(t, config2, tid) rmd2, err := rmd.MakeSuccessor(context.Background(), config1.MetadataVersion(), config1.Codec(), config1.KeyManager(), config1.KBPKI(), config1.KBPKI(), kbfsmd.FakeID(2), true) require.NoError(t, err) // Both users should see the same new key. key1b, err := config1.KeyManage...
Go
IssueQuantity(Integer maxTotalIssueQuantity) { this.maxTotalIssueQuantity = maxTotalIssueQuantity; } public String getPhone() { return phone; } public void setPhone(String phone) { this.phone = phone; } public BigDecimal getRechargeRatio() { return rechargeRati...
Java
>length = 22; fallthrough; case 64: sw->type = SW_ID_3DP; if (j == 160) sw_3dp_id(idbuf, comment, sizeof(comment)); break; } } } while (k && sw->type == -1); if (sw->type == -1) { printk(KERN_WARNING "sidewinder.c: unknown joystick device detected " "on %s, contact <vojtech@u...
C
nbot.database.DriverManager import kotlin.coroutines.resume import kotlin.coroutines.suspendCoroutine class StarboardSettingsDao(driverManager: DriverManager) : CacheDBDao(driverManager) { override val cacheName: String = "starboardsettings" override val table: String = "starboardSettings" override val ta...
Kotlin
CORRUPT override fun toString(): String = M.L(this, "name") override fun desc(): String = M.L(this, "desc", (ratio * 100).toInt(), dispTurns()) override fun attachTo(target: Char): Boolean { val attached = super.attachTo(target) if (attached) { val r = target.HP.toFloat() / ta...
Kotlin
ackingContentBlocked(bool* aHasTrackingContentBlocked) { nsCOMPtr<nsIDocument> doc(GetDocument()); *aHasTrackingContentBlocked = doc && doc->GetHasTrackingContentBlocked(); return NS_OK; } NS_IMETHODIMP nsDocShell::GetHasTrackingContentLoaded(bool* aHasTrackingContentLoaded) { nsCOMPtr<nsIDocument> doc(GetDocu...
C++
stroke-dasharray: 3 3; fill: none; } .mapsense-dark.labels { font-size: 14; fill: #777; font-weight: 600; text-transform: uppercase; stroke-width: .3; /*stroke: grey;*/ font-stretch: expanded; letter-spacing: 1.5; font-family: "Josefin Sans"; } .mapsense-dark.tile-background { fill: #3a4250; } .ma...
CSS
/// source code must fall back to having a nullable type. /// Consider adding a "default:" property in the specification file to hide this note. /// String? propagationPolicy; @override bool operator ==(Object other) => identical(this, other) || other is IoK8sApimachineryPkgApisMetaV1DeleteOptions && o...
Dart
import datetime import random import time from threading import Thread, RLock from typing import List class Account: def __init__(self, balance=0): self.balance = balance self.lock = RLock() def main(): accounts = create_accounts() total = sum(a.balance for a in accounts) validate_b...
Python
top: 34px } ._2ywk ._68mt ._8v4a { margin-bottom: 20px } ._2ywk ._68mt ._8v5a { margin-bottom: 15px } ._2ywk ._68mt ._8v5b { height: 24px; min-width: 40% } ._2ywk ._68mt ._68mx ._68my { display: table-row !important } ._2ywk ._68mt ._1e79, ._2ywk ._68mt ._1e7a { display: table-cell; ver...
CSS
p:2px}._37uu ._610i._a7s._20h6{border:none;padding-bottom:4px;padding-top:4px}._a7s._610i{margin-bottom:-4px}._37uu ._610i ._42nr{display:flex;flex-direction:row}._37uu ._610i ._1mto,._610i ._3m9g{display:flex;height:32px}._37uu ._610i ._1mto ._27de{height:32px}._1mtp ._1mto{flex:1 100%}._s_6 ._1mtp ._1mto{flex:1 1 aut...
CSS
oredIntSetAdapter extends TypeAdapter<EfficientlyStoredIntSet> { const EfficientlyStoredIntSetAdapter(); static const int kTypeId = 40; @override final int typeId = kTypeId; @override final fields = const { 0: EfficientlyStoredIntSetFields.data }; @override EfficientlyStoredIntSet read(BinaryReader r...
Dart
客套件。此软件套件当中包含多种工具,支持嗅探已连接的网络,支持中间人攻击测试、端口扫描、cookie获取、路由安全测试等操作。这款工具非常强大,从2.0开始,所有高级功能全部开放。</p> <p>这套移动渗透测试工具包允许安全研究人员轻松对网络环境加以扫描。此工具包还允许IT管理员模拟出一套先进黑客环境,并以此为基础检测多项恶意技术方案。</p> <p>大家可以将zANTI视为一款能够将Backtrack强大力量引入自己Android设备的应用。只要登录至zANTI,它就会映射整套网络并嗅探其中的cookie以掌握此前曾经访问过的各个网站——这要归功于设备当中的ARP缓存。</p> <p>应用当中的多种模块包括网络映射、端口发现、嗅...
HTML
ogram/miniprogram-i18n.svg?style=svg)](https://circleci.com/gh/wechat-miniprogram/miniprogram-i18n) 微信小程序的国际化 (i18n) 方案。为小程序的双线程模型定制,使用 WXS 环境作为 WXML 国际化的运行时,很大程度上减少了国际化在小程序中运行所需的开销。使用上,只需在 WXML 或 JavaScript 中调用翻译函数即可获得翻译文本。i18n 文本可以定义在任意位置,在构建过程中会被统一打包至指定路径。 ## 文档 - [快速入门](./docs/quickstart.md) - [接口文档](./docs/api....
Markdown
flat_CEIL5_2 = "FLAT23" tex_METAL = "SHAWN2" light_color = "beige" -- use the occasional-blink FX (fairly rarely) sector_1 = { [0]=90, [1]=15 } } PREFABS.Light_tech_red = { template = "Light_basic" map = "MAP02" prob = 50 theme = "tech" flat_TLITE6_1 = "FLOOR1_7" flat_CEIL5_2 = "FL...
Lua
120" height="80" data-file-width="744" data-file-height="496" /></a></td><td>744 × 496 <span style="white-space: nowrap;">(3 KB)</span></td><td><a href="/w/index.php?title=User:DZKO&amp;action=edit&amp;redlink=1" class="new mw-userlink" title="User:DZKO (page does not exist)"><bdi>DZKO</bdi></a><span style="white-space...
HTML
击或拖拽改变大小" /></div></div><div class="topicContent" id="TopicContent"><table class="titleTable"><tr><td class="logoColumn"><img alt="盛派网络" width="140" height="70" src="../icons/SenparcLogo.JPG" /></td><td class="titleColumn"><h1>RefundQueryResult<span id="LSTAAE5711C_0"></span><script type="text/javascript">AddLanguageSp...
HTML
tDigit); act.Should().Throw<Exception>(); } [TestMethod] public void LastDigit_TreatsNaNEqual_ForFloatAndDouble() { // NaN vs NaN should be considered equivalent under precision mode for float/double IReadOnlyList<TestSeries> actual = Series(d: double.NaN, f: float.NaN); ...
C#
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\...
C
.| C Fresh From The Hills|QID|28632|M|69.69,54.61|Z|83; Winterspring|N|Make your way out of the cave, attacking any chunks of Solid Ice you might see.| C Are We There, Yeti?|QID|28629|US|M|71.73,51.91|Z|83; Winterspring|N|Kill and loot yetis.| T Are We There, Yeti?|QID|28629|M|59.35,49.84|Z|83; Winterspring|N|To Umi Ru...
Lua
| | 网络安全 | 如何防止黑客攻击企业的数据库? | | 社交媒体 ...
Markdown
ର",""] }, eras: [{"name":"ଖ୍ରୀଷ୍ଟାବ୍ଦ","start":null,"offset":0}], patterns: { d: "dd-MM-yy", D: "dd MMMM yyyy", t: "HH:mm", T: "HH:mm:ss", f: "dd MMMM yyyy HH:mm", F: "dd MMMM yyyy HH:mm:ss", M: "dd MMMM" } } } }); }( this )); /* * Globalize Culture bo-CN * * http://github...
JavaScript
e.formatProfilePic({ ...originalProfilePicObject }); expect(formattedPicObject).toEqual(originalProfilePicObject); }); }); // formatRecipePic describe("formatRecipePic", () => { it("should return the default picture path when there is no picture provided", () => { const defaultPicObject: object = ...
Typescript
/* * Copyright 2022 MindMotion Microelectronics Co., Ltd. * All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include "hal_mds.h" /* Configure the trigger mode, not using clu out as the trigger in. */ void MDS_EnableTrigger(MDS_Type * MDSx, uint32_t out, uint32_t in, MDS_TriggerInMode_Type trigg...
C
FTPList</a> command. Note that only one of year and day:minute are specified.</p> <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>userData</tt></i>:</span></td><td>user provided data for the callback</td></tr><tr><td><span class="term"><i><tt>filename</tt></i>:</s...
HTML
sx+16 : sx, flipy ? sy : sy+16) DRAW_SPRITE(bank, spritenum + 3, flipx ? sx : sx+16, flipy ? sy : sy+16) } else { DRAW_SPRITE(bank, spritenum, sx, sy) } } } } static void draw_sprites(running_machine *machine, bitmap_t *bitmap, const rectangle *cliprect ) { UINT8 *RAM = memory_region(machine, "...
C
chip *girq; irqc = &chip->irqchip; irqc->name = "bcm-iproc-gpio"; irqc->irq_ack = iproc_gpio_irq_ack; irqc->irq_mask = iproc_gpio_irq_mask; irqc->irq_unmask = iproc_gpio_irq_unmask; irqc->irq_set_type = iproc_gpio_irq_set_type; irqc->irq_enable = iproc_gpio_irq_unmask; irqc->irq_disable = iproc_gpio_ir...
C
;">;</span><br/> &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">case</span> <span style="color: #0000dd;">8</span><span style="color: #339933;">:</span> <span style="color: black;">&#123;</span> error<span style="color: black;">&#40;</span><span style="color: black;">&#41;</span><span style="color: #339933;"...
HTML
-noresult-tip{color:#b4b4b4;padding-left:5px}.s-menu .s-menuitem .s-mi-qs{color:#666;line-height:30px;height:30px}.s-menu .s-menuitem .s-mi-qs em,.s-menu .s-menuitem .s-mi-qs i{background:url(//img.alicdn.com/tps/i3/T1DGAyXahbXXXo2eDk-59-24.png) no-repeat #fff}.s-menu .s-menuitem .s-mi-qs i{background-position:-40px 5p...
CSS