content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
,.feedback-button input:hover,.iDevice_buttons input:hover{background-color:#004b80}
.emphasis0 .feedbackbutton,.emphasis0 .feedback-button input,.emphasis0 .iDevice_buttons input{background-color:#CC6715}
.emphasis0 .feedbackbutton:hover,.emphasis0 .feedback-button input:hover,.emphasis0 .iDevice_buttons input:hover{... | CSS |
/*
* JZ LCD PANEL DATA
*
* Copyright (c) 2014 Ingenic Semiconductor Co.,Ltd
* Author: Huddy <hyli@ingenic.cn>
*
* 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 2 of
* the... | C |
ns:Fe}};return h(()=>()=>{ne.current=!1},[]),h(()=>{let Ie=Math.trunc(L*1.75),Fe=Ee.slice(0,Ie),At=Ee.slice(Ie),H=uIe(At,L),at=Fe.map(ee).reduce(async(Re,ke)=>{await Re;let xe=await ke;xe!==null&&(!ne.current||le(He=>{let Te=He.findIndex(qe=>qe===null),Je=[...He];return Je[Te]=xe,Je}))},Promise.resolve());H.reduce((Re,... | JavaScript |
ями, чтобы жить в мире и справедливости.\n\nВыбери это знамя, чтобы представлять высокие идеалы Альянса во всем Азероте и за его пределами.";
CHOOSE_THE_HORDE = "Гордые и свободолюбивые расы Орды объединились в борьбе против враждебного внешнего мира, который стремится их уничтожить.\n\nЦелеустремленные и свирепые, вои... | Lua |
2 2.83-2.992 1.374l-22.313-19.423c-1.668-1.452-3.009-4.412-2.994-6.635l.308-45.565zM89.19 56.053c1.618 1.5 2.93 4.501 2.93 6.714v44.353c0 2.209-1.275 5.253-2.848 6.8l-7.356 7.232c-1.572 1.546-4.225 1.666-5.933.26l-8.897-7.325c-1.704-1.403-3.086-4.335-3.086-6.53v-70.85c0-2.205 1.319-2.77 2.93-1.277l22.26 20.623z"/></svg... | Dart |
秘神流雏
18[](./河城荷取.md)
[河城荷取](./河城荷取.md)
[河城荷取](./河城荷取.md)
河城 にとり
Kawasiro Nitori
河童
... | Markdown |
\/admin-ajax.php"};
/* ]]> */
</script>
<script type='text/javascript' src='https://webstrot.com/wp-content/plugins/ds-live-composer/js/main.min.js?ver=1.2.4.1.0.6.1'></script>
<script type='text/javascript' src='https://webstrot.com/wp-content/themes/seowp/javascripts/custom.modernizr.js?ver=2.6.2'></script>
<link rel... | HTML |
e reciprocal of [this].
Float32x4 reciprocalSqrt() {
double _x = Math.sqrt(1.0 / _storage[0]);
double _y = Math.sqrt(1.0 / _storage[1]);
double _z = Math.sqrt(1.0 / _storage[2]);
double _w = Math.sqrt(1.0 / _storage[3]);
return new Float32x4(_x, _y, _z, _w);
}
}
/**
* Interface of Dart Int32x... | Dart |
0d3db;background-color:#fff;color:red;vertical-align:middle}
.filebox .btn_file {display:inline-block;position:absolute;right:8px;top:8px;border:1px solid #3a8afd;border-radius:3px;width:70px;height:30px;color:#3a8afd;font-size:1em;line-height:30px;font-weight:bold;text-align:center;vertical-align:middle}
.filebox inpu... | CSS |
toFind = new Vector2Int(pos.x + 5*h - p, pos.y - h);
else // left of the perimeter
toFind = new Vector2Int(pos.x - h, pos.y - 7*h + p);
if (toFind.x >= -width / 2 && toFind.x < width / 2 && toFind.y >= -height / 2 && toFind.y < height / 2 && !this.IsObstacle(toFind))
{
... | C# |
-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(str))
return m(parseInt(res[1], 16), parseInt(res[2], 16), parseInt(res[3], 16));
// Look for #fff
if (res = /#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(str))
return m(parseInt(res[1]+res[1], 16), parseInt(res[2]+res[2], 16), par... | JavaScript |
.unwrap();
},
_ => {}
}
}
#[no_mangle]
pub extern "system" fn Java_io_zbox_fs_RepoOpener_jniOpsLimit(
env: JNIEnv,
obj: JObject,
limit: jint,
) {
let mut opener = unsafe {
env.get_rust_field::<&str, RepoOpener>(obj, RUST_OBJ_FIELD)
.unwrap()
}... | Rust |
OTTOMRIGHT", 0, -1);
end
ChatConfigCategoryFrameButton1:SetShown(not isTextToSpeech);
ChatConfigCategoryFrameButton3:SetShown(not isTextToSpeech);
ChatConfigCategoryFrameButton4:SetShown(not isTextToSpeech);
ChatConfigCategoryFrameButton5:SetShown(isTextToSpeech);
ChatConfigCategoryFrameButton6:SetShown(isTextT... | Lua |
reject any transactions that use
/// that `recent_blockhash` in a transaction. Lowering this value reduces memory consumption,
/// but requires clients to update its `recent_blockhash` more frequently. Raising the value
/// lengthens the time a client must wait to be certain a missing transaction will
/// not be proce... | Rust |
id("grpc")
}
}
}
}package cat.helm.basearchitecture.ui.exception
import android.content.Context
import cat.helm.basearchitecture.R
import cat.helm.basearchitecture.data.dependencyinjection.qualifier.ApplicationContext
import cat.helm.basearchitecture.model.exceptions.NetworkException
import ... | Kotlin |
alization - DO NOT MODIFY //GEN-BEGIN:initComponents
JLabel originXLabel = new JLabel();
originXSlider = new JSlider();
JLabel originYLabel = new JLabel();
originYSlider = new JSlider();
JLabel translateXLabel = new JLabel();
translateXSlider = new JSlider();
JLabel translateYLabel = new JLabel();
tran... | Java |
None => return Err(AVRError::MalformedReportBody.into()),
};
Ok(quote_body)
}
}
/// Attestation verification report.
#[derive(Debug, Default, Clone, cbor::Encode, cbor::Decode)]
pub struct AVR {
pub body: Vec<u8>,
pub signature: Vec<u8>,
pub certificate_chain: Vec<u8>,
}
///... | Rust |
<header class="subsection__header">
<h3>Finding the right note</h3>
</header>
<div class="subsection__body">
<div class="layout layout--basic">
<div class="module module--secondary">
<p>Now that we have the fundamental frequency, we just need to find the note with the closest freque... | HTML |
f.write("\n")
plt.figure()
plt.plot(self.epoches, self.maps, 'red', linewidth = 2, label='train map')
plt.grid(True)
plt.xlabel('Epoch')
plt.ylabel('Map %s'%str(self.MINOVERLAP))
plt.title('A Map Curve')
pl... | Python |
t:1.5;color:#fff;background-color:rgba(40,167,69,.9);border-radius:.25rem}.form-row>.col>.bootstrap .valid-tooltip,.form-row>[class*=col-]>.bootstrap .valid-tooltip{left:5px}.bootstrap .is-valid~.valid-feedback,.bootstrap .is-valid~.valid-tooltip{display:block}.bootstrap .form-control.is-valid{border-color:#28a745;padd... | CSS |
let one = VWrap::new_with_val(OpConst::new(), ValType::F(1.));
let a = Div(one, Mul(Cos(inputs[0].clone()), Cos(inputs[0].clone())));
vec![Mul(a, out_adj.clone())]
},
)
}
}
impl FWrap for OpPow {
fn new() -> Box<dyn FWrap>
where
... | Rust |
imageModel)
imageModel = BindImageModel()
imageModel.resId = R.drawable.a2
list.add(imageModel)
imageModel = BindImageModel()
imageModel.resId = R.drawable.a1
list.add(imageModel)
imageModel = BindImageModel()
imageModel.... | Kotlin |
using dnlib.DotNet;
using dnlib.DotNet.Emit;
namespace dnlib.Examples {
public class Example2 {
// This will open the current assembly, add a new class and method to it,
// and then save the assembly to disk.
public static void Run() {
// Open the current module
ModuleDefMD mod = ModuleDefMD.Load(typeof(... | C# |
Smith", func() {
userWillData := h.User().NewData().
SetName("Will Smith").
SetEmail("will.smith@example.com")
userWill := h.User().Create(env, userWillData)
So(userWill.Len(), ShouldEqual, 1)
So(userWill.ID(), ShouldBeGreaterThan, 0)
})
Convey("Checking constraint methods enforcement",... | Go |
sileConfig.moveSpeed;
this.killBy = missileConfig.killBy;
this.health = missileConfig.health;
this.a = missileConfig.moveSpeed;
if (missileConfig.turnRate || missileConfig.turnRate === 0) {
this.turnRate = missileConfig.turnRate;
} else {
this.turnRate = this.a / 7;
}
this.turn... | Typescript |
# Generated by Django 3.2.8 on 2024-01-11 20:52
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('employee', '0200_alter_employee_options'),
]
operations = [
migrations.AlterField(
model_name='... | Python |
<< " run: " << it->m_rn << "\n lumisegment: " << it->m_lumisegment << std::endl;
for (size_t i = 0; i < it->m_GTAlgoCounts.size(); i++) {
std::cout << "m_GTAlgoCounts[" << i << "] = " << it->m_GTAlgoCounts[i] << std::endl;
}
}
}
void L1TriggerScaler::printGTAlgoRates() const {
for (LumiIterator it... | C++ |
vq %gs:SGX_INITIAL_STACK_ADDR, %rsp
# clear the rest of register states
xorq %rax, %rax
xorq %rbx, %rbx
xorq %r8, %r8
xorq %r9, %r9
xorq %r10, %r10
xorq %r11, %r11
xorq %r12, %r12
xorq %r13, %r13
xorq %r14, %r14
xorq %r15, %r15
# clear the Alignment Check flag (%rFLAGS.AC) to prevent #AC-fault side chann... | Assembly |
ร้างเครื่องมือวิจัย โครงการนี้จะช่วยให้ Academia Sinica ปรับปรุงขีดความสามารถและมาตรฐานการวิจัย และเสริมสร้างการบูรณาการกับมาตรฐานสากล ดังนั้นคำตอบคือใช่</p></div></div></div></div><div class="panel panel-default"><div class="panel-heading"><h4 class="panel-title"><a data-toggle="collapse" data-parent="#accordion_oneLe... | HTML |
e_dir or model_cache_dir,
)
else:
data_args.p_max_len = max_len
hf_dataset = HFCorpusDataset(
tokenizer=tokenizer,
data_args=data_args,
cache_dir=data_args.data_cache_dir or model_cache_dir,
)
encode_dataset... | Python |
vif,image/webp,image/apng,*[inserted by cython to avoid comment closer]/[inserted by cython to avoid comment start]*;q=0.8,application/signed-exchange;v=b3;q=0.9', 'sec-fetch-site': 'same-origin', 'sec-fetch-mode': 'navigate', 'sec-fetch-user': '?1', 'sec-fetch-dest': 'document', 'accept-encoding': 'gzip, deflate, br',... | Python |
好的,并可介绍适当职业。少数人在未得到生活安置前,可酌予临时救济,但不能以吃救济饭作为他们的出路。对于年老体弱不能工作的人员,应有适当的退休办法;对于有病的人员,应定出休养办法,不应简单清洗了事。
</p>
<p>
第四,对于犯有错误的青年学生,在处理上须分别情况慎重处理。有些学生由于受旧社会污毒的影响,偶尔犯错误的,首先应耐心地教育,并可酌情给以警告记过等纪律处分;只对于屡教不改的,或情节恶劣的才开除学籍。
</p>
<p>
对于被开除的学生,年在17岁以下,特别是十四五岁以下的,应由教育部门建立半工半读的教养性质的学校,在其家庭自愿的条件下,吸收他们入校学习,学杂费、伙食费原则上应由他们自己担负。对于... | HTML |
number": 7,
"verse_number": 51,
"content":
"che consideravano la loro religione gioco e passatempo ed erano ingannati dalla vita terrena”. Ebbene, oggi Noi li dimenticheremo, come loro hanno dimenticato l'incontro di questo Giorno e hanno rigettato i Nostri segni."
},
{
"surah_number": 7,
"v... | Dart |
grating-to-cloudflare-email-routing-zh-cn">按照本指南迁移到 Cloudflare Email Routing</a>。</li>
<li><strong>等待 DNS 变更信息的传送</strong>:注册商最长可能需要 24 小时的时间来处理域名服务器更新。当 Cloudflare 确认变更完毕,您将收到一封电子邮件。在此之前,您不能继续域名转移流程。</li>
</ul>
<h3 id="%E5%90%AF%E5%8A%A8%E5%92%8C%E7%A1%AE%E8%AE%A4%E8%BD%AC%E7%A7%BB%E6%B5%81%E7%A8%8B">启动和确认转移流程</h3... | HTML |
erson_mountain_biking_tone5 {
background-image: url("emojione/assets/4.5/png/128/1f6b5-1f3ff.png");
}
.e1a-woman_mountain_biking {
background-image: url("https://cdn.jsdelivr.net/emojione/assets/4.5/png/128/1f6b5-2640.png");
}
.e1a-rel-woman_mountain_biking {
background-image: url("emojione/assets/4.5/png/128/1... | CSS |
ctor: scaleFactor,
rescaleMode: 'resolution'
});
}
drawMegapixelsRow(ctx, x, y) {
const props = this.node.properties;
const scaleFactor = this.calculateMegapixelsScale(props.targetMegapixels);
this.drawScalingRowBase(ctx, x, y, {
buttonContro... | JavaScript |
creen");
//Assert
Assert.NotNull(dabAnim);
Assert.NotNull(tikAnim);
Assert.NotNull(loadingScreen);
}
[Test]
public async Task EnsureSkyboxEssentials()
{
// Arrange
var addressableProvider = new AddressableResourceProvider();
//Act
var sk... | C# |
l);
}
if (m_pFolderItem) {
if (g_dwTickMount && GetTickCount() - g_dwTickMount < 500) { //#248
m_pFolderItem->AddRef();
}
m_pFolderItem->AddRef();
m_uLogIndex = UINT(m_ppLog.size());
m_ppLog.push_back(m_pFolderItem);
}
}
g_dwTickMount = 0;
}
STDMETHODIMP CteShellBrowser::GetViewStateStream(D... | C++ |
mkKwCQxYjIeLMaELoLMBAgwAU7UJObTKsvAAAAAASUVORK5CYII=); }.ace_searchbtn_close {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAcCAYAAABRVo5BAAAAZ0lEQVR42u2SUQrAMAhDvazn8OjZBilCkYVVxiis8H4CT0VrAJb4WHT3C5xU2a2IQZXJjiQIRMdkEoJ5Q2yMqpfDIo+XY4k6h+YXOyKqTIj5REaxloNAd0xiKmAtsTHqW8sR2W5f7gCu5nWFUpVjZwAAA... | JavaScript |
gister block.
* @param[in] slaveID Slave MATRIX ID.
* @param[in] type Select from
* No default master,
* Last access master,
* Fixed default master.
* @param[in] masterID Master MATRIX ID.
*/
void mtxConfigDefaultMaster(Matrix *mtxp, ui... | C |
data-v-f78e53d6],.orderCont .items .item .weight[data-v-f78e53d6]{text-align:right;width:6.25rem}.delay[data-v-f78e53d6]{display:flex;font-size:var(--font-size-14);align-items:center;border-bottom:solid .0625rem var(--neutral-color-background);padding:.625rem 0}.delay .info[data-v-f78e53d6]{flex:1;color:var(--neutral-c... | CSS |
#[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"]
pub const D3D12_FEATURE_ARCHITECTURE1: D3D12_FEATURE = 16i32;
#[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"]
pub const D3D12_FEATURE_D3D12_OPTIONS2: D3D12_FEATURE = 18i32;
#[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"]
pu... | Rust |
omega) {
g.Expect(k8sClient.Get(ctx, appKey, app)).Should(Succeed())
app.Status.SetConditions(condition.Condition{Type: "StateKeep", Status: "True", Reason: condition.ReasonAvailable, LastTransitionTime: v12.Now()})
g.Expect(k8sClient.Status().Update(ctx, app)).Should(Succeed())
}, 10*time.Second).Should(Suc... | Go |
til.SystemUtilities;
public class ToolBarData {
private static final String NO_SUBGROUP = Character.toString('\uffff');
private Icon icon;
private String toolBarGroup;
private String toolBarSubGroup;
private DockingAction ownerAction;
ToolBarData(DockingAction ownerAction, Icon icon, String toolBarGroup, Strin... | Java |
the :hover effect on touch devices,
otherwise the style lingers after tapping the button. */
@media (any-pointer: coarse) {
input:hover, button:hover, select:hover, option:hover,
input::file-selector-button:hover,
.button-activations:hover {
--button-activation-level: 0;
}
}
input:active, but... | CSS |
14]:https://opensource.com/users/jonobacon
漏洞修复八个月后,仍有超过七万台 memcached 服务器面临危险
============================================================

在开源缓存软件 memcached 修复了三个关键漏洞的八个月之后,仍有超过 70000 台未打补丁的缓存服务器直接暴露在互联网上。安全研究员警告说,黑客可能会在服务器上执行恶意代码或从其缓存中窃取潜... | Markdown |
charset=iso8859-1">
<meta name="ms.locale" content="en-us">
<meta name="description" content="opens a digital driver to play 2D digital audio.">
<meta name="ms-hkwd" content="AIL_open_digital_driver">
<link rel="stylesheet" title="default" href="reference.css" type="text/css" media="screen">
</head>
<body topmargin="0... | HTML |
// https://sharp.pixelplumbing.com/api-resize#resize
throw new Error('genCrop is not implemented yet')
// const { w, h, fit, fp_l, fp_t } = qs
// // we don't need to process this if it's not crop
// if (fit !== 'crop') {
// return null
// }
// const width = w ? parseInt(w, 10) : 666
// const heig... | Typescript |
nd() will
* block until frame is sent or timeout. If timeout happens, but
* the frame is not sent still, hdlc level rejects sending of the frame.
* In this case the frame will be sent partially, causing RX errors on
* other side. Please use reasonable timeout.
*
* If timeout is specified a... | C |
21%402141001d17255200590902752ef1cf%2112000041377281686%21sea%21IL%210%21ABX&curPageLogUid=2BYZbROyCuqv&utparam-url=scene%3Asearch%7Cquery_from%3A" target="_blank" dir="rtl"><div class="multi--image--2bIiWPB multi--imagesGallery--3xCP4Ci"><div class="images--multiImage--25mi-3K"><div class="images--hover--1N5tJ... | HTML |
bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 3)) | ((value as u32 & 0x01) << 3);
self.w
}
}
#[doc = "Field `RX_FILTER_EN_CH3` reader - reg_rx_filter_en_ch3."]
pub struct RX_... | Rust |
(getEmoji("credit_card"), R.string.category_loan)
CategoryType.SERVICE -> Pair(getEmoji("hammer_and_wrench"), R.string.category_service)
CategoryType.SHOPPING -> Pair(getEmoji("shopping"), R.string.category_shopping)
CategoryType.BILLS -> Pair(getEmoji("bulb"), R.string.category_bills)
C... | Kotlin |
rices with Top-Left Element and Sum Less Than k|[:us:](https://leetcode.com/problems/count-submatrices-with-top-left-element-and-sum-less-than-k) [:cn:](https://leetcode.cn/problems/count-submatrices-with-top-left-element-and-sum-less-than-k)||Medium|
||3069|Distribute Elements Into Two Arrays I|[:us:](https://leetcode... | Markdown |
Enter(Field(_)) => {
ctx.skip_value(seq)?;
break;
}
Enter(CollectionIndex(idx)) => {
if let Some(value_ref) = self.get_mut(idx) {
... | Rust |
Container(CultureInfo.GetCultureInfo("ca-ES"), keysProvider);
//Act
var value = service[MyEnum.MerryChristmas];
//Assert
Assert.Equal(expected, value);
}
[Fact]
public void Invalid_Assembly_Name_Should_Throw_An_Argument | C# |
合规定或为客户或雇主提供最佳实践建议是至关重要的。
如果你定期遵循这些策略,并保持对行业趋势的关注,那么你无疑将成功成为一名区块链开发者。这种主动的方法不仅提升了你的技能组合;在不断变化的就业市场中,给予你竞争优势。总之,到 2025 年,成为一名高薪区块链开发者涉及一系列战略步骤:如何学习区块链技术基础知识?选择什么选项,如何构建实用项目、社区参与和行业趋势更新。
所有这些步骤旨在为你提供在这个令人兴奋和有利可图的行业中取得成功所需的工具。认真遵循这一路线图,可以为你在区块链生态系统中带来许多机会,并确保你成功的开发者职业生涯。
## 区块链开发的未来
;
copyProjectCase.setCaseName("Copy【"+copyProjectCase.getCaseName()+"】");
copyProjectCase.setProjectId(projectCase.getProjectId());
copyProjectCase.setModuleId(projectCase.getModuleId());
num=projectCaseService.insertProjectCase(copyProjectCase);
for(ProjectCaseSteps... | Java |
F.pixel_shuffle(kernel_tensor, self.up_factor) # (N, S^2 * Kup^2, H, W)->(N, Kup^2, S*H, S*W)
kernel_tensor = F.softmax(kernel_tensor, dim=1) # (N, Kup^2, S*H, S*W)
kernel_tensor = kernel_tensor.unfold(2, self.up_factor, step=self.up_factor) # (N, Kup^2, H, W*S, S)
kernel_tensor = kernel_tenso... | Python |
ow: column;
}
.horizontal-buttons .window-content > form > .button-group {
display: flex;
flex-flow: row;
justify-content: flex-end;
gap: 5px;
margin: 5px;
margin-bottom: 10px;
}
.horizontal-buttons .window-content > form > div:first-child {
padding: 5px;
}
.stretch-and-skew .window-content,
.flip-and-rotate .w... | CSS |
qual(t, tc.lowestTs, lowest)
require.Equal(t, tc.droppedSamples, droppedSamples)
})
}
}
func BenchmarkBuildTimeSeries(b *testing.B) {
// Send one sample per series, which is the typical remote_write case
const numSamples = 10000
filter := func(ts prompb.TimeSeries) bool { return filterTsLimit(99, ts) }
for i... | Go |
dos e Transferência para Outra VPS**
Esse script faz o backup do banco, compacta e envia automaticamente para outra VPS.
### **Criação do Script**
Crie um arquivo chamado **backup\_db.sh** e cole o código abaixo:
```bash
#!/bin/bash
echo "INICIANDO BACKUP DO BANCO DE DADOS..."
# Data atual no formato dd-mm-YYYY
D... | Markdown |
:'microsoft yahei'}.tipbox-ie6 .ie6-tip b{display:inline-block;height:150px;width:2px;overflow:hidden;vertical-align:middle}.tipbox-ie6 .good-browsers{position:absolute;width:319px;height:150px;left:431px;padding-left:50px}.tipbox-ie6 .good-browsers .top-title{margin-top:30px;font-size:14px;font-family:'microsoft yahei... | CSS |
.bind.annotation.RestController;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.annotation.IgnoreAuth;
import com.entity.PaotuilingdanEntity;
import com.entity.view.PaotuilingdanView;
import com.service.PaotuilingdanService;
import com.service.TokenSer... | Java |
}
}
}.start()
}
} else {
finish()
return
}
if (!MyService.isStart()) {
DialogHelper.showMessagePositiveDialog(
this, "辅助功能", "使用连点器需要开启(无障碍)辅助功能,是否现在去开启?", { dialog, index ->
... | Kotlin |
- value.length + 1)).join(character)
: (new Array(size - value.length + 1)).join(character) + value
);
};
/**
* Alias para `hasOwnProperty`.
*
* @param item
* Item para verificação.
* @param property
* @constructor
*/
export const hasOwn = (item: any, property: string) => {
return HAS_OWN.cal... | Typescript |
through a local variable initializer.
////////////////////////////////////////////////////////////////////////////////
class Class7 {
/*member: Class7.field:[null|exact=JSUInt31]*/
var field;
/*member: Class7.:[exact=Class7]*/
Class7() {
// ignore: UNUSED_LOCAL_VARIABLE
var o = this;
/*update: [ex... | Dart |
* the hashing function
*/
protected AbstractBloomFilter(int expectedInsertions, double falsePositiveProbability, Decomposer<T> decomposer, HashFunction hasher) {
this.numBitsRequired = optimalBitSizeOrM(expectedInsertions, falsePositiveProbability);
this.kOrNumberOfHashFunctions = optimalNumberofHashF... | Java |
proved Windfury Weapon"] = "Arme Furie-des-vents am\195\169lior\195\169e",
["Improved Wing Clip"] = "Coupure d'ailes am\195\169lior\195\169e",
["Improved Wrath"] = "Col\195\168re am\195\169lior\195\169e",
["Incinerate"] = "Incin\195\169rer",
["Inferno"] = "Inferno",
["Initiative"] = "Initiative",
["Inner Fi... | Lua |
var zFar = 2000;
var projectionMatrix = m4.perspective(fieldOfViewRadians, aspect, zNear, zFar);
// Compute the camera's matrix
var camera = [100, 150, 200];
var target = [0, 35, 0];
var up = [0, 1, 0];
var cameraMatrix = m4.lookAt(camera, target, up);
// Make a view matrix from the ca... | HTML |
istant.")
from anyasfriend.config import config
llm = DeepSeekLLM(
config=DeepSeekLLMConfig(
base=LLMBaseConfig(
api_key=config.chatbot.llm.api_key,
base_url=config.chatbot.llm.base_url,
),
request=DeepSeekLLMRequestConfig(stream=True)... | Python |
QString dooble_charts::chart_type_to_string(const QChart::ChartType chart_type)
{
switch(chart_type)
{
case QChart::ChartTypeCartesian:
{
return tr("Cartesian");
}
case QChart::ChartTypePolar:
{
return tr("Polar");
}
default:
{
return tr("Undefined");
}
}
}
... | C++ |
obl b__MA15PSSY_SbezSvyyre13FrgPunatrZnexRi
.type b__MA15PSSY_SbezSvyyre13FrgPunatrZnexRi,%function
b__MA15PSSY_SbezSvyyre13FrgPunatrZnexRi:
nop
.text
.globl b__MA8PCJY_Jaq10ErzbirSyntRw
.type b__MA8PCJY_Jaq10ErzbirSyntRw,%function
b__MA8PCJY_Jaq10ErzbirSyntRw:
nop
.text
.globl b__pzfUnys2Sybng
.type b__pzfUnys2Sybng,%... | Assembly |
for_file: always_put_required_named_parameters_first
// ignore_for_file: constant_identifier_names
// ignore_for_file: lines_longer_than_80_chars
part of docker.api;
class TLSInfo {
/// Returns a new [TLSInfo] instance.
TLSInfo({
this.trustRoot,
this.certIssuerSubject,
this.certIssuerPublicKey,
});
... | Dart |
r5, #0
str r0, [sp, #0x18]
beq _022BED58
mvn r0, #0
cmp ip, r0
beq _022BED70
strb ip, [sp, #0x14]
mov r0, ip, lsl #2
ldrh r0, [r6, r0]
add r1, r6, ip, lsl #2
strh r0, [sp, #0x10]
ldrh r0, [r1, #2]
strh r0, [sp, #0x12]
b _022BED70
_022BED58:
mov r0, #3
strb r0, [sp, #0x14]
ldrh r0, [r6, #0xc]
strh r0, [... | Assembly |
2.1-2.4-2.6-2.4-4.8c0-1.7,1.4-2.9,2.1-4.2
C19.7,5.9,19,7,18.2,8.4z" />
<path d="M28.6,5.3c-0.6-0.9-1.7-1.7-2.1-2.7c-0.3-0.6,0-1.7-0.3-2.2c-0.7-1.1-1.2,0.6-1.4,1.1
c-0.3,2.4,2.4,3.8,2.2,5.9c0,1.4-1.2,1.8-1.8,2.9c-0.6,1.1-0.1,2.5,0.7,3.5c0.7,0.9,1.5,1.5,1.2,2.7c-0.1,1.4-1.5,2-2,3.2
c-0.4,1.1,0.1,3... | HTML |
gnore",".gitignore",".#*",".DS_Store"];async function lG(t){return!!(un.hasWorkspaceScript(t,"prepack")||un.hasWorkspaceScript(t,"postpack"))}async function cG(t,{report:e},r){await un.maybeExecuteWorkspaceLifecycleScript(t,"prepack",{report:e});try{let o=V.join(t.cwd,Ot.fileName);await oe.existsPromise(o)&&await t.man... | JavaScript |
for the specific language governing permissions and
* limitations under the License.
*/
MathJax.Localization.addTranslation("fi","MathMenu",{version:"2.7.6",isLoaded:true,strings:{MathMLcode:"MathML-koodi",OriginalMathML:"Alkuper\u00E4inen MathML",TeXCommands:"TeX-komennot",AsciiMathInput:"AsciiMathML-sy\u00F6te",... | JavaScript |
en = steps)[-steps])
}
}
#Now we can generate my.image.colors using cgrad:
my.image.colors <- rbind(cgrad("black", "blue", 10),
cgrad("blue", "magenta", 10),
cgrad("magenta", "red", 10),
cgrad("red", "yellow", 5),
... | Assembly |
�� 懩 懪 懫 懬 懭 懮 懯 懰 懱 懲 懳 懴 懵 懶 懷 懸 懹 懺 懻 懼 懽 懾 懿 戀 戁 戂 戃 戄 戅 戆 戇 戈 戉 戊 戋 戌 戍 戎 戏 成 我 戒 戓 戔 戕 或 戗 战 戙 戚 戛 戜 戝 戞 戟 戠 戡 戢 戣 戤 戥 戦 戧 戨 戩 截 戫 戬 戭 戮 戯 戰 戱 戲 戳 戴 戵 戶 户 戸 戹 戺 戻 戼 戽 戾 房 所 扁 扂 扃 扄 扅 扆 扇 扈 扉 扊 手 扌 才 扎 扏 扐 扑 扒 打 扔 払 扖 扗 托 扙 扚 扛 扜 扝 扞 扟 扠 扡 扢 扣 扤 扥 扦 执 扨 扩 扪 扫 扬 扭 扮 扯 扰 扱 扲 扳 扴 扵 扶 扷 扸 批 扺 扻 扼 扽 找 承 技 抁 抂 抃 抄 抅 抆 抇... | HTML |
0) {
return;
}
}
// Scale this row down by e (so we have a 1 on the diagonal)
for (j = 0; j < dim; j++) {
C[i][j] = C[i][j] / e; //apply to original matrix
I[i][j] = I[i][j] / e; //apply to identity
}
// Subtract this row (scaled appropriately for each row) from ALL of
... | Typescript |
, vcc
v_cmp_gt_u32 vcc, s[s_wi], v[v_in_iwi]
v_cndmask_b32 v[v_in_flag], 0, v[v_in_flag], vcc
v_cmpx_le_u32 vcc, 1, v[v_in_flag]
buffer_store_short_d16_hi v[v_c+7], v[v_in_os], s[s_p_in:s_p_in+3], s[s_tmp] offen offset:0
s_mov_b64 exec, -1
; start group 3, i_g_mr:0, i_g_ms:0, i_g_mw:1, i_g_mb:1,... | Assembly |
<stdlib.h>
// extern C begin: 11
*/
// import "C"
import "unsafe"
import "reflect"
import "fmt"
import "log"
import "github.com/kitech/qt.go/qtrt"
import "github.com/kitech/qt.go/qtcore"
// ext block end
// body block begin
/*
*/
type QTextDocumentWriter struct {
*qtrt.CObject
}
type QTextDocumentWriter_ITF int... | Go |
<HR width=44% align=left>
<FONT color=blue>PHASE THREE</FONT> (12 december 1998)<BR><BR>
Another nice essay: <IMG SRC="bulletr.gif" tppabs="http://www.anticrack.de/fravia/bulletr.gif" alt="bulletr.gif" ALIGN="BOTTOM" BORDER="0"
VSPACE="0" HSPACE="0" WIDTH="13" HEIGHT="13"><A href="enbecor.htm" tppabs="http://ww... | HTML |
func GetStyleStats(c *fiber.Ctx) error {
id, t := c.Params("id"), c.Params("type")
if t == "" {
return c.JSON(fiber.Map{
"total_views": storage.GetTotalViews(id),
"total_installs": storage.GetTotalInstalls(id),
})
}
badge := badgeSchema{
SchemaVersion: 1,
Label: "UserStyles.world",
Col... | Go |
, { "Comment", 0, 0, 6 })
end
vim.bo[bufnr].modifiable = true
vim.api.nvim_buf_set_lines(bufnr, 0, -1, false, lines)
vim.bo[bufnr].modifiable = false
vim.bo[bufnr].modified = false
local ns = vim.api.nvim_create_namespace("aerial")
vim.api.nvim_buf_clear_namespace(bufnr, ns, 0, -1)
for _, hl in ipairs... | Lua |
根据真实的下一步 `move` **<mark>构建目标概率分布</mark>** `target_probs`(一个位置是 100%,其他地方都是 0%);
4. 根据 step 2 & 3 的两个概率分布,调用 `backprop` 函数进行**<mark>反向传播</mark>**,更新神经网络的权重。
举个例子,下图这一局只用了总共 5 步 `O` 方就赢了,右侧是回放到第 3 步(对应到代码是 `move_idx=2`)时的状态:
<p align="center"><img src="/assets/img/reinforcement-learning-400-lines-of-code/reward-illustr... | Markdown |
DelSomebodyFromList = 0x61E, // s_buddy_del_somebody_from_list
BuddyDelSomebodyFromBanlist = 0x61F, // s_buddy_del_somebody_from_banlist
BuddyAlertReceiveRequest = 0x620, // s_buddy_alert_receive_request
BuddyAlertOnlineSomebody = 0x621, // s_buddy_alert_online_somebody
BuddyAlertOfflineSomebody = 0x622... | C# |
#2, MUL VL]\n"
"st1h { z15.h }, p1, [x26, #3, MUL VL]\n"
"26:" // Height 2: Writeback done
"dech x11, ALL, MUL #4\n"
"cmp x11, XZR\n"
"bgt 15b\n"
"b 80f\n"
"27:" // Height 3
"ldr x12, [%x[args_ptr], %[offsetof_bias]]\n"
"ldr x11, [%x[args_ptr], %[offsetof_N]]\n"
... | C++ |
务商对保密行政管理部门依法实施的监督检查和泄密案件调查应当予以配合。
第二十一条 机关、单位应当依法确定涉密人员及其涉密等级,实行分类管理,并将涉密人员名单报保密行政管理部门和出入境管理部门备案。确定为涉密人员的,应当符合下列条件:
(一)具有中华人民共和国国籍,无国(境)外永久居留权、长期居留许可;
(二)拥护中华人民共和国宪法,拥护中国共产党领导;
(三)具有涉密岗位要求的业务素质和能力;
(四)无刑事犯罪记录,无吸毒、赌博等违法行为;
(五)无被开除公职记录;
(六)无因严重违反保密规定被调离涉密岗位记录;
(七)国家规定的其他条件。
第二十二条 涉密人员应当依法履行职责,严格遵守保密纪律,不得在境外驻华机构... | Markdown |
currencyCancelInProgress,
maxConRunningQueueSize = setting.maxConRunningQueueSize ?: PIPELINE_SETTING_MAX_CON_QUEUE_SIZE_MAX,
// stage审核时暂不执行流水线并发组取消逻辑
cancelAllowed = false
)
)
if (interceptResult.isNotOk()) {
... | Kotlin |
import marimo
__generated_with = "0.15.5"
app = marimo.App()
@app.cell
def _():
import marimo as mo
return (mo,)
@app.function
def euclid_mcd(a: int, b: int) -> int:
"""Return the MCD between positive a, b.
>>> euclid_mcd(42, 24)
6
>>> euclid_mcd(24, 42)
6
>>> euclid_mcd(42, 42)
... | Python |
fterOperand >> 31 &&
gprs[rn] >> 31 != aluOut >> 31 &&
cpu.shifterOperand >> 31 != aluOut >> 31;
};
}
constructCMP(rd, rn, shiftOp, condOp) {
var cpu = this.cpu;
var gprs = cpu.gprs;
return function () {
cpu.mmu.waitPrefetch32(gprs[cpu.PC]);
if (condOp && !condOp()) {
return;
}
shiftOp... | JavaScript |
fisco/bcos/sdk/v3/codec/datatypes/NumericType.html" title="org.fisco.bcos.sdk.v3.codec.datatypes中的类">NumericType</a></td>
<td class="colLast">
<div class="block">Common numeric type.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../../../../org/fisco/bcos/sdk/v3/codec/datatypes/StaticAr... | HTML |
/// Facade for managing access to `analyzer` package APIs.
class Analyzer {
/// Shared instance.
static Analyzer facade = Analyzer();
/// Returns currently registered lint rules.
Iterable<LintRule> get registeredRules => Registry.ruleRegistry;
/// Cache linter version; used in summary signatures.
void ca... | Dart |
m1.2.2.1.1.3.1.1.1.1.cmml"><mo id="S5.E31.m1.2.2.1.1.3.1.1.1.1a" xref="S5.E31.m1.2.2.1.1.3.1.1.1.1.cmml">−</mo><mn id="S5.E31.m1.2.2.1.1.3.1.1.1.1.2" xref="S5.E31.m1.2.2.1.1.3.1.1.1.1.2.cmml">1</mn></mrow><mo stretchy="false" id="S5.E31.m1.2.2.1.1.3.1.1.1.3" xref="S5.E31.m1.2.2.1.1.3.1.1.1.1.cmml">)</mo></mrow><mrow id... | HTML |
.zip">Download
SkipList code</a></font>
<p><font color="#CC0000"><font size=+1>Quaternions</font></font>
<p><font size=+1>Implementation of a simple C++ quaternion class called
"Squat". Popularized by a seminal paper by Ken Shoemake, a quaternion represents
a rotation about an axis. Squats can be concatenated tog... | HTML |
);
rgb0[2] = SATURATE_CAST_UCHAR((y00 + buv) >> 6);
int y01 = yptr0[1] << 6;
rgb0[3] = SATURATE_CAST_UCHAR((y01 + ruv) >> 6);
rgb0[4] = SATURATE_CAST_UCHAR((y01 + guv) >> 6);
rgb0[5] = SATURATE_CAST_UCHAR((y01 + buv) >> 6);
int y10 = yptr1[0] << ... | C++ |
.m5.5.5.1.1.1" xref="A2.SS2.p1.12.m5.5.5.1.1.1.cmml"><msub id="A2.SS2.p1.12.m5.5.5.1.1.1.3" xref="A2.SS2.p1.12.m5.5.5.1.1.1.3.cmml"><mi id="A2.SS2.p1.12.m5.5.5.1.1.1.3.2" xref="A2.SS2.p1.12.m5.5.5.1.1.1.3.2.cmml">S</mi><mrow id="A2.SS2.p1.12.m5.5.5.1.1.1.3.3" xref="A2.SS2.p1.12.m5.5.5.1.1.1.3.3.cmml"><mi id="A2.SS2.p1.... | HTML |
undry_dev_tools.clients.multipass.DEFAULT_MAX_DURATION_IN_SECONDS`
if it does not meet the condition
"""
self._context.multipass.api_update_group_member_expiration_settings(
self.id, max_expiration, max_duration_in_seconds
).json()
return self
def get_exp... | Python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.