content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
, _p.setSpeedVar);
/** @expose */
_p.tangentialAccel;
cc.defineGetterSetter(_p, "tangentialAccel", _p.getTangentialAccel, _p.setTangentialAccel);
/** @expose */
_p.tangentialAccelVar;
cc.defineGetterSetter(_p, "tangentialAccelVar", _p.getTangentialAccelVar, _p.setTangentialAccelVar);
/** @expose */
_p.radialAccel;
cc.d... | JavaScript |
<X, Y> {}
class C1<X extends X Function(Y), Y extends X Function(Y)> {}
C1 c1 = throw '';
class C2<X extends X Function(Y), Y extends Y Function(X)> {}
C2 c2 = throw '';
class C3<X extends X Function(X, Y), Y extends X Function(X, Y)> {}
C3 c3 = throw '';
class C4<X extends X Function(X, Y), Y extends Y Function... | Dart |
constexpr System::Int8 AbVMSErrorOpenSwap = System::Int8(0x66);
static constexpr System::Int8 AbVMSSeekFail = System::Int8(0x67);
static constexpr System::Int8 AbVMSReadFail = System::Int8(0x68);
static constexpr System::Int8 AbVMSWriteFail = System::Int8(0x69);
static constexpr System::Int8 AbVMSWriteTooManyBytes = S... | C++ |
h='16' height='17' viewBox='0 0 16 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M14.7899 14.1787L8.5846 2.84533C8.45794 2.61533 8.2286 2.5 8.0006 2.5C7.77127 2.5 7.5426 2.61533 7.41594 2.84533L1.2106 14.1787C0.965936 14.6227 1.28727 15.1667 1.7946 15.1667H14.20... | HTML |
turn_q(t)
temp[6]=vsop87_large.saturn_p(t)
return temp;
end
function vsop87_large.getUranus(t)
local temp={0.0, 0.0, 0.0, 0.0, 0.0, 0.0}
temp[1]=vsop87_large.uranus_a(t)
temp[2]=vsop87_large.uranus_l(t)
temp[3]=vsop87_large.uranus_k(t)
temp[4]=vsop87_large.uranus_h(t)
temp[5]=vsop87_large.uran... | Lua |
2686221755d54021579e77.jpg");
adDomain2.setAd(false);
adList.add(adDomain2);
AdDomain adDomain3 = new AdDomain();
adDomain3.setId("10000071");
adDomain3.setDate("3月6日");
adDomain3.setTitle("骑自行车锻炼注意事项");
adDomain3.setTopicFrom("旭东");
adDomain3.setTopic("骑... | Java |
HEAPS_NUMA),
};
let draw_signature = Self::create_command_signature(
&mut device,
device::CommandSignature::Draw,
);
let draw_indexed_signature = Self::create_command_signature(
&mut device,
device::CommandSignature::DrawIndexed,
... | Rust |
�♂️",
"male-construction-worker",
new []{ "male-construction-worker"},
null,
null,
"Smileys & People",
22,
25,
SkinVariationType.Medium,
"man construction worker",
new []{ "construction", "hat", "worker", "man"});
/// <summary>
/// <see cref="Emoji"/> for `:male-construction-worker::sk... | C# |
string[]): void {
if (left === right) {
sb.push(this._ones[root] === 1 ? '1' : '0')
return
}
this._pushDown(root, left, right)
const mid = (left + right) >>> 1
this._toString(root << 1, left, mid, sb)
this._toString((root << 1) | 1, mid + 1, right, sb)
}
private _buil... | Typescript |
ponse that you want Amazon Lex to use to invoke your Lambda function.
/// </summary>
[Input("codeHookInterfaceVersion", required: true)]
public Input<string> CodeHookInterfaceVersion { get; set; } = null!;
/// <summary>
/// The Amazon Resource Name (ARN) of the Lambda function.
... | C# |
, .L1638+4
ldr r0, .L1638+8
bl printk
.L1621:
ldrh r3, [r4, #30]
mov r7, #0
ldr r5, .L1638+12
ldr r9, .L1638+16
ldr r6, .L1638+20
strh r3, [r5, #2] @ movhi
ldrb r1, [r4, #16] @ zero_extendqisi2
add r8, r9, #6
ldrh r0, [r4, #14]
mov r10, r8
strb r7, [r5, #1109]
bl __aeabi_idiv
mov r2, #8
strh r0, [r6, #-... | Assembly |
bytes memory params
455: ) public view virtual override returns (uint256) {
```
[File:Governor.sol#L487](https://github.com/0xKitsune/sstan/blob/main/bin/scope/2023-10-wildcat/lib/sol-utils/lib/openzeppelin-contracts/contracts/governance/Governor.sol#L487)
```solidity
486: bytes memory params
487: ) ... | Markdown |
E', -1, 64)
case string:
v.strVal = v.rvalue.String()
case bool:
if v.rvalue.Bool() {
v.strVal = "true"
} else {
v.strVal = "false"
}
case time.Time:
v.strVal = v.ivalue.(time.Time).String()
}
}
func (v *Value) castBool() {
switch v.ivalue.(type) {
case int, int8, int16, int32, int64:
if v.rval... | Go |
, %o5
ldx [%o5], %l6
! move %l6(upper) -> %o1(lower)
srlx %l6, 32, %l7
or %l7, %o1, %o1
! move %l6(lower) -> %o2(upper)
sllx %l6, 32, %o2
mov %l6, %l7
mov %l4, %l6
casx [%o5], %l7, %l6
! move %l6(upper) -> %o2(lower)
srlx %l6, 32, %o5
or %o5, %o2, %o2
! move %l6(lower) -> %o3(upper)
sllx %l6, 32, %o3
add %l4, 1, %l4
... | Assembly |
_cast<char**>(args.begin()))) {
auto plugin = app->find_plugin<http_plugin>();
std::atomic<bool>& listening_or_failed = plugin->listening();
app_thread = std::thread([&]() {
try {
app->startup();
app->exec();
} catch... | C++ |
483074 L21.3604848,10.6099886 C20.2923667,9.71530351 19.5522236,7.87818322 19.6992469,6.49720154 L19.6778846,6.69448464 C19.8249079,5.30847665 18.8221335,4.2944164 17.4386063,4.41630468 L17.635894,4.39871256 C16.248597,4.52185742 14.4252565,3.74529084 13.5531695,2.66588842 L13.6775738,2.81919121 C12.8017169,1.73601905 ... | HTML |
of-static">
The Magic of Static
<a class="anchor" href="#the-magic-of-static">#</a>
</h4>
<p>Hugo does two things when generating the site. It uses templates to transform content into HTML and it copies static files into the site. Unlike content, static files are not transformed. They are copied exactly as they are... | HTML |
.WithPrefix())
if err != nil {
return nil, err
}
fieldBinlogs := make([]*datapb.FieldBinlog, 0, len(resp.Kvs))
for _, kv := range resp.Kvs {
info := &datapb.FieldBinlog{}
err = proto.Unmarshal(kv.Value, info)
if err != nil {
return nil, err
}
fieldBinlogs = append(fieldBinlogs, info)
}
... | Go |
?.3:.1,A,L;l&&t._splomGridDflt&&(A=t._splomGridDflt.xside,L=t._splomGridDflt.yside),f._domains={x:ome("x",h,C,A,v),y:ome("y",h,E,L,d,p)}}function ome(e,t,r,n,i,a){var o=t(e+"gap",r),s=t("domain."+e);t(e+"side",n);for(var l=new Array(i),u=s[0],c=(s[1]-u)/(i-o),f=c*(1-o),h=0;h<i;h++){var d=u+c*h;l[a?i-1-h:h]=[d,d+f]}retu... | HTML |
+ ".\n";
ASSERT(i != std::string::npos && j != std::string::npos && i + key.size() + 1 < j) << error;
i += key.size();
i += 1; // skip '('
j -= 1; // skip ')'
std::vector<std::string> strings = string_split("; ", s.substr(i, j - i + 1));
ASSERT(strings.size() == 5U);
int merge = std::stoi(strings[0]);
... | C++ |
/**
* @file lv_test_sw.c
*
*/
/*********************
* INCLUDES
*********************/
#include <stdio.h> /*For printf in the action*/
#include "lv_test_sw.h"
#if USE_LV_SW && USE_LV_TESTS
/*********************
* DEFINES
*********************/
/**********************
* TYPEDEFS
***********... | C |
return _localctx;
}
//----------------- SimpleTypeSignednessModifierContext ------------------------------------------------------------------
CPP14Parser::SimpleTypeSignednessModifierContext::SimpleTypeSignednessModifierContext(ParserRuleContext *parent, size_t invokingState)
: ParserRuleContext(parent, invoking... | C++ |
{
0,
0,
false,
0
}
},
float_items = {
{
4,
3,
"1x1_1baowu",
0,
0
},
{
2,
6,
"2x2_1baowu",
117,
-26
},
{
0,
1,
"1x3_1baowu",
0,
10
}
},
ambush_event_ratio = {},
ambush_ratio_extra = {
{
-20000
}
},
th... | Lua |
# !/usr/bin/python
# encoding: utf-8
# author: zhangtong
"""
海康视频转接平台
"""
import time
import os
import itertools
import random
import socket
import threading
import multiprocessing
# import pymysql
from h264 import main
ip_haikang = '' # 海康端口IP信息18062904141310236235
device_dict = {
# '5... | Python |
['минут', 'минуте', 'минута'],\n h: ['један сат', 'једног сата'],\n hh: ['сат', 'сата', 'сати'],\n dd: ['дан', 'дана', 'дана'],\n MM: ['месец', 'месеца', 'месеци'],\n yy: ['година', 'године', 'година']\n },\n correctGrammaticalCase: function (number, wordKey) {\n return ... | JavaScript |
i</b> language.
*/
SOMALI("som", "so", "Somali"),
/**
* International key, to use for localization, for <b>South Ndebele</b> language.
*/
SOUTH_NDEBELE("nbl", "nr", "South Ndebele"),
/**
* International key, to use for localization, for <b>Southern Sami</b> language.
*/
SOUTHERN_SAMI("sma", "Southern S... | Java |
;if(i<s&&ro(o,n.PATTERN)){var f="Token: ->"+c.name+`<- can never be matched.
`+("Because it appears AFTER the Token Type ->"+n.name+"<-")+`in the lexer's definition.
See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNREACHABLE`;e.push({message:f,type:F.LexerDefinitionErrorType.UNREACHABLE_PATTERN,tokenT... | JavaScript |
P Orgrimmar|ACTIVE|49613|M|55.45,24.26|Z|627|N|Take the portal to Orgrimmar|
P Off To Silverman City|ACTIVE|49613|M|56.25,88.53|Z|85|N|Take the portal to Silvermoon City|
T Silvermoon City|QID|49613|M|58.11,19.83|Z|Silvermoon City|N|To Lady Liadrin.|
A Remember the Sunwell|QID|49354|PRE|49613|M|58.11,19.83|Z|Silvermoon... | Lua |
navigate(FORWARD) {
it.push(NavigationEvent(journey1, ShowTransition()))
it.first()!!.magellanTransition
}
val didNavigate = linearNavigator.backPressed()
assertThat(didNavigate).isFalse()
assertThat(linearNavigator.backStack.size).isEqualTo(1)
assertThat(linearNavigator.backStack.firs... | Kotlin |
2-16 11:30 </td><td align="right">8.8M</td><td> </td></tr>
<tr><td valign="top"><img src="/icons/compressed.gif" alt="[ ]"></td><td><a href="cmake-3.15.6.zip">cmake-3.15.6.zip</a></td><td align="right">2019-12-16 11:30 </td><td align="right"> 15M</td><td> </td></tr>
<tr><th colspan="5"><hr></th></tr>
<... | HTML |
b7f4b7d841e8eec49673feb"> 402</a></span>  <span class="keyword">using</span> <a class="code" href="structcutlass_1_1gemm_1_1threadblock_1_1DefaultMmaCore_3_01Shape___00_01WarpShape___00_01GemmShab7edfba3cdf43a07e3c4d719d87565a4.html#a13d39220bb7f4b7d841e8eec49673feb">OperatorClass</a> = arch::OpClassTensorOp;</d... | HTML |
nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A
HREF="../../javax/management/StandardMBean.html#getParameterName(javax.management.MBeanConstructorInfo, javax.management.MBeanParameterInfo, int)">getParameterName</A></B>(<A
HREF="../../javax/management/MBeanConstructorInfo.html" titl... | HTML |
- write your test cases by mocking the event using `mockHttpEvent` to contain the information you want to give the handler
- invoke the handler with the mocked event
- extract the result body
- test that the values match what you expect
The boilerplate steps are generated automatically for you by the function genera... | Markdown |
ssageType: SyslogMessageType, message: string): void
{
SyslogLib.logEntry(`${String(messageType)} ${message}`);
}
export function logError(message: string): void;
export function logError(error: Error, catchMessage?: string): void;
export function logError
(
errorOrMessage: string | Error,
catc... | Typescript |
code; use the
* standard acquire and release semantics for that.
* </p>
* @return A new Java object.
*/
virtual RefCounted* copyReference();
#endif // ! SWIG
/**
* Return the current reference count on this object.
*
* The number returned represents the value at the instant
... | C |
uetooth_disconnect: error: closing socket %lli is not open!\n", socket);
sp = stpushi (1, sp, sp_bottom); // return number of characteristic entries for bluetooth_get_characteristic()
if (sp == NULL)
{
// error
printf ("bluetooth_disconnect: ERROR: stack corrupt!\n");
... | C |
)).Should(Succeed())
}
}
}
func (c *TensorFusionEnv) getPoolName(poolIndex int) string {
return fmt.Sprintf("%s-pool-%d", c.clusterKey.Name, poolIndex)
}
func (c *TensorFusionEnv) getNodeName(poolIndex int, nodeIndex int) string {
return fmt.Sprintf("%s-pool-%d-node-%d", c.clusterKey.Name, poolIndex, nodeIndex)
... | Go |
-bar__icon-button.control-button [aria-label="Volume medium"] {
width:20px;}
.volume-bar__icon-button.control-button [aria-label="Volume low"] path{
d: path('M 25.65234375,2.943359375 C 26.51171875,2.943359375 26.94140625,3.587890625 26.94140625,4.404296875 L 26.94140625,38.392578125 C 26.94140625,39.208984375 26.... | CSS |
sizeof(TP_BASIC_MESSAGE_HEADER) + sizeof(HRESULT));
response->MarshalLong(TP_DUMMY_VALUE_FILLED_IN_LATER); // message length
response->MarshalLong(TP_DUMMY_VALUE_FILLED_IN_LATER); // invoke id
response->MarshalLong(TP_DUMMY_VALUE_FILLED_IN_LATER); // object id
response->MarshalShort(interfaceId... | C++ |
MP7]], ptr [[DOTOMP_UB]], align 4
// CHECK11-NEXT: [[TMP8:%.*]] = load i32, ptr [[DOTPREVIOUS_LB__ADDR]], align 4
// CHECK11-NEXT: [[TMP9:%.*]] = load i32, ptr [[DOTPREVIOUS_UB__ADDR]], align 4
// CHECK11-NEXT: store i32 [[TMP8]], ptr [[DOTOMP_LB]], align 4
// CHECK11-NEXT: store i32 [[TMP9]], ptr [[DOTOMP_... | C++ |
AdRuOMkwYa6-dv4UQdn4GKr6Ow',
appId: '1:322047224635:android:16ac7d8a6518a95b',
messagingSenderId: '322047224635',
projectId: 'flutter-ui-challenges-hgl',
databaseURL: 'https://flutter-ui-challenges-hgl.firebaseio.com',
storageBucket: 'flutter-ui-challenges-hgl.appspot.com',
);
static const Fire... | Dart |
/' + 'FIELDSET>';
//document.getElementById('diffoutputdiv').innerHTML = dmp.diff_prettyHtml(diff);
document.getElementById('patchbutton').disabled = false;
}
function patch_launch() {
var text1 = document.getElementById('text1b').value;
var patches = dmp.patch_fromText(patch_text);
var ms_start = (new Dat... | HTML |
numbers.push( 'ellipsis' );
numbers.push( pages-1 );
numbers.splice( 0, 0, 'ellipsis' );
numbers.splice( 0, 0, 0 );
}
numbers.DT_el = 'span';
return numbers;
}
$.extend( extPagination, {
simple: function ( page, pages ) {
return [ 'previous', 'next' ];
},
full: function ( page, pages )... | JavaScript |
m roleIds
* @return
*/
public CfUser update(CfUser cfUser, String roleIds);
/**
* 创建用户
* @param cfUser
* @return
*/
public CfUser add(CfUser cfUser);
/**
* 新增用户(包含新增角色数据)
* @param cfUser
* @param roleIds
* @return
*/
public CfUser add(CfUser c... | Java |
tCell : "Divideix la cel·la verticalment",
TableDelete : "Suprimeix la taula",
CellProperties : "Propietats de la cel·la",
TableProperties : "Propietats de la taula",
ImageProperties : "Propietats de la imatge",
FlashProperties : "Propietats del Flash",
AnchorProp : "Propietats de l'àncora",
ButtonProp : "Pr... | JavaScript |
Menu" data-dojo-type="dijit/DropDownMenu" >
<div data-dojo-type="dijit/MenuItem">50%</div>
<div data-dojo-type="dijit/MenuItem">75%</div>
<div data-dojo-type="dijit/MenuItem">100%</div>
<div data-dojo-type="dijit/MenuItem">150%</div>
<div data-dojo-type="dijit/MenuItem">200%</div>
... | HTML |
ported column {}", column),
};
column
})
.collect();
Ok(RecordBatch::try_new(self.schema.clone(), columns).unwrap())
}
}
impl Stream for GridStream {
type Item = ArrowResult<RecordBatch>;
fn poll_next(mut self: Pin<&mut Self>, cx: &mut Contex... | Rust |
OBRAILLE_RADIUS = 12;
class BrailleEuroSegmentDisplay extends NSegmentDisplay {
BrailleEuroSegmentDisplay(
{super.key,
required super.segments,
super.readOnly,
super.onChanged})
: super(
initialSegments: _INITIAL_SEGMENTS,
type: SegmentDisplayType.CUSTOM,
... | Dart |
.dm.v1'),
createEmptyInstance: create)
..aInt64(
1,
const $core.bool.fromEnvironment('protobuf.omit_field_names')
? ''
: 'dmid')
..a<$core.int>(
2,
const $core.bool.fromEnvironment('protobuf.omit_field_names')
? ''
: 'flag',
... | Dart |
m_table_dram_2_smu(struct clk_mgr_internal *clk_mgr)
{
if (!clk_mgr->smu_present)
return;
dcn31_smu_send_msg_with_param(clk_mgr,
VBIOSSMC_MSG_TransferTableDram2Smu, TABLE_WATERMARKS);
}
void dcn31_smu_set_Z9_support(struct clk_mgr_internal *clk_mgr, bool support)
{
//TODO: Work with smu team to define optimiz... | C |
.isbn = 'hidden';
return object;
};
bw.conn.model('Book', bookSchema);
t.ok(bw.conn.models.Author);
t.ok(bw.conn.models.Book);
});
test('clean up test collections', async () => {
await bw.conn.models.Author.deleteMany({}).exec();
await bw.conn.models.Book.deleteMany({}).exec();
});
t... | JavaScript |
if self.param_syms[k] in self.base_deps[j].free_symbols:
if j not in base_columns:
base_columns.append(j)
continue
if not len(base_columns):
linkConds.append(1e16)
else:
linkConds.appe... | Python |
moveEnd = 0;
}
}
var walker = new CKEDITOR.dom.walker( walkerRange ),
isBookmark = CKEDITOR.dom.walker.bookmark(),
isBogus = CKEDITOR.dom.walker.bogus();
walker.evaluator = function( node ) {
return node.type == ( mode == CKEDITOR.SHRINK_ELEMENT ? CKEDITOR.NODE_ELEMENT : CKEDITO... | JavaScript |
}
return false;
}
// static
bool nsContentUtils::IsForbiddenResponseHeader(const nsACString& aHeader) {
return (aHeader.LowerCaseEqualsASCII("set-cookie") ||
aHeader.LowerCaseEqualsASCII("set-cookie2"));
}
// static
bool nsContentUtils::IsCorsUnsafeRequestHeaderValue(
const nsACString& aHeaderValue)... | C++ |
_PREFIX.control-plane"
const val DATA_DOG_PREFIX = "$AIRBYTE_PREFIX.datadog"
const val DATA_PLANE_PREFIX = "$AIRBYTE_PREFIX.data-plane"
const val DATAPLANE_GROUPS_PREFIX = "$AIRBYTE_PREFIX.dataplane-groups"
const val ENTITLEMENTS_PREFIX = "$AIRBYTE_PREFIX.entitlements"
const val STIGG_PREFIX = "$AIRBYTE_PREFIX.stigg"
c... | Kotlin |
5_0"] = -1676,
["308003_27_0"] = -1677,
["308003_29_0"] = -1678,
[308004] = -1679,
["308004_1_0"] = -1680,
["308004_2_0"] = -1681,
["308004_3_0"] = -1682,
["UI/Atlas/Item/tex_icon_item_meat05.png"] = -1683,
["308004_8_0"] = -1684,
["308004_11_0"] = -1685,
["308004_25_0"] = -1686,
["308004_27_0"] =... | Lua |
s a wrong offset!");
static_assert(offsetof(UABP_AJBInGameStand_PPH_C, AnimGraphNode_ModifyBone_6E36F7B94022834378D3AE92F20B0F7F) == 0x000C30, "Member 'UABP_AJBInGameStand_PPH_C::AnimGraphNode_ModifyBone_6E36F7B94022834378D3AE92F20B0F7F' has a wrong offset!");
static_assert(offsetof(UABP_AJBInGameStand_PPH_C, AnimGraph... | C++ |
ground-image:-moz-linear-gradient(top,#ef784e,#dd4814);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ef784e),to(#dd4814));background-image:-webkit-linear-gradient(top,#ef784e,#dd4814);background-image:-o-linear-gradient(top,#ef784e,#dd4814);background-image:linear-gradient(to bottom,#ef784e,#dd4814);backgro... | CSS |
--+
| esalary |
+---------+
| 0 |
+---------+
1 行于数据集 (0.02 秒)
Query OK, 0 rows affected (0.02 秒)
```
### 4.3、case
```mysql
格式:
case()
when... then...
when... then...
else...
end case;
```
**案例:**
给id为1,2,3的员工加薪1000元,其他员工不变
```mysql
create procedure emp_case_salary(eid int)
begin
declare esalary double def... | Markdown |
this.prune = true,
this.loadCenterOverride,
this.loadZoomOverride,
});
/// Getter for the map zoom, respects a potential overridden zoom
/// when loading tiles.
double get zoom => loadZoomOverride ?? mapEvent.camera.zoom;
/// Getter for the map center, respects a potential overridden map center
//... | Dart |
852fbf03ae2866085091e1d1bc9d18dd37fe5613498eada69b181cce2524788b1edd9#npm:7.8.3"],\
["@babel/plugin-syntax-logical-assignment-operators", "virtual:1ae11dd9fcaab662466bdbd316e18243951bd97afdeaa64c92b3e9bb690852fbf03ae2866085091e1d1bc9d18dd37fe5613498eada69b181cce2524788b1edd9#npm:7.10.4"],\
["@ba... | JavaScript |
import cv2
import numpy as np
cap = cv2.VideoCapture(0)
cap.set(3, 720)
cap.set(4, 720)
def nothing(x):
pass
cv2.namedWindow("live transmission", cv2.WINDOW_AUTOSIZE)
# Define colors and their initial HSV ranges
colors = [
{"name": "blue", "lower": [92, 57, 50], "upper": [142, 153, 178]},
{"name": "gree... | Python |
scrollInput = new widget.ScrollPane();
FormInput = new widget.PanelBiasa();
jLabel4 = new widget.Label();
TNoRw = new widget.TextBox();
TPasien = new widget.TextBox();
Tanggal = new widget.Tanggal();
TNoRM = new widget.TextBox();
jLabel16 = new widget.Label();
... | Java |
load strategy
"opts": {
"*context": "*routes",
// "*profileCount": 1,
"*ignoreErrors": false,
"*maxCost": "",
// "*limit": 1,
// "*offset": 1,
},
},
"loaders": [ // LoaderS config
{
"id": "*default", // identifier of the Loader
"enabled": false, // starts as service: <true|false>.
"te... | Go |
width:100%;
padding-right:90px;
padding-left:20px;
height:46px;
}
button.inset {
right:20px;
top:9.5px;
}
}
}
#confirm, .editcartmodal{
.promo{
//MO not working for order_summary
width:100%;
@media (min-width: 640px) {
width: 256px;
}
}
}
body{
color: rgb(0, 0, 0);
}
//override ... | CSS |
ffffff;
font-size: 14pt;
margin-top: 14px;
}
/*Other-Topics Master Page */
div.side-content /*Used on OtherTopics.flmsp for the search-bar and menu*/
{
width: 300px;
float: right;
margin-left: 15px;
margin-bottom: 15px;
}
div.home-footer-other
{
padding: 2% 5%;
background-color: #ffffff;
}
p.footer-other
{
... | CSS |
# -------------------------------------------------------------------------------
# Copyright IBM Corp. 2017
#
# 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/licens... | Python |
/* Generated by RuntimeBrowser
Image: /System/Library/PrivateFrameworks/GeoServices.framework/GeoServices
*/
@interface GEOAppState : PBCodable <NSCopying> {
struct {
unsigned int zoomLevel : 1;
unsigned int transitNotAvailableAdvisoryShowing : 1;
} _has;
GEOMapRegion * _mapRegion;
... | C |
OfBounds;
case 11:
return Error.decodingFailed;
case 12:
return Error.contractTrapped;
case 13:
return Error.valueTooLarge;
case 14:
return Error.terminatedWhileReentrant;
case 15:
return Error.inputForwarded;
case 16:
return Error.rand... | Dart |
ему напрямую, вы найдете его в дарнасском анклаве Кенария."}, {"Поговорите с верховным друидом Фэндралом Оленьим Шлемом в Дарнассе."}},
[3790] = {"Помощь верховному друиду Оленьему Шлему", {"Простите, <класс>, не уделите ли вы мне крупицу вашего времени?","Дарнасский Круг Кенария набирает опытных искателей приключений ... | Lua |
Ljava/lang/Object;"
// unsafe {
// let __jni_args = [];
// let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
// let (__jni_class, __jni_method) = __jni_env.require_class_method("android/icu/text/DateIntervalInfo\0", "cloneAsThawed\0", "()Ljava/lang/Obj... | Rust |
亚安祖母要你去跟卡舒尔宗母谈一谈。"}},
[10082] = {"激动的灵魂", nil, {"卡舒尔宗母要求你让8个激动的兽人灵魂再次安息。"}},
[10085] = {"拜访先祖之魂", nil, {"纳格兰先祖之地的卡舒尔宗母要你去拜访日泉岗哨、嘲颅废墟、加拉达尔和血环废墟。"}},
[10086] = {"我为部落工作!", nil, {"给萨尔玛的泽格·纳克布斯带去8块回收的金属和8块回收的木材。"}},
[10087] = {"为了部落,烧!", nil, {"利用燃烧的火把烧毁东部联盟火炮和西部联盟火炮,然后返回萨尔玛向泽格·纳克布斯复命。"}},
[10091] = {"灵魂装置", nil, {"偷取5个灵魂装... | Lua |
test',
password: 'pwd'
}
export const registerTestUser = (app, user = testUser) => {
return request(app.getHttpServer())
.post('/auth/register')
.send(user)
.set('Accept', 'application/json')
}
export const deleteAllReminders = async (app, token, url) => {
await request(app.getHttpServer())
.del... | Typescript |
addItem(newItem: ItemComponent): Observable<ItemComponent> {
return this.http.post<ItemComponent>(this.url, newItem, {
headers: new HttpHeaders({
'Content-Type': 'application/json'
})
});
}
updateItem(updatedItem: ItemComponent): Observable<void> {
console.log(updatedItem);
retu... | Typescript |
BitsToBytes(intbuffer, Glyph.this.contents, Glyph.this.left, Glyph.this.right);
intbuffer.rewind();
GlStateManager.upload(0, p_285473_, p_285510_, Glyph.this.width(), 16, NativeImage.Format.RGBA, intbuffer, MemoryUtil::memFree);
}
public boolean isColored() {
... | Java |
mand';
import DemandCount from '../models/DemandIdCount';
export const addRequestIdToDemand = async (req, res) => {
const { clientId, demandId } = req.body;
// TODO: Find the count for the demands for the client ID
const demandCounts = await DemandCount.find({}).lean();
let requiredCount;
for (const count of... | Typescript |
mousewheel", this.mousewheel_ref);
window.removeEventListener('resize', this.onresize_ref, false);
};
}
export default KeypointAligner;
import Retriever from "../Retriever/Retriever";
import KeypointAligner from "../KeypointAligner/KeypointAligner";
class Scan2CAD {
constructor() {
this.in... | JavaScript |
AVAILABLE) then
player:startEvent(551); -- Start Quest "Prelude of Black and White"
elseif (preludeOfBandW == QUEST_COMPLETED and pieujesDecision == QUEST_AVAILABLE) then
player:startEvent(552); -- Start Quest "Pieuje's Decision"
end
elseif (player:hasCompletedMission(SANDORI... | Lua |
{ }
getAllVehicles() {
return this.http.get<{ objects: Vehicle[] }>(environment.apiUrl + '?objectType=VEHICLE').pipe(
map(res => {
//Dostosowanie otrzymanej odpowiedzi do wymagań Google Maps
res.objects.forEach(vehicle => {
let lat = vehicle.location.latitude;
let lng =... | Typescript |
>
<p>Исторические сведения. Данный вирус описан в 1989 г. Р.Гринбергом [Greenberg89]. В СССР случаи заражения не отмечались.</p>
<p>Методы и средства защиты. При работе с файлом BUG.DAT вирус не проверяет установку атрибута READ ONLY. Поэтому, если создать искусственный файл с таким атрибутом, то вирус не сможет записа... | HTML |
str = args.optype
dtype_str = args.dtypes
if args.optype == "all":
optype_str = "add, sub, mul, div"
if dtype_str == "all":
all_type = [
"float32",
"bfloat16",
"float16",
"int32",
]
tmp_str = ""
for input_dtype in all_ty... | Python |
www.w3.org/1999/xlink" width="36" height="36" preserveAspectRatio="xMidYMid meet" viewBox="0 0 36 36"><rect width="11" height="28" x="3.95" y="4" fill="currentColor" class="clr-i-solid clr-i-solid-path-1" rx="2.07" ry="2.07"/><rect width="11" height="28" x="20.95" y="4" fill="currentColor" class="clr-i-solid clr-i-soli... | Dart |
<p>Behåll infilens original UTF-16-kodning. Utfilen kommer att skrivas med samma UTF-16-kodning som infilen, omvänd eller rak byteordning (little eller big endian). Detta förhindrar transformation till UTF-8. En UTF-16 BOM kommer att skrivas i enlighet med detta. Denna flagga kan inaktiveras med <code... | HTML |
)]
Self {}
}
/// Return current thread heap usage
pub fn get(&self) -> u64 {
#[cfg(not(feature = "no-jemalloc"))]
#[cfg(unix)]
{
self.allocated.get()
}
#[cfg(any(feature = "no-jemalloc", not(unix)))]
0
}
/// Return the difference ... | Rust |
from dotenv import load_dotenv
from browser_use import Agent, ChatOpenAI
import asyncio
load_dotenv()
def browser_agent(task: str, model_name: str = "gpt-4.1-mini"):
"""
Executes a browser-based agent to perform a specified task using a language model.
This function sets up and runs an asynchronous agen... | Python |
EnumerableKeyOfT<T>,
TValue = EnumerableValueOfT<T>,
>(enumerable: T): AsyncGenerator<[TKey, TValue], void, unknown> {
const hasEntries = typeof (enumerable as MapLike<unknown, unknown>).entries === 'function';
const isAsyncIterable =
typeof (enumerable as AsyncIterable<unknown>)[Symbol.asyncIterator] === 'functi... | Typescript |
</p>
<p class="indexentry">oppos/ed; ~ite [<i>entgegengesetzt</i>], <a href="http://people.umass.edu/phil335-klement-2/tlp/tlp.html#p4.0621">4.0621</a>, <a href="http://people.umass.edu/phil335-klement-2/tlp/tlp.html#p4.461">4.461</a>, <a href="http://people.umass.edu/phil335-klement-2/tlp/tlp.html#p5.1241">5.1241</a>... | HTML |
/ <summary>
/// Represents a binding that determines which channel source gets used for write operations.
/// </summary>
public interface IWriteBinding : IBinding
{
/// <summary>
/// Gets a channel source for write operations.
/// </summary>
/// <param name="cancellationT... | C# |
.d-s)
r.my(b)},
cr:function(a,b){this.dT(b)
new H.qA(this.d).lw(a)
this.my(b)},
fe:function(a,b,c){var u
this.dT(c)
u=new H.qA(this.d)
u.lw(a)
u.yd(b,!0,!1)
this.my(c)},
d1:function(a,b,c){var u=this
u.dT(c)
u.d.beginPath()
u.d.ellipse(a.a,a.b,b,b,0,0,6.283185307179586,!1)
u.my(c)},
cq:function(a,b){this.dT(b)
this.mp(... | JavaScript |
77,0,52;--magenta-2: 119,8,80;--magenta-3: 161,23,108;--magenta-4: 203,43,136;--magenta-5: 245,69,166;--magenta-6: 247,86,169;--magenta-7: 249,122,184;--magenta-8: 251,158,200;--magenta-9: 253,195,219;--magenta-10: 255,232,241;--gray-1: 23,23,26;--gray-2: 46,46,48;--gray-3: 72,72,73;--gray-4: 95,95,96;--gray-5: 120,12... | CSS |
_c+16:a_c+19], v[v_a+12:v_a+13], v[v_b+4:v_b+5], a[a_c+16:a_c+19] ; repeat:1x0, step:0x0, num_a_c:4
v_mfma_f32_4x4x4f16 a[a_c+20:a_c+23], v[v_a+14:v_a+15], v[v_b+4:v_b+5], a[a_c+20:a_c+23] ; repeat:1x0, step:1x0, num_a_c:4
v_mfma_f32_4x4x4f16 a[a_c+24:a_c+27], v[v_a+12:v_a+13], v[v_b+6:v_b+7], a[a_c+24:... | Assembly |
match value {
Value::Dictionary(d) => {
let msg_type = MessageType::try_from(d.get(USB_MESSAGE_TYPE_KEY).unwrap())?;
let device_id = d
.get(USB_DEVICE_ID_KEY)
.and_then(Value::as_unsigned_integer)
.ok_or(ProtocolErro... | Rust |
9630:
ldr r8, [sp, #0x8]
strh r6, [r3, #0x0]
orr r8, r5, r8, lsl #0x7
and r5, r7, #0xff
str r5, [sp, #0xc]
strb r9, [r3, #0x2]
orr r5, r8, r5, asr #0x2
strb r5, [r0, #0x1]
ldrb r5, [r3, #0x2]
ldrsh r8, [r3, #0x0]
ldrsh r6, [r1, #0xc]
mov r9, r5, lsl #0x1
subs r7, r6, r8
ldr r6, _020A97D4 ; =cAdpcmStepSize... | Assembly |
v1.Y2lkPTc5MGI3NjExZWFobmVidWE5cWJieTM3MXh1NnhtZjh2YWtoNDNtcjFhNHN2cGlqayZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/VxSuRNAporxNdRisUs/giphy.gif" width="400">
</td>
</tr>
</table>
## Input Type
- Accepts single image: ✓
- Accepts image batch: ✓
## Parameters
### Core Settings
| Parameter | Description |
|-----------|-... | Markdown |
Layout,
ItemTemplate = ExampleTemplates.GroupItemTemplate(),
GroupHeaderTemplate = ExampleTemplates.GroupHeaderTemplate(),
GroupFooterTemplate = ExampleTemplates.GroupFooterTemplate(),
AutomationId = "collectionview",
IsGrouped = true,
CanReorderItems = true
};
collectionView.SetBinding(Re... | C# |
()
4 -> dataSource=model.motion()
}
addSubscribe(dataSource
.observeOn(AndroidSchedulers.mainThread())
.subscribeOn(Schedulers.newThread())
.subscribe({ data ->
if (data.resultcode == "200") {
otherD... | Kotlin |
间在惩罚愚蠢的时候,只能毫不留情。
重复,是从笨拙达到熟练境界的唯一通路。
失望的原因有很多种,其中最重要的一条就是:没有得到如期的回馈。
任何工具都一样,一经熟练使用之后,都会被大脑“内化”成我们身体的一部分。
点滴的积累过后,自然能够摸索出掌握其他技能的路径。
所谓的希望,就是一个人相信自己的明天会因为今天的努力而变得更好……
延伸关联:
> * 《活出生命的意义》作者维克多·弗兰克
## 【思考】可阅读完正文后思考!
> 1. 到目前为止,你真正掌握的、熟练的、甚至精通的技能是什么?掌握它的经历,对你后来习得其它技能有什么样的帮助?甚至是不可或缺的帮助?
> 2. 你之前一直想学但没学成的技能是什么?... | Markdown |
nditor_name;
IsVisible = v;
}
}
// 属性分布描述
[System.AttributeUsage(System.AttributeTargets.Field)]
public class PropAttrDistribution : Attribute
{
//---------------------------------------------------------------------
public byte NodePrimary { get; private set; }
... | C# |
friendlyness = random(0.0, 100.0),
weapons = {
Homing = "neutral",
HVLI = "neutral",
Mine = "neutral",
Nuke = "friend",
EMP = "friend"
},
weapon_cost = {
Homing = 2,
HVLI = 2,
Mine = 2,
... | Lua |
alue0(v.Pos, OpOffPtr, lo.Type.PtrTo())
v0.AuxInt = 4
v0.AddArg(dst)
v.AddArg(v0)
v.AddArg(lo)
v1 := b.NewValue0(v.Pos, OpStore, types.TypeMem)
v1.Aux = hi.Type
v1.AddArg(dst)
v1.AddArg(hi)
v1.AddArg(mem)
v.AddArg(v1)
return true
}
return false
}
func rewriteValuedec64_OpSub64_0(v *Value) bool {... | Go |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.