content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
c_uchar,
) -> c_int;
pub fn CfdGetBaseTapLeaf(
handle: *const c_void,
tree_handle: *const c_void,
leaf_version: *mut c_uchar,
tapscript: *mut *mut i8,
tap_leaf_hash: *mut *mut i8,
) -> c_int;
pub fn CfdGetTapBranchCount(
handle: *const c_void,
tree_handle: *const c_void,
branch_... | Rust |
::caller()` in a macro should behave similarly to `file!` and `line!`,
// i.e. point to where the macro was invoked, instead of the macro itself.
let loc2 = caller_location_from_macro!();
assert_eq!(loc2.file(), file!());
assert_eq!(loc2.line(), 23);
assert_eq!(loc2.column(), 16);
}
//! Trait used t... | Rust |
黑客可以瞒天过海,所以新员工的环境也应有所限制,这听起来有些严酷,但必须给新员工一段时间来证明,他们对宝贵的公司核心资产来说是值得信任的。即使如此,优秀的黑客都通晓这套工作流程,在完全获得信任后才展开攻击。</p>
<p><span style="font-size: 20px"><strong>技术六:社会工程机器人(bot) </strong></span></p>
<p>PerimeterX的首席研究员Inbar Raz说:</p>
<blockquote>
<p>对于高度复杂、有害的社会工程活动通常由恶意机器人负责,机器人通过感染具有恶意扩展的Web浏览器,能够劫持网络对话,并使用保存在浏览器中的社交网络凭证将受感... | HTML |
t_names = _parent_names, \
.num_parents = ARRAY_SIZE(_parent_names), \
.mux_flags = CLK_MUX_READ_ONLY)
#define DEF_SD_MUX(_name, _id, _conf, _parent_names) \
DEF_TYPE(_name, _id, CLK_TYPE_SD_MUX, .conf = _conf, \
.parent_names = _parent_names, \
.num_parents = ARRAY_SIZE(_parent_names))
#define DEF_PLL5_FO... | C |
! 1347: LDDF_I ldd [%r21, 0x01fd], %f29
.word 0xb93d4000 ! 1348: SRA_R sra %r21, %r0, %r28
.word 0xbb510000 ! 1352: RDPR_TICK <illegal instruction>
.word 0xf015a079 ! 1354: LDUH_I lduh [%r22 + 0x0079], %r24
setx 0x30336, %g1, %o0
ta T_SEND_THRD_INTR
.word 0xf4146134 ! 1359: LDUH_I lduh [%r17 + 0x0134], %r26... | Assembly |
axis to positive y-axis (typically counter-clockwise)
var deltaAngle = MathUtils.PI / 3
var previousVector = initialVector
var currentVector = previousVector.withRotationRad(deltaAngle)
assertEquals(deltaAngle, currentVector.angleRad(previousVector), MathUtils.FLOAT_ROUNDING_ERROR)
assertE... | Kotlin |
68fb28f-686c-4b2d-aa1f-339649882785);"/></g><g transform="matrix(1.3333,0,0,1.3333,-120,87.4722)" style="text-rendering:optimizeLegibility; stroke-dasharray:12,6; font-weight:bold; font-family:sans-serif; stroke-linecap:butt;"><line x1="185.4743" x2="185.4743" y1="60" style="fill:none; clip-path:url(#clipPath2_168fb28f... | HTML |
Equals("A", meta.getColumnLabel(1));
assertEquals("B", meta.getColumnLabel(2));
assertEquals("C", meta.getColumnLabel(3));
assertEquals("D", meta.getColumnLabel(4));
assertTrue(rs.next());
assertEquals("201", rs.getString(1));
assertEquals("-2", rs.getString(2));
... | Java |
int64", "int64",
null, null);
}
// Example from TestParse.test15:
// map={lst fcn -> lst ? fcn lst.1};
// in_int=(0,2);"+ // List of ints
// in_str=(0,"abc");" + // List of strings
// out_str = map(in_int,str:{int->str});"+ // Map over ints with int->str conversion, returning ... | Java |
px;
line-height: 2.5em;
}
div.dt-button-collection {
width: auto;
padding-left: 0.5rem;
padding-right: 0.5rem;
}
div.dt-button-collection div.dropdown-content {
width: 100%;
padding-top: 0.5rem;
padding-bottom: 0px;
}
div.dt-button-collection div.dropdown-content div.dropdown-trigger {
margin-bottom: 0... | CSS |
false;
std::deque <TtiAllocInfo>::iterator itSlot = ret.m_slotAllocInfo.m_ttiAllocInfo.begin ();
for (unsigned islot = 0; islot < ret.m_slotAllocInfo.m_ttiAllocInfo.size (); islot++)
{
if (ret.m_slotAllocInfo.m_ttiAllocInfo [islot].m_tddMode == TtiAllocInfo... | C++ |
m/s.cdpn.io/2399829/bbb.jpg',
),
SizedBox(width: 5),
],
),
Row(
children: [
_movieOriginal(
'https://s3-us-west-2.amazonaws.com/s.cdpn.io/2399829/original_two.jpg',
),
SizedBox(width: 5),
],
),
Row(
children: [
_movieOrigi... | Dart |
, %hi(D_800E9020)
/* 20D04C 801E24EC 000B6080 */ sll $t4, $t3, 2
/* 20D050 801E24F0 002C0821 */ addu $at, $at, $t4
/* 20D054 801E24F4 E4349020 */ swc1 $f20, %lo(D_800E9020)($at)
/* 20D058 801E24F8 8CAD0000 */ lw $t5, 0x0($a1)
/* 20D05C 801E24FC 3C01800E */ lui $at, %hi(D_800E... | Assembly |
dart';
import 'package:flutter_svg/svg.dart';
import 'package:get/get.dart';
import 'package:permission_handler/permission_handler.dart';
import 'package:untitled/config/size_config.dart';
import 'package:untitled/screens/PasswordPage/security_question.dart';
import 'package:untitled/widgets/button_view.dart';
import '... | Dart |
marketo-form-embed textarea { width: 100%; }
.legacy .contact-training-form .marketo-form-embed select { font-size: 120%; }
.legacy .contact-training-form .marketo-form-embed input[type="submit"] { color: #fff; background: #3FAE2A; }
.legacy .contact-training-form .marketo-form-embed input[type="submit"]:hover { backgr... | CSS |
": "3"}]}, {"name": "BoundingBoxFields", "type": "Enum", "doc": "<p>Enumeration that defines which location information of an element should be selected.</p>\n<p>Used by <a href=\"#Get%20BoundingBox\" class=\"name\">Get BoundingBox</a>.</p>\n<p><code>x</code> / <code>y</code> defines the position of the top left corner... | HTML |
{
float Value = 2.0f;
UpdateMemoryAddress(Address, &Value, sizeof(float));
ValueSet = true;
}
}
else if (ValueSet)
{
float Value = 1.0f;
UpdateMemoryAddress(Address, &Value, sizeof(float));
ValueSet = false;
}
}
/**
* Copyright (C) 2024 Elisha Riedlinger, mercury501
*
* This software is provide... | C++ |
@warn "First breakpoint in `$grid-breakpoints` must start at 0, but starts at #{$first-value}.";
}
}
// Replace `$search` with `$replace` in `$string`
// Used on our SVG icon backgrounds for custom forms.
//
// @author Hugo Giraudel
// @param {String} $string - Initial string
// @param {String} $search - Substr... | CSS |
1);
delete reinterpret_cast< std::shared_ptr< cmf::water::SoluteStorage > * >(argp1);
arg1 = const_cast< cmf::water::SoluteStorage * >(tempshared1.get());
} else {
smartarg1 = reinterpret_cast< std::shared_ptr< cmf::water::SoluteStorage > * >(argp1);
arg1 = const_cast< cmf::water::SoluteSt... | C++ |
Activity = ACT_DIE_GUTSHOT;
break;
case HITGROUP_GENERIC:
// try to pick a death based on attack direction
fTriedDirection = TRUE;
if ( flDot > 0.3 )
{
deathActivity = ACT_DIEFORWARD;
}
else if ( flDot <= -0.3 )
{
deathActivity = ACT_DIEBACKWARD;
}
break;
default:
// try to pick a death... | C++ |
Count]x[columnCount] dimension
factory Matrix.random(int rowCount, int columnCount,
{DType dtype = DType.float32,
num min = -1000,
num max = 1000,
int? seed}) {
switch (dtype) {
case DType.float32:
return Float32Matrix.random(dtype, rowCount, columnCount,
min: min... | Dart |
SetNativeBool(IS_LR_KEY, value); }
public bool? IsPc { get => GetNativeBool(IS_PC_KEY); set => SetNativeBool(IS_PC_KEY, value); }
public string MachoFile { get => GetNativeString(MACHO_FILE_KEY); set => SetNativeString(MACHO_FILE_KEY, value); }
public string MachoLoadAddress { get => GetNati... | C# |
BUFFER_BIT );
glViewport( 0, 0, g_gl_width, g_gl_height );
glUseProgram( shader_programme );
glBindVertexArray( vao );
/* draw points 0-3 from the currently bound VAO with current in-use
shader */
glDrawArrays( GL_TRIANGLES, 0, 3 );
/* update other events like input handling */
glf... | C |
aggTmplInfoBase: aggTmplInfoBase{
canonicalTypeFamily: typeconv.TypeFamilyToCanonicalTypeFamily(retTypeFamily),
},
SumKind: sumKind,
InputVecMethod: toVecMethod(inputTypeFamily, inputTypeWidth),
RetGoType: toPhysicalRepresentation(retTypeFamily, retTypeWidth),
RetGoTypeSlice:... | Go |
root,
path_globs,
digest_hint,
)
.await?;
nodes::Snapshot::store_snapshot(&core, &snapshot)
}
})
.collect::<Vec<_>>();
py.allow_threads(|| {
core.executor.block_on(
future03::try_join_all(snapshot_futures)
... | Rust |
enic_plate.svg.png 2x" width="20"/><br/>
<img alt="" data-file-height="600" data-file-width="600" height="20" src="//upload.wikimedia.org/wikipedia/commons/thumb/0/04/US_40.svg/20px-US_40.svg.png" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/0/04/US_40.svg/30px-US_40.svg.png 1.5x, //upload.wikimedia.org/wikip... | HTML |
](https://habrastorage.org/webt/1s/lx/5y/1slx5ym__-ijau-wa67juovqtnc.jpeg)
## Чем бы снять дамп?
Флешки я читаю раз в пять лет, надобности нет, а соответственно - и программаторов для них. В закромах нашел платку FTDI FT2232H, которой я пользовался для отладки ESP32 через JTAG + OpenOCD. Оказалось, она много чего умее... | Markdown |
x6,x6,x22,lsr#32
ldp q26,q27,[sp,#32]
add w7,w7,w23
ldp q28,q29,[sp,#64]
add x8,x8,x23,lsr#32
add v0.4s,v0.4s,v24.4s
add w9,w9,w24
add v4.4s,v4.4s,v24.4s
add x10,x10,x24,lsr#32
add v8.4s,v8.4s,v24.4s
add w11,w11,w25
add v12.4s,v12.4s,v24.4s
add x12,x12,x25,lsr#32
add v16.4s,v16.4s,v24.4s
add w13,w13,w26
... | Assembly |
B;
}
eights=fours&foursA;
fours=fours^foursA;
tot8 += pop(eights);
i+=4;
}
if (i<=n-2)
{
long b=(A[i] ^ B[i]), c=(A[i+1] ^ B[i+1]);
long u=ones ^ b;
long twosA=(ones & b)|( u & c);
ones=u^c;
long foursA=twos&twosA;
twos=twos^twosA;
... | Java |
0x81005843
// store
.equ str_r0_r1_add_sp_4_pop_pc, 0x8100717b
// move
.equ mov_r0_r4_blx_lr, 0x8100914b
.equ mov_r1_r4_blx_r3, 0x8100a701
.equ movs_r1_r0_pop_r4_pc, 0x8102978d
.equ movs_r2_r4_add_sp_8_bx_lr, 0x8102d339
.equ movs_r4_r0_ad... | Assembly |
ent('.doc-example-live span:last:hidden').count()).toEqual(1);
});
</doc:scenario>
</doc:example>
*/
//TODO(misko): refactor to remove element from the DOM
var ngHideDirective = ngDirective(function(scope, element, attr){
scope.$watch(attr.ngHide, function ngHideWatchAction(value){
element.css('di... | JavaScript |
# -*- coding: utf-8 -*-
from odoo import models, fields, _
from odoo.exceptions import UserError
class IrAttachment(models.Model):
_inherit = 'ir.attachment'
def unlink(self):
# OVERRIDE
linked_edi_documents = self.env['account.edi.document'].search([('attachment_id', 'in', self.ids)])
... | Python |
Backhouse http://www.jadu.net/ for the original pattern
* @author Mason Wendell mason@canarypromo.com @canarymason for the sass mixin
*/
/**
* Madras background pattern
*
* Before compass 0.11.5, you need to add
* Compass::BrowserSupport.add_support("repeating-linear-gradient", "webkit", "moz", "o", "ms")
* To ... | CSS |
"../../test/index.html#verbose,stex_*">verbose</a>.</p>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Medium.js</title>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="../medium.css">
<link rel="stylesheet" type="text/css" href="docs.... | HTML |
using UnityEditor;
using UnityEngine;
[CustomPreview(typeof(Bezier3DSpline))]
public class Bezier3DSplinePreview : ObjectPreview {
private class Styles {
public GUIStyle labelStyle = new GUIStyle(EditorStyles.label);
public GUIStyle headerStyle = new GUIStyle(EditorStyles.boldLabel);
pub... | C# |
/*
* Copyright (C) 2012 The Android Open Source Project
*
* 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 app... | Assembly |
`foo/{Model.name}/[...name]`,
{
name: `dolores`,
},
reporter
)
expect(one).toEqual(`foo/dolores/[...name]`)
const { derivedPath: two } = await derivePath(
`{Model.name}/[...name]`,
{
name: `dolores`,
},
reporter
)
expect(two).toEqual(`dolo... | Typescript |
ELDS` special array is updated: it is a mapping of field number to field name, allowing you to loop over the field names dynamically. For example, given the header row `id,name,email`, GoAWK sets `FIELDS` using the equivalent of:
```
FIELDS[1] = "id"
FIELDS[2] = "name"
FIELDS[3] = "email"
```
Note that named field as... | Markdown |
νο"
],
"timeFormat-long": "h:mm:ss a z",
"field-year": "Έτος",
"field-hour": "Ώρα",
"field-sat-relative+0": "αυτό το Σάββατο",
"field-sat-relative+1": "επόμενο Σάββατο",
"timeFormat-full": "h:mm:ss a zzzz",
"field-day-relative+0": "σήμερα",
"field-thu-relative+0": "αυτήν την Πέμπτη",
"field-day-relative+1": "... | JavaScript |
return sc.stream;
}
Stream<void> get onPositionChanged {
late StreamController<void> sc; // ignore: close_sinks
late MapsEventListener mapsEventListener;
void start() => mapsEventListener = event.addListener(
this,
'position_changed',
(() => sc.add(null)).toJS,
)... | Dart |
ket_Sort, Big_O_Time_O(n\*log(n))_Space_O(k) | 9 | 97.30
#### Day 21 Heap Priority Queue
| <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
|-|-|-|-|-|-
| 0451 |[Sort Characters By Frequency](src/main/java/g0401_0500/s0451_sort_characters_by_frequency/Solution.java)| Medium | String, Hash_Table, Sortin... | Markdown |
erited: context.inherited,
})
.name;
})
.filter(alternativeText => alternativeText !== '')
.join(' ');
}
return null;
}
/**
* Implementation for rule 2E.
* @param node - node whose text alternative is being calculated
* @param context - additional informat... | Typescript |
ER
*
*/
#footer {
margin: 0;
padding: 1em 1.5em 2em 1.5em;
border-top: 1px solid $border-color;
a {
margin: 0 0 0 1em;
}
#debug_toggle {
margin-left: 0;
}
#userinfo {
display: block;
float: right;
}
#debug {
margin-top: 2em;
}
}
#footer, #debug {
font-size: $footer-font-size;
color: $foo... | CSS |
checkPropertyHintAnnotations(element, holder)
checkExportAnnotation(element, holder)
}
}
private fun checkMutability(ktProperty: KtProperty, holder: AnnotationHolder) {
if (!ktProperty.isVar) {
holder.registerProblem(
GodotPluginBundle.message("problem.pr... | Kotlin |
crate::errors::*;
use crate::types::*;
use uuid::Uuid;
/// Informs TDLib that the chat is opened by the user. Many useful activities depend on the chat being opened or closed (e.g., in supergroups and channels all updates are received only for opened chats)
#[derive(Debug, Clone, Default, Serialize, Deserialize)]
pub... | Rust |
local core = require('gitgraph.core')
---@class GG.Test
---@field name string
---@field commits string[]
---@field expect string[]
---@field ignore? boolean
local M = {}
---@type GG.Test[]
M.scenarios = {
{
name = 'foo',
commits = {
'G D',
'F C',
'E C',
'D AB',
'C A',
'B... | Lua |
.1 121.4 358.6C108.9 346.1 108.9 325.9 121.4 313.4L146.7 288H32C14.33 288 0 273.7 0 256C0 238.3 14.33 224 32 224H146.7L121.4 198.6C108.9 186.1 108.9 165.9 121.4 153.4C133.9 140.9 154.1 140.9 166.6 153.4L246.6 233.4z"],"arrow-rotate-left":[512,512,[8634,"arrow-left-rotate","arrow-rotate-back","arrow-rotate-backward","un... | JavaScript |
to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// 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 presenter
import (
"reflect"
"tes... | Go |
QCPGraphDataContainer::const_iterator begin = mDataContainer->findBegin(posKeyMin, true);
QCPGraphDataContainer::const_iterator end = mDataContainer->findEnd(posKeyMax, true);
for (QCPGraphDataContainer::const_iterator it=begin; it!=end; ++it)
{
const double currentDistSqr = QCPVector2D(coordsToPixels(it->k... | C++ |
"링쿠의 용자검",
[11903] = "오염된 집고양이 가방",
[11904] = "아쿠에멘타스의 정기",
[11905] = "링쿠의 부메랑",
[11906] = "야수파쇄기",
[11907] = "야수잡이 도끼",
[11908] = "고고학자의 작업용 장화",
[11909] = "발굴인부의 연장허리띠",
[11910] = "보석 장식 다리보호대",
[11911] = "우듬지 다리보호구",
[11912] = "빈 수액괴물 병이 든 상자",
[11913] = "흙마루 투구",
[11914] = "빈 저주받은 수액괴물 병",
[11915] = "쉬즐의 비막이 덮개",
[... | Lua |
d.bin file.
The size of the element to extract will be 64 bytes. The start index of the data to recover will be the 48 and the size will be 16 bits (2 bytes) in little endian format :
Element extracted :
01 10 CE 26 36 B9 10 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 46 80 39 7F
01 C9 00 C9 05 F... | Markdown |
/ Matches "//" and "///"
final _commentSlashesRegex = RegExp(r'\/{2,3}');
/// Tries to find all comments where there is no space after the slashes.
/// Example:
/// ```dart
/// //This is a bad comment
/// ///This is a bad doc-comment
/// // This is a good comment
/// /// This is a good doc-comment
/// ```
/// This met... | Dart |
CB4(a){a.E7=null;}
function BbW(a){var b;if(a.E7!==null)return;b=new BV;BB(b);O(b);}
function Bxx(){var a=this;D.call(a);a.U=null;a.q_=0;a.bjv=null;a.bCq=0;a.x7=0;a.FL=0;a.iU=0;a.bkO=null;}
A.ATO=function(){var a=new Bxx();A.Je(a);return a;};
function Xx(a,b){var c,d,e,f,g,h,i,j;c=new AZy;c.IT=(-1);c.Qn=(-1);c.bR$=a;c.... | JavaScript |
patch"已成为分发Linux内核版本的首选方法。
```shell
patch -p1 <patch-file
# 接受'patch-file'中列出的所有更改,
# 并将其应用于引用其的文件。
# 这将使软件包升级到新版本。
```
给内核打补丁:
```shell
cd /usr/src
gzip -cd patchXX.gz | patch -p0
# 使用'patch'更新内核源码。
# 摘自Linux内核文档"README",
# 来自匿名作者(Alan Cox?)。
```
> **diff**命令还可以递归地比... | Markdown |
= RequestId
def _deserialize(self, params):
self._SearchAfter = params.get("SearchAfter")
self._Data = params.get("Data")
self._RequestId = params.get("RequestId")
class DescribeTasksOverviewRequest(AbstractModel):
"""DescribeTasksOverview请求参数结构体
"""
def __init__(self):
... | Python |
/(?:[A-Za-z][-.+A-Za-z0-9]+:(?![A-Za-z][-.+A-Za-z0-9]+:\/\/)(?!\d+\/?)(?:\/\/)?)/, // match protocol, allow in format "http://" or "mailto:". However, do not match the first part of something like 'link:http://www.google.com' (i.e. don't match "link:"). Also, make sure we don't interpret 'google.com:8000' as if 'goog... | JavaScript |
enderer .fc-view .o_calendar_color_24.o_event_hatched:not(.o_event_dot):not(.fc-day-grid-event):not(.fc-time-grid-event), .o_calendar_renderer .fc-view .o_calendar_color_24.o_event_hatched .fc-bg, .o_calendar_renderer .fc-view .o_calendar_color_24.o_attendee_status_tentative:not(.o_event_dot) .fc-bg{background: repeati... | CSS |
(/\s/g, "").substr(0, 3) + " **** " + val.replace(/\s/g, "").substr(-4);
break;
case "qq":
str = val.replace(/\s/g, "").substr(0, 3) + " **** " + val.replace(/\s/g, "").substr(-2);
break;
case "bank":
str = val.replace(reg_bank, "$1 **** **** $2");
... | Typescript |
<p>
马文元闭上眼睛。阳光把浑身的皮肤晒得刺刺挠挠的,他仿佛觉得他身上最外面的一层细胞被太阳烤得变着颜色。他是太讨厌自己的颜色了,又白又黄,好象在药水里浸了多少日子似的。在这皮肤上,头发,胡子也长得稀稀拉拉,跟没施过肥的庄稼一样。还有,就是这个肚子。身子长得并不胖,肚子倒无缘无故地胖了起来。
</p>
<p>
“这几年的生活,清淡而空虚,”他懒洋洋地想道,“真正的生活,要象河水那样。它有点杂质,也就有味道,有声响,有色彩;它不住地流啊流,越流越开阔,给自己给别人带来生气……”
</p>
<p>
有人喊他。被太阳晒得痒痒的,他不想起来。可是这些日子他给自己定了条座右铭,“需要作的事,一分钟也不迟... | HTML |
->
it.definingClass == "Lcom/twitter/api/model/json/core/JsonApiTweet\$\$JsonObjectMapper;" && it.name == "parse"
}
)
@Patch(
compatiblePackages = [CompatiblePackage("com.twitter.android")],
use = true,
requiresIntegrations = true
)
object TweetInfoHook:BytecodePatch(
setOf(TweetInfoHookFin... | Kotlin |
uteValue() {
return (PICKER_PADDING + ARROW_SIZE + 10) + (RECT_SIZE * (1 - (bright.get() / 100)));
}
});
final Rectangle colorRect = new Rectangle(PICKER_PADDING + 10, PICKER_PADDING + ARROW_SIZE + 10, RECT_SIZE, RECT_SIZE);
colorRect.setStroke(Color.GRAY);
... | Java |
f();
println!("-----------------");
println!("Arrays and Slices");
println!("-----------------");
arrays_and_slices();
println!("------------");
println!("More slicing");
println!("------------");
slicing_and_dicing();
println!("---------------");
... | Rust |
\uff0d1966.10.3\uff09", "type": "paragraph"}, {"text": "\u201c\u5bf9\u654c\u4e13\u653f\u201d \u6316\u51fa\u201c\u9690\u85cf\u654c\u4eba\u201d\uff08\u5730\u5bcc\u53cd\u574f\u53f3\u5206\u5b50\uff09 16623 \u4eba\u7834\u83b7\u201c\u73b0\u884c\u53cd\u9769\u547d\u6848\u201d 1788 \u5b97", "type": "paragraph"}, {"text": "\u6ca... | HTML |
ags.Zero) === 0);
t.assert((cpu.registers.f & Flags.HalfCarry) === Flags.HalfCarry);
t.assert((cpu.registers.f & Flags.Operation) === Flags.Operation);
t.assert((cpu.registers.f & Flags.Carry) === 0);
cpu.registers[reg] = 0x01;
cpu.execute(opcode);
t.assert(cpu.registers[reg] === 0x00);
t.a... | Typescript |
, v127
.byte W48
.byte N36 @ Cn3, v127
.byte W48
.byte N36 @ Cn3, v127
.byte W48
.byte GOTO
.word track_25_lbl_2306c1
.byte FINE
track_25_7:
.byte KEYSH, 0
track_25_lbl_23073c:
.byte VOICE, 25
.byte VOL, 78
.byte PAN, c_v
.byte PRIO, 28
.byte N36, Cn3, v096
.byte W96
.byte N36 @ Cn3, v096
.byte W96
... | Assembly |
height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e")}.carousel-control-next-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.... | CSS |
Items = mutableListOf<AudioItem>()
val artists = repo.getDatabase()?.artistDAO()?.search(sanitizeSearchQuery(query))
artists?.forEach {
audioItems += repo.getTracksForArtist(it.artistId)
}
return audioItems
}
suspend fun searchTrackByArtist(track: String, artist: Str... | Kotlin |
);
console.debug('N64Player.stop()');
this.emit('playerStateUpdate', { isStopped: true });
}
}
import { CalcCascades, IirFilter } from 'fili';
export default class SubBass {
constructor(sampleRate) {
const iirCalculator = new CalcCascades();
const lowpass1Coeffs = iirCalculator.lowpass({
orde... | JavaScript |
6027b: 00 halt
6027c: 6e 00 00 cvtld $0x0,$0x0 [d-float]
6027f: 00 halt
60280: 6e 00 00 cvtld $0x0,$0x0 [d-float]
60283: 00 halt
60284: 6e 00 00 cvtld $0x0,$0x0 [d-float]
60287: 00 halt
60288: 04 ret
60289: 00 halt
602... | Assembly |
Data.length > 0 ? feedbackData : [map(new Array(sheet2.columns.length), () => 'N/A')]
})
sheet2.getCell('A1').style = headerStyle
sheet2.getCell('B1').style = headerStyle
sheet2.getCell('C1').style = headerStyle
}
const createSheet3 = (workbook, suggestionsData) => {
const sheet3Name = 'Unhandled Questions ... | Typescript |
name", pname);
input.setAttribute("value", pvalue);
document.getElementById("formAuthenticate").appendChild(input);
}
document.getElementById("formAuthenticate").submit();
// And send the token over to the server
// var req = new XMLHttpRequest();
// // usi... | HTML |
")}`;
}
}
const Module = require('module');
class MapOfSets extends Map<string, Set<string>> {
getOrCreate(key: string) {
let s = this.get(key);
if(!s) {
this.set(key, s = new Set());
}
return s;
}
}
import {_resolveFilenameHookManager} from './core';
function... | Typescript |
px #e0dede, -2px 0 #e0dede, 0 -2px #e0dede, -4px -4px white, -4px 0 white, 0 -4px white, 2px 2px #818181, 0 2px #818181, 2px 0 #818181, 2px -2px #e0dede, -2px 2px #818181, -4px 2px white, -4px 4px black, 4px 4px black, 4px 0 black, 0 4px black, 2px -4px white, 4px -4px black;
}
#windows-ie-input-on-top:checked ~ #all-... | CSS |
ignore
expect(formatMobile(1234567890)).toBe('123 4567 890');
// @ts-ignore
expect(formatMobile(12345678900)).toBe('123 4567 8900');
});
it('字符串', () => {
expect(formatMobile('123')).toBe('123');
expect(formatMobile('1234')).toBe('123 4');
expect(formatMobile('1234567')).toBe('123 4567');
... | Typescript |
-> tv.setTextColor(Color.BLACK)
else -> tv.setTextColor(Color.GRAY)
}
tv.setBackgroundResource(R.drawable.bg_solid_border_0_white_black)
tv.width = kanjiWidth
tv.height = kanjiHeight
tv.x = x.toFloat()
tv.y = y.toFloat()
choiceWindow.addView(tv)
... | Kotlin |
= await fetch(window.whisperConfig.url, {
method: 'POST',
headers: headers,
body: formData
});
if (!response.ok) {
const errorText = await response.text();
console.error(`识别请求失败: ${response.status} ${response.statu... | HTML |
er_ds3231.h:128</a></div></div>
<div class="ttc" id="agroup__ds3231__alarm__driver_html_gga611344d970c9633d999392e95d07ba18a956555f01c824ad98758f8e1919f43bc"><div class="ttname"><a href="group__ds3231__alarm__driver.html#gga611344d970c9633d999392e95d07ba18a956555f01c824ad98758f8e1919f43bc">DS3231_ALARM1_MODE_MINUTE_SEC... | HTML |
generatePlatformArray = function(key) {
var ret = [];
_.each(_.keys(platforms), function(p) {
ret.push(platforms[p][key]);
});
return ret;
};
// generate compile time constants based on supported platforms
exports.PLATFORMS = generatePlatformArray('platform');
exports.PLATFORM_FOLDERS_ALLOY = generatePl... | JavaScript |
80;font-weight:700}.example-background-gradient-1{background-color:#ccf;background-repeat:repeat-x;background-image:-webkit-linear-gradient(top, #cff 0, #ccf 100%);background-image:linear-gradient(to bottom, #cff 0, #ccf 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ccffff', endColorstr='#cccc... | HTML |
# -*- coding: utf-8 -*-
# Copyright © 2021 Patrick Levin
# SPDX-Identifier: MIT
u"""EXIF utilities for extracting focal length for distance calculation.
The module contains the function `get_focal_length` to extract focal length
data from image EXIF data.
Missing 35mm focal length data (usually provided by smartphone... | Python |
word address
mov r1,(isp)+ / push it
jmp *(ipc)+
/ push automatic rvalue
.globl a, ia
ia: tst -(isp)
a: mov idp,r1 / frame
add (ipc)+,r1 / offset
mov (r1),(isp)+ / push value
jmp *(ipc)+
/ push constant
.globl c, ic
ic: mov (ipc)+,-2(isp)
jmp *(ipc)+
c: mov (ipc)+,(isp)+
jmp *(ipc)+
/ push external lvalue
.g... | Assembly |
org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under t... | Go |
;ase64Data>
    <com.sun.xml.internal.bind.v2.runtime.&... | Go |
// *** WARNING: this file was generated by pulumi-language-dotnet. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.AwsNat... | C# |
ession:is_locked()
then
return nil, AppointmentError:new("No active coordinator session")
end
local updates = {}
for replicaset_uuid, leader_uuid in pairs(leaders) do
if servers[leader_uuid].electable == false then
return nil, AppointmentError:new("Cannot appoint non-electab... | Lua |
await assertNoDiagnosticsInFile(libFile);
}
test_badType_class_constructor_parameter_inNamedConstructor() async {
newFile(libSrcFile, '''
class B {}
''');
newFile(libFile, '''
import 'src/file.dart';
class C {
C.named(B b);
}
''');
await assertDiagnosticsInFile(libFile, [lint(39, 5, name: badTy... | Dart |
);
}
guard_access_fn!(pub get_console(CONSOLE: Console));
pub struct Console {
x_pos: isize,
y_pos: isize,
frontground: Rgb888,
background: Rgb888,
}
impl Console {
pub fn new() -> Self {
Self {
x_pos: 0,
y_pos: 0,
frontground: colors::FRONTGROUND,
... | Rust |
ists := d.GetOk(path); d.HasChange(path) && !exists {
patch["initial_delay"] = nil
}
path = "probe_liveness.0.interval"
if _, exists := d.GetOk(path); d.HasChange(path) && !exists {
patch["interval"] = nil
}
path = "probe_liveness.0.path"
if _, exists := d.GetOk(path); d.HasChange(path) && !exists {
patch["... | Go |
/*
* (C) Copyright 2012-2013 Stephen Warren
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 2 as published by the Free Software Foundation.
*
* T... | C |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import argparse
import sys
import numpy as np
from Bio.Seq import Seq
from wub.simulate import seq as sim_seq
from wub.util import parse as parse_util
from wub.util import seq as seq_util
# Parse command line arguments:
parser = argparse.ArgumentParser(
description=... | Python |
_wait(j: *mut SdJournal, timeout_usec: u64) -> c_int;
fn sd_journal_seek_tail(j: *mut SdJournal) -> c_int;
fn sd_journal_seek_head(j: *mut SdJournal) -> c_int;
fn sd_journal_previous_skip(j: *mut SdJournal, skip: u64) -> c_int;
fn sd_journal_sendv(iovs: *const libc::iovec, n: c_int) -> c_int;
fn s... | Rust |
1
0.7940
0.7940
0.7941
0.7941
0.3289
0.5112
0.3289
v2
0
–0.5801 +
j0.1818
0.0576 +
j0.6051
–0.2978 -
j0.5298
0.6038 +
j0.0689
0.6614 +
j0.6740
0.4754 -
j0.7160
–0.8779 -
j0.3481
Vector
index
1
2
3
4
5
6
7
8
v1
1
0.500
0.500
0.500
0.500 ... | Markdown |
wn]) for i in blocks_with_transformer[updown]}
# eg {"down": {"block_1": 1}} to {"down": {"block_1": [1, 1]}}
for i in blocks_with_transformer[updown]:
block = f"block_{i}"
# set not assigned blocks to default scale
if block not in scales[updown]:
sca... | Python |
email;
```
---
#### **4.4.7 DROP - Deleting Tables or Databases**
The `DROP` command is used to delete entire tables or databases.
**Drop a Table**:
```sql
DROP TABLE employees;
```
**Drop a Database**:
```sql
DROP DATABASE mydatabase;
```
---
#### **4.4.8 TRUNCATE - Removing All Data from a Table**
`TRUNCATE`... | Markdown |
"com.datastax.oss.driver.internal.core.loadbalancing",
level = Level.DEBUG)
LogInterceptor driverLogs,
@StreamCapture(STDOUT) StreamInterceptor stdOut,
@StreamCapture(STDERR) StreamInterceptor stdErr) {
super(simulacron, logs, stdOut, stdErr);
this.driverLogs = driverLogs;
... | Java |
local spriteSheet = "res/img/stage/stage1/sign.png"
local imageWidth, imageHeight = loadSpriteSheet(spriteSheet)
local function q(x,y,w,h)
return love.graphics.newQuad(x, y, w, h, imageWidth, imageHeight)
end
return {
serializationVersion = 0.43, -- The version of this serialization process
spriteSheet =... | Lua |
return longArrayOf(h1, h2)
}
private fun mixK1(k1: Long): Long {
var k1 = k1
k1 *= X64_128_C1
k1 = java.lang.Long.rotateLeft(k1, 31)
k1 *= X64_128_C2
return k1
}
private fun mixK2(k2: Long): Long {
var k2 = k2
k2 *= X64_128_C2
k... | Kotlin |
早晨两点钟就到供销社门口排队等待售棉,队伍达二里多长。虽然群众大量售棉,但因供销社准备工作做得不好,收购量并不大。从九月一日到二十日,全省共收购籽棉一千一百六十五万多斤,皮棉八十一万多斤,共折合皮棉四百六十九万多斤,仅及九月份计划收购数的百分之二十六点四二。与去年同期相比,只达百分之五十强。完成最好的是安阳专区,但也只完成收购计划的百分之五十四点七,信阳专区只完成收购计划的百分之一点五六。
</p>
<p>
对於棉布统购统销,农民抵触情绪也很大。许多家里存有棉布的农民都把白布染色,有的甚至把白布在灰里揉脏。许昌市一个老太婆携了一篮鸡蛋,有人问她是否到供销社去卖?她气愤愤地说:“不卖给他。粮食他统购,棉花他统购,棉布他也... | HTML |
r.SR_INTERRUPT === false && this.r.intb === true) {
this.pushCpuInterrupt(this.r.PC, false);
this.setPC(this.readMemoryWord(IRQBRK_VECTOR));
this.r.SR_DECIMAL = false;
this.r.SR_INTERRUPT = true;
this.r.cycles += 8;
}
}
// all done
const cycles = this.r.cycles;
this.r.cycles = 0;
... | Typescript |
zNjMS40OC0zLjkgMi40OS02LjEgMy4yLTcuNTMxek00IDE0aDE2Yy41NTQgMCAxIC40NDYgMSAxcy0uNDQ2IDEtMSAxSDRjLS41NTQgMC0xLS40NDYtMS0xcy40NDYtMSAxLTF6Ii8+PHBhdGggc3R5bGU9Im9wYWNpdHk6MTtmaWxsOmdyYXk7c3Ryb2tlLXdpZHRoOjM7c3Ryb2tlLWxpbmVjYXA6c3F1YXJlO3N0cm9rZS1saW5lam9pbjpyb3VuZCIgZD0iTTQgMTQuNWgxMC41YS40OTkuNDk5IDAgMSAxIDAgMUg0YS40OTkuN... | Dart |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.