content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
Special::F64 => 27,
Special::Break => 31,
}
}
pub fn from_byte(byte: u8) -> Result<Self, CborError> {
match byte {
20 => Ok(Special::Bool(false)),
21 => Ok(Special::Bool(true)),
22 => Ok(Special::Null),
23 => Ok(Special::Und... | Rust |
d), bestscore, brpoint);
/* perform the branching */
SCIP_CALL( SCIPbranchVarVal(scip, bestcand, brpoint, &downchild, &eqchild, &upchild) );
if( downchild != NULL || eqchild != NULL || upchild != NULL )
{
*result = SCIP_BRANCHED;
}
else
{
/* if there are no children, then variable sho... | C |
rray {
var result = ubyteArrayOf()
for ((index, record) in records.withIndex()) {
val payload = record.payload
val mb = 0b10000000u * if (index == 0) 1u else 0u // Message begin
val me = 0b01000000u * if (index == records.size - 1) 1u else 0u // Message end
... | Kotlin |
L1A4E ; 2+ end < start, we're good
eor #$ff ; 2 invert value
adc #$01 ; 2
ldy #OpINY ; 2
bne GotDeltaY ; 3
L1A4E:
beq IsHorizontal ; 2+ branch if deltaY=0
ldy #OpDEY ; 2
bne GotDeltaY ; 3
IsHorizontal:
ldy #OpNOP ; 2 fully horizontal, use no-op
GotDeltaY:
sta DELTA_Y ; 3
sty _InyDeyNop1 ; 4
sty _I... | Assembly |
=> void): void;
}
export class LookupMap<K, V> implements Mapping {
private pairs: Opaque[];
size = 0;
constructor() {
this.pairs = [];
}
set(key: K, value: V) {
let idx = this.pairs.indexOf(key);
if (idx === -1) {
this.pairs.push(key, value);
this.size++;
} else {
this.pa... | Typescript |
iz_png/NO8Q9ApS1Y8BMpj9YFSbJMRoY97L1hdPNms53JOq6AmyuxgNfgW9Ys5cdNYTRCAvI0xqvTmPMWibozfpJ6bFSXQ/640?wx_fmt=png&from=appmsg "")
然后,将生成的 handle.suo 文件复制到 Visual Studio 安装目录下的 .suo 文件存储路径,例如 vs\Sharp4VSSuo1\v16 目录。
最后,在 Visual Studio 中打开
Sharp4VSSuo1 项目,此时指定的命令会被自动执行,命令会弹出 Windows 版本信息窗口,如下图所示。

object SocketUtils {
fun newServerSocketChannel(firstTryPort: Int, tryCount: Int = 1): ServerSocketChannel {
val channel = ServerSocketChannel.open()
channel.run {
configureBlocking(false)
runCatching ... | Kotlin |
oginCmd.Flags().BoolVar(&cmd.Insecure, "insecure", true, product.Replace("Allow login into an insecure Loft instance"))
loginCmd.Flags().BoolVar(&cmd.DockerLogin, "docker-login", true, "If true, will log into the docker image registries the user has image pull secrets for")
return loginCmd, nil
}
package cmd
import... | Go |
record.cssWarning = true;
cellValues.tdCls += ' ' + cellValues.css;
cellValues.css = null;
}
if (cellValues.tdCls) {
classes[clsInsertPoint++] = cellValues.tdCls;
}
} else {
value = fieldValue;
}
cellValues.value = value == null || value.length === 0 ? column.emptyCellText ... | JavaScript |
YbvGWKXPME3lyH95YioZ0gssQRWWbI+FaSMkXijZXwgiTlYdPdkNLaETxlyDVIwqeaEus0aTcYcg0RVOkpR3CSJqIddK+90JCxzsDVloyrFd5ZAr4TBKfaWa6boEA7C7s6EpYaeFPjveooY72mjIccLHJ9HUwVlDhKkmutJDJBwnp1rvulJZggKDRfbXAkvC/4l3ozQOG9a8lxjx0i7nV4jSXc7vhe3OwIxjgSHjdEhhsif9YkPGlus3iLFDnWOFhtCZbJg0UbQcIaR67JjthoCyMEZRwhiXWyxO5QxI6w5NhT4U1WsJvDO60J34fW9h... | CSS |
nified
.thumb
.thumb_func
.fpu softvfp
.type rk_ftl_cache_write_back, %function
rk_ftl_cache_write_back:
.fnstart
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
b FtlCacheWriteBack
.fnend
.size rk_ftl_cache_write_back, .-rk_ftl_cache_write_back... | Assembly |
geographic information. MicMac is built on the
eLiSe image library. MicMac is governed by the "Cecill-B licence".
See below and http://www.cecill.info.
Header-MicMac-eLiSe-25/06/2007*/
#include "StdAfx.h"
/*************************************************************/
/* ... | C++ |
textAlign),
),
];
case 'Typer':
print("打字效果");
return [
TyperAnimatedText(
textContent,
speed: const Duration(milliseconds: 100),
textAlign: parseTextAlign(textAlign),
),
]... | Dart |
ShareRule.readWrite;
}
if (v == ShareRule.fullControl.value) {
return ShareRule.fullControl;
}
return null;
}
}
class AbProfile {
String guid;
String name;
String owner;
String? note;
int rule;
AbProfile(this.guid, this.name, this.owner, this.note, this.rule);
AbProfile.fromJso... | Dart |
ic_script('\ue0b9'),
opic_share_boxed('\ue0ba'),
opic_share('\ue0bb'),
opic_shield('\ue0bc'),
opic_signal('\ue0bd'),
opic_signpost('\ue0be'),
opic_sort_ascending('\ue0bf'),
opic_sort_descending('\ue0c0'),
opic_spreadsheet('\ue0c1'),
opic_star('\ue0... | Java |
current.length; i < len; ++i) {
col = {};
col[current[i]._id] = current[i].sortDir;
sortBy.push(col);
}
if (columns) {
columns = toArray(columns);
for (i = 0, len = columns.length; i < len; ++i) {
col = columns[i];
... | HTML |
readonly apiModuleName: string,
readonly childId: string | undefined = undefined
) {}
/**
* Gets Away Rules.
*
* Requests `anti_theft.get_rules`. Support childId.
* @throws {@link ResponseError}
*/
async getRules(
sendOptions?: SendOptions
): Promise<HasRuleListWithRuleIds & HasErrCode> ... | Typescript |
默认2000
var duration = 2000
set(value) {
field = value
valueAnimator.duration = value.toLong()
}
//内外层圆弧的颜色,默认都为黑色
var outerColor = Color.BLACK
set(value) {
field = value
outerPaint = initPaint(value)
}
var innerColor = Colo... | Kotlin |
|/**
| * Very useful description
| * foo bar baz
| */
|package com.saveourtool.diktat.example
|
|class Example { }
""".trimMargin(),
DiktatError(4, 1, ruleId, "${HEADER_WRONG_FORMAT.warnText... | Kotlin |
nt A; input int B;
var int a = 0;
par/or do
await async do
end;
with
await B;
end;
a = a + 1;
await A;
escape a;
]],
run = {
['1~>B ; 10~>A'] = 1,
},
}
Test { [[
input int A;
par/or do
await async do
emit A(4);
end;
with
end;
escape 1;
]],
_ana = {
unreachs = 1,... | Lua |
kei = a - 1;
}
function q7c() {
var a;
jei[a = ++kei] = q7c;
lei[a] = FHi + xfi;
q7c = Zai;
f7c((lei[a] = FHi + Svi, d7c(), lei[a] = FHi + ohi, b7c));
kei = a - 1;
}
function bmd() {
var a;
jei[a = ++kei] = bmd;
lei[a] = lIi + lfi;
bmd = Zai;
Tld((lei[a] = lIi + Svi, Rld(), lei[a] = lIi + mfi, ... | JavaScript |
void main() {
runApp(MyApp());
}
class MyApp extends StatefulWidget {
@override
_MyAppState createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
String? path;
@override
void initState() {
super.initState();
}
@override
Widget build(BuildContext context) {
return Mat... | Dart |
p;1&6*CKC#2JIU
MR-(`*LKE:Y#GG*5E6VI&4WHD?<A HREF="http://sourcerytools.com/cgi-bin/mailman/listinfo/cxx-abi-dev">. at F</A>`U$>5\,APS*<KK-["2Z]P4NG.5,\W?9D
MP!H-FN+IMJBVC$<A HREF="http://sourcerytools.com/cgi-bin/mailman/listinfo/cxx-abi-dev">Y50-TVU784M at JHVZI2</A>"ZO$:;@><A HREF="http://s... | HTML |
}\n\nbool isAxisTitle = (axis.x == 0.0) &&\n (axis.y == 0.0) &&\n (axis.z == 0.0);\n\nvoid main() {\n //Compute world offset\n float axisDistance = position.z;\n vec3 dataPosition = axisDistance * axis + offset;\n\n float beta = angle; // i.e. user defined attributes for each tic... | JavaScript |
beefy_primitives::ValidatorSet;
use codec::{Decode, Encode};
use hex_literal::hex;
use sp_core::H256;
use sp_io::TestExternalities;
use sp_runtime::{traits::Keccak256, DigestItem};
use frame_support::traits::OnInitialize;
use crate::mock::*;
fn init_block(block: u64) {
System::set_block_number(block);
Sess... | Rust |
ario[] = []
usuarios.forEach( user => {
if ( user.nombre.toLowerCase() == busqueda.toLowerCase() ) {
RESULTADO.push( user )
}
} )
usuariosArray = RESULTADO;
}
return usuariosArray;
} )
... | Typescript |
field:'louceng', width:200}">楼层</td>
<td colspan="2">1单元</td>
<td colspan="2">2单元</td>
</tr>
<tr>
<td lay-data="{field:'men1', width:80}">1门</td>
<td lay-data="{field:'men2', width:80}">2门</td>
<td lay-data="{field:'men3', width:80}">1门</td>
<td lay-data="{field:'men4', width:80}">... | HTML |
aryOperator] from the given expression.
UnaryOperator.raw(this.exp);
@override
void accept(ExpressionVisitor visitor) {
this.exp.accept(visitor);
visitor.visitUnaryOperator(this);
}
}
/// The unary minus negates its argument.
class UnaryMinus extends UnaryOperator {
/// Creates a new unary minus ope... | Dart |
;<br>
int86(MsCall, &regs, &regs);<br>
if (regs.x.ax == 0) OK = False;<br>
}<br>
if (!OK)<br>
{<br>
TurnOff();<br>
return;<br>
}<br>
TurnOn();<br>
<br>
if (VideoMode == TextScrn) TextMode = True;<br>
else TextMode = False;<br>
if (VideoMode == LowResGr) LowRes = True;<br>
else LowRes = False;<br>
if (VideoMode ... | HTML |
=Abjuration}}{{Banned=Alteration \\amp Illusion}}ClassData=[w:Wizard, hd:1d4, race:human, sps:abjuration, spb:alteration|illusion, weaps:dagger|staff|dart|knife|sling, ac:magicitem|ring|cloak]{{desc=Spells of this school focus magical energies to provide protection. This protection can take a number of forms, including... | JavaScript |
#pragma once
#include "Soldier_Control.h"
#include <memory>
class Soldier
{
public:
Soldier(SOLDIERTYPE* s) : mSoldier{s}
{
}
/** Remove pending action. */
void removePendingAction();
/** Remove any pending animation. */
void removePendingAnimation();
bool hasPendingAction(UINT8 action = NO_PENDING_ACTION... | C |
// Copyright (c) 2012 DotNetAnywhere
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish... | C# |
WE #RoyalRumble
* [29 January 2012](https://web.archive.org/web/20180810225917/https://twitter.com/TheMadDimension/status/163626485083672576): @CMPunk Well there are studies confirming that many successful people are sociopaths...
* [29 January 2012](https://web.archive.org/web/20180810225917/https://twitter.com/The... | Markdown |
p: -9999px;
left: -9999px;
}
.table-groupcontactinfo > thead > tr > th,
.table-groupcontactinfo > tbody > tr > th,
.table-groupcontactinfo > tfoot > tr > th,
.table-groupcontactinfo > thead > tr > td,
.table-groupcontactinfo > tbody > tr > td,
.table-groupcontactinfo > tfoot > tr > td {
border: 0... | CSS |
// Code generated by mkpreempt.go; DO NOT EDIT.
#include "go_asm.h"
#include "textflag.h"
TEXT ·asyncPreempt(SB),NOSPLIT|NOFRAME,$0-0
PUSHQ BP
MOVQ SP, BP
// Save flags before clobbering them
PUSHFQ
// obj doesn't understand ADD/SUB on SP, but does understand ADJSP
ADJSP $368
// But vet doesn't know ADJSP, so ... | Assembly |
vs22 // r0_r, r0_i, r1_r, r1_i
xvaddsp vs0, vs0, vs1
stxvw4x vs0, o0, T2 // c0, c1
addi T2, T2, 16
add T1, T1, LDC
addi CO, CO, 16
#if defined(_AIX)
')
#else
.endm
#endif
/**********************************************************************************************
* Macros for N=2 and M=1
*********... | Assembly |
Table->LastElementFound to the found element, and Table->LastIndexFound to the index number just looked up.
* If it's not equal, we run into the same scenario as before. It's going to loop following a pointer chain until it gets to the index and then returns that result.
* If AdjustedIndex > Table->LastIndexFou... | Markdown |
Base/BaseModel";
import {Country} from "./Country";
export class University extends BaseModel {
country: Country;
name: string;
website: string;
constructor(country, name, website) {
super();
this.country = country;
this.name = name;
this.website = website;
}
}
exp... | Typescript |
sdk_wifi_set_ip_info(1, &ap_ip);
struct sdk_softap_config ap_config = {
.ssid_hidden = wifi_ap_ssid_hidden,
.channel = wifi_ap_channel,
.authmode = wifi_ap_authmode,
.max_connection = wifi_ap_max_conn,
.beacon_inte... | C |
ght-radius: 0.28571429rem;
}
.ui.vertical.labeled.icon.buttons .button:first-child > .icon {
border-radius: 0;
border-top-left-radius: 0.28571429rem;
}
.ui.vertical.labeled.icon.buttons .button:last-child > .icon {
border-radius: 0;
border-bottom-left-radius: 0.28571429rem;
}
/* Loading Icon in Labeled Butto... | CSS |
,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Package ovmf includes tools for parsing OVMF binaries for measurement-specific values.
package ovmf
import (
"fmt"
"github.com/go... | Go |
SCHEME_NOT_CONFORMANT,
"\u65B9\u6848\u4E0D\u4E00\u81F4\u3002" },
{ MsgKey.ER_SCHEME_FROM_NULL_STRING,
"\u65E0\u6CD5\u4ECE\u7A7A\u5B57\u7B26\u4E32\u8BBE\u7F6E\u65B9\u6848" },
{ MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
"\u8DEF\u5F84\u53... | Java |
dxt6
## 9、拜登访问越南 美越关系提升至全面战略伙伴
白宫9月10日声明,拜登访问越南期间,美越将两国关系提升为全面战略伙伴关系,并宣布建立新的半导体合作伙伴关系,为美国工业、消费者和工人提供可持续的半导体供应链支持。
此外,两国宣布在越南启动全面的劳动力发展计划,共同开发半导体组装、测试和封装的实践教学实验室及培训课程。美国政府将提供200万美元初始种子资金。
美国还宣布同越南加强技术合作,支持越南量化其稀土元素资源和经济潜力的努力,吸引优质投资以促进该国稀土元素行业的综合发展。
越南航空和波音将签署一项价值数十亿美元的协议,购买50架波音737 MAX飞机,促进美国制造业就业并支持越南旅游业发展。声明称,这笔交... | Markdown |
r6, r1]
cmp r0, #0
beq _0223EBA6
mov r0, #0x4e
lsl r0, r0, #2
ldr r0, [r4, r0]
cmp r0, #0
beq _0223EBA6
add r0, r1, #4
ldr r1, [r6, r0]
mov r0, #0
mvn r0, r0
mul r0, r1
mov r1, #8
bl ov11_022476C0
ldr r1, _0223EDA4 ; =0x0000215C
ldr r2, _0223EDB4 ; =0x00000107
str r0, [r4, r1]
add r0, r4, #0
mov r1, ... | Assembly |
'''
在线验证邮箱真实性
'''
import random
import smtplib
from termcolor import cprint
import dns.resolver
import time
from queue import Queue
from threading import Thread
# 查询邮件服务器
def get_mailServer(server):
print('查找[{}]邮箱服务器...'.format(server))
try:
answers = dns.resolver.query(server, 'MX')
res = [s... | Python |
XYZ = getConePosition(mat3(model) * ((vectorScale * coneScale) * vector), position.w, coneOffset, normal);\n vec4 conePosition = model * vec4(position.xyz, 1.0) + vec4(XYZ, 0.0);\n\n //Lighting geometry parameters\n vec4 cameraCoordinate = view * conePosition;\n cameraCoordinate.xyz /= cameraCoordinate.w;\n f_lig... | HTML |
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using SaasKit.Multitenancy;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace AspNetMvcAuthSample
{
public class... | C# |
translateY(0%);
-webkit-transition: -webkit-transform 0.5s;
transition: transform 0.5s;
}
}
@media screen and (max-height: 30.5em) {
.overlay {
nav {
height: 70%;
font-size: 34px;
}
ul li {
min-height: 34px;
}
}
}/* Button */
input[type="submit"],
input[type="rese... | CSS |
="stylesheet" type="text/css">
<link href="https://img1.doubanio.com/cuphead/movie-static/base/init.15f4b.css" rel="stylesheet">
<script type="text/javascript">var _head_start = new Date();</script>
<script type="text/javascript" src="https://img1.doubanio.com/f/vendors/0511abe9863c2ea7084efa7e24d1d86c5b397... | HTML |
.btn-check[disabled]+.btn{pointer-events:none;filter:none;opacity:.65}[data-bs-theme=dark] .form-switch .form-check-input:not(:checked):not(:focus){--bs-form-switch-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%28255, 255, 255, 0.25%29'/%3e%3c/svg%... | CSS |
06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:4}}),l.defineLo... | JavaScript |
POINT *generator,
const BIGNUM *order, const BIGNUM *cofactor);
const EC_POINT *EC_GROUP_get0_generator(const EC_GROUP *group);
int EC_GROUP_get_order(const EC_GROUP *group, BIGNUM *order, BN_CTX *ctx);
const BIGNUM *EC_GROUP_get0_order(const EC_GROUP *group);
int EC_GROUP_order_bits(const E... | HTML |
i, Lai and Zechner.
*/
public Contour soundToPitchTwoPass() throws AuToBIException {
// initial min and max values.
Contour c = soundToPitch(0.01, 50, 400);
// identify relevant percentile values
Percentile p = new Percentile();
double[] values = new double[c.contentSize()];
int i = 0;
... | Java |
' +
'표 11: ** 정량적 영상 신뢰 가능성** 사례별 순위 평균을 기준으로 모형별 점수를 계산한다. 대담하고 밑줄 친 엔트리는 최고의 성능을 보여줍니다.\n' +
'\n' +
'[MISSING_PAGE_EMPTY:279]\n' +
'\n' +
'### 2.2.2 _Gpt-4_\n' +
'\n' +
'***Answer-a:**예, 이미지의 시퀀스는 녹색 블록과 충돌하는 청색 블록을 묘사하는 것으로 보인다. 이미지는 청색 블록이 녹색 블록에 영향을 미치는 움직임의 진행을 보여 녹색 블록이 ... | HTML |
2lé
sp2lu
sp2ne
1s2pong
sporta2
spor2t1al
1s2portág
spor2tár
3s2portb
spor2t1e2
1s2porté
spor2t1érd
1s2porth
spor2t1i2n
1s2portj
1s2portn
1s2portoka
1s2portol
1s2porton
1s2portos
3s2portot
spor2t1ö
spor2tő
1s2portra
1s2portró
1s2porttó
1s2portu
spor2t1ü2
1spórák.
1spórol
sp2ra
s1prak
3spray
s1p2re
s1p2ré
1spric
s1p2ro
... | Go |
(0, 0)), Is.EqualTo(0));
Assert.That(tri.GetIndex(new Coordinate(0, 10)), Is.EqualTo(1));
Assert.That(tri.GetIndex(new Coordinate(10, 0)), Is.EqualTo(2));
}
private static Trngl Tri(double x0, double y0, double x1, double y1, double x2, double y2)
{
var tri =... | C# |
_REV, " ", " P ", " x", 'P', IL.Shape_Extruder_Empty);
CR.shaped(IL.Shape_Extruder_Ring .get(1), CR.DEF_REV, " ", " P ", " x ", 'P', IL.Shape_Extruder_Empty);
CR.shaped(IL.Shape_Extruder_Bolt .get(1), CR.DEF_REV, "x ", " P ", " ", 'P', IL.Shape_Extruder_Rod);
CR.shaped(IL.Shape_Ex... | Java |
error......
Technically the script didn't fail.... but...
You need at least 2 different points... make sure you don't have an
incorrect selection
---- Try again
|
"""
tweet(dedent(msg2))
# ---- demo section ----
if len(sys.argv) == 1:
testing = True
a... | Python |
ul Orthoviews creează toate proiecțiile ortogonale reprezintă locația potrivită pentru vizualizarea principală dată.
<div class="mw-translate-fuzzy">
## Cum se folosește
</div>
1. Selectați o funcție în arborescența modelului.
2. Dacă există mai mult de o pagină, multi-selectați pagina dorită (păstrând în ac... | Markdown |
ArrayNewData deserialize(
Deserializer d, Types types, DataSegments dataSegments) {
return ArrayNewData(types.defined[d.readTypeIndex()] as ArrayType,
dataSegments.defined[d.readUnsigned()]);
}
@override
void serialize(Serializer s) {
s.writeByte(0xFB);
s.writeByte(0x09);
s.writeTyp... | Dart |
25 02:50 gmail.py
-rwxr-xr-x 1 wesc wesc 728 Feb 25 02:40 myMail.py
-rw-r--r-- 1 wesc wesc 430 Feb 25 02:52 README.html
-rwxr-xr-x 1 wesc wesc 2290 Feb 25 02:49 ymail.py
./ch04:
total 104
-rwxr-xr-x 1 wesc wesc 861 Feb 27 13:09 bookrank3CF.py
-rwxr-xr-x 1 wesc wesc 977 Feb 27 13:09 bookrank3.py
-rwxr-xr-x 1 wesc w... | HTML |
CheckBox的L&F实现。</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="org.jb2011.lnf.beautyeye.ch13_radio$cb_btn">
<!-- -->
</a>
<h3><a href="../../../../../../org/jb2011/lnf/beautyeye/ch13_radio$cb_btn/package-summary.html">org.jb2011.lnf.beautyeye.ch1... | HTML |
whole lifespan of Builder.
// This map will indicate which DB has been copied, so that they
// don't need to be copied again.
dirtyDB map[string]bool
// Used by autoid allocators
autoid.Requirement
factory func() (pools.Resource, error)
bundleInfoBuilder
infoData *Data
store kv.Storage
crossKS bool
}
... | Go |
= window.mouse(request.mode);
Ok(WindowMouseResponse { rid: request.rid, value })
}
fn op_minifb_window_size(_state: &mut OpState, request: WindowSizeRequest, _zero_copy: Option<ZeroCopyBuf>) -> Result<WindowSizeResponse, AnyError> {
let window = DenoWindow::get(request.rid).unwrap();
let value = window.size();... | Rust |
using Microsoft.Xna.Framework;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Xml.Linq;
using System.Linq;
using Barotrauma.IO;
using System.Xml;
using Barotrauma.Extensions;
using FarseerPhysics;
#if CLIENT
using Barotrauma.SpriteDeformations;
#endif
namespace Barotrauma
{
... | C# |
ps.Ping(pctx, _pid)
select {
case res := <-ts:
if res.Error != nil {
err = res.Error
}
sum += res.RTT
healthy++
case <-time.After(PingTimeout):
err = errors.New("took too long to ping")
case <-ctx.Done():
err = ctx.Err()
return
}
}
// erase errors if at least one is... | Go |
sWrflDnon", 0.01, "AidlPercMstpSrasWrflDnon_turnR", 0.02, "AidlPercMstpSrasWrflDnon_turnL", 0.02, "AidlPercMwlkSrasWrflDf", 0.02, "AidlPercMrunSrasWrflDf", 0.02, "AidlPercMevaSrasWrflDf", 0.02, "AidlPercMwlkSrasWrflDb", 0.02, "AdthPercMstpSlowWrflDnon_rS0", 0.01, "AdthPercMstpSlowWrflDnon_r05", 0.01, "AdthPercMstpSlowW... | C++ |
GasCost::new(1, 1)),
(Gt, GasCost::new(1, 1)),
(Pack(StructDefinitionIndex::new(0)), GasCost::new(2, 1)),
(
PackGeneric(StructDefInstantiationIndex::new(0)),
GasCost::new(2, 1),
),
(Nop, GasCost::new(1, 1)),
];
// Note that the DiemVM is expecting ... | Rust |
op the second level map (lmValueSize)
it2, hasNext2 := lmValueSize.Iterator()
var k2, v2 interface{}
for hasNext2 {
k2, v2, hasNext2 = it2()
valueSize := k2.(uint64)
lmConn := v2.(linkedmap.Interface)
var (
conns []uint64
rQPSs [][]uint64
wQPSs [][]uint64
)
// Loop the third level m... | Go |
u64 {
self.size_bytes
}
pub fn get_pass(&self) -> usize {
self.pass
}
pub fn set_pass(&mut self, pass: usize) {
self.pass = pass;
}
pub fn next_pass(&mut self) {
self.pass += 1;
}
pub fn read_from_stream<R>(read: R) -> Result<MapFile, Box<Error>> where... | Rust |
issions{Pull: true, Triage: true, Push: true, Maintain: true},
},
{
level: RepoAdmin,
permissions: RepoPermissions{Pull: true, Triage: true, Push: true, Maintain: true, Admin: true},
},
}
for _, testCase := range testCases {
if actual, expected := PermissionsFromTeamPermission(testCase.level), te... | Go |
Human give me attention meow.";
let (len, v) = f.get_wrap(text_to_wrap, 250);
println!("{} {:?}", len, v);
assert_eq!(len, 250);
/*
let wrapped_text = vec![
"Walk on car leaving trail of paw prints",
"on hood and windshield sniff other",
"cat\... | Rust |
.setcpu "65CE02"
brk
ora ($05,x)
cle
see
tsb $02
ora $02
asl $02
rmb0 $02
php
ora #$01
asl
tsy
tsb $1234
ora $1234
asl $1234
bbr0 $02,*+$34
bpl *+$32
ora ($06),y
ora ($07),z
lbpl *+$3133 ; bpl *+$3133
trb $02
ora $03,x
asl $03,x
rmb1 $02
clc
... | Assembly |
'SENSOR_RELAY_GET');
static const Opcode SENSOR_RELAY_RESPONSE = Opcode._(70, _omitEnumNames ? '' : 'SENSOR_RELAY_RESPONSE');
static const Opcode SENSOR_RELAY_NOTIFICATION = Opcode._(71, _omitEnumNames ? '' : 'SENSOR_RELAY_NOTIFICATION');
static const Opcode HRM_DATA_NOTIFICATION = Opcode._(72, _omitEnumNames ? '... | Dart |
(*workspaces.Workspace, error) {
panic("not implemented")
}
func (f *memory) ListByUserID(_ context.Context, userID users.ID) ([]*workspaces.Workspace, error) {
ww := []*workspaces.Workspace{}
for _, workspace := range f.workspaces {
if workspace.UserID == userID {
ww = append(ww, workspace)
}
}
return ww... | Go |
�圣的物品,它只能被赐予给我们最信任的人。给我带来三块明亮梦境碎片,我可以确保你也能得到这份祝福。",
["O"] = "为月光林地的洛雷什之魂收集3块明亮梦境碎片。",
["T"] = "野性的赐福",
},
[41032] = {
["D"] = "进来吧,我的孩子。欢迎您能够穿越死亡笼罩的阴影,来到这里。我相信你已经知道我们的行动和目的,所以我便不再赘述。$B$B我选择成为一名狼人,并且在受到诅咒之后得到了比我前半生所获得的更多的量和知识。现在我协助莫拉娜女士进行研究,遗憾的是该研究陷入了僵局。我需要空网蜘蛛身上的毒液。对于我们的新成员来说,克服过渡期的痛苦至关重要,给我收集十瓶毒液,我想那应该... | Lua |
received_count == 0);
// Create the media cache dir if we are likely to write to it
if (m_uncached_count != 0) {
bool did = fs::CreateAllDirs(getMediaCacheDir());
if (!did) {
errorstream << "Client: "
<< "Could not create media cache directory: "
<< getMediaCacheDir()
<< std::endl;
}
}
// If ... | C++ |
,
FLAGS_repeats);
test_rotate({FLAGS_cluster},
{1},
FLAGS_srcw,
FLAGS_srch,
FLAGS_dstw,
FLAGS_dsth,
(ImageFormat)FLAGS_dstFormat,
(ImageFormat)FLAGS_dstFormat,
FLAGS_angle,
(FlipPa... | C++ |
const Bn=I();for(;Me.pos<_n;){const it=Me.uint32();switch(it>>>3){default:Me.skipType(it&7);break}}return Bn},fromJSON(F){return I()},toJSON(F){return{}},fromPartial(F){return I()}};function R(){return{admin:"",groupId:BigInt(0),newAdmin:""}}i.MsgUpdateGroupAdmin={typeUrl:"/cosmos.group.v1.MsgUpdateGroupAdmin",encode(F... | JavaScript |
ass="label">Device Version</td>
<td>C</td>
</tr>
<tr>
<td class="label">Created Time</td>
<td>Tue Jan 21 18:52:53 2025
</td>
</tr>
<tr>
<td class="label">Legal Announcement</td>
<td>Copyright (C)2014-2024 Gowin Semiconductor Corporation. ALL rights reserved.</td>
</tr>
</table>
<h1><a name="summary">Synthesis Details</... | HTML |
s, v20.8h, v7.8h
smlal v11.4s, v20.4h, v9.4h
smlal2 v8.4s, v20.8h, v9.8h
uzp1 v7.8h, v21.8h, v6.8h
uzp2 v20.8h, v21.8h, v6.8h
uzp1 v16.8h, v1.8h, v12.8h
uzp2 v9.8h, v1.8h, v12.8h
smlal v11.4s, v7.4h, v16.4h
smlal2 v8.4s, v7.8h, v16.8h
smlal v30.4s,... | Assembly |
movement of opponent's wheels
long diff = LimitOpponentWheels(296, REAR_LEFT, REAR_RIGHT);
if (diff < 0)
// Use rear right wheel (because this is higher than rear left)
LimitOpponentWheels(368, REAR_RIGHT, FRONT);
else
LimitOpponentWheels(368, REAR_LEFT, FRONT);
#ifdef TEST_AMIGA_AWH
CompareRecordedAmigaWo... | C++ |
, cf: uint16(c.cf), ks: c.ks}
}
package cmds
import (
"strings"
"sync"
)
const ErrBuiltTwice = "a command should not be built twice"
const ErrUnfinished = "a command should be finished by calling Build() or Cache()"
var pool = &sync.Pool{New: func() any {
return &CommandSlice{s: make([]string, 0, 2), l: -1}
}}
/... | Go |
PartialEq<T>,
{
fn eq(&self, other: &Host<T>) -> bool {
match (self, other) {
(Host::Domain(a), Host::Domain(b)) => a == b,
(Host::Ipv4(a), Host::Ipv4(b)) => a == b,
(Host::Ipv6(a), Host::Ipv6(b)) => a == b,
(_, _) => false,
}
}
}
fn write_ipv6(a... | Rust |
, [r6, SamusState_VelocityX]
b @@return
@@prevent:
ldrh r3, [r6, SamusState_Direction]
@@return:
ldrh r1, [r6, SamusState_WallJumpDirection]
pop { r2 }
bl 080072DCh ; Return to original code flow
.pool
.endfunc
; Returns r1 = Acceleration
; r2 is cleared after this function... | Assembly |
github.com/vim-jp/issues/issues/470)
- [Issue #471 : compatible について解説したほうが良いか?](https://github.com/vim-jp/issues/issues/471)
---
layout: vimmagazine
category: vimmagazine
title: Vim Magazine 2017 年 11 月号
---
## 話題
* [VimConf 2017](http://vim-jp.org/blog/2017/08/04/vimconf2017-venue-and-date-ja.html) が 11/04 (土) ... | Markdown |
PROTO_0:
GETTABLEKS R1 R0 K0 ["responseCode"]
GETUPVAL R4 0
GETTABLEKS R3 R4 K1 ["StatusCodes"]
GETTABLEKS R2 R3 K2 ["OK"]
JUMPIFNOTEQ R1 R2 [+13]
GETTABLEKS R1 R0 K3 ["responseBody"]
GETUPVAL R2 1
GETUPVAL R4 2
GETUPVAL R5 3
MOVE R6 R1
GETUPVAL R7 4
CALL R4 3 -1
NAMECALL R2 R2 K4 ["dispatch"]... | Assembly |
arget feature `avx512f,avx512vl` only"><code>avx512f,avx512vl</code></span><p>将 a 中的包装的 64 位整数转换为带截断的 16 位包装的整数,并使用写掩码 k 将结果存储在 dst 中 (当未设置相应的掩码位时,元素将从 src 复制)。</p>
</td></tr><tr class="unstable module-item"><td><a class="fn" href="fn._mm_mask_cvtepi64_epi32.html" title="core::arch::x86::_mm_mask_cvtepi64_epi32 fn">_mm... | HTML |
“广西联指南宁市红卫片指挥部”搞宣传联络活动。
</p>
<p>
6、4月,大联合席位问题僵持不下,广西两派各自积极准备武斗。
</p>
<p>
党校“遵义兵团”黎影材从大联筹回来,通报“广西联指”在长堤岭军火库夺枪消息,随即带领陈国善、苏延汉、梁献忠、伍三、梁善仁、李长宁等人乘单车前往长堤岭,因去迟,只捡到一些零件。事后,黎影材与“广西联指”指挥部联系,悄悄要回几支步枪,一批弹药和一挺马克沁重机枪(无击发器)。
</p>
<p>
4月下旬,南宁市两派不断发生摩擦,爆发了南铁工总武斗事件后,大联合谈判受挫,武斗气氛日益紧张,党校两派人员重新集结,据点恢复,广播、宣传战加剧展开。
</p>... | HTML |
LT.AND P0, PT, cy00, param_m, P4;
--:-:-:-:1 ISETP.LT.AND P1, PT, cy00, param_m, P5;
--:-:-:-:1 ISETP.LT.AND P2, PT, cy04, param_m, P4;
--:-:-:-:1 ISETP.LT.AND P3, PT, cy04, param_m, P5;
--:-:-:-:1 IADD cy00, cy00, 1;
--:-:-:-:1 IADD cy04, cy04, 1;
// Apply relu
--:-:-:-:1 LOP.AND.NZ P6, ... | CSS |
href="https://jo.dreggn.org/path-tracing-in-production/2018/index.html">https://jo.dreggn.org/path-tracing-in-production/2018/index.html</a>
<LI> Foley, Tim, and Jeremy Sugerman, "KD-Tree Acceleration Structures for a GPU Raytracer," <I>Proceedings of the ACM SIGGRAPH/EUROGRAPHICS Conference on Graphics Hardware</I>,... | HTML |
487fe71c92bdbe2836e4080a88672d98b43460d80a2862083a49483d6e7bab5526aac351ce265dfb4c8624d638fae92e92ce94051ed066290db4e894400ff452
'http://archive.ubuntu.com/ubuntu/pool/main/libp/libpng1.6/libpng1.6_1.6.43.orig.tar.gz' libpng1.6_1.6.43.orig.tar.gz 1554715 SHA512:3bb2a7b73113be42b09c2116e6c6f5a7ddb4e2ab06e0b13e10b7314acd... | Markdown |
}
let config = load_configuration(&conf_json, verbose);
match op {
0 => write_configuration(&conf_json, verbose),
1 => connect_to_portal(&config, verbose),
2 => get_status(&config),
3 => get_configuration(&config),
_ => {
display_error(&program,
... | Rust |
while (totalBytesRead < count)
{
var bytesRead = sourceStream.Read(buffer, offset + totalBytesRead, count - totalBytesRead);
if (bytesRead == 0)
{
if (sourceStream.Position == 0 || !EnableLooping)
{
... | C# |
.549-5.55 0-3.106 2.442-5.55 5.549-5.55zm24.64 1.248-.21 5.43 10.857.433.213-5.43zM88.62 45.348l-5.422.408.817 10.844 5.422-.409zM12.57 59.91c3.106 0 5.548 2.444 5.548 5.55 0 3.108-2.442 5.55-5.549 5.55-3.106 0-5.55-2.442-5.55-5.55 0-3.106 2.444-5.55 5.55-5.55zM87.55 71c3.106 0 5.549 2.444 5.549 5.55 0 3.107-2.443 5.55... | Dart |
href="static/css/bulma.min.css">
<link rel="stylesheet" href="static/css/index.css">
<!-- Non-critical CSS - Load asynchronously -->
<link rel="preload" href="static/css/bulma-carousel.min.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
<link rel="preload" href="static/css/bulma-slider.min.... | HTML |
0620, "Member 'UWBP_Mission_GetRewards_Tips_C::Anim_Toggle' has a wrong offset!");
////static_assert(offsetof(UWBP_Mission_GetRewards_Tips_C, Anim_GetRewards_FadeIn) == 0x000628, "Member 'UWBP_Mission_GetRewards_Tips_C::Anim_GetRewards_FadeIn' has a wrong offset!");
////static_assert(offsetof(UWBP_Mission_GetRewards_Ti... | C++ |
public hash(hash: Hash): void {
this._rule.hash(hash);
hash.writeString(this._outcome);
hash.writeString(this._mode);
}
public toJSON(): Outcome.JSON<V> {
return {
outcome: this._outcome,
rule: this._rule.toJSON(),
mode: this._mode,
};
}
public toEARL(): Outcome.EARL ... | Typescript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.