content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
from typing import List
from collections import defaultdict
class Solution:
def maxSum(self, nums: List[int], m: int, k: int) -> int:
n = len(nums)
pre_sum = [0] * (n + 1)
for i in range(1, n + 1):
pre_sum[i] = pre_sum[i - 1] + nums[i - 1]
nums = [0] + nums + [0... | Python |
bar (see RudolpPeer for detains)
** Graphics g : our Graphics instance as given in Component.paint(Graphics g)
*/
public static void paintHScrollbar( int x0, int y0, int barheight,
int scrollpos, int scrollspan, int scrollrange,
... | Java |
() => {
window.routerOpenPrev();
}} />
</div>
<RefreshIndicator
size={50}
left={0}
top={0}
loadingColor="#FF9800"
status="loading"
style={style.refresh}
/>
</div>
);
}
let torrentRating;
if(this.torrent) {
torrentRating = ... | JavaScript |
g2021021405.jpg)
当前项目是原点,目标是平面的另一点。通才的作用是找到正确的仰角 θ,使得两点之间距离最短;专才的作用是加快前进速度 r。如果仰角不对,就会走很多弯路,必须中途校正,甚至可能永远到达不了。
**对于漫长而艰巨的项目旅途,速度只会影响一时,方向几乎总是更重要的问题。** 方向不对,除了影响距离,还会影响士气。只有看到只有坚信自己走在正确的方向上,才能熬过那些最困难的阶段。
如果一家公司有明确的方向,那么就需要聘请专才,帮助你加快速度。如果是刚刚诞生的创业公司,方向还在摸索之中,那么通才也许对公司更有价值。
## 不要预测技术,而要预测行业
我又看到同学在未来几年,前端技术的发展。
应该预测行... | Markdown |
movsxbd 485498096(%edx), %xmm1
// CHECK: encoding: [0xc4,0xe2,0x79,0x21,0x8a,0xf0,0x1c,0xf0,0x1c]
vpmovsxbd 485498096(%edx), %xmm1
// CHECK: vpmovsxbd 485498096, %xmm1
// CHECK: encoding: [0xc4,0xe2,0x79,0x21,0x0d,0xf0,0x1c,0xf0,0x1c]
vpmovsxbd 485498096, %xmm1
// CHECK: vpmovsxbd 64(%edx,%eax), %xm... | Assembly |
}
private static void DisplayModePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
{
TextOptions.SetTextFormattingMode(d, TextFormattingMode.Display);
}
#endregion
#region UseLayoutRounding Attached Property
/// <summary>
... | C# |
bd29f085c84500953e&goto=news'><div class='votearrow' title='upvote'></div></a></center></td><td class="title"><span class="titleline"><a href="https://blog.nuclearsecrecy.com/2024/09/04/did-sandia-use-a-thermonuclear-secondary-in-a-product-logo/">Did Sandia use a thermonuclear secondary in a product logo?</a><span ... | HTML |
退力大小和方向
/// </summary>
public Vector3 HitImpulse;
public float GetHorizontalMovementInput()
{
if (HitImpulse.sqrMagnitude > 0)
{
return Velocity.x;
}
if (MotionDirection == MotionDirection.Left)
{
return -Velocity.magnitude;
}
else if (MotionDirecti... | C# |
-- 选择键转注释过滤器
-- 本过滤器将 alternative_select_keys 中定义的选择键添加到候选项的注释中显示
-- Version: 20240125
-- Author: 戴石麟
local rime = require "sbxlm.lib"
local core = require "sbxlm.core"
local this = {}
---@param env Env
function this.init(env)
end
---@param segment Segment
---@param env Env
function this.tags_match(segment, env)
... | Lua |
["Ran Bloodtooth"] = "Ran Dent-rouge",
["Bloodtooth Guard"] = "Garde de Dent-rouge",
["Sarltooth"] = "Grondecroc",
["Mottled Raptor"] = "Raptor tacheté",
["Mottled Screecher"] = "Hurleur tacheté",
["Mottled Razormaw"] = "Tranchegueule tacheté",
["Mottled Scytheclaw"] = "Faucheur tacheté",
["... | Lua |
flex-negative: 0;
-ms-flex-preferred-size: 65px;
-ms-grid-row-align: center;
align-self: center;
flex-basis: 65px;
flex-shrink: 0
}
.LiveWechatSpread-liveWechatSpread-36zH {
display: block
}
.LivePackageHeader-root-1ltt {
background-origin: border-box;
border-bottom: 1px solid #eee;
... | CSS |
: eb 0b jmp 41d23f <fpc_write_text_enum+0x5f>
41d234: 48 8d 05 b5 ef 20 00 lea 0x20efb5(%rip),%rax # 62c1f0 <U_$SYSTEM_$$_INOUTRES>
41d23b: 48 83 c0 08 add $0x8,%rax
41d23f: 66 c7 00 69 00 ... | Assembly |
/*
* Copyright 2019 Google LLC
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | C# |
D,sceLcdcCheckMode
#endif
#ifdef F_sceLcdc_driver_0008
IMPORT_FUNC "sceLcdc_driver",0x7BDC15C8,sceLcdcReadVPC
#endif
#ifdef F_sceLcdc_driver_0009
IMPORT_FUNC "sceLcdc_driver",0x825DB9C5,sceLcdc_driver_825DB9C5
#endif
#ifdef F_sceLcdc_driver_0010
IMPORT_FUNC "sceLcdc_driver",0x965D1633,sceLcdcGetPixelClockFreq
#endif... | Assembly |
2.358.41-3.17.992-.21-.2-.496-.324-.81-.324a1.163 1.163 0 0 0-.478 2.224c-.02.115-.029.23-.029.353 0 1.795 2.091 3.256 4.669 3.256 2.577 0 4.668-1.451 4.668-3.256 0-.114-.01-.238-.029-.353.401-.181.688-.592.688-1.069 0-.65-.525-1.165-1.165-1.165z"/>'),xL=fa("Reply",'<path d="M6.598 5.013a.144.144 0 0 1 .202.134V6.3a.5.... | JavaScript |
rt';
import 'package:flutter/material.dart';
/// 抖动文本组件
class ShakeTextAnimationWidget extends StatefulWidget {
///需要添加动画的文本
final String animationString;
///文本样式
final TextStyle? textStyle;
///文字之间的间距
final double space;
///文字的行间距
final double runSpace;
///抖动次数
final int shakeCount;
const S... | Dart |
X_DATA_MAP(CDlgUnusedFiles)
DDX_Control(pDX, IDC_LIST_INVALID_OBJECTS, m_ListInvalidObjects);
DDX_Control(pDX, IDC_LIST_FILES, m_ListFiles);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CDlgUnusedFiles, CDialog)
//{{AFX_MSG_MAP(CDlgUnusedFiles)
ON_BN_CLICKED(IDC_DELETE, OnDelete)
ON_BN_CLICKED(ID_CANCEL, OnCancel)
//}... | C++ |
s closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">Free Regression<span id="projectnumber"> 1</span>
</div>
<div id="projectbrief">Regressão para qualquer função.</div>
</td>
</tr>
</tbody>... | HTML |
if.gif" ALT="Next"></A>
<HR>
<H1 CLASS="chapter"><A NAME="htoc119">Chapter9</A>The toplevel system (ocaml)</H1><UL>
<LI><A HREF="manual023.html#toc89">Options</A>
</LI><LI><A HREF="manual023.html#toc90">Toplevel directives</A>
</LI><LI><A HREF="manual023.html#toc91">The toplevel and the module system</A>
</LI><LI><A HR... | HTML |
g=`${c}-${a}.tgz`,f=new URL(`${c}/-/${g}`,i);return{_id:c,_attachments:{[g]:{content_type:"application/octet-stream",data:t.toString("base64"),length:t.length}},name:c,access:r,"dist-tags":{[n]:a},versions:{[a]:{...h,_id:`${c}@${a}`,name:c,version:a,dist:{shasum:u,integrity:l,tarball:f.toString()}}}}}(r,s,{access:this.... | JavaScript |
rals: */
for (n = leaves[len]; n > 0; n--) {
literal[base++] = (uch)get_byte();
}
}
leaves[max_len]++; /* Now include the EOB code in the Huffman tree */
}
/* ===========================================================================
* Build the Huffman tree and the prefix table.
*/
local void build_... | C |
align-items:center}.tox-uc-loading-spinner{width:min(24px,30%);aspect-ratio:1;border-radius:50%;border:3px solid #006ce7;border-bottom-color:transparent;animation:tox-rotation 1s linear infinite}.tox-uploadcare-placeholder{all:initial;display:inline-block;position:relative;width:min(100%,600px);height:80px;--tox-upload... | CSS |
маний пульт", "{{Collectible44}} При застосуванні активного предмета, персонаж телепортується у випадкову кімнату"},
{"5", "Фіолетове серце", "2x шанс появи ворогів-чемпіонів"},
{"6", "Зламаний магніт", "Притягує монети до персонажа"},
{"7", "Намистина з вервиці", "{{AngelChance}} +50% шанс появи кімнати Ангела#{{Co... | Lua |
ad20HostTypeNrvStampFall
; 806b473c -> 806b4740 sInstance__Q212NrvSamboHead21HostTypeNrvStampDeath
; 806b4740 -> 806b4744 sInstance__Q212NrvSamboHead18HostTypeNrvHitBlow
; 806b4744 -> 806b4748 sInstance__Q212NrvSamboHead20HostTypeNrvBuryDeath
; 806b4748 -> 806b474c sInstance__Q212NrvSamboHead26HostTypeNrvBindStarPointe... | Assembly |
етелин",nil},
[39968] = {"Сектант Кайма",nil},
[39969] = {"Сектант Ваймен",nil},
[39970] = {"Сектант Орлунн",nil},
[39973] = {"Стремительный оранжевый механодолгоног",nil},
[39975] = {"East Zeppelin Tower Credit",nil},
[39976] = {"West Zeppelin Tower Credit",nil},
[39977] = {"Razor Hill Credit",nil},
[40001] = {"Возгор... | Lua |
))
fmt.Println()
// 동일한 숫자의 소스를 시드값으로 하면, 동일한 시퀀스의 랜덤값이 생성됩니다.
s2 := rand.NewSource(42)
r2 := rand.New(s2)
fmt.Print(r2.Intn(100), ",")
fmt.Print(r2.Intn(100))
fmt.Println()
s3 := rand.NewSource(42)
r3 := rand.New(s3)
fmt.Print(r3.Intn(100), ",")
fmt.Print(r3.Intn(100))
}
// URLs는 [리소스를 찾을 수 있는 일관된 방법(unifo... | Go |
(layerdict);
layerdict.anotherPointerTapped = false;
return;
}
// We haven't necessarily had a pointermove event since the interaction started, so make sure we update this now
var ptr = layerdict.pointerStates[e.pointerId];
ptr.distanceTravelled += Math.abs(e.offsetX - ptr.lastX) + Math.abs(e.offsetY -... | HTML |
clause.
core.String? reportCategoryId;
/// Country where impressions appeared.
///
/// Required in the `SELECT` clause. A condition on `report_country_code` is
/// required in the `WHERE` clause.
core.String? reportCountryCode;
/// Traffic source of impressions.
///
/// Required in the `SELECT` cla... | Dart |
blk->spd_array[i] = NULL;
}
update_spd_len(blk);
}
/*
* get_spd_sn returns the SODIMM serial number. It only supports DDR3 and DDR4.
* return CB_SUCCESS, sn is the serial number and sn=0xffffffff if the dimm is not present.
* return CB_ERR, if dram_type is not supported or addr is a zero.
*/
enum cb_err ge... | C |
yDelta = rect.y + rect.height - y - h;
if (yDelta > 0) {
rect.height -= yDelta;
}
if (rect.width <= 0 || rect.height <= 0) {
paintRects[i] = null;
}
}
}
}
/**
* Marks the passed in ... | Java |
b
SMULL v13.8h, v4.8b, v1.8b
LDR x17, [x5, 96]
SMULL v14.8h, v5.8b, v0.8b
SMULL v15.8h, v5.8b, v1.8b
LDR d5, [x5, 40]
INS v4.d[0], x16
SMLAL v12.8h, v8.8b, v6.8b
SMLAL v13.8h, v8.8b, v7.8b
LDR ... | Assembly |
Documentation License".
</p>
</body>
</html>
<html>
<head>
<title>
毛泽东在中央关于在农村建立人民公社问题的决议稿上加写的话 - 1958-8-0 - CCRD 中国当代政治运动史数据库
</title>
<link href="../../../../Emblem_of_the_PCP-Shining_Path.svg.ico" rel="icon" type="image/x-icon"/>
</head>
<body>
<meta content="毛泽东在中央关于在农村建立人民公社问题的决议稿上加写的话" property=... | HTML |
Type TypeDynamic =
SVideoType._(1, _omitEnumNames ? '' : 'TypeDynamic');
static const SVideoType TypePopularIndex =
SVideoType._(2, _omitEnumNames ? '' : 'TypePopularIndex');
static const SVideoType TypePopularHotword =
SVideoType._(3, _omitEnumNames ? '' : 'TypePopularHotword');
static const $... | Dart |
r0, snesPC, lsr #0x10
StackWrite16
orr snesP, snesP, #flagB
and r0, snesP, #0xFF
StackWrite8
bic snesP, snesP, #flagD
orr snesP, snesP, #flagI
bic snesPBR, snesPBR, #0xFF
ldr r0, =0xFFFE
MemRead16
mov r0, r0, lsl #0x10
mov snesPC, snesPC, lsl #0x10
orr snesPC, r0, snesPC, lsr #0x10
b op_return
.ltorg
... | Assembly |
smallest from the array
return newArray // and destructring it since splice returns an array.
// then pushing it into our sorted array.
}
selectionSort([10,2,99,6,1,7]) --> Returns: 1,2,6,7,10,99
```
This function makes use of... | Markdown |
"and": [
{"category": {"contains": "pop"}},
{
"or": [
{"title": {"contains": "sky"}},
{"lyric": {"contains": "sky"}},
{"category": {"contain... | Python |
// Copyright (c) Microsoft. All rights reserved.
using Microsoft.Extensions.Configuration;
namespace FunctionalTests;
public sealed class EmbeddingGeneratorTests : BaseTestCase
{
private readonly IConfiguration _config;
public EmbeddingGeneratorTests(ITestOutputHelper console) : base(console)
{
... | C# |
IMATION(dib));
data.Add(new MDM_COMMENTS(dib));
data.Add(new MDM_CUSTOM(dib));
data.Add(new MDM_EXIF_EXIF(dib));
data.Add(new MDM_EXIF_GPS(dib));
data.Add(new MDM_INTEROP(dib));
data.Add(new MDM_EXIF_MAIN(dib));
data.Add(new MDM_MAKERNOTE(dib));
data.Add(new MDM_GEOTIFF(dib));
data.Add(new MD... | C# |
akeViewGenResult(layoutName, GenResult.NO_GEN_CLASS, "找不到${viewClassName}的实现类", viewClassName)
}
//fragment已经在前面添加
if (!curNodeIsFragment) {
//添加view的初始化语句,放到开头统一创建
val stringBuilder = java.lang.StringBuilder()
... | Kotlin |
"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.
*/
@use 'sass:map';
@use './variables' as *;
/**
NOTE: This file is to be deleted once material 3 has an easier way to cre... | CSS |
-size);
color: var(--text-color-light);
margin-top: 3.5rem;
}
/*========== MEDIA QUERIES ==========*/
@media screen and (min-width: 576px){
.home__container,
.about__container,
.app__container{
grid-template-columns: repeat(2,1fr);
align-items: center;
}
.about__data, .about__initial,
.app__da... | CSS |
ash.doFinal(in, inOfs + len, inLen - len);
return len + gctr.doFinal(in, inOfs + len, inLen - len, out,
outOfs + len);
}
@Override
public int doFinal(ByteBuffer src, ByteBuffer dst) {
src.mark();
ghash.doFinal(src, src.remaining());
... | Java |
/* RUN: %clang_cc1 -std=c89 -fsyntax-only -pedantic -verify %s
RUN: %clang_cc1 -std=c99 -fsyntax-only -pedantic -verify %s
RUN: %clang_cc1 -std=c11 -fsyntax-only -pedantic -verify %s
RUN: %clang_cc1 -std=c17 -fsyntax-only -pedantic -verify %s
RUN: %clang_cc1 -std=c2x -fsyntax-only -pedantic -verify %s
*/
... | C |
uses the same configuration
block to configure the thread pool. The default configuration has
the same behaviour as solr 3.5, favouring throughput over latency. More
information can be found on the wiki (<a href="http://wiki.apache.org/solr/SolrConfigXml">http://wiki.apache.org/solr/SolrConfigXml</a>)
<br /><span cl... | HTML |
mma);
// Nothing to do for non-gradients
} @else {
$combined-background-webkit-old: append($combined-background-webkit-old, $background, comma);
$combined-background-webkit: append($combined-background-webkit, $background, comma);
$combined-background: append($combined-background, $background, comma)... | CSS |
(): any[] {
return this._values;
}
public containsKey(key: any) {
if (typeof this[key] === "undefined") {
return false;
}
return true;
}
public toLookup(): IDictionary {
return this;
}
}import {Component, forwardRef, OnInit} from '@angular/core'... | Typescript |
0x0000000000000002L});
public static final BitSet FOLLOW_expression_in_expressionList479 = new BitSet(new long[]{0x0000000000040002L});
public static final BitSet FOLLOW_18_in_expressionList482 = new BitSet(new long[]{0x0000000004791800L});
public static final BitSet FOLLOW_expression_in_expressionList484 =... | Java |
define TVP5150_STATUS_REG_4 0x8b /* Status register #4 */
#define TVP5150_STATUS_REG_5 0x8c /* Status register #5 */
/* Reserved 8Dh-8Fh */
/* Closed caption data registers */
#define TVP5150_CC_DATA_INI 0x90
#define TVP5150_CC_DATA_END 0x93
/* WSS data registers */
#define TVP5150_WSS_... | C |
.updateFarpMarks(farp.index)
else
RotorOpsPerks.removeFarpMarks(farp.index)
end
--update the farp state
farp.state = new_state
RotorOpsPerks.fat_cow_farps[farp_index] = farp
if next_state then
RotorOpsPerks.changeFarpState(farp_index, next_state, nil)
end
end
function Rot... | Lua |
[1, 2, 3].third; // 3
/// ```
E get third => elementAt(2);
}
extension IterableFourthItem<E> on Iterable<E> {
/// Fourth element.
///
/// ```dart
/// [1, 2, 3, 4].fourth; // 4
/// ```
E get fourth => elementAt(3);
}
extension IterableElementAtOrNull<E> on Iterable<E> {
/// Returns an element at the ... | Dart |
.stereotype.Controller
import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind.annotation.ResponseBody
/**
* This controller returns a JSON with an incorrect content type header.
*/
@Controller
class AbnormalController(
private val objectMapper: ObjectMapper,
) {
@GetMap... | Kotlin |
= new OutputStream<NormalizedRectPacket, NormalizedRect>(calculatorGraph, _RoiFromLandmarksStreamName, true, timeoutMicrosec);
}
using (var validatedGraphConfig = new ValidatedGraphConfig())
{
var status = validatedGraphConfig.Initialize(config);
if (!status.Ok()) { return status; }
... | C# |
Owner = CBasePlayer::Instance(pevOwner);
if (pOwner && pOwner->IsPlayer())
pEntCurBombTarget = pOwner->m_pentCurBombTarget;
}
pGrenade->m_pentCurBombTarget = pEntCurBombTarget;
return pGrenade;
}
LINK_HOOK_CUSTOM2_CHAIN(CGrenade *, ThrowSmokeGrenade, CGrenade::ShootSmokeGrenade, (entvars_t *pevOwner, Vector ... | C++ |
d
inline var packAlignment: Int
get() = GL11C.glGetInteger(GL11C.GL_PACK_ALIGNMENT)
set(value) = GL11C.glPixelStorei(GL11C.GL_PACK_ALIGNMENT, value)
inline var packImageHeight: Int
get() = GL11C.glGetInteger(GL12.GL_PACK_IMAGE_HEIGHT)
set(value) = GL11C.glPixelStorei(GL12.GL_PA... | Kotlin |
ventMetric', '10': 'events'},
],
};
/// Descriptor for `MetricsBatch`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List metricsBatchDescriptor =
$convert.base64Decode('CgxNZXRyaWNzQmF0Y2gSIQoMdGltZXN0YW1wX21zGAEgASgDUgt0aW1lc3RhbXBNcxJNChRub3'
'JtYWxpemVkX3RpbWVzdGFtcBgCIAEoCzIa... | Dart |
}
/** aggregate min on columns */
export type Auth_Roles_Min_Fields = {
__typename?: 'auth_roles_min_fields'
role?: Maybe<Scalars['String']>
}
/** order by min() on columns of table "auth.roles" */
export type Auth_Roles_Min_Order_By = {
role?: Maybe<Order_By>
}
/** response of any mutation on the table "auth.... | Typescript |
or"]},{"model":"DG15A-1BW","vendor":"Leviton","addedAt":"2021-08-01T20:41:55Z","description":"Indoor Decora smart Zigbee 3.0 certified plug-in outlet","image":"../images/devices/DG15A-1BW.png","link":"../devices/DG15A-1BW.html","exposes":["switch","power_on_behavior"]},{"model":"ZS230002","vendor":"Linkind","addedAt":"... | Markdown |
Provider === null || NConfigProvider === void 0 ? void 0 : NConfigProvider.preflightStyleDisabled)) {
_styles_global_index_cssr_mjs__WEBPACK_IMPORTED_MODULE_4__["default"].mount({
id: 'n-global',
head: true,
anchorMetaName: _common_mjs__WEBPACK_IMPORTED_MODULE_3__.cssrAnchorMetaNam... | JavaScript |
minute: 3
},
A2M::AllMatch
);
set_alarm_test!(
am,
set_alarm2_day,
ALARM2_MINUTES,
[3, 0b0100_0010, 1],
DayAlarm2 {
day: 1,
hour: Hours::AM(2),
minute: 3
},
A2M::AllMatch
);
set_alarm_test!(
... | Rust |
T32, csWidth * resultLength)
})
// upload data to the compute shader
block1.put {
// trap
for (i in 1..8) {
write(Vector2(500.0, 500.0))
}
// particles
for (i in 1..4) {
// position
writ... | Kotlin |
RuntimeException("Must be 0 and false");
}
}
@Test
@Arguments({Argument.DEFAULT, Argument.DEFAULT})
public void twoArgsDefault5(boolean x, char y) {
executed[48]++;
if (x || y != '\u0000') {
throw new RuntimeException("Must be false and \u0000");
}
}
... | Java |
_PATCH
if (sep == ';' && *p == ':')
sep = ':'; /* allow override to colon once */
if (*p != sep || csiescseq.narg == ESC_ARG_SIZ)
break;
p++;
}
csiescseq.mode[0] = *p++;
csiescseq.mode[1] = (p < csiescseq.buf+csiescseq.len) ? *p : '\0';
}
/* for absolute user moves, when decom is set */
void
tmoveato(in... | C |
Do you want to modify the title before continue? (y/n): ")
if result.lower() == "y":
title_str = raw_input("New title: ")
title = title_str.strip()
else:
print("OK. Will use PR's title.")
title = pr["title"]
else:
title = pr["title"]
body ... | Python |
master
c6e1e95051d41771a649f3145423f8809d1a74d4 commit refs/replace/81a708dd0e167a3f691541c7a6463343bc457040</code></pre>
</div>
</div>
<div class="paragraph">
<p>Bu o deməkdir ki, dəyişdirəcəyimizi başqaları ilə bölüşmək asandır, çünki bunu serverimizə push edə bilərik və digər insanlar asanlıqla yükləyə bilər.
Bu keç... | HTML |
sum = stream.readUnsignedByte()
if (verifyChecksum) {
var caclCksum = 0
repeat(raw.size - 1) { caclCksum -= raw[it] }
if (caclCksum.byte != checksum.byte)
throw ParsingException("Checksum incorrect for $info (${caclCksum... | Kotlin |
/* verify sorted is correctly sorted */
// TODO: Display first few elements
preview := sorted[:min(10, len(sorted))]
status := "✓"
if !isCorrect {
status = "✗"
}
fmt.Printf(" %s %s: %v", status, alg.name, preview)
if len(sorted) > 10 {
fmt.Printf("...")
}
fmt.Printf(" (%v)\n... | Go |
<img src="images/html.gif" onclick="gui_htmlShow()" alt="Get image map HTML" title="Get image map HTML"/>
</div>
</td>
<td>
<label for="dd_zoom">Zoom</label>:
<select onchange="gui_zoom(this)" id="dd_zoom">
<option value='0.25'>25%</option>
<option value='0.5'>50%</option>
<option value='... | HTML |
-white .page-item.disabled .page-link,.accent-white .page-item.disabled a{background-color:#fff;border-color:#dee2e6;color:#6c757d}.accent-white [class*=sidebar-dark-] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link){color:#c2c7d0}.accent-white [class*=sidebar-dark-] .sidebar a:not(.dropdown... | CSS |
;11
dc.w -16,eorEdgesLower+180,eorEdgesLower+36,eorEdgesLower+144,eorEdgesLower+60,eorEdgesLower+192,eorEdgesLower+132,eorEdgesLower+204,eorEdgesLower+108
;13
dc.w -16,eorEdgesLower+156,eorEdgesLower+24,eorEdgesLower+174,eorEdgesLower+102,eorEdgesLower+210,eorEdgesLower+84,eorEdgesLower+198,eorEdgesLower+0
ELSE
; ... | Assembly |
or4([this.field = 42]);
}
class Subclass extends Class {
Subclass.constructor1() : super.constructor1();
Subclass.constructor2(int value) : super.constructor2(value);
Subclass.constructor3(int value) : super.constructor3(value);
Subclass.constructor4([int value = 87]) : super.constructor4(value);
}
test1() {
... | Dart |
: string;
}
@Component({
/**
* The selector is what angular internally uses
* for `document.querySelectorAll(selector)` in our index.html
* where, in this case, selector is the string 'team'.
*/
selector: 'list_team', // <team></team>
/**
* We need to tell Angular's Dependency Injection which pro... | Typescript |
xt))] # 在官方提供示例基础上,稍作修改
def tokenize2(lines, token='word'):
if token == 'word':
return [tokenize1(line) for line in lines]
elif token == 'char':
return [list(line) for line in lines]
else:
print('ERROR: unknown token type: ' + token)
```
```python
# 查看两种token方式的区别
doc = ["This n... | Markdown |
"
layout:decorate="~{admin/layout.html}">
<head>
<title>Thống kê doanh thu</title>
</head>
<body>
<div layout:fragment="content">
<div class="pagetitle">
<h1>Thống kê</h1>
<nav>
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="#">Doanh thu</a></li>
<!-- <li class="breadcrumb-item a... | HTML |
t flZNear,float flZFar,ref HmdMatrix44_t pProjection)
{
EVRTrackedCameraError result = FnTable.GetCameraProjection(nDeviceIndex,eFrameType,flZNear,flZFar,ref pProjection);
return result;
}
public EVRTrackedCameraError AcquireVideoStreamingService(uint nDeviceIndex,ref ulong pHandle)
{
pHandle = 0;
EVRTracke... | C# |
129">Thinkphp 5.1.29</h1>
<h2 id="一、漏洞简介">一、漏洞简介</h2>
<h2 id="二、漏洞影响">二、漏洞影响</h2>
<h2 id="三、复现过程">三... | HTML |
vey-*.tgz"
vcs {
root(DslContext.settingsRoot)
}
steps {
script {
name = "install"
scriptContent = "yarn"
}
script {
name = "lint"
scriptContent = "yarn lint"
}
script {
name = "build"
s... | Kotlin |
topCheck()
self.isEdit_ = false
self:onRefreshGroupTxt()
return
end
self.isEdit_ = true
self.uiBinder.presscheck_editpress:StartCheck()
self.uiBinder.Ref:SetVisible(self.uiBinder.input_channel, true)
self.editStr_ = ""
self.uiBinder.input_channel.text = ""
self.uiBinder.Ref:SetVisible(self.uiB... | Lua |
8px) {
.mw-md-25 {
max-width: 25% !important; }
.mw-md-50 {
max-width: 50% !important; }
.mw-md-75 {
max-width: 75% !important; }
.mw-md-100 {
max-width: 100% !important; }
.mw-md-auto {
max-width: auto !important; }
.mw-md-10 {
max-width: 10% !important; }
.mw-md-15 {
max-widt... | CSS |
.y;
return var2.isZero() ? var1 : this.twice().add(var1);
}
}
public ECFieldElement eight(ECFieldElement var1) {
return this.four(this.two(var1));
}
public ECPoint threeTimes() {
return (ECPoint)(!this.isInfinity() && !this.y.isZero() ? this.twice().add(this) : this);
}
p... | Java |
e_insights(self, trajectory: Dict[str, Any],
interests: List[str],
preferences: Dict[str, Any]) -> List[str]:
"""Generate insights about candidate aspirations"""
insights = []
# Career trajectory insights
if trajectory["progres... | Python |
d char)~_BV(3) /* Preserve EEPROM Through Chip Erase */
#define FUSE_BODACT0 (unsigned char)~_BV(4) /* BOD Operation in Active Mode Bit 0 */
#define FUSE_BODACT1 (unsigned char)~_BV(5) /* BOD Operation in Active Mode Bit 1 */
#define FUSE5_DEFAULT (0xFF)
/* ========== Lock Bits ========== */
#define __LOCK_BITS_... | C |
- 0.5px) / 50% 1px no-repeat,
linear-gradient(@theme_bg_color, @theme_bg_color) calc(100% + 14px) calc(50% - 1.5px) / 50% 1px no-repeat,
linear-gradient(to right, @grab_dark_color 1px, @grab_light_color 1px, @grab_light_color 2px, transparent 2px) 1px calc(50% + 1.5px) / 5px 1px repeat-x,
linear-gradient(to righ... | CSS |
'표 4: ** 생성 속도 벤치마킹**¨을 사용하여 \\(8,192\\) 바이트를 생성했으며, \\(-\\)가 표시된 분야는 알려져 있지 않다. (우퍼) PG19의 \\(\\mathrm{BPB}\\)와 트랜스퍼러와 메가 바테의 생성 시간은 유 등(2023)에서 가져온다. (하)메가 바이트와 만바 바테는 같은 하드웨어로 실행됩니다.\n' +
'\n' +
'\\begin{table}\n' +
'\\begin{tabular}{l l c c c c c c} \\hline \\hline \\multirow{2}{*}{Byte-level mo... | HTML |
?H3.Qf(PA,new s5):mz==zx?H3.Qf(zx,new i6):mz==CB?H3.Qf(CB,new O6):mz==Cz?H3.Qf(Cz,new S6):mz==Xy?H3.Qf(Xy,new W6):mz==Yy?H3.Qf(Yy,new $6):mz==yy?H3.Qf(yy,new c7):mz==My?H3.Qf(My,new Q3):mz==SB?H3.Qf(SB,new U3):mz==sB?H3.Qf(sB,new Y3):mz==ez?H3.Qf(ez,new a4):mz==rA?H3.Qf(rA,new e4):mz==Zx?H3.Qf(Zx,new i4):mz==Dy?H3.Qf(D... | HTML |
�码
if (StringUtils.isEmpty(corpActual.getActualGroupQrCode())) {
log.error("com.easyink.wecom.service.impl.WeGroupCodeServiceImpl.checkCorpParams: 企业微信活码为空");
throw new CustomException(ResultTip.TIP_GENERAL_BAD_REQUEST);
}
}
... | Java |
�测中的性能,进而为自然灾害的预警与防范提供有效的技术支持。随着研究的深入,数据集的不断优化与扩展也将为未来的研究提供更多可能性,推动山体滑坡检测技术的进一步发展。





### 5.全套项目环境部署视频教程(零基础手把手教学)
[5.1 环境部署教程链接(零基础手把手教学)](https://www.ixigua.com/7404473917358506534?logTag=c807d0cbc21c0ef59de5)
[5.2 安装Python虚拟环境创建和... | Markdown |
itemTitle.SetWrap(false)
h.itemTitle.SetEllipsize(pango.EllipsizeEndValue)
h.itemTitle.SetMaxWidthChars(30)
h.itemTitle.SetXalign(0.5)
h.itemTitle.SetHalign(gtk.AlignCenterValue)
h.itemTitle.SetHexpand(true)
h.itemTitle.AddCssClass(`title-2`)
h.itemTitle.AddCssClass(style.HudTitleClass)
h.itemBody = gtk.NewLab... | Go |
.947 4.124-9.779 0-7.615-6.2-13.786-13.849-13.786-.052 0-.102.007-.153.008A13.85 13.85 0 0032.002 5a13.853 13.853 0 00-12.725 8.349c-.052-.001-.103-.008-.155-.008-7.646 0-13.847 6.171-13.847 13.786 0 3.832 1.588 7.282 4.124 9.779-4.205.564-7.399.573-7.399.573s.879 24.126 18.527 21.29c6.15-.989 9.687-3.824 11.474-5.811 ... | Dart |
[Sticker Sheets](http://www.google.com/design/spec/resources/sticker-sheets.html) √ by [poppinlp](https://github.com/poppinlp)
* [Roboto 字体](SOURCE/resources/roboto-font.md) - [Roboto Font](http://www.google.com/design/spec/resources/roboto-font.html) √ by [poppinlp](https://github.com/poppinlp)
* [调色板](SOURCE/res... | Markdown |
"WTB "..arg1;
else
arg1 = "Regarding "..arg1;
end
end
end
old_ChatFrame_OnEvent(event);
end
ChatPrintln( "|cffff8800|Hxhmsg:eas<XH>eas|h[Enchanter Ad Shrinker]|h|r loaded." );
end
]] | Lua |
if (r3 == r4) goto L_0x0023
r5 = 2
if (r3 == r5) goto L_0x0023
int r4 = r2.next() // Catch:{ XmlPullParserException -> 0x00af, IOException -> 0x008f }
r3 = r4
goto L_0x0017
L_0x0023:
java.lang.String r5 = "historical-records"
... | Java |
scenario
and PED.COUNT_PEDS_IN_COMBAT_WITH_TARGET(self.get_ped()) == 0
end
function playPhoneAnims(toggle)
for i = 242, 244 do
if PED.GET_PED_CONFIG_FLAG(self.get_ped(), i, true) == toggle then
PED.SET_PED_CONFIG_FLAG(self.get_ped(), i, not toggle)
end
end
end
---Enables phone gestures in GTA Onli... | Lua |
ratio (for video), but not width/height or channel layout.
* Side data is also copied.
*/
int av_frame_copy_props(AVFrame *dst, const AVFrame *src);
/**
* Get the buffer reference a given data plane is stored in.
*
* @param plane index of the data plane of interest in frame->extended_data.
*
* @return the buffe... | C |
use std::cell::{Cell, RefCell, UnsafeCell};
struct S<'a> {
a: Box<Box<u32>>,
b: Rc<&'a u64>,
c: Arc<String>,
d: Cell<f32>,
e: RefCell<u32>,
f: UnsafeCell<u64>,
g: Mutex<String>
}
fn main() {
<err... | Kotlin |
g) {
if !bytes.Equal(b1, b2) {
t.Fatalf("bytes for %s not equal", certName)
}
}
}
return func(b1 []byte, b2 []byte, certName string) {
if bytes.Equal(b1, b2) && b1 != nil {
t.Fatalf("bytes for %s were equal", certName)
}
}
}
func compareBundleCaCerts(
t *testing.T, cb1 CertificateBundle, cb2 Cer... | Go |
node@24.7.0_jsdom@27.0.0_bufferutil@4.0.9_postcss@8.5.6_utf-8-valid_7a9f9ab30ae2494ce58bc7fcf1b9ad61/node_modules/vitest/dist/worker.js:127:5)\n at onMessage (file:///home/runner/work/RSSHub/RSSHub/node_modules/.pnpm/tinypool@1.1.1/node_modules/tinypool/dist/entry/process.js:39:18)"}' />
::: tip
The parameters ca... | Markdown |
eticleGunner_C_ExecuteUbergraph_WB_ReticleGunner, CallFunc_Add_IntInt_ReturnValue5) == 0x000048, "Member 'WB_ReticleGunner_C_ExecuteUbergraph_WB_ReticleGunner::CallFunc_Add_IntInt_ReturnValue5' has a wrong offset!");
static_assert(offsetof(WB_ReticleGunner_C_ExecuteUbergraph_WB_ReticleGunner, Temp_int_Array_Index_Varia... | C++ |
{"Скорнн Ткач Скверны",nil},
[5823] = {"Смертоносный живодер",nil},
[5824] = {"Капитан Тупой Клык","Капитан боевых стражей"},
[5826] = {"Владычица земель Рябка",nil},
[5827] = {"Бронтус",nil},
[5828] = {"Вожак стаи Хумар",nil},
[5829] = {"Фырк Дразнила",nil},
[5830] = {"Сестра Коготь Кургана",nil},
[5831] = {"Быстрогр... | Lua |
ync => tx2Raw);
// when(client?.getTransaction(
// txHash:
// "4c119685401e28982283e644c57d84fde6aab83324012e35c9b49e6efd99b49b",
// )).thenAnswer((_) async => tx1Raw);
//
// when(cachedClient?.getTransaction(
// txHash:
// "351a94874379a5444c88911... | Dart |
kdown-preview-section,
body:not(.font-family-change-to-default) .markdown-source-view.is-readable-line-width .CodeMirror,
body:not(.font-family-change-to-default) .markdown-preview-view.is-readable-line-width .markdown-preview-sizer,
body:not(.font-family-change-to-default) .markdown-preview-view .markdown-preview-sect... | CSS |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.