content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
f="group___g_a_t_t___d_b.html#ga70dd0848883fcc1d89374223f70c24c8">gatt_database.h</a>
</li>
<li>gattDbCharPresFormat_t
: <a class="el" href="group___g_a_t_t.html#ga4dd595e18e7d3d77b42c8ba3105acbed">gatt_types.h</a>
</li>
<li>gattProcedureResult_t
: <a class="el" href="group___g_a_t_t___c_l_i_e_n_t.html#ga527067366a73fb... | HTML |
223],
'pop': 150,
'state': 'MT'
},
{
'_id': '59464',
'city': 'MOORE',
'loc': [-109.653838, 46.989811],
'pop': 569,
'state': 'MT'
},
{
'_id': '59465',
'city': 'NEIHART',
'loc': [-110.732827, 46.939086],
'pop': 58,
'state': 'MT'
},
{
'_id': '59467',
'cit... | Dart |
: "")
).join("\\n");
return newAppPopup(name, desc);
}
/** accept formats: "name":"desc" name:type name:"types" name:"type-values"
* using name:'...' will force app popups
* @param {DSInput} inpt
* @param {GenState} state
* @param {string} descStr
* @param {boolean} [useAppPop]
*/
function replaceT... | JavaScript |
1)
!$EV trig_pc_d(2,expr(@VA(.MAIN.IDLE_INTR_588)+4, 16, 16)) -> intp(0, 3, 1)
.word 0xce720009 ! 964: STX_R stx %r7, [%r8 + %r9]
.word 0xc40a0009 ! 964: LDUB_R ldub [%r8 + %r9], %r2
.word 0xa27224f4 ! 964: UDIV_I udiv %r8, 0x04f4, %r17
.word 0x8c6a26bc ! 964: UDIVX_I udivx %r8, 0x06bc, %r6
.word 0x82fa2bcc... | Assembly |
return hkdfExpandLabel(hash, secret, applicationTrafficLabel, nil, hash.Size())
}
func computePSKBinder(psk []byte, version uint16, label []byte, cipherSuite *cipherSuite, clientHello, helloRetryRequest, truncatedHello []byte) []byte {
finishedHash := newFinishedHash(version, false, cipherSuite)
finishedHash.addEntr... | Go |
, rawAnswer, ...super.props];
Memo copyWith({
List<Map<String, dynamic>>? rawQuestion,
List<Map<String, dynamic>>? rawAnswer,
MemoExecution? lastExecution,
Map<MemoDifficulty, int>? executionsAmounts,
int? timeSpentInMillis,
}) {
return Memo(
collectionId: collectionId,
uniqueId... | Dart |
/*
* Copyright 2013-2020 Software Radio Systems Limited
*
* This file is part of srsLTE.
*
* srsLTE is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of
* the License, or (at your... | C |
* The flat array-based data structures might be counterintuitive, but they're one of the key reasons this library is fast.
*/
halfedges: Int32Array;
/**
* A circular doubly-linked list that holds a convex hull of the delaunay triangulation.
*/
hull: Delaunator.Node;
/**
* Cons... | Typescript |
("Failed to queue async process.");
return ConvertBooleanToNapiValue(env, false);
}
return ConvertBooleanToNapiValue(env, true);
}
static void OnSurfaceCreated(OH_NativeXComponent *component, void *window)
{
LAppPal::PrintLogLn("Start OnSurfaceCreated.");
if (!CheckComponent(component))
{... | C++ |
using System.Collections.Generic;
using BeatLeader.Models.AbstractReplay;
using BeatLeader.Models;
using BeatLeader.Utils;
using UnityEngine;
using Zenject;
namespace BeatLeader.Replayer.Emulation {
public class ReplayerNotesCutter : MonoBehaviour {
#region Injection
[Inject] private readonly Bea... | C# |
_FungibleToken, 8,
[]byte{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, UniqueIdType_Null)
return asset, UniqueIdType_Null, err
}
symbol := strArray[0]
type2 := base36.DecodeToBytes(string(strArray[1][1]))[0]
assetType := AssetType(type2 >> 3)
uniqueIdType := UniqueIdType(type2 & 7)
decimal := base36.DecodeToBytes(strAr... | Go |
('\u{fe31}', '\u{fe32}'), ('\u{fe58}', '\u{fe58}'), ('\u{fe63}',
'\u{fe63}'), ('\u{ff0d}', '\u{ff0d}')
];
pub const Pe_table: &'static [(char, char)] = &[
('\u{29}', '\u{29}'), ('\u{5d}', '\u{5d}'), ('\u{7d}', '\u{7d}'),
('\u{f3b}', '\u{f3b}'), ('\u{f3d}', '\u{f3d}'), ('\u{169c}',
... | Rust |
bundle.put(LEAP_CD, leapCooldown);
}
@Override
public void restoreFromBundle( Bundle bundle ) {
super.restoreFromBundle( bundle );
pumpedUp = bundle.getInt( PUMPEDUP );
if (state != SLEEPING) BossHealthBar.assignBoss(this);
if ((HP*2 <= HT)) BossHealthBar.bleed(tru... | Java |
ype is not IgnoreRequest:
logger.error(
"Error downloading %(request)s: %(f_exception)s",
{"request": request, "f_exception": failure.value},
exc_info=failure_to_exc_info(failure),
extra={"spider": spider},
)
return failure
... | Python |
section></summary><div class='docblock'>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/1.85.1/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_into" class="method t... | HTML |
and cry, Lenehan said,
and you'll kick. O, my rib risible! Taking off his flat spaugs and the
walk. Small nines. Steal upon larks.
</p>
<p>
He began to mazurka in swift caricature across the floor on sliding
feet past the fireplace to J. J. O'Molloy who placed the tissues in his
receiving hands.
</p>
<p>
—What's... | HTML |
归还受托银行垫付款项的本息。
七、受托银行代垫资金按建设银行其它贷款计收利息,超过30日不还,按逾期贷款加收20%利息。
八、委托人与受益人的借款合同发生变更,委托人应事先通知受托银行。在得到受托银行书面认可后方可变更。
九、委托人按保函额度 ‰的费率按年支付担保费,共计 元。担保费于每年 月 日交纳。
十、本协议一式二份,委托人、受托银行各执一份。协议中任何条款的修改、增加须经双方同意。
十一、本协议自 年 月 日起生效,双方义务履行完毕后失效。
十二、本协议未尽事宜依照《中国人民建设银行担保业务暂行办法》办理。
委托人(公章) 受托银行(公章)
法定代表人(签字) ... | HTML |
tion (e, t) { const { adsRenderedThreshold: n = 3, xhrErrorThreshold: r = 40, dwellTime: o = 0 } = e || {}; return t("creating nonBlockerStore", n, r), function (e, t, n) { return new s.Z(((t, n) => { switch (t.type) { case "ad rendered": return e({ ...n, numAdsRendered: n.numAdsRendered + 1 }); case "xhrError": return... | HTML |
CLIENT_UNAVAILABLE;
case 'downloading':
return RadarrQueueRecordStatus.DOWNLOADING;
case 'failed':
return RadarrQueueRecordStatus.FAILED;
case 'paused':
return RadarrQueueRecordStatus.PAUSED;
case 'queued':
return RadarrQueueRecordStatus.QUEUED;
case 'warnin... | Dart |
define CXX_STD __cplusplus
#endif
const char* info_language_dialect_default = "INFO" ":" "dialect_default["
#if CXX_STD > 201703L
"20"
#elif CXX_STD >= 201703L
"17"
#elif CXX_STD >= 201402L
"14"
#elif CXX_STD >= 201103L
"11"
#else
"98"
#endif
"]";
/*----------------------------------------------------------... | C++ |
ref414
.byte $41, $0c
.word @song2ref414
.byte $41, $0c
.word @song2ref414
.byte $41, $0c
.word @song2ref414
.byte $ff, $ff, $ff, $9b, $42
.word @song2ch4loop
@song2ch5:
@song2ch5loop:
.byte $88
@song2ref475:
.byte $1f, $b1, $1c, $b1, $23, $d5, $00, $8b, $21, $ff, $bd, $00, $8b, $1c, $b1, $1a, $b1, $1c
@song2... | Assembly |
ht(height)
if err != nil {
return 0
}
if header == nil {
return 0
}
if uint64(header.Timestamp) < fileTimeExpired {
return uint64(height)
}
}
return 0
}
/*
* Copyright (C) 2018 The ontology Authors
* This file is part of The ontology library.
*
* The ontology is free software: you can redistr... | Go |
"PrinterLogin" { mapOf("returnCode" to 1) }
"PrinterLogout" { mapOf("returnCode" to 1) }
"CMGetUserCard".unpaged("userCardList"){
db.card.findByUser_Card_ExtId(uid).map { it.apply { printCount = 99 } }
}
"CMGetUserCharacter".unpaged("userCharacterList") { db.character.findByUser_Card_ExtId... | Kotlin |
l && lastBlock > headBlock {
return nil, nil, 0, 0, fmt.Errorf("%w: requested %d, head %d", errRequestBeyondHead, lastBlock, headBlock)
}
// ensure not trying to retrieve before genesis
if rpc.BlockNumber(blocks) > lastBlock+1 {
blocks = int(lastBlock + 1)
}
return pendingBlock, pendingReceipts, uint64(lastBlo... | Go |
] .PollXChoice-optionContainer .PollXChoice-choice:hover{cursor:pointer}.TwitterCard .PollXChoice-optionContainer .PollXChoice-choice--selected{width:0;height:1em;display:inline-block;transition:width .3s cubic-bezier(0.5,1.2,.5,1.2);padding:.14286em;background-size:100%;background-repeat:no-repeat;background-position:... | CSS |
ell = Constants.spellToEnum(packet.readShort());
result = sp;
break;
case PLAYER_CAST_PVP:
sp = new SpellStruct();
sp.spell = Constants.spellToEnum(packet.readShort());
sp.targetIndex = packet.readShort();
result = sp;
break;
case CAST_ON_NPC:
sp = new SpellStruct();
sp.spell... | Java |
using NzbDrone.Core.Annotations;
using NzbDrone.Core.Indexers.Settings;
using NzbDrone.Core.Validation;
namespace NzbDrone.Core.Indexers.Definitions.Xthor
{
public class XthorSettingsValidator : NoAuthSettingsValidator<XthorSettings>
{
}
public class XthorSettings : NoAuthTorrentBaseSettings
{
... | C# |
)
topics = nsqlookupd.DB.FindRegistrations("topic", topicName, "")
equal(t, len(topics), 1)
producers := nsqlookupd.DB.FindProducers("topic", topicName, "")
equal(t, len(producers), 1)
producer := producers[0]
equal(t, producer.peerInfo.BroadcastAddress, "ip.address")
equal(t, producer.peerInfo.Hostname, "ip.... | Go |
.contact)
.then(data => {
content.friend = data
cb(null, content)
})
}),
pull.filter(content => content.friend),
pull.map("contact"),
pull.drain((id) => {
friends.push(id)
})
);
}
module.exports = {
friends,
computeFriendsCache,
connectSSB
}
/**
*... | JavaScript |
/?mta=338243" rel="nofollow" onClick="pageTracker._trackEvent('Header Tabs', 'Live Sex Tab');">Live Sex</a></li>
<li class="wide-btn-title"><a target="_blank" href="http://ads.sexinyourcity.com/generator/dispatcher/ph_tab_dispatcher.php" rel="nofollow" onClick="pageTracker._trackEvent('Header Tabs', 'Real Sex Tab')... | HTML |
import numpy as np
import re
import matplotlib.pyplot as plt
from more_neurons_model_dsnn_config import decrease_rate,batch_size,learning_rate,weight_decay
from more_neurons_model_dsnn_config import L,r,decrease_over,K
from pathlib import Path
import pandas as pd
#this script compares performance of dsnn with differ... | Python |
: SspiPrepareForCredWrite, SspiPrepareForCredWrite function [Security], security.sspiprepareforcredwrite, sspi/SspiPrepareForCredWrite
req.header: sspi.h
req.include-header:
req.target-type: Windows
req.target-min-winverclnt: Windows 7 [desktop apps only]
req.target-min-winversvr: Windows Server 2008 R2 [desktop apps ... | Markdown |
= org.w3c.dom.Node;
/// <summary>
/// This is the interface class for an Axis.
///
/// An axis defines the "direction of movement" for a step between a context node
/// and another node that is reachable via the axis.
/// </summary>
public interface Axis
{
/// <summary>
/// Get elements and attributes.
... | C# |
not set).
///
/// Rounding is done according to the rounding\[3:0\] parameter, which can be one of:
/// (_MM_FROUND_TO_NEAREST_INT |_MM_FROUND_NO_EXC) // round to nearest, and suppress exceptions
/// (_MM_FROUND_TO_NEG_INF |_MM_FROUND_NO_EXC) // round down, and suppress exceptions
/// (_MM_FROUND_TO_POS_I... | Rust |
_ERROR : <code>fftLen</code> is not a supported length
@par Description
The parameter <code>fftLen</code> specifies the length of RFFT/CIFFT process.
Supported FFT Lengths are 32, 64, 128, 256, 512, 1024, 2048, 4096.
@par
This Function also initial... | C |
.select_best_match(&[FamilyName::Title(name)], &Properties::new())
.unwrap()
.load()
.unwrap()
}
fn u32_to_solid_source(x: u32) -> SolidSource {
let bytes = x.to_be_bytes();
SolidSource::from_unpremultiplied_argb(bytes[3], bytes[0], bytes[1], bytes[2])
}
pub static HEADER_CATAL... | Rust |
s Activities based on a value for Completed By. </td></tr>
<tr>
<td>doneOn </td><td>wacDoneOn </td><td>Datetime </td><td>True </td><td><a class="el" href="namespace_h_p_1_1_h_p_t_r_i_m_1_1_s_d_k.html#a42b30f289efa9bf64150279dbb479586aeebe08fa42d8a3db28a05bd434f0895b">ActivityDateCompleted</a> </td><td>Selects Activitie... | HTML |
th>
<th>432</th>
<th>100%</th>
<th>7991</th></tr>
<tr><th class="bg_p" id="HTML-FILE-136-Symbols"><a href="#Flash640">Flash640</a> / <a href="#HTML-SECTION-4">.text</a> / <a href="#HTML-FILE-136">PDM_NVMheaderAccessFunctions.c.obj</a></th>
<th class="bg_p">Start</th>
<th class="bg_p">End</th>
<th class="bg_p">Size</th>... | HTML |
)\xc8\x0de\x9cM\xe1\xecV\
\x90\x1b\xca\xf8 \x85\xb3AAn(\xe3K\x14\xceR\
\x05\xb9\xa1\x8c\x9fQ8\xed\x0arC\x19\xff6\xd6(\
\x8c\x89\xc6\xff\x14d\x872^N\xe1\xecS\x90\x1b\xca\
\xd8A\xe1\xbc\xae 7\x94\xf1\x19\x0a\xa7KAn(\
\xe3\x0e\x0a\xe7f\x05\xb9\xa1\x8c\xbfP8\xad\x0arC\
9'S8\x07\x15\xe4\x862\xce\xa5p\xb6+\xc8\x0d\
e\x5cA\xe... | Python |
#ifndef TACHYON_RS_BASE_CONTAINER_UTIL_H_
#define TACHYON_RS_BASE_CONTAINER_UTIL_H_
#include "absl/types/span.h"
#include "rust/cxx.h"
#include "tachyon/base/functional/functor_traits.h"
#include "tachyon/base/template_util.h"
namespace tachyon::rs {
template <typename Container, typename T = base::container_value_... | C |
2a3.786 3.786 0 014.041-3.689h8.407c-.149-.237-.28-.448-.361-.585-.717-1.213-1.916-3.243.14-5.175a3.719 3.719 0 015.009.01c.353.381.669.795.944 1.235a12.44 12.44 0 005.521 5 10.641 10.641 0 016.3 9.522c-.001 10.946-12.882 10.946-18.382 10.946Zm-1.834-4.797c-.166.379-.24.792-.213 1.206a2.226 2.226 0 002.047 1.593c8.508 ... | Dart |
unc, _ShowWarning warningFunc);
struct Message {
const char* fmt;
bool bCanDisable;
bool bDisabled;
};
void Show(Message& msg, ...);
void Show(const char* msg, ...);
void vShow(Message& msg, va_list args);
void vShow(const char* msg, va_list args);
};
struct CSLock {
private:
CRITICAL_SECTION* cs;
... | C |
int REGION_DR_EUROPE = 1004;
///
static const int REGION_DR_AFILA = 1003;
/// Unknown
static const int REGION_DR_UNKNOWN = 1001;
String path;
String productSetId;
MLFrameType frameType;
int largestNumberOfReturns;
int region;
MLProductVisionSearchAnalyzerSetting() {
path = null;
product... | Dart |
: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
*/
package org.jvnet.testing.hk2mockito;
import jakarta.inject.Inject;
import static org.assertj.core.api.Assertions.assertThat;
import org.jvnet.testing.hk2mockito.fixture.assisted.AssistedInjectionService;
import org.jvnet.testing.hk2mockito.fixture.assisted.Custom... | Java |
long.");
}
}
/**
* Generate a random key
*/
public KademliaId()
{
keyBytes = new byte[ID_LENGTH / 8];
new Random().nextBytes(keyBytes);
}
/**
* Generate the NodeId from a given byte[]
*
* @param bytes
*/
public KademliaId(byte[] bytes)... | Java |
:timeZone() const { return d ? d->timeZone : PTimeZones(); }
void VCard::setTimeZone(const PTimeZones &timeZone)
{
INIT_D();
d->timeZone = timeZone;
}
Item<TimeZone> &VCard::setTimeZone(const TimeZone &timeZone)
{
INIT_D();
d->timeZone.append({ Parameters(), timeZone });
return d->timeZone.last();... | C++ |
-47 231.5t47 231.5t127 190t190.5 127t231.5 47.5zM596 1010q-112 0 -207.5 -55.5t-151 -151t-55.5 -207.5t55.5 -207.5 t151 -151t207.5 -55.5t207.5 55.5t151 151t55.5 207.5t-55.5 207.5t-151 151t-207.5 55.5zM454.5 905q22.5 0 38.5 -16t16 -38.5t-16 -39t-38.5 -16.5t-38.5 16.5t-16 39t16 38.5t38.5 16zM754.5 905q22.5 0 38.5 -16t16 -3... | Go |
117818
IE1vdG9yY3ljbGU= 117819
IG1lbWFz 117820
INCw0LTQvNC40L3QuNGB0YLRgNCw0YLQuNCy 117821
IEJyb2FkY2FzdGluZw== 117822
LnVzdWFyaW8= 117823
IGRpc2FwcGVhcnM= 117824
IG1pY3Jvc29mdA== 117825
INin2YTYstmI2Kw= 117826
5aaW 117827
INCy0YvQv9C+0LvQvdC10L3QuNGP 117828
IGJyYXNpbA== 117829
c3TDpG5kZW4= 117830
IHRlcmxhbHU= 117831
... | Kotlin |
import requests
import random
def ask_LLM(prompt, host, api_key,backend = 'tabyapi',inst_beg = "[INST]",inst_end = "[/INST]",max_tokens = 1024,min_p = 0.9,top_k = 1,top_p = 0.9,temperature=0.8):
if backend == 'vllm':
payload = {
"prompt": prompt,
"model": "/workspace/text-generatio... | Python |
port),
tx,
rx,
stopped: Arc::new(AtomicBool::new(false)),
}
}
async fn handle_connection(
sender: Sender<Message>,
stream: TcpStream,
_addr: SocketAddr,
stopped: Arc<AtomicBool>,
) {
let mut ws = accept_async(stream)
... | Rust |
;
gy = g->GetY();
gn = g->GetN();
inter = IsIntersectingPolygon(gn, gx, gy, xclipl, xclipr, yclipb, yclipt);
}
if (poly->IsA() == TMultiGraph::Class()) {
TMultiGraph *mg = (TMultiGraph*)poly;
TList *gl = mg->GetListOfGraphs();
if (!gl) return inter;
TGraph *g;
TIte... | C++ |
e="class in org.odftoolkit.odfdom.dom.element">OdfStylableElement</a>> mStyleUser</pre>
</li>
</ul>
</section>
</li>
</ul>
</section>
</li>
<li>
<section class="serialized-class-details" id="org.odftoolkit.odfdom.dom.element.OdfStylePropertiesBase">
<h3>Class <a href="org/odftoolkit/odfdom/dom/element/OdfStyleP... | HTML |
self.G_A.load_state_dict(weight_set['G_A'])
self.G_B.load_state_dict(weight_set['G_B'])
if self.training:
self.D_A.load_state_dict(weight_set['D_A'])
self.D_B.load_state_dict(weight_set['D_B'])
if __name__ == '__main__':
from utils.measure_model import measure_model
... | Python |
" aria-label="Follow on Twitter"><svg class="Va(m)! Cur(p)" width="13" style="fill:#767d84;stroke:#767d84;stroke-width:0;vertical-align:bottom" height="13" viewBox="0 0 32 32" data-icon="LogoTwitter"><path d="M30.402 7.094c-1.058.47-2.198.782-3.392.928 1.218-.725 2.154-1.885 2.595-3.256-1.134.674-2.405 1.165-3.75 1.43-... | HTML |
IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package net.skyscanner.backpack.demo.stories
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifi... | Kotlin |
namespace System.Web.Mvc.Test {
using System.Web.Mvc;
using System.Web.TestUtil;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
[TestClass]
public class ViewEngineResultTest {
[TestMethod]
public void ConstructorThrowsIfSearchedLocationsIsNull() {
/... | C# |
require 'mp.options'
local opt = {
maxiters = 5, -- Frames involving at most this many frames will be
-- considered acceptable.
maxdelta = 0.01, -- Maximum allowed speed change (setting this too high
-- could cause noticeable change in pitch and tempo)
... | Lua |
ackage(
"/Users/dinu/Desktop/reportlab",
Title="reportlab",
Version="1.10",
Description="ReportLab's Open Source PDF toolkit.",
DefaultLocation="/Applications/ReportLab",
Relocatable="YES")
######################################################################
# Command... | Python |
from flask import Flask, render_template, request, redirect, url_for, flash, send_from_directory
from pathlib import Path
from check_flag import verify_flag
import os
app = Flask(__name__)
app.secret_key = os.environ.get("FLASK_SECRET", "dev-secret")
ROOT = Path(__file__).resolve().parents[1]
CHAL_DIR = ROOT / "chall... | Python |
8435], [-122.157524, 37.726871], [-122.160328, 37.730825], [-122.161755, 37.732735], [-122.163336, 37.73486], [-122.16416, 37.73594]]], "type": "Polygon"}, "id": "105", "properties": {"AFFGEOID": "1400000US06001432200", "ALAND": 1023815, "AWATER": 0, "COUNTYFP": "001", "FIPS_11_digit": "06001432200", "GEOID": "06001432... | HTML |
ap1_01_b_roadshadow',
[811748476] = 'ap1_01_b_runw52',
[-1799482066] = 'ap1_01_b_runw53',
[134151086] = 'ap1_01_b_runw56',
[2056415291] = 'ap1_01_b_runw62',
[-1302178098] = 'ap1_01_b_runw75',
[1717992428] = 'ap1_01_b_shad_ducttape',
[-1100328386] = 'ap1_01_b_shadmesh00',
[2069089302] = 'ap1_01_b_shadmesh01',
[... | Lua |
entityB) {
return entityA!.listDisplayName.compareTo(entityB!.listDisplayName);
});
return list;
}
String localeSelector(AppState state, {bool twoLetter = false}) {
var languageId = state.company.languageId;
if (state.user.languageId.isNotEmpty) {
languageId = state.user.languageId;
}
final lang... | Dart |
div class="content__item">
<h2 class="content__item-title">Nonage Line</h2>
<div class="content__item-text">
<span>Lost in the mountain
Rust in my brain
The air is sacred here
In spite of your claim</span>
<span>2009</span>
</div>
</div>
<div class="content__item">
... | HTML |
Op::Sub => "-",
BinaryOp::Mul => "*",
BinaryOp::Div => "/",
};
paren(op_repr, [&e.lhs, &e.rhs])
}
Unary(e) => match e.op {
UnaryOp::Neg => paren("-", [&e.expr]),
},
Group(e) => lisp_printer(&e.expr),
Num(e) => e.... | Rust |
me == Settings.str(SETTING_DEF_LAYOUT) || !pressing || !keyData.has(KEY_SWITCH_LAYOUT)) return true
currentLayoutName = if (keyData.bool(KEY_SWITCH_LAYOUT)) Settings.str(SETTING_DEF_LAYOUT) else keyData.str(KEY_SWITCH_LAYOUT)
currentLayout = loaded[currentLayoutName]!!
Settings.loadVars(ctx)
... | Kotlin |
eam<'_>) -> syn::parse::Result<Self> {
let span = input.span();
let args = Punctuated::parse_separated_nonempty_with(input, Expr::parse)?;
let _: Token![;] = input.parse()?;
let name: LitStr = input.parse()?;
Ok(Self { args, name, span })
}
}
pub(crate) fn inner(args: Token... | Rust |
/* 8045D638 0045A578 57 60 06 3E */ clrlwi r0, r27, 0x18
/* 8045D63C 0045A57C 7C 64 18 2E */ lwzx r3, r4, r3
/* 8045D640 0045A580 80 63 00 44 */ lwz r3, 0x44(r3)
/* 8045D644 0045A584 88 63 00 04 */ lbz r3, 4(r3)
/* 8045D648 0045A588 7C 03 00 40 */ cmplw r3, r0
/* 8045D64C 0045A58C 41 81 00 0C */ bgt .L_8045D658
/... | Assembly |
_gl_get_uniformuiv);
DEFINE_PRIME2 (lime_gl_get_uniform_block_index);
DEFINE_PRIME2 (lime_gl_get_uniform_location);
DEFINE_PRIME2 (lime_gl_get_vertex_attribf);
DEFINE_PRIME3v (lime_gl_get_vertex_attribfv);
DEFINE_PRIME2 (lime_gl_get_vertex_attribi);
DEFINE_PRIME3v (lime_gl_get_vertex_attribiv);
DEFINE_PRIME2 (li... | C++ |
iterations,
snapshots,
aotRuntime,
core,
arguments,
snapshotSpecificArguments,
checkFileSize,
cacheBenchmarking: true,
silent: silent,
gcRuns: gcRuns,
);
}
if (doDisabledGcBenchmarkToo) {
print("");
_doRun(
iterations,
snapshots,
a... | Dart |
odes to mark stack");
writer.WriteLine($"Dependency analysis time: {_dependencyAnalysisMsec / _totalRealRuns:F2} ms");
writer.WriteLine($"Wall clock JIT time: {_jitMsec / _totalRealRuns:F2} ms");
writer.WriteLine($"Total JIT time: {_totalJitMsec / _totalRealRuns:F2} ms (sum of all threads)");
... | C# |
not_program_change
ST.B Ptch_UsedFlag(A3,D1.l)
ADDQ #1,no_patches
not_program_change:
MOVE.W D0,Mtrk_Running_st(A1)
scan_event: MOVE.W Mtrk_Running_st(A1),D0
MOVEQ #$F,D1
AND.B D0,D1 ; D1 = low nibble
MULU #channel_ss,d1
ST.B channel_used(A2,D1.L) ; set channel used.
LSR.B #4,D0
AND.W #$F,D0
ADD ... | Assembly |
finally: {},
cancel: {},
canceledOn: {},
_deferredObject: {},
} as TaskInstance<any>;
reviveTaskInstance(taskInstance);
expect(taskInstance.then(() => { })).toBeInstanceOf(Promise);
expect(taskInstance.catch(() => { })).toBeInstanceOf(Promise);
expect(taskInstance.finally((... | Typescript |
search_inactive" onclick="clsClearSearchButton()">x</span>
</span>
</h4>
<div id="classlistoutline" class="classlistoutline"></div>
</div>
</div>
</div>
<div class="splitter" id="splitter" onMouseDown="splitterMouseDown(event, this);" onMouseUp="splitterMouseUp(event);" onMouseMove="sp... | HTML |
damage)
SURFACE_HARD_VERY_SLIPPERY = 0x0036, // Hard and very slippery (Always has fall damage)
SURFACE_HARD_NOT_SLIPPERY = 0x0037, // Hard and Non-slippery (Always has fall damage)
SURFACE_VERTICAL_WIND = 0x0038, // Death at bottom with vertical wind
SURFACE_BOSS_FIGHT_CAMERA = ... | C++ |
ackage:flame/camera.dart';
class MyFollowBehavior extends FollowBehavior {
final Vector2 movementWindow;
final Vector2 targetSize;
MyFollowBehavior({
required super.target,
required this.movementWindow,
super.maxSpeed = double.infinity,
super.horizontalOnly = false,
super.verticalOnly = false... | Dart |
pha(*uri) || IsDigit(*uri) ||
*uri == '+' ||
*uri == '-' ||
*uri == '.')
{
m_scheme += *uri++;
}
//valid scheme?
if (*uri == ':')
{
//mark the scheme as valid
m_fields |= wxURI_SCHEME;
... | C++ |
.widx(bits, bits) << (bits-1))
----
为什么 node 之间的 `:=` 操作要记录对方的下标呢?
在 MixNode 里,有这样两行代码:
lazy val edgesOut = (oPorts zip oParams).map { case ((i, n), o) => outer.edgeO(o, n.iParams(i)) }
lazy val edgesIn = (iPorts zip iParams).map { case ((o, n), i) => inner.edgeI(n.oParams(o), i) }
为了知道对面的端口参数以构造 edge. 每个 edg... | Markdown |
="4" data-paginate="true" data-header="مدرس: معین آعلی" data-footer="کارسوق ملی فراگیر | کد مخفی" data-theme="6h44o4b156lu1bub5qep9w12yb80kdtgurc5etn6v2" lang="en-US" data-marpit-pagination="4" style="--paginate:true;--header:مدرس: معین آعلی;--footer:کارسوق ملی فراگیر | کد مخفی;--theme:6h44o4b156lu1bub5qep9w12yb80kdtgu... | HTML |
jicofo.xmpp.muc.MemberRole
import org.jitsi.jicofo.xmpp.muc.SourceInfo
import org.jitsi.utils.OrderedJsonObject
import org.jitsi.utils.mins
import org.jitsi.utils.ms
import org.jitsi.utils.time.FakeClock
import org.jitsi.xmpp.extensions.health.HealthStatusPacketExt
import org.jitsi.xmpp.extensions.health.HealthStatusPa... | Kotlin |
in self.trail.drain(new_trail_len..) {
// println!(" Backtracking {:?}", var);
self.substitution[lit.var_id()] = Unknown;
self.lit_heuristic.re_add(lit.var_id());
// Replace is for debugging purposes
let reason_cid = mem::replace(&mut self.reasons[lit.var_id... | Rust |
.Load(projection, new SampleLoadOptions {
Skip = 1,
Take = 99
});
var data = ImplicitCast(projection, loadResult.data);
Assert.Equal(
new[] { 1, 2 },
data.Select(... | C# |
// print!("current state after setfilepointer {}\n", context.input_offset);
return true;
}
BreakPoint::X86usercreatefile => {
_worker.mod_reg(Register::Rsp, |x| x + 0x20);
_worker.set_reg(Register::Rip, return_address as u64);
_worker.set_reg(Register::Rax... | Rust |
is successful.
### Kate Polynomial commitment scheme (PCS)
Plonk uses Polynomial commitments, in particular Kate commitments (KZG10) to construct a fully-succinct zk-SNARK protocol with a constant proof size and verification time. KZG10 allows the prover to commit to a set of polynomials and to then show correct eva... | Markdown |
ECKey key = encryptedKey.decrypt("ΜΟΛΩΝ ΛΑΒΕ");
assertEquals("5KMKKuUmAkiNbA3DazMQiLfDq47qs8MAEThm4yL8R2PhV1ov33D", key.getPrivateKeyEncoded(MAINNET)
.toString());
}
@Test
public void bitcoinpaperwallet_testnet() throws Exception {
// values taken from bitcoinpaperwallet.c... | Java |
PlantingYear: 2023,
WateringStatus: entities.WateringStatusUnknown,
LastWatered: nil,
},
}
testFilterTrees = []*entities.Tree{
{
ID: 1,
CreatedAt: time.Now(),
UpdatedAt: time.Now(),
Species: "Oak",
Number: "T001",
Latitude: testLatitude,... | Go |
3.46 l2.19,2.13C4.47,11.23,4.44,11.61,4.44,12s0.03,0.77,0.09,1.14l-2.19,2.13l2,3.46l2.92-0.83c0.6,0.48,1.27,0.87,2,1.14L10,22h4 l0.74-2.96c0.73-0.27,1.4-0.66,2-1.14l2.92,0.83l2-3.46l-2.19-2.13c0.06-0.37,0.09-0.75,0.09-1.14s-0.03-0.77-0.09-1.14l2.19-2.13 l-2-3.46L16.74,6.1c-0.6-0.48-1.27-0.87-2-1.14L14,2L14,2z":"M19.43 ... | CSS |
wbr/>Id<div class="menu-item-desc">Type used for unique identifier of each pool.</div></div></a></li><li><a href="_dedot_codecs._OccupiedCore.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-32"></use></svg><div>$<wbr/>Occupied<wbr/>Core<div class="menu-item-desc">Information abo... | HTML |
/* Optimised simple memory checksum
*
* Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free Software Founda... | Assembly |
ословенное послание",
[60752] = "Освященная записка",
[60753] = "Бочонки с чумой Дитерса",
[60754] = "Прозрачное крыло болотной осы",
[60755] = "Пушистый лисий хвост",
[60756] = "Тусклый клык",
[60757] = "Недостающие детали",
[60758] = "Зашифрованные планы",
[60759] = "Monster - Sword, 1H Twilight's Hammer Red (Flame R... | Lua |
he has against scrying. For this, I will need the scalp from a satyr--but not any satyr. The scalp must come from a Hatefury shadowstalker.$B$BSearch for them among the ancient ruins in the northeast of Desolace.",
["O"] = "Bring a Shadowstalker Scalp to Maurin Bonesplitter in Desolace.",
["T"] = "<UNUSED>",
... | Lua |
quest)
[**IoCallDriver**](/windows-hardware/drivers/ddi/wdm/nf-wdm-iocalldriver)
[**PoCallDriver**](/windows-hardware/drivers/ddi/ntifs/nf-ntifs-pocalldriver)
---
description: Use this topic to help manage Windows and Windows Server technologies with Windows PowerShell.
external help file: Microsoft.IdentityServer.Mana... | Markdown |
the form ::12.34.56.78, which are clearly shown in the examples
// earlier in the document. Here is the original grammar:
//
// IPv6address = hexpart [ ":" IPv4address ]
// hexpart = hexseq | hexseq "::" [ hexseq ] | "::" [ hexseq ]
// hexseq = hex4 *( ":" hex4)
... | Java |
from stix_shifter_utils.modules.base.stix_translation.empty_query_translator import EmptyQueryTranslator
import re
from datetime import datetime, timedelta
START_STOP_PATTERN = r"\s?START\s?t'\d{4}(-\d{2}){2}T\d{2}(:\d{2}){2}(\.\d{1,3})?Z'\sSTOP\s?t'\d{4}(-\d{2}){2}T\d{2}(:\d{2}){2}(\.\d{1,3})?Z'\s?"
class QueryTran... | Python |
/// <summary>
/// Attaches this <see cref="IDecorator"/> to the specified target.
/// </summary>
/// <param name="decoratable">The object this <see cref="IDecorator"/> should be attached to.</param>
void OnAttached(IDecoratable decoratable);
/// <summary>
/// Detaches this <see cref="IDec... | C# |
, "YEAR_FIELD");
harness.check(MONTH_FIELD, 2, "MONTH_FIELD");
harness.check(DATE_FIELD, 3, "DATE_FIELD");
harness.check(HOUR_OF_DAY1_FIELD, 4, "HOUR_OF_DAY1_FIELD");
harness.check(HOUR_OF_DAY0_FIELD, 5, "HOUR_OF_DAY0_FIELD");
harness.check(MINUTE_FIELD, 6, "MINUTE_FIELD");
harness.check(SECOND_FIELD, 7, "S... | Java |
(FilterType.Hide, false);
return new DocumentTreeNodeFilterResult(FilterType.Visible, false);
}
public override DocumentTreeNodeFilterResult GetResult(ModuleDef mod) {
if (mod.Assembly != assembly)
return new DocumentTreeNodeFilterResult(FilterType.Hide, false);
if (assembly is null || assembly.Manife... | C# |
strating new slot and rtl support
- 72fdbc06: Fixes for `<rh-secondary-nav>`:
- Remove `em` based font-styling, use rems
- Move `font-size: initial` from `rh-secondary-nav-lightdom.css` to D7 specific stylesheet fix (proxy demo)
- Fix carets to properly scale with font-size based on rh-tokens
- ba3e8474: `<rh-foo... | Markdown |
nable, true)
expect.equality(config.idle_time, 1000)
expect.equality(config.highlight_style, 'underline')
end
T['function_based_user_config'] = function()
vim.g.rustowl_as_lsp_config = (function()
return {
auto_attach = false,
idle_time = 2000,
}
end)()
monkeypatch_vim_lsp_config()
loca... | Lua |
38 6.38 0 01-2.19 3.981l-.009.008a8.584 8.584 0 01-4.673 1.873l-.032.002q2.846 3.034 7.824 9.136a.465.465 0 01.067.581l.001-.002a.496.496 0 01-.459.308L12.389 24h.002-3.345a.5.5 0 01-.404-.204l-.001-.001Q3.425 17.539.152 14.062a.509.509 0 01-.154-.365v-.011.001-2.167a.553.553 0 01.545-.546h1.909a7.664 7.664 0 003.668-.... | Dart |
d Voronoi vertices: circumcenters of these 4 tetrahedra.
self.assertEqual(v_vertices.shape[0], 4, "Expected 4 unique Voronoi vertices.")
# Test the Voronoi cell for the central point (index 4)
central_cell_faces = cells_faces[4]
# This cell should be a closed polyhedron (a tetr... | Python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.