content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
s test is not required but it allows to set a convenient breakpoint on the statement below
IMGUI_DEBUG_LOG_POPUP("[popup] ClosePopupsOverWindow(\"${refWindow?.name ?: "<NULL>"}\")")
closePopupToLevel(popupCountToKeep, restoreFocusToWindowUnderPopup)
}
}
fun closePopupsExceptModa... | Kotlin |
Out="HideTip('tt544')" class=IParent>OpenLayers.<wbr>Renderer.SVG</a><a href="../files/deprecated-js.html#OpenLayers.Renderer.SVG2.dashStyle" id=link545 onMouseOver="ShowTip(event, 'tt545', 'link545')" onMouseOut="HideTip('tt545')" class=IParent>OpenLayers.<wbr>Renderer.SVG2</a><a href="../files/OpenLayers/Renderer/VML... | HTML |
,U+62f4-62f6,U+6308,U+630a-630e,U+6310,U+6312,U+6313,U+6317,U+6319,U+631b,U+631d-631f,U+6322,U+6326,U+6329,U+6331,U+6332,U+6334-6337,U+6339,U+633b,U+633c,U+633e-6340,U+6343,U+6347,U+634b-634e,U+6354,U+635c,U+635d,U+6368,U+6369,U+636d,U+636f-6372,U+6376,U+637a,U+637b,U+637d,U+6382,U+6383,U+6387,U+638a,U+638b,U+638d,U+63... | CSS |
v1.Condition `json:"conditions,omitempty"`
// The Hostname of the postgres cluster in Bridge, provided by Bridge API and null until then.
// +optional
Host string `json:"host,omitempty"`
// The ID of the postgres cluster in Bridge, provided by Bridge API and null until then.
// +optional
ID string `json:"id,omi... | Go |
fication_weights(features_query, theta)
cls_scores = cls_scores.view(new_batch_dim, -1) # B * n x nKnovel
grad_logit = self.dni(cls_scores) # B * n x nKnovel
grad = torch.autograd.grad([cls_scores], [theta],
grad_outputs=[grad_logit],
... | Python |
>
<dict>
<key>name</key>
<string>pigeon</string>
<key>age</key>
<integer>30</integer>
</dict>
</dict>
</plist>
""",
)
}
@Test
fun `generate XML`() {
val sourceFiles = listOf(writePklFile("test.pkl"))
val outputFiles =
evalToFiles(
CliEvaluatorOptions(CliBaseOptio... | Kotlin |
str
"40", // 0-bstr
),
),
];
for (i, (mac, mac_data)) in tests.iter().enumerate() {
let got = mac.clone().to_vec().unwrap();
assert_eq!(*mac_data, hex::encode(&got), "case {}", i);
let mut got = CoseMac0::from_slice(&got).unwrap();
got.protect... | Rust |
this.j.s.setCursorBefore(fakeNode);
if (Dom.isTag(neighbor, 'br')) {
this.checkRemoveEmptyParent(fakeNode, backspace);
}
return true;
}
}
/**
* Inside the CELL table - nothing to do
*
* @example
* ```html
* <table><tr><td>|test</td></tr></table>
* ```
* result
* ```html
* <table><t... | Typescript |
[tourAnchor]="'config.buttondelete-' + $index" (click)="removeMapping(item)" color="accent" mat-icon-button>
<mat-icon>delete_forever</mat-icon>
</button>
</div>
}
</div>
</div>
<div tourAnchor="config.mappingselector" class... | HTML |
'', '', '', '', '', '', '', '', '100000', '', '1', '2', '1', '%s', '', '', '', '4', '', '', '', '', '', '', '', '', '2030313', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''},
{'2030313', '', '眼看着少女惊讶地睁大了眼睛,你收回了一时兴起的幽默感,搓揉起了略微酸胀的鼻梁。', '', '', '', '', '', '', '', '', '', '', '', '1', '', '', '', '', '', ... | Lua |
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
using System.Collections.Generic;
using Underanalyzer.Decompiler.AST;
namespace Underanalyzer.Decompiler.Contro... | C# |
at Elvis can do something useful with.
For example, arrow keys are normally mapped to the
<a href="elvisvi.html#h">h,</a>
<a href="elvisvi.html#j">j,</a>
<a href="elvisvi.html#k">k,</a> and
<a href="elvisvi.html#l">l</a> commands.
<p>The first text argument to <code>:map</code> is the raw character sequence
sent by a ... | HTML |
; i <= m; i++) {
InnerProduct(t1, B(i), B(i));
if (!IsZero(t1))
prodlen += log(t1);
}
cerr << "log of prod of lengths: " << prodlen/(2.0*log(2.0)) << "\n";
if (LLLDumpFile) {
cerr << "dumping to " << LLLDumpFile << "...";
ofstream f;
OpenWrite(f, LLLDumpFile);
... | C++ |
�가 실패. 편집 불가능한 재생목록입니다___날짜 형식___100개이상의 파일은 한꺼번에 공유할 수 없습니다___로컬에서 재생___다운로드___주___메모리 사용량___모두 적용___추출___제스쳐 추가___지원하지 않는 미디어 유형입니다___%의 설정을 복원하시겠스습니까?___저장___핫스팟___선택한 파일을 지정한 폴더에 압축풀기___항목___마지막으로 생성___인코딩 선택___계정___%1$s %2$s에서 동영상___실행___ES 에 저장...___분석 버튼 보기___공간 분석기___OFF___편집 성공!___모름___일반 설정___마운팅되지 않은 SDCard... | Java |
Brahmanical Triad: Brahma, Shiva, Vishnu', 'group|stone|sculpture'),
SearchData(1683, 38639, 'Three Arches', 'arches|wood|sculpture'),
SearchData(
1627,
451270,
'"Shah Jahan on a Terrace, Holding a Pendant Set With His Portrait", Folio from the Shah Jahan Album',
'album leaf|ink, opaque wa... | Dart |
for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
//
// This file contains code to lower Mips MachineInstrs to their corresponding
// MCInst records.
//
//===-------------------------------------------... | C++ |
, NUL }; ADD(mem.minIntTime); }
{ static const char label[] = { u,n,h,a,l,t,t, NUL }; ADD(mem.unhaltTime); }
{ static const char label[] = { r,o,m,b,a,n,k, NUL }; ADD(mem.rombank); }
{ static const char label[] = { d,m,a,s,r,c, NUL }; ADD(mem.dmaSource); }
{ static const char label[] = { d,m,a,d,s,t, NUL }; ADD... | C++ |
#!/usr/bin/env python3
"""
Assetfinder MCP Server
A Model Context Protocol server that provides Assetfinder functionality for subdomain discovery.
"""
import sys
import subprocess
import asyncio
import re
from mcp.server.fastmcp import FastMCP
# Check if assetfinder binary is provided
if len(sys.argv) < 2:
print(... | Python |
Interpol: ORANGE, # class: 'si'
String.Other: "", # class: 'sx'
String.Regex: "", # class: 'sr'
String.Single: "", # class: 's1'
String.Symbol: "", # class: 'ss'
Generic: ... | Python |
更新记录
/// </summary>
private List<UpdateModel> GetUpdateHistoryList()
{
List<UpdateModel> updateHistoryList = [];
int updateHistoryCount = updateSearcher.GetTotalHistoryCount();
if (updateHistoryCount > 0)
{
foreach (IUpdateHistory... | C# |
ord: Option<String>,
) -> SignerFn {
Box::new(
move |lock_args: &HashSet<H160>, message: &H256, tx: &json_types::Transaction| {
let path: &[_] = if lock_args.contains(&account) {
&[]
} else {
match lock_args.iter().find_map(|lock_arg| path_map.get(lock... | Rust |
UnityEngine.Debug.Log("Player Stopped (HIDE)");
return;
}
var (title, artist) = BluetoothParser.ParseArtistAndSongTitle(input);
if (!string.IsNullOrEmpty(title))
{
UnityEngine.Debug.Log($"Player title changed to: {title}");
... | C# |
// edit_group.h
//
// Edit a Rivendell Group
//
// (C) Copyright 2002-2021 Fred Gleason <fredg@paravelsystems.com>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
//
// ... | C |
ng> conversion, Action<int> scrolled)
{
Container result = this.CreateButton();
TextElement text = this.CreateLabel(label);
result.Children.Add(text);
ListContainer valueList = new ListContainer();
valueList.Orientation.Value = ListContainer.ListOrientation.Horizontal;
valueList.Add(new Binding<Ve... | C# |
Json<double?>(serineMg),
'hydroxyprolineMg': serializer.toJson<double?>(hydroxyprolineMg),
'alcoholG': serializer.toJson<double?>(alcoholG),
'caffeineMg': serializer.toJson<double?>(caffeineMg),
'theobromineMg': serializer.toJson<double?>(theobromineMg),
'servingWeight1G': serializer.toJso... | Dart |
help="reset traffic flow",
)
parser.add_argument(
"-s",
"--sleep",
type=int,
required=False,
choices=range(11),
default=5,
help="sleep time",
)
args = parser.parse_args()
config = config_load(os.path.join(PATH, os.path.abspath(args.config)))... | Python |
theta}\left(a_{t}^{n} \mid s_{t}^{n}\right)
$$
优化每一个动作的输出。所以我们在编写代码时会设计一个函数,这个函数的输入是每个步骤获取的奖励,输出是每一个步骤的未来总奖励。因为未来总奖励可写为
$$
\begin{aligned}
G_{t} &=\sum_{k=t+1}^{T} \gamma^{k-t-1} r_{k} \\
&=r_{t+1}+\gamma G_{t+1}
\end{aligned} \tag{4.8}
$$
即上一个步骤和下一个步骤的未来总奖励的关系如式(4.8)所示,所以在代码的计算上,我们是从后往前推,一... | Markdown |
-- KEYS[3] queueKey, activeQueueKey, queueOptionsKey
-- ARGV[6] count, retry time, expire time, time accuracy, current timestamp, scanActive
local options = redis.call('hmget', KEYS[3], 'count', 'retry', 'expire', 'accuracy')
options = {tonumber(options[1] or ARGV[1]), tonumber(options[2] or ARGV[2]), tonumber(options... | Lua |
.bindBuffer(context.ARRAY_BUFFER, vertexObject);
// 4 vertices -> 2 triangles
context.bufferData(context.ARRAY_BUFFER, new Float32Array([ 0,0,0, 0,1,0, 1,0,0, 1,1,0 ]), context.STATIC_DRAW);
context.vertexAttribPointer(0, 3, context.FLOAT, false, 0, 0);
var indexObject = context.createBuffer();
debug("Test out of ran... | HTML |
ездочкой *
## Задача 3. Защита ЦОД*
Ваша организация решила разместить информационную систему персональных данных (ИСПДн), второй уровень защищённости, на вычислительных мощностях в стороннем центре обработки данных (ЦОД). Для обеспечения защиты информации вам нужно юридически закрепить требования на предоставление в... | Markdown |
vec3.add(acc, acc, this.movementKeysDirections[value]),
vec3.create()
);
this.setMoving(direction);
}
}
}
setMoving(direction: vec3) {
this.direction = direction;
this.isMoving = true;
}
stop() {
this.direction = vec3.create();
this.isMoving = false;
}
setIsLocked(isLocked: boolean)... | Typescript |
deck.PADMode = true;
//ensure all LEDs are ON (default)
for (var i = 1; i <= 8; i++) {
NumarkMixtrack3.samplers["S" + i].led.onOff(PADcolors.purple);
}
deck.LEDs["padLoop1"].onOff(PADcolors.yellow);
deck.LEDs["padLoop2"].onOff(PADcolors.yellow);
deck.... | JavaScript |
_mtch_r14.to_string());
j.write_str("mpdcch-Offset-SC-MTCH-r14", mpdcch_offset_sc_mtch_r14.to_string());
if (p_a_r14_present) {
j.write_str("p-a-r14", p_a_r14.to_string());
}
j.end_obj();
}
const char* sc_mtch_info_br_r14_s::mpdcch_num_repeat_sc_mtch_r14_opts::to_string() const
{
static const char* optio... | C++ |
ref="dc/de5/timer_8cpp.html#aa3c17b3b7e9622faddd8d713fd940d67"/>
<a href="dc/de5/timer_8cpp.html#aa53ad81d8dfa96db0c380e445378fa2d"/>
<a href="dc/de5/timer_8cpp.html#aa96c2aa1b5dac819fd12d27e0a93e714"/>
<a href="dc/de5/timer_8cpp.html#aaa036d4b72bc7579d55b44e173be55e3"/>
<a href="dc/de5/timer_8cpp.html#ab16889ae984b9b7... | HTML |
gt;1.2em</xsl:attribute>
5| </xsl:attribute-set></pre></td></tr></table></div><div class="refsect1"><h2>Description</h2><p>FIXME:</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="monospace.verbatim.p... | HTML |
ective owners.<br> The documentation provided herein is licensed under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation License version 1.3</a> as published by the Free Software Foundation.<br> Qt and respective logos are trademarks of The Qt Company Ltd. in Finland... | HTML |
a href="http://vertx.io/docs/apidocs/io/vertx/ext/jdbc/JDBCClient.html#createShared-io.vertx.core.Vertx-io.vertx.core.json.JsonObject-" target="_blank"><code>JDBCClient.createShared</code></a> 方法的时候,才会真正的根据 <code>config</code> &#... | HTML |
x49249
};
/*
* This expands 8 bit indices into 32 bit contents (high bit 28), by inserting 0s between bits.
*/
private static final int[] INTERLEAVE4_TABLE = new int[]
{
0x00000000, 0x00000001, 0x00000010, 0x00000011, 0x00000100, 0x00000101, 0x00000110, 0x00000111,
0x00001000,... | Java |
|
| 职场发展 | 在面试中如何突出自己的优势与特点? ... | Markdown |
�文件是不是通过版本控制系统放到同一个仓库中,而不是被设置成一个外部依赖?
* 你有没有撰写足够准确而且描述清晰的提交信息?
* 提交的大小是否合理?
* 同一个提交的所有文件是否都是和同一个问题或者特性相关连?
* 你在使用分支时有没有使用”特性分支“或者”git-flow”这样的分支策略?
* 分支命名是否足够描述清晰?
* 是否在合并到主分支之前使用拉取请求(pull request)或者代码审核(code review)系统?
* 审核拉取请求(pull request)的时候,有没有相关可以参考的参考规则?
* 每个PR平均有多少评论?
* 每个PR有多少人审核?
* 合... | Markdown |
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
namespace Microsoft.eShopWeb.UnitTests.ApplicationCore.Extensions;
public class TestParent : IEquatable<TestParent>
{
public int Id { get; set; }
public string Name { get; set; }
public | C# |
omote products derived from this software without specific prior
// written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
// IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PART... | C++ |
1;
cbei.pszText = hist_item->cmd;
cbei.cchTextMax = wcslen(hist_item->cmd);
hist_item->idx =
SendMessage(ctrl, CBEM_INSERTITEM, 0, (LPARAM)&cbei);
hist_item = (HIST_ITEM *)List_Next(hist_item);
}
return ctrl;
}
//----------------------------------------------------... | C++ |
634.5065f, 522.0903f, 339.61545f, (byte) 53);
spawn(244569, 885.382f, 460.77805f, 351.0f, (byte) 60);
spawn(244569, 612.8048f, 643.80194f, 352.46414f, (byte) 30);
spawn(244569, 538.00024f, 495.57394f, 322.0f, (byte) 90);
spawn(244569, 526.9178f, 486.92227f, 321.87527f, (byte) 85);
}
private void IDTransformD... | Java |
background-color: #204056;
border-color: transparent
}
._1T9jGNzF_-v9P0WwBdMr5O:hover {
color: #fff;
background-color: #2b5674;
border-color: transparent;
text-decoration: none
}
._1T9jGNzF_-v9P0WwBdMr5O:focus, ._1T9jGNzF_-v9P0WwBdMr5O.wvFn2mctR11TDhTIS1Chx {
color: #fff;
background-co... | CSS |
using System;
using System.Threading;
using System.Threading.Tasks;
using Moq;
using Paramore.Darker.Testing.Ports;
using Shouldly;
using Xunit;
namespace Paramore.Darker.Tests
{
public class QueryProcessorAsyncTests
{
private readonly Mock<IQueryHandlerFactory> _handlerFactory;
private readonl... | C# |
; case 7
b _0221C050 ; case 8
b _0221C050 ; case 9
b _0221C060 ; case 10
b _0221C060 ; case 11
b _0221C060 ; case 12
b _0221C060 ; case 13
b _0221C060 ; case 14
b _0221C060 ; case 15
_0221C050:
mov r0, #0
mov r1, #9
bl MBi_CommCallParentError
b _0221C114
_0221C060:
mov r0, #0
mov r1, #8
bl MBi_CommCallPa... | Assembly |
ame(filename: String): Boolean {
if (filename[0] == '.' || filename[filename.length - 1] == '.') {
return true
}
if (!filename.matches("^\\p{ASCII}+$".toRegex())) {
return true
}
// no matter whether it is file or directory
... | Kotlin |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using TSQL;
using TSQL.Tokens;
namespace Tests.Tokens
{
public class OperatorTokenTests
{
[Test]
public void Operator_MinusEquals()
{
List<TSQLToken> tokens = TSQLTok... | C# |
---------------------------------
Fan.FlowEvents =
{
Inputs =
{
Switch = { Fan.Event_Switch, "bool" },
TurnOn = { Fan.Event_TurnOn, "bool" },
TurnOff = { Fan.Event_TurnOff, "bool" },
Hit = { Fan.Event_hit, "bool" },
Destroyed = { Fan.Event_Destroyed, "bool" },
},
Outputs =
{
TurnOn = "bool",
TurnOff... | Lua |
vim.o.bg = 'light'
local colors = {
none = {"none", "none"},
bg_main = {"#ffffff",255},
fg_main = {"#000000",0},
bg_dim = {"#f8f8f8",249},
fg_dim = {"#282828",40},
bg_alt = {"#f0f0f0",241},
fg_alt = {"#505050",80},
bg_active = {"#d7d7d7",216},
fg_active = {"#0a0a0a",10},
bg_inactive = {"#efefef",240},
fg_in... | Lua |
-- pilleffect 2 "Balls of steel"
EID:addEntity(5, 10, 2, "Custom Name", "New Custom description") -- Entity
------ Test: adding custom transformation icon ------
local dummySprite = Sprite()
dummySprite:Load("gfx/eid_inline_icons.anm2", true)
EID:addIcon("NewTransform1", "hearts", 2, 9, 9, -1, 0, dummySprite)
-- the T... | Lua |
es.textWhite} ${typographyStyles.opacity70}`,
text: 'This process will just take a few seconds.'
}]
}}
containerClassName={styles.loadingSpinner}
spinnerProps={{ size: 40, thickness: 3 }}
/>
)
}
if (showSuccess) {
return (
<SuccessComponent
... | JavaScript |
저는 리디북스 콘텐츠팀 디자이너로서 이 5가지 장르에서 진행하는 프로모션 디자인을 담당하고 있습니다. 5가지의 장르 모두 개성이 뚜렷한 만큼 디자인하는 방법도 조금씩 다른데요,
이번 포스팅에서는 5개의 장르 중 판타지 장르의 콘텐츠디자인 이야기를 들려드리겠습니다.
---
# 판타지는 어둠의 다크?
처음 판타지 장르의 콘텐츠디자인을 시작했을 때, 바탕색은 어둡게, 포인트 컬러는 채도가 높은 색을 사용하여 강한 대비를 표현하는 것이 전형적인 특징이었습니다.
저도 그 특징에 따라 일단 어두운 배경을 만들고 하나하나 요소를 넣으며 작업하였습니다. 그렇게 몇 개의 판... | Markdown |
255, 0.25);
}
/* Hux customize Style for navBar button */
.navbar-default .navbar-toggle {
border-color: transparent;
padding: 19px 16px;
margin-top: 2px;
margin-right: 2px;
margin-bottom: 2px;
border-radius: 50%;
}
.navbar-default .navbar-toggle .icon-bar {
width: 18px;
border-radius: 0px;
background-color: white;
}
.... | CSS |
sourceRecyclerView.requestFocus()
Log.w("SourceSelectFragment", "ViewHolder not found for position $selectedIndex, fallback to RecyclerView")
}
}, 500) // 增加延迟到500ms
}
}
private fun updateUI() {
val tvModel = (requireActivity() a... | Kotlin |
value ] === 'function' ) {
Reveal[ value ].call();
}
triggered = true;
}
}
}
// 2. System defined key bindings
if( triggered === false ) {
// Assume true and try to prove false
triggered = true;
switch( event.keyCode ) {
// p, page up
case 80: case 33: navigatePrev(... | HTML |
}
}
@override
String toString() => "GetObjectProperty($_name,$_location)";
}
// generated by micro_dart_generator
// ignore_for_file: non_constant_identifier_names
import 'package:micro_dart_runtime/micro_dart_runtime.dart' as m;
import 'package:flutter/src/foundation/collections.dart';
const libraryMirror = m... | Dart |
}
// undo 15 -> 16 bit conversion
int32_t xs = p[n] >> 1;
// undo 16 -> 15 bit wrapping
// check both possible 16-bit values
int32_t s1 = int16_t(xs & 0x7FFF);
int32_t s2 = int16_t(xs | 0x8000);
// undo filtering
s1 -= filter_s;
... | C++ |
行状态管理。 用于管理这些选项的其他状态将在以后发布。
### cloud.present
此状态将确保一个指定的云主机实例存在于一个特定的云平台之上。 可以在此处声明`cloud.create`执行模块和函数中通常指定的任何选项,但是仅实例的实际存在状态将被进行状态管理。
```yaml
my-instance-name:
cloud.present:
- cloud_provider: my-ec2-config
- image: ami-1624987f
- size: 't1.micro'
- ssh_username: ec2-user
- securitygroup: de... | Markdown |
、非合伙人、俱乐部成员,除50%分销奖励外,**每累积分销5单可找水龙领取20元红包!**
想进一步和水龙深入学习,欢迎加入我的IP变现俱乐部,当前价599元,国庆后涨价到699元!

**进俱乐部的价格会越来越高,早加入早赚钱。**
将分销截图发到你所在的群里,并艾特水龙,我会给你发放奖金。
本专栏部分内容由我的朋友提供,在这里特别表示感谢,名字如下:
王叔、周萝卜、熙萌萌、霞曦子、橙子、夏奇、帆帆、黄林、丁小翼、黄努力、西街妹、阿宝、蓝... | Markdown |
).into())
}
fn lt_const(self, other: Number) -> TCResult<Self::Compare> {
fn lt_array(l: Array, r: Number) -> Array {
l.lt_const(r)
}
fn lt_number(l: Number, r: Number) -> Number {
(l < r).into()
}
Ok(BlockListConst::new(self.blocks, other, lt_a... | Rust |
(this.m_bConnectionFailed = !1),
(this.m_bForceDisconnect = !1);
}
OnLoggedOn() {
(this.m_bCompletedInitialConnect = !0),
this.InternalAdjustClock(),
this.m_callbacksOnConnect.RunAllCallbacks(
this.m_setConnectedServers,
... | JavaScript |
CRIPTORS_REQUIRED {
trace_descriptors (
_descriptors_required.iter () .filter (|_descriptor| if let TargetOperation::Protect = _descriptor.operation { false } else { true }),
Some ("descriptors required:"));
}
log_cut! ();
log_information! (0x4dfe419e, "verifying (2)...");
verify (&_descriptors_required... | Rust |
InZone )
{
SetCapTimeRemaining( m_fTimeRemaining - flReduction );
}
else if ( m_nOwningTeam == TEAM_UNASSIGNED && m_nTeamInZone != TEAM_UNASSIGNED )
{
SetCapTimeRemaining( m_fTimeRemaining + flReduction );
}
else
{
// Caps deteriorate over time
if ( TeamplayRoundBasedRules() && m_hPoint && Tea... | C++ |
g2, dvarName, f1_arg4)
UpdateInfoModels(f1_arg1)
local newPrestige = f1_arg1.value
if newPrestige == 11 then
Engine.Exec(f1_arg0, "PrestigeStatsMaster " .. tostring(Engine.CurrentSessionMode()))
end
Engine.ExecNow(f1_arg0, "statsetbyname plevel " .. newPrestige)
Engine.ExecNow(f1_arg... | Lua |
戻り値 : "/<C1><;A1>/<C2><;A2>/.../<Cn><;An>/\n" or "" string
JIS X 0213面区点番号変換
crvmgr.search_jisx0213(key)
key : 見出し語 string
戻り値 : "/<C1><;A1>/<C2><;A2>/.../<Cn><;An>/\n" or "" string
JIS X 0208区点番号変換
crvmgr.search_jisx0208(key)
key : 見出し語 string
戻り値 : "/<C1><;A1>/<C2><;A2>/.../<Cn><;An>/\n"... | Lua |
een = 302,
name = "雾岛三式烧夷弹弹幕Lv0-PVP",
aim_type = 0,
torpedo_ammo = 0,
expose = 0,
angle = 50,
damage = 10,
corrected = 110,
min_range = 50,
id = 66720,
attack_attribute_ratio = 100,
fire_fx_loop_type = 1,
attack_attribute = 1,
reload_max = 3000,
queue = 1,
search_type = 1,
effect_move = ... | Lua |
d not on the type of the elements. For instance, a more complex
example would be to compute the total number of elements of the nested
lists:
</p><div class="caml-example toplevel">
<pre><div class="caml-input"> let len nested =
let map_and_sum f = List.fold_left (fun acc x -> acc + f x) 0 in
let re... | HTML |
var recordWin = new RecordBoxWindow(specialActVM.DeviceNum, settings, false);
recordWin.Saved += (sender2, args) =>
{
multiActButtonVM.HoldMacro.Clear();
multiActButtonVM.HoldMacro.AddRange(settings.ActionData.ActionMacro);
multiActButtonV... | C# |
un</button>
<button onclick="ancan_anim.stop()">Stop</button> </br>
<button onclick="ancan_anim.begin()">Beginning</button>
<button onclick="ancan_anim.forward()">Step Forward</button>
<button onclick="ancan_anim.backward()">Step Backward</button>
<button onclick="ancan_anim.end()">End</button>
</div>
<script>
init1 = ... | HTML |
receiver->SendCmd(CmdIPtr(new CmdOnDeadUnit(_id, _target)));
} else if (changed_hp < 0) {
p_target._changed_hp = changed_hp;
p_target._damage_from = _id;
if (receiver->GetUnitDurativeCmd(_target) == nullptr &&
target_tp.CmdAllowed(ATTACK)) {
// Counter attack.
receiver->SendCmd(Cm... | C++ |
s (a: any, b: any, c: any, d: infer T, ...args: any[]) => any
? T
: never;
/**
* Selects the types of all the parameters in a function-type.
* Warnings:
* - This is probably less performant if you're only looking up a single param! {@see Param0-Param# }
* - This omits rest parameters (...args:any[])
*/
expor... | Typescript |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using Voat.Common;
namespace Voat.Business.Utilities
{
//Yes this class name is a joke. This represents the upper ceiling of my capabilities in concerns to humor. And this is rather depressi... | C# |
bottom: 0.5833em;
}
#myDocument .my-framework .comments > .list > .item aside.comment-block .controls, #myDocument .my-framework .comments > .list > .item.replied .reply .replier .comment-block .controls {
display: block;
}
}
/*# sourceMappingURL=new-theme.css.map */
// ======================================... | CSS |
ED_TEST_SUITE(ImageIO, TestTypes);
void loadImageTest(string pTestFile, string pImageFile, const bool isColor) {
IMAGEIO_ENABLED_CHECK();
vector<dim4> numDims;
vector<vector<float>> in;
vector<vector<float>> tests;
readTests<float, float, float>(pTestFile, numDims, in, tests);
dim4 dims = num... | C++ |
ance(const CMatrix44f& mv, const float3& p) const;
float GetCylinderDistance(const float3& pv, size_t axisA = 0, size_t axisB = 1, size_t axisC = 2) const;
float GetEllipsoidDistance(const float3& pv) const;
private:
float3 fullAxisScales = OnesVector * 2.0f; ///< full-length axis scales
float3 halfAxisScales... | C |
valence"></a><a id="2237" href="Relation.Binary.Structures.html#2237" class="Field">isEquivalence</a> <a id="2251" class="Symbol">:</a> <a id="2253" href="Relation.Binary.Structures.html#1531" class="Record">IsEquivalence</a>
<a id="2271" class="Comment">-- Reflexivity is expressed in terms of the underlying equali... | HTML |
A::ENUM_S_P
}
}
#[doc = "Write proxy for field `SRAM_SECT_1_RULE`"]
pub struct SRAM_SECT_1_RULE_W<'a> {
w: &'a mut W,
}
impl<'a> SRAM_SECT_1_RULE_W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: SRAM_SECT_1_RULE_A) -> &'a mut W {
{
... | Rust |
Grai | Tỉnh Gia Lai |
| 2163 | 23776 | Xã Ia Krái | Tỉnh Gia Lai |
| Stt | Mã số | Tên đơn vị hành chính | Tỉnh (thành phố) |
| ---- | ----- | --------------------- | ---------------- |
| 2164 | 23767 | Xã Ia Hrung | Tỉnh Gia Lai |
| 2165 | 23857 | Xã Đức Cơ | ... | Markdown |
{
class Foo extends Model {
static type = 'foo';
@Attribute({ isIdentifier: true }) public id!: string;
@Attribute({ toOne: Foo }) public parent!: Foo;
@Attribute({ toMany: Foo }) public children!: Array<Foo>;
}
class Store extends Collection {
static types = ... | Typescript |
92.03 326.4 118.9C339 131.3 339.2 151.5 326.9 164.1C314.5 176.8 294.2 176.1 281.6 164.6C265.8 149.1 246.1 137.7 224 132V224H352C369.7 224 384 238.3 384 256C384 351.1 314.8 430.1 224 445.3V480C224 497.7 209.7 512 192 512C174.3 512 160 497.7 160 480V445.3C69.19 430.1 0 351.1 0 256C0 160.9 69.19 81.89 160 66.65V32C160 14... | JavaScript |
v5.4s}, [x2], #32
subs w4, w4, #1
b.ne 2b
eor w0, w0, w0
ret
NONEXEC_STACK | Assembly |
`graphs with cycles are bipartite if number of edges in cycle is even`() {
assertThat("[a-b, b-c, c-a]".toGraph().isBipartite(), equalTo(false))
assertThat("[a-b, b-c, c-d, d-a]".toGraph().isBipartite(), equalTo(true))
assertThat("[a-b, b-c, c-d, d-a, c-a]".toGraph().isBipartite(), equalTo(fal... | Kotlin |
_fpunsupp /* 55: FPCP unimplemented data type */
.long _badtrap /* 56: unassigned, reserved */
.long _badtrap /* 57: unassigned, reserved */
.long _badtrap /* 58: unassigned, reserved */
.long _badtrap /* 59: unassigned, reserved */
.long _badtrap /* 60: unassigned, reserved */
.long _badtrap /* 61: unassigned, r... | Assembly |
l 7212+SYNC_OFFSET,copyGreetzSlideMain4 ; 2:24:240
dc.l 7232+SYNC_OFFSET,copyGreetzSlideMain5 ; 2:24:640
dc.l 7253+SYNC_OFFSET,copyGreetzSlideMain6 ; 2:25:60
dc.l 7273+SYNC_OFFSET,copyGreetzSlideMain7 ; 2:25:460
dc.l 7293+SYNC_OFFSET,copyGreetzSlideMain8 ; 2:25:860
dc.l 7314+SYNC_OFFSET,copyGreetzSlideMain9 ;... | Assembly |
example, given n = 3, a solution set is:
//! ```text
//! [
//! "((()))",
//! "(()())",
//! "(())()",
//! "()(())",
//! "()()()"
//! ]
//! ```
//!
pub type Input = i32;
pub type Output = Vec<String>;
pub trait Solution {
fn generate_parenthesis(&self, n: i32) -> Vec<String>;
}
// -------------------------... | Rust |
ff dc.b "+",0
negon dc.b "-",0
zeroff dc.b " ",0
zeron dc.b "0",0
ovroff dc.b "Vc",0
ovron dc.b "Vs",0
caroff dc.b "Cc",0
caron dc.b "Cs",0
presret dc.b 13,10,"--Press RETURN.--",0
even
*BSS segment
.bss
even
ds.l 256 *256 stacks
ustk ds.l 1
savest ds.l 1 *must be $12345678
saved0 ... | Assembly |
R(LHS, dl, ZeroCompare::GEZExt);
if (IsRHSZero) {
if (CmpInGPR == ICGPR_NonExtIn)
return SDValue();
// The upper 32-bits of the register can't be undefined for this sequence.
LHS = signExtendInputIfNeeded(LHS);
RHS = signExtendInputIfNeeded(RHS);
SDValue Neg =
SDValue(... | C++ |
Ofr: [120082],
Ograve: [210],
Omacr: [332],
Omega: [937],
Omicron: [927],
Oopf: [120134],
OpenCurlyDoubleQuote: [8220],
OpenCurlyQuote: [8216],
Or: [10836],
Oscr: [119978],
Oslash: [216],
Otilde: [213],
Otimes: [10807],
Ouml: [214],
... | JavaScript |
YOLOv8l-cls](https://github.com/ultralytics/assets/releases/download/v0.0.0/yolov8l-cls.pt) | 224 | 78.0 | 94.1 | 163.0 | 0.87 | 37.5 | 99.7 |
| [YOLOv8x-cls](https:/... | Markdown |
obj, exists, err := stores.PersistentVolumeClaim.GetByKey(key)
if err != nil {
log.Log.Errorf("Error retrieving PVC %s in namespace %s: %v", pvcName, vm.Namespace, err)
continue
}
if !exists {
log.Log.Warningf("PVC %s in namespace %s does not exist", pvcName, vm.Namespace)
continue
}
pvc, ok :=... | Go |
padding: 25px;
font-size: 1.1em;
}
button {
font-size: 16px;
}
#tips {
font-size: 1.8em;
}
}
</style>
</head>
<body>
<div>
<h1>Health Checkup</h1>
<h4>Please enter... | HTML |
bIndex = 2;
tabPage3.Text = "Light Color";
tabPage3.UseVisualStyleBackColor = true;
//
// lightCtrl
//
lightCtrl.Dock = DockStyle.Fill;
lightCtrl.Location = new Point(0, 0);
lightCtrl.Name = "lightCtrl";
lightC... | C# |
/*-
* Copyright (c) 1998 Michael Smith <msmith@freebsd.org>
* Copyright (c) 2006 Marcel Moolenaar
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must... | C |
y-cancel-on:before{content:'\e80b'}.calculation-group{background:#FFF;box-shadow:0 1px 2px rgba(0,0,0,.05);padding:6px;margin:6px 0}.preview-color-selector{background:#F0F0F0;border:1px solid #E2E2E2;display:inline;margin-left:-1px;padding:3px 12px;box-shadow:0 0 0 2px #fff inset}.miniColors-trigger{border:1px solid #9... | CSS |
import time
import pygame
from datetime import datetime
from openpyxl import Workbook, load_workbook
# Pygame-instellingen
pygame.init()
width, height = 600, 500
window = pygame.display.set_mode((width, height))
pygame.display.set_caption("Weergave Namen en Tijd")
font = pygame.font.Font(None, 30)
# Excel-bestand lad... | Python |
.Infof("%d vulnerabilities' severity changed", len(outOfDateRecords))
}
var newRecords []*scan.VulnerabilityRecord
for _, v := range vulnReport.Vulnerabilities {
if !s.Exists(v.Key()) {
newRecords = append(newRecords, toVulnerabilityRecord(ctx, v, registrationUUID))
}
}
for _, record := range newRecords {... | Go |
n' +
'_InstructIR_이 블라인드 복원 모델인가? 모델은 이미지 _e.g_에서 열화에 대한 명시적인 정보를 사용하지 않는다. 노이즈 프로파일, 블러 커널 또는 PSF. 우리의 모델은 이미지와 지시가 주어진 작업(열화)을 추론하기 때문에 _InstructIR_를 _blind_ 이미지 복원 모델로 간주한다. 보조 영상 기반 열화 분류[42, 60]를 사용하는 이전 작업과 유사하다.\n' +
'\n' +
'## 4 실험 결과\n' +
'\n' +
'우리는 그림 17, 18 및 19의 벤치마크 이미지를 사용하여... | HTML |
tSize(find.byType(RawChip).at(2)).height, equals(78.0));
chipToRight = tester.getTopRight(find.byWidget(tester.widget<Material>(
find.descendant(
of: find.byType(RawChip).at(2),
matching: find.byType(Material),
),
)));
deleteIconCenter = tester.getCenter(find.byIcon(Icons.cancel... | Dart |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.