content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
before{content:"\f1f0"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-bell-slash:before{content:"\f1f6"}.fa-bell-slash-o:before{content:"\f1f7"}.fa-trash:before{content:"\f1f... | CSS |
-transition-property: background-color, border;
transition-property: background-color, border;
-webkit-transition-duration: 0.35s;
-moz-transition-duration: 0.35s;
transition-duration: 0.35s;
}
.claro .dijitCalendarPreviousMonth .dijitCalendarDateLabel,
.claro .dijitCalendarNextMonth .dijitCalendarDateLabel {
... | CSS |
* 移除播放的声音实例。
* @param channel <code>SoundChannel</code> 对象。
*/
static removeChannel(channel: SoundChannel): void;
/**@private */
static disposeSoundLater(url: string): void;
/**@private */
private static _checkDisposeSound;
/**@private */
static disposeSoundIfNotUsed(url: strin... | Typescript |
获取扩展菜单中的子项,如果是自己所发的Feed就显示删除项,否则不显示删除项。
* @return 扩展菜单中的子项。
*/
private fun getExpandMenuItems(feed: SimpleListFeed): List<String> {
val expandMenuItems = ArrayList<String>()
expandMenuItems.add(GlobalUtil.getString(R.string.report))
if (feed.userId == GifFun.getUserId()) {
... | Kotlin |
作用域)中被调用。`a`通过正常的词法作用域查找,而不是真正的闭包。
虽然从技术上讲,闭包可能发生在声明时,但并不是严格可见的,因此,正如他们所说,*这是一棵树在森林中倒下,周围没有人听到它* 。
虽然 IIFE 本身并不是闭包的示例, 但它绝对创建了作用域, 并且它是我们用来创建可关闭的作用域的最常见工具之一。因此,IIFE确实与闭包密切相关,即使它们本身不进行闭包。
亲爱的读者,现在就把这本书放下。我有个任务要交给你。打开一些你最近的JavaScript代码。寻找函数作为值,并确定你已经在哪些地方使用闭包,甚至以前可能不知道它。
我会等你。
现在......你明白了!
## Loops + Closure
最常见的... | Markdown |
ean_matrix_slice_norm,
norm::test_euclidean_vector_metric,
|| should_panic!(norm::test_euclidean_vector_metric_bad_dim()),
norm::test_euclidean_matrix_metric,
|| should_panic!(norm::test_euclidean_matrix_metric_bad_dim()),
norm::test_euclidean_matrix_slice_metric,
|| should_panic!(norm::test_euclidean_matrix_slice_metr... | Rust |
, targetBitDepth) {\r\n // float to float, just copy the values\r\n if ([\"32f\",\"64\"].indexOf(bithDepth) > -1 &&\r\n [\"32f\",\"64\"].indexOf(targetBitDepth) > -1) {\r\n newSamples.set(samples);\r\n return;\r\n }\r\n validateBitDepth_(bithDepth);\r\n validateBitDepth_(targetBitDepth);\r\n /** @type {!... | JavaScript |
wi r4, -1
beq .WarpPod_Init_ExA_Return
lis r3, .WarpPod_str_ScenarioSwitch@ha
addi r3, r3, .WarpPod_str_ScenarioSwitch@l
crclr 4*cr1+eq
bl tryLoadCsvFromZoneInfo__2MRFPCc
cmpwi r3, 0 # No BCSV? Skip all this then.
beq .WarpPod_Init_ExA_Return
lwz r4, 0xBC(r29)
bl isJMapEntryProgressComplete
cmpwi r3, 0
bne .WarpPo... | Assembly |
Required. The default and minimum enforced retention for each backup within the backup vault. The enforced retention for each backup can be extended.`,
},
"backup_vault_id": {
Type: schema.TypeString,
Required: true,
ForceNew: true,
Description: `Required. ID of the requesting object.... | Go |
deString(TASK_TEXT24));
task.setText(25, taskExtData.getUnicodeString(TASK_TEXT25));
task.setText(26, taskExtData.getUnicodeString(TASK_TEXT26));
task.setText(27, taskExtData.getUnicodeString(TASK_TEXT27));
task.setText(28, taskExtData.getUnicodeString(TASK_TEXT28));
task.se... | Java |
</p>
</div>
</div>
</div>
</div>
</section><!-- End About Section -->
<!-- ======= About Section ======= -->
... | HTML |
_SAMPLER_DESC* pDesc) {
const uint32_t filterBits = uint32_t(pDesc->Filter);
if (filterBits & 0xFFFFFF2A) {
Logger::err(str::format(
"D3D11SamplerState: Unhandled filter: ", filterBits));
return E_INVALIDARG;
}
if (pDesc->MaxAnisotropy < 0
|| pDesc->MaxAnisotropy > 16... | C++ |
用Kiro` 内置 `Claude` 模型。通过 `API` 轻松接入任何客户端,让AI开发更高效!

## 🤖 软件
### [bilibili-youtube-danmaku](https://github.com/ahaduoduoduo/bilibili-youtube-danmaku)
🍻关注的 UP 在 Youtube 和 B 站都有投稿,想在 Youtube 看更好的画质又想看弹幕🤔?
让 YouTube 视频也能拥有 B 站的弹幕氛围! 关联 B... | Markdown |
// CursorInRange.h
//
/////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2005 David Ward
//
/////////////////////////////////////////////////////////////////////////////
#ifndef __TabletPC_CursorInRange_h__
#define __TabletPC_CursorInRange_h__
// Sends CursorInRange / Cu... | C |
.withBean(ReactiveElasticsearchOperations::class.java, {
elasticsearchTemplate
})
.withUserConfiguration(
ElasticsearchEventSourcingAutoConfiguration::class.java,
)
.run { context: AssertableApplicationContext ->
AssertionsF... | Kotlin |
named("jacocoTestReport", JacocoReport::class.java) { task ->
task.dependsOn("test")
task.reports.xml.required.set(true)
task.finalizedBy("jacocoTestCoverageVerification")
}
project.tasks.named("jacocoTestCoverageVerification", JacocoCoverageVerification::class.java)... | Kotlin |
minutash|\d+[.,]?\d* min me pare|\d+[.,]?\d* ore me pare|\d+[.,]?\d* sek me pare|\d+[.,]?\d* vit me pare|pas \d+[.,]?\d* sekonde|pas \d+[.,]?\d* vjetesh|pas \d+[.,]?\d* ditesh|pas \d+[.,]?\d* javesh|pas \d+[.,]?\d* minute|pas \d+[.,]?\d* muajsh|pas \d+[.,]?\d* muaji|pas \d+[.,]?\d* oresh|pas \d+[.,]?\d* dite|pas \d+[.... | Go |
low, clse}
}
//this calculates a new Point and returns the SeriesPoint case class
func (s *SymbolPush) GetPoint() SeriesPoint {
lastVV := s.lastV
ohlc := getOHLCpoint( s.symbol, s.lastV, s.highest, s.lowest)
//index 3 is the close value
s.lastV = ohlc[3]
minVal := ohlc[2]
return SeriesPoint{
MaxYear... | Go |
------------------------------------------------------------------------------------------------------------------------------------------- |
| Ackermann | Stick position sets a forward/back speed setpoint. The vehicle attempts to maintain this speed on slopes etc. | - ... | Markdown |
osm.surface.Surface
import de.westnordost.streetcomplete.osm.surface.UNPAVED_SURFACES
import de.westnordost.streetcomplete.osm.surface.applyTo
class AddRoadSurface : OsmFilterQuestType<Surface>(), AndroidQuest {
override val elementFilter = """
ways with (
highway ~ ${listOf(
"primar... | Kotlin |
,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></div> <!----></footer> <div class="page-nav"><p class="inner"><span class="prev">
←
<a href="/android/orientation-changes.html" class="prev">
Orientation Changes... | HTML |
apper around `X509` enabling things like Serde serialization and fingerprint caching.
#[derive(Clone, DataSize)]
pub struct TlsCert {
/// The wrapped x509 certificate.
#[data_size(skip)] // Skip OpenSSL type.
x509: X509,
/// Cached certificate fingerprint.
cert_fingerprint: CertFingerprint,
//... | Rust |
::v1::ObjectMeta>,
/// Webhooks is a list of webhooks and the affected resources and operations.
/// +optional
/// +patchMergeKey=name
/// +patchStrategy=merge
#[prost(message, repeated, tag="2")]
pub webhooks: ::prost::alloc::vec::Vec<ValidatingWebhook>,
}
/// ValidatingWebhookConfigurationList... | Rust |
82_COMMON_ORDER
*/
public int COMMON_ORDERRepetitionsUsed {
get{
int reps = -1;
try {
reps = this.GetAll("COMMON_ORDER").Length;
} catch (HL7Exception e) {
string message = "Unexpected error accessing data - this is probably a bug in the source code generator.";
Hapi... | C# |
compression: BincodeCompression<Ch, B>,
chunks_iter: impl IntoIterator<Item = (PointN<N>, Ch)>,
) -> Self
where
B: Copy,
{
// Only do one parallel batch at a time to avoid decompressing the entire map at once (assuming the underlying storage
// does compression).
... | Rust |
binding.inputOwm.text).toString().trim { it <= ' ' }).apply()
}
}
/*
* Lunar Launcher
* Copyright (C) 2022 Md Rasel Hossain
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either ve... | Kotlin |
benchmark runs for each attempt
// Default is 10.
minSampleSize := p.GetInitialAttempt()
if minSampleSize < benchmarkRunIterations[0] {
logger.Warn("Initial attempt count %d is less than the default %d. Setting to default.", minSampleSize, benchmarkRunIterations[0])
minSampleSize = benchmarkRunIterations[0]
}
... | Go |
};
/**
* このテクスチャに紐づけられたstageインスタンスを取得する。
* カンバスへはstage.canvasでアクセスする。
*/
get stage(): Container {
return this._stage;
}
get domElement(): ICanvas {
return this._app.view;
}
}
import {ExchangeService} from "../Core/ExchangeService";
import {XmlElementNames} from "../Core/XmlElementNames"... | Typescript |
xchange_dimensions={self._parameter_name: s_range},
exchange_criterium=exchange_criterium, steps_between_trials=steps_between_trials)
if (exchange_trajs):
self.exchange_param = "trajectory"
else:
self.exchange_param = "_currentPosition"
self._ex... | Python |
bool currentShouldSearchDialog() {
return tabState.current()?.shouldSearchDialog() ?? false;
}
parseFeed(Uri? uri, List<String> lines) {
var title = lines
.firstWhere((line) => line.startsWith("# "),
orElse: () => uri!.toString())
.replaceFirst("# ", "");
var links = lin... | Dart |
umb click|Nutrition|clicked" href="/nutrition"><h4 class="css-911n6p">Nutrition</h4></a><button class="css-1r65sl4"><span class="css-14ktbsh"><span class="css-tfky81 icon-hl-check"></span><span class="css-1huyk6v">Evidence Based</span></span></button><h1 class="css-1jisqi6">The 10 Best Ways to Measure Your Body Fat Per... | HTML |
i < ov.byCharacter.length-1">•</span> </span>
</div>
</div>
<div class="results" *ngIf="results.length > 0; else noResults">
<ion-list>
<ion-item *ngFor="let r of results">
<ion-label>
<div class="meta"><strong>{{ r.sceneTitle }}</strong> <s... | HTML |
: _WebSocket['onmessage'];
}
>;
/**
* Websocket proxy between debugger and React Native client
*/
export default class WebsocketDebuggerProxy {
debuggerSocket: WebSocket | undefined;
clientSocket: WebSocket | undefined;
constructor(private runtime: Runtime, webSocketProxy: WebSocketProxy) {
webSocketPro... | Typescript |
->
c.createStatement().use {
it.executeQuery("SHOW VITESS_TARGET").uniqueString()
}
}
assertThat(target).isEqualTo("@replica")
}
queryFactory.newQuery<CharacterQuery>()
.allowTableScan()
.name("Ian Malcolm").uniqueResult(session)!!
}
... | Kotlin |
/*
* IPVS: Never Queue scheduling module
*
* Authors: Wensong Zhang <wensong@linuxvirtualserver.org>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Softwar... | C |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from vtkmodules.vtkCommonCore import (
vtkFloatArray,
vtkLookupTable,
)
from vtkmodules.vtkCommonDataModel import vtkTable
from vtkmodules.vtkChartsCore import vtkChartParallelCoordinates
from vtkmodules.vtkRenderingCore import vtkColorTransferFunction
fr... | Python |
var f in tiddler.fields) {\\n\\t\\t\\tjsonTiddler[f] = tiddler.getFieldString(f);\\n\\t\\t}\\n\\t\\tjson[title] = jsonTiddler;\\n\\t});\\n\\tthis.encryptedText = $tw.utils.htmlEncode($tw.crypto.encrypt(JSON.stringify(json)));\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any o... | HTML |
06.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"></path></svg>hclient/widgets/entity/manageRecUploadedFiles.js</span><... | HTML |
omDataTypeClass*)(((CUSTOMDATATYPEPLUGIN*)plug->GetPluginStructure())->adr))->*((CUSTOMDATATYPEPLUGIN*)plug->GetPluginStructure())->fnc)
#define CallResourceDataTypePlugin(plug, fnc) (((ResourceDataTypeClass*)(((RESOURCEDATATYPEPLUGIN*)plug->GetPluginStructure())->adr))->*((RESOURCEDATATYPEPLUGIN*)plug->GetPluginStruct... | C |
}
for value in &self.modes {
my_size += ::protobuf::rt::enum_size(6, *value);
};
for value in &self.storageTypes {
my_size += ::protobuf::rt::enum_size(7, *value);
};
for value in &self.storageIds {
my_size += ::protobuf::rt::string_size(8, &va... | Rust |
str())
{
Testbed::from_builders(0, vec![builders[i]]).run()
} else {
eprintln!("Invalid example to run provided: '{}'", demo);
}
}
Command::RunAll => Testbed::from_builders(0, builders).run(),
Command::List => {
for ... | Rust |
-text a:active {
color: #fff;
}
.wp-block-cover-image .wp-block-cover.has-left-content {
justify-content: flex-start;
}
.wp-block-cover-image .wp-block-cover.has-right-content {
justify-content: flex-end;
}
section.wp-block-cover-image.has-left-content > h2,
.wp-block-cover-image.has-left-content .wp-block-cove... | CSS |
---@class cuddlefish.types.styleconfig
---@field tabline cuddlefish.types.styleopt
---@field search cuddlefish.types.styleopt
---@field incsearch cuddlefish.types.styleopt
---@field types cuddlefish.types.styleopt
---@field keyword cuddlefish.types.styleopt
---@field comment cuddlefish.types.styleopt
---@class cuddlef... | Lua |
}
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
html.mzp-is-noscroll {
overflow: hidden;
height: 100%;
}
html.mzp-is-n... | CSS |
href="win32/MoveFile">MoveFile</a></td>
<td class="cont" width="60%">move/rename file or directory</td>
</tr>
<tr class="cont"><td class="cont" width="40%"><a href="win32/MoveFileEx">MoveFileEx</a></td>
<td class="cont" width="60%">move/rename file or directory</td>
</tr>
<tr class="cont"><td class="cont" width="40%"><... | HTML |
}, {z0.h - z3.h} // 11000001-10100001-00010000-00001000
// CHECK-INST: fmla za.h[w8, 0, vgx4], { z0.h - z3.h }, { z0.h - z3.h }
// CHECK-ENCODING: [0x08,0x10,0xa1,0xc1]
// CHECK-ERROR: instruction requires: sme-f16f16
// CHECK-UNKNOWN: c1a11008 <unknown>
fmla za.h[w10, 5, vgx4], {z8.h - z11.h}, {z20.h - z23.h} ... | Assembly |
ystem. These styles
* supplement a partial reset that is already applied by
* normalize.css.
*/
button,
input,
optgroup,
select,
textarea {
padding: 0;
line-height: inherit;
color: inherit;
}
/**
* Use the configured 'mono' font family for elements that
* are expected to be rendered with a monospace font, ... | CSS |
Url(config.embedFile);
const serverInfo = await query({
type: config.gameType,
host: config.host,
port: config.port,
maxAttempts: config.maxAttempts,
});
const embed = new EmbedBuilder()
.setColor(config.embedColor)
.setTitle(serverInfo.name)
.setDescription(
... | Typescript |
.93 18.16-90.656C139.699 8.526 135.681 0 120.716 0"></path></symbol><symbol viewBox="0 0 39.605 39.633" id="icon-google-plus"><path d="M12.488 37.682c-4.69 0-8.08-2.97-8.08-6.537 0-3.496 3.976-6.51 8.667-6.46a10.21 10.21 0 0 1 3.04.488c2.547 1.77 4.6 2.876 5.117 4.894.096.41.15.83.15 1.26 0 3.567-2.3 6.355-8.894 6.355m... | HTML |
NotificationChannel channel = AndroidNotificationChannel(
'runner_events',
'Runner Events',
description: 'Notifications for runner completion and status',
importance: Importance.defaultImportance,
);
final flutterLocalNotificationsPlugin = _fln
.resolvePlatformSpecificImplementat... | Dart |
# 文件名: src/postprocess.py
import json
from jsonschema import validate, ValidationError
from src.schemas import REQUIREMENTS_SCHEMA, BDD_SCHEMA, SEQUENCE_SCHEMA
# ========== 基础验证 ==========
def validate_json(obj, schema):
"""用 schema 验证 JSON 结构"""
if isinstance(obj, str):
try:
obj = json.loa... | Python |
2RXZ1US",
"data": {
"message": {
"channel_id": "ch_272whxcRbEVaaahANHFaQBKZkbL6bL59ckHrSZk2K8G2RXZ1US",
"from": "ak_26jAbCjYM16ppbhFG6PCQhv6HkwRAri7QNJfoEtb1R8amLscpt",
"info": "Hello back",
"to": "ak_mLjWgLbapr5CiVD2Q248aS2TQj9itXnoPv5tteXvZaJ8tdD2C"
}
}
},
"vers... | Markdown |
Content`**: 영상 내용이 충분히 기술적이지 않거나, 면접 질문을 만들기에 적합하지 않은 경우 ex) 개발자 인터뷰, 브이로그, 팟캐스트
- **`isValid`**: 영상 내용에서 기술 면접 질문을 생성할 수 있는 경우.
2. **질문(`qnas`) 작성**:
- 최소 4개에서 최대 **15개**개의 질문을 작성하세요(8개 이상의 질문 생성을 권장합니다).
- 먼저, 제공된 **제목**과 **자막(caption)** 정보를 토대로 **핵심 요역 내용**을 파악하세요.
- 이 **핵심 요약 내용**에서 **직접 언급되는 프로그래밍... | Dart |
, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING
// LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION,
// EVEN IF THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING... | C++ |
name: "TestDiffOfMerges",
state: llb.Diff(ab(), abc()),
contents: apply(
fstest.CreateFile("/C", []byte("C"), 0644),
),
},
verifyContents{
name: "TestDiffOfMergesWithDeletes",
state: llb.Merge([]llb.State{abc(), llb.Diff(abc(), abDeleteC())}),
contents: apply(
fstest.CreateFile... | Go |
ils{width:calc(50% - 8px)!important;margin-left:8px;border-radius:8px;border:0!important;--tw-shadow:0 10px 15px -3px rgb(0 0 0/0.1),0 4px 6px -4px rgb(0 0 0/0.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-... | CSS |
env, a, arrA, 0)
}
}
@CName("Java_com_martmists_ndarray_simd_NativeSpeedup_vecIsNan")
fun jni_vec_is_nan(env: CPointer<JNIEnvVar>, thisObject: jobject, a: jdoubleArray, aOffset: jint, aSize: jint) {
memScoped {
val arrA = env.pointed.pointed!!.GetPrimitiveArrayCritical!!.invoke(env, a, null)!!.reinterp... | Kotlin |
/// </summary>
/// <param name="from">The timing range's lower bound.</param>
/// <param name="to">The timing range's upper bound.</param>
/// <returns>All matching scenecontrol events.</returns>
IEnumerable<ScenecontrolEvent> FindWithinRange(int from, int to);
/// <summ... | C# |
;
export default user;
import * as mongoose from 'mongoose';
export const PokemonSchema = new mongoose.Schema({
name: { type: String, required: true },
url: { type: String, required: true },
});
export interface Pokemon extends mongoose.Document {
id: string;
name: string;
url: string;
}import { Observab... | Typescript |
value for each item in the array is described in the following table:
Index | Value
------|------
0 | Minimum x-value
1 | Minimum y-value
2 | Maximum x-value
3 | Maximum y-value
*
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-BaseTileLayer.html#getTileBounds)
... | Typescript |
str_ = "8";
} else if (current >= QOperatingSystemVersion::Windows7) {
os_version_str_ = "7";
}
}
if (!os_version_str_.isEmpty()) {
os_str_ += (" " + os_version_str_);
}
#endif
#if defined(Q_OS_HAIKU)
os_name_str_ = "Haiku";
os_str_ = os_name_str_;
... | C++ |
t!(header
.find_entry_or_err(&IndexSignatureTag::RPMSIGTAG_MD5)
.is_ok());
assert!(header
.find_entry_or_err(&IndexSignatureTag::RPMSIGTAG_SHA1)
.is_ok());
}
}
<reponame>lpalmes/relay
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source c... | Rust |
t isinstance(tag, tuple): # the key has to be tuple (TagName, SignalName); elements with key of str type should be dropped
continue
if row[4] in ('USD-F64', 'USR-PVI'): # InstrumentType
sql_select = f"""
SELECT d.DataItemName, d.Value, CASE
... | Python |
-webkit-scrollbar-thumb {
background: rgba(148, 163, 184, 0.5);
border-radius: 4px;
transition: background 0.2s;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
background: rgba(148, 163, 184, 0.7);
}
.delay-75 {
animation-delay: 75ms;
}
.delay-150 {
animation-delay: 150ms;
... | CSS |
.oe_product_image_link {
aspect-ratio: var(--o-wsale-card-thumb-aspect-ratio, 1);
.oe_product_image_img_wrapper {
@include o-position-absolute(0, 0, 0, 0);
img {
object-fit: var(--o-wsale-card-thumb-fill-mode, contain);
o... | CSS |
nderer]
*
* @author ccetl
*/
object ModuleCrystalView : ClientModule("CrystalView", Category.RENDER) {
val size by float("Size", 0.3f, 0.1f..1.5f)
val yTranslate by float("YTranslate", -0.5f, -2f..2f)
val spinSpeed by float("SpinSpeed", 0f, 0f..5f)
val bounce by float("Bounce", 0.25f, -1f..1f)
}
/*... | Kotlin |
67/Independent\0";
pub const DAQmx_Val_Switch_Topology_1169_100_SPST: &'static [u8; 14usize] = b"1169/100-SPST\0";
pub const DAQmx_Val_Switch_Topology_1169_50_DPST: &'static [u8; 13usize] = b"1169/50-DPST\0";
pub const DAQmx_Val_Switch_Topology_1175_1_Wire_196x1_Mux: &'static [u8; 22usize] =
b"1175/1-Wire 196x1 Mux... | Rust |
t to hit escape on a SELECT element.
var isSpecialFormElement =
target.tagName == goog.dom.TagName.SELECT && !target.disabled;
if (cancel && !isSpecialFormElement) {
hasHandler = true;
var caption = buttonSet.get(cancel);
close = this.dispatchEvent(
new goog.u... | JavaScript |
a name="lintPatterns" id="projen.javascript.Eslint.property.lintPatterns"></a>
```typescript
public readonly lintPatterns: string[];
```
- *Type:* string[]
Returns an immutable copy of the lintPatterns being used by this eslint configuration.
---
##### `overrides`<sup>Required</sup> <a name="overrides" id="projen.... | Markdown |
struct slot_starve_reg_info {
// cr_slot_park
uint32_t cr_wslot_def; // 0:read_slot 1:write_slot
uint32_t cr_idle_window;
// cr_slot_starve
uint32_t cr_lpw_starve;
uint32_t cr_hpr_starve;
uint32_t cr_lpr_starve;
uint32_t cr_base_starve;
// cr_slot_cntr
uint32_t cr_lpw_isu_limit;
uint32_t cr_hpr_isu... | C |
// Copyright (c) 2018 Karl-Johan Alm
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_BTCDEB_INTERPRETER_H
#define BITCOIN_BTCDEB_INTERPRETER_H
#include <debugger/see.h>
#include <util/strencodings.h> // HexStr
#... | C |
c30000</span><br/><span class="CDBStdOut"> Size = 000a9000</span><br/><span class="CDBStdOut"> Checksum = 000a7e5a</span><br/><span class="CDBStdOut"> TimeDateStamp = 57899893</span><br/><span class="CDBStdOut">AddImage: C:\WINDOWS\System32\gdi32full.dll</span><br/><span class="CDBStdOut"> DllBase = 00007ffc`87ce0... | HTML |
rties[] = {
DEFINE_AUDIO_PROPERTIES(AC97LinkState, card),
DEFINE_PROP_END_OF_LIST(),
};
static void ac97_class_init(ObjectClass *klass, void *data)
{
DeviceClass *dc = DEVICE_CLASS(klass);
PCIDeviceClass *k = PCI_DEVICE_CLASS(klass);
k->realize = ac97_realize;
k->exit = ac97_exit;
k->vendo... | C |
/* Aravis - Digital camera library
*
* Copyright © 2009-2025 Emmanuel Pacaud <emmanuel.pacaud@free.fr>
*
* SPDX-License-Identifier: LGPL-2.1-or-later
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free ... | C |
.port });
worker.on('exit', common.mustCall((exitCode) => {
assert.strictEqual(exitCode, 0);
server.close();
}));
}));
} else {
assert(process.env.PORT);
const s = net.createServer(common.mustNotCall());
s.listen(process.env.PORT, common.mustNotCall('listen should have failed'));
s.on('err... | JavaScript |
0016 0016 0016 0016 0016 0041 0016 0016 0016 06A4 015B 0057 0016 0E6C')" title="CD Player" alt="CD Player" />
<area shape="rect" coords="18,0,1063,542" onclick="transmit('0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 001... | HTML |
ent
{
get
{
return titleAlignment;
}
set
{
if (value != titleAlignment)
{
titleAlignment = value;
Invalidate(invalidateLegendOnly: false);
}
}
}
[SRCategory("CategoryAttributeTitle")]
[DefaultValue(typeof(LegendSeparatorType), "None")]
[SRDescription("DescriptionAt... | C# |
div>
<p>Lorem ipsum dolor sit amet consectetur, adipisicing elit.</p>
</div>
</div>
<div class="card-box">
<div>
<i class="ri-pen-nib-line"></i>
</div>
<div>
<h1>SRS</h1>
</div>
... | HTML |
--- Warp Doors allow for fast travel between Overworld locations. \
--- `WarpDoor` is an [`Event`](lua://Event.init) - naming an object `warpdoor` on an `objects` layer in a map creates this object. \
--- See this object's Fields for the configurable properties on this object.
---
---@class WarpDoor : Event
---
---@fi... | Lua |
,r0,r2,lsl #16
;
add lr,pc,#4
mov r0,r11
ldr pc,[r7,#0x70] ;
;
and r1,r10,r0
adds r1,r1,#0 ;
mrs r10,cpsr ;
;
add lr,pc,#4
mov r0,r11
ldr pc,[r7,#0x7c] ;
ldrh r8,[r4],#2 ;
subs r5,r5,#36 ;
ldrge pc,[r6,r8,asl #2] ;
b CycloneEnd
;
Op0400:
;
ldrsb r10,[r4],#2 ;
;
;
and r11,r8,#0x000f
;
... | Assembly |
业和农业机械工业。建设工业要适应我国的情况和需要,要实行大、中、小企业相结合,先进技术和一般技术、手工操作相结合,以便节约资金,发挥潜力。在农业方面,必须坚持实行勤俭办社和民主办社,坚持实现十二年全国农业发展纲要的方向,并且在最近的三年到五年内,争取多数地区的多数合作社赶上和超过当地富裕中农的生产水平。
</p>
<p>
我们在过去八年内所已经取得的一切成就,完全依靠人民民主革命和社会主义革命的胜利,没有这两次革命的胜利,我国经济的如此迅速的发展是不可能的。同样,我们今后时期所需要继续取得的成就,完全依靠社会主义革命的完成和巩固。我们已经一再指出,我国的社会主义革命在经济战线上,在所有制方面,已经基本上胜利了,但是在政... | HTML |
var dhikrTypes = await _dbContext.DhikrTypes
.ToListAsync();
return dhikrTypes;
}
public async Task<DhikrType> GetDhikrTypeWithDetails(int id)
{
var dhikrType = await _dbContext.DhikrTypes
.FirstOrDefaultAsync(Queryable => Queryable.I... | C# |
EF 0.3989422804014327\n\nvoid main() {\n #pragma mapbox: initialize highp float weight\n\n // Kernel density estimation with a Gaussian kernel of size 5x5\n float d = -0.5 * 3.0 * 3.0 * dot(v_extrude, v_extrude);\n float val = weight * u_intensity * GAUSS_COEF * exp(d);\n\n gl_FragColor = vec4(val, 1.0, ... | HTML |
project, false otherwise.
*/
canAdministrateProject(project) {
return this.satisfiesProjectRole(project, Role.admin);
}
/**
* Determines if the given user has permission to manage the given challenge.
*
* > Note that if challenge is not denormalized with a parent object field,
* > this method... | JavaScript |
(-25px); }
@media (min-width: 960px) and (max-width: 1300px) {
/* line 186, stylesheets/16bit-era/yoshis-island.scss */
#yoshi-power-ups {
width: 560px; }
/* line 260, stylesheets/16bit-era/yoshis-island.scss */
#yoshi-power-ups a {
margin-right: 10px; } }
@media (min-width: 768px)... | CSS |
and distribution is subject to the Boost Software License,
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
// This file is converted from PROJ4, http://trac.osgeo.org/proj
// PROJ4 is originally written by Gerald Evenden (then of the USGS)
// PROJ4 is maintai... | C++ |
iri-v0.6.4) (2024-11-19)
### Bug Fixes
* **aliri_reqwest:** widen reqwest-middleware constraint ([#109](https://github.com/neoeinstein/aliri/issues/109)) ([0f1c0a5](https://github.com/neoeinstein/aliri/commit/0f1c0a5afcc152bd07fd75e15765af89f94d99de))
* **aliri_tokens:** use mode on unix only ([#100](https://github.... | Markdown |
--[[
Filename: StatsMiniTextPanel.lua
Written by: dbanks
Description: Panel that shows title and current value for a given stat.
--]]
--[[ Globals ]]--
local TitleHeightYFraction = 0.4
local ValueHeightYFraction = 0.3
local TitleTopYFraction = (1 - TitleHeightYFraction -
ValueHeightYFraction)/2
local LeftMarg... | Lua |
::Reg<tcd2_daddr::TCD2_DADDR_SPEC>,
#[doc = "0x1054 - TCD Signed Destination Address Offset"]
pub tcd2_doff: crate::Reg<tcd2_doff::TCD2_DOFF_SPEC>,
_reserved_49_dma_tcd2_citer: [u8; 0x02],
#[doc = "0x1058 - TCD Last Destination Address Adjustment/Scatter Gather Address"]
pub tcd2_dlastsga: crate::Re... | Rust |
ucts.length;
let xHTML : string = '';
if(total >0){
for (var i = 0; i < total; i++) {
let currentItem : Product = this.Products[i];
if(currentItem.canBuy == true) {
xHTML +=`<div class="media product">
<div class="media-left">
... | Typescript |
ectionOnnx::getImg() {
//¡matݽⲿʹãֻmatǵڴ
Mat mat = m_mat_3.clone();
return mat;
}// OpencvTest.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。
//
#include <iostream>
#include<string>
#include<fstream>
#include<cmath>
#include <windows.h>
#include <time.h>
#include <Tlhelp32.h>
#include<opencv.hpp>
#include<imgproc.h... | C++ |
* <code>optional bool flex_start = 46;</code>
*
* @return The flexStart.
*/
boolean getFlexStart();
/**
*
*
* <pre>
* The desired boot disk config for nodes in the node pool.
* Initiates an upgrade operation that migrates the nodes in the
* node pool to the specified boot disk config... | Java |
i]+j, end, p.e)
}
}
}
for range m {
var a, b int
Fscan(in, &a, &b)
a--
b--
if a%2 > 0 {
a, b = b, a
}
for i, p := range ps[a] {
for j, q := range ps[b] {
if p.p == q.p {
addEdge(sum[a]+i, sum[b]+j, 1e9)
}
}
}
}
d := make([]int, len(g))
bfs := func() bool {
clear(d)
... | Go |
Expr.Character(predicate.literal(String.fromCharCode(parseInt(this.scanner.token, 8))));
}
else if (this.scanner.consume("0"))
{
return new Expr.Character(predicate.literal("\0"));
}
else if (this.scanner.consume(/[1-9]\d*/))
{
return this.parseBackReferenceOrOctalCode();
}
else if (this.scanner.... | Typescript |
! 5954: SRAX_R srax %r18, %r0, %r25
T3_hwint_786:
!$EV trig_pc_d(3,expr(@VA(.MAIN.T3_hwint_786), 16, 16)) -> intp(3, 0, 3f)
T3_irf_ce_494:
!$EV error(3,expr(@VA(.MAIN.T3_irf_ce_494), 16, 16),1,IRF,ce,62,6, x,x,x, x,x,x)
.word 0xb04520ec ! 5957: ADDC_I addc %r20, 0x00ec, %r24
T3_irf_ce_495:
!$EV error(3,expr(@VA(.MAI... | Assembly |
nu
might emit some harmless messages resembling
‘<samp><span class="samp">WARNING: Couldn't find the global config file.</span></samp>’ or
‘<samp><span class="samp">WARNING: Couldn't find tool init file</span></samp>’ that can be ignored.
<p>If you are testing a cross-compiler, you may want ... | HTML |
int y = t_y - ty;
int f = super.frame;
if (f > 15) {
f = 15 - f;
}
int x1 = x - f;
int y1 = y - f;
int x2 = x + f;
int y2 = y + f;
g.setColor(c1);
g.drawLine(x1, y1, x2, y2);
g.setColor(c2);
g.drawLine(x1 + 1, y1 + 1 + 1, x2 - 1, (y2 - 1) + 1);
g.drawLine(x1 + 1, (y1 + 1) - 1, x2 - 1, y2 - 1 ... | Java |
org/10.1109/LRA.2020.2974707).\n' +
'* Johannink et al. [2018] Tobias Johannink, Shikhar Bahl, Ashvin Nair, Jianlan Luo, Avinash Kumar, Matthias Loskyll, Juan Aparicio Ojea, Eugen Solowjow, and Sergey Levine. Residual reinforcement learning for robot control. _CoRR_, abs/1812.03201, 2018. URL [http://arxiv.org/ab... | HTML |
onverters,
cancellationToken);
}
/// <inheritdoc />
public Task<FlowExecution> GetFlowExecutionAsync(
string flowId, string executionId, CancellationToken cancellationToken = default)
{
flowId.ThrowIfNull();
executionId.ThrowIfNull();
return Connection.GetA... | C# |
n" +
"\t\tsuper(\"%3$s\", runtime);\n" +
"\t}\n",
className, JObjCRuntime.class.getCanonicalName(), category.category.superClass.name);
}
@Override public void writeBody(final PrintStream out) {
Set<String> written = new HashSet<String>();
for(fin... | Java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.