content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
",
},
[3785] = {
["D"] = "这是你所需的与萨伦迪斯种子一同使用的常青袋,当然,你手中还必须有安戈洛的泥土样本给种子做肥料。这些东西都准备好了之后就使用常青袋,剩下的就交给它了。$B$B当你种出足够的晨光麦之后,将它们交给我就行了。请不要打扰大德鲁伊,他事务繁忙,而且他也没必要为收集晨光麦的事情操心!",
["O"] = "用一个常青袋、一包萨伦迪斯种子以及两份安戈洛的泥土来尝试种植晨光麦。$B$B将10株晨光麦交给达纳苏斯的玛斯雷·驭熊者。",
["T"] = "晨光麦研究",
},
[3786] = {
["D"] = "这是你所需的与萨伦迪斯种子一同使用的常... | Lua |
仇 vs 干员职责”;冬灵人线索提出。
- 发展:凶器 = L-44“留声机”自律施术核心过载;遗体冷藏透明化换取信任;亚叶情绪阶段完成转折(悲痛→行动);塞弗林健康隐患被铃兰察觉;冬灵人可能为新势力变量。
- 结果:技术调查线确立;罗德岛外-内双层力量成型;多维威胁并发(饥荒/武装/冬灵人/内部信任)。
- 对白摘要:
- “饥荒会毁了所有人。”
- “城防法术发生装置……这就是凶器。”
- “那个人必须接受审判!”
- “冬灵人……又来纠缠沃伦姆德了。”
### TW-4 复仇之魂(行动后)
- 场景:亚叶童年独白 → 山地外围勘察 → 灰喉小队与泥岩墓祭对峙 → 镇内“冬灵”词汇排斥访谈。
- 冲突:亚叶复仇... | Markdown |
icensed 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 law or agreed to in writing, software
* di... | Java |
00, 12000, 13500, 15000, 17000, 14000, 1500, 1500, 1500, 1500, 1500, 1500, 14000, 15000, 17000, 18000, 15000, 1500, 1500, 1500, 1500, 9500, 11000, 15000, 17000, 19000, 20500 },
MinTOF = { 18, 10, 100, 150, 200, 250, 300, 350, 400, 450, 500, 550, 900, 6.3, 6.1, 7.4, 21.9, 29.5, 31.7, 32.3, 38.8, 39.2, 35.3, 1000, 7.4, ... | Lua |
ePlugins ._outer {
height: 100%;
}
.ip .ipModulePlugins ._container {
float: left;
height: 100%;
overflow: auto;
padding: 20px;
}
.ip .ipModulePlugins ._container ._actions {
min-height: 40px;
}
.ip .ipModulePlugins ._plugins {
width: 340px;
}
.ip .ipModulePlugins ._plugins ul {
list-style: none;
}
.ip ... | CSS |
"<td>Smith</td>" +
"<td>50</td>" +
"</tr>" +
"<tr>" +
"<td>Eve</td>" +
"<td>Jackson</td>" +
"<td>94</td>" +
"</tr>" +
"<tr>" +
"<td>John</td>" +
... | Kotlin |
id += 1;
oid
}
//----------------------------------------------------------------------------------------------
pub fn historical_data_operations_req(&self) -> Result<(), IBKRApiLibError> {
//Requesting historical data
self.client
.as_ref()
.unwrap()
... | Rust |
ut.setAttribute("value", filter.input_name0);
cell.appendChild(id_input);
filter_row.input_field0 = id_input;
var name_input = document.createElement("input");
name_input.setAttribute("type", "text");
name_input.setAttribute("readonly", "true");
name_input.setAttribute("name", field_name);
name_input.set... | JavaScript |
ned char *g;
unsigned char *r;
int result;
int xsize = 300;
int ysize = 300;
cout << "\n";
cout << "TEST01:\n";
cout << " PPM_EXAMPLE sets up PPM data.\n";
cout << " PPMB_WRITE writes a binary PPM file.\n";
r = new unsigned char[ xsize * ysize ];
g = new unsigned char[ xsize * ysize ];
b = new... | C++ |
Column(
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
Container(
height: 53,
child: Padding(
padding: EdgeInsets.only(top: 16, bottom: 12, left: 20, right: 20),
child: Text(
... | Dart |
annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
forward_WishlistService_CreateWishlistItem_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
mux.Handle(http.MethodDelete, pattern_WishlistService_DeleteWishlistItemById_0, func(w http.ResponseWriter,... | Go |
}
fn render_feature_debug_name() -> &'static str {
$struct_name::feature_debug_name()
}
};
}
<gh_stars>0
use djangohashers::make_password;
use rand::{thread_rng, Rng};
const PASSWORD_LEN: usize = 30;
const CHARSET: &[u8] = b"ABCDEFGHIJKLMNOPQRSTUVWXYZ\
abcdefghijklmnopqrstuvwxyz\
... | Rust |
= BatchedStreamController<int>(delay: 500);
// Verify the output.
expect(controller.stream, emitsInOrder([batchOne, batchTwo]));
// Add input.
final inputController = StreamController<int>();
final inputAdded = controller.sink.addStream(inputController.stream);
batchO... | Dart |
}
# API 요청 파라미터 정의
class FinancialRequest(BaseModel):
company_stock_code: str
period: int
@app.post('/financial_statements')
async def get_financial_statement(data: FinancialRequest):
if data.period not in [3, 5]:
raise HTTPException(status_code=400, detail='유효하지 않은 기간입니다. 3년 또는 5년을 선택해 주세요.')
... | Python |
cheop);
__cache_line_loop(paddr, sz, cacheop);
__after_dc_op(cacheop, ctrl_reg);
}
#else
#define __dc_entire_op(cacheop)
#define __dc_line_op(paddr, sz, cacheop)
#endif /* !CONFIG_SYS_DCACHE_OFF */
void invalidate_dcache_range(unsigned long start, unsigned long end)
{
#ifdef CONFIG_ISA_ARCV2
if (!ioc_exists)
#endif... | C |
undServiceImpl implements RefundService {
@Autowired
ScheduleMapper scheduleMapper;
@Autowired
MovieMapper movieMapper;
@Autowired
TicketService ticketService;
@Autowired
RefundPolicy refundPolicy;
@Autowired
RefundPolicyMapper refundPolicyMapper;
@Autowired
TicketMapper ... | Java |
ualSunset - OPTIONS.sunset.relativeStartTime * 60),
duration:
Math.round(
OPTIONS.sunset.relativeCompleteTime - OPTIONS.sunset.relativeStartTime
) * 60,
};
const wakeup = {
start: Math.round(OPTIONS.wakeup.startClockHour * 60),
duration:
Math.round(
OPTIONS.wakeup.compl... | Typescript |
;
table.getColumnModel().getColumn(7).setMaxWidth(actionColumnWidth);
table.getColumnModel().getColumn(7).setCellRenderer(new ButtonRenderer());
table.getColumnModel().getColumn(7).setCellEditor(new ButtonEditor(table));
// 在 FingerConfigTab 构造函数中,设置表头渲染器的代码部分
// 在FingerConfigT... | Java |
一亿门槛给出一亿水平的作品,而这些作品又给了大众一亿的基本期待,从而反过来导致不到一亿门槛的团队的作品基本都会被认为品质太差而难以被接受,从而又维持住了一亿门槛。
一亿门槛一旦被确定,就注定了开发游戏一定会成为超高风险的投资,意味着投资商一定会极大的倾向于垄断发行渠道的团队。
于是可以参加竞争的就只有那么几个资本巨头了。
资本巨头们将会很自然的发现一个问题——我们一共就这么几家,有何必要做出那么多的作品来分散自己的投资、左右互搏?
于是每家搞上几个“工作室”,一队百十来人,总共这么十来家。
市场就此达到了均衡。工艺要求给了资本规模合理性,资本规模给了“团队少但规模大”的产业结构和理性,而这个产业结构又通过超高水平的平均表... | Markdown |
Native,
*coordinatorGasOverheadLink,
*coordinatorGasOverheadPerWord,
*wrapperNativePremiumPercentage,
*wrapperLinkPremiumPercentage,
*keyHash,
*maxNumWords,
decimal.RequireFromString(*fallbackWeiPerUnitLink).BigInt(),
uint32(*stalenessSeconds),
uint32(*fulfillmentFlatFeeNativePPM),
uint32(*fulfillme... | Go |
ualSpend,InflAdjSpend,Equities,Bonds,EquitiesGrowth,DividendsGrowth,BondsGrowth,Fees,PortfolioEnd,PortfolioInflAdjEnd' +
// // lineTerm;
// // }
// let arrString = '[';
// const dataArr3d = portfolioObjToArr3d(data);
// for (const cycle of dataArr3d) {
// arrString += '[';
// for (const row of c... | Typescript |
y by running ` +
`npm install ${depTypeSaveString[depType]} ${item}' directly and see what messages are reported. ` +
`Here is the error reported:\n${error}`)
}
},
}
})
return new Listr(listItems)
}
module.exports = {
installist,
DepType,
}
import { EdiDomGlobal }... | Typescript |
.RemoveAll(x => x.TokenType == TSqlTokenType.MultilineComment);
_tokens.RemoveAll(x => x.TokenType == TSqlTokenType.SingleLineComment);
var annotations = FindReplaceGraphModificationStatements(ref errors);
ExtractMatchClause();
// Parses the transformed script into a sta... | C# |
mode))
{
((DIRENTRY *)e_new->de_faddr)[1].de_faddr =
new->fd_file->de_faddr;
((DIRENTRY *)e_new->de_faddr)[1].de_xattr.index =
(LONG)new->fd_file->de_faddr;
}
(kernel->int_mfree)(temp);
return(E_OK);
;----------------------------------------------------------------------------
;Fr die Ramdisk ist xattr ke... | Assembly |
?(?: fill-rule="[^"]+")?>(.*)<\/g>/gm)) {
console.error(`Flag ${name} has a <g> tag with fill attributes`)
process.exit(1)
}
if (flagContent.match(/<g /gm)) {
console.error(`Flag ${name} has a <g> tag with attributes`)
process.exit(1)
}
if(flagContent.match(/id=/gm)) {
consol... | JavaScript |
):hover{background-color:var(--accent-1)}.markdown-preview-view.matrix table tr:nth-child(1) td:nth-child(2)>*{border-color:var(--accent-2)}.markdown-preview-view.matrix table tr:nth-child(1) td:nth-child(2):hover{background-color:var(--accent-2)}.markdown-preview-view.matrix table tr:nth-child(2) td:nth-child(1)>*{bor... | CSS |
.0, top));
path_builder.build()
}
// Box Drawings Light Vertical, "│".
fn path_for_unicode_2502(size: &Size, render_context: &mut RenderContext) -> Path {
let mut path_builder = render_context.path_builder().expect("path_builder");
let thickness = size.height * LINE_THICKNESS_FACTOR;
let left = size.wi... | Rust |
XdCb3g9IjAgMCA2MTIgNzkyIj48cGF0aCBmaWxsPSIjZjBhZDRlIiBkPSJNNjAzIDY0MC4ybC0yNzguNS01MDljLTMuOC02LjYtMTAuOC0xMC42LTE4LjUtMTAuNnMtMTQuNyA0LTE4LjUgMTAuNkw5IDY0MC4yYy0zLjcgNi41LTMuNiAxNC40LjIgMjAuOCAzLjggNi41IDEwLjggMTAuNCAxOC4zIDEwLjRoNTU3YzcuNiAwIDE0LjYtNCAxOC40LTEwLjQgMy41LTYuNCAzLjYtMTQuNCAwLTIwLjh6bS0yNjYuNC0zMGgtNjEuM... | CSS |
),
}
}
#[inline]
pub fn children_mut(&mut self) -> Option<&mut Children> {
match self {
&mut View::Text(_) => None,
&mut View::Data {
ref mut children, ..
} => Some(children),
}
}
#[inline]
pub fn clone_no_children(&self... | Rust |
, v, v)
close(crash)
}
})
}()
for {
select {
case err := <-crash:
fmt.Printf("err: %s\n", err)
os.Exit(1)
case <-auth:
// authenticated, safe to submit orders etc
if err := m.Send(&order.NewRequest{
CID: 788,
Type: "EXCHANGE LIMIT",
Symbol: "tBTCUSD",
Price: 33,
A... | Go |
-fit: cover;
width: 24px;
height: 24px;
}
.text__wRhUf {
font-family: "Poppins", sans-serif;
font-size: 24px;
font-weight: 600;
line-height: 32px;
white-space: pre;
color: #333333;
text-align: left;
text-overflow: ellipsis !important;
overflow: hidden;
}
.text__iawWi {
width: 100%;
height: aut... | CSS |
tput ONLY the result dictionary in the following format, with no additional text or explanation:
{{
"topic_name": {{
"mastery": <average mastery score from 0 to 100>,
"subtopics_to_practice": ["list of subtopics extracted from the hints or guidance"]
}}
}}
Ensure that the subtopics are concise and directly... | Python |
ote(id);
if (vote.userId != userId)
throw new UnAuthorizedException("Not Authorized to perform action");
await this.model.destroy({ where: { id: id } });
return "";
} catch (err) {
if (err instanceof UnAuthorizedException) {
throw new UnAuthorizedException(err.message);
}
throw new ModelNotF... | Typescript |
r.Name + (parameter.IsArray ? "[]" : string.Empty)));
}
string nextString = $"next {sourceMethod.Name}({nextParameters});";
StringBuilder methodText = new StringBuilder();
string returnType =
GetTypeNameFromCompilerType(sourceMethod.ReturnType.TypeCompile... | C# |
>{@link #PROT_GROWSDOWN PROT_GROWSDOWN} - Extend change to start of {@code growsdown} vma ({@code mprotect} only).</li>
* <li>{@link #PROT_GROWSUP PROT_GROWSUP} - Extend change to start of {@code growsup} vma ({@code mprotect} only).</li>
* </ul>
*/
public static final int
PROT_EXEC = 0x... | Java |
ObsT { return impl(newDeps) }
}
})
return decl(compArgs[ObsT]{
requestsToObsCtor: func(requests *component.DepRequests) func() ObsT {
deps := depsFn(requests)
return func() ObsT { return impl(deps) }
},
})
}
// Requests an observer of type `ObsT`.
//
// After initialization completes, the returned `De... | Go |
t out16
.align 2
out16: bslli r3, r6, 8
bsrli r6, r6, 8
andi r3, r3, 0xffff
or r3, r3, r6
sh r3, r0, r5
rtsd r15, 8
or r0, r0, r0
.end out16 | Assembly |
nknown_ent(tail):
if tail not in unknown_ent_cates:
unknown_ent_cates[tail] = {2: [tri]}
else:
unknown_ent_cates[tail][2] = (
unknown_ent_cates[tail][2] + [tri]
if unknown_ent_cates[tail].get(2, None)
els... | Python |
4t23df32543f55";
mint_tokens_to(
&mut context,
&mint.pubkey(),
&token_account.pubkey(),
&mint_authority,
tokens_amount,
)
.await
.unwrap();
let bot_oracle_message = vote_message!([
recipient_eth_key.as_ref(),
b"|",
tokens_amount.to_le... | Rust |
移”
### 赚钱模式5、流量费盈利模式:拆解六种流量及获取流量方法
六种流量模式
一般来说,流量分为六种,**==第一种叫商品流,第二种叫物流,第三种叫信息流,第四种叫客流,第五种叫现金流,第六种叫技术流。==**
通过这六种流量模式,可以帮助企业实......
### 赚钱模式4、颠覆商业模式的盈利模式:全球六大商业体系拆解
早期可以复制别人的技术和模式,但是大家都复制,这个市场必定是红海。要学会定位、定模、定客、定品、定价,把能看得到的钱分掉,然后赚背后别人看不到的钱!
拿破仑曾经说过这样......
### 赚钱模式3、包装项目盈利模式:如何将产品进行包装赚取更多的钱
你要的是赚钱,不靠你的产品赚,不靠你的店... | Markdown |
F(g,1) && F(f,0) == F(g,0)) ||
// (F(f,2) == F(g,2) && F(f,0) == F(g,1) && F(f,1) == F(g,0));
//};
#ifdef IGL_OUTER_HULL_DEBUG
cout<<"outer hull..."<<endl;
#endif
#ifdef IGL_OUTER_HULL_DEBUG
cout<<"edge map..."<<endl;
#endif
typedef Matrix<typename DerivedF::Scalar,Dynamic,2> MatrixX2I;
typedef Matrix... | C++ |
if (speedMode != null) {
speedMode.onMotion(event)
speedMode.onMotion()
}
}
@EventTarget
fun onMove(event: MoveEvent?) {
if (mc.thePlayer.isSneaking) return
val speedMode = mode
speedMode?.onMove(event)
}
private val aacModeValue: Li... | Kotlin |
Option.OneVarFunc("atan", "Inverse Tan", "Inverse of \"tan\""),
Option.TwoVarFunc("atan2", "Inverse Tan 2", "Inverse of \"tan\" that takes individual x and y",
"y", float.NaN, "x")),
new Category("Numeric",
Option.OneVarFunc("frac", "Fractional Part", "The fractional part of a value"),
... | C# |
[80866] = "Lady Vashj",
[80867] = "Zul\'jin",
[80868] = "Croma Infinita",
[80869] = "Cho\'gall",
[80870] = "Cenarius, o Senhor da Floresta",
[80871] = "Vigia do Guardião",
[80872] = "Lorde Naz\'thaj",
[80873] = "Caçador de Demônios Illidari",
[80874] = "Mirmidão Naga Illidari",
[80875] = "Sereia Naga ... | Lua |
/** \file
* \brief Timer for the Windows Driver.
*
* See Copyright Notice in "iup.h"
*/
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
#include "iup.h"
#include "iupcbs.h"
#include "iup_object.h"
#include "iup_attrib.h"
#include "iup_str.h"
#include "iup_assert.h"
#include "iup_timer.h"
static I... | C |
val inUnsatCoreDotColor = DotColor.chartreuse3
val notInUnsatCoreDotColor = DotColor.indianred2
const val inUnsatCoreColor = "#66cd00" /** [DotColor.chartreuse3] bg color of commands in the unsat core **/
const val notInUnsatCoreColor = "#ee6363" /** [DotColor.gold1] bg color of commands... | Kotlin |
lution, pixels per millimetre
* @xo: x offset
* @yo: y offset
*
* A convenience function to set the header fields after creating an image.
* Normally you copy the fields from one of your input images with
* im_cp_desc() and then make
* any adjustments you need, but if you are creating an image from scratch,
* f... | C |
actoring", "telescope" },
keys = { [[<leader>r]] },
config = function()
require("config.refactoring").setup()
end,
}
use { "python-rope/ropevim", run = "pip install ropevim", disable = true }
use {
"kevinhwang91/nvim-bqf",
ft = "qf",
disable = false,
config ... | Lua |
--- @since 25.5.31
local WINDOWS = ya.target_family() == "windows"
-- The code of supported git status,
-- also used to determine which status to show for directories when they contain different statuses
-- see `bubble_up`
local CODES = {
excluded = 100, -- ignored directory
ignored = 6, -- ignored file
untracked ... | Lua |
};
/// ValueExpression
/// Lit: literal like string or number ...
/// ExternalValue: rust ident start with `@`
#[derive(Eq, PartialEq, Debug)]
pub enum Value {
Lit(Lit),
ExternalValue(Ident),
}
impl Parse for Value {
fn parse<'a>(input: &'a ParseBuffer<'a>) -> Result<Self, Error> {
let ahead = inp... | Rust |
g?) {
if (code >= 400 && message.isNullOrBlank()) {
throw IllegalArgumentException("错误码为${code}时,错误信息不能为空或空白。")
}
}
}
}
import com.undefinedcreations.nova.ServerType
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
plugins {
id("setup")
id("com.gradleup.shado... | Kotlin |
glabel func_80A98B04
/* 01D54 80A98B04 3C028016 */ lui $v0, 0x8016 ## $v0 = 80160000
/* 01D58 80A98B08 2442E660 */ addiu $v0, $v0, 0xE660 ## $v0 = 8015E660
/* 01D5C 80A98B0C 8C490004 */ lw $t1, 0x0004($v0) ## 8015E664
/* 01D60 80A98B10 3C0A8012 */ lui $t2, 0x8012 ... | Assembly |
exif_process_IFD_TAG proc
push rbx
sub rsp, 10h
mov rbx, ImageInfo
mov eax, [rdi+20Ch]
lea edi, [rax+1]
mov [ImageInfo+20Ch], edi
cmp eax, 3E9h
jl short loc_49680E
lea rdi, aExifReadDataEr_0; "exif_read_data#error_ifd"
lea displacement, aCo... | Assembly |
ureFlags,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct VkExportFenceCreateInfo {
pub sType: VkStructureType,
pub pNext: *const ::std::os::raw::c_void,
pub handleTypes: VkExternalFenceHandleTypeFlags,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct VkExportSemaphoreCreateInfo {
pub sType: ... | Rust |
p = {
you_change = "You change your equipment.",
two_handed = {
fits_well = "{itemname($1)} fits well for two-hand fighting style.",
too_light = "{itemname($1)} is too light for two-hand fighting style.",
too_heavy = "{itemname($1)} is too heavy for two-wield fight... | Lua |
x09, 0x8d, 0xeb, 0x9c, 0x32, 0xb1, 0xfd, 0x86, 0x62, 0x05, 0x16, 0x5f, 0x49, 0xb8, 0x00] => {
true
}
// 39382357235489614581723060781553021112529911719440698176882885853963445705823 (order 8)
&[0x5f, 0x9c, 0x95, 0xbc, 0xa3, 0x50, 0x8c, 0x24, 0xb1, 0xd0, 0xb1, 0x55, 0x9c, 0x83, 0xef,... | Rust |
# if left_hand_detected and right_hand_detected :
# #recorder = ScreenRecorder()
# #### checking
# len_line = math.hypot(left_coordinate[0]-right_coordinate[0], left_coordinate[1]-right_coordinate[1])
# if len_line < 24 and record_flag == False:
... | Python |
L,2,(void**)&arg2,SWIGTYPE_p_PoDoFo__PdfRect,0))){
SWIG_fail_ptr("new_PdfTextField",2,SWIGTYPE_p_PoDoFo__PdfRect);
}
if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_PoDoFo__PdfDocument,0))){
SWIG_fail_ptr("new_PdfTextField",3,SWIGTYPE_p_PoDoFo__PdfDocument);
}
{
try {
result = (... | C++ |
boolean
*/
@Transactional(rollbackFor = Exception.class)
public boolean cancelNested(AccountNestedDTO accountNestedDTO) {
LOGGER.info("============cancelNested 执行取消付款接口===============");
return accountMapper.cancel(buildAccountDTO(accountNestedDTO)) > 0;
}
private AccountDTO b... | Java |
argv)
tz = ZoneInfo(args.tz)
# Parse
hr, stress, sleep = parse_snapshots(args.input, limit=args.limit)
# Prepare output dir
args.out.mkdir(parents=True, exist_ok=True)
# Write JSON
print("Analyzing missing days ...", flush=True)
report, spans_json = compute_missing(hr, stress, sleep, ... | Python |
nd.is_empty() {
let mut prepend = DisplayString::from_string(prepend);
if !joined.is_empty() {
prepend.push(' ');
prepend += joined;
}
prepend
} else {
joined
}
}
fn entry_date(entry: &Entry, force_year: bool) -> String {
if let Some(date) = e... | Rust |
FromContent(t, l, nil, nil, []byte(invalidFile))
require.ErrorContains(t, diags.ErrorOrNil(), `block declare.a already declared at TestLoader/Declare_block_redefined:2:4`)
})
t.Run("Declare block redefined after reload", func(t *testing.T) {
file := `
declare "a" {}
`
l := controller.NewLoader(newLoaderOp... | Go |
#region
using System.Collections.Generic;
using UnityEngine;
#endregion
namespace LethalLib.Modules;
public class Player
{
public static Dictionary<string, GameObject> ragdollRefs = new Dictionary<string, GameObject>();
public static Dictionary<string, int> ragdollIndexes = new Dictionary<string, int>();
... | C# |
_square(s1, img);
}
for (int row12 = 160; row12 <= 240; row12+=10) {
s1 = (t_square){row12, 210, 10, 0xFFFFFF};
draw_square(s1, img);
}
for (int row13 = 100; row13 <= 290; row13+=10) {
s1 = (t_square){row13, 220, 10, 0x000000};
draw_square(s1, img);
}
for (int row13 = 160; row13 <= 240; row13+=10) {
s1 ... | C |
pagadoras) como Google, Microsoft, Facebook e Amazon.
## Juízes Online - Como praticar
Na disciplina, haverão diversos exercícios de fixação do conteúdo de cada semana, mas para ficar muito bom em resolver problemas, é necessário mais prática. As ferramentas para isso são os juízes online(OJs), que contam com compe... | Markdown |
.max
import kotlin.math.min
/**
* Adapted from Bobjob's edited version of Slick's TrueTypeFont.
* http://forum.lwjgl.org/index.php?topic=2951
*
* License
* Copyright (c) 2013, Slick2D
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted... | Kotlin |
{
1,
0,
0,
0.3,
0.3
},
effect_list = {
{
type = "BattleBuffShiftBullet",
trigger = {
"onAttach"
},
arg_list = {
bullet_id = 19943,
index = {
1
}
}
},
{
type = "BattleBuffAddBu | Lua |
7ae;--ts-tonal-warning-800:#866800;--ts-page-background-default:var(--ts-gray-50);--ts-page-background-secondary:var(--ts-gray-75);--ts-page-background-tertiary:var(--ts-gray-100);--ts-elevated-shadow:0 2px 10px 0 rgba(0, 0, 0, 0.1);--ts-elevated-shadow-modal:0 0 20px rgba(0, 0, 0, 0.1);--ts-elevated-shadow-drawer:0 0 ... | CSS |
return false
}
//OrSimpleTankiRyanpeikou
private isChiitoi(suits: HandStructure) {
let manPairs = suits.manSuit ? this.getPairs(suits.manSuit) : []
let pinPairs = suits.pinSuit ? this.getPairs(suits.pinSuit) : []
let souPairs = suits.souSuit ? this.getPairs(suits.souSuit) : []
... | Typescript |
scenario: charData.scenario,
WIs_before_char: [],
char_description: charData.description,
WIs_after_char: [],
mes_examples: [],
chat_log: chatLog
}
for (const key in aret) if (Object(aret[key]) instanceof String) aret[key] = evaluateMacros(aret[key], env, arg.chat_scoped_char_memory, chatLog) // 传递 chatLog... | JavaScript |
if (projDistance < 0)
{
result.Set(start);
return;
}
if (projDistance > 1)
{
result.Set(end);
return;
}
result.x = start.GetX() + projDistance * vec.GetX();
result.y = start.GetY() + projDistance * vec.GetY();
}
public bool Intersects(Line other)
{
return Intersects(other, null);
}
p... | C# |
last_dist_q2(0)
{
_cached_scan_node_buf.resize(sizeof(rplidar_response_ultra_dense_capsule_measurement_nodes_t));
memset(&_cachedTimingDesc, 0, sizeof(_cachedTimingDesc));
}
UnpackerHandler_UltraDenseCapsuleNode::~UnpackerHandler_UltraDenseCapsuleNode()
{
}
void UnpackerHandler_UltraDenseCapsuleNode::onUnp... | C++ |
case inst::gejmp: {
Int y = pop<Int>();
Int x = pop<Int>();
if (x>=y)
{ ip = get<program::label>(i); continue; }
break;
}
#if 0
case inst::jump_if_func_eq: {
callable * b=pop<callable *>();
callable * a=p... | C++ |
xs)*));
}
macro_rules! impl_generate_param_abi_for_tuple {
($first:tt,) => {
impl<$first> GenerateParamAbi for ($first,)
where
$first: GenerateParamAbi
{
fn generate_ty_name() -> String {
String::from("tuple")
}
fn generate_in... | Rust |
= (regex: RegExp) => (s: string) => regex.test(s);
// test if the string start with 'function' ignoring whitespaces
const rStartWithFunction = /^\s*function/;
// test if the function has 2 arguments
const rSecondArgArrowFunc = /^\s*\((.+),\s*(.+)\)\s*=>/;
const rSecondArgEs5Func = /^\s*function\s*\((.+),\s*(.... | Typescript |
23 => CXIdxEntity_CXXDestructor,
24 => CXIdxEntity_CXXConversionFunction,
25 => CXIdxEntity_CXXTypeAlias,
26 => CXIdxEntity_CXXInterface,
_ => throw ArgumentError('Unknown value for CXIdxEntityKind: $value'),
};
}
enum CXIdxEntityLanguage {
CXIdxEntityLang_None(0),
CXIdxEntityLang_C(1),
CXId... | Dart |
form input,.et-fixed-header .et_search_form_container input,.et-fixed-header .et_close_search_field:after,.et-fixed-header #et-top-navigation .et-cart-info{color:#303030!important}.et-fixed-header .et_search_form_container input::-moz-placeholder{color:#303030!important}.et-fixed-header .et_search_form_container input:... | CSS |
namespace System.ServiceModel.Channels
{
using System;
internal class BufferedConnectionInitiator : IConnectionInitiator
{
private IConnectionInitiator connectionInitiator;
private TimeSpan flushTimeout;
private int writeBufferSize;
public BufferedConnectionInitiator(IConn... | C# |
ataValidation(AvaloniaProperty property, BindingValueType state, Exception? error)
{
if (property == ValueProperty)
{
DataValidationError = state.HasAnyFlag(BindingValueType.DataValidationError) ? error : null;
}
}
}
... | C# |
_u_f32_e64 s10, v1, s101
// W32: encoding: [0x0a,0x00,0x08,0xd4,0x01,0xcb,0x00,0x00]
// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction
v_cmp_u_f32_e64 s10, v1, vcc_lo
// W32: encoding: [0x0a,0x00,0x08,0xd4,0x01,0xd5,0x00,0x00]
// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for in... | Assembly |
```properties
spring.data.mongodb.database=eats_distancia
spring.data.mongodb.port=27018
#̶D̶A̶T̶A̶S̶O̶U̶R̶C̶E̶ ̶C̶O̶N̶F̶I̶G̶S̶
s̶p̶r̶i̶n̶g̶.̶d̶a̶t̶a̶s̶o̶u̶r̶c̶e̶.̶u̶r̶l̶=̶j̶d̶b̶c̶:̶m̶y̶s̶q̶l̶:̶/̶/̶l̶o̶c̶a̶l̶h̶o̶s̶t̶/̶e̶a̶t̶s̶?̶c̶r̶e̶a̶t̶e̶D̶a̶t̶a̶b̶a̶s̶e̶I̶f̶N̶o̶t̶E̶x̶i̶s̶t̶=̶t̶r̶u̶e̶
s̶p̶r̶i̶n̶g̶.̶d̶a̶t̶a̶s̶o̶u̶r̶c̶... | Markdown |
1:
dc.w $419,$3ff,$3f,$3f,$3ff,$415
dc.w $c6,$8d,$15,$273,$50,$96
reset_tab_VGA2:
dc.w $419,$3ff,$3f,$3f,$3ff,$415
dc.w $17,$12,1,$20e,$d,$11 ; 4 Farben
reset_tab_SM:
dc.w $3e9,$0,$0,$43,$363,$3e7
dc.w $1a,$0,$0,$20f,$c,$14
reset_tab_TV1:
; HIER MUSS WAS REIN (aber nicht dc.w WAS)
dc.w $270,$265,$2f,$7e,... | Assembly |
pipe = pipeline("image-to-text", model="google/pix2struct-ai2d-base")
url = "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/transformers/tasks/ai2d-demo.jpg"
image = Image.open(requests.get(url, stream=True).raw)
prompt = "What does the label 15 represent? (1) la... | Python |
'31307', '31307', '10016', '', '', '', '', '', '', '', '0', '', '', '1,2', '', '', '[[10002,60,2]]', '[[12007,1,2],[10016,90,2]]', '1,1', '2,2', '3,30', '[1]', '[[3,99]]', '', '', '', '17500', '', '', '50307111,50307112', '40', ''},
{'93008', '93008', '测绘', '10', '3003', '106', 'Map_Prologue', '', '', '1', '503081', ''... | Lua |
HPrev += jsmpeg.forwardF << 5;
}
jsmpeg.motionFwH = jsmpeg.motionFwHPrev;
if( jsmpeg.fullPelForward ) {
jsmpeg.motionFwH <<= 1;
}
// Vertical forward
code = await jsmpeg.readCode(MOTION);
if( (code != 0) && (jsmpeg.forwardF != 1) ) {
r = await jsmpeg.buffer.getBits(jsmp... | JavaScript |
, 'b c h w -> b c (h w)', h=self.input_size, w=self.input_size)
for tab in self.tablock2:
x = tab(x)
x = rearrange(
x, 'b c (h w) -> b c h w', h=self.input_size, w=self.input_size)
x = self.conv2(x)
x = self.swintransformer2(x)
x = rearrange(
... | Python |
### Change logging level
Decide the log level that needs to be printed in the program. By default, only logs of INFO level or higher will be printed. Calling the `setLogLevel()` function can set the log level.
```cpp
#include <Elite/Log.hpp>
int main() {
ELITE::setLogLevel(ELITE::LogLevel::DEBUG);
ELITE_L... | Markdown |
WithoutShift;
for (core_t::TTime time = TWO_HOURS; time < core::constants::WEEK; time += FIVE_MINUTES) {
seasonalWithShift.addPoint(time, trend(time));
seasonalWithoutShift.addPoint(time, trend(time));
double errorWithShift{seasonalWithShift.value(time, 0.0).mean() - trend(time)};
do... | C++ |
scary stuff - preempting
;
preemption:
clr r3
lde _need_resched,r3
;
; Save our original stack in syscall_s
; Move to our kernel stack (free because we don't preempt
; in kernel
;
ldw rr14,#U_DATA__U_SYSCALL_SP
ld r0,istack_switched_sp
lde @rr14,r0
ld r1,istack_switched_sp+1
ldepi @rr14,r1
ldw 216,#kstack... | Assembly |
ANY: DWORD = 0xFD;
pub const ACPI_PPM_HARDWARE_ALL: DWORD = 0xFE;
pub const MS_PPM_SOFTWARE_ALL: DWORD = 0x1;
pub const PPM_FIRMWARE_ACPI1C2: DWORD = 0x00000001;
pub const PPM_FIRMWARE_ACPI1C3: DWORD = 0x00000002;
pub const PPM_FIRMWARE_ACPI1TSTATES: DWORD = 0x00000004;
pub const PPM_FIRMWARE_CST: DWORD = 0x00000008;
p... | Rust |
64> { re: 1., im: 0. };
// Build projector 1
let mut active_projector = Array2::zeros((2, 2));
active_projector[[1, 1]] = Complex::<f64> { re: 1., im: 0. };
// sigma_x
let x = gates::PauliX::new(0);
let sigma_x = x.get_matrix();
let mut inactive_matrix_list = Vec::<Array2<Complex<f64>>>::... | Rust |
model: Optional[str] = None,
**kwargs) -> Dict[str, Any]:
"""Unified chat completion that works in both environments"""
model = model or self.default_model
try:
response = self.client.chat.completions.create(
model=model,
... | Markdown |
r"});CKEDITOR.plugins.setLang("liststyle","ka",{armenian:"სომხური გადანომრვა",bulletedTitle:"ღილებიანი სიის პარამეტრები",circle:"წრეწირი",decimal:"რიცხვებით (1, 2, 3, ..)",decimalLeadingZero:"ნულით დაწყებული რიცხვებით (01, 02, 03, ..)",disc:"წრე",georgian:"ქართული გადანომრვა (ან, ბან, გან, ..)",lowerAlpha:"პატარა ლათინ... | JavaScript |
:= klassName + ".doIt()V"
if _, ok := MTable[fqn]; !ok {
t.Fatalf("expected MTable to contain %s", fqn)
}
}
func TestFetchMethodAndCP_MainMissingWhenClassLoaded(t *testing.T) {
globals.InitGlobals("test")
resetState()
klassName := "com/example/NoMain"
kData := &ClData{Name: klassName, MethodTable: make(map[s... | Go |
//
// Support for using Cairo to draw into X11 windows for the Fast Light Tool Kit (FLTK).
//
// Copyright 2022-2023 by Bill Spitzak and others.
//
// This library is free software. Distribution and use rights are outlined in
// the file "COPYING" which should have been included with this file. If this
// file is miss... | C |
ItemApk itemApk = new ItemApk();
itemApk.setPackageName(packageInfo2.packageName);
itemApk.setDisplayName(packageInfo2.applicationInfo.loadLabel(getPackageManager()).toString());
itemApk.setSourceDir(packageInfo2.applicationInfo.sourceDir);
... | Java |
x = x + x1
x = self.net.last_second_conv(x)
x = self.net.pool(x)
x = self.net.last_conv(x)
x = hardswish(x)
x = self.net.dropout(x)
x = paddle.flatten(x, start_axis=1, stop_axis=-1)
x = self.net.out(x)
return x
def siamese_mv3(class_dim, use_cu... | Python |
найдите Флинта Тенемора.",
["T"] = "Флинт Тенемор",
},
[6185] = {
["D"] = "Говорю же, первое задание – разведывательное. Ничего особенного, $N. Отправляйся в Восточные Чумные земли и поищи там сведения про Гнилостеня.$b$bИ поглядывай, не найдешь ли ты наших пропавших оперативников. Мы вынуждены предположить... | Lua |
gle = hs.fnutils.partial(self.toggle, self),
show = hs.fnutils.partial(self.show, self),
hide = hs.fnutils.partial(self.hide, self)
}
hs.spoons.bindHotkeysToSpec(actions, mapping)
end
return obj | Lua |
setup"
)
var fromUser = "1234"
var toUser = "4567"
func TestEventSub(t *testing.T) {
a := test_setup.SetupTestEnv(t)
params := events.MockEventParameters{
FromUserID: fromUser,
ToUserID: toUser,
Transport: models.TransportWebhook,
Trigger: "add-moderator",
Subscripti... | Go |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.