content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
local m_log, app_name = ...
local M = {}
M.m_log = m_log
M.app_name = app_name
function M.tprint(t, s)
for k, v in pairs(t) do
local kfmt = '["' .. tostring(k) .. '"]'
if type(k) ~= 'string' then
kfmt = '[' .. k .. ']'
end
local vfmt = '"' .. tostring(v) .. '"'
... | Lua |
-=60*b}w.push((d>=8?"[m]":"m")+'"m"');if(h==0)g.push((d==8&&v==8||b>=10?"":"0")+b);else g.push(b+(h==2?" minute"+(b==1?"":"s"):h==1?"m":""))}if(d<=16&&v>=16){b=m;if(v>16){b|=0;m-=b}w.push((d>=16?"[s]":"s")+'"s"');if(h==0)g.push((v==16&&d==16||b>=10?"":"0")+b);else g.push(b+(h==2?" second"+(b==1?"":"s"):h==1?"s":""))}if... | JavaScript |
/jqueryui/jquery-ui-position.js",
// other excludes (not required for productive scenarios)
"!sap-ui-*.js",
"!sap/ui/core/support/",
"!sap/ui/core/plugin/DeclarativeSupport.js",
"!sap/ui/core/plugin/LessSupport.js"
],
resolve: false,
resolveConditional: false,
rendere... | JavaScript |
{
return d, nil
}
x := a.GetFloat64()
d.SetFloat64(x / y)
return d, nil
default:
// the scale of the result is the scale of the first operand plus
// the value of the div_precision_increment system variable (which is 4 by default)
// we will use 4 here
xa, err1 := a.ToDecimal(sc)
if err != nil {... | Go |
/** Boolean */
const val PLAY_BACK_SOUND = "/crosslauncher/menu/playBgSound"
/** Boolean */
const val DISPLAY_DISABLE_STATUS_BAR = "/crosslauncher/menu/noStatusBar"
/** String, Data:
* - ```{network}``` : Connected Network Name
* - ```{battery}``` : Current Battery Percent
* - ```{da... | Kotlin |
}
int index = _config.profiles.indexWhere((value) {
return value.id == id;
});
final profile = ProfileSetting(
id: id,
remark: remark,
updateInterval: const Duration(days: 1),
update: DateTime.now(),
url: url);
if (!overwrite) {
profile.patch = k... | Dart |
Parameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl.NEAREST);
gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl.NEAREST);
const image = await loadImage(path);
gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, gl.RGBA, gl.UNSIGNED_BYTE, image);
}
function initializeCanvas(gl: WebGL2RenderingContext) {
gl.viewpor... | Typescript |
"></div>
</div>
<div class="wpd-uinfo-bottom">
<div class="wpd-comment-date" title="Mar 23, 2022 1:27 pm">
<i class='far fa-clock' aria-hidden='true'></i>
2 years ago
</div>
</div>
</div>
<div class="wpd-comment-link wpd-hidden">
<span wpd-tooltip='Comment Link' wpd-tooltip-position='l... | HTML |
달라고 부탁했습니다."}},
[8492] = {"얼라이언스에 구리 주괴 조달!", nil, {"아이언포지의 군사 지구에 있는 하사관 스톤브로우에게 구리 주괴 20개를 가져가야 합니다."}},
[8493] = {"얼라이언스에 구리 주괴 추가 조달!", nil, {"아이언포지의 군사 지구에 있는 하사관 스톤브로우에게 구리 주괴 20개를 가져가야 합니다."}},
[8494] = {"얼라이언스에 철 주괴 조달!", nil, {"아이언포지의 군사 지구에 있는 하사관 칸스에게 철 주괴 20개를 가져가야 합니다."}},
[8495] = {"얼라이언스에 철 주괴 추가 조달!", n... | Lua |
: true,
"gbnbancorp.com": true,
"gbois-stav.ru": true,
"gbouquete.com": true,
"gbqetv.info": true,
"gbqtfm.com": true,
"gbubrook.com": true,
"gbuyeasy.com": true,
"gbvm.email": true,
"gbxuums.com": true,
"gbz01nn6.xyz": true,
"gcacweb.com": true,
"gcamhmgt.shop": true,
"gcantikored.pw": true,
"gcaoa.org":... | Go |
! 1488: RESTORE_R restore %r20, %r0, %r29
T2_irf_ce_117:
!$EV error(2,expr(@VA(.MAIN.T2_irf_ce_117), 16, 16),1,IRF,ce,53,69, x,x,x, x,x,x)
.word 0xbe9521dc ! 1491: ORcc_I orcc %r20, 0x01dc, %r31
.word 0xb68520bc ! 1491: ADDcc_I addcc %r20, 0x00bc, %r27
.word 0xb6b44000 ! 1494: SUBCcc_R orncc %r17, %r0, %r27
.... | Assembly |
43322498c553c59c854133dfe6fdd453"></a>AM_DEVICES_MSPI_PSRAM_APS25616n_WLC_6 </td><td class="fielddoc"></td></tr>
</table>
</div>
</div>
<a id="a2834b541eaf3ac8ef52e45584e4a4865" name="a2834b541eaf3ac8ef52e45584e4a4865"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2834b541eaf3ac8ef52e45584e4a4865">... | HTML |
sd-octicon-tag octicon" viewBox="0 0 16 16" aria-hidden="true"><path d="M1 7.775V2.75C1 1.784 1.784 1 2.75 1h5.025c.464 0 .91.184 1.238.513l6.25 6.25a1.75 1.75 0 0 1 0 2.474l-5.026 5.026a1.75 1.75 0 0 1-2.474 0l-6.25-6.25A1.752 1.752 0 0 1 1 7.775Zm1.5 0c0 .066.026.13.073.177l6.25 6.25a.25.25 0 0 0 .354 0l5.025-5.025a... | HTML |
9 289c-41 0 -81 -9 -117 -25c80 -64 128 -161 128 -264c0 -102 -48 -200 -128 -264c36 -16 76 -24 117 -24zM625 336 c0 94 -48 186 -126 238c-79 -56 -125 -140 -125 -238s46 -182 125 -238c78 52 126 144 126 238z"/>
<glyph glyph-name="uniEB3E" unicode="" horiz-adv-x="1001" d="M910 937c10 0 18 -8 18 -18v-825c0 -10 -8 -18 -18 -1... | HTML |
we want clusters with 12 species). Furthermore, we want to minimize the
number of clusters with just a single sequence.
### 2.2.4 Final parsing of mcl’s output ###
The file obtained in the last section (the dump file from mcl) is still not ready to be
read by CAFE: we need to parse it and filter it. Parsing is quite ... | Markdown |
', '7839.0', '7839.0', '7839.0', '7839.0', '7839.0', '7839.0', '7839.0', '7789.0', '7789.0', '7789.0', '7739.0', '7700.0', '7700.0', '7700.0', '7700.0', '7700.0', '7700.0', '7700.0', '7700.0', '7700.0', '7700.0', '7700.0', '7700.0', '7700.0', '7700.0', '7700.0','7700.0','7700.0','7700.0'],
markPoint... | HTML |
t-transform: rotateZ(37deg);
transform: rotateZ(37deg);
-webkit-transform-origin: 20% 40%;
transform-origin: 100% 100%; }
[type="checkbox"].filled-in:not(:checked) + label:after {
height: 20px;
width: 20px;
background-color: transparent;
border: 2px solid #5a5a5a;
top: 0px;
z-index: 0; }
[type="checkb... | CSS |
:transparent;border:2px solid gray;border-radius:4px;box-shadow:0 1px 2px rgba(0,0,0,.1);color:#3b4151;font-family:sans-serif;font-size:14px;font-weight:700;padding:5px 23px;transition:all .3s}.swagger-ui .btn.btn-sm{font-size:12px;padding:4px 23px}.swagger-ui .btn[disabled]{cursor:not-allowed;opacity:.3}.swagger-ui .b... | CSS |
, 1, c);
while(m--) {
runtime++;
if(runtime == 1000) {
return 0;
}
scanf("%d", &op);
op_label = op;
if(op == 1) {
scanf("%d %d %d %d %d", &x1, &y1, &x2, &y2, &v);
op_v = v;
/*f... | C++ |
", query = "SELECT p FROM PlanoConta p"), @NamedQuery(name = "PlanoConta.findByCodPlanoConta", query = "SELECT p FROM PlanoConta p WHERE p.codPlanoConta = :codPlanoConta"), @NamedQuery(name = "PlanoConta.findByDescricaoPlanoConta", query = "SELECT p FROM PlanoConta p WHERE p.descricaoPlanoConta = :descricaoPlanoConta")... | Java |
pped
/// image as a [CropImageResult].
///
/// Internally, this uses [ui.Image.toByteData] to obtain the original image's
/// pixel data, and then computes the cropped image's pixel data from that,
/// smoothing with bilinear interpolation.
Future<CropImageResult> cropImageBilinear(
ui.Image image,
CroppableImageDa... | Dart |
#UnderlineFeatureClient':
UnderlineFeatureClient_e70f5e05f09f93e00b997edb1ef0c864,
'@payloadcms/richtext-lexical/client#BoldFeatureClient':
BoldFeatureClient_e70f5e05f09f93e00b997edb1ef0c864,
'@payloadcms/richtext-lexical/client#ItalicFeatureClient':
ItalicFeatureClient_e70f5e05f09f93e00b997edb1ef0c864,... | JavaScript |
/%E6%AF%95%E8%AE%BEssm145%E5%9F%BA%E4%BA%8Ejava%E7%9A%84%E7%94%B5%E8%84%91%E7%A1%AC%E4%BB%B6%E5%BA%93%E5%AD%98%E7%AE%A1%E7%90%86%E7%B3%BB%E7%BB%9F%E6%AF%95%E4%B8%9A%E8%AE%BE%E8%AE%A1/4.png)
# 为什么选择我

# 《新闻联播》 (20241029)
## 新闻摘要
本期节目主... | Markdown |
etry = (_, _, context) => policyWrapKeySetOnExecutionContext = context.PolicyWrapKey;
var retry = Policy.HandleResult(ResultPrimitive.Fault).Retry(1, onRetry).WithPolicyKey(retryKey);
var breaker = Policy.HandleResult(ResultPrimitive.Fault).CircuitBreaker(1, TimeSpan.Zero).WithPolicyKey(breakerKey);
... | C# |
的 exit 函数对应的,通过调用该函数,程序可以以正常或非正常的方式中止进程。例如,如果程序中有一个线程发生了错误,需要将所有的线程都立即停止,那么可以调用 exit() 函数退出程序。此时可以传入一个整数参数,用于表示进程结束时的状态码。
该函数定义如下:
func exit(code int) {
libc_exit(code)
}
exit() 函数的参数可以是正整数、负整数或零。常见的状态码包括 0(正常退出)、1(非正常退出,通常表示程序出错)等。参考不同操作系统的 API 文档以使用与该操作系统兼容的状态码。
总之,exit() 函数是 syscall 包中的一个非常重要的函数,它可以使程序在特定的条件... | Markdown |
0000000004197f0 <SYSTEM_$$_DONECRITICALSECTION$TRTLCRITICALSECTION>:
SYSTEM_$$_DONECRITICALSECTION$TRTLCRITICALSECTION():
4197f0: 48 8d 64 24 f8 lea -0x8(%rsp),%rsp
4197f5: 48 89 f8 mov %rdi,%rax
4197f8: 48 89 c7 ... | Assembly |
'serve',
], workingDirectory: d.sandbox);
await checkProcessStdout(process, ['webdev could not run']);
await process.shouldExit(78);
});
test('pubspec.yaml, no pubspec.lock', () async {
await d.file('pubspec.yaml', _pubspecYaml).create();
final process = ... | Dart |
eoDCiTUkKCqw+FfBtPJVAkhVgFaQoKjAs2CeiPI2179LIYkX6fjylwzyJTokKCowt5Yn9q06iBJgcwm4+zCN46JCXPnfKChvcwlgHB4y7kSLhIqi4fGrt1SUd7JRMkmwHjZ3TogQkC+puOmj06YjtgrU4upIDGK2QoQAuaJhdJbObnXYGzNXCDXCZw8SxEJA1YDpFzkqBHC8aLwUboavZzI4KZMrk5dfF+kRQKMNPv0iB5XgNkEQZSoE+ANJMPupI+IvXn5dJKc9gNRRhXg/wOYSsJ86ArO2vokrd7aIvlgQW3d/NO08wzdrkupCYyW4... | HTML |
# Projet de Gestion de Bibliothèque
## Prérequis
- Python 3.x
- Pip
- Virtualisation
==================commande a executer avant de lancer de projet==========================
// creer l'environnement virtuel
python -m venv evirtuel
// ajouter le dossier 'projet' dans evirtuel
.\\scripts\activate # avant navi... | Markdown |
66h-.088c-.588-.697-1.716-1.33-3.136-1.33-2.98 0-5.71 2.614-5.71 5.98 0 3.338 2.73 5.933 5.71 5.933 1.42 0 2.548-.64 3.136-1.36h.088v.86c0 2.28-1.217 3.5-3.183 3.5-1.61 0-2.6-1.15-3-2.12l-2.28.94c.65 1.58 2.39 3.52 5.28 3.52 3.06 0 5.66-1.807 5.66-6.206V7.21h-2.48v.858zm-3.006 8.237c-1.804 0-3.318-1.513-3.318-3.588 0-2... | HTML |
_ERROR_RESULT(ControlResourceLimit, 820);
R_DEFINE_ERROR_RESULT(ControlNotOpened, 822);
R_DEFINE_ERROR_RESULT(NotSupported, 1023);
R_DEFINE_ERROR_RANGE(InternalError, 1024, 2047);
R_DEFINE_ERROR_RESULT(InternalJpegEncoderError, 1210);
R_DEFINE_ERROR_RESULT(InternalJpegWorkMemor... | C++ |
_new_hdop = parse_decimal();
break;
case COMBINE(_GPS_SENTENCE_GPGGA, 9): // Altitude (GPGGA)
_new_altitude = parse_decimal();
break;
}
return false;
}
long TinyGPS::gpsatol(const char *str)
{
long ret = 0;
while (gpsisdigit(*str))
ret = 10 * ret + *str++ - '0';
return ret;
}... | C++ |
as *const c_char,
signature: b"\0" as *const u8 as *const c_char,
types: unsafe { &types_null as *const _ },
},
];
pub static mut zwp_fullscreen_shell_mode_feedback_v1_interface: wl_interface = wl_interface {
name: b"zwp_fullscreen_shell_mode_feedback_v1\0" as *const u8 as *const c_char,
ve... | Rust |
", err)
return map[string]string{}, nil
}
// Sort by time
sort.Slice(timeoutDelays, func(i, j int) bool {
return timeoutDelays[i].rescheduleTime.Before(timeoutDelays[j].rescheduleTime)
})
var evals []*structs.Evaluation
nextReschedTime := timeoutDelays[0].rescheduleTime
allocIDToFollowupEvalID := make(map[... | Go |
<p>For some <em>unsignedLong</em> types, a value range is given using the form
<em>unsignedLong(Min:Max)</em> or <em>unsignedLong(Min:Max step Step)</em>, where
the <em>Min</em> and <em>Max</em> values are inclusive. If either <em>Min</em> or <em>Max</em>
are missing, this indicates no limit. If <em>Step</em> is missin... | HTML |
Ja:-1==a.i.b?eb:Ja+T[a.i.b]+Ja)),CB(a),d=TB(a),e=Yx(b,c,d),!e.u&&cw(e,a.c),e;default:return PB(a,SB(a),4)}}
function ZB(a){var b,c,d;b=TB(a);for(c=null;7==a.i.b;)c||(c=new Pv(10),H(c.b,c.c++,b)),CB(a),d=TB(a),!d.sc()&&cw(d,a.c),H(c.b,c.c++,d);c&&(b=$B(c),!b.sc()&&cw(b,a.c));return b}
function aC(a){var b,c,d,e,f,g;f=a.... | HTML |
ero) = 0;
virtual OpenLedger const&
openLedger(SchemaID const& id = beast::zero) const = 0;
virtual TxnDBCon&
getTxnDB(SchemaID const& id = beast::zero) = 0;
virtual DatabaseCon&
getLedgerDB(SchemaID const& id = beast::zero) = 0;
/** Retrieve the "wallet database" */
virtual DatabaseCon&... | C |
m_t) {
c.mutex.Lock()
defer c.mutex.Unlock()
C.GEOSGeom_destroy_r(c.cHandle, cGeom)
c.unref()
}
package geos
// #include "go-geos.h"
import "C"
import (
"runtime"
"unsafe"
)
// A WKTWriter writes geometries in WKT (Well Known Text).
type WKTWriter struct {
context *Context
cWKTWriter *C.struct_GEOSWKTWrit... | Go |
z"/> </svg> <a href=#environments_additionalProperties_files_items_content onclick="anchorLink('environments_additionalProperties_files_items_content')">content</a> <svg width=1em height=1em viewbox="0 0 16 16" class="bi bi-arrow-right-short" fill=currentColor xmlns=http://www.w3.org/2000/svg> <path fill-rule=evenodd d... | HTML |
static DerivationPath get standardDerivationPath =>
DerivationPath()..value = "m/44'/1729'/0'/0'";
static List<DerivationPath> get possibleDerivationPaths => [
standardDerivationPath,
DerivationPath()..value = "",
DerivationPath()..value = "m/44'/1729'/0'/0'/0'",
DerivationPath()..value = "m/... | Dart |
replace the current chain', () => {
BlockChainService.addBlockToChain('test', blockchain2.chain);
let expectedNewChain = JSON.stringify(blockchain2.chain);
expect(JSON.stringify(BlockChainService.getBestChain(blockchain.chain, blockchain2.chain))).toEqual(expectedNewChain);
});
it('Exp... | Typescript |
Corner = Roact.createElement("UICorner", {
CornerRadius = CORNER_RADIUS,
}),
Panel = Roact.createElement("Frame", {
Size = UDim2.new(1, 0, 1, 0),
BackgroundTransparency = 1,
}, {
UIListLayout = Roact.createElement("UIListLayout", {
FillDirection = Enum.FillDirection.Vertical,
SortOrder = Enum.... | Lua |
e": "\xf3\xb1\x98\x9c", // U+F161C
"ClipboardRemoveOutline": "\xf3\xb1\x98\x9d", // U+F161D
"ClipboardSearch": "\xf3\xb1\x98\x9e", // U+F161E
"ClipboardSearchOutline": "\xf3\xb1\x98\x9f", // U+F161F
"ClipboardText": "\xf3\xb0\x85\x8d", // U+F014D
"ClipboardTextClock": "\xf3\xb1\xa3\xb9", // U+F18F9
"C... | Go |
$(1) s xavix $(<) $(2) $(@)" }},
}
dependency {
-- { MAME_DIR .. "src/devices/cpu/m6502/xavix.cpp", GEN_DIR .. "emu/cpu/m6502/xavix.hxx" },
}
end
if CPUS["XAVIX2000"] then
files {
-- MAME_DIR .. "src/devices/cpu/m6502/xavix2000.cpp",
-- MAME_DIR .. "src/devices/cpu/m6502/xavix2000.h",
}
custombuildtask {... | Lua |
.4-10.2 0-6-4.3-11-9.9-12.1v-5.4l80.3-9v5.8c-5.9.9-10.5 6-10.5 12.2 0 6.8 5.6 12.4 12.4 12.4 6.8 0 12.4-5.6 12.4-12.4-.2-6.3-4.7-11.4-10.7-12.3zm-200.8-87.6l19.6-42.5 19.6 42.5h-17.9l-1.7-40.3-1.7 40.3h-17.9z"],
"itunes": [448, 512, [], "f3b4", "M223.6 80.3C129 80.3 52.5 157 52.5 251.5S129 422.8 223.6 422.8s171.2-7... | JavaScript |
if (state != BASE_ATTACHED)
return;
if (base_power_on_attempts < POWER_FAULT_MAX_RETRIES) {
CPRINTS("Reapply base pwr");
base_power_enable(1);
base_power_on_attempts++;
hook_call_deferred(&clear_base_power_on_attempts_deferred_data,
SECOND);
}
}
DECLARE_DEFERRED(check_and_reapply_base_power_defer... | C |
stD_mdof[i,:] = stD_mdof[0,:]*Ratio_disp
# This is for the case that the ultimate displacement is less than
# the previous ones. I basically scale the previous displacements
# with the same scale of the ultimate displacement rather than
... | Python |
evelopment ประกาศการเปิดตัว PostgreSQL 11
ซึ่งเป็นฐานข้อมูลโอเพ่นซอร์สที่ทันสมัยที่สุดในโลก</p>
<p>PostgreSQL 11 ช่วยให้ผู้ใช้มีการปรับปรุงประสิทธิภาพโดยรวมของ
ระบบฐานข้อมูลโดยมีการปรับปรุงเฉพาะที่เกี่ยวข้องกับฐานข้อมูลขนาดใหญ่
และปริมาณงานที่คำนวณได้สูง นอกจากนี้ PostgreSQL 11 ยังช่วย
ปรับปรุงระบบการแบ่งพาร์ติชันตารา... | HTML |
duration: 1s;
animation-duration: 1s;
-webkit-animation-fill-mode: forwards;
animation-fill-mode: forwards; }
@-webkit-keyframes fadeinbackdrop {
to {
opacity: .6; } }
@keyframes fadeinbackdrop {
to {
opacity: .6; } } }
/* 4.5 Animation */
.pulsate {
-webkit-animation: pulsate 1s ... | CSS |
font-size: 1.25rem;
$navbar-dropdown-toggle-arrow-color:grey;
$navbar-count-indicator-bg:#FF0017;
$navbar-dropdown-border-color:rgba(182, 182, 182, 0.1);
$navbar-dropdown-box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.13);
$navbar-menu-wrapper-color:#001737;
$navbar-menu-wrapper-box-shadow:0 4px 16px 0 rgba(167, 175, 183, 0.... | CSS |
//===--- ParseHLSL.h - Standalone HLSL parsing -----------------*- C++ -*-===//
///////////////////////////////////////////////////////////////////////////////
// //
// ParseHLSL.h //
... | C |
rtPos == posSearch /*|| endPos == posSearch*/) {
return 0;
}
if (found < word) {
startPos = posSearch;
}
else {
endPos = posSearch;
}
}
}
declare var bigramsSorted: [any][];
export function fi... | Typescript |
, B>
where
T: Eq + Hash + Send + 'static,
<B::Pipe as ParallelPipe<U>>::Task: Clone + Send + 'static,
B::ReduceA: Clone + Send + 'static,
B::ReduceC: Clone,
B::Done: Send + 'static,
{
type Done = IndexMap<T, B::Done>;
type Pipe = A;
type ReduceA = GroupByReducerA<<B::Pipe as ParallelPipe<U>>::Task, B::ReduceA, ... | Rust |
行预测和分析?|
|电子商务|电子商务中如何做好产品推荐,以提高用户购买转化率?|
|人力资源管理|如何搭建一套完整的人力资源管理系统,用于招聘、培训和绩效评估?|
|物联网|在物联网应用中如何保障设备的安全性和数据的隐私性?|
|数据挖掘|如何从大量的销售数据中挖掘出需要的信息,并进行统计和分析?|
| 自然语言处理 | 如何在Python中使用NLTK库进行词性标注? |
| 人工智能 | 你知道哪些现代机器学习算法可以用于分类任务? ... | Markdown |
j = (input(
'Nismo našli projekciju sa tom šifrom, pokušajte ponovo ili napišite kraj ako želite da odustanete: ').
lower().strip())
if kraj == 'kraj':
return False
while True:
seat = input('Unesite sedište projekcije koju želite da ob... | Python |
t:none;-moz-user-select:none;user-select:none}.mce-content-body td[data-mce-selected]::after,.mce-content-body th[data-mce-selected]::after{background-color:rgba(180,215,255,.7);border:1px solid transparent;bottom:-1px;content:'';left:-1px;mix-blend-mode:lighten;position:absolute;right:-1px;top:-1px}@media screen and (... | CSS |
eactivex.schedulers.Schedulers.io())
.observeOn(AndroidSchedulers.mainThread())
.subscribe(
{ leanAdmobBean: LeanAdmobBean? ->
BasePreferenceUtil.lastAdmobCheckTime = System.currentTimeMillis()
leanAdmobBean?.run {
... | Kotlin |
fail("意外的异常类型: " + e.getClass());
}
}
@Test
@DisplayName("常量定义验证")
void testConstants() {
// 验证初始CRC值
assertEquals(0L, Crc64.INITIAL_CRC, "初始CRC值应该为0");
}
}
@Nested
@DisplayName("多项式和算法验证")
class PolynomialAndAlgorithmTests ... | Java |
}
return options;
};
import { AxiosResponse } from 'axios'
const axios = require('axios')
export interface Photo {
id?: number;
data: string;
create_at?: Date
saved: boolean
saving: boolean
}
export default class PhotoManager {
public static async post (data: string) {
return await axios.post(... | Typescript |
}
}
async fn proof_of_work_consensus(&self, nodes: &[Node], transaction: &Transaction) -> Result<ConsensusResult, ConsensusError> {
let target_difficulty = self.calculate_difficulty(nodes).await?;
let mut nonce = 0u64;
loop {
let block_header = self.create_... | Markdown |
Rule = function ( id )
if id == luadox.COMMAND then
if luadox.tag and luadox.text then
table.insert ( doxygenBlock, { tag = trim ( luadox.tag ), text = removeFormatting ( trim ( luadox.text ))})
end
luadox.tag = nil
luadox.text = nil
end
end
----------------------------------------------------------... | Lua |
mm3[0],ymm4[1],ymm3[2],ymm4[3],ymm3[4],ymm4[5],ymm3[6],ymm4[7]
vmovsldup %ymm11, %ymm3 # ymm3 = ymm11[0,0,2,2,4,4,6,6]
vpblendd $0xaa, %ymm3, %ymm10, %ymm3 # ymm3 = ymm10[0],ymm3[1],ymm10[2],ymm3[3],ymm10[4],ymm3[5],ymm10[6],ymm3[7]
vpsrlq $0x20, %ymm10, %ymm10
vpblendd $0xaa, %ymm11, ... | Assembly |
FXP | 定点数,最大 8 字节长 |
| I64 | 带符号 64 位整数 | I32 | 带符号 32 位整数 |
| I16 | 带符号 16 位整数 | I8 | 带符号 8 位整数 |
| U64 | 无符号 64 位整数 | U32 | 无符号 32 位整数 |
| U16 | 无符号 16 位整数 | U8 | 无符号 8 位整数 |
| CXT | 扩展精度复数,2×16 字节长 | CDB | 双精度复数,2×8 字节长 |
| CSG | 单精度复数,2×4 字节长... | Markdown |
$bb34thread_pre_split$$bb21$$bb20$$bb19$$bb18$$bb11$$bb14$$bb15$$bb25$$bb10$$bb22$$bb26$$bb27$$bb28$$bb29$$bb33$9}else{if(FL==59){var E9=CG;var E8=((E9+4)&4294967295);var E7=uA[((E8)>>2)];var E6=(((E7))|0);var E4=(E6)/1024;pB[((tm)>>2)]=E4;FL=60;break $bb34thread_pre_split$$bb21$$bb20$$bb19$$bb18$$bb11$$bb14$$bb15$$bb... | JavaScript |
tasploit
• Ansible
```
#### ⚡ 价值评估
<details>
<summary>展开查看详细评估</summary>
该仓库与“AI+Security”关键词高度相关,其核心功能是利用AI进行安全监控和威胁检测。它整合了多种安全工具,并提供了实时的安全监控和自动化的威胁响应功能。 虽然未发现漏洞利用代码,但其实现的安全功能具有研究和实践价值。
</details>
---
### AIConversationalDataScienceTutor - AI数据科学导师,带IP封禁
#### 📌 仓库信息
| 属性 | 详情 |
|------|------|
| 仓库名称 | [AIConv... | Markdown |
(84922).AH)(o||(o=(e=>e)`.elevated{--md-elevation-level:var(--_elevated-container-elevation);--md-elevation-shadow-color:var(--_elevated-container-shadow-color)}.elevated::before{background:var(--_elevated-container-color)}.elevated:hover{--md-elevation-level:var(--_elevated-hover-container-elevation)}.elevated:focus-w... | JavaScript |
1.5-90.9 85.2-170.6 176.1-167.5 43.6-2 84.6 16.9 118 43.6-14.3 16.2-29 31.8-44.8 46.3-40.1-27.7-97.2-35.6-137.3-3.6-57.4 39.7-60 133.4-4.8 176.1 53.7 48.7 155.2 24.5 170.1-50.1-33.6-.5-67.4 0-101-1.1-.1-20.1-.2-40.1-.1-60.2 56.2-.2 112.5-.3 168.8.2 3.3 47.3-3 97.5-32 136.5zM791 536.5c-16.8.2-33.6.3-50.4.4-.2 16.8-.3 3... | JavaScript |
import requests
import json
import os
import shutil
def get_model_url():
"""
使用 API Key,Secret Key 获取access_token,替换下列示例中的应用API Key、应用Secret Key
"""
api_key = "qQ1vN7YZaKwjH8M84UgW3rWa"
secret_key = "OQVhUmkquHjWhDIBvVRTXxCu0RA1CwjA"
url = f"https://aip.baidubce.com/oauth/2.0/token?grant_type... | Python |
n))throw new me(`Unknown adapter '${t}'`);if(n)break;s[t||"#"+o]=n}if(!n){const e=Object.entries(s).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));let i=t?e.length>1?"since :\n"+e.map(Ut).join("\n"):" "+Ut(e[0]):"as no adapter specified";throw new me("Ther... | JavaScript |
M)
)
}
because("LayoutLib and sdk-common depend on Guava's -jre published variant." +
"See https://github.com/cashapp/paparazzi/issues/906.")
}
}
}
}
}
doctor {
warnWhenNotUsingParall... | Kotlin |
ng("X"), result);
}
[TestMethod]
public void GivenAHexadecimalValue_WhenHexToDecimalUsingParseInvoked_VerifyAccurateConversion()
{
var result = _conversionExamples.HexToDecimalUsingParse(hexVal);
Assert.IsNotNull(result);
Assert.IsInstanceOfType(result, typeof(int));
As... | C# |
e.c_str(), std::ios::in | std::ios::binary);
if (!ifs.is_open())
{
return false;
}
readData(ifs, m_boardSize.width);
readData(ifs, m_boardSize.height);
readData(ifs, m_squareSize);
readData(ifs, m_measurementCovariance(0,0));
readData(ifs, m_measurementCovariance(0,1));
rea... | C++ |
iew_layer, Render *freestyle_render)
{
RenderLayer *rl;
float *src, *dest, *pixSrc, *pixDest;
int x, y, rectx, recty;
if (freestyle_render == nullptr || freestyle_render->result == nullptr) {
if (view_layer->freestyle_config.flags & FREESTYLE_AS_RENDER_PASS) {
// Create a blank render pass output.
... | C++ |
pB, #B_PRE_SIZE]
OP_rr v26.4s, v2.4s, v10.s[0]
OP_ii v26.4s, v3.4s, v10.s[1]
OP_ri v27.4s, v2.4s, v10.s[1]
OP_ir v27.4s, v3.4s, v10.s[0]
OP_rr v28.4s, v0.4s, v10.s[2]
OP_ii v28.4s, v1.4s, v10.s[3]
OP_ri v29.4s, v0.4s, v10.s[3]
OP_ir v29.4s, v1.4s, v10.s[2]
OP_rr v30.4s, v2.4s, v10.s[2]
OP_ii v30.4s, v3.4s,... | Assembly |
very line as a link
if url.endswith(".pdf"):
pdf_count += 1
elif ".m3u8" in url:
video_count += 1
return total_links, pdf_count, video_count
# API_ID = 34567564
# API_HASH = "234567dfgghjkkk"
# BOT_TOKEN = "7257874076:AAH-1Q7Q7J9"
# Data_collect... | Python |
=SeaItemInfo.ShipHitted; break;
case SeaItemInfo.ShipHitted: nextValue=SeaItemInfo.Ship; break;
}
}
this.mySeaMap[i][j].value = nextValue;
}
onClickEnemy(i: number, j: number)
{
this.log("onClickEnemy("+ i.toString() + ', ' + j.toString()+ ')');
if (!this.game.isStar... | Typescript |
</p>
<h3>
<em>
下进行工作,应认真执行请示报告制度,超越分庭活动地区范围之重大案件应移县庭处理,县庭对分庭之判决有采纳、修改及否决之权,并有权将分庭某些必要的案件提调县庭直接进行审讯和判决。
</em>
</h3>
<p>
第八条 人民法庭的直接上级机关为县政府,并受当地各界代表会议及人民团体监督,如发现有渎职舞弊等情事,经过告发,查明属实得予以撤职或法办,其缺额另行委派或由农民代表会议或各界代表会议或民众团体选举,政府加委补充之。
</p>
<p>
第三章 权 限
</p>
<p>
第九条,人民法庭及分庭有权受理在剿匪反霸、减租减息,以及土地... | HTML |
))
return;
/*
* If the client-side Channel is in an initial setup phase with a
* fixed window size, e.g. for an X11 channel when we're still
* waiting to see its initial auth and may yet hand it off to a
* downstream, don't send any WINDOW_ADJUST either.
*/
if (c->chan->initial... | C |
//
// Copyright 2023 Pixar
//
// Licensed under the terms set forth in the LICENSE.txt file available at
// https://openusd.org/license.
#ifndef PXR_USD_IMAGING_USD_IMAGING_RENDER_SETTINGS_FLATTENING_SCENE_INDEX_H
#define PXR_USD_IMAGING_USD_IMAGING_RENDER_SETTINGS_FLATTENING_SCENE_INDEX_H
#include "pxr/pxr.h"
#includ... | C |
_GRADIENT_DESCENT)
.updater(Updater.NESTEROVS).momentum(0.9)
.learningRate(learningRate)
.list(
new DenseLayer.Builder().nIn(numInputs).nOut(numHiddenNodes).activation("relu").build(),
new OutputLayer.Builder(LossFunction.NEGATIVELOGLIKELIHOOD).activation("softmax").nIn(numHiddenNodes).nOut(numOutputs).buil... | HTML |
lities[1] = species.abilities[1];
}
if (this.dex.gen >= 5 && species.abilities.H) this.abilities.H = species.abilities.H;
if (this.dex.gen >= 7 && species.abilities.S) this.abilities.S = species.abilities.S;
} else {
this.abilities = {0: ''};
}
this.evos = species.evos?.filter(s => e... | Typescript |
*BROWN_COLOR,
*BROWN_COLOR,
*BROWN_COLOR,
*BROWN_COLOR,
//Object 2 colors
*RED_COLOR,
*RED_COLOR,
*RED_COLOR,
*RED_COLOR,
*BROWN_COLOR,
*BROWN_COLOR,
*BROWN_COLOR,
*BROWN_CO... | Kotlin |
nsition-property: opacity;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.mdc-drawer--open+.mdc-drawer-scrim {
display: block;
}
.mdc-drawer--animate+.mdc-drawer-scrim {
opacity: 0;
}
.mdc-drawer--opening+.mdc-drawer-scrim {
transition-duration: 250ms;
opacity: 1;
}
.mdc-drawer--cl... | CSS |
.call(tf, tf.constant(shape), TFloat64.class);
Operand<TFloat64> operand2 = instance.call(tf, tf.constant(shape), TFloat64.class);
session.evaluate(operand1, operand2);
}
}
}
/* Copyright 2020 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "Lice... | Java |
from characters import *
from decorators import *
# Запускаем игру
@christmas_tree_decorator
def main():
global display_height, display_width
player = type_of_character(type)
if player is None:
return
enemies = []
move = 20 # Скорость передвижения
spawn_time = 0 # Переменная для появлен... | Python |
px; padding-right: 10px; padding-bottom: 10px;
border-bottom: 1px solid #ddd; font-size: 14px; color: #7e7e7e;
overflow: hidden;
}
#main ul p em{
float: right; margin-right: 10px;
}
</style>
</head>
<body>
<header>
<div id="poster">
<i... | HTML |
required for the
* txn to validate for the current network protocol.
*/
constructor({
consensusVersion,
fee,
genesisHash,
genesisId,
lastRound,
minFee,
}: {
consensusVersion: string;
fee: number | bigint;
genesisHash: string | Uint8Array;
genesisId: string;
lastRou... | Typescript |
-700AP\"\r\n\r\n| p/D-Link DWL-700AP router http config/ d/router/ cpe:/h:dlink:dwl-700ap/a
match http m|^HTTP/1\.0 \d\d\d .*\r\nConnection: close\r\nServer: WindWeb/([\d.]+)\r\nDate: .*\r\nContent-Type: \r\n\r\n<html>\n<head>\n<title>DW6000 System Control Center</title>| p/WindWeb/ v/$1/ i/Hughes DW6000 satellite rout... | Go |
/* load (64 bits) */
/* printf for result-checking */
adr x0, fmt /* 1st argument for printf*/
mov x1, x12 /* 2nd argument for printf*/
bl printf
/* restore fp,lr registers and return from main*/
ldp x29, ... | Assembly |
AvailablePatchs({required this.pack, required this.packPatchs, required this.gamePatchs});
UserInstalledPatchStatus installedStatus() {
if (!pack.owned) {
return UserInstalledPatchStatus.INEXISTANT;
}
UserInstalledPatchStatus status = UserInstalledPatchStatus.NOT_INSTALLED;
for (var patch in pa... | Dart |
">
<div class="left-pro">
<div class="t1">
<img src="images/gotop.gif" id="gotop" />
<div id="showArea">
<a href="images/img01.jpg" rel="zoom1" rev="images/img01.jpg"><img src="images/img01s.jpg" /></a>
<a href="images/img02.jpg" rel="zoom1" rev="images/img02.jpg"><img src="images/img02s.jpg" /></a>
... | HTML |
ure out whether this needs to be a deep copy. See
// https://github.com/keybase/client/issues/414 .
func (cki ComputedKeyInfos) ShallowCopy() *ComputedKeyInfos {
ret := &ComputedKeyInfos{
Contextified: NewContextified(cki.G()),
dirty: cki.dirty,
Version: cki.Version,
Infos: make(map[keyb... | Go |
Mark externalGraphic = (Mark) graphic.graphicalSymbols().getFirst();
assertEquals("circle", valueOf(externalGraphic.getWellKnownName()));
assertFill(fillOpacity, "#EEEEEE", externalGraphic.getFill());
assertStroke(
stokeOpacity, lineCap, externalGraphic.getStroke(), "#FFFFFF", new float[] {5f, 2f... | Java |
292</a>)</p>
<h1 id="SEE-ALSO">SEE ALSO</h1>
<p><a href="../man3/PKCS12_create.html">PKCS12_create(3)</a></p>
<h1 id="HISTORY">HISTORY</h1>
<p>PKCS12_add_secret() and PKCS12_add_key_ex() were added in OpenSSL 3.0.</p>
<h1 id="COPYRIGHT">COPYRIGHT</h1>
<p>Copyright 2020-2021 The OpenSSL Project Authors. All Rights... | HTML |
/*! -*-c++-*-
@file videoio/VideoSinkCV.h
@author David Hirvonen
@brief Simple OpenCV cv::Mat VideoSink interface declaration.
\copyright Copyright 2017 Elucideye, Inc. All rights reserved.
\license{This project is released under the 3 Clause BSD License.}
*/
#ifndef __videoio_VideoSinkCV_h__
#define __vi... | C |
div><div><h3 class="title">
<a name="quickbook.syntax.phrase.refentry_links"></a><a name="quickbook.ref.refentry_links"></a><a class="link" href="phrase.html#quickbook.syntax.phrase.refentry_links" title="refentry links">refentry
links</a>
</h3></div></div></div>
<p>
In addition, you can link internally t... | HTML |
on the wire for view.
*/
@java.lang.Override
public int getViewValue() {
return view_;
}
/**
*
*
* <pre>
* Optional. Defines the type of view of the deployment.
* When field is not present VIEW_BASIC is considered as default.
* </pre>
*
* <code>
* .google.cloud.telcoautomatio... | Java |
="Reply to Ashley">Reply</a> </div><!-- .comment-meta -->
<div class="wprm-comment-rating">
<span class="wprm-rating-stars"><span class="wprm-rating-star"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="16px" height="16px" view... | HTML |
override fun getHighlightedElements(element: Element, getMapData: () -> MapDataWithGeometry) =
getMapData().filter("nodes with amenity = atm")
override fun createForm() = AddAtmOperatorForm()
override fun applyAnswerTo(answer: String, tags: Tags, geometry: ElementGeometry, timestampEdited: Long) {... | Kotlin |
import math
def seq(n):
P = 1/2
a = 2
for i in range(2,n+1):
a *= (i + 1)
P *= 1/a
return P
if __name__ == "__main__":
n = int(input("n = "))
print(seq(n))
print(f"\nРезультат: P_{n} = {P}") | Python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.