content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
-search-button_1bix2_57 button img {
width: 66%;
}
._left-search-text_1bix2_81 {
background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjMuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+Cj... | HTML |
s=[0, 1],
)
],
)
elif fork < Prague:
# Feed blob transaction, type 3
tx_2 = Transaction(
to=code_account_2,
data=b"",
nonce=1,
secret_key=TestPrivateKey,
protected=fork >= Byzantium,
gas_limit... | Python |
inputFields.build();
_$failedField = 'title';
title.build();
} catch (e) {
throw new BuiltValueNestedFieldError(
r'WebviewPincodeDialogStyle', _$failedField, e.toString());
}
rethrow;
}
replace(_$result);
return _$result;
}
}
// ignore_for_file: alwa... | Dart |
-top: 0;
margin-right: 0.5em;
}
.column-response .post-com-count-pending,
.column-comments .post-com-count-pending {
position: static;
height: auto;
min-width: 0;
padding: 0;
border: none;
border-radius: 0;
background: none;
color: #b32d2e;
font-size: inherit;
line-height: inherit;
text-alig... | CSS |
quire().await.expect("Semaphore to be operating");
let res = tracker_check::check_udp_candidate(candidate.clone()).await;
drop(permit);
match &res {
Ok(profile) => { println!("Success: {:?}", profile) }
Err(err) => { println!("Failu... | Rust |
ers who rescued a homeless man just moments before he was about to leap in front of a train.","type":"video","viewType":"hidden","image":{"id":6143357,"img":"https://cdn.abcotvs.com/dip/images/6143357_050120-nypdsave.jpg","src":"https://cdn.abcotvs.com/dip/images/6143357_050120-nypdsave.jpg","imgLink":"https://api.abco... | HTML |
" />
<meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />
</head><body>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<section id="project-1-deep-i... | HTML |
duced cubes
pool[packet.LabIndex].produced[0] = 0;
break;
case -2:
//Research recipe reset
pool[packet.LabIndex].SetFunction(false, 0, 0, factory.entitySignPool);
break;
case -1:
... | C# |
得的值进行比对 $.map(arrCss, function (value, key) { //根据数组获得的css链接的地址 var cssHref = "css/" + arrCss[key].color + ".css"; if (cssHref == href) { //1.移除该link标签 ... | HTML |
}},
[]vg.Point{{X: x, Y: q1}, {X: x, Y: aLow}},
[]vg.Point{{X: x - cap, Y: aLow}, {X: x + cap, Y: aLow}},
)
c.StrokeLines(b.WhiskerStyle, whisks...)
for _, out := range b.Outside {
y := trY(b.Value(out))
if c.ContainsY(y) {
c.DrawGlyphNoClip(b.GlyphStyle, vg.Point{X: x, Y: y})
}
}
for _, dc := range... | Go |
="78.4246" cy="77.9409" r="77.1461" stroke="#9FCDFC" stroke-width="0.691893"
stroke-dasharray="5.54 5.54" />
</svg>
</div>
</div>
</div>
<!-- phone -->
<div
... | HTML |
entFrame:RegisterEvent("SCENARIO_UPDATE");
if (C_CharacterServicesPublic.ShouldSeeControlPopup()) then
if (not NPE_TutorialKeyboardMouseFrame_Frame) then
UIParentLoadAddOn("Blizzard_Tutorial");
end
NPE_TutorialKeyboardMouseFrame_Frame:Show();
end
end
BoostTutorial:Init(); | Lua |
from django.shortcuts import render
from rest_framework import generics
from .models import Order, OrderItem
from .serializers import OrdersListSerializer, OrderDetailSerializer, OrderItemSerializer, UpdateOrdersSerializer
# Create your views here.
# ORDERS LIST
class OrdersListGenericApiView(generics.ListAPIView):
... | Python |
, 'quit', 'exit', 'help'];
const hits = completions.filter(v => v.startsWith(line));
return [hits.length ? hits : ['make', 'enter', 'quit', 'help'], line];
}
},
lobbyMenu: {
name: 'lobbyMenu',
prompt: '> ',
action: async (line: string) => {
const l = parser.SplitC... | Typescript |
n blocks
pub blocks: u64,
/// Time of last access
pub atime: SerializableTimespec,
/// Time of last modification
pub mtime: SerializableTimespec,
/// Time of last metadata change
pub ctime: SerializableTimespec,
/// Time of creation (macOS only)
pub crtime: SerializableTimespec,
... | Rust |
TC.GELUM , 1))); CR.shapeless(ST.make(Items.clay_ball, 5, 0), CR.DEF_NCC, new Object[] {last()});
IL.Ceramic_Tiny_Plate_Mold_Raw .set(addItem(903, "Clay Tiny Plate Mold" , "Put in Furnace to harden", new OreDictItemData(MT.Clay, U*5), TC.stack(TC.TERRA, 2), TC.stack(TC.GELUM , 1))); CR.shapeless(ST.ma... | Java |
91\u3001\u738b\u76db\u6cfd\u300a\u8d64\u5b50\u4e4b\u5fc3\u2014\u2014\u6c5f\u4e00\u771f\u4f20\u300b(\u9999\u6e2f\uff1a\u5929\u5730\u56fe\u4e66\u6709\u9650\u516c\u53f8\uff0c2008)543-546\u9875\u3002", "type": "paragraph"}]}
</script>
<p>
<a href="index.htm">
[返回索引页面]
</a>
</p>
<h1>
中共福建省委就江一真的申诉向中共中央并... | HTML |
}
}
import { HYDRATE } from 'next-redux-wrapper';
import { ExampleReduxActionsTypes, ExampleReduxState } from './actionTypes';
const initialState: ExampleReduxState = {
data: [],
error: false,
loading: false,
};
const ExampleReduxReducer = (state = initialState, action) => {
switch (action.type) {
case H... | Typescript |
namespace SuperTiled2Unity.Editor
{
// Helper struct to deal with Tile Id values having burned-in flip flags
public struct TileIdMath
{
// Flip flags from tiled
private const uint TiledHexagonal120Flag = 0x10000000;
private const uint TiledDiagonalFlipFlag = 0x20000000;
priv... | C# |
vals$msVerbose,
iter.max = controlvals$msMaxIter))
}
else {
optim(co, function(glsPars) -logLik(glsSt, glsPars),
method = controlvals$optimMethod,
control = list(trace = controlvals$msVerbose,
... | Assembly |
f
h = h * diff
end
end
if ( w < dw ) then
local diff = dw / w
w = w * diff
h = h * diff
end
if ( h < dh ) then
local diff = dh / h
w = w * diff
h = h * diff
end
local OffX = ceil((dw - w) * 0.5)
local OffY = ceil((dh - h) * 0.5)
spritesheet.DrawIcon( self.m_strIcon, Of... | Lua |
l \r0\().8h, \r0\().8b
uxtl \r1\().8h, \r1\().8b
.ifnb \r2
uxtl \r2\().8h, \r2\().8b
uxtl \r3\().8h, \r3\().8b
.endif
.ifnb \r4
uxtl \r4\().8h, \r4\().8b
.endif
.ifnb \r5
uxtl \r5\().8h, \r5\().8b
.endif
.ifnb \r6
... | Assembly |
{
const PSMQuatf &orientation = m_tracker_info.tracker_pose.Orientation;
m_Pose.qRotation.w = orientation.w;
m_Pose.qRotation.x = orientation.x;
m_Pose.qRotation.y = orientation.y;
m_Pose.qRotation.z = orientation.z;
}
m_Pose.poseIsValid = true;
}
void PSMServiceTracker::Update()
{
Trackabl... | C++ |
ing at the beginning after decomposing the problem."}
]
steps = []
step_count = 1
total_thinking_time = 0
while True:
start_time = time.time()
step_data = make_api_call(messages, 300)
end_time = time.time()
thinking_time = end_time - start_time
total... | Markdown |
class MdPreviewScreenState extends State<MdPreviewScreen> {
/// The data read from the MD file.
late String mdData;
/// The data in html format from the md file.
late String rawHtml;
late final WebViewController _controller = WebViewController();
@override
void didUpdateWidget(covariant MdPreviewScreen... | Dart |
)
Method oldMethod = (Method)hash.put(key, methods[i]);
// check if visibility has been reduced
if (null != oldMethod && Modifier.isPublic(oldMethod.getModifiers())
&& !Modifier.isPublic(methods[i].getModifiers()) ) {
... | Java |
t, subscriber1v2, queued.ParticipantInfo)
},
},
{
name: "sid change is broadcasted immediately with synthsized disconnect",
pi: publisher2,
closeReason: types.ParticipantCloseReasonServiceRequestRemoveParticipant, // just to test if update contain the close reason
existing: &Partic... | Go |
= game.general;
const tableUidLastLetter = uid.charAt(uid.length - 1);
const otherUid = tableUidLastLetter === 'A' ? `${uid.substr(0, uid.length - 1)}B` : `${uid.substr(0, uid.length - 1)}A`;
const otherGame = games.find(g => g.general.uid === otherUid);
if (!otherGame || otherGame.gameState.isCompleted) {... | JavaScript |
-mocha-red: #f38ba8;--ctp-mocha-red-rgb: 243 139 168;--ctp-mocha-red-hsl: 343.269 81.25% 74.902%;--ctp-mocha-maroon: #eba0ac;--ctp-mocha-maroon-rgb: 235 160 172;--ctp-mocha-maroon-hsl: 350.4 65.217% 77.451%;--ctp-mocha-peach: #fab387;--ctp-mocha-peach-rgb: 250 179 135;--ctp-mocha-peach-hsl: 22.957 92% 75.49%;--ctp-moch... | CSS |
/*
* Copyright (c) 2010 WiYun Inc.
* Author: luma(stubma@gmail.com)
*
* For all entities this program is free software; you can redistribute
* it and/or modify it under the terms of the 'WiEngine' license with
* the additional provision that 'WiEngine' must be credited in a manner
* that can be be observed by e... | C |
387,420 387,420 L448,433 Q448,433 467,421 Q486,409 504,409 Q521,409 539,420 Q557,432 557,432 Z M657,296 Q631,281 584,273 Q537,265 499,265 Q445,265 400,279 Q355,292 340,299 Q354,258 400,232 Q446,206 500,206 Q553,206 599,236 Q645,266 657,296 Z" /></symbol><use xlink:href="#OBSERVED/GVAR-5/10.gid15" x="0" y="0" /></svg></... | HTML |
rocess(double delta)
{
player_stats.delta = (float)delta;
}
public void PlayAnimation(int movement)
{
if (current_dir == Vector2.Left || current_dir == Vector2.Right)
{
anim.FlipH = current_dir.X < 0;
anim.Play("side_" + (movement == 1 ? "walk" : "idle"));
}
else if (current_dir == Vector2.Up... | C# |
split_arburst->out_port[0](s_axi_split_arburst_out_0);
mp_s_axi_split_arburst->add_mask(0,2,0);
mp_s_axi_split_arlock = new xsc::xsc_split<2, 2>("s_axi_split_arlock");
mp_s_axi_split_arlock->in_port(s_axi_arlock);
mp_s_axi_split_arlock->out_port[0](s_axi_split_arlock_out_0);
mp_s_axi_split_arlock->add_mas... | C++ |
{
return put(info.getName(), info);
}
/**
* History contains a stack of prior states of items.
* If an item has not been modified there is no entry in this map.
*
* @return Map of historical states of items within this bundle.
*/
@Nonnull
protected Map<String, Stack<I>> getHistory() {
return history... | Java |
tream(1, 2, 3, 4, 5)
* .foldMonoid(Int.monoid())
* .toList()
* .let(::println) // [15]
* //sampleEnd
* ```
*/
fun <O> Stream<O>.foldMonoid(MO: Monoid<O>): Stream<O> =
MO.run {
fold(empty()) { acc, b -> acc.combine(b) }
}
/**
* Left fold which outputs all intermediate results.
*
* ```kotlin... | Kotlin |
could have been used instead.
You find an example message with plenty of comments in
[Appendix A.5 of RFC 5322](https://datatracker.ietf.org/doc/html/rfc5322#appendix-A.5).
(The example violates a [`SHOULD NOT`](https://datatracker.ietf.org/doc/html/rfc2119#section-4)
[two](https://www.rfc-editor.org/errata/e... | Markdown |
PageSizeForHeight() {
maxAcceptablePageSize := len(m.choices)
if m.requestedPageSize != 0 {
maxAcceptablePageSize = min(len(m.choices), m.requestedPageSize)
}
// try preferred page size first
m.PageSize = maxAcceptablePageSize
m.currentIdx = 0
m.scrollOffset = 0
m.currentChoices, m.availableChoices = m.filte... | Go |
get="_blank" style="color:#2838a9">家庭</a>圆满。怀孕的人梦见与男人裸睡,预示生男,八月占生女,饮食多调节。</p><p>梦见搂着两个女人睡觉的预兆三才配置至为优胜,基础坚实,希望如意,求谋容易达成目的,功名成就,成功后之发展如飞黄腾达,得上位之人所器,受下属所拥护,大幸福之长寿兆。</p><p>梦见搂两个女人睡觉的预兆双火协力攻克一金:因勤勉多闻而在中年或壮年得能以盛运成功,但除非毅力坚强耐久,否则难于有很大之上伸发展,尤须提防言语惹祸或火灾或脑炎之灾害。</p><h2 id='梦见抱着陌生女人睡觉'>梦见抱着陌生女人睡觉</h2> <p>本命年的人梦见抱着陌生女人睡觉,意味着虽然运不顺,可遇... | HTML |
t Process</u>.</a> </li>
<li>Trusted Testers should coordinate with their IT Project Manager regarding remediation details.</li>
</ol>
</p>
<h2> Select template or test results JSON file </h2>
<span id='selectFileHd' ng-hide = "fileInput1" >
<input type="file" class="input" id="fileinput" name="Browse ... | HTML |
"""
개발 환경 설정
"""
from .base import *
from decouple import config
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
ALLOWED_HOSTS = ['localhost', '127.0.0.1']
# Database - 개발 환경에서는 SQLite 사용
DATABASES = {
"default": {
"ENGINE": "django.db.backends.sqlite3",
"NAME": BAS... | Python |
!("The Simple parameter set for '{}' has not been set.", name));
}
}
let parameters = ordered
.iter()
.map(move |&x| {
let s: String = x.into();
let v = self.parameters[&s].clone();
(s, v)
... | Rust |
900000002".to_string());
assert_eq!(aff_tsv_content[3], "1\t3\tleo@dee.com\tLeo\t+886900000003".to_string());
}
assert_eq!(
DiskInterface::get_num_rows("crazyguy", "BookerDB", "Affiliates", Some(file_base_path)).unwrap(),
3
);
let rows: Vec<Row> =
... | Rust |
/******************************************************************************
* Copyright (c) 2010-2012 Transmission authors and contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the S... | C |
[data-name=SelfAsserted] #email_ver_input,
#api[data-name=SelfAsserted] #email_ver_input_label {
margin-top: 2rem;
}
/* LOCAL ACCOUNT REGISTRATION PAGE */
.local-account-registration-container #api[data-name=SelfAsserted] #attributeList > ul > li:nth-child(5) > div,
.local-account-registration-container-1 #api[data... | CSS |
//*****************************************************************************
//
// uartstdio.h - Prototypes for the UART console functions.
//
// Copyright (c) 2007-2017 Texas Instruments Incorporated. All rights reserved.
// Software License Agreement
//
// Texas Instruments (TI) is supplying this software for us... | C |
chunks available for merging")
return next()
}
// Group chunks by their knowledge source ID
knowledgeGroup := make(map[string][]*types.SearchResult)
for _, chunk := range searchResult {
knowledgeGroup[chunk.KnowledgeID] = append(knowledgeGroup[chunk.KnowledgeID], chunk)
}
logger.Infof(ctx, "Grouped chunks ... | Go |
from the developer doc.
// https://docs.aws.amazon.com/general/latest/gr/sigv4_signing.html
TEST(GrpcAwsRequestSignerTest, AWSOfficialExample) {
grpc_error_handle error;
grpc_core::AwsRequestSigner signer(
"AKIDEXAMPLE", "wJalrXUtnFEMI/K7MDENG+bPxRfiCYEXAMPLEKEY", "", "GET",
"https://iam.amazonaws.com/?... | C++ |
comments.user_comments {
utils::match_ignore_case! {
match key {
"TITLE" => tags.title = Some(value),
"ALBUM" => tags.album = Some(value),
"ARTIST" => tags.artist = Some(value),
"ALBUMARTIST" => tags.album_artist = Some(value),
"TRACKNUMBER" => tags.track_number = value.parse::<u32>().ok(),
... | Rust |
ng i_sync =
'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16" height="16" preserveAspectRatio="xMidYMid meet" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M2.006 8.267.78 9.5 0 8.73l2.09-2.07.76.01 2.09 2.12-.76.76-1.167-1.18a5 5 0 009.4 1.983l.... | Dart |
nv, mv: number of true rows/columns in the dense matrix
values: the dense matrix values
*/
void TACSMatDistribute::addValues(TACSParallelMat *mat, int nrow,
const int *row, int ncol, const int *col,
int nv, int mv, const TacsScalar *values) {
... | C++ |
nt prn;
prn = Integer.parseInt(words[satOffset + GPGSV_COL.SAT_PRN]);
elevation = Float.parseFloat(words[satOffset + GPGSV_COL.SAT_ELEV]);
azimuth = Float.parseFloat(words[satOffset + GPGSV_COL.SAT_AZ]);
try {
snr = ... | Java |
c,
"user_excluded_extenstions_staging" : user_excluded_extenstions_staging,
};
save_settings_ajax_request_wptc('save_staging_settings_wptc', request_params);
}
function save_vulns_settings_wptc(){
var enable_vulns_email_wptc = jQuery('input[name=enable_vulns_email_wptc]:checked').val();
var vulns_wptc_se... | JavaScript |
= 500;
damageOnDelay = false;
deathHaveBeenCalled = false;
bulletSpeed = 200;
bulletLifespan = 5000;
fireRate = 5;
playerBullets: Phaser.Physics.Arcade.Sprite[] = [];
shootOnDelay = false;
onDeathSubject = new Subject();
$onDeath = this.onDeathSubject.asObservable();
constructor(scene: Phaser.Sce... | Typescript |
60>. Skipping index creation.
```
## Step 6: Get movie recommendations¶
In [ ]:
Copied!
```
def get_recommendations(query: str, mode: str, **kwargs) -> None:
"""
Get movie recommendations
Args:
query (str): User query
mode (str): Retrieval mode. One of (default, text_search, hybrid)
"... | Markdown |
obj.copy_properties(rtv.frame, next);
}
}
return;
}
rtv.new_line = null;
rtv.next_frame = next;
changeFrames();
let steps = T_STEPS;
if (!rtv.presenting || rtv.keys.meta || rtv.keys.ctrl) {
// make it instant when menu open
steps = 0;
}
rtv.transition.run(steps, next, (targ) =... | JavaScript |
DJ9wxxWL._AC_UY436_FMwebp_QL65_.jpg 2x, https://m.media-amazon.com/images/I/71bDJ9wxxWL._AC_UY545_FMwebp_QL65_.jpg 2.5x, https://m.media-amazon.com/images/I/71bDJ9wxxWL._AC_UY654_FMwebp_QL65_.jpg 3x" alt="Lenovo IdeaPad Slim 1 AMD Ryzen 3 7320U 15.6" HD Thin and Light Laptop (8GB/512GB SSD/Windows 11 Home/MS Offic... | HTML |
rterly",
Annually: "Annually",
} as const;
/**
* The time covered by a budget. Tracking of the amount will be reset based on the time grain.
*/
export type TimeGrainType = (typeof TimeGrainType)[keyof typeof TimeGrainType];
export const TimeframeType = {
WeekToDate: "WeekToDate",
MonthToDate: "MonthToDa... | Typescript |
tion.Binary.Lattice.html#9882" class="Bound">A</a><a id="10242" class="Symbol">)</a> <a id="10251" class="Comment">-- The minimum.</a>
<a id="10291" class="Symbol">:</a> <a id="10293" href="Agda.Primitive.html#326" class="Primitive">Set</a> <a id="10297" class="Symbol">(</a><a id="10298" ... | HTML |
nt(TMRB2TRIG_A::A6OUT2DUAL)
}
#[doc = "Trigger source is CTIMERA7 OUT2, dual edge."]
#[inline(always)]
pub fn a7out2dual(self) -> &'a mut W {
self.variant(TMRB2TRIG_A::A7OUT2DUAL)
}
#[doc = "Trigger source is CTIMERB4 OUT2, dual edge."]
#[inline(always)]
pub fn b4out2dual(self) -... | Rust |
tartEntitiesDetectionJobResponse.fromJson(jsonResponse.body);
}
/// Starts an asynchronous event detection job for a collection of documents.
///
/// May throw [InvalidRequestException].
/// May throw [TooManyRequestsException].
/// May throw [KmsKeyValidationException].
/// May throw [TooManyTagsExcepti... | Dart |
false, // 64
false, true, true, false, true, false, false, true, // 72
false, true, true, false, true, false, false, true, // 80
true, false, false, true, false, true, true, false, // 88
false, true, true, false, true, false, false, true, // 96
true, false, false, true, false, true, true, false, //... | Java |
$a1, $s4
/* AF6958 8007F7B8 C7A600A4 */ lwc1 $f6, 0xa4($sp)
/* AF695C 8007F7BC C7A80090 */ lwc1 $f8, 0x90($sp)
/* AF6960 8007F7C0 3C014120 */ li $at, 0x41200000 # 0.000000
/* AF6964 8007F7C4 44815000 */ mtc1 $at, $f10
/* AF6968 8007F7C8 46083481 */ sub.s $f18, $f6, $f8
/* AF696C 8007F7CC 87B800FA */ lh ... | Assembly |
_MOVEMENT_METAL,ACT_DM_AIR_MOVEMENT), 0)
play_character_sound(m,CHAR_SOUND_YAHOO)
else
m.forwardVel = 0
m.vel.x = 0
m.vel.y = 0
m.vel.z = 0
set_mario_action(m, ifelse(metal_underwater,ACT_DM_GROUNDED_MOVEMENT_METAL,ACT_GROUND_POUND_LAND), 0)
end
return;
end
end
end
--- @param m Mario... | Lua |
/// </summary>
F9 = 120,
/// <summary>
/// F10 Key.
/// </summary>
F10 = 121,
/// <summary>
/// F11 Key.
/// </summary>
F11 = 122,
/// <summary>
/// F12 Key.
/// </summary>
F12 = 123,
/// <summary>
/// F13 Key.
/// </summary>
F13 = 124,
/// <s... | C# |
ctual.SourceTypes)
assert.Equal(t, recipient, actual.Recipient)
assert.Equal(t, false, actual.Disabled)
assert.NotEqual(t, 0, actual.CreatedAt)
assert.NotEqual(t, 0, actual.UpdatedAt)
assert.Equal(t, name, actual.Name)
assert.Equal(t, tags, actual.FeatureFlagTags)
}
func TestUpdateNotification(t *testing.T) {
t... | Go |
0 2.143.962 2.143 2.14a2.147 2.147 0 0 1-2.142 2.142h-2.141V7.89zm-1.08 0a2.147 2.147 0 0 1-2.141 2.142 2.147 2.147 0 0 1-2.141-2.142V2.53c0-1.178.962-2.141 2.141-2.141s2.142.963 2.142 2.141v5.362zm-2.141 8.6c1.179 0 2.142.962 2.142 2.14a2.147 2.147 0 0 1-2.142 2.142 2.147 2.147 0 0 1-2.141-2.141V16.49h2.141zm0-1.08a2... | HTML |
descansar. (Aproveita o lecer para facer deporte e estar en contacto coa natureza. )
2. Estado anímico de quen goza de tranquilidade e sosego. (Desde que ti te fuches xa non tiven máis lecer.)
* lembrar: recordar, acordarse
* lei: ley
* leito: lecho (cama)
* levar: llevar
* Ligazón: link
* limpa: limpia
* Lingua:... | Markdown |
.roleArn.toString()
trainingJobName = values.trainingJobName.toString() + UUID.randomUUID()
s3OutputPath = values.s3OutputPath.toString()
channelName = values.channelName.toString()
trainingImage = values.trainingImage.toString()
}
@Test
@Order(1)
fun... | Kotlin |
return TermCall {
// fun: self.make_term(fun, reads[0]),
// args: vec![Term::Binary(bin.into()).into()],
// };
//}
OpKind::MapPut { action } => {
let map_term = self.make_term(fun, reads[2]);
println!("{:#?}", m... | Rust |
Events(Voodoo_VerticalTimer);
voodoo_leave();
VGA_SetOverride(false);
vdraw.override_on=false;
}
if ((v->clock_enabled && v->output_on) && !vdraw.override_on) {
// switching on
PIC_RemoveEvents(Voodoo_VerticalTimer); // shouldn't be needed
// TODO proper implementation of refresh rates and timings
... | C++ |
return prefPinEnabled && prefPin != null && prefPin.length >= 4
}
}/*
Privacy Friendly To-Do List
Copyright (C) 2024-2025 Christian Adams
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 v... | Kotlin |
expect(grid.isAppleInside(new Cell(99, 99))).toBe(false);
});
it("should remove apple", () => {
const grid = new Grid(configuration);
const apple = grid.getApples()[1];
grid.removeApple(apple);
expect(grid.isAppleInside(apple)).toBe(false);
expect(grid.getApples().length).toBe(4);
});
it("... | Typescript |
orIO, B>): IO<Tuple2<A, B>> =
arrow.fx.IO.apply().run {
this@product.product<A, B>(arg1) as arrow.fx.IO<arrow.core.Tuple2<A, B>>
}
@JvmName("product1")
@Suppress(
"UNCHECKED_CAST",
"USELESS_CAST",
"EXTENSION_SHADOWED_BY_MEMBER",
"UNUSED_PARAMETER"
)
@Deprecated(IODeprecation)
fun <A, B, Z> Kind<ForIO, ... | Kotlin |
()
val out = if(!this::output.isInitialized) {
file.resolveSibling(file.name + ".spv")
} else {
output
}
val type = when(file.name.substringAfterLast(".").lowercase()) {
"vert" -> ShaderType.VertexShader
"frag" -> ShaderType.FragmentShader... | Kotlin |
ppercaseString;
- (const char *)lossyCString;
- (unsigned long long)maximumLengthOfBytesUsingEncoding:(unsigned long long)arg0;
- (_NSRange)paragraphRangeForRange:(_NSRange)arg0;
- (id)precomposedStringWithCanonicalMapping;
- (id)precomposedStringWithCompatibilityMapping;
- (id)propertyListFromStringsFileFormat;
- (id)... | Markdown |
n, m, sn = input().split()
# n = int(input())
# m = int(input())
# sp = int(input())
n = int(n)
m = int(m)
sn = int(sn)
dfs_node = [[] for _ in range(1001)]
bfs_node = [[] for _ in range(1001)]
dfs_vis = [False for _ in range(1001)]
bfs_vis = [False for _ in range(1001)]
while m > 0:
x, y = input().split()
x... | Python |
нгізуіңізді сұраймыз.",
email: "Нақты электронды поштаңызды енгізуіңізді сұраймыз.",
url: "Нақты URL-ды енгізуіңізді сұраймыз.",
date: "Нақты URL-ды енгізуіңізді сұраймыз.",
dateISO: "Нақты ISO форматымен сәйкес датасын енгізуіңізді сұраймыз.",
number: "Күнді енгізуіңізді сұраймыз.",
digits: "Тек қана санда... | JavaScript |
tedScrollMode.Translate,
val refreshEnabled: Boolean = true,
val loadMoreEnabled: Boolean = true,
@FloatRange(from = 0.0, fromInclusive = false) val refreshTriggerRate: Float = 1f,
@FloatRange(from = 0.0, fromInclusive = false) val loadMoreTriggerRate: Float = 1f,
@FloatRange(from = 1.0) val headerM... | Kotlin |
if (Configuration.Interface.ScanDisplay)
{
String libraBaseMessage = $"[{NGUIText.Center}]";
if ((infos & LibraInformation.Name) != 0)
libraBaseMessage += GetLibraMessages(pBtl, LibraInformation.Name)[0];
if ((infos & LibraInformation.Level) != 0)
... | C# |
-> VirtualMachine {
flame_guard!("new VirtualMachine");
let ctx = Context::default();
// make a new module without access to the vm; doesn't
// set __spec__, __loader__, etc. attributes
let new_module = || {
PyRef::new_ref(
PyModule {},
... | Rust |
/summary>
public int StartSP
{
get { return m_startSP; }
}
/// <summary>
/// Gets the number of SP this skill will have once the training is over
/// </summary>
public int EndSP
{
get { return m_endSP; }
}
/// <sum... | C# |
HT_SLIDERS > 0
/*
* RIGHT sliders
*/
tYPosition = SLIDER_AND_BUTTON_START_Y;
for (uint8_t i = 0; i < NUMBER_OF_RIGHT_SLIDERS; i++) {
// Right sliders with index from NUMBER_OF_LEFT_SLIDERS to NUMBER_OF_LEFT_SLIDERS + NUMBER_OF_RIGHT_SLIDERS - 1
InitSliderFromSliderStaticInfoStruct(... | C++ |
x: number;
}
export const enum IncrementResult {
/**
* No thresholds crossed as a result of this increment operation
*/
Pending,
/**
* The threshold for the targeted activity index was crossed as a result of this increment operation
*/
SingleActivityActivated,
/**
* The thre... | Typescript |
727113, -0.64554608, -0.75882649, 0.74902630, 0.08275570, -0.63156956, 0.24536903, 0.59377801, -0.89150536, -1.02867675, -0.64945132, 0.36196160, -0.58687025, 0.30066743, 0.46201062, -0.00785344, -0.45357323, 0.82313406, 0.72542375, -0.08216325, -0.43199116, 0.16472621, -0.07365507, 0.01358319, -0.21530707, 0.11380975,... | Lua |
/*
* The MIT License (MIT)
*
* Copyright (c) 2014-2018, Erik Moqvist
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights t... | C |
let y = Math.min(beam.y1, beam.y2);
let w = Math.abs(beam.x2 - beam.x1);
let h = Math.abs(beam.y2 - beam.y1);
this.mapManager.redrawSector(x, y, w, h);
this.redrawSpritesInSector(x, y, w, h);
delete this.drawnBeams[index];
}
}
priv... | Typescript |
").value);
//
// for (var i = 0; i < files.length; i++){
// console.log("文件数目:"+files.length);
// var file=files[i];
// formData.append("myImage"+i,file);
// console.log("file:"+file.name);
// }
//
// var xhr = new XMLHttpReque... | HTML |
lsrs tos, tos, #11
movs r2, #1
ands tos, r2
lsls tos, tos, #10
movs r3, r1
lsrs r3, r3, #12
movs r2, #0xF
ands r3, r2
orrs tos, r3
ldr r3, =0xF2C0
orrs tos, r3
push {r0, r1}
bl _current_comma_2
pop {r0, r1}
push_tos
movs tos, r1
movs r2, #0xFF
ands tos, r2
lsrs r1, r1, #8
movs r2, #7
ands r1, r2
ls... | Assembly |
/*
* This file is part of the Sofia-SIP package
*
* Copyright (C) 2005 Nokia Corporation.
*
* Contact: Pekka Pessi <pekka.pessi@nokia.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software F... | C |
stance();
return prefs!.getString(AppConstants.LOCAL_ID) ;
}
/// clear local app data
Future<void> clear() async {
prefs = await LocalStorage.getInstance();
await prefs!.remove(AppConstants.API_TOKEN);
await prefs!.remove(AppConstants.LOCAL_ID);
await prefs!.clear();
}
}
import 'package:f... | Dart |
from those for someone in Tokyo.
*
* The arithmetic on [LocalDate] values is defined independently of the time zone (so `2020-08-30` plus one day
* is `2020-08-31` everywhere): see various [LocalDate.plus] and [LocalDate.minus] functions, as well
* as [LocalDate.periodUntil] and various other [*until][LocalDate.da... | Kotlin |
e45bf6);
var icon_aebe72931854f93d985b417880d7ff02 = L.AwesomeMarkers.icon(
{"extraClasses": "fa-rotate-0", "icon": "info-sign", "iconColor": "white", "markerColor": "red", "prefix": "glyphicon"}
);
marker_bca18143ae660c3ddaede28859506424.setIcon(icon_ae... | HTML |
=> {
const btn = document.createElement("button");
btn.className = "suggestion-btn";
btn.textContent = suggestionText;
btn.onclick = () => {
sendMessage(suggestionText);
};
suggestionsContainer.appendChild(btn);
});
... | HTML |
<a href="terminal_interface-curses-forms__ads.htm#ref_144_12">Form_Request_Code</a> <b>renames</b> <a href="terminal_interface-curses-forms__ads.htm#ref_171_4">F_Begin_Field</a>;
REQ_END_FIELD : <a href="terminal_interface-curses-forms__ads.htm#ref_144_12">Form_Request_Code</a> <b>renames</b> <a href="terminal_i... | HTML |
/isr [1] do
outer.i = 2;
end
await FOREVER;
with
i = 1;
end
escape 1;
]],
todo = 'acc',
acc = 'line 9 : access to symbol "i" must be atomic (vs variable/event `i` (/tmp/tmp.ceu:5))',
_opts = { ceu_features_isr='dynamic' },
}
Test { [[
input int PIN02;
var int i = 0;
par/or do
spawn ... | Lua |
// print first row cell, then subsequent cells with *cell_sep* as prefix
s << right_justify(num_beg->c, col_width[col_num]);
std::for_each(std::next(num_beg), std::end(row.cells), [&](const auto& v) {
const auto width = col_width[++col_num];
const auto aligned_cell = v.align ... | C |
FrameCallback((_) {
task(shouldAsync);
});
} else {
scheduleMicrotask(() {
if (_resolvingCount == 0) {
_execute(_syncScriptTasks, async: false);
}
});
}
}
}
// https://www.w3.org/TR/2011/WD-html5-author-20110809/the-link-element.html
class ScriptElement ext... | Dart |
ittedEmailAddresses)
}
if v5.Leaf.ExcludedEmailAddresses != nil {
cp_Cloud_TLSConfig_NameToCertificate_v5.Leaf.ExcludedEmailAddresses = make([]string, len(v5.Leaf.ExcludedEmailAddresses))
copy(cp_Cloud_TLSConfig_NameToCertificate_v5.Leaf.ExcludedEmailAddresses, v5.Leaf.ExcludedEmailAddresses)
... | Go |
reateEtchedBorder());
this.tDateLPermiTravail.setDateFormatString("dd/MM/yy");
this.tDateLPermiTravail.setFont(new Font("Segoe UI Light", 1, 12));
this.jLabel50.setFont(new Font("Segoe UI Light", 0, 12));
this.jLabel50.setForeground(new Color(0, 102, 153));
this.jLabel50.setText("Date d'ex... | Java |
max_ = max$1(r, g, b);
var delta = max_ - min_;
var h,s,v;
v = max_ / 255.0;
if (max_ === 0) {
h = Number.NaN;
s = 0;
} else {
s = delta / max_;
if (r === max_) { h = (g - b) / delta; }
if (g === max_) { h = 2+(b - r) /... | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.