content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
must be credited in a manner
* that can be be observed by end users, for example, in the credits or during
* start up. (please find WiEngine logo in sdk's logo folder)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwa... | Java |
/* Computation of the reference potential evapotranspiration
// following the method of Thornthwaite
*/
/* Function prototypes */
#include "spei.h"
/* thornthwaite(tempSeries)
// Calculates the potential evapotranspiration from a series of monthly
// temperature data, following the method of Thornthwaite.
*/
void thor... | C |
],
answer: false,
},
];
for (i, solution) in solutions.into_iter().enumerate() {
for (j, test_case) in test_cases.iter().cloned().enumerate() {
let test_answer = solution.is_valid_sudoku(test_case.input);
assert_eq!(test_answer, test_case.answer,... | Rust |
// 2^252 * 8 * G
.quad 0x9dd1f49927996c02
.quad 0x0cb3b058e04d1752
.quad 0x1f7e88967fd02c3e
.quad 0x2f964268cb8b3eb1
.quad 0x7ba95ba0218f2ada
.quad 0xcff42287330fb9ca
.quad 0xdada496d56c6d907
.quad 0x5380c296f4beee54
.quad 0x9d4f... | Assembly |
from fasthtml.common import *
from claudette import *
import asyncio
# Set up the app, including daisyui and tailwind for the chat component
tlink = Script(src="https://cdn.tailwindcss.com"),
dlink = Link(rel="stylesheet", href="https://cdn.jsdelivr.net/npm/daisyui@4.11.1/dist/full.min.css")
app = FastHTML(hdrs=(tlink... | Python |
.78},{69.05,62.01},{69.25,62.3},{70.84,62.84},{69.8,63.16},{68.61,69.1},{72.05,69.55},{69.09,68.36},{71.59,61.03},{67.62,68.58},{68.03,67.38},{69.82,64.53},{67.95,61.9},{66.08,65.44},{66.72,65.76},{67.21,63.3},{68.48,62.23},{66.61,62.07},{70.07,60.44},{70.22,61.91},{67.57,70.35},{67.84,64.55},{67.31,69.13},{68.07,69.43... | Lua |
get extended later or pushed on at
// the end.
cur_loc = loc;
cur_offset = offset;
cur_len = len;
}
ret.push(InstructionAddressMap {
srcloc: cvt(cur_loc),
code_offset: cur_offset,
});
if cur_offset + cur_len != code_size {
ret.push(InstructionAddr... | Rust |
entities,
lastEntityId: const obx_int.IdUid(5, 5692106664767803360),
lastIndexId: const obx_int.IdUid(5, 2172676985778936605),
lastRelationId: const obx_int.IdUid(2, 6378075033578405480),
lastSequenceId: const obx_int.IdUid(0, 0),
retiredEntityUids: const [],
retiredIndexUids: const ... | Dart |
om) -> io::Result<u64> {
match pos {
SeekFrom::Start(0) => Ok(0),
SeekFrom::Start(_) => unimplemented!(),
SeekFrom::Current(_) => unimplemented!(),
SeekFrom::End(0) => Ok(self.max_size as u64),
SeekFrom::End(_) => unimplemented!(),
}
}
}//!... | Rust |
Поручи папы",
[30275] = "Наплечники МехТех",
[30276] = "Наследие семьи колесного мастера",
[30277] = "Вырывающая клыки лапа",
[30278] = "Воровской астральный клинок",
[30279] = "Мамашина страховка",
[30280] = "Выкройка: пояс взрыва",
[30281] = "Выкройка: пояс дальней дороги",
[30282] = "Выкройка: сапоги взрыва",
[30283... | Lua |
RyYW5zcG9ydA== 121266
IHN3aW1z 121267
IG9yaWdpbmF0aW5n 121268
IFNa 121269
X2dyYWRl 121270
IGxla2tlcmU= 121271
IFRyZW50 121272
0Y7RidC40LXRgdGP 121273
IOuyjA== 121274
4oCZYXV0b3I= 121275
IEFTVVM= 121276
IMOpaXM= 121277
INCy0YvRj9GB 121278
4KWB4KST 121279
IHB5bGludA== 121280
4oCZb2M= 121281
INii2K/ZhQ== 121282
INek16jXkA... | Kotlin |
endregion
#region Methods
/// <summary>
/// Updates the bitmap with new frame data.
/// </summary>
/// <param name="frame">The specified Kinect infrared frame.</param>
public override void Update(InfraredFrame frame)
{
if (Bitmap == null)
... | C# |
/***************************************************************************
* neuronics_katana.h - Fawkes to OpenRAVE Neuronics Katana6M180 Manipulator Data
*
* Created: Thu Sep 08 15:34:52 2011
* Copyright 2011 Bahram Maleki-Fard, AllemaniACs RoboCup Team
*
************************************************... | C |
name = storage.module_name(filename);
storage.set_file(filename, s.to_string());
let _root = storage.look_up_definitions(&module_name)?;
let root_entity = *storage
.path_to_entity
.get(&module_name)
.expect("Expected an entity for the program");
Inter... | Rust |
),
output
)
}
@Test
fun `AppRolesWebhook is deserialized successfully `() {
val input = """
{
"recipient":{
"id":"<PSID>"
},
"timestamp":1458692752478,
"app_roles":{
"123456789":["primary_receiver"]
}
}
"""
val output =... | Kotlin |
need Xcode's command line tools including the C compiler, make, and git.
Run this shell command to install _or update_ the command line tools:
```shell script
xcode-select --install
```
### On Ubuntu
```shell script
sudo apt install -y gcc make build-essential wget curl llvm
```
### On Sherlock
(Here we're assu... | Markdown |
/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\... | C |
title_11": "Not epic, but ultra-super?",
"u_title_12": "Do you even need it in your calendar?!",
"u_title_13": "Wanna see your past years' grades?",
// upsell descriptions
"u_desc_1": "The limit increases with each tier.",
"u_desc_2":
"Subscribe to reFilc+... | Dart |
음, 지휘관 너 왜 이렇게 멍하니 있어? 어쨌든, 이름도 알려줬으니까, 난 먼저 이만~",
mail = "새로운 우편이 왔어! 어쩌면 아주 먼 곳의 바다에서 온 걸지도?",
lose = "유감이지만, 다음에 다시 와서 사냥해야겠어~",
propose = "이 날이 올 거라고 일찌감치 예상했었지만, 정말 오고나니까 가슴이 뛰어! 고마워, 바보 같고, 사랑스럽고, 내가 제일 좋아하는 지휘관~ 안심해, 난 항상 네 곁에 있을 거야~",
hp_warning = "우와, 여기서는 깊이 내려가서 몸을 숨기는게 낫겠어...",
id = 408100,
voic... | Lua |
ty(DATABASE_DDL_DROP_KEY, DEFAULT_DATABASE_DDL_DROP);
if ("true".equalsIgnoreCase(ddlDropProp)) {
ddlDrop = true;
}
String ddlDebugProp = System.getProperty(DATABASE_DDL_DEBUG_KEY, DEFAULT_DATABASE_DDL_DEBUG);
if ("true".equalsIgnoreCase(ddlDebugProp)) {
ddlDebug ... | Java |
ICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 ... | Java |
Extras, Fields{
"Mem": Not(BeNil()),
"CPU": Not(BeNil()),
"Time": Not(BeNil()),
}))
})
})
Describe("List app packages", func() {
var (
result resourceList[typedResource]
pkgGUID string
)
BeforeEach(func() {
appGUID = createBuildpackApp(space1GUID, generateGUID("app"))
pkgGUID =... | Go |
:block}
.typechoSkin .mceMenu td {height:20px}
.typechoSkin .mceMenu a {position:relative;padding:3px 0 4px 0}
.typechoSkin .mceMenu .mceText {position:relative; display:block; font-family:Tahoma,Verdana,Arial,Helvetica; color:#000; cursor:default; margin:0; padding:0 25px 0 25px; display:block}
.typechoSkin .mceMenu s... | CSS |
#Check if a number is even or odd
i= int (input("enter a number"))
if (i%2==0):
print ("no is even")
else :
print ("no is odd")
#Print first 10 natural numbers
for i in range (1,11):
print (i)
#Sum of numbers in a list
list = [1,10,20,15]
total= 0
for list in list :
total += list
print (total)
... | Python |
EB: lwm32 $16, $17, $ra, 8($4) # encoding: [0x22,0x44,0x50,0x08]
# CHECK-EB: lwm32 $16, $17, 8($sp) # encoding: [0x20,0x5d,0x50,0x08]
# CHECK-EB: swm16 $16, $17, $ra, 8($sp) # encoding: [0x45,0x52]
# CHECK-EB: swm32 $16, $17, $ra, 64($sp) # encoding: [0x22,0x5d,0xd0,0x40]
# CHECK-EB: swm32 $16... | Assembly |
磁盘,使用了页缓存机制,**由于页缓存处在内核空间,不能被用户进程直接寻址**,这样就出现了两次拷贝的过程,这也是常规文件操作的性能限制。
#### 内存映射
使用mmap操作文件中,创建新的虚拟内存区域和建立文件磁盘地址和虚拟内存区域映射这两步,**没有任何文件拷贝操作**。
之后访问数据时发现内存中并无数据而发起的缺页异常过程,可以<u>通过已经建立好的映射关系,只使用一次数据拷贝,就从磁盘中将数据传入内存的用户空间中,供进程使用</u>。
#### 结论
- 常规文件操作需要从磁盘到页缓存再到用户主存的两次数据拷贝。
- 而mmap操控文件,只需要从磁盘到用户主存的一次数据拷贝过程。mmap的关键点是**实现了用户... | Markdown |
select .ec-errorMessage, .ec-telInput .ec-errorMessage, .ec-zipInput .ec-errorMessage, .ec-numberInput .ec-errorMessage, .ec-halfInput .ec-errorMessage {
margin-bottom: 25px;
font-size: 12px;
font-weight: bold;
color: #DE5D50;
}
.error.ec-input input, .error.ec-birth input, .error.ec-select input, .error.ec-tel... | CSS |
channelEvent.destory(channelId);
String path = StagePathUtils.getPipeline(channelId, pipelineId);
want.bool(zookeeper.exists(path)).is(false);
}
}
/*
* Copyright (C) 2010-2101 Alibaba Group Holding Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use t... | Java |
p they will
/// be silently clamped to the supported range.
final double tilt;
/// The zoom level of the camera.
///
/// A zoom of 0.0, the default, means the screen width of the world is 256.
/// Adding 1.0 to the zoom level doubles the screen width of the map. So at
/// zoom level 3.0, the screen width... | Dart |
rrNoVolumes' : 'Readable volumes not available.',
'errCmdParams' : 'Invalid parameters for command "$1".',
'errDataNotJSON' : 'A válasz nem JSON típusú adat.',
'errDataEmpty' : 'Nem érkezett adat.',
'errCmdReq' : 'Backend request requires command name.',
'errOpen'... | JavaScript |
,
cbBufSize,
pcbBytesNeeded,
lpServicesReturned,
lpResumeHandle,
pszGroupName);
if status == 0 then
local err = error_handling.GetLastError();
if err ~= ERROR_MORE_DATA then
return false, err;
end
end
-- we now know how much data needs to be alloca... | Lua |
nt = 0;
This->trigger = NULL;
This->is_dirty = FALSE;
This->instance_count = 0;
memset(&This->last_runtime, 0, sizeof(This->last_runtime));
CoCreateGuid(&This->uuid);
/* Default time is 3 days = 259200000 ms */
This->maxRunTime = 259200000;
hr = ITaskDefinition_get_Actions(This->task,... | C |
import argparse
from pathlib import Path
import tomli as tomllib
def main() -> None:
parser = argparse.ArgumentParser()
parser.add_argument("--typeshed", type=Path, required=True)
args = parser.parse_args()
typeshed_p_to_d = {}
for stub in (args.typeshed / "stubs").iterdir():
if not stub... | Python |
toParamDefaultValue
if (toAtomInputParamValue != null) {
toAtomInputParamMap[toAtomInputParamName] = toAtomInputParamValue
}
return true
}
return false
}
private fun generateMarketBuildLessAtomElement(
toAtomInfo: PipelineAtom,
... | Kotlin |
Panoptic-DeepLab, please use the following BibTeX entry.
* CVPR 2020 paper:
```
@inproceedings{cheng2020panoptic,
title={Panoptic-DeepLab: A Simple, Strong, and Fast Baseline for Bottom-Up Panoptic Segmentation},
author={Cheng, Bowen and Collins, Maxwell D and Zhu, Yukun and Liu, Ting and Huang, Thomas S and Ad... | Markdown |
"""empty message
Revision ID: ffa75d04e6ef
Revises: c3470e2d3224
Create Date: 2021-08-02 11:30:05.509051
"""
import sqlalchemy_utils
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = 'ffa75d04e6ef'
down_revision = 'c3470e2d3224'
branch_labels = None
depends_on = None... | Python |
%;
--ring: 0 0% 3.9%;
--chart-1: 12 76% 61%;
--chart-2: 173 58% 39%;
--chart-3: 197 37% 24%;
--chart-4: 43 74% 66%;
--chart-5: 27 87% 67%;
--radius: 0.5rem;
--grid-auto-rows-lg: 1fr;
--grid-auto-rows-md: 1fr;
--grid-auto-rows-sm: 1fr;
}
/* .dark {
--background: 0 0% 3.9%;... | CSS |
J27",
"838": "645HP29",
"840": "651HP30",
"843": "64KA30B",
"846": "64GJ30A",
"849": "642UP30",
"850": "SMVD",
"852": "642GA30",
"853": "644UK30",
"855": "645RJ30",
"857": "DHAMPURSUG",
"858": "655TR30",
"861": "648KA31",
"862": "SGBDEC2513",
"864": "655AP33",
"8... | Go |
states[vim._resolve_bufnr(bufnr)].enabled
end
--- Optional filters |kwargs|, or `nil` for all.
--- @class vim.lsp.inlay_hint.enable.Filter
--- @inlinedoc
--- Buffer number, or 0 for current buffer, or nil for all.
--- @field bufnr integer?
--- Enables or disables inlay hints for the {filter}ed scope.
---
--- To "togg... | Lua |
etary::kinds::scalar_data_envelope::ScalarDataEnvelope;
use anyhow::Result;
use cid::Cid;
use sk_cbor::Value;
use std::convert::TryFrom;
#[derive(thiserror::Error, Debug)]
pub enum Error {
#[error("failed to read HoliumCBOR data")]
FailedToReadHoliumCborData,
#[error("failed to write HoliumCBOR data")]
... | Rust |
True value if the subnet has a match to the conditionType,
// otherwise returns an opposite value of the wantTrue with detailed logging.
func IsSubnetConditionSetAsExpected(subnet *apiv1.Subnet, conditionType apiv1.ConditionType, wantTrue bool) bool {
return isSubnetConditionSetAsExpected(subnet, conditionType, wantTr... | Go |
, 10, 5, 1]
plot_embeddings(classes,im_index,npz_path,ax, cm, ['a','Leukemia'],representative_indices,0.8)
def annotate_bld(ax):
classes={
6: 'NEU',
2: 'EBO',
7: 'PLA',
1: 'EOS',
5: 'MONO',
3: 'GRA',
4: 'LYMPH',
0: ... | Python |
r1, sp, #0
bl ov01_021F93AC
mov r0, #2
ldr r1, [sp, #4]
lsl r0, r0, #0x10
add r1, r1, r0
str r1, [sp, #4]
ldr r1, [sp, #8]
lsr r0, r0, #5
add r0, r1, r0
str r0, [sp, #8]
ldr r0, [r4]
cmp r0, #0
beq _02200658
cmp r0, #1
beq _02200682
cmp r0, #2
b _0220069A
_02200658:
ldr r0, [r4, #0x40]
mov r1, #1
b... | Assembly |
// Copyright (c) The LEGO Group. All rights reserved.
namespace LEGO.AsyncAPI.Bindings.Sqs
{
using System;
using System.Collections.Generic;
using LEGO.AsyncAPI.Readers.ParseNodes;
using LEGO.AsyncAPI.Writers;
public class SqsOperationBinding : OperationBinding<SqsOperationBinding>
{
/... | C# |
lsPrim);
}else {
writeMesh(child, writer, purpose, usedTextures, templates, childKind, materialsPrim);
}
}
writer.endChildren();
if(purpose == MeshPurpose.RENDER && group.getPurpose() == MeshPurpose.UNDEFINED) {
writer.endOver();
}else {
writer.endDef();
}
}
private static Mesh readMesh... | Java |
else
decoration:Show()
end
end,
Simple = function(frame)
local decoration = decoratorFrames[frame:GetName()]
if not decoration then
decoration = CreateFrame("Frame", frame:GetName().."ThemeDefault", frame, "DefaultPanelTemplate") --[[@as DefaultThemeTemplate]]
decoration:SetAllPoint... | Lua |
public class TestTrees extends BaseTest {
TreeAdaptor adaptor = new CommonTreeAdaptor();
protected boolean debug = false;
static class V extends CommonTree {
public int x;
public V(Token t) { this.token = t;}
public V(int ttype, int x) { this.x=x; token=new CommonToken(ttype); }
public V(int ttype, Token ... | Java |
.buffer =
{
.data = IMAGE_BITBOX02_LOGO,
.len = sizeof(IMAGE_BITBOX02_LOGO),
},
.dimensions =
{
.width = IMAGE_BITBOX02_LOGO_W,
.height = IMAGE_BITBOX02_LOGO_H,
},
};
return result;
#elif... | C |
statusbarbg:SetWidth(settings.width);
statusbar:SetHeight(settings.height);
statusbarbg:SetHeight(settings.height);
statusbar:ClearAllPoints();
statusbarbg:ClearAllPoints();
statusbar.direction = settings.direction;
statusbarbg.direction = settings.direction;
if (settings.direction == 1) then
statusbar:SetPoi... | Lua |
.btn-inverse.active {
color: #555555 !important;
background: transparent;
text-shadow: none;
}
/* line 266, ../../source/global/components/mixins.scss */
.mg-wrapper .btn-grey-dark.btn-outline > i {
text-shadow: none !important;
}
/* line 272, ../../source/global/components/mixins.scss */
.mg-wrapper .btn-grey-da... | CSS |
', () async {
when(mockChannel.invokeMethod('flush', any)).thenAnswer((_) async => null);
amplitude.flush();
verify(mockChannel.invokeMethod(
'flush', {'instanceName': Constants.defaultInstanceName})).called(1);
});
// Reset the mock method call handler after each test
tearDown(() {
cle... | Dart |
fsets, FindOffsetMethod findOffsetMethod)
{
var bytes = GenerateRandomBytes(numBytes, expectedOffsets);
List<int> offsets = FindOffsetWithMethod(bytes, findOffsetMethod);
offsets.Count.Should().Be(expectedOffsets.Length);
for (var x = 0; x < expectedOffsets.Length; x++)
... | C# |
");
if (!name.starts_with("_"))
return nullptr;
// Search for x86 stdcall function.
if (Symbol *s = findByPrefix(name + "@"))
return s;
// Search for x86 fastcall function.
if (Symbol *s = findByPrefix("@" + name.substr(1) + "@"))
return s;
// Search for x86 vectorcall function.
if (Symbol *s... | C++ |
_client_publish.c|qcloud_iot_mqtt_publish(340): publish packetID=0|topicName=$gateway/operation/MMC8QP0VAQ/GW001|payload={"type":"online","payload":{"devices":[{"product_id":"WPDA0S6S08","device_name":"dev001"}]}}
INF|2020-01-13 16:11:24|gateway_common.c|_gateway_message_handler(138): client_id(WPDA0S6S08/dev001), onli... | Markdown |
}.select-cover__120-tips{position:absolute;left:0;bottom:0;width:120px;height:28px;background:rgba(0,0,0,.4);border-radius:4px;font-size:14px;font-weight:400;color:#fff;text-align:center;line-height:28px;display:none}.select-cover__120-edit:hover .select-cover__120-tips{display:block}.task-date .el-date-picker__header ... | CSS |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from lxml import html
from json import dumps
from requests import get
from os import chmod
from stat import S_IREAD, S_IRGRP, S_IROTH
from json import load
with open('as-renamed.json','r', encoding='utf-8') as f:
as_renamed = load(f)
url_as = 'https://bgp.potaroo.ne... | Python |
on: " + advancedUARTPeripherals.toString() + ". Please select one of these instances from PinMux if available.",
inst,"enableExtend");
}
}
}
}
// UNICOMM UART Validation
else{
try{
let peripheralSolution = inst.peripheral.$solution... | JavaScript |
red automatically, headers are defined
* locally above.
*/
constructor(absFilePath: string, delimiter: string, skipLn: number) {
this.absFilePath = absFilePath;
this.delimiter = delimiter;
this.skipLn = skipLn;
if (!fs.existsSync(this.absFilePath)) {
... | Typescript |
.+}}, 2
// CHECK-NEXT: sub nsw i32 %{{.+}}, 0
// CHECK-NEXT: sdiv i32 %{{.+}}, 1
// CHECK-NEXT: sext i32 %{{.+}} to i64
// CHECK-NEXT: [[TMP:%.+]] = getelementptr inbounds [1 x i64], ptr [[CNT:%.+]], i64 0, i64 0
// CHECK-NEXT: store i64 %{{.+}}, ptr [[TMP]],
// CHECK-NEXT: [[TMP:%.+]] = getelementptr inbounds [1 x i64... | C |
rt 'package:async/async.dart';
import 'package:flutter/material.dart';
class AutoHideAppBarWrapper extends StatefulWidget
implements PreferredSizeWidget {
final PreferredSizeWidget child;
final bool transformHitTests;
final bool showFirstTime;
const AutoHideAppBarWrapper({
super.key,
required this... | Dart |
curr_cycle,true,ticks0);
curr_cycle++;
}
}
catch (...)
{
m_stepsThisCycle = m_stepsThisCycleTotal = 0;
throw;
}
m_stepsThisCycle = m_stepsThisCycleTotal = 0;
return(new_energy);
}
//--------------------------------------------------------------------------------
GCoptimization::EnergyType GCoptimizat... | C++ |
try:
with open(final_output_path, 'w') as f_out:
json.dump(all_molecules, f_out, indent=4)
print(f"Successfully merged {len(intermediate_files)} files into {final_output_path}.")
except Exception as e:
print(f"Failed to save merged JSON file {final_output_path}: {e}")
def check... | Python |
using ProtoBuf;
using System;
using System.Collections.Generic;
namespace micromsg
{
[ProtoContract(Name = "GetAppSettingResponse")]
[Serializable]
public class GetAppSettingResponse : IExtensible
{
private BaseResponse _BaseResponse;
private uint _AppCount;
private readonly List<AppSetting> _SettingList =... | C# |
opacity .3s,left .3s,right .3s,top .4s,bottom .3s,-webkit-transform .3s;transition:opacity .3s,left .3s,right .3s,top .4s,bottom .3s,-webkit-transform .3s;transition:opacity .3s,transform .3s,left .3s,right .3s,top .4s,bottom .3s;transition:opacity .3s,transform .3s,left .3s,right .3s,top .4s,bottom .3s,-webkit-transfo... | CSS |
ver();e(".tooltip-test").tooltip();e(".popover-test").popover();e('.bd-example-indeterminate [type="checkbox"]').prop("indeterminate",true);e('.bd-content [href="#"]').click(function(e){e.preventDefault()});e("#exampleModal").on("show.bs.modal",function(t){var n=e(t.relatedTarget);var r=n.data("whatever");var i=e(this)... | JavaScript |
56001,d0
move #1,d1
bsr GWVA_RSC_ALERT_BOX
moveq #GWVA_PRGRET_CONSUMED,d6
rts
.pas8bitpixel:
move #ALERT_NOT_4_8BIT,d0
move #1,d1
bsr GWVA_RSC_ALERT_BOX
moveq #GWVA_PRGRET_CONSUMED,d6
rts
;-------------------------------------------
menu_info: lea objet_fenetre_info,a0
bsr GWVA_WIND_CREATE_OPEN_ONE_WIND
... | Assembly |
idc.add_struc_member(sid, "_EAX_", -1, idc.FF_DWORD, -1, 4)
idc.add_struc_member(sid, "_EDX_", -1, idc.FF_DWORD, -1, 4)
idc.add_struc_member(sid, "_EBX_", -1, idc.FF_DWORD, -1, 4)
idc.add_struc_member(sid, "_ECX_", -1, idc.FF_DWORD, -1, 4)
idc.add_struc_member(sid, "_ESI_", -1, idc.FF_DWORD, -1, 4)
STRUCT_NAME = "... | Markdown |
- 通过弹幕巩固学习成果
5. ✅ **听写测试** - 检验学习效果
### 📚 记忆单词界面快捷键
> 💡 **提示**: macOS 用户请将 `Ctrl` 替换为 `⌘`(Command 键)
#### 🎵 音视频控制
- `Ctrl + J` - 播放单词读音
- `Ctrl + 1/2/3` - 播放对应字幕的视频片段
#### 👁️ 显示控制
- `Ctrl + V` - 显示/隐藏单词(听写模式下为显示下划线)
- `Ctrl + P` - 显示/隐藏音标
- `Ctrl + L` - 显示/隐藏词形变化
- `Ctrl + E` - 显示/隐藏英文释义
- `Ctrl + K` - 显示/隐藏中文... | Markdown |
5("fab-html5", '\uf13b'),
HUBSPOT("fab-hubspot", '\uf3b2'),
IDEAL("fab-ideal", '\ue013'),
IMDB("fab-imdb", '\uf2d8'),
INNOSOFT("fab-innosoft", '\ue080'),
INSTAGRAM("fab-instagram", '\uf16d'),
INSTAGRAM_SQUARE("fab-instagram-square", '\ue055'),
INSTALOD("fab-instalod", '\ue081'),
INTERCOM... | Java |
s {
border: 1px solid #d8dde6
}
.slds-button--icon-inverse:hover:hover,
.slds-button--icon-inverse:hover:focus,
.slds-button--icon-inverse:focus:hover,
.slds-button--icon-inverse:focus:focus {
background-color: #f4f6f9
}
.slds-button--icon-inverse:hover:active,
.slds-button--icon-inverse:focus:active {
ba... | CSS |
}},
{1, "EnGenius-Product", "body", "", InStr{"(<div class=\"rndcrnr1_top\">)", "", ""}, ReqHttp{"", "", nil, ""}},
{1, "EnGenius-Switch", "body", "", InStr{"(conner_basic conner_gdl)", "", ""}, ReqHttp{"", "", nil, ""}},
{1, "EnGenius-wifi", "body", "", InStr{"(style=\"background: url(/pictures/img_bg_horizon.png) ... | Go |
+/g.test(v)
);
}
/**
* Check if v is a file extension.
* @param {string} v
*/
export function isExt(v) {
return /^.*\.[\w]+$/.test(v);
}
/**
* @typedef {Object.<string, string[]>} AcceptProp
*/
/**
* @typedef {object} FileError
* @property {string} message
* @property {ErrorCode|string} code
*/
/**
* ... | JavaScript |
A;
}
/*!
* Font Awesome Pro 6.2.0 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license (Commercial License)
* Copyright 2022 Fonticons, Inc.
*/
:root,
:host {
--fa-style-family-sharp: 'Font Awesome 6 Sharp';
--fa-font-sharp-solid: normal 900 1em/1 'Font Awesome 6 Sharp';
}... | CSS |
slice()
.map(function(rule) {
if (typeof rule === "string" ||
typeof rule === "number" ||
rule instanceof Date) {
return self.parseDate(rule, undefined, true);
} else if (rule &&
typeof rule === "object" &&
rule.from &&
... | JavaScript |
String diffuseTexFilename;
String shininessTexFilename;
String specularTexFilename;
public ObjMaterial () {
reset();
}
public ModelMaterial build () {
ModelMaterial mat = new ModelMaterial();
mat.id = materialName;
mat.ambient = ambientColor == null ? null : new Color(ambientColor);
mat.diffu... | Java |
, [sp, #96]
stp x24, x23, [sp, #112]
stp x22, x21, [sp, #128]
stp x20, x19, [sp, #144]
sub sp, sp, #464
.cfi_def_cfa w29, 96
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
.cfi_offset w23, -40
.cfi_offset w24, -48
.cfi_offset w25, -56
.cfi_offset w26, -64
.cfi_offset w2... | Assembly |
elatorItemImpl shParentRelatorItem, ShPostTypeAttr shPostTypeAttr,
ShPostAttr shPostAttr) {
shPostAttr.setShPost(null);
shPostAttr.setShParentRelatorItem(shParentRelatorItem);
if (shPostTypeAttr != null) {
if (shPostTypeAttr.getIsTitle() == 1) {
shParentRelatorItem.setTitle("Parent" + shPostAttr.getStrV... | Java |
case p == pathNameRC && m == "GET":
if body == nil {
return &http.Response{StatusCode: 404, Header: cmdtesting.DefaultHeader(), Body: ioutil.NopCloser(bytes.NewReader(nil))}, nil
}
bodyRC := ioutil.NopCloser(bytes.NewReader(body))
return &http.Response{StatusCode: 200, Header: cmdtesting.Defaul... | Go |
errors")
}
}
func TestGettingNearestPicturesToRegion(t *testing.T) {
img, _ := PrepareTargetImage(inimg)
photos := ReadFromDir(imgdir)
grid, _ := GetNearestPicturesToRegion(img, photos, TileWidth, TileHeight)
if len(grid) == 0 {
t.Fatal("Tile pictures was not associated to regions")
}
}
func TestGettingNear... | Go |
; .word entering05_lzsa ; (2)
.byte 128+2 ; .word entering06_lzsa ; (2)
.byte 128+2 ; .word entering07_lzsa ; (2)
.byte 128+2 ; .word entering08_lzsa ; (2)
.byte 128+2 ; .word entering09_lzsa ; (2)
.byte 128+2 ; .word entering10_lzsa ; (2)
.byte 128+2 ; .word ... | Assembly |
,
std::move(library), this)));
// capture temporary global _lib in functions which all forward to
// 'call' with corresponding index
const auto callMethodScript =
QStringLiteral("(lib => (...args) => lib.call(%1, [...args]))(_lib)");
for (auto i = 0u; i < interface.function_count; +... | C++ |
local numbershers = {"1", "2", "3", "4", "5", "6", "7", "8", "9", "0"}
local frameX = 10
local frameY = 45
local active = false
local whee
local spacingY = 20
local textzoom = 0.35
local ActiveSS = 0
local SSQuery = {}
SSQuery[0] = {}
SSQuery[1] = {}
local frameWidth = capWideScale(360, 400)
local frameHeight = 350
loc... | Lua |
структури даних, які я колись використовував, були вже вбудовані в мову програмування, а я навіть не знав, як вони працюють "під капотом". Мені ніколи не доводилось розбиратись з пам'яттю, окрім випадків, коли я отримував "OutOfMemoryException", тоді мені доводилось шукати вихід з ситуації.
Я використовував кілька бага... | Markdown |
variable19 = _Undefined,
Object? variable20 = _Undefined,
}) {
return ImmutableObjectWithTwentyFields(
variable1: variable1 is String? ? variable1 : this.variable1,
variable2: variable2 is String? ? variable2 : this.variable2,
variable3: variable3 is String? ? variable3 : this.variable3,
... | Dart |
<String?> servingDescription9G;
final Value<double?> servingSize;
final Value<String?> servingUnit;
final Value<double?> servingWeight1G;
final Value<double?> servingWeight2G;
final Value<double?> servingWeight3G;
final Value<double?> servingWeight4G;
final Value<double?> servingWeight5G;
final Value<do... | Dart |
VERSALSTRING)
BIO_printf(bp, "UNIVERSALSTRING:'");
else
BIO_printf(bp, "ASN.1 %2d:'", str->type);
p = (char *)str->data;
for (j = str->length; j > 0; j--) {
#ifdef CHARSET_EBCDIC
if ((*p >= 0x20) && (*p <= 0x7e))
BIO_printf(bp, "%c", os_toebcdic[*p]);
#else
if ((... | C |
t(x => Equals(x.Hwnd, hwnd));
if (result != null)
return result;
var window = WindowInfo.FromHwnd(hwnd);
// Ignore window created on separate UI threads
if (window == null || window.Dispatcher != dispatcher)
return null;
retu... | C# |
KDAYS: ['ሰንበት ዓባይ', 'ሰኖ', 'ታላሸኖ',
'ኣረርባዓ', 'ከሚሽ', 'ጅምዓት', 'ሰንበት ንኢሽ'],
STANDALONEWEEKDAYS: ['ሰንበት ዓባይ', 'ሰኖ', 'ታላሸኖ',
'ኣረርባዓ', 'ከሚሽ', 'ጅምዓት', 'ሰንበት ንኢሽ'],
SHORTWEEKDAYS: ['ሰ/ዓ', 'ሰኖ', 'ታላሸ', 'ኣረር', 'ከሚሽ',
'ጅምዓ', 'ሰ/ን'],
STANDALONESHORTWEEKDAYS: ['ሰ/ዓ', 'ሰኖ', 'ታላሸ', 'ኣረር',
'ከሚሽ', 'ጅምዓ', 'ሰ/... | JavaScript |
0 0 3px}body.desktop .q-chip--clickable:focus{box-shadow:0 1px 3px rgba(0,0,0,0.2),0 1px 1px rgba(0,0,0,0.14),0 2px 1px -1px rgba(0,0,0,0.12)}.q-circular-progress{display:inline-block;position:relative;vertical-align:middle;width:1em;height:1em;line-height:1}.q-circular-progress.q-focusable{border-radius:50%}.q-circul... | CSS |
%04d/%02d/%02d %02d:%02d:%02d.%04d %s ", bt->tm_year+1900, bt->tm_mon+1, bt->tm_mday, bt->tm_hour, bt->tm_min, bt->tm_sec, ms/100, level);
#endif
vfprintf( f, msg, args );
fprintf(f, "\n" );
if ( autoFlush )
fflush( f );
}
public:
CRFileLogger( FILE * file, bool _autoClose, b... | C++ |
TVariable _Var;
std::vector<IAILogicAction::TSmartPtr> _SubActions;
std::vector<sint32> _Labels;
IAILogicAction::TSmartPtr _DefaultAction;
};
class CPropertyZone
:public CRefCount
{
public:
typedef NLMISC::CSmartPtr<CPropertyZone> TSmartPtr;
CPropertyZone ()
:_Shape(true),
_Target(CTmpPropertyZone::All)
{
}... | C++ |
uditLogger())
return
} else if e := &(fosite.RFC6749Error{}); errors.As(err, &e) {
x.LogAudit(r, err, h.r.AuditLogger())
h.r.Writer().WriteError(w, r, err)
return
} else if err != nil {
x.LogError(r, err, h.r.Logger())
h.r.Writer().WriteError(w, r, err)
return
}
req, sig, err := h.r.OAuth2Storage().G... | Go |
t:left;margin:3px 3px 0 0">',
'<span style="margin-left:20px" class="x-tab-strip-text {iconCls}">{text} {extra}</span>',
'</span>',
'</em>',
'</a>',
'</li>'
),
getTemplateArgs: function(item) {
// Call the native method to collec... | JavaScript |
ہ انٹرنیٹ سے منسلک ہر کمپیوٹر کو ایک منفرد شناختی نمبر دیا جاتا ہے جسے IP ایڈریس کہتے ہیں۔ یہ عام طور پر اعداد کے چار سیٹ ہوتے ہیں جنہیں ادوار سے الگ کیا جاتا ہے، مثال کے طور پر: 172.66.35.7۔ اس بات کو ذہن میں رکھنا ضروری ہے جب ہم اس بات پر غور کرتے ہیں کہ Monero کی معلومات کو انٹرنیٹ پر کیسے منتقل کیا جاتا ہے۔ Monero ... | Dart |
/*
* Copyright 2012 ZXing authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | C |
inv;
if (!p) {
return (NULL);
} /* p = NULL denotes identity */
pinv = (CS_INT*)cs_malloc(n, sizeof(CS_INT)); /* allocate result */
if (!pinv) {
return (NULL);
} /* out of memory */
for (k = 0; k < n; k++) {
pinv[p[k]] = k;
} ... | C++ |
os);
// Can only go left or right
if turn.is_none() {
continue;
}
let turn = turn.unwrap();
let mut steps = 0;
let vec: Vector2D = turn.absolute.into();
let mut pos = new_robot.position + vec;
while let Some... | Rust |
/Roboto-Bold.woff") format("woff"), url("../fonts/roboto/Roboto-Bold.ttf") format("truetype");
font-weight: 700;
}
.pipeline-index a {
text-decoration: none;
}
.pipeline-index html {
line-height: 1.5;
font-family: "Roboto", sans-serif;
font-weight: normal;
color: rgba(0, 0, 0, 0.87);
}
@media only screen... | CSS |
line."
.byte 0
progress_dot:
.ascii "."
.byte 0
extended_bootsector_loaded:
.ascii "\n\rBoot code correctly loaded."
.byte 0
extended_code_end:
.space (1<<9)-(2)-(extended_code_end-e | Assembly |
He is in a small room on the northern side.
collect Celebrian Diamond##17703 |q 7044/1
|only if guideflag("Maraflag")
step
Inside the Maraudon Dungeon:
kill Celebras the Cursed##12225
|tip He is Purple side of Maraudon.
|tip Continue through the Vyletongue Seat and into the Poison Falls.
|tip Once you reach the Poison ... | Lua |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.