content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
ogregr_train',['../logistic_8sql__in.html#a32880a39de2e36b6c6be72691a6a4a40',1,'logregr_train(varchar tbl_source, varchar tbl_output, varchar dep_col, varchar ind_col, varchar grouping_col, integer max_iter, varchar optimizer, float8 tolerance, boolean verbose): logistic.sql_in'],['../logistic_8sql__in.html#a4bf64... | JavaScript |
= debug.getlocal(stack_level, i)
if name == k then
return value
end
i = i + 1
until name == nil
stack_level = stack_level + 1
end
retur | Lua |
TileTypeSouth)
{
for (int i = 0; i < TileSize; i++)
{
OutputTileMapImage.SetPixel(i + TileX * TileSize, TileSize / 2 + TileY * TileSize, PickColour(InputColour));
}
}
}
}
... | C# |
h * height * 4;
}
static void generateBmpHeader(char *buffer, int width, int height)
{
assert(width%4 == 0);
BITMAPFILEHEADER *bf = (BITMAPFILEHEADER*)buffer;
bf->bfType = ('B' | ('M' << 8));
bf->bfSize = bmpFileSize(width, height);
bf->bfReserved1 = 0;
bf->... | C++ |
using System;
using BEPUphysics.BroadPhaseEntries;
using BEPUphysics.Entities;
using BEPUphysics.Entities.Prefabs;
using BEPUutilities;
using BEPUphysics.UpdateableSystems.ForceFields;
using BEPUphysicsDemos.SampleCode;
namespace BEPUphysicsDemos.Demos
{
/// <summary>
/// Unsuspecting blocks get ambushed by a... | C# |
lineno
# get the context
context = nodes.ContextReference()
# get the arguments
args = [context]
try:
while True:
args.append(parser.parse_expression())
except TemplateSyntaxError:
pass # no more arguments
# get the tag_... | Python |
UNLOCK"], KEY = "INSTALLP_DESC_COREUNLOCK", link = "https://raw.githubusercontent.com/GrapheneCt/CoreUnlocker80000H/master/README.md", },
--with vpk
{ name = "VitaPad by carlelieser", id = "VITAPAD.png", path = "vitapad.skprx", section = "KERNEL", version = "0001", desc = LANGUAGE["INSTALLP_DESC_VITAPAD"], KEY = "INST... | Lua |
button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/futures_intrusive/channel/error.rs.html#8">source</a> · <button id="toggle-all-docs" t... | HTML |
self._hit_confirm:animate(callback(self, self, "_animate_show"), callback(self, self, "show_done"), 0.25, damage_scale)
end
function HUDHitConfirm:on_headshot_confirmed(damage_scale)
self._hit_confirm:stop()
self._hit_confirm:animate(callback(self, self, "_animate_show"), callback(self, self, "show_done"), 0.25, dam... | Lua |
.charAt(1) ? -1 : 1;
}
return type1 < type2 ? -1 : 1;
}
//================================平胡 START================================
isPingHu(idList, idCountList, ghostList) {
let removeElement = (arr: any[], element: any) => {
let index = arr.indexOf(element);
... | Typescript |
OTE: The returned texture will remain empty until the given `encoder` has its command buffer
/// submitted to the given `device`'s queue.
///
/// No format or size conversions are performed - the given buffer is loaded directly into GPU
/// memory.
///
/// Pixel type compatibility is ensured via the `Pixel` trait.
///
... | Rust |
: PhantomData,
}
}
/// Returns a list of accounts stored in the wallet (i.e. mappings between
/// user-specified labels and BIP32 derivation paths.
///
/// # Returns
/// * Result Containing:
/// * A Vector of [`AcctPathMapping`](../types/struct.AcctPathMapping.html) data
/// * or [`libwallet::Error`](../stru... | Rust |
hbox.center,
.vbox.center,
.center {
/* Old browsers */
-webkit-box-pack: center;
-moz-box-pack: center;
box-pack: center;
/* Modern browsers */
justify-content: center;
}
.hbox.baseline,
.vbox.baseline,
.baseline {
/* Old browsers */
-webkit-box-pack: baseline;
-moz-box-pack: baseline;
box-pack: ba... | HTML |
Xr.buffer(e);e.length>1&&e[0]===0&&(e[1]&128)===0;)e=e.slice(1);if((e[0]&128)===128){var t=In.alloc(e.length+1);t[0]=0,e.copy(t,1),e=t}return e}function oee(e){for(Xr.buffer(e);e.length>1&&e[0]===0;)e=e.slice(1);return e}function see(e,t){for(Xr.buffer(e),Xr.number(t);e.length>t;)Xr.equal(e[0],0),e=e.slice(1);for(;e.le... | JavaScript |
HashCode(this._hashCode);
int get hashCode {
return _hashCode;
}
}
class SetIteratorTest {
static testMain() {
testSmallSet();
testLargeSet();
testEmptySet();
testSetWithDeletedEntries();
testBug5116829();
testDifferentSizes();
testDifferentHashCodes();
}
static void sum(int ... | Dart |
* end2 = new vscode.Position(0, 7);
*
* expect(
* text([new vscode.Range(start1, end1), new vscode.Range(start2, end2)]),
* "to equal",
* ["foo", "bar"],
* );
* ```
*
* With:
* ```
* foo bar
* ```
*/
export function text(ranges: readonly vscode.Range[]): string[];
export function text(ranges:... | Typescript |
var world = new EntityWorld<Entity>();
world.Enable();
float calledDelta = -1f;
world.OnLateTicked += dt => calledDelta = dt;
float delta = 0.033f;
// Act
world.LateTick(delta);
// Assert
Assert.AreEqual(delt... | C# |
"""
Universidade Federal do Rio de Janeiro // Instituto de Física // Métodos Computacionais em Física I // Tarefa 1
"""
"""
Escreva um programa em Python (polar.py) que, dado um par de coordenadas cartesianas em duas dimensões, x e y, calcule e imprima o par de coordenadas polares r e θ
correspondente. Imprima θ tant... | Python |
}
textBox_userPlaceholder.InitUndo();
textBox_userPlaceholder.Enabled = AppSettings.Settings.AutoConvertNames;
textBox_characterName.Enabled = !(Current.HasActiveLink && Current.Link.linkType == Integration.Backyard.Link.LinkType.GroupMember);
// Creator
textBox_creator.Text = Current.Card.creator;
... | C# |
et)
set(newValue) = set(presentModeOffset, newValue)
}
actual var nextInChain: NativeAddress?
actual var device: WGPUDevice?
actual var format: WGPUTextureFormat
actual var usage: ULong
actual var width: UInt
actual var height: UInt
actual var viewFormatCount: ULong
actual var viewFormats: ArrayHolder<WGPU... | Kotlin |
# Scrivi una funzione che prende una lista di numeri e ritorna un dizionario che classifica i numeri in liste separate per numeri pari e dispari.
def classifica_numeri(lista: int) -> dict[str:list[int]]:
return {'pari':[i for i in lista if i%2==0], 'dispari': [i for i in lista if i%2!=0]} | Python |
m '../sets/scaleChroma';
import scaleDifference from '../sets/scaleDifference';
import scaleModes from '../sets/scaleModes';
import astar, { Target } from './astar';
const getNodeID = (level, scale) => `${level}.${scale}`;
const colorDiff = (source, target) => {
return source && scaleChroma(source) !== scaleChroma(t... | Typescript |
whNDDDZCmyEG7yFlpiEGKUsMEpb4XKXMtMXeiVVb7J1YLcRgW1ZmVuLSxGopLkys1mLwwhL/mVhjie8Sayxx3kp7DPFVYo0tzhNriyEGU5Z40TjxtDE/F6WcDowHBE/msDFNImG0xZQRBAonDCvxhhH2vKZIZ9Ds+7EDfaWFnKZ4xhja5owxdcnYCAQv1p1Gi4sprn08cZbDt6ZYZasXIn5mLFHTjLCvVt1V+4rVt/M+4r3FPaJMbHaBKRKb3pyKxKZXtv/Er4yjZpRL6q042u34tzh4xV9H/FHnqBHKBQeEd6aqqwD6AAAAAElFTkSu... | CSS |
gin(); it != bgdPxls.end(); ++it )
circle( res, *it, radius, BLUE, thickness );
for( it = fgdPxls.begin(); it != fgdPxls.end(); ++it )
circle( res, *it, radius, RED, thickness );
for( it = prBgdPxls.begin(); it != prBgdPxls.end(); ++it )
circle( res, *it, radius, LIGHTBLUE, thickness );
... | C++ |
using System.Collections.Generic;
using UnityEngine;
namespace net.rs64.TexTransTool.Utils
{
internal static class TransformUtility
{
internal static IEnumerable<Behavior> GetChildeComponent<Behavior>(this Transform transform)
{
foreach (var tf in transform.GetChildren())
... | C# |
bilitySet
, Error
, TEXT("GrantedGameplayAbilities [%d] on ability set [%s] is not valid.")
, AbilityIndex
, *GetNameSafe(this));
continue;
}
UGameplayAbility* AbilityCDO = AbilityToGrant.Ability->GetDefaultObject<UGameplayAbility>();
FGameplayAbilitySpec AbilitySpec(AbilityCDO
, AbilityTo... | C++ |
_WIDTH * self.app.app_scale))
def get_metadata(self) -> dict[str, Any]:
wallpaper_path = None
if self.wallpaper_file:
wallpaper = Path(self.wallpaper_file)
if appconfig.BACKGROUNDS_PATH == wallpaper.parent:
wallpaper_path = wallpaper.name
else:
... | Python |
CPU state to (may be
* SRR0-1, CSRR0-1, MCSRR0-1
*
* Notes:
* - potential TLB miss: YES. The deref'd kstack may be not covered
*/
#define FRAME_LEAVE(isrr0, isrr1) \
wrteei 0; \
/* restore CTR, XER, LR, CR */ \
LOAD %r4, FRAME_CTR+CALLSIZE(%r1); \
LOAD %r5, FRAME_XER+CALLSIZE(%r1); ... | Assembly |
};
var isInput = function isInput2(node) {
return node.tagName === "INPUT";
};
var isHiddenInput = function isHiddenInput2(node) {
return isInput(node) && node.type === "hidden";
};
var isDetailsWithSummary = function isDetailsWithSummary2(node) {
var r = node.tagName === "DETAILS" && Array.prototype.slice.apply... | JavaScript |
ocks(encryptor, dataToEncrypt);
}
Uint8List rsaDecryptionOaepSha1(
RSAPrivateKey privateKey, Uint8List ciphertext) {
final decryptor = OAEPEncoding(RSAEngine())
..init(
false, PrivateKeyParameter<RSAPrivateKey>(privateKey)); // false=decrypt
return _processInBlocks(decryptor, ciphertext);
}
Uint8L... | Dart |
| 冰糖融化后立即放入五花肉快速翻炒,使五花肉入糖色,并放入生姜片。 | 五花肉裹匀糖色后倒入老抽2勺、再放入生抽一勺提鲜,动作要快,不宜煎炒过久,红烧肉裹匀酱色后倒入足量的水没过红烧肉,放入盐3克、生姜3片、八角2颗、小茴香1克、花椒1克、草果1颗、桂皮半根,加盖中小火炖煮约半小时。 | 炖煮红烧肉的时候开始准备面饼,中筋面粉500克、温水280克,将温水一点点倒入面粉中搅拌成粘面团后盖保鲜膜醒制20分钟。 | 将醒好的面团分成大小相同的8个小团,取其中一个揉圆擀开成牛舌状后,自上而下卷起,然后从竖切一刀为二,再把两个小剂子立于按板上按扁。 | 用擀面杖把饼坯擀成圆饼状后放在平底锅中不加油烙至两面都有花色即可。 | 在烙制的过程中... | Markdown |
/uwD/uwD/uwD/uwD/uwD/uwD/uwD6twD/uwAAAADurwD2tQD7uAD+ugAAAAD/uwDhmeTRAAAADHRSTlMJ8mN1EYcbmiixgACm7WbuAAAAVklEQVR42n3PUQqAIBBFUU1LLc3u/jdbOJoW1P08DA9Gba8+YWJ6gNJoNYIBzAA2chBth5kLmG9YUoG0NHAUwFXwO9LuBQL1giCQb8gC9Oro2vp5rncCIY8L8uEx5ZkAAAAASUVORK5CYII=");
}
.CodeMirror-lint-marker-error, .CodeMirror-lint-message-error {
... | CSS |
.
/// It will require modifications to work:
/// - It may require correct/in-range values for request initialization.
/// - It may require specifying regional endpoints when creating the service client as shown in
/// https://cloud.google.com/dotnet/docs/reference/help/client-configura... | C# |
: internal};
static const fb.Reader<KeywordsInUnionTypeId> reader = _KeywordsInUnionTypeIdReader();
@override
String toString() {
return 'KeywordsInUnionTypeId{value: $value}';
}
}
class _KeywordsInUnionTypeIdReader extends fb.Reader<KeywordsInUnionTypeId> {
const _KeywordsInUnionTypeIdReader();
@ov... | Dart |
ent.path, 'test', 'assets');
final imageFile = File(path.join(assetsPath, 'images', 'ollama.png'));
final chatForImage = OllamaChat(
model: 'llama3.2-vision:latest',
title: "Test chat",
systemPrompt:
"You are a pirate who don't talk too much, acting as an assistant.",
);
chatForImage.option... | Dart |
table2[bitsFromNextByte]) >> (8 - bitsFromNextByte);
i1 |= i2;
bytePointer++;
bitPointer = bitsFromNextByte;
}
return i1;
}
// Move pointer backwards by given amount of bits
private vo... | C# |
8 No data to display.
// RC = 12 Amount not specified.
// RC = 20 Severe error.
//
if ( miBlock.imacro )
{
miBlock.seterror( "PEDM013E", 20 ) ;
break ;
}
zscrolla = "" ;
if ( zlvline == 0 )
{
miBlock.setRC( 4 ) ;
break ;
}
if ( !getFileLineZFIRST() )
{
miBlock.s... | C++ |
ME: String = "com.wework.xposed"
const val X_WK_PACKAGE_NAME: String = "com.tencent.wework"
//企业微信进程名
private const val X_WK_PROCESS_NAME: String = "com.tencent.wework"
//支持企业微信的版本
private const val X_WK_supportedVersion = "2.7.2"
/**
* WorkService
*/
val weWorkService = WeWorkSe... | Kotlin |
sd $27,REGLOG(27)(k0)
sd $28,REGLOG(28)(k0)
sd $29,REGLOG(29)(k0)
sd $30,REGLOG(30)(k0)
sd $31,REGLOG(31)(k0)
.set at
# Save some CP0 registers here.
#define SAVECP0(cp0,idx) \
dmfc0 t0,cp0 ; \
sd t0,REGLOG(idx)(k0)
SAVECP0(C0_INX,32)
SAVECP0(C0_RAND,33)
SAV... | Assembly |
�【俄語】【韓文】【(平)假名】", "𝟑𝟎" }
, { "【幾何圖】【鞋子圖】【眼鏡圖】【工具圖】【電器圖】", "𝟑𝟏" }
, { "【甜食圖】【餐具圖】【動物圖】【生肖圖】【家禽圖】", "𝟑𝟐" }
, { "【魚類圖】【蟲類圖】【血型圖】【精怪圖】【月相圖】", "𝟑𝟑" }
, { "【交通圖】【飛行器】【多媒體】【黃種人】【白種人】", "𝟑𝟒" }
, { "【拉美裔】【拉丁裔】【棕色人】【阿拉伯】【動物臉】", "𝟑𝟓" }
, { "【猴子頭】【咧嘴笑】【做運動】【日本菜】【食物捲】", "𝟑𝟔" }
... | Lua |
ZQ[SZTYVV RVFPXPZQ[",
2663:" 45E^EVGSIRKSKUI[ RIRJSJUH[ RKUMSORPRRSRUP[ RPRQSQUO[ RRUTSVRWRYSYUXXXZY[ RWRXSXUWXWZY[[Z\\Y^V",
2664:" 32I[IVKSMROSOUM[ RMRNSNUL[ ROUQSSRTRVSVUUXUZV[ RTRUSUUTXTZV[XZYY[V",
2665:" 29KYRRPRNSMTLVLXMZO[Q[SZTYUWUUTSRRQSQURWTXVXXWYV RPRNTMVMYO[",
2666:" 30L[LVNSPO RQLHg RRLIg ROUQSSRTRVS... | Typescript |
erIdx ].Passes[ passIdx ].HasValidFunctionBody )
{
m_inputPorts[ index ].Name = string.Format( InputLabelStr, subShaderIdx, passIdx );
m_inputHelper.Add( new InputSwitchMPHelper( subShaderIdx, passIdx ) );
index += 1;
}
}
}
}
}
else
{
m_inputPorts[0].Nam... | C# |
单个APP,但仍建议仅与您信任的人共享:
`;
$.log(`Raw data: ${raw}\nEncode data: ${key}`);
return disclaimer + key;
}
// private encode method, based on variant in RFC4648
function letterEncode(e) {
e = e.split("").map(e => e.charCodeAt());
const t = new Uint8Array(4 * Math.ceil(8 * e.length / 4));
let n = 0;
fo... | JavaScript |
ar();
}
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
part of dart._internal;
// Casting wrappers for collection classes.
abstract class _CastI... | Dart |
MATCHBIT( w1, w2, m ) ( w1 &= ~m, w1 |= ( w2 & m ) )
// Octal
#define OCT(n) 0##n
// Binary Numbers
// Use _BIN4(1,0,1,0)
#define _BIN4(n1,n2,n3,n4) ((n1<<3)+(n2<<2)+(n3<<1)+n4)
// Use _BIN8(1,0,1,0,1,0,1,0)
#define _BIN8(n1,n2,n3,n4,n5,n6,n7,n8) ((_BIN4(n1,n2,n3,n4)<<4)+_BIN4(n5,n6,n7,n8))
// Use _BIN16(1,0,1,0,1,0,1... | C |
ss().addAll(Styles.TEXT, Styles.TEXT_MUTED);
var subtleText = new Text("Subtle");
subtleText.getStyleClass().addAll(Styles.TEXT, Styles.TEXT_SUBTLE);
//snippet_4:end
var box = new FlowPane(
HGAP_20, VGAP_20,
accentText, successText, warningText, dangerText, mute... | Java |
# Copyright (c) OpenMMLab. All rights reserved.
import json
import os.path as osp
import tempfile
import unittest
from mmocr.datasets.preparers import FUNSDTextDetAnnParser
class TestFUNSDTextDetAnnParser(unittest.TestCase):
def setUp(self) -> None:
self.root = tempfile.TemporaryDirectory()
def _cr... | Python |
# RUN: llvm-mc -triple i386-pc-linux-gnu -filetype=obj -o %t %s
# RUN: llvm-readobj -s -sd < %t | FileCheck %s
.section test1
.byte 1
.section test2
.byte 2
.previous
.byte 1
.section test2
.byte 2
.previous
.byte 1
.section test1
.byte 1
.previous
.byte 1
.section test2
.byte 2
.pushsection test3
.byte 3
.pushsection ... | Assembly |
1 1h11c.552 0 1-.448 1-1v-4.563c0-.552.448-1 1-1s1 .448 1 1v4.563c0 1.657-1.343 3-3 3h-11c-1.657 0-3-1.343-3-3v-11c0-1.657 1.343-3 3-3h4.563c.552 0 1 .448 1 1s-.448 1-1 1h-4.563z"/></svg></a> / Unlimited</li>
<li>⭐ <strong><a href="https://poe.com/" rel="external" target="_blank">Poe<svg width="16" height="16" viewBox... | HTML |
KeyboardManagerScreenshot.png)](http://youtu.be/6nhLw6hju2A)
[](http://youtu.be/6nhLw6hju2A)
## GIF animation
[;
export class ProductoModel {
id: number;
nombre: string;
categoriaProductoId: number;
prec... | Typescript |
f),
oncompleted: (f = msg.getOncompleted()) && proto.todo.Todo.toObject(includeInstance, f),
onuncompleted: (f = msg.getOnuncompleted()) && proto.todo.Todo.toObject(includeInstance, f),
onmodifiedtitle: (f = msg.getOnmodifiedtitle()) && proto.todo.Todo.toObject(includeInstance, f),
ondeleted: (f = msg.... | JavaScript |
St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/* @test
@bug 7048204
@summary NPE from NimbusLookAndFeel.addDefault
@author Pavel Porvatov
*/
... | Java |
append("\tlabel : $label\n")
append("}\n")
}
fun toTlv(tlvTag: Tag, tlvWriter: TlvWriter) {
tlvWriter.apply {
startStructure(tlvTag)
put(ContextSpecificTag(TAG_STEP), step)
if (label.isPresent) {
val optlabel = label.get()
put(ContextSpecificTag(TAG_LABEL), optlabel)
... | Kotlin |
BufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new co... | Java |
min4d_bchw_w1_1_w2_16_simdmin_unaligned_0:
add t0, a4, x0
blez t0, 3f
2:
esp.src.q.qup q2, q0, q1
#esp.ld.128.usar.ip q4, a1, 16
#esp.src.q.qup q5, q3, q4
esp.vldbc.8.ip q5, a1, 0
esp.vmin.s8 q2, q5, q2
esp.ld.128.usar.ip q1, a2, 16
esp.vst.128.ip q... | Assembly |
{
background: #e9eaed
}
._25sz {
background: #ff7f50
}
._5tg_ {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap
}
._55x2>*, ._55x2._55x2>* {
border-bottom: 1px solid #e5e5e5
}
._55x2>:last-child {
border-bottom: none
}
._55x2+._55x2 {
border-top: 1px solid #e5e5e5
}
._55x2>*, ._55x... | CSS |
0);
if (ret)
{
SRMError("[%s] [%s] [%s MODE] Failed o create DRM framebuffer %d with drmModeAddFB2, trying drmModeAddFB. DRM Error: %d.",
connector->device->shortName, connector->name, mode, i, ret);
}
else
continue;
ret ... | C |
}
if (ReinsertList.pages)
my_free(ReinsertList.pages);
/* check for redundant root (not leaf, 1 child) and eliminate */
if ((old_root = info->s->state.key_root[keynr]) == HA_OFFSET_ERROR)
goto err1;
if (!_mi_fetch_keypage(info, keyinfo, old_root, DFLT_INIT_HITS,
... | C |
"https://assets.guim.co.uk/fonts/4db2284b8664d218dd904c40ca5edb56/GuardianHeadline.ttf.json" data-cache-file-hinted-ttf="https://assets.guim.co.uk/fonts/25febe0b2605f6dfda562b193e67baa8/GuardianHeadlineHinted.ttf.json"></style>
<style class="webfont" data-cache-name="GuardianTextEgyptianWeb" data-cache-file-wof... | HTML |
"this.adjusted");
}
return Builder.CreateBitCast(FunctionPointer, FTy->getPointerTo());
}
CGCXXABI *clang::CodeGen::CreateMicrosoftCXXABI(CodeGenModule &CGM) {
return new MicrosoftCXXABI(CGM);
}
// MS RTTI Overview:
// The run time type information emitted by cl.exe contains 5 distinct types of
// structures. ... | C++ |
r16[ax] = SEG_DATA;
_es = r16[ax];
_di = 0x04d7;
r8[ah] = memory[ofs(r16[bx] + 0x52c)];
r16[bx] = _memoryRead16(0x8);
r8[bl] = memory[ofs(r16[bx] + 0x2aba)];
r8[bh] = r8[ah];
yield* sub_67D();
if (_memoryRead16(adr(_ds, 0x52F)) == 1)
{
_pc = 0x56E;
... | JavaScript |
нформацію про випуски в SQL базі даних.
Використання такого бекенду зберігання є особливо корисним, якщо інформація про ваші випуски перевищує 1 МБ (у цьому випадку її не можна зберігати в ConfigMaps/Secrets через внутрішні обмеження сховища ключ-значення etcd у Kubernetes).
Щоб активувати SQL бекенд, потрібно розгор... | Markdown |
.include "macros.inc"
.section .text, "ax" # 0x80006980 - 0x803E1E60
.global func_8023D008
func_8023D008:
/* 8023D008 00238C68 28 03 00 02 */ cmplwi r3, 2
/* 8023D00C 00238C6C 40 80 00 0C */ bge lbl_8023D018
/* 8023D010 00238C70 38 60 00 00 */ li r3, 0
/* 8023D014 00238C74 4E 80 00 20 */ blr
lbl_8023D018:
/* 802... | Assembly |
> = (obj: T) => R;
export function objectPathMonad<T, R = any>(objectPath: string): ObjectPathMonadFunction<T, R> {
const split = objectPath.split('.');
// reuse this variable for better performance.
const splitLength = split.length;
/**
* Performance shortcut,
* if no nested path is used,
... | Typescript |
at v1 = (u1 < a1 * MAX) ? u1 / a1 : 1.0f;
float u2 = -log1p(-a2);
float v2 = (u2 < a2 * MAX) ? u2 / a2 : 1.0f;
float u = u1 + u2;
float w = (u > 1.0f || am < u * MAX) ? am / u : 1.0f;... | C++ |
assert (
success
), f"prefix cache must be reset to prevent kv cache pollution! {success}"
return
client_outputs = {}
for req in abort_lists:
engine_output = EngineCoreOutput(
request_id=req.request_id,
new_token_ids=[],
finish_reason... | Python |
ff,0x00,0x00,0x38,0x56,0x34,0x12,0xaf]
v_rcp_f64_e64 v[5:6], v[1:2]
// GFX12: encoding: [0x05,0x00,0xaf,0xd5,0x01,0x01,0x00,0x00]
v_rcp_f64_e64 v[5:6], v[254:255]
// GFX12: encoding: [0x05,0x00,0xaf,0xd5,0xfe,0x01,0x00,0x00]
v_rcp_f64_e64 v[5:6], s[2:3]
// GFX12: encoding: [0x05,0x00,0xaf,0xd5,0x02,0x00,0x00,0x00]
... | Assembly |
;
}
async run(request: {
id: string;
}): Promise<void> {
// init transaction
const transaction = await mongoose.startSession()
transaction.startTransaction()
// Remove a plant
await this.repository.remove(new PlantId(request.id), transaction);
const pendingTasks = await this.taskRep... | Typescript |
ALE:
scale2 = input[i++];
break;
case SHAPE_SET_COLOR:
c = input[i++];
break;
case SHAPE_SET_SIDES:
sides = input[i++];
points = [];
break;
case SHAPE_SET_AUTOCLOSE:
... | Typescript |
return _url;
}
int getLang() {
return _lang;
}
String getQuoteText() {
return _quoteText;
}
String getQuoteAuthor() {
return _quoteAuthor;
}
void setQuoteText(String quoteText) {
quoteText = _quoteText;
}
void setQuoteAuthor(String quoteAuthor) {
quoteAuthor = _quoteAuthor;... | Dart |
en the default background
sudo ./tweaks.sh -g -nd -b "wallpapers/snow.jpg" # darken the custom background
```
#### - Don't blur the background
Parameter: `--noblur` `-nb`
Example:
```bash
sudo ./tweaks.sh -g -nb # don't blur the default background
sudo ./tweaks.sh -g -nb -b "wallpapers/rock... | Markdown |
ck(struct rw_semaphore *sem)
{
int ret = __down_write_trylock(sem);
if (ret == 1)
rwsem_acquire(&sem->dep_map, 0, 1, _RET_IP_);
return ret;
}
EXPORT_SYMBOL(down_write_trylock);
/*
* release a read lock
*/
void up_read(struct rw_semaphore *sem)
{
rwsem_release(&sem->dep_map, _RET_IP_);
__up_read(sem);
}
EXPO... | C |
_pyx_kp_s__120);
__Pyx_GIVEREF(__pyx_kp_s__120);
PyList_SET_ITEM(__pyx_t_5, 84, __pyx_kp_s__120);
__Pyx_INCREF(__pyx_kp_s__121);
__Pyx_GIVEREF(__pyx_kp_s__121);
PyList_SET_ITEM(__pyx_t_5, 85, __pyx_kp_s__121);
__Pyx_INCREF(__pyx_kp_s__122);
__Pyx_GIVEREF(__pyx_kp_s__122);
PyList_SET_ITEM(__pyx_t_5, 86, ... | C++ |
between 0 and 6,
which controls the number of points
in the grid. The 1D rules used will have order 2^(level_max)+1.
</li>
</ul>
</p>
<p>
Each sparse grid is stored using the "quadrature rule" format,
that is, as three files:
<ul>
<li>
an "... | HTML |
-= 1Eh ; SUB AX, 1Eh
SI = (AX * 8) + 0x2F0F ; CL = 3 ; SHL AX,CL ; MOV SI,AX ; ADD SI,2F0Fh
CX = 05h
JMP 3282h
0ADC:3272:
AX -= 0x29
SI = (AX * 16) + 0x2F87 ; CL = 4 ; SHL AX,CL ; MOV SI,AX ; ADD SI,2F87h
0ADC... | Markdown |
.optimize();
System.out.println("IsMIP: " + model.get(GRB.IntAttr.IsMIP));
System.out.println(x.get(GRB.StringAttr.VarName)
+ " " +x.get(GRB.DoubleAttr.X));
System.out.println(y.get(GRB.StringAttr.VarName)
+ " " +y.get(GRB.DoubleAttr.X));
Syste... | Java |
tailsOptionsWindow) then
local dataBrokerString = _G["DetailsOptionsWindowTab" .. tabIndex].widget_list_by_type.textentry[1]
dataBrokerString:SetText(Details.data_broker_text)
end
Details:BrokerTick()
panel:Hide()
end
local ok... | Lua |
="22774" href="Agda.Primitive.html#961" class="Primitive Operator">⊔</a> <a id="22776" href="Algebra.Bundles.html#22758" class="Bound">ℓ</a><a id="22777" class="Symbol">))</a> <a id="22780" class="Keyword">where</a>
<a id="22788" class="Keyword">infix</a> <a id="22795" class="Number">8</a> <a id="22797" href="Algebr... | HTML |
i,length=arguments.length,key;if(length<=1)throw new Error("bindAll must be passed function names");for(i=1;i<length;i++){key=arguments[i];obj[key]=_.bind(obj[key],obj)}return obj};_.memoize=function(func,hasher){var memoize=function(key){var cache=memoize.cache;var address=""+(hasher?hasher.apply(this,arguments):key)... | CSS |
g 0
.text
.long 0
trap #15 | Processes starting off in debug mode will
| start here.
.globl start
start:
movl sp@,d2 | argc
lea sp@(4),a3 | argv
movl d2, d0 | pass argc + 1 as one param
addql #1, d0 | to lmult
movl #4, d1 | want 4 * (argc + 1)
jsr lmul... | Assembly |
ight:3rem}}@media (min-width: 61.25em){.new-header:not(.new-header--slim) .pillars:after{height:2.625rem}}@media (min-width: 30em){.pillars{padding-left:1.25rem}}@media (min-width: 61.25em){.new-header--open .pillars{z-index:1070}}@media (max-width: 46.24em){.new-header--slim .pillars{display:none}}.pillars__item{displ... | HTML |
_MATCH_OR_NAME_ATTRIB */
// public static final int ER_FOREACH_NEED_MATCH_OR_NAME_ATTRIB = 53;
{ ER_FOREACH_NEED_MATCH_OR_NAME_ATTRIB,
"for-each doit poss\u00e9der un attribut de correspondance ou de nom"},
/** ER_TEMPLATES_NEED_MATCH_OR_NAME_ATTRIB */
// public static final int ER_TEM... | Java |
valido = false;
}
if (
cpf == '00000000000' ||
cpf == '11111111111' ||
cpf == '22222222222' ||
cpf == '33333333333' ||
cpf == '44444444444' ||
cpf == '55555555555' ||
cpf == '66666666666' ||
cpf == '77777777777' ||
cpf == '88888888888' ||
cpf == '9999... | Typescript |
from django.urls import path
from . import views
urlpatterns = [
path('<str:disease>', views.DiseaseView.as_view(), name="disease"),
path('<str:disease>/<str:pathy>', views.TherapyView.as_view(), name="therapy"),
path('<str:disease>/<str:pathy>/books', views.BooksView.as_view(), name="books"),
path('<... | Python |
expected",
);
});
Deno.test("assertSpyCall function", () => {
const spyFunc = spy((multiplier?: number) => 5 * (multiplier ?? 1));
assertThrows(
() => assertSpyCall(spyFunc, 0),
AssertionError,
"spy not called as much as expected",
);
spyFunc();
assertSpyCall(spyFunc, 0);
assertSpyCall(spy... | Typescript |
type: MessageType.add,
),
);
backendInitializerCompleter.complete();
} else {
throw Exception(
'Got incorrect message from Backend in Isolate initializer');
}
}
final subscription = backendOut.listen(listener);
final isolate = await Isolate.spawn<Ba... | Dart |
import shutil
from unittest.mock import Mock
import pytest
from pdm.backend.wheel import WheelBuilder
from tests import FIXTURES
from tests.fixtures.hooks import hook_class, hook_module
def make_entry_point(hook):
ep = Mock()
ep.load.return_value = hook
return ep
@pytest.fixture()
def project_with_hoo... | Python |
中生扶 而财三合太旺 则富贵利名 声显者 所谓财多身量 则我黍意是也
愁官鬼 盖官鬼乃盗财之气 克我之身 本为可虑 正财多盗气 本身自柔之谓也
怕空亡 乃六甲空亡 甲子旬中以戌空亡之类
财落空亡 必贫窘不聚财为可畏
空亡为害最悉人 堆金积主也须贫之衰也
印绶相生荣贵昌 盖言财多身弱 或带官鬼 有印绶相生 自然富贵荣昌 盖言财多身弱 或带官鬼 有印绶相生 自然富贵荣昌
《独步》云:“先财后印 反成其福”
《通明赋》云:“财逢印助 相如乘驷马之车”
此之谓也
休囚泊年二句 盖言四柱既然财多身弱 而年轻休囚之地 亦不如意 不惟不发福 亦且祸患百出
或(未)[未]年夏临父母之乡 或三合助旺财轻 则喜财官旺运 忌身旺比劫之... | Markdown |
klch(0.985 0 0);
--primary: oklch(0.922 0 0);
--primary-foreground: oklch(0.205 0 0);
--secondary: oklch(0.269 0 0);
--secondary-foreground: oklch(0.985 0 0);
--muted: oklch(0.269 0 0);
--muted-foreground: oklch(0.708 0 0);
--accent: oklch(0.269 0 0);
--accent-foreground: oklch(0.985 0 0);
--destructi... | CSS |
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "IVI"
* found in asn1/ISO19321.asn"
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
*/
#include "LanePositions.h"
#if !defined(ASN_DISABLE_OER_SUPPORT)
static asn_oer_constraints_t asn_OER_type_LanePositions_constr_1 ... | C |
.String("username", "", "Use \"test\" for testing.")
password := flag.String("password", "", "Use \"test\" for testing.")
account := flag.String("account", "", "Account from .credentials.yaml.")
exec := flag.String("exec", "", "Execute a command")
execFile := flag.String("execFile", "", "Execute file")
silent := f... | Go |
/*
* $Id: c_agstup.c,v 1.5 2008-07-23 16:16:41 haley Exp $
*/
/************************************************************************
* *
* Copyright (C) 2000 *
* University Corporation fo... | C |
N": "白俄罗斯卢布",
"BZD": "伯利兹元",
"CAD": "加拿大元",
"CDF": "刚果法郎",
"CHF": "瑞士法郎",
"CLF": "智利(资金)",
"CLP": "智利比索",
"CNY": "人民币",
"CNH": "人民币",
"COP": "哥伦比亚比索",
"CRC": "哥斯达黎加科朗",
"CUC": "古巴可兑换比索",
"CUP": "古巴比索"... | Dart |
char *
gpdb::GetOpName(Oid opno)
{
GP_WRAP_START;
{
/* catalog tables: pg_operator */
return get_opname(opno);
}
GP_WRAP_END;
return NULL;
}
List *
gpdb::GetPartitionAttrs(Oid oid)
{
GP_WRAP_START;
{
// return unique partition level attributes
/* catalog tables: pg_partition */
return rel_partition_ke... | C++ |
br::OriginalName("GCE")] Gce = 3,
/// <summary>
/// Fine tuned model.
/// </summary>
[pbr::OriginalName("FINE_TUNED_MODEL")] FineTunedModel = 4,
}
}
#endregion
}
#endregion
}
#endregion Designer generated code | C# |
com_rslt = BNO055_ERROR;
}
}
if (prev_opmode_u8 != BNO055_OPERATION_MODE_CONFIG)
{
/* set the operation mode of
* previous operation mode*/
com_rslt += bno055_set_operation_mode(prev_opmode_u8);
}
return com_rslt;
}
/*!
* @brief This API used to read... | C++ |
h Kabu
public const uint KGSTVictoriesPiers = 0xB95B1BB9; // U32 Galarian Star Tournament victories with Piers
public const uint KGSTVictoriesRaihan = 0x343E6FC1; // U32 Galarian Star Tournament victories with Raihan
public const uint KGSTVictoriesBea = 0x6371183B; // U32 Galarian Star Tournament victories ... | C# |
金融风险管理?请列举几种常见的风险类型,并介绍相应的控制措施。|
|电子商务|请问哪些公司是全球领先的电子商务企业?|
|音乐产业|如何评估一首歌曲的商业价值?|
|自然语言处理|在自然语言处理中,最常用的算法模型有哪些?|
|人工智能辅助设计|如何利用人工智能技术实现产品设计的自动化?|
|社交媒体营销|如何通过社交媒体平台提高品牌知名度和用户忠诚度?|
|机器学习|如何选择合适的机器学习算法来解决分类问题?|
|金融科技|目前哪些金融科技公司在普惠金融领域有突出表现?|
|医疗健康|如何利用大数据和人工智能技术改善医疗服务质量?|
|智慧城市|如何通过互联网和物联网技术建设智慧城市?|
|区块链|在区块链技术中,共识算法有哪些种... | Markdown |
local c_air = minetest.get_content_id("air")
-- map of replaced content id's on jump
-- TODO: expose as api function
-- <id> = <id>
local mapped_content_ids = {}
if minetest.get_modpath("vacuum") then
-- don't jump vacuum
mapped_content_ids[minetest.get_content_id("vacuum:vacuum")] = c_air
end
if minetest.get_modp... | Lua |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.