content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
key: iconButtonKey,
icon: const Icon(CupertinoIcons.add),
onPressed: mockOnPressedFunction.handler,
);
},
),
],
),
),
),
);
final iconButton = find.byType(MacosIconBut... | Dart |
from openai import AzureOpenAI
class RelatedWorkEvaluation:
def __init__(self, client=None):
"""
Initialize with Azure OpenAI client
Assumes environment variables or direct credentials are set up
"""
self.client = client or AzureOpenAI(
azure_endpoint="https://a... | Python |
ven node is of the specified type; null otherwise
Nest_Node* Nest_ofKind(Nest_Node* src, int desiredNodeKind);
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Node array
//
Nest_NodeArray Nest_allocNodeArray(unsigned capacity);
void Nest_freeNode... | C |
isNotEmpty(dictDatas)) {
return dictDatas;
}
return null;
}
/**
* 根据字典类型ID查询信息
*
* @param dictId 字典类型ID
* @return 字典类型
*/
@Override
public SysDictType selectDictTypeById(Long dictId) {
return baseMapper.selectById(dictId);
}
/**
... | Java |
icense, 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
* distributed under the License is distribut... | Kotlin |
4 > F C 5 . 2 L
* +۱ 3
4
C 2 U + * + 6 3 4 2 A * + 3
4 ... | Java |
expected': false},
];
}
List<Map<String, dynamic>> isJiffyUtcTestData() {
return [
{'jiffy': Jiffy.now().toLocal(), 'expected': false},
{'jiffy': Jiffy.now().toUtc(), 'expected': true},
];
}
List<Map<String, dynamic>> isLeapYearTestData() {
return [
{
'jiffy': Jiffy.parseFromList([1997]),
... | Dart |
#ifndef __POSTGRES_TYPES_H
#define __POSTGRES_TYPES_H
#include "conn_tuple.h"
// Maximum length of Postgres query to send to userspace.
#define POSTGRES_BUFFER_SIZE 160
// Represents the maximum number of tail calls we can use to process a single message.
#define POSTGRES_MAX_TAIL_CALLS_FOR_MAX_MESSAGES 3
// Repres... | C |
i=r.searchLabel.includes(e);return r.children?((o=i?r.children:r.children.reduce(t,[])).length||r.clickable&&i||!e||i)&&n.push(ro(ro({},r),{children:o})):e&&!i||n.push(r),n};return o.value.data.reduce(t,[])}(e)}));return{query:t,isFiltered:n,filteredItems:i}}(t),i=o.query,l=o.isFiltered,c=o.filteredItems,u=it(),d=u.ena... | JavaScript |
px;border-radius:3px}.cke_dialog .cke_hand{cursor:pointer}.cke_disabled{color:#a0a0a0}.cke_dialog_body .cke_label{display:none}.cke_dialog_body label{display:inline;margin-bottom:auto;cursor:default}.cke_dialog_body label.cke_required{font-weight:bold}a.cke_smile{overflow:hidden;display:block;text-align:center;padding:... | CSS |
Some(sleep_impl));
}
let client = builder.build();
Self {
handle: std::sync::Arc::new(Handle { client, conf }),
}
}
}
use std::env;
use std::time::Duration;
use anyhow::Context;
use atty;
use clap::{Clap, AppSettings};
use edgedb_client::Builder;
use crate::credentials... | Rust |
r](https://www.bundlestars.com)
험블번들보다는 약간 거시기하지만, 그래도 나쁘지는 않습니다. 스팀 라이브러리를 초반에 채우기에는 딱 좋은 게임들을 묶어서 파니 한 번 뉴스레터를 받아보시는 것도 나쁘진 않죠.
9. [Inside](https://inside.com/)
뉴스레터 모음 사이트입니다. 아마존을 분석한 [Inside Amazon](https://inside.com/amazon)이 제일 유명한 듯 하지만 인공지능, 금융, 일반 저널 등 주제별로 구독하실 수 있습니다.
## 조언
여기 언급한 모든 뉴스레터를 다 읽으려고 ... | Markdown |
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `HOST_SLC0_TOHOST_BIT6_INT_ENA` writer - "]
pub struct HOST_SLC0_TOHOST_BIT6_INT_ENA_W<'a> {
w: &'a mut W,
}
impl<'a> HOST_SLC0_TOHOST_BIT6_INT_ENA_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub... | Rust |
bool QSslCertificate::importPkcs12(QIODevice *device,
QSslKey *key, QSslCertificate *certificate,
QList<QSslCertificate> *caCertificates,
const QByteArray &passPhrase)
{
if (!device || !key || !certificate)
... | C++ |
p.set_leader_process(process.clone());
pgrp.add_new_process(process);
Ok(pgrp)
}
// Create a new process group with given pid
pub fn new_with_pid(pid: pid_t) -> Result<Self> {
let leader_process = table::get_process(pid)?;
Self::new(leader_process)
}
// Remove proce... | Rust |
endChild($colorInputWrapper);
this.$colorInput = document.createElement('input');
this.$colorInput.className = 'color-picker__color-hex';
$colorInputWrapper.appendChild(this.$colorInput);
this.$refreshButton = document.createElement('div');
this.$refreshButton.className = 'color-picker__refresh co... | Typescript |
sim,
" INSERT INTO inventory (product_id, email, count)
VALUES (2, 'my_email_2', 35),
(3, 'my_email_3', 45),
(4, 'my_email_4', 55);
DELETE
FROM inventory
WHERE product_id % 2 = 0;
INSERT INTO inventory (product_id, email, count)
V... | Rust |
{
if !msg.author.bot;
if let Ok(mut guard) = bot::QUIZ.lock();
then {
let ans = executors::prob(ctx, &msg, bot::Lang::En);
*guard = bot::Status::Holding(ans.clone(), bot::Lang::En, Instant::now());
}
}
Ok(())
}
#[command]
pub fn ja(ctx: &mut Context, msg... | Rust |
2
jmp 1f
dac i 10
isz nwds
jmp 1b
1:
lac o75170 " =x
dac i 10
isz nwds
lac ob1
dac i 10
isz nwds
lac sp
dac i 10
isz nwds
lac nins
dzm nins
tad o100
lmq
llss 10
cla
llss 3
alss 6
llss 3
tad o60060
dac i 10
cla
llss 3
alss 6
llss 3
... | Assembly |
private var mRealHeight = 0
@IntDef(ProgressStyle.NORMAL, ProgressStyle.FILL_IN, ProgressStyle.FILL_IN_ARC)
@kotlin.annotation.Retention(AnnotationRetention.SOURCE)
annotation class ProgressStyle {
companion object {
const val NORMAL = 0
const val FILL_IN = 1
con... | Kotlin |
self.areaRubberband4.setToGeometry(QgsGeometry.fromPolyline(points4), None)
else:
point1 = QgsPoint(self.areaEnd.x(), self.areaStart.y())
point2 = QgsPoint(self.areaStart.x(), self.areaEnd.y())
points1 = [self.areaStart, point1]
points2 =... | Python |
et_program_info_log(&shader_program)
.unwrap_or_else(|| String::from("Unknown error occurred when creating program object")))
} else {
Ok(shader_program)
}
}
fn compile_shader(context: &GL, shader_type: u32, source: &str) -> Result<WebGlShader, String> {
// TODO LEFT OFF "Initializing... | Rust |
texture size
*
* @see <a target="_blank" href="http://docs.gl/gl4/glCopyTexImage2D">Reference Page</a>
*/
fun copyTexImage2D(target: TextureTarget, level: Int, internalFormat: InternalFormat, pos: Vec2i, size: Vec2i) = GL11C.glCopyTexImage2D(target.i, level, internalFormat.i, pos.x, pos.y, size.x, s... | Kotlin |
file << "# Link16仿真结果\n";
file << "# 生成时间: " << __DATE__ << " " << __TIME__ << "\n\n";
file << "# 仿真参数\n";
file << "SNR = " << simParams.snr << " dB\n";
file << "持续时间 = " << simParams.duration << " s\n";
file << "迭代次数 = " << simParams.iterations << "\n\n";
file << "# 物理层参数\n";
file << ... | C++ |
be if we wait a bit, it will happen
}
},
500,
Ci.nsITimer.TYPE_ONE_SHOT
);
} while (!yield);
is(chances > 0, true, "Must have animated once out of bfcache!");
// Finally, check that the css background image has essentially the same
// # of frames, implying that i... | JavaScript |
a time since we don't know the src alignment
// and we don't want to read into a different page.
ldrb r2, [r1], #1
strb r2, [r0], #1
cbz r2, .L_strcpy_complete
ldrb r2, [r1], #1
strb r2, [r0], #1
cbz r2, .L_strcpy_complete
ldrb r2, [r1], #1
strb r2, [r0], #1... | Assembly |
: string;
public domaine: string;
public creationDate: string;
public changeDate: string;
public buildings: Building[];
constructor(data?: any){
if(data){
this.id = data.id;
this.projectName = data.projectName;
this.domaine = data.domaine;
this.creationDate = data.creationDate;
... | Typescript |
$47 $01
cmdf0 $90
note $67 $01
note $66 $01
note $65 $01
note $64 $01
note $57 $01
note $56 $01
note $55 $01
note $54 $01
note $47 $01
cmdf0 $70
note $67 $01
note $66 $01
note $65 $01
note $64 $01
note $57 $01
note $56 $01
note $55 $01
note $54 $01
note $47 $01
cmdf0 $50
note $67 $01
note $66 $0... | Assembly |
******************************************************************************/
void CheckCircularBufferWhenTracing (FileSet_t * fset, int numtasks, int taskid)
{
#if defined(PARALLEL_MERGE)
int res;
#endif
unsigned int file = 0, circular_buffer = FALSE;
event_t *current;
if (taskid == 0)
{
fprintf (stdout, ... | C |
offset + length - 1, 1):uint()
-- read full string or up to first zero
local value = ''
if last == 0 then
value = range:stringz()
else
value = range:string()
end
local display = euronext_optiq_marketdatagateway_sbe_v5_19.full_instrument_name.display(value, buffer, offset, packet, parent)
parent... | Lua |
wMessage("✅ FBWA moduna geçildi")
QTimer.singleShot(2000, self.custom_flight_step_3)
else:
self.abort_custom_flight("❌ FBWA mode değişikliği başarısız!")
def custom_flight_step_3(self):
"""Adım 3: GUIDED Pistten kalkış - DÜZELTME"""
if not self.flight_active:
... | Python |
St{ٔ+<|AS"v C-4\n>䚆JDŽm|4=Β S,wu;IH
ӊstX0(%uyU+_yö6zES4H\<Z7<Yle
YXsC{m bl7'o݅COyX-|{i⛏G3J,f6K+z _- Z2[+ yF?E"vM覱WԧBkE ˩-x/e&&"qs1֎x tI"ʓ8d ~3W|vX=I1rEĸA{{%/:_5G* JH (U $<|M'Jv5ӣ83LO$1<Yxb#RgMR8, ɁeSSw_y6xډv@ 7qY$=4 ^yP}vQj| D80RK_+7w7<P<kgO&텭nTzd#`x f x H=r~]+Iyw9eE.h,... | Markdown |
(x+0.48f, actualY, z+0.50f),
new Vector3f(x+0.52f, actualY, z+0.50f),
new Vector3f(x+0.52f, actualY, z+0.75f),
new Vector3f(x+0.48f, actualY, z+0.75f),
light, new Vector2f(topTexture.u0, topTexture.v1), new Vector2f(topTexture.u0, topTexture.v0),new Vector2f(topTexture.u1, topTextur... | Java |
net_r101_caffe_fpn_1x_coco_20200531_012847.log.json) |
| GA-RetinaNet | X-101-32x4d-FPN | pytorch | 1x | 6.9 | 10.6 | 40.5 | [config](./ga-retinanet_x101-32x4d_fpn_1x_coco.py) | [model](https://download.openmmlab.com/mmdetection/v2.0/guided_anchoring/ga_retinanet_x101_32x4d_fpn_1x_co... | Markdown |
/*
* SPI access driver for TI TPS65912x PMICs
*
* Copyright (C) 2015 Texas Instruments Incorporated - https://www.ti.com/
* Andrew F. Davis <afd@ti.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... | C |
require 'xlua'
require 'optim'
require 'cunn'
dofile './provider.lua'
local c = require 'trepl.colorize'
cmd = torch.CmdLine()
cmd:text()
cmd:text()
cmd:text('compare the Decorelated BatchNormalizaiton method with baselines on vggA architechture')
cmd:text()
cmd:text('Options')
cmd:option('-model','vggA_DBN','the meth... | Lua |
_window)
vim.api.nvim_win_set_cursor(current_window, { cursor_line, cursor_col })
return true
end
-- molten
---@diagnostic disable-next-line: unused-local
repls.molten = function(start_line, end_line, repl_args, cell_marker)
local line_count = vim.api.nvim_buf_line_count(0)
if line_count < (end_line + 1) th... | Lua |
createState() => _HomePageState();
}
class _HomePageState extends State<HomePage> {
ToDoList? _list;
final _quickActions = const QuickActions();
@override
void initState() {
super.initState();
_quickActions.initialize((listId) async {
final list = await Registry.listProvider.getList(listId).f... | Dart |
The name of this block.
final String name;
/// The asynchronous task id.
final int _taskId;
_AsyncBlock._(this.name, this._taskId);
// Emit the start event.
void _start(Map arguments) {
_reportTaskEvent(_taskId, 'b', category, name, _argumentsAsJson(arguments));
}
// Emit the finish event.
vo... | Dart |
gpuNodeConfig);
Assert.assertEquals("node3", result.getNodeHosts().get(0));
Assert.assertEquals(result.getGpuAttribute(result.getNodeHosts().get(0)).longValue(), 0xF0);
SelectionManager sm4 = new SelectionManager(am, am.conf, am.statusManager, am.requestManager);
node6 = new Node("node6", null, Resour... | Java |
lock
Cargo.toml中的版本號非常靈活,但我們不希望Cargo每次構建時都將我們陞級到最新的庫版本。 想像一下,在緊張的調試過程中,突然貨物構建將您陞級到新版本的庫。 這可能會造成難以置信的破壞。 調試過程中發生的任何更改都是不好的。 事實上,當涉及到庫時,從來沒有進行意外更改的好時機。
囙此,貨物有一個內寘的機制來防止這種情況發生。 第一次構建項目時,Cargo會輸出一個Cargo.lock檔案,記錄它使用的每個板條箱的確切版本。 以後的版本將查閱此檔案並繼續使用相同的版本。 只有當您告訴Cargo時,Cargo才會陞級到新版本,可以手動在Cargo.toml檔案中新增版本號,也可以運行Cargo更新:
```... | Markdown |
See the License for the specific language governing permissions and
* limitations under the License.
*/
using Tizen.Wearable.CircularUI.Forms;
namespace SquatCounter.Views
{
/// <summary>
/// Page providing main feature of the application.
/// </summary>
public partial class SquatCounterPage : Circle... | C# |
火环?|
|环境保护|如何减少塑料污染?列出3点具体措施。|
| 烹饪 | 怎样烹制一道口感细腻的意大利千层面? |
| 健身 | 如何训练出健康的背部肌肉? |
| 科技 | 未来智能手机有哪些可能的发展趋势? |
| 导游 | 如果想要在南非开展野生动物园导游工作,应该具备哪些条件? |
| 摄影 | 拍摄风景照片时,如何才能更好地表现景深效果? |
| 社交 | 在聚会上如何巧妙避免尴尬场面并主动与陌生人交流? |
| 营销 | 创业初期,如何通过网络营销提高产品知名度? |
| 金融 | 投资股票前需要做哪些准备工作,如何选择合适的公司购买股票? |
| 编程 | 如何通过编程实现网页动态效果? |
| 旅游 | 如何规划一... | Markdown |
after file-access"))
.keep_left()
.map(|x| FileAccess::Read.at(x.pos()))
}
// AS <ws+> expression
// AS ( expression )
fn parse_file_number_p<R>() -> impl Parser<R, Output = ExpressionNode>
where
R: Reader<Item = char, Err = QError> + HasLocation + 'static,
{
... | Rust |
import abc
from pydantic.main import BaseModel
from storage.storage.storage_interface import Pageable, DataPage
class TopicStorageInterface(abc.ABC):
@abc.abstractmethod
def topic_data_insert_one(self, one: any, topic_name: str) -> tuple:
pass
@abc.abstractmethod
def topic_data_insert_(self... | Python |
rity + '_small.png');
});
$(document).keyup(function(event) {
if(event.keyCode === 27) { callback(); }
});
menu.css({
left: event.pageX - 170,
top: event.pageY - 150
}).show();
event.stopPropagation();
});
},
startCountDownOnNextAnnounce: function(... | JavaScript |
A60s8vokf3sUp9vw,[lang=ne] ._Q20A60s8vokf3sUp9vw,[lang=te] ._Q20A60s8vokf3sUp9vw{letter-spacing:normal;line-height:36px}[lang=ml] ._Q20A60s8vokf3sUp9vw{line-height:36px}.d7vg_NZ238PPPSLAWecY{font-size:16px;font-weight:400;letter-spacing:normal;line-height:24px;text-transform:none}[lang=ar] .d7vg_NZ238PPPSLAWecY,[lang=b... | CSS |
// GameSelectionDialog.h
#pragma once
#include <QDialog>
#include <QPushButton>
#include <QButtonGroup>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QLabel>
#include <QFile>
#include <QIcon>
#include <QCoreApplication>
class GameSelectionDialog : public QDialog {
Q_OBJECT
public:
explicit GameSelec... | C |
dPrice = (1 - PRICE_GAP / 100) * currentAcBidPrice;
cbBidAmount = unitC;
cbBidPrice = (1 - PRICE_GAP / 100) * currentCbBidPrice;
} else if (unitC / acPrice > unitA) {
abAskAmount = unitA;
abAskPrice = (1 + PRICE_GAP / 100) * currentAbAskPrice;
acBidAmount = unitA;
a... | Typescript |
@font-face {
font-family: 'Noto Serif SC';
font-style: normal;
font-weight: 900;
font-display: swap;
src: url(https://fonts.gstatic.com/s/notoserifsc/v8/H4c8BXePl9DZ0Xe7gG9cyOj7miKxSzVBFNEQIapA8nbGtPqFHEvqJCLn4zOiu4L3BuoNxzQoOAJm-d8.66.woff2) format('woff2');
unicode-range: U+64f8, U+64fa, U+64fc, U+64fe-64... | CSS |
='M128 469.833C128 469.557 128.224 469.333 128.5 469.333H895.5C895.776 469.333 896 469.557 896 469.833V554.166C896 554.442 895.776 554.666 895.5 554.666H128.5C128.224 554.666 128 554.442 128 554.166V469.833Z' fill='black'/%3E%3Cpath d='M128 768.499C128 768.223 128.224 767.999 128.5 767.999H895.5C895.776 767.999 896 768... | CSS |
set to `Execution`. The execution with the properties as described in the [get single execution](https://docs.camunda.org/manual/7.14/reference/rest/execution/get/) method.
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct MessageCorrelationResultWithVariableDto {
/// Indicates if the messag... | Rust |
protected int batch = 0;
protected boolean multiple = false ;
protected boolean strict = false ; // 严格格式 不能追加条件
protected String runtime = null ; //
protected EMPTY_VALUE_SWITCH swt = EMPTY_VALUE_SWITCH.IGNORE;
protected LinkedHashMap<String,Column> columns = new LinkedHash... | Java |
Size:number;
public get dashed(){
return this.context.dashed;
}
public get color(){
return this.context.color;
}
/**
* 自动计算比例
* @returns {number}
*/
protected get strokeWidth(){
return this.context.transform(this._strokeWidth||this.context.strokeWidth|... | Typescript |
aram name="tracer">tracer拦截器</param>
/// <param name="interceptors">自定义拦截器</param>
/// <param name="callInvokers">自定义invoker获取策略</param>
/// <returns></returns>
public static T Get(string configPath = "", IClientTracer tracer = null, List<Interceptor> interceptors = null, Func<List<Serve... | C# |
arse";
ctx_sink_template = &sinktemplate;
ctx_src_template = &srctemplate;
ctx_headers[0].data = mpeg2_seq;
ctx_headers[0].size = sizeof (mpeg2_seq);
ctx_verify_buffer = verify_buffer;
ctx_setup = setup_element;
suite_add_tcase (s, tc_chain);
tcase_add_test (tc_chain, test_parse_normal);
tcase_add_t... | C |
C, but might work for Borland as well
#endif
#include <float.h> // MSVC rounding control
// Although the function is called _control87, it seems to work for
// other FPUs too, so it does not have to be changed to _controlfp.
namespace boost {
namespace numeric {
namespace interval_lib {
namespace detail {
exte... | C++ |
iu $t2, %lo(D_801923DC) # addiu $t2, $t2, 0x23dc
/* 24CB48 8022C438 AE0A015C */ sw $t2, 0x15c($s0)
/* 24CB4C 8022C43C 0C04783A */ jal func_8011E0E8
/* 24CB50 8022C440 A2000007 */ sb $zero, 7($s0)
/* 24CB54 8022C444 3C0B8005 */ lui $t3, %hi(D_8004A7C4) # $t3, 0x8005
/* 24CB58 8022C448 8D6BA7C4 */ lw $... | Assembly |
r1, [r3, r1]
bl Sprite_SetPositionXY
add sp, #8
pop {r4}
pop {r3}
add sp, #0x10
bx r3
.balign 4, 0
_0208BB88: .word 0x00000404
thumb_func_end sub_0208BB24
thumb_func_start sub_0208BB8C
sub_0208BB8C: ; 0x0208BB8C
push {r4, r5, r6, lr}
sub sp, #8
add r5, r0, #0
add r0, r1, #0
mov r1, #1
bl GetMoveAttr
a... | Assembly |
return viewportDim().vw >= 600
}
export function isVeryWideScreen(): boolean {
return viewportDim().vw >= 960
}
export function is43Aspect(): boolean {
if (cachedViewportAspectIs43 !== undefined) return cachedViewportAspectIs43
else {
cachedViewportAspectIs43 = window.matchMedia('(aspect-ratio: 4/3), (asp... | Typescript |
override ) {
if( typeof override === 'boolean' ) {
override ? jumpToSlide.show() : jumpToSlide.hide();
}
else {
jumpToSlide.isVisible() ? jumpToSlide.hide() : jumpToSlide.show();
}
}
/**
* Toggles the auto slide mode on and off.
*
* @param {Boolean} [override] Flag which sets the desired state.... | JavaScript |
--
-- tests/test_msc.lua
-- Automated test suite for the Microsoft C toolset interface.
-- Copyright (c) 2012-2013 Jason Perkins and the Premake project
--
local suite = test.declare("tools_msc")
local msc = premake.tools.msc
--
-- Setup/teardown
--
local wks, prj, cfg
function suite.setup()
wks, prj = test... | Lua |
dblStringBody"]],stringBody:[[/[^\\']+/,"string.sql"],[/\\./,"string.escape"],[/'/,"string.sql","@pop"]],dblStringBody:[[/[^\\"]+/,"string.sql"],[/\\./,"string.escape"],[/"/,"string.sql","@pop"]]}};return g(m);})();
return moduleExports;
});
"use strict";/*!--------------------------------------------------------------... | JavaScript |
(Tdate.format(timer.getTime()));//Generating date
textFrom.setText("Bangalore City Jn Station(SBC");
textTo.setText((String) Destination.getSelectedItem()+ " *");
int n;
String q="";
n=1325+(int)(Math.random()*4238);
q+=n+1325;
textTicketno.setText(q);//Generating ticket number
... | Java |
zifikation.Typ);
if (testObjekt === undefined) {
throw new Error("Es gibt einen Test für den Typ " + this.spezifikation.Typ);
}
return testObjekt.test(text, this.spezifikation);
}
public patziereDichAufDerHTMLSeite(wohin: string) {
const ziel = document.getElementById... | Typescript |
AccessKeyId;
}
public void setAliyunAccessKeyId(String aliyunAccessKeyId) {
this.aliyunAccessKeyId = aliyunAccessKeyId;
}
public String getAliyunAccessKeySecret() {
return aliyunAccessKeySecret;
}
public void setAliyunAccessKeySecret(String aliyunAccessKeySecret) {
this.aliyunAccessKeySecret = aliyunAcce... | Java |
&means.storeLoad, &means.nodeLoad)
if sls.fd != fdOK {
log.KvDistribution.VInfof(ctx, 2, "skipping store s%d: failure detection status not OK", cand.storeID)
continue
}
candsSet.candidates = append(candsSet.candidates, candidateInfo{
StoreID: cand.storeID,
storeLoadS... | Go |
end)
it('cancel', function()
feed('<C-e>')
eq('cancel', eval('g:donereason'))
end)
describe('discard', function()
it('on non-keyword character', function()
feed('<Space>')
eq('discard', eval('g:donereason'))
end)
it('on mode change', function()
f... | Lua |
er, full_text, short_text)
if not self._player or self._player ~= player then
return
end
if self._popup_animation_id then
table.insert(self._area_notificactions_queue, 1, {
full_text = full_text,
short_text = short_text,
})
else
self:_present_new_area(full_text, short_text)
end
end
HudElementAreaNo... | Lua |
stract Task CloseAsync();
}
/// <summary>
///
/// </summary>
public abstract class FeedbackRefWithOkCancelBase : FeedbackRefBase, IOkCancelRef
{
/// <summary>
/// invoke when cancel button or closer click
/// </summary>
public Func<Task> OnCancel { get; set; }
... | C# |
gRemarks: IntlKeys.contactsMsgRemarks,
// discover
IntlKeys.discoverMoments: IntlKeys.discoverMoments,
IntlKeys.discoverMomentsMock: IntlKeys.discoverMomentsMock,
IntlKeys.discoverChannels: IntlKeys.discoverChannels,
IntlKeys.discoverScan: IntlKeys.discoverScan,
IntlKeys.discoverShake: IntlKeys.discoverShak... | Dart |
.NoError(err)
manager, ok := s.onDemandManager.(*ec2Manager)
s.Require().True(ok)
mock, ok := manager.client.(*awsClientMock)
s.Require().True(ok)
s.Require().NotNil(mock.RunInstancesInput)
runInput := *mock.RunInstancesInput
s.Equal("ami", *runInput.ImageId)
s.EqualValues("instanceType", runInput.InstanceTyp... | Go |
");
public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC, Linker.Option.critical(true));
}
/**
* Function descriptor for:
* {@snippet lang=c :
* int ztgsen_(__CLPK_integer *__ijob, __CLPK_logical *__wantq, __CLPK_logical *__wantz, __CLPK_logical *__s... | Java |
)
cc.Director:getInstance():replaceScene(pNewscene)
--pLayer:autorelease()
end
local function BugsTestMainLayer()
local ret = cc.Layer:create()
--menu callback
local function menuCallback(tag, pMenuItem)
local nIdx = pMenuItem:getLocalZOrder() - kItemTagBasic
local BugTestScene = Crea... | Lua |
/*
* Copyright (c) 2006-2011 Ed Schouten <ed@80386.nl>
* All rights reserved.
*
* Copyright (c) 2008 Steve Jothen <sjothen@gmail.com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* ... | C |
lJ29vcoXRCtx1qLlZQ0x0ouSicUwxIp8jq3ZqLIhsjjdBSlndNeA9OhCZUuHU2n36uO8mVss7a5B6z4G1Sg/640?wx_fmt=png&from=appmsg "null")
- • 登录王某某的账号查看预约记录,发现越权成功!
 ... | Markdown |
invoke(this)
}.apply {
asyncJobs.add(this)
}
fun convertToLatLng(latLonPoint: LatLonPoint?): LatLng? {
if(null == latLonPoint) return null
return LatLng(latLonPoint.latitude, latLonPoint.longitude)
}
open fun setPolylineSelected(isSelected: Boolean){
}
fun convertA... | Kotlin |
�当前国际主要热点事件对全球政治经济格局的影响。|
|健康饮食|如何合理搭配膳食?请给出每天三餐的营养搭配建议。|
|环保与可持续发展|请列举三种实现可持续发展的方法,并说明其重要性。|
|职场沟通|在跨国公司中,如何有效地开展跨文化沟通?|
|历史研究|请介绍一位中国历史上有影响力的女性人物,并简述其生平和贡献。|
|音乐欣赏|请谈谈您对爵士乐的看法,以及推荐几位值得关注的爵士音乐家。|
|旅游攻略|请为即将去往日本的游客推荐一个不太被游客所知的景点,并介绍其特色。|
|天气预报|今天的天气会是怎样?|
|烹饪食谱|如何制作一份美味的沙拉?|
|新闻报道|最近发生了哪些重大事件?|
|电影推荐|你能推荐一部好看的科幻片吗?|
|健... | Markdown |
TypeIds.tank:
cr.body = TankBody();
case CreatureTypeIds.angryRuralMob:
cr.name = ruralMobNames.random;
case CreatureTypeIds.cop:
if (laws[Law.policeReform] == DeepAlignment.eliteLiberal &&
cr.align == Alignment.liberal &&
oneIn(3)) {
cr.align = Alignment.moderate;
... | Dart |
j6pEn.title2nd-2igtq1cH,.single-visible .miniHidden2Title-1xHUL0G8 .series-12hzsxbp .titleWrapper-1Zs2rjQ6 .title-bcHj6pEn.title2nd-2igtq1cH{display:none}.legend-29zvAld0 .series-12hzsxbp.selected-2qw9PFUJ.withTail-2tfD0t7T .valuesWrapper-1ukbb5SP:after,.legend-29zvAld0 .series-12hzsxbp.stayInHoveredMode-3K55nNni.withT... | CSS |
obileFeedbackButton => 'Geri bildirimde bulun';
@override
String mobileGoodEvening(String param) {
return 'İyi akşamlar, $param';
}
@override
String get mobileGoodEveningWithoutName => 'İyi akşamlar';
@override
String mobileGoodDay(String param) {
return 'İyi günler, $param';
}
@override
... | Dart |
from torch.nn import Module, AdaptiveAvgPool3d, Sequential, Linear, ReLU, Sigmoid, Conv3d, BatchNorm3d, ModuleList, \
MaxPool3d, init
from torch.nn.modules.utils import _triple
class SELayer(Module):
"""
1.squeeze: 全局池化 (batch,channel,height,width) -> (batch,channel,1,1) ==> (batch,channel)
2.excitati... | Python |
ist()
// 提取所有行的数据
val rows = rowNodes.map { rowNode ->
rowNode.children.filter { it.type == GFMTokenTypes.CELL }.map { it.getTextInNode(content).trim() }
}
// 创建表头composable列表
val headers = List(columnCount) { columnIndex ->
@Composable {
MarkdownBlock(
... | Kotlin |
SearchParameter
// MarshalJSON marshals the given SearchParameter as JSON into a byte slice
func (r SearchParameter) MarshalJSON() ([]byte, error) {
return json.Marshal(struct {
OtherSearchParameter
ResourceType string `json:"resourceType"`
}{
OtherSearchParameter: OtherSearchParameter(r),
ResourceType: ... | Go |
AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFI... | C++ |
let long_k = k.to_usize().unwrap();
if mea == mea_mat[long_i][long_k] + mea_mat[long_k + 1][long_j] {
pos_pair_stack.push((i, k));
pos_pair_stack.push((k + T::one(), j));
break;
}
}
}
}
mea_css.ea = mea_mat[0][sa_len.to_usize().unwrap() - 1];
mea_css
}
... | Rust |
Parent == game.Players.LocalPlayer.ActiveTycoon.Value then
module.expand(Obj)
end
end)
function module.hide()
if not script.Parent.Expanded.Value then
--script.Parent:TweenSize(UDim2.new(1,0,0,0),nil,nil,0.15,true)
spawn(function()
--wait(0.18)
if not script.Parent.Expanded.Value then
script.Parent.... | Lua |
7 60.3-7 86.4-22.4 5.1 5.3 18.5 19.5 20.9 22-32.2 20.7-69.6 31.1-108.1 30.2-43.3-1.1-84.6-16.7-117.7-44.4.3-.6-38.2 37.5-38.6 37.9 9.5 29.8-13.1 62.4-46.3 62.4C20.7 503.3 0 481.7 0 454.9c0-34.3 33.1-56.6 63.8-45.6zm354.9-252.4c19.1 31.3 29.6 67.4 28.7 104-1.1 44.8-19 87.5-48.6 121 .3.3 23.8 25.2 24.1 25.5 9.6-1.3 19.2 ... | CSS |
WebDriverAdaptor.ifCondition = function(conditionString, stmtString) {
return ifCondition(new SeleniumWebDriverAdaptor.SimpleExpression(conditionString), function() {
return statement(new SeleniumWebDriverAdaptor.SimpleExpression(stmtString)) + "\n";
});
};
SeleniumWebDriverAdaptor.prototype.check = func... | Typescript |
paceReactionsParams(1, types.NewRegisteredReactionValueParams(true), types.NewFreeTextValueParams(true, 100, ""))},
),
},
}
querier := wasm.NewReactionsWasmQuerier(suite.k, suite.cdc)
for _, tc := range testCases {
suite.Run(tc.name, func() {
ctx, _ := suite.ctx.CacheContext()
if tc.store != nil {
... | Go |
_derive;
#[macro_use]
extern crate dotenv;
extern crate chrono;
extern crate postgres;
#[macro_use] extern crate rocket;
extern crate rocket_contrib;
use rocket_contrib::json::{Json};
mod db;
mod ds;
mod params;
use rocket::request::Form;
extern crate rocket_cors;
use rocket_cors::*;
use std::fs::DirBuilder;
fn mai... | Rust |
attempt to find Prettier by:
1. Locally installed prettier relative to active view.
2. Locally installed prettier relative to the Sublime Text Project file's root directory.
3. The current user home directory.
4. JsPrettier Sublime Text plugin directory.
5. Globally installed prettier.
**Exa... | Markdown |
'100'Validators는 프로토콜을 보호하는 Validator이며 이것은 Validators 배열에서 추적됩니다. 새 유효성 검사기가 '100 번째 유효성 검사기 이상으로 발생하면 유효성 검사기 배열에서 이전 유효성 검사기가 제거되고 새 유효성 검사기가 추가됩니다. 이는 모든 사람이 볼 수 있으며 모든 블록마다 업데이트됩니다. bondPeriod는 발리 데이터가 스테이크 (`14` 일)를 철회하기 전에 블록의 최소량을 지정합니다. Block Rewards는`T0`에 누적됩니다. 블록 보상이 발행되면 tokenData 필드가 업데이트되어 총 Rune 공급이 증가... | Markdown |
(time > new Date("3000-01-01").getTime() / 1000) {
time = time / 1000;
}
} else {
if (time < new Date("1971-01-01").getTime()) {
time = time * 1000;
}
}
return time;
}
/**
* 生成随机字符串
*/
export function genSessionId(): string {
return (
Date.now().toSt... | Typescript |
"""Tests for the bob_emploi.importer.job_offers_change."""
from os import path
import unittest
from bob_emploi.frontend.api import job_pb2
from bob_emploi.data_analysis.importer import job_offers_changes
from bob_emploi.data_analysis.lib import mongo
class JobOffersEvolutionImporterTestCase(unittest.TestCase):
... | Python |
hen we enter runtime suspend.
* On Valleyview and Cherryview systems, this also happens when we shut off all
* of the powerwells.
*
* Since this function can get called in contexts where we're already holding
* dev->mode_config.mutex, we do the actual hotplug enabling in a seperate
* worker.
*
* Also used durin... | C |
elled: 'Отменено',
msgPlaceholder: 'Выбрать {files}...',
msgZoomModalHeading: 'Подробное превью',
msgFileRequired: 'Необходимо выбрать файл для загрузки.',
msgSizeTooSmall: 'Файл "{name}" (<b>{size} KB</b>) имеет слишком маленький размер и должен быть больше <b>{minSize} KB</b>.',
... | JavaScript |
// }
// }
}
List _fileCached = [];
Future _loadRangeBinData() async {
var combineCount = storeDomainBlockSize!.x / domainBlockSize!.x;
Point3<int> __rowRange = Point3(math.max((_rowRange!.x / combineCount).floor() - 1, 0), (_rowRange!.y / combineCount).ceil() + 1, 0);
Point3<int> __colRange =... | Dart |
/*
* NET/ROM release 007
*
* This code REQUIRES 2.1.15 or higher/ NET3.038
*
* This module:
* This module 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 License, or (at ... | C |
l value */
return crc;
}
/* Function : matrix_init
Initialize the memory block for matrix benchmarking.
Parameters:
blksize - Size of memory to be initialized.
memblk - Pointer to memory block.
seed - Actual values chosen depend on the seed parameter.
p - pointers to <mat_params> containing initialized matrixe... | C |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.