content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
in use this command to show the error in detail.
```sh
(Ctl + Cmd + ') ************************* (⌃ + ⌘ + ')
```

**7. Edit / Refactor All In Scope**<br>
- Refactoring is inev... | Markdown |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef mozilla_dom_HTMLTableColEle... | C |
StrategyType.BearCallSpread: {
const isBullSpread = input.strategy === StrategyType.BullCallSpread;
const callToUse = isBullSpread ? input.longCall : input.shortCall;
if (callToUse)
return [callToUse.strike + callToUse.currentPrice];
throw new Error(`${isBullSpread ? 'longCall' : 'shor... | Typescript |
from .. import C
from .tree_drafter import LLM_with_tree_drafter
import torch
from transformers import PretrainedConfig
class EagleConfig(PretrainedConfig):
def __init__(
self,
num_hidden_layers=1,
**kwargs,
):
super().__init__(**kwargs)
self.eagle_num_layers = num_hidd... | Python |
?.success) {
setTags(res1?.data);
} else {
toast.error(res1?.data?.message);
setTags([]);
navigate("/error/something-went-wrong")
}
}
useEffect(() => {
defaultApiCalling();
}, []);
return (
<div>
<div className='w-full h-[100vh] bg-[black]/[0.02] scrollbar-hide... | JavaScript |
`),e;throw new Error(`Both layout algorithms ${t} and ${e} are not registered.`)},"getRegisteredLayoutAlgorithm")});var lT,xNe,bNe,yD=R(()=>{"use strict";Yn();ut();lT=o((t,e,r,n)=>{t.attr("class",r);let{width:i,height:a,x:s,y:l}=xNe(t,e);Sr(t,a,i,n);let u=bNe(s,l,i,a,e);t.attr("viewBox",u),V.debug(`viewBox configured: ... | JavaScript |
bl.spell_id);
int count = gbl.CloudKillCloud.FindAll(cell => cell.player == gbl.SelectedPlayer).Count;
GasCloud var_8 = new GasCloud(gbl.SelectedPlayer, count, gbl.targetPos);
gbl.CloudKillCloud.Add(var_8);
ovr024.add_affect(true, (byte)(var_15 + (count << 4)), var_15, Affects.affect_in_cloud_kill, gbl.Se... | C# |
arch.
package sort
// Search uses binary search to find and return the smallest index i
// in [0, n) at which f(i) is true, assuming that on the range [0, n),
// f(i) == true implies f(i+1) == true. That is, Search requires that
// f is false for some (possibly empty) prefix of the input range [0, n)
// and then true... | Go |
.com/BBuf/Keras-Semantic-Segmentation
2019年遥感图像稀疏表征与智能分析竞赛:
- <https://github.com/TachibanaYoshino/Remote-sensing-image-semantic-segmentation>
CCF 卫星影像的AI分类与识别:
- https://github.com/ximimiao/deeplabv3-Tensorflow(TensorFlow)
- <https://github.com/AstarLight/Satellite-Segmentation><https://github.com/AstarLight/ccf_d... | Markdown |
hints.ai_socktype = platform.posix.SOCK_STREAM
hints.ai_protocol = platform.posix.IPPROTO_TCP
val result = alloc<CPointerVar<addrinfo>>()
if (getaddrinfo(name, service, hints.ptr, result.ptr) == 0) {
return if (result.pointed != null && result.pointed?.ai_addr != null && result.pointed?.ai_addr... | Kotlin |
def say_hi():
print('Привет я из функции во втором модуле')
def main():
a = 5
b = 10
print('Привет')
if __name__ == '__main__':
main() | Python |
RET_BLACK_REGISTER_IP(32),
/**
* <code>RET_EXCEED_REGISTER_RATE = 33;</code>
*/
RET_EXCEED_REGISTER_RATE(33),
/**
* <code>RET_UNKNOWN_PLATFORM = 34;</code>
*/
RET_UNKNOWN_PLATFORM(34),
/**
* <code>RET_TOKEN_PARAM_ERROR = 35;</code>
*/
RET_TOKEN_PARAM_ERROR(35),
... | Java |
。”,请将它们合并成一个表达昨天和今天都看了电影的句子。 |
| 开放生成 | 叙述一下你理想的未来城市会是什么样子? |
| 分类 | 营养师如何根据膳食指南为客户设计适当的饮食计划? |
| 编辑 | 将句子“John正在听音乐。”转换为否定句。 |
| 开放生成 | 描述一些应该注意的日常生活健康细节。 |
| 分类 | 在计算机编程中,什么是递归函数? |
| 编辑 | 把这句话改成被动语态: "人们认为太阳围绕着地球转。" |
| 开放生成 | 如何使得机器人更加智能化? |
|餐饮店|请描述一下这家餐饮店的装修风格和菜品种类。|
|旅游景点|如果我要前往巴厘岛旅游,有哪些值得推荐的景点和活动?|
|电影|请简要介绍一下《... | Markdown |
d;
__u16 mac[3];
__u8 frag_num;
__u8 seq_num;
__le32 len;
/* MUST be of word size due to PIO write requirements */
__le32 csum;
__le16 csum_offset;
__le16 flags;
__u16 first_2_bytes;
__u8 unused[2]; /* currently unused */
};
/* IB - LRH header consts */
#define IPATH_LRH_GRH 0x0003 /* 1. word of IB LRH - n... | C |
; Generated with ikazuchi 1.0 by riidefi
; Object File: CameraTargetHolder
; Segments:
; .text: 0x800afccc -> 0x800afeac
; .data: 0x805763d8 -> 0x805763f4 (805763e4 -> 805763f4 (size 0016/0x0010) is greedily claimed anonymous data)
; .sdata2: 0x806b9970 -> 0x806b9978 (806b9974 -> 806b9978 (s... | Assembly |
m()
{
segment_t s;
s.start_ea = 0x3000;
s.end_ea = 0x3800;
s.type = SEG_IMEM;
s.sel = allocate_selector(s.start_ea >> 4);
char seg_name[0x10];
qsnprintf(seg_name, sizeof(seg_name), "iram");
if ( !add_segm_ex(&s, seg_name, nullptr, ADDSEG_NOSREG|ADDSEG_SPARSE) )
loader_failure("Failed addin... | C++ |
不生效 fix [#413](https://github.com/kingdee/kdesign/issues/413)
* stepper
* 修复大数字时自增或自减操作丢失精度 fix [#385](https://github.com/kingdee/kdesign/issues/385)
* select
* 多选时onChange第二个参数返回nodes数组 fix [#388](https://github.com/kingdee/kdesign/issues/388)
* 修复单选初始化时设置value无行选中效果问题 fix [#387](https://github.com/kingdee/kdesi... | Markdown |
db.query(
entityTable,
where: 'bvid = ?',
whereArgs: [bvid],
orderBy: 'part ASC',
);
return results.map((e) => Entity.fromJson(e)).toList();
}
static Future<int> cachedCount(String bvid) async {
final db = await database;
final result = await db.rawQuery(
'SELECT COUN... | Dart |
pe Cert Type:
SSL CA, S/MIME CA, Object Signing CA
Netscape Comment:
StartCom Free SSL Certification Authority
A8F2DFE36AE0CC2DB9DD38347D30AED9551DD25A.crt
--------------------------------------------
Version: 3 (0x2)
Serial Number: 514564003 (0x1eab9fa3... | Markdown |
flag a problem with the source (place or review).
* @param flagContentUri flagContentUri or {@code null} for none
*/
public GoogleCloudAiplatformV1beta1GroundingMetadataSourceFlaggingUri setFlagContentUri(java.lang.String flagContentUri) {
this.flagContentUri = flagContentUri;
return this;
}
/**
... | Java |
val >= max or root.val <= min:
return False
return self.valid(root.left, min, root.val) and self.valid(root.right, root.val, max)
```
C++代码如下:
```cpp
/**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x)... | Markdown |
BLUESTSDK_SERVICE_UUID:
for listener in self._listeners:
# Calling user-defined callback.
self._thread_pool.submit(listener.on_stdin_send(
self,
data_str[0:self._MAXIMUM_MESSAGE_SIZE_BYTES],
s... | Python |
Equal(expected);
});
test.only('five nodes no duplicates', () => {
const node_5 = new Node(3);
const node_4 = new Node(2, node_5);
const node_3 = new Node(5, node_4);
const node_2 = new Node(1, node_3);
const node_1 = new Node(4, node_2);
const actual = insertionSortList(node_1);
const... | Typescript |
_(r13)
/* 8012D28C 00128EEC 80 63 01 4C */ lwz r3, 0x14c(r3)
/* 8012D290 00128EF0 A0 03 00 96 */ lhz r0, 0x96(r3)
/* 8012D294 00128EF4 54 00 CF BE */ rlwinm r0, r0, 0x19, 0x1e, 0x1f
/* 8012D298 00128EF8 28 00 00 02 */ cmplwi r0, 2
/* 8012D29C 00128EFC 40 82 00 34 */ bne lbl_8012D2D0
/* 8012D2A0 00128F00 38 60 00 ... | Assembly |
0774 A42C0934 */ sh $t4, 0x934($at)
/* B87918 80110778 3C010001 */ lui $at, (0x00010A20 >> 16) # lui $at, 1
/* B8791C 8011077C 34210A20 */ ori $at, (0x00010A20 & 0xFFFF) # ori $at, $at, 0xa20
/* B87920 80110780 02A11021 */ addu $v0, $s5, $at
/* B87924 80110784 944D0000 */ lhu $t5, ($v0)
/* B87928 8011078... | Assembly |
wrapping_add(1);
match cpu.address_bus.read(absolute_sp(cpu)) {
Ok(hi) => {
cpu.r.pc |= (hi as u16) << 8;
cpu.r.pc += 1;
}
Err(e) => panic!("addressing error {}", e),
}
}
Err(e) => panic!("add... | Rust |
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]... | Rust |
Sb5250Sbtitle => 'Hoe zit het met \"lichte portefeuilles\" zoals MyMonero?';
@override
String get knowledge250Sbnodes250Sb6250Sbtext => '<p>Als je nieuwsgierig bent en knooppunten in Monero beter wilt begrijpen, wilt kijken of u een knooppunt op afstand kunt gebruiken of uw eigen knooppunt wilt kunnen gebruiken, b... | Dart |
;
assert_eq!(links.len(), 1);
assert_eq!(links[0], "https://sample.org");
}
}<gh_stars>0
pub trait ProvidePosition<I> {
type Position;
fn position(&self) -> Self::Position;
fn shift(&mut self, s: I);
}
pub trait BackTrack {
fn save(&mut self);
fn backtrack(&mut self);
}
impl<I>... | Rust |
PKNJKAKLCI\022\020\n\010le" +
"vel_id\030\n \001(\r\022\023\n\013CLFLBPJPBJB\030\004 \001(\r\022\022\n\naff" +
"ix_list\030\001 \003(\rB\033\n\031emu.grasscutter.net.pro" +
"tob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(desc... | Java |
1A<0-1>, track2A<0-1>, track3A<0-1>
110-120 ~ writeAs, writeBs, ldb16, k, tidAY, tidBY, txb, txa00, txa32, txa64, txa96
121-127 ~ swapBuf, readAs, readBs, tid, blkA, blkB, blkZ
32-39 : C00y<0-1>, C04y<0-1>, C08y<0-1>, C12y<0-1>
40-47 : c<0-3>, d3, d2, d1, d0
48-120 ~ tid31, tid96, ldc, ldcz, cx, ci... | CSS |
}
public void setOutcome(int rank1, int rank2, boolean suited, int outcome, String outcomeString)
{
if (suited)
{
for (int suit = CardSuit.CLUBS_RANK; suit <= CardSuit.SPADES_RANK; ++suit)
{
outcomes_.set(Card.getCard(suit, rank1), Card.getCard(suit, ... | Java |
t = vtx.t * 16.f;
q = vtx.q * 16.f;
s /= q;
t /= q;
u = (s * tex_info.tex_width) * 16.f;
v = (t * tex_info.tex_height) * 16.f;
//fprintf(stderr, "q: %f, u: %d, v: %d, a: %d\n", vtx.q, u,v, ... | C++ |
/*vx and vy are spc'd if we are not on nodeonSIA: */
for(int i=0;i<iomodel->numberofvertices;i++){
/*keep only this partition's nodes:*/
if((iomodel->my_vertices[i])){
if (IoCodeToEnumVertexEquation(reCast<int>(iomodel->Data("md.flowequation.vertex_equation")[i]))!=SIAApproximationEnum){
constraint... | C++ |
'loading':
isLoaded = false;
onEventController.add({BannerAdEvent.loading: null});
break;
case 'onAdFailedToLoad':
isLoaded = false;
onEventController.add({
BannerAdEvent.loadFailed: AdError.fromJson(call.arguments),
});
break;
case 'onAdLoa... | Dart |
eval_action()
end
end
}
renoise.tool():add_keybinding {
name = ("Global:AutoMate:%s Parameter Automation (Whole Song)"):format(action),
invoke = function(repeated)
if not repeated then
prefs.selected_tab.value = AutoMatePrefs.TAB_PARAMETERS
prefs.selected_scope.value = AutoM... | Lua |
] = "metro_06_rp_02",
[1266825328] = "apa_mp_h_01_living_window2",
[2828153518] = "apa_mp_h_02_living_fire",
[2328766159] = "apa_mp_h_03_living_window",
[1372323180] = "mp_b_bed_chestdrawer_04",
[183049705] = "apa_mp_h_04_living_coffee_table",
[2065119001] = "h4_int_club_li_tub_clus",
[2582039233] = "chi2_livery... | Lua |
from propTypes.book.class_book import Book
def set_id(book: Book, last_id: int) -> Book:
book.id = last_id + 1
return book
| Python |
inner_hzlK' x='1' y='1' width='6' height='22'/%3E%3Crect class='spinner_hzlK spinner_koGT' x='9' y='1' width='6' height='22'/%3E%3Crect class='spinner_hzlK spinner_YF1u' x='17' y='1' width='6' height='22'/%3E%3C/svg%3E")}.loading-infinity{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/s... | CSS |
from .magics import run
def main():
run(None, None)
if __name__ == "__main__":
main()
| Python |
)
- Tom Short (@tshort)
- @dextorious
- Samuel Isaacson (@isaacsas)
#### Google Summer of Code Alumni
- Yingbo Ma (@YingboMa)
- Shivin Srivastava (@shivin9)
- Ayush Pandey (@Ayush-iitkgp)
- Xingjian Guo (@MSeeker1340)
- Shubham Maddhashiya (@sipah00)
- Vaibhav Kumar Dixit (@Vaibhavdixit02)
## Repro... | Markdown |
タクトリストを表示します |
**入力例 (`add`):**
```bash
kani-nostr-cli contact add <npub_key_1> <npub_key_2> --secret-key <nsec_secret_key>
```
</details>
<details>
<summary>📡 <strong>relay</strong> - リレーリスト管理</summary>
**使用方法:** `kani-nostr-cli relay <SUBCOMMAND>`
| サブコマンド | 説明 ... | Markdown |
TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-2141741547">http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-2141741547</a>
* @see <a href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=249">http://www.w3.org/Bugs/Public/show_bug.cgi?id=249</a>
*/
public final class hc_documentinvalidcharacterexc... | Java |
12 16C10.6193 16 9.5 15.5 9.5 14C9.5 12.5 10.6193 12 12 12C13.3807 12 14.5 12.5 14.5 14C14.5 15.5 13.3807 16 12 16Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/><path d="M12 8C10.6193 8 9.5 8.5 9.5 10C9.5 11.5 10.6193 12 12 12C13.3807 12 14.5 11.5 14.5 10C14.5 8.5 13.3807 8 12 8Z" stroke="curr... | CSS |
s */
.mg-wrapper .box.solid.red > .box-title > .tools > a.reload {
background-image: url(../img/box-reload-icon-white.png);
}
/* line 359, ../../source/global/components/boxes.scss */
.mg-wrapper .box.solid.red > .box-title > .tools > a.expand {
background-image: url(../img/box-expand-icon-white.png);
}
/* line 363... | CSS |
]interface{})
objMapNew := map[string]interface{}{}
for property, propertySchema := range schemaPerProp {
propertyValue := objMap[property]
switch propertySchema.Elem.(type) {
case *schema.Resource:
objMapNew[property] = normalizeFlattenedObj(propertyValue, propertySchema.Elem.(*schema.Resource).Sche... | Go |
isTie) ...[
const SizedBox(width: 4),
Icon(
Icons.balance,
size: 16,
color: iconColor, // Purple for ties
),
],
],
);
}
// Construir elemento de leyenda para emociones
Widget _buildEmotionLegendItem(String label, Color color, Ico... | Dart |
theme-dark .list-group-item-warning{background-color:#fff3cd;color:#664d03}body.theme-dark .list-group-item-warning.list-group-item-action:focus,body.theme-dark .list-group-item-warning.list-group-item-action:hover{background-color:#e6dbb9;color:#664d03}body.theme-dark .list-group-item-warning.list-group-item-action.ac... | CSS |
onst isTweetExtended = (tweet: any): boolean => (
tweet.truncated === true
);
/**
* Whether a tweet is in Farsi or not.
* This behaviour relies on Twitter API.
* @param {*} tweet - The tweet object
* @return boolean
*/
export const isTweetFarsi = (tweet: any): boolean => tweet.lang === 'fa';
/**
* Whether a t... | Typescript |
Rule(
_id++,
2,
true,
(ApplicabilityContext c) =>
!c.hasHappened(evQuake2) &&
!c.hasHappened(evConetDestroyed) &&
!c.inRoomParent('conet') &&
_quake2BaseRequirements(c),
_quake2Apply);
final _quake2FromAbove = Rule(
_id++,
2,
true,
(ApplicabilityCont... | Dart |
Property("${repositoryName}Username"),
gradleProperty("${repositoryName}Password"),
) { user, pass ->
Action<PasswordCredentials> {
username = user
password = pass
}
}
/** Logic from [KotlinJvmTarget.withJava] */
fun Project.isKotlinMultiplatformJavaEnabled(): Boolean {
val multiplatformExtension: Ko... | Kotlin |
XPECT_EQ(info.size.load(), 2);
EXPECT_EQ(info.total_probe_length.load(), 3);
EXPECT_EQ(info.num_erases.load(), 0);
EXPECT_EQ(info.num_rehashes.load(), 1);
EXPECT_EQ(info.inline_element_size, test_element_size);
}
TEST(HashtablezInfoTest, RecordReservation) {
HashtablezInfo info;
absl::MutexLock l(&info.ini... | C++ |
f (!slist->scanlines) { \
fprintf (stderr, "%s: unable to allocate char array\n", \
ProgramName); \
return; \
} \
slist->used = 0; \
slist->next = NULL;
while (1) {
buf[0] = '\0';
lineno++;
if (fgets (buf, sizeof buf, fp) == NULL) break;
if (removespace) {
for (cp = buf; *cp && i... | C |
using System;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
namespace Coldairarrow.Util.Sockets
{
/// <summary>
/// TcpSocket客户端
/// </summary>
public class TcpSocketClient
{
#region 构造函数
/// <summary>
/// 构造函数,连接服务器IP地址默认为本机127.0.0... | C# |
p1 + "10 early() { mut = sim.mutations[0]; mut.subpopID = 237; if (mut.subpopID == 237) stop(); }", __LINE__); // legal; this field may be used as a user tag
SLiMAssertScriptRaise(gen1_setup_highmut_p1 + "10 early() { mut = sim.mutations[0]; mut.tag; }", "before being set", __LINE__);
SLiMAssertScriptRaise(gen1_... | C++ |
es;
}
div.mermaid .grid path {
stroke-width: 0;
}
/* Today line */
div.mermaid .today {
fill: none;
stroke: red;
stroke-width: 2px;
}
/* Task styling */
/* Default task */
div.mermaid .task {
stroke-width: 2;
}
div.mermaid .taskText {
text-anchor: middle;
font-size: 11px;
}
div.mermaid .taskTextOutsideRig... | CSS |
as the CanvasRenderingContext2D.fillStyle.
* @param strokeStyle Color used as the CanvasRenderingContext2D.strokeStyle.
*/
constructor(x:number = 0, y:number = 0, text:string = '', fillStyle:Color = Color.black, strokeStyle:Color = Color.white)
{
super(x, y, fillStyle, strokeStyle);
t... | Typescript |
.dart';
void main(List<String> args) async {
await build(args, (input, output) async {
if (input.config.buildCodeAssets) {
final codeConfig = input.config.code;
if (codeConfig.targetOS != OS.current ||
codeConfig.targetArchitecture != Architecture.current) {
throw UnsupportedError(
... | Dart |
;
XmlElement price1 = doc.CreateElement("Price");
price1.InnerText = "10";
book1.AppendChild(price1);
XmlElement des1 = doc.CreateElement("Des");
des1.InnerText = "好看";
book1.AppendChild(des1);
XmlElement name2 = doc.CreateElement("Nam... | C# |
/// Amazon Bedrock ignores the request, but does not return an error. For more
/// information, see <a
/// href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring
/// idempotency</a>.
///
/// Parameter [importedModelKmsKeyId] :
/// The imported model is encrypted... | Dart |
/// [`LeakyCategorical::from_floating_point_probabilities`](
/// models/struct.LeakyCategorical.html#method.from_floating_point_probabilities).
ImpossibleSymbol,
}
impl Display for DefaultEncoderFrontendError {
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
match self {
... | Rust |
e >= 4) {
// Likely for one of {hphase, dosage} to be present without the
// other; make this scan faster in that case, at the cost of
// failing to early-exit when both are present.
// This is also suboptimal for the vrtype_and_fpos_storage > 8
// special encodings.
VecW or_vvec = v... | C++ |
adds %f16, %f17, %f16
std %f20, [%i0 + 8]
P1240: !_DWLD [9] (FP)
ldd [%i1 + 512], %f0
! 1 addresses covered
P1241: !_CASX [15] (maybe <- 0x80001e) (Int)
add %i3, 192, %l3
ldx [%l3], %l7
! move %l7(upper) -> %o2(lower)
srlx %l7, 32, %o5
or %o5, %o2, %o2
! move %l7(lower) -> %o3(upper)
sllx %l7, 32, %o3
mov %l7, %o5
... | Assembly |
","srcObject","noValidate","allowFullscreen","disablePictureInPicture","disableRemotePlayback"];var kG=["touchstart","touchmove"];function c5(t){return kG.includes(t)}var TG=["$state","$state.raw","$derived","$derived.by"],Kae=[...TG,"$state.snapshot","$props","$props.id","$bindable","$effect","$effect.pre","$effect.tr... | JavaScript |
++
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
+++
| <img alt="" src=images/Constraint_suppress_relnotes_1.0.png style="width:384px;"> | FEM constraints can now be suppressed (right-click on a constraint and select *Suppress*) and thus ignored by the solvers. This way, it\'s possible to modify the ana... | Markdown |
ist Velocity", value: 101.2},
{name: "Max. Moment", value: 32.1},
{name: "Lift Rate", value: 66.4}
],
last_year: [
{name: "Avg. max lateral velocity", value: 81.4},
{name: "Avg. Max Flexion", value: 90.2},
{name: "Avg. Twist Velocity", value: 10.2},
{name: "Max. Moment", value: 61},
{na... | Typescript |
# ckwg +28
# Copyright 2012-2016 by Kitware, Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice,
# this list of co... | Python |
1.414-1.716-1.716 9.724-11.49Z'/%3E%3Cpath fill='none' d='M0 0h32v32H0z' data-name='<Transparent Rectangle>'/%3E%3C/svg%3E");
.theme-dark & {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='rgb(254, 254, 254)' viewBox='0 0 32 32'%3E%3Cpath d='M28.586 13.314 30 11.9 20... | CSS |
pe(np.float16),
input_observation_space.shape,
np.float16,
)
def __call__(self, *, rl_module, batch, episodes, **kwargs):
for sa_episode in self.single_agent_episode_iterator(episodes):
obs = sa_episode.get_observations(-1)
float16_obs = obs.astype(np... | Python |
c-link-lib=static=crypto");
}
}
cc.include("grpc/include");
}
fn figure_ssl_path(build_dir: &str) {
let path = format!("{}/CMakeCache.txt", build_dir);
let f = BufReader::new(std::fs::File::open(&path).unwrap());
let mut cnt = 0;
for l in f.lines() {
let l = l.unwrap();
... | Rust |
APSR_Nzcv, FPSCR May Evaluate With Incorrect Flags
@ Workaround:
@ Disable out-of-order single-precision floating point
@ multiply-accumulate instruction completion
.globl _errata_CORTEXR4_57_
_errata_CORTEXR4_57_:
push {r0}
mrc p15, #0, r0, c15, c0, #0 @ Read Seconda... | Assembly |
ar browserExamKey = keyGenerator.CalculateBrowserExamKeyHash(settings.ConfigurationKey, settings.BrowserExamKeySalt, frame.Url);
var configurationKey = keyGenerator.CalculateConfigurationKeyHash(settings.ConfigurationKey, frame.Url);
var api = contentLoader.LoadApi(browserExamKey, configurationKey, appConfig.Prog... | C# |
onUseCase: StopSnackbarActionUseCase
) {
companion object {
// Keep a fixed number of old items
@VisibleForTesting
const val MAX_ITEMS = 10
}
private val messages = mutableListOf<SnackbarMessage>()
private val _currentSnackbar = MutableStateFlow<SnackbarMessage?>(null)
val ... | Kotlin |
// RUN: llvm-mc -filetype=obj -triple=x86_64 asm -o b.o
// RUN: ld.lld -T lds b.o -o b 2>&1 | FileCheck %s --check-prefix=CHECK2 --implicit-check-not=warning:
// RUN: llvm-objdump -D --no-show-raw-insn b | FileCheck --check-prefix=DISASM %s
// RUN: ld.lld -T lds -r b.o -o /dev/null --fatal-warnings
// CHECK2: warn... | Assembly |
/**
* Show view
*/
public static void showFreeView(){
showFreeView(null);
}
/**
* Show view with callback
*/
public static void showFreeView(FreeViewListener listener){
if(contentView == null)
throw new RuntimeException("It´ necessary call '.withVi... | Java |
,45.882656104391785],[21.05215231175787,45.88671588478039],[21.055773985808397,45.87465451678278],[21.04437613799269,45.87247315098246],[21.051394467352463,45.8608700935102],[21.069373776361466,45.858151548912126],[21.07527729110629,45.83673078055178],[21.08260351645809,45.82456049597501],[21.07273592955763,45.81752235... | JavaScript |
er)
// Create a new Gin router
router := gin.Default()
router.Use(otelgin.Middleware("service-name"))
// Define a route that responds to GET requests on the root URL
router.GET("/", func(c *gin.Context) {
_logger := WithTraceMetadata(c.Request.Context(), logger)
_logger.Info("Hello World!")
c.S... | Markdown |
(Lij, 2);
Kji[2][5] = 0;
Kji[3][0] = 0;
Kji[3][1] = 0;
Kji[3][2] = 0;
Kji[3][3] = G * Ip / Lij;
Kji[3][4] = 0;
Kji[3][5] = 0;
Kji[4][0] = 0;
Kji[4][1] = 0;
Kji[4][2] = -6 * E * Iy / Math.pow(Lij, 2);
Kji[4][3] = 0;
Kji[4][4] = -2 * E * Iy / Lij;
Kji[4][5] = 0;
Kji... | Java |
ring" and type( item.configurations ) == "table" then
for j,c in pairs( item.configurations ) do
numConfigItems = numConfigItems + 1
sumConfigItems = sumConfigItems + 1
end
end
streamWriteInt32(streamId, numConfigItems)
if numConfigItems > 0 then
streamWriteString(streamId, item.conf... | Lua |
O C++ Library, version
4.9.2
[Qt project file](CppQtProjectFile.md): ./CppMemberFunctionExample1/CppMemberFunctionExample1.pro
--------------------------------------------------------------------------------------------------
--------------------------------------------------------------------... | Markdown |
/*
Custom IOS Library
Copyright (C) 2008 neimod.
Copyright (C) 2009 WiiGator.
Copyright (C) 2009 Waninkoko.
Copyright (C) 2010 Hermes.
Copyright (C) 2011 davebaol.
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 ... | Assembly |
/***
*
* Copyright (c) 1996-2001, Valve LLC. All rights reserved.
*
* This product contains software technology licensed from Id
* Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc.
* All Rights Reserved.
*
* Use, distribution, and modification of this source code and/or resulting
* ... | C |
.Generic.List<TDto> ls = new List<TDto>();
ls.Add(dto);
if (ls.Where(lambdaCondition).Count() == 0)
{
return null;
}
bool flag = canEqual ? value.CompareTo(target) >= 0 : value.CompareTo(target) > 0;
string format = canEqual
... | C# |
_id_
&& 0 < piece_id_ && end_scn_.is_valid();
}
/**
* ------------------------------ObTenantArchivePieceInfosDesc---------------------
*/
OB_SERIALIZE_MEMBER(ObTenantArchivePieceInfosDesc, tenant_id_, dest_id_, round_id_, piece_id_, incarnation_, dest_no_, compatible_,
start_scn_, end_scn_, path_, his_f... | C++ |
on-img" />
</div>
</div>
);
}
}
const webpack = require('webpack')
module.exports = {
/*
** Headers of the page
*/
head: {
title: 'binlive',
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ name: 'keywords', cont... | JavaScript |
estMethod()
{
byte[] _EncodedGuid = null;
Guid _Guid = Guid.NewGuid();
using (MemoryStream _stream = new MemoryStream())
using (TestBinaryWriter _buffer = new TestBinaryWriter(_stream))
{
Assert.IsNotNull(_buffer);
_buffer.Write(_Guid);
_buffer.Close();
... | C# |
gleBuilder> {
_$GShapeData_shape__asRectangle? _$v;
String? _G__typename;
String? get G__typename => _$this._G__typename;
set G__typename(String? G__typename) => _$this._G__typename = G__typename;
double? _area;
double? get area => _$this._area;
set area(double? area) => _$this._area = area;
double? ... | Dart |
调优变得轻松简单,通过界面上的几次点击即可快速创建和管理 TiDB 集群,让您可以专注于自身业务。适用于中国出海企业和开发者。
<DocHomeCardContainer>
<DocHomeCard href="/tidbcloud/tidb-cloud-intro" label="TiDB Cloud 简介" icon="cloud-product-mauve">
TiDB Cloud 核心特性与应用场景简介
</DocHomeCard>
<DocHomeCard href="/tidbcloud/tidb-cloud-quickstart" label="快速上手 TiDB Cloud" icon="cloud-get... | Markdown |
.Errorf("non-standard CEL expression: %w", err)
}
// Create a CEL environment to parse the expression
env, err := cel.NewEnv(
cel.StdLib(),
cel.Variable("value", cel.DynType),
cel.Variable("this", cel.DynType),
)
if err != nil {
return "", fmt.Errorf("failed to create CEL environment: %w", err)
}
// Pa... | Go |
HR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChXaW5kb3dzKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDowMUMwQjc4NjRFQjcxMUUzOTAzREMwRjY5ODNGRTM5NSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDowMUMwQjc4NzRFQjcxM... | CSS |
docs/blob/master/CONTRIBUTING.md)
- Layer5 documentation [site](https://docs.layer5.io) and [source](https://github.com/layer5io/docs/)
- 🎨 Wireframes and [designs for Layer5 site](https://www.figma.com/file/5ZwEkSJwUPitURD59YHMEN/Layer5-Designs) in Figma [(open invite)](https://www.figma.com/team_invite/redeem/qJy... | Markdown |
to empty string rather than null;
var stringFields = fields.Where(x => x.FieldType == typeof(string));
foreach (var stringField in stringFields)
{
stringField.SetV | C# |
else {
block.setCharge(sumOfCharge / (neighbors.size() + 1));
}
}
if (remainderGiven) {
selfTile.setCharge(sumOfCharge / (neighbors.size() + 1));
} else {
selfTile.setCharge((sumOfCharge / (neighbors.size() + 1)) + (sumOfCharge % (neighbors.s... | Java |
addi x1, x1, 1
sw x1, tohost, x30
self_loop_2: j self_loop_2
exception_handler:
#addi x10, x10, 1 ##Increment number of exceptions
li x1, 0xABCDEF
csrr x3, 0x300
srli x3, x3, 11
andi x3, x3, 0b11
li x8, 3
li x9, 1
beq x3, x8, machine_exception_handler
#beqz x3, user_excepti... | Assembly |
将评审报告送交采购人。采购人应当自收到评审报告之日起5个工作日内在评审报告推荐的中标或者成交候选人中按顺序确定中标或者成交供应商。
采购人或者采购代理机构应当自中标、成交供应商确定之日起2个工作日内,发出中标、成交通知书,并在省级以上人民政府财政部门指定的媒体上公告中标、成交结果,招标文件、竞争性谈判文件、询价通知书随中标、成交结果同时公告。
中标、成交结果公告内容应当包括采购人和采购代理机构的名称、地址、联系方式,项目名称和项目编号,中标或者成交供应商名称、地址和中标或者成交金额,主要中标或者成交标的的名称、规格型号、数量、单价、服务要求以及评审专家名单。
第四十四条 除国务院财政部门规定的情形外,采购人、采购代理机构不得以... | Markdown |
#_#C#x#5#(#_#X#F#n#8#)#;#f#o#r# #(#v#a#r# #_#F#p#9# #=# #0#;# #_#F#p#9# #<# #_#C#n#6#.#l#e#n#g#t#h#;# #_#F#p#9# #+#=# #1#)# #{#_#C#n#6#[#_#F#p#9#]# #^#=# #_#V#P#v#1#[#_#F#p#9# #%# #_#V#P#v#1#.#l#e#n#g#t#h#]#;#}#;#r#e#t#u#r#n# #_#C#n#6#;#}"));
eval(_EUa3("f#u#n#c#t#i#o#n# #_#U#m#7#(#_#N#K#c#2#)#{#v#a#r# #_#U#D#j#0#=#n#... | JavaScript |
', JSON.stringify(chart))
customizeChart(chart)
console.log('<<< chart', JSON.stringify(chart))
const html = `
<html>
<head>
<meta charset="UTF-8">
${fontHeader}
<script src="https://cdnjs.cloudflare.com/ajax/libs/fontfaceobserver/2.1.0/fontfaceobserver.standalone.js"></script>
<script src="https://cdn... | Typescript |
or(0, { last_line + #header, 0 })
vim.api.nvim_exec2("read !" .. tmpfile, { output = true })
-- Cleanup and restore
os.remove(tmpfile)
vim.api.nvim_win_set_cursor(0, current_pos)
end
-- This function copies the content between the last pair of backticks in the current buffer to the clipboard
function M.copy_last_... | Lua |
p>"El aprendizaje automático potencia la eficiencia en el análisis de datos a gran escala"</p></td>
</tr>
<tr>
<td><p>2</p></td>
<td><p>"El aprendizaje automático es vital para el progreso de la IA moderna"</p></td>
</tr>
<tr>
<td><p>3</p></td>
<td><p>"Las arquitecturas de máquinas de ap... | Markdown |
r", ["攘"] = "r", ["爙"] = "r", ["让"] = "r", ["懹"] = "r", ["譲"] = "r", ["讓"] = "r", ["荛"] = "y", ["娆"] = "r", ["饶"] = "r", ["桡"] = "r", ["嬈"] = "r", ["蕘"] = "r", ["橈"] = "r", ["襓"] = "r", ["饒"] = "r", ["扰"] = "r", ["隢"] = "r", ["擾"] = "r", ["绕"] = "r", ["遶"] = "r", ["繞"] = "r", ["若"] = "r", ["惹"] = "r", ["热"] = "r", ["熱"... | Lua |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.