content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
= (byte)(C1 >> 24);
bytes[index++] = (byte)C2;
bytes[index++] = (byte)(C2 >> 8);
bytes[index++] = (byte)(C2 >> 16);
bytes[index++] = (byte)(C2 >> 24);
bytes[index++] = (byte)C3;
bytes[index++] = (byte)(C3 >> 8);
bytes[index++] = (byte)(C3 >> 16);
bytes[i... | Java |
YMid meet" viewBox="0 0 32 32"><path fill="currentColor" d="M31.969 26.984c-.401-2.572-5.163-.593-5.459-3.411-.417-4 5.531-12.615 5.063-15.964-.417-3.005-2.453-3.64-4.219-3.677-1.715-.025-2.167.245-2.745.584-.339.192-.817.577-1.484-.057-.443-.423-.745-.713-1.208-1.089-.24-.192-.62-.432-1.261-.525-.629-.099-1.463 0-1.98... | Dart |
==================================================================
bitflags! {
#[allow(missing_docs)]
pub struct Flags: u32 {
#[allow(missing_docs)]
const AMBIENT = 0b0000_0000_0000_0000_0000_0000_0000_0001u32;
#[allow(missing_docs)]
const FOG = 0b0000_0000_0000_0... | Rust |
eParser))
registerViewAttrSetter(JsRadioButton::class.java, JsRadioButtonInflater(scriptRuntime, resourceParser))
registerViewAttrSetter(JsRadioGroup::class.java, JsRadioGroupInflater(scriptRuntime, resourceParser))
registerViewAttrSetter(JsRatingBar::class.java, JsRatingBarInflater(scriptRuntim... | Kotlin |
.noUi-target {
position: relative;
}
.noUi-base,
.noUi-connects {
width: 100%;
height: 100%;
position: relative;
z-index: 1;
}
/* Wrapper for all connect elements.
*/
.noUi-connects {
overflow: hidden;
z-index: 0;
}
.noUi-connect,
.noUi-origin {
will-change: transform;
position: absolute;
z-index... | CSS |
g (bytes). Text to show. Use `\n` to break lines.
*
* ```
* const [message] = jdunpack<[string]>(buf, "s")
* ```
*/
Message = 0x2,
/**
* Read-write ratio u0.8 (uint8_t). Brightness of the screen. `0` means off.
*
* ```
* c... | Typescript |
dentro de la comunidad SciPy.
## Participación en línea
Las siguientes son formas de relacionarse directamente con el proyecto y la comunidad de SciPy.
Por favor ten en cuenta que incentivamos a usuarios y miembros de la comunidad a que se apoyen entre sí para preguntas relacionadas con el uso. Busca si ya existe u... | Markdown |
SumMetrics(
[]string{"http_requests_total"},
e2emon.WithLabelMatchers(matchers.MustNewMatcher(matchers.MatchEqual, "handler", "query")),
)
testutil.Ok(t, err)
testutil.Equals(t, 1, len(vals))
queryTimes := vals[0]
ts := func() time.Time { return now }
t.Run("query frontend works for instant query", func(t ... | Go |
`Something went wrong. :( | ${error}`,
});
}
}// At it's simplest, access control is a yes or no value
import { permissionsList } from './schemas/fields';
import { ListAccessArgs } from './types';
export function isSignedIn({ session }: ListAccessArgs): boolean {
return !!session;
}
// Generate permis... | Typescript |
height:32px;height:2.28571rem;line-height:32px !important;line-height:2.28571rem !important;background-color:#E3ECF2;color:#7f8fa4;display:inline-block;vertical-align:middle;text-align:center;border-radius:0 4px 4px 0;border-radius:0 0.28571rem 0.28571rem 0}.vDateField-link:hover span,.vTimeField-link:hover span{backgr... | CSS |
/*
* hl_unlink.c -- provide _unlink().
*
* Copyright (c) 2024 Synopsys Inc.
*
* The authors hereby grant permission to use, copy, modify, distribute,
* and license this software and its documentation for any purpose, provided
* that existing copyright notices are retained in all copies and that this
* notice is... | C |
/// </summary>
public InterpolationMode InterpolationMode { get; set; } = InterpolationMode.HighQualityBicubic;
/// <summary>
/// Pixel offset mode.
/// Default: PixelOffsetMode.HighQuality
/// </summary>
public PixelOffsetMode PixelOffsetMode { get; set; } = Pixe... | C# |
larative example of a ref thats relative
to another widget's ref. This is useful, for example, if the widget
may move its DOM location at some point.
Here, we're saying group's ref is relative to "infoGroup" widget's
ref and is located at the property "ShipTo" therein.
-->
<div class="row" id="addrGroup... | HTML |
tedExecutionCount = &f
}
case "routing_state":
if err := dec.Decode(&s.RoutingState); err != nil {
return fmt.Errorf("%s | %w", "RoutingState", err)
}
case "start_time":
if err := dec.Decode(&s.StartTime); err != nil {
return fmt.Errorf("%s | %w", "StartTime", err)
}
case "threads_per_al... | Go |
_iter_n_children;
iface->iter_nth_child = list_model_iter_nth_child;
iface->iter_parent = list_model_iter_parent;
}
static const GInterfaceInfo iface_info = {
(GInterfaceInitFunc) iface_init
};
static GType list_model_get_type ()
{
static GType type = G_TYPE_INVALID;
if (type == G_TYPE_INVALID)
... | C++ |
R::new(((self.bits >> 8) & 0x01) != 0)
}
#[doc = "Bits 6:7 - AUTO_SUSP"]
#[inline(always)]
pub fn auto_susp(&self) -> AUTO_SUSP_R {
AUTO_SUSP_R::new(((self.bits >> 6) & 0x03) as u8)
}
#[doc = "Bits 4:5 - UERR"]
#[inline(always)]
pub fn uerr(&self) -> UERR_R {
UERR_R::new(... | Rust |
BaseMemoryLibRepStr
# BaseMemoryLibMmx
# BaseMemoryLibSse2
# BaseMemoryLibOptDxe
# BaseMemoryLibOptPei
#
#------------------------------------------------------------------------------
#------------------------------------------------------------------------------
# CONST VOID *
# EFIAPI
# Int... | Assembly |
Send Track '" .. send_track_name .. "' and connected Send device")
else
renoise.app():show_status("ERROR - Failed to load Send device")
end
end
-- Create New Multiband Send function for PakettiPresetPlusPlus
function PakettiPresetPlusPlusCreateNewMultibandSend()
local song = renoise.song()
-- Get curren... | Lua |
eap (rw) */
#define STA_DEL 0x0020 /* delete leap (rw) */
#define STA_UNSYNC 0x0040 /* clock unsynchronized (rw) */
#define STA_FREQHOLD 0x0080 /* hold frequency (rw) */
#define STA_PPSSIGNAL 0x0100 /* PPS signal present (ro) */
#define STA_PPSJITTER 0x0200 /* PPS signal jitter exceeded (ro) */
#define STA_PPSWANDER ... | C |
sut.nextStep();
}
sut.nextStep();
sut.nextStep();
expect(sut.array[0].value).toBe(12);
expect(sut.array[1].value).toBe(23);
expect(sut.array[2].value).toBe(42);
expect(sut.array[3].value).toBe(78);
expect(sut.array[4].value).toBe(345);
});
it('should get the middle pointer corr... | Typescript |
Delta (ms)</th><th>Suite<br>configuration</th><th>Test<br>configuration</th><th>Class<br>configuration</th><th>Groups<br>configuration</th><th>Method<br>configuration</th><th>Test<br>method</th><th>Thread</th><th>Instances</th></tr>
<tr bgcolor="7fd8ce"> <td>24/01/02 20:20:45</td> <td>0</td> <td> </td><td title... | HTML |
//
// AboutPanelController.h
// This file is part of ShairPortMenu.
//
// A Simple OS X GUI wrapper for ShairPort / HairTunes
//
// Copyright 2011 Robert Carlsen.
//
// ShairPortMenu is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// ... | C |
ion_covid_19_fiskalpolitik_zentralbanken_Konjunkturpaket-1536x1023.jpg 1536w, https://makronom.de/wp-content/uploads/2020/03/corona_virus_rezession_covid_19_fiskalpolitik_zentralbanken_Konjunkturpaket-2048x1363.jpg 2048w, https://makronom.de/wp-content/uploads/2020/03/corona_virus_rezession_covid_19_fiskalpolitik_zentr... | HTML |
--[[
GD50
Super Mario Bros. Remake
Author: Colton Ogden
cogden@cs50.harvard.edu
]]
push = require 'push'
require 'Util'
-- size of our actual window
WINDOW_WIDTH = 1280
WINDOW_HEIGHT = 720
-- size we're trying to emulate with push
VIRTUAL_WIDTH = 256
VIRTUAL_HEIGHT = 144
TILE_SIZE = 16
-- tile ID... | Lua |
AeJxjYGRgYG7438AQwyLLwPD/CwsvA1AEBXACAHTJBI94nGNhYGBgfsnAwAKkWWShNBoGACGmASoAAAAAAHYAxAFMAfQCXgLcA0wDyHicY2BkYGDgZMhlYGcAASYg5gJCBob/YD4DABSDAZQAeJxlj01OwzAQhV/6B6QSqqhgh+QFYgEo/RGrblhUavdddN+mTpsqiSPHrdQDcB6OwAk4AtyAO/BIJ5s2lsffvHljTwDc4Acejt8t95E9XDI7cg0XuBeuU38QbpBfhJto41W4Rf1N2MczpsJtdGF5g9e4YvaEd2EPHXwI13CNT+E69S/... | CSS |
#pragma once
#ifndef DSY_DRIP_H
#define DSY_DRIP_H
#include <stdint.h>
#ifdef __cplusplus
/** @file drip.h */
namespace daisysp
{
/**
Imitates the sound of dripping water via Physical Modeling Synthesis. \n
Ported from soundpipe by Ben Sergentanis, May 2020
@author Perry Cook
@date 2000
*/
cl... | C |
tification)
{
_handleParagraphJustification(m_paragraphJustification);
}
// add more block options below
// ...
}
m_bInBlock = true;
}
void WordPerfect_Listener::_openSpan(PT_AttrPropIndex api)
{
if (!m_bInBlock)
{
return;
}
const PP_AttrProp * pAP = nullptr;
bool bHaveProp = m_pDocument->getA... | C++ |
�。例如:
卿卿 (打《诗经》一句)
谜底:如何如何
将"何"分为"可人",即"如可人,如可人"。
""".trimIndent()
),
Mige(
title = "鼎足格",
desc = """
别名:蟾足格。谜底需两字以上,最后一字分读成三个字。例如:
欧美民族 (打一春秋人物)
谜底:西施
将"施"分读为"方人也",即"西方人也"... | Kotlin |
BotResponse(bot, ArchiSteamFarm.Localization.Strings.BotNotConnected);
}
if (!PackageHandler.Handlers.Keys.Contains(bot.BotName)) {
return FormatBotResponse(bot, Strings.PluginNotEnabled);
}
IDocument? accountLicensesPage = await WebRequest.GetAccountLicenses(bot);
if (accountLicensesPage == null) ... | C# |
-button {
width: 6rem;
height: 100%;
background-color: white;
color: #1a1a1a;
position: relative;
z-index: 2;
-webkit-transform: translateZ(0);
}
@media screen and (max-width: 900px) {
.SignUp-input-button {
width: 5rem;
}
}
.SignUp-input-button-arrow,
.SignUp-input-button-search {
backgroun... | CSS |
allowfullscreen','allowfullscreen');
element.append(videoElement);
return false;
});
element.on('skyVideo:play', function() {
if (element.hasClass('playing')) {
videoElement[0].contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}', '*');
videoElement[0].con... | Typescript |
DNI number to $1c
sta DRAW_PAGE
jsr draw_full_dni_number
pla
sta DRAW_PAGE
ldx #$20
jsr invert_1k
inc FRAMEL
lda FRAMEL
and #$3
bne no_inc_effect2
jsr inc_base5
no_inc_effect2:
jmp done_effect
effect0:
; full mask, so full plasma
ldx #$20
lda #$FF ; white
jsr clear_1k
; overlay with number
... | Assembly |
posed=!0,S(this),(g=this._value)===null||g===void 0||g.dispose(),this._value=void 0}}e.MutableDisposable=c;class d{constructor(g){this._disposable=g,this._counter=1}acquire(){return this._counter++,this}release(){return--this._counter===0&&this._disposable.dispose(),this}}e.RefCountedDisposable=d;class r{constructor(g)... | JavaScript |
:0;position:absolute;top:87px;width:286px;z-index:100}.zebra-oversea-header-pc .top .top-wrap .user-info .order-info .num-wrapper{border-bottom:1px solid #f2f2f2;height:75px;vertical-align:middle}.zebra-oversea-header-pc .top .top-wrap .user-info .order-info .num-wrapper a{float:left;font-size:14px;margin-top:12px;text... | CSS |
query, queryOptions, solrQuery);
assertEquals(flDefault1 + "&q=*:*&fq=phylop:{-100.0+TO+-1.0}", solrQuery.toString());
}
@Test
public void parsePhylopAndGene() {
QueryOptions queryOptions = new QueryOptions();
Query query = new Query();
query.put(GENE.key(), "WASH7P");
... | Java |
emu-val>, then<ol><li>Let <var>desc</var> be ? <var>from</var>.[[GetOwnProperty]](<var>nextKey</var>).<li>If <var>desc</var> is not <emu-val>undefined</emu-val> and <var>desc</var>.[[Enumerable]] is <emu-val>true</emu-val>, then<ol><li>Let <var>propValue</var> be ? <emu-xref aoid=Get id=_ref_1739><a href=#sec-get-... | HTML |
import numpy as np
import torch
import sys
from Bio import SeqIO
from sklearn.metrics import roc_auc_score, precision_recall_curve, auc, f1_score, \
accuracy_score, recall_score, precision_score, matthews_corrcoef, confusion_matrix
def read_fasta(inputfile):
try:
f = open(inputfile, 'r')
except (... | Python |
/* 8004095C 0003D75C EF FF 10 2A */ fadds f31, f31, f2
/* 80040960 0003D760 EC 01 00 28 */ fsubs f0, f1, f0
/* 80040964 0003D764 EF FF 00 2A */ fadds f31, f31, f0
/* 80040968 0003D768 42 00 FF 9C */ bdnz lbl_80040904
lbl_8004096C:
/* 8004096C 0003D76C 3B 9C 00 01 */ addi r28, r28, 1
/* 80040970 0003D770 2C 1C 00... | Assembly |
入(Embedding)是将数据向量化的一个过程,可以理解为将人类语言转换为大语言模型所需要的计算机语言的一个过程。在我们第二轮测试开始前,首先下载一个嵌入模型:[nomic-embed-text](https://ollama.com/library/nomic-embed-text) 。它可以使我们的`Ollama`具备将文档向量化的能力。
```
ollama run nomic-embed-text
```
## 使用LangChain
接下来需要一个`Document loaders`,[文档](https://python.langchain.com/docs/modules/data_connection/doc... | Markdown |
BitwiseOperator.negatedOr => 'NOR',
BitwiseOperator.exclusiveOr => 'XOR',
BitwiseOperator.negatedExclusiveOr => 'XNOR',
}),
))
.toList(),
value: current.value,
onChanged: (val)... | Dart |
:auto}.c-posts--tile .c-posts__inner{padding:0;flex-direction:column;flex-wrap:nowrap;height:100%}.c-posts--tile .c-posts__media{display:block;width:100%;max-width:none;order:1}.c-posts--tile .c-posts__flag{display:block;font-size:1.125rem;padding:12px 16px;left:0;top:0;margin:0;position:absolute;z-index:100}.c-posts--... | HTML |
NewLRUCache creates a new empty cache with the given capacity.
func NewCipherLRU(capacity int64) *CipherLRU {
return &CipherLRU{
list: list.New(),
by_source: make(map[string]*list.Element),
by_inbound_cipher: make(map[string]*_Cipher),
capacity: capacity,
}
}
func (self *Cipher... | Go |
1.988 1.988 0 0 0-.17-.667l-.075-.152l-.019-.032l.02-.03a2.01 2.01 0 0 0 .242-.795L15 11V9l-.005-.15a2 2 0 0 0-1.838-1.844z'/%3E%3C/g%3E%3C/svg%3E");
}
.tabler-circle-4-filled {
--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' stro... | CSS |
7F7; background-color: inherit" title="Reference to another Resource" class="hierarchy"/> <span title="ChargeItem.requestingOrganization : The organization performing the service.">requestingOrganization</span><a name="ChargeItem.requestingOrganization"> </a></td><td style="vertical-align: top; text-align : left; backg... | HTML |
orld;
this.slither = snake;
}
turnSnakeLeft() {
this.slither.turnLeft();
}
turnSnakeRight() {
this.slither.turnRight();
}
get snakePosition () {
return this.slither.currentPosition
}
get snakeDirection () {
return this.slither.currentDirection
}... | Typescript |
(160, 210); // inside (just below top)
TestHost.mouseLeftButtonDown ();
TestHost.mouseLeftButtonUp ();
setTimeout (seek_to_end, 500);
};
var create_handler = function (object, /*string*/ event_name, /*int*/ expected_arg_count, /*bool*/ expected_event, /*int*/ me_index)
{
var handler = function (... | HTML |
[int] | None
Shape of the array.
dtype : np.dtype | None
Target data type. Same as `values` by default.
Returns
-------
array : SparseArray
New array.
"""
indices = np.asarray(indices)
coo = sparse.coo_array((values... | HTML |
t.yodyodhebrew = 0x05f2;
t.yodyodpatahhebrew = 0xfb1f;
t.yohiragana = 0x3088;
t.yoikorean = 0x3189;
t.yokatakana = 0x30e8;
t.yokatakanahalfwidth = 0xff96;
t.yokorean = 0x315b;
t.yosmallhiragana = 0x3087;
t.yosmallkatakana = 0x30e7;
t.yosmallkatakanahalfwidth = 0xff6e;
t.yotgreek = 0x03f3;
t.yoyaek... | JavaScript |
'''
This code is used to find node whose high-weight genes are over-representated
in a gene list (a biological pathway or a TF's downstream targets).
'''
import glob
from scipy import stats
import sys
sys.path.insert(0,'Data_collection_processing/')
from pcl import PCLfile
from statsmodels.stats.multitest import *
... | Python |
Count=0,this._msFrameCount=0,this._throttled=!1;e=document.createElement("div");e.className="cesium-performanceDisplay-throttled",this._throttledText=document.createTextNode(""),e.appendChild(this._throttledText),i.appendChild(e)}function PickDepth(){this._framebuffer=void 0,this._depthTexture=void 0,this._textureToCop... | JavaScript |
32*8,r17
add r1=32*8,r1
add r2=32*8,r2
add r3=32*8,r3
add r4=32*8,r4
add r5=32*8,r5
add r6=32*8,r6
add r7=32*8,r7
;;
fc r17
fc r1
fc r2
fc r3
fc r4
fc r5
fc r6
fc r7
add r17=32*8,r17
add r1=32*8,r1
add r2=32*8,r2
add r3=32*8,r3
add r4=32*8,r4
add r5=32*8,r5
add r6=32*8,r6
add r7=32*8,r7
;;
fc ... | Assembly |
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Http;
using Avalonia.Base.UnitTests.Media.TextFormatting;
namespace Avalonia.Visuals.UnitTests.Media.TextFormatting
{
public class BiDiClassTestDataGenerator : IEnumerable<object[]>
{... | C# |
x:"0",y:"0",viewBox:"0 0 1024 1024",style:{"enable-background":"new 0 0 1024 1024"},"xml:space":"preserve"},xm=e("path",{d:"M368 833c-13.3 0-24.5 4.5-33.5 13.5S321 866.7 321 880s4.5 24.5 13.5 33.5 20.2 13.8 33.5 14.5c13.3-.7 24.5-5.5 33.5-14.5S415 893.3 415 880s-4.5-24.5-13.5-33.5S381.3 833 368 833zM807 640c7.4 0 13.8-... | JavaScript |
= m_ReorderableLists[i - 1];
m_ReorderableLists[i - 1] = m_ReorderableLists[i];
m_ReorderableLists[i] = l;
EditorUtility.SetDirty(db);
}
}
else
{
GUILayout.Label("", GUILayout.Width(32));
... | C# |
t long ostrs[N], float* dst, const long istrs[N], const float* src, const long mdims[N], const long mstrs[N], const float* mat)
{
md_clear2(N, dims, ostrs, dst, FL_SIZE);
vptr_md_fmac_upper_triag2(dim1, dim2, 3, N, (const long*[3]) { dims, dims, mdims }, (const long*[3]) { ostrs, istrs, mstrs }, (void*[3]) { dst, (v... | C |
}
}
void XCoreInstPrinter::
printOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O) {
const MCOperand &Op = MI->getOperand(OpNo);
if (Op.isReg()) {
printRegName(O, Op.getReg());
return;
}
if (Op.isImm()) {
O << Op.getImm();
return;
}
assert(Op.isExpr() && "unknown operand kind in pr... | C++ |
/Xiaoxie1994/shawn-weekly) <br>
> **订阅方式**: 微信公众号“**肖恩聊技术**”,除周刊外还有更多原创技术博文~<br>
> <img src="https://cdn.jsdelivr.net/gh/Xiaoxie1994/images/images/20241103221454.png" alt="公众号二维码" width="300">
## 开篇图

本周花了较多时间在“知识管理”的理论学习上,了解了工作流、知识花园(Digita... | Markdown |
nction(t,e,r){Object.defineProperty(e,"__esModule",{value:!0});const n=r(2105);function o(t){const e=t%1e3,r=Math.floor(e/100),n=i.special.hundreds[r],o=function(t){const e=t%100;if(e<30)return i.ones[e];const r=i.tens[Math.floor(e/10)],n=i.ones[e%10];return r&&n?r+" y "+n:r||n}(e%100);return 1===r?o?n+"to "+o:n:n&&o?n... | JavaScript |
struct net *net, struct socket *sock,
int protocol, int kern);
struct module *owner;
};
```
> 越过一些知识
这个数组是在`inet_init`中被初始化的:`(void)sock_register(&inet_family_ops);`
```
static const struct net_proto_family inet_family_ops = {
.family = PF_INET,
.create = inet_create,
.owner = THIS_MODULE,
};
```
那么`pf->cre... | Markdown |
fun clean() {
val dummyFile =
File(outputDirectory, "dummy.txt").apply {
parentFile.mkdirs()
writeText("This is a dummy file.")
}
test("--clean")
assertHtmlContentPresent()
assertFalse(dummyFile.exists())
}
private fun ... | Kotlin |
].y, vn[2].z);
pvertex(vv[2]);
}
}
else {
for(UFace f:faces) pvertex(f.getV());
}
}
// NO NORMALS
else {
if(colorFace) {
for(UFace f:faces) {
g.fill(f.col);
pvertex(f.getV());
}
}
... | Java |
MAX_LENGTH = 12;
daikon2.Tag.VR_LO_MAX_LENGTH = 64;
daikon2.Tag.VR_LT_MAX_LENGTH = 10240;
daikon2.Tag.VR_OB_MAX_LENGTH = -1;
daikon2.Tag.VR_OD_MAX_LENGTH = -1;
daikon2.Tag.VR_OF_MAX_LENGTH = -1;
daikon2.Tag.VR_OW_MAX_LENGTH = -1;
daikon2.Tag.VR_PN_MAX_LENGTH = 64 * 5;
daikon2.Tag.VR_SH_M... | JavaScript |
.markdown pre,.swagger-ui .renderedMarkdown pre{background:none;color:#000;font-weight:400;padding:0;white-space:pre-wrap}.swagger-ui .markdown code,.swagger-ui .renderedMarkdown code{background:rgba(0,0,0,.05);border-radius:4px;color:#9012fe;font-family:monospace;font-size:14px;font-weight:600;padding:5px 7px}.swagger... | CSS |
private set
lateinit var moduleRes: XModuleResources
private set
/**
* You need invoke this function at first in [IXposedHookLoadPackage.handleLoadPackage]
*
* 你需要在 [IXposedHookLoadPackage.handleLoadPackage] 中首先调用此函数
*
* @see IXposedHookLoadPackage.handleLoadPackage
... | Kotlin |
t->playerState->legsTimer = BG_AnimLength(pVeh->m_pPilot->localAnimIndex, Anim);
}
BG_SetAnim(pVeh->m_pPilot->playerState, bgAllAnims[pVeh->m_pPilot->localAnimIndex].anims,
SETANIM_BOTH, Anim, iFlags|SETANIM_FLAG_HOLD);
}
#ifndef _GAME
void AttachRidersGeneric( Vehicle_t *pVeh );
#endif
void G_SetSpeederVehicleFu... | C |
DNEG, ISHL, LSHL, ISHR, LSHR, IUSHR,
* LUSHR, IAND, LAND, IOR, LOR, IXOR, LXOR, I2L, I2F, I2D, L2I, L2F, L2D, F2I, F2L, F2D, D2I,
* D2L, D2F, I2B, I2C, I2S, LCMP, FCMPL, FCMPG, DCMPL, DCMPG, IRETURN, LRETURN, FRETURN,
* DRETURN, ARETURN, RETURN, ARRAYLENGTH, ATHROW, MONITORENTER, or MONITO... | Java |
00,
nextIdx: 5,
},
{
desc: "before up to excluding first cached entry",
lo: 5, hi: 11, mb: 100,
nextIdx: 5,
},
{
desc: "starts at first cached entry, remains in cache",
lo: 10, hi: 12, mb: 100,
idxs: []uint64{10, 11}, scanBytes: 20, nextIdx: 12,
},
{
desc: "starts at first cached... | Go |
ove.l (%sp)+, %a0
sub.l %d1, %a0
jmp scale_64_36_jump(%pc, %d0.w)
scale_64_36_jump:
dc.w 0b0011001011101000, 0b0000000000000000
move.w 2(%a0), (%a1)+
move.w 6(%a0), (%a1)+
move.w 10(%a0), (%a1)+
move.w 14(%a0), (%a1)+
move.w 16(%a0), (%a1)+
move.w 20(%a0), (%a1)+
move.w 24(%a0), (%a1)+
move.w 28(%a0), (%a1)+
... | Assembly |
Manager, InternalCapabilities } from '../utils/managers';
export type HelperDefinition = object;
export interface HelperCapabilities extends InternalCapabilities {
hasValue: boolean;
hasDestroyable: boolean;
hasScheduledEffect: boolean;
}
export function helperCapabilities(
managerAPI: string,
options: Par... | Typescript |
01(\fR\bpreimage\x12+\n" +
"\btransfer\x18\x02 \x01(\v2\x0f.spark.TransferR\btransfer\"2\n" +
"\bOutPoint\x12\x12\n" +
"\x04txid\x18\x01 \x01(\fR\x04txid\x12\x12\n" +
"\x04vout\x18\x02 \x01(\rR\x04vout\"\x87\x01\n" +
"\x16CooperativeExitRequest\x127\n" +
"\btransfer\x18\x01 \x01(\v2\x1b.spark.StartTransferRequest... | Go |
"mw-customtoggle-othervers-2">其他版本(点击展开/隐藏)</th></tr><tr class="mw-collapsible mw-collapsed" id="mw-customcollapsible-othervers-2"><td style="width: 44px;"><div class="center"><div class="floatnone"><a href="./文件-Grimoire_of_IOSYS_-_東方BEST_ALBUM_vol.3_-封面.jpg.md" class="image" title="Grimoire of IOSYS - 東方BEST ALBUM vo... | Markdown |
求激增。这两个因素共同将科学上网从"技术极客的小众玩具"推向了普通网民的必备技能。 </p> <h2>第二章 工具大全:从VPN到Shadowsocks</h2> <p>工欲善其事,必先利其器。2017年七月的主流科学上网工具呈现出百花齐放的态势: </p> <h3>1. VPN:传统而可靠的解决方案</h3> <ul> <li><strong>ExpressVPN</strong>:以"军用级加密"为卖点,全球3000+服务器 </li> <li><strong>NordVPN</strong>:双重加密技术的先驱,特别适合隐私敏感用户 </li> <li><strong>Astrill VPN</strong>:... | HTML |
的头头破坏生产,他们又乱签字、乱发钱,刮起反革命经济主义的黑风。这一方面,今天在场的很多干部也有推卸不了的责任。
</p>
<p>
铁路交通中断了,造反派的工人和红卫兵学生们顶上岗位,奋战几昼夜,不吃不睡,恢复交通,那时你们在干什么?
</p>
<p>
港口货运停卸了,造反派的工人和红卫兵学生们坚持生产,回击了倒挂我国国旗的资本主义国家海轮的恶意挑衅,那时你们在干什么?
</p>
<p>
整个上海市的工作和生产几乎完全瘫痪了,但是,毛主席的革命路线,“唤起工农千百万”。“人民,只有人民,才是创造世界历史的动力。”上海的革命人民用他们的铁肩膀,挑起了革命和生产两副重担。上海的革命造反派,在一月... | HTML |
] IEnumerable<Adb.AdbDevice> devices)
{
var array = devices.ToArray();
if (array.Length == 0)
{
if (settings.Devices?.Any() == true)
throw new InvalidOperationException("No device was found matching the filter.");
else
throw new InvalidOperationException("No devices was found, make sure to specify... | C# |
ategory")
dictio["MY_EXTENSION_ICONURL"] = getattr(self, "iconurl")
dictio["MY_EXTENSION_STATUS"] = getattr(self, "status")
dictio["MY_EXTENSION_DESCRIPTION"] = getattr(self, "description")
dictio["MY_EXTENSION_SCREENSHOTURLS"] = getattr(self, "screenshoturls")
dictio["MY_EXTENSION_ENABLED"] = getat... | Python |
xor x19,x19,x16 # sigma1(X[i+14])
add x28,x28,x19
#ifdef __riscv_zbb
xor x19,x6,x7 # 28
ror x17,x5,14
add x16,x28,x8
ror x18,x5,18
and x19,x19,x5
ror x8,x5,41
xor x17,x17,x18
ror x18,x9,28
xor x19,x19,x7 # Ch(e,f,g)
xor x17,x17,x8 # Sigma1(e)
ror x8,x9,34
add x16,x16,x19
ld x19,224(x12) # K[28]
... | Assembly |
t]):
"""Update system-wide metrics"""
if 'data_latency_ms' in metrics:
self.metrics_collector.update_data_latency(metrics['data_latency_ms'])
if 'event_drop_rate' in metrics:
self.metrics_collector.update_event_drop_rate(metrics['event_drop_rate'])
# Global metrics serv... | Python |
vice.updateChatAiConfiguration(id, dto);
return "success";
} catch (Exception e) {
return "error: " + e.getMessage();
}
}
/**
* 删除聊天对象
*/
@PostMapping("/chats/{id}/delete")
@ResponseBody
public String deleteChat(@PathVariable Long id) {... | Java |
c = elm_button_add(obj);
return ic;
}
EFL_START_TEST(elm_gengrid_item_content)
{
Evas_Object *win, *gengrid;
Elm_Genlist_Item_Class *gtc;
Evas_Object *content, *parent;
Elm_Object_Item *it;
gtc = elm_gengrid_item_class_new();
gtc->item_style = "default";
gtc->func.content_get = _item_content_g... | C |
.report(freqs, spectrum, [2, 70], plt_log=True)
###################################################################################################
#
# In this case, we see that the 'fixed' aperiodic component (equivalent to a line
# in log-log space) is not able to capture the data, which has a curve.
#
# To compensa... | Python |
p_body, &formatter);
encode_json("Response Status", resp_status, &formatter);
formatter.open_array_section("Errors");
for (const auto fail_desc : failures) {
formatter.open_array_section("object");
stringstream ss_name;
ss_name << fail_desc.path;
encode_json("Name", ss_name.str(), &formatter);
... | C++ |
0, u = 0; for (let t = s.length - 1; t >= 0; t--)u *= 9, u += s[t], h += s[t]; let d = 0, f = 0; for (let t = a.length - 1; t >= 0; t--)d *= 9, d += a[t], f += a[t]; let g = u + 3 * d; if (r) { if (0 != (1 & h) || h > 12 || h < 4) throw new D; let t = (12 - h) / 2, e = ne.OUTSIDE_ODD_WIDEST[t], r = 9 - e, n = Bt.getRS... | JavaScript |
self.frame.draw_box();
}
fn frame(&self) -> &Frame {
&self.frame
}
fn frame_mut(&mut self) -> &mut Frame {
&mut self.frame
}
}
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may ... | Rust |
color: #0066ff;}
.cm-s-isotope span.cm-def {color: #ff9900;}
.cm-s-isotope span.cm-error {background: #ff0000; color: #c0c0c0;}
.cm-s-isotope span.cm-bracket {color: #e0e0e0;}
.cm-s-isotope span.cm-tag {color: #ff0000;}
.cm-s-isotope span.cm-link {color: #cc00ff;}
.cm-s-isotope .CodeMirror-matchingbracket { text-decor... | CSS |
not(.sb-anchor, .sb-unstyled, .sb-unstyled p)),
:where(li:not(.sb-anchor, .sb-unstyled, .sb-unstyled li)) {
font-size: max(1em, 16px) !important;
}
/**/
/* === NYSDS: Typography Styles */
/* Adding these here to combat Storyboook's excessive specificity */
/* --- Body --- */
.nys-font-body-xs { font: var(--nys-f... | CSS |
structuring.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case Subclass(:final field):
/// return ...;
/// case Subclass2(:final field2):
/// return ...;
/// }
/// ```
@optionalTypeArgs TResult when<TResult extends Object?>(TResult Function( List<Emoji> emojis) $default,) {fin... | Dart |
含化石的",
"-zoon":" [构成名词]表示动物, 个体",
"-zygous":" [构成形容词]表示:“合子的”:heterozygous; “颧骨的”",
"-zyme":" 表示“酶”:histozyme",
".45 caliber":"[网络] .45口径",
".45 calibre":"[网络] .45口径",
".45-caliber":"[网络] .45口径",
".45-calibre":"[网络] .45口径",
"0":" zero",
"1":"num. one",
"10":"num. ten",
"100":" hundred",
"1000":" one thousand",
"101":" ... | Typescript |
2040 core 3.5.4+`](https://github.com/arduino/ArduinoCore-mbed) for Arduino **NANO_RP2040_CONNECT, RASPBERRY_PI_PICO** boards. [](https://github.com/arduino/ArduinoCore-mbed/releases/latest)
3. [`Earle Philhower's arduino-pico core v2... | Markdown |
case cmENDIF: mu::console() << _T("ENDIF\n"); break;
case cmASSIGN:
mu::console() << _T("ASSIGN\t");
mu::console() << _T("[ADDR: 0x") << m_vRPN[i].Oprt.ptr << _T("]\n");
break;
default: mu::console() << _T("(unknown code: ") << m_vRPN[i].Cmd << _T(")\n");
break;
} // switch cmdCode
}... | C++ |
e loop may exit prematurely. We must
* return to the loop if none of the bytes in the word match
* ch or are equal to 0.
*/
/*
* Alignment here avoids a stall on the Athlon, even though
* it's not a branch target.
*/
_ALIGN_TEXT
cmpb %cl,%bl /* 1st byte == ch? */
jne 1f
subl $4,%eax
jmp .Ldone
1: t... | Assembly |
order-color: #545b62;
}
.btn-outline-success {
color: #75b798;
border-color: #75b798;
}
.btn-outline-success:hover {
background-color: #198754;
color: #fff;
}
.btn-outline-danger {
color: #ea868f;
border-color: #ea868f;
}
.btn-outline-danger:hover {
background-color: #dc3545;
color: #fff;
}
.btn-ou... | CSS |
\u9664\u6b66\u88c5\uff0c\u4ece\u800c\u589e\u52a0\u6000\u7591\u5206\u5b50\u7684\u6000\u7591\u548c\u53cd\u5bf9\u5206\u5b50\u7684\u501f\u53e3\u3002\u5179\u503c\u8fd0\u52a8\u8fdb\u4eba\u9ad8\u6f6e\uff0c\u57ce\u5e02\u53eb\u56a3\u65e5\u76ca\u589e\u591a\u4e4b\u9645\uff0c\u5728\u8fd9\u65b9\u9762\uff0c\u8bf7\u5404\u7701\u4e88\u... | HTML |
target)))
{
for(int d=Directions.NUM_DIRECTIONS()-1;d>=0;d--)
{
final Room R=target.getRoomInDir(d);
if((R!=null)&&(CMLib.flags().isACityRoom(R)))
return true;
}
}
return false;
}
@Override
public boolean invoke(final MOB mob, final List<String> commands, final Physical givenTarget, fina... | Java |
query.Filter(elastic.NewTermQuery("snapshot.id", snapshot))
search := client.Search().Index(index).Size(1).Query(query)
res, err := search.Do(ctx)
if err != nil {
if elastic.IsNotFound(err) {
l.Warning("Query execution failed, ES index does not exists", map[string]interface{}{
"index": index,
"error": ... | Go |
"Это - благословенное Писание, которое Мы ниспослали и которое подтверждает то, что было до него, дабы ты увещевал Мать городов (жителей Мекки), и тех, кто живет вокруг нее. Те, которые веруют в Последнюю жизнь, веруют в него (Коран) и бережливо относятся к своим намазам"
},
{
"surah_number": 6,
"vers... | Dart |
SMODS.Joker {
key = 'jackpot',
atlas = 'Jokers',
pos = {
x = 7,
y = 3
},
rarity = 2,
config = {
extra = {
money = 15,
prob = 1,
odds = 3
}
},
mxms_credits = {
art = { "Maxiss02" },
code = { "theAstra" },
... | Lua |
�. 最后 3 个参数含义同上, 开头 2 个参数用于定义晶体表面的方向, 这 2 个参数必须是整数.
这里使用 [Miller index](https://en.wikipedia.org/wiki/Miller_index) 来表示晶体表面方向.
举个例子, 2 个参数为 `a`, `b`, 那么表示 Miller index (`a`, 0, `-a`, `b`). 对于一个正常的冰晶,
比如编号 13 的那个表面, 对应的 Miller index 是 (1, 0, -1, 1), 那么这里参数就写成 1, 1.
* 7 个参数的情况. 最后 3 个参数含义同上, 开头 4 个参... | Markdown |
){let e=n[I.System.StiObject.stimulsoft]().as(O.d.IStiPieSeries),t=n[I.System.StiObject.stimulsoft]().as(O.d.IStiFunnelSeries),i=n[I.System.StiObject.stimulsoft]().as(O.d.IStiDoughnutSeries);(null!=e&&!e.showZeros||null!=i&&!i.showZeros||null!=t&&!t.showZeros)&&0==r||u.push(new O.d.StiLegendItemCoreXF(this.legend.chart... | JavaScript |
/summary>
/// <returns></returns>
int main() {
char cso_path[PATH_BUFLEN]; char png_path[PATH_BUFLEN];
printf("Battle Control Online! \n");
init_global();
get_cso_file_path(cso_path);
// 把CSO后缀换成png
strcpy(png_path, cso_path);
char* const ext = strstr(png_path, ".cso");
if (ext) {
... | C |
MOV r3, #&a0000000 ;and mark as extended format
MOVNE r15, r7 ;then go home
funny_s_e
ORR r0, r0, r0, LSL #7 ;extend funny exponent to 15 bits
TST r0, #&ff ;is this exponent zero?
BICNE r1, r1, #&80000000 ;restore old m... | Assembly |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.