content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
"temp": 12,
"description": ""
}, //TODO: check - is same as gypsy
"Insen": {
"intervals": [0,1,5,7,10],
"temp": 12,
"description": ""
},
"Major": {
"intervals": [0,2,4,5,7,9,11],
"temp": 12,
"description": ""
},
"Istrian": {
"intervals": [0,1,3,4,6,7],
"temp": 12,
... | Typescript |
xmlfile2)
if err != nil {
log.Printf("failed to open file: %s", err)
return
}
defer fxml2.Close()
inXml2, err := ioutil.ReadAll(fxml2)
if err != nil {
log.Printf("failed to read file: %s", err)
return
}
xsdhandler, err := NewXsdHandlerUrl("examples/test1_pass.xsd", ParsErrDefault)
if err != nil {
pa... | Go |
using Dernek.Core.Entities;
namespace Dernek.Application.Repositories.Member
{
| C# |
span>。假如`test`表使用`MyISAM`存储引擎的话,那么在它所在数据库对应的`xiaohaizi`目录下会为`test`表创建这三个文件:
```
test.frm
test.MYD
test.MYI
```
  其中`test.MYD`代表表的数据文件,也就是我们插入的用户记录;`test.MYI`代表表的索引文件,我们为该表创建的索引都会放到这个文件中。
### 视图在文件系统中的表示
  我们知道`MySQL`中的视图其实是虚拟的表,也就是某个查询语句的一个别名而已,所以在存储`视图`的时候是不需要存储真实的数据的,<span style="color:red">只需... | Markdown |
L20 17.3499Z": "M 7.58 4.08 L 6.15 2.65 C 3.75 4.48 2.17 7.3 2.03 10.5 h 2 c 0.15 -2.65 1.51 -4.97 3.55 -6.42 Z m 12.39 6.42 h 2 c -0.15 -3.2 -1.73 -6.02 -4.12 -7.85 l -1.42 1.43 c 2.02 1.45 3.39 3.77 3.54 6.42 Z M 18 11 c 0 -3.07 -1.64 -5.64 -4.5 -6.32 V 4 c 0 -0.83 -0.67 -1.5 -1.5 -1.5 s -1.5 0.67 -1.5 1.5 v 0.68 C 7... | CSS |
ORTS(5, uchar, 1);
DEFINE_OPORTS(6, uchar, 1);
DEFINE_OPORTS(7, uchar, 1);
public:
REFERENCE_LOCAL_CONTEXT(TBB11nMRSelect);
STD_DEMUX8_CONSTRUCTOR(TBB11nMRSelect)
BIND_CONTEXT(CF_11nTxVector::mcs_index, mcs_index)
{ }
STD_TDEMUX8_RESET()
{ }
FINL void Flush()
{
sw... | C++ |
U+5b27-5b2e, U+5b30, U+5b32, U+5b34, U+5b36-5b38, U+5b3e-5b40, U+5b43, U+5b45, U+5b4a-5b4b, U+5b51-5b53, U+5b56, U+5b5a-5b5b, U+5b62, U+5b65, U+5b67, U+5b6a-5b6e, U+5b70-5b71, U+5b73, U+5b7a-5b7b, U+5b7f-5b80, U+5b84, U+5b8d, U+5b91, U+5b93-5b95, U+5b9f, U+5ba5-5ba6, U+5bac, U+5bae, U+5bb8, U+5bc0, U+5bc3, U+5bcb, U+5... | CSS |
UI extends Screen {
private final JoinRequestData joinRequest;
@Builder
public PlayerOutgoingRequestManageUI(SkyUser player, JoinRequestData joinRequest) {
super(GUIEnums.OBELISK_INVITE_OUTGOING_GUI.getPath(), player);
this.joinRequest = joinRequest;
}
public static void promptPlay... | Java |
import json
import hashlib
import pytest
from aries_askar import (
KeyAlg,
Key,
SeedMethod,
)
from aries_askar.types import KeyBackend
def test_get_supported_backends():
backends = Key.get_supported_backends()
assert backends == [str(KeyBackend.Software)]
@pytest.mark.parametrize(
"key_al... | Python |
ие текстом',
none: 'Нет',
left: 'Cлева',
right: 'Cправа',
image_web_link: 'Cсылка на изображение',
text: 'Текст',
mailto: 'Эл. почта',
web: 'URL',
video_html_code: 'Код видео ролика',
file: 'Файл',
upload: 'Загрузить',
download: 'Скачать',
choose: 'Выбрать',
or_choose: 'Или выберите',
drop_file_here: 'Пер... | JavaScript |
TI_ReadFlag_32_63(uint32_t ExtiLine)
{
return (uint32_t)(READ_BIT(EXTI->PR2, ExtiLine));
}
/**
* @brief Clear ExtLine Flags for Lines in range 0 to 31
* @note This bit is set when the selected edge event arrives on the interrupt
* line. This bit is cleared by writing a 1 to the bit.
* @rmtoll PR1 ... | C |
foldenable = false
vim.wo[self.win][0].signcolumn = 'no'
do_syntax_cmds()
for _, c in ipairs({
{ 'pckrBool', 'Boolean' },
{ 'pckrBreakingChange', 'WarningMsg' },
{ 'pckrFail', 'ErrorMsg' },
{ 'pckrHash', 'Identifier' },
{ 'pckrOutput', 'Type' },
{ 'pckrUpdate', 'WarningMsg' },
{ 'pck... | Lua |
uncate($color: $c);
}
}
}
}
.itc-popout.c-tc-input-popup {
&--realtime-mode {
background: rgba($colorTimeRealtimeBg, 1);
color: $colorTimeRealtimeFgSubtle;
em,
.pr-time-label:before {
color: $colorTimeRealtimeFg;
}
&__bounds__val... | CSS |
iwo_diff], v[v_out_iho_diff]
v_cmp_gt_u32 vcc, s[s_ho], v[v_out_iho_list+6]
v_cndmask_b32 v[v_out_flag+6], 0, v[v_out_iho_diff], vcc
v_cmp_gt_u32 vcc, s[s_wo], v[v_out_iwo_list+6]
v_cndmask_b32 v[v_out_flag+6], 0, v[v_out_flag+6], vcc
v_add_u32 v[v_out_os+7], v[v_out_os_diff], v[v_out_os+7]
v_bf... | Assembly |
(missing_docs)]
pub trait HashImplInterface: HashImpl {}
/// Basic trait for all hash types
pub trait Hash {
/// Computes image hash
fn compute(&self, mat: &Mat) -> Mat;
/// Compares two image hashes
fn compare(&self, lhs: &Mat, rhs: &Mat) -> f64;
}
impl<T: HashImplInterface> Hash for T {
/// Com... | Rust |
IfLoadedEqualTo 0, ScoreMinus10
; If none of the attacker's party members are statused or at less than 100% HP,
; score additional -10.
IfPartyMemberStatus AI_BATTLER_ATTACKER, MON_CONDITION_ANY, Basic_CheckHealingWish_Terminate
IfAnyPartyMemberIsWounded AI_BATTLER_ATTACKER, Basic_CheckHealingWish_... | Assembly |
#ifndef _SPH_SIMULATION_H_
#define _SPH_SIMULATION_H_
#include <functional>
#include "common/structures.h"
#include "scene.h"
class sph_simulation {
public:
sph_simulation() : parameters(), write_intermediate_frames(false) {}
void simulate(int frame_count = 0);
simulation_parameters parameters;
precomputed... | C |
;
}
else
{
int secondItemEndBraceright = regionToReadIn.NextEndOf('{', '}', secondItemStartBraceleft + 1);
AcfStruct acfs = AcfFileToStruct(regionToReadIn.Substring(secondItemStartBraceleft + 1,
secondItemEndBraceright - secondItemS... | C# |
in range(len(n)):
x_center = (bins[i] + bins[i + 1]) / 2
y_height = n[i]
if y_height != 0:
plt.text(
x_center,
y_height + 50,
f'{x_center:.5f}',
ha='center',
va='bottom... | Python |
-color-primary, #e50914);
outline-offset: 2px;
}
/* Transition for layout elements */
.layout-transition {
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Footer margin adjustment */
.footer-margin {
margin-top: var(--layout-margin-top);
}
/* Media queries for responsive adjustments */
@media (ma... | CSS |
) => receive_other!{
Start that will be classified as either one of the successes or failures
},
MaintainerResponse::Stop(mut successes, mut failures) => receive_other!{
Stop that will be classified as either one of the successes or failures
},
MaintainerResponse::Kill(mut successes, mut failures) =... | Rust |
eattrStr":singleAttrStrFunc,
"attrscript":attrscriptFunc,
"singleattrscript":singleattrscriptFunc,
"lstring":lstringFunc,
"singlelstring":singlelstringFunc,
"jstr":jstrFunc,
"jscript":jscriptFunc
// "identifier":identifierFunc//identifier,只在js中可能被解析到
}
parserFunc.html = parserFunc.body;
parserFunc.el =... | Typescript |
.next=i,i.prev=r,n.next=r,r.prev=n,a.next=n,n.prev=a,n}function xo(t,e,r,n){var i=new _o(t,e,r);return n?(i.next=n.next,i.prev=n,n.next.prev=i,n.next=i):(i.prev=i,i.next=i),i}function bo(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ)}function _o(t,e,r){this.i=... | JavaScript |
PASSWORD SECRET pgpass,
AWS PRIVATELINK privatelink_svc
);
```
For step-by-step instructions on creating AWS PrivateLink connections and
configuring an AWS PrivateLink service to accept connections from Materialize,
check [this guide](/ops/network-security/privatelink/).
{{< /tab >}}
{{< tab "SSH tunnel">}}
... | Markdown |
"""This module contains constants related to MAVEN and IUVS."""
import datetime
import numpy as np
slit_start_pixel: int = 80
"""The starting spatial pixel number of the slit."""
slit_end_pixel: int = 929
"""The ending slit pixel number."""
orbit_insertion_date: datetime.datetime = datetime.datetime(2014, 9, 22, 2... | Python |
flex-pack: center;
justify-content: center;
width: auto;
padding-left: 0;
}
.form-inline .form-check-input {
position: relative;
-ms-flex-negative: 0;
flex-shrink: 0;
margin-top: 0;
margin-right: 0.25rem;
margin-left: 0;
}
.form-inline .custom-control {
-ms-flex-align: ce... | CSS |
2BC 46049181 */ sub.s $f6, $f18, $f4
/* 00D00 808832C0 44053000 */ mfc1 $a1, $f6
/* 00D04 808832C4 0C01DE80 */ jal Math_ApproxF
/* 00D08 808832C8 00000000 */ nop
/* 00D0C 808832CC 1040000F */ beq $v0, $zero, .L8088330C
/* 00D10 808832D0 02002025 */ ... | Assembly |
*/ li $a0, 2
/* B5BF68 800E4DC8 3C158017 */ lui $s5, %hi(D_8016F180) # $s5, 0x8017
/* B5BF6C 800E4DCC 26B5F180 */ addiu $s5, %lo(D_8016F180) # addiu $s5, $s5, -0xe80
/* B5BF70 800E4DD0 8EA32D5C */ lw $v1, 0x2d5c($s5)
/* B5BF74 800E4DD4 00409825 */ move $s3, $v0
/* B5BF78 800E4DD8 00008825 */ move $s1, ... | Assembly |
.media-preview-card:nth-child(5n+3) .content{
text-align: left;
right: unset;
}
.status{
font-size: small;
}
.status > .name{
padding: 5px;
}
.home .activity-anime_list .details,
.home .activity-manga_list .details,
.user .activity-anime_list .details,
.uer .activity-manga_list .details{
margin-bott... | CSS |
FX9
s_setreg_b32 hwreg(15), s2
// SICI: s_setreg_b32 hwreg(15), s2 ; encoding: [0x0f,0xf8,0x82,0xb9]
// VI: s_setreg_b32 hwreg(15), s2 ; encoding: [0x0f,0xf8,0x02,0xb9]
// GFX9: s_setreg_b32 hwreg(HW_REG_SH_MEM_BASES), s2 ; encoding: [0x0f,0xf8,0x02,0xb9]
// HW register code, non-default offset/width
s_set... | Assembly |
;;
; @param a Operand 1
; @param c Operand 2
; @param[out] hl Result
; @trashes{b,e}
multiplyAByC:
ld e,$08
ld b,$00
ld l,b
ld h,b
-
add hl,hl
add a
jr nc,+
add hl,bc
+
dec e
jr nz,-
ret
;;
; Multiply 'a' by $10, store result in bc.
;
; @param a Value to multiply
; @param[out] bc Result
multiplyABy16:
swap... | Assembly |
&DropBucket{
node: node,
}
}
func (this *DropBucket) Accept(visitor Visitor) (interface{}, error) {
return visitor.VisitDropBucket(this)
}
func (this *DropBucket) New() Operator {
return &DropBucket{}
}
func (this *DropBucket) Node() *algebra.DropBucket {
return this.node
}
func (this *DropBucket) MarshalJSO... | Go |
from typing import Any, Dict, List, Type, TypeVar
from attrs import define as _attrs_define
from attrs import field as _attrs_field
from ..models.channel_view_state import ChannelViewState
T = TypeVar("T", bound="MyChannelViewState")
@_attrs_define
class MyChannelViewState:
"""自身のチャンネル閲覧状態
Attributes:
... | Python |
// SPDX-License-Identifier: GPL-2.0
/*
* Copyright (C) 2018-2020 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
*/
#define RUNSTATEDIR "/var/empty"
#include "../curve25519.c"
#undef __linux__
#include "../ipc.c"
#include "../encoding.c"
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#includ... | C |
-left: 3.5px;
height: 20px;
font-size: 19px;
cursor: e-resize;
}
}
@{e-js}.e-splitter .e-splitbar.e-h-bar .e-activebar:before {
& when (@skin= "material") {
height:100%;
width:100%;
display:block;
}
& when (@skin= "office-365") {
content: ... | CSS |
.is-active a:hover,.hero.is-danger .tabs.is-toggle li.is-active a,.hero.is-danger .tabs.is-toggle li.is-active a:hover{background-color:#fff;border-color:#fff;color:#f14668}.hero.is-danger.is-bold{background-image:linear-gradient(141deg,#fa0a62 0,#f14668 71%,#f7595f 100%)}@media screen and (max-width:768px){.hero.is-da... | CSS |
,
{ 27664, 55, 1, 0, "Grilled Mudfish" },
{ 27665, 55, 1, 0, "Poached Bluefish" },
{ 27667, 55, 1, 0, "Spicy Crawdad" },
{ 27668, 0, 1, 0, "Lynx Meat" },
{ 27669, 0, 1, 0, "Bat Flesh" },
{ 27670, 0, 0, 2, "NPC Equip 27670" },
{ 27671, 0, 1, 0, "Buzzard Meat" },
{ 27672, 70, 3, 6, "Girdle of the Immovable" },
{... | Lua |
//
// SPDX-License-Identifier: Apache-2.0 OR MIT
//
// Copyright (C) 2021 <NAME>
//
//! An example of listing entries in an archive.
use std::path::PathBuf;
use clap::Parser;
/// List entries in an archive.
#[derive(Debug, Parser)]
#[clap(version)]
struct Opt {
/// An archive to list entries.
pub archive: P... | Rust |
}
}
/// <summary>
/// Применяет выбранное устройство к сервису
/// </summary>
public async Task<bool> ApplySelectedDeviceAsync()
{
if (SelectedDevice == null)
{
Log.Warning("AudioDeviceComponent попытка применить null устройств... | C# |
imers[key]) {
clearInterval(this.repeatTimers[key]);
delete this.repeatTimers[key];
}
}
/**
* Resets all keys to be in their "not depressed" states.
*/
clearKeyStates() {
for (let i: number = 0; i < this.keys.length; i++) {
this.clearKeyState(i);
}
}
/**
* Returns whether ctrl is pressed.
... | Typescript |
frect().height)
max_width = max(max_width, surf.get_frect().width)
total_height = sum(line_heights) + (len(line_surfaces) - 1) * line_spacing
text_surface = pygame.Surface((max_width, total_height), pygame.SRCALPHA)
# Blit each line with spacing
y = 0
for i, surf in... | Python |
ssage"
end
return {
serial = serial,
state = state
}
end
niproto.PARSE_DEVICE_STATE_ON_EVENT = niproto.PARSE_DEVICE_STATE_EVENT
niproto.PARSE_DEVICE_STATE_OFF_EVENT = niproto.PARSE_DEVICE_STATE_EVENT
function niproto._pad_code_to_num(code)
--https://github.com/SamL98/NIProtocol/blob/4... | Lua |
(ex, "Failed to cleanup checksum records");
}
}
// Utility method to get checksum file info
}
// Data classes for checksum tracking
public class GameUploadData
{
public Dictionary<string, FileChecksumRecord> Files { get; set; } =
new Dictionary<string, F... | C# |
= state.move_speed - move_speed_cond
# 3. Update spawn_speed
spawn_speed_cond = jnp.logical_and(
jnp.logical_and(ramp_cond, 1 - timer_cond), state.spawn_speed > 1
)
spawn_speed = state.spawn_speed - spawn_speed_cond
# 4. Update ramp_index
ramp_index = state.ramp_index + jnp.logical_and(... | Python |
BB(c.getChildIndexA()).getCenterToOut(cA);
fixtureB.getAABB(c.getChildIndexB()).getCenterToOut(cB);
m_debugDraw.drawSegment(cA, cB, color);
}
}
if ((flags & DebugDraw.e_aabbBit) != 0) {
color.set(0.9f, 0.3f, 0.9f);
for (Body b = m_bodyList; b != null; b = b.getNext()) {
... | Java |
y - nRange;
int nBottomPlusOne = irPos.y + nRange + 1;
int nLeft = irPos.x - nRange;
int nRight = irPos.x + nRange;
// Ref variable for the search level
Level &L = kf.maLevels[mnSearchLevel];
// Some bounds checks on the bounding box..
if(nTop < 0)
nTop = 0;
if(nTop >= L.image.size().y)
re... | C++ |
Int = 3;
// 计算时间间隔的开始时间
private static readonly DateTime BeginDatetime = new DateTime(2013, 10, 1);
// 随机数缓存
private static readonly Dictionary<long, long> DictLong = new Dictionary<long, long>();
// 随机数缓存
private static readonly Dictionary<int, int> DictInt = new Diction... | C# |
isEnabledByDefault: $shipped,
isExpired: ${expired == true},
experimentEnabledVersion: $enabledInVersion,
experimentReleasedVersion: $releasedInVersion),
''');
}
sb.write('''
;
final String name;
final bool isEnabledByDefault;
final bool isExpired;
final Version experimentEnabledVer... | Dart |
msg.getIsGatewayAdmin(),
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
updatedAt: (f = msg.getUpdatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
... | JavaScript |
IC_SUB_SIZET
EPICS_ATOMIC_INLINE size_t epicsAtomicSubSizeT ( size_t * pTarget,
size_t delta )
{
STATIC_ASSERT ( sizeof ( ulong_t ) == sizeof ( size_t ) );
ulong_t * const pTarg = ( ulong_t * ) pTarget;
long sdelta = ( long ) delta;
return ( size_t ) atom... | C |
E 80 04 21 */ bctrl
/* 80141F80 0013EEC0 80 7E 02 94 */ lwz r3, 0x294(r30)
/* 80141F84 0013EEC4 81 83 00 00 */ lwz r12, 0(r3)
/* 80141F88 0013EEC8 81 8C 00 20 */ lwz r12, 0x20(r12)
/* 80141F8C 0013EECC 7D 89 03 A6 */ mtctr r12
/* 80141F90 0013EED0 4E 80 04 21 */ bctrl
.L_80141F94:
/* 80141F94 0013EED4 80 01 00 ... | Assembly |
as.Columns[4].HeaderText = "Precio Unitario Producto";
this.dgvVentas.Columns[5].HeaderText = "Cantidad Vendida";
this.dgvVentas.Columns[6].HeaderText = "Monto Total";
}
private void btnActualizar_Click(object sender, EventArgs e)
{
//Crea el objeto "lista" d... | C# |
2bHash, include_forks: bool) -> bool {
match self.chain_store.get_chain_info(hash, false, None) {
Some(chain_info) => include_forks || chain_info.on_main_chain,
None => false
}
}
pub fn get_block(&self, hash: &Blake2bHash, include_forks: bool, include_body: bool) -> Opti... | Rust |
are almost at the end and I'm aiming to have full coverage of all existing functionality by early next week.
![[dendron.roadmap.project.n.2020.server-migration#tasks,1:#*]]
### Other
- Add overview of [[configuration|dendron.ref.config]]
- Add proposal for [[custom color tabs|dendron.roadmap.project.n.backlog.color... | Markdown |
cal blank handler and enable interrupts
;
;
InitVBint:
move.l d0,-(sp)
move.l #UpdateList,LEVEL0 ; Install our Auto-Vector 0 handler
move.w a_vde,d0
ori.w #1,d0 ; Must be ODD
move.w d0,VI
move.w INT1,d0
or.w #$1,d0 ; Turn on the video interrupts
move.w d0,INT1
move.w sr,d0
and.w #$F8FF,d0 ... | Assembly |
ones exposed by `persistedState` may have unexpected behaviors.
### `cookies`
```ts{10}
import { defineStore } from 'pinia'
export const useStore = defineStore('main', {
state: () => {
return {
someState: 'hello pinia',
}
},
persist: {
storage: piniaPluginPersistedstate.cookies(),
},
})
```... | Markdown |
": 97,
"_see": 98,
"see": 99,
"es": 100,
"_see_": 101,
"see_": 102,
"b": 103,
"_ole": 104,
"ga": 105,
"lle": 106,
"ad": 107,
"ka": 108,
"nu": 109,
"an": 110,
"ag": 111,
"ah": 112,
"va": 113,
"min": 114,
"_me": 115,
"_et": 116,
"_min"... | Go |
return Ok(())
}
let url = format!("{}/{}/{}/{}", SYMBOL_SERVER, name, &hash, name);
let mut resp = reqwest::blocking::get(&url)?;
let status = resp.status();
if !status.is_success() {
let msg = format!("{} for {}", status, url);
return Err(Sto... | Rust |
oc("Test", 3);
findJavadoc("Field", 5);
findJavadoc("foo", 5);
assertValid(
"/**<SelectOnType:Test>*/\n" +
"/**<SelectOnType:Test.Field>*/\n" +
"/**<SelectOnField:Test.Field#foo>*/\n" +
"/**<SelectOnType:Field>*/\n" +
"/**<SelectOnField:Field#foo>*/\n" +
"/**<SelectOnField:#foo>*/\n" +
"/**<S... | Java |
0,0%,82%,0) 0),"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2MTIgNzkyIj48cGF0aCBmaWxsPSIjZDk1MzRmIiBkPSJNNDQ3IDU0NC40Yy0xNC40IDE0LjQtMzcuNiAxNC40LTUyIDBsLTg5LTkyLjctODkgOTIuN2MtMTQuNSAxNC40LTM3LjcgMTQuNC01MiAwLTE0LjQtMTQuNC0xNC40LTM3LjYgMC01Mmw5Mi40LTk2LjMtOTIuNC05Ni... | CSS |
testSizeOf();
testAllocate();
testRead();
testWrite();
testCopy();
}
}
final class Struct4BytesHomogeneousInt16 extends Struct {
@Int16()
external int a0;
@Int16()
external int a1;
String toString() => "(${a0}, ${a1})";
}
final class Struct8BytesNestedInt extends Struct {
external ... | Dart |
d utilities with |cffff8800/tukui ru|r or |cffff8800/tukui markers|r")
-- No need to display this message again
self:UnregisterEvent("GROUP_ROSTER_UPDATE")
self:UnregisterEvent("PLAYER_ENTERING_WORLD")
end
end
end
function RaidUtilities:Enable()
self:SetSize(450, (ButtonSize * 2) + (4 * 1))
self:SetPoin... | Lua |
0, s[0:7] dmask:0x1 dim:SQ_RSRC_IMG_1D th:TH_STORE_NT_HT
// GFX12: encoding: [0x00,0x80,0x41,0xd0,0x00,0x00,0x60,0x00,0x00,0x00,0x00,0x00]
image_store v0, v0, s[0:7] dmask:0x1 dim:SQ_RSRC_IMG_1D th:TH_STORE_NT_WB
// GFX12: encoding: [0x00,0x80,0x41,0xd0,0x00,0x00,0x70,0x00,0x00,0x00,0x00,0x00]
image_store v0, v0, s[0... | Assembly |
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.
# Configuration file for the Sphinx documentation builder.
#
# For the full list of built-in configuration values, see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html
# -- Project in... | Python |
transition: opacity .5s ease 1s
}
.tech-intro .intro-demo.scanned>li .demo-compare {
opacity: 1;
-webkit-transition: opacity .5s ease .5s;
-moz-transition: opacity .5s ease .5s;
transition: opacity .5s ease .5s
}
.tech-intro .intro-demo.scanned>li .demo-score {
opacity: 1;
-webkit-transitio... | CSS |
0x26240118 ; 800C709C
dw 0x0C00CA16 ; 800C70A0
dw 0x24050028 ; 800C70A4
dw 0x8E240144 ; 800C70A8
dw 0x24020002 ; 800C70AC
dw 0x14820019 ; 800C70B0
dw 0x3C06800B ; 800C70B4
dw 0x8CC3BA24 ; 800C70B8
dw 0x24050064 ; 800C70BC
dw 0x00A3102A ; 800C70C0
dw 0x14400014 ; 800C70C4
dw 0x00000000 ; 800C70C8
dw 0x146500... | Assembly |
number": 3,
"verse_number": 185,
"content":
"ഏതൊരു ദേഹവും മരണം ആസ്വദിക്കുന്നതാണ്. നിങ്ങളുടെ പ്രതിഫലങ്ങള് ഉയിര്ത്തെഴുന്നേല്പിന്റെ നാളില് മാത്രമേ നിങ്ങള്ക്ക് പൂര്ണ്ണമായി നല്കപ്പെടുകയുള്ളൂ. അപ്പോള് ആര് നരകത്തില് നിന്ന് അകറ്റിനിര്ത്തപ്പെടുകയും സ്വര്ഗത്തില് പ്രവേശിപ്പിക്കപ്പെടുകയും ചെയ്യുന്നുവ... | Dart |
"""
=============================
Plot and Use Subsurface Tools
=============================
Subsurfaces can be used for efficient operations on subsets of cortical surface
"""
import tempfile
import matplotlib.pyplot as plt
import numpy as np
import cortex.polyutils
subject = 'S1'
left, right = cortex.db.get_... | Python |
oBeUndefined();
expect(address.asEnterprise()).toBeUndefined();
expect(pointer!.getStakePointer()).toEqual(cip19TestVectors.POINTER);
expect(pointer!.getPaymentCredential()).toEqual(cip19TestVectors.SCRIPT_CREDENTIAL);
expect(address.getNetworkId()).toBe(Cardano.NetworkId.Testnet);
expect(address.g... | Typescript |
eath, replace PH repop with NM repop
DisallowRespawn(phId, true)
DisallowRespawn(nmId, false)
UpdateNMSpawnPoint(nmId)
nm:setRespawnTime(immediate and 1 or GetMobRespawnTime(phId)) -- if immediate is true, spawn the nm immediately (1ms) else use placeholde... | Lua |
= ((computedStyle.color as Color.RGBa).color)
drawer.stroke = ((computedStyle.color as Color.RGBa).color)
drawer.strokeWeight = (8.0)
drawer.lineCap = (LineCap.ROUND)
val x = ((value - range.min) / range.span) * (layout.screenWidth - 2 * margin)
drawer.stroke = ((computedStyle.... | Kotlin |
nts.get(DecodeHintType.POSSIBLE_FORMATS);
Collection<Reader> readers = new ArrayList<Reader>();
if (formats != null) {
boolean addOneDReader =
formats.contains(BarcodeFormat.UPC_A) ||
formats.contains(BarcodeFormat.UPC_E) ||
formats.contains(BarcodeFormat.EAN_13) ||
... | Java |
$base-font-size;
/* Importing Google Fonts */
@import url(https://fonts.googleapis.com/css?family=Sue+Ellen+Francisco|Asap:400,700,400italic,700italic);
// The following font family declarations are based on the Microsoft core web
// fonts which are common fonts available on most computer systems. The DejaVu
// and... | CSS |
[Cmdlet(VerbsCommon.Get, "ForegroundWindow")]
[Description("Returns the hWnd or handle of the window in the foreground on the current desktop. See also Set-ForegroundWindow.")]
[RelatedLink(typeof(SetForegroundWindowCommand))]
public class GetForegroundWindowCommand : Cmdlet
{
protected overri... | C# |
s.VirtualEventPresenterDetails>("presenterDetails"); }
set { BackingStore?.Set("presenterDetails", value); }
}
#endif
/// <summary>
/// Creates a new instance of the appropriate class based on discriminator value
/// </summary>
/// <returns>A <see cref="global::Micros... | C# |
ch::style::Dimension::Percent(1.0);
self
}
pub(crate) fn align_items(mut self, align: Align) -> Self {
self.0.align_items = align.into();
self
}
pub(crate) fn justify_content(mut self, justify: Justify) -> Self {
self.0.justify_content = justify.into();
self
... | Rust |
Name = mapName.split('.');
var lootg = parseFloat(getRandomMapValue("loot"));
if (game.singleRunBonuses.goldMaps.owned) lootg += 1;
if (lootOverride && game.singleRunBonuses.goldMaps.owned) lootOverride += 1;
if (typeof mapName[1] === 'undefined') mapName[1] = "All";
if (nameOverride) mapName[0] = nameOverride;
e... | JavaScript |
signed size)
{
return __getblk_gfp(bdev, block, size, __GFP_MOVABLE);
}
/**
* __bread() - reads a specified block and returns the bh
* @bdev: the block_device to read from
* @block: number of block
* @size: size (in bytes) to read
*
* Reads a specified block, and returns buffer head that contains it.
* T... | C |
$$aoP, h$$aoQ, h$$aoR, h$$aoS, h$$aoT, h$$aoU, h$$aoV, h$$aoW, h$$aoX, h$$aoY, h$$aoZ,
h$$ao0, h$$ao1, h$$ao2, h$$ao3, h$$ao4, h$$ao5, h$$ao6, h$$ao7, h$$ao8, h$$ao9, h$$apa, h$$apb, h$$apc, h$$apd, h$$ape,
h$$apf, h$$apg, h$$aph, h$$api, h$$apj, h$$apk, h$$apl, h$$apm, h$$apn, h$$apo, h$$app, h$$apq, h$$apr, h$$aps, h... | JavaScript |
fin_normale,fx_fin_normale
Dc.l fx_fin_normale,fx_fin_normale,fx_fin_normale,fx_extra_fine_tone_porta
Dc.l fx_extra_fine_porta_up,fx_extra_fine_porta_down,fx_left_bal_move,fx_right_bal_move
; b0xx - bfxx
Dc.l fx_tremor,fx_fin_normale,fx_fin_normale,fx_fin_normale
Dc.l fx_fin_normale,fx_fin_normale,fx_fin_norma... | Assembly |
idinfo.w = w;
vidinfo.h = h;
vidinfo.x = settings_nst[OVERSCAN_L].val;
vidinfo.y = settings_nst[OVERSCAN_T].val;
bool pal = Machine(emulator).GetMode() == Machine::PAL;
vidinfo.aspect = (aspect_w * (pal ? ASPECT_PAL : ASPECT_NTSC)) / (double)h;
if (Machine(emulator).Is(Machine::SOUND))
... | C++ |
()
println(files2?.size ?: "empty") // ?: 是null,?是不为null,后可以跟表达式
// if null 执行一个语句
// 在可能会空的集合中取第一元素
val emails = listOf<String>()
val mainEmail = emails.firstOrNull() ?: ""
println(mainEmail)
// 对一个对象实例调用多个方法 (with)
val myTurtle = Turtle()
with(myTurtle) {
// 画一个 100 像素的正方形... | Kotlin |
xpr right)
: base(left, right, null) { }
public override IReadOnlyCollection<ICoreServCtrl> Filter(
IReadOnlyCollection<ICoreServCtrl> servs
)
{
var l = left?.Filter(servs) ?? new List<ICoreServCtrl>();
if (l.Count < 1)
{
... | C# |
her<ConfigEntity>.AllOf(indices);
}
public static Entitas.IAllOfMatcher<ConfigEntity> AllOf(params Entitas.IMatcher<ConfigEntity>[] matchers) {
return Entitas.Matcher<ConfigEntity>.AllOf(matchers);
}
public static Entitas.IAnyOfMatcher<ConfigEntity> AnyOf(params int[] indices) {
re... | C# |
esult is placed in z[0 : 2*n].
unsafe fn karatsuba(z: *mut u32, x: *const u32, y: *const u32, xlen: usize, ylen: usize, zlen: usize) {
let n = ylen;
// Switch to basic multiplication if numbers are odd or small.
// (n is always even if karatsubaThreshold is even, but be
// conservat... | Rust |
d *= float64(int64(1<<32)) * float64(int64(1<<32))
}
e := sleefILogb2k(d * (1.0 / 0.75))
m := sleefLdexp3k(d, -e)
if o {
e -= 64
}
x := sleefDddivD2D2D2(sleefDdadd2D2DD(-1.0, m), sleefDdadd2D2DD(1.0, m))
x2 := x.x * x.x
x4 := x2 * x2
x8 := x4 * x4
t := sleefPoly7(x2, x4, x8,
0.1532076988502701353e+0,
... | Go |
d }, p0, [x0]
// CHECK-ENCODING: [0x00,0xe0,0x60,0xe4]
// CHECK-ERROR: instruction requires: sve or sme
// CHECK-UNKNOWN: e460e000 <unknown>
st1b { z31.b }, p7, [sp, #-1, mul vl]
// CHECK-INST: st1b { z31.b }, p7, [sp, #-1, mul vl]
// CHECK-ENCODING: [0xff,0xff,0x0f,0xe4]
// CHECK-ERROR: instruction requires: sv... | Assembly |
/* 169*/
"tableswitch", /* 170*/
"lookupswitch", /* 171*/
"ireturn", /* 172*/
"lreturn", /* 173*/
"freturn", /* 174*/
"dreturn", /* 175*/
"areturn", /* 176*/
"return", /* 177*/
"getstatic", /* 178*/
"put... | Java |
tx') for continuation
** functions. It must be a numerical type; Lua will use 'intptr_t' if
** available, otherwise it will use 'ptrdiff_t' (the nearest thing to
** 'intptr_t' in C89)
*/
#define LUA_KCONTEXT ptrdiff_t
#if !defined(LUA_USE_C89) && defined(__STDC_VERSION__) && \
__STDC_VERSION__ >= 199901L
#include... | C |
UpdateJobConfig()
{
var config = jobConfigFactory.Builder().Build();
config.EvaluationFormula = EvaluationFormula.RatingFormula ?? "";
config.GroupingKeys = GroupingConfigurator.GroupingConfiguration.GroupingKeys;
config.GroupingKeysRequired = GroupingKeysRequir... | C# |
import os
import subprocess
# Generate the LEF file using magic
PDK_ROOT = os.getenv('PDK_ROOT', '~/.ciel')
PDK = os.getenv('PDK', 'sky130A')
os.environ['PDK_ROOT'] = PDK_ROOT
os.environ['PDK'] = PDK
top_module = 'res_div'
gds_in = f'gds/{top_module}.gds.gz'
lef_out = f'lef/{top_module}.lef'
rcfile = os.path.join(... | Python |
.custom-file-input:valid:focus~.custom-file-label{border-color:#28a745;box-shadow:0 0 0 .2rem rgba(40,167,69,.25)}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:80%;color:#dc3545}.invalid-tooltip{position:absolute;top:100%;left:0;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-... | CSS |
());
let attr1 = Attr::from((0..1024).map(|i| i as i64));
let block = Block::new(1024, vec![attr1]);
let res = plan.eval(&block).unwrap();
assert_eq!(1, res.len());
assert_eq!(9, res[0].n_records());
let array = res[0].codec.as_array().unwrap();
assert_eq!(&[1i64,... | Rust |
:1x0, step:0x0, num_a_c:16
v_mfma_f32_16x16x1f32 a[a_c+48:a_c+63], v[v_a+3], v[v_b+3], a[a_c+48:a_c+63] ; repeat:1x1, step:0x0, num_a_c:16
s_nop 9
; coalescing store, mapping:mt_m:256, mt_n:64, wt_m:64, wt_n:16, ws:4, r_m:2, r_n:2, s_m:1, s_n:1 | 16x16x1, lanegroup_m_tcbw:4x4x1x4, lanegroup_n_tcbw:1x1... | Assembly |
timeout: number,
opts?: Partial<LeaseUpdateOpts>,
): Promise<void>
lease(returnTimeout: number): Promise<Lease<T> | null>
waitForLease(returnTimeout: number, retryStrategy: () => RetryStrategy): Promise<Lease<T>>
updateTimeout(id: InstanceId, newTimeout: number, opts?: Partial<LeaseUpdateOpts>): Promise<voi... | Typescript |
o n t e s t a n t I d } } ;
a w a i t c l i e n t . e x e c u t e ( c o n t r a c t , h a n d l e M s g 1 ) ;
a w a i t c l i e n t . e x e c u t e ( c o n t r a c t , h a n d l e M s g 2 ) ;
c o n s ... | Markdown |
private val keyValueStore by lazy {
KeyValueStore(
dbFile = Paths
.get(System.getProperty("user.home"), ".maestro", "sessions")
.toFile()
.also { it.parentFile.mkdirs() }
)
}
fun heartbeat(sessionId: String, platform: Platform) {... | Kotlin |
inal stage where we swizzle the `sum` and `carry` and connect them to `rCarryA` and `rCarryB`, respectively.
```dart
(p) => [
p.get(rCarryA) <
<Logic>[
Const(0),
...List.generate(
valA.width - 1,
(index) =>
p.get(sum[(valA.width + valB.width - 2) - index]... | Markdown |
)
)
return Mul.create(scope, x, invNorm)
}
/**
* Batchwise dot product.
*
* @param scope: Current scope
* @param x: Operand with dimensions>=2
* @param y: Operand with dimensions>=2
* @param axis: Axis along which to perform batch dot
*/
public fun batchDot(scope: Scope?, x: Operand<Float>, y: O... | Kotlin |
"Dates are expected to be provided in ISO 8601 date format "
"(YYYY-MM-DD)."
)
return {"date": item, "type": "date"}
def string(self, item: Any) -> str:
# Remove escaped quotes
return str(item).strip("\"'")
def get_parser(
allowed_comparators: Optio... | Python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.