content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
#ifndef __PXT_H
#define __PXT_H
#include "pxtbase.h"
#include "vm.h"
#define OUTPUT_BITS 12
#define DEVICE_EVT_ANY 0
#define DEVICE_ID_NOTIFY_ONE 1022
#define DEVICE_ID_NOTIFY 1023
namespace pxt {
void raiseEvent(int id, int event);
int allocateNotifyEvent();
void sleep_core_us(uint64_t us);
void target_disable_i... | C |
ames blooming-flower {
0% {
transform: scale(0);
}
}
@keyframes blooming-flower {
0% {
transform: scale(0);
}
}
@-webkit-keyframes moving-grass {
0%, 100% {
transform: rotate(-48deg) rotateY(40deg);
}
50% {
transform: rotate(-50deg) rotateY(40deg);
}
}
@keyframes moving-grass {
0%, 100... | CSS |
ctor(selector);
}
if (el.innerHtml.contains(content)) {
return true;
}
}
return false;
});
}
bool toHaveBackdrop() => dom.document.body.querySelector('.modal-backdrop') != null;
int toHaveModalOpen() {
int res = 0;
var mod... | Dart |
test('[h1][h2][h3][h4][h5] => [h5][h4][h3][h2][h1]', () {
final a = ve('div')([ve('h1'), ve('h2'), ve('h3'), ve('h4'), ve('h5')]);
final b = ve('div')([ve('h5'), ve('h4'), ve('h3'), ve('h2'), ve('h1')]);
checkInnerHtmlEquals(a, b);
});
test('[h1][h3][h3][h3][h5] => [h5][h3][... | Dart |
ress<R: io::Read>(data: R, out: &mut Vec<u8>) -> io::Result<()> {
use std::io::Read;
flate2::read::ZlibDecoder::new(data).read_to_end(out).map(drop)
}
#[cfg(not(feature = "zlib"))]
fn zlib_decompress<R: io::Read>(_data: R, _out: &mut Vec<u8>) -> io::Result<()> {
Err(io::Error::new(io::ErrorKind::Other, "un... | Rust |
pChar = 0x13DA
0xABAB -> mapChar = 0x13DB
0xABAC -> mapChar = 0x13DC
0xABAD -> mapChar = 0x13DD
0xABAE -> mapChar = 0x13DE
0xABAF -> mapChar = 0x13DF
0xABB0 -> mapChar = 0x13E0
0xA... | Kotlin |
l %s", NXCSession.CHANNEL_EVENTS);
}
}.start();
viewer = new EventTraceWidget(getContentArea(), SWT.NONE, viewPart);
viewer.setRootObject(getEffectiveObjectId(config.getObjectId()));
viewer.getViewer().getControl().addFocusListener(new FocusAdapter() {
@Override
publi... | Java |
apin";
import {IAmAPinFactory} from "../../framework/interfaces/iamapinfactory";
import {IAmAMotor} from "./interfaces/iamamotor";
export class Motor<T extends IAmAPin>implements IAmAMotor{
private _pulseWidth: number = 5;
private _pulses: number = 100;
private _currentPulse: number = 0;
private _speed: number = 0... | Typescript |
!client:getChar() or !self.character or self.character != client:getChar() or oldTeam != client:Team()) then
self:Remove()
local i = 0
for k, v in ipairs(parent:GetChildren()) do
if (IsValid(v.model) and v != self) then
i = i + 1
v.Paint = paintFunctions[i % 2]
end
end
retur... | Lua |
$t-dark;
@include box-shadow(0, -1px, 4px, $g-gray);
}
// The "Timeline" tab
.timeline {
th,
td {
border-color: $g-gray;
}
.timer {
background-color: $g-orange;
}
}
}
// DEBUG VIEW
// ========================================================================== */
.debug-view.show-view {... | CSS |
FreeTid(spinel_tid_t tid) { mCmdTidsInUse &= ~(1 << tid); }
otError RequestV(uint32_t aCommand, spinel_prop_key_t aKey, const char *aFormat, va_list aArgs);
otError Request(uint32_t aCommand, spinel_prop_key_t aKey, const char *aFormat, ...);
otError RequestWithPropertyFormat(const char *aPropertyFor... | C++ |
-outline": F14DD,
"ribbon": F0460,
"rice": F07EA,
"rickshaw": F15BB,
"rickshaw-electric": F15BC,
"ring": F07EB,
"rivet": F0E60,
"road": F0461,
"road-variant": F0462,
"robber": F1058,
"robot": F06A9,
"robot-angry": F169D,
"robot-angry-outline": F169E,
"robot-confused": F169F,
"robot-confused-... | CSS |
Anim.duration = $styles.disableAnimations ? 1.ms : swipeAmt.value.seconds * .5;
swipeReleaseAnim.reverse(from: swipeAmt.value);
isPointerDown.value = false;
}
void handleVerticalSwipeUpdate(DragUpdateDetails details) {
if (swipeReleaseAnim.isAnimating) swipeReleaseAnim.stop();
isPointerDown.value ... | Dart |
txshort:1;
u32 txbw:1;
u32 rtsshort:1;
u32 rtsbw:1;
u32 rtssc:2;
u32 rtsstbc:2;
u32 txrate:6;
u32 shortgi:1;
u32 ccxt:1;
u32 txrate_fb_lmt:5;
u32 rtsrate_fb_lmt:4;
u32 retrylmt_en:1;
u32 txretrylmt:6;
u32 usb_txaggnum:8;
u32 txagca:5;
u32 txagcb:5;
u32 usemaxlen:1;
u32 maxaggnum:5;
u32 mcsg1maxlen:4... | C |
= sp->shade = sp->extra = sp->clipdist = sp->xoffset = sp->yoffset = 0;
sp->x = hitinfo.x;
sp->y = hitinfo.y;
sp->z = hitinfo.z;
sp->shade -= 5; // Brighten it up just a bit
sp->yvel = hitinfo.wall; // pass hitinfo.wall in yvel
SET(sp->cstat, CSTAT_SPRITE_ALIGNMENT_WALL);
SET(sp->cstat, C... | C++ |
"海域確保報酬",
visuality = 0,
scale = 0,
auto_pri = 10,
icontype = 2,
is_scanevent = 1,
obstacle = 0,
event_sight = -1,
icon = "sairenbaoxiang",
special_enemy = 0,
infection_value = 0,
compass_index = 2,
discover_type = 2,
scan_desc = "海域の安全を確保できた!早く戦利品を回収しよう",
expedition_icon = 0,
is_guide = ... | Lua |
54 C8 01 00 F0 */ lfd f0, 0xf0(r1)
/* 802C7158 002C3F58 FC 20 08 28 */ fsub f1, f0, f1
/* 802C715C 002C3F5C 4C C6 32 42 */ crset 6
/* 802C7160 002C3F60 48 13 5C 59 */ bl func_803FCDB8
/* 802C7164 002C3F64 48 00 00 48 */ b lbl_802C71AC
lbl_802C7168:
/* 802C7168 002C3F68 3C 80 80 40 */ lis r4, HSD_AObjSetCurrentFra... | Assembly |
�非",
"tr": "Güney Afrika",
"ro": "Africa de Sud",
"ar": "جنوب أفريقيا",
"fa": "آفریقای جنوبی",
"yue": "南非"
},
flag: "🇿🇦",
code: "ZA",
dialCode: "27",
minLength: 9,
maxLength: 9,
),
Country(
name: "South Sudan",
nameTranslations: {
"sk": "Južný Su... | Dart |
.generation.getGeneration(serviceIDPtr)
return generation
}
// On connection failure, the connection is removed and closed after delivering the
// error to Connection(), so it may still count toward the generation connection count
// briefly. Wait up to 100ms for the generation connection count to reac... | Go |
b mercator to WGS-84
* mercatorLat -> y mercatorLon -> x
*/
public static mercator_decrypt(mercatorLat: number, mercatorLon: number) {
let x = (mercatorLon / 20037508.34) * 180;
let y = (mercatorLat / 20037508.34) * 180;
y =
(180 / MapUtils.PI) *
(2 * Math.a... | Typescript |
pport|surf|surgery|suzuki|swatch|swiss|sydney|systems|s[abcdeghijklmnortuvxyz])"
+ "|(?:tab|taipei|tatamotors|tatar|tattoo|tax|taxi|team|tech|technology|tel|telefonica"
+ "|temasek|tennis|thd|theater|theatre|tickets|tienda|tips|tires|tirol|today|tokyo|tools"
+... | Java |
larEaseInOut(float normalizedTime){
if(normalizedTime <= 0){
return 0;
}
else if(normalizedTime >= 1){
return 1;
}
if(normalizedTime < 0.5f){
//Return ease in, *2
normalizedTime = 2*normalizedTime;
normalizedTime = 1- normalizedTime * normalizedTime;
if(normalizedTime > 0){
ret... | C# |
9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0... | CSS |
vb3pl 39399
IFJQQw== 39400
UHJvc2VjdXRvcnM= 39401
IGRpc2VuZw== 39402
IFNoYXJlZA== 39403
IG1vdG9yY3ljbGVz 39404
IGludmVudGlvbnM= 39405
IGxldHR1Y2U= 39406
IE1lcmdl 39407
IEpD 39408
IHNwaXJpdHVhbGl0eQ== 39409
IFdBUk5JTkc= 39410
IHVubHVja3k= 39411
IFRlc3M= 39412
IHRvbmd1ZXM= 39413
IERVSQ== 39414
VHVtYmxy 39415
IGxlYW5z 394... | Kotlin |
#
# deobfuscator for scripts messed up with myobfuscate.com
# by Einar Lielmanis <einar@jsbeautifier.org>
#
# written by Stefano Sanfilippo <a.little.coder@gmail.com>
#
# usage:
#
# if detect(some_string):
# unpacked = unpack(some_string)
#
# CAVEAT by Einar Lielmanis
#
# You really don't want to obfuscate yo... | Python |
大师】效果:瞬间掌握顶级PPT制作技能,任何汇报都能让老板眼前一亮!副作用:看到Comic Sans字体会产生生理性不适。
- **李明:** 卧槽!
**分镜设计:**
| 镜头号 | 类型 | 时长 | 描述 | 镜头运动 | 对话 |
|-------|-----|-----|-----|---------|-----|
| 11 | 远景 | 3秒 | 天台全景,十几个同事站在一片开阔的场地,远处城市天际线和夕阳映衬,箱子位于画面中心,显得突兀。 | 从右向左慢摇,逐渐拉近箱子特写 | |
| 12 | 中景 | 2秒 | 财务小张双手插兜站在队伍边缘,微皱眉头,疑惑地盯着箱子。 | 镜头轻微推近至小张脸部 | 这什么... | Markdown |
.findRegion("UI/btRefresh"))
buttonRefreshPressed = TextureRegionDrawable(atlas!!.findRegion("UI/btRefreshPress"))
buttonHome = TextureRegionDrawable(atlas!!.findRegion("UI/btHome"))
buttonHomePressed = TextureRegionDrawable(atlas!!.findRegion("UI/btHomePress"))
buttonPause = TextureRegi... | Kotlin |
ne
* iterating across ith 2d plane, with n being index into mask
*/
constructMeshMasks = (i: any, d: any, arrT: any, getMaterial: any, aoPackFcn: any) => {
var len = arrT.shape[1]
var mask = this.maskCache
var aomask = this.aomaskCache
// set up for quick array traversals
... | Typescript |
.Llevel_43_80086AEC
/* 3D822B8 80083CF0 140022AE */ sw $v0, 0x14($s1)
.Llevel_43_80083CF4:
/* 3D822BC 80083CF4 7D0B4914 */ bne $v0, $t1, .Llevel_43_80086AEC
/* 3D822C0 80083CF8 D2000224 */ addiu $v0, $zero, 0xD2
/* 3D822C4 80083CFC BB1A0208 */ j .Llevel_43_80086AEC
/* 3D822C8 80083D00 1... | Assembly |
e_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
import com.planet_ink.coffee_mud.Behaviors.interfaces.*;
import com.planet_ink.coffee_mud.CharClasses.interfaces.*;
import com.planet_ink.coffee_mud.Commands.interfaces.*;
import com.planet_ink.coffee_mud.Common.interfaces.*;
import com.... | Java |
(_lrd).stop2 = (_asm)->parityInfo->next->startSector + (_asm)->parityInfo->next->numSector-1; \
} \
} else { ... | C |
Name name = getName(entry.getKey(), false);
if (name.hasWrittenDescendants || name.hasInstanceOfReference) {
for (String alias : entry.getValue().names) {
recordReference(alias, entry.getKey(), RefType.REGULAR);
}
}
}
}
/**
* Adds mutual references between all known glo... | Java |
lick();
expect(element('#ctrl-exmpl li:first input').val()).toBe('');
element('#ctrl-exmpl li:last a:contains("add")').click();
expect(element('#ctrl-exmpl li:nth-child(3) input').val())
.toBe('yourname@example.org');
});
</doc:scenario>
</doc:example>
*/
var ngCo... | JavaScript |
.assertEquals(event.pathWithNamespace, "jsmith/storecloud")
Assert.assertEquals(event.projectId, 74L)
}
}
}
/*
* This file is part of git-as-svn. It is subject to the license terms
* in the LICENSE file found in the top-level directory of this distribution
* and at http://www.gnu.org/licenses... | Kotlin |
<<20)
} else {
// cannot overflow on 64-bit, because
// int is 32 bits and max chan value size
// in the implementation is 64 kB.
panic(1)
}
}
func main() {
shouldfail(badlen, "badlen")
shouldfail(biglen, "biglen")
shouldfail(badcap, "badcap")
shouldfail(badcap1, "badcap1")
shouldfail(bigcap, "bigcap")
... | Go |
superbox-img:hover{opacity:.8}.superbox-float{float:left}.superbox-close{opacity:.7;cursor:pointer;position:absolute;top:15px;right:15px;transition:all .1s linear 0s}.superbox-close:hover{opacity:1}.superbox-imageinfo{display:inline-block;max-width:500px;color:#fff;padding:0 25px 0 0}.superbox-imageinfo span{font-size:... | CSS |
-nerdtree-tabs'
use 'majutsushi/tagbar'
use 'vim-scripts/indentpython.vim'
use 'lepture/vim-jinja'
use 'joshdick/onedark.vim'
use 'tiagofumo/vim-nerdtree-syntax-highlight'
use 'sheerun/vim-polyglot'
use 'tpope/vim-fugitive'
use 'jiangmiao/auto-pairs'
use 'vim-airline/vim-airline'
... | Lua |
gl.Enable('COLOR_MATERIAL')
gl.Hint('PERSPECTIVE_CORRECTION_HINT','NICEST')
end
dlg = iup.dialog{cnv; title="LuaGL Test Application 05"}
dlg:show | Lua |
mover_blocker_028",
type = "content/volume_types/player_mover_blocker",
alt_max_vector = {
-24.57282829284668,
-130.9287872314453,
106.25000762939453,
},
alt_min_vector = {
-24.57282829284668,
-130.9287872314453,
100.25000762939453,
},
bottom_points = {
{
-27.03864288330078,
-12... | Lua |
);
// doing this test first is an optimization; we only
// need to check for secondary sort conditions if
// the primary test is a tie.
if (r == 0) {
if (sortCol==(int)TaskViewCols.Path) {
// Sorts as Path -> File
r = CompareAsText(a, b, TaskViewCols.File);
... | C# |
ry": {
"ArchitectureList": [],
"CNNVDID": "CNNVD-202012-1604",
"CNVDID": "CNVD-2021-44699",
"CVEID": "CVE-2020-29204",
"IsSuggest": false,
"Name": "XXL-JOB跨站脚本漏洞(CVE-2020-29204)",
... | Markdown |
()
}
}
impl<'mutex_lock, Value: CtoSafe> DerefMut for CtoMutexLockGuardWithConditionVariable<'mutex_lock, Value>
{
#[inline(always)]
fn deref_mut(&mut self) -> &mut Self::Target
{
self.cto_mutex_lock_guard.deref_mut()
}
}
impl<'mutex_lock, Value: CtoSafe> Borrow<Value> for CtoMutexLockGuardWithConditionVariabl... | Rust |
�元素一个绑定事件列表
* 如果缓存中没有数据,value有值 需要绑定方法,并缓存起来
* 以前绑定过,需要删除掉, 删除缓存
*
*/
// 对函数缓存
const invokers = el._vei || (el._vei = {});
const exists = invokers[key];// 判断存在事件
if ( value && exists) {
exists.value = value;
}else {
const eventName = key.slice(2).toLowerCase();
if (value) {
l... | Typescript |
from app.init.init_app import app
from app.routers.app_routers import routers
# 初始化配置路由
app.include_router(routers)
if __name__ == '__main__':
import uvicorn as uvicorn
uvicorn.run("main:app", host="127.0.0.1", port=5001, reload=False)
| Python |
teger holds a single integer, rather than a nested list.
* isInteger(): boolean {
* ...
* };
*
* Return the single integer that this NestedInteger holds, if it holds a single integer
* Return null if this NestedInteger holds a nested list
* getInteger(): number | null {
* ...... | Typescript |
b(crate) fn new(dynamodb: DynamoDbClient, s3: S3Client) -> DishLoader {
DishLoader {
db_client: dynamodb,
s3_client: s3,
}
}
pub(crate) async fn load_all(&self) -> Result<Vec<Dish>, Error> {
let output = self.db_client.scan().table_name(TABLE_NAME).send().await?;
... | Rust |
N_SEL_W {
GPIO_FUNC22_OEN_SEL_W { w: self }
}
#[doc = "Bit 8"]
#[inline(always)]
pub fn gpio_func22_out_inv_sel(&mut self) -> GPIO_FUNC22_OUT_INV_SEL_W {
GPIO_FUNC22_OUT_INV_SEL_W { w: self }
}
#[doc = "Bits 0:7"]
#[inline(always)]
pub fn gpio_func22_out_sel(&mut self) ->... | Rust |
/* Tenes Empanadas Graciela
*
* Copyright (C) 2000 Ricardo Quesada
*
* Author: Ricardo Calixto Quesada <rquesada@core-sdi.com>
*
* 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; only vers... | C |
map-get($clr-light-blue-list, "50");
$clr-light-blue-100: map-get($clr-light-blue-list, "100");
$clr-light-blue-200: map-get($clr-light-blue-list, "200");
$clr-light-blue-300: map-get($clr-light-blue-list, "300");
$clr-light-blue-400: map-get($clr-light-blue-list, "400");
$clr-light-blue-500: map-get($clr-light-bl... | CSS |
using example.message.common;
using Newtonsoft.Json;
using System;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using zipkin4net;
using zipkin4net.Propagation;
namespace example.message.producer
{
class Program
{
static async Task Main(string[] args)
{
//... | C# |
----------------------------------
-- Area: Ifrit's Cauldron
-- NPC: Altar of Ashes
-- Involved in Quest: Greetings to the Guardian
-- !pos 16 .1 -58 205
-----------------------------------
local ID = require("scripts/zones/Ifrits_Cauldron/IDs")
require("scripts/globals/quests")
-----------------------------------
fu... | Lua |
t2, DSIGNAL_NAN
bne v0, zero, invalid_d
1:
j ra
#else
srl a3, a0, 11 - (PTR_SCALESHIFT-1) # get FS field (even regs only)
and a3, a3, 0xF << PTR_SCALESHIFT # mask FS field
PTR_L a3, get_fs_d_tbl(a3) # switch on register number
j a3
.rdata
get_fs_d_tbl:
PTR_WORD get_fs_d_f0
PTR_WORD get_fs_d_f2
PTR_WORD get_... | Assembly |
ame1' }, { name: 'name2' }, {name: 'name3'}];
service.updatePairings();
expect(service.players.length).toEqual(3);
expect(service.pairings.length).toEqual(3);
service.deletePlayer(1);
expect(service.players).toEqual([{name: 'name1'}, {name: 'name3'}]);
expect(service.pairings).toEqual([{name:... | Typescript |
padded string.\n * @example\n *\n * _.padStart('abc', 6);\n * // => ' abc'\n *\n * _.padStart('abc', 6, '_-');\n * // => '_-_abc'\n *\n * _.padStart('abc', 3);\n * // => 'abc'\n */\n function padStart(string, length, chars) {\n string = toString(string);\n len... | JavaScript |
2011-04-30]</li>
* <li>[2011-05-30] + [P1M1D] = [2011-07-01]</li>
* <li>[2011-05-31] + [P1M1D] = [2011-07-01]</li>
* <li>[2011-07-01] + [-P1M1D] = [2011-05-30]</li>
* <li>[2011-05-31] + [-P1Y1M1D] = [2010-04-30]</li>
* </ul>
*
* <p>Insgesamt gelten für die Addition einer Dauer und
* die Differenz zweie... | Java |
eed('http://feeds.bbci.co.uk/news/world/rss.xml', Color(0.00, 1.00, 0.00), 'Blue_Circle')
addfeed('http://www.nytimes.com/services/xml/rss/nyt/US.xml', Color(1.00, 0.50, 0.00), 'Personal_Computer')
addfeed('http://www.nytimes.com/services/xml/rss/nyt/Europe.xml', Color(1.00, 0.00, 0.00), 'Delivery_Truck')
a... | Python |
#!/usr/bin/env python
"""
setup.py for installing F2PY
Usage:
python setup.py install
Copyright 2001-2005 Pearu Peterson all rights reserved,
Pearu Peterson <pearu@cens.ioc.ee>
Permission to use, modify, and distribute this software is given under the
terms of the NumPy License.
NO WARRANTY IS EXPRESSED OR IMPLIE... | Python |
```
### Step 5:知识构建
提交知识构建任务导入数据。
```bash
cd builder && python indexer.py && cd ..
```
### Step 6:执行图谱规则推理任务
SPG 支持 ISO GQL 语法,可用如下命令行执行查询任务。
```bash
knext reasoner execute --dsl "${ql}"
```
#### 场景 1:语义属性对比文本属性

电话号码:... | Markdown |
add.w d4,d4
addx.w d2,d2
add.w d4,d4
addx.w d3,d3
dbra d5,snt2_03
dbra d6,snt2_02
movem.w d0-d3,(a5)
dbra d7,snt2_01
rts
samoff1 dc.l 0,0
unp_pic dc.w 0
unp_sam dc.w 0
offset_tab1
dc.b 5-1,8-1,9-1,13-1
dc.w 1,1+32,1+32+256 | Assembly |
ofer_level" in data:
self._woofer_volume = data["i_woofer_level"]
if "i_curr_eq" in data:
self._equaliser = data["i_curr_eq"]
if "s_user_name" in data:
self._attr_name = data["s_user_name"]
self.schedule_update_ha_state()
def update(s... | Python |
# x-coordinate of the destinations's upper left corner
dy: int, # y-coordinate of the destinations's upper left corner
dw: int, # destination image width
dh: int, # destination image height
mode: int, # Either BLEND, ADD, SUBTRACT, LIGHTEST, DARKEST, DIFFERENCE, EXCLUSION, MULTIPLY, SCREEN, OVERLAY... | Markdown |
on: 9216
- Top-2 routing strategy
- Positional Encoding: Rotary Position Embedding (RoPE) applied to half of the attention head dimension with a base frequency of 10,000,000
- Hidden Size: 6144
- Vocab Size: 200,064
## 3. Evaluation
### Core Academic Benchmarks
| **Tasks** | **GPT-4o (11-20)** ... | Markdown |
(g_res != EXIT_SUCCESS) {
return EXIT_FAILURE;
}
if (auto_inc_delay_to == 0) {
ok(
f_auto_incr_val == cur_auto_inc_delay_mult,
"'auto_increment_delay_token' val should remain unchanged '%d' after default timeout:"
" { Exp: %d, Act: %d, mysql-auto_increment_delay_multiplex_timeout_ms: %d, Timeout: %d, W... | C++ |
.chart-colored-blob[name=Used] {
fill: var(--theme-highlight-green);
background: var(--theme-highlight-green);
}
.chart-colored-blob[name=Unused] {
fill: var(--theme-highlight-lightorange);
background: var(--theme-highlight-lightorange);
}
/* Undo 'largest' customization */
.theme-dark .pie-chart-slice[large... | CSS |
�]
```
类型包括:
- **Feature**: 新功能
- **Fix**: 修复 bug
- **Docs**: 文档更新
- **Style**: 代码风格调整,不影响功能
- **Refactor**: 代码重构,不添加新功能或修复 bug
- **Test**: 添加或修改测试
- **Chore**: 构建过程或辅助工具变动
例如:
```
Feature: 添加上海5月奖励配置
- 在 config.py 中添加 SH-2025-05 配置
- 添加相关单元测试
- 更新文档
```
#### 4.4.4 代码审查流程
1. 创建 Pull Request (PR) 前,确保:
- 所有测试通过
... | Markdown |
/* -------------------------------------------------------------------------------------------------------
© 1991-2012 Take-Two Interactive Software and its subsidiaries. Developed by Firaxis Games.
Sid Meier's Civilization V, Civ, Civilization, 2K Games, Firaxis Games, Take-Two Interactive Software
and their re... | C |
import numpy as np
from gwstatsmodels.tsa.interp import dentonm
def test_denton_quarterly():
# Data and results taken from IMF paper
indicator = np.array([98.2, 100.8, 102.2, 100.8, 99.0, 101.6,
102.7, 101.5, 100.5, 103.0, 103.5, 101.5])
benchmark = np.array([4000.,4161.4])
x_... | Python |
tr;
VULKAN_HPP_NAMESPACE::Bool32 memoryPriority;
};
static_assert( sizeof( PhysicalDeviceMemoryPriorityFeaturesEXT ) == sizeof( VkPhysicalDeviceMemoryPriorityFeaturesEXT ), "struct and wrapper have different size!" );
static_assert( std::is_standard_layout<PhysicalDeviceMemoryPriorityFeaturesEXT>::value, "str... | C++ |
61355),y=i(56264),v=i(19754),j=i(62622),f=i(63765),T=i(13005),V=i.n(T),C=i(82309),Z=i(40864);const E=t=>{let{error:e,width:i,deltaType:o}=t;return e instanceof z?(0,Z.jsx)(C.Z,{width:i,name:"No Mapbox token provided",message:(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsxs)("p",{children:["To use ",(0,Z.jsxs)("code",{childre... | JavaScript |
essList,
onLmkdConnect,
OutputStream.class,
new IHook() {
@Override
public void before() {
updateOomMinFree(thisObject());
// if (Boolean.TRUE.equals(getThisAdditionalInstanceField(isChangedOomMinFree)))
... | Java |
ास ही स्मृती जतन केली जाईल.","MemoryOnboardingModal.bulletDescription1.1":"ChatGPT चॅट्स दरम्यान जे शिकते ते घेऊन जाईल, ज्यामुळे ते अधिक संबंधित प्रतिसाद देऊ शकेल.","MemoryOnboardingModal.bulletDescription2.1":"तुम्ही चॅट कराल, तपशील आणि प्राधान्ये सतत लक्षात ठेवून ChatGPT अधिक उपयुक्त होईल.","MemoryOnboardingModal.bul... | JavaScript |
from .parse import PDFParser | Python |
= {
["D"] = "眾所周知,土狼的顎骨具有強大的力量,不過它能折斷三英寸厚的瑟銀條嗎?不可能,決不可能,可是我卻親眼看到了這種事情。$B$B到詛咒之地去給我弄三個彎牙土狼的顎骨回來,路上順便打一些野豬和蠍子,因為我還需要兩片詛咒之地的野豬肺和一個厚甲蠍螯。",
["O"] = "收集3個彎牙土狼的顎骨、2片詛咒之地的野豬肺和1個厚甲蠍螯,把它們交給血法師德拉吉亞。",
["T"] = "彎牙土狼的顎骨",
},
[2582] = {
["D"] = "啊,$N,歡迎回來。你好像非常喜歡從土狼的顎骨中提煉出來的藥劑所帶給你的感覺。但是你要小心,雖然它可以使你擁有泰坦一般的力量,不過它對... | Lua |
onflicts
cargo --list | grep -E "(audit|deny)"
# Use cargo-binstall for faster installation
curl -L https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-unknown-linux-gnu.tgz | tar xz
./cargo-binstall cargo-audit
```
**Prevention:**
- Standardize tool versions across environment... | Markdown |
}
@Override
public Set<String> emptyState() {
return Collections.emptySet();
}
@Override
public CommandHandler<Command, String, Set<String>> commandHandler() {
return newCommandHandlerBuilder()
.forAnyState()
.onCommand(
StoreMe.class,
... | Java |
bal _mcount
.align 2
.p2align 3,,7
.global VCTRL_SetDiscardPicParam
.type VCTRL_SetDiscardPicParam, %function
VCTRL_SetDiscardPicParam:
stp x29, x30, [sp, -48]!
add x29, sp, 0
stp x19, x20, [sp, 16]
str x21, [sp, 32]
mov w19, w0
mov x0, x30
mov x20, x1
bl _mcount
cmp w19, 15
bhi .L204
cbz x20, .L205
ldr... | Assembly |
ck"] is not None:
callback_camera = frame_params["callback"](
self.scene,
frame_number,
self.nframes,
**frame_params["kwargs"],
)
else:
callback_camera = None
# see if callback returned a camera
... | Python |
= IJ_get_rvar_val64("diag.j", 1135, Rv_rand64);
!!# !IJ_printf (th_M, "!DEBUG: wr_cntr = %d, %016llx\n", wr_cntr , DATA_ARRAY[wr_cntr]);
!!# IJ_update_rvar("diag.j", 1137, Rv_rand64);
!!# data_st = DATA_ARRAY[wr_cntr];
!!# IJ_printf ("diag.j", 1139, ... | Assembly |
unwrap();
stdout.flush().unwrap();
None
}
websocket::OwnedMessage::Close(e) => Some(websocket::OwnedMessage::Close(e)),
websocket::OwnedMessage::Ping(d) => Some(websocket::OwnedMessage::Pong(d)),
... | Rust |
math::Coord,
ptr::Shared,
},
archery::SharedPointerKind,
gfx_hal::{
command::{CommandBuffer as _, CommandBufferFlags, ImageCopy, Level, SubpassContents},
format::Aspects,
image::{
Access as ImageAccess, FramebufferAttachment, Layout, Offset, SubresourceLayer... | Rust |
187\131",
["Endurance"]="\232\128\191\228\185\133",
["Engineering Specialization"]="\229\183\165\231\168\139\229\173\166\228\184\147\231\178\190",
["Engineering"]="\229\183\165\231\168\139\229\173\166",
["Enrage"]="\231\139\130\230\128\146",
["Enslave Demon"]="\229\165\180\229\189\185\230\191\182\233\173\148"... | Lua |
= {"Солдатская дружба", nil, nil},
[11555] = {"Уважение союзников", nil, nil},
[11556] = {"Почтение боевых друзей", nil, nil},
[11557] = {"Восхищение всего войска", nil, nil},
[11558] = {"Опасная любовь", nil, {"Возьмите заплесневелую открытку стража и отнесите ее Фенстаду Аргайлу в Подгороде."}},
[11559] = {"Торговля ... | Lua |
&&
!use_kerberosu2u)
use_kerberosu2u = true;
else if (compare_oid(oid, oidlen, KRB5_OID,
KRB5_OID_LEN) &&
!use_kerberos)
use_kerberos = true;
else if (compare_oid(oid, oidlen, NTLMSSP_OID,
NTLMSSP_OID_LEN))
use_ntlmssp = true;
kfree(oid);
}
} ... | C |
ingsViewModel.videoPlayerLoadTimeout =
max(min, (settingsViewModel.videoPlayerLoadTimeout + step) % (max + step))
},
)
}
item {
LeanbackSettingsCategoryListItem(
headlineContent = "播放器自定义UA",
supportingConte... | Kotlin |
field_embedding = self._process_field(field_input, self.field_processors[field_idx])
# Pool the sequence dimension
field_embedding = field_embedding.mean(dim=1)
field_embeddings.append(field_embedding)
# Stack field embeddings for cross-attention
field_tensor = ... | Python |
{
lhs: Box<StatementElement<'a>>,
rhs: Box<StatementElement<'a>>,
},
Cast {
typ: NativeType,
value: Box<StatementElement<'a>>,
},
Ternary {
cond: Box<StatementElement<'a>>,
lhs: Box<StatementElement<'a>>,
rhs: Box<StatementElement<'a>>,
},
FunctionCall {
name: Cow<'a, str>,
parametres: Vec<Stat... | Rust |
};
extern crate web_sys;
// When the `wee_alloc` feature is enabled, use `wee_alloc` as the global
// allocator.
#[cfg(feature = "wee_alloc")]
#[global_allocator]
static ALLOC: wee_alloc::WeeAlloc = wee_alloc::WeeAlloc::INIT;
fn set_panic_hook() {
// When the `console_error_panic_hook` feature is enabled, we can... | Rust |
081894 2F008490 */ lbu $a0, 0x2F($a0)
/* 402B660 80081898 9E56010C */ jal PlaySound
/* 402B664 8008189C 54008726 */ addiu $a3, $s4, 0x54
/* 402B668 800818A0 21202002 */ addu $a0, $s1, $zero
/* 402B66C 800818A4 A001A527 */ addiu $a1, $sp, 0x1A0
/* 402B670 800818A8 0A5D000C */ jal ... | Assembly |
-- Mi-8MT
PWDEV.FoundDCSModule = true
PWDEV.ConfigEveryFrameArguments =
{
[64] = "%d", -- LOW FUEL 270 LT
[65] = "%d", -- DOPPLER FAIL
[68] = "%d", -- FUEL FILTER LEFT ENG
[69] = "%d", -- FUEL FILTER RIGHT ENG
[70] = "%d", -- CHIP LEFT ENG
[71] = "%d", -- CHIP RIGHT ENG
[72] = "%d", -- HIG... | Lua |
71.52 305.7zm156.4-59.03a17.4 17.4 0 1 0 17.4 17.4A17.4 17.4 0 0 0 227.9 246.7zM273.1 156.7V112a13.31 13.31 0 1 0 -10.24 0V156.7a107.5 107.5 0 1 0 10.24 0zm85.99 107.4c0 30.53-40.79 55.28-91.11 55.28s-91.11-24.75-91.11-55.28 40.79-55.28 91.11-55.28S359.9 233.5 359.9 264.1zm-50.16 17.4a17.4 17.4 0 1 0 -17.4-17.4h0A17.4... | JavaScript |
}
}
impl ::std::fmt::Debug for UpdateGCSafePointResponse {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
::protobuf::text_format::fmt(self, f)
}
}
impl ::protobuf::reflect::ProtobufValue for UpdateGCSafePointResponse {
fn as_ref(&self) -> ::protobuf::reflect::ProtobufVal... | Rust |
%3Crect x="22.35294%" width="14.11765%" height="100%"/%3E%3Crect x="37.64706%" width="23.52941%" height="100%"/%3E%3Crect x="62.35294%" width="37.64706%" height="100%"/%3E%3C/svg%3E';
@include assert-equal(
susy-svg-grid(1 1 2 3 5 8),
url($data),
'Understands context-only asymmetrical shorthand')... | CSS |
0 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, 0
/* 801836B4 0017EBF4 CB E1 00 C0 */ lfd f31, 0xc0(r1)
/* 801836B8 0017EBF8 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, 0
/* 801836BC 0017EBFC CB C1 00 B0 */ lfd f30, 0xb0(r1)
/* 801836C0 0017EC00 E3 A1 00 A8 */ psq_l f29, 168(r1), 0, 0
/* 801836C4 0017EC04 39 61 00 A0 */ addi r... | Assembly |
mov.w @r1,r0
mov.l r0,@-r15 /* save COMM0 reg */
mov.w @(2,r1),r0
mov.l r0,@-r15 /* save COMM2 regs */
mov.w pci_cmd_resp,r0
mov.w r0,@r1 /* respond to m68k */
0:
mov.w @r1,r2
cmp/eq r2,r0
bt ... | Assembly |
header */
struct bfi_alen alen;
u32 type; /* partition type */
u8 instance; /* partition instance */
u8 last;
u8 rsv[2];
u32 offset;
u32 length;
} __packed;
/*
* Flash read request
*/
struct bfi_flash_read_req {
struct bfi_mhdr mh; /* Common msg header */
u32 type; /* partition type */
u8 instance; /* p... | C |
el_domain',
'vpopmail_del_domain_ex',
'vpopmail_del_user',
'vpopmail_error',
'vpopmail_passwd',
'vpopmail_set_user_quota'],
'xattr': ['xattr_get',
'xattr_list',
'xattr_remove',
'xattr_set',
'xattr_supporte... | Python |
ssion).
/// </summary>
public interface IThreadScopeInfo
{
/// <summary>
/// Gets the current stack.
/// </summary>
/// <value>The current stack.</value>
Stack CurrentStack { get; }
/// <summary>
/// Gets the registered scope.
/// </summary>
/// <returns></returns>
ISessionScope GetRegisteredSco... | C# |
at("\"{0}\"", ex);
return new ListViewVariable() {
Description = desc,
Example = quotedEx,
Keyword = var,
Color = color
};
}
private void olvVariables_DoubleClick(object sender, EventArgs e)
{
t... | C# |
"EntryCountry": "CA",
"ExitCountry": "CA",
"Name": "CA#2",
"Servers": [
{
"EntryIP": "127.0.0.2",
"Domain": "ca-02.protonvpn.com",
"ExitIP": "127.0.0.2",
"ID": null,
"X25519PublicKey": "fake-key"
}
],
"Domain": "ca-02.protonvpn.com",
"Load": 22... | Kotlin |
hidden(true)
modelDefinition {
model = rangedModels(23) {
getModel("item/gui/progress/arrow/$it")
}
}
}
private fun guiItem(
name: String,
localizedName: String? = null,
stretched: Boolean = false,
background: B... | Kotlin |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.