content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
make([]*WorkspaceFileCreate, rv.Len())
for i := 0; i < rv.Len(); i++ {
builders[i] = c.Create()
setFunc(builders[i], i)
}
return &WorkspaceFileCreateBulk{config: c.config, builders: builders}
}
// Update returns an update builder for WorkspaceFile.
func (c *WorkspaceFileClient) Update() *WorkspaceFileUpdate {
... | Go |
,_ctx);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
unrollRecursionContexts(_parentctx);
}
return _localctx;
}
@SuppressWarnings("CheckReturnValue")
public static class Assignment_expres... | Java |
.saveX2X3
dword str_cpy.saveX4
byte str_cpy.stkSpace,64
endl str_cpy
enter str_cpy.size
// Preserve X2...X4 and V0:
str q0, [fp, #str_cpy.saveV0]
stp x2, x3, [fp, #str_cpy.sav... | Assembly |
String errorMsg = "Error Reading: " + e.getMessage()
+ "\nAssuming inaccessible USB device. Closing connection.";
Log.e(TAG, errorMsg, e);
throw new IOException(errorMsg, e);
}
}
if (iavailable == 0) {
iavailable = -1;
}
return iavailable;
}
@Override
protected void sendBuffer(byte[] ... | Java |
从左到右,从上到下的顺序生成的。
iter_cells = table.iter_cells
# 读/写布尔属性,当为true时,
# 指示最后一列的格式应不同,例如表最右边的总计行。
table.last_col = True
last_col = table.last_col
# 读/写布尔属性,当为true时,
# 指示最后一行的格式应不同,例如表底部的总计行。
table.last_row = True
last_row = table.last_row
# 表示表行的_Row对象集合的只读引用。
# _Row对象使用列表表示法访问,例如 row = tbl.rows [0]。
rows = table.rows
ro... | Markdown |
# Fixed
- Pre-commit hook regex (@demestav)
## [2020-03-16]
### Added
- Support for all Anymail providers (@Andrew-Chen-Wang)
### Fixed
- Django compressor setup (@jameswilliams1)
## [2020-01-23]
### Changed
- Fix UserFactory to set the password if provided (@BoPeng)
- Update documentation files with latest Sphinx (@... | Markdown |
return avg;
}
//wyznacza największą wartość z inputów
max(){
return Math.max.apply(Math, this.inputsValueArray);
}
//wyznacza minimalną wartość z inputów
min(){
return Math.min.apply(Math, this.inputsValueArray);
}
}
const project = new Project1App();/**
* @li... | Typescript |
}
}
u.Pvvvvv("-------full vars in scopes------")
u.Dvvvvv(ss)
var globalScope *Scope
for idx, s := range *ss {
if s.Name == "global" {
if s.Members != nil {
u.InvalidAndPanic("scope expand", "global scope should not contains members")
}
globalScope = &(*ss)[idx]
}
}
//expand dvars into gl... | Go |
**定义queue**
头文件#include \<queue>
queue\<typename> name
**queue的状态**
empty() 返回是否为空;size()返回元素个数
**queue元素的添加或删除**
push(), pop()
**元素访问**
只能对队列的头尾两端进行操作,获得头尾两端元素的函数分别是 front()和back()
### priority_queue
能够将数据按照事先规定的优先级次序进行动态组织的数据结构称为 **优先队列**
**优先队列的定义**
头文件 #include \<quque>
priority_queue\<typename> name... | Markdown |
if (items['type'] == 'album' || items['type'] == 'playlist') {
launchdataEntity entity = launchdataModel.fromJson(items);
trending.add(entity);
}
}
return trending;
} else {
final trending = await trendingnow.call(type);
return trending;
}
}
Futur... | Dart |
## FreeThrowsAttempted 7.2e-01 0.0346 20.7758 1.5e-60</pre>
</article></slide><slide class=''><hgroup><h2>逐步選擇模型 stepwise</h2></hgroup><article id="-stepwise">
<p>後退學習:一開始先將所有參數加到模型裡,再一個一個拿掉</p>
<pre class = 'prettyprint lang-r'>library(MASS)
##根據AIC,做逐步選擇, 預設倒退學習 direction = "backward"
##trace=FALS... | HTML |
0.8, b = 0.8, a = 1.0, name = silver, colourtype = solid, colourval = GUI:ColorConvertFloat4ToU32(0.8,0.8,0.8,CustomTransparencyAlpha) },
gray = { r = 0.5, g = 0.5, b = 0.5, a = 1.0, name = gray, colourtype = solid, colourval = GUI:ColorConvertFloat4ToU32(0.5,0.5,0.5,CustomTransparencyAlpha) },
black = { r = 0.0, g... | Lua |
tices = vertices;
mesh.triangles = triangleIndices;
// Reconstruct the normals from the vertices and triangles.
mesh.RecalculateNormals();
return mesh;
}
/// <summary>
/// Reads the file header from the data stream.
/// </summary>
... | C# |
id="docker-registry-ui" href="{{ url_for('app.main') }}">{{ app_name }}</a>
</li>
<li>
<a class="nav-item nav-link link-secondary" id="home" href="{{ url_for('app.main') }}">{{ _("Home") }}</a>
</li>
<li>
<a class="... | HTML |
","y"+$80,"I2",-2
dc.w L_InSay2,L_Nul
dc.b $80,"I2,0",-1
dc.w L_InSetTalk,L_Nul
dc.b "set tal","k"+$80,"I0,0,0,0",-1
dc.w L_InSload,L_Nul
dc.b "sloa","d"+$80,"I0t0,0",-1
dc.w L_Nul,L_FnSamSwapped
dc.b "sam swappe","d"+$80,"00",-1
dc.w L_InSamSwap,L_Nul
dc.b "sam swa","p"+$80,"I0t0,0",-1
dc.w L_InSamStop0,L_... | Assembly |
oon +
temp->cheetah +
temp->dog;
// 一些老的C语言编译器不做聚合优化,而符合ANSI规范的新的编译器可以自动完成这个优化,看例子:
float a, b, c, d, f, g;
...
a = b / c * d;
f = b * g / c;
// 这种写法当然要得,但是没有优化
float a, b,c,d,f,g;
...
a = b / c * d;
f = b / c * g;
// 如果这么写的话,一个符合ANSI规范的新的编译器可以只计算b/c一次,
// 然后将结果代入第二个... | Markdown |
total * 100)
return string.format("%3d%% %d/%d", percent, current, total)
end,
icon = "",
color = { fg = silkcircuit_colors.purple_muted },
},
-- Clock for productivity tracking
clock = {
function()
return os.date("%H:%M")
end,
icon ... | Lua |
의 List</h1>
<dl class="header">
</dl>
<emu-grammar>StatementList : StatementList StatementListItem</emu-grammar>
<emu-alg>
1. _names1_을 |StatementList|의 TopLevelLexicallyDeclaredNames로 둔다.
1. _names2_를 |StatementListItem|의 TopLevelLexicallyDeclaredNames로 둔다.
1. _names1_과 ... | HTML |
【讲解 1】本题主要考察避让行人和非机动车的文明驾驶。图中前方人行道上还有 行人通过,此时驾驶人要停车等待,礼让行人,安全驾驶。因此选择“正确”。 【讲解 2】相关法规参考:GA/T1773.1-2021《机动车驾驶人安全文明操作规范第 1 部分:通用要求》,9.3 避让行人和非机动车,9.3.1 行经人行横道时,应减速 行驶,遇行人正在通过人行横道的,应停车让行。行经没有交通信号的道路时, 遇行人横过道路,应避让。
484、如图所示,驾驶机动车在这种情况下,要让非机动车先行。

A、正确
B、错误... | Markdown |
);
}
}
hvfs_info(xnet, "Use Args: IP=%s, PORT=%d, RIP=%s, RPORT=%d\n",
ipaddr[0], port[0], ipaddr[1], port[1]);
switch (type) {
case 0: /* server */
mode = 0;
break;
case 1: /* client */
mode = 1;
brea... | C |
)
assertTrue(set.contains(1))
assertTrue(set.contains(2))
assertFalse(set.contains(3))
}
@Test
fun testEquals() {
val set = IdentitySet<Int>()
set.add(1)
set.add(2)
assertEquals(set, identitySetOf(1, 2))
assertNotEquals(set, identitySetOf(1,... | Kotlin |
#include "PRinternal/macros.h"
#include "PR/os_internal.h"
#include "PRinternal/controller.h"
#include "PRinternal/siint.h"
static void __osPackReadData(void);
s32 osContStartReadData(OSMesgQueue* mq) {
s32 ret = 0;
__osSiGetAccess();
if (__osContLastCmd != CONT_CMD_READ_BUTTON) {
__osPackReadDa... | C |
구할 수 없을 때에는 법률이 정하는 바에 의하여 국가가 변호인을 붙인다.
국가는 사회적·경제적 방법으로 근로자의 고용의 증진과 적정임금의 보장에 노력하여야 하며, 국군은 국가의 안전보장과 국토방위의 신성한 의무를 수행함을 사명으로 하며. 국무회의는 정부의 권한에 속하는 중요한 정책을 심의한다. 국가는 전통문화의 계승·발전과 민족문화의 창달에 노력하여야 한다.
행정각부의 설치·조직과 직무범위는 법률로 정한다, 국회는 법률에 저촉되지 아니하는 범위안에서 의사와 내부규율에 관한 규칙을 제정할 수 있다. 대통령은 국회에 출석하여 발언하거나 서한으로 의견을 표시할 수 있다... | Dart |
៉ានដេសអឺហ្ស៊ីយ៉ាម៉" +
"ាហ្សានដឺរេនីនាប៉ូលីតានណាម៉ាអាល្លឺម៉ង់ក្រោមនេវ៉ាវីនីអាសនូអៀនក្វាស្យូងៀម" +
"ប៊ូនណូហ្គៃនគោសូថូខាងជើងនូអ័រណានកូលេភេនហ្គាស៊ីណានផាមភេនហ្គាប៉ាប៉ៃមេនតូប" +
"៉ាលូអានភាសាទំនាក់ទំនងនីហ្សេរីយ៉ាព្រូស៊ានគីចឈីរ៉ាប៉ានូរ៉ារ៉ូតុងហ្គានរុម" +
"បូអារ៉ូម៉ានីរ៉្វាសានដាវីសាខាសាមបូរូសាន់តាលីងាំបេយសានហ្គូស៊ីស៊ីលានស្ក... | Go |
pub sf_aes_key_r2_3: crate::Reg<sf_aes_key_r2_3::SF_AES_KEY_R2_3_SPEC>,
#[doc = "0x410 - sf_aes_key_r2_4."]
pub sf_aes_key_r2_4: crate::Reg<sf_aes_key_r2_4::SF_AES_KEY_R2_4_SPEC>,
#[doc = "0x414 - sf_aes_key_r2_5."]
pub sf_aes_key_r2_5: crate::Reg<sf_aes_key_r2_5::SF_AES_KEY_R2_5_SPEC>,
#[doc = "0x4... | Rust |
false;
final isLinux_ = false;
final isWeb_ = true;
final isWebDesktop_ = !js.context.callMethod('isMobile');
final isDesktop_ = false;
String get screenInfo_ => js.context.callMethod('getByName', ['screen_info']);
final _localOs = js.context.callMethod('getByName', ['local_os', '']);
final isWebOnWindows_ = _local... | Dart |
r are found after ':'.
Return None if ':' but not a valid number.iNs ^(.*):(.*)$i i ( t
_nportprogR% R RU R RV Rs R ( Rf t defportR R R t nport( ( s D:\Python27_64\lib\urllib.pyR | s
c C sY t d k r* d d l... | Python |
-11.496-117.432-45.052-156.2-92.312C190.204 625.84 100 524.456 100 402V238h148V124h528v114h148v164c0 122.456-90.208 223.844-207.8 241.332-38.768 47.26-93.624 80.82-156.2 92.316V804h136v96H328zm352-680H344v256c0 91.856 73.72 166.492 165.22 167.976L512 644c91.856 0 166.492-73.72 167.976-165.22L680 476V220zm-166 54 42.32 ... | HTML |
return DatasetUtils.buildDataset(
options = builderOptions,
cluster = autofillData.assistInfo.cluster
)
}
@RequiresApi(Build.VERSION_CODES.R)
private fun createCcUpgradeDataset(
autofillData: AutofillData,
inlinePresentationSpec: InlinePresentationSp... | Kotlin |
= TopAbs_FACE;
GEOM::GeomObjPtr aSelectedObject = getSelected( aNeedType );
TopoDS_Shape aShape;
if(aSelectedObject && GEOMBase::GetShape(aSelectedObject.get(), aShape)
&& !aShape.IsNull())
{
QString aName = GEOMBase::GetName( aSelectedObject.get() );
if (myEditCurrentArgument==W... | C++ |
class Colors:
dark_grey = (26, 31, 40)
green = (47, 230, 23)
red = (232, 18, 18)
orange = (226, 116, 17)
yellow = (237, 234, 4)
purple = (166, 0, 247)
cyan = (21, 204, 209)
blue = (13, 64, 216)
white = (255,255,255)
dark_blue = (44,44,127)
light_blue = (59,85,162)
@class... | Python |
new point to this polygonal shape, at a particular index</summary>
public virtual void InsertPoint(int index,Vector3 pos)
{
pointsList.Insert(index,transform.InverseTransformPoint(pos + transform.position));
}
/// <summary>
/// Initialse a subshape of this fixture or particle group (for convex shapes)</summ... | C# |
$tripacked_addr2+=, $inoutstrides2_v, 0b1110
f16v4hihoamp $a7, $a0:1, $azero, TAMP_F16V4_E4_P1
}
{
// *input-ptr += in-stride; *out_ptr += 0
ldst64pace $a0:1, $azeros, $tripacked_addr2+=, $inoutstrides1_v, 0b1110
f16v4hihoamp $a6, $a0:1, $azero, TAMP_F16V4_E4_P2
}
f16v4hihoamp $a7, $a0:1, $azero, TAMP_F1... | Assembly |
0")) {
hex = "0";
} else if (binary.equalsIgnoreCase("0001")) {
hex = "1";
} else if (binary.equalsIgnoreCase("0010")) {
hex = "2";
} else if (binary.equalsIgnoreCase("0011")) {
hex = "3";
} else if (binary.equalsIgnoreCase("0100")) {
hex = "4";
} else if (binary.equalsIgnoreCase("010... | Java |
.dev/](https://ai.google.dev/)
2. **登录:** 使用Google账号登录
3. **创建API密钥:** 点击左侧菜单中的"Create API key"
4. **复制API密钥:** 复制生成的API密钥
## 支持的模型
Kilo Code支持以下Gemini模型:
### 聊天模型
* `gemini-2.5-pro-exp-03-25`
* `gemini-2.0-flash-001`
* `gemini-2.0-flash-lite-preview-02-05`
* `gemini-2.0-pro-exp-02-05`
* `gemini-2.0-flash-thinking-... | Markdown |
ane", 4),
PM.ingredient("pm-gold-wire", 3),
PM.ingredient("pm-light-lubricant", 1, "fluid"),
},
results =
{
PM.product("pm-solar-cell", 3)
}
},
{
type = "recipe",
name = "pm-selenium-logistic-robot",
enabled = false,
main_product = "pm-selenium-logistic-robot",
... | Lua |
lcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><div class="dropdown-wrapper"><button type="button" aria-label="Select language" class="dropdown-title"><span class="title">Languages</span> <span class="arrow right"></span></button> <ul class="nav-dropdown" style="display:non... | HTML |
sens, .adsense-250, .adsense-300x256-widget, .adsense-300x256-widget-2, .adsense-336, .adsense-468, .adsense-ad, .adsense-ads, .adsense-afterpost, .adsense-article, .adsense-attribution, .adsense-box, .adsense-category, .adsense-category-bottom, .adsense-center, .adsense-code, .adsense-container, .adsense-content, .ads... | HTML |
using System.Text;
using Microsoft.CodeAnalysis;
namespace UniTyped.Generator.SerializationViews;
public class EnumValueViewDefinition : GeneratedViewDefinition
{
public override bool IsDirectAccess => true;
private ITypeSymbol EnumType { get; }
public override ITypeSymbol SourceType => EnumType;
... | C# |
�上明兰的脸蛋,照得明兰有些脸热。 c:274
### 海棠依旧:知否?知否?应是绿肥红瘦(壹)(41)
正常的做法是,用合理的钱当合理规模的家,不要奢侈浪费,穷搞排场,也不要过分苛刻,太过精细地算计仆妇,当宽松时得宽松,手指缝里漏出个一星半点的也无妨;在这个基础上,严整家规,规范家仆行为,教导规制家仆守礼,让家风井然,已是上上大吉了。 c:1254
### 海棠依旧:知否?知否?应是绿肥红瘦(壹)(43)
说实话吧,好东西人人都喜欢的,可是有多大头戴多大帽子,该是我的就是我的,不是我的抢也没用。 c:293
### 海棠依旧:知否?知否?应是绿肥红瘦(壹)(44)
千子万子不如手中的银子 c:179
我也不怕死,我只... | Markdown |
ted"><svg xmlns="http://www.w3.org/2000/svg" width="130" height="20"><lineargradient id="b" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></lineargradient><clippath id="a"><rect width="130" height="20" rx="3" fill="#fff"/></clippath><g clip-path="url(#a)"><pa... | HTML |
ConfigImpl();
return this.config(config, properties);
}
private WxMaRedisBetterConfigImpl getWxMaRedisBetterConfigImpl() {
RedisProperties redisProperties = properties.getConfigStorage().getRedis();
JedisPool jedisPool;
if (redisProperties != null && StringUtils.isNotEmpty(redisProperties.getHost()... | Java |
行为时,未依法予以制止或者未采取有效防止措施的;
(二)海岸、海洋工程环境影响评价文件批准前未依法征求有关部门意见的;
(三)违反规定或者越权审核、批准环境影响评价文件的;
(四)未按照规定执行环境影响评价暂停审批制度的;
(五)其他徇私舞弊、滥用职权、玩忽职守的行为。
第三十七条 本条例下列用语的含义是:
(一)海岸工程,是指工程主体位于海岸线以上,为控制海水或者利用海洋完成部分功能,并对海洋环境有影响的工程建设项目。
(二)海洋工程,是指工程主体和工程主要作业活动位于海岸线以下,并对海洋环境有影响的工程建设项目。
第三十八条 本条例自2004年12月1日起施行。# 莱芜市既有多层住宅增设电梯规定
2017年10... | Markdown |
/*
* Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | C |
4712f, 16.9687f)
curveTo(17.2679f, 17.1287f, 17.0179f, 17.2554f, 16.7212f, 17.3487f)
curveTo(16.4279f, 17.4454f, 16.0962f, 17.4937f, 15.7262f, 17.4937f)
curveTo(15.3562f, 17.4937f, 15.0329f, 17.457f, 14.7562f, 17.3837f)
curveTo(14.4796f, 17.3104f, 14.2496f, 17.212f, 14.06... | Kotlin |
x2 v[5:6], off, s[8:11], s3 offset:7
// CHECK: [0x07,0x00,0x98,0xe1,0x00,0x05,0x02,0x03]
buffer_atomic_smax_x2 v[5:6], off, s[8:11], s3 offset:4095 glc
// CHECK: [0xff,0x4f,0x98,0xe1,0x00,0x05,0x02,0x03]
buffer_atomic_smax_x2 v[5:6], off, s[8:11], s3 offset:4095 slc
// CHECK: [0xff,0x0f,0x9a,0xe1,0x00,0x05,0x02,0x03]... | Assembly |
IgnoreArgs => pandoc.args(&["--ignore-args"]),
Verbose => pandoc.args(&["--verbose"]),
}
}
}
/// equivalent to the latex document class
#[derive(Debug, Clone)]
pub enum DocumentClass {
/// compact form of report
Article,
/// abstract + chapt... | Rust |
1 bits ({000}, {001,010}, ..., {111}). We should now be able to combine the implicants.
The process of combining the implicants occurs at the do-while loop.
<pre class="brush: js; toolbar: false; first-line: 222;">
do{
hasCombined = false;
nextImplicants = [];
for(i = 0, n = implicants.length - 1; i < n; i++... | HTML |
.StrExtract(err.Error(), `".*"`, 1)[0]
link = stringo.StrReplaceAll(link, `"`, "")
u, _ := neturl.Parse(link)
opt.URL = u
} else {
defer resp.Body.Close()
u, _ := neturl.Parse(resp.Request.URL.String())
opt.URL = u
}
for k := range spider.DoiSpidersPool {
if k == doiOrg {
for t = 0; t < bgetClis.Ret... | Go |
mory.
/// Read only access (e.g. by directly uploading it to the GPU) is permitted for the lifetime of
/// the buffer instance.
/// Acquiring ownership of the data in userspace is not possible, so it has to be copied.
pub struct MappedBuffer<'a> {
view: &'a [u8],
metadata: buffer::Metadata,
}
impl<'a> MappedBu... | Rust |
dentifier>
{
self.source
}
}
impl UnitEntity for ProcessingUnitEntity
{
}
impl ProcessingUnitEntity
{
#[inline(always)]
fn choose_minimum_b_length(specification_version: Version) -> usize
{
if likely!(specification_version.is_1_1_or_greater())
{
10
}
else
{
9
}
}
#[allow(missing_docs)]
... | Rust |
#pragma warning disable IDE0073
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Formats.Asn1;
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;
nam... | C# |
(|| anyhow!("GameLoop: Loop is None"))?,
)?;
Ok(())
}
}
pub struct KeyState {
pressed_keys: HashMap<String, web_sys::KeyboardEvent>,
}
impl KeyState {
fn new() -> Self {
return KeyState {
pressed_keys: HashMap::new(),
};
}
pub fn is_pressed(&self, code:... | Rust |
to <code>xpath=//html/body</code>. More examples are displayed in <a href=\"#Examples\" class=\"name\">Examples</a>.</p>\n<p>Note that xpath does not pierce <a href=\"https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_shadow_DOM\">shadow_roots</a>.</p>\n<h3 id=\"Text\">Text</h3>\n<p>Text engine finds an... | HTML |
/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) Samsung Electronics Co., Ltd.
* Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
* All rights reserved.
*/
#include "bdev_xnvme.h"
#include "spdk/rpc.h"
#include "spdk/util.h"
#include "spdk/string.h"
#include "spdk/log.h"
/*... | C |
edge_ids_Params,
pub par_iter_edges: Par_iter_edges_Params,
pub iter_edges_with_type_ids: Iter_edges_with_type_ids_Params,
pub iter_edges_with_type: Iter_edges_with_type_Params,
pub par_iter_edge_with_type: Par_iter_edge_with_type_Params,
pub par_iter_edge_with_type_ids: Par_iter_edge_with_type_ids_Params,
pub pa... | Rust |
�ਿਯੋਗੀ","showGrid":"ਜਾਲੀ ਦਿਖਾਓ","addToLibrary":"ਲਾਇਬ੍ਰੇਰੀ ਵਿੱਚ ਜੋੜੋ","removeFromLibrary":"ਲਾਇਬ੍ਰੇਰੀ \'ਚੋਂ ਹਟਾਓ","libraryLoadingMessage":"ਲਾਇਬ੍ਰੇਰੀ ਲੋਡ ਕੀਤੀ ਜਾ ਰਹੀ ਹੈ…","libraries":"ਲਾਇਬ੍ਰੇਰੀਆਂ ਬਰਾਉਜ਼ ਕਰੋ","loadingScene":"ਦ੍ਰਿਸ਼ ਲੋਡ ਕੀਤਾ ਜਾ ਰਿਹਾ ਹੈ…","align":"ਇਕਸਾਰ","alignTop":"ਉੱਪਰ ਇਕਸਾਰ ਕਰੋ","alignBottom":"ਹੇਠਾਂ ਇਕਸਾਰ... | JavaScript |
[]
printer.print_grammar_ast(rules, printer=lines.append)
output = "\n".join(lines)
expected_output = textwrap.dedent(
"""\
└──Rule
└──Rhs
└──Alt
├──NamedItem
│ └──NameLeaf('a')
└──NamedItem
... | Python |
"TypographyQuotes" to LintIssueId.TYPOGRAPHY_QUOTES,
"UseCompoundDrawables" to LintIssueId.USE_COMPOUND_DRAWABLES,
"VectorPath" to LintIssueId.VECTOR_PATH,
"VectorRaster" to LintIssueId.VECTOR_RASTER
)
private val issueIdToString: Map<LintIssueId, String> = issueIdMapping.entries.associateBy(
... | Kotlin |
t, hostID uint) error {
_, err := ds.writer(ctx).ExecContext(ctx, `
UPDATE host_mdm
SET server_url = '', mdm_id = NULL, enrolled = 0
WHERE host_id = ?`, hostID)
return ctxerr.Wrap(ctx, err, "set host_mdm to unenrolled for android host")
}
func upsertAndroidHostMDMInfoDB(ctx context.Context, tx sqlx.ExtContext, ser... | Go |
translate id="Manage output cache"}Manage output cache{/translate}</h2>
<p>{translate id="manage_output_cache.description_paragraph"}The Dataface output cache stores copies of the pages of this application as they
are presented to the user. Each time a page is requested, Dataface first checks the
output cache t... | HTML |
Objetos - Construtores pt 02 - Sobrecarga
1. Maratona Java 60 - Orientação Objetos - Blocos de inicialização
1. Maratona Java 61 - Orientação Objetos - Modificador static
1. Maratona Java 62 - Orientação Objetos - Métodos estáticos
1. Maratona Java 63 - Orientação Objetos - Bloco de inicialização estático
1. Maratona J... | Markdown |
ters.mOutputIteratorBufferUpdates;
*mBuf = e;
}
template <typename BucketT>
std::shared_ptr<BucketT>
BucketOutputIterator<BucketT>::getBucket(
BucketManager& bucketManager, MergeKey* mergeKey,
std::optional<std::vector<typename BucketT::EntryT>> inMemoryState)
{
ZoneScoped;
if (mBuf)
{
... | C++ |
<bool>(json, r'InUse'),
shared: mapValueOfType<bool>(json, r'Shared'),
size: mapValueOfType<int>(json, r'Size'),
createdAt: mapValueOfType<String>(json, r'CreatedAt'),
lastUsedAt: mapValueOfType<String>(json, r'LastUsedAt'),
usageCount: mapValueOfType<int>(json, r'UsageCount'),
... | Dart |
$(this.element).addClass('animated');
}
} , { offset: '80%' } );
}
};
var aboutAnimate = function() {
var about = $('#fh5co-about');
if ( about.length > 0 ) {
about.waypoint( function( direction ) {
if( direction === 'down' && !$(this.element).hasClass('animated') ) {
setT... | JavaScript |
eway(_context, preproc, sender, receiver);
TunnelGateway gw = new ThrottledPumpedTunnelGateway(_context, preproc, sender, receiver, _pumper, cfg);
TunnelId recvId = cfg.getReceiveTunnel();
synchronized (_joinParticipantLock) {
if (_participatingConfig.putIfAbsent(recvId, cfg) != null... | Java |
Bar */
div[class*="announcementBar_"] {
height: 40px;
}
div[class*="announcementBarContent"] {
font-size: 15px !important;
font-weight: 500;
}
div[class*="announcementBarPlaceholder"] {
height: 40px;
}
button[class*="announcementBarClose"] {
height: 40px !important;
}
@media screen and (max-width: 996px)... | CSS |
/*
* Copyright 2018- The Pixie 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/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | C |
l: SetupModel,
notFulfilled: MutableState<Int>,
wizard: SetupWizard
) {
val scope = rememberCoroutineScope()
LocalContext.current
val selfTestManager = LocalSelfTestManager.current
val navigator = LocalNavigator
val debugContext = LocalDebugContext.current
var complete by remember { mutableStateOf(false) }
... | Kotlin |
.unwrap_or_else(|| panic!("{} did not have a library", name));
// We see the newest version first. Any subsequent
// versions will have their version appended so that they
// are uniquely named
let exposed_name = if first {
crate_name.clone()
... | Rust |
k-i-warning{margin-right:0;margin-left:.6em}.k-datepicker .k-picker-wrap.k-state-invalid,.k-timepicker .k-picker-wrap.k-state-invalid{border-color:#fe633f}.k-datepicker .k-picker-wrap.k-state-invalid .k-input,.k-timepicker .k-picker-wrap.k-state-invalid .k-input{color:#fe633f}.k-datepicker .k-picker-wrap .k-i-warning,.... | CSS |
1,title:t.title,children:e.map(function(e){return{type:"auto",title:e.title,basePath:t.path,path:t.path+"#"+e.slug,children:e.children||[]}})}]}(t);var s=a.sidebar||i.sidebar;if(s){var u=function(t,e){if(Array.isArray(e))return{base:"/",config:e};for(var n in e)if(0===(r=t.path,/(\.html|\/)$/.test(r)?r:r+"/").indexOf(n... | JavaScript |
er().wallsBlocks(this.user, materialPercents);
return CommandResultType.SUCCESS;
}
}
package fr.maxlego08.essentials.commands.commands.gamemode;
import fr.maxlego08.essentials.api.EssentialsPlugin;
import fr.maxlego08.essentials.api.commands.CommandResultType;
import fr.maxlego08.essentials.api.commands.... | Java |
his);
late final CoreType coreType = CoreType(this);
late final Core core = Core(this);
late final CoreExec coreExec = CoreExec(this);
late final CoreLib coreLib = CoreLib(this);
late final CoreTypeSelected coreTypeSelected = CoreTypeSelected(this);
late final ProfileGroup profileGroup = ProfileGroup(this);... | Dart |
List, val1, val2);
// Restore param:val; type: rawptr_vec_diff_byref_const
if (valCount > 0) {
for (size_t i = 0; i < valCount; ++i) {
delete CefTranslatorTestScopedClientCppToC::GetWrapper(valList[i]);
}
}
if (valList)
delete[] valList;
// Return type: bool
return _retval ? true : false... | C++ |
from __future__ import annotations
from typing import Dict, Any, List
import os
from core.input.entity import InputEntity
from core.input.dto import InputResult, InputFile, InputArguments
from exceptions import PathIncorrect, IncorrectExt
from config.enum import EXTENSIONAL
class InputProcess:
def __init__(se... | Python |
EQ, 0x1c04, instArgs{arg_R_12, arg_R_16, arg_R_0}}, // UASX<c> <Rd>,<Rn>,<Rm> cond:4|0|1|1|0|0|1|0|1|Rn:4|Rd:4|(1)|(1)|(1)|(1)|0|0|1|1|Rm:4
{0x0fe00070, 0x07e00050, 4, UBFX_EQ, 0x1c04, instArgs{arg_R_12, arg_R_0, arg_imm5, arg_widthm1}}, // UBFX<c> <Rd>,<Rn>,#<lsb>,#<widthm1> con... | Go |
#include "handler.h"
#include "util/logger.h"
// Forward declarations for handlers from the moved files
// These will be registered with the main server.
bool c4_handle_lcu(client_t* client);
bool c4_proxy(client_t* client);
// Forward declarations for background services
void c4_watch_beacon_events();
void c4_stop_b... | C |
"ddyeolm", // 0xe2
"ddyeolb", // 0xe3
"ddyeols", // 0xe4
"ddyeolt", // 0xe5
"ddyeolp", // 0xe6
"ddyeolh", // 0xe7
"ddyeom", // 0xe8
"ddyeob", // 0xe9
"ddyeobs", // 0xea
"ddyeos", // 0xeb
"ddyeoss", // 0xec
"ddyeong", // 0xed... | Java |
},
error : function () {
alert ("推送文件失败: 服务器异常");
}
});
}
function deleteDocTest()
{
var paramStr = $("#deleteDocParam").val();
console.log(paramStr);
var param = JSON.parse(paramStr);
console.log(param);
$.ajax({
url : $("#deleteDocUrl").val(),
typ... | HTML |
10($s2)
/* 1B356AC 800810E4 00000000 */ nop
/* 1B356B0 800810E8 18004300 */ mult $v0, $v1
/* 1B356B4 800810EC 0C00828E */ lw $v0, 0xC($s4)
/* 1B356B8 800810F0 12480000 */ mflo $t1
/* 1B356BC 800810F4 031B0900 */ sra $v1, $t1, 12
/* 1B356C0 800810F8 21104300 */ addu $v0, $v0, $v1
/... | Assembly |
u64,
raft_nodes: &[u64],
) -> Result<()>;
async fn key_ranges(&self) -> Result<Vec<KeyRange>>;
async fn in_range(&self, key: &[u8]) -> Result<Option<(KeyRange, u64, Vec<u64>)>>;
async fn all_in_range(&self, keys: &[&[u8]]) -> Result<Option<(KeyRange, u64, Vec<u64>)>>;
async fn update_ra... | Rust |
the existing files if needed when prompted.
3. Load the Session library manually OR you can autoload it in config/autoload.php file.
4. Use it like you are using the original [CI Session library](http://codeigniter.com/user_guide/libraries/sessions.html).
5. That's all, enjoy!
## License
The MIT license
# cnsc... | Markdown |
movl $KUSER_SHARED_SYSCALL, %ecx
call *(%ecx)
ret $0x8
.global _NtGdiSelectClipPath@8
_NtGdiSelectClipPath@8:
movl $0x110b, %eax
movl $KUSER_SHARED_SYSCALL, %ecx
call *(%ecx)
ret $0x8
.global _NtGdiSelectFont@8
_NtGdiSelectFont@8:
movl $0x110c, %eax
movl $KUSER_SHARED_SYSCALL, %ecx
... | Assembly |
,minY=y,maxX=x,maxY=y;
const char *text2 = text;
float x2 = x;
float y2 = y;
while (*text2) {
if (*text2 >= 32 && *text2 < 128) {
stbtt_aligned_quad q;
stbtt_GetBakedQuad(cdata[fontIndex], 512,512, *text2-32, &x2,&y2,&q,1);//1=opengl & d3d10+,0=d3d9
if (q.x0<minX) minX = q.x0;
if (q.... | C++ |
e2efd9;border-top:1pt solid #000000;padding:2px 1pt 2px 0;text-align:right;vertical-align:bottom"></td></tr><tr style="height:15pt"><td colspan="3" style="background-color:#ffffff;padding:0 1pt"></td><td colspan="3" style="background-color:#ffffff;border-top:3pt double #000000;padding:0 1pt"></td><td colspan="3" style=... | HTML |
ridgeError.sessionStore(
String field0,
) = BridgeError_SessionStore;
const factory BridgeError.encoding(
String field0,
) = BridgeError_Encoding;
/// Paper wallet error
const factory BridgeError.insufficientFundsInPaperWallet(
String field0,
) = BridgeError_InsufficientFundsInPaperWallet;
co... | Dart |
0, REDIS_VALUE_0);
assertEquals(REDIS_VALUE_0.length() * 2, value);
assertEquals(REDIS_VALUE_0 + REDIS_VALUE_0, redis.get(REDIS_KEY_0));
}
@Test
public void substr() {
redis.set(REDIS_KEY_1, "This is a string");
assertEquals("This", redis.substr(REDIS_KEY_1, 0, 3));
... | Java |
}
uv0.weapon_property_385[1101109] = {
name = "【精英】Q版四联装鱼雷III型弹幕5",
range = 90,
damage = 45,
base = 1100509,
type = 3,
reload_max = 1000,
queue = 4,
id = 1101109,
effect_move = 0,
angle = 360,
initial_over_heat = 0
}
uv0.weapon_property_385[1101110] = {
name = "【精英】Q版战列特殊机枪弹幕1",
range = 100... | Lua |
- 「仅加载HEVC」修改为「优先加载HEVC」策略,并修复了某些资源没有压制HEVC导致视频无法播放的问题
# Miao Project Build 50 Update Notes
- 新增「仅加载HEVC」选项,开启后只会加载HEVC(H265)资源,相同画质下,占用的带宽会降低一半左右
- 也许现在 Dolby Atmos 可以点亮图标了,未经过测试
# Miao Project Build 49 Update Notes
- 支持杜比视界(Dolby Vision 8.4 + HLG 或者 Dolby Vision 5 + PQ)
- 支持杜比全景声(Dolby Digital Plus with Dolby Atmo... | Markdown |
scm.SegmentSize = uint32(segmentSize)
}
cmsgBuf = scm.AppendTo(cmsgBuf)
}
batchPacketBuf = batchPacketBuf[:len(batchPacketBuf)+len(packetBuf)]
iovec[i].Base = unsafe.SliceData(packetBuf)
iovec[i].SetLen(len(packetBuf))
msgvec[i].Msghdr.Name = name
msgvec[i].Msghdr.Namelen = namelen
msgvec[i].Msgh... | Go |
Shuffle your
* deck..<br><i>Journey to Oldtown.</i><br>
**/
DevanSeaworthJtO = "DEVAN_SEAWORTH_JtO",
/**
* <h5>Stannis's Wrath</h5>House Baratheon.<br><b>Action:</b> Choose and kneel a
* character without a [power] icon..<br><i>Journey to Oldtown.</i><br>
**/
StannissWrathJtO = "STANNISS_WRATH_JtO... | Typescript |
Portuguese = 0x816, // Portuguese
Greek = 0x408, // Greek
NorwegianNyn= 0x814, // Norwegian (Nynorsk)
NorwegianBok= 0x414, // Norwegian (Bokmal)
Thai= 0x41E // Norwegian (Bokmal)
}
// The following 4 encoding types are supported. By default you ... | C# |
1)?;
let lpt1 = (s1 as u128)
.checked_mul(rlpt as u128)?
.checked_div(rs_prime as u128)? as u64;
let rlpt = rlpt.checked_add(lpt1)?;
let (_a2, _b2, s2) = Self::_rake(delta_a, ra, rb, rs)?;
let ra = ra.checked_add(delta_a)?;
let rs_prime = rs.checked_sub(s2)?;
let lpt2 = (s2 as u128)... | Rust |
祖国和人民利益高于一切、为了祖国和民族的尊严而奋不顾身的爱国主义精神,英勇顽强、舍生忘死的革命英雄主义精神,不畏艰难困苦、始终保持高昂士气的革命乐观主义精神,为完成祖国和人民赋予的使命、慷慨奉献自己一切的革命忠诚精神,为了人类和平与正义事业而奋斗的国际主义精神,锻造了伟大抗美援朝精神。
10月10日 中共中央发出《关于镇压反革命活动的指示》。到1951年10月底,全国规模的镇压反革命运动基本结束。
10月14日 政务院作出《关于治理淮河的决定》。1951年,毛泽东题词“一定要把淮河修好”。到1957年冬,治淮工程初见成效。
11月3日 政务院发出《关于加强人民司法工作的指示》,要求在全国范围内逐步建立和健全人民司法... | Markdown |
1, 1)", !1), level4: b.c(.75, "rgba( 0, 101, 153, 1)", !1), level5: b.c(1, "rgba( 0, 0, 153, 1)", !0), level6: b.c(1.5, "rgba( 102, 0, 153, 1)", !1), level7: b.c(1.75, "rgba( 153, 0, 102, 1)", !1), level8: b.c(2, "rgba( 165, 0, 0, 1)", !1), __collectibleLines: ["median", "level0", "level1", "level2", "level3", "level4"... | JavaScript |
s solicitadas)")
return QueryType.CSV_ANALYSIS
# NOVA LÓGICA: Se há dados no Supabase (mas não visualização ou stats), priorizar LLM analysis
if has_supabase_data and (csv_score > 0 or data_score > 0):
self.logger.info("🔄 Redirecionando para LLM analysis (dados no Supab... | Python |
GameMgrHelper;
IVoiceGameMgrHelper *g_pVoiceGameMgrHelper = &g_VoiceGameMgrHelper;
// --------------------------------------------------------------------------------------------------- //
// Globals.
// --------------------------------------------------------------------------------------------------- //
// N... | C++ |
f finetuning_args.include_effective_tokens_per_second:
train_result.metrics["effective_tokens_per_sec"] = cal_effective_tokens(
effective_token_num, train_result.metrics["epoch"], train_result.metrics["train_runtime"]
)
trainer.save_model()
trainer.log_metrics("t... | Python |
3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2010.9%2010.4%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23f00%22%20stroke-width%3D%221.211%22%20stroke-miterlimit%3D%2210%22%20d%3D%22M.6%209.7L5.4.6h.1l4.8%209.1H.6z%22%2F%3E%3C%2Fsvg%3E");
}
}
&.status--yours {
color: $yellow;
&... | CSS |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.