content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
ework.TestFixtureTearDownAttribute()]
public virtual void FeatureTearDown()
{
testRunner.OnFeatureEnd();
testRunner = null;
}
[NUnit.Framework.SetUpAttribute()]
public virtual void TestInitialize()
{
}
[NUnit.Frame... | C# |
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR><td rowspan='3'><script type="text/javascript"><!--
google_ad_client = "ca-pub-1467773697956887";
/* Aalto-ad-small */
google_ad_slot = "3886247450";
google_ad_width = 234;
go... | HTML |
WELL AS ANY PRIOR RECIPIENT. IF RECIPIENT'S USE OF
* THE SUBJECT SOFTWARE RESULTS IN ANY LIABILITIES, DEMANDS, DAMAGES,
* EXPENSES OR LOSSES ARISING FROM SUCH USE, INCLUDING ANY DAMAGES FROM
* PRODUCTS BASED ON, OR RESULTING FROM, RECIPIENT'S USE OF THE SUBJECT
* SOFTWARE, RECIPIENT SHALL INDEMNIFY AND HOLD HARMLES... | Java |
영 체제에서의 역할, 하드웨어 및 사용자 공간과의 상호 작용에 대해 알아보세요. 핵심 OS 구성 요소를 이해합니다."
meta_keywords: "Linux 커널, 운영 체제, 하드웨어 상호 작용, 사용자 공간, Linux 튜토리얼, 초보자 가이드"
---
## Lesson Content
지금까지 배운 것처럼, 커널은 운영 체제의 핵심입니다. 우리는 운영 체제의 다른 부분들에 대해 이야기했지만, 그것들이 어떻게 함께 작동하는지는 아직 보여주지 않았습니다. Linux 운영 체제는 세 가지 다른 추상화 수준으로 구성될 수 있습니다.
가장 기본적인 수준은 하드웨어입니... | Markdown |
_attr_dst);
return {{x_dist_attr_dst}, {out_dist_attr_dst}};
}
SpmdInfo RollGradInferSpmd(const DistMetaTensor& x,
const DistMetaTensor& out_grad,
const std::vector<int64_t>& shifts,
const std::vector<int64_t>& axis) {
EXTRACT_SHAPE_... | C++ |
ner of a box
*
* @param browseId used to determine whether, for example, this playlist is a YouTube Playlist to assign
* platform icon. `null` is allowed, and will default to "**Not a YouTube playlist**"
* @param thumbnailUrls a set of unique urls, number of elements dictates the final render
*... | Kotlin |
tate_dict(checkpoint['model'], strict=False)
if args.model != 'lavt_one':
model_class = BertModel
bert_model = model_class.from_pretrained(args.ck_bert)
if args.ddp_trained_weights:
bert_model.pooler = None
bert_model.to(args.local_rank)
bert_model = torch.nn.par... | Python |
shall be included in
* all copies or substantial portions of the Software.
*
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* A... | Java |
# setup.py
#
# DO NOT REMOVE setup.py. It is needed for
# including example files in the shipped package
import os
import shutil
from setuptools import setup
from setuptools.command.build_py import build_py as _build_py
class build_py(_build_py):
def run(self):
super().run()
extra_dirs = [
... | Python |
r18, %r18, %r18
.word 0x2ec48002 ! 37: BRGEZ brgez,a,nt %r18,<label_0x48002>
.word 0xa57d26a5 ! 38: MOVR_I move %r20, 0x1, %r18
.word 0xa60cc012 ! 39: AND_R and %r19, %r18, %r19
.word 0xa44c8012 ! 40: MULX_R mulx %r18, %r18, %r18
.word 0xe870a0e0 ! 41: STX_I stx %r20, [%r2 + 0x00e0]
.word 0xe8588003 ! 42:... | Assembly |
020</h4>
</div>
<div id="el-tiempo-entre-reservas-de-vuelos" class="section level2">
<h2>El tiempo entre Reservas de Vuelos</h2>
<p>Se cree que el tiempo en segundos entre dos reservas de vuelo en un portal web en un mismo día podría ser una distribución exponencial con parámetro <span class="math inline">\(\lambda ... | HTML |
writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package io.ballerina.wsdl.core;
impo... | Java |
st_large__R9q08"><a class="SocialLink_socialLink__5j2AT SocialLink_whiteOnGrey__x_iFs SocialLink_large__Q329P" title="ABC on Facebook" aria-label="ABC on Facebook" href="https://www.facebook.com/abc/" data-component="SocialLink"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" width="1em" height=... | HTML |
common.ScopeWebsite, t.Id).Scan(&tid)
if tid == t.Id {
c.JSON(400, common.RespError("template already linked in website scope"))
return
}
}
if req.ScopeType == common.ScopeWebsite {
// remove tenant and team template link
_, err = tx.Exec("DELETE FROM template_use WHERE template_id=? and scope... | Go |
return;
}
const p = processes[this.focusProcessIndex];
if (s === KEY_CTRL_C) {
console.error(`terminating ${p.color(p.title)}`);
p.process?.kill();
this.focusProcessIndex = undefined;
return;
}
... | Typescript |
会心一笑,那说明——你是个看英超的小伙伴。 | 阿森纳队曾在 11 个赛季里拿了 6 个第四,让阿森纳永远第四成为了那些英超的段子里常见的#梗。 |
10.5 | Notable | Notable-Regular.ttf | 这个字体名来源于 Note 的一种平时不太用到的中文释义——纸币,因为这个字体仿制的是美元纸币上的文#字。 | |
10.6 | IBM Plex Sans | IBMPlexSans-Regular.ttf | 为了「优秀的字体设计应该能够传达出公司的价值观」,IBM Plex 应运而生。 | 虽然我觉得就像我之前高中语文阅读理解从未得高分一样,我并没有领悟到介绍中说的 IBM 的意图…… |
10.7 |... | Typescript |
.
*/
/// Convert raw genome weights to actual weights used in the network.
pub fn raw_to_weight(raw: u32) -> f64 {
((raw as f64) - 524288.0) / 10000.0
}
/// Converts a segment of a genome from its base-4 ATCG reprecentation to
/// a number.
fn to_num(segment: &[u8]) -> u32 {
// We are essentially doing a base 4... | Rust |
import argparse
from zipfile import ZipFile
import os
def main(args):
addon_name = 'mitsuba-blender'
base_dir = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
addon_dir = os.path.join(base_dir, addon_name)
with ZipFile('mitsuba-blender.zip', 'w') as archive:
# Package miscellaneo... | Python |
лось окно поиска","Save Indicator template":"Сохранить шаблон индикаторов","Save Indicator Template":"Сохранить шаблон индикаторов","Selecting this option will set the {symbol} symbol on the chart when this template is applied":"Включите, чтобы установить на графике символ {symbol}, когда этот шаблон применён","Selecti... | HTML |
-line
.global ap_bit_lsl
ap_bit_lsl: @ applicative "bit-lsl"
ldr pc, [ip, #0x1c] @ jump to actor behavior
.int op_bit_lsl @ 0x04: operative
.int 0 @ 0x08: --
.int 0 @ 0x0c: --
.int 0 @ 0x10: --
.int 0 @ 0x14: --
.int 0 @ 0x18: --
.int b_appl @ 0x1c: address of actor behavior | Assembly |
in… et de leur autorité. Il n’est jamais sage de contrarier ceux qui ont voué leur vie au contact avec les esprits…","Ramenez-moi en offrande un Parangon de puissance de Zul’Gurub, et prouvez-nous votre valeur. Si vous y parvenez, je vous donnerai l’un de nos plus beaux hauberts, digne des plus grands augures !"}, {"Ra... | Lua |
="collapsed">
const Tuple5(
this.value1,
this.value2,
this.value3,
this.value4,
this.value5,
);
T1 get head => value1;
Tuple4<T2, T3, T4, T5> get tail => Tuple4(value2, value3, value4, value5);
Tuple4<T1, T2, T3, T4> get init => Tuple4(value1, value2, value3, value4);
T5 get last => v... | Dart |
;
});
locator.registerSingletonAsync<CustomScheduleStore>(() async {
final store = CustomScheduleStore();
await store.init();
return store;
});
}
Future<void> setupLocator(String docDir) async {
await setupLocatorForStores();
setupLocatorForProviders();
locator.registerLazySingleton(
() ... | Dart |
;
/**
* # пересылка сообщений
* Пользователь может переслать только те сообщения,
* к которым он имеет доступ
* Максимально пользователь может переслать `settings.maxForwardMessages` сообщений
* в `settings.maxForwardChats` чатов
*/
forwardMessages: ChatForwardMessageConnection;
/**
* # Обнов... | Typescript |
AAU" => 'N',
b"CCA" => 'P',
b"CCC" => 'P',
b"CCG" => 'P',
b"CCT" => 'P',
b"CCU" => 'P',
b"CAA" => 'Q',
b"CAG" => 'Q',
b"AGA" => 'R',
b"AGG" => 'R',
b"CGA" => 'R',
b"CGC" => 'R',
b"CGG" => 'R',
b"CGT" => 'R',
... | Rust |
import unittest
from main.org.core.chromosome.template import Template
from main.org.core.post_process.post_process_chromosomes import *
class Test(unittest.TestCase):
def test_remove_clones(self):
# 1) construct the pop of chromosomes
t1 = Template(['generate', 'code', '*'])
t2 = Templa... | Python |
lotTargetChildren > :global(.__wab_slot) > :global(.__wab_slot) > *,
.slotTargetChildren
> :global(.__wab_slot)
> :global(.__wab_slot)
> :global(.__wab_slot)
> *,
.slotTargetChildren > picture > img,
.slotTargetChildren > :global(.__wab_slot) > picture > img,
.slotTargetChildren
> :global(.__wab_slot)
> :gl... | CSS |
ًا للغاية للبيانات ويسمح لكل مستأجر أن يكون لكل مستأجر مخطط بيانات خاص به.</p></li>
<li><p><strong>أخرى</strong>: تدعم هذه الاستراتيجية أيضًا نظام RBAC، مما يتيح التحكم الدقيق في وصول المستخدم لكل مستأجر. بالإضافة إلى ذلك، يمكنك تحميل البيانات أو إصدارها بمرونة لمستأجرين محددين لإدارة البيانات الساخنة والباردة بفعالية.... | Markdown |
re<bool> onExitOfQuiz() async{
return Dialogs.quizEndDialog( );
}
void _startTimer(int seconds) {
const duration = Duration(seconds: 1);
remainSeconds = seconds;
_timer = Timer.periodic(
duration,
(Timer timer) {
if (remainSeconds == 0) {
timer.cancel();
} e... | Dart |
IPS_NAT_MASK = (IPS_DST_NAT | IPS_SRC_NAT)
IPS_SEQ_ADJUST = (1 << IPS_SEQ_ADJUST_BIT)
IPS_SRC_NAT_DONE = (1 << IPS_SRC_NAT_DONE_BIT)
IPS_DST_NAT_DONE = (1 << IPS_DST_NAT_DONE_BIT)
IPS_NAT_DONE_MASK = (IPS_DST_NAT_DONE | IPS_SRC_NAT_DONE)
IPS_DYING = (1 << IPS_DYING_BIT)
IPS_FIXED_TIMEOUT = (1 <<... | Go |
�方已发布修复版本,请尽快更新至2.10.10及以上版本 :
https://github.com/dataease/dataease/security/advisories/GHSA-6pq2-6q8x-mp2r
https://github.com/dataease/dataease/security/advisories/GHSA-999m-jv2p-5h34
https://github.com/dataease/dataease/security/advisories/GHSA-xx2m-gmwg-mf3r
## 临时缓解措施:
1. 通过防护类设备进行防护,拦截请求中出现的恶意... | Markdown |
cfg(feature = "dim2")]
let normalizer = na::convert::<_, N>(4.0) / (N::pi() * h.powi(8));
#[cfg(feature = "dim3")]
let normalizer = na::convert::<_, N>(315.0 / 64.0) / (N::pi() * h.powi(9));
if r <= h {
normalizer * (h * h - r * r).powi(3)
} else {
N::zer... | Rust |
().getItemQuality()) {
case UNIQUE:
case EPIC:
case MYTHIC:
if (supplementUseCount > 149) {
success = 100;
} else if (supplementUseCount < 150 && supplementUseCount != 0) {
success = 50;
}
break;
default:
break;
}
success += addSuccessRate;
player.subtractSupplements(s... | Java |
ub span: Span
}
impl JParameter {
pub fn new(span: Span, ty: JType, name: Ident) -> Self {
JParameter {
name: name,
ty: ty,
span: span
}
}
}
impl Display for JParameter
{
fn fmt(&self, formatter: &mut Formatter) -> Result<(), Error> {
formatter.write_fmt(format_args!("{} ", self.ty... | Rust |
m` manual*. The Open Group, 2016.
//! [The Open Group Base Specifications Issue 7](http://pubs.opengroup.org/onlinepubs/9699919799/utilities/cksum.html).
//!
//! [1]: https://en.wikipedia.org/wiki/Cksum
#[cfg(feature = "generic")]
extern crate digest;
#[cfg(feature = "generic")]
extern crate generic_array;
use core... | Rust |
#ifndef POLYALIGNER
#define POLYALIGNER
#include "mzFit.h"
#include "statistics.h"
using namespace std;
struct AlignmentStats {
int poly_align_degree=0;
int N = 0;
double R_before = 0;
double R_after = 0;
int transformedFailed = 0;
vector<double>poly_transform_result;
int sample1 = 0;
int sample2... | C |
connect(d->subjectDistanceTypeCB, SIGNAL(activated(int)),
this, SIGNAL(signalModified()));
connect(d->makeEdit, SIGNAL(textChanged(QString)),
this, SIGNAL(signalModified()));
connect(d->modelEdit, SIGNAL(textChanged(QString)),
this, SIGNAL(signalModified()));
con... | C++ |
parame_set_payload.param_id);
db_route_mavlink_response(buff, len, origin, tcp_clients, udp_conns);
db_write_settings_to_nvs();
} else {
ESP_LOGE(TAG, "Failed to get parameter %s - could not respond with new param", parame_se... | C |
1
];
} else {
// start 2,1
deltas = [
[0, -1], // 2,0
[1, -1], // 3,0
[1, 0], // 3,1
[0, 1], // 2,2
[-1, 0], // 1,1
[-1, -1], // 1,0
];
}
return deltas.map(([dx, dy]) => this.getOrNone(x + dx, y + dy));
}
}
import * as fs from 'fs';
... | Typescript |
2-.6-.1-.8l.3-.6c.1-.3.3-.5.6-.5l1.4-.2v-1.3l-1.3-.4c-.3 0-.5-.3-.6-.5l-.3-.6c-.1-.3-.1-.6.1-.8L13 14l-.9-.9-1.1.7c-.2.2-.6.2-.8.1l-.6-.3c-.3 0-.5-.3-.6-.6l-.2-1.3H7.5L7.3 13c0 .3-.3.5-.5.6l-.6.3c-.3.1-.7.1-.9-.1L4.2 13l-.9 1 .8 1.1c.2.2.2.6.1.8l-.3.6c-.1.3-.3.5-.6.5l-1.4.2v1.3l1.4.2c.3 0 .5.3.6.5.1.3.1.5.2.7.1.3.1.6-.... | HTML |
始点頂点の追加判定 " + idx + "点目" + "の合計距離:" + tmp_dist);
}
if (tmp_dist == checkDist)
{
// 指定位置に頂点あり
if (IniFileData.Instance.logOut)
... | C# |
<ins class=\"adsbygoogle\" style=\"display:block;\" data-ad-client=\"ca-pub-8550045040284482\" \ndata-ad-slot=\"4845880147\" \ndata-ad-format=\"auto\"><\/ins>\n<script> \n(adsbygoogle = window.adsbygoogle || []).push({}); \n<\/script>\n<\/div>","once_per_page":0,"debugmode":false,"blog_id":1,"type":"adsense","position"... | HTML |
教育费占本年支出的百分之六〇·六七,这就充分反映了我国人民和平建设的愿望。但是帝国主义者还在包围着我们,侵占着我国的领土台湾,并用新的世界战争威胁着我们。为着保卫我们祖国的独立,保卫我国神圣主权和领土的完整,保卫国家的建设,并解放我国的领土台湾,必须继续增强国防力量。巩固国防,本年预算规定国防费支出七十一亿九千三百一十五万元,占本年支出的百分之二四·一九,这是完全必要的。
</p>
<p>
一九五五年预算规定国家行政管理费支出二十二亿四千一百五十六万元,占本年支出的百分之七·五四,比一九五四年的比重下降百分之一·二四。从一九五五年七月一日起,取消尚未实行工资制待遇的一部分国家工作人员的供给制待遇,一律改为货币工资制。对... | HTML |
block::PredicatedTileIterator< Shape_, Element_, layout::PitchLinear, AdvanceRank, ThreadMap_, AccessSize >::Params::Params()'],['../classcutlass_1_1transform_1_1threadblock_1_1PredicatedTileIterator_3_01Shape___00_01Element___00a6b756b1bcfbb35fe4a3e68ff074e380.html#a234151421c93148ed80209c99415bf7f',1,'cutlass::... | JavaScript |
rt \alpha_k\vert^2\qquad \text{岭回归}\tag{16.3}\\
J(\alpha) &=\sum\limits_{k=1}^K\vert\alpha_K\vert\qquad\text{lasso}\tag{16.4}\label{16.4}
\end{align}
$$
这些都在 [3.4 节](../03-Linear-Methods-for-Regression/3.4-Shrinkage-Methods/index.html)介绍了.正如这里讨论的那样,从中等大的 $\lambda$ 到较大的 $\lambda$ 的 lasso 问题的解是趋向于稀疏的;许多 $\hat\alpha_k(\l... | Markdown |
import requests
from time import sleep
from utils.image_utils import capture_and_convert_to_base64 # 导入通用方法
import config # 导入配置文件
# 将 Base64 编码的图片数据传递给 OpenAI API
def send_to_openai(image_base64, text):
url = config.OPENAI_BASE_URL # OpenAI API 接口地址
headers = {
"Content-Type": "application/json",
... | Python |
attack" : null, "defense" : null, "height" : null, "type" : null, "active" : null, "moves" : null }
>
## Pesquisar **todos** os pokemons que tenham o ataque `investida` **E** tenham a defesa **não menor ou igual** a 49.##
> var query = { $and: [ { moves : { $in: [/investida/i] } }, { defense: { $not: { $lte: 49 } } }... | Markdown |
58-.63-1.904v-3.304h-1.33v-1.092h1.33v-2.058h1.414v2.058h2.114v1.092h-2.114v3.192q0 .742.308 1.12.322.378 1.036.378.225 0 .434-.042.21-.056.42-.126l.224 1.064q-.21.126-.588.196a3 3 0 0 1-.7.084m4.896 0q-.84 0-1.568-.21a3.6 3.6 0 0 1-1.218-.616l.406-.952q.518.364 1.134.56.63.196 1.26.196.742 0 1.12-.266a.83.83 0 0 0 .37... | JavaScript |
r
/// any supported language (including Roslyn languages i.e. C# and VB.NET)
bool TryGetRuleId(ITableEntryHandle handle, out SonarCompositeRuleId ruleId);
/// <summary>
/// Extracts, if present, <see cref="IFilterableIssue"/> from the hidden column <see cref="SonarLintTableControlConst... | C# |
ound, skipping ...\n",
name);
}
/* allocate buffers */
in = fd == -1 ? NULL : malloc(CHUNK);
out = malloc(CHUNK);
if (out == NULL) bye("out of memory", "");
/* compress input file and append to gzip file */
do {
/* get more input */
len = fd == -1 ? 0 : ... | C |
大的开源大模型。但因为开源协议问题,一直不可免费商用。</p>
<p>今日,Meta 终于发布了大家期待已久的免费可商用版本 Llama 2。</p>
<p><img src="https://api.allorigins.win/raw?url=https://mmbiz.qpic.cn/sz_mmbiz_png/KmXPKA19gW8qNib90CicdCUscaqxAgH4QhuwspQ4cIhEhK2MMleq8xsGnnbVOJWTm6FtiaRATeq97T9YSRbZxGkcA/640?wx_fmt=png" alt=""></p>
<p>此次 Meta 发布的 <strong>Llama 2 模型系列包含 70 亿、... | HTML |
//
// Copyright 2016 Google Inc.
//
// Licensed 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... | C |
(acc, name) => ({
...acc,
[name]: {
name,
text: dialect.friendlyNormalizedIdentifier(name),
type: "schema",
},
}),
{}
);
return {
tableWords,
schemaWordList,
defaultTableWordList,
defaultSchema,
dialect,
};
}
const SCHEMA_TABLE = /(?:(?<schem... | Typescript |
x29, sp, 0
stp x19, x20, [sp, 16]
stp x21, x22, [sp, 32]
stp x23, x24, [sp, 48]
stp x25, x26, [sp, 64]
stp x27, x28, [sp, 80]
mov x19, x0
mov x0, x30
mov x21, x1
bl _mcount
add x24, x21, 100
ldr x1, .LC73
mov w0, 2
bl dprint_vfmw
ldr w19, [x19, 72]
and w19, w19, -16
add w22, w19, 256
mov w0, w22
bl ME... | Assembly |
"""
A small Python program that uses the GitHub search API to list
the top projects by language, based on stars.
GitHub Search API documentation: https://developer.github.com/v3/search/
Additional parameters for searching repos can be found here:
https://help.github.com/en/articles/searching-for-repositories#search-b... | Python |
+ " xmlns:ns4=\"http://www.w3.org/2001/SMIL20/\" xmlns:ns5=\"http://www.w3.org/2001/SMIL20/Language\" ns1:id=\"4535c53fc8bc4404a1d32a5ce7a29585\">\r\n"
+ " <ns3:type>ddf.metacard</ns3:type>\r\n"
+ " <ns3:source>ddf.distribution</ns3:source>\r\n"... | Java |
[i];
if(p == max_obj+1) {
if(e.name.match(checkname) && !e.checked) {
e.disabled = true;
}
}
}
} else {
p--;
for (var i = 0; i < $(formid).elements.length; i++) {
var e = $(formid).elements[i];
if(e.name.match(checkname) && e.disabled) {
e.disabled... | HTML |
te;
}
.marquee--vertical {
--mask-direction: to bottom;
}
.marquee--vertical,
.marquee--vertical .marquee__group {
flex-direction: column;
}
.marquee--vertical .marquee__group {
animation-name: scroll-y;
-webkit-animation-name: scroll-y;
}
.marquee--reverse .marquee__group {
animation-direction: reverse;
... | CSS |
ale) in [(FLocalizationsZhHk(), 'zh_HK'), (FLocalizationsZhTw(), 'zh_TW')]) {
for (final (index, (value, expected)) in [
// 1st part
(
const TextEditingValue(text: '下午12:30', selection: TextSelection.collapsed(offset: 0)),
const TextEditingValue(text: '下午12:30', selection: Text... | Dart |
layer-anim-05","layer-anim-06"];c.SHADE="layui-layer-shade";c.MOVE="layui-layer-move";b.pt.config={type:0,shade:0.3,fixed:true,move:c[1],title:"信息",offset:"auto",area:"auto",closeBtn:1,time:0,zIndex:19891014,maxWidth:360,anim:0,isOutAnim:true,minStack:true,icon:-1,moveType:1,resize:true,scrollbar:true,tip... | JavaScript |
void fence()
{
asm("sync");
}
void lwfence()
{
asm("lwsync");
}
void isync()
{
asm("isync");
}
int __unbuffered_cnt = 0;
int __unbuffered_p0_r1 = 0;
int __unbuffered_p0_r3 = 0;
int __unbuffered_p1_r1 = 0;
int __unbuffered_p1_r3 = 0;
int __unbuffered_p2_r1 = 0;
int __unbuffered_p2_r3 = 0;
int x = 0;
int y = 0;
v... | C |
n mean(...x: number[]): number {
return meanpw(x.length, x, 1);
}
function variance(...x: number[]): number {
return variancepn(x.length, 1, x, 1);
}
const fs = require('fs');
const path = require('path');
const { getMetadata, IMetadataAttribute } = require('./src/Metadata/Metadata');
const componentDirectories = ... | Typescript |
foreignbuild.kotlin-native:llvm-11.1.0-linux-x64-essentials@tar.gz
remoteDistribution(
url = "https://download.jetbrains.com/kotlin/native/resources/llvm/",
subgroup = "kotlin-native",
artifact = "[artifact]/llvm-[artifact]-essentials-[revision].[ext]",
)
//... | Kotlin |
const _MonitorMenu({Key? key, required this.id, required this.ffi})
: super(key: key);
@override
Widget build(BuildContext context) {
return _IconSubmenuButton(
tooltip: 'Select Monitor',
icon: icon(),
ffi: ffi,
color: _ToolbarTheme.blueColor,
hoverColor: _Toolba... | Dart |
default TeamHeap
import Hunt from "./hunt";
export default class Hunting {
private hunts: Hunt[];
private huntIdCounter = 0;
public huntActive: Hunt;
constructor() {
this.hunts = [];
this.addHunt();
}
public addHunt() {
const hunt = new Hunt(this.huntIdCounter);
this.hunts.push(hunt);
... | Typescript |
.FontUtils.face=d;THREE.FontUtils.weight=f;THREE.FontUtils.style=e;c=THREE.FontUtils.drawText(a).paths;d=[];f=0;for(e=c.length;f<e;f++)Array.prototype.push.apply(d,c[f].toShapes());return d};
(function(a){var b=function(a){for(var b=a.length,f=0,e=b-1,g=0;g<b;e=g++)f=f+(a[e].x*a[g].y-a[g].x*a[e].y);return f*0.5};a.Tria... | JavaScript |
okPath Webhook url path (see Telegraf.setWebhook)
* @param tlsOptions TLS server options. Pass null to use http
* @param port Port number
* @param host Hostname
* @param cb A callback function suitable for the http[s].createServer() method to handle a request.
*/
startWebhook(
hookPath: string,
... | Typescript |
Ex_Private_Constants I2C Extended Private Constants
* @{
*/
/**
* @}
*/
/* Private macros ------------------------------------------------------------*/
/** @defgroup I2CEx_Private_Macro I2C Extended Private Macros
* @{
*/
#define IS_I2C_ANALOG_FILTER(FILTER) (((FILTER) == I2C_ANALOGFILTER_ENABLE) || \... | C |
'initial_values']):
args = (kwds.pop('M'),
kwds.pop('m'),
kwds.pop('coeffs'),
kwds.pop('initial_values'))
M, m, coeffs, initial_values = self.parse_direct_arguments(*args)
else:
raise ValueError("Number of positiona... | Python |
1328)
📍 深圳 | ⌛ 三年以上工作经验
<details>
<summary>职位描述</summary>
1. 负责游戏服务器端设计及开发,参与分布式后台系统开发、解决外网的各种bug;
2. 能与客户端策划同事高效沟通合作设计;
3. 熟练和冷静的应对运营中的各种突发事件,严格按照运营流程处理各种事务。
</details>
---
#### [预研二次元ARPG-资深UE客户端开发工程师-Gameplay](http://careers.tencent.com/jobdesc.html?postId=1878649066108264448)
📍 上海 | ⌛ 三年以上工作经验
<details>
... | Markdown |
TIN SMALL LETTER B" },
{ s:[0x0061,0x111C0,0x05B0,0x094D,0x3099,0x0062], NFC:[0x0061,0x3099,0x111C0,0x094D,0x05B0,0x0062], NFD:[0x0061,0x3099,0x111C0,0x094D,0x05B0,0x0062], NFKC:[0x0061,0x3099,0x111C0,0x094D,0x05B0,0x0062], NFKD:[0x0061,0x3099,0x111C0,0x094D,0x05B0,0x0062], comment:"(a𑇀◌ְ◌्◌゙b; a◌゙𑇀◌्◌ְb; a◌゙𑇀◌्◌ְb;... | JavaScript |
f ? 180.0f - score : score;
return 1.0f - clampedScore / 90.0f;
}
return 1.0f - score / 180.0f;
}
f32 FukuwaraiFaceParts::calcScoreDistRate() const {
sead::Vector3f out;
al::verticalizeVec(&out, sead::Vector3f::ey, al::getTrans(this) - mTargetPos);
f32 score = out.length() / 500.0f;
... | C++ |
Field struct {
v *types.RuntimeField
}
func NewRuntimeField(type_ runtimefieldtype.RuntimeFieldType) *_runtimeField {
tmp := &_runtimeField{v: types.NewRuntimeField()}
tmp.Type(type_)
return tmp
}
func (s *_runtimeField) FetchFields(fetchfields ...types.RuntimeFieldFetchFieldsVariant) *_runtimeField {
for _... | Go |
db.get_monitor_map().unwrap(),
HashMap::from_iter(vec![(monitor_id.clone(), monitor_data.clone())])
);
}
// Inserting a monitor that overlaps subaddresses of another monitor should result in an error.
#[test_with_logger]
fn test_overlapping_add_monitor_fails(logger: Logger) {
... | Rust |
from django.db import models
from django.contrib.auth.models import User
from tasks.models import Task
class Comment(models.Model):
"""
Comment model, related to User and Task
"""
owner = models.ForeignKey(User, on_delete=models.CASCADE)
task = models.ForeignKey(Task, on_delete=models.CASCADE)
... | Python |
q5", "b9bky", "bg2zs", "bu1wg", "b7v4b", "beffw", "b3usz", "bes39", "bktfr", "be2q7", "bevtx", "beezu", "b79y6", "b7dyk", "be86n", "bskf2", "bkp8v", "b7yw5", "b6nde", "bfrrp", "b744h", "bex6w", "bdsej", "bkkvq", "bgcgs", "bsdu5", "b6pyq", "bgdrg", "c1fzx", "bepcj", "bu5k3", "bfgd1", "b7dpu", "b3gd0", "bfqy1", "begts", ... | C# |
transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));
}
.mdc-tab .mdc-tab__ripple::before,
.mdc-tab .mdc-tab__ripple::after {
top: calc(50% - 100%);
/* @noflip */
left: calc(50% - 100%);
width: 200%;
height: 200%;
}
.mdc-tab.mdc-ripple-upgraded .mdc-tab__ripple::aft... | CSS |
/****************************************************************************
* libc/net/lib_sendmsg.c
*
* Copyright (C) 2007, 2008, 2012, 2018 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, ar... | C |
÷ 0023 ÷ # × [0.3] HANGUL JONGSEONG KIYEOK (JT) ÷ [999.0] NUMBER SIGN (AL) ÷ [0.3]
× 11A8 × 0020 ÷ 0023 ÷ # × [0.3] HANGUL JONGSEONG KIYEOK (JT) × [7.01] SPACE (SP) ÷ [18.0] NUMBER SIGN (AL) ÷ [0.3]
× 11A8 × 0308 ÷ 0023 ÷ # × [0.3] HANGUL JONGSEONG KIYEOK (JT) × [9.0] COMBINING DIAERESIS (CM1_CM) ÷ [999.0] NUMBER S... | Dart |
if canoto.IsZero(c.A1) {
return canoto.ErrZeroValue
}
case 3:
if wireType != canoto.Varint {
return canoto.ErrUnexpectedWireType
}
if c.canotoData.BOneOf.Swap(3) != 0 {
return canoto.ErrDuplicateOneOf
}
if err := canoto.ReadInt(&r, &c.B1); err != nil {
return err
}
if canoto.I... | Go |
.globl classify
.text
classify:
# =====================================
# COMMAND LINE ARGUMENTS
# =====================================
# Args:
# a0 (int) argc
# a1 (char**) argv
# a2 (int) print_classification, if this is zero,
# you should print the classif... | Assembly |
en Levithan implementation. We probably aren't going to use them.
var self = this;
var formatPeriod = function(fmt, value) {
var formats = self.period_labels[fmt];
if (formats) {
var fmt = (value < 12) ? formats[0] : formats[1];
}
return "<span class='tl-timeaxis-timesuffix'>" + fmt + "</span>";
}
var u... | JavaScript |
/*
zip_entry.c -- struct zip_entry helper functions
Copyright (C) 1999-2014 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modification, a... | C |
�换旧角色,修改内容6
if (attribute.containsKey('name')) {
_character.name = attribute['name'];
}
if (attribute.containsKey('race')) {
_character.race = attribute['race'];
}
if (attribute.containsKey('characterClass')) {
_character.characterClass = attribute['characterClass'];
}
if (... | Dart |
it overrides horizontal and vertical field of view.
</p>
</dd>
<dt><samp>ih_fov</samp></dt>
<dt><samp>iv_fov</samp></dt>
<dt><samp>id_fov</samp></dt>
<dd><p>Set input horizontal/vertical/diagonal field of view. Values in degrees.
</p>
<p>If diagonal field of view is set it overrides horizontal and vertical field of vi... | HTML |
cropr0\\piccropt0' +
'\\piccropb0\\picw300\\pich300\\picwgoal3823\\pichgoal3823\\pngblip d76df8e7aefc }}{\\nonshppict{\\pict{\\*\\picprop{',
'{\\pict\\picscalex100\\picscaley100\\piccropl0\\piccropr0\\piccropt0\\piccropb0\\picw300\\pich300\\picwgoal3823\\pichgoal3823\\emfblip d76df8e7aefc}'
];
var tests = {
... | JavaScript |
;
Future<String> dioRequestRedirectUrl(String url, {Map<String, String>? headers});
}
class ParseState{
int code;
String message;
ParseState(this.code, this.message);
}
part of couclient;
class ChatMessage {
String player, message;
ChatMessage(this.player, this.message);
void notify() {
if (message.... | Dart |
IMPLIB_EXPORT_SHIMS
.hidden cuGraphExecChildGraphNodeSetParams
#endif
cuGraphExecChildGraphNodeSetParams:
.cfi_startproc
.cfi_def_cfa_offset 8 // Return address
// Intel opt. manual says to
// "make the fall-through code following a conditional branch be the likely target for a branch with a forward target"
... | Assembly |
/*
* Copyright 2015 Red Hat Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, d... | C |
* @param dispatch
* @param path
* @returns {*}
*/
showSubdirectories({
state,
commit,
getters,
dispatch,
}, path) {
const promise = Promise.resolve();
// 查找父目录下标
const parentDirectoryIndex = getters.findDirectoryIndex(path);
if (parentDirectoryIndex !== -1) {
// 子目录是否... | JavaScript |
l, weights_path, number_images=100):
generator = conditioal_net_utils.generator_SN(self.config.LATENT_DIM, self.config.IMAGE_SHAPE,self.config.num_classes,
self.config.NUMBER_RESIDUAL_BLOCKS, base_name="generator")
generator.load_weights(weights_path)
... | Python |
//对类中的成员的值进行修改
if(final.size == 2){
Function.addCommand(final[0])
}
if(isDataOnly){
Function.addCommand(final.last().build(
Command("execute store result").build(nbtPath.toCommandPart()).build("byte ... | Kotlin |
">OK</button> <button id="confirm-clear-loop-no" class="px-6 py-2">Cancel</button> </div> </div> </div>
<p id="audio-status" class="mt-4 text-sm text-gray-400">Click/hold note box or set up sequence.</p>
<script>
//
// MAE 14 Jul 2025
// Platform Globals
//
var gIsIOS ... | HTML |
<════════╗ ║ ║ ║ ║ ║ ║ ║ det
innerlijke ADJ <══════╗ ║ ║ ║ ║ ║ ║ ║ ║ amod
goedheid NOUN ═════╗═╝═╝═╝<╗ ║ ║ ║ ║ ║ ║ obl
van ADP <══╗ ║ ║ ║ ║ ║ ║ ║ ║ case
den DET <╗ ║ ║ ║ ║ ║ ║ ║ ║ ║ det
mens NOUN ═╝═╝<╝ ║ ║ ║ ║ ║ ║ ║ nmod
geloof VERB ═════════════╝═╝═... | Markdown |
, "store.remove() returns the right value");
}, cbError);
}
function testStoreClear() {
gStore.clear().catch(cbError);
}
function eventListener(evt) {
ok(evt instanceof DataStoreChangeEvent, "DataStoreChangeEvent has been received");
ok(evt, "OnChangeListener is called with data");
is(/[0-... | HTML |
// Save the world, hopefully
if (Looper.myLooper() != null) {
while (true) {
try {
Looper.loop()
return
} catch (t: Throwable) {
handleException(t)
}
}
}
}
compan... | Kotlin |
Mu:"Κεφαλαίο ελληνικό γράμμα Μ",
Nu:"Κεφαλαίο ελληνικό γράμμα Ν",
Xi:"Κεφαλαίο ελληνικό γράμμα Ξ",
Omicron:"Κεφαλαίο ελληνικό γράμμα Ο",
Pi:"Κεφαλαίο ελληνικό γράμμα Π",
Rho:"Κεφαλαίο ελληνικό γράμμα Ρ",
Sigma:"Κεφαλαίο ελληνικό γράμμα Σ",
Tau:"Κεφαλαίο ελληνικό γράμμα Τ",
Upsilon:"Κεφαλαίο ελληνικό γράμμα Υ"... | JavaScript |
/*
* Copyright(c) 2006 to 2020 ZettaScale Technology and others
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0, or the Eclipse Distribution License
* v. 1.0 which is available at... | C |
var $9415=$1329;
var $9416=$9415; //@line 2432 "G:/emscripten/system/include/libcxx/memory"
$1328=$9416;
var $9417=$1328;
var $9418=(($9417)|0); //@line 2253 "G:/emscripten/system/include/libcxx/memory"
var $9419=(($9418)|0); //@line 1610 "G:/emscripten/system/include/libcxx/string"
var $9420=$9419... | HTML |
covery = 1u8;
if lchk.is_null() {
/* Mark end of the window */
(*asoc).fast_recovery_tsn = (*asoc).sending_seq.wrapping_sub(1u32)
} else {
(*asoc).fast_recovery_tsn = (*lchk).rec.data.tsn.wrapping_sub(1u32)
}
... | Rust |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.