content
stringlengths
2
6.21k
label
stringclasses
16 values
o.annotations.Prop import com.facebook.litho.sections.SectionContext import com.facebook.litho.sections.widget.RecyclerCollectionComponent @Suppress("MagicNumber") @LayoutSpec object LifecycleRootComponentSpec { @OnCreateLayout fun onCreateLayout(c: ComponentContext, @Prop lifecycleListener: LifecycleListener): C...
Kotlin
\n' + '\n' + '본질적으로, 4개의 변수 \\(w_{xx}^{l}\\), \\(w_{xy}^{l}\\), \\(w_{yx}^{l}\\), \\(w_{yy}^{l}\\)은 레이어에 걸쳐 데이터와 레이블 간의 정보 흐름을 나타낸다. 예를 들어, \\(w_{xx}^{l}\\)은 \\(x^{l}\\)에서 \\(x^{l+1}\\)으로 얼마나 많은 정보가 흐르는지를 측정하고, \\(w_{yx}^{l}\\)에서 \\(y^{l+1}\\)으로 얼마나 많은 정보가 흐르는지를 측정한다. 모형은 항상 이러한 4개의 변수에 의해 캡처될 수 있기 때문에 많은 헤...
HTML
font-family: 'Omelette Tall'; font-size: 48pt; margin: 8px 8px; } h3 { font-family: 'Omelette Thick'; font-size: 24pt; margin: 8px 8px; } h4 { font-family: 'Omelette Thin'; font-size: 24pt; margin: 8px 8px; } h5 { font-family: 'Omelette Small'; font-size: 12pt; margin...
HTML
nd native categorical handling\\n default_xgb_params = {\\n 'objective': 'reg:quantile',\\n 'eval_metric': 'quantile',\\n 'n_estimators': 100,\\n 'learning_rate': 0.02,\\n 'max_depth': 3, # Slightly increased depth for more learning capacity\\n 'min_child_weight...
HTML
rows or to sort the data because the standard ArrayList doesn't implement /// the needed interfaces <see cref="System.ComponentModel.ITypedList"/> and /// <see cref="System.ComponentModel.IBindingList"/>.</p> /// <p>To make the binding more comfortable, the namespace contains some attributes which changes /// the d...
C#
Start.get(Calendar.YEAR), weekStart.get(Calendar.MONDAY), weekStart.get(Calendar.DAY_OF_MONTH), 0, 0, 0); weekStart.set(Calendar.DAY_OF_WEEK, Calendar.MONDAY); return weekStart.getTime(); } /** * 获取一天的开始时间 * @return */ public static Date getLast30Day(){ Calendar todayStart = Calendar.getInst...
Java
side text is case insensitive. const SPECIAL_CASES = { javascript: 'JavaScript', typescript: 'TypeScript', sdk: 'SDK', api: 'API', } as const; const prettyPath = (input: string) => { const specialCases = Object.keys(SPECIAL_CASES).reduce( (a, k) => ({ ...a, [k.toLowerCase()]: SPECIAL_CASES[k] }), {}...
Typescript
10-15 17:04:54, V Commit: <a href="https://github.com/vlang/v/commit/a3d51c93ceaf86110a72b6501262f00c3495227c">a3d51c9</a></time> </div> </div> <!-- only-prev or only-next --> ...
HTML
}, }; if from_json { return utils::executable_or_exists(cmd.as_path(), Some(data.json.root.as_path())) .wrap_err("Invalid configuration for field 'command'") .suggestion( "When using relative paths for the field 'command' please \ mak...
Rust
} var _Pc = &RangeTable{ R16: []Range16{ {0x005f, 0x203f, 8160}, {0x2040, 0x2054, 20}, {0xfe33, 0xfe34, 1}, {0xfe4d, 0xfe4f, 1}, {0xff3f, 0xff3f, 1}, }, } var _Pd = &RangeTable{ R16: []Range16{ {0x002d, 0x058a, 1373}, {0x05be, 0x1400, 3650}, {0x1806, 0x2010, 2058}, {0x2011, 0x2015, 1}, {0x2e17,...
Go
- Message Link: {future_task['message_link']}\n\n" future_message += f"Total {future_active} Future Tasks, type '/stop future (active ID)' to stop any future task!" file_name = f"{round(time.time())}.txt" if not active_message and not future_message: await message.reply("__No any task ❕__") ...
Python
Ref() { edits = updateRefsFromBinding(edits, binding, pipe, call, newIds, false) } } if call.Modifiers != nil && call.Modifiers.Bindings != nil { for _, binding := range call.Modifiers.Bindings.List { if binding.Exp.HasRef() { edits = updateRefsFromBinding(edits, binding, pipe, call,...
Go
.swiper-slide .title { position: absolute; top: 130px; left: 50px; line-height: 80px; margin-bottom: 20px; font-size: 70px; color: #fff; opacity: 0; } .es-poster .swiper-slide .title span { display: block; } @media (max-width: 1199px) { .es-poster .swiper-slide .title { font-size: 60px; } } @...
CSS
_free(image->tile_quant); return rc; } void _jxr_r_TILE_HEADER_DC(jxr_image_t image, struct rbitstream*str, int /*alpha_flag*/, unsigned tx, unsigned ty) { DEBUG(" TILE_HEADER_DC START bitpos=%zu\n", _jxr_rbitstream_bitpos(str)); if (image->dc_frame_uniform == 0) { DEBUG(...
C++
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include <stdio.h> #include <stdlib.h> #include "secder.h" #include "secerr.h" int main() { SECItem badTime;...
C
and { --fa: "\26"; --fa--fa: "\26\26"; } .fa-analytics { --fa: "\f643"; --fa--fa: "\f643\f643"; } .fa-anchor { --fa: "\f13d"; --fa--fa: "\f13d\f13d"; } .fa-anchor-circle-check { --fa: "\e4aa"; --fa--fa: "\e4aa\e4aa"; } .fa-anchor-circle-exclamation { --fa: "\e4ab"; --fa--fa: "\e4ab\e4ab"; } .fa-anchor-circle-xmark { --...
CSS
nce||r||i.name,r==="\r")i.raw=void 0,i.name="return";else if(r===` `)i.name="enter";else if(r===" ")i.name="tab";else if(r==="\b"||r==="\x7F"||r==="\x7F"||r==="\b")i.name="backspace",i.meta=r.charAt(0)==="";else if(r===""||r==="")i.name="escape",i.meta=r.length===2;else if(r===" "||r===" ")i.name="space",i.meta=...
JavaScript
Key("http_client_host") KeyClientRoute, _ = tag.NewKey("http_client_route") KeyClientMethod, _ = tag.NewKey("http_client_method") KeyClientStatus, _ = tag.NewKey("http_client_status") HTTPClientTagKeys = []tag.Key{ KeyClientHost, KeyClientMethod, KeyClientRoute, KeyClientStatus, } ) var ( ClientSentByt...
Go
bottom: $grid-gutter-width * 2 !important; } .margin-b-none { margin-bottom: 0 !important; } .margin-b-sm { margin-bottom: ceil($grid-gutter-width * .25) !important; } .margin-b-md { margin-bottom: $grid-gutter-width * .5 !important; } .margin-b-lg { margin-bottom: $grid-gutter-width ...
CSS
및 일부 예는 그림 2 참조).\n' + '\n' + '표 3의 처음 두 행(기준 대 기준)을 비교합니다. GenPair)는 순수 합성 이미지-캡션 데이터(GenPair)의 작은 부분(1M)이라도 추가하는 것이 실제 데이터에 대해서만 훈련된 베이스라인 모델에 비해 성능(MS-COCO에서 CIDEr 점수의 17.2% 증가)을 크게 향상시킨다는 것을 보여준다. 흥미롭게도 WebLI 또는 LTIP(행 3 및 4)와 같은 실제 데이터 세트에서 추가 1M 데이터 포인트를 샘플링하여 동일한 개선을 달성하지 못한다. 이를 조사하기 위해 각 캡션 집합의 의미...
HTML
; //镜头调焦速度:0-10 public byte byAutoCompensationInterval; //定时自动快门补偿:1-120,单位:分钟 public byte bySceneMode; //场景模式:0-室外,1-室内,2-默认,3-弱光 public NET_DVR_DEFOGCFG struDefogCfg = new NET_DVR_DEFOGCFG();//透雾参数 public NET_DVR_ELECTRONICSTABILIZATION struElectronicStabilization = new NET_DVR_ELECTR...
Java
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 applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTI...
Java
�前不久的故事~讲诉了水无月家的长女时雨与六只猫猫姊妹们的日常,像是早上叫起主人啊、准备早餐啊、为家做扫除啊、散步、做晚餐、洗澡、就寝等等内容~展示了水无月家... </div> <a class="btn btn-danger pull-right read-more btn-block" href="https://Beats0.github.io/www.mygalgame.com/nekopara-vol-0-vol-0.html" title="详细阅读 Nekopara Vol.0(ネコぱら vol.0)">阅读全文 <span class="badge">51</span></a> </section> <!-- 小型...
HTML
Day8","Day8","Day0","Day0","Day0","Day0","Day0","Day4","Day4","Day8","Day4","Day8","Day4","Day8","Day4","Day4","Day4","Day8","Day8"],"tissue":["Spinalcord","Spinalcord","Spinalcord","Spinalcord","Spinalcord","Spinalcord","Spinalcord","Spinalcord","Spinalcord","Spinalcord","Spinalcord","Spinalcord","Spinalcord","Spinalc...
HTML
n></div><div style="position:absolute; border: textbox 1px solid; writing-mode:lr-tb; left:77px; top:84016px; width:66px; height:13px;"><span style="font-family: NUVRQN+SFMono-Regular; font-size:13px">ProviderType <br></span></div><div style="position:absolute; border: textbox 1px solid; writing-mode:lr-tb; left:216px;...
HTML
lua_isusertype(tolua_S,1,"ccw.CListView",0,&tolua_err)) goto tolua_lerror; #endif cobj = (cocos2d::cocoswidget::CListView*)tolua_tousertype(tolua_S,1,0); #if COCOS2D_DEBUG >= 1 if (!cobj) { tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_cocoswidget_CListView_insertNodeAtFron...
C++
羊人束腰", [3754] = "牧羊人手套", [3755] = "剖魚刀", [3758] = "十字軍腰帶", [3759] = "隱居先知手套", [3760] = "幽暗城指環", [3761] = "骷髏之盾", [3762] = "圖書館員背袋", [3763] = "圓月盾", [3764] = "螳螂之靴", [3765] = "盜匪肩鎧", [3766] = "獅鷲獸羽毛", [3767] = "優質羊皮紙", [3769] = "破損的魔杖", [3770] = "羊排", [3771] = "野豬火腿", [3772] = "魔法泉水", [3775] = "致殘毒藥", [3777] = "死草根", [3...
Lua
roll $1,%eax addl %ebp,%esi rorl $2,%ecx movl %ebx,%ebp roll $5,%ebp movl %eax,4(%esp) leal 3395469782(%eax,%esi,1),%eax movl 8(%esp),%esi addl %ebp,%eax # 20_39 66 movl %ebx,%ebp xorl 16(%esp),%esi xorl %ecx,%ebp xorl 40(%esp),%esi xorl %edx,%ebp xorl 60(%esp),%esi roll $1,%esi addl %ebp,%edi rorl ...
Assembly
dRequest(ModelState); } dynamic patchedTodoList = patch; if (key != patchedTodoList.TodoListId) { return BadRequest(); } TodoList todoList = FindTodoList(key); if (todoList == null) { return...
C#
e one clip per hour or one clip each 20 minutes. If the former // is used then I'll use the next/previous buttons on the waveform to search for the next audio piece siteAudioByAudioId: { [siteId: string]: StreamInfo[] }; // All of the species data. Filter out any that don't have an image taxaById: { [taxonId: ...
Typescript
/* DWARF2 EH unwinding support for ARC Linux. Copyright (C) 2017-2022 Free Software Foundation, Inc. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3,...
C
Keybind"](v["Keybind"]) end end end end if v.Type == "DropdownMain" then obj["Api"]["SetValue"](v["Value"]) end if v.Type == "ColorSliderMain" then local valcheck = v["Hue"] ~= nil obj["Api"]["SetValue"](valcheck and v["Hue"] or v["Value"] or 0.44, valcheck or...
Lua
results in very large // boxes. So for now we make a box that's sometimes a touch too small but is hopefully mostly of reasonable size. maxDisplacement.max( vector ); } else { console.warn( 'THREE.GLTFLoader: Missing min/max properties for accessor POSITION.' ); } } } ...
JavaScript
uint32_t gcnRegion, char id4_region); // Region code bitfield names extern const std::array<const char*, 7> dsi_3ds_wiiu_region_bitfield_names; /** * Format a DSi/3DS/Wii U region code for display as a metadata property. * * If a single bit is set, one region will be shown. * * If multiple bits are set, it will...
C++
ed(targets: fisk) // import 'dart:mirrors'; // // const fisk = const [main]; // // main() {} // // The message is: // example.dart:1:23: Hint: Can't use 'fisk' here because ... // Did you forget to add quotes? // @MirrorsUsed(targets: fisk) // ...
Dart
1) /* 80443B9C 00440ADC 90 1F 00 24 */ stw r0, 0x24(r31) /* 80443BA0 00440AE0 80 01 00 40 */ lwz r0, 0x40(r1) /* 80443BA4 00440AE4 90 1F 00 28 */ stw r0, 0x28(r31) /* 80443BA8 00440AE8 80 01 00 44 */ lwz r0, 0x44(r1) /* 80443BAC 00440AEC 90 1F 00 2C */ stw r0, 0x2c(r31) /* 80443BB0 00440AF0 80 01 00 48 */ lwz r0,...
Assembly
se); INVENTORY_FULL_ALERT.put("heavy", false); INVENTORY_FULL_ALERT.put("all", true); INVENTORY_FULL_ALERT.put( "custom", getPropBoolean(props, "inventory_full_alert", INVENTORY_FULL_ALERT.get("default"))); DISABLE_AUTO_CAMERA.put("vanilla", false); DISABLE_AUTO_CAMERA.put("vanilla_...
Java
10, 10, 1); * * @return {Network} Feed forward neural network */ Perceptron: function() { // Convert arguments to Array const layers = Array.from(arguments); if (layers.length &lt; 3) throw new Error(`You have to specify at least 3 layers`); // Create a list of nodes/groups and add input node...
HTML
ta->tun_src = kzalloc(sizeof(*sdata->tun_src), GFP_KERNEL); if (!sdata->tun_src) { kfree(sdata); return -ENOMEM; } net->ipv6.seg6_data = sdata; #ifdef CONFIG_IPV6_SEG6_HMAC if (seg6_hmac_net_init(net)) { kfree(rcu_dereference_raw(sdata->tun_src)); kfree(sdata); return -ENOMEM; } #endif return 0; } s...
C
y { bottom: 12px; } } .td-mx-28 .entry-title { font-size: 28px; line-height: 38px; font-weight: 500; /* responsive portrait tablet */ /* responsive portrait phone */ } @media (min-width: 768px) and (max-width: 1018px) { .td-mx-28 .entry-title { font-size: 22px !important; line-height: 29px !im...
CSS
)}, Math.toRadians(-45)), Model.rotateY(new Quad[]{ new Quad( new Vector3(8 / 16.0, 15 / 16.0, 4.5 / 16.0), new Vector3(8 / 16.0, 15 / 16.0, 11.5 / 16.0), new Vector3(8 / 16.0, 9 / 16.0, 4.5 / 16.0), new Vector4(11 / 16.0, 4 / 16.0, 15 / 16.0, 9 / 16.0), true )}, Math.toR...
Java
="GENERATOR" content="WinCHM"> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <style> html,body { font-family: Arial, Helvetica, sans-serif; } </style> </head> <body> <P><STRONG><FONT color=#800000 size=5>Ȼ硤ֱȭʦ Transcendent Order Instinct</FONT></STRONG></P> <P><SPAN style="DISPLAY: inline !i...
HTML
local breaking news and original programming, live 24/7, from ABC7 Bay Area.","language":"en","originating_station":"live","references":{},"streamType":"Live_Channel","adPreRoll":false,"image":{"id":11477615,"img":"https://cdn.abcotvs.com/dip/images/11477615_011822-kgo-live-channel-thumb-img.jpg","src":"https://cdn.ab...
HTML
name"> <tr> <td class="memname"><a class="el" href="structParamSetItem.html">ParamSetItem</a>&lt;T&gt;* <a class="el" href="structParamSetItem.html">ParamSetItem</a>&lt; T &gt;::Clone </td> <td>(</td> <td class="paramname"></td> <td>&nbsp;)&nbsp;</td> <td> const...
HTML
POPT_ARG_STRING, &output, 0, "Write output to this file" }, { "preload-modules", 'p', POPT_ARG_STRING, &preload_modules[0], 0, "Modules to load" }, POPT_COMMON_SAMBA POPT_TABLEEND }; setlinebuf(stdout); pc = poptGetContext("smbiconv", argc, (const char **) argv, long_options, 0); poptSetOtherOption...
C
"mocha"; import {expect} from 'chai'; import {Ingredient} from '../src/Ingredient' import {Dish} from '../src/Dish' import {Menu} from '../src/Menu' import {Carta} from '../src/Carta' let egg: Ingredient = new Ingredient("EGG", "SPAIN", "CARNES-HUEVOS-LEGUMBRES", {carbohydrates: 5, proteins: 50, lipids: 25}, 5); let ...
Typescript
canvas.drawPath(path, arrowPaint); } @override bool shouldRepaint(FlowchartPainter oldDelegate) { return oldDelegate.currentNodeId != currentNodeId || oldDelegate.nodes.length != nodes.length; } } /// 左上角切角裁剪器 class _NotchCornerClipper extends CustomClipper<Path> { final double notchSize; ...
Dart
县", "city": "平顶山市", "province": "河南省" }, { "code": "410425", "name": "郏县", "city": "平顶山市", "province": "河南省" }, { "code": "410481", "name": "舞钢市", "city": "平顶山市", "prov...
JavaScript
83.333H20.833V33.333h58.333L79.175 83.333z"></path></svg>'); } body:not(.no-sanctum-icons) svg.lucide-glasses { transform: translateY(1px) scale(1.1) translateX(-1.5px); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M30.94 15.66A16.69 16.69 0...
CSS
using System; using System.Collections.Generic; using System.Diagnostics; using UnityEditor; namespace UnityEngine.ResourceManagement.Util { internal class DelayedActionManager : ComponentSingleton<DelayedActionManager> { struct DelegateInfo { static int s_Id; int m_Id; ...
C#
PATCH='PATCH', DELETE='DELETE' } // Generic type for paginated data. export interface PaginatedData<DataType>{ num_results: number, num_pages: number, page: number, data: DataType[] } // There will be no status code in the event of a FetchError. export type ResponseStatusCode = HttpStatusCode | un...
Typescript
min) { margin-left: ~`(""+((@{columns} / @{grid-columns}) * 100)).substring(0, (@{columns} / @{grid-columns} < 0.1 ? 5 : 6))+"%"`; } } .make-sm-column-push(@columns) { @media (min-width: @screen-sm-min) { left: ~`(""+((@{columns} / @{grid-columns}) * 100)).substring(0, (@{columns} / @{grid-columns} < 0.1 ? ...
CSS
><b>Symbol</b></TD> <TD WIDTH="90" align=left><b>Number</b></TD> <TD WIDTH="95" align=left><b>Name</b></TD> <TD WIDTH="320" align=left><b>Description</b></TD> </TR> <TR> <TD colspan=6><HR></TD> </TR> <TR> <TD align=center> 338<br>339<br>352<br>353<br>376<br>402<br> </TD> <TD align=center> 152<br>153<br>160<br>161<br>17...
HTML
ion:column;}.blogReVasBanner .blogReVasBCopy .blogReVasLogoBox{display:flex;align-items:center;flex-wrap:wrap;list-style-type:none;margin:2px 0;padding:0;}.blogReVasBanner .blogReVasBCopy .blogReVasLogoBox .blogReVasLogoBoxImg{padding:0 15px;list-style-type:none;margin-bottom:16px;position:relative;border-right:1px sol...
HTML
/****************************************************************************** * Copyright (c) 2004, 2008 IBM Corporation * All rights reserved. * This program and the accompanying materials * are made available under the terms of the BSD License * which accompanies this distribution, and is available at * http:...
C
&ttnpb.MACParameters{ AdrTxPowerIndex: 2, }, }, Band: &band.EU_863_870_RP1_V1_0_2_Rev_B, Max: 7, InitialMargin: 3.0, OutputMACState: &ttnpb.MACState{ DesiredParameters: &ttnpb.MACParameters{ AdrTxPowerIndex: 3, }, }, OutputMargin: 1.0, }, { Name: "t...
Go
= { type: "button", position: { x, y }, width: w, height, padding, paddingTop, backgroundColor, borderRadius: 6, hover, onSelect: this.onSelect.bind(this, i + 20), }; (config as any)[`btn${i + 20}`] = btn; x += w + paddin...
Typescript
ядей по отцу, или в домах ваших теток по отцу, или в домах ваших дядей по матери, или в домах ваших теток по матери, или в тех домах, ключи которых в вашем распоряжении, или в доме вашего друга. Не будет грехом для вас, если вы будет есть вместе или в отдельности. Когда вы входите в дома, то приветствуйте себя (друг др...
Dart
ComponentReference, isValidComponentSpec, } from "./componentSpec"; // IndexedDB: DB and table names const DB_NAME = "components"; const DIGEST_TO_DATA_DB_TABLE_NAME = "digest_to_component_data"; const DIGEST_TO_COMPONENT_SPEC_DB_TABLE_NAME = "digest_to_component_spec"; const DIGEST_TO_COMPONENT_NAME_DB_TABLE_NAME...
Typescript
if (!WriteEndElement(writer)) return false; hr = writer->WriteEndDocument(); if (FAILED(hr)) { errorHr = hr; errorMsg = _T("Error WriteEndDocument"); return false; } hr = writer->Flush(); if (FAILED(hr)) { errorHr = hr; errorMsg = _T("Error Flush"); return false; } // get content size STATST...
C++
_rem_set = max_code_root_mem_sz_region()->rem_set(); out->print_cr(" Total heap region code root sets sizes = " SIZE_FORMAT "%s." " Max = " SIZE_FORMAT "%s.", byte_size_in_proper_unit(total_code_root_mem_sz()), proper_unit_for_byte_size(total_code_root_mem_sz(...
C++
, 180}, {"Natalie", "Washington", new GregorianCalendar(1972, 7, 8), "Blue", 66, 163}, {"Damon", "Washington", new GregorianCalendar(1986, 1, 2), "Hazel", 76, 176}, {"Angela", "Washington", new GregorianCalendar(1993, 1, 15), "Brown", 68, 145} }; IWorkshe...
Java
<img alt="This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License" id="creativecommons_img" src="images/CC.png"/> </a> </p> </div> </div> <!-- BEGIN BREADCRUMBS --> <div id="breadcrumb"> <ul class="navigation">...
HTML
{ object oSysVar = dom.GetObject( s ); if( oSysVar ) { integer iVST = oSysVar.ValueSubType(); Write("var tmp = new Object();"); Write("tmp['id'] = '"#oSysVar.ID()#"';"); Write("tmp['trid'] = 'svd"#oSysVar.ID()#"';"); Write("tmp['name'] = '"#oSysVar.Nam...
HTML
p5-running-text p{margin:0 0 10px;padding:0}.bp5-text-large{font-size:16px}.bp5-text-small{font-size:12px}a{text-decoration:none}a:hover{cursor:pointer;text-decoration:underline}.bp5-code,.bp5-running-text code{font-family:monospace;text-transform:none;border-radius:2px;font-size:smaller;padding:2px 5px}.bp5-code-block...
CSS
程生态对比](#软件工程生态对比) - [分布式应用](#分布式应用) - [分层架构](#分层架构) - [数学库](#数学库) - [消息队列](#消息队列) - [软件组件](#软件组件) - [Web开发](#web开发) - [分布式开发开源框架](#分布式开发开源框架) - [Golang框架](#golang框架) - [Rust框架](#rust框架) - [适用范围对比](#适用范围对比) - [分布式开发与应用架构趋势](#分布式开发与应用架构趋势) - [编程语言生态趋势](#编程语言生态趋势) - [选择与构建策略](#选...
Markdown
st_refresh.text(f"Last refreshed at: {time.strftime('%Y-%m-%d %H:%M:%S')}") # Fetch voting statistics voters_count, candidates_count = fetch_voting_stats() # Display total voters and candidates metrics st.markdown("""---""") col1, col2 = st.columns(2) col1.metric("Total Voters", voters_count) ...
Python
Int, drawable: Drawable? ) { if (index < 0 || index > mRoundMenuNumber) return val bitmap = DrawableUtils.drawableToBitmap(drawable) mRoundMenuDrawableList[index] = bitmap invalidate() } /** * 设定正常情况下的菜单背景颜色 * @param color 颜色 0xffffffff */ fun set...
Kotlin
t easing * in milliseconds. * @property {number} [easing='linear'] CSS easing function. Defaults to 'linear'. * See {@link https://developer.mozilla.org/en-US/docs/Web/CSS/transition-timing-function}. */ /** * ISettings are settings specific to each run of the custom controls. They contain * some data about wher...
Typescript
targetMeta.MinDiskSize, AdditionalNics: targetMeta.AdditionalNics, AppendKernelArgs: targetMeta.AppendKernelArgs, AppendFirstbootKernelArgs: targetMeta.AppendFirstbootKernelArgs, InstanceType: targetMeta.InstanceType, NonExclusive: !targetMeta.Exclusive, Co...
Go
{ return CtrlKey() && Input.GetKeyDown(keyCode); } public static bool CtrlKey() { return Input.GetKey(KeyCode.LeftControl) || Input.GetKey(KeyCode.LeftCommand) || Input.GetKey(KeyCode.RightControl) || Input.GetKey(K...
C#
můžete posílat mince pouze z peněženky, kterou osobně ovládáte.'; } @override String get and => 'a'; @override String get api8722Sbdocs250Sblabel => 'API dokumenty'; @override String get api250Sbvalidation8722Sberror250Sbaddress => 'Neplatná adresa!'; @override String get appbar8722Sbbtn250Sblogi...
Dart
-size-sm, inherit);--kendo-chart-inactive: color-mix(in srgb, var(--kendo-color-on-app-surface, #F5F5F5) 50%, transparent);--kendo-chart-major-lines: color-mix(in srgb, var(--kendo-color-on-app-surface, #F5F5F5) 8%, transparent);--kendo-chart-minor-lines: color-mix(in srgb, var(--kendo-color-on-app-surface, #F5F5F5) 4%...
CSS
.green.left{-webkit-box-shadow:0 -1px 0 0 rgba(0,0,0,.1) inset,.2em 0 0 0 #2ecc40 inset;box-shadow:0 -1px 0 0 rgba(0,0,0,.1) inset,.2em 0 0 0 #2ecc40 inset}.ui.ui.ui.ui[class*="tablet stackable"].inverted.table tr.marked.green.right{-webkit-box-shadow:0 -1px 0 0 rgba(0,0,0,.1) inset,-.2em 0 0 0 #2ecc40 inset;box-shadow...
CSS
the physical position of the northwest corner of the room the player is in * @implNote {@code physicalPos} is shifted by 0.5 so room borders are evenly split. * {@code physicalPos} is further shifted by 8 because Hypixel offset dungeons by 8 blocks in Skyblock 0.12.3. * Subtracting the modulo gives the northwest ...
Java
getDefaultState(); EnumDyeColor defaultColor = EnumDyeColor.WHITE; try { // try to read the default color value from the default state instead of just // blindly setting it to default state, and potentially resetting other values ...
Java
ouponDisabledDTO.Request): Promise<SetCouponDisabledDTO.Response> { if (!Types.ObjectId.isValid(req.couponId) || typeof req.disabled != 'boolean') { return Result.fail(UseCaseError.create('c', 'Either couponId or disabled is not valid')); } const couponFound = await this.couponRepo....
Typescript
feeConfigDtos == null || feeConfigDtos.size() != 1) { continue; } if (StringUtil.isEmpty(feeConfigDtos.get(0).getPrepaymentPeriod()) || feeConfigDtos.get(0).getPrepaymentPeriod().equals("-1")) { continue; } feeIds.add(feeDto.get("feeId").to...
Java
NCDECL_RPL (strerror, char *, (int)); _GL_CXXALIAS_RPL (strerror, char *, (int)); # else _GL_CXXALIAS_SYS (strerror, char *, (int)); # endif _GL_CXXALIASWARN (strerror); #elif defined GNULIB_POSIXCHECK # undef strerror /* Assume strerror is always declared. */ _GL_WARN_ON_USE (strerror, "strerror is unportable - " ...
C
\Local\Temp\msohtmlclip1\01\clip_image003.png" v:shapes="Obraz_x0020_5"><![endif]></span><o:p></o:p></p> <p class=MsoNormal><!--[if gte vml 1]><v:oval id="Elipsa_x0020_1" o:spid="_x0000_s1026" style='position:absolute;margin-left:3.75pt;margin-top:19.45pt;width:126pt; height:126pt;z-index:251659264;visibility:visibl...
HTML
releases/download/{}/{}", org, name, version, artifact ), ) } } impl<'a> DownloadManager<'a> { pub fn android_jar(&self) -> Result<()> { let dir = self.env.android_sdk(); let sdk = self.env.target_sdk_version(); let path = dir .join("platf...
Rust
ppings, vim.api.nvim_buf_get_keymap(self.buf.buf, self.mode)) ---@cast mappings wk.Keymap[] for _, mapping in ipairs(mappings) do if mapping.desc and mapping.desc:find("which-key-trigger", 1, true) then -- ignore which-key triggers elseif Util.is_nop(mapping.rhs) then self.tree:add(mapping, tru...
Lua
8]) -> Token { token - Blinding::new(data) } /// Removes a blinding factor to the token #[wasm_bindgen] pub fn remove_blinding(token: Token, data: &[u8]) -> Token { token + Blinding::new(data) } /// Creates a proof using a nonce received from a verifier #[wasm_bindgen] pub fn create_proof(token: Token, id: &[...
Rust
ea_struct *dst_vma, unsigned long start, unsigned long len, bool enable_wp) { unsigned int mm_cp_flags; struct mmu_gather tlb; long ret; VM_WARN_ONCE(start < dst_vma->vm_start || start + len > dst_vma->vm_end, "The address range exceeds VMA boundary.\n"); if (enable_wp) mm_cp_flags = MM_CP_UFFD_WP; els...
C
pedef struct { Float r; /* real part */ Float i; /* imaginary part */ } CPX; /* ********* define boolean type */ typedef int Bool; #define false 0 #define true 1 /* ******Avoid function multiple definition****** */ #define Autocorr voAWB_Autocorr #define Convolve voAWB_Convolve #d...
C
66][77][88][99]"); }); it("match widely expression", () => { const regexp = spreadAlphaNum("web"); assert(regexp.test("Web") === true); assert(regexp.test("web") === true); assert(regexp.test("WEB") === true); assert(regexp.test("Web") === tru...
Typescript
e .navbar-right{float:right !important}#app-header.navbar .navbar-nocollapse .navbar-right .open>a:after{z-index:1003;bottom:-7px;margin-left:-8px;border-width:0 8px 8px;border-color:transparent transparent #fff;position:absolute;content:"";left:50%;width:0;height:0;border-style:solid}#app-header.navbar .navbar-nocolla...
CSS
map.put('\u24CD', "CIRCLED LATIN CAPITAL LETTER X"); map.put('\u24CE', "CIRCLED LATIN CAPITAL LETTER Y"); map.put('\u24CF', "CIRCLED LATIN CAPITAL LETTER Z"); map.put('\u24D0', "CIRCLED LATIN SMALL LETTER A"); map.put('\u24D1', "CIRCLED LATIN SMALL LETTER B"); map.put('\u24D2', "CIRCLED LATIN SMAL...
Java
://www.w3.org/2000/svg'%3E%3Cpath fill='white' d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495....
CSS
aclesToCheckEnum.nextElement(); if (obstacleToCheck.contains(point1)) containedPoints++; if (obstacleToCheck.contains(point2)) containedPoints++; if (obstacleToCheck.contains(point3)) containedPoints++; if (obstacleToCheck.contains(point4)) containedPoints++; ...
Java
= 0; //static int i = 0; static char serial_char; static int serial_count = 0; static boolean comment_mode = false; static char *strchr_pointer; // just a pointer to find chars in the command string like X, Y, Z, E, etc const int sensitive_pins[] = SENSITIVE_PINS; // Sensitive pin list for M42 //static float tt = 0;...
C++
zation"},{"refs":[{"id":"ref-for-dom-collectedclientdata-type\u2464"}],"title":"5.8.1.2. Limited Verification Algorithm"},{"refs":[{"id":"ref-for-dom-collectedclientdata-type\u2465"}],"title":"5.8.1.3. Future development"},{"refs":[{"id":"ref-for-dom-collectedclientdata-type\u2466"}],"title":"7.1. Registering a New Cre...
HTML
503a\u98ce\u9669\u8bba\u201d** \n - **\u4e8b\u5b9e**\uff1a\u503a\u52a1\u4e2d75%\u4e3a\u957f\u671f\u56fa\u5b9a\u5229\u7387\uff0c2025\u5e74\u5230\u671f\u503a\u52a1\u4ec5\u53608%\uff0c\u4e14\u7ecf\u8425\u6027\u73b0\u91d1\u6d41\u8986\u76d6\u5229\u606f\u652f\u51fa3.1\u500d\uff08\u5b89\u5168\u9608\u503c2x\uff09\u3002 \n ...
HTML
AX_ACTIVE_PETS do local loadoutPlate = PetJournal.Loadout["Pet"..i]; local petID, ability1ID, ability2ID, ability3ID, locked = C_PetJournal.GetPetLoadOutInfo(i - 1); if(locked) then PetJournal.Loadout["Pet"..i].setButton:Hide(); else PetJournal.Loadout["Pet"..i].setButton:Show(); end end end function ...
Lua
, in * which (a, b) is mapped to (1/b, 1/a), the transformation * required is x -> 2(2ab/x - b - a)/(b-a). If b is infinity, * this becomes x -> 4a/x - 1. * <p> * SPEED: * <p> * Taking advantage of the recurrence properties of the * Chebyshev polynomials, the routine requires one more * addi...
Java
translation: "жирафа", image: "img/giraffe.jpg", audioSrc: "audio/giraffe.mp3" } ], [ { word: "chicken", translation: "курица", image: "img/chicken.jpg", audioSrc: "audio/chicken.mp3" }, { word: "horse", translation: "л...
Typescript
etime = time.strftime('%Y-%m-%d %X') # sql查询日志目录 log_dir = '{}/logs/sql_log/{}'.format(_BASE_DIR, time.strftime('%Y%m')) # 目录不存在时创建 if not os.path.exists(log_dir): os.makedirs(log_dir, 0o600) with open('{}/{}.log'.format(log_dir, cur_datetime[8:10]), 'a') as fp: ...
Python
s1) /* 0C3408 801629C8 25CF0018 */ addiu $t7, $t6, 0x18 /* 0C340C 801629CC AE2F000C */ sw $t7, 0xc($s1) .L801629D0_ovl3: /* 0C3410 801629D0 0C0050E9 */ jal func_800143A4_ovl3 /* 0C3414 801629D4 8FA40028 */ lw $a0, 0x28($sp) /* 0C3418 801629D8 8E020000 */ lw $v0, ($s0) /* 0C341C 801629DC 3C19DB02 */ lu...
Assembly
rs() { // Iterates through 32 colors. for (i in 0..31) { // Not sure what this variable is. val thingy = (i shr 3 and 1) * 85 // The red value of the color. var red = (i shr 2 and 1) * 170 + thingy // The green value of the color. ...
Kotlin
onial_group .testimonial .rr_review_name{text-align:right;padding-right:10%;font-style:italic;font-size:.8em;}.mobile_menu_bar:before,.mobile_menu_bar:after{color:#ff7500;}.footer-widget h4{color:#ff7500;}.et-search-form,.footer-widget li:before{border-color:#ff7500;}.container,.et_pb_row{max-width:1180px;}a{color:#ff7...
HTML