content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
Useful if you want to share the same OpenGL context between different threads
- Possible values: nil, or any valid EAGLSharegroup group
- multiSampling: Whether or not to enable multisampling
- Possible values: YES, NO
- numberOfSamples: Only valid if multisampling is enabled
- Possible values: 0 to glGetIntegerv(... | C |
(*) FROM (SELECT DISTINCT id FROM %s) AS t)",
commitTarget(), commitTarget());
assertEquals(
"Should have expected rows",
ImmutableList.of(row(1, "hr"), row(2, "y")),
sql("SELECT * FROM %s ORDER BY id", selectTarget()));
});
sql("UPDATE %s S... | Java |
al-provisioner/rbac.yaml",
"test/e2e/testing-manifests/storage-csi/hostpath/hostpath-v0/csi-hostpath-attacher.yaml",
"test/e2e/testing-manifests/storage-csi/hostpath/hostpath-v0/csi-hostpath-provisioner.yaml",
"test/e2e/testing-manifests/storage-csi/hostpath/hostpath-v0/csi-hostpathplugin.yaml",
"test/e2e/testi... | Go |
Każdy węzeł Monero łączy się z innymi węzłami w sieci, tak aby wzajemnie synchronizowały swoje kopie blockchaina. Te połączenia umożliwiają im dowiedzenie się o nowych transakcjach, ich propagację i wysyłanie własnych. Jako że węzeł może tylko poinformować inne o transakcji, o której sam wie, można się domyśleć, że pie... | Dart |
vePrecompiles(rules)
// Save the outer calldata also
if len(input) >= 4 {
t.store(input[0:4], len(input)-4)
}
}
// CaptureState implements the EVMLogger interface to trace a single step of VM execution.
func (t *fourByteTracer) CaptureState(pc uint64, op vm.OpCode, gas, cost uint64, scope *vm.ScopeContext, rData... | Go |
}
}
}/* eslint-disable no-console */
import { promises as fs, existsSync } from 'fs';
import path from 'path';
const migrationTemplate = `import Base from 'db-migrate-base';
/**
* Describe what your \`up\` migration does.
*/
export async function up(
db: Base,
callback: Base.CallbackFunction
): Pro... | Typescript |
idad.
Los soldados corrían de un lado a otro. Algunos saludaban a Kaladin con
la mano o a viva voz. Él les respondió asintiendo, se guardó la piedra
en el bolsillo, y se cruzó de brazos a la espera. No muy lejos, el
estandarte de Amaram ondeaba ya, un campo burdeos blasonado con un
glifopar verde oscuro en forma de es... | Markdown |
21.5 0 48L0 464c0 26.5 21.5 48 48 48l96 0 0-80c0-26.5 21.5-48 48-48s48 21.5 48 48l0 80 88.6 0c-5.4-9.4-8.6-20.3-8.6-32l0-128c0-23.7 12.9-44.4 32-55.4l0-24.6c0-30.5 12.2-58.2 32-78.4L384 48c0-26.5-21.5-48-48-48L48 0zM64 240c0-8.8 7.2-16 16-16l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-3... | JavaScript |
nst not_null<Incoming*> _owner;
QSize _viewport;
float _factor = 1.;
int _ifactor = 1;
QVector2D _uniformViewport;
std::optional<QOpenGLBuffer> _contentBuffer;
std::optional<QOpenGLShaderProgram> _argb32Program;
QOpenGLShader *_texturedVertexShader = nullptr;
std::optional<QOpenGLShaderProgram> _yuv420Program... | C++ |
d=taFormId).first()
addCommentTAForm(comment, taInfo, handlerId=handlerInfo.id)
if (status == 'ACCEPT'):
taInfo.stageCurrent = handlerInfo.role.nextStage
message = f"TA Form {taInfo.id} forwarded by {handlerInfo.designation}"
else:
taInfo.stageCurrent = handlerInfo.role.prevStage
... | Python |
ge the camera 'down' by a few degrees.
*/
void
move_camera_down(
double zoom_factor = 1.0);
/**
* For keyboard camera controls to use: nudge the camera 'left' by a few degrees.
*/
void
move_camera_left(
double zoom_factor = 1.0);
/**
* For keyboard camera controls to use: nudge the cam... | C |
rip = "{namecode:30}급 구축함 4번함—{namecode:129}",
mail = "편지 있어. 내가 열어줄까? 히힛, 안심해, 보상은 건들지 않을게~",
lose = "이런...... 다음엔 제대로 보여줄게......",
propose = "반지? 흥, 평소에 너무 놀림 받아서 지금 나를 한 번 놀려 먹겠다는거야? 아쉽지만 그렇게 쉽게 속지 않는다고~ ...잠깐, 정말 진지한거야? 이, 이거...... 대본이 이럴리가 없을텐데?",
hp_warning = "칫... 예상한 거랑 조금 다르잖아.......",
id = 301240,
... | Lua |
SparkFunLEDStick ledStick;
@Override
public void init() {
ledStick = hardwareMap.get(SparkFunLEDStick.class, "back_leds");
ledStick.setBrightness(brightness);
ledStick.setColor(Color.GREEN);
}
@Override
public void start() {
resetRuntime();
}
@Override
... | Java |
me(),
avatar:
'https://pbs.twimg.com/profile_images/754232659300065280/Oh_gkODg.jpg',
story:
'https://picsum.photos/id/20/400/400',
),
),
],
),
),
);
}
}
import 'package:accounting_tracker/mod... | Dart |
0.5, 0.5, 0.5)
end
if dir == "HORIZONTAL" then
DrawImage(nil, x + width - height, y, height, height)
else
DrawImage(nil, x, y + height - width, width, width)
end
if enabled and mOverComp == "DOWN" then
SetDrawColor(0.33, 0.33, 0.33)
else
SetDrawColor(0, 0, 0)
end
if dir == "HORIZONTAL" then
DrawImage(... | Lua |
tagname jp-accordion-item
*/
class JupyterAccordionItem extends AccordionItem {
}
/**
* A function that returns a {@link @microsoft/fast-foundation#AccordionItem} registration for configuring the component with a DesignSystem.
* Implements {@link @microsoft/fast-foundation#accordionItemTemplate}
*
*
* @public
* ... | JavaScript |
int{223}
}
func (x *AlterOwnerStmt) GetObjectType() ObjectType {
if x != nil {
return x.ObjectType
}
return ObjectType_OBJECT_TYPE_UNDEFINED
}
func (x *AlterOwnerStmt) GetRelation() *RangeVar {
if x != nil {
return x.Relation
}
return nil
}
func (x *AlterOwnerStmt) GetObject() *Node {
if x != nil {
retu... | Go |
true
});
console.log(this.form.value);
}
}/// <reference path="../typings/modules/d3/index.d.ts"/>
import { SvgBase } from './basesvg';
import { Helper } from './helper';
import { SVGDocument } from './document/svg';
import { CCPolygon2D } from './shapes/ccpolygon2d';
import { CCCircle2D } from '.... | Typescript |
� 개수 저장
with open('output.txt', 'w') as outfile:
outfile.write(f"{digit_count}\n{special_char_count}\n")
```
3. 에러 메시지
없음
4. 테스트 케이스에 대해 학생의 코드가 출력한 오답
- 테스트 케이스 1
```
3
19
```
- 테스트 케이스 2
```
0
26
```
- 테스트 케이스 3
```
3
18
```0. 틀린 이유
read()를 사용하여 파일 전체를 하나의 문자열로 읽어오면, 각 줄을 개별적으로 처리할 수 없기 때문에 줄바꿈을 인식하지 못하... | Markdown |
ApiAddress: $value');
apiAddress.value = value;
await saveBeanConfig();
}
Future<void> saveApiKey(String? value) async {
log.debug('saveApiKey: $value');
apiKey.value = value;
await saveBeanConfig();
}
Future<void> saveUseProxyServer(bool value) async {
log.debug('saveUseProxyServer: $... | Dart |
/* 802920F8 0028DD58 48 00 00 68 */ b lbl_80292160
lbl_802920FC:
/* 802920FC 0028DD5C 38 80 00 00 */ li r4, 0
/* 80292100 0028DD60 3C 00 08 00 */ lis r0, 0x800
/* 80292104 0028DD64 90 9E 00 A6 */ stw r4, 0xa6(r30)
/* 80292108 0028DD68 90 9E 00 AA */ stw r4, 0xaa(r30)
/* 8029210C 0028DD6C 90 9E 00 AE */ stw r4, 0x... | Assembly |
any resources will be skipped when paginating
func (r ApiGetTestsRequest) Skip(skip int32) ApiGetTestsRequest {
r.skip = &skip
return r
}
// query to search resources
func (r ApiGetTestsRequest) Query(query string) ApiGetTestsRequest {
r.query = &query
return r
}
// indicates the sort field for the resources
func... | Go |
y}
- スマートコントラクトを実装するためのオブジェクト指向の高級言語
- C++に強い影響を受けた中括弧を使ってブロックを表現する言語
- 静的型付け(変数型はコンパイル時に決定される)
- 以下の言語機能をサポートしている
- 継承(他のコントラクトを拡張できる)
- ライブラリ(他のオブジェクト指向言語における静的クラスで定義された静的関数のように、さまざまなコントラクトから呼び出すことができる再利用可能なコードを作成できる)
- 複雑なユーザー定義型
### 参照すべきリンク {#important-links}
- [ドキュメント](https://docs.soliditylang.org/en/la... | Markdown |
input[type="url"],
.pure-group input[type="date"],
.pure-group input[type="month"],
.pure-group input[type="time"],
.pure-group input[type="datetime"],
.pure-group input[type="datetime-local"],
.pure-group input[type="week"],
.pure-group input[type="number"],
.pure-group input[type="sear... | CSS |
txt
*/
package arcs.android.host.parcelables
import android.os.Parcel
import androidx.test.ext.junit.runners.AndroidJUnit4
import arcs.core.host.api.HandleHolder
import arcs.core.host.toParticleIdentifier
import arcs.sdk.HandleHolderBase
import arcs.sdk.Particle
import com.google.common.truth.Truth.assertThat
import... | Kotlin |
[i],
values = curve.values,
winding = curve.winding,
next = curve.next;
if (winding && (winding === 1
&& y >= values[1] && y <= values[7]
|| y >= values[7] && y <= values[1])
&& Curve.solveCubic(values, 1, y, roots, 0,
!next.winding && next.values[1] === y ? 1 : MAX) === 1){
... | JavaScript |
00;
--opengpts-quick-action-bg-color-2: #333;
--opengpts-quick-action-btn-bg-color: #111;
--opengpts-quick-action-border-color: #444;
--opengpts-quick-action-item-selected-bg-color: #8a57ea;
--opengpts-fg-rgb: 255, 255, 255;
--opengpts-bg-rgb: 0, 0, 0;
--opengpts-switchbar-bg-color: #212123;
--opengpts-... | CSS |
0,SPR_ICCFGR
l.andi r26,r24,SPR_ICCFGR_CBS
l.srli r28,r26,7
l.ori r30,r0,16
l.sll r14,r30,r28
/* Establish number of cache sets
r16 contains number of cache sets
r28 contains log(# of cache sets)
*/
l.andi r26,r24,SPR_ICCFGR_NCS
l.srli r28,r26,3
l.ori r30,r0,1
l.sll r16,r30,r28
/* Invalidate ... | Assembly |
{},
"NGA": {}, "NIU": {}, "NFK": {}, "MKD": {}, "MNP": {},
"NOR": {}, "OMN": {}, "PAK": {}, "PLW": {}, "PSE": {},
"PAN": {}, "PNG": {}, "PRY": {}, "PER": {}, "PHL": {},
"PCN": {}, "POL": {}, "PRT": {}, "PRI": {}, "QAT": {},
"ROU": {}, "RUS": {}, "RWA": {}, "REU": {}, "BLM": {},
"SHN": {}, "KNA": {}, "LCA": {}, "M... | Go |
ector2D(1.0f, 0.65f);
new Line2D(startPoint, endPoint, Color.Blue);
physics.CreateEdge(startPoint, endPoint);
}
private void CreateCircle()
{
PhysicsBody physicsCircle = physics.CreateCircle(Radius);
physicsCircle.Position = Center;
physicsCircle.LinearVelocity = new Vector2D(0.1f, 0.0f);
physi... | C# |
tation of the store.
func (s *store) PrettyPrint() string {
builder := &strings.Builder{}
builder.WriteString(fmt.Sprintf("s%dn%d=(replicas(%d))", s.storeID, s.nodeID, len(s.replicas)))
return builder.String()
}
// String returns a compact string representing the current state of the store.
func (s *store) String()... | Go |
n!(" - kernel driver? {}", has_kernel_driver);
//handle.set_active_configuration(endpoint.config)?;
//handle.claim_interface(endpoint.iface)?;
//handle.set_alternate_setting(endpoint.iface, endpoint.setting)?;
if has_kernel_driver {
handle.attach_kernel_driver(endpoint.ifac... | Rust |
+ "\027EnableServiceAccountKey\0223.google.iam.admin.v1.EnableSe"
+ "rviceAccountKeyRequest\032\026.google.protobuf"
+ ".Empty\"G\332A\004name\202\323\344\223\002:\"5/v1/{name=project"
+ "s/*/serviceAccounts/*/keys/*}:enable:\001*\022\254\001\n"
+ "\010SignBlob\022$.google.iam.... | Java |
4520
IHBvc3R1cmU= 24521
IGhpa2luZw== 24522
IFRlcm1pbmFs 24523
TGVnZW5kYXJ5 24524
IFRQ 24525
IEFUSw== 24526
IFN0YXJidWNrcw== 24527
IFJpb3Q= 24528
MTk5MQ== 24529
IEJvdHRvbQ== 24530
ZWZmaWM= 24531
IEV1Z2VuZQ== 24532
IFd5b21pbmc= 24533
IFJvY2t5 24534
IHNhbG1vbg== 24535
IG1ldHJv 24536
IGJpbGF0ZXJhbA== 24537
IGNlbGVicmF0ZXM=... | Kotlin |
划和科学研究的需要,国家重大工程项目和国务院确定的大城市确需建立相对独立的平面坐标系统的,由国务院测绘地理信息主管部门批准;其他确需建立相对独立的平面坐标系统的,由省、自治区、直辖市人民政府测绘地理信息主管部门批准。
建立相对独立的平面坐标系统,应当与国家坐标系统相联系。
第十二条 国务院测绘地理信息主管部门和省、自治区、直辖市人民政府测绘地理信息主管部门应当会同本级人民政府其他有关部门,按照统筹建设、资源共享的原则,建立统一的卫星导航定位基准服务系统,提供导航定位基准信息公共服务。
第十三条 建设卫星导航定位基准站的,建设单位应当按照国家有关规定报国务院测绘地理信息主管部门或者省、自治区、直辖市人民政府测绘地理信息主管部门备... | Markdown |
1ã0 */
#ifndef EXPD_DWLCD_ENABLE
#define EXPD_DWLCD_ENABLE (1)
#endif
/* NTC¶ϵȵĺ꣬1ã0 */
#ifndef EXPD_NTC_ENABLE
#define EXPD_NTC_ENABLE (1)
#endif
/* S1336-5BQΪȼĺ꣬1ã0 */
#ifndef EXPD_LUX_ENABLE
#define EXPD_LUX_ENABLE (1)
#endif
/* RTDȵĺ꣬1ã0 */
#ifndef EXPD_RTD_ENABLE
#define EXPD_RTD_ENABLE (1)
#endif
/*... | C |
## $at = 00000040
/* 021A8 80968AF8 26940001 */ addiu $s4, $s4, 0x0001 ## $s4 = 00000001
/* 021AC 80968AFC 26520004 */ addiu $s2, $s2, 0x0004 ## $s2 = 00000004
/* 021B0 80968B00 1661FFB8 */ bne $s3, $at, .L809689E4
/* 021B4 80968B04 26B50001 */ addiu $s5, $s5, 0x0001 ... | Assembly |
- 1;
}
}
}
if (longPhase != 0) { // cyclic shift
intPattern = (intPattern >>> longPhase) | (intPattern << (16-longPhase));
}
stipplePattern = (short) (intPattern & 0xFFFF);
return true;
}
/**
* Validates stroke.
*/
... | Java |
eBeforeAndAfterContent() {
doTestAstro("""
<a before{foo}after>
""")
}
fun testNoShorthandAttributeIfValue() {
doTestAstro("""
<a {foo} = 12>
""")
}
fun testShorthandAttributeUnterminated() {
doTestAstro("""
<a {foo} {"}"a fooBar>
""")
}
fun testShorthandAttribut... | Kotlin |
+ +
Sbjct 213 IALRVELFDDEIESLSLFDPLTGHSLGKVPRYTIYPKTHYVTPRERILNAIEEIKQELVE 272
Query 232 RDTFEVKRDPEHIYQQVSKGT-----------LPAGIEYWQPLFFS----EPLPPLFSYF 276
R + +K + Q++++ T +GIE + EP P LF Y
Sbjct 273 RREYFIKENKLLEEQRITQRTQFDIEMMNELGYCSGIENYSRYLSGRKEGEPPPTLFDYM 332
Quer... | Dart |
shooter.position.x + PLAYER_RADIUS * 2 + 1, y: 50 } })).player
const initialOtherPlayerLife = otherPlayer.life
// TODO clarify when the hit happens. Does the hit have to cross the
// border of the player bounding circle or is it enough if it tangential?
shooter.rotation = 0
otherPlayer.rot... | Typescript |
.apple.com/documentation/uikit/nstextstorage/3824756-textstorageobserver?language=objc
func (t_ TextStorage) SetTextStorageObserverObject(valueObject objc.IObject) {
objc.Call[objc.Void](t_, objc.Sel("setTextStorageObserver:"), valueObject)
}
// The layout managers for the text storage object. [Full Topic]
//
// [Ful... | Go |
ode);
match (len, &mut bytes[..]) {
(1, [b0, ..]) => {
*b0 = code as u8;
}
(2, [b0, b1, ..]) => {
*b0 = (code >> 6 & 0x1F) as u8 | TAG_TWO_B;
*b1 = (code & 0x3F) as u8 | TAG_CONT;
}
(3, [b0, b1, b2, ..]) => {
*b0 = (code >> 12 &... | Rust |
oolClassPreset,
SpecialCasesPreset,
ReceptionClassPreset
].forEach(preset => {
if (Object.keys(preset).includes(className)) {
number = preset[className];
}
});
if (typeof number !== 'number') {
throw noClassError;
}
return number;
}
/**
* Returns School Key from value
*
* @export... | Typescript |
往意味着线程读取到了旧数据,这会导致更新丢失,从而导致运行结果与预期结果存在差异。可见性问题与计算机的存储结构和 Java 的内存模型都有着密切的关系。
### 4.2 高速缓存
由于现代处理器对数据的处理能力远高于主内存(DRAM)的访问速率,为了弥补它们之间在处理能力上的鸿沟,通常在处理器和主内存之间都会存在高速缓存(Cache)。高速缓存相当于一个由硬件实现的容量极小的散列表(Hash Table),其键是一个内存地址,其值是内存数据的副本或者准备写入内存的数据。
现代处理器一般具有多个层次的高速缓存,如:一级缓存(L1 Cache)、二级缓存(L2 Cache)、三级缓存(L3 Cache)等。其中一级缓存通常包含两部... | Markdown |
th == 1, offset = lst(change.text).length + (sameLine ? startCh : 0);
if (first) {
// Fix up .to properties of first
for (var i = 0; i < first.length; ++i) {
var span = first[i];
if (span.to == null) {
var found = getMarkedSpanFor(last, span.marker);
if (!found) { spa... | JavaScript |
qMCgGCCsGAQUFBzABhhxodHRwOi8vZWhjYS5nZW1hdGlrLmRlL29jc3AvMB0GA1UdDgQWBBQcqomWuxucPpsAjIXZZJyse1SZ4jAKBggqhkjOPQQDAgNIADBFAiEAiR3T/gS0MtFGdvQHyaCa+XF6lisspf+WRUahfLQPrg4CICQ4KZc7AYkTFnHFGbh2In8Y/Nkjh5wCdpWqeKRgBBUJ"
val ProducedAt = Instant.fromEpochSeconds(1621232580) // 2021-05-17T08:23:00.000+0200
val... | Kotlin |
nloadImageAsync(uri).ConfigureAwait(false);
}
if (uri.Scheme == Uri.UriSchemeFile)
{
var file = await StorageFile.GetFileFromPathAsync(uri.LocalPath);
return await CopyImageToTmpFolder(file).ConfigureAwait(false);
}
return null;
}
} | C# |
tedAt != nil {
startedAt = *tab.StartedAt
}
if tab.CompletedAt != nil {
completedAt = *tab.CompletedAt
}
t.AddRow(
tab.Table,
FormatRestoreProgress(tab.Size,
tab.Restored,
tab.Downloaded,
tab.Failed),
FormatSizeSuffix(tab.Size),
FormatSizeSuffix(tab.Restored),
Form... | Go |
";
export const LOGGING_IN = "LOGGIN_IN";
export const LOGIN_SUCCEEDED = "LOGIN_SUCCEEDED";
export interface logingInAction {
type: typeof LOGGING_IN;
}
export const loggingIn = (): logingInAction => ({
type: LOGGING_IN
});
type loginSucceededPayloadType = {
loggedInUserId?: string;
};
export interface loginS... | Typescript |
udf, p_udf_dirent->psz_name, true, true);
return p_udf_dirent_new;
}
}
}
return NULL;
}
udf_dirent_t *
udf_readdir(udf_dirent_t *p_udf_dirent)
{
udf_t *p_udf;
if (p_udf_dirent->dir_left <= 0) {
udf_dirent_free(p_udf_dirent);
return NULL;
}
p_udf = p_udf_dirent->p_udf;
if (p_udf_dir... | C |
{$prefix}body-font-weight);
line-height: var(--#{$prefix}body-line-height);
color: var(--#{$prefix}body-color);
text-align: var(--#{$prefix}body-text-align);
background-color: var(--#{$prefix}body-bg); // 2
-webkit-text-size-adjust: 100%; // 3
-webkit-tap-highlight-color: rgba($black, 0); // 4
}
// scss-doc... | CSS |
from config import COMMAND_PREFIX
commands = [
"alive - बॉट का स्टेटस चेक करें",
"menu - सभी उपलब्ध कमांड्स देखें",
"help - सभी कमांड्स की जानकारी प्राप्त करें",
"owner - बॉट के मालिक की जानकारी",
"download <url> - किसी भी इंस्टाग्राम पोस्ट/रील्स को डाउनलोड करें",
"storyseen on/off - ऑटो स्टोरी... | Python |
:relative}.fr-transcription__btn:before{background-image:url(icons/media/align-left.svg)}.fr-transcription__btn:after,.fr-transcription__btn:before{background-color:transparent;background-repeat:no-repeat;background-size:100%;height:1rem;width:1rem}.fr-transcription__btn:after{background-image:url(icons/system/add-line... | CSS |
ference the ping we're about to send.
rm := t.pending(toid, toaddr.IP, v4wire.PongPacket, func(p v4wire.Packet) (matched bool, requestDone bool) {
matched = bytes.Equal(p.(*v4wire.Pong).ReplyTok, hash)
if matched && callback != nil {
callback()
}
return matched, matched
})
// Send the packet.
t.localNode... | Go |
FieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:MistTrialSelectAvatarAndEnterDungeonReq)
}
// @@protoc_insertion_point(class_scope:MistTrialSelectAvatarAndEnterDungeonReq)
private static final emu.grasscutter.net.pr... | Java |
*
* WARNINGS: *
* *
* HISTORY: ... | C++ |
MOVE.L #$00000777,$FFFF8244.W ;;;
BSR load_mod ; load the module
TST.B errorflag
BNE load_error ; exit if load error
BSR print_mainscr ; print main screen
move.w #%10000000010,d0
bsr mw_write ; Turn off YM2149!
BSR set_microwire ; setup micrwire
BSR Wait_Vbl
.goformusic BSR init_ints ; and ... | Assembly |
}
set { _id = value; }
}
public string Author
{
get
{
if (Metadata != null && !string.IsNullOrEmpty(Metadata.Author))
{
return Metadata.Author;
}
return "... | C# |
> (x | y) | z.
rightPrecedenceRequirement = Precedence.bitOr;
break;
case '^':
leftPrecedenceRequirement = Precedence.bitXor;
// x ^ (y ^ z) <=> (x ^ y) ^ z.
rightPrecedenceRequirement = Precedence.bitXor;
break;
case '&':
leftPrecedenceRequirement = P... | Dart |
[3] = 40432, [4] = 40682, [5] = 49076, [6] = -1 }
Bistooltip_wh_bislists["Mage"]["Arcane"]["T7"][13] = { ["slot_name"] = "Weapon", ["enhs"] = { [1] = { ["type"] = "spell", ["id"] = 62948 } }, [1] = 40396, [2] = 40336, [3] = 39424, [4] = 40408, [5] = 40489, [6] = -1 }
Bistooltip_wh_bislists["Mage"]["Arcane"]["T7"][14] =... | Lua |
, 9=ns
#define LOGURU_SCOPE_TIME_PRECISION 3
#endif
#ifndef LOGURU_CATCH_SIGABRT
// Should Loguru catch SIGABRT to print stack trace etc?
#define LOGURU_CATCH_SIGABRT 1
#endif
#ifndef LOGURU_VERBOSE_SCOPE_ENDINGS
// Show milliseconds and scope name at end of scope.
#define LOGURU_VERBOSE_SCOPE_ENDINGS 1
#endif
... | C++ |
00, 0x00, 0x00, 0x00 # 805b6914
.byte 0x00, 0x00, 0x00, 0x00 # 805b6918
.byte 0x80, 0x29, 0xEA, 0x34 # 805b691c
.byte 0x80, 0x16, 0xA4, 0x68 # 805b6920
__vt__Q219NrvTalkBalloonEvent23TalkBalloonEventNrvOpen:
.byte 0x00, 0x00, 0x00, 0x00 # 805b6924
.byte 0x00, 0x00, 0x00, 0x00 # 805b6928
.byte 0x80, 0x29, 0xEA, 0x3C # 8... | Assembly |
sort(tree.begin(), tree.end(), FreqLessThan());
size_t treeBegin = upper_bound(tree.begin(), tree.end(), 0, FreqLessThan()) - tree.begin();
if (treeBegin == nCodes)
{ // special case for no codes
fill(codeBits, codeBits+nCodes, 0);
return;
}
tree.resize(nCodes + nCodes - treeBegin - 1);
size_t leastLeaf = ... | C++ |
);
}
.gap-9 {
gap: var(--ita-spacings-9, 56px);
}
.gap-10 {
gap: var(--ita-spacings-10, 64px);
}
.gap-11 {
gap: var(--ita-spacings-11, 80px);
}
.cgap-3em {
column-gap: 3em;
}
.rgap-0 {
row-gap: 0;
}
.rgap-1 {
row-gap: var(--ita-spacings-1, 4px);
}
.rgap-2 {
row-gap: var(--ita-spacings-2, 8px);
}
.rgap-3 {... | CSS |
.regex,.w-tc-editor pre[class*=language-] .token.variable{color:var(--color-prettylights-syntax-string-regexp)}.w-tc-editor code[class*=language-] .token.bold,.w-tc-editor code[class*=language-] .token.important,.w-tc-editor pre[class*=language-] .token.bold,.w-tc-editor pre[class*=language-] .token.important{color:var... | CSS |
06" -> Bb_06
"BB-07" -> Bb_07
"BB-08" -> Bb_08
"BB-09" -> Bb_09
"BB-10" -> Bb_10
"BB-11" -> Bb_11
"BY-BR" -> By_Br
"BY-HM" -> By_Hm
"BY-HO" -> By_Ho
"BY-HR" -> By_Hr
"BY-MA" -> By_Ma
"BY-MI" -> By_Mi
"BY-VI" -> By_Vi
... | Kotlin |
2)) {
// Complete rollover 11...1 => 100...0, so shift is safe
mantissa >>= (UntypedInt)(1);
exp++;
}
}
}
}
mantissa >>= (UntypedInt)(1);
// discard rounding bit. Mantissa now scaled by 1<<Msize1.
f = ((floa... | C# |
* insert point. If there is, then there is nothing to do.
*/
if ( aApplied[i][j] === undefined )
{
nLocalTr.appendChild( aoLocal[i][j].cell );
aApplied[i][j] = 1;
/* Expand the cell to cover as many rows as needed */
while ( aoLocal[i+iRowspan] !== undefined &&
aoLo... | JavaScript |
,
};
const rules = {
count: {
_read: () => true,
_write: () => true,
_validate: (newData: Value, { oldData, isUpdate }: RuleContext) =>
isUpdate && (newData - oldData === 1),
},
};
const db = new Store({ rules, initialData });
db.set("count", 1);
db... | Typescript |
* s) {
char * p = s;
int l = (int)strlen(p);
while(isspace(p[l - 1])) p[--l] = 0;
while(* p && isspace(* p)) ++p, --l;
memmove(s, p, l + 1);
}
// this function initializes and prepares Direct3D
bool spoutGLDXinterop::OpenDirectX9(HWND hWnd)
{
HWND fgWnd = NULL;
char fgwndName[MAX_PATH];
// A... | C++ |
});
circles.push(circle);
}
}
// 기존 마커와 원 제거
function clearOverlays() {
// 모든 마커 제거
markers.forEach((marker) => marker.setMap(null));
markers = [];
// 모든 원 제거
circles.forEach((circle) => circle.setMap(null));
circles = [];
}
// 버튼 이벤트 처리
document.addEventListener("DOMContentLoaded", () => {
... | JavaScript |
//元素的条数,时间区域类的,多天的只算一次
private int count;
//天的条数,时间区域类的,几天算几条
private int daysCount;
private double totalValue;
//自定义数据
private Object customData;
//数据类型:['2016-01-01',111]
private List<Object[]> series = new ArrayList<>();
private List<Object[]> series2 = new ArrayList<>();
... | Java |
Ff5QkQpJk1+9fvnVe/h6EqOXpEn+1mnmfv2ZVUnni/pvkb9J/23yN6rfqn4zyXUQQgihO6iopePzqp68PPP+D1+w64fSRHNkOFuVZIYsRLNKGu0WabK75X8ekByXBnxGflWHr19afEryvORVyZuSX14vYvPRdd67/v978/o/8/z1f+ey+jP0P0v+mfqffe3v2KL+TvV3q2e49ixdP1TPpp5RPStvDCH76/8DNUqkEFXY/6MAAAAASUVORK5CYII=';
@include generate-coin('USD', $usd, $usd);
@include generate... | CSS |
f32::INFINITY} |
tag!("-Infinity") => {|_| f32::NEG_INFINITY} |
tag!("NaN") => {|_| f32::NAN}
)
);
named!(pub parse_f64<f64>,
alt!(
parse_finite_float |
parse_finite_float_leading => {|x| x} |
tag!("Infinity") => {|_| f64::INFINITY} |
tag!("-Infinity") => {|_| f... | Rust |
100).floor() + (year / 4).floor();
}
A = 365.0 * year - 679004.0;
MJD = A + B + (30.6001 * (month + 1)).floor() + date + STD / 24.0;
return MJD + 2400000.5;
}
double _earthR(int date, int month, int year, double UT) {
double JDE = _JD(date, month, year, UT);
double T = (JDE - 2451545.0) / 365250.0;
ret... | Dart |
Reader of field `EFUSE_USB_DREFH_ERR`"]
pub type EFUSE_USB_DREFH_ERR_R = crate::R<u8, u8>;
#[doc = "Reader of field `EFUSE_DIS_DOWNLOAD_MANUAL_ENCRYPT_ERR`"]
pub type EFUSE_DIS_DOWNLOAD_MANUAL_ENCRYPT_ERR_R = crate::R<bool, bool>;
#[doc = "Reader of field `EFUSE_DIS_PAD_JTAG_ERR`"]
pub type EFUSE_DIS_PAD_JTAG_ERR_R = c... | Rust |
:X,pathInfo:{requestPath:n,finalRequestPath:O,responsePath:null,anchor:R}};p.onload=function(){try{const t=Tn(r);H.pathInfo.responsePath=On(p);M(r,H);en(T,q);he(r,"htmx:afterRequest",H);he(r,"htmx:afterOnLoad",H);if(!le(r)){let e=null;while(t.length>0&&e==null){const n=t.shift();if(le(n)){e=n}}if(e){he(e,"htmx:afterReq... | JavaScript |
rgreVhviBRF:
nop
.text
.globl b_tyCnguTylcuEnatrAI
.type b_tyCnguTylcuEnatrAI,%function
b_tyCnguTylcuEnatrAI:
nop
.text
.globl b_tyOvaqGrkgher
.type b_tyOvaqGrkgher,%function
b_tyOvaqGrkgher:
nop
.text
.globl b_tyRkgTrgCebtenzOvanelFbheprDPBZ
.type b_tyRkgTrgCebtenzOvanelFbheprDPBZ,%function
b_tyRkgTrgCebtenzOvanelFbhe... | Assembly |
.AsQueryable()
.Where(c => c.ID == id);
}
public void Create(Company company)
{
_context.Companies
.Add(company);
_context.SaveChanges();
}
public void Update(Company company)
{
_context.Co... | C# |
req->errorno;
}
goto out;
}
statbuf = &req->statbuf;
if (ctx->busy_polling != 0)
if (ctx->busy_polling < 0 || !statbuf_eq(&ctx->statbuf, statbuf))
ctx->poll_cb(ctx->parent_handle, 0, &ctx->statbuf, statbuf);
ctx->statbuf = *statbuf;
ctx->busy_polling = 1;
out:
uv_fs_req_cleanup(req);
... | C |
/ CHECK-ERROR: instruction requires: sme
// CHECK-UNKNOWN: e09e8acd <unknown>
ld1w za0v.s[w15, 2], p5/z, [x9, x1, lsl #2]
// CHECK-INST: ld1w {za0v.s[w15, 2]}, p5/z, [x9, x1, lsl #2]
// CHECK-ENCODING: [0x22,0xf5,0x81,0xe0]
// CHECK-ERROR: instruction requires: sme
// CHECK-UNKNOWN: e081f522 <unknown>
ld1w z... | Assembly |
G or self.textG4
self.text4B, self.textB4 = self.text4B or self.textB4
end
end
end
if not self.indentation or self.indentation < 0 then
self.indentation = 0
end
if not self.font then
self.font = GameTooltipText
end
if not self.font2 then
self.font2 = self.font
end
if not self.font3 ... | Lua |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace Kusto.Language.Parsing
{
using Utils;
public static class ScannerExtensions
{
/// <summary>
/// Determines if the scanner matches the specified text.
/// </summary>
publi... | C# |
kopt(cap_sock_all, SOL_SOCKET, SO_DEBUG, &value, sizeof(value)));
len = sizeof(value);
EXPECT_OK(getsockopt(cap_sock_all, SOL_SOCKET, SO_DEBUG, &value, &len));
// Tell the child process that we are ready and accept the incoming connection.
EXPECT_OK(close(pipefds[1]));
SEND_INT_MESSAGE(pipefds[0], MSG_PARENT... | C++ |
TypeId;
#[derive(Clone, Debug)]
#[repr(C)]
pub struct CharacterData {
node: Node,
data: RefCell<String>,
}
impl CharacterData {
pub fn new_inherited(node_type_id: NodeTypeId, data: String, document: Rc<Document>) -> Self {
Self {
node: Node::new(node_type_id, Some(document)),
data: RefCell::new(data),
}
... | Rust |
,WILLPOWER={'superb'}}},
strong6 = {
p = 0.02,
attribs = {STRENGTH={'incredible'},TOUGHNESS={'amazing'},WILLPOWER={'superb'}}},
strong7 = {
p = 0.01,
attribs = {STRENGTH={'unbelievable'},TOUGHNESS={'amazing'},WILLPOWER={'amazing'}}},
creative1 = {
p = 0.05,
at... | Lua |
/**
* @file
* @brief Low-level entry for general interrupt handling.
*
* @date 29.07.09
* @author Eldar Abusalimov
*/
#include <asm/entry.h>
#include <asm/regs.h>
#include <asm/psr.h>
#include <asm/winmacro.h>
#include <asm/stack.h>
#include <kernel/critical.h>
.text
.align 4
#define t_cptr t_wim /**< Po... | Assembly |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
从ModelScope下载Deepseek模型的辅助脚本
使用方法: python download_deepseek.py [--model_id MODEL_ID] [--save_path SAVE_PATH]
"""
import os
import sys
import argparse
def download_model(model_id, save_path=None):
"""
从ModelScope下载模型
参数:
model_id: ModelScope上的模型ID... | Python |
).toEqual([{ backgroundColor: 'red' }]);
// });
// // it('Can Overwrite theme and media with combinestyles', () => {
// // type StyleProps = { margin: ResponsiveProp<string, Media> }
// // type OverideMedia = { tablet: string }
// // type StylePropsOveride = { margin: ResponsiveProp<string, OverideMedia> }
//... | Typescript |
SYNCHRONIZATION_AUTO');
/// `NONE`: Indicates that there will only be one copy of the variable, so
/// there is no need to sync.
static const VariableSynchronization VARIABLE_SYNCHRONIZATION_NONE =
VariableSynchronization._(
1, _omitEnumNames ? '' : 'VARIABLE_SYNCHRONIZATION_NONE');
/// `ON_WR... | Dart |
in imageFiles)
{
var fileName = Path.GetFileNameWithoutExtension(imagePath);
var primaryPath = Path.Combine(_testDirectoryColorScapes, $"{fileName}_primary_output.png");
var secondaryPath = Path.Combine(_testDirectoryColorScapes, $"{fileName}_secondary_output.png");
... | C# |
.OPCOMPLETEAUCTION(&_Tofunft.CallOpts)
}
// OPCOMPLETEAUCTION is a free data retrieval call binding the contract method 0x6acc65db.
//
// Solidity: function OP_COMPLETE_AUCTION() view returns(uint8)
func (_Tofunft *TofunftCallerSession) OPCOMPLETEAUCTION() (uint8, error) {
return _Tofunft.Contract.OPCOMPLETEAUCTION(&... | Go |
mm *DNSSummary, unmodifiedipcsv *Gostr) *DNSOpts
// OnResponse is called when a DNS response is received. May be called twice for the same query,
// for instance, when different options are requested through OnUpstreamAnswer.
OnResponse(*DNSSummary)
}
// args (string, string, int) is OK with cgo?
// github.com/gola... | Go |
0,0,0,.5),0 0 15px rgba(0,0,0,.5);position:absolute}.joyride-hole.safari{box-shadow:0 0 999px 9999px rgba(0,0,0,.5),0 0 15px rgba(0,0,0,.5)}.joyride-tooltip{background-color:#fff;border-radius:0;color:#555;cursor:default;-webkit-filter:drop-shadow(-1px -2px 3px rgba(0,0,0,.3)) drop-shadow(1px 2px 3px rgba(0,0,0,.3));fi... | CSS |
e as "Branch Name",
dc.txn_limit as "Txn Limit",
null as "Bene LEI Code",
null as "LEI Code Expiry Date",
'A' as "Bene Details Change",
'A' as "Product-Account No Change"
from `tabPurchase Invoice` p join `tabBank Account` ba on p.supplier = ba.party{conditions} join `tabPayment Product Limit` dc on ba.name... | Python |
{
name = "request-transformer",
config = {
add = {
headers = { ("%s:true"):format(header_name) }
}
}
}
for k, v in pairs(plugin_scopes) do
plugin_cfg[k] = v
end
return assert(self.bp.plugins:insert(plugin_cfg))
end
function PluginFactory:consumer_route_service()
local header_name = "x-consumer-a... | Lua |
眨眼间就只留下一排背影。
“有人攻庄啦!有人攻庄啦!”寨子里顿时锣鼓齐鸣,土墙上出现了一片人影,甚至已经飞过来几只箭矢。几乎与此同时,密集的枪声如同鲜肉下油锅一般,噼里啪啦响了起来,土墙上顿时一片尘埃,人影一瞬间就少了一大半。
聂义峰把步枪的枪托紧紧抵在肩膀上,沉住呼吸,视线紧跟着一个一骑绝尘的背影。照门、准星构成了一条线,这条线围着这个跑起来有点罗圈腿的背影转着,每出现一个目标就带来一声枪响。几秒钟的时间,已经有四个人在他枪口所指的地方仰面栽倒。土墙上已经没有了人影,他马上压低瞄准点,对着土墙一通乱打,每一枪都打起一片尘埃。子弹到底穿没穿透土墙他心里并没有谱,但是没有人再站起来也是真的。而至于两边的碉楼,他们遭到了武装穿越众们... | Markdown |
impl PENDSTCLR_R {
#[doc = r"Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> PENDSTCLR_A {
match self.bits {
false => PENDSTCLR_A::VALUE_0,
true => PENDSTCLR_A::VALUE_1,
}
}
#[doc = "Checks if the value of the field is `VALUE_0`"]
... | Rust |
urity Database (REDHAT)](#redhat-security-database-redhat)
- [Curl Database (Curl)](#curl-database-curl)
- [Limitations](#limitations)
- [Architecture](#architecture)
- [Database Structure](#database-structure)
- [Metric](#metric)
- [EPSS](#epss)
- [Different output showing metrics](#different-out... | Markdown |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.