content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
930K Build/NRD90M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/74.0.3729.136 Mobile Safari/537.36 Ecloud/8.6.3 Android/22 clientId/355325117317828 clientModel/SM-G930K imsi/460071114317824 clientChannelId/qq proVersion/1.0.6',
"Referer": "https://m.cloud.189.cn/zhuanti/2016/sign/index.jsp?... | JavaScript |
#! /usr/bin/env python2
import sys
import binascii
import struct
import getopt
import re
def print_usage():
sys.stderr.write('Usage:\n')
sys.stderr.write('\tconvertleds.py [-d delay] input.led [output.l3d]\n')
options, remainder = getopt.getopt(sys.argv[1:], 'd:o:h', ['delay=', 'outdir=', 'help'])
delay_arg ... | Python |
Annotated[
bool,
Query(
description="Indicates whether only validation of consecutive visit group assignment should be performed"
),
] = False,
) -> list[StudyVisit]:
service = StudyVisitService(study_uid=study_uid)
return service.assign_visit_consecutive_group(
s... | Python |
,
6
},
{
6,
5,
true,
6
},
{
6,
4,
true,
16
},
{
6,
3,
true,
6
},
{
6,
2,
true,
0
},
{
6,
1,
false,
0
},
{
5,
8,
false,
0
},
{
5,
7,
false,
0
},
{
5,
... | Lua |
parse_ok!(signed, "'0001 1111'b", 0x1F);
parse_ok!(signed, "' 01 ff 'h", 0x1FF);
parse_ok!(signed, "' 0001 1111 'b", 0x1F);
}
#[test]
fn unsigned_number() {
parse_ok!(unsigned::<u8>, "123", 123);
parse_fail!(unsigned::<u8>, "-123");
parse_ok!(unsigned, "... | Rust |
, 1.0/SQRT2), v_linewidth/(2.0*SQRT2), line_join));\n\n // Inside corner\n dist = min(dist, -line_join_distance_no_miter(\n p, vec2(-5.0*r/8.0, 0.0), vec2(-1.0/SQRT2, -1.0/SQRT2), v_linewidth/(2.0*SQRT2), line_join));\n }\n\n return dist;\n}\n#endif\n\n#if defined(USE_SQUARE) || defined(USE_SQUARE_CROSS) |... | JavaScript |
0) =
_$EnumOpaqueTwinRustAsyncMoi_TraitObjImpl;
const EnumOpaqueTwinRustAsyncMoi_TraitObj._() : super._();
BoxDartDebugTwinRustAsyncMoi get field0;
/// Create a copy of EnumOpaqueTwinRustAsyncMoi
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, incl... | Dart |
48 0 0-48zm32 0l0 48 48 0 0-48-48 0zM136 312l-48 0 0 48 48 0 0-48zm32 0l0 48 48 0 0-48-48 0zm128 0l-48 0 0 48 48 0 0-48z"],"list-dropdown":[512,512,[],"e1cf","M48 192l0 240 416 0 0-240L48 192zM0 32l48 0 416 0 48 0 0 48 0 352 0 48-48 0L48 480 0 480l0-48L0 80 0 32zM352 96l48 48 48-48-96 0zM128 232l256 0 24 0 0 48-24 0-2... | JavaScript |
let next_input = other.input_channels();
if !self.stages.is_empty() && !other.stages.is_empty() && prev_output != next_input {
return Err(PipelineError::ChannelMismatch(prev_output, next_input));
}
self.stages.append(&mut other.stages);
self.update_channels();
... | Rust |
v className={styles.section}>
<h3>並行開発の開始 - 複数のfeatureブランチを作成</h3>
<p>Git Flowの最大の強みは<strong>並行開発</strong>の実現です。developブランチから複数のfeatureブランチを同時に作成することで、異なるチームやメンバーが干渉することなく独立して機能開発を進めることができます。</p>
<div className={styles.codeBlock}>
<pre>
<code>
{`# ... | JavaScript |
stng.Assert.assertThrows;
import static org.testng.Assert.assertTrue;
import java.lang.foreign.MemorySegment;
import org.apache.datasketches.common.positional.PositionalSegment;
import org.apache.datasketches.filters.bloomfilter.BitArray;
import org.apache.datasketches.filters.bloomfilter.DirectBitArray;
import org.a... | Java |
percase;
transition: all .24s ease
}
.main-nav ul li a:hover {
color: #a3ff12
}
.main-nav__list a {
color: #fff
}
.main-nav__list li.active>a {
color: #a3ff12
}
.main-nav__list>li {
display: inline-block
}
.main-nav__list>li:first-child {
padding-left: 0
}
.main-nav__list>li:last-child {
... | CSS |
:thumb
push {r3-r5,lr}
ldr r1, [pc, #0x3c] @ 0x222134c, (=0x2228d38)
mov r5, r0
bl Function_22213e4
mov r4, r0
mov r0, #0x0
mvn r0, r0
cmp r4, r0
bne branch_2221340
ldr r0, [pc, #0x2c] @ 0x2221350, (=0x2088)
ldr r0, [r5, r0]
bl Function_2228b64
mov r4, r... | Assembly |
to the example datasets to prepare your own dataset.
- Text dataset: https://huggingface.co/datasets/hiyouga/math12k
- Image-text dataset: https://huggingface.co/datasets/hiyouga/geometry3k
- Multi-image-text dataset: https://huggingface.co/datasets/hiyouga/journeybench-multi-image-vqa
- Text-image mixed dataset: htt... | Markdown |
:10px;}.file-upload-box div a.right{position:absolute;right:5px;}.file-upload-box span.info{font-size:1em;font-style:italic;padding:0px 0 5px 10px;}.file-upload-box i{font-size:1em;color:#aaa;padding-left:10px;}.file-upload-box .list{margin:10px 15px 10px 0;}.file-upload-box .list input{margin-left:10px;width:190px;hei... | CSS |
45nnn.com'},
{'36582', 'www.466555.com', 'www.466555.com'},
{'36583', 'www.466588.com', 'www.466588.com'},
{'36584', 'www.4666888.com', 'www.4666888.com'},
{'36585', 'www.46se.com', 'www.46se.com'},
{'36586', 'www.4749.com', 'www.4749.com'},
{'36587', 'www.47822.cn', 'www.47822.cn'},
{'36588', 'www.47rt.cn', 'www.47rt.... | Lua |
R.string.marker_close_info_window_on_retap_demo_description))
// Add markers to different cities in Australia and include it in bounds
val bounds = LatLngBounds.Builder()
cities.map { city ->
addMarker(MarkerOptions().apply {
position(city.latLng)
title(city.title)
... | Kotlin |
y:
logger.info(f"完整克隆尝试 {retry + 1}/{max_retries} - 分支: {branch}")
execute_command("git", ["pull", "origin", branch], cwd=target_dir, timeout=7200) # 2小时超时
logger.info(f"完整克隆成功,分支: {branch}")
return True
except Exception as... | Python |
Pair(
new RSAPublicKey(n, e), new RSAPrivateKey(n, d, p, q));
}
}
/** [List] of low primes */
final List<BigInt> _lowprimes = [
new BigInt.from(2),
new BigInt.from(3),
new BigInt.from(5),
new BigInt.from(7),
new BigInt.from(11),
new BigInt.from(13),
new BigInt.from(17),
new BigInt.from(19),
... | Dart |
val jsonEvent = "{\"level\":\"debug\"}"
val actual = fixture.serializer.deserialize(StringReader(jsonEvent), SentryEvent::class.java)
assertEquals(SentryLevel.DEBUG, actual!!.level)
}
@Test
fun `when deserializing a event with breadcrumbs containing data, it should become have breadcrumbs`() {
val j... | Kotlin |
elbv2.ModifyTargetGroupOutput, error)
DeleteTargetGroup(*elbv2.DeleteTargetGroupInput) (*elbv2.DeleteTargetGroupOutput, error)
DescribeTargetHealth(input *elbv2.DescribeTargetHealthInput) (*elbv2.DescribeTargetHealthOutput, error)
DescribeTargetGroupAttributes(*elbv2.DescribeTargetGroupAttributesInput) (*elbv2.Des... | Go |
── tools
├── configs
`── data
│── UBody
├── annotations
│ ├── ConductMusic
│ ├── Entertainment
│ ├── Fitness
│ ├── Interview
│ ├── LiveVlog
│ ├── Magic_show
│ ├── Movie
│ ├── Olympic
│ ├── Online_class
│ ├── ... | Markdown |
te There can be a delay between this function call (--> reset warning) and the actual reset. This function is blocking.
*********************************************************************/
void AmigaKey_Reset( void )
{
U32 u32Wait;
FlushScancodeFIFO();
//TODO: send reset warning, wait and pull the reset l... | C |
protected void onDestroy() {
super.onDestroy();
//设置为GL播放模式,才能支持滤镜,注意此设置是全局的
GSYVideoType.setRenderType(backupRendType);
}
@Override
public StandardGSYVideoPlayer getGSYVideoPlayer() {
return webPlayer;
}
@Override
public GSYVideoOptionBuilder getGSYVideoOptionB... | Java |
tmp_rot[0];
this.m01 = (float)tmp_rot[1];
this.m02 = (float)tmp_rot[2];
this.m10 = (float)tmp_rot[3];
this.m11 = (float)tmp_rot[4];
this.m12 = (float)tmp_rot[5];
this.m20 = (float)tmp_rot[6];
this.m21 = (float)tmp_rot[7];
this.m22 = (float)tmp_rot[8];
}
/**
* Perform singular value decomposition... | Java |
用白茄枝烧) 中毒必死
3 牛肉+栗子 引起呕吐
4 牛肉+红糖 胀死人
5 牛肉+盐菜 会中毒
6 牛肉+鲶鱼 会中毒
7 牛肉+田螺 会中毒
8 羊肉+西瓜 伤元气
9 羊肉+田螺 腹胀
10 狗肉+绿豆 会中毒
11 狗肉+黄鳝 会中毒
12 狗肉+葱 会中毒
13 兔肉+芹菜 脱发
14 兔肉+人参 会中毒
15 兔肉+青姜 会中毒
16 兔肉+红罗卜 会中毒
17 鸡肉+芹菜 伤元气
18 鹅肉+鸡蛋 伤元气
19 鹅肉+鸭梨 伤肾脏
20 甲鱼+苋菜 会中毒
21 黑鱼+茄子 肚子疼
22 鲤鱼+猪肉 会中毒
23 鲤鱼+甘草 会中毒
24 鲤鱼+辣椒 成痔疾
25 鲤鱼+芹... | Typescript |
ate.beta_r()).unwrap() - sin).abs() < EPSILON);
}
/// Test alpha, beta, global phase of RotateAroundSphericalAxis
#[test_case(
CalculatorFloat::from(0),
CalculatorFloat::from(0),
CalculatorFloat::from(0),
1.0, 0.0, 0.0, 0.0, 0.0; "theta = 0")]
#[test_case(
CalculatorFloat::from(PI),
CalculatorF... | Rust |
SchemaV1::class.packageName)
val bankOfCorda = TestIdentity(BOC_NAME)
val dummyCashIssuer = TestIdentity(CordaX500Name("Snake Oil Issuer", "London", "GB"), 10)
val dummyNotary = TestIdentity(DUMMY_NOTARY_NAME, 20)
val identityService = makeTestIdentityService(dummyNotary.identity)
... | Kotlin |
GETUPVAL R35 1
GETTABLEKS R34 R35 K20 ["createElement"]
LOADK R35 K21 ["Frame"]
NEWTABLE R36 1 0
GETUPVAL R38 1
GETTABLEKS R37 R38 K22 ["Tag"]
LOADK R38 K103 ["data-testid=Tooltip"]
SETTABLE R38 R36 R37
DUPTABLE R37 K111 [{"MoveMapping", "FlyMapping", "RotateMapping", "TiltMapping", "ToggleCursorLock", ... | Assembly |
propagateToInput] is enabled.
*
* @param copy whether to return by value or by reference (default true)
*
* @return the input errors
*/
override fun getInputErrors(copy: Boolean): List<DenseNDArray> {
val inputErrors: List<DenseNDArray> = this.attentionLayers.first().inputArrays.map { it.errors.co... | Kotlin |
return 0;
}
```
Примітка: Щоб використовувати `spdlog`, вам потрібно додати його до свого проекту. Це можна зробити, клонувавши репозиторій з GitHub або використовуючи менеджер пакетів, як-от `vcpkg` або `conan`.
Пам'ятайте, вибір між використанням стандартних потоків безпосередньо або бібліотеки на кшталт `spdlog` з... | Markdown |
'}
var res = await httpManager.netFetch(
url, null, {"Accept": 'application/vnd.github.VERSION.raw'}, null);
if (res != null && res.result) {
List<Issue> list = [];
var data = res.data;
if (data == null || data.length == 0) {
return DataResult(null, false);
... | Dart |
),
),
],
),
const SizedBox(height: 8),
Wrap(
spacing: 8,
runSpacing: 8,
children: _collaborators.map((friend) => Container(
padding: const EdgeIns... | Dart |
rgba(0, 0, 0, 0.05)),
radial-gradient(1px 60% at right,
rgba(0, 0, 0, 0.8) 0%,
transparent 80%) repeat-x #C8D2DC;
white-space: nowrap;
}
.cookieHeaderRow > .cookieHeaderCell:first-child > .cookieHeaderCellBox {
padding: 2px 14px 2px 18px;
}
.cookieHeaderCellBox {
padd... | CSS |
"seriespage_backgroundColorBrightOrange_22SK9",
backgroundColorBrightPurple:
"seriespage_backgroundColorBrightPurple_2Qk81",
backgroundColorBrightYellow:
"seriespage_backgroundColorBrightYellow_3e7Nu",
backgroundColorBrightGreen:
"seriespage_backgroundColorBrightGre... | JavaScript |
as GPT-4 and Mixtral 7x8.
## MoRSE in Visuals
To give you a better understanding of how MoRSE operates and its key functionalities, here are some visual insights:
### MoRSE Exploit Analysis
.
std::optional<mutation_querier> lookup_mutation_querier(utils::UUID key,
const schema& s,
const dht::partition_range& range,
const query::partition_slice& slice,
tracing::trace_state_ptr trace_state);
/// Lookup a shard mutation querier in the cache.
/... | C++ |
("Name Name1"));
// assertThat(actual21.getType(), is("games.achieves"));
// assertThat(actual21.getComments().getCommentOrder(), is("chronological"));
assertThat(actual21.getComments().getCount(), is(0));
// assertThat(actual21.getComments().canComment(), is(true));
... | Java |
_PED_DESIRED_MOVE_BLEND_RATIO"
hash "0x8517D4A6CA8513ED"
jhash (0x5FEFAB72)
arguments {
Ped "ped",
}
ns "BRAIN"
returns "float"
native "TASK_GOTO_ENTITY_AIMING"
hash "0xA9DA48FAB8A76C12"
jhash (0xF1C493CF)
arguments {
Ped "ped",
Entity "target",
float "distanceToStopAt",
float "StartAimingDist",
... | Lua |
echargePackageUpdateReqVO updateReqVO) {
walletRechargePackageService.updateWalletRechargePackage(updateReqVO);
return success(true);
}
@DeleteMapping("/delete")
@Operation(summary = "删除钱包充值套餐")
@Parameter(name = "id", description = "编号", required = true)
@PreAuthorize("@ss.hasPermi... | Java |
: "rød",
rosybrown: "rosabrun",
royalblue: "kongeblå",
saddlebrown: "saddelbrun",
salmon: "laksefarvet",
sandybrown: "sandbrun",
seagreen: "havgrøn",
seashell: "muslingeskal",
sienna: "sienna",
silver: "sølv",
skyblue: "himmelblå",
slateblue: "skiferblå",
slategray: "skifergrå",
slategrey: "skifergrå", // ... | JavaScript |
--[[
Name: SpecialEvents-LearnSpell-2.0
Revision: $Rev: 14863 $
Author: Tekkub Stoutwrithe (tekkub@gmail.com)
Website: http://www.wowace.com/
Description: Special events for mail (received, auction notices, etc)
Dependencies: AceLibrary, AceEvent-2.0
]]
local vmajor, vminor = "SpecialEvents-LearnSpell-2.0", "$R... | Lua |
n_number=opt.pipeline_output_degen_condition_numbers,
# dataloader will output normalized images
normalize_input_image=False,
)
# prepare for SSL training
pipeline.freeze_backbone_weights()
pipeline.freeze_sdf_decoder_weights()
if opt.train_mode == "ssl":
... | Python |
) |
| [miui_PICASSO_20.7.29_59fe2caac5_10.0.zip](https://hugeota.d.miui.com/20.7.29/miui_PICASSO_20.7.29_59fe2caac5_10.0.zip) |
| [miui_PICASSO_20.7.28_7e0e20e2b3_10.0.zip](https://hugeota.d.miui.com/20.7.28/miui_PICASSO_20.7.28_7e0e20e2b3_10.0.zip) |
| [miui_PICASSO_20.7.27_b567f4a03f_10.0.zip](https://hugeot... | Markdown |
NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
.cm-s-x... | CSS |
ntrol-spacing: var(--mush-control-spacing, 12px);\n\n /* Slider */\n --slider-threshold: var(--mush-slider-threshold);\n\n /* Input Number */\n --input-number-debounce: var(--mush-input-number-debounce);\n\n /* Layout */\n --layout-align: var(--mush-layout-align, center);\n\n /* Badge */\n --badge-size: var(--m... | JavaScript |
2/plugins/publisher/bar/3", r.port))
So(err, ShouldBeNil)
So(resp.StatusCode, ShouldEqual, 200)
body, err := ioutil.ReadAll(resp.Body)
So(err, ShouldBeNil)
So(
string(body),
ShouldResemble,
fmt.Sprintf(mock.GET_PLUGINS_RESPONSE_TYPE_NAME_VERSION, r.port))
})
Convey("Delete plugins - v2/p... | Go |
AL_DISCONNECTED', '2': 1},
{'1': 'RR_PUBLISHER_FAILED', '2': 2},
{'1': 'RR_SUBSCRIBER_FAILED', '2': 3},
{'1': 'RR_SWITCH_CANDIDATE', '2': 4},
],
};
/// Descriptor for `ReconnectReason`. Decode as a `google.protobuf.EnumDescriptorProto`.
final $typed_data.Uint8List reconnectReasonDescriptor = $convert.bas... | Dart |
itebark senna","NE","W","0;0;2"],
["Gleditsia_sinensis",,"NE","W","0;0;3"],
["Peltophorum_dubium","Copperpod","NE","W","0;0;6"],
["Cercidium_microphyllum","Foothill Palo Verde","NE","W","0;0;1"],
["Elephantorrhiza_elephantina","Elephant-root","NE","W","0;0;1"],
["Entada_abyssinica","Tree entada","NE","W","0;0;1"],
["En... | JavaScript |
es are available</span>
</div>
{{if not .Docker}}
<button onclick="document.getElementById('update-dialog').showModal();">
<span>Update</span>
</button>
{{end}}
</div>
<div class="new-update-details">
<div>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" ... | Go |
"""idlelib.idle_test implements test.test_idle, which tests the IDLE
application as part of the stdlib test suite.
Run IDLE tests alone with "python -m test.test_idle (-v)".
This package and its contained modules are subject to change and
any direct use is at your own risk.
"""
from os.path import dirname
# test_idle... | Python |
gin-top: 10px; }
.owl-theme .owl-dots {
text-align: center;
-webkit-tap-highlight-color: transparent; }
.owl-theme .owl-dots .owl-dot {
display: inline-block;
zoom: 1;
*display: inline; }
.owl-theme .owl-dots .owl-dot span {
width: 10px;
height: 10px;
margin: 5px 7px;
back... | CSS |
DECKS"
| "DELETE_OWN_DECKS";
type ObjectPermission = "DELETE" | "EDIT";
const permissionMap = new Map<Role, Permission[]>();
permissionMap.set("ANONYMOUS", ["READ_DECKS"]);
permissionMap.set("LOGGED", [
"READ_DECKS",
"CREATE_DECKS",
"EDIT_OWN_DECKS",
"DELETE_OWN_DECKS",
]);
const getRole = (userId: number) => {... | Typescript |
#ifndef Py_FORTRANOBJECT_H
#define Py_FORTRANOBJECT_H
#ifdef __cplusplus
extern "C" {
#endif
#include "Python.h"
#ifdef FORTRANOBJECT_C
#define NO_IMPORT_ARRAY
#endif
#define PY_ARRAY_UNIQUE_SYMBOL _npy_f2py_ARRAY_API
#include "numpy/arrayobject.h"
#include "numpy/npy_3kcompat.h"
#ifdef F2PY_REPORT_ATEXIT
#include ... | C |
=labels,bins=bins)
print(planes[["Price","Price_category"]].head())
#PRICE CAT BY AIRLINE
sns.countplot(data=planes,x="Airline",hue="Price_category")
plt.show()
#EXERCISE 1
# Create salary labels
salary_labels = ["entry", "mid", "senior", "exec"]
# Create the salary ranges list
salary_ranges = [0, twenty_fifth, salari... | Python |
basicData.name
professionId = memberInfo.socialData.professionData.professionId
end
end
local dps = math.floor(self.data_.allHit / time)
local dpdType = self.uiView_:GetCurShowType()
self.uiBinder.lab_name.text = self.Index .. "." .. name
local showSecond = dpdType == E.DpsDpdTypeList.DamageSecond o... | Lua |
); t4.norm(); //t4=Y1+Z1
FP2 x3=FP2_8[5]; x3.copy(Q.y);
x3.add(Q.z); x3.norm(); //x3=Y2+Z2
t4.mul(x3); //t4=(Y1+Z1)(Y2+Z2)
x3.copy(t1); //
x3.add(t2); //X3=Y1.Y2+Z1.Z2
t4.sub(x3); t4.norm();
if (CONFIG_CURVE.SEXTIC_TWIST==CONFIG_CURVE.D_TYPE)
{
t4.mul_ip(); t4.norm(); //t... | Java |
c {
expect(stateManager!.isEditing, false);
await tester.tap(find.text('header0 value 0'));
expect(stateManager!.currentCell!.value, 'header0 value 0');
expect(stateManager!.isEditing, true);
},
);
plutoGrid.test(
'첫번째 셀을 탭하고 탭키를 입력하면 두번째 셀이 editing 상태가 되어야 한다.',
... | Dart |
AllowingStateLoss(parentFragmentManager, "dialog_everyday_weather")
}
}
mHourWeatherHeadAdapter.setRisks(listOf(it.rise.first()))
mHourWeatherAdapter.setWeatherEveryHour(it.forecast_1h)
mBinding.homeRecommentMenu.tvWeatherTodayValue.text = it.forecast_24... | Kotlin |
ins
@mixin placeholder {
&::placeholder {
@content;
}
&::-moz-placeholder {
@content;
}
&::-moz-placeholder {
@content;
}
&::-webkit-input-placeholder {
@content;
}
}
@mixin flex-center {
display: flex;
justify-content: center;
align-items: center;
}
@charset "UTF-8";/*!
* Bootst... | CSS |
L / 1024L
print("\r下载进度: ${mbDownloaded}MB / ${mbTotal}MB ($progress%)")
System.out.flush()
lastProgress = progress
}
}
bytesRead = input.read(buffer)
}
... | Kotlin |
Convert.ToInt32(returnItem);
return (NetOffice.OfficeApi.Enums.MsoTriState)intReturnItem;
}
set
{
object[] paramsArray = Invoker.ValidateParamsArray(value);
Invoker.PropertySet(this, "Loaded", paramsArray);
}
}
/// <summary>
/// SupportByVersion PowerPoint 9, 10, 11, 12, 14, 15
/// Get/... | C# |
Currently the port of an Ingress is implicitly :80 for http and :443 for https. Both these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue. Host can be \"precise\"... | Dart |
nDate': None,
'ModDate': None,
'Creator' : None,
'Producer': None,
'Author': None,
'Version' : None }
plt.savefig(f"graphs/{conference_name}.pdf", bbox_inches="tight", metadata=mtadata)
plt.savefig(f"graphs/{conference_name}.png", b... | Python |
func (o FleetListUsersResult) MarshalJSON() ([]byte, error) {
toSerialize,err := o.ToMap()
if err != nil {
return []byte{}, err
}
return json.Marshal(toSerialize)
}
func (o FleetListUsersResult) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
if !IsNil(o.EnvironmentId) {
to... | Go |
ur binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
Expressions clone() => Expressions()..mergeFromMessage(this);
@$core.Deprecated('Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebu... | Dart |
--
-- cmp-tmux
-- url: https://github.com/andersevenrud/cmp-tmux
-- author: Anders Evenrud <andersevenrud@gmail.com>
-- license: MIT
--
local Tmux = require('cmp_tmux.tmux')
local source = {}
local default_config = {
all_panes = false,
label = '[tmux]',
trigger_characters = { '.' },
trigger_character... | Lua |
from enum import Enum
from moto.stepfunctions.parser.asl.antlr.runtime.ASLIntrinsicLexer import (
ASLIntrinsicLexer,
)
class StatesFunctionNameType(Enum):
Format = ASLIntrinsicLexer.Format
StringToJson = ASLIntrinsicLexer.StringToJson
JsonToString = ASLIntrinsicLexer.JsonToString
Array = ASLIntri... | Python |
required TabSearchPartition searchPartition,
required ContainerFilter containerFilter,
required bool groupTrees,
}) => SeamlessFilteredTabEntitiesProvider._(
argument: (
searchPartition: searchPartition,
containerFilter: containerFilter,
groupTrees: groupTrees,
),
from: this,... | Dart |
; bc < bl; bc += cl->len + 1 ) {
cl = cl->next;
l++;
}
rc = SplitFcbAtLine( l, CurrentFile, CurrentFcb );
if( rc != ERR_NO_ERR ) {
return( rc );
}
/*
* check if current line is in new fcb, if so, switch to new fcb;
* as well, new fcb had better have the same displa... | C |
local_variable
DartType s = relation.subtype;
// ignore: unused_local_variable
DartType t = relation.supertype;
}
loopOnly.stop();
loopOnlyTiming.add(loopOnly.elapsedMicroseconds);
}
print('--loop-only--');
print(
'average: ${SimpleTTestStat.average(loopOnlyTiming)}, '
'varia... | Dart |
and routed there.
*/
INT_DEFINE_BEGIN(hdecrementer)
IVEC=0x980
IHSRR=1
ISTACK=0
IKVM_REAL=1
IKVM_VIRT=1
INT_DEFINE_END(hdecrementer)
EXC_REAL_BEGIN(hdecrementer, 0x980, 0x80)
GEN_INT_ENTRY hdecrementer, virt=0
EXC_REAL_END(hdecrementer, 0x980, 0x80)
EXC_VIRT_BEGIN(hdecrementer, 0x4980, 0x80)
GEN_INT_ENTRY hdec... | Assembly |
ee/widget/order/so_line_list.dart";
import "package:inventree/widget/order/so_shipment_list.dart";
import "package:inventree/widget/refreshable_state.dart";
import "package:inventree/l10.dart";
import "package:inventree/app_colors.dart";
import "package:inventree/widget/attachment_widget.dart";
import "package:invent... | Dart |
2000/svg" viewBox="0 0 100 100"><path fill="red" d="M91.458 36.338c-0.071 -0.454 -0.104 -0.7 -0.104 -0.7l-0.108 0.025C89.438 27.192 81.925 20.833 72.917 20.833 62.563 20.833 54.167 29.229 54.167 39.583s8.396 18.75 18.75 18.75c0.929 0 1.821 -0.142 2.708 -0.271 -0.288 0.967 -0.583 1.95 -1.058 2.833 -0.475 1.283 -1.217 2.... | CSS |
ice": 1.00019000,
"gasCost": 0.5000,
"gasUsdValue": 0.5
}
```
``
GET /api/v1/aster/withdraw/estimateFee
``
**权重:**
1
**参数:**
名称 | 类型 | 是否必需 | 描述
------------ | ------------ | ------------ | ------------
chainId | STRING | YES |
asset | STRING | YES |
注意:
* chainId: 1(ETH),56(BSC),42161(Arbi)
* gasCost: 提现所... | Markdown |
/*
* BRIEF MODULE DESCRIPTION
* Au1xxx irq map table
*
* Copyright 2003 Embedded Edge, LLC
* dan@embeddededge.com
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either versi... | C |
Section:new()
for _, match, _ in toc_heading_query:iter_matches(t:root(), 0, 0, -1, { all = true }) do
local heading = md_ts.single_node_from_match(match, 5)
local in_container = md_ts.find_parent(heading, is_container)
if not in_container then
local marker = md_ts.single_node_from_match(match, 1)
or md_t... | Lua |
).getByteVector().byteArray().all { it == 0.toByte() },
)
val uniqueIdentifier: String
get() = "$networkEmoji$spendKeyEmojis"
val coreKeyEmojis: EmojiId
get() = viewKeyEmojis + spendKeyEmojis + checksumEmoji
val oneSided: Boolean
get() = features.contains(Feature.ONE_SIDED)
... | Kotlin |
}
// Constants
const LootAddress: string =
process.env.NEXT_PUBLIC_LOOT_ADDRESS ??
'0xff9c1b15b16263c61d017ee9f65c50e4ae0113d7'
const MLootAddress: string = process.env.NEXT_PUBLIC_MLOOT_ADDRESS ?? ''
const DungeonAddress: string =
process.env.NEXT_PUBLIC_LOOT_DUNGEON_ADDRESS ?? ''
function useLoot() {
// C... | Typescript |
`$9`%\v`$$`$>`$`$!`$<`%\0`$/`$9`$>`$`$9`%\v`$`$2`$6`$,`%\r`$&`$2`$?`$/`$>`$`%\0`$5`$(`$`$>`$$`$>`$`%\b`$8`%`$`$*`$`$>`$5`$>`$2`%\0`$&`%`$(`%`$*`%`$0`%\0`$*`$>`$(`%\0`$\t`$8`$`%`$9`%\v`$`%\0`$,`%\b`$ `$`$`$*`$`%\0`$5`$0`%\r`$7`$`$>`$`$5`$`$*`$`%\v`$`$?`$2`$>`$`$>`$(`$>`$8`$9`$.`$$`$9`$.`%`$`$\t... | JavaScript |
test]
fn s3_invalid_from_str_returns_err_not_enough_data() {
let s = "S3041234565F";
let r = s.parse::<Record>();
assert_eq!(r, Err(Error::NotEnoughData));
}
#[test]
fn s5_returns_correct_record() {
let s = "S5031234B6";
let r = s.parse::<Record>();
a... | Rust |
化, 促 进根系的生 长 和 吸 收, 为 玉 米 的 生 长 发 育 和 优 质 高 产 打 下 良 好 的 基础。(3)除去空秆和小株 在玉米田内总有一定数量的空秆和小株, 它们不仅白白消耗养分和水分, 而且还影响通风透光性, 对这样的空 秆和小株, 一旦发现应该立即割掉。(4)人工去雄,剪苞叶,辅助授粉,除掉无效果穗 在保证充 足授粉的前提下, 采用去雄技术能有效削弱顶端优势, 调整养分的合 理分配。去雄最适宜的时期是雄穗刚抽出, 手能握住时, 授粉结束后 余下的雄穗全部去掉。在雌穗形成后抽丝前, 剪掉顶端苞叶, 可促雌 穗早抽丝2\~3天, 使雌穗授粉结实提早2天。 盛花期用绳拉法、 摇 株法人工授粉, 每隔2\~3天进行一... | Markdown |
S1, S1, 0x04
PTR_ADDI P5, P5, 0x04
.L_M0:
pop_if_used 7, 0
jirl $r0, $r1, 0x00
EPILOGUE | Assembly |
Result<()> {
trace!("rename");
inject_with_parent_and_name!(self, RENAME, parent, &name);
let mut inode_map = self.inode_map.write().await;
let old_path = {
let parent_path = inode_map.get_path(parent)?;
parent_path.join(&name)
};
trace!("get orig... | Rust |
npcID = 17225,
Level = 999,
DisplayIDs = {{18062}},
specialType = "summon",
AtlasMapBossID = 15,
[NORMAL_DIFF] = {
{ 1, 28602 }, -- Robe of the Elder Scribes
{ 2, 28600 }, -- Stonebough Jerkin
{ 3, 2860... | Lua |
)
add(KType(Type.DOUBLE, "Double", 4, { addr -> "ldf($addr)" }, { addr, v -> "sdf($addr, ($v))" }, default = "0.0"))
}.toList()
val ktypesFromCType = ktypes.associateBy { it.ctype }
}
object KotlinTarget : BaseTarget("kotlin", "kt") {
override fun generator(parsedProgram: ParsedProgram): BaseGener... | Kotlin |
new AccessibleObject CreateAccessibilityInstance() => base.CreateAccessibilityInstance();
public new AutoSizeMode GetAutoSizeMode() => base.GetAutoSizeMode();
public new bool GetStyle(ControlStyles flag) => base.GetStyle(flag);
public new bool GetTopLevel() => base.GetTopLevel();
pub... | C# |
LOCALSTORAGE_NAME)
const todoId = todos.findIndex((todo: TodoDTO) => {
return todo.id === data.id
})
todos[todoId].title = data.title
this.setLocalStorage(LOCALSTORAGE_NAME, JSON.stringify(todos))
return this.GetTodos
}
async IsCompleted(data: an... | Typescript |
}.o_print_header #o_print_brand img{position:absolute;top:0;right:0;max-height:2cm}.o_print_header h1,.o_print_header h2,.o_print_header h3{margin-top:0}body.o_pdf_output_one_cm #o_main_wrapper{width:100vw}body.o_pdf_output_one_cm #o_main_wrapper #o_main_container.container-fluid{padding:0}.o_highscore .o_position{text... | CSS |
//
// Copyright (c) 2015 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// RenderbufferImpl_mock.h: Defines a mock of the RenderbufferImpl class.
#ifndef LIBANGLE_RENDERER_RENDERBUFFERIMPLMOCK_H_
#define LIBANG... | C |
55994
mvn r0, #0
ldmia sp!, {r3, pc}
.align 2, 0
_020559CC: .word TEAM_MEMBER_TABLE_PTR
_020559D0: .word 0x0000022B
_020559D4: .word _022B5788
arm_func_end GetFirstEmptyMemberIdx
arm_func_start sub_020559D8
sub_020559D8: ; 0x020559D8
stmdb sp!, {r3, r4, r5, r6, r7, r8, sb, sl, fp, lr}
ldr r1, _02055B18 ; =TEAM_... | Assembly |
correctly', () {
final Handle handle = System.channelCreate().first;
final HandleDisposition disposition = HandleDisposition(1, handle, 2, 3);
expect(disposition.operation, equals(1));
expect(disposition.handle, equals(handle));
expect(disposition.type, equals(2));
expect(disposition... | Dart |
favorite &= 0xffffffff ^ SongData.INVISIBLE_SONG;
break;
case 2:
favorite |= SongData.INVISIBLE_SONG;
favorite &= 0xffffffff ^ SongData.FAVORITE_SONG;
break;
}
song.setFavorite(favorite);
}
state.main.getSongDatabase().setSongDatas(songs);
};
if(state instanc... | Java |
s you *Do you want to provide a .bin log file and run the IMU temperature calibration using it?* select `No` and close the program.
1. Power off the flight controller and remove the battery.
1. Place the flight controller **without battery** in a freezer capable of reaching your vehicle's minimum expected operation tem... | Markdown |
requireNotNull(iconView?.drawable) { "The display type must be specified" }
// 如果内容为空就抛出异常
require(!TextUtils.isEmpty(messageView?.text.toString())) { "Dialog message not null" }
return super.create()
}
override fun onShow(dialog: BaseDialog?) {
... | Kotlin |
Node n) {
return n.nestingIndex >= nestingTreeMin
&& n.nestingIndex <= nestingIndex;
}
}
/**
* Copyright (c) 2004, 2010 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accomp... | Dart |
,
ffi::_ND_INS_CLASS::ND_INS_POP => Ok(Mnemonic::Pop),
ffi::_ND_INS_CLASS::ND_INS_POPA => Ok(Mnemonic::Popa),
ffi::_ND_INS_CLASS::ND_INS_POPAD => Ok(Mnemonic::Popad),
ffi::_ND_INS_CLASS::ND_INS_POPCNT => Ok(Mnemonic::Popcnt),
ffi::_ND_INS_CLASS::ND_INS_POPF =>... | Rust |
{\n display: block;\n width: 100%;\n outline: none;\n}\n.ant-upload input[type="file"] {\n cursor: pointer;\n}\n.ant-upload.ant-upload-select {\n display: inline-block;\n}\n.ant-upload.ant-upload-select-picture-card {\n border: 1px dashed #d9d9d9;\n width: 104px;\n height: 104px;\n border-radius: 4px;\n back... | JavaScript |
#d93b3b;
$ms-color-presence-dnd-background: #c72d25;
$ms-color-presence-dnd-line: #ffffff;
$ms-color-presence-offline: #b6cfd8;
// Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE in the project root for license information.
//
// Office UI Fabric
// -... | CSS |
SyncFunProxy<Unit, (Alias703<Alias623, in Alias677<Alias673<Int>>>) -> Unit> =
ProxyFactory.createSyncFunProxy("mock.template.typealiaz.AccessMock#_barWithTAlias703",
collector = collector, freeze = freeze)
public val _run: KMockContract.SyncFunProxy<Alias621, (L) -> Alias621> =
ProxyFa... | Kotlin |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.