content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
e used rarely
--CASTLE02=1
--CASTLE03=1
--CASTLE06=1
}
floors =
{
F_008=25
F_009=10
F_012=10
F_013=10
F_015=10
F_022=10
F_076=5
}
ceilings =
{
F_008=25
F_009=10
F_012=10
F_013=10
F_015=10
F_022=10
... | Lua |
ontainer .page-flex .page-main[data-v-3a7479d2]{flex:0 0 100%;max-width:calc(100% - 200px)}.page-container.page-mobile[data-v-3a7479d2]{border-radius:0;padding:1rem}ul.ul-container[data-v-3a7479d2]{width:100%;display:block;margin-bottom:1rem}ul.ul-container .ul-container_title[data-v-3a7479d2]{width:100%;color:#ff6b6b;... | CSS |
ngClass", equalTo(StructrTraits.GRAPH_OBJECT))
.body("result[1].type", equalTo("String"))
.body("result[1].jsonName", equalTo("type"))
.body("result[1].dbName", equalTo("type"))
.body("result[1].declaringClass", equalTo(StructrTraits.GRAPH_OBJECT))
.body("result[2].type", equalTo("String"))
.bod... | Java |
nebol nastavený tajný kľúč pre generovanie overovacích kódov/TOTP tokenov v rámci dvojfaktorovej autentifikácie (pozri <a href="entering_pwd_add.html">karta Doplňujúce</a>).<br>
Keď je nastavený tajný kľúč, pole je aktívne, a aktuálny overovací kód je možné zobraziť kliknutím na "oko", ktoré sa zobrazí napravo od poľa... | HTML |
ar selectedItem = null,
movies = [
{
Title: "The Red Violin",
Languages: [
{ Name: "English" },
{ Name: "French" }
]
},
{
Title: "Eyes Wide Shut",
Languages: [
{ Name: "French" },
{ Name: "German" },
{ Name: "Spanish" }
]
},
{
Title: "The Inheritanc... | HTML |
op 3
v_mov_b32 v[v_in_hi_sshift], s[s_in_hi_sshift]
s_mov_b32 s[s_tmp], 0
v_mov_b32 v[v_in_wi_sshift], s[s_in_wi_sshift]
; coalescing store, mapping:mt_m:64, mt_n:64, wt_m:16, wt_n:16, ws:4, r_m:2, r_n:2, s_m:1, s_n:1 | 4x4x4, lanegroup_m_tcbw:4x1x1x1, lanegroup_n_tcbw:1x4x1x1
; coalescing_groups:2,... | Assembly |
op">\n <td style="background-color:rgb(255, 248, 143)"><span></span></td>\n <td style="background-color:rgb(211, 248, 182)"><span></span></td>\n <td style="background-color:rgb(175, 250, 209)"><span></span></td>\n <td style="background-color:rgb(177, 255, 255)"><span></span></td>\n <td style="b... | JavaScript |
, damageEffectiveness = 1.5, critChance = 7, levelRequirement = 78, manaCost = 51, statInterpolation = { }, },
[25] = { 47, 900, 337, 505, 276, 413, 1400, -35, damageEffectiveness = 1.5, critChance = 7, levelRequirement = 80, manaCost = 52, statInterpolation = { }, },
[26] = { 51, 978, 366, 549, 299, 449, 1400, -35... | Lua |
r: #32373c;
}
.wp-embed .wp-embed-more {
color: #b4b9be;
}
.wp-embed-footer {
display: table;
width: 100%;
margin-top: 30px;
}
.wp-embed-site-icon {
position: absolute;
top: 50%;
left: 0;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
height: 25px;
width: 25px;
border: 0;
}
.wp-embed-... | CSS |
birthyr=int(input("enter your birth year:-"))
age=2024-birthyr
print("the age of thr user is:",age)
| Python |
the
/// file system of the mount target that you specify in
/// <code>MountTargetId</code>.
///
/// May throw [BadRequest].
/// May throw [InternalServerError].
/// May throw [FileSystemNotFound].
/// May throw [MountTargetNotFound].
/// May throw [AccessPointNotFound].
///
/// Parameter [accessPoin... | Dart |
EAP8[i3 >> 0] = HEAP8[i6 >> 0] | 0;
i3 = i3 + 1 | 0;
i6 = i6 + 1 | 0;
i1 = i1 - 1 | 0;
}
i1 = i4 & -4 | 0;
i2 = i1 - 64 | 0;
while ((i3 | 0) <= (i2 | 0)) {
HEAP32[i3 >> 2] = HEAP32[i6 >> 2];
HEAP32[i3 + 4 >> 2] = HEAP32[i6 + 4 >> 2];
HEAP32[i3 + 8 >> 2] = HEAP32[i6 + 8 >> 2];
HEAP32[i3 + 12... | JavaScript |
ags<T> && other.value == value);
@override
int get hashCode => value.hashCode;
@override
String defaultToString() => 'Flags<$T>($value)';
}
/// A flag within a set of [Flags].
class Flag<T extends Flags<T>> extends Flags<T> {
/// Create a new [Flag].
const Flag(super.value);
/// Create a new [Flag] fr... | Dart |
Point{Y: 3}, player.Direction())
c.Core.Tasks.Add(func() {
c.skillSnapshot = c.Snapshot(&ai)
c.Core.QueueAttackWithSnap(
ai,
c.skillSnapshot,
combat.NewCircleHitOnTarget(screenPos, nil, 5),
0,
c.particleCB,
)
}, skillHitmark)
// put skill on cd first then check for construct/c2
c.SetCD(action... | Go |
-spacing: 0.1em;
color: #666;
font-weight: 700;
display: inline-block;
}
.codrops-top a:hover {
background: rgba(255,255,255,0.5);
color: #000;
}
.codrops-top span.right {
float: right;
}
.codrops-top span.right a {
float: left;
display: block;
}
.codrops-icon:before {
font-family: 'codropsicons';
margin:... | CSS |
#include "death_pose.h"
#include "voice_status.h"
#include "interpolatortypes.h"
#include "smokegrenade_projectile.h"
#include "effect_dispatch_data.h" //for water ripple / splash effect
#include "c_te_effect_dispatch.h" //ditto
#include "c_te_legacytempents.h"
#include "cs_gamerules.h"
#include "fx_cs_blood.h"
#incl... | C++ |
.165.04.165.107zm-.612-.05c-.018.058-.107.085-.183.058-.085-.017-.143-.084-.125-.142.018-.058.107-.085.183-.067.09.026.148.093.125.151zm-.549-.24c-.04.049-.125.04-.192-.027-.067-.058-.085-.143-.04-.183.04-.05.125-.04.192.026.058.058.08.148.04.183zm-.406-.407c-.04.027-.116 0-.165-.067-.05-.067-.05-.143 0-.174.049-.04.12... | HTML |
t WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Publi... | Java |
:**
```php
$addOne = function ($v) {
return $v + 1;
};
$triple = function ($v) {
return $v * 3;
};
$square = function ($v) {
return $v * $v;
};
$piped = Dash\pipe($addOne, $triple, $square);
$piped(1); // === 36
```
**Example:** First function can accept multiple arguments
```php
$pow = function ($base, $exp) {
... | Markdown |
()
obj.NotContainsKey("error")
obj.NotContainsKey("reason")
obj.ValueEqual("result", "created")
obj.Value("name").String().NotEmpty()
obj.Value("id").String().NotEmpty()
})
t.Run("ReDefineIndex", func(t *testing.T) {
e := testutils.CreateTestClient(t, ts.URL)
obj := e.POST("/data/"+Type+"/_index").
... | Go |
(set, result, "\uD83E\uDD13","1f913.png",":nerd_face:",":nerd:","Smileys & Emotion","8.0");
add(set, result, "\uD83E\uDD14","1f914.png",":thinking:",":thinking_face:","Smileys & Emotion","8.0");
add(set, result, "\uD83E\uDD15","1f915.png",":face_with_head_bandage:",":head_bandage:","Smileys & Emotion","... | Java |
' viewBox='0 0 8 8'%3e%3cpath fill='%231cc88a' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e") #fff no-repeat center right 1.75rem/calc(.75em + .375rem) calc(.75em + .375rem)}.custom-select.is-valid:focus,.was-validated .custom-select:valid:foc... | CSS |
ch 是实现自定义正则化的灵活框架。
## 示例:分类餐馆评论的情感
在上一节中,我们通过一个玩具示例深入研究了有监督的训练,并阐述了许多基本概念。在本节中,我们将重复上述练习,但这次使用的是一个真实的任务和数据集:使用感知器和监督训练对 Yelp 上的餐馆评论进行分类,判断它们是正面的还是负面的。因为这是本书中第一个完整的 NLP 示例,所以我们将极其详细地描述辅助数据结构和训练例程。后面几章中的示例将遵循非常相似的模式,因此我们鼓励您仔细遵循本节,并在需要复习时参考它。
在本书的每个示例的开头,我们将描述正在使用的数据集和任务。在这个例子中,我们使用 Yelp 数据集,它将评论与它们的情感标签(正面或负面)配对。此外,我们... | Markdown |
WmlComparerSettings settings)
{
Package packageOfDeletedContent = wDocDelta.MainDocumentPart.OpenXmlPackage.Package;
Package packageOfNewContent = consolidatedWDoc.MainDocumentPart.OpenXmlPackage.Package;
PackagePart partInDeletedDocument = packageOfDeletedContent.GetPart(wDo... | C# |
N)
inputs.property("riderDotNetSdk", riderDotNetSdk.map { it.absolutePathString() })
outputs.file(dotNetSdkGeneratedPropsFile)
doLast {
val riderSdkPath = riderDotNetSdk.get().absolutePathString()
dotNetSdkGeneratedPropsFile.writeText("""<Project>
<PropertyGroup>
<D... | Kotlin |
= 4111;
public static final int SCHEDULEFRIDAY = 4112;
public static final int SCHEDULESATURDAY = 4113;
public static final int SCHEDULESUNDAY = 4114;
public stati... | Java |
om 'rxjs'
import { map } from 'rxjs/operators'
@Injectable()
export class PurifyInterceptor implements NestInterceptor {
intercept(context: ExecutionContext, next: CallHandler<any>): Observable<any> | Promise<Observable<any>> {
return next.handle().pipe(map(this.parseLesson))
}
private parseLesson(rawLesson... | Typescript |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HigLabo.Web.UI
{
public class InputPropertyDateDropDownListPanel : InputPropertyPanel
{
public class RootFlexPanel
{
public Html... | C# |
ctor<SchemaChange>& changes, uint64_t version);
void verify_schema_version_not_decreasing(uint64_t version);
Schema get_full_schema();
// Ensure that m_schema and m_schema_version match that of the current
// version of the file
void read_schema_from_group_if_needed();
void add_schema_change_h... | C++ |
阅读并接受',
'auction.meet': '我已检查并符合',
'auction.term.0': '政策条款',
'auction.term.2': '隐私条款',
'auction.accept': '接受并签名',
'auction.contribute': '支持竞拍',
'auction.email': '邮箱(选填)',
'auction.amount': '数量',
'auction.amount.error': '数量,最低限额',
'auction.amount1': '贡献数量(DOT)',
'auction.balance': '可用余额',
'auction.... | Dart |
uery_mcu_state(b"\x00\x00\x00", False)
device.query_mcu_state(b"\x01\x01\x01", False)
device.mcu_switch_to_fdt_down(
b"\x9c\x01\x27\x01\x21\x01\x27\x01"
b"\x23\x01\x8d\x8d\x86\x86\x97\x97"
b"\x8f\x8f\x9b\x9b\x92\x92\x96\x96"
b"\x8... | Python |
model.to(device)
fused_graph_learner.to(device)
specific_graph_learner = [m.to(device) for m in specific_graph_learner]
if discriminator is not None:
discriminator.to(device)
# training bookkeeping
for epoch in range(1, args.epochs + 1):
model.tr... | Python |
pop': 30932,
'state': 'GA'
},
{
'_id': '30137',
'city': 'EMERSON',
'loc': [-84.75704500000001, 34.119969],
'pop': 1353,
'state': 'GA'
},
{
'_id': '30139',
'city': 'FAIRMOUNT',
'loc': [-84.76687800000001, 34.465241],
'pop': 3405,
'state': 'GA'
},
{
'_id': '3014... | Dart |
0, 0x040000);
flipscreen = 0;
framebuffer_page = 0;
}
static void create_transtile_table(INT32 tile)
{
INT32 size = (tile) ? (16 * 16) : (8 * 8);
if (tilemask[tile]) {
INT32 len = (tilemask[tile] + 1);
transtiletab[tile] = (UINT8*)BurnMalloc(len);
memset (transtiletab[tile], 1, len);
for (INT32 i = ... | C++ |
动员全党全民大搞反瞒产运动,来解决安排生活问题。因此,他在这个会议上的结论仍然是:“集中精力,全党全民总动员,核实产量,搞好分配,安排好生活,开展政治攻势,进行两条道路斗争,打击敌人破坏活动。”
</p>
<p>
特别严重的是12月17号,王汉卿亲自主持在长竹园公社召开了粮食现场会议,这个会议主要的目的是证实下边粮食还多的很,粮食问题是思想问题,工作问题,两条道路斗争问题。因此,在这个会上,采取了算大帐的办法,对公社、大队分配了“工作量”,以空头指标进行安排生活。张崑山书记在会上如实地反映了上石桥公社的情况说:“上石桥的情况不好,浮肿病还在发展,死人严重,要采取措施,解决问题。”王汉卿手指着张崑山书记批评说:“你就没有... | HTML |
zLmRlZmF1bHRcbmlmIChfX3Z1ZV90ZW1wbGF0ZV9fKSB7XG4odHlwZW9mIG1vZHVsZS5leHBvcnRzID09PSBcImZ1bmN0aW9uXCIgPyAobW9kdWxlLmV4cG9ydHMub3B0aW9ucyB8fCAobW9kdWxlLmV4cG9ydHMub3B0aW9ucyA9IHt9KSkgOiBtb2R1bGUuZXhwb3J0cykudGVtcGxhdGUgPSBfX3Z1ZV90ZW1wbGF0ZV9fXG59XG5cblxuXG4vKioqKioqKioqKioqKioqKipcbiAqKiBXRUJQQUNLIEZPT1RFUlxuICoqIC9Vc2V... | JavaScript |
new disasm_insn_t("vsm.v", match_vsm_v, mask_vsm_v, v_st_unit));
// handle vector segment load/store
for (size_t elt = 0; elt <= 7; ++elt) {
const custom_fmt_t template_insn[] = {
{match_vle8_v, mask_vle8_v, "vl%se%d.v", v_ld_unit},
{match_vse8_v, mask_vse8_v, "vs%se%d.v", ... | C++ |
ês
* para maiores detalhes.
*
* Você deve ter recebido uma cópia da GNU LGPL versão 3, sob o título
* "LICENCA.txt", junto com esse programa. Se não, acesse <http://www.gnu.org/licenses/>
* ou escreva para a Fundação do Software Livre (FSF) Inc.,
* 51 Franklin St, Fifth Floor, Boston, MA 02111-1301, USA.
*/
pac... | Java |
.last()?;
let [_, offs_values] = line_offs(&csl.dims, &indcs, csl.offs.as_ref())?;
let start = offs_values.start;
if let Ok(x) = csl.indcs.as_ref().get(offs_values)?.binary_search(innermost_idx) {
start.checked_add(x)
} else {
None
}
}
#[inline]
pub(crate) fn line_offs<const D: usize>(
dims: &[usiz... | Rust |
full namespaced element tag - returns FALSE on error"],xmlwriter_write_pi:["bool xmlwriter_write_pi(resource xmlwriter, string target, string content)","Write full PI tag - returns FALSE on error"],xmlwriter_write_raw:["bool xmlwriter_write_raw(resource xmlwriter, string content)","Write text - returns FALSE on error"... | JavaScript |
UlamCode(fp);
fp->write("const s32 ");
fp->write(m_state.getTmpVarAsString(Int, tmpVarPos, TMPREGISTER).c_str());
fp->write(" = ");
fp->write(m_state.getGetRelPosMangledFunctionName(vuti,false)); //UlamClass Method
fp->write("(uc, ");
fp->write(m_state.getTmpVarAsString(Int, tmpVarType, TMPREGIS... | C++ |
lbl_80371B2C
/* 80371B3C 0036D79C 4B EF CC 49 */ bl OSRestoreInterrupts
/* 80371B40 0036D7A0 7F E3 FB 78 */ mr r3, r31
/* 80371B44 0036D7A4 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80371B48 0036D7A8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80371B4C 0036D7AC 7C 08 03 A6 */ mtlr r0
/* 80371B50 0036D7B0 38 21 00 10 */ addi r1, ... | Assembly |
rray of offsets (one per mark class) to Anchor tables. |
// | | | Offsets are from beginning of BaseArray table, ordered by class (offsets may be NULL). |
// +--------------+-----------------------------------+----------------... | C# |
anchor)
{
struct urb *victim;
unsigned long flags;
spin_lock_irqsave(&anchor->lock, flags);
while (!list_empty(&anchor->urb_list)) {
victim = list_entry(anchor->urb_list.prev, struct urb,
anchor_list);
__usb_unanchor_urb(victim, anchor);
}
spin_unlock_irqrestore(&anchor->lock, flags);
}
EXPORT_SYMBO... | C |
To stop: gemini-launcher stop %s\n", sess.ID)
return nil
}
```
### Auto-Detection
```go
type ProfileDetector struct {
patterns map[string]*DetectionPattern
scorer *MatchScorer
}
type DetectionPattern struct {
Files []string
Indicators map[string]string
Weight float64
}
func (... | Markdown |
LOP.AND.NZ P0, RZ, loopN, 16;\n",
j0c28 => "--:-:-:-:1 ISETP.GE.AND P1, PT, loopN, 32, P0;\n",
j2c34 => "--:-:-:-:1 \@P0 $convert storeI7, loadI7.H1;\n",
j2c38 => "--:-:-:-:1 \@P0 $convert storeI6, loadI7.H0;\n",
j2c42 => "--:-:-:-:1 \@P0 $convert storeI5, loadI6.H... | CSS |
rectangle conceptually includes all points (lat, lng) where
/// * lat ∈ [`southwest.latitude`, `northeast.latitude`]
/// * lng ∈ [`southwest.longitude`, `northeast.longitude`],
/// if `southwest.longitude` ≤ `northeast.longitude`,
/// * lng ∈ [-180, `northeast.longitude`] ∪ [`southwest.longitude`, 180[,
/// if `no... | Dart |
hashIndexBase = config.hashOneBasedIndex ? 1 : 0;
if( indexh > 0 || indexv > 0 || indexf !== undefined ) url += indexh + hashIndexBase;
if( indexv > 0 || indexf !== undefined ) url += '/' + (indexv + hashIndexBase );
if( indexf !== undefined ) url += '/' + indexf;
}
return url;
}
/**
* Checks if the... | JavaScript |
“……比企谷君。”<br />“干嘛?”<br />在我为自己究竟会被经过如此长时间的考虑的雪之下用何种凄惨的方式痛骂而心跳不止之时,雪之下走到我正前方正视我。<br />“如果能再争取十分钟的话,有把握找到相模吗?”<br />“嘛……”<br />“……只能说,不知道。”<br />“是吗,也就是说并不是完全不可能吗。这就够了。”<br />雪之下用明确的回答回应了我的不明确的回答。<br />“没有惩罚。……不过帮我会有好处。”“怎么样的?”<br />就像是有极大兴趣一般阳乃小姐呼呼地笑了。为了消解来自那美丽又扭曲的笑脸释放的压力,雪之下把手放在自己胸前。<br />“能够让我雪之下雪乃欠你一个人情。至于能不能把握住这个机会... | HTML |
v_frq2_SHIFT, r8 // build mask for frequency select field
and r8, r17, r17
bic r14, r8, r14 // clear out old frequency select bits
or r17, r14, r14 // or in new frequency select info
//orig store_reg1 pmctr_ctl, r14, r12, ipr=1 // update pmctr_ctl register
SAVE_SHADOW(r14,C... | Assembly |
..write('url: $url, ')
..write('extractedContentPlain: $extractedContentPlain, ')
..write('fullContentPlain: $fullContentPlain')
..write(')'))
.toString();
}
@override
int get hashCode =>
Object.hash(title, url, extractedContentPlain, fullContentPlain);
@ove... | Dart |
== id {
return true
}
}
return false
}
// pushNode adds n to the front of list, keeping at most max items.
func pushNode(list []*node, n *node, max int) ([]*node, *node) {
if len(list) < max {
list = append(list, nil)
}
removed := list[len(list)-1]
copy(list[1:], list)
list[0] = n
return list, removed
... | Go |
positeRule=C.compositeRule=c,h+=" if (!"+y+") { for (var "+o+"=startErrs"+d+"; "+o+"<errors; "+o+"++) { vErrors["+o+"].propertyName = "+i+"; } var err = ",!1!==e.createErrors?(h+=" { keyword: 'propertyNames' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(t)+" , params: { proper... | HTML |
Version(Map<String, dynamic> revertData) async {
try {
AppLogger.d('ApiClient', '回退片段版本: $revertData');
final response = await post('/novel-snippets/revert-to-version', data: revertData);
return response;
} catch (e) {
AppLogger.e('ApiClient', '回退片段版本失败', e);
rethrow;
}
}
... | Dart |
print("Let's check no is POSITIVE or NEGATIVE")
n=int(input("Enter no:"))
if n>0:
print("no is POSITIVE")
elif n<0:
print("no is NEGATIVE")
else:
print("no is ZERO")
| Python |
if ace:LoadTranslation("FuBar_ExperiencedLocals") then return end
FuBar_ExperiencedLocals = {
NAME = "FuBar - Experienced",
DESCRIPTION = "Display experience information.",
CHATCMD = {"/fuxpe", "/fubar_exper"},
CHATOPT = {},
ARGUMENT_BYLEVEL = "byLevel",
ARGUME... | Lua |
ivethree/commit/f36d686))
- **ripple:** fix touch action prevent scroll ([8344ef7](https://github.com/fivethree-team/fivethree/commit/8344ef7))
- **stepper:** fix header ripple ([e3e73e5](https://github.com/fivethree-team/fivethree/commit/e3e73e5))
- **stepper:** fix toggle if already open ([dea205a](https://github.com... | Markdown |
if (response.statusCode == 200) {
return Future.value();
} else {
return Future.error(
ErrorResult.create('Error', jsonDecode(response.body)));
}
}
}
// Copyright 2021 Kwai, Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use... | Dart |
to_string("SampleScene.txt")
.expect("Something went wrong reading the file");
for (row, line) in contents.lines().enumerate() {
for (column, contant) in line.split(" ").enumerate() {
if contant == "1" {
map.set_block(
Poi... | Rust |
g":{"other":"{0} درجة مئوية"},"short":{"other":"{0}°م"},"narrow":{"other":"{0}°م"},"perUnit":{}},"fahrenheit":{"long":{"other":"{0} درجة فهرنهايت"},"short":{"other":"{0}°ف"},"narrow":{"other":"{0} د ف"},"perUnit":{}},"liter":{"long":{"other":"{0} لتر","one":"لتر"},"short":{"other":"{0} لتر","one":"لتر"},"narrow":{"othe... | JavaScript |
from typing import Dict, Any, List, Tuple
from PIL import Image
from mmengine import DATASETS, TRANSFORMS, METRICS, FUNCTIONS, Registry
from ..conversation import Conversation
IMAGE_PLACEHOLDER = '<image>'
BOXES_PLACEHOLDER = '<boxes>'
EXPR_PLACEHOLDER = '<expr>'
OBJS_PLACEHOLDER = '<objs>'
QUESTION_PLACEHOLDER = '<... | Python |
: "#ff0000", "fillOpacity": 0.4, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 0.4, "smoothFactor": 1.0, "stroke": true, "weight": 3}
).addTo(map_54ad09dce8614f74b879b783ce0904ac);
polygon_8283da2581494ea484a267d9e7b7ac22.bindTooltip(
... | HTML |
# Copyright (c) 2015 Hitachi Data Systems, Inc.
# 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
#
# U... | Python |
10.0899 13 6.5C13 2.91014 10.0899 0 6.5 0ZM5.66211 8.88672C5.66211 8.52212 5.95767 8.22656 6.32227 8.22656C6.68686 8.22656 6.98242 8.52212 6.98242 8.88672C6.98242 9.25132 6.68686 9.54688 6.32227 9.54688C5.95767 9.54688 5.66211 9.25132 5.66211 8.88672ZM7.25488 4.43727C7.35652 4.60358 7.34763 4.81483 7.23236 4.97201L7.1... | HTML |
onTabWidgetUpdate(event: TabWidgetChangeEvent) {
cookieTabWidgetRegex.anyMatch(event.new, "duration") { (duration) ->
val parsedDuration = duration.parseDuration() ?: return@anyMatch
updateBoosterCookieExpireTime(parsedDuration)
}
godPotionWidgetRegex.anyMatch(event.new,... | Kotlin |
st_ptr[2*8] = dcval_clamped;
pDst_ptr[3*8] = dcval_clamped;
pDst_ptr[4*8] = dcval_clamped;
pDst_ptr[5*8] = dcval_clamped;
pDst_ptr[6*8] = dcval_clamped;
pDst_ptr[7*8] = dcval_clamped;
}
};
static const uint8_t s_idct_row_table[] = {
1,0,0,0,0,0,0,0, 2,0,0,0,0,0,0,0, 2,1... | C++ |
"""Fetcher Module - Збирач даних з iTunes API
Модуль для збору даних про платні додатки з публічних API Apple.
"""
__version__ = "1.0.0"
__author__ = "010io Team"
| Python |
e;
public:
// --------------------------------------------------------------------- //
// SIDELENGTH
// --------------------------------------------------------------------- //
/// The length of each side of the equilateral triangle.
///
/// | ||
/// | -- | -- |
/// | Declaration | `dou... | C |
LABEL, GET_TEXT(A), GET_TEXT(B), ##V)
#define CONFIRM_ITEM(LABEL, V...) CONFIRM_ITEM_P(GET_TEXT(LABEL), ##V)
#define YESNO_ITEM_P(PLABEL, V...) CONFIRM_ITEM_P(PLABEL, MSG_YES, MSG_NO, ##V)
#define YESNO_ITEM(LABEL, V...) YESNO_ITEM_P(GET_TEXT(LABEL), ##V)
#define CONFIR... | C |
href="libharp_error.html#group__harp__error_1gab2eeb46528306c6799632d1e800c4c36"><span class="std std-ref">harp_errno</span></a>). </p></li>
</ul>
</p>
</dd>
</dl>
</dd></dl>
<dl class="cpp function">
<dt class="sig sig-object cpp" id="_CPPv416harp_product_newPP12harp_product">
<span id="_CPPv316harp_product_newPP12h... | HTML |
bossConfig = {
[34000] = { -- ActionID
requiredLevel = 150,
minPlayersRequired = 1,
boss = "Brokul",
bossGlobalStorage = 35000,
playerStorage = 36000,
teleportPosition = Position(33483, 31445, 15),
centerRoomPosition = Position(33483, 31439, 15),
... | Lua |
child: Image.network(
"https://images.unsplash.com/photo-1517841905240-472988babdf9?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxzZWFyY2h8ODR8fHNvbGlkJTIwYmFja2dyb3VuZCUyMHBlb3BsZSUyMGltYWdlc3xlbnwwfHwwfHw%3D&auto=format&fit=crop&w=500&q=60",
width: 120,
fit: BoxFit.cover,
),
... | Dart |
.html">Amazon
/// CloudWatch concepts</a> in the <i>Amazon CloudWatch User Guide</i>.
class MetricStat {
/// The CloudWatch metric to return, including the metric name, namespace, and
/// dimensions. To get the exact metric name, namespace, and dimensions, inspect
/// the <a
/// href="https://docs.aws.amazon.co... | Dart |
mZlOi8vZXhhbXBsZS5vcmcvYWdlbnQvZGJ1c2VyIn0.dFr-oWhm5tK0bBuVXt-sGESM5l7hhoY-Gtt5DkuFoJL5Y9d4ZfmicCvUCjL4CqDB3BO_cPqmFfrO7H7pxQbGLg"
tok2 := "eyJhbGciOiJFUzI1NiIsImtpZCI6ImNKMXI5TVY4OTZTWXBMY0RMUjN3Q29QRHprTXpkN25tIiwidHlwIjoiSldUIn0.eyJhdWQiOlsidGVzdC1hdWRpZW5jZSJdLCJleHAiOjE3Mjg1NzEwMjUsImlhdCI6MTcyODU3MDcyNSwic3ViIjo... | Go |
}
}
orientationEventListener.enable()
}
/**
* 构建图像预览
*/
private fun initPreview() {
val previewBuilder = Preview.Builder()
.setTargetAspectRatio(mAspectRatioInt)
mPreview = previewBuilder
.build()
mPreview.setSurfaceProvid... | Kotlin |
/* Copyright (C) 1991-2024 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C 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 Foundation; either
version 2.1 of the ... | C |
).EXPECT().SetShardDiskRepaired(any, disk1.DiskID).Return(errMock)
mgr.checkRepairedAndClear()
require.True(t, mgr.repairingDisks.size() == 1)
// success
mgr.clusterMgrCli.(*MockClusterMgrAPI).EXPECT().ListAllMigrateTasksByDiskID(any, proto.TaskTypeShardDiskRepair,
disk1.DiskID).Return(nil, nil)
mgr.clust... | Go |
r the CSV file.
*
* Example:
* ```js
* const codingHelp = require("coding-help");
*
* codingHelp.createCSV(
* [
* [ "Version", "Downloads" ],
* [ "v1.2.0", 31 ],
* [ "v1.2.5", 23 ]
* ],
* "downloads"
* );
* // => Will return `void`, but it creates a new file.
* ```
*
* There can be errors, ... | Typescript |
$s7, 0xDA38 ## $s7 = DA380000
/* 0168C 80A2354C 3C1E80A2 */ lui $s8, %hi(D_80A23ADC) ## $s8 = 80A20000
/* 01690 80A23550 27DE3ADC */ addiu $s8, $s8, %lo(D_80A23ADC) ## $s8 = 80A23ADC
/* 01694 80A23554 C4363B24 */ lwc1 $f22, %lo(D_80A23B24)($at)
/* 01698 80A23558 36F70003 */ ori $... | Assembly |
b-xc)0 0}#write .v-post-card{border-radius:0 0 var(--v-r-b)var(--v-r-b-xc);display:block;position:relative}content>#write .md-htmlblock iframe[src*="bilibili.com/player"],content>#write .md-htmlblock iframe[src*="douyin.com/player"],content>#write .md-htmlblock iframe[src*="ixigua.com/iframe"],content>#write .md-htmlbl... | CSS |
raw.load_data()?,
}
Ok(&self.raw)
}
/// This function returns the size in bytes of the `RawPackedFile` data, if its loaded. If it isn't, it returns 0.
pub fn get_raw_data_size(&self) -> u32 {
self.raw.get_size()
}
/// This function returns the data of a PackedFile.
pub ... | Rust |
ocument);
this.congruence.add(new Matrix(var1ValuesCurrent, var1ValuesCurrent, false, gamma.minusMonths(W_HALF).isBefore(b) ? b : gamma.minusMonths(W_HALF), gamma, gamma.plusMonths(W_HALF).isAfter(e) ? e : gamma.plusMonths(W_HALF)));
this.conflict.add(new Matrix(var1ValuesCurrent, var1ValuesCurrent, false, ga... | Java |
[1;3D" );
else if ( fctrl ) strcpy( pout, "\033[1;5D" );
else if ( fshift ) strcpy( pout, "\033[1;2D" );
else strcpy( pout, "\033[D" );
}
else if ( 0x4c == sc ) // keypad 5
{
// no output on Linux if ( fctrl ) ;
... | C++ |
ntax_error("expecting semicolon or newline or }")
// we already progressed, no need to advance
}
lhs := Nod(OLABEL, lhs, nil)
lhs.Sym = dclstack // context, for goto restrictions
p.next() // consume ':' after making label node for correct lineno
return p.labeled_stmt(lhs)
}
fall... | Go |
р из когтя змея",
[36963] = "Гримуар \"Мучение\" (уровень 8)",
[36964] = "Гримуар жертвоприношения (уровень 8)",
[36965] = "Гримуар жертвоприношения (уровень 9)",
[36966] = "Гримуар \"Поглощения теней\" (уровень 8)",
[36967] = "Гримуар \"Поглощения теней\" (уровень 9)",
[36968] = "Гримуар \"Мук\" (уровень 7)",
[36969] ... | Lua |
line-height: 22px;
}
/* promos */
ul.contentpromo {
line-height: 16px;
margin-right: 10px;
list-style-type: none;
}
ul.contentpromo li {
padding: 3px 0;
margin: 0;
line-height: 13px;
}
ul.contentpromo li a {
font-size: 11px;
font-weight: normal;
color: #9BACCE;
}
ul.contentpro... | CSS |
_reviewer))
.first::<GitHubUser>(conn)?;
w_reviewers.push((initiator, review));
}
w_reviewers.sort_by(|a, b| a.0.login.cmp(&b.0.login));
Ok(w_reviewers)
}
fn list_poll_response_requests(poll_id: i32) -> DashResult<Vec<(GitHubUser, PollResponseRequest)>> {
let conn = &*DB_POOL.get... | Rust |
var lat = radiansToDegrees(2 * Math.atan(Math.exp(latRadians)) - Math.PI / 2);
return new google.maps.LatLng(lat, lng);
};
function fromLatLngToPixel (position) {
var scale = Math.pow(2, map.getZoom());
var proj = map.getProjection();
var bounds = map.getBounds();
var nw = proj.fromLatLngToPoint(
... | HTML |
地满足曲率的变化。
</p>
<div class="howtocode">
<h3>如何实现曲线的拉平</h3>
<p>让我们来实现刚才简述过的算法:</p>
<table class="code">
<tr>
<td>1</td>
<td rowspan="7">
<textarea disabled rows="7" role="doc-example">
function flattenCurve(curve, segmentCount):
step = 1/segmentCount;
coord... | HTML |
CODE>date</CODE> - Last modification date of the module code,
in the form of an array of three numbers.
<code>date[0]</code> is the year,
<code>date[1]</code> the month, and
<code>date[2]</code> the day.<DD><CODE>fo... | HTML |
.bar:SetFrameLevel(PVPReadyDialog:GetFrameLevel() + 1)
frame.bar:SetStatusBarColor(1, 0.7, 0)
PVPReadyDialog.nextUpdate = 0
local function UpdateBar()
local obj = PVPReadyDialog
local oldTime = GetTime()
local flag = 0
local duration = 90
local interval = 0.1
obj:SetScript("OnUpdate", function(_, elapsed)
obj... | Lua |
recursivelyDemoteNamed({required bool covariant}) {
Map<String, Type> newNamed = {};
bool hasChanged = false;
for (var entry in named.entries) {
var value = entry.value;
var newType = value.recursivelyDemote(covariant: covariant);
if (newType != null) hasChanged = true;
newNamed[entr... | Dart |
175%,环比增长了 25%。</p>
<figure class="kg-card kg-image-card kg-width-wide kg-card-hascaption"><img src="https://blog.cloudflare.com/content/images/2024/01/HTTP-and-Network-layer-DDoS-attacks-by-quarter-1.png" class="kg-image" alt="" loading="lazy" width="1600" height="840">
<figcaption>HTTP 和网络层 DDoS 攻击(分季度)</figcapti... | HTML |
}
@Override
public String getDescription(Launcher launcher) {
return launcher.getString(R.string.all_apps_button_label);
}
@Override
public int getVisibleElements(Launcher launcher) {
return ALL_APPS_HEADER | ALL_APPS_CONTENT;
}
@Override
public float[] getWorkspaceSc... | Java |
for (const auto &item : jsonData) {
Owner owner{item["owner"]["id"].asString(),
item["owner"]["name"].asString(),
item["owner"]["email"].asString(),
item["owner"]["twoFactorAuthEnabled"].asBool(),
ite... | C++ |
lens, dcodes_huffman_codes
end
-- Get the size of dynamic block without writing any bits into the writer.
-- @param ... Read the source code of GetBlockDynamicHuffmanHeader()
-- @return the bit length of the dynamic block
local function GetDynamicHuffmanBlockSize(lcodes, dcodes, HCLEN
, rle_codes_huffman_bitlens, rle... | Lua |
check_pointer( r ) == 0 );
mbedtls_free( r );
mbedtls_free( q );
mbedtls_free( p );
TEST_ASSERT( check_all_free( ) == 0 );
mbedtls_memory_buffer_alloc_free( );
if( verbose != 0 )
mbedtls_printf( "passed\n" );
if( verbose != 0 )
mbedtls_printf( " MBA test #3 (full): " ... | C |
#$DF,d0
.keep_asc_4:
cmp.b #CR,d0
beq .failed
cmp.b #LF,d0
beq .failed
cmp.b #' ',d0
beq.s .get_name_1
cmp.b #HT,d0
bne .failed
.get_name_1:
.pass_sep_1:
move.b (a4)+,d0
beq .failed
cmp.b #'a',d0
blo.s .keep_asc_5
cmp.b #'z',d0
bhi.s .keep_asc_5
and.b #$DF,d0
.keep_asc_5:
cmp.b #CR,d0
beq .failed
cmp.... | Assembly |
mponent2());
engine.addEntity(entity);
const nodes:NodeList<MockNode2> = engine.getNodeList(MockNode2);
engine.removeAllEntities();
expect(nodes.head).toBeNull();
});
});
import { Injectable, EventEmitter } from '@angular/core';
@Injectable()
export class ThemeService {
public isDarkTheme: boolean;... | Typescript |
the telescope integration
-- is also selected then telescope is used instead
-- Requires you to have `ibhagwan/fzf-lua` installed.
fzf_lua = nil,
-- If enabled, uses mini.pick for menu selection. If the telescope integration
-- is also selected then telescope is used instead
-- Requires you to... | Markdown |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.