content
stringlengths
2
6.21k
label
stringclasses
16 values
len(columns)) for i, c := range columns { columnIDs[i] = c.GetColID() } // Merge if necessary if len(overlappingModules) > 0 { assignedModule = disc.MergeModules(overlappingModules, moduleCandidates) assignedModule.NbConstraintsOfPlonkCirc += nbConstraintsOfPlonkCirc assignedModule.NbInstancesOfPlonkCirc ...
Go
Pr; var L = oMargins.Left; var T = oMargins.Top; var R = undefined === oMargins.Right ? undefined : oSectPr.GetPageWidth() - oMargins.Right; var B = undefined === oMargins.Bottom ? undefined : oSectPr.GetPageHeight() - oMargins.Bottom; if (isFromRuler) { if (this.IsMirrorMargins() && 1 === this.CurPage % 2) ...
JavaScript
""" Split, Join, Enumerate em Python Split - dividir uma string #str join - juntar uma lista #str enumarate enumerar elementos da lista #list iteráveis """ string = 'O brasil é o pais do futebol, o brasil é penta.' lista_1 = string.split(' ') lista_2 = string.split(',') #for valor in lista_1: # print( f' A palavra...
Python
) { _colprint(['', privatePath(path)]); } } void _printPackageConfig() { _colprint([ 'package config', privatePath(Platform.packageConfig ?? 'not passed') ]); } void _printPubCache() { final pathToPubCache = PubCache().pathTo; _colprint(['pub cache', privatePath(pathToPub...
Dart
/ TODO public void OpenMessageTalkBallDeco(int sexId) { } // TODO public void ClearMessage() { } // TODO public void StateAction() { } // TODO public MsgWindowParam GetDefMassageParam() { return default; } // TODO public void SetCloseWindowCallBackChangeOpcState() { } // TODO public void OpenGreetA...
C#
inct(); variable.set(&result).leave() }) .KV::<VersionFeature, QueryId>() .map(|(version_feature, query_id)| (version_feature.version_id, query_id)); query_results = addend_transitive_releases .join_...
Rust
Corignac", "Fleac", "Lonzac", "Vergt", "Queyssac", "Liorac", "Echourgnac", "Cazelon", "Eypau", "Carignan", "Monbazillac", "Jonzac", "Pons", "Jumilhac", "Fenouilledes", "Laguiolet", "Saujon", "Eymoutiers", "Eygurande", "Eauze", "Labouheyre", #endif VERSION7 0 }; char *shkgeneral[] = { #ifdef VERSION7 "He", "Pf", ...
C
389018 80086A50 00000000 */ nop /* 238901C 80086A54 08004000 */ jr $v0 /* 2389020 80086A58 00000000 */ nop .L80086A5C_: /* 2389024 80086A5C 0C0057A2 */ sb $s7, 0xC($s2) /* 2389028 80086A60 0D0040A2 */ sb $zero, 0xD($s2) /* 238902C 80086A64 B11A0208 */ j .Llevel_24_80086AC4 /* 238...
Assembly
alse; // Iterate over each of the roles for the user that is requested to make a channel and process accordingly message.member.roles.cache.forEach(role => { // Check to see if the user has the year one role if(role === roles['📗']) { // Create the channel until the Year 1 parent channel message.guild.chan...
Typescript
ht)); _settingsProvider.SetSetting(PredefinedSettings.MainWindowMaximized, IsZoomed); } } private void OnBlazorWebViewInitialized(object? sender, EventArgs e) { InitializeLowPriorityServices(); } private void TitleBarInfoProvider_PropertyChanged(object? sender, Propert...
C#
Subscription(); btn5.addEventListener('click', ev => { const sub1 = interval(1000).subscribe(value => console.log('First add: ', value) ); const sub2 = interval(1000).subscribe(value => console.log('Second add: ', value) ); const sub3 = interval(1000).subscribe(value => console.log('Third add: '...
Typescript
t by index (invalid)': (l) => _nintFeats.setAt(l, -1, _ix.first), 'elementAt': (l) => _nintFeats.elementAt(l, 2), 'elementAt (invalid)': (l) => _nintFeats.elementAt(l, -1), 'getRange': (l) => _nintFeats.getRange(l, 3, 6), 'contains': (l) => _nintFeats.contains(l, 2), 'contains (miss)': (l) => _nintFeats.conta...
Dart
Size) removeCameraChangeListener(instance.render) instance.clock.reset() EventBus.reset() GameManager.instance = undefined } } } export interface IValidation { // eslint-disable-next-line @typescript-eslint/no-explicit-any validate: (input: any) => Error | boolean; } import axios from ...
Typescript
this.heroes$ = this.searchTerms.pipe( //每次點等待300毫秒 你實際發起請求的間隔永遠不會小於 300ms。 debounceTime(300), //distinctUntilChanged() 會確保只在過濾條件變化時才傳送請求。 distinctUntilChanged(), //條件更改到新的 switchMap在每次發出時,會取消前一個內部 observable (你所提供函數的結果) 的訂閱,然後訂閱一個新的 observable //它會取消並丟棄以前的搜尋可觀察物件,只保留最近的。 switch...
Typescript
display size int w, h; int displayW, displayH; glfwGetWindowSize( gWindow, &w, &h ); glfwGetFramebufferSize( gWindow, &displayW, &displayH ); io.DisplaySize = ImVec2( ( float )w, ( float )h ); io.DisplayFramebufferScale = ImVec2( w > 0 ? ( ( float )displayW / w ) : 0, h > 0 ? ( ( float )displayH / h ) : 0 ); /...
C++
ncher) { wigner_9j_bench(b, 6, 8); } // this one just uses a plain FnvHashMap, which requires storing both keys and // values #[bench] fn bench_regge3jm_map_25(b: &mut Bencher) { let tj_max = 25; let mut table = wigner_3jm_arg_table(0, tj_max); rand::thread_rng().shuffle(&mut table); let mut map =...
Rust
http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing pe...
Kotlin
l_type qwen-audio-chat \ --dataset aishell1-mini-zh \ --sft_type full \ --use_flash_attn true \ --deepspeed default-zero2 ``` [Custom datasets](../LLM/Customization.md#-Recommended-Command-line-arguments) supports json, jsonl styles, the following is an example of a custom dataset: (Supports multi-tur...
Markdown
using Anaglyph.Netcode; using Anaglyph.XRTemplate.SharedSpaces; using System.Threading.Tasks; using UnityEngine; namespace Anaglyph.Lasertag { public class ConnectionHUD : MonoBehaviour { [SerializeField] private GameObject connecting; [SerializeField] private GameObject colocating; [SerializeField] private Ga...
C#
can help here ;) double db_diffusivite = 0; int element, compteur = 0; if ((element=face_voisins(i,0)) != -1) { db_diffusivite += diffusivite_->valeurs()(is_var_ * element); compteur++; } if ((element=face_voisins(i,1)) != -1) { db_diffusivite += diffusivite_->valeurs()(is_var_ ...
C
0%; left:50%; margin:-60px 0 0 -140px; width:250px; } .popup-block .form-list { margin:0 0 15px; } .popup-block .block-title { display:none; } .popup-block .buttons-set button { display:inline-block !important; margin-right:1px !important; width:49% !important; } .popup-block.active { display:block; } .map-popup-close...
CSS
n", "too!.") // Mix up foreground and background colors, create new mixes! red := color.New(color.FgRed) boldRed := red.Add(color.Bold) boldRed.Println("This will print text in bold red.") whiteBackground := red.Add(color.BgWhite) whiteBackground.Println("Red text with white background.") ### 3. Use your own output...
Go
][0] } catch(error){ console.log(error.sqlMessage || error.message) } } // a) Fiz um console.log(result) e é retornado varios arrays de objetos, um deles é com as informações do ator que foi passado como parametro o id na chamada da função. // b) const getActorByName = async (name: string): Promise<a...
Typescript
r TidySortAttrAlpha */ static int AlphaComparator(AttVal *one, AttVal *two) { return TY_(tmbstrcmp)(one->attribute, two->attribute); } /* The "factory method" that returns a pointer to the comparator function */ static ptAttValComparator GetAttValComparator(TidyAttrSortStrategy strat) { switch (strat) { ...
C
+ diam) { e[j][0] = -diam; } if (e[j][1] < 0 - diam) { e[j][1] = height + diam; } if (e[j][1] > height + diam) { e[j][1] = -diam; } // If current circle is selected... if ((lockedCircle == j && dragging)) { // Set fill color of center dot to white.. fill(255, 255, 255, 255); // ..and s...
JavaScript
md = cmd .. ".repo." cmd = cmd .. tostring(id) .. ' click_script="open ' .. html_url .. '"' Sbar.exec(cmd, function() Sbar.exec(popup_off) end) end cmd = "sketchybar -m --set github.notification" if IS_EMPTY(title) == false then cmd = cmd .. ".message." cmd = cmd .. ...
Lua
って提供されるプライバシーは、他の参加者が資金を使用したり、KYC 交換や加盟店に必要な ID などを通じて自分のアウトプットを ID にリンクしたりするにつれて、時間の経過とともに低下します。彼らの匿名性セット (「隠れる群衆」) を可能な限り新鮮にします。</li>\n<li> CoinJoin へのほとんどのアプローチでは、CoinJoin トランザクションの入力と出力の接続を難しくするために、参加者は固定サイズの UTXO (つまり 0.1 BTC) を使用する必要があります。このため、手数料が高くなり(大口入力のたびに別個の取引が必要になる)、「有害な変化」(プライバシーへの重大なリスクがなければ使用できない資金)が増え、...
Dart
01-.035-.395c0-1.104.79-2.047 2.172-2.047 1.328 0 2.11.87 2.11 1.93 0 .817-.476 1.454-1.221 1.921l-1.311.808a1.644 1.644 0 00-.736 1.014h3.33v.808zm1.057 0l1.606-2.2-1.552-2.118h1.023l1.06 1.517 1.04-1.517h.997l-1.535 2.119c.26.35 1.328 1.849 1.589 2.2h-1.015l-1.113-1.59-1.095 1.59h-1.005z'/>"},{size:24,svgContent:"<pa...
JavaScript
const obj = { a: 1, b: { c: { d: 2, }, e: {}, }, }; const flattened = flatten(obj); const unflattened = unflatten(flattened); expect(deepEq(unflattened, obj)).to.be.true; }); it('should unflatten nested array', () => { const obj = { a: ...
Typescript
le the installation of Prometheus on your clusters, deactivate the manual configuration.":[""],"PrometheusService|Waiting for your first deployment to an environment to find common metrics":["\u041e\u0447\u0456\u043a\u0443\u0432\u0430\u043d\u043d\u044f \u043f\u0435\u0440\u0448\u043e\u0433\u043e \u0440\u043e\u0437\u0433...
JavaScript
=delete_user_not_found_screen).pack() # Deleting popups def delete_login_success(): login_success_screen.destroy() def delete_password_not_recognised(): password_not_recog_screen.destroy() def delete_user_not_found_screen(): user_not_found_screen.destroy() # Designing Main(first) window def main_a...
Python
EntryList: "RcREV474V5h5p4EBlrEUv", EntrySection: "_3ogwAu3jcXbSI0MdGQ_1VD", Bold: "_2uu5DOZr2m-lq4A1B16xRR", }; }, 62482: (e) => { e.exports = { Tooltip: "_1Pmfc2s6LJ0Ty3o7qNjS4L", CarouselFade: "_3KcofopDj_Ydg_GnrrJu__", StandardButton: "_4TmdMOSgEw...
JavaScript
-balloon-pos=left]:before{background:no-repeat url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='36'%3E%3Cpath fill='rgba(17, 17, 17, 0.9)' d='M0 33.342V1.338c0 6 12.002 11.627 12.002 16.002C12.002 21.715 0 27.406 0 33.342z'/%3E%3C/svg%3E");background-size:100% auto;widt...
CSS
// Builder methods are broken up into modules, depending on what kind // of thing is being translated. Note that they use the `unpack` macro // above extensively. mod block; mod cfg; mod expr; mod into; mod matches; mod misc; mod scope; mod stmt; // Copyright 2022 <NAME> // See LICENSE.txt and LICENSE-Apache-2.0.txt f...
Rust
Json(entry.value); if (value != null) { map[entry.key] = value; } } } return map; } // maps a json object with a list of IoK8sApimachineryPkgApisMetaV1APIGroupList-objects as value to a dart map static Map<String, List<IoK8sApimachineryPkgApisMetaV1APIGroupList>> mapListFr...
Dart
ull } }, style: TieredMenuStyle, provide: /* @__PURE__ */ __name(function provide10() { return { $pcTieredMenu: this, $parentInstance: this }; }, "provide") }; var script$1$2 = { name: "TieredMenuSub", hostName: "TieredMenu", "extends": script$e, emits: ["item-click", "item-mouse...
JavaScript
glabel func_801ECF48_ovl10 /* 1DDCB8 801ECF48 27BDFFD8 */ addiu $sp, $sp, -0x28 /* 1DDCBC 801ECF4C AFB10020 */ sw $s1, 0x20($sp) /* 1DDCC0 801ECF50 3C118005 */ lui $s1, %hi(D_8004A7C4) # $s1, 0x8005 /* 1DDCC4 801ECF54 2631A7C4 */ addiu $s1, %lo(D_8004A7C4) # addiu $s1, $s1, -0x583c /* 1DDCC8 801ECF58 8E220000 ...
Assembly
lign 2 .type __ksymtab_fast_pppoe_exit, @object .size __ksymtab_fast_pppoe_exit, 8 __ksymtab_fast_pppoe_exit: .word fast_pppoe_exit .word __kstrtab_fast_pppoe_exit .section ___ksymtab+fast_pppoe_init,"a",@progbits .align 2 .type __ksymtab_fast_pppoe_init, @object .size __ksymtab_fast_pppoe_init, 8 __ksymtab_fas...
Assembly
Hajvaq_Rkprcgvba .type b__MA10__pkknovi119__trgRkprcgvbaPynffRCX17_Hajvaq_Rkprcgvba,%function b__MA10__pkknovi119__trgRkprcgvbaPynffRCX17_Hajvaq_Rkprcgvba: nop .text .weak b___fnavgvmre_ercbeg_reebe_fhzznel .type b___fnavgvmre_ercbeg_reebe_fhzznel,%function b___fnavgvmre_ercbeg_reebe_fhzznel: nop .data .globl b__MGVFg1...
Assembly
0.01668487239* 0.2438174835*Math.sin( 4.16976892466 + 0.2438174835 * t); var mars_x_2 = 0.0; mars_x_2+=Math.pow(t,1.0)*2.0* 1.12517e-05*Math.cos( 4.26813980903 + 13362.6935242827*t)-Math.pow(t,2.0)* 1.12517e-05* 13362.6935242827*Math.sin( 4.26813980903 + 13362....
Kotlin
tionMap = Map<string, string>; const locationMap: LocationMap = new Map(mapFile.map(o => [`${o.name}@${o.version}`, o.location])); fs.rmdirSync(".package_store", { recursive: true }); fs.mkdirSync(".package_store", { recursive: true }); async function getFiles(p: string): Promise<string[]> { const dir = await readd...
Typescript
/^[12]\d{3}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01]) ([01]?[0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]$/.test(dt) ) { // like 1978-12-01 12:34:20 tstr = dt + ''; } else if (/^[12]\d{3}(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])$/.test(dt)) { // like 19781201 ...
Typescript
"`, } _, _, err := runtimeWithModules(t, modules) if err == nil { t.Fatal(errors.New("successfully accessed IO package")) } } // This test will always pass. // Have a look at the stdout messages to see if the module was loaded multiple times // You should only see "Test Module Loaded" once func TestRuntimeRequi...
Go
CSEXPORT int32 CSCONV Export_UWorld_Offset_TimeSeconds() { return OffsetOf(&UWorld::TimeSeconds); } CSEXPORT int32 CSCONV Export_UWorld_Offset_UnpausedTimeSeconds() { return OffsetOf(&UWorld::UnpausedTimeSeconds); } CSEXPORT int32 CSCONV Export_UWorld_Offset_RealTimeSeconds() { return OffsetOf(&UWorld::RealTimeSec...
C
-basis-56 { flex-basis: var(--dui-spc-56); } .dui.dui-p-60 { padding: var(--dui-spc-60); } .dui.dui-p-x-60 { padding-left: var(--dui-spc-60); padding-right: var(--dui-spc-60); } .dui.dui-p-y-60 { padding-top: var(--dui-spc-60); padding-bottom: var(--dui-spc-60); } .dui.dui-p-t-60 { paddi...
CSS
", " a felhasználóim a google azonosító szöveget ikor látják a felhasználóim a google azonosító szöveget felhasználók a google azonosító szöveget fogják látni minden tranzakció után ha a vásárlását regisztrációját oldalunk"}, {"id", "INDONESIAN", "berdiri setelah pengurusnya yang berusia 83 tahun, Fayzrahman Sataro...
Java
), var(--Chip-paddingInline))","--Chip-decoratorChildRadius":"max(var(--_Chip-radius) - var(--variant-borderWidth, 0px) - var(--_Chip-paddingBlock), min(var(--_Chip-paddingBlock) + var(--variant-borderWidth, 0px), var(--_Chip-radius) / 2))","--Chip-deleteRadius":"var(--Chip-decoratorChildRadius)","--Chip-deleteSize":"v...
JavaScript
list.moveBetween(moveAfter: moveAfter, movedItem: movedItem, moveBefore: moveBefore); // Assert expect(result, [ _SortableTestClass(sortIndex: 0, name: '1'), _SortableTestClass(sortIndex: 1, name: '2'), _SortableTestClass(sortIndex: 2, name: '3'), _SortableTestCl...
Dart
.82-62-3.47 7.06-13.34 26.51-33.82 62z@@fill:none;&&M372.66 279.16l-1 2a16.29 16.29 0 016.77-7.26 16.48 16.48 0 00-5.77 5.26z&&M195.94 459.38C205.37 472.67 221 480 240 480a16 16 0 0014.31-8.85c3-6.06 15.25-24 28.19-42.9 18-26.33 40.35-59.08 55.23-84.81l.13-.22c20.48-35.49 30.35-54.94 33.82-62l1-2a16.48 16.48 0 015.79-5...
JavaScript
return mergeTreeFont; } /* * Utility methods */ /** * Get the TreeItem that should be selected after removing the current selection. */ public static TreeItem getNewlySelectedItem(Tree tree) { TreeItem[] selection = tree.getSelection(); if ((selection == null) || (selection.length == 0)) { ret...
Java
winner-icon { font-size: 96px; margin: 30px 0; animation: iconBounce 1s ease-out; } /* Parti-spesifik stiller */ .liberal-win { border: 3px solid #3498db; box-shadow: 0 0 30px rgba(52, 152, 219, 0.3); } .liberal-win .winner-message { color: #3498db; } .fascist-win { border: 3px solid #e74c3c; box-sha...
CSS
l++){var a="inline-block";2<t&&!w.helpers.isMobile()&&(a="none");var s="fr-table-cell ";1==t&&1==l&&(s+=" hover"),e+='<span class="fr-command '+s+'" tabIndex="-1" data-cmd="tableInsert" data-row="'+t+'" data-col="'+l+'" data-param1="'+t+'" data-param2="'+l+'" style="display: '+a+';" role="button"><span></span><span cla...
JavaScript
: []api.CheckContext{ { TypeName: "CheckRun", Name: "build (ubuntu-latest)", Status: "COMPLETED", Conclusion: "SUCCESS", StartedAt: time.Date(2022, 1, 1, 1, 1, 1, 1, time.UTC), CompletedAt: time.Date(2022, 1, 1, 1, 1, 1, 1, time.UTC), DetailsURL: "https://github...
Go
public String getSalesProperties() { return this.salesProperties; } public void setSalesProperties(String salesProperties) { this.salesProperties = salesProperties; } public String getSkuSpecDesc() { return this.skuSpecDesc; } public void setSkuSpecDesc(String skuSpecDesc) { this.skuSpecDesc = skuSpecDes...
Java
ia";break;case"d":return t?"päivän":"päivä";case"dd":i=t?"päivän":"päivää";break;case"M":return t?"kuukauden":"kuukausi";case"MM":i=t?"kuukauden":"kuukautta";break;case"y":return t?"vuoden":"vuosi";case"yy":i=t?"vuoden":"vuotta"}return i=function(e,a){return e<10?a?ne[e]:ae[e]:e}(e,t)+" "+i}e.defineLocale("fi",{months:...
JavaScript
-index:102;overflow:visible}body.collapse-wiretabs #content .WireTabs{top:0;margin:5px 0 1px 0}#content .WireTabs li{background:none;margin:0;padding:0}#content .WireTabs a{font-weight:bold;padding:0.5em 1em 0.5em 1em;display:inline-block;border-top-left-radius:4px;border-top-right-radius:4px;border:1px solid transpare...
CSS
er PKEVENT m_WriteEvent {nullptr}; PKEVENT m_ReadEvent {nullptr}; // worker thread that handles IO across the shared memory PKTHREAD m_WorkerThread {nullptr}; wil::kernel_event_manual_reset m_ThreadExitEvent; wil::kernel_event_manual_reset m_ThreadExitedEvent {true}; // m_Standa...
C
ldr r3, [r5, #2800] add r4, r4, r0 mov r0, r4 ldrh r1, [r3, #96] ldrh r2, [r3, #74] str r1, [sp, #8] ldrh r1, [r3, #92] str r1, [sp, #4] ldrh r1, [r3, #88] str r1, [sp] ldr r1, .L816+144 ldr r3, [r3, #84] bl sprintf ldr r3, [r5, #2800] add r4, r4, r0 mov r0, r4 ldrh r1, [r3, #98] ldrh r2, [r3, #72] st...
Assembly
left val y = region.top val width = region.width() val height = region.height() if (x < 0 || x > this.width || y < 0 || y > this.height || width <= 0 || width + x > this.width || height <= 0 || height + y > this.height ) { throw IllegalStateException("Requested region is inv...
Kotlin
ble Bunny',42,42,1,1,0,{[3537]={{56.31,20.19},{56.63,27.19},{54.25,17.91}}},nil,3537,nil,nil,35,"AH","",0}, [26805] = {'Alliance Cleric',37164,37164,71,71,1,nil,nil,0,nil,nil,16,nil,"",0}, [26806] = {'Guardian Serpent',9610,9610,72,72,0,{[394]={{71.59,24.21},{71.21,24.24}}},nil,394,nil,nil,16,nil,"",0}, [26807] = {'Fiz...
Lua
(九)其他依法应当给予处分的行为。 第五十九条 排污单位违反规定排放、倾倒毒害性、放射性、腐蚀性物质或者传染病病原体等危险物质,非法处置危险物质,违反治安管理规定的,可以对单位直接负责的主管人员或者其他直接责任人员依法给予行政拘留处罚。 拒绝、阻扰、妨碍环境监督管理人员依法执行职务,违反治安管理规定的,依照《中华人民共和国治安管理处罚法》的规定处理。 ## 第九章 附则 第六十条 本条例自2009年1月1日起施行。《浙江省实施〈中华人民共和国水污染防治法〉办法》同时废止。# 浙江省蚕种管理条例 2006年7月28日 浙江省第十届人民代表大会常务委员会第二十六次会议通过 2014年5月28日 浙江省第十二届人民代表大会常务...
Markdown
IllegalArgumentException(message); } return applyToScenarios(i -> fn.apply(value.get(i), otherValue.get(i))); } private <U, R> MarketDataBox<R> combineWithSingle(MarketDataBox<U> other, BiFunction<T, U, R> fn) { U otherValue = other.getSingleValue(); return applyToScenarios(i -> fn.apply(value.get...
Java
SZ(6); @$pb.TagNumber(7) set passAgain($core.String v) { $_setString(6, v); } @$pb.TagNumber(7) $core.bool hasPassAgain() => $_has(6); @$pb.TagNumber(7) void clearPassAgain() => clearField(7); } class UserLoginQuery extends $pb.GeneratedMessage { factory UserLoginQuery({ $core.String? host, $core...
Dart
�是我们国家的支柱产业,它对GDP的贡献率已经超过20%。每年都有大量的游客涌入我国,他们对于交通、住宿和餐饮等方面的需求促进了相关行业的发展。| | Open Generation | 能否编写一首新歌的歌词?主题为爱情,风格为流行。| | Classification | 在自然界中,有哪些动物属于食肉目?请列举至少5种。| | Editing | 以下的邮件是否符合商业电子邮件的基本格式?如果不符合,请给出修改建议。题目:关于公司新产品的发布。尊敬的客户您好,感谢您一直以来对我们公司的支持。我们很荣幸地向您宣布,我们即将推出一款全新的产品。详情请访问我们的官方网站。再次感谢您的关注。| | Ope...
Markdown
} const smallerR = num < nums[index]; if (smallerL === smallerR) { result++; } } return result; } import { intToString } from "./utils"; import { env as system } from "../internal/system.d"; /** * This function return the head block time, it is in seconds since epo...
Typescript
川県' }, { name: 'Ehime', id: 737, abbrev: '愛媛県' }, { name: 'Kochi', id: 738, abbrev: '高知県' }, { name: 'Fukuoka', id: 739, abbrev: '福岡県' }, { name: 'Saga', id: 740, abbrev: '佐賀県' }, { name: 'Nagasaki', id: 741, abbrev: '長崎県' }, { name: 'Kumamoto', id: 742, abbrev: '熊本県' }, { name: 'Ōita', id: 743, ab...
Typescript
対策の強化と背景の明確化](https://github.com/team-mirai/policy/pull/1351) | idobata-policy-app[bot] | open | 2025-05-20 | 2025-05-21 | | #1362 | [【地方創生】AIわが街会議の導入で自治体職員の方々と共に地方を盛り上げます](https://github.com/team-mirai/policy/pull/1362) | idobata-policy-app[bot] | open | 2025-05-20 | 2025-05-20 | | #1384 | [「他の重点施策」に「多様な家族形態に関する法整備の検討...
Markdown
Ten(length_11), equalTo(false)) val zeroOrEleven = 0.exactLength.or(11.exactLength) assertThat(zeroOrEleven(length_0), equalTo(true)) assertThat(zeroOrEleven(length_1), equalTo(false)) assertThat(zeroOrEleven(length_10), equalTo(false)) assertThat(zeroOrEleven(length_11), equalT...
Kotlin
().map((p) { return DeviceTile(title: p.title(context), value: p.value); }), AlgaToolbar(title: Text(context.tr.platformInfo)), ...ref.watch(deviceInfoPartsProvider).whenOrNull( data: (data) => data.map((e) { return DeviceTile( ...
Dart
.五十束.百束.千束.百千束。积聚烧然。作大火聚。若复有人增其干草樵薪。诸比丘。于意云何。此火相续长夜炽然不。 比丘白佛言。如是。世尊。 如是。诸比丘。于所取法味著.顾念.心缚著。增。其爱缘取。取缘有。乃至纯大苦聚集。诸比丘。若彼火聚炽然。不增樵草。诸比丘。于意云何。彼火当灭不。 答言。如是。世尊。 如是。诸比丘。于所取法观察无常.生灭.离欲.灭尽.舍离。心不顾念.缚著。爱则灭。爱灭则取灭。如是广说。乃至纯大苦聚灭。 佛说此经已。诸比丘闻佛所说。欢喜奉行。 ### (二八七) <a name="287"></a> 如是我闻。 一时。佛住舍卫国祇树给孤独园。 尔时。世尊告诸比丘。我忆宿命未成正觉时。独一静处。专精禅...
Markdown
, SCANDATASRCR::CH7 => 7, } } #[allow(missing_docs)] #[doc(hidden)] #[inline] pub fn _from(value: u8) -> SCANDATASRCR { match value { 0 => SCANDATASRCR::CH0, 1 => SCANDATASRCR::CH1, 2 => SCANDATASRCR::CH2, 3 => SCANDATASRCR:...
Rust
, xer); // beq cr6,0x82437800 if (cr6.eq) goto loc_82437800; // lwz r31,0(r3) r31.u64 = PPC_LOAD_U32(ctx.r3.u32 + int32_t(0) ); // b 0x82437804 goto loc_82437804; loc_82437800: // mr r31,r28 r31.u64 = r28.u64; loc_82437804: // li r4,16 ctx.r4.s64 = 16; // mr r3,r27 ctx.r3.u64 = r27.u64; // bl 0x8223d5e0 s...
C++
Of(bezier)[GBUpdateY]; wideBezierUpdateDataOf(bezier)[GBUpdateY] = (lastY + (lineWidth * 256)); bezierFinalXOfput(bezier, endX - lineOffset); } /* Adjust the wide bezier curve (dx >= 0) to start/end at the right point */ function adjustWideBezierRightwidthoffsetendX(bezier, lineWidth, lineOffset, endX) { var last...
JavaScript
= Rectangle(width = width, height = height) private var onClickAction: ((Int) -> Boolean)? = null override fun mousePressed(mc: Minecraft, mouseX: Int, mouseY: Int): Boolean = isHovered(mouseX, mouseY) override fun isMouseOver(): Boolean = hovered override fun getButtonWidth(): Int = body.roundedWid...
Kotlin
#pragma once #include <stdint.h> #include <stddef.h> int strcasecmp(const char *a, const char *b); int strncasecmp(const char *s1, const char *s2, size_t n);
C
byClass(CardView::class) if (device.wait(Until.hasObject(loiCardSelector), LONG_TIMEOUT) == null) { captureScreenshot() fail("Failed to find ad-hoc loi card") } val cards = device.findObjects(loiCardSelector) cards.forEach { it.swipe(Direction.LEFT, 1F) } val loiCollectDataButtonSelecto...
Kotlin
bottom: 0; left: 0; height: 4px; background: black; opacity: 0.3; z-index: 3; transition: all; } [REPLACE_CLASS_toastdefault] [REPLACE_CLASS_toastbar] { background: var(--header-primary); } [REPLACE_CLASS_toastbar][REPLACE_CLASS_toastcustombar] { opacity: 1; } [REPLACE_CLASS_toastdefault] [REPLACE_CLASS_toastbg...
CSS
}); } let result = match self.table.name_map.entry(field.name.clone()) { Entry::Occupied(mut e) => { let ref_index = e.insert(index); self.track_ref(ref_index); DynamicInsertionResult::InsertedWithNameRef { po...
Rust
{ return try { enumValueOf(enumClass, enumName) } catch (e: IllegalArgumentException) { val constants = enumClass.enumConstants if (constants.size > fallbackOrdinal) constants[fallbackOrdinal] else throw e } } @Throws(ClassNotFoundException::class) ...
Kotlin
1); assert(c); (*c)[0].resize(1); (*c)[0][0].resize(selector::numNodes()); pw.store(c); statusStr = "/proc/"+std::to_string(getpid())+"/status"; return selector::nodeInit(); } // TODO: leaks check void nodeEnd() {} OUT_t *svc(IN_t *in) { bool one...
C++
panel > .mm-listview:first-child, .mm-panels > .mm-panel > .mm-navbar + .mm-listview { margin-top: -20px; } .mm-listview .mm-inset { list-style: inside disc; padding: 0 40px 15px 10px; margin: 0; } .mm-listview .mm-inset > li { padding: 5px 0; } .mm-listview .mm-divider { text-overflow: ellipsis; wh...
CSS
)", "FROM dbo.Ark A" }; Compare( actual, expected ); } [Test] public void Can_Format_Select_With_Exists_Function() { // Setup var sut = new FormattingEngine(); // Exercise var actual = sut.Execute(...
C#
e, data; ret = amba_request_regions(adev, NULL); if (ret) goto err_req; ldata = devm_kzalloc(&adev->dev, sizeof(struct pl031_local), GFP_KERNEL); ops = devm_kmemdup(&adev->dev, &vendor->ops, sizeof(vendor->ops), GFP_KERNEL); if (!ldata || !ops) { ret = -ENOMEM; goto out; } ldata->vendor = ...
C
", "Do you?", "You want the money for the big salad, George?", "Ok thanks so much.", "(the Barney's sales associate turns and walks away.", "Elaine turns to Kramer as he admires himself in the mirror) What are you all dressed up for?", "A hundred and fifty dollars?", "A hundred and fifty dollars for what?...
Rust
TeamNumber() != pLocalTFPlayer->GetTeamNumber(); bool bEnemyMiniBoss = pPlayer->IsMiniBoss() && bEnemyPlayer; bShow = bEnemyMiniBoss; #ifdef STAGING_ONLY bShow |= TFGameRules() && TFGameRules()->IsBountyMode() && tf_bountymode_showhealth.GetInt() && bEnemyPlayer; #endif // STAGING_ONLY if ( bShow )...
C++
// Copyright (c) 2016, SolidCP // SolidCP is distributed under the Creative Commons Share-alike license // // SolidCP is a fork of WebsitePanel: // Copyright (c) 2015, Outercurve Foundation. // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, // are permitted ...
C#
M.upScreen = MA{move='screen', mul=-1, div=2} M.downScreen = MA{move='screen', mul=1, div=2} end M.moveG = function(keySt) -- specific line or end-of-file local ev = keySt.event or {} return ev.times and {action='move', move='absolute', l=ev.times} or M.eof end M.movekey = function(keys) ...
Lua
(false), restartAtEnd(false), DDraw(nullptr), AppState(C4AS_None), iLastGameTick(0), iGameTickDelay(defaultGameTickDelay), iExtraGameTickDelay(0), pGamePadControl(nullptr), CheckForUpdates(false) {} C4Application::~C4Application() { // clear gamepad delete pGamePadControl; // flush loggers spdlog::apply_all([](...
C++
زن دامنه ای میشناسید که باید بایپس شود؟ به اینجا گزارش بدهید [Iran Hosted Domains](https://github.com/bootmortis/iran-hosted-domains) دامنه تبلیغاتی ایرانی میشناسید که باید مسدود شود؟ به اینجا گزارش بدهید [PersianBlocker](https://github.com/MasterKia/PersianBlocker) دامنه ای میشناسید که... خیلی خوب فکر ک...
Markdown
ORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ using System.Runtime.Remoting.Channels.Http; using System.Runtime.Remoting.Channels...
C#
/** * @file target.c * @brief Target information for the Musca B qspi * * DAPLink Interface Firmware * Copyright (c) 2016-2019, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in ...
C
lock.flower.ExtrabotanyFlowerBlocks; import io.github.lounode.extrabotany.common.brew.ExtraBotanyBrews; import io.github.lounode.extrabotany.common.brew.ExtraBotanyMobEffects; import io.github.lounode.extrabotany.common.crafting.ExtraBotanyRecipeTypes; import io.github.lounode.extrabotany.common.entity.ExtraBotanyEntit...
Java
.708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); } [data-pc-preset=preset-2] .alert-primary { --bs-alert-color: #3d0a91; --bs-alert-bg: #e0cffc; --bs-alert-border-color: #d1b7fb; --bs-alert-link-color: #310874; } [data-pc-preset=preset-2] .list-gr...
CSS
mMenu; } } // setting EventEmitter maxListeners require('events').EventEmitter.defaultMaxListeners = 100 import { Server as HapiServer } from 'hapi' import * as Server from './services/server' import * as Log from './services/logs' import * as Database from './services/database' // initializing logger instance cons...
Typescript
line: 0px;font-size: 13px;visibility: visible;"><strong style="-webkit-tap-highlight-color: transparent;cursor: text;color: rgb(0, 0, 0);caret-color: rgb(255, 0, 0);font-family: 微软雅黑, &#34;Microsoft YaHei&#34;, sans-serif;visibility: visible;max-inline-size: 100%;outline: none 0px !important;"><span style="-webkit-tap-...
Markdown
de(root, "Functions", map.get("f")); addTagTypeNode(root, "Type and Structure Components", map.get("k")); addTagTypeNode(root, "Labels", map.get("l")); addTagTypeNode(root, "Modules", map.get("m")); addTagTypeNode(root, "Namelists", map.get("n")); addTagTypeNode(root, "Programs", map.get("p")); addTag...
Java
e, "malformed PUBLISH packet: not enough data to parse packet_id" end byte1, byte2 = str_byte(data, 3 + topic_len, 3 + topic_len + 1) packet_id = bor(lshift(byte1, 8), byte2) packet_id_len = 2 end -- DOC: 3.3.3 Payload local payload if data_len > 2 + topic_len + packet_id_len then payload = str_s...
Lua
安管理行为的,依法给予治安管理处罚;构成犯罪的,依法追究刑事责任。 第三十四条 被申请人违反人身安全保护令,构成犯罪的,依法追究刑事责任;尚不构成犯罪的,人民法院应当给予训诫,可以根据情节轻重处以一千元以下罚款、十五日以下拘留。 第三十五条 学校、幼儿园、医疗机构、居民委员会、村民委员会、社会工作服务机构、救助管理机构、福利机构及其工作人员未依照本法第十四条规定向公安机关报案,造成严重后果的,由上级主管部门或者本单位对直接负责的主管人员和其他直接责任人员依法给予处分。 第三十六条 负有反家庭暴力职责的国家工作人员玩忽职守、滥用职权、徇私舞弊的,依法给予处分;构成犯罪的,依法追究刑事责任。 ## 第六章 附则 第三十七条 家...
Markdown
hout restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall ...
Markdown
ls[label.Index] != -1) { if (labelStackHeight[label.Index] != stackHeight) { // the "backward branch constraint" prohibits this, so we don't need to support it throw new NotSupportedException(); } } else { Debug.Assert(labelStackHeight[label.Index] == -1 || labelStackHeig...
C#