content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
null ? 5 : 30)),
onTimeout: () => throw Exception(
"The checkElectrumServer connect() call timed out.",
),
);
await client
.ping()
.timeout(Duration(seconds: (proxyInfo == null ? 5 : 30)));
return true;
} catch (e, s) {
Logging.instance.e(
"$e\n$s",
e... | Dart |
exParameterf@GOTPAGE
ldr x16, [x16, ___blue_glCore_glTexParameterf@GOTPAGEOFF]
ldr x16, [x16]
br x16
.private_extern _bluegl_glTexParameterfv
.align 2
_bluegl_glTexParameterfv:
adrp x16, ___blue_glCore_glTexParameterfv@GOTPAGE
ldr x16, [x16, ___blue_glCore_glTexParameterfv@GOTPAGEOFF]
ldr x16, [x16]
br x16
.p... | Assembly |
_array_value ();
OCTAVE_LOCAL_BUFFER (GLushort, a, (3*tw*th));
for (int i = 0; i < h; i++)
{
for (int j = 0, idx = i*tw*3; j < w; j++, idx += 3)
{
a[idx] = xdata(i,j,0);
a[idx+1] = xdata(i,j,1);
... | C++ |
ainder - $divisor;
$quotient: $quotient + 1;
}
$result: $result * 10 + $quotient;
$factor: $factor * .1;
$remainder: $remainder * 10;
$precision: $precision - 1;
@if ($precision < 0 and $remainder >= $divisor * 5) {
$result: $result + 1;
}
}
$result: $result * $factor * $sign... | CSS |
='8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 .5v7L12 4zM0 4l4 3.5v-7z' fill='%23FFF' fill-rule='nonzero'/%3E%3C/svg%3E");background-position:center;background-repeat:no-repeat;border:0;border-radius:50%;cursor:pointer;height:36px;width:36px}input[type=range]::-moz-range-thumb{background-color:#000;background... | CSS |
.MethodForClass `hash:"402577236"`
get_custom_data gdextension.MethodForClass `hash:"1868160156"`
has_custom_data gdextension.MethodForClass `hash:"3927539163"`
set_custom_data_by_layer_id gdextension.MethodForClass `hash:"2152698145"`
get_custom_data_by_layer_id ... | Go |
carIdTarifa(categoria: string, hotel: string,temporada: string) {
// console.log(categoria, hotel, temporada)
// const ID = await this.db.query('select precio from tarifas t inner join temporada tem on tem.idTemporada = t.temporada_id inner join categoria c on c.idCategoria = t.categoria_id where tem.descripcion = ... | Typescript |
str r4, [r8]
add r5, #1
cmp r5, r2
ble 2b
add r1, #1
cmp r1, r10
ble 1b
3:
ldmfd sp!, {r0 - r10}
mov pc, lr
@-------------------------------------------------------------------------------
@ Renders a 2px frame of size r2xr3 and colour r4 startin... | Assembly |
E9C 002A0AFC 38 A0 00 20 */ li r5, 0x20
/* 802A4EA0 002A0B00 4B FF F4 99 */ bl iosAllocAligned
/* 802A4EA4 002A0B04 2C 03 00 00 */ cmpwi r3, 0
/* 802A4EA8 002A0B08 7C 7D 1B 78 */ mr r29, r3
/* 802A4EAC 002A0B0C 40 82 00 0C */ bne lbl_802A4EB8
/* 802A4EB0 002A0B10 3B E0 FF EA */ li r31, -22
/* 802A4EB4 002A0B14 4... | Assembly |
959596}.list-group-item-dark{color:#1f2326;background-color:#d6d8d9}.list-group-item-dark.list-group-item-action:focus,.list-group-item-dark.list-group-item-action:hover{color:#1f2326;background-color:#c1c2c3}.list-group-item-dark.list-group-item-action.active{color:#fff;background-color:#1f2326;border-color:#1f2326}.b... | CSS |
return sb.createVertexTemplateFromCells([ribbon1, item1, icon1, ribbon2, item2, icon2, ribbon3, item3, icon3, ribbon4, item4, icon4, ribbon5, item5, icon5], 550, 590, 'Ribbon List');
}),
this.addEntry(dt + 'bar graph', function()
{
var part1 = new mxCell('Label', new mxGeometry(0, 0, 120, 70), ... | JavaScript |
import pytest
from dbt.tests.util import run_dbt, run_dbt_and_capture
from tests.functional.adapter.basic.files import (
base_table_sql,
base_view_sql,
generic_test_seed_yml,
generic_test_table_yml,
generic_test_view_yml,
schema_base_yml,
seeds_base_csv,
)
class BaseGenericTests:
@pyt... | Python |
before_unlock_(const ObTransferTaskLockInfo &lock_info, const int64_t palf_lock_owner,
const int64_t lock_timeout, const int32_t group_id);
static int init_storage_rpc_(obrpc::ObStorageRpcProxy &storage_svr_rpc_proxy, storage::ObStorageRpc &storage_rpc);
static void destory_storage_rpc_(obrpc::ObStorageRpcPro... | C |
AME_EXTRACT( table_len, face->font_program ) )
goto Exit;
FT_TRACE2(( "loaded, %12d bytes\n", face->font_program_size ));
}
FT_TRACE2(( "Prep program " ));
error = face->goto_table( face, TTAG_prep, stream, &table_len );
if ( error )
{
face->cvt_program = NULL;
face... | C |
row.prop(props, "use_display_roughness", text="")
row.prop(props, "batch_display_roughness", text="Roughness")
layout.operator("material.batch_material_helper", text="Apply to Selected Objects")
def register():
try:
bpy.utils.register_class(BatchMaterialProperties)
... | Python |
IZEOF
/*
* In general in the ELR_EL1 register we can find:
*
* - The address of ret in z_arm64_call_svc()
* - The address of the next instruction at the time of the IRQ when the
* thread was switched out.
* - The address of z_thread_entry() for new threads (see thread.c).
*/
eret | Assembly |
debugLine="taskCounter = taskCounter + 1";
Debug.JustUpdateDeviceLine();
httputils2service._taskcounter = RemoteObject.solve(new RemoteObject[] {httputils2service._taskcounter,RemoteObject.createImmutable(1)}, "+",1, 1);
BA.debugLineNum = 74;BA.debugLine="Dim TaskId As Int = taskCounter";
Debug.JustUpdateDeviceLine();... | Java |
site</a>).</p>
</blockquote>
<p>We previously solved for the unconstrained household’s savings and
borrowing problem: <a href="https://fanwangecon.github.io/Math4Econ/derivative_application/K_save_households.html">unconstrained
problem</a>.
And also the <a href="https://fanwangecon.github.io/Math4Econ/opti_hh_constrai... | HTML |
lags_Square || flag == ImGuiRadioButtonFlags_RoundedSquare;
const bool SQUARE_BUTTON_NO_ROUNDING = flag == ImGuiRadioButtonFlags_Square;
ImGuiContext& g = *GImGui;
const ImGuiStyle& style = g.Style;
const ImGuiID id = window->GetID(label);
const ImVec2 label_size = CalcTextSize(label, NULL, true);
... | C++ |
FAPI_TRY(scomt::chkReg(QME_CISR));
#endif
return o_data.insertFromRight<QME_CISR_REG_WKUP_REQUESTED,
1>(i_data);
#ifdef SCOM_CHECKING
fapi_try_exit:
FAPI_ERR("1:scom_c Invalid dial access QME_CISR_REG_WKUP_REQUESTED chip: %x, ec: %x", scomt::chip, scomt::ec);
return o_data;
#endif
}
//<< SET... | C |
architecture_tdd/test/features/number_trivia/domain/usecases/get_concrete_number_trivia_test.dart.
// Do not manually edit this file.
import 'dart:async' as _i3;
import 'package:clean_architecture_tdd/core/error/failures.dart' as _i5;
import 'package:clean_architecture_tdd/features/number_trivia/domain/entities/numbe... | Dart |
=> 应有24种, 实有22种, 3142 和 2431 没有
// 形如12345的5位字符 => 应有120种, 实有90种
// 形如123456的6位字符 => 应有720种, 实有394种
// if (originString.length === 4) {
// let [a, b, c, d] = originString
// // 长度为4的字符串只有两种情况不是混淆字符串
// if (needCheckString === [c, a, d, b].join("") || needChec... | Typescript |
using Kingmaker.Blueprints;
using Kingmaker.Blueprints.Classes;
using Kingmaker.UnitLogic.FactLogic;
using Kingmaker.UnitLogic.Mechanics;
using Kingmaker.UnitLogic.Mechanics.Components;
using TabletopTweaks.Core.Utilities;
using static TabletopTweaks.Base.Main;
namespace TabletopTweaks.Base.NewContent.MythicAbilities... | C# |
if (n & 1) ans--;
{
int m = __lg(n) + 1;
int x = (1<<m) - n;
int tmp = __builtin_popcount(x);
tmp += tmp-1;
if (x & 1) tmp--;
ans = min(ans, tmp+2);
if (dp[x] != -1) ans = min(ans, dp[x] + 2);
if (spj[n]) ans = min(ans, 7);
else ans = min(ans, 8);
}
REP(i,1<<l) {
//i = 66;
vector<int> vec =... | C++ |
## \[2.0.0-alpha.0]
- [`eccd6f9`](https://github.com/tauri-apps/plugins-workspace/commit/eccd6f977af7629255b6f5a5205666c9079a86ed)([#504](https://github.com/tauri-apps/plugins-workspace/pull/504)) Initial release.
0.0-alpha.0]
- [`eccd6f9`](https://github.com/tauri-apps/plugins-workspace/commit/eccd6f977af7629255b6... | Markdown |
`mLevel${i}`;
this.mMethods[`pb-${i}-rate`] = `PB0${i}Rate`;
this.mObjects[`pb-${i}-rate`] = `mRate${i}`;
}
socket.subscribe("connect", (sender, message) => {
// console.info("connect msg", message.type);
this.connectStateChanged();
});
socket.subscribe("bytesReceived", (sender, msg) =>
this.by... | Typescript |
= 1.1, max = 1.8 }
}, { -- Small Trailer + Food Service
id = "CUST250",
name = "Mobile Catering Supply",
specialties = {"smallTrailers"},
criteria = {
deliveredItems = { min = 1792 }, -- 7x Small Trailer
weight = { min = 0, max = 1000 },
movieRentals = { min = 2 }, -- Frequent r... | Lua |
WBAN, 44.2<br>NEW CUYAMA FIRE STATION, COOP, 46.0<br>TWITCHELL DAM, COOP, 52.4<br>SUSANVILLE 2SW, WBAN, 33.0<br>TEJON RANCHO, WBAN, 49.4<br>BURBANK GLENDALE PASADENA AP, WBAN, 55.2<br>MOUNT SHASTA, COOP, 29.9<br>WATSONVILLE MUNICIPAL AP, WBAN, 49.6<br>SANTA ROSA SONOMA CO AP, WBAN, 45.8<br>PLACERVILLE 3 ENE, COOP, 45.... | HTML |
clip-rule="evenodd"></path>
</svg> <span>Bookmarks</span>
</a></li>
<li>
<a topage="#p-background">
<svg class="_icon" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd"
... | HTML |
.. k .. " = " .. tostring(v))
_G[k] = v
end
print("*************************")
---------------------------------------------------------------
---------------------------------------------------------------
-- Load modules and functions
-- (not local so they are available in _G when loading projects from file)
buildu... | Lua |
<memory>
#include <string>
#include <utility>
#include <vector>
#include "absl/strings/str_replace.h"
#include "absl/strings/string_view.h"
#include "absl/types/optional.h"
#include "api/array_view.h"
#include "api/test/metrics/global_metrics_logger_and_exporter.h"
#include "api/test/metrics/metric.h"
#include "api/t... | C++ |
97 4.97 0 0 0-4.987 4.737c-.01.079-.013.161-.013.253v6.51c0 .925.373 1.828 1.022 2.476A3.524 3.524 0 0 0 5.5 20c1.8 0 2.504-1 3.5-3 .146-.292.992-2 3-2 1.996 0 2.853 1.707 3 2 1.004 2 1.7 3 3.5 3 .925 0 1.828-.373 2.476-1.022A3.524 3.524 0 0 0 22 16.5V10c0-.095-.004-.18-.014-.26zM7 12.031a2 2 0 1 1-.001-3.999A2 2 0 0 1... | HTML |
e((s) => s.id.equals(id))).getSingleOrNull();
await _database.deleteWorkoutSet(id);
// Update workout timestamp to trigger stream updates
if (set != null) {
await _database.updateWorkoutFields(
set.workoutId,
WorkoutsCompanion(updatedAt: Value(DateTime.now())),
);
}
}
... | Dart |
el kernel, IWcfBurden burden)
{
BindChannelFactoryAware(channelFactory, kernel, burden);
}
public override void AddDependencies(IKernel kernel, ComponentModel model)
{
WcfUtils.AddExtensionDependencies<IWcfPolicy>(kernel, WcfExtensionScope.Undefined, model);
WcfUtils.AddExtensionDependencies<IChannelF... | C# |
}
var Diff = DU[0] - DC;
DC = DU[0]; //Encode DC
if (Diff == 0) {
writeBits(HTDC[0]); // Diff might be 0
} else {
pos = 32767 + Diff;
writeBits(HTDC[category[pos]]);
writeBits(bitcode[pos]);
} //Encode ACs
var end0pos = 63; // was const... which is... | JavaScript |
;
locala.e = localMatcher.group(3);
return locala;
}
public String b()
{
return this.b;
}
public void c(String paramString)
{
if (TextUtils.isEmpty(paramString));
a locala;
do
{
return;
locala = b(paramString);
}
while (locala == null);
locala.a = this.e... | Java |
s.showToast()
return
}
if (urls.size <= 1) {
Log.d(TAG, "sourceUp: only one source for ${tvModel.tv.title}")
R.string.no_multiple_sources.showToast()
return
}
// 只调用一次 nextVideo 和 switchSource
tvModel.nextVideo()
tvModel.co... | Kotlin |
expired->get_act ();
bool reclaim = true;
Hash_Token<TYPE> *h =
reinterpret_cast<Hash_Token<TYPE> *> (const_cast<void *> (act));
ACE_ASSERT (h->pos_ == i);
// Check if this is an interval timer.
if (expired->get_interval () > ACE_Time_Value::zero)
... | C++ |
r);
test.Next(_L("Attempt read 1"));
r = process1.Create(RProcess().FileName(), KTestParamRo);
test_KErrNone(r);
process1.Logon(rs);
process1.Resume();
User::WaitForRequest(rs);
test_Equal(EExitPanic, process1.ExitType());
test_Equal(3, process1.ExitReason()); // KERN-EXEC 3 assumed
CLOSE_AND_WAIT(process1);
... | C++ |
接受了红卫兵的价值观、行为目标和方式。因为毛泽东接见红卫兵时的着装是头戴绿军帽、身着绿军装、右臂佩红袖章,手握红宝书,这一装束加上腰间的武装带,遂成为红卫兵的标准装。男孩蓄平头, 女孩剪齐耳短发,或扎短辫。至于军装要洗得越旧、越白越好──显示其父辈的参加革命早、资格老,自己的血统纯粹。新军装的草绿色被认为赝品,差了档次, 被称为"鸡屎绿"。这一形象,已成为后文革影视作品中红卫兵的漫画相。但习惯上还是把红卫兵小将作为学生造反派的称呼,工人造反派则多称无产阶级革命派。作为政治力量的红卫兵运动在上山下乡后自然消失,工人造反派则因被吸收到权力结构中,仍然或隐或现地存在着。它的躯壳被青年学生群众团红卫兵顶替, 只留下一个名义上的光环,而内核已... | HTML |
esponses.append(llm_response)
try:
nctid_list = run_search_ctgov(query, search_api)
recall = len(set(nctid_list) & set(ground_truth)) / len(ground_truth)
batch_recalls.append(recall)
except Exception as e:
print(f"Error in search query: {str(e)}")... | Python |
//
// UFForm.h
// Created by ChenZhangli QQ893419255 on 2019/6/25.
// Copyright © 2019 UFKit. All rights reserved.
//
// _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ __
// / / / / / _ _ _ / / / ╱ ╱ /__/ /_ _ _ _ _ _/
// / / / / / / / / ╱ ╱ ... | C |
rts
_dxcnv:
dxcnv: move.l (A0),D1
move.l 4(A0),D2
move.l D1,D0
swap D0
ext.l D0
rol.l #8,D2
rol.l #8,D1
move.b D2,D1
clr.b D2
add.l D2,D2
roxl.l #1,D1
add.l D2,D2
roxl.l #1,D1
add.l D2,D2
roxl.l #1,D1
bclr #31,D1
andi.w #$7FF0,D0
cmpi.w #$7FF0,D0
bne.s T_346E
ts... | Assembly |
evise_, _craxi_, _crespons,
{{0xc26c54cb,0x12c53177,0x60ec2335,0xc34123c8}}, // _polos_, _agilibe_, _uffizial, _daperha_,
{{0x8c93325c,0xba1a53c7,0x83f30105,0x8ebe512f}}, // [1a00] _قامال_, _descuent, _זשוליאני_, _долларғи,
{{0xc837d0ac,0x32e0234a,0xf29090db,0x4a071560}}, // _반갑습니다_, _abanayo_, _bakaki_, _... | C++ |
y, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
T... | HTML |
s>If the stream's current position contains
/// a serialized NameGroupNamedPropInfo, return true, else false</returns>
public static bool Verify(FastTransferStream stream)
{
return 0x01000000 == stream.VerifyUInt32(LexicalBase.GuidLength);
}
/// <summary>
//... | C# |
finition CreateFlatSimple(IDataField dataField)
{
return new SimpleFlatFieldDefinition {
Name = dataField.Name,
Column = ""
};
}
#endregion
#region XML
public static void SaveAllStubs(string dir, IEnumerable<DataHolderDefinition> dataHolderDefs)
{
foreach (var def in dataHolderDefs)
{
... | C# |
sm-4,body:lang(ku) .ml-sm-4,body:lang(ku) .mx-sm-4,body:lang(ur) .ml-sm-4,body:lang(ur) .mx-sm-4{-webkit-margin-start:1.5rem!important;margin-inline-start:1.5rem!important}body:lang(fa) .m-sm-5,body:lang(ar) .m-sm-5,body:lang(az) .m-sm-5,body:lang(dv) .m-sm-5,body:lang(he) .m-sm-5,body:lang(ku) .m-sm-5,body:lang(ur) .m... | CSS |
r'\1\2 '
r'Except as contained in this notice, the name of .+ shall not '
r'be used in advertising or otherwise to promote the sale, use or other dealings in '
r'this Software without prior written authorization from .+\.'
.replaceAll(' ', _linebreak)
)
+
r')*',
multiLine: true... | Dart |
d147a12c556bfb1d502516c325b1477a23ba6c77af31f020fd',
privateKey: '58c7d5a90b1776bde86ebac077e053ed85b0f7164f53b080304a531947f46e3',
};
const mockParams: TransferParams = {
senderPositionId: '12345',
receiverPositionId: '67890',
receiverPublicKey: '05135ef87716b0faecec3ba672d145a6daad0aa46437c365d490022115aba674... | Typescript |
- - - - - - - - - - vrangeps $ab, %ymm16, %ymm17, %ymm19 {%k1}
# CHECK-NEXT: 0.50 0.50 0.33 0.33 - - - - - - - 0.33 - vrangeps $ab, (%rax), %ymm17, %ymm19 {%k1}
# CHECK-NEXT: 0.50 0.50 0.33 0.33 - - - ... | Assembly |
0 when receive invalid operator',
inject([CalculatorService], (service: CalculatorService) => {
let invalidOperator = service.calculate(1, 4, '%');
expect(invalidOperator).toEqual(0);
})
);
});
import CreateNewAdventureService from "@modules/adventure/services/CreateNewAdventureService";
import ... | Typescript |
ue {
margin-right: 5px;
}
.dnet-double-list-controls-dl {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: 5px;
}
.dnet-split-content-dl {
width: 450px;
}
.dnet-split-content-container-dl {
display: grid;
grid-template-columns: 49% 8px 49... | CSS |
}
}
MtSettlement mtSettlement = new MtSettlement();
mtSettlement.setMerchantId(requestParam.getMerchantId());
mtSettlement.setStoreId(requestParam.getStoreId());
mtSettlement.setSettlementNo(CommonUtil.createSettlementNo());
mtSettlement.setAmount(amount);
... | Java |
from datetime import datetime
from metrics.logic.celery_tasks.util import bulk_create_from_csv
from metrics.models.video import VideoInteractionChart, VideoInteraction, VideoPlayCountChart, VideoPlayCount
def create_video_interaction_chart(course_id: str) -> VideoInteractionChart:
return bulk_create_from_csv(
... | Python |
movie/{movieId}/feature/v1/technicals.json")
Observable<MovieTechnicalsBean> getMovieTechnicals(@Path("movieId") int movieId);
//经典台词
@GET("mmdb/movie/{movieId}/feature/dialogues.json")
Observable<MovieDialoguesBean> getMovieDialogues(@Path("movieId") int movieId);
//出品发行
@GET("mmdb/movie/{mov... | Java |
�뭉치에서 3%, 11%의 중앙값 복잡도 감소를 보여준다.\n' +
'\n' +
'##7 결론과 미래 전망\n' +
'\n' +
'본 논문에서는 7B 모델과 비교하여 최신 성능을 제공하는 오픈소스 디코더 모델인 SaulLM-7B를 법률 도메인 내에서 소개한다. 우리의 접근 방식은 합성 데이터 세트에 대한 세부 조정 지침과 함께 법률 데이터를 세부 조정하는 것을 수반한다. 또한, 클리닝된 버전의 LegalBench를 제공하고 복잡도 측정을 위한 새로운 문서 세트를 도입함으로써 기여합니다. MIT 라이선스로 출시된 저희 모델이 ... | HTML |
files to produce an executable, this
* file does not by itself cause the resulting executable to be covered by
* the GNU General Public License. This exception does not however
* invalidate any other reasons why the executable file might be covered by
* the GNU General Public License.
*
* Copyright 2008 Bernie ... | Assembly |
"
+ "Primary key column 'classId' is in bad order in sql table 'BadOrderedPrimaryKeyTable'.";
assertTrue(zserioWarnings.isPresent(warning));
}
@Test
public void duplicatedPrimaryKey()
{
final String warning = "duplicated_primary_key_warning.zs:6:33: "
+ ... | Java |
f this is not the last batch, we must ensure that the last pending
// transition is still a forward barrier -- that barrier may have been
// dropped in the check phase. If it isn't, we return early and continue
// to build our pending transitions; if it is, we proceed to inference.
if !lastBatch {
if !inferrer.p... | Go |
accessor method returns a reference to the live list, not a
* snapshot. Therefore any modification you make to the returned list will
* be present inside the JAXB object. This is why there is not a
* <CODE>set</CODE> method for the orcidWork property.
*
* For example, to add a new item, do as... | Java |
YTHE("bismuth_bronze_scythe_blade"),
BISMUTH_BRONZE_SWORD("bismuth_bronze_sword_blade"),
//BLACK_BRONZE
BLACK_BRONZE_AXE("black_bronze_axe_head"),
BLACK_BRONZE_SHOVEL("black_bronze_shovel_head"),
BLACK_BRONZE_KNIFE("black_bronze_knife_blade"),
BLACK_BRONZE_HOE("black_bronze_hoe_head"),
BLACK_BRONZE_HAMMER("black... | Java |
ition relative to 0 level of the gkm 31 ellipsoid
Absolute,
/// Position relative to ground level
Relative,
}
#[cfg(test)]
mod test {
use crate::{
CameraInfo, DroneInfo, Fov, Image, Label, LatLon, LocationInfo, PolyDEM, TexturePolygon,
Utm, GKM31,
};
use geo_utm::{Band, Zone};
... | Rust |
request->fail(QWebEngineUrlRequestJob::RequestFailed);
}
}
void AppSchemeHandler::handleLocalFileRequest(QWebEngineUrlRequestJob *request)
{
// resolve files relative to the currently open file's directory
if (APP->fileManager()->isFileOpen()) {
QString file... | C++ |
run very slowly, but it will work.)
///
/// Also note that this limit is *per thread of execution*. That is, if the
/// same regex is used to search text across multiple threads simultaneously,
/// then the DFA cache is not shared. Instead, copies are made.
///
/// TODO(burntsushi): This feels like a knob that a calle... | Rust |
tring)) {
buildParams.write('${field.key}: ${field.key}.build(),');
} else {
final maybeNotNull = field.value.returnType.isNullable ? '' : '!';
buildParams.write('${field.key}: ${field.key}$maybeNotNull,');
}
}
builder.declareInType(
augmentation('''
$fieldDeclarations... | Dart |
(三)资源环境保护项目的建设情况和运营效果;
(四)土地、矿藏、水流、森林、滩涂、海域等国有自然资源资产的开发利用管理和保护治理情况;
(五)特许经营权、特许排污权等国有无形资源资产的管理使用情况;
(六)自然资源资产负债情况。
第十四条 审计机关对国有、国有资本占控股地位或者主导地位的地方金融机构进行审计,以及根据本级人民政府或者上级审计机关的要求对其他从事地方金融业务的机构和组织进行审计,重点审查下列内容:
(一)金融政策调控措施贯彻执行情况;
(二)资产、负债、损益、表外业务情况;
(三)资产质量和经营风险管理情况;
(四)区域性金融风险情况。
第十五条 审计机关对本条例第九条第七项所列事项的审计,重点审查... | Markdown |
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "NGAP-IEs.asn"
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-OER -gen-PER -no-gen-example -D ngap`
*/
#include "ASN_NGAP_MBS-SessionTNLInfo5GCList.h"
#include "ASN_NGAP_MBS-Sessi... | C |
process.SetSelectedThread(stepping_thread)
self.runCmd(step_cmd)
frame = stepping_thread.GetFrameAtIndex(0)
current_line = frame.GetLineEntry().GetLine()
# Make sure we're still where we thought we were
self.assertTrue(
current_line >... | Python |
# If no desk is found, query the image directly\n return image_patch.simple_query("What device is on the desk?")\n device_patches = desk_patches[0].find("device")\n return device_patches[0].simple_query("What device is on the desk?")</td>
<td>mixtral87B___02-24_01-45</td>
</tr>
<tr>
... | HTML |
/* SPDX-License-Identifier: GPL-2.0-only */
#include <bootblock_common.h>
#include <soc/gpio.h>
#include <superio/ite/common/ite.h>
#include <superio/ite/it8784e/it8784e.h>
#include "gpio.h"
#define UART_DEV PNP_DEV(0x2e, IT8784E_SP1)
#define GPIO_DEV PNP_DEV(0x2e, IT8784E_GPIO)
void bootblock_mainboard_early_init(v... | C |
base/client/go/libkb"
"github.com/keybase/client/go/protocol/keybase1"
"github.com/stretchr/testify/require"
)
type nsatest struct {
in string
out keybase1.SocialAssertion
ok bool
}
var nsatests = []nsatest{
{in: "keybase", out: keybase1.SocialAssertion{}, ok: false},
{in: "alice@twitter", out: keybase1.Soci... | Go |
/*
* Copyright 2009 Intel Corporation
*
* Permission to use, copy, modify, distribute, and sell this software
* and its documentation for any purpose is hereby granted without
* fee, provided that the above copyright notice appear in all copies
* and that both that copyright notice and this permission notice
* a... | C |
gs
- Enviar pull requests
---
## ⚙️ Requisitos
- Python `3.11.9+`
- Sistema: **Windows** (versão atual compatível apenas com Windows)
---
## 📸 Preview
### 🧠 Painel Principal

### 📂 Painel de Conteúdo (Canal, Vídeos e Status)
 {
ApiResponse.Success(body)
} else {
ApiResponse.Failure.UnknownError(IllegalStateException("body == null"))
}
} else { // 300..400
ApiResponse.Failure.HttpException(code, IOException(error))
}
}
private fun Throwable.toErro... | Kotlin |
();
/* Clear LCD */
LCD_Clear();
/* Print on LCD line1*/
LCD_SetCursorPos(LCD_LINE1, 0);
LCD_Print("Clock Selection");
/* Print on LCD line2*/
LCD_SetCursorPos(LCD_LINE2, 0);
LCD_Print(" Use joystick ");
}
#ifdef USE_FULL_ASSERT
/**
* @brief Reports the name of the source file and the sourc... | C |
jContentPane = null;
private JTabbedPane jTabbedPane = null;
private JPanel formattedCharPanel = null;
private JPanel optionPanel = null;
private JButton convertButton = null;
private JPanel buttonPanel = null;
private JTextArea formattedOutputField = null;
private JComboBox toneTypesComboBox = nu... | Java |
on == other.focus_position && self.zoom == other.zoom
}
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn camera_new() {
let cam = Camera2D::new();
assert_eq!(cam, Camera2D { focus_position: Vector2D { x: 0.0, y: 0.0 }, zoom: 1.0 });
}
#[test]
fn camera_from() {
... | Rust |
关卡0-3', '', '', 'DungeonRole', '', '5001', '2', '91103', '', '', '', ''},
{'16105', '16105', '', '卡提娜苦难关卡0-4', '', '', 'DungeonRole', '', '5001', '2', '91104', '', '', '', ''},
{'16106', '16106', '', '卡提娜苦难关卡0-5', '', '', 'DungeonRole', '', '5001', '2', '91105', '', '', '', ''},
{'16107', '16107', '', '卡提娜苦难关卡0-6', '',... | Lua |
-----------------------------------
-- Zone: Castle_Zvahl_Baileys (161)
-----------------------------------
---@type TZone
local zoneObject = {}
zoneObject.onInitialize = function(zone)
zone:registerCuboidTriggerArea(1, -90, 17, 45, -84, 19, 51) -- map 4 NW porter
zone:registerCuboidTriggerArea(1, 17, -90, 45... | Lua |
!{interface ITargetFileRequest(ITargetFileRequestVtbl): IInspectable(IInspectableVtbl) [IID_ITargetFileRequest] {
fn get_TargetFile(&self, out: *mut *mut super::super::IStorageFile) -> HRESULT,
fn put_TargetFile(&self, value: *mut super::super::IStorageFile) -> HRESULT,
fn GetDeferral(&self, out: *mut *mut ... | Rust |
ttp://www.gnu.org/licenses/>. */
/* Append a null-terminated string from SRC to DST. */
#include <sysdep.h>
.arch ev6
.set noreorder
.text
ENTRY(strcat)
ldgp gp, 0(pv)
#ifdef PROF
.set noat
lda AT, _mcount
jsr AT, (AT), _mcount
.set at
#endif
.prologue 1
mov $16, $0 # E : set up return value
/* Find ... | Assembly |
WQgdXNl
IG9ubHkxHzAdBgNVBAMTFnRoYXd0ZSBQcmltYXJ5IFJvb3QgQ0EwggEiMA0GCSqG
SIb3DQEBAQUAA4IBDwAwggEKAoIBAQCsoPD7gFnUnMekz52hWXMJEEUMDSxuaPFs
W0hoSVk3/AszGcJ3f8wQLZU0HObrTQmnHNK4yZc2AreJ1CRfBsDMRJSUjQJib+ta
3RGNKJpchJAQeg29dGYvajig4tVUROsdB58Hum/u6f1OCyn1PoSgAfGcq/gcfomk
6KHYcWUNo1F77rzSImANuVud37r8UVsLr5iy6S7pBOhih94ryNdO... | Go |
HttpResponse::InternalServerError().body("")
}
}
///
///
///
async fn get_invocations(
_req: HttpRequest,
pool: web::Data<DbPool>,
) -> HttpResponse {
let conn = pool.get().expect(MSG_NO_DB_CONNECTION);
let invocations = db::invocations.load::<Invocation>(&conn);
if let Ok(invocations) =... | Rust |
__wrapper{bottom:8.333333%}}.c-stage-teaser__content{background:#efeeea;padding:20px}@media only screen and (min-width: 45.0625em){.c-stage-teaser__content{background:#efeeea;padding:20px;position:relative;max-width:inherit}}@media only screen and (min-width: 64.0625em){.c-stage-teaser__content{background-color:rgba(25... | HTML |
lt;a href="https://www.international.gc.ca/world-monde/index.aspx?lang=eng">Canada and the world</a></li>
<li><a href="https://www.canada.ca/en/services/finance.html">Money and finances</a></li>
<li><a href="https://www.canada.ca/en/services/science.html">Science and innovation</a>&... | HTML |
12
// ignore_for_file: annotate_overrides,camel_case_types,unnecessary_const,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name,return_of_invalid_type,unnecessary_this,prefer_final_fields,deprecated_member_use_from_same_package
import 'dart:core' as $core;
import 'dart:convert' as $convert;... | Dart |
urn {QQ}
*/
mul(rhs: QQ): QQ;
/**
* @method div
* @param rhs {QQ}
* @return {QQ}
*/
div(rhs: any): QQ;
/**
* @method isOne
* @return {boolean}
*/
isOne(): boolean;
/**
* @method isZero
* @return {boolean}
*/
isZero(): boolean;
/**
... | Typescript |
tion{}
if err := c.KubeClient.Get(ctx, types.NamespacedName{
Name: appModel.Name,
Namespace: env.Namespace,
}, originalApp); err == nil {
application.ResourceVersion = originalApp.ResourceVersion
}
var component = model.ApplicationComponent{
AppPrimaryKey: appModel.PrimaryKey(),
}
components, err :=... | Go |
ual. */
protected int newVisual;
/** The screen output. */
protected int screenOutput;
/** The steps. */
protected int steps;
/** The current step. */
protected int currentStep;
/** The internal buffer x size. */
protected int internalBufferXSize;
/** The internal buffer y size. */
protected int in... | Java |
# Copyright 2023 The Google Earth Engine Community 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable... | Python |
"目见",
["𪾣"] = "目宀一",
["𪾤"] = "目戊",
["𪾥"] = "目口一ㄅ",
["𪾦"] = "目⺊尸",
["𪾧"] = "目亼龴",
["𪾨"] = "目口二ㄅ",
["𪾩"] = "目宀一",
["𪾪"] = "目冫欠",
["𪾫"] = "目且力",
["𪾬"] = "目舌乚",
["𪾭"] = "目木木",
["𪾮"] = "目爫㇒士",
["𪾯"] = "目斤欠",
["𪾰"] = "目方攵",
["𪾱"] = "目𡭔丿目",
["𪾲"... | Lua |
-.21-.46-.77-1.26-.77-1.26m-3.16 6.3c-.28.24-.74.5-1.1.6-1.12.4-2.24-.16-2.9-.82 1.19-.28 1.9-1.16 2.11-2.05.17-.8-.15-1.46-.28-2.23-.12-.74-.1-1.37.17-2.06.19.38.39.76.63 1.06.77 1 1.98 1.44 2.24 2.8.04.14.06.28.06.43.03.82-.33 1.72-.93 2.27"/></svg>');--md-admonition-icon--success:url('data:image/svg+xml;charset=utf-... | CSS |
ZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPiA8ZGVmcz48L2RlZnM+IDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHNrZXRjaDp0eXBlPSJNU1BhZ2UiPiA8ZyBpZD0iYXJyb3ctZG93biIgc2tldGNoOnR5cGU9Ik1TQXJ0Ym9hcmRHcm91cCIgZmlsbD0iIzJlNDQ1MyI+IDxwYXRoIGQ9Ik0xNS41LDYgTDE3LDcuNSBMMTAuMjUsMTQu... | CSS |
ciudades.getSize()]);
}
}
return camino;
}
private Vertices buscarVertices(Graph<String> ciudades, String origen, String destino) {
Vertex<String> ver1 = ciudades.search(origen);
Vertex<String> ver2 = ciudades.search(destino);
if(ver1 != null && ver2 != n... | Java |
ggle-field:active{background-color:#0078d7}.ms-Toggle-input+.ms-Toggle-field .ms-Label--off{display:block}.ms-Toggle-input+.ms-Toggle-field .ms-Label--on{display:none}.ms-Toggle-input:checked+.ms-Toggle-field{background-color:#0078d7}.ms-Toggle-input:checked+.ms-Toggle-field:before{position:absolute;display:block;box-s... | CSS |
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package collector
import (
"context"
"fmt"
"testing"
"github.com/DATA-DOG/go-sqlmock"
"github.com/alecthomas/kingpin/v2"
"github.com/prometh... | Go |
r: rgba(255, 165, 0, 0.4);
}
.bc-orange-60pct,
img[src~="bc-orange"] {
border-color: rgba(255, 165, 0, 0.6);
}
.bc-orange-80pct,
img[src~="bc-orange"] {
border-color: rgba(255, 165, 0, 0.8);
}
.color-orangered,
img[src~="color-orangered"] {
color: #FF4500;
}
.color-orangered-20pct,
img[src~="color-orangered"] {
... | CSS |
ers[pointer]!;
final VelocityEstimate? estimate = tracker.getVelocityEstimate();
DragEndDetails? details;
final String Function() debugReport;
if (estimate == null) {
debugReport = () => 'Could not estimate velocity.';
} else {
details = _considerFling(estimate, tracker.kind);
debugReport = (details... | Dart |
.837h-.793L5.656 22.92a.5.5 0 0 1-.485.403Z"></path><path d="M15.998 10.613a.5.5 0 0 1-.485-.621l.835-3.342a2.154 2.154 0 0 1 2.1-1.649h4.543a.5.5 0 0 1 0 1h-4.543a1.156 1.156 0 0 0-1.129.887l-.836 3.346a.5.5 0 0 1-.485.379Z"></path></g></g><g><path d="M14.639 22.711a3.006 3.006 0 1 1 3.006-3.007 3.01 3.01 0 0 1-3.006 ... | HTML |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.