content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
-900
),
$grays
);
$blue: #3b82da;
$indigo: #675aa9;
$purple: #6559cc;
$pink: #f672a7;
$red: #f1556c;
$orange: #fd7e14;
$yellow: #f7b84b;
$green: #1abc9c;
$teal: #02a8b5;
$cyan: #4ad0e6;
$colors: ();
// stylelint-disable-next-line scss/dollar-variable-default
$co... | CSS |
str = false;
break;
}
}
}
if (is_str) {
printf("[%s]: [%s]\n", name, value);
} else {
printf("[%s]: <bytes>(%d)\n", name, size);
}
}
// Recursive
if (depth_set[depth]) {
int child;
int p... | C++ |
82;
break _81;
}
}
if(r2 ==0) //_LBB738_92
{
__label__ = 83;
}
else{
r6 = (r2 + -1)|0;
r0 = (r7 + 1)|0;
r2 = 46;
heap8[r7] = r2;
if(r5 ==0) //_LBB738_83
{
if(!(r4 !=0)) //_LBB738_85
{
r3 = (r1 + r3)|0;
r3 = (r3 + 1)|0;
r4 = (r3 - r0)|0;
}
}
else{
r3 = r4 == 0 ? r3 : r4;
r3 = (r1 + r3)|0;
r3 = (r3 + 1)|0;
... | JavaScript |
5CC4 01EE7821 */ addu $t7, $t7, $t6
/* 09E738 80115CC8 8DEFE350 */ lw $t7, %lo(D_800DE350)($t7)
/* 09E73C 80115CCC 34840004 */ ori $a0, (0x00060004 & 0xFFFF) # ori $a0, $a0, 4
/* 09E740 80115CD0 0C02A806 */ jal func_800AA018
/* 09E744 80115CD4 AC4F0000 */ sw $t7, ($v0)
/* 09E748 80115CD8 8FB8001C */ lw ... | Assembly |
metas.process.IProcessPrecondition;
import de.metas.process.Param;
import de.metas.process.ProcessPreconditionsResolution;
import de.metas.process.RunOutOfTrx;
import de.metas.quantity.Quantity;
import de.metas.ui.web.pporder.PPOrderLineRow;
import de.metas.ui.web.pporder.PPOrderLineType;
import de.metas.ui.web.pporder... | Java |
private fun getWaterDropIndicator(
radius: Float,
fraction: Float, // 0.0 -> 1.0
interval: Float,
) : Path {
var path = Path()
// 中间大圆的坐标
val outerX = interval / 2
val outerY = interval
val outerR = hypot(outerX, outerY) - radius
// 绘制当前移动点的圆
val nowX = fraction * interval
val nowR = hypot(outerX... | Kotlin |
X(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z));
}
.fixed-lb {
position: fixed;
left: 0;
bottom: 0;
}
.fixed-lt {
position: fixed;
left: 0;
top: 0;
}
.p-30rpx {
padding: 30rpx;
}
.px {
padding-left: 32rpx;
padding-right: 32rpx;
}
.p... | CSS |
float c = Vector3.Dot(oc, oc) - Radius * Radius;
float discriminant = b * b - 4.0f * a * c;
if (discriminant < 0)
{
return false;
}
float root = (-b - MathF.Sqrt(discriminant)) / (2.0f * a);
if (root < tMin || root > tMax)
... | C# |
or charge
'roman numeral': /^[IVX]+/,
'1/2$': /^[+\-]?(?:[0-9]+|\$[a-z]\$|[a-z])\/[0-9]+(?:\$[a-z]\$|[a-z])?$/,
'amount': function amount(input) {
var match; // e.g. 2, 0.5, 1/2, -2, n/2, +; $a$ could be added later in parsing
match = input.match(/^(?:(?:(?:\([+\-]?[0-9]+\/[0-9]+\)|... | JavaScript |
别 | 请找出以下句子中所有的人名、地名和组织名。|
| 问答系统 | 回答以下问题:xxx。|
| 知识图谱 | 建立一个关于某一主题的知识图谱,包括概念、实体、属性及它们之间的关系。|
| 文本分类 | 给定一篇文章,请将其分类为政治、经济、娱乐等不同的类别。|
| 文本摘要 | 请从下面这篇文章中提取出摘要,并用一段话总结文章的主旨。|
| 对话生成 | 编写一段对话,其中有两个角色互相交流。|
| 文本纠错 | 请修改以下句子中的语法错误并给出修改后的句子。|
| 分类 | 基于消费者行为数据,如何将用户分为三种不同的购买类型? |
| 开放生成 | 描述一个完美的周末旅行计划。 |
| 编辑 | 将以下这段话中的语法错误修... | Markdown |
font-weight: 600;
background: rgba(255, 255, 255, 0.8);
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}
.wp-core-ui .attachment .filename div {
padding: 5px 10px;
}
.wp-core-ui .attachment .thumbnail img {
position: absolute;
}
.wp-core-ui .attachment-close {
display: block;
position: absolute;
top: 5px;
... | CSS |
::current_directory().split(xtd::io::path::directory_separator_char())};
if (directories.count() < 2) return "";
directories.remove_at(directories.count() - 2);
return xtd::io::path::combine(directories);
}
return xtd::io::path::get_full_path(path);
}
static xtd::string ... | C++ |
02,0x40 = strh.w r4, [r5, r2]
0x20,0xf8,0x32,0x60 = strh.w r6, [r0, r2, lsl #3]
0x28,0xf8,0x22,0x80 = strh.w r8, [r8, r2, lsl #2]
0x2d,0xf8,0x12,0x70 = strh.w r7, [sp, r2, lsl #1]
0x2d,0xf8,0x02,0x70 = strh.w r7, [sp, r2]
0x22,0xf8,0x00,0x1e = strht r1, [r2]
0x28,0xf8,0x00,0x1e = strht r1, [r8]
0x28,0xf8,0x03,0x1e = st... | C# |
.operands);
}
}
class BytecodeDisassembler {
late Uint8List _bytecode;
late List<Instruction> _instructions;
late int _labelCount;
late Map<int, String> _labels;
late Map<int, List<String>> _markers;
String disassemble(List<int> bytecode, ExceptionsTable exceptionsTable,
{List<Map<int, String>>? a... | Dart |
"Ellie",
"Joshua",
"Liam",
"CantResearch",
"CantBuild",
"CantCook",
"CantDig",
"Hemophobia",
"ScaredyCat",
"Allergies",
"MouthBreather",
"CalorieBurner",
"SmallBladder",
"Anemic",
"SlowLearner",
"NoodleArms",
"InteriorDecorator",
"SimpleTastes",
... | JavaScript |
m_start, m_end)
end
end
-- check for tags in frontmatter
if n_matches == 0 and note.tags ~= nil and (vim.startswith(line, "tags:") or string.match(line, "%s*- ")) then
for tag in iter(note.tags) do
tag = tostring(tag)
for _, t in ipairs(terms) do
if st... | Lua |
RemainingBytes -= LoadBytes;
Offset += LoadBytes;
BasePTR = DAG.getObjectPtrOffset(dl, BasePTR, LoadBytes);
LoadVals.push_back(ScalarLoad.getValue(0));
LoadChains.push_back(ScalarLoad.getValue(1));
}
unsigned BitOffset = 0;
unsigned WideIdx = 0;
unsigned WideBits = Wid... | C++ |
ACTOR_DEFINITION_WORKSPACE_GRANT_TABLE))
.columns(
DSL.field(ACTOR_DEFINITION_ID),
DSL.field(WORKSPACE_ID),
).values(
actorDefinitionId,
workspaceId2,
).execute()
// Applying the migration
devConfigsDbMigrator!!.migrate()
Assertions.assertTrue(scopeColumns... | Kotlin |
d {"is_last": i == n - 1, "candidate_label": candidate_label, **inputs}
def _forward(self, model_inputs):
is_last = model_inputs.pop("is_last")
candidate_label = model_inputs.pop("candidate_label")
outputs = self.model(**model_inputs)
# Clip does crossproduct scoring by default, so... | Python |
ze scratch memory
la t5, scratch
li t1, 0xDEADBEEF
sw t1, 0(t5)
sw t1, 4(t5)
sw t1, 8(t5)
sw t1, 12(t5)
// Initialize floating point registers used
li t0, 1
fcvt.s.w f0, t0
li t0, 2
fcvt.s.w f1, t0
li t0, 3
fcvt.s.w f2, t0
li t0, 4
... | Assembly |
sd/map_message_epoch_dups", 0, 1, {0}, ""},
{ "osd/messages_delayed_for_map", 0, 1, {0}, ""},
{ "osd/stat_bytes", pmjson_flag_u64, 1, {0}, ""},
{ "osd/stat_bytes_used", pmjson_flag_u64, 1, {0}, ""},
{ "osd/stat_bytes_avail", pmjson_flag_u64, 1, {0}, ""},
{ "osd/copyfrom", 0, 1, {0}, ""},
{ "osd/... | C |
yRegionProvider)
provideCtx := baseProvideCtx
provideCtx.BucketRegion = "us-west-1"
env, _, err := provider.Provide(context.Background(), provideCtx)
assert.NoError(t, err)
assert.Equals(t, envprovider.Environment{
"AWS_ROLE_ARN": testRoleARN,
"AWS_WEB_IDENTITY_TOKEN_FILE": filepath.... | Go |
m.vaadin.ui.PasswordField;
import com.vaadin.ui.VerticalLayout;
import com.vaadin.ui.themes.Reindeer;
/**
* @author Joram Barrez
*/
public class ChangePasswordPopupWindow extends PopupWindow {
private static final long serialVersionUID = 1L;
protected transient IdentityService identityService;
protected... | Java |
FLAG_ACTIVITY_NEW_TASK or Intent.FLAG_ACTIVITY_CLEAR_TASK
startActivity(this)
}
}
viewModel.withdrawState.asLiveData().observe(this) {
when (it) {
is WithdrawState.Loading -> {
}
is WithdrawState.Success -> {
... | Kotlin |
22BB0 0001E810 7C 64 1B 78 */ mr r4, r3
/* 80022BB4 0001E814 38 65 8D 3C */ addi r3, r5, lbl_80408D3C@l
/* 80022BB8 0001E818 4C C6 31 82 */ crclr 6
/* 80022BBC 0001E81C 4B FE 99 71 */ bl func_8000C52C
/* 80022BC0 0001E820 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80022BC4 0001E824 7C 08 03 A6 */ mtlr r0
/* 80022BC8 0001... | Assembly |
@todo this should live in a UnitCell class eventually
// Stable sort both ids and coords together to group all entries in
// ids together. Entries are not sorted in any particular order,
// just grouped. uniqIds and idCounts will contain a unique list of
// all ids in same order as in the sorted ids and a list... | C++ |
not match. A score that is near zero is inconclusive and can result from low coverage
* or non-informative genotypes. Each group is assigned a sample identifier (for SAM this is taken from the SM tag in
* the appropriate readgroup header line, for VCF this is taken from the column label in the file-header.
* After ... | Java |
2513945, byteArrayOf(-26491762513945, 6u, LITTLE_ENDIAN).getInt48(order = LITTLE_ENDIAN))
assertEquals(-1, byteArrayOf(-1, 6u, LITTLE_ENDIAN).getInt48(order = LITTLE_ENDIAN))
assertEquals(-1, byteArrayOf((-1).toLong(), 6u, LITTLE_ENDIAN).getInt48(order = LITTLE_ENDIAN))
}
@Test
fun test_uin... | Kotlin |
using UnityEngine;
using UnityEditor;
namespace RFUniverse
{
public class SDKExporter : Editor
{
[MenuItem("RFUniverse/Export SDK Package")]
public static void Export()
{
//string[] defines = PlayerSettings.GetScriptingDefineSymbolsForGroup(BuildTargetGroup.Standalone).Spli... | C# |
876 15.788450853209103, -6.660469975733861 17.013455645422543, 23.218452710658312 16.434290450066328 M-25.553548911586404 14.136994550004601 C-13.522427176309195 14.616907713789765, -2.6283694211345257 15.70479804076654, 25.698304971680045 15.38278223015368"></path><g id="sbsvgG2978" data-name="topic-content" transform... | JavaScript |
@part of static recompiler -- do not edit
@@
@@ Copyright (C) 2016-2019 Roman Pauer
@@
@@ Permission is hereby granted, free of charge, to any person obtaining a copy of
@@ this software and associated documentation files (the "Software"), to deal in
@@ the Software without restriction, including without limitatio... | Assembly |
,
{ val : 2, text : 'Basketball' },
{ val : 3, text : 'Handball' }
]
}
```
```js
{
block : 'radio-group',
mods : { theme : 'islands', size : 'm', type : 'button', disabled : true },
name : 'radio-button',
val : 2,
options : [
{ val : 1, text : 'Football' },
{ val... | Markdown |
key();
// deploy contract
let mut context = Context::default();
let contract_bin: Bytes = Loader::default().load_binary("ckb-dex-contract");
let out_point = context.deploy_cell(contract_bin);
let secp256k1_bin: Bytes =
fs::read("../ckb-miscellaneous-scripts/build/secp256k1_blake2b_sighash_... | Rust |
3c1c", false)]
[TestCase("corefx", "bc0cfc49d1a8c1681fb09603f3389ef65342d542", true)]
[TestCase("corefx", "bc0cfc49d1a8c1681fb09603f3389ef65342d542", false)]
public async Task ValidateGraph(string rootRepo, string rootCommit, bool includeToolset)
{
await DependencyTestDriver.GetGraphAndCompare("... | C# |
ame="/api/routing/state",
msg_type=RouteState,
depth=1)
# subscribe autoware state
spec_autoware_state_sub = SubscriptionSpec(name="/autoware/state",
msg_type=AutowareState,
... | Python |
t)
rdb := test.NewDBProviderNopSQL(t)
// setup expectations
req.EXPECT().DialectName().Return("test").Maybe()
req.EXPECT().GetColNames().Return(nil).Maybe()
req.EXPECT().Validate().Return(nil).Once()
// execute and assert
res, err := Exec(ctx, rdb.DB, invalidTestTmpl, req)
require.Zero(t, res)
requi... | Go |
Cfg.count; i++ {
// Advance the columnar framer.
colWindowFramer.next(testCfg.evalCtx.Ctx())
// Advance the row-wise framer.
if testCfg.ordered {
vec, vecIdx, _ := partition.GetVecWithTuple(testCfg.evalCtx.Ctx(), peersColIdx, i)
if i > 0 && vec.Bool()[vecIdx] {
rowWindowFramer.CurRowPeerGroupNum++
... | Go |
.x.width; x++) {
for (var y = 0; y < this.x.height; y++) {
final re = lerpDouble(
zoomedWindow.left, zoomedWindow.right, x / this.x.width)!,
im = lerpDouble(
zoomedWindow.top, zoomedWindow.bottom, y / this.x.height)!;
var n = 0;
var zre = re, zi... | Dart |
'|'partial'|'experimental-local';
}
/**
* Miscellaneous options that don't fall into any other category
*
* @publicApi
*/
export interface MiscOptions {
/**
* Whether the compiler should avoid generating code for classes that haven't been exported.
* Defaults to `true`.
*/
compileNonExportedClasses?: ... | Typescript |
tack
pub mod post_route;
pub mod reusable;// Copyright 2017-2018 Maskerad Developers
//
// Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or
// http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
// http://opensource.org/licenses/MIT>, at your option. This file may not be
// copi... | Rust |
R.code->StartBlock(R.RpoFor(b0));
int i0 = R.NewInstr();
int i1 = R.NewInstr();
R.code->EndBlock(R.RpoFor(b0));
R.code->StartBlock(R.RpoFor(b1));
int i2 = R.NewInstr();
int i3 = R.NewInstr();
int i4 = R.NewInstr();
int i5 = R.NewInstr();
R.code->EndBlock(R.RpoFor(b1));
R.code->StartBlock(R.RpoFor(... | C++ |
# -*- coding: utf-8 -*-
"""
Tests the hyper SSLContext.
"""
import hyper
from hyper.common.connection import HTTPConnection
from hyper.compat import ssl
import pytest
class TestSSLContext(object):
"""
Tests default and custom SSLContext
"""
def test_default_context(self):
# Create default SSLCo... | Python |
= node.name
}
// generate camera nodes
for (i in 0 until scene.numCameras) {
val node = AiNode()
nodes[nodesPtr++] = node
node.parent = scene.rootNode
node.name = "cam_$i"
... | Kotlin |
2900000000.0);
building(14, 'Chancemaker', 26000000000000000, 21000000000.0);
//
// Create all the dragon auras
//
dragonAura( 0, "No Dragon Aura" ); // Do nothing default dragon aura
dragonAura( 1, "Breath of Milk" ).scalesMilk(1.05);
dragonAura( 2, "Dragon Cursor" ).scalesClicking(1.05);
dragonA... | Typescript |
9: '९',
0: '०',
},
numberMap$7 = {
'१': '1',
'२': '2',
'३': '3',
'४': '4',
'५': '5',
'६': '6',
'७': '7',
'८': '8',
'९': '9',
'०': '0',
},
monthsPa... | JavaScript |
48" preserveAspectRatio="xMidYMid meet" viewBox="0 0 48 48"><path fill="currentColor" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="2" stroke-width="4" d="m8 28-2-4h36l-2 4M28 4 10 24h18V4Zm0 7 10 13H28V11ZM4 34l2.5 1.351c1.6.865 3.4.865 5 0 1.6-.864 3.4-.864 5 0 1.6.865 3.4.86... | Dart |
metav1.GetOptions{})
if err != nil {
t.Fatal("expected the pod still exists, but failed to get it with err:", err)
}
// verify the pod's annotation contains extension info set by the controller
terminationTime := interactedTime.Add(ttlDuration).Add(extendDuration).Truncate(time.Second)
expectedAnnotaitons := m... | Go |
auto & hparams = model.hparams;
const int n_embd = hparams.n_embd;
const int n_layer = hparams.n_layer;
const int n_ctx = hparams.n_ctx;
const int n_vocab = hparams.n_vocab;
model.layers.resize(n_layer);
model.ln_f_g = ggml_new_tensor_1d(ctx, GGML_TYPE_F32, n_embd)... | C++ |
3114907":"Casa Grande","3115003":"Cascalho Rico","3115102":"C\u00e1ssia","3115201":"Concei\u00e7\u00e3o da Barra de Minas","3115300":"Cataguases","3115359":"Catas Altas","3115409":"Catas Altas da Noruega","3115458":"Catuji","3115474":"Catuti","3115508":"Caxambu","3115607":"Cedro do Abaet\u00e9","3115706":"Central de Mi... | JavaScript |
db "github.com/hyperledger-labs/fabric-token-sdk/token/services/db/driver"
"github.com/hyperledger-labs/fabric-token-sdk/token/services/logging"
"github.com/hyperledger-labs/fabric-token-sdk/token/services/network"
"github.com/hyperledger-labs/fabric-token-sdk/token/services/network/common"
"github.com/hyperledge... | Go |
d room.y==1 then
_print("old site",24,4,0)
elseif level_index==30 then
_print("summit",28,4,0)
else
local level=(1+level_index)*100
_print(level.." m",28+(level<1000 and 2 or 0),4,0)
end
GFX.popContext()
if not this.pdspr then
this.pdspr = GFX.sprite.new(pdimg)
this.pdspr:s... | Lua |
facts = await provider.getArtifacts(targets);
void performLipo(String targetFile, Iterable<String> sourceFiles) {
runCommand("lipo", [
'-create',
...sourceFiles,
'-output',
targetFile,
]);
}
final outputDir = Environment.outputDir;
Directory(outputDir).crea... | Dart |
glTF::Vertex);
memcpy(uniformBuffers[currentBuffer].mapped, &uniformData, sizeof(uniformData));
}
void getEnabledFeatures()
{
// Enable features required for ray tracing using feature chaining via pNext
enabledBufferDeviceAddresFeatures.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURE... | C++ |
local EntityDynAttrCoeTableRow
local mgr = require("utility.table_manager")
local TableInitUtility = Panda.TableInitUtility
local super = require("table.table_manager_base")
local EntityDynAttrCoeTableMgr = class("EntityDynAttrCoeTableMgr", super)
function EntityDynAttrCoeTableMgr:ctor(ptr, fields)
super.ctor(self, ... | Lua |
class Patient:
"""Patient class"""
def __init__(self, first_name, surname, age, mobile, postcode,symptoms):
"""
Args:
first_name (string): First name
surname (string): Surname
age (int): Age
mobile (string): the mobile number
postcode(... | Python |
tic IWorkflowExecutionPipelineBuilder UseWorkflowContexts(this IWorkflowExecutionPipelineBuilder pipelineBuilder) => pipelineBuilder.UseMiddleware<WorkflowContextWorkflowExecutionMiddleware>();
/// <summary>
/// Installs middleware that enables the use of workflow context.
/// </summary>
public sta... | C# |
if err != nil {
return nil, err
}
return buf.Bytes(), nil
}
// Partial source file.
// Determine and prepend leading space.
i, j := 0, 0
for j < len(src) && isSpace(src[j]) {
if src[j] == '\n' {
i = j + 1 // byte offset of last line in leading space
}
j++
}
var res []byte
res = append(res, s... | Go |
");
else
_mappingSystem.ToggleAutosave(mapId, toLoad ?? "NEWMAP");
shell.ExecuteCommand($"tp 0 0 {mapId}");
shell.RemoteExecuteCommand("mappingclientsidesetup");
DebugTools.Assert(_mapSystem.IsPaused(mapId));
if (args.Length != 2)
... | C# |
nal_name(exception_code, buf, size)) {
jio_snprintf(buf, size, "SIG%d", exception_code);
}
return buf;
} else {
return NULL;
}
}
// this is called _before_ most of the global arguments have been parsed
void os::init(void) {
char dummy; /* used to get a guess on initial stack address */
// ... | C++ |
constructor() {}}',
'class x {get get() {}}',
'class x {prototype() {}}',
'class x {eval() {}}',
'class x {constructor(a, b, c) {}}',
'class x {static ["prototype"](){}}',
'class x {static constructor(){} static constructor(){}}',
'class x {static async method(a, b,) {}}',
'class x {asy... | Typescript |
;
} else {
return newSymbol;
}
}
default List<Condition> visitPreConditions(Symbol symbol) {
List<Condition> preConditions = new ArrayList<>();
for (Condition condition : symbol.getPreConditions()) {
preConditions.add(condition.accept(this));
}
... | Java |
s are automatically tested regarding the file names by
// the abstract parent class
assertEquals(TestSolution.NOT_TESTED,
consolidate("Rgaa30.Test.9.3.1-3NMI-01").getValue());
}
}
/*
* Tanaguru - Automated webpage assessment
* Copyright (C) 2008-2015 Tanaguru.org
*
* This prog... | Java |
0 = 91;
a0.a91 = 92;
a0.a92 = 93;
a0.a93 = 94;
a0.a94 = 95;
a0.a95 = 96;
a0.a96 = 97;
a0.a97 = 98;
a0.a98 = 99;
a0.a99 = 100;
a0.a100 = 101;
a0.a101 = 102;
a0.a102 = 103;
a0.a103 = 104;
a0.a104 = 105;
a0.a105 = 106;
a0.a106 = 107;
a0.a107 = 108;
a0.a108 = 109;
a0.a109 = 110;
a0.a... | Dart |
//
// Copyright (c) 2012 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// SwapChain.h: Defines a back-end specific class that hides the details of the
// implementation-specific swapchain.
#ifndef LIBGLESV2_RE... | C |
#include "textflag.h"
TEXT ·BytesToLowerASCII(SB),NOSPLIT,$0
// use the smaller of the two lengths to avoid out-of-bounds writes
MOVQ dst_len+8(FP), BX
MOVQ src_len+32(FP), DX
CMPQ DX, BX
JLT 2(PC)
MOVQ DX, BX
// BX contains length, DX is now a scratch reg
MOVQ dst_base+0(FP), AX
MOVQ src_base+24(FP), CX
//... | Assembly |
1",
"سورة الصف": "https://t.me/MaherSounds/62",
"سورة الجمعه": "https://t.me/MaherSounds/63",
"سورة المنافقون": "https://t.me/MaherSounds/64",
"سورة التغابن": "https://t.me/MaherSounds/65",
"سورة الطلاق": "https://t.me/MaherSounds/66",
"سورة التحريم": "https://t.me/MaherSounds/67",
"سورة الملك": "https://t.me/Ma... | Python |
rieved from the transient store, which is committed to the
// persistent KVStore after EndBlock (ABCI Commit).
parentBaseFee := params.BaseFee.BigInt()
if parentBaseFee == nil {
return nil
}
parentGasUsed := k.GetBlockGasWanted(ctx)
gasLimit := new(big.Int).SetUint64(math.MaxUint64)
// NOTE: a MaxGas equal ... | Go |
import ITriangle from "./triangle/ITriangle";
import GreenTriangle from "./triangle/GreenTriangle";
export default class NiceEntity implements ITypesFactory {
createCircle = (name: string): ICircle => new GreenCircle(name);
createTriangle = (): ITriangle => new GreenTriangle();
}import { TEMPERATURE_TYPE_IMP, ... | Typescript |
) {
params.n_ctx = value;
}
).set_env("LLAMA_ARG_CTX_SIZE"));
add_opt(common_arg(
{"-n", "--predict", "--n-predict"}, "N",
string_format("number of tokens to predict (default: %d, -1 = infinity, -2 = until context filled)", params.n_predict),
[](common_params & params... | C++ |
"""
pygments.lexers.typst
~~~~~~~~~~~~~~~~~~~~~
Lexers for Typst language.
:copyright: Copyright 2006-2024 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
from pygments.lexer import RegexLexer, words, bygroups, include
from pygments.token import Comment, Keyword, Na... | Python |
the whole path"
})
.expect(400);
await request(app)
.put(`/api/products/${response.body.id}`)
.set('Cookie', cookie)
.send({
title: 'alskdfjj',
imageURL: 'imageURL',
price: -10,
description: "erwerg"
})
.expect(400);
});
it('updates the product provided valid in... | Typescript |
blic override void Initialized(InitializationContext initializingContext)
{
base.Initialized(initializingContext);
_initializationJson = null;
}
#if UNITY_EDITOR
protected override bool UpdateUndoRedoSerializedFields()
{
if (base.UpdateUndoRedoSerial... | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace System.Windows.Forms
{
public class RibbonQuickAccessToolbarItemCollection : RibbonItemCollection
{
#region Fields
private RibbonQuickAccessToolbar _ownerToolbar;
#endregion
/// <summary>
/// ... | C# |
* while (p->pcb_uw > 0)
* save(), nsaves++;
* while (--nsaves >= 0)
* restore();
*/
ENTRY(write_user_windows)
sethi %hi(cpcb), %g6
ld [%g6 + %lo(cpcb)], %g6
b 2f
clr %g5
1:
save %sp, -64, %sp
2:
ld [%g6 + PCB_UW], %g7
tst %g7
bg,a 1b
inc %g5
3:
deccc %g5
bge,a 3b
restore
retl
nop
.comm _C_LAB... | Assembly |
ription
+ ", pattern:" + libraryLeak.pattern.toString())
val (gcRootType, referencePath, leakTraceObject) = libraryLeak.leakTraces[0]
val gcRoot = gcRootType.description
val labels = leakTraceObject.labels.toTypedArray()
leakTraceObject.leakingStatusReason = mLeakReasonTable[leakTrace... | Kotlin |
+ 1; i <= b; i++ {
for j := i; j > a && nums[j-1] > nums[j]; j-- {
nums[j-1], nums[j] = nums[j], nums[j-1]
}
}
}
func shellSort(nums []int, a, b int) {
for i := a + 6; i <= b; i++ {
if nums[i] < nums[i-6] {
nums[i], nums[i-6] = nums[i-6], nums[i]
}
}
insertionSort(nums, a, b)
}
// sort range [a,b]
... | Go |
[]byte {
i := len(source) - 1
for ; i >= 0; i-- {
c := source[i]
found := false
for j := 0; j < len(b); j++ {
if c == b[j] {
found = true
break
}
}
if !found {
break
}
}
return source[:i+1]
}
// TrimLeftLength returns a length of leading specified characters.
func TrimLeftLength(sourc... | Go |
h;
this.key = key;
this.value = value;
this.next = next;
}
public final K getKey() {
return key;
}
public final V getValue() {
return value;
}
public final V setValue(V newValue) {
... | Java |
\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t};\n};\n\n//@ sourceURL=/jsmm/jsmm.static.runner.js"
));
require.define("/jsmm/jsmm.test.js", Function(
[ 'require', 'module', 'exports', '__dirname', '__filename' ],
"/*jshint node:true*/\n\"use strict\";\n\nmodule.exports = function(jsmm) {\n\tjsmm.test = {};\n\t\n\tj... | JavaScript |
kw_umax,
kw_umin,
// Instruction Opcodes (Opcode in UIntVal).
kw_fneg,
kw_add,
kw_fadd,
kw_sub,
kw_fsub,
kw_mul,
kw_fmul,
kw_udiv,
kw_sdiv,
kw_fdiv,
kw_urem,
kw_srem,
kw_frem,
kw_shl,
kw_lshr,
kw_ashr,
kw_and,
kw_or,
kw_xor,
kw_icmp,
kw_fcmp,
kw_phi,
kw_call,
kw_... | C |
("idea_push_token")
val myChangeLog = provider {
changelog.renderItem(
changelog.getOrNull(pluginVersion.removeSuffix(".")) ?: changelog.getUnreleased().withHeader(false)
.withEmptySections(false), Changelog.OutputType.HTML
)
}
val currentVersionChangelog = provider {
changelog.renderIt... | Kotlin |
List.list.put("QTHDRSCADJ", new SystemValueInfo("QTHDRSCADJ", SERVER_TYPE_CHAR, 1, 1, TYPE_STRING, GROUP_SYSCTL, VRM530, ResourceBundleLoader.getSystemValueText("QTHDRSCADJ_DES")));
// V5R4 system values.
SystemValueList.list.put("QALWJOBITP", new SystemValueInfo("QALWJOBITP", SERVER_TYPE_CHAR, 1, 1, T... | Java |
e_sequence)) ||
!CBB_add_asn1_octet_string(&seq, s3->server_random,
sizeof(s3->server_random)) ||
!CBB_add_asn1_octet_string(&seq, s3->client_random,
sizeof(s3->client_random)) ||
!CBB_add_asn1_octet_string(&seq, read_iv, read_iv_len) |... | C++ |
en(color, amount)
color = clib.color({ hex = color })
color.r = round(color.r * (1 - amount))
color.g = round(color.g * (1 - amount))
color.b = round(color.b * (1 - amount))
return color.hex
end
function _color.blend(color1, color2)
color1 = clib.color({ hex = color1 })
color2 = clib.color({ hex = color2 })
... | Lua |
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
', _tests/snapshots_experimental.rs:16:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
failures:
snapshots_experimental::experimental_snapshot
test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 1 filtered out
"
... | Rust |
ession} expression to eval. Must be inside
* `ng:repeat`.
*
* @exampleDescription
* @example
<ol ng:init="names=['John', 'Mary', 'Cate', 'Suz']">
<li ng:repeat="name in names">
<span ng:class-odd="'ng-format-negative'"
ng:class-even="'ng-input-indicator-wait'">
{{name}} &nbs... | JavaScript |
ct.Input.IKinectPointerPointTransform.Inverse
Locale : en-us
CommunityContent : 1
APIType : Managed
APILocation : windowspreview.kinect.winmd
APIName : WindowsPreview.Kinect.Input.IKinectPointerPointTransform.Inverse
TargetOS : Windows
TopicType : kbSyntax
DevLang : VB
DevLang : CSharp
DevLang : JavaScript
DevLang : C+... | Markdown |
Async
Notes:
*/
// @SINGLE_MARKER
export function tapAsync<T>(fn: Func<any> | Promise<any>, input: T): T;
export function tapAsync<T>(fn: Func<any> | Promise<any>): (input: T) => T;
/*
Method: throttle
Explanation:
Example:
```
let counter = 0
const inc = () => {
counter++
}
const throttledInc = R.throttle(in... | Typescript |
LongR5", CubeListBuilder.create().texOffs(27, 0).addBox(-1.0F, -1.0F, -7.0F, 2.0F, 2.0F, 7.0F, new CubeDeformation(0.0F)), PartPose.offset(0.0F, 0.0F, -6.7F));
PartDefinition tentacleLongR6 = tentacleLongR5.addOrReplaceChild("tentacleLongR6", CubeListBuilder.create().texOffs(27, 0).addBox(-1.0F, -1.0F, -7.0F, 2... | Java |
operly formatted.");
}
return new Tuple<string, BumiiDTO?>(path, bumii);
}
private static string runCMD(string bumiiPath, string bumiiIOPath)
{
ProcessStartInfo start = new ProcessStartInfo()
{
FileName = bumiiIOPath,
... | C# |
>(line, &pos)); \
if (!v) \
{ \
stopInstr; \
} \
variable.push_back(std::move(v)); \
} \
catch (...) \
{ \
throw; \
} \
}
/** Get a token and advance. Token will be pushed back to a vector.
* If the token is not matched, parsing will fail.
*
* @param type token class
* @p... | C++ |
2<T>(Func<T, I<T>> f) { }
static void F3<T>(Func<I<T>, T> f) { }
static void F4<T>(Func<I<T>, I<T>> f) { }
static void F5<T>(Expression<Func<T, T>> e) { }
static void F6<T>(Expression<Func<T, I<T>>> e) { }
static void F7<T>(Expression<Func<I<T>, T>> e) { }
static void F8<T>(Expression<Func<I<T>,... | C# |
bool updateState = true}) async {
// state = const AsyncValue.loading();
CodeText? bufferedCode;
// If codeContent is not null, then we are syncing the code from the editor
if (codeContent != null) {
bufferedCode = CodeText()
..fullText = codeContent
..filePath = state.value!.f... | Dart |
// Prepare data and calculate bits 63-32 of tag
MOVOU XTMP5, XTMP1
MOVOU XTMP5, XTMP2
MOVOU XTMP6, XTMP3
MOVOU XTMP6, XTMP4
PCLMULQDQ $0x10, KS_L, XTMP1
PCLMULQDQ $0x01, KS_M1, XTMP2
PCLMULQDQ $0x10, KS_M1, XTMP3
PCLMULQDQ $0x01, KS_M2, XTMP4
// XOR all the products and keep only bits 63-32
PXOR XTMP2, XTMP... | Assembly |
case 3:
icon = "bd69-ball1";
break;
case 4:
icon = "bd69-change";
break;
case 5:
icon = "bd69-penalty";
break;
case 6:
icon = "bd69-ball";
break;
case 7:
icon = "bd69-hourglass";
break;
case 8:
i... | Typescript |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Diagnostics.Contracts;
using Microsoft.Research.ClousotRegression;
namespace FrancescoGenericRepro
{
internal class Program
{
... | C# |
: transparent url("data:image/svg+xml;charset=utf8,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7.48 5.99999L11.23 9.74999L9.75 11.23L6 7.47999L2.25 11.23L0.770004 9.74999L4.52 5.99999L0.770004 2.24999L2.25 0.76998... | CSS |
body2.checkCollision.down == false) {
this._overlap = 0;
} else {
body1.touching.none = false;
body1.touching.up = true;
body2.touching.none = false;
body2.touching.down = true;
}
}
body1.overlapY = this._overlap;
body2.overlapY = thi... | Dart |
tiveEl[a.month()]:this._monthsNominativeEl[a.month()]},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:fun... | JavaScript |
'', '', '', '', '', '', '', '', '', '', ''},
{'2060961', '', '不许拒绝,不许反抗,更加不许掩盖~听到没有?!', '', '', '', '', '', '', '', '', '5025001', '', '', '2', '', 'C.C.C.', '', '', '', '3', '', '', '', '', '', '', '', '', '2060962', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''},
{'2060962', '', '你看着眼前的少女,摸摸还在隐隐作痛的脖子... | Lua |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.