content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
(target, res); err != nil {
return nil, err
}
return ret, nil
}
type ModelsCountTextTokensCall struct {
s *Service
model string
counttexttokensrequest *CountTextTokensRequest
urlParams_ gensupport.URLParams
ctx_ context.Context
header_ ... | Go |
Ports()
}
go func() {
for {
ctx := context.Background()
if err := forward(); err != nil {
slog.ErrorContext(ctx, "error forwarding ports", "error", err)
slog.InfoContext(ctx, "retrying port forward in 1s...")
}
select {
case <-stopCh:
return
case <-time.After(1 * time.Second):
//... | Go |
h+i\n\\end{eqnarray*}'
},
{
name: 'Arrays 10',
code: '\\begin{eqnarray*}\n x&=&\\sin \\alpha = \\cos \\beta\\\\\n &=&\\cos(\\pi-\\alpha) = \\sin(\\pi-\\beta)\n\\end{eqnarray*}' // tslint:disable-line
},
{
name: 'Arrays 11',
code: '{\... | Typescript |
+ 7px + var(--tooltip-tail, 0px));
--tooltip-color: black;
--tooltip-text-color: white;
/* https://unused-css.com/blog/css-outer-glow/ */
}
.tooltip-bottom:before {
padding: 0.4rem 0.7rem;
box-shadow: 0px 0px 0px 1px #28282a;
z-index: 8;
pointer-events: none;
}
.tooltip-bottom:after {
content: url("d... | CSS |
ical-align:middle;line-height:15px;overflow:hidden;top:-1px;right:-2px;-webkit-transform-origin:100% 50%;transform-origin:100% 50%}.el-tabs--card>.el-tabs__header .el-tabs__item{border-bottom:1px solid transparent;border-left:1px solid #E4E7ED;-webkit-transition:color .3s cubic-bezier(.645,.045,.355,1),padding .3s cubi... | CSS |
</span><span id="ICRMassPeak.resolving_power_calc-434"><a href="#ICRMassPeak.resolving_power_calc-434"><span class="linenos">434</span></a><span class="sd"> apodization_method: str, optional</span>
</span><span id="ICRMassPeak.resolving_power_calc-435"><a href="#ICRMassPeak.resolving_power_calc-435"><span class... | HTML |
Test Failed.");
this.Result = false;
}
else
{
Helpers.Log("WrapPanel Max Height/Width Test Passed.");
this.Result = true;
}
}
}
[Test(0, "Panels.WrapPanel", "WrapPanelMinHeightWidth", Variables="Area=Element... | C# |
// Print QR Code using native function
// bytes += ticket.qrcode('example.com');
ticket.feed(2);
ticket.cut();
return bytes;
}
Future<List<int>> testTicket(
PaperSize paper, CapabilityProfile profile) async {
final Generator generator = Generator(paper, profile);
List<int> byte... | Dart |
div class="rounded-circle weather">
<div id="he-plugin-simple" style="display: contents;"></div>
<script>WIDGET = {
CONFIG: {
"modules": "01234",
"b... | HTML |
end
-- entry type is file, "optional file processing, only trandform
-- entries if an option is present which requires a transform
if opts._type == "file"
and (opts.git_icons
or opts.file_icons
or opts.file_ignore_patterns
or opts.strip_cwd_prefix
or opts.render_crlf
... | Lua |
elf.quadnum = 2
else
self.quadnum = 1
end
self.quad = plantquads[spriteset][self.quadnum]
end
self.timer2 = self.timer2 + dt
if self.timer2 < plantouttime then
self.y = self.y - plantmovespeed*dt
if self.y < self.starty - plantmovedist then
self.y = self.starty - plantmovedist
end
elseif self.ti... | Lua |
this.draw.lineTo(pointDest.x,pointDest.y);
index ++;
}
this.draw.strokeColor = this.draw.strokeColor.setA(alpha);
this.draw.stroke();
}
}
DrawSahpe(alpha: number){
for (let i = 0; i < 7; i++) {
let shapeString = thi... | Typescript |
: Boolean? = o as Boolean?
}
fun testCastToArray() {
val foo: Array<Any?>? = null as Array<Any?>?
val bar: Array<Array<Any?>?>? = null as Array<Array<Any?>?>?
}
private fun functionForInstanceofTest() {}
fun testCastVarialeAfterInstanceOf() {
var o: Any? = Any()
if (o is Casts) {
val ... | Kotlin |
shí","temporary; transient"
"贊成","zànchéng","agree with; approve of; favor"
"遭到","zāodào","suffer; encounter; meet with"
"遭受","zāoshòu","suffer; be subjected to"
"糟糕","zāogāo","terrible; bad"
"造","zào","make; build; create; invent"
"造句","zào jù","make a sentence"
"責任","zérèn","duty; responsibility"
"則","zé","then; in t... | HTML |
�VPN机场 | 9月28日19.2M/S|免费Shadowrocket节点/V2ray节点/Clash节点/Singbox节点/SSR节点订阅节点地址分享</a></li>
<li class="py-2"><a href="/free-nodes/2025-9-23-free-v2ray.htm" title="V2ray免费VPN机场 | 9月23日22M/S|免费V2ray节点/SSR/Clash节点/Shadowrocket订阅节点地址分享">V2ray免费VPN机场 | 9月23日22M/S|免费V2ray节点/SSR/Clash节点/Shadowrocket订阅节点地址分... | HTML |
O3MeTnG0rXqR1sumITCCWASx2KL6XEd0ECYBvoNJiUYcSDFGl4GGiWztu+r8asROucGJpy9KmbvSgYqThnTxnRmozRlgzVlfJBw+9C2FFI0neS1rcBh97zUfabAko2pSB1lY1HIMtGk9F7SV/r/cSxrYf18+GBi4OTq6qoAygpYA0zCFkNMg3lCA3FooNdg4qdvrAErWNiIQUBkYwUEtM5UZpXRkhw+tJ+lkTgQ4fftn+cbdiuhZ2U8CjDG7Jw+Sq+9z0rA5n22HO968ww1Wco1n0MfTG5ubuT09BQweSeOBRVj4zqggc010GMwyaICm... | HTML |
"QQLEyRFcXVpZmF4IFNlY3VyZSBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkxDTALBgNVBAMTBENSTDEwGgYDV" +
"R0QBBMwEYEPMjAxODA4MjIxNjQxNTFaMAsGA1UdDwQEAwIBBjAfBgNVHSMEGDAWgBRI5mj5K9KylddH2" +
"CMgEE8zmJCf1DAdBgNVHQ4EFgQUSOZo+SvSspXXR9gjIBBPM5iQn9QwDAYDVR0TBAUwAwEB/zAaBgkqh" +
"kiG9n0HQQAEDTALGwVWMy4wYwMCBsAwDQYJKoZIhvcNAQEFBQADgYEAWM4... | Go |
/*
*
* Copyright 2011 Samsung Electronics S.LSI Co. LTD
*
* 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 ap... | Assembly |
do Fomentador de Guerra",
[9957] = "Peito d'Armas do Fomentador de Guerra",
[9958] = "Broquel do Fomentador de Guerra",
[9959] = "Manto do Fomentador de Guerra",
[9960] = "Manoplas do Fomentador de Guerra",
[9961] = "Cinto do Fomentador de Guerra",
[9962] = "Grevas do Fomentador de Guerra",
[9963] = "Diadema do Fomenta... | Lua |
th;
}
if (height > 0 && annotation.dy > 0 || height < 0 && annotation.dy < 0) {
if (Math.abs(height) > Math.abs(annotation.dy)) y1 = height / 2;else y1 = height;
}
if (x1 === width / 2 && y1 === height / 2) {
x1 = x2;y1 = y2;
}
}
var data = [[x1, y1], [x2, y2]];
var diffY = y2 - ... | JavaScript |
PCODE::PseudoVMCLR_M_B1)
.value("PseudoVMCLR_M_B16", LIEF::assembly::riscv::OPCODE::PseudoVMCLR_M_B16)
.value("PseudoVMCLR_M_B2", LIEF::assembly::riscv::OPCODE::PseudoVMCLR_M_B2)
.value("PseudoVMCLR_M_B32", LIEF::assembly::riscv::OPCODE::PseudoVMCLR_M_B32)
.value("PseudoVMCLR_M_B4", LIEF::assembly::riscv::OPCOD... | C++ |
节码`, `CFG`生成嵌入输入给深度学习模型. 通过计算距离来评估相似度
- [x] DEEPBINDIFF: Learning Program-Wide Code Representations for Binary Diffing Yue
* Bindiff: 在call graph和cfg上进行图的同构检测, 并通过`函数名/图边MD索引`来匹配函数和基本块.
* DeepBindiff: 提取ICFG(过程间CFG). 还通过每个基本块生成特征向量, 也就是生成token嵌入和生成特征向量. token是取的操作码和操作数.
- [x] Similarity Metric Method for Binary Ba... | Markdown |
# Assuming you have a list of tuples representing operations
data_source = [
('ADD', 'item1'),
('REM', 'item2'),
('MOD', 'item3'),
('GET', 'item4'),
('SET', 'item5')
]
# Filter out ADD, REM, and MOD tuples
filtered_data = [tuple for tuple in data_source if tuple[0] not in ['ADD', 'REM', 'MOD']]
pr... | Python |
will set `A1=1,B1=2,A2=3,B2=4`. With
/// `range=A1:B2,majorDimension=COLUMNS` then `[[1,2],[3,4]]` will set
/// `A1=1,B1=3,A2=2,B2=4`. When writing, if this field is not set, it defaults
/// to ROWS.
/// Possible string values are:
/// - "DIMENSION_UNSPECIFIED" : The default value, do not use.
/// - "ROWS"... | Dart |
</form>
<div class="mt-6 text-center">
<p class="text-sm text-gray-500">
You will be redirected to the home page after signing out.
</p>
</div>
</div>
{% endblock %}
{% extends 'base.html' %}
{% block head_title %}{{ instance.username }} - {{ block.super }}{% endblock head_title %}
{% block con... | HTML |
CGBC_WDT_MAX_TIMEOUT;
wdd->min_timeout = CGBC_WDT_MIN_TIMEOUT;
watchdog_set_drvdata(wdd, wdt_data);
watchdog_set_nowayout(wdd, nowayout);
wdd->timeout = CGBC_WDT_DEFAULT_TIMEOUT;
watchdog_init_timeout(wdd, timeout, dev);
cgbc_wdt_set_pretimeout(wdd, pretimeout);
platform_set_drvdata(pdev, wdt_data);
watchdog... | C |
")
row = self.rows[var]
self.rows[var] = nil
row:solve_for(info.marker, var)
substitute_out(self, info.marker, row)
end
cons.solver = nil
optimize(self)
update_external_variables(self)
return cons
end
function SimplexSolver:addedit(var, strength)
if self.edits[var] then return... | Lua |
网络版 2003 年 12 月号总第 21 期)
</p>
<h3>
抓革命,促生产
</h3>
<p>
文革中处理革命与生产关系的经典口号。源于 1965 年初。经毛泽东肯定就成了最高指示。表面看,它提出两个平行的重点、是二元论,但在当时的意识形态语境里,革命、政治的第一性是谁也无法质疑的——强调革命是动力,生产是伴生物。实际上,对两者之间逻辑关系的定义,在不同阶段、不同主张者那里有不同解读和相应的一套政策主张。
</p>
<p>
1966 年前,在原有政治经济秩序正常运转情况下,它强调革命是原动力, 生产不能忘了革命、阶级斗争,接近进攻性的意识形态主张。它要解决的问题是, 让主抓业务的人... | HTML |
是第一个
// 文字的大小就已经超过可用最大空间限制
// 那么丢弃系列文字
if (!s.isIntegrity() && lineMaxAvailableWidth < s.glyphList().get(0).getW()) {
continue;
}
// 尝试向行中加入元素
boolean added = line.tryAdd(s);
if (added) {
// 如果加入的Span是一个... | Java |
# Copyright 2023 Google LLC
#
# 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 applicable law or agreed to in writing, s... | Python |
"""
Sistema CNPJ - Pipeline com Download e Processamento Paralelos
"""
import os
import sys
import argparse
from datetime import datetime
from typing import List
# Adiciona o diretório raiz ao path
sys.path.append(os.path.dirname(os.path.abspath(__file__)))
from services.pipeline_processor import PipelineProcessor
fr... | Python |
, 100, 800, 600);
// Berge
ski.beginPath();
ski.moveTo(20, 250);
ski.lineTo(150, 10);
ski.lineTo(260, 250);
ski.closePath();
ski.strokeStyle = "grey";
ski.stroke();
ski.fillStyle = "grey";
ski.fill();
ski.beginPath();
ski... | Typescript |
fileLockingCopy: error in open()\n");
return ERROR_VALUE;
}
destFd = open (destFile, O_WRONLY | O_CREAT | O_EXCL, 0700);
if(destFd < 0){
error_print("fileLockingCopy: error in open()\n");
close(sourceFd);
return ERROR_VALUE;
}
while((nread = read(sourceFd, buffer, DIM_TEMP_COPY_BUFFER)) > 0){
... | C |
nFv
.global exeLoop__20TombSpiderStateSwoonFv
.global exeEnd__20TombSpiderStateSwoonFv
.global __dt__20TombSpiderStateSwoonFv
.global __sinit_?3TombSpiderStateSwoon_cpp
.global __ct__Q223NrvTombSpiderStateSwoon28TombSpiderStateSwoonNrvStartFv
.global __ct__Q223NrvTombSpiderStateSwoon27TombSpiderStateSwoonNrvLoopFv
.glo... | Assembly |
�情绪的,事实果然如此,第一个高潮过去了。
</p>
<p>
西语系控诉会让天真的同学们看到了社会的黑暗面,激起群众对三害的愤恨。大家正要动起来的时候,在群众情绪日益高涨的群众运动高潮中沉默了整整六天的党委书记江副校长,便冒冒失失地跑来反对控诉会,声称西语系的同学不应把校外事拿到校内来讲,是在控诉党,在反对社会主义。第二天一早五点半便又把所有党员叫去,统一思想……
</p>
<p>
天啊,这是幹嘛啊!看看江校长发言的效果吧。我听到一位向党控诉的同学声称他做好了一切准备!多惨痛的事实啊!应该说,这比手铐脚镣更可怕。
</p>
<p>
江校长的发言是在压制群众,而且由于做了级级准备,群众没有能起... | HTML |
pg"},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{}],"url":"https://cloudfront-us-east-1.images.arcpublishing.com/infobae/I7SYFGJWZBAXVJSZELTHUKMHPI.jpg"}},"website_url":"/america/mundo/2023/10/30/israel-advirtio-q... | HTML |
/*
*
* Copyright 2021-2025 Software Radio Systems Limited
*
* This file is part of srsRAN.
*
* srsRAN is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of
* the License, or (at y... | C |
ACCEL_X, controlChannelType.CSOUND_CONTROL_CHANNEL);
channelPtrY = csoundObj.getInputChannelPtr(CS_ACCEL_Y, controlChannelType.CSOUND_CONTROL_CHANNEL);
channelPtrZ = csoundObj.getInputChannelPtr(CS_ACCEL_Z, controlChannelType.CSOUND_CONTROL_CHANNEL);
} else {
Log.d("CachedAccelerometer", "Unable to ge... | Java |
ON_EVENT_QUEUE || !Simulator.Connected)
{
_queueCts.Cancel();
}
}
}
}
break;
... | C# |
p,ecx,1
copy_round_keys esp,ecx,2
copy_round_keys esp,ecx,3
copy_round_keys esp,ecx,4
copy_round_keys esp,ecx,5
copy_round_keys esp,ecx,6
copy_round_keys esp,ecx,7
copy_round_keys esp,ecx,8
copy_round_keys esp,ecx,9
copy_round_keys esp,ecx,10
copy_round_keys esp,ecx,11
copy_round_keys esp,ecx,12
mov ecx,esp... | Assembly |
"travel",
"travelers",
"travelersinsurance",
"trust",
"trv",
"tube",
"tui",
"tunes",
"tushu",
"tvs",
"ubank",
"ubs",
"unicom",
"university",
"uno",
"uol",
"ups",
"vacations",
"vana",
"vanguard",
"vegas",
"ventures",
"verisign",
"versicherung",
"vet",
"viajes",
"video",
"vig",
"viking",
"vil... | Go |
ss EmptyEnum
internal enum class EnumWithCtor constructor(val i: Int, val b: Boolean, val string: String) {
FOO,
BAR(1, false, "bar"),
BAZ(2, "baz");
val stringConstant = "stringConstant"
constructor() : this(0, true, "default") {}
constructor(i: Int, string: String) : this(i, false, string) {}
}
inter... | Kotlin |
sMap[s[i]] = t[i]
tMap[t[i]] = s[i]
}
return true
}
}package com.daily.algothrim.leetcode.top150
import java.util.Stack
/**
* 20. 有效的括号
*/
/*
给定一个只包括 '(',')','{','}','[',']' 的字符串 s ,判断字符串是否有效。
有效字符串需满足:
左括号必须用相同类型的右括号闭合。
左括号必须以正确的顺序闭合。
每个右括号都有一个对应的相同类型的左括号。
示例 1:
输... | Kotlin |
;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
... | HTML |
Z_Construct_UClass_AActor_NoRegister, METADATA_PARAMS(0, nullptr) };
const UECodeGen_Private::FIntPropertyParams Z_Construct_UFunction_UHTokenSystemComponent_DecraeseMaxTokenCountToGivenActor_Statics::NewProp_TokenCount = { "TokenCount", nullptr, (EPropertyFlags)0x0010000000000080, UECodeGen_Private::EPropertyGenFlags:... | C++ |
DISP_MODE_SEQ && displayState != DISP_MODE_SONG)
displayState = editingSequence ? DISP_MODE_SEQ : DISP_MODE_SONG;
else
displayState = DISP_NORMAL;
}
else
attachedWarning = (long) (warningTime * sampleRate / RefreshCounter::displayRefreshStepSkips);
}
// Clk res/delay button
i... | C++ |
*)
// GDALSetMetadata (GDALMajorObjectH, char **, const char *)
// GDALGetMetadataItem (GDALMajorObjectH, const char *, const char *)
// GDALSetMetadataItem (GDALMajorObjectH, const char *, const char *, const char *)
GDALGetDescription(hDS);
//GDALSetDescription
GDALGetDatasetDriver(hDS);
... | C++ |
Vec2
): boolean {
let b1: boolean = Math2D.sign(v0, v1, pt) < 0.0;
let b2: boolean = Math2D.sign(v1, v2, pt) < 0.0;
let b3: boolean = Math2D.sign(v2, v0, pt) < 0.0;
return b1 === b2 && b2 === b3;
}
/**
* 检测凸多边形
* @param pt
* @param points points[0]为多边形中的一点
... | Typescript |
["𤼗"] = "疒鹿足",
["𤼘"] = "疒亡口丶",
["𤼙"] = "疒言糹糹",
["𤼚"] = "疒⺿田虫",
["𤼛"] = "疒厶⺼食",
["𤼜"] = "疒白丿虫",
["𤼝"] = "疒丿辰",
["𤼞"] = "疒臼丨口",
["𤼟"] = "疒貝貝貝",
["𤼠"] = "疒彑虫",
["𤼡"] = "疒亻隹鳥",
["𤼢"] = "疒艹口欠",
["𤼣"] = "疒言糹心",
["𤼤"] = "疒罒大大",
["𤼥"] = "癶⺋",
["𤼦"] =... | Lua |
] = {"Roboschreiter 54-A",nil},
[34163] = {"Höllschreis Höllenhund",nil},
[34164] = {"Schlachtpanzer der Mechagnome",nil},
[34167] = {"Eiche des Eschentals",nil},
[34168] = {"Hannes Aschebäscha","Fahrzeugtestausrüstung für Ulduar 10er"},
[34172] = {"Hauptmann Hermann Aschebäscha","Der flammende Falke"},
[34173] = {"Gro... | Lua |
>
<li>Custom threads that you manually spawn in your operators (a discouraged practice).</li>
<li>Old-style sources that implement the deprecated <code>SourceFunction</code> interface. Such sources will report <code>NaN</code>/<code>N/A</code>
as the value for busyTimeMsPerSecond. For more information on the topic of D... | HTML |
tags::FieldLabelTag,
tags::Bits32<V>: Bits32TypeTag,
{
pub fn ser_field<FieldType, W>(
field: FieldType,
number: i32,
out: &mut W,
_: bool,
) -> Result<()>
where
FieldType: IntoIterator<Item = <tags::Bits32<V> as tags::NumericalTypeTag>::NativeType>,
W: Wr... | Rust |
//
// Copyright 2004-present Facebook. All Rights Reserved.
//
// 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 ap... | C |
= Username.X + Username.Width + 10,
Size = new ScalableVector2(14, 14),
Image = UserInterface.HostCrown,
UsePreviousSpriteBatchOptions = true
};
}
/// <summary>
/// </summary>
private void CreateMissingSongIcon()
{
... | C# |
[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"]
pub const D3D11_MESSAGE_ID_CREATEVIDEODECODEROUTPUTVIEW_INVALIDMIP: D3D11_MESSAGE_ID = 3145912i32;
#[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"]
pub const D3D11_MESSAGE_ID_CREATEVIDEODECODEROUTPUTVIEW_UNSUPPORTEMIP: D3D11_MESSAGE_ID = 3145... | Rust |
DeleteOldRules = await question('检测到存在已有的 eslint 规则,是否保留Y/n?');
// if (choiceToDeleteOldRules === 'n') {
// delete newFileJSON.rules;
// }
// }
// const newFileContent = `module.exports = ${JSON.stringify(newFileJSON, null, 2)};\n`;
// fs.writeFileSync(eslintRcPa... | Typescript |
_INDENT();
FOR_ALL_SKILLS(item)
{
auto iter = level->thing_find(item.id);
if (iter && iter->is_activated) {
damage = iter->on_owner_rcv_dmg_poison(this, hitter, real_hitter, damage);
}
}
TRACE_NO_INDENT();
FOR_ALL_SPELLS(item)
{
auto iter = level->thing_find(item.id);
if (iter && ... | C++ |
ySettings(NULL,i,&dm[i])) break;
}
for (j=0; j<i; j++)
{
if (dm[j].dmBitsPerPel >= 16)
{
ok = TRUE;
for (k=1; k<=_EnumN; k++)
if ((dm[j].dmPelsWidth == _EnumWidth[k])&&(dm[j].dmPelsHeight == _EnumHeight[k])) //łɗς݂̉𑜓x
{
ok = FALSE;
break;
}
if (ok)
if (_EnumN < 255)
{
... | C++ |
8naUDb .item-44Y5HQ .pin-Bb2PHp.pinned-linhKq{color:#3872e0;transform:rotate(-45deg)}.prompt-menu-8naUDb .item-44Y5HQ .label-wrapper-TUH-5K{flex:1;cursor:pointer;user-select:none;min-width:0;gap:4px;display:flex;align-items:center}.prompt-menu-8naUDb .item-44Y5HQ .label-wrapper-TUH-5K .label-bK7ZSo{overflow:hidden;text... | HTML |
3333333
maskaa:
.long 0xaaaaaaaa,0xaaaaaaaa,0xaaaaaaaa,0xaaaaaaaa
mask55:
.long 0x55555555,0x55555555,0x55555555,0x55555555
maskcc:
.long 0xcccccccc,0xcccccccc,0xcccccccc,0xcccccccc
mask22:
.long 0x22222222,0x22222222,0x22222222,0x22222222
mask44:
.long 0x44444444,0x44444444,0x44444444,0x44444444
mask88:
.long 0x... | Assembly |
ErrorCode.mapKeyTypeNotAssignable, 48, 1)],
);
}
test_spread() async {
await assertErrorsWithStrictCasts(
'''
void f(Map<dynamic, int> a) {
<int, int>{...a};
}
''',
[error(CompileTimeErrorCode.mapKeyTypeNotAssignable, 46, 1)],
);
}
}
// Copyright (c) 2022, the Dart project authors. Plea... | Dart |
ROP_SETR1 \value
.word ROP_ADDR0_TO_R1 @ r0 = *srcaddr + value
ROP_SETR1 \dstaddr
.word ROP_STR_R0TOR1 @ Write the above r0 value to *dstaddr.
.endm
.macro ROPMACRO_LDDRR0_ADDR1_STRVALUE addr, addval, writeval
ROP_LOADR0_FROMADDR \addr
ROP_SE | Assembly |
, obj, typeArgs, args, named, displayName);
}
dsend(obj, method, args, [@undefined named]) =>
callMethod(obj, method, null, args, named, method);
dgsend(obj, typeArgs, method, args, [@undefined named]) =>
callMethod(obj, method, typeArgs, args, named, method);
dsendRepl(obj, method, args, [@undefined named])... | Dart |
ctrl
/* 80111E2C 0010ED6C C0 01 00 84 */ lfs f0, 0x84(r1)
/* 80111E30 0010ED70 C0 41 00 80 */ lfs f2, 0x80(r1)
/* 80111E34 0010ED74 EC 60 D8 28 */ fsubs f3, f0, f27
/* 80111E38 0010ED78 C0 21 00 88 */ lfs f1, 0x88(r1)
/* 80111E3C 0010ED7C EC 42 D0 28 */ fsubs f2, f2, f26
/* 80111E40 0010ED80 C0 02 96 80 */ lfs f... | Assembly |
T808LocationAttachImpl0x61();
jT808LocationAttachImpl0x61.AttachInfoId = reader.ReadByte();
jT808LocationAttachImpl0x61.AttachInfoLength = reader.ReadByte();
jT808LocationAttachImpl0x61.Age = reader.ReadInt32();
jT808LocationAttachImpl0x61.Gender = reader.ReadByte();
... | C# |
le-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<script src="http://www.davidcareyinc.com/00315-1/design/js/script.min.js" async="async"></script>
</body>
</html><!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lan... | HTML |
Android) androidUpdatekeepScreenOn();
}
}
void onClientRemove(Map<String, dynamic> evt) {
try {
final id = int.parse(evt['id'] as String);
final close = (evt['close'] as String) == 'true';
if (_clients.any((c) => c.id == id)) {
final index = _clients.indexWhere((client) => client.... | Dart |
or UnauthorizedAccessException
or IOException
or DirectoryNotFoundException
or PathTooLongException
)
{
return false;
}
return true;
}
public static async Task<T?> LoadFromFile<T>(string fileName)
{
fileName = Project... | C# |
/ 2 - 6),
style: TextStyle(color: Colors.white, fontSize: 14, fontWeight: FontWeight.w500),
textAlign: TextAlign.center,
width: styleConfig.seqHeight,
);
top += seqHeight;
}
}
void drawHorizontalSequence(Canvas canvas, Size size, int _start, int _end, double seqWidth... | Dart |
aw_coords| {
let coords = raw_coords
.split(",")
.map(|raw_coord| raw_coord.parse().expect("Couldn't parse integer"))
.collect::<Vec<u64>>();
(coords[0], coords[1])
})
.collect... | Rust |
ython 3.6 or higher
- No external dependencies required
### Quick Install
```bash
# Clone the repository
git clone https://github.com/yourusername/csv-to-json-converter.git
cd csv-to-json-converter
# Run immediately (no installation needed)
python main.py
```
### Optional: Install as Package
```bash
pip install -e .... | Markdown |
b998afee591d0bc3af86670e4b44595))
# 2.22.0 (2025-01-28)
### Bug Fixes
* collor schema ([f64a53a](https://github.com/SUI-Components/sui-components/commit/f64a53af17d2267cc8fbf609e801363498269050))
# 2.21.0 (2022-11-07)
### Bug Fixes
* **components/atom/textarea:** Fix issue with paddings in textarea ([396ba1... | Markdown |
import argparse
from typing import List, TextIO
indent_size = " "
class GenerateAst:
"""_summary_
GenerateAst class
"""
@classmethod
def main(cls, args: argparse.Namespace) -> None:
print(f"{args.output_dir=}")
cls.__define_ast(
args.output_dir,
"Expr",... | Python |
info.id === id);
}
/**
* Adds a CustomerInfo to the database.
* @param customerInfo The CustomerInfo model.
* @param type The type of the CustomerInfo.
*/
addCustomerInfo(customerInfo: CustomerInfoModel, type: CustomerInfoType): string {
const id = generateId();
customerInfoCollection.push({
... | Typescript |
{
throw new Exception(Utils.Common.FormatNameResolutionFailureMessage(client.Config, webException.Message), webException);
}
throw;
}
}
#endregion
internal partial class CmdletContext : ExecutorContext
{
... | C# |
this.parent() !== null) {
this.parent().makeModifiable()
}
this.setVisible(true)
this.setLocked(false)
}
makeVisibleAllChildren(visible: boolean) {
this.setVisible(visible)
for(const child of this.children()) {
child.makeVisibleAllChildren(visible)
}
}
isModifiable() {
... | Typescript |
0)
{
props.flReverbDelay = std::clamp(
props.flReverbDelay * scale,
EAXREVERB_MINREVERBDELAY,
EAXREVERB_MAXREVERBDELAY);
}
if ((props.ulFlags & EAXREVERBFLAGS_ECHOTIMESCALE) != 0)
{
props.flEchoTime = std::clamp(
... | C++ |
alt={video.title}
className="w-full h-full object-cover"
loading="lazy"
/>
<div className="absolute inset-0 bg-black bg-opacity-0 group-hover:bg-opacity-30 transition-opacity duration-300 flex items-center justify-center">
... | JavaScript |
white-space:pre;width:100vw !important;content:"☠ Si ce bouton est désactivé, ajoutez-lui l’attribut [disabled] ou [readonly], s’il-vous-plaît." !important;background:#fce9e9 !important;border-color:#bf4040 !important;color:#602020 !important;z-index:2147483647 !important}button[class*="disabled"]:not([disabled]):not(... | CSS |
new-delhi" class="anchor" aria-hidden="true" href="https://github.com/karlhorky/awesome-speakers/blob/main/README.md#new-delhi"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.9... | HTML |
德、科学真理等。高等教育是继承与创新优秀 文化的主阵地,大学肩负着传承优秀文化、弘扬高尚道德的重要使命。学 校将积极发挥文化育人作用,弘扬传统文化的优秀成果,弘扬社会主义核 心价值观,不断培育崇尚科学、追求真理的思想观念,推动社会主义先进 文化建设,塑造良好的社会道德和社会风气,增强我国文化软实力和中华 文明影响力,努力为文明进步作出积极贡献。
为国为民:“为国为民”是成语,体现出大学教育的终极目的,即通 过大学教育、产教融合、产学合作为国家、为民族、为人民作贡献,体现 作为大学的责任担当。学校将紧密围绕国家需要、人民满意的根本准则, 担当社会责任、引领社会进步,为石油、冶金行业和安全领域、重庆区域 经济社会拓宽服务领域和方式,为... | Markdown |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by AsyncGenerator.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//---------------------------------... | C# |
e drawn in the
//same location and we don't want any overlap. Logically, you first display the name of a
//world and then when the player empties it, you display "zone clear!"
if (WorldTitleVisible())
{
world_title.SetLevelTitle();
world_title.Draw();
}
else if (WorldZoneClear())
zone_clear.Draw();
if (s... | C++ |
})
E2EAfterAll(func() {
Expect(kubernetes.Cluster.TriggerDeleteNamespace(namespace)).To(Succeed())
Expect(kubernetes.Cluster.DeleteMesh(meshName)).To(Succeed())
})
BeforeEach(func() {
Expect(DeleteMeshResources(kubernetes.Cluster, meshName, mesh.VirtualOutboundResourceTypeDescriptor)).To(Succeed())
})
I... | Go |
+ 1);
std::string* data = datum.mutable_data();
const int data_size = datum.channels() * datum.height() * datum.width();
for (int j = 0; j < data_size; ++j) {
data->push_back(static_cast<uint8_t>(j));
}
stringstream ss;
ss << i;
string out;
CHECK(datum.SerializeT... | C++ |
asa en el Matorral Cenarion", nil, {"Habla con uno de los druidas del Matorral Cenarion, en el Bosque de Terokkar."}},
[9962] = {"El Círculo de Sangre: Dedorroto", nil, {"Derrota a Dedorroto. Si lo logras, habla con Wodin el sirviente trol para recibir tu recompensa."}},
[9963] = {"Volviendo a los orígenes", nil, nil},... | Lua |
il LR'L$C0016,%r1 ;# 8891 add_high_const+3
ldo RR'L$C0016(%r1),%r1 ;# 8892 movhi-2
.CALL ARGW0=GR,ARGW1=GR
bl strcmp,%r2 ;# 3061 call_value_internal_symref
copy %r1,%r25 ;# 3059 reload_outsi+2/1
comib,= 0,%r28,L$0329 ;# 3065 bleu+1
copy %r11,%r26 ;# 3070 reload_outsi+2/1
.CALL ARGW0=GR,ARGW1=GR
bl strcmp,%r2 ;#... | Assembly |
::parse() internally uses strtoll().
// strtoll() doesn't reset previously set errno.
// Need to be sure that Parser::parse correctly handle such case.
strtoll("11111111111111111111111111111111111111111111111", NULL, 10);
QVariant result = parser.parse ('[' + input + ']', &ok);
QVERIFY (ok);
QVariant value... | C++ |
IND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.kevalpatel2106.emoticonpack.windows10;
import java.util.HashMap;
class EmoticonList {
static final HashMap<String, Integer> EMOTICONS = new HashMap<>();
... | Java |
tr) {
return str.replace(this.glre,
function(ch) { return this.glmap[ch] }.bind(this));
}.bind(this);
this.GR = function(str) {
return str.replace(this.grre,
function(ch) { return this.grmap[ch] }.bind(this));
}.bind(this);
};
/**
* Mapping from received to... | JavaScript |
p.objects.all().delete()
create_stamps(
[
(
"test_user_0",
[
"Facebook",
"Twitter",
"POAP",
"Discord",
"Linkedin",
... | Python |
{
VM_Call( gvm, GAME_ICARUS_REMOVE );
return;
}
VMSwap v( gvm );
ge->ICARUS_Remove();
}
void GVM_ICARUS_Play( void ) {
if ( gvm->isLegacy ) {
VM_Call( gvm, GAME_ICARUS_PLAY );
return;
}
VMSwap v( gvm );
ge->ICARUS_Play();
}
int GVM_ICARUS_GetFloat( void ) {
if ( gvm->isLegacy )
return VM_Call( gv... | C++ |
ShakeType {
/// First handshake exchange in client-server connection
Induction = 1,
/// A rendezvous connection, initial connect request, 0
Waveahand = 0,
/// A rendezvous connection, response to initial connect request, -1
/// Also a regular connection client response to the second handshake... | Rust |
ic [Option<MutexProtocolKind>] = &[];
/// Implements [`Mutex::is_locked`][1].
///
/// [1]: crate::kernel::mutex::MutexMethods::is_locked
///
/// # Safety
///
/// See the [Safety](self#safety) section of the module documentation.
unsafe fn raw_mutex_is_locked(this: Self::RawMutexId) -> R... | Rust |
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. *
* *
* This program is distributed in... | C++ |
1, VAL, std.TYPE_RECORD, 2, VAL, R_a_slot, POP, POP, 2, std.F_vv_parmk, VAL, std.PK_POS, std.F_vv_parmn, VAL, "slotx", std.F_vv_typek, 1, VAL, std.TYPE_NUM
, POP, POP, POP, POP, "d_ferrari_grid", std.F_vv_funck, VAL, std.FK_DRAW, POP, "d_ferrari_palette", std.F_vv_funck, VAL, std.FK_DRAW, POP, "d_grad_designer", std.F... | HTML |
[some_item].nested.$[other_item]", "value"));
}
@Test // DATAMONGO-2488
void mapsNestedArrayPathCorrectlyForStringTargetArray() {
org.bson.Document target = mapper.getMappedObject(
query(where("arrayString.$[some_item].nested.$[other_item]").is("value")).getQueryObject(),
context.getPersistentEntity(With... | Java |
ercd = download_one_record(addr,ss["size"],ss["data"],0xFF)
if (false == ercd) then
break
end
end
end
if (false == ercd) then
print(" >> download application failed!")
else
print(" >> download application ok!")
end
return ercd
end
function check_application()
srecord = l_a... | Lua |
name... Args>
Exception(Args&&... args) : BaseException(std::forward<Args>(args)...), std::runtime_error(message) { }
};
class SystemExit : public BaseException, public std::runtime_error {
public:
int code;
explicit SystemExit(int code_) : BaseException(__func__, __FILE__, __LINE__, "SystemExit"), std::runtime_er... | C |
,9 M 10,1 l -9,9"></path></marker><marker orient="auto" markerHeight="11" markerWidth="11" markerUnits="userSpaceOnUse" refY="5.2" refX="-1" viewBox="0 0 11 11" class="marker cross flowchart-v2" id="mermaid-bcqa6gilros_flowchart-v2-crossStart"><path style="stroke-width: 2; stroke-dasharray: 1, 0;" class="arrowMarkerPat... | HTML |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.