content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
= OBBCenter + offset + heightOffset,
scale = scale,
canvasWidth = canvasWidth,
start = traceTbl.start,
}
end
--Disable standard door info
hook.Add("HUDDrawDoorData", "luctus_doors_nodefault", function(ent)
return true
end)
print("[luctus_doorhud] cl loaded") | Lua |
(match[1] || !context) ) {
// HANDLE: $(html) -> $(array)
if ( match[1] ) {
context = context instanceof jQuery ? context[0] : context;
// Option to run scripts is true for back-compat
// Intentionally let the error be thrown if parseHTML is not present
jQuery.merge( this, jQuery.parseHTM... | JavaScript |
offset: 13},
width: {value: 1}
},
update: {fill: {value: "black"}}
}
}];
if (counter.binned) {
scales.push({name: "y_labels", range: "height", nice: true, zero: false, domain: {data:"table", field:"data.item"}, padding: 0.1})
... | JavaScript |
,-0.103 -0.37084,-1.159 -0.47246,-0.713 -0.23177,-0.227"},"22043":{"name":"Grant, LA","path":"m 582.32629,456.83414 6.78917,-0.248 0.0731,-0.932 -0.025,-1.086 4.99917,-0.17 0.22464,2.912 0.64184,1.774 0.92531,1.287 0.89321,0.981 0.84865,0.246 -2.08061,0.533 -6.37198,1.808 -0.52238,0.07 -0.59548,-0.209 -0.13371,-0.1 -0.... | JavaScript |
6
felem_mul(group, &tmp, &group->b, &Z6);
ec_felem_add(group, &rh, &rh, &tmp);
} else {
// rh := (rh + a)*X
ec_felem_add(group, &rh, &rh, &group->a);
felem_mul(group, &rh, &rh, &point->X);
// rh := rh + b
ec_felem_add(group, &rh, &rh, &group->b);
}
// 'lh' := Y^2
felem_sqr(group, &t... | C |
.3);
}
.title__1472a {
color: white;
}
.container__13cf1 {
text-transform: capitalize;
letter-spacing: 0px;
font-size: 15px;
}
.peopleListItem_cc6179 {
border-top: none;
}
#app-mount .peopleListItem_cc6179.active_cc6179,
#app-mount .peopleListItem_cc6179:hover {
background: rgba(0, 0, 0, .3... | CSS |
[0.0, 0.0, 5.0]), mass=0.5, radius=0.25
)
else:
# -- Ball geometry
cube_prim_path = omni.kit.commands.execute("CreateMeshPrimCommand", prim_type="Sphere")[1]
prim_utils.move_prim(cube_prim_path, "/World/envs/env_0/ball")
# -- Ball physics
RigidPrim(prim_path="/World/e... | Python |
.New("OldNumBuilds is only allowed on UpdateOne operations")
}
if m.id == nil || m.oldValue == nil {
return v, errors.New("OldNumBuilds requires an ID field in the mutation")
}
oldValue, err := m.oldValue(ctx)
if err != nil {
return v, fmt.Errorf("querying old value for OldNumBuilds: %w", err)
}
return oldVa... | Go |
{LocaleEnUS, time.Date(0, 5, 13, 0, 0, 0, 0, time.UTC), "2 January", "13 May"},
{LocaleEnGB, time.Date(2013, 9, 3, 0, 0, 0, 0, time.UTC), "Mon Jan 2 2006", "Tue Sep 3 2013"},
{LocaleEnGB, time.Date(2013, 9, 4, 0, 0, 0, 0, time.UTC), "Monday Jan 2 2006", "Wednesday Sep 4 2013"},
{LocaleEnGB, time.Date(2013, 10, 3, 0... | Go |
.6-28.2 10.8-47.3 10.8-28.2 0-58.1-10.9-67.3-50.2h90.3l128.3 56.8c-1.5 2.1-56.2 104.3-178.8 104.3zm-16.7-190.6l-.5-.4.9.4h-.4zm77.2-19.5h3.7v-29.5h-70.3l-28.6-12.6c2.5-5.5 5.4-10.5 8.8-14.3 12.9-15.8 31.1-22.4 51.1-22.4 18.3 0 35.3 5.4 46.1 10l11.6-47.3c-15-6.6-37-12.4-62.3-12.4-39 0-72.2 15.8-95.9 42.3-5.3 6.1-9.8 12.... | JavaScript |
22,$23,$24,4
# Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
.align 2
.space 8 | Assembly |
前的数据库包含什么表(例如,当你不能确定一个表的名字),使用这个命令:
```
mysql> SHOW TABLES;
```
如果你想要知道一个表的结构,可以使用`DESCRIBE`命令;它显示表中每个列的信息:
```
mysql> DESCRIBE pet;
```
`Field`显示列名字,`Type`是列的数据类型,`Null`表示列是否能包含`NULL`值,`key`显示列是否被索引而`Default`指定列的默认值。
如果表有索引,`SHOW INDEX FROM tbl_name`生成有关索引的信息。
## 四、作业
请将以上的操作在实验楼的环境下执行,并把结果截图,把你们在这个过程中遇到的问题以及解决... | Markdown |
:为防止意外事故发生,请填写紧急联系人信息。",
style: TextStyle(
fontSize: 24.f,
color: Colours.app_normal_grey,
),
)
],
),
),
),
Positioned(
bottom: 32.h,
... | Dart |
o + 0x1F4)($at)
/* B8ECAC 80085EE4 B81D0208 */ j .Llevel_11_800876E0
/* B8ECB0 80085EE8 00000000 */ nop
.Llevel_11_80085EEC:
/* B8ECB4 80085EEC B9F1000C */ jal func_8003C6E4
/* B8ECB8 80085EF0 21206002 */ addu $a0, $s3, $zero
/* B8ECBC 80085EF4 B81D0208 */ j .Llevel_11_800876E0
/* B... | Assembly |
18, 34, 255, 156, 159, 145, 114, 173, 30, 242, 49, 2, 16, 71, 234, 129, 114, 17, 66, 178, 44, 132, 200, 67, 68, 131, 209, 40, 146, 161, 87, 174, 166, 127, 118, 152, 212, 125, 240, 214, 173, 183, 227, 53, 102, 85, 210, 198, 122, 233, 68, 102, 139, 81, 235, 13, 159, 69, 96, 156, 115, 253, 95, 18, 201, 150, 139, 250, 72, ... | C# |
1826] = "Steinschlägel",
[1827] = "Fleischerbeil",
[1828] = "Steinkriegsaxt",
[1829] = "Kurzer Entersäbel",
[1830] = "Langes Bastardschwert",
[1831] = "Eichener Kriegsstab",
[1832] = "Glücksbeinkleider",
[1835] = "Schmutziger Ledergürtel",
[1836] = "Schmutzige Lederarmschienen",
[1839] = "Rauer Ledergürtel",
[1840] = "... | Lua |
-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.swal2-progresssteps{align-items:center;margin:0 0 1.25em;padding:0;font-weight:600}.swal2-progresssteps li{display:inline-block;position:relative}.swal2-progresssteps .swal2-progresscircle{width:2em;height:2em;border-radius:2em;background:#3085d6;color:#fff;lin... | CSS |
NAME OF REGION OR COUNTRY | TYPE OF SPECIALIZED KNOWLEDGE | DATES OF RESIDENCE OR TRAVEL | DATES AND PLACE OF STUDY | KNOWLEDGE ACQUIRED BY | | | |
| ------------------------- | ----------------------------- | ---------------------------- | ------------------------ | --------------------... | Markdown |
-1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);
}
.p-tieredmenu .p-menuitem.p-menuitem-active > .p-menuitem-link {
background: rgba(0, 0, 0, 0.04);
}
.p-tieredmenu .p-menuitem.p-menuitem-active > .p-menuitem-link .p-menuitem-text {
color: rgba(0, 0, 0, 0.87);... | CSS |
:param ce_kwargs:
:param aggregate:
:param square_dice:
:param weight_ce:
:param weight_dice:
"""
super().__init__()
if ignore_label is not None:
ce_kwargs['ignore_index'] = ignore_label
self.weight_dice = weight_dice
self.weight_ce... | Python |
public FloatParameter MaxRGBSplitY = new FloatParameter { value = 1f };
}
public sealed class GlitchImageBlockV4Renderer : PostProcessEffectRenderer<GlitchImageBlockV4>
{
private const string PROFILER_TAG = "X-GlitchImageBlockV4";
private Shader shader;
public override vo... | C# |
stCheckAttachedDiskIsNowDetached(t, instanceName, diskName),
),
},
},
})
}
func TestAccComputeAttachedDisk_full(t *testing.T) {
t.Parallel()
diskName := fmt.Sprintf("tf-test-%d", acctest.RandInt(t))
instanceName := fmt.Sprintf("tf-test-%d", acctest.RandInt(t))
importID := fmt.Sprintf("%s/us-central1-a/%... | Go |
00431BC0 DB 21 00 D0 */ stfd f25, 0xd0(r1)
/* 80434DC4 00431BC4 F3 21 00 D8 */ psq_st f25, 216(r1), 0, qr0
/* 80434DC8 00431BC8 DB 01 00 C0 */ stfd f24, 0xc0(r1)
/* 80434DCC 00431BCC F3 01 00 C8 */ psq_st f24, 200(r1), 0, qr0
/* 80434DD0 00431BD0 DA E1 00 B0 */ stfd f23, 0xb0(r1)
/* 80434DD4 00431BD4 F2 E1 00 B8 ... | Assembly |
.floorGid)
end
end
end
end
function DungeonTiledGenerator:_drawRoads(data)
for i, road in ipairs(self.dungeonMap.roads) do
self:_drawRoad(data, road)
end
end
function DungeonTiledGenerator:_drawRoad(data, road)
for i = 1, #road.points - 2, 2 do
local x1 = math.min(r... | Lua |
se2 - 1U);
base->WSTATE = EEPROM_WSTATE_PHASE1(config->writeWaitPhase1 - 1U) |
EEPROM_WSTATE_PHASE2(config->writeWaitPhase2 - 1U) |
EEPROM_WSTATE_PHASE3(config->writeWaitPhase3 - 1U);
base->WSTATE |= EEPROM_WSTATE_LCK_PARWEP(config->lockTimingParam);
/* Clear the rema... | C |
: Array<string>
private getGameNumber(): number {
if (!fs.existsSync(this.fileName)) fs.writeFileSync(this.fileName, '')
const data = fs.readFileSync(this.fileName, 'utf-8')
return data.split('\n').length
}
private checkSequence(value: string): number {
const temp: Array<num... | Typescript |
�嫁而婿死从死及守志议》,都曾指出它的不合
理;后来俞正燮作《贞女说》,更表示了鲜明的反对的态度:“未同衾而同穴,谓之无害,
则又何必亲迎,何必庙见,何必为酒食以召乡党僚友,世又何必有男女之别乎?此盖贤者未
思之过……呜呼,男儿以忠义自责则可耳,妇女贞烈,岂是男子荣耀也。”室女,即未嫁的
女子。
```
```
论雷峰塔的倒掉①
·鲁迅·
听说,杭州西湖上的雷峰塔②倒掉了,听说而已,我没有亲见。但我却见过未
倒的雷峰塔,破破烂烂的映掩于湖光山色之间,落山的太阳照着这些四近的地方,
就是“雷峰夕照”,西湖十景... | Markdown |
tfsDate(startDate), toGtfsDate(endDate));
// note: not using user-specified IDs
// add calendar dates
if (atx.exceptions != null) {
for (ScheduleException ex : atx.exceptions.values()) {
for (LocalDate date : ex.dates) {
if (date.isBefore(startDate) || date.isAfter(endDate))
... | Java |
info" data-id="1067299"><p class="item-info-price"><span style="font-family: arial;">¥168.89</span></p><p class="item-like-info">233人喜欢</p><a class="item-info-link" href="http://www.liwushuo.com/items/1067299" target="_blank"><span>查看详情</span></a><a class="item-info-safeguard off"></a></div></p>
<h3 class="item-ti... | Java |
/*
* This file is part of budgie-rd
*
* Copyright © 2017-2018 Budgie Desktop Developers
*
* budgie-rd is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at ... | C |
rn c.findSlice(c.fighters, f)
case searchWorkers | searchFighters:
// These two slices cover 100% of the drones.
// It's like Each(), but allows an early break.
return c.findSlice2(c.workers, c.fighters, f)
case searchWorkers | searchOnlyAvailable:
return c.findSlice2(c.availableWorkers, c.availableUniversal,... | Go |
Enum {
/**
* The material will not use transparency. This is the fastest to render.
*/
DISABLED(0),
/**
* The material will use the texture's alpha values for transparency. This is the slowest to
* render, and disables shadow casting.
*/
ALPHA(1),
/**
* The material wil... | Kotlin |
raw';
/**
* Helpers.
*/
const blockStyleRegExp = /^(?<style>[|>])(?<chomping>[+-]?)(?<indentation>[0-9]*)\s/;
const getIndentationIndicator = (content: string): number | undefined => {
const matches = content.match(blockStyleRegExp);
const indicator = pathOr('', ['groups', 'indentation'], matches);
return i... | Typescript |
Cartomancer.get_visible_suits_smods = function (unplayed_only, page)
local SUITS = {}
-- Init all suits visible in deck
for _, v in ipairs(G.playing_cards) do
if v.base.suit then
local greyed = unplayed_only and not ((v.area and v.area == G.deck) or v.ability.wheel_flipped)
if greyed and Cartomancer.S... | Lua |
= int(count) - 1; after >= int(idx); after-- {
*(*link)(unsafe.Pointer(uintptr(l.ptr) + uintptr(after+1)*linkSize)) =
*(*link)(unsafe.Pointer(uintptr(l.ptr) + uintptr(after)*linkSize))
}
*(*link)(unsafe.Pointer(uintptr(l.ptr) + uintptr(idx)*linkSize)) = link{
ptr: unsafe.Pointer(&arrkv[K, V]{k: key, v: va... | Go |
rapper.classList.add('d-flex');
const button = document.createElement('button');
button.classList.add('btn');
button.classList.add('btn-primary');
button.classList.add('w-100');
button.innerText = langContent[currentLang].close;
button.onclick = closeClick;
butt... | Typescript |
e low-latency OpenSL ES pro-audio path.
bool pro_audio_;
// The delay estimate can take one of two fixed values depending on if the
// device supports low-latency output or not.
int delay_estimate_in_milliseconds_;
// Contains native parameters (e.g. sample rate, channel configuration).
// Set at construc... | C |
from .delete import DeleteBulkAction
__all__ = ["DeleteBulkAction"]
| Python |
ummary><strong>📋 獲取檢測區域</strong></summary>
### 獲取多邊形區域
```http
GET /rectangles/<camera_id>
```
**描述:** 獲取指定攝影機的所有檢測區域配置
**請求頭:**
```http
Authorization: Bearer <access_token>
```
**成功回應:**
```json
{
"status": "success",
"data": {
"camera_id": 1,
"regions": [
{
"id... | Markdown |
:= new(Document_PageAnchor_PageRef_LayoutType)
*p = x
return p
}
func (x Document_PageAnchor_PageRef_LayoutType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Document_PageAnchor_PageRef_LayoutType) Descriptor() protoreflect.EnumDescriptor {
return file_moc... | Go |
erable] of the map keys.
Iterable<K> get keys => _mapOfSets.keys;
/// Returns an [IList] of the map keys.
/// Optionally, you may provide a [config] for the list.
IList<K> keyList({ConfigList? config}) => IList.withConfig(keys, config ?? IList.defaultConfig);
/// Returns an [Iterable] of the map values.
I... | Dart |
]
tagBuilder.append(" ${stackTrace.methodName}(${stackTrace.fileName}:${stackTrace.lineNumber})")
}
when (level) {
LEVEL.V -> Log.v(tagBuilder.toString(), message)
LEVEL.D -> Log.d(tagBuilder.toString(), message)
LEVEL.I -> Log.i(tagBuilder.toString(), message)
LEVEL.W -> ... | Kotlin |
rr (err);
err = gpgme_op_verify (ctx, sig, text, NULL);
fail_if_err (err);
result = gpgme_op_verify_result (ctx);
check_result (result, GPGME_SIGSUM_VALID | GPGME_SIGSUM_GREEN,
"3CF405464F66ED4A7DF45BBDD1E4282E33BDB76E",
GPG_ERR_NO_ERROR, GPGME_VALIDITY_FULL);
show_auditlog (ctx);
/* Checking a manip... | C |
.unwrap();
chart
.configure_mesh()
.disable_mesh()
.y_label_formatter(&|x| format!("{:.1}", *x as f64 / 1024.0 / 1024.0 / 1024.0))
.x_labels(5)
.y_desc("Size(GiB)")
.x_desc("Dictionary Size")
.draw()
.unwrap... | Rust |
izer();
}
}
setState(1451);
match(SEMI);
setState(1453);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << SIZEOF) | (1L << TRUE) | (1L << FALSE) | (1L << BOOL) | (1L << Class) | (1L << BYCOPY) | (1L << BYREF) | (1L << ID) | (1L << IMP) | (1L << IN... | Java |
ONS.precedence.get(left).unwrap()
> OPTIONS.precedence.get(right).unwrap()
|| rank.0 == 0
{
operators.push(op);
break;
}
}
// The above will hold t... | Rust |
,
.suspend = isp116x_suspend,
.resume = isp116x_resume,
.driver = {
.name = (char *)hcd_name,
},
};
/*-----------------------------------------------------------------*/
static int __init isp116x_init(void)
{
if (usb_disabled())
return -ENODEV;
INFO("driver %s, %s\n", hcd_name, DRIVER_VERSION);
ret... | C |
imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion4
// Client API for Notify service
... | Go |
hetic.main.common_tag.view.*
import kotlinx.android.synthetic.main.fragment_navigation.*
import org.jetbrains.anko.support.v4.startActivity
import zqx.rj.com.mvvm.base.LifecycleFragment
import zqx.rj.com.playandroid.R
import zqx.rj.com.playandroid.WebViewActivity
import zqx.rj.com.playandroid.navigation.adapter.Categor... | Kotlin |
ineU2;
var ss = sineU1 * sineU2;
var sc = sineU1 * cosineU2;
var lambda = l;
var lambdaDot = CesiumMath.TWO_PI;
var cosineLambda = Math.cos(lambda);
var sineLambda = Math.sin(lambda);
var sigma;
var cosineSigma;
var sineSigma;
var cosine... | JavaScript |
人是否感到满意?|
|音乐推荐|我喜欢听古典音乐,请问有哪些值得推荐的作曲家和作品?|
|简历优化|请帮我修改一下我的简历,使其更加符合投递职位的要求。|
|聊天机器人|您好,请跟我聊一聊最近的天气怎么样?|
|招聘推荐|请推荐一份适合具备市场营销背景的人的工作岗位。|
| 文本编辑 | 请问有哪些方法可以快速删除一段英文文本中的所有元音字母? |
| 图像分类 | 如何将图像分类为室内场景和室外场景? |
| 网页设计 | 怎样提高网站的访问速度? |
| 语音合成 | 如何用Python编写程序,将文本转换为自然语言语音输出? |
| 数据分析 | 如何使用Python和Pandas库对数据进行透视表处理? |
| 自然语言生成... | Markdown |
--d-bc)}content>#write .md-rawblock .md-rawblock-tooltip{border-radius:var(--v-r-s)var(--v-r-s)0 0}content>#write .md-fences-math[lang=math] .md-diagram-panel-preview{font-size:1.25em}content>#write blockquote>h6+:is(.md-fences,figure){margin-top:1em}#file-library-search-input{border-color:var(--v-input-focus-border)}#... | CSS |
desStatement, data, handler, keys);
if (0 == data.getRowCount()) {
return;
}
Hashtable<String, Row> nodeLastRow = new Hashtable<String, Row>();
List<Row> newRows = new ArrayList<Row>();
IntIterator i = data.rowsSortedBy(X_AXIS, true);
Row row = new Row(i.nextInt());
nodeLastRow.put(row.node, row);
... | Java |
ms->child; n; n = n->next, ++i) {
n->klidx = i;
}
} else {
n_rooms->child = n;
}
// Now patch document
RCC(rc, finish, ejdb_patch_jbn(g_env.db, "users", doc->node, user_id));
finish:
if (locked) {
rct_resource_unlock(member, __func__);
}
jql_destroy(&q);
iwpool_destroy(pool);
if (r... | C |
/*
* Copyright 2023 Sven Verdoolaege
*
* Use of this software is governed by the MIT license
*
* Written by Sven Verdoolaege
*/
/* Is "part" defined over a domain wrapping a binary relation?
*/
static isl_bool FN(UNION,select_domain_is_wrapping_entry)(__isl_keep PART *part,
void *user)
{
return isl_space... | C |
tem_ct1.get_group(1) * ne0 +
(item_ct1.get_group(0) - ne02) * ne0 * item_ct1.get_group_range(1);
dst[offset_dst] = y[offset_src];
}
}
static void concat_f32_sycl(const float *x, const float *y, float *dst,
int ne00, int ne01, int ne02, int ne0, int ne1,
... | C++ |
local this = {}
local StrCode32 = Fox.StrCode32
local StrCode32Table = Tpp.StrCode32Table
local sequences = {}
local TARGET_ENEMY_NAME = "sol_vip_0000"
local TIME_VIP_WAIT_LONG = 120
local TIME_VIP_WAIT_NEAR = 19
local TIME_CLER_RADIO_WAIT_WITH_VIP = 13
local BOUNUCE_DIST = 100 * 100
this.ENABLE_DEFAULT_HELI_... | Lua |
kotlinjdsl.render.jpql.serializer.JpqlSerializerTest
import com.linecorp.kotlinjdsl.render.jpql.writer.JpqlWriter
import io.mockk.impl.annotations.MockK
import io.mockk.verifySequence
import org.assertj.core.api.WithAssertions
import org.junit.jupiter.api.Test
@JpqlSerializerTest
class JpqlLowerSerializerTest : WithAs... | Kotlin |
// SPDX-License-Identifier: CDDL-1.0
/*
* This file and its contents are supplied under the terms of the
* Common Development and Distribution License ("CDDL"), version 1.0.
* You may only use this file in accordance with the terms of version
* 1.0 of the CDDL.
*
* A full copy of the text of the CDDL should have ... | C |
CREDENTIALS_KEY))
repo = repositoryService.getRepoDetail(repo.projectId, repo.name)!!
assertEquals(UT_STORAGE_CREDENTIALS_KEY, repo.storageCredentials?.key)
// update
repositoryService.updateStorageCredentialsKey(repo.projectId, repo.name, newStorageKey)
repo = repositoryService... | Kotlin |
n conjunction with the [child] property, one of them must
/// be null.
final MoonBaseControlBuilder? builder;
/// The mouse cursor of the base control.
final MouseCursor cursor;
/// The semantic label for the base control.
final String? semanticLabel;
/// The callback that is called when the base contr... | Dart |
LiteTypeGetName(input->type));
return kTfLiteError;
}
return kTfLiteOk;
}
} // namespace
TfLiteRegistration Register_TRANSPOSE() {
return {/*init=*/nullptr,
/*free=*/nullptr,
/*prepare=*/Prepare,
/*invoke=*/Eval,
/*profiling_string=*/nullptr,
/*builtin_c... | C++ |
prevText: '< წინა',
nextText: 'შემდეგი >',
currentText: 'დღეს',
monthNames: ['იანვარი','თებერვალი','მარტი','აპრილი','მაისი','ივნისი', 'ივლისი','აგვისტო','სექტემბერი','ოქტომბერი','ნოემბერი','დეკემბერი'],
monthNamesShort: ['იან','თებ','მარ','აპრ','მაი','ივნ', 'ივლ','აგვ','სექ','ოქტ','ნოე','დეკ'],
d... | JavaScript |
err != nil {
res = append(res, err)
}
qResourceHashEnd, qhkResourceHashEnd, _ := qs.GetOK("resourceHash[end]")
if err := o.bindResourceHashEnd(qResourceHashEnd, qhkResourceHashEnd, route.Formats); err != nil {
res = append(res, err)
}
qResourceHashIsNot, qhkResourceHashIsNot, _ := qs.GetOK("resourceHash[isN... | Go |
}
}
if protocol == "snmp" || runAll {
if judge.TcpSNMP(result) {
printSuccess("TCP/SNMP", result)
return true
}
}
if protocol == "oracle" || runAll {
if judge.TcpOracle(result, Args) {
printSuccess("TCP/Oracle", result)
return true
}
}
if protocol == "frp" || runAll {
if judge.TcpFrp(result... | Go |
"not a character device (type=%07o)",
ENTROPY_URANDOM_PATH, (st.st_mode & S_IFMT));
}
else {
len = buflen;
rv = fd_read_n (fd, buf, len);
if (rv < 0) {
log_msg (LOG_WARNING, "Faile... | C |
_logBuffer: Array<Message>;
constructor(startLogging: boolean = false) {
super();
this._isLogging = startLogging;
this._logBuffer = [];
}
pause() {
this._isLogging = false;
}
resume() {
this.flushLogs();
this._isLogging = true;
}
private flushLogs() {
let message: Message ... | Typescript |
// Returns temperature as milli-kelvins if a temperature reading is available.
fn temperature_as_millikelvins(&self) -> Option<u32>;
/// Returns temperature as milli-Celsius if a temperature reading is available.
fn temperature_as_millicelsius(&self) -> Option<i32> {
self.temperature_as_millikelvin... | Rust |
splay: table-cell;
cursor: pointer;
height: 100%;
color: #999999;
width: 40px;
text-align: center;
}
.ui-select-wrap .ui-button i {
margin-top: 7px;
}
.ui-select-wrap:focus {
border-color: #999999;
}
.ui-select-wrap:focus .dropdown-box {
border-color: #999999;
}
.ui-select-wrap:focus .ui... | CSS |
.buckets {
if n > maxBucket {
maxBucket = n
}
}
total := h.total()
barsizeMult := maxHTMLBarWidth / float64(maxBucket)
var pctMult float64
if total == 0 {
pctMult = 1.0
} else {
pctMult = 100.0 / float64(total)
}
buckets := make([]*bucketData, len(h.buckets))
runningTotal := int64(0)
for i, n := r... | Go |
disk", disk_columns).await?;
assert_table_eq(expected_disk_table, &partitions);
}
// check that it recovers from the wal
{
let db = Db::restore_from_wal(dir).await?;
let partitions = db.table_to_arrow("cpu", cpu_columns).await?;
assert_table_eq(e... | Rust |
else null,
postTitle = if (protoMsg.content.postTitle.isNotEmpty()) protoMsg.content.postTitle else null,
postContent = if (protoMsg.content.postContent.isNotEmpty()) protoMsg.content.postContent else null,
postContentType = if (protoMsg.content.postContentType.isNotEmpty()) protoMs... | Kotlin |
static cv::Point3d point_3D_rotated;
static cv::Matx33d jacobian_warped_event_wrt_ang_vel;
static cv::Matx33d* jacobian_warped_event_wrt_ang_vel_ptr;
if (jacobian_calibrated_pt_wrt_ang_vel == nullptr)
jacobian_warped_event_wrt_ang_vel_ptr = nullptr;
else
jacobian_warped_event_wrt_ang_vel... | C++ |
4065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
/**
* @test
* @bug 6892265
* @summary System.arraycopy unable to reference elements beyond Integer.MAX_VALUE bytes
*
* @run main/othervm Test
*/
public class Test {
static final int NCOPY = 1;
static fi... | Java |
"] = function(callback)
if callback then
spawn(function()
repeat
task.wait(0.2)
if isAlive() then
for i,v in pairs(workspace:GetChildren()) do
if v.Name == "Handle" then
firetouchinterest(lplr.Character.HumanoidRootPart, workspace.Handle, 1)
firetouchinterest(lpl... | Lua |
= &document[idx..idx + SHINGLE_SIZE];
let mut hasher = DefaultHasher::new();
shingle.hash(&mut hasher);
let shingle_hash = hasher.finish();
shingles.insert(shingle_hash);
}
shingles
}
fn jaccard_similarity(a: &HashSet<u64>, b: &HashSet<u64>) -> f32 {
let intersection_cardin... | Rust |
sSQLDateTimePlusYearSQLFunction(getColumnExpressions(sqlExpression));
}
@Override
public SQLFunction dateTimeProperty(SQLActionExpression1<ColumnFuncSelector> sqlExpression, DateTimeUnitEnum dateTimeUnitEnum) {
return new MsSQLDateTimePropertySQLFunction(getColumnExpressions(sqlExpression), dateTim... | Java |
�框的标题文案 | 否 | 无 |
| messageText | String? | 对话框中间的显示文本 | 否 | 无 |
| warningText | String? | 对话框的警示文案文本 | 否 | 无 |
| actionsText | `List<String>?` | 对话框底部的按钮 | 否 | 无 |
| titleWidget | Widget? | 自定义widget的标题 | 否 | 无 |
| contentWidget | Widget? | 自定义widget的内容 | 否 | 无 |
| warningWidget | Widget? | 自定义widget的警示内容 | 否 | 无 |
| ... | Markdown |
99f)
close()
moveTo(9.2f, 79.6f)
lineTo(12.2f, 79.6f)
cubicTo(14.099999f, 79.6f, 15.299999f, 79.5f, 15.799999f, 79.4f)
cubicTo(16.3f, 79.200005f, 16.699999f, 79.0f, 16.9f, 78.6f)
cubicTo(17.199999f, 78.2f, 17.3f, 77.7f, 17.3f, 77.1f)
cubicTo(17.3f, 76.4f, 17.099998f, 75.9f, 16.8f, 75.5f)
... | Kotlin |
\"TurtleUp\", \"TurtleUp.Syntax\": \"[ <Turtle> ]\", \"Type\": \"Type\", \"Type.Syntax\": \"[ <Object> ]\", \"UnicodeToLetter\": \"UnicodeToLetter\", \"UnicodeToLetter.Syntax\": \"[ <Integer> ]\", \"UnicodeToText\": \"UnicodeToText\", \"UnicodeToText.Syntax\": \"[ <List of Integers> ]\", \"Uniform\": \"Uniform\", \"Un... | JavaScript |
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef GPIOLIB_OF_H
#define GPIOLIB_OF_H
struct gpio_chip;
enum of_gpio_flags;
#ifdef CONFIG_OF_GPIO
struct gpio_desc *of_find_gpio(struct device *dev,
const char *con_id,
unsigned int idx,
unsigned long *lookupflags);
int of_gpiochip_add(struct g... | C |
wap);
break;
case 2:
nthw_field_set_val_flush32(p->mp_field_gty_ctl_tx_pol2, swap);
break;
case 3:
nthw_field_set_val_flush32(p->mp_field_gty_ctl_tx_pol3, swap);
break;
}
NT_LOG(DBG, NTHW, "Port %u: set GTY Tx lane (%d) polarity: %d", p->m_port_no, lane,
swap);
}
void nthw_mac_pcs_swap_gty_rx_polari... | C |
etXmlEPG 返回XMLTV格式的EPG
func GetXmlEPG(c *gin.Context) {
var err error
// 保留过去几天的节目单
backDay := 0
backDayStr := c.Query("backDay")
if backDayStr != "" {
if backDay, err = strconv.Atoi(backDayStr); err != nil {
backDay = 0
}
}
// 如果缓存的节目单列表为空则直接返回空数据
chProgLists := *epgPtr.Load()
if len(chProgLists) == ... | Go |
null, "flv", param.getPushUrl());
if (ret < 0) {
avutil.av_log(enCodecCtx, avutil.AV_LOG_ERROR, "avformat_alloc_output_context2 error");
free();
return;
}
avStream = avformat.avformat_new_stream(oFmtCtx, null);
ret = avcode... | Java |
/*
This file is part of Telegram Desktop,
the official desktop application for the Telegram messaging service.
For license and copyright information please follow this link:
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
*/
#pragma once
#include "platform/platform_tray.h"
#include "base/unique_qptr.h"... | C |
ImportState: true,
ImportStateVerify: true,
},
},
})
}
func TestAccTencentCloudDnspodRecordResource_MX(t *testing.T) {
t.Parallel()
resource.Test(t, resource.TestCase{
PreCheck: func() { tcacctest.AccPreCheck(t) },
Providers: tcacctest.AccProviders,
CheckDestroy: testAccCheckDnspodRecord... | Go |
entDataSupport::class.java.classLoader
val plugin = if (classLoader is PluginClassLoader) { // shadowed
classLoader.plugin
} else { // library
val field = PluginClassLoader::class.java.declaredFields.find {
... | Kotlin |
e;
}
.is-dark-theme .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button) .meta-nav {
color: #fff;
}
.has-background-white .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button) {
background: rgba(0, 0, 0, 0.9);
color: #fff;
}
.has-background-white .site a:focus:not(.wp-block-button... | CSS |
293.95 445.1c19.27 19.29 50.53 19.31 69.82.04l.04-.04 119.25-119.24c38.59-38.59 38.59-101.14 0-139.72-38.59-38.59-101.15-38.59-139.72 0l-157.22 157.2zm244.53-104.8c-9.65-9.65-25.29-9.65-34.93 0l-157.2 157.18c-19.27 19.29-50.53 19.31-69.82.05l-.05-.05c-9.64-9.64-25.27-9.65-34.92-.01l-.01.01c-9.65 9.64-9.66 25.28-.02 34.... | JavaScript |
);
}
return true;
});
};
handleMouseDownListElem = (e: Event) => {
console.log(e);
let id = (e.target as Element).id;
console.log(id);
console.log(id);
let testduba: Array<object> = new vinHistory().handleVinsFromLocal();
console.log(testduba);
const catchElemList: Arra... | Typescript |
amicValue != null) {
json['dynamicValue'] = dynamicValue!.toJson();
}
return json;
}
@override
String toString() {
return 'FilterPredicateValue{defaultValue: $defaultValue, userValue: $userValue, dynamicValue: $dynamicValue}';
}
}
enum FilterPredicateType { STRING, NUMERIC, BOOLEAN, COMPLEX ... | Dart |
[code] ? true : false;
}
public setLanguage(code: string): void {
if (this.locales[code]) {
this.currentLocale = this.locales[code];
document.documentElement.setAttribute('lang', code);
localStorage.setItem('language', this.currentLocale.code);
}
}
public get(key: string, ...params: ... | Typescript |
empty; }
.@{fa-css-prefix}-shower:before { content: @fa-var-shower; }
.@{fa-css-prefix}-bathtub:before,
.@{fa-css-prefix}-s15:before,
.@{fa-css-prefix}-bath:before { content: @fa-var-bath; }
.@{fa-css-prefix}-podcast:before { content: @fa-var-podcast; }
.@{fa-css-prefix}-window-maximize:before { content: @fa-var-window... | CSS |
g->msg_header.type);
}
}
local_ctx_con->gc_current_epoch =
local_ctx_con->gc_current_epoch + MITSUME_GC_EPOCH_STEPSIZE;
} else {
while (local_ctx_con->allocator_to_epoch_thread_pipe.size() == 0) {
schedule();
}
local_ctx_con->allocator_to_epoch_thread_pipe_loc... | C++ |
els, obj)
spawnedHydrochloricAcidBarrels = spawnedHydrochloricAcidBarrels + 1
end
SetModelAsNoLongerNeeded(model)
end
RegisterNetEvent("ps-drugprocessing:client:hydrochloricacid", function()
local playerPed = PlayerPedId()
local coords = GetEntityCoords(playerPed)
local nearbyObject, nearbyID
for i=1, #Hydroc... | Lua |
*input = command->mutable_input();
input->set_id(session_id_);
input->set_type(commands::Input::SEND_COMMAND);
input->mutable_command()->set_type(commands::SessionCommand::RESET_CONTEXT);
return EvalCommandLockGuarded(command);
}
bool IosEngine::SendSpecialKey(commands::KeyEvent::SpecialKey special_key,
... | C++ |
unit.framework.TestCase;
import manifold.ext.rt.api.Jailbreak;
import manifold.ext.stuff.Leaf;
import manifold.ext.stuff.Sample;
import manifold.util.ReflectUtil;
public class JailbreakTest extends TestCase
{
public void testJailbreakMethod()
{
manifold.ext.stuff.@Jailbreak SecretParam secretParam =
new ... | Java |
/*-
* Copyright (c) 2001 Robert N. M. Watson
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of... | C |
// Performance check
input.set_host_dirty();
timing openglcompute(avg_filter, &input, &output);
input.set_host_dirty();
timing openglcompute_with_copying(avg_filter, &input, &output);
input.set_host_dirty();
timing arm(avg_filter_arm, &input, &output_arm);
... | C++ |
e);
OMException omException = assertThrows(OMException.class,
() -> createSnapshot(volume, bucket));
assertEquals(BUCKET_NOT_FOUND, omException.getResult());
}
@Test
public void testCreateSnapshotMissingMandatoryParams() throws Exception {
String volume = "vol-" + counter.incrementAndGet();
... | Java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.