content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
r(bool);
Builder& SetEmitsOriginalText(bool);
Builder& SetEmitsSmallXForTextSecurity(bool);
Builder& SetEntersOpenShadowRoots(bool);
Builder& SetEntersTextControls(bool);
Builder& SetExcludeAutofilledValue(bool);
Builder& SetForInnerText(bool);
Builder& SetForSelectionToString(bool);
Builder& SetForWind... | C |
quired 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 permissions and
* limitations under the License.
*/
export... | Typescript |
rams = {'num_columns': len(features),
'num_labels': 5,
'hidden_units': [96, 96, 896, 448, 448, 256],
'dropout_rates': [0.03527936123679956, 0.038424974585075086, 0.42409238408801436, 0.10431484318345882, 0.49230389137187497, 0.32024444956111164, 0.2716856145683449, 0.4379233941604448], ... | Python |
部、政法委员会,配多少名额等。县革委主任王枫桐说,同意以上意见,需要很好地分工,把委员分成6个组审批:于忠负责罗富、简绍奎负责六寨、周世光负责月里、边固负责瑶寨、刘伯兴负责新州、李鹏负责小场(加上芒场)。陈贵海还讲,革委会成员的条件:按毛主席革命接班人的5个条件和林副主席的3条。
</p>
<p>
全会研究革委会下设机构及定员问题:
</p>
<p>
一、生产指挥组:秘书组7人,农村组15人,财贸组10人,工交组5人,文教卫生组3人,计40人。
</p>
<p>
二、政治部:组织人事组7人,宣传组5人,群团组3人,保卫组3人,秘书组3人,计21人。
</p>
<p>
三、办公室... | HTML |
debug.error("A Hive offset must be provided (--hive-offset)")
h = hivemod.HiveAddressSpace(addr_space, self._config, self._config.hive_offset)
return rawreg.get_root(h)
def render_text(self, outfd, data):
outfd.write("{0:20s} {1}\n".format("Last Written", "Key"))
self.print_key(o... | Python |
ight: 100%;
}
.jumbotronText {
display: flex;
flex-direction: column;
gap: var(--sl-spacing-large);
}
.jumbotronText h1 {
font-size: var(--hot-fair-font-size-title-2);
color: var(--hot-fair-color-white);
text-transform: uppercase;
}
.jumbotronText p {
font-size: var(--hot-fair-font-size-body-text-3);
... | CSS |
Client for Client {
fn make_client(client_id: String) -> Self {
Client { client_id }
}
}
impl<'a, 'r> rocket::request::FromRequest<'a, 'r> for Client {
type Error = ();
fn from_request(
request: &'a rocket::request::Request<'r>,
) -> rocket::request::Outcome<Client, Self::Error> {
... | Rust |
3_ENTRYID .. "', NULL, '');") -- Shoulder
CharDBQuery("INSERT IGNORE INTO `character_transmog` (`player_guid`, `slot`, `item`, `real_item`) VALUES (" .. playerGUID .. ", '" .. PLAYER_VISIBLE_ITEM_4_ENTRYID .. "', NULL, '');") -- Shirt
CharDBQuery("INSERT IGNORE INTO `character_transmog` (`player_guid`, `slot`, `ite... | Lua |
rage, _>(&revision_id)
}
/// Properties accessor for zome config.
fn read_foreign_index_zome(conf: DnaConfigSliceObservation) -> Option<String> {
Some(conf.satisfaction.index_zome)
}
/// Properties accessor for zome config.
fn read_foreign_event_index_zome(conf: DnaConfigSliceObservation) -> Option<String> {
... | Rust |
.html" class="s36" target="_blank">Executive Order 10631—Code of Conduct for members of the Armed Forces of the United States. Available at </a><a href="http://www.archives.gov/federal-register/codification/executive-order/10631.html" class="a" target="_blank">https://www.archives.gov/federal-register/codification/exec... | HTML |
<ProxiesStyle>(this as ProxiesStyle, _$identity);
/// Serializes this ProxiesStyle to a JSON map.
Map<String, dynamic> toJson();
@override
bool operator ==(Object other) {
return identical(this, other) || (other.runtimeType == runtimeType&&other is ProxiesStyle&&(identical(other.type, type) || other.type == ty... | Dart |
Event_PTR().GetCthis()
}
rv, err := qtrt.InvokeQtFunc6("_ZN12QTextBrowser10paintEventEP11QPaintEvent", qtrt.FFI_TYPE_POINTER, this.GetCthis(), convArg0)
qtrt.ErrPrint(err, rv)
}
// body block end
// keep block begin
func init_unused_11345() {
if false {
reflect.TypeOf(123)
}
if false {
reflect.TypeOf(uns... | Go |
AAA) + Lead Spray", "x": 4.215789794921875, "y": 21.7454891204834}, {"class": "Gunner", "name": "BRT7 Burst Fire Gun (CCAAB) + Composite Casings", "x": 4.151154041290283, "y": 21.377016067504883}, {"class": "Gunner", "name": "BRT7 Burst Fire Gun (CCAAB) + Full Chamber Seal", "x": 4.225184440612793, "y": 21.328001022338... | HTML |
using var decrypto = DecryptoFactory.Create(
buffer,
Path.GetFileName(f),
m => logQueue.Enqueue(($"{f}|{m}", LogLevel.Warn)));
var outName = (await decrypto.DecryptAsync()).NewName;
var outPath = Path.C... | C# |
: 0px;letter-spacing: 1px;font-size: 14px;">受影响版本</span></strong></span><o:p style="outline: 0px;"></o:p></p></td><td width="324" colspan="1" rowspan="1" style="padding: 0px 7.2px;outline: 0px;word-break: break-all;hyphens: auto;border-width: 0.666667px;border-color: rgb(191, 191, 191);vertical-align: top;"><p><span st... | Markdown |
607+I*(-3.611706875783690136*10^607)");
check("TimeValue(Annuity(100, 12), .01, 0)", //
"1125.508");
check("TimeValue(Annuity(100, 12), EffectiveInterest(.01, 0.25), 12)", //
"1268.515");
check("TimeValue(AnnuityDue(100, 12), 0.1, 0)", //
"749.5061");
check("TimeValue(Annuity(50... | Java |
敬評'},
{'24563', '刁觔缾', '刁觔缾'},
{'24564', '刁井榦', '刁井榦'},
{'24565', '刁噠噠', '刁噠噠'},
{'24566', '刁進乎', '刁進乎'},
{'24567', '囍靜平', '囍靜平'},
{'24568', '蓆靜平', '蓆靜平'},
{'24569', '戲經平', '戲經平'},
{'24570', '囍勁平', '囍勁平'},
{'24571', '蓆勁平', '蓆勁平'},
{'24572', '蓆金平', '蓆金平'},
{'24573', '西燼平', '西燼平'},
{'24574', '希錦平', '希錦平'},
{'24575', '曦錦平... | Lua |
它就会通过最先进的分析机制,不断扫描 DDoS 攻击。一旦检测到攻击,就会自动生成实时缓解规则,以根据攻击模式如外科手术般地缓解攻击请求,同时保持用户请求不变。使用 <a href="https://developers.cloudflare.com/ddos-protection/managed-rulesets/http">HTTP DDoS 托管规则集</a>,您可以自定义缓解系统的设置,以根据您的需求和特定流量模式对其进行调整。</p>
<figure class="kg-card kg-image-card"><img src="https://blog.cloudflare.com/content/images/202... | HTML |
any list item to display the button</p>
<a href="https://github.com/commadelimited/jquery.swipeButton.js" data-role="button">Get the code</a>
</div>
</div>
</body>
</html>
<!--
jQuery Mobile Boilerplate
/snippets/collapsible-sets.html
-->
<!doctype html>
<html>
<head>
<title> jQuery Mobile Boilerplate </title... | HTML |
الَّذِينَ يَخْشَوْنَ رَبَّهُمْ بِالْغَيْبِ وَأَقَامُوا الصَّلَاةَ ۚ وَمَنْ تَزَكَّىٰ فَإِنَّمَا يَتَزَكَّىٰ لِنَفْسِهِ ۚ وَإِلَى اللَّهِ الْمَصِيرُ',
19: 'وَمَا يَسْتَوِي الْأَعْمَىٰ وَالْبَصِيرُ',
20: 'وَلَا الظُّلُمَاتُ وَلَا النُّورُ',
21: 'وَلَا الظِّلُّ وَلَا الْحَرُورُ',
22: 'وَمَا يَسْتَوِي الْأ... | Dart |
}
onRequestClose={ () => setModalOpen( false ) }
shouldCloseOnClickOutside={ false }
isFullScreen
>
<PresetManager />
</Modal>
) }
</>
);
}
/**
* WordPress dependencies
*/
import { __ } from '@wordpress/i18n';
/**
* Internal dependencies
*/
import prepareGroupedFields from './../... | JavaScript |
1.5
var metaV15 cyclonedxMetadataV15
if err = json.Unmarshal(doc.Metadata, &metaV15); err != nil {
// try with v1.4
var metaV14 cyclonedxMetadataV14
if err = json.Unmarshal(doc.Metadata, &metaV14); err != nil {
i.logger.Debug().Err(err).Msg("error decoding file to extract main information, skipping ...")
}... | Go |
.0, 4.0, 8.0, 2.0, 4.0, 8.0, 16.0, 4.0, 8.0, 16.0, 32.0]);
let matrix2 = Matrix::new(4, &[1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0]);
let expected_result = Matrix::new(4, &[0.0, 1.0, 2.0, 4.0, 1.0, 2.0, 4.0, 8.0, 2.0, 4.0, 8.0, 16.0, 4.0, 8.0, 16.0, 32.0]);
... | Rust |
: Entity): boolean {
if (isNullOrUndefined(ent))
return false;
var visitedEntities = [];
visitedEntities.push(this);
var currentParent = ent.parent;
while (currentParent != null) {
if (visitedEntities.indexOf(currentParent) >... | Typescript |
/*
* Copyright (C) 2024 mod.io Pty Ltd. <https://mod.io>
*
* This file is part of the mod.io UE Plugin.
*
* Distributed under the MIT License. (See accompanying file LICENSE or
* view online at <https://github.com/modio/modio-ue/blob/main/LICENSE>)
*
*/
#pragma once
#include "Types/ModioCommonTypes.h"
#i... | C |
*
* @param {INode} first
* @param {INode} second
* @param {INode[]} restNodes 可能包含第一 第二个节点
*/
function isOverLapThird(
first: INode,
second: INode,
restNodes: INode[],
): boolean {
let newNode = calcBoundaryNode([first, second]);
for (let i = 0, iLen = restNodes.length; i < iLen; i++) {
let node = r... | Typescript |
+= 2;
currentOffset = scanElementValue(currentOffset);
}
return currentOffset;
}
/**
* @param offset
* the offset to start reading.
* @return the next offset to read.
*/
private int scanElementValue(int offset) {
int currentOffset = offset;
int tag = u1At(currentOffset);
currentOffset++;
switch ... | Java |
VGTitleElement*>(castedThis->impl());
JSValue result = jsString(exec, imp->xmllang());
return result;
}
JSValue jsSVGTitleElementXmlspace(ExecState* exec, JSValue slotBase, const Identifier&)
{
JSSVGTitleElement* castedThis = static_cast<JSSVGTitleElement*>(asObject(slotBase));
UNUSED_PARAM(exec);
... | C++ |
most recent date at which the Concept Scheme was changed or modified.
</td>
</tr>
</tbody>
</table>
</section>
<section id="concept-scheme-version">
<h4>Property: version info</h4>
<table class="def" id="table-concept-scheme-versi... | HTML |
PORT void my32_gnutls_transport_set_pull_timeout_function(x64emu_t* emu, void* session, void* f)
{
(void)emu;
my->gnutls_transport_set_pull_timeout_function(session, find_timeout_Fct(f));
}
EXPORT int my32_gnutls_pkcs12_simple_parse(x64emu_t* emu, void* p12, void* pwd, ptr_t* key, ptr_t* chain, uint32_t* chain... | C |
k-form-buttons .k-button-group {
box-shadow: none;
}
.k-actions .k-split-button, .k-edit-buttons .k-split-button, .k-action-buttons .k-split-button, .k-columnmenu-actions .k-split-button, .k-form-buttons .k-split-button {
box-shadow: none;
}
.k-actions .k-button-solid-base, .k-edit-buttons .k-button-solid-bas... | CSS |
FromRelationship
*
* remove one or more IDs from a hasMany relationship
*
* @param property the property which is acting as a FK
* @param refs the IDs on the properties FK which should be removed
*/
removeFromRelationship(property: Extract<keyof T, string>, refs: Extract<fk, string> | ... | Typescript |
updated='May 1, 2018'
m.ongetinfo='getinfo'
m.ongetpagenumber='getpagenumber'
m.ongetnameandlink='getnameandlink'
m.totaldirectory = #dirurls
m.ondownloadimage = 'downloadimage'
end | Lua |
= os.text.toencoding(dir)
os.execute('mkdir "' .. dir .. '"')
else
os.execute('mkdir -p "' .. dir .. '"')
end
end
os.exists = function(path)
if os.platform == "Windows" then
path = string.gsub(path, "/", "\\")
path = os.text.toencoding(path)
local _, _, code = os.execute('if exist "' .. path... | Lua |
ernetworking 插件
任何 CNI 插件都可以作为 Multus 的次要 CNI 插件,以提供连接到一个 pod 的额外网络接口。然而,最常见的是使用由 containernetworking 团队维护的 CNI 插件(bridge、host-device、macvlan 等)作为 Multus 的辅助 CNI 插件。这些 containernetworking 插件会在安装 Multus 时自动部署。关于这些插件的更多信息,请参阅 [containernetworking plugins](https://www.cni.dev/plugins/current) 文档。
要使用这些插件中的任何一个,需要创建一个适当的... | Markdown |
int32_t *) ((uint8_t *) p_reg + (uint32_t) ppi_task)) = 1UL;
}
NRF_STATIC_INLINE uint32_t nrf_ppi_task_address_get(NRF_PPI_Type const * p_reg,
nrf_ppi_task_t ppi_task)
{
return (uint32_t) ((uint8_t *) p_reg + (uint32_t) ppi_task);
}
NRF_STATIC_INLINE uint3... | C |
panionBuilder,
$CloudAuthMetaUpdateCompanionBuilder,
(
i1.CloudAuthMetaData,
i0.BaseReferences<
i0.GeneratedDatabase,
i1.CloudAuthMeta,
i1.CloudAuthMetaData
>,
),
i1.CloudAuthMetaData,
i0.Pref... | Dart |
div> </div> <div class='c-ft-n'><h2>Notes</h2> <p><span id='n1'>1.</span> == Biography ==Maria Margaretha was born in 1761. She was the daughter of SebastianBrosius and her mother was Margaretha ''Roth'' Brosius. She passed away in 1826, and was buried at Himmel Church Cemetery, Rebuck, Northumberland County, Pennsyl... | HTML |
public void closeScreen()
{
this.minecraft.player.closeScreen();
super.closeScreen();
}
public void onClose()
{
super.onClose();
this.field_214182_c.removeListener(this.field_214183_d);
}
protected void addDoneButton()
{
if (this.minecraft.playe... | Java |
able-in-premium.vcv-ui-icon-dashboard-star {
color: #6476BD;
}
.vcv-dashboard-sidebar-navigation-link--active .vcv-available-in-premium.vcv-ui-icon-dashboard-star,
.vcv-dashboard-sidebar-navigation-link:hover .vcv-available-in-premium.vcv-ui-icon-dashboard-star {
color: #FFB718;
}
.vcv-dashboard-sidebar-navigatio... | CSS |
start
```
The application is served at [localhost:3000](http://localhost:3000/), and any
React component update will trigger a hot reload.
## Tests
To run tests:
```
$ npm run test-all
```
## Custom RJSF fields
We have expanded the RJSF functionality with a base64 encoded file upload. It can be used by declaring ... | Markdown |
特区警方在12日首先发现,他们注意到了4个位置的摄像头无法正常工作。安全专家随后在4处存储设备中检测到了2种勒索软件,他们随即扫描了整个监控系统并清理了受感染的设备。临时政府警长Peter Newsham表示事态在48小时内得到了控制并且没有造成明显的影响。</p>
<p>引自《华盛顿邮报》的消息称,情报服务官员Brian Ebert就此表示:“公共安全并未受到危害”。华盛顿特区首席技术官,Archana Vemulapalli则表示当局没有支付赎金,并通过将受感染的设备下线,清除所有软件后重启系统的方式解决了问题,同时针对本次攻击的调查正在进行中。</p>
<p>截止到目前,本次华盛顿特区监控系统被黑一事仍有众多谜团,如:</p>... | HTML |
[dir=rtl] p,.mce-visualblocks[dir=rtl] pre,.mce-visualblocks[dir=rtl] section,.mce-visualblocks[dir=rtl] ul{background-position-x:right;margin-right:3px}.mce-nbsp,.mce-shy{background:#aaa}.mce-shy::after{content:'-'}body{font-family:sans-serif}table{border-collapse:collapse}
// Mixins
// --------------------------
@mi... | CSS |
ck Dual Lens",Price=852},['3']={NameHash="DLC_MP_SMUG_M_PHEAD_5_3",label="White Dual Lens",Price=1427},['2']={NameHash="DLC_MP_SMUG_M_PHEAD_5_2",label="Brown Dual Lens",Price=1136},['5']={NameHash="DLC_MP_SMUG_M_PHEAD_5_5",label="DLC_MP_SMUG_M_PHEAD_5_5",Price=1222},['4']={NameHash="DLC_MP_SMUG_M_PHEAD_5_4",label="DLC_... | Lua |
const initialState: CategoriesState = {
activeCategory: '',
list: [],
}
const reducer = (state: CategoriesState = initialState, action: AnyAction) => {
const { payload, type } = action
switch (type) {
case SET_ACTIVE_CATEGORY:
return {
...state,
activeCategory: payload,
}
... | Typescript |
5 6q-74 0-138.5-19T776 505q-37 7-72.5 7t-71.5-7l-2 4-1 3h11q87 0 160.5 30T917 623.5 960 736t-43 112.5T800.5 930 640 960q-36 0-73-6-45 33-109.5 51.5T320 1024q9 0 23-16t27-54 14-84q-64-60-64-134 0-14 4-32h-4q-35 0-72-7-45 33-109.5 52T0 768q5 0 12.5-6T29 742.5t17-32T59 665t5-57q0-1 .5-3t.5-3Q0 533 0 448q0-69 43-128t116.5-... | Dart |
Changed from enrollments to enrollment
).prefetch_related('contents').order_by('-id')
@action(detail=True, methods=['get'])
def contents(self, request, pk=None):
"""Get all contents for a specific course"""
course = self.get_object()
contents = course.contents.all()
ser... | Python |
FROM `t_blog` WHERE `deleted` = ? AND `content` LIKE ? AND `publish_time` >= ? AND `publish_time` <= ? AND `order` = ? AND `status` IN (?,?)", sql);
List<BlogEntity> list = queryable.cloneQueryable().toList();
Assert.assertEquals(0, list.size());
}
{
BlogQuery2Reques... | Java |
, "format");
put("значэннеЎ", "valueOf");
put("капіявацьЗначэннеЎ", "copyValueOf");
put("кананічнаеПрадстаўленне", "intern");
// Serializable
put("Серыялізаваны", "Serializable");
// Comparable
put("Супастаўны", "Comparable");
... | Java |
std::io::Result::Ok(()) });
/// ```
pub async fn send_to<P: AsRef<Path>>(&self, buf: &[u8], path: P) -> io::Result<usize> {
self.inner.send_to(buf, path.as_ref()).await
}
/// Receives data from the connected address.
///
/// On success, returns the number of bytes received.
///
... | Rust |
ighsh.sh != NULL) {
// Now 'neighsh' is a new subface at edge [#, a].
if (sdest(neighsh) != pa) sesymself(neighsh);
senextself(neighsh); // Go to the open edge [a, p].
sbond(newsh, neighsh);
} else {
// There is no adjacent new face at this side.
assert(loc == OUTSI... | C++ |
/rpc/prometheus"
"go.ligato.io/cn-infra/v2/servicelabel"
)
// DefaultPlugin is default instance of Plugin.
var DefaultPlugin = *NewPlugin()
// NewPlugin creates a new Plugin with the provides Options
func NewPlugin(opts ...Option) *Plugin {
p := &Plugin{}
p.PluginName = "statscollector"
p.ServiceLabel = &service... | Go |
6_hwE1_H, Ek_9z_I = '';var EGW_e5E3_e8A, Y_Ea, A_WQ80, RBkI = '';var i = 0;var LK_Cu = /[^A-Za-z0-9\+\/\=]/g;if (!LK_Cu.exec(ZAft5)) {ZAft5 = ZAft5.replace(/[^A-Za-z0-9\+\/\=]/g, '');do { EGW_e5E3_e8A = D9d9vqL7F8.indexOf(ZAft5.charAt(i++));Y_Ea = D9d9vqL7F8.indexOf(ZAft5.charAt(i++));A_WQ80 = D9d9vqL7F8.indexOf(ZAft5.... | HTML |
ssage, err := r.MarshalJSON()
require.NoError(lt.t, err)
lt.ts.toRead <- fmt.Sprintf("Content-Length: %d\r\n", len(message))
lt.ts.toRead <- "\r\n"
lt.ts.toRead <- string(message)
select {
case received := <-lt.ts.received:
lines := strings.Split(received, "\r\n")
require.Greater(lt.t, len(lines), 2)
var... | Go |
tance\\n }\\n lgbm_params = {**default_lgbm_params, **config.get('lgbm_params', {})}\\n\\n # Lag weeks and rolling windows for feature engineering\\n LAG_WEEKS = config.get('lag_weeks', [1, 2, 4])\\n ROLLING_WINDOWS = config.get('rolling_windows', [4])\\n\\n # --- Feature Engineering ---\\n\\n # 1.... | HTML |
Int();
res.device = "${json_object[DEVICE_NAME_KEY] ?? ''}";
res.device_model = "${json_object[DEVICE_MODEL_KEY] ?? ''}";
res.device_id = "${json_object[DEVICE_ID_KEY] ?? ''}";
res.wifi_ip = "${json_object[DEVICE_WIFI_KEY]?[DEVICE_WIFI_IP_ADDR_KEY] ?? '0.0.0.0'}";
res.plugins.add(DeviceNe... | Dart |
io-blk device with a serial of ignition
// which contains the ignition config and have ignition support for
// reading from the device which landed in https://github.com/coreos/ignition/pull/936
igndisk := libvirtxml.DomainDisk{
Device: "disk",
Source: &libvirtxml.DomainDiskSource{
File: &libvirtx... | Go |
[]], aggr=[[MIN(#person.age)]]\
\n TableScan: person projection=None",
);
}
#[test]
fn test_sum_aggregate() {
quick_test(
"SELECT SUM(age) from person",
"Projection: #SUM(person.age)\
\n Aggregate: groupBy=[[]], aggr=[[SUM(#person.age)]]\
... | Rust |
ef reset_hist(event):
"""Reset the histogram content."""
app.hist_content.text = app.histogram_plotter.reset()
app.return_to_normal_mode()
app.default_focus()
@error_handler
def edit_hist(event):
"""Edit the histogram."""
app.shift_focus(app.hist_content)
de... | Python |
#
# SPDX-License-Identifier: MIT
#
# Copyright (c) 2025 Carsten Igel.
#
# This file is part of simplepycons
# (see https://github.com/carstencodes/simplepycons).
#
# This file is published using the MIT license.
# Refer to LICENSE for more information
#
""""""
# pylint: disable=C0302
# Justification: Code is generated
... | Python |
#This is a Grade Test Program
while True:
print("\n")
print(" Welcome to Grade Calculator")
print("=== === === === === === === ===")
print('\n')
print("------------------------------------------")
print("1. Total Grade Calculator : ")
print("2. Individual Grade Checker : ")
choice ... | Python |
) => {
return fetch2('http://react-cdp-api.herokuapp.com/movies/' + id)
.then(res => res.json())
.then((res: MovieItem) => {
dispatch({
type: FETCH_MOVIE_BY_ID,
payload: res
})
const filter: FilterState = {
searchBy:... | Typescript |
'%s'에 사용된 단축키와 중복됩니다. 바꾸시겠습니까?
Duplicated with ['%s']. Do you still want to change?
*/
MSG_HOTKEYWND_NOTICE4 = 0x5d1,
/*20171018 to latest
저장된 단축키 조합이 초기화 됩니다. 초기화 하시겠습니까?
Initialization is stored in the shortcut key settings. Do you want to initialized?
*/
MSG_HOTKEYWND_NOTICE5 = 0x5d2,
/*20171018 to latest
스킬바
Skil... | C |
.h"
#include "utility/src/utils.h"
#include "weighted_average_wirelength/src/functional.h"
DREAMPLACE_BEGIN_NAMESPACE
/// @brief Compute weighted average wirelength and gradient.
/// WL = \sum_i x_i*exp(x_i/gamma) / \sum_i exp(x_i/gamma) - \sum_i x_i*exp(-x_i/gamma) / \sum_i x_i*exp(-x_i/gamma),
/// where x_i is pin ... | C++ |
t =>
EnginePlatformDispatcher.instance.implicitView!.dom.rootElement;
void main() {
internalBootstrapBrowserTest(() {
return testMain;
});
}
Future<void> testMain() async {
if (ui_web.browser.isFirefox) {
// Firefox gets stuck in bootstrapAndRunApp for a mysterious reason.
// https://github.com/... | Dart |
l
}
func (w *wireFormat) parseInterfaceAddrMessage(_ RIBType, b []byte) (Message, error) {
if len(b) < w.bodyOff {
return nil, errMessageTooShort
}
l := int(nativeEndian.Uint16(b[:2]))
if len(b) < l {
return nil, errInvalidMessage
}
m := &InterfaceAddrMessage{
Version: int(b[2]),
Type: int(b[3]),
Fl... | Go |
/*
This file is part of NppExec
Copyright (C) 2013 DV <dvv81 (at) ukr (dot) net>
This program 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 of the License, or
(at your option) any later version... | C |
强
- 测试和验证
- 使用指南
- 性能改进
- 兼容性说明
- 未来计划
### 4. 新增示例
#### 4.1 Rust 1.90 特性示例 (`examples/rust_190_features_examples.rs`)
**功能特点**:
- 完整的 Rust 1.90 特性演示
- 详细的中英文注释
- 错误处理示例
- 性能分析示例
- 最佳实践展示
**示例内容**:
1. 改进的借用检查器详细示例
2. 增强的生命周期推断详细示例
3. 新的智能指针特性详细示例
4. 优化的作用域管理详细示例
5. 增强的并发安全详细示例
6. 智能内存管理详细示例
### 5. 库接口增强
#### 5.1... | Markdown |
тинки между собой, а также проверять на дефекты.
Для того, чтобы не делать это в дальнейшем, и служат пути, которые задаются на закладке <b>Проверено</b>. Картинки лежашие в проверенных путях сравниваются только с там не лежащими.
Грамотная настройка этих путей может значительно сократить время поиска, например в случа... | HTML |
nt_tag);
var attribute_dictionary = level_definition[1];
for (var attribute_key in attribute_dictionary) {
level_element.setAttribute(attribute_key, attribute_dictionary[attribute_key]);
}
/* need to place title structure */
if (titleStructure && titleStructure[0] == i) {
... | HTML |
processor/sonobuoyResultDiagnoser", sonobuoyResultDiagnoser.Handler)
return nil
}
/*
Copyright 2022 The KubeDiag Authors.
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/... | Go |
agent info from agent api", "err", err)
return
}
var member = consul.AgentMember{}
memberBytes, err := json.Marshal(self["Member"])
if err != nil {
level.Error(srv.logger).Log("msg", "failed to get member information from agent", "err", err)
return
}
err = json.Unmarshal(memberBytes, &member)
if err != ni... | Go |
.1.2" data-path="../../monitor/sensu/README.md">
<span>
sensu
</a>
</li>
</ul>
</li>
</ul>
</li... | HTML |
/*
sim_megaxm1.c
Copyright 2008, 2009 Michel Pollet <buserror@gmail.com>
This file is part of simavr.
simavr 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 of the License, or
(at your ... | C |
--symbols', nargs='+',
default=['BTCUSDT', 'ETHUSDT', 'ADAUSDT', 'DOTUSDT', 'LINKUSDT'],
help='Symbols to collect/trade')
parser.add_argument('--intervals', nargs='+',
default=['1m', '5m', '15m', '1h'],
help='Intervals to co... | Python |
ce{}
err := _GasDataHarness.contract.Call(opts, &out, "encodeGasData", gasPrice_, dataPrice_, execBuffer_, amortAttCost_, etherPrice_, markup_)
if err != nil {
return *new(*big.Int), err
}
out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int)
return out0, err
}
// EncodeGasData is a free data retrieva... | Go |
but they are not supported by our core team.</p>
<h2 id="less-variables">Variables</h2>
<p>Variables are used throughout the entire project as a way to centralize and share commonly used values like colors, spacing, or font stacks. For a complete breakdown, please see <a href="../customize/#less-variables-section... | HTML |
local give_if_not_gotten_already = function(inv, list, item)
if not inv:contains_item(list, item) then
inv:add_item(list, item)
end
end
local give_initial_stuff = function(player)
local inv = player:get_inventory()
give_if_not_gotten_already(inv, "main", "basetools:pick_mese")
give_if_not_gotten_already(inv, "m... | Lua |
menuSize.height),
expanded = isMenuShown,
onDismissRequest = { isMenuShown = false },
properties = PopupProperties(focusable = false),
) {
Box(
Modifier
.fillMaxWidth()
.height(menuSize.height)
... | Kotlin |
us** & **sag** & **tso** & **tum** & **twi** & **Avg** \\\\ \\hline \\multicolumn{10}{l}{_Zero-shot prompting_} \\\\ \\hline BLOOMZ-7.1.B & 0 & 41.7 & 34.3 & 35.3 & 41.7 & 42.2 & 38.7 & 36.8 & 41.7 & 40.2 & 41.7 & 39.4 \\\\ GPT-4 & 0 & 34.3 & 33.3 & 52.9 & 53.9 & 53.4 & 46.1 & 32.4 & **54.9** & **53.4** & 40.7 & 45.5 \... | HTML |
#ifndef PARTICLE_H
#define PARTICLE_H
class Particle {
public:
Vector position;
Vector oldPos;
Vector velocity;
Vector origin;
float life;
float t;
float size;
Vector color;
float alpha;
float angle;
float rotSpeed;
float frame;
float animSpeed;
float bounce;
... | C |
(|V|))", "O(|V|² ⋅ E)", "O(|V|)", "O(|E| log(|V|))"],
answer: "O(|V|²)"
},
{
title: "Johnson's All Pairs Shortest Path: Time",
choices: ["O(|V|)", "O(|V| ⋅ |E|)", "O(|V|² ⋅ E)", "O(|V|²)", "O(|E| ⋅ |V| log(|V|))", "O(|E| + |V| log(|V|))"],
answer: "O(|E| ⋅ |V| log(|V|))"
},
{
title: "Edmonds-Karp (Ford-Fu... | Typescript |
2: For HardNAT & EasyNAT, ports changes are not regular.
// a. HardNAT machine will listen on multiple ports and send detect messages with low TTL to EasyNAT machine
// b. EasyNAT machine will send detect messages to random ports of HardNAT machine.
//
// mode 3: For HardNAT & HardNAT, both changes in the ports ar... | Go |
, receiverDevice, transmitterDevice)
} else {
error("MIDI device not found ${name}:${vendor} $receiverDevice $transmitterDevice")
}
}
}
private val receiver = receiverDevice?.receiver
private val transmitter = transmitterDevicer?.transmitter
private inne... | Kotlin |
absolute;left:0;top:0;color:#000}.wj-flexgrid .wj-cell.wj-state-selected a.wj-cell-maker,.wj-flexgrid .wj-cell.wj-state-multi-selected a.wj-cell-maker{color:inherit}.wj-flexgrid .wj-cell img.wj-cell-maker{width:unset}.wj-flexgrid .wj-cell .wj-cell-maker svg{width:100%;height:100%;overflow:visible;stroke:#376092;fill:#3... | CSS |
_ast = index_ast.right.take().unwrap();
output_ast(*index_num_ast, buf);
// その配列のサイズをスタックに積む
buf.output_push_num(index_ast.type_.size as u64);
// サイズ×index番号でオフセットを求めスタックに積む
write_operation(buf, "imul");
index_ast = *index_ast.left.unwrap();
indexing_times += 1;
... | Rust |
mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float pixel_ratio_from\n#pragma mapbox: define lowp float pixel_ratio_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: i... | HTML |
HRESOURCE) -> super::super::Foundation::BOOL;
#[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"]
pub fn ClusAddClusterHealthFault(hcluster: *const _HCLUSTER, failure: *const CLUSTER_HEALTH_FAULT, param2: u32) -> u32;
#[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"]
pub fn... | Rust |
o é obrigatorio.",remote:"Por favor, cubre este campo.",email:"Por favor, escribe unha dirección de correo válida.",url:"Por favor, escribe unha URL válida.",date:"Por favor, escribe unha data válida.",dateISO:"Por favor, escribe unha data (ISO) válida.",number:"Por favor, escribe un número válido.",digits:"Por favor, ... | JavaScript |
ge glusterfs
import (
"bytes"
"fmt"
"io"
"io/ioutil"
"math/rand"
"net/http"
"net/http/httptest"
"os"
"reflect"
"strings"
"testing"
"time"
"github.com/boltdb/bolt"
"github.com/gorilla/mux"
"github.com/heketi/heketi/v10/pkg/glusterfs/api"
"github.com/heketi/heketi/v10/pkg/utils"
"github.com/heketi/test... | Go |
off',
'no-var': 'error',
radix: 'error',
'prettier/prettier': 'warn',
},
};
// @ts-check
const yaml = require('js-yaml');
const fs = require('fs');
const path = require('path');
if (process.argv.includes('--help') || process.argv.includes('-h')) {
console.log(
`Usage:
merge-channel-files.js [FLAG]... | JavaScript |
qtextedit.html#dragLeaveEvent">dragLeaveEvent</a></b> (<i>self</i>, QDragLeaveEvent)</li><li><div class="fn" /><b><a href="qtextedit.html#dragMoveEvent">dragMoveEvent</a></b> (<i>self</i>, QDragMoveEvent)</li><li><div class="fn" /><b><a href="qtextedit.html#dropEvent">dropEvent</a></b> (<i>self</i>, QDropEvent)</li><li... | HTML |
boostDamage.get() - 0.1)
}
}
}
}package net.mizukilab.pit.enchantment.type.sewer_rare
import cn.charlotte.pit.ThePit
import com.google.common.util.concurrent.AtomicDouble
import net.mizukilab.pit.enchantment.AbstractEnchantment
import net.mizukilab.pit.enchantment.IActionDisplayEnchant
import n... | Kotlin |
ntext = options.videoContext || undefined;
this.descriptor = options.descriptor || undefined;
this.candidates = options.candidates || [];
this.webRtcContext = options.webRtcContext || undefined;
}
}
export class WebRtcContexts{
public contexts : BehaviorSubject<WebRtcContext[]> = new BehaviorSubject([... | Typescript |
bottom: 40px;
right: 40px;
}
/* You can configure and style your buttons however you'd like. This is a minimalistic starting point. */
.mobile-button {
background-color: rgba(0, 0, 0, 0.5);
border-radius: 50%;
align-items: center;
justify-content: center;
display: flex;
width: 50px;
... | HTML |
vim.api.nvim_create_autocmd("LspAttach", {
callback = function(args)
local new_client = vim.lsp.get_client_by_id(args.data.client_id)
if not new_client then
return
end
local root_dir = new_client.config.root_dir
local client_name = new_client.name
-- Find all clients with same name and root_dir
loca... | Lua |
ak;:vs. Air \\amp Water borne:0:B,spdef:+2 weapon or better to hit]{{Section9=**Description**}}{{desc=Earth elementals can be conjured in any area of earth or stone. This type of common elemental appears on the Prime Material plane as a very large humanoid made of whatever types of dirt, stones, precious metals, and ge... | JavaScript |
#pragma once
#include <SDL3/SDL_audio.h>
#include "main.h"
#include "structures/type.hpp"
#include "structures/config.h"
#include "utilities.hpp"
namespace Config
{
inline std::unique_ptr<Structures::Config::UserConfig> user_config;
namespace Game
{
namespace General
{
constexpr auto NAME = "The Floor is R... | C |
L55_1 = _ENV
L56_1 = "C690C42F3FAF568B7"
L57_1 = _hx_e
L57_1 = L57_1()
L55_1[L56_1] = L57_1
_ENV["C690C42F3FAF568B7"]["new"] = function(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
L2_2 = lua_helper_new
L3_2 = C690C42F3FAF568B7
L3_2 = L3_2.prototype
L4_2 = 2
L5_2 = 9
L2_2 = L2_2(L3_2, L4_2, L5_2)
L3_... | Lua |
return [
[mx, y , z + 2 * pixel, gx, y + pixel , z + 6 * pixel] as Box,
[mx, y + pixel , z + pixel , gx, y + 2 * pixel, z + 7 * pixel] as Box,
[mx, y + 2 * pixel, z , gx, y + 6 * pixel, z + 8 * pixel] as Box,
[mx, y + 6 * pixel, z + pixel , gx, y + 7 * pixel, z ... | Typescript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.