content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
tamp") {
stampTile(x, y, layer, solid);
} else {
brushTile(spriteId, x, y, layer, solid, layered, encounter);
}
}
static void selectTile(int x, int y) {
// TODO: check if this conditional ever gets called
if(lastTileInfoX == x && lastTileInfoY == y && tileInfo.getComputedStyle().getProp... | Dart |
olation);
}
public void Remove(BasicProfileViolation violation)
{
base.List.Remove(violation);
}
IEnumerator<BasicProfileViolation> IEnumerable<BasicProfileViolation>.GetEnumerator()
{
return new BasicProfileViolationEnumerator(this);
}
... | C# |
shelfModel.pickAll();
},
),
actions: [
TextButton(
child: Text('完成', style: TextStyle(color: Colors.white)),
onPressed: () {
Navigator.pop(context);
},
)
],
... | Dart |
)("h3",{id:"new-features-in-loopbackcontext"},"New Features in @loopback/context"),(0,a.kt)("h4",{id:"config-decorator"},(0,a.kt)("inlineCode",{parentName:"h4"},"@config")," Decorator"),(0,a.kt)("p",null,"In ",(0,a.kt)("a",{parentName:"p",href:"https://github.com/strongloop/loopback-next/pull/3329"},"PR #3329"),", we i... | JavaScript |
Test::Char(c))) // FIXME there are other escapes, like \s
}
}
}
fn repeat(&mut self, elems: &mut Vec<Elem>, index: usize, op: RepeatOp) -> Result<(), RegexError> {
self.bump(); // consume the `*`, `+`, `?`, etc
match elems.pop() {
Some(e) => Ok(elems.push(Elem::R... | Rust |
moz-keyframes anime {
from {
opacity: 0;
transform: scaleY(0);
-webkit-transform: scaleY(0);
-moz-transform: scaleY(0);
-ms-transform: scaleY(0);
-o-transform: scaleY(0);
}
to {
opacity: 1;
transform: scaleY(1);
-webkit-transform: scaleY(1);
-ms-transform: scaleY(1);
-o-transform: scaleY(1);
-moz-transform:... | CSS |
/*
* QTest testcase for the IB700 watchdog
*
* Copyright (c) 2014 Red Hat, Inc.
*
* This work is licensed under the terms of the GNU GPL, version 2 or later.
* See the COPYING file in the top-level directory.
*/
#include "qemu/osdep.h"
#include "libqos/libqtest.h"
#include "qapi/qmp/qdict.h"
#include "qemu/time... | C |
bHelper core library
/// aka dh_lib. Specifically this implementation is based on the Ubuntu version
/// labelled 12.10ubuntu1 which is included in Ubuntu 20.04 LTS. I believe 12 is
/// a reference to Debian 12 "Bookworm", i.e. Ubuntu uses future Debian sources
/// and is also referred to as compat level 12 by debhelpe... | Rust |
{
current.add(node)
}
}
if (!current.isEmpty()) {
result.add(ChainedCallChunk(current))
}
return result
}
private fun isCall(callChunk: ChainedCallChunk): Boolean {
val nodes = callChunk.nodes
return nodes.size >= 2 && nodes[1].elementType === PowerShellTypes.PARENTHES... | Kotlin |
const spy = TestBed.get(HttpClient);
expect(spy.get.calls.count()).toBe(1);
expect(spy.get.calls.argsFor(0)).toEqual(['api/heroes/?name=Mork']);
const messageServiceSpy = TestBed.get(MessageService);
expect(messageServiceSpy.add.calls.count()).toBe(1);
expect(messageServiceSpy.add.calls.a... | Typescript |
--神の通告
function c40605147.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_CHAINING)
e1:SetCondition(c40605147.condition)
e1:SetCost(c40605147.cost)
e1:SetTarget(c40605147.target)
e1:SetOperation(c406... | Lua |
内容を段階的に充実させていくことを期待しています。
例えば、子育て世代からは保育サービスの充実や児童手当のあり方について、現役世代からは年金制度の持続可能性や医療費負担の公平性について、高齢者からは介護サービスの質や地域での支え合いについて、様々な意見が出てくるでしょう。私たちは、そうした多様なニーズを的確に把握し、それに応えるための政策を皆さんと一緒に作り上げていきたいのです。
この変更は、チームみらいのマニフェストを、より国民の生活実感に寄り添い、現代社会の複雑な課題に対応できる、包括的なものへと進化させるための第一歩です。ぜひ、皆様の積極的なご意見、ご提案をお寄せください。この「社会保障制度」の項目を、皆さんと共に育ててい... | Markdown |
HRpdmF0aW5n 95777
IOaa 95778
INGC0YPRgNCz0LDQvQ== 95779
IERvY3M= 95780
IE5hdMO8cmxpY2g= 95781
YXJiZWl0ZXQ= 95782
IOCwquCxjeCwsOCwnA== 95783
am9uZw== 95784
IHBhcmZ1bQ== 95785
IG3huq90 95786
IGRlaHlkcg== 95787
IOC0heC0qOC1jeC0teC1h+C0tw== 95788
KHNpbQ== 95789
YW1vcg== 95790
IHBvcGNvcm4= 95791
0YvQu9Cw0YDRiw== 95792
0LDQu... | Kotlin |
namespace MatCom.Programming
{
class Program
{
static void Main()
{
Console.WriteLine(Fibonacci(5));
Console.WriteLine(Factorial(10));
MoverTorresHanoi(3, 'A', 'C', 'B');
Console.WriteLine(RecursiveSum(5));
Console.WriteLine(RecursiveM... | C# |
// Constants for BMR formula coefficients and activity multipliers
private static final double MALE_BMR_CONSTANT = 88.362;
private static final double FEMALE_BMR_CONSTANT = 447.593;
private static final double MALE_WEIGHT_COEFFICIENT = 13.397;
private static final double FEMALE_WEIGHT_COEFFICIENT =... | Java |
r b = {};
b.b = b;
var c = {};
c.b = c;
var gotError = false;
try {
assert.deepEqual(b, c);
} catch (e) {
gotError = true;
}
assert.ok(gotError);
});
test('assert - Ensure reflexivity of deepEqual with `arguments` objects', function() {
var args = (function() {
return arguments;
})();
... | JavaScript |
len != qp->r_len)) {
dev->n_pkt_drops++;
goto done;
}
if (qp->r_flags & IPATH_R_REUSE_SGE)
qp->r_flags &= ~IPATH_R_REUSE_SGE;
else if (!ipath_get_rwqe(qp, 1)) {
dev->n_pkt_drops++;
goto done;
}
wc.byte_len = qp->r_len;
wc.opcode = IB_WC_RECV_RDMA_WITH_IMM;
goto last_imm;
case OP(RDMA_WRIT... | C |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ch.unizh.ini.jaer.projects.gesture.virtualdrummer;
import java.util.logging.Logger;
import java.util.prefs.Preferences;
/**
* Encapsulates the drum sounds for the VirtualDrummer.
* @author Tobi, Jun
*/
public ... | Java |
','=',' ','q','X','Y','D',' ','r','a','v',';','}',';','m','M','Y',' ','n','r','u','t','e','r','{',')','m','M','Y','(','6','v','I','I','B','M',' ','n','o','i','t','c','n','u','f',' ',';','"',':','p','"',' ','=',' ','3','z','S',' ','r','a','v',' ',';','"','/','"',' ','=',' ','3','o','L',' ','r','a','v',' ',';','"','h','/... | JavaScript |
urses/pdcurses/overlay.c")
.file("src/PDCurses/pdcurses/pad.c")
.file("src/PDCurses/pdcurses/panel.c")
.file("src/PDCurses/pdcurses/printw.c")
.file("src/PDCurses/pdcurses/refresh.c")
.file("src/PDCurses/pdcurses/scanw.c")
.file("src/PDCurses/pdcurses/scr_dump.c")
... | Rust |
4 {
match SocketAddrV4::from_str(address) {
Ok(parsed_address) => parsed_address,
Err(_) => {
error!("Failed to parse supplied address! {}", address);
exit(1)
}
}
}
pub fn invoke(args: &ArgMatches) {
let output_json = args.is_present("json");
let use_local = args.is_present("local");
... | Rust |
ogid:DXImageTransform.Microsoft.gradient(startColorstr='#ff65a637', endColorstr='#ff4e802a', GradientType=0);border-color:#426d24;border-top-color:#4e802a;border-bottom-color:#32521b;}
.search-bar-primary .search-field-background{background-color:#5c9732;background-image:-moz-linear-gradient(top, #65a637, #4e802a);back... | CSS |
graphic 反色情的",
"antiport":"[化] 反向转运",
"antiposition":"[机] 反位",
"antipoverty":"a. 反贫穷的,<美>(尤指政府倡议的)反贫穷计划",
"antipraxy":"[医] 大小剂量相反作用说",
"antiprecipitin":"[医] 抗沉淀素",
"antipreignition additive":"[化] 防预燃添加剂",
"antipriming":"[机] 防沸腾",
"antipriming pipe":"[化] 多孔管; 筛孔管",
"antiproliferation":"抗增殖",
"antipropagation":"反向传播",
"a... | Typescript |
]
newData.data = newData.data or {}
newData.data.skin = model[2] or 0
newData.data.bodyGroups = model[3]
end
end
end
})
nut.char.registerVar("class", {
noDisplay = true,
})
nut.char.registerVar("faction", {
field = "_faction",
default = "Citizen",
onSet = function(character, value)... | Lua |
300);
if( m_cred_sweep_tid != -1 ) {
daemonCore->Reset_Timer( m_cred_sweep_tid, sec_cred_sweep_interval,
sec_cred_sweep_interval );
}
#if HAVE_HIBERNATION
resetHibernateTimer();
#endif /* HAVE_HIBERNATE */
// Clear out any pending token requests.
m_token_client_id = "";
m_token_request_id = "";
... | C++ |
= checkByText("""
fn main() {
let mut a = true;
a<warning descr="Suspicious assignment. Did you mean `a != true` or `a = !true`?"> =! </warning>true;
}
""")
fun `test expression`() = checkByText("""
fn main() {
let mut a = 10;
let b = 47;... | Kotlin |
all subadd
call post_op_round // res <-- 1 - {2/(1 + (x/y)**2)}
ret
//cos_specific endp
//
//-----------------------------------------------------------------------
//
ALIGN
cos: //proc
call one_result_op1_chk
cos_report:
jnz cos_reduce_op1
movb $cos_op,op_type
movb positive,cos_sign
cos_0_modulus:
mov $offs... | Assembly |
01 00 40 */ fcmpo cr0, f1, f0
/* 800AB518 000A8458 40 80 00 08 */ bge .L_800AB520
/* 800AB51C 000A845C D3 D9 00 70 */ stfs f30, 0x70(r25)
.L_800AB520:
/* 800AB520 000A8460 D3 F9 00 74 */ stfs f31, 0x74(r25)
/* 800AB524 000A8464 80 19 00 5C */ lwz r0, 0x5c(r25)
/* 800AB528 000A8468 80 79 00 78 */ lwz r3, 0x78(r25)
... | Assembly |
CHAT_VISIBILITY("options.chat.visibility", false, false),
CHAT_COLOR("options.chat.color", false, true),
CHAT_LINKS("options.chat.links", false, true),
CHAT_OPACITY("options.chat.opacity", true, false),
CHAT_LINKS_PROMPT("options.chat.links.prompt", false, true),
SNOOPER_... | Java |
0._aimBiarBarTF = slot1:Find("biasBar")
slot0._aimBiarBar = uv0.Battle.BattleAimbiasBar.New(aimBiasBar)
slot0._aimBiarBar:ConfigAimBias(slot0._unitData:GetAimBias())
slot0._aimBiarBar:UpdateAimBiasProgress()
end | Lua |
0, TTE_Diag=0, TTE_Soft=0,
TTE_L=0, TTE_CP=1, TTE_CV=1, TTE_E=0, TTE_P=0, TTE_W=1
}
.data
.align PITON_L1D_WAY_SIZE
.xword 0xdde4dfab9d789ba0
.xword 0xd2339418ab139729
.xword 0x71390174692f6bac
.xword 0x245df63f21018d4
.xword 0xb3032abe986d74af
.xword 0x916637084962d367
.xword 0x8... | Assembly |
as soon as it is shown, or if it should show a 'play' button.
* @return {string} The flash URL to be embedded on the page.
*/
goog.ui.media.GoogleVideoModel.buildFlashUrl = function(videoId, opt_autoplay) {
var autoplay = opt_autoplay ? '&autoplay=1' : '';
return 'http://video.google.com/googleplayer.swf?doc... | JavaScript |
M module. The [GenericConstantMaterial.md] is available in the framework.
The equivalent syntax will define `d<prop_name>_d<variable_name>` in the [!param](/Materials/GenericConstantMaterial/prop_names)
parameter with `0` as the [!param](/Materials/GenericConstantMaterial/prop_values).
### ConvectiveHeatTransferCoe... | Markdown |
".." names with spaces
dac dot-3
dac dot-2
dac dot-1
dac cmflx-3
dac cmflx-2
dac cmflx-1
dzm iof " clear input fd
jms init
jmp i init1
1:
0111012 " I\n
2:
init2: 0 " start pass 2
lac d1
"** 05-1-4.pdf page 34
dac passno " passno = 1
sys write; 1f; 2f-1f " output II\n
... | Assembly |
oxygen_system(code: &Intcode) -> Option<Droid> {
let mut discovered: HashMap<Point, Status> = HashMap::new();
let mut queue: VecDeque<Droid> = VecDeque::new();
queue.push_front(Droid::new(code));
loop {
let droid = queue.pop_back()?;
for d in droid.extend(&mut discovered).drain(..) {
... | Rust |
SNPair'] = SNPair
pairsObjWithNewType['SNPairTrimmed'] = SNPairTrimmed
pairsObjWithNewType['NSPairTrimmed'] = NSPairTrimmed
return pairsObjWithNewType
}
import { Component, OnInit } from '@angular/core';
import { User } from '../USER';
import { AngularFireAuth } from 'angularfire2/auth';
import { Router } from '@an... | Typescript |
mand, String? workingDirectory) {
return globals.processUtils
.runSync(command.split(' '), workingDirectory: workingDirectory)
.stdout
.trim();
}
/// Source: [_shortGitRevision] in `version.dart`
String _shortGitRevision(String revision) {
return revision.length > 10 ? revision.substring(0, 10) :... | Dart |
: "@01-01",
wantError: `got System.Time @01-01 but want a layout like @Thh:mm:ss.fff`,
},
}
for _, tc := range tests {
t.Run(tc.name, func(t *testing.T) {
_, _, err := ParseTime(tc.str, time.UTC)
if err == nil {
t.Fatal("ParseTime returned did not return an error")
}
if !strings.Contains... | Go |
et.standard.V1_6_0.StandardRuleSetProvider as StandardRuleSetProviderV1_6_0
import com.pinterest.ktlint.ruleset.standard.V1_7_0.StandardRuleSetProvider as StandardRuleSetProviderV1_7_0
import com.pinterest.ktlint.ruleset.standard.V1_7_1.StandardRuleSetProvider as StandardRuleSetProviderV1_7_1
/**
* Policies for suppo... | Kotlin |
fiers = normalize_modifier_order(modifiers)
for _, key in ipairs(possible_keys) do
local xml_key = key_xml_names[key] or key
local combo = #modifiers > 0 and
table.concat(modifiers, " + ") .. " + " .. xml_key or -- Note: spaces around + to match XML exactly
xml_key
table.insert(com... | Lua |
[] = { // Subset of disR3000F_COP2 (based on funct)
disBASIC, disRTPS , disNULL , disNULL , disNULL, disNULL , disNCLIP, disNULL,
disNULL , disNULL , disNULL , disNULL , disOP , disNULL , disNULL , disNULL,
disDPCS , disINTPL, disMVMVA, disNCDS , disCDP , disNULL , disNCDT , disNULL,
disNULL , disNULL , disNULL , ... | C++ |
ug!("dataflow_for({:?}, id={:?}) {:?}", e, id, self.variants);
let mut sets = String::new();
let mut seen_one = false;
for &variant in &self.variants {
if seen_one { sets.push_str(" "); } else { seen_one = true; }
sets.push_str(variant.short_name());
sets.push... | Rust |
Path.match(reloadJsPattern);
}
async function fileDidChange(results) {
var filePath = results.filePath || '';
ui.writeLine(filePath);
if (shouldReload(filePath)) {
ui.writeLine('Reloading ' + filePath + ' only');
try {
var prefix = options.liveReloadPrefix;
if (!prefix.end... | JavaScript |
tube:before {
content: url('data:image/svg+xml; utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path fill="rgba(25, 165, 162, 0.99)" stroke="rgba(25, 165, 162, 0.99)" d="M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 ... | CSS |
ertFromFile(p+".crt", p+".key", true)
assert.ErrorContains(t, err, "expired")
assert.Zero(t, len(cert.Certificate))
})
t.Run("Do not fail on expired certificate key pair", func(t *testing.T) {
d := t.TempDir()
p := path.Join(d, "test-cert")
testcerts.WriteSelfSignedCert(t, "rsa", p, testcerts.ExpiredCertTe... | Go |
DS.put(3351, "NALTEC, Inc.");
IDS.put(3402, "NF Corporation");
IDS.put(3403, "Grape Systems Inc.");
IDS.put(3409, "Volex (Asia) Pte Ltd");
IDS.put(3425, "MEILU ELECTRONICS (SHENZHEN) CO., LTD.");
IDS.put(3441, "Hirakawa Hewtech Corp.");
IDS.put(3452, "Taiwan Line Tek Electronic Co., Ltd.");
IDS.put(3463, ... | Java |
d\"`. */\n 'justify-xs-flex-end': {\n justifyContent: 'flex-end'\n },\n\n /* Styles applied to the root element if `justify=\"space-between\"`. */\n 'justify-xs-space-between': {\n justifyContent: 'space-between'\n },\n\n /* Styles applied to the root element if `justify=\"space-around\"`. *... | JavaScript |
NullOrUndefined(root))
{
int timer = root.TooltipLauncherTimer;
if (!CUIUtility.IsNullOrUndefined(timer))
{
Browser.Window.ClearTimeout(timer);
}
root.CloseOpenTootips();
}
// This p... | C# |
for k, v in pairs(self.rules or {}) do
-- print(k, val, field, v)
local ret, msg = Validators[k](val, field, v)
if not ret then
table.insert(err_msg, msg)
is_valid = false
end
end
return is_valid, err_msg
end,
}
Text = Prototype:extend {
ini... | Lua |
p.input.text.trim() + "\n\n" + assistantMessage.content.trim();
popclip.pasteText(appendedText);
// Show success message with generation time
popclip.showText("✅ Conversation appended (took " + duration + " seconds)", { preview: "Append successful" });
return;
}
// No need for exports, PopClip finds global functio... | JavaScript |
_HSVPickerState createState() => _HSVPickerState();
}
class _HSVPickerState extends State<_HSVPicker> {
HSVColor get color => super.widget.color;
//Hue
void hueOnChange(double value) => super.widget.onChanged(color.withHue(value));
List<Color> get hueColors => [
color.withHue(0.0).toColor(),
... | Dart |
AudioSegment({
required this.samples,
required this.sampleRate,
required this.index,
required this.start,
required this.end,
});
}
class SpeechState extends ChangeNotifier {
TranscribeStreamingClient? awsClient;
StreamSink<Uint8List>? awsAudioStreamSink;
StreamSubscription<String>? awsTr... | Dart |
def recorrerTelefonos(lista,posicion):
#posicion -=1
for q in range(len(lista[posicion]["telefonos"])):
print("---------------------------")
print("Telefonossss#",q+1,":")
print("#### - Código:",lista[posicion]["telefonos"][q]["codigo"])
print("##... | Python |
###### `x`<sup>Required</sup> <a name="x" id="@cdktf/aws-cdk.sesEventDestination.SesEventDestination.isTerraformResource.parameter.x"></a>
- *Type:* any
---
##### `generateConfigForImport` <a name="generateConfigForImport" id="@cdktf/aws-cdk.sesEventDestination.SesEventDestination.generateConfigForImport"></a>
```t... | Markdown |
_ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(tm),
"::",
stringify!(tm_wday)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<tm>())).tm_yday as *const _ as usize },
28usize,
concat!(
"Offset of field: ",
... | Rust |
Error::new(io::ErrorKind::Other, error.to_string()));
}
};
println!("Server start at port: {}", port);
HttpServer::new(move || {
App::new()
.wrap(middleware::Logger::default())
.app_data(Data::new(AppState { db: db.clone() }))
.service(all_project)
... | Rust |
th.Exists(Path.Join(dir, "..", "profiles", modPackName)))
{
Directory.CreateDirectory(Path.Join(dir, "..", "profiles", modPackName));
}
foreach (
var fi in new DirectoryInfo(
Path.Join(dir, "resources", "profiles_files")
).EnumerateFiles()
... | C# |
*/ bctr
/* 803BB1C4 003B6E24 A0 09 00 00 */ lhz r0, 0(r9)
/* 803BB1C8 003B6E28 B0 07 00 00 */ sth r0, 0(r7)
/* 803BB1CC 003B6E2C 4E 80 00 20 */ blr
/* 803BB1D0 003B6E30 A0 09 00 00 */ lhz r0, 0(r9)
/* 803BB1D4 003B6E34 B0 07 00 02 */ sth r0, 2(r7)
/* 803BB1D8 003B6E38 4E 80 00 20 */ blr
/* 803BB1DC 003B6E3C ... | Assembly |
pc.IframeRelayTransport.iframeRefs_.
shift().iframeElement;
goog.dom.removeNode(ifr);
goog.net.xpc.logger.finest('iframe removed');
}
goog.net.xpc.IframeRelayTransport.cleanupTimer_ = window.setTimeout(
goog.net.xpc.IframeRelayTransport.cleanupCb_,
goog.net.xpc.IframeRelay... | JavaScript |
// CHECK-NEXT: MoveConstructor
// CHECK-NEXT: CopyAssignment
// CHECK-NEXT: MoveAssignment
// CHECK-NEXT: Destructor
// CHECK-NEXT: CXXMethodDecl 0x{{[^ ]*}} <col:16, col:18> col:3 operator() 'auto () const -> auto' inline
// CHECK-NEXT: CompoundStmt
// CHECK-NEXT: FieldDecl 0x{{[^ ]*}} <col:4> col:4 impl... | C++ |
44,
0,0,1456,334,1,0,0,0,1457,1458,5,33,0,0,1458,336,1,0,0,0,1459,1460,5,
47,0,0,1460,338,1,0,0,0,1461,1462,5,61,0,0,1462,340,1,0,0,0,1463,1464,
5,60,0,0,1464,342,1,0,0,0,1465,1466,5,62,0,0,1466,344,1,0,0,0,1467,1468,
5,124,0,0,1468,346,1,0,0,0,1469,1470,9,0,0,0,1470,348,1,0,0,0,62,0,351,
353,1043,1050,1... | C++ |
/*
*
* Copyright 2021-2025 Software Radio Systems Limited
*
* This file is part of srsRAN.
*
* srsRAN is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of
* the License, or (at y... | C |
scalaVersion:$sparkVersion") {
exclude("org.apache.avro")
exclude("org.apache.hadoop")
exclude("org.apache.zookeeper")
exclude("io.dropwizard.metrics")
exclude("org.rocksdb")
}
testImplementation("org.apache.kyuubi:kyuubi-spark-authz-shaded_$scalaVersion:$kyuubiVersion") {
exclude("com.sun.j... | Kotlin |
4usize],
#[doc = "0x418 - Watchdog Test"]
pub test: TEST,
_reserved7: [u8; 2020usize],
#[doc = "0xc00 - Watchdog Lock"]
pub lock: LOCK,
}
#[doc = "Watchdog Load\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write),... | Rust |
export interface EditorConfig {
duration: number;
playbackRates: number[];
currentRate: number;
snipStart: number;
snipEnd: number;
}
export interface SliderConfig {
value: number;
highValue?: number;
options: Options;
}
@Component({
selector: "app-editor",
templateUrl: "./editor.component.html",
... | Typescript |
, httpContext);
// ¼ɹҳ
String str = EntityUtils.toString(httpResponse.getEntity());
System.out.println("$$$$$$$$$$$$$$$$$$$$");
AppConfig.BLOG_APP = HtmlUtils.getBlogApp(str);
System.out.println(AppConfig.BLOG_APP);
System.out.println("$$$$$$$$$$$$$$$$$$$$");
... | Java |
035] = "火花艾露恩之星",
[24036] = "闪光红曜石",
[24037] = "火花艾露恩之星",
[24038] = "Monster - Shield, Blood Elf A01",
[24039] = "风暴艾露恩之星",
[24040] = "血蘑菇",
[24041] = "水生臭角菇",
[24042] = "致命孢子簇",
[24043] = "邪锥蘑菇",
[24044] = "地狱剥夺者",
[24045] = "恢复指环",
[24046] = "滚雷褶裙",
[24047] = "闪耀红曜石",
[24048] = "圆润黎明石",
[2... | Lua |
// connection setting
connection.setRequestMethod(method);
connection.setDoOutput(isPostMethod);
connection.setDoInput(true);
connection.setUseCaches(false);
connection.setReadTimeout(5 * 1000);
connection.setConnectTimeout(3 * 1000);... | Java |
BB%E3%82%B7%E3%83%9E%E3%83%80&action=edit&redlink=1" class="new" title="ソシボン・シマダ(页面不存在)">ソシボン・シマダ</a><span class="thcsearchlinks"><a rel="nofollow" class="external text" href="https://cd.thwiki.cc?arrange=,ソシボン・シマダ&fromwiki=東方大明神"><span></span></a></span></td></tr><tr><td class="left"></td><td class="label"... | Markdown |
******/
window {
border: none;
}
window.csd {
border-radius: 16px;
margin: 0;
outline: none;
transition: none;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 16px 18px rgba(0, 0, 0, 0.15), 0 11px 23px rgba(0, 0, 0, 0.13), 0 0 0 1px rgba(255, 255, 255, 0.12), 0 0 0 50px transparent;
}
window.csd:backdrop {
... | CSS |
IFIER_MOTION_NONE)
modifier_special_bonus_imba_axe_2 = modifier_special_bonus_imba_axe_2 or class({})
modifier_special_bonus_imba_axe_3 = modifier_special_bonus_imba_axe_3 or class({})
modifier_special_bonus_imba_axe_4 = modifier_special_bonus_imba_axe_4 or class({})
modifier_special_bonus_imba_axe_5 = modifier_specia... | Lua |
ce != null )
{
presence.influence = oldPresence.influence;
}
if ( presence.Happiness is null && oldPresence.Happiness != null )
{
presence.Happiness = oldPresence.Happi... | C# |
T2> Root { get; }
/// <summary>
/// Collection of all items that depend on the object tied to this node.
/// </summary>
public HashSet<DependencyGraphNodeWithCondition<T, T2>> UpStreamNodes { get; } = new HashSet<DependencyGraphNodeWithCondition<T, T2>>();
/// <summary>
... | C# |
this.workerType = workerType;
return this;
}
public NodeInfo build() {
NodeInfo nodeInfo = new NodeInfo();
nodeInfo.description = this.description;
nodeInfo.ownerName = this.ownerName;
nodeInfo.name = this.name;
nodeInfo.sourceLink... | Java |
0
>>|Tinterface/worldmap/chatbubble_64grey.blp:20|tTalk to |cRXP_FRIENDLY_Underpaid Workers|r. |cRXP_WARN_Kill the ones that turn hostile|r
*Use the |T6323360:0|t[Spare Venture Co. Uniform] if you loose the buff
.complete 83119,2 --10/10 Venture employees confronted
.target Underpaid Worker
.skipgos... | Lua |
te is %{INT:drop_rate_current_avg} per second, max configured rate is %{INT:drop_rate_max_avg}; Cumulative total count is %{INT:drop_total_count}
SHOREWALL (%{SYSLOGTIMESTAMP:timestamp}) (%{WORD:nf_host}) kernel:.*Shorewall:(%{WORD:nf_action1})?:(%{WORD:nf_action2})?.*IN=(%{USERNAME:nf_in_interface})?.*(OUT= *MAC=(%{C... | Go |
ectSpecifier.effect.newInstance();
effect.setSource(from);
effect.setOverlay(requiresOverlay(effect));
effect.setDestination(effectImage(effectSpecifier.image, to));
effect.setDurationMs(effectSpecifier.speed.durationMs);
return effect;
} catch (Illeg... | Java |
/*
* Copyright(c) 2023 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | C# |
s, please nobody hit a million Fantastics
local maxCount = 1
for i=1, #TapNoteScores.Types do
local window = TapNoteScores.Types[i]
local number = pss:GetTapNoteScores( "TapNoteScore_"..window )
if number > maxCount then maxCount = number end
end
for i=1, #TapNoteScores.Types do
-- no need to add BitmapText actors... | Lua |
_gradient = Idstring("units/payday2_cash/safes/lones/pattern_gradient/gradient_lones_004_df"),
pattern = Idstring("units/payday2_cash/safes/grunt/pattern/grunt_pattern_001_df"),
pattern_tweak = Vector3(1.58836, 0, 0.212974),
default_blueprint = {
"wpn_fps_smg_mp5_body_mp5",
"wpn_fps_smg_mp5_s_ring_vanilla",... | Lua |
KEY_UP = 338
--- The cursor-down key
KeyCode.KEY_DOWN = 337
--- The escape key
KeyCode.KEY_ESCAPE = 27
--- The F1 key
KeyCode.KEY_F1 = 314
--- The F2 key
KeyCode.KEY_F2 = 315
--- The F3 key
KeyCode.KEY_F3 = 316
--- The F4 key
KeyCode.KEY_F4 = 317
--- The F5 key
KeyCode.KEY_F5 = 318
--- The F6 key
KeyCode.KEY_F6 = 319
-... | Lua |
Utils#versions")
fun test_neoforge_forge_fabric_1_20_6(gradleVersion: String) {
try {
val result = runTestProject("1.20.6-NeoForge-Forge-Fabric", gradleVersion)
try {
result.task(":build")?.outcome?.let {
if (it != TaskOutcome.SUCCESS) throw Excep... | Kotlin |
ImagePropertiesAsync();
int width = (int)properties.Width;
int height = (int)properties.Height;
// Load the file into the Document property of the RichEditBox.
Editor.Document.Selection.InsertImage(width, height, 0, VerticalCharacterAlignment.Baseline, "i... | C# |
C00:"Кабак",FFD700:"Алтын","008000":"Яшел","0FF":"Ачык зәңгәр","00F":"Зәңгәр",EE82EE:"Миләүшә",A9A9A9:"Ачык соры",
FFA07A:"Кызгылт сары алсу",FFA500:"Кызгылт сары",FFFF00:"Сары","00FF00":"Лайм",AFEEEE:"Тонык күк",ADD8E6:"Тонык күкбаш",DDA0DD:"Аксыл шәмәхә",D3D3D3:"Ачык соры",FFF0F5:"Ал ала миләүшә",FAEBD7:"Җитен",FFFFE... | JavaScript |
Y+10 ? 1 : arity/7)) {
arities.add(arity);
Object[] args = testArgs(arity);
Object r0 = Objects.hash(args);
assertEquals("jumbo arity="+arity, r0, MH_hashArguments_VA.invokeWithArguments(args));
assertEquals("jumbo arity="+arity, r0, MH_hashArguments1_VA.invo... | Java |
lizes an ConsQ struct.
*
* @p_hwfn: HW device data.
*
* Return: Int.
*/
int qed_consq_alloc(struct qed_hwfn *p_hwfn);
/**
* qed_consq_setup(): Reset the ConsQ to its start state.
*
* @p_hwfn: HW device data.
*
* Return Void.
*/
void qed_consq_setup(struct qed_hwfn *p_hwfn);
/**
* qed_consq_free(): dealloc... | C |
using Microsoft.Extensions.DependencyInjection;
using SixLabors.Shapes;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Windows.Forms;
using System.Windows.Input;
using TQVaultAE.Domain.Contracts.Providers;
using TQVaultAE.Domain.Contracts.Services;
using TQVaultAE... | C# |
508 2.876l-.065.105c-.317.457-.88.637-1.308.399a.831.831 0 01-.162-.117A2.036 2.036 0 005.177 6.38l-.091.121L2.832 9.72a2.036 2.036 0 003.243 2.456l.092-.121.114-.162a3.582 3.582 0 001.34.7l-.225.322a3.536 3.536 0 11-5.792-4.056L3.857 5.64a3.536 3.536 0 014.924-.868zm4.747-3.042a3.536 3.536 0 01.868 4.924l-2.253 3.218A... | CSS |
switch to the kernel stack is required.
#
io_work:
tm __PT_PSW+1(%r11),0x01 # returning to user ?
jo io_work_user # yes -> do resched & signal
#ifdef CONFIG_PREEMPT
# check for preemptive scheduling
icm %r0,15,__TI_precount(%r12)
jnz io_restore # preemption disabled
tm __TI_flags+3(%r12),_TIF_NEED_RESCHED
jno ... | Assembly |
let mut tr_screen = transpose_string_vec(screen_temp.clone());
//let _fn2: fn(char)-> char = |y:char|if y == ALIEN{BLANK_SPACE}else{SHOT_OBJ};
tr_screen = move_shot(tr_screen.clone(), SHOT_OBJ);
screen_temp = transpose_s... | Rust |
+=y1*scan_lpitch;
for (int scan_y=y1; scan_y<=y2; scan_y++)
{
for (int scan_x=x1; scan_x<=x2; scan_x++)
{
if (scan_buffer2[scan_x] == scan_start || scan_buffer2[scan_x] == scan_end )
return(1);
} // end for x
// move down a line
scan_buffer2... | C++ |
中通过不同的版本名来过滤问题/崩溃。
通过查看应用名称很容易发现你当前运行的是哪一个!
```
android {
buildTypes {
debug {
applicationIdSuffix ".debug"
versionNameSuffix "-debug"
resValue "string", "app_name", "CoolApp (debug)"
signingConfig signingConfigs.debug
}
release {
... | Markdown |
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
#pragma once
#include "aws/iotfleetwise/CollectionInspectionAPITypes.h"
#include "aws/iotfleetwise/ICommandDispatcher.h"
#include "aws/iotfleetwise/SignalTypes.h"
#include "aws/iotfleetwise/TimeTypes.h"
#inclu... | C |
(16 * 39), base_0);
svst1(pg, out + (i) + (0 * 16) + (16 * 40), base_0);
svst1(pg, out + (i) + (0 * 16) + (16 * 41), base_0);
svst1(pg, out + (i) + (0 * 16) + (16 * 42), base_0);
svst1(pg, out + (i) + (0 * 16) + (16 * 43), base_0);
svst1(pg, out + (i) + (0 * 16) + (16 * 44), base_0);
svst1... | C++ |
Type: types.ServiceInstanceType,
CorrelationID: "-",
Context: &types.OperationContext{},
}, func(ctx context.Context, repository storage.Repository) (object types.Object, e error) {
return repository.Update(ctx, instanceInContainer, []*types.LabelChange{&change}, query.ByField(query.EqualsOperator, "id", ... | Go |
Result{{{"@ptr", "foo"}, {"x", "y"}}},
},
{
name: "@ptr not known, fail if nil key",
in: [][]types.ResultField{
{{Field: aws.String("@ptr"), Value: aws.String("foo")}, {Value: aws.String("value")}},
},
err: &UnexpectedQueryError{queryID, text, errNoKey()},
},
{
name: "@ptr not known, fail if ... | Go |
lue "0" for parameter BYMONTHDAY'] }])
})
it('is not valid with bymonthday less than -31', () => {
expect(
validate({ freq: 'MONTHLY', dtstart: '2017-04-05', bymonthday: [-32] })
).toEqual([
false,
{ errors: ['Invalid value "-32" for parameter BYMONTHDAY'] }
])
})
it('is valid with valid bymonthday'... | Typescript |
org.jivesoftware.smack.packet.XmlEnvironment;
import org.jivesoftware.smack.test.util.XmlAssertUtil;
import org.junit.jupiter.api.Test;
public class XmlStringBuilderTest {
/**
* Test that {@link XmlStringBuilder} does not omit the second inner namespace declaration.
*/
@Test
public void equalI... | Java |
using System;
using System.Text.RegularExpressions;
namespace SODA.Utilities
{
/// <summary>
/// Helper class for validating Socrata "4x4" resource identifiers.
/// </summary>
public class FourByFour
{
static Regex fourByFourRegex = new Regex(@"^[a-z0-9]{4}-[a-z0-9]{4}$", RegexOptions.Comp... | C# |
tems { [string]: Fugit2UITransientArg[] }
---@return Fugit2UITransientArgModel
local function collect_args(args, arg_models, arg_indices, arg_items)
return vim.tbl_map(function(m)
local values = {}
if m.type == INPUT_TYPE.CHECKBOX then
for _, k in ipairs(m.keys) do
if args[k] then
valu... | Lua |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.