content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
lse
ef := false
m.StartPos, sf = findSpaceLeft(res, m.StartPos, SnipSideMax)
m.EndPos, ef = findSpaceRight(res, m.EndPos, SnipSideMax)
// Check if we are cutting in the middle of a multibyte char and if so
// go looking till we find the start. We only do so if we didn't find a space,
// and if we aren't at... | Go |
.toJson(days,'Map<String,RequestSummary?>',context!),
'apiKeys': JsonConverters.toJson(apiKeys,'Map<String,RequestSummary?>',context!),
'ips': JsonConverters.toJson(ips,'Map<String,RequestSummary?>',context!),
'browsers': JsonConverters.toJson(browsers,'Map<String,RequestSummary?>',context!),
... | Dart |
Inventory(player).exportData());
invStore.OnUpdate(() => inventoryChanged.SendToPlayer(player));
invStore.AfterSave((inv) => print("Done saving inventory!"));
// SET LOCAL INVENTORY
Inventories.set(player, new Inventory(player, storeInv));
inventoryChanged.SendToPlayer(player);
});
addItemToPlayer.Connect((... | Typescript |
class="hot">{lang hot} <em>$share[hot]</em></span><!--{/if}-->
<span class="xg1"><!--{date($share[dateline])}--></span>
</div>
<div id="share_article" class="ec d cl">
<!--{if $share['image']}-->
<a href="$share[image_link]"><img src="$share[image]" class="tn" style="margin-top: 0;" alt="" /></a>
... | HTML |
Listener`
*
* @example
* ```ts
* const ref = new ValueRef(64)
* function useValueRef<T>(ref: ValueRef<T>) {
* const { useState, useEffect } = React
*
* const [value, setValue] = useState<T>(ref.value)
* useEffect(() => {
* if (ref.isEqual(value, ref.value) === false) {
* // The state is... | Typescript |
get(token: sessionId): User | undefined;
// Get the currently authenticated users.
abstract getUsers(): User[];
// add to authenticated users.
abstract addUser(user: User): sessionId;
// remove from authenticated users.
abstract removeUser(token: sessionId): void;
}
import { defineFeature, l... | Typescript |
_2_oam_r
banim_code_frame 1, banim_fakf_sp1_sheet_6, 44, banim_fakf_sp1_2_oam_frame_28_r - banim_fakf_sp1_2_oam_r
banim_code_frame 2, banim_fakf_sp1_sheet_6, 45, banim_fakf_sp1_2_oam_frame_29_r - banim_fakf_sp1_2_oam_r
banim_code_frame 2, banim_fakf_sp1_sheet_7, 46, banim_fakf_sp1_2_oam_frame_30_r - banim_fakf_sp1_2... | Assembly |
) { param ->
(param.args[0] as? String)?.let { tag ->
(param.args[1] as? String)?.let { msg ->
XposedBridge.log("[W] [$tag] $msg")
}
}
}
}
}
package gm.tieba.tabswitch.hooker.deobfuscation
import org.luckypray.dexkit.query.mat... | Kotlin |
dr1 = server.getAddress();
System.out.println(">>> Created a server with address "+serverAddr1);
JMXConnector client1 = JMXConnectorFactory.connect(serverAddr1);
JMXServiceURL clientAddr1 = ((JMXAddressable)client1).getAddress();
System.out.println(">>> Created a client with address "+... | Java |
ObjectAny("h_recSignalEnergy0_HE3");
TH2F *recSignalEnergyHE3 = (TH2F *)recSignalEnergy1HE3->Clone("recSignalEnergyHE3");
recSignalEnergyHE3->Divide(recSignalEnergy1HE3, recSignalEnergy0HE3, 1, 1, "B");
TH2F *recSignalEnergy1HE4 = (TH2F *)dir->FindObjectAny("h_recSignalEnergy1_HE4");
TH2F *recSignalEnergy0HE4 =... | C++ |
test %rdx,%rdx
413cca: 74 0d je 413cd9 <fpc_write_text_variant+0x29>
413ccc: 48 8d 05 1d 85 21 00 lea 0x21851d(%rip),%rax # 62c1f0 <U_$SYSTEM_$$_INOUTRES>
413cd3: 8b 38 mov (%rax),... | Assembly |
6ProcRxDesc(struct ath_hal *ah, struct ath_desc *ds,
uint32_t pa, struct ath_desc *nds, uint64_t tsf,
struct ath_rx_status *rs)
{
struct ar5416_desc *ads = AR5416DESC(ds);
if ((ads->ds_rxstatus8 & AR_RxDone) == 0)
return HAL_EINPROGRESS;
rs->rs_status = 0;
rs->rs_flags = 0;
rs->rs_datalen = ads->ds_rx... | C |
return runtime.NewPager(runtime.PagingHandler[SecurityAdvisoryImpactedResourcesClientListByTenantIDAndEventIDResponse]{
More: func(page SecurityAdvisoryImpactedResourcesClientListByTenantIDAndEventIDResponse) bool {
return page.NextLink != nil && len(*page.NextLink) > 0
},
Fetcher: func(ctx context.Context, pa... | Go |
c_str());
ok(not_synced_query == false, "'disk.disk.mysql_servers' with NULL comments should be synced.");
std::cout << std::endl;
// Replica [NOMONITOR] disk.mysql_servers and master runtime_mysql_servers will be identical.
not_synced_query = wait_for_node_sync(r_proxy_nomonitor_admin, master_runtime_mysq... | C++ |
e 16 VGA colors
#[derive(Eq, PartialEq, Copy, Clone, Debug)]
#[repr(u8)]
pub enum Color {
Black = 0,
Blue = 1,
Green = 2,
Cyan = 3,
Red = 4,
Magenta = 5,
Brown = 6,
LightGray = 7,
DarkGray = 8,
LightBlue = 9,
LightGreen = 10,
LightCyan = 11,
LightRed = 12,
LightMa... | Rust |
--vscode-settings-dropdownBackground: #ffffff;--vscode-settings-dropdownBorder: #cecece;--vscode-settings-dropdownListBorder: #c8c8c8;--vscode-settings-checkboxBackground: #ffffff;--vscode-settings-checkboxBorder: #cecece;--vscode-settings-textInputBackground: #ffffff;--vscode-settings-textInputForeground: #616161;--vs... | CSS |
na)
ackWndOnly uint64 // Pure window update (ack==sndUna, window increased)
// Optional per-ACK trace (debug)
ackTrace bool
// Async dial + pending buffering instrumentation
dialStart uint64
dialOk uint64
dialFail uint64
dialInflight int64
pendEnq uint64
pendFlush uint64
pendDrop uint64
... | Go |
e the audio data.
///
/// - On successful fetch and decode, [state] becomes [LoadingState.ready]
/// and [buffer] will contain the decoded audio.
/// - If fetching the file fails, [state] becomes [LoadingState.error].
/// - If decoding the fetched data fails, [state] also becomes [LoadingState.error].
///... | Dart |
modebar:{orientation:{valType:"enumerated",values:["v","h"],dflt:"h",editType:"modebar"},bgcolor:{valType:"color",editType:"modebar"},color:{valType:"color",editType:"modebar"},activecolor:{valType:"color",editType:"modebar"},editType:"modebar"}}},{"../components/color/attributes":569,"./font_attributes":771}],800:[fun... | HTML |
from flask import Flask,render_template,request
import tensorflow as tf
from keras_preprocessing.image import load_img
from keras_preprocessing.image import img_to_array
from keras.models import load_model
import numpy as np
# from gevent.pywsgi import WSGIServer
app = Flask(__name__)
Model_Path = r'C:\Users\Lenovo... | Python |
double_arrow", x = "sb_h_double_arrow"}).x
else
return false
end
capi.mouse.coords(m(jump_to))
capi.mousegrabber.run(function(_mouse)
if not c.valid then return false end
local pressed = false
for _, v in ipairs(_mouse.buttons) do
if v then
... | Lua |
juelich.de/pgi/pgi-1/EN/Home/home_node.html" title="PGI-1">Quantum Theory of Materials</a> department of the <a href="http://www.fz-juelich.de/pgi/EN/Home/home_node.html" title="PGI">Peter Grünberg Institute </a>).</p>
<p>The Web Interface is being developed by Florian Rhiem (<a href="https://pgi-jcns.fz-ju... | HTML |
.add("TIMING_FUNCTION")):!s.has("DURATION")&&wd.test(o)?(n.duration=o,s.add("DURATION")):!s.has("DELAY")&&wd.test(o)?(n.delay=o,s.add("DELAY")):s.has("NAME")?(n.unknown||(n.unknown=[]),n.unknown.push(o)):(n.name=o,s.add("NAME"));return n})}var uC,fC,cC,pC,dC,hC,mC,gC,wd,yC,bd=C(()=>{l();uC=new Set(["normal","reverse","... | JavaScript |
轴对称,那么其旋转体体积公式可以变为:
$$
\pi\iint_D x\mathrm dx\mathrm dy
$$
当然,也可以仅取 $x\ge 0$ 的部分套用原本的公式。
事实上,最重要的应该是**积分区域 $\Omega$ 如何表示**,因为,求解旋转体的体积本质上是对函数 $f(x,y,z)=1$ 进行求积分,了解 $\Omega$ 的表示后,对任何被积函数,都可以套用这里的方法进行三重积分的求解。
## 二、旋转曲面面积
### 0x00 理论推导
假设 $xOy,x\ge 0$ 平面上的一个曲线 $L$ 可以用以下形式进行表示:
$$
\begin{cases}
x=\varphi(t)\\
y=\psi(... | Markdown |
ID)
expComplaint := &types.Complaint{
Complainant: receiver.ID,
Respondent: sender.ID,
KeySym: receiver.KeySyms[slot],
Signature: receiver.ComplaintSignatures[slot],
}
assert.Equal(t, expComplaint.Complainant, complaint.Complainant)
assert.Equ... | Go |
any questions.
*/
/* **** GENERATED FILE -- DO NOT EDIT ****
* generated by com.sun.squawk.builder.gen.Mnemonics
*/
package com.sun.squawk.vm;
import com.sun.squawk.util.Assert;
/**
* This class defines effect of the Squawk VM instructions on the operand stack.
*
*/
public final class Mnemonics {
... | Java |
te, boolean userPost) {
Objects.requireNonNull(chanName);
Objects.requireNonNull(threadNumber);
Objects.requireNonNull(postNumber);
CommonDatabase.ExecuteCallback<Void> callback = database -> {
int flags = 0;
if (hideState == PostItem.HideState.HIDDEN) {
flags |= Schema.Posts.Flags.HIDDEN;
} else i... | Java |
_DAT),
"R_AARCH64_GOT_LD_PREL19": ValueOf(elf.R_AARCH64_GOT_LD_PREL19),
"R_AARCH64_IRELATIVE": ValueOf(elf.R_AARCH64_IRELATIVE),
"R_AARCH64_JUMP26": ValueOf(elf.R_AARCH64_JUMP26),
"R_AARCH64_JUMP_SLOT": ValueOf(elf.R_AARCH64_JUMP_SLOT),
"R_AARCH64_LD64_GOTOFF_LO15": ValueOf(elf.R_AARCH64_LD64_GOTOFF_LO15... | Go |
+17:59</code>)
/// </li>
/// <li>
/// <code>YYYY-MM-DDTHH:MM:SS-HHMM</code> (for example,
/// <code>2024-01-04T15:25:10-1759</code>)
/// </li>
/// <li>
/// <code>YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM</code> (for example,
/// <code>2024-01-04T15:25:10.123456789+17:59</code>)
/// </li>
/// </ul>
final... | Dart |
()>
where
B: Block,
BE: Backend<B>,
C: Client<B, BE>,
C::Api: DKGApi<B, AuthorityId, <<B as Block>::Header as Header>::Number>,
{
if let Some(path) = path {
if let Some(local_keystore) = worker.local_keystore.clone() {
debug!(target: "dkg_persistence", "Storing local key for {:?}", &path);
let key_pair = l... | Rust |
8-12.78 26.82-12.78 16.74 0 25.02 12.96 25.74 33.12l1.98 58.68h-20.16l1.62-52.74c.54-17.46-7.92-21.24-19.08-21.06-6.66-.18-14.04 3.24-19.98 7.38zM813.09 225.79c-28.44 0-41.94-23.22-41.94-46.98 0-31.14 18.72-46.62 39.42-46.62 25.92 0 39.78 19.26 36.36 52.2h-57.78c1.62 16.2 9 27.72 28.8 27.72 10.08 0 18.18-3.96 25.2-8.1h... | HTML |
"
func {struct_name}FromSlice(slice []byte, _compatible bool) (*{struct_name}, error) {{
sliceLen := len(slice)
if sliceLen != {total_size} {{
errMsg := strings.Join([]string{{"TotalSizeNotMatch", "{struct_name}", strconv.Itoa(int(sliceLen)), "!=", strconv.Itoa({total_size})}}, " ")
return nil, ... | Rust |
from mage_ai.api.oauth_scope import OauthScope
from mage_ai.api.operations.constants import OperationType
from mage_ai.api.policies.BasePolicy import BasePolicy
from mage_ai.api.presenters.ExecutionStatePresenter import ExecutionStatePresenter
class ExecutionStatePolicy(BasePolicy):
pass
ExecutionStatePolicy.al... | Python |
m_byte((byte)0);
m_short((short)0);
m_int(0);
m_long(0L);
m_float(0.0f);
m_double(0.0);
m_char('?');
m_bool(false);
}
}
/*
* Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR T... | Java |
ime only
end
local timax = #kdata.times;
local valuelen = #kdata.values;
while ti <= timax do
if kdata.currenttime >= kdata.times[ ti ] then
--
else
break;
end
ti = ti + 1;
end
--set current to that value
if ti < 1 then ti = 1; end
if ti > valuelen th... | Lua |
# 4 - Cálculo de Juros Simples:
# Crie um programa que calcule o valor futuro de um investimento
# usando a fórmula de juros simples. Peça ao usuário para digitar o
# capital inicial, a taxa de juros e o tempo de aplicação.
print('--------------- CALCULO DE JUROS SIMPLES ------------------')
vi = | Python |
.clear();
inputBuffer.put(data);
inputBuffer.limit(data.length);
mEncoder.queueInputBuffer(inputBufferIndex, 0, data.length,
System.nanoTime(), 0);
}
int outputBufferIndex = mEncoder.dequeueOutputBuffer(mBufferInfo, 0);
... | Java |
// Copyright (C) 2023 OSINT Template Engine (https://github.com/3nock/OTE). All Rights Reserved.
//
// Licensed under the GPL License, Version 3.0 (the "License");
// you may not use this file except in compliance with the License.
//
// Author: Enock N. Michael (enock.n.michael@gmail.com)
#ifndef TEMPLATE_EXTRACT... | C |
e keywords that are appropriate when the selection is at the
/// beginning of a directive in a compilation unit. The [before] directive is
/// the directive before the one being added.
void addDirectiveKeywords(CompilationUnit unit, Directive? before) {
// TODO(brianwilkerson): If we had both the members befo... | Dart |
01/25/293/template293/images/newsb.gif" width="11" height="11"></td>
<td>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td align="left"><a href='/2014/0528/c9056a74630/page.htm' target='_blank' title='中国土建领域未来发展的福音——记吴智深教授团队的国家科技进步二等奖项目'>中国土建领域未来发展的福音——记...</a></td>
</tr>
</table>
</... | HTML |
_fps);
if fps <= 0.0 {
panic!("invalid FPS: {}", fps);
}
let fps_scale = native_fps / fps;
let num_frames = (duration * fps) as usize;
for i in 0..num_frames {
let t = first_frame + (i as f64) * fps_scale;
animation.pin_mut().seek_frame(t);
canvas.pin_mut().clear(0xf... | Rust |
/>
t@C`́AEvo.Shipft@CAParasolidt@CADXFt@CIł܂B
</p>
<p>
Evo.Shipft@C̏ꍇ̂ݓϐ̃}[WIvVIAOK{^ŗvfǂݍ݂܂B
</p>
<h3>p[^</h3>
<ul>
<li><strong>ϐ̃}[W</strong>
<p>
<img src="media/dlg_import_var_opt.png"/>
</p>
<ul>
... | HTML |
sEmpty(int route) const {
return model_->IsEnd(OldValue(model_->Start(route)));
}
int FilteredHeuristicPathLNSOperator::GetFirstNonEmptyRouteAfterCurrentRoute()
const {
int route = GetNextRoute(current_route_);
while (route != last_route_ && RouteIsEmpty(route)) {
route = GetNextRoute(route);
}
retur... | C++ |
0x001D
PID_DIT = 0x001E
PID_SIT = 0x001F
// 0x0003 - 0x000F Reserved
// 0x0010 - 0x1FFE May be assigned as network_PID, Program_map_PID, elementary_PID, or for other purposes
// 0x1FFF Null Packet
// program_association_section
// conditional_access_section
// TS_program_map_section
// TS_descr... | Go |
void _toWriter() {
_w.writeln('@override');
_w.writeln('Map<String, dynamic> toMap($modelName model) {');
_w.writeln('if(model == null) return null;');
_w.writeln(r'Map<String, dynamic> ret = <String, dynamic>{};');
for (Field item in info.fields.values.where((f) => !f.dontEncode)) {
_w.writ... | Dart |
"%Oy='04'\t"
"\n"),
fmt,
std::chrono::year_month_day{std::chrono::year{2004}, std::chrono::May, std::chrono::day{29}});
// Use the global locale (fr_FR)
check(
SV("%C='19'\t"
"%D='01/01/70'\t"
"%F='1970-01-01'\t"
"%j='001'\t"
"%g='70'\t"
... | C++ |
パラメータは、振幅に変換された後の値について切り捨て。</li>
</ul></li>
</ul>
<h2 id="使い方"><a href="#使い方" class="header-anchor"
aria-hidden="true">使い方</a></h2>
<p>まず、メイン入力とサイドチェイン入力を用意します。クリーンにしておきたい信号をサイドチェインに入力してください。メインは歪みがかかります。サイドチェイン入力を行う方法はお使いの
DAW のマニュアルを参照してください。</p>
<p>次に Input と Side セクションの <code>Gain</code>
によってそれぞれのピー... | HTML |
$p => $a,
_ => panic!("Unexpected variant {:?}", $e),
}
)
);
static UINT_VALUE: u32 = 0x12345678;
#[test]
fn test_serialize_uint() {
let (bytes, handles) =
TestInterfaceEvent::Uint { arg: UINT_VALUE }.into_message(SENDER_ID).unwra... | Rust |
;
import 'package:yolx/utils/common_utils.dart';
class SettingsCard extends StatelessWidget {
final String title;
final String subtitle;
final Widget content;
final bool isExpander;
const SettingsCard({
Key? key,
required this.title,
required this.subtitle,
required this.content,
this.is... | Dart |
account name appended in front of it like 'account/pool'
current['name'] = self.parameters['name']
modify = self.na_helper.get_modified_attributes(current, self.parameters)
if 'tags' in modify:
dummy, modify['tags'] = self.update_tags(current.get('tags'))
if ... | Python |
// Copyright 2017 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | C |
;
const char* const extensions[] = {
#if AMD_EXTENSIONS
E_GL_AMD_gpu_shader_int16,
#endif
E_GL_KHX_shader_explicit_arithmetic_types,
E_GL_KHX_shader_explicit_arithmetic_types_int16};
requireExte... | C++ |
:3}.jet-dashboard-page__banner.light-4-preset .banner-label{color:#26e8a8}.jet-dashboard-page__banner.light-4-preset .banner-content{color:#7b7e81}.jet-dashboard-page__banner.dark-1-preset{background-color:#0f1419}.jet-dashboard-page__banner.dark-1-preset .banner-label{color:#26e8a8}.jet-dashboard-page__banner.dark-1-p... | CSS |
tppl(tp) )
//process.exit(1);
var num = 100000;
var tmpl_func = tmpl(tm);
//log(tmpl_func)
console.time('tmpl');
for(var i=0; i<num; i++){
//tmpl(tm)
//tmpl(tm, data)
tmpl_func(data)
}
console.timeEnd('tmpl');
var tppl_func = tppl(tp);
//log(tppl_func)
console.time('tppl');
for(var i=0; i<num; i++)... | JavaScript |
/*
* BSD LICENSE
*
* Copyright(c) 2019-2023 Intel Corporation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* ... | C |
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | Python |
y: flex;
align-items: center;
}
.antd-UserSelect-text-userPic {
display: flex;
justify-content: center;
align-items: center;
background-color: var(--UserSelect--post-bg);
text-align: center;
line-height: 1.75rem;
width: 1.75rem;
height: 1.75rem;
border-radius: 50%;
overflow: hidden;
color: var(-... | CSS |
7-26.4h-22.6l-6.2 26.4-12.1 3.2-19.7-21-19.4 11 8.1 27.7-8.1 8.4-28.5-7.5-11 19.1 20.7 21-2.9 10.4-28.5 7.8-.3 21.7 28.8 7.5 2.4 12.1-20.1 19.9 10.4 18.5 29.6-7.5 7.2 8.6-8.1 26.9 19.9 11.6 19.4-20.4 11.6 2.9 6.7 28.5 22.6.3 6.7-28.8 11.6-3.5 20.7 21.6 20.4-12.1-8.8-28 7.8-8.1 28.8 8.8 10.3-20.1-20.9-18.8 2.2-12.1 29.1... | JavaScript |
, --Sigil of Misery
[211881] = "DEMONHUNTER", -- Fel Eruption
[183752] = "DEMONHUNTER", --Disrupt
[331866] = "COVENANT|VENTHYR", --Agent of Chaos (Nadia soulbind)
[372245] = "EVOKER", --Terror of the Skies
[360806] = "EVOKER", --Sleep Walk
}
-- additionals for classic
if (IS_WOW_PROJECT_NOT_MAINLINE) then
DF... | Lua |
�投资|如何使用机器学习算法预测股票价格的波动趋势?|
|人工智能|深度学习算法中,如何解决梯度消失和梯度爆炸问题?|
|环境保护|如何利用遥感技术监测气候变化对生态环境的影响?|
|历史文化|如何利用数字人文技术保护和传承历史文化遗产?|
|音乐艺术|如何使用自然语言处理技术进行音乐情感分析?|
|天气查询|现在北京的天气如何?|
|餐厅推荐|请问附近有哪些好吃的中餐厅?|
|新闻分类|这篇文章属于什么类别,政治还是娱乐?|
|疫情数据|最近全国新增确诊病例数是多少?|
|电影推荐|可以给我推荐一部好看的悬疑电影吗?|
|日程安排|今天下午三点需要处理哪些工作事项?|
|菜谱生成|如果手头只有茄子和土豆,你会怎么做一道美味的素菜?... | Markdown |
# Resolução do Problema de PVI:
#Importando Bibliotecas:
import numpy as np
import math as mt
import matplotlib.pyplot as plt
# Definindo Variáveis de Entrada:
g = 9.81 # m/s²
m = 68.1 # kg
cd = 0.25 # kg/m
n = 6
tf = 10
t0 = 0
y0_x = 0
y0_v = 0
h = (tf-t0)/(n-1)
# Definindo as Funções:
def f_x(v):
return v
de... | Python |
components[c];
for(NodeList::const_iterator ni = nl.begin(); ni != nl.end(); ++ni)
{
int i = *ni;
fprintf(stderr, " item %d [%s]\n", i,
this->EntryList[i].Item.c_str());
}
}
fprintf(stderr, "\n");
}
//--------------------------------------------------------------------... | C++ |
ttings {
fn default()->Self {
Self {
width: 800,
height: 600,
window_pos_storage_path: None,
title: "".to_string(),
url: "".to_string(),
enable_dev_tools: false,
warp_settings: None,
webroot: "".to_string()
... | Rust |
gap: 24px;
margin-top: 64px;
h2 {
color: var(--primary-medium);
}
}
.disabled {
cursor: not-allowed;
pointer-events: none;
opacity: 0.5;
filter: grayscale(1);
}
/* Loading */
[data-loading] {
--color-1: var(--background-highest);
--color-2: var(--background-high);
display: inline-block;
co... | CSS |
ebarCurrent = {name: 'Deserializer', ty: 'struct', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></di... | HTML |
NGREQUESTRESULT54, "他の結節点に近すぎます。", 0)
SAS(SI_HOUSINGREQUESTRESULT55, "結節点の待ち時間が有効ではありません。", 1)
SAS(SI_HOUSINGREQUESTRESULT56, "このコレクションは一時的に使用できません。", 0)
SAS(SI_HOUSINGREQUESTRESULT57, "軌道線が多すぎます。", 0)
SAS(SI_HOUSINGREQUESTRESULT58, "このアクションでは変更が起きません。", 0)
SAS(SI_HOUSINGREQUESTRESULT59, "この軌道線タイプはサポートされていません。", 0)
SAS... | Lua |
))) {
rc = ENOSPC;
goto fail17;
}
memcpy(bufferp + chunk_hdr.offset,
infop->eii_imagep + signature.offset,
signature.size);
return (0);
fail17:
EFSYS_PROBE(fail17);
fail16:
EFSYS_PROBE(fail16);
fail15:
EFSYS_PROBE(fail15);
fail14:
EFSYS_PROBE(fail14);
fail13:
EFSYS_PROBE(fail13);
fail12:
EFSYS_... | C |
, x[i + 6], 23, 76029189)
a = md5hh(a, b, c, d, x[i + 9], 4, -640364487)
d = md5hh(d, a, b, c, x[i + 12], 11, -421815835)
c = md5hh(c, d, a, b, x[i + 15], 16, 530742520)
b = md5hh(b, c, d, a, x[i + 2], 23, -995338651)
a = md5ii(a, b, c, d, x[i], 6, -198630844)
d = md5ii(d, a, b, c, x[i + 7], 10, 1126891415... | JavaScript |
"name":"TextureAry","useBlending":true,"useSampleAlphaCoverage":false,
"uniforms":[
{ "name":"u_tex01", "value":"tex01", "type":"tex" },
{ "name":"u_texScale", "value":[1,1] }
]
}
]<\materials>
<vertex>
#version 300 es
layout(location=0) in vec4 a_position;
layout(location=2) in vec2 a_uv;
uniform... | HTML |
but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License along
// with this program; if not, write to the Free Software Foundatio... | C++ |
?: return
val caught = mutableMapOf<TrophyFishTier, Int>()
event.item.getRawLore().forEach {
trophyFishDescription.match(it, "tier", "amount") { match ->
val (tierName) = match
val amount = match["amount"] ?: "0"
val tier = TrophyFishTier.getBy... | Kotlin |
W.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:W.setC4Type(re[V-3]);break;case 19:W.setTitle(re[V].substring(6)),this.$=re[V].substring(6);break;case 20:W.setAccDescription(re[V].substring(15)),this.$=re[V].substring(15);break;case 21:this.$=re[V].trim(),W.setTitle(this.$);break;case 22:case 23:this.$... | JavaScript |
#ifndef _COLOR_RAMP_H
#define _COLOR_RAMP_H
#include <QtCore/qglobal.h>
#ifdef scene_color_ramp_EXPORTS
# define SCENE_COLOR_RAMP_EXPORT Q_DECL_EXPORT
#else
# define SCENE_COLOR_RAMP_EXPORT Q_DECL_IMPORT
#endif
#include <list>
class SCENE_COLOR_RAMP_EXPORT Color_component
{
typedef std::list<std::pair<double,dou... | C |
16);
encodeBELong(h3, output, outputOffset + 24);
encodeBELong(h4, output, outputOffset + 32);
encodeBELong(h5, output, outputOffset + 40);
if (getDigestLength() == 64) {
encodeBELong(h6, output, outputOffset + 48);
encodeBELong(h7, output, outputOffset + 56);
}
}
/** @see DigestEngine */
protected ... | Java |
ialiasing);
// Paint begins here
painter.fillRect(event->rect(), QBrush(Qt::transparent));
QFont font;
font.setFamily("DejaVu Sans Mono");
font.setPointSize(11);
painter.setFont(font);
QRectF br = painter.boundingRect(QRectF(0, 0, 4000, 4000),
"Fault ... | C++ |
void il2cpp_mono_set_config_utf16(const Il2CppChar* executablePath)
{
IL2CPP_ASSERT(executablePath);
std::string exePathUtf8 = il2cpp::utils::StringUtils::Utf16ToUtf8(executablePath, -1);
MonoSetConfigStr(exePathUtf8);
}
void il2cpp_mono_set_config(const char* executablePath)
{
IL2CPP_ASSERT(executable... | C++ |
-primary-color);color:white}
.btn-primary:hover{background:#2563EB}
.btn-secondary{background:#F3F4F6;color:var(--text-primary);border:1px solid var(--border-color)}
.btn-secondary:hover{background:#E5E7EB}
.meta{margin-top:1.5rem;padding-top:1rem;border-top:1px solid var(--border-color);font-size:0.75rem;color:var(--t... | HTML |
he container.
///
/// use [center] to position the content of the header
/// to the bottom side of the container.
enum FloatyHeadGravity {
top,
bottom,
center,
}
/// Set the [gravity] orientation for the body of the chathead
///
/// use [left] to position the content of the body
/// to the Start side of the cont... | Dart |
urn sb.createVertexTemplateFromCells([a],
100,44,"Blank One Line")}));this.addGCP2ServiceCard("Blank Two\n& Three Line","blank",120,44,"gcp google cloud platform service cards blank two and three line",a);a.push(this.addEntry("gcp google cloud platform service cards blank two and three line",function(){var a=new mxCell... | JavaScript |
er Wallace",
"david_foster_wallace.jpg",
`Photo by <a href="http://www.flickr.com/photos/44124466908@N01/88166765">Steve Rhodes</a>. CC-BY 2.0.`,
"https://en.wikipedia.org/wiki/David_Foster_Wallace",
`David Foster Wallace (February 21, 1962 – September 12, 2008) was an award-winning American author of novels, e... | Go |
到这里来了解我们的价值观。我知道高等精灵想要什么,虽然我不确定它是否会奏效,但我和我的姐妹们将尽力帮助。收集一些秋天的叶子和1只陆行鸟之心。让你去做这件事让我感到痛苦,但有时候,为了得到某些东西,你必须付出一些代价。",
["O"] = "收集莱恩所需的材料。",
["T"] = "寻找心脏",
},
[41233] = {
["D"] = "你将在水下的废墟中找到你所寻求的东西;它就在不远处的那里,心脏静静地躺在那里。我希望你能找到它,并希望它能帮助你实现你的目标。$B$B<莱恩拍拍你的头,歪了歪头。>$B$B你已经努力奋斗了很久,我从你的眼神中看到了。记得也要休息,孩子。如果你寻求一丝安慰,回到我... | Lua |
using System;
namespace Artalk.Xmpp.Extensions {
/// <summary>
/// Provides information about the music to which a user is listening.
/// </summary>
[Serializable]
public class TuneInformation {
/// <summary>
/// The artist or performer of the song or piece.
/// </summary>
public string Artist {
get;
... | C# |
import java.util.ListResourceBundle;
import java.util.Locale;
import java.util.MissingResourceException;
import java.util.ResourceBundle;
/**
* An instance of this class is a ListResourceBundle that
* has the required getContents() method that returns
* an array of message-key/message associations.
* <p>
* The ... | Java |
k(1, playerA, fortune, playerB);
setStopAt(1, PhaseStep.POSTCOMBAT_MAIN);
execute();
assertLife(playerA, 20);
assertTapped(fortune, true);
assertTapped("Lone Missionary", true);
}
@Test
public void test_Saddling_FortuneBlinksTwice() {
setStrictChooseMode(tr... | Java |
space-x-2 accent-sky-600">
<input type="checkbox" id="keep_signed_in" />
<label className="select-none text-sm font-medium" htmlFor="keep_signed_in">
Keep me signed in
</label>
... | JavaScript |
er countByAcceptUser(Long userId);
/**
* 获得某个ip最新评论
*
* @param ip ip地址
* @return 评论
*/
Comment getLatestCommentByIP(String ip);
/**
* 更新评论状态
*
* @param commentId
* @param status
* @return
*/
Comment updateCommentStatus(Long commentId, Integer sta... | Java |
lidSound(sound, startVolume, startPitch, 0f, true);
}
~LoopingSound()
{
_lerpSpeed = 0f;
_lerpVolume = 0f;
if (_effect == null)
return;
_effect.Kill();
_effect = null;
}
public void Kill()
{
... | C# |
x=0 y=104.13938>12.6.1~ 12.6.5</tspan><tspan textlength=54 x=415.65234 y=104.13938>。</tspan><tspan textlength=864 x=0 y=173.39525>这里面包含了基本的响应按键移动、</tspan><tspan textlength=810 x=0 y=231.71524>持续移动、调整速度、限制活动范</tspan><tspan textlength=594 x=0 y=290.03522>围(防止超过屏幕)等。</tspan></text></g></g></svg><span class=slide-index>42... | HTML |
>,
layout_dir: Option<PathBuf>,
) -> Option<LayoutFromYamlIntermediateResult> {
layout
.map(|p| LayoutFromYamlIntermediate::from_dir(p, layout_dir.as_ref()))
.or_else(|| layout_path.map(|p| LayoutFromYamlIntermediate::from_path(p)))
.or_else(|| {
S... | Rust |
), 16 );
this.count = count;
}
InstancedMesh.prototype = Object.assign( Object.create( Mesh.prototype ), {
constructor: InstancedMesh,
isInstancedMesh: true,
getMatrixAt: function ( index, matrix ) {
matrix.fromArray( this.instanceMatrix.array, index * 16 );
},
raycast: function ( raycaster, intersect... | JavaScript |
tureList,
unSelectTextureList = dataState.unSelectTextureList,
isSelected = selectedIndex == index,
onPolylineClick = {
selectedIndex = index
true
}
)
}
Marker(
anchor = Offset(0.5f,0.5f),
zIndex = 3,
... | Kotlin |
tack)
} catch (exception: CommandException) {
val message = exception.nullCast<TextFormattable>()?.toText() ?: exception.message
if (message != null) {
val component = ChatComponent.of(message)
component.setFallbackColor(ChatColors.RED)
sta... | Kotlin |
ies)
*/
public String getDocumentType() {
return this.DocumentType;
}
/**
* Set 文档类型:可支持以下几种(pdf,docx,pptx,xlsx,txt,xml,html,markdown,properties)
* @param DocumentType 文档类型:可支持以下几种(pdf,docx,pptx,xlsx,txt,xml,html,markdown,properties)
*/
public void setDocumentType(String Doc... | Java |
this.style.verticalAlign( 'normal' );
this.style.textAlign('left');
this.relayout();
}
createTextNode( textContents: string ): TNode_Text {
var node: TNode_Text = new TNode_Text( textContents );
node.documentElement = this;
return node;
}
createElement( elementName: string, ...args: any[] ): TNode_E... | Typescript |
Telem and Packets to disable the packet decode feature. This is not used on the live spacecraft
decodeTelem.setVisible(false);
decodePacket.setVisible(false);
addBottomFilter();
radTableModel = new ExperimentLayoutTableModel(rawLayout);
radPacketTableModel = new RadiationPacketTableModel();
addTables(rad... | Java |
ataset_air_walking_gait(LinTzuYaunDataset):
def get_file_id_and_loc(self):
return "17c_E-S_yTeeV_DCmcgVT7_J90cRIwg0z", "Google"
class LinTzuYaunDataset_asphalt_road(LinTzuYaunDataset):
def get_file_id_and_loc(self):
return "1jty0yqd7gywNJEkS_V2hivZ-79BGuCgA", "Google"
class LinTzuYaunD... | Python |
N` key-value pairs.
///
/// # Examples
/// ```
/// # extern crate rustc_hash;
/// use rustc_hash::FxHasher;
/// # use coca::collections::Inline2WayLruCache;
/// # use core::hash::BuildHasherDefault;
/// # fn main() {
/// let keys = ["Alice", "Bob", "Charlie", "David", "Eve", "Faythe", "Grace"];
/// let mut cache = In... | Rust |
otected Methods
protected virtual void Dispose(bool disposing)
{
if (!IsDisposed)
{
Stop(true);
if (parentEffect != null)
{
parentEffect.Instances.Remove(selfReference);
}
selfReference = null;
FNAPlatform.Free(dspSettings.pMatrixCoefficients);
IsDisposed = true;
}
}
... | C# |
tx.scale(scale, -scale);
var lw = ctx.lineWidth;
ctx.lineWidth = ctx.lineWidth * customFont.fontFace.unitsPerEm / fontSize;
if (fontStyle == 'italic') ctx.transform(1, 0, .4, 1, 0, 0);
glyph.render(ctx);
if (fontStyle == 'italic') ctx.transform(1, 0, -.4, 1, 0, 0);
ctx.lineWidth = lw... | JavaScript |
ith first Rect should be the second Rect"
);
}
}
extern crate capstone;
use capstone::prelude::*;
use capstone::InsnDetail;
const MIPS_CODE: &'static [u8] = b"\x56\x34\x21\x34\xc2\x17\x01\x00";
const X86_CODE: &'static [u8] = b"\x55\x48\x8b\x05\xb8\x13\x00\x00\xe9\x14\x9e\x08\x00\x45\x31\xe4";
/// Print... | Rust |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.