content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
Apis !== hideModeledApis
) {
this.externalApiUsages = externalApiUsages;
this.databaseItem = databaseItem;
this.sourceLocationPrefix =
await this.databaseItem.getSourceLocationPrefix(this.cliServer);
this.hideModeledApis = hideModeledApis;
this.onDidChangeTreeDataEmitter.fire(... | Typescript |
> <i class="arg">lambda_0</i> <i class="arg">phi_0</i> <i class="arg">x</i> <i class="arg">y</i></a></dt>
<dd><p>Converts from the orthographic projection.</p></dd>
<dt><a name="25"><b class="cmd">::mapproj::toStereographic</b> <i class="arg">lambda_0</i> <i class="arg">phi_0</i> <i class="arg">lambda</i> <i class="arg... | HTML |
g();
LOADED_CONFIG = JSON.parse(JSON.stringify(CONFIG));
return CONFIG;
}
}
</script>
<!-- end 'config.js' -->
<!-- begin 'util.js' -->
<script>
const fileOps = {
async getDirectoryContents(path) {
const response = await fetch(`${path}/index.txt`);
const tex... | HTML |
.8h-31.4v22.8h31.4z m-14.3-12.8h5q0.3 0 0.5 0.2t0.2 0.5v1.4q0 0.3-0.2 0.5t-0.5 0.2h-5v5q0 0.4-0.2 0.6t-0.5 0.2h-1.4q-0.4 0-0.6-0.2t-0.2-0.6v-5h-5q-0.3 0-0.5-0.2t-0.2-0.5v-1.4q0-0.3 0.2-0.5t0.5-0.2h5v-5q0-0.3 0.2-0.5t0.6-0.2h1.4q0.3 0 0.5 0.2t0.2 0.5v5z"})))};e.default=f,t.exports=e.default},function(t,e,n){"use strict"... | JavaScript |
08</td>
<td><img class="lazy" data-src="black/svg/1F587.svg" height="72" width="72"></td>
<td><img class="lazy" data-src="color/svg/1F587.svg" height="72" width="72"></td>
<td>🖇️</td>
<td>1F587</td>
<td>objects</td>
<td>office</td>
<td... | HTML |
reliably compare configuration names
(see <a href="#Using-the-Target-Type">Using the Target Type</a>). Therefore, by convention, if the
<span class="samp">--host</span> option is used, but the <span class="samp">--build</span> option is not used,
then the build system defaults to the host system.
<div class="node">
<... | HTML |
> && f.value1 == 1) {
return right(cast(f.value2));
} else {
throw TypeError();
}
});
Task<B> redeem<B>(Function1<Object, B> recover, Function1<A, B> map) => attempt().map((a) => a.fold(recover, map));
Task<B> redeemWith<B>(Function1<Object, Task<B>> recover, Function1<A, Task<B>> bind) => a... | Dart |
i_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT... | JavaScript |
{ return ref; });
};
/*jsc
["tinymce.plugins.directionality.Plugin","tinymce.core.PluginManager","tinymce.core.util.Tools","global!tinymce.util.Tools.resolve"]
jsc*/
defineGlobal("global!tinymce.util.Tools.resolve", tinymce.util.Tools.resolve);
/**
* ResolveGlobal.js
*
* Released under LGPL License.
* Copyright (c)... | JavaScript |
user-content-usage\" class=\"anchor\" aria-label=\"Permalink: Usage\" href=\"#usage\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.... | HTML |
; A helper function for calling bios from protected mode
; Execute bios interrupts under given context
; Then Save the result context to a given address
[bits 32]
global bios32_helper
global bios32_helper_end
global asm_gdt_ptr
global asm_gdt_entries
global asm_idt_ptr
global asm_in_reg_ptr
global asm_in_reg_ptr
glo... | Assembly |
te_to_check >= start_date:
day_start_time = datetime.combine(date_to_check, time(9, 30))
day_start_time_et = eastern.localize(day_start_time)
# 添加API调用间隔控制
if api_call_count > 0:
time_module.sleep(0.2) # 200毫秒延迟,避免触发限流
# 重试机制
max_retries = 3... | Python |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
// Macros to enable or disable a code section that may or may not conflict with this test.
#define SET_DISPATCH 1
// Template function. Not used for this test.
void top_level_call()
{
}
// FAIL _IRQL_saves_global_ not applied to entire functi... | C |
tell_object(coagent, gmsg);
if (finish)
{
me->delete_temp("job");
coagent->delete_temp("job");
coagent->interrupt_me(coagent, 1);
wood = new("/d/guanwai/obj/largewood");
wood->move(this_object());
... | C |
err := r.query("DELETE", fmt.Sprintf("/%s/hostedzone/%s", APIVersion, ID), nil, out)
if err != nil {
return nil, err
}
return out, err
}
// CleanZoneID is used to remove the leading /hostedzone/
func CleanZoneID(ID string) string {
if strings.HasPrefix(ID, "/hostedzone/") {
ID = strings.TrimPrefix(ID, "/hoste... | Go |
ample
* import { takeLeftWhile } from 'fp-ts/lib/List'
*
* assert.deepStrictEqual(takeLeftWhile((n: number) => n % 2 === 0)([2, 4, 3, 6]), [2, 4])
*
* @since 0.5.0
*/
function takeLeftWhile<A, B extends A>(refinement: Refinement<A, B>): (as: Kind<URI, A>) => Kind<URI, B>
function t... | Typescript |
推荐一些适合公司聚餐的餐厅菜品吗? |
| 购买电脑 | 请问我应该如何选择性能更好的电脑? |
| 预订旅店 | 如何预订到离景点近并且价格实惠的旅店? |
| 健身计划 | 我想健身,请问有什么适合初学者的运动计划吗? |
| 理财建议 | 请提供一些理财方面的建议和技巧。 |
| 爱好爱好 | 你能分享一些有趣而又不太出名的兴趣爱好吗? |
| 网站建设 | 在网站建设时,怎样才能提高用户体验? |
| 智能家居 | 智能家居的安全性如何保障? |
| 职业发展 | 我应该如何提高自己在职场上的竞争力? |
| 旅游攻略 | 有哪些比较冷门却值得一去的旅游景点? |
|天气预报|今天的天气是什么?|
|餐厅推荐|能否推荐一家适... | Markdown |
Flightmaster, Banker, and Battlemaster Gossip. Disable to complete seasonal quests.",
var = "GOSSIPSKIP",
func = function(switch)
if (switch) then
Minimalist:GHOn()
else
Minimalist:GHOff()
end
end
},
["Reduce Chat Clutter"] = {
index = 22,
tooltipText = "Shorten Channel Names to Reduce ... | Lua |
local M = {}
local notify = require("justice.utils").replaceNotif
local actions = require("justice.actions")
--------------------------------------------------------------------------------
---@param recipe Justice.Recipe
local function promptForRunParameters(recipe)
if #recipe.parameterSpec == 0 then
actions.runRe... | Lua |
r1)
/* 8033DC54 003398B4 93 E4 01 C0 */ stw r31, 0x1c0(r4)
/* 8033DC58 003398B8 80 81 00 08 */ lwz r4, 8(r1)
/* 8033DC5C 003398BC 93 E4 01 C4 */ stw r31, 0x1c4(r4)
/* 8033DC60 003398C0 80 81 00 08 */ lwz r4, 8(r1)
/* 8033DC64 003398C4 93 E4 01 C8 */ stw r31, 0x1c8(r4)
/* 8033DC68 003398C8 80 81 00 08 */ lwz r4, 8... | Assembly |
i];
var raycastLayer = 1 << raycastResult.gameObject.layer;
if ((raycastLayer & layerMask) == 0)
{
tempRaycastResults.RemoveAt(i);
}
}
}
}
else
{
Debug.LogError("Failed to RaycastGui because your scene doesn't have an event system! To add one, go to: GameObject/UI/... | C# |
tware Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
*
* @summary converted from VM Testbase nsk/jvmti/F... | Java |
Client1);
Expect.equals((new MyHttpClient1(null)).userAgent, httpClient.userAgent);
}, new MyHttpOverrides());
}
globalHttpOverridesTest() {
HttpOverrides.global = new MyHttpOverrides();
var httpClient = new HttpClient();
Expect.isNotNull(httpClient);
Expect.isTrue(httpClient is MyHttpClient1);
Expect.... | Dart |
22.3.linux-riscv64.mod</a> 08-May-2024 00:01 28
<a href="v0.0.1-go1.22.3.linux-riscv64.zip">v0.0.1-go1.22.3.linux-riscv64.zip</a> 08-May-2024 00:01 70414635
<a href="v0.0.1-go1.22.3.linux-s390x.info">v0.0.1-go1.22.3.linux-s390x.info</a> 08-... | HTML |
heory.Base.html#1500" class="Function">Op₂</a> <a id="2886" href="SMT.Theories.Nats.Base.html#1218" class="InductiveConstructor">NAT</a> <a id="2890" href="Agda.Builtin.Sigma.html#236" class="InductiveConstructor Operator">,</a> <a id="2892" href="SMT.Script.Base.html#3290" class="InductiveConstructor">`app</a> <a id="... | HTML |
atherNameField,
getRelationshipRadioButton,
getOwnerGenderField,
ownerDOB: {
...getDateField({
label: {
labelName: "Date of Birth",
labelKey: "TL_EMP_APPLICATION_DOB"
},
placeholder: {
labelName: "Enter Date of Birth",
... | JavaScript |
BuilderV3<
tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.RanklistHourEntrance_Page, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.RanklistHourEntrance_Page.Builder, tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.RanklistHourEntrance_PageOrBuilder>(
pages_,
... | Java |
/// it is destroyed.
unsafe fn destroy_sampler(&self, sampler: vk::Sampler);
}
impl SamplerFactory for Graphics {
/// Create a new sampler using the Graphics subsystem's logical device.
unsafe fn create_sampler(
&self,
debug_name: impl Into<String>,
sampler_create_info: vk::Sample... | Rust |
DataGridColumnName.OtherCost ||
e.ColumnIndex == (int)DataGridColumnName.SumTurnover)
{
ArrayList columns = new ArrayList();
columns.Add((int)DataGridColumnName.Value);
columns.Add((int)DataGridColumnName.Turnove... | C# |
*/
public class CombFilterTest
{
/**
* Main
* @param args CLAs
*/
public static void main( String[] args )
{
XuggleAudio xa = new XuggleAudio( CombFilterTest.class
.getResource("Devaney's_Goat_Solo_Tinwhistle.wav") );
System.out.println( xa.getFormat() );
}
}
/**
* Copyright (c) 2011, The Unive... | Java |
long 0x3e132f1a, 0x3db7e7d3, 0x3d320845, 0x3c84d3d4
.long 0x3bc477b7, 0x3b10d3da, 0x3a01601e, 0x388c1a3b
.long 0x3717b0da, 0x35a43bce, 0x338306c6, 0x00000000
.align 64
/* _sP0_lo */
.long 0x00000000, 0x3d6fb9c9, 0x3d8fc35f, 0x3daf9169
.long 0x3dcf49ab, 0x3deee849, 0x3e0f0ee8, 0x3e2e4984
.long 0x3e4d2f8e, 0x3e6b... | Assembly |
ps://github.com/QED-it/halo2</a> (in <cite>halo2</cite>)</li>
</ul>
</section>
<section id="references"><h2><span class="section-heading">References</span><span class="section-anchor"> <a rel="bookmark" href="#references"><img width="24" height="24" class="section-anchor" src="assets/images/... | HTML |
alc_total_value(base_value, home_value, furniture_value)
return math.floor(base_value + furniture_value + home_value / 3)
end
function Home.calc_rank(map)
local base_value = map:calc("home_rank_points") or 0
local home_value = math.clamp(0, Home.calc_total_home_value(map), 10000)
local furniture_value = ma... | Lua |
LOGE("playAiSound-%s", "play error!")
code = 1;
goto end;
}
while (playing) {
usleep(1000);
channel->isPlaying(&playing);
}
LOGI("playAiSound-%s", "play over!")
goto end;
end:
if (path_jstr != NULL) {
mEnv->ReleaseStringUTFChars(path_jstr, path_cstr)... | C++ |
++) {
expect(lunar.next(i).toFullString(),
solar.next(i).getLunar().toFullString());
}
});
test('test27', () {
Solar solar = Solar.fromYmd(1989, 4, 28);
Lunar lunar = solar.getLunar();
expect(lunar.getDay(), 23);
});
test('test28', () {
Solar solar = Solar.fromYmd(1990, 10,... | Dart |
LSE;
final String DASHBOARD_PORTLETS = "|portlet1|portlet2|portlet3";
final String EXPECTED_RESULT = "|portlet1|portlet2|portlet3";
final Boolean EXPECTED_TO_UPDATE = Boolean.FALSE;
testAddPortletToDashboard(DASHBOARD_ID, PORTLET_NAME, IS_PORTLET_WIDE,
DASHBOARD_PORTLETS, EXPECTED_RESULT, EXPECTED_TO_UPDAT... | Java |
`. Returns the Basic element type value directly
*/
get(index: number): ValueOf<ElementType> {
// First walk through the tree to get the root node for that index
const chunkIndex = Math.floor(index / this.type.itemsPerChunk);
const leafNode = this.tree.getNodeAtDepth(this.type.depth, chunkIndex) as Lea... | Typescript |
from web3 import Web3
w3 = Web3()
| Python |
an 界面。
5. 在 This job has not been run 消息框中,点击 Run,然后快速点击右下角出现的 OPEN 链接,观察 Jenkins 运行你的流水线项目。如果你不能点击 OPEN 链接,点击 Blue Ocean 主界面的这一行来使用这一特性。
**注意**:你可能需要几分钟时间等待第一次运行完成。在 clone 了你的本地 jenkins-android-sample Git 仓库后,Jenkins 接下来做了以下动作,构建过程如图所示:
- 将项目排入队列等待在 agent 上运行。
- 下载 jenkins-android Docker 镜像,并且将其运行在 Dock... | Markdown |
alabasnia>
if ((dwWidth == 0) || (dwHeight == 0)){
strcpy(info.szLastError,"CxImage::Create : width and height must be greater than zero");
return NULL;
}
// Make sure bits per pixel is valid
if (wBpp <= 1) wBpp = 1;
else if (wBpp <= 4) wBpp = 4;
else if (wBpp <= 8) wBpp = 8;
else wBpp = ... | C++ |
import sqlalchemy
import datetime
from sqlalchemy import orm
from sqlalchemy_serializer import SerializerMixin
from .db_session import SqlAlchemyBase
# Таблица для хранения содержимого письма(feedback).
class Letter(SqlAlchemyBase, SerializerMixin):
__tablename__ = 'letters'
id = sqlalchemy.Column(sqlalchemy... | Python |
db.migrate(path = dir.toString(), table = table).getOrThrow()
write(
dir = dir,
name = "1_create.sql",
content = "create table if not exists t_users (id serial primary key, name text not null); -- changed\n"
)
val res = db.migrate(pat... | Kotlin |
arType.string,
),
r'subject': PropertySchema(
id: 4,
name: r'subject',
type: IsarType.string,
),
r'transaction_amount': PropertySchema(
id: 5,
name: r'transaction_amount',
type: IsarType.object,
target: r'Money',
),
r'transaction_code': PropertySchema(
... | Dart |
using Rampastring.Updater;
using System;
using System.IO;
using System.Threading;
namespace MapEditorLauncher
{
/// <summary>
/// Handles checking for updates and performing them.
/// </summary>
public class UpdaterLink
{
public UpdaterLink()
{
buildHandler = new BuildH... | C# |
\022\t\n"
+ "\005ERROR\020\007\";\n"
+ "\004Tier\022\024\n"
+ "\020TIER_UNSPECIFIED\020\000\022\r\n"
+ "\tDEVELOPER\020\001\022\016\n\n"
+ "ENTERPRISE\020\003\"I\n"
+ "\016ReleaseChannel\022\037\n"
+ "\033RELEASE_CHANNEL_UNSPECIFIED\020\000\022\n\n"
... | Java |
, _RK, 1);
_1r = yyfplus(_1r, _HT);
}
}
}
function _tc(_3l, _4l) {
_DS(_3l, _4l);
}
function _uc(_3l, _4l) {
_YK(0);
_3l._WU = _dT("I");
_3l._XU = _el(_0m(_3l, _4l, 42)._hp);
_3l._YU = yyfplus(_sl(yyftime(_sl(_sl(-_sl(_3l._XU))), _sl(_3l._WU))), _sl(_3l._Vs()));
}
function _v... | JavaScript |
scribedError;this.isStopped=!0;for(var t=this.observers,r=t.length,e=t.slice(),s=0;s<r;s++)e[s].complete();this.observers.length=0},r.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},r.prototype._trySubscribe=function(r){if(this.closed)throw new c.ObjectUnsubscribedError;return t.p... | CSS |
.width = canvas.offsetWidth;
var h = canvas.height = canvas.offsetHeight;
var circles = [];
var current_circle = new currentCirle(0, 0);
var draw = function draw() {
ctx.clearRect(0, 0, w, h);
for (var i = 0; i < circles.length; i++) {
circles[i].move(w, h);
... | HTML |
n.infoBits);
if (difference < bestDifference) {
bestVersion = version;
bestDifference = difference;
}
}
// We can tolerate up to 3 bits of error since no two version info codewords will
// differ in less than 8 bits.
if (bestDifference <= 3) {
return bestV... | JavaScript |
DefinitionNode[] = []
): JSONDocumentNode => ({
kind: 'Document',
definitions: [operationDefinition, ...fragments],
});
// DocumentNode Location instances have a toJSON on them. That means that by
// default, when JSON.stringify is called, is will call that method. That ends
// up stripping out data like loc.body.... | Typescript |
s));
active = 1;
if (isBG) {
background_servers = ss;
backgroundServerLoop();
/* FIXME: return something more useful for control? */
return ScalarLogical(TRUE);
}
Rprintf("%s", "(This session will block until Rserve is shut down)\n");
serverLoop();
restore_signal_handlers();
release_server_stack(ss)... | C |
target: "QueryResponse".into()
})
}
}
}
#[derive(Debug, Eq, PartialEq, Clone)]
pub struct SetDeviceIdResponse {
// 2-byte device ID
device: u16
}
impl ResponseParser for SetDeviceIdResponse {
fn parse(mut buf: &[u8]) -> Resp {
buf.advance(6); // bytes 3-5 are reserved
Resp::SetDevic... | Rust |
e a scenario where all data-bearing nodes are down simultaneously. In such a
// scenario, none of the members will have any data, and upon restart will each look for a member to
// inital sync from, so no primary will be elected. This test induces such a scenario, so cannot be
// run on ephemeral storage engines.
// @t... | JavaScript |
confirm_timer.start()
if confirm_timer.reached() and self.appear_then_click(PLAY_HIGHLIGHTS, offset=30, interval=1):
continue
else:
confirm_timer.clear()
def switch_to_next(self):
logger.info('Switch to next nikke')
s... | Python |
;white-space:nowrap" class="ft02">0H</p>
<p style="position:absolute;top:744px;left:75px;white-space:nowrap" class="ft02">IA32_BNDCFGS</p>
<p style="position:absolute;top:744px;left:257px;white-space:nowrap" class="ft02">0H</p>
<p style="position:absolute;top:744px;left:451px;white-space:nowrap" class="ft02">0H</p>
<p ... | HTML |
rl, requireLogin } from "../utils/request";
export const miniProgramAppID = uni.getAccountInfoSync
? uni.getAccountInfoSync().miniProgram.appId
: "";
export function getUserInfo(loginParam) {
return request({
url: "/api/user/info",
method: "GET",
preventLoading: true,
loginParam,
});
}
// 微信小程... | JavaScript |
<h2 id="ft_glyphslot">FT_GlyphSlot<a class="headerlink" href="#ft_glyphslot" title="Permanent link">¶</a></h2>
<p>Defined in FT_FREETYPE_H (freetype/freetype.h).</p>
<div class = "codehilite"><pre><code> <span class="keyword">typedef</span> <span class="keyword">struct</span> FT_GlyphSlotRec_* <b>FT_GlyphSlot</b... | HTML |
:-webkit-gradient(linear,left top,left bottom,from(#fcf8e3),to(#faf2cc));background-image:linear-gradient(to bottom,#fcf8e3 0,#faf2cc 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0);background-repeat:repeat-x}.panel-danger>.panel-heading{backgr... | CSS |
Reg<chstatus::CHSTATUS_SPEC>;
#[doc = "Channel %s status register"]
pub mod chstatus;
#[doc = "CHADDR register accessor: an alias for `Reg<CHADDR_SPEC>`"]
pub type CHADDR = crate::Reg<chaddr::CHADDR_SPEC>;
#[doc = "Channel %s address register"]
pub mod chaddr;
#[doc = "INT_RAW register accessor: an alias for `Reg<INT_R... | Rust |
person in skateboarding gear at a skatepark, with a small ocean habitat above their head.
```
## Customization
If the input file has a different name or is located in another directory, modify the `input_file` variable in the Python script to specify its path.
## Troubleshooting
- **"Python not found" Error:** Ens... | Markdown |
0.0f * Math.PI.toFloat()
// first calculate the total rotation quaternion to be applied to the camera
val yawQ = Quaternionf().rotateXYZ(0.0f, frameYaw, 0.0f).normalize()
val pitchQ = Quaternionf().rotateXYZ(framePitch, 0.0f, 0.0f).normalize()
node.ifSpatial {
val distance ... | Kotlin |
t(PropertiesConstant.DEVICE_GRAPH_LINE_MAX_KEY + "." + num));
}
}
boolean trimFlg = false;
int first = 0;
if ((m_propertiesMap.get(PropertiesConstant.DEVICE_TRIM_PREFIX_KEY + "." + num) != null)
&& !m_propertiesMap.get(PropertiesConstant.DEVICE_TRIM_PREFIX_KEY + "." + num).isEmpty()) {
... | Java |
ble_float[fmt_idx][n]);
else
value_changed |= DragInt(ids[n], &i[n], 1.0f, 0, hdr ? 0 : 255, fmt_table_int[fmt_idx][n]);
if (!(flags & ImGuiColorEditFlags_NoOptions))
OpenPopupOnItemClick("context");
}
PopItemWidth();
PopItemWidth();
}
else if ((flags & ImGuiColorEditFlags_HEX) != 0 && (flags & Im... | C++ |
its=m +no_defs" },
{ id: 2341, name: "高斯大地坐标系_西安80_16带6_北", type: 1, strProject: "+proj=tmerc +lat_0=0 +lon_0=93 +k=1 +x_0=500000 +y_0=0 +a=6378140 +b=6356755.288157528 +units=m +no_defs" },
{ id: 2340, name: "高斯大地坐标系_西安80_15带6_北", type: 1, strProject: "+proj=tmerc +lat_0=0 +lon_0=87 +k=1 +x_0=500000 +y... | JavaScript |
## 151. `Чем отличается агрегация от композиции?`
Агрегация и композиция - это два разных подхода к организации классов и объектов в объектно-ориентированном программировании.
`Композиция` - это отношение, при котором один объект состоит из других объектов. Объект, который содержит другие объекты, называется контейне... | Markdown |
SummaryStatusLocked,
"locked_timed": UserSummaryStatusLockedTimed,
"expired_and_locked": UserSummaryStatusExpiredAndLocked,
"expired_grace_and_locked": UserSummaryStatusExpiredGraceAndLocked,
"expired_and_locked_timed": UserSummaryStatusExpiredAndLockedT... | Go |
t generateTriplePalletCinderBlockStepsUpAndDown()
{
RealisticLabTerrainBuilder builder = new RealisticLabTerrainBuilder(true);
builder.addGround(20.0);
builder.pushOffset(1.5, -0.5);
builder.addMediumCinderBlockGroup(5);
builder.pushOffset(MEDIUM_CINDER_BLOCK_LENGTH, 0.0);
bui... | Java |
ode = info.border_mode;
_constant_border_value = info.constant_border_value;
_align_corners = info.align_corners;
if (info.sampling_policy == SamplingPolicy::CENTER)
{
_sampling_offset = 0.5f;
}
// Compute the ratio between source width/height and destination width/he... | C++ |
f (res >= 0 || isSocketErrNoResources0(res) == 0)
return false;
Runtime runtime = Runtime.getRuntime();
runtime.gc();
runtime.runFinalization();
return true;
}
private static void checkIOSockResCode(int res)
throws IOException
{
checkSocketResCode(res);
}
private static void checkSocketResCode(int... | Java |
0;
width: 0;
margin: 0;
border: 0;
padding: 0;
overflow: hidden;
position: absolute;
}
.wp-core-ui br.clear {
height: 2px;
line-height: 0.15;
}
.wp-core-ui .checkbox {
border: none;
margin: 0;
padding: 0;
}
.wp-core-ui fieldset {
border: 0;
padding: 0;
margin: 0;
}
.wp-core-ui .post-categor... | CSS |
* @type {WebComponent}
*/
private entryPoint;
/**
* @type {string}
*/
private configEntryPoint;
/**
* @type string
*/
private label;
/**
* @type Array<string>
*/
private autoloads;
/**
* @type Array<string>
*/
private autoloadsWc;
/... | Typescript |
_ss_sel & 0xfffc)
switch (n_ss_desc.Type()) {
case DESC_DATA_EU_RW_NA: case DESC_DATA_EU_RW_A:
case DESC_DATA_ED_RW_NA: case DESC_DATA_ED_RW_A:
// writable data segment
break;
default:
E_Exit("Call:Gate:SS no writable data segment"); // or #TS(ss_sel)
}
CPU_CH... | C++ |
45.5q0-52-38.5-99t-96-77-122.5-42l.5-2.5.5-3.5q0-26-19-45t-45.5-19-45 19-18.5 45v5q-49 7-93 25.5t-81.5 48-59.5 75.5-22 102q0 94 86 143t234 49h71l38.5 1.5 35 6 24.5 11 18 18 5 27.5q0 66-53 97t-139 31q-87 0-139.5-23t-52.5-73q0-26-19-45t-45.5-19-45 19-18.5 45q0 52 38 99t96 77 122 42v6q0 27 18.5 45.5t45 18.5 45.5-18.5 19-4... | Dart |
end()
// }
// }
//
// override fun buildCommandBuffers() {
//
// val cmdBufInfo = vk.CommandBufferBeginInfo()
//
// val clearValues = vk.ClearValue(2).also {
// it[0].color(defaultClearColor)
// it[1].depthStencil(1f, 0)
// }
// val renderPassBeginInfo = v... | Kotlin |
framesDirty)
this.updateFrames();
return this._nextGeometry;
}
/**
* 创建VertexClipState实例
* @param animator 动画
* @param vertexClipNode 顶点动画节点
*/
constructor(animator:AnimatorBase, vertexClipNode:VertexClipNode)
{
super(animator, vertexClipNode);
this._vertexClipNode = vertexClipNo... | Typescript |
html#method.flatten
/// [`Iterator`]: trait.Iterator.html
#[must_use = "iterator adaptors are lazy and do nothing unless consumed"]
#[stable(feature = "iterator_flatten", since = "1.29")]
pub struct Flatten<I: Iterator>
where I::Item: IntoIterator {
inner: FlattenCompat<I, <I::Item as IntoIterator>::IntoIter>,
}
#... | Rust |
se
elseif key_value == 65293 or key_value == 65421 then -- <Enter>, <KP_Enter>
local ret
if running then
local txt
if match == nil then
txt = search
ret = hexchat.EAT_XCHAT
else
txt = match
ret = hexchat.EAT_NONE
end
hexchat.command("settext " .. txt)
hexchat.command("setcursor "... | Lua |
line-icon__svg">
<path d="M3.4 20.2L9 14.5 7.5 13l-5.7 5.6L1 14H0v7.5l.5.5H8v-1l-4.6-.8M18.7 1.9L13 7.6 14.4 9l5.7-5.7.5 4.7h1.2V.6l-.5-.5H14v1.2l4.7.6"></path></svg></span></a>
</figure>
<p>
The Ngāt... | HTML |
(const InitRelayRequest&, DeferredInitRelayResponse, int fd = -1);
using DeferredSyncClockResponse = ::perfetto::ipc::Deferred<SyncClockResponse>;
void SyncClock(const SyncClockRequest&, DeferredSyncClockResponse, int fd = -1);
};
} // namespace perfetto
} // namespace protos
} // namespace gen
#endif // PE... | C++ |
IEC Object Identifier (OID) ^j as defined in ITU X.660, @9 @g @2 BER/DER @J/^4 as well as heapless no_std (i.e. $J) @g","0.10.0-rc.3"],"jack":["Real ^7 audio @6 midi @9 JACK.",C[37]],"bevy_xpbd_3d":["Deprecated, &x `avian3d` &2. A physics $1 @w on Extended Position Based Dynamics @2 @7 Bevy game $1",C[8]],"indextree_@8... | JavaScript |
import pinocchio as pin
import numpy as np
import mujoco
from mujoco import viewer
def main():
# 加载 Pinocchio 模型(URDF)
urdf_path = "../../Kinova_description/urdf/Kinova_description.urdf"
model = pin.buildModelFromUrdf(urdf_path)
data = model.createData()
# 加载 Mujoco 模型(MJCF)
mjcf_path = "../..... | Python |
sertTrue(barprox instanceof HibernateProxy);
baz = (Baz) s.load(Baz.class, id);
Iterator i = baz.getCascadingBars().iterator();
BarProxy b1 = (BarProxy) i.next();
BarProxy b2 = (BarProxy) i.next();
assertTrue( ( b1==barprox && !(b2 instanceof HibernateProxy) ) || ( b2==barprox && !(b1 instanceof HibernateProx... | Java |
return Err(Error::SysError(SysErr::EINTR));
//return NansleepFor(task, self.dur, self.rem)
}
}
pub fn SysGettimeofday(task: &mut Task, args: &SyscallArguments) -> Result<i64> {
let tvAddr = args.arg0 as u64;
let tzAddr = args.arg1 as u64;
let mut timeV = Timeval::default();
let mut time... | Rust |
p-post-image" alt="" decoding="async" loading="lazy" srcset="https://cpe.org.uk/wp-content/uploads/2014/01/Drug-Tariff-slide.jpg 528w, https://cpe.org.uk/wp-content/uploads/2014/01/Drug-Tariff-slide-250x123.jpg 250w, https://cpe.org.uk/wp-content/uploads/2014/01/Drug-Tariff-slide-120x59.jpg 120w" sizes="(max-width: 528... | HTML |
/* pthread_attr_getscope. Generic version.
Copyright (C) 2002-2024 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library 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 Softwa... | C |
the event name for startEditing.
*/
START_EDITING: 'startEditing',
/**
* Variable: EDITING_STARTED
*
* Specifies the event name for editingStarted.
*/
EDITING_STARTED: 'editingStarted',
/**
* Variable: EDITING_STOPPED
*
* Specifies the event name for editingStopped.
*/
EDITING_STOPPED... | Typescript |
N must be at least zero.
</PRE>
<PRE>
NB (global input) const int
On entry, NB specifies the blocking factor used to partition
and distribute the matrix A. NB must be larger than one.
</PRE>
<PRE>
A (local output) double *
On entry, A points ... | HTML |
ns:\n1. Save this script to a file, for example `check_checksums.py`.\n2. Make sure you have a directory named `files` in the same location as the script, or change the `directory` variable to the path of your target directory.\n3. Ensure your `checksum.txt` file is in the same location as the script and follows this f... | HTML |
write .md-alert-note li:before{color:var(--ac-bu)}#write .md-alert-tip{background:linear-gradient(180deg,var(--ac-gn)2.625em,var(--ac-gn-a)2.625em,var(--ac-gn-fd));border:2px solid var(--ac-gn-lg)}#write .md-alert-tip :is(blockquote,details){background:var(--d-bc)}#write :is(blockquote,details) .md-alert-tip{border-rad... | CSS |
]);
}
}
/*
* Now finally lock the pvlists.
*/
mutex_spin_enter(lock);
/*
* If the locker will be changing the list, increment the high 16 bits
* of attrs so we use that as a generation number.
*/
gen = VM_PAGEMD_PVLIST_GEN(mdpg); /* get old value */
if (list_change)
atomic_add_int(&mdpg->mdpg_att... | C |
//------------------------------------------------------------------
//
// @@@ START COPYRIGHT @@@
//
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. ... | C |
ate val wikiReferenceNote =
"Refer to https://github.com/oppia/oppia-android/wiki/Static-Analysis-Checks" +
"#todo-issue-resolved-check for more details on how to fix this."
@field:[Rule JvmField] val tempFolder = TemporaryFolder()
@Before
fun setUp() {
tempFolder.newFolder("testfiles")
System... | Kotlin |
DbHelper {
final String _tableName = "Bookshelf";
Database _db = null;
Future<Database> get db async {
if (_db != null) return _db;
_db = await _initDb();
return _db;
}
//初始化数据库
_initDb() async {
Directory documentsDirectory = await getApplicationDocumentsDirectory();
String path = j... | Dart |
.6
> 1.修复group_concat函数默认长度为1024导致数据被截断问题
> 2.处理调用cmd.Start()导致产生僵尸进程的问题
##### Version 1.16.5
> 1.go command add cmd.Wait().
> 2.commented activeWarning func code.
##### Version 1.16.4
> 1.ut增加原始覆盖数据文件处理
> 2.ut企业微信和Git报告增加行数相关信息
> 3.修复databus生产group申请冲突问题
##### Version 1.16.3
> 1.ecode增加告警级别和繁体信息字段
##### V... | Markdown |
{
compilations.all {
kotlinOptions {
jvmTarget = "${JavaVersion.VERSION_11}"
freeCompilerArgs += "-Xjdk-release=${JavaVersion.VERSION_11}"
}
}
}
}
android {
namespace = "com.maxkeppeler.sheets.test"
defaultConfig {
compileSdk ... | Kotlin |
&str = r#"---
rx_max_frames: 60"#;
const EXPECTED_ETHTOOL_LINK_MODE: &str = r#"---
auto_negotiate: false
ours: []
speed: 10
duplex: full"#;
#[test]
fn test_get_ethtool_coalesce_yaml() {
with_tun_iface(|| {
let state = NetState::retrieve().unwrap();
let iface = &state.ifaces[IFACE_TUN_NAME];
... | Rust |
mazon.com/images/G/01/B2B/MSP_sprite_standard._V279850476_.png) no-repeat top left;float:left;margin-right:1px;margin-top:-4px;margin-bottom:auto;width:26px;height:26px}.save-unsave-suppliers-section .seller-box-column{width:500px}.save-supplier-section,.unsave-supplier-section{cursor:pointer}.save-supplier-section:hov... | HTML |
\t\tif ( !matched ) {\n\t\t\tbreak;\n\t\t}\n\t}\n\n\t// Return the length of the invalid excess\n\t// if we're just parsing\n\t// Otherwise, throw an error or return tokens\n\treturn parseOnly ?\n\t\tsoFar.length :\n\t\tsoFar ?\n\t\t\tSizzle.error( selector ) :\n\n\t\t\t// Cache the tokens\n\t\t\ttokenCache( selector, ... | JavaScript |
过劳动竞赛,动员社员积极地提高劳动效率和生产技术,克服生产当中所发生的各种困难,完成和超额完成生产计划。
</p>
<p>
对于在劳动竞赛当中的先进单位或者个人,合作社应该给以奖励。
</p>
<p>
第三十七条 农业生产合作社在劳动管理上要建立检查和验收的制度。管理委员会和各个生产队队长要及时地和深入地检查各队和各人是不是按照规定的数量,质量和时间完成任务。对于没有按照规定完成任务的生产队或者个人,可以要求重做或者斟酌情形扣减劳动日。
</p>
<p>
第三十八条 农业生产合作社社员必须遵守以下的劳动纪律:
</p>
<p>
(一)不无故旷工。
</p>
<p>
... | HTML |
s}{childElCls} {glyphCls}" style="<tpl if="icon">background-image:url({icon});</tpl><tpl if="glyph && glyphFontFamily">font-family:{glyphFontFamily};</tpl>"><tpl if="glyph">&#{glyph};</tpl></div></tpl><tpl if="showCheckbox"><div role="presentation" id="{id}-checkEl" data-ref="checkEl" class="{baseIconCls}-{ui} {baseIco... | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.