content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
# -*- coding: utf-8 -*-
from Components.Language import language
from Tools.Directories import resolveFilename, SCOPE_PLUGINS
import gettext
#def localeInit():
# gettext.bindtextdomain("DeviceManager", resolveFilename(SCOPE_PLUGINS, "SystemPlugins/DeviceManager/locale"))
def _(txt):
t = gettext.dgettext("DeviceManag... | Python |
):
update_processed_files(file.name, st.session_state.new_file_name)
# メイン関数
def main():
st.title("見積書/納品書/請求書のファイル名変換ツール")
st.write("PDFファイルをアップロードして、ファイル名を変換してダウンロードできます。")
st.write("複数のPDFファイルをアップロードできます。")
st.sidebar.header("ナビゲーションウィンドウ")
files = st.sidebar.file_uploader("PDFファイルをアップ... | Python |
_FORCE_AVX2` or `GLM_FORCE_AVX512`.
The use of intrinsic functions by GLM implementation can be avoided using the define `GLM_FORCE_PURE` before any inclusion of GLM headers. This can be particularly useful if we want to rely on C++14 `constexpr`.
```cpp
#define GLM_FORCE_PURE
#include <glm/glm.hpp>
static_assert(gl... | Markdown |
private batteryStatus: BatteryStatus) {
let subscription = this.batteryStatus.onChange().subscribe(
(status: BatteryStatusResponse) => {
this.setFields(status);
this.updateColor(status);
console.log(status.level + "% and " + status.isPlugged);
}
);
}
}
import UA from "universal-... | Typescript |
"week",
"weken",
"dag",
"dagen",
"dag",
"dagen",
"uur",
"uren",
"uur",
"uren.",
"minuut",
"minuten",
"minuut",
"minuten",
"second",
"seconden",
"sec.",
"sec.",
... | Typescript |
c-> <c- n>memory_order</c-> <c- n>failure</c-><c- p>)</c-> <c- k>volatile</c-> <c- k>noexcept</c-><c- p>;</c->
<c- b>bool</c-> <c- nf>compare_exchange_weak</c-><c- p>(</c-><c- n>T</c-><c- o>&</c-> <c- n>expected</c-><c- p>,</c-> <c- n>T</c-> <c- n>desired</c-><c- p>,</c-> <c- n>memory_order</c-> <c- n>order</c-> <c... | HTML |
from __future__ import annotations
from unittest.mock import Mock, patch
import pytest
try:
from urllib3.contrib.pyopenssl import extract_from_urllib3, inject_into_urllib3
except ImportError:
pass
def setup_module() -> None:
try:
from urllib3.contrib.pyopenssl import inject_into_urllib3
... | Python |
79887299.html"> 参考地址</a></p></div><div id="runoobvote-id-36627" data-commid = "36627" class="upvotejs"><a class="upvote"></a> <span class="count">49</span></div></div><div class="comt-main" id="div-comment-36627"><p><strong>抄送:</strong></p>
<p>英文名称:Carbon Copy,又简称为 CC。在网络术语中,抄送就是将邮件同时发送给收信人以外的人,用户所写的邮件抄送一份给... | HTML |
mg/2024/05/07/00/00/23/118504364_p0_master1200.jpg src=/assets/img/loading.gif alt="花笑み (ID: 118504364)"></a><div class=widget-tags style=background-color:rgba(0,0,0,.5);color:#eee>118504364<br>By Pixiv @上倉エク</div></div></div><div class=portfolio-item><div class=thumb><a href=/img/118435176/><img class="img-item lazylo... | HTML |
_, list_ops_create},
{list_variant_ops_descriptor_, list_variant_ops_create},
{ref_ops_descriptor_, ref_ops_create},
{shift_ops_descriptor_, shift_ops_create},
{shift_ops_i64_descriptor_, shift_ops_i64_create}};
for (size_t i = 0; i < modules.size(); i++) {
iree_vm_native_module_descripto... | C++ |
11]: 2000/05/30 05:54:23 lpd)
Documents that user_names_p and system_names_p may now be NULL.
(doc/News.htm [1.47]: 2000/06/05 01:26:05 lpd)
Adds the ability to write multi-strip monochrome TIFF files, controlled by a
new MaxStripSize parameter for the monochrome TIFF drivers.
(doc/Devices.htm [1.9]: 2000/06/05 05:41... | HTML |
hiddens).T, y, y_star_mean, y_star_cov, plot_xs)
ax_h_to_y.set_title("hiddens to y")
plt.draw()
plt.pause(1.0 / 60.0)
# Initialize covariance parameters and hiddens.
rs = npr.RandomState(0)
init_params = 0.1 * rs.randn(total_num_params)
print("Optimizing covariance parameters.... | Python |
string {
return protoimpl.X.MessageStringOf(x)
}
func (*ShareableValueSet_Compose_ConceptSet) ProtoMessage() {}
func (x *ShareableValueSet_Compose_ConceptSet) ProtoReflect() protoreflect.Message {
mi := &file_proto_google_fhir_proto_r4_core_profiles_shareable_value_set_proto_msgTypes[4]
if protoimpl.UnsafeEnabled... | Go |
.len());
self.proof_order.push((a, e, p));
}
}
#[repr(C)]
struct ElabTerm<'a> {
lc: &'a LocalContext,
fe: FormatEnv<'a>,
fsp: FileSpan,
}
#[repr(C)]
struct ElabTermMut<'a> {
elab: &'a mut Elaborator,
fsp: FileSpan,
}
impl<'a> Deref for ElabTermMut<'a> {
type Target = Elaborator;
fn deref(&self) -... | Rust |
Bin
CloseFixedBin: ; 0x02344088
stmdb sp!, {r3, lr}
ldr r0, _023440A8 ; =FIXED_ROOM_DATA_PTR
ldr r0, [r0]
bl MemFree
ldr r0, _023440A8 ; =FIXED_ROOM_DATA_PTR
mov r1, #0
str r1, [r0]
ldmia sp!, {r3, pc}
.align 2, 0
_023440A8: .word FIXED_ROOM_DATA_PTR
arm_func_end CloseFixedBin
arm_func_start AreOrbsAllowed
... | Assembly |
float controlSpeed = 0;
int _stopzone = 8;
long _prevInput = 0;
AM_runMode _runMode = IDLE_RUN;
};
/*
======= НАСЛЕДУЕТСЯ ИЗ GYVERMOTOR =======
GMotor(driverType type, int8_t param1 = NC, int8_t param2 = NC, int8_t param3 = NC, int8_t param4 = NC);
// три варианта создания объекта в зависимости от драйвера:
... | C |
1%E5%B0%81%E9%9D%A2.jpg/315px-%E8%93%AE%E5%AD%90%E3%81%A1%E3%82%83%E3%82%93%E3%81%8C%E3%83%AD%E3%82%B1%E3%83%83%E3%83%88%E8%8A%B1%E7%81%AB%E3%81%A7%E5%AE%99%E3%82%92%E7%9B%AE%E6%8C%87%E3%81%97%E7%88%86%E6%95%A3%E3%81%99%E3%82%8B%E3%81%8A%E8%A9%B1%E5%B0%81%E9%9D%A2.jpg 2x" data-file-width="2039" data-file-height="2894">... | Markdown |
_slider_changed)
layout.addWidget(self.slider)
# 范围标签
range_label = QLabel(f"[{self.joint_range[0]:.2f}, {self.joint_range[1]:.2f}]")
range_label.setMinimumWidth(100)
range_label.setMaximumWidth(100)
range_label.setStyleSheet("color: gray; font-size: 10px;")
layo... | Python |
r
// if the expires: date is less than or equal to the Date: header
// then we put an expired timestamp on this item.
// Otherwise we let it be the same as was returned by the server.
// This may cause problems due to mismatched clocks between
// the client and the server, but t... | C++ |
50297] = "Plastron en os de lige-du-givre",
[50298] = "Couronne aveugle d'Ulmaas",
[50299] = "Gants anormalement doux",
[50300] = "Haubert d'étouffement",
[50302] = "Langue-de-vipère",
[50303] = "Stalagmite noire",
[50304] = "Gantelets de gelée blanche",
[50305] = "Bottes du crâne ricaneur",
[50306] = "Promesse de la d... | Lua |
7528;空间? 空闲空间呢?</h2>
<p>答案:</p>
<pre><code>df -hl
文件系统 容量 已用 可用 已用% 挂载点
Filesystem Size Used Avail Use% Mounted on /dev/hda2 45G 19G 24G 4... | HTML |
--card-foreground))",
},
},
borderRadius: {
lg: "var(--radius)",
md: "calc(var(--radius) - 2px)",
sm: "calc(var(--radius) - 4px)",
},
keyframes: {
"accordion-down": {
from: { height: 0 },
to: { height: "var(--radix-accordion-content-hei... | JavaScript |
)) l = "(" + l + ")";
if (rArg.getPrecedence() <= opPrecedence(op)) r = "(" + r + ")";
return l + " " + o + suf + " " + r;
}
public int getOperation()
{
return op;
}
public void setOperation(int o)
{
op = o;
}
public int getRoundingType()
{
... | Java |
.getName(), fd.getHeightF(), fd.getStyle(), fd.nsName);
init();
} finally {
if (pool != null) pool.release();
}
}
/**
* Constructs a new font given a device, a font name,
* the height of the desired font in points, and a font
* style.
* <p>
* You must dispose the font when it is no longer required.
* </p>
... | Java |
*
*/
BENGALIINDIA = 51,
/**
*
*/
BOKMALNORWEGIAN = 8,
/**
*
*/
BRAZILLIANPORTUGUESE = 11,
/**
*
*/
BULGARIAN = 20,
/**
*
*/
CANADIANFRENCH = 3,
/**
*
*/
CATALAN = 17,
/**
*
*/
CHINESE = 29,
/**
*
*/
CZECH = 22,
/**
*
*/
DANI... | Typescript |
IDWriteFontFileStream
{
public:
/**
* Used by the FontFileLoader to create a new font stream,
* this font stream is created from data in memory. The memory
* passed may be released after object creation, it will be
* copied internally.
*
* @param aData Font data
*/
gfxDWriteF... | C |
javax.swing.JPanel
abstract class SelectModuliteDialogBase(
project: Project,
currentModulite: Modulite?,
private val labelText: String,
) : DialogWrapper(project, true) {
data class Model(
var modulite: Modulite? = null,
)
private val modulites = ModuliteIndex.getInstance(project).g... | Kotlin |
00-.12-.318 1.306 1.306 0 00-.187-.173 9.231 9.231 0 00-.308-.232 6.787 6.787 0 01-.281-.21 2.11 2.11 0 01-.252-.232 1.039 1.039 0 01-.18-.275.826.826 0 01-.069-.347.893.893 0 01.094-.409.935.935 0 01.255-.314 1.22 1.22 0 01.39-.203c.16-.05.327-.074.494-.072.184 0 .368.026.545.076.174.05.338.123.488.219l-.282.454a1.05... | Dart |
CD4 000F2934 2C 03 00 00 */ cmpwi r3, 0
/* 800F6CD8 000F2938 41 82 00 44 */ beq lbl_800F6D1C
/* 800F6CDC 000F293C 38 BF FF FF */ addi r5, r31, -1
/* 800F6CE0 000F2940 38 93 FF FF */ addi r4, r19, -1
/* 800F6CE4 000F2944 7F 09 03 A6 */ mtctr r24
lbl_800F6CE8:
/* 800F6CE8 000F2948 88 64 00 01 */ lbz r3, 1(r4)
/* 80... | Assembly |
der.ResponseStateManager.NON_POSTBACK_VIEW_TOKEN_PARAM">Constant Field Values</a></dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="ResponseStateManager--">
<!-... | HTML |
> function. Refer to the documentation for multinomial logistic regression for details.</p>
<p class="enddd"></p>
</dd>
<dt>dependent_varname </dt>
<dd>VARCHAR. The name of the column for dependent variables. </dd>
<dt>independent_varname </dt>
<dd>VARCHAR. The name of the column for independent variables. Can be any S... | HTML |
reason for the remote video state change. */
export enum REMOTE_VIDEO_STATE_REASON {
/** 0: The SDK reports this reason when the video state changes.
*/
REMOTE_VIDEO_STATE_REASON_INTERNAL = 0,
/** 1: Network congestion.
*/
REMOTE_VIDEO_STATE_REASON_NETWORK_CONGESTION = 1,
/** 2: Network recovery.
... | Typescript |
return DEPENDENCYNAMES;
}
if (columnName.equals(COLUMN_NAME_MAILRECEIVER)) {
return MAILRECEIVER;
}
if (columnName.equals(COLUMN_NAME_APIPASSWORD)) {
return APIPASSWORD;
}
if (columnName.equals(COLUMN_NAME_APITOKEN)) {
retur... | Java |
scratch
Once trained, SparseML enables you to export models to the ONNX format, such that they can be deployed with DeepSparse.
## Installation
Install with `pip`:
```bash
pip install sparseml[yolov5]
```
## Tutorials
- [Sparse Transfer Learning with the CLI](tutorials/sparse-transfer-learning.md) **[HIGHLY RECO... | Markdown |
{}};7 29={};7 19=L;x.15=6(n,s){8(19)1i("s="+1U(s));29[n]=12 s()};x.2X=6(c){5 c?1i(c):o};7 D={};7 h={};7 q={P:/\\[([\\w-]+(\\|[\\w-]+)?)\\s*(\\W?=)?\\s*([^\\]]*)\\]/};7 T=[];D[" "]=6(r,f,t,n){7 e,i,j;9(i=0;i<f.y;i++){7 s=X(f[i],t,n);9(j=0;(e=s[j]);j++){8(M(e)&&14(e,n))r.z(e)}}};D["#"]=6(r,f,i){7 e,j;9(j=0;(e=f[j]);j++)8... | JavaScript |
/**
* __ ____
* / /__ _ __ / __/ __
* / //_/(_)/ /_ / / ___ ____ ___ __ __ / /_
* / ,< / // __/_\ \ / _ \ / __// _ \/ // // __/
* /_/|_|/_/ \__//___// .__//_/ \___/\_,_/ \__/
* /_/ github.com/KitSprout
*
* @file nrf5x_c... | C |
# RUN: llvm-mc %s -triple=mipsel-unknown-linux -show-encoding -mcpu=mips32r2 | \
# RUN: FileCheck %s --check-prefixes=CHECK,CHECK-LE
# RUN: llvm-mc %s -triple=mips-unknown-linux -show-encoding -mcpu=mips32r2 | \
# RUN: FileCheck %s --check-prefixes=CHECK,CHECK-BE
# Check that the IAS expands macro instructions in ... | Assembly |
amount9: '1',
ing10: '',
amount10: '',
ing11: '',
amount11: '',
ing12: '',
amount12: '',
ing13: '',
amount13: '',
ing14: '',
amount14: '',
ing15: '',
amount15: '',
step1: 'In a small saucepan over medium-high heat, combine the soy sauce, erythritol, ginger, garlic... | Typescript |
int get groupCount => _match.length - 1;
List<String> groups(List<int> groups) {
List<String> out = [];
for (int i in groups) {
out.add(group(i));
}
return out;
}
}
class _AllMatchesIterable extends IterableBase<Match> {
final JSSyntaxRegExp _re;
final String _string;
const _AllMat... | Dart |
88966 13.0646 6.91716 13.6972 7.32428 14.0704L11.3243 17.7371C11.7066 18.0875 12.2934 18.0875 12.6757 17.7371L16.6757 14.0704Z" fill="currentColor"></path>
</symbol>
<symbol id="icon--arrow-left" viewBox="0 0 24 24">
<path d="M9.92963 16.6757C10.3028 17.0828 10.9354 17.1104 11.3425 16.7372C11.7496 16.36... | HTML |
using Reinterop;
using System;
using Unity.Mathematics;
using UnityEngine;
namespace CesiumForUnity
{
/// <summary>
/// Represents a tile in a <see cref="Cesium3DTileset"/> and allows information
/// about the tile to be queried from the underlying C++ tile representation.
/// </summary>
[Reinter... | C# |
o}.pop .contain-1000 .bottom-btns{float:none;margin:30px auto}.pop .contain{padding:0;top:20%;height:450px;overflow:hidden}.pop .contain .bgform{width:100%;height:100%}.pop .contain .bgform>img{width:100%;height:100%}.pop .contain .form-content{margin:0;height:100%;text-align:center}.pop .contain .form-content .content... | CSS |
gredient.of(TagDC.ItemTag.CROP_PLUM), Ingredient.of(TagDC.ItemTag.SUGARS)));
DeviceRecipeList.addCookingRecipe(1, RecipeTypeDC.TEA, new ItemStack(FoodInit.DRINK_PEACH.get(), 3), ItemStack.EMPTY, 0, FluidStack.EMPTY, cool,
ImmutableList.of(FluidTags.WATER.location().toString()),
ImmutableList.of(Ingredient.of... | Java |
compare equality of the
// inner range!
use core::cmp::Ordering;
use core::ops::{Range, RangeInclusive};
//
// Range start wrapper
//
#[derive(Eq, Debug, Clone)]
pub struct RangeStartWrapper<T> {
pub range: Range<T>,
}
impl<T> RangeStartWrapper<T> {
pub fn new(range: Range<T>) -> RangeStartWrapper<T> {
... | Rust |
0)
fmt.Fprintf(tw, format, "active", "pending", "aggregating", "scheduled", "retry", "archived", "completed")
width := maxInt(9 /* defaultWidth */, maxWidthOf(s.Active, s.Pending, s.Aggregating, s.Scheduled, s.Retry, s.Archived, s.Completed)) // length of widest column
sep := strings.Repeat("-", width)
fmt.Fprintf... | Go |
%;
}
.sb-items-50-nos > * {
flex: 1 0 50%;
}
.sb-items-40-nos > * {
flex: 1 0 40%;
}
.sb-items-30-nos > * {
flex: 1 0 30%;
}
.sb-items-20-nos > * {
flex: 1 0 20%;
}
.sb-items-10-nos > * {
flex: 1 0 10%;
}
.sb-items-third-nos > * {
flex: 1 0 33.3333%;
}
.sb-items-quarter-nos > * {
flex: 1 0 25%;
}
... | CSS |
rgba(21, 21, 21, 0.78);
padding: 0;
opacity: 0;
-webkit-transition: opacity 0.3s ease-in-out;
-moz-transition: opacity 0.3s ease-in-out;
-ms-transition: opacity 0.3s ease-in-out;
-o-transition: opacity 0.3s ease-in-out;
transition: opacity 0.3s ease-in-out;
}
.q_team.info_on_hover .q_team_... | CSS |
55%s0 = %d, wanted 255\n", `+`, got)
failed = true
}
if got := add_1_uint8_ssa(0); got != 1 {
fmt.Printf("add_uint8 1%s0 = %d, wanted 1\n", `+`, got)
failed = true
}
if got := add_uint8_1_ssa(0); got != 1 {
fmt.Printf("add_uint8 0%s1 = %d, wanted 1\n", `+`, got)
failed = true
}
if got := add_1_uint8_... | Go |
ndleClickMax\" style=\"vertical-align:top;\" role=\"slider\" valuemin=\"${minimum}\" valuemax=\"${maximum}\"\n\t\t\t\t\t\t><div class=\"dijitSliderImageHandle dijitSliderImageHandleV\"></div\n\t\t\t\t\t></div\n\t\t\t\t></div\n\t\t\t></center\n\t\t></td\n\t\t><td dojoAttachPoint=\"containerNode,rightDecoration\" class=\... | JavaScript |
}
static UTF16 cp1252ToUnicode(unsigned char C) {
static const UTF16 Map80[] = {
0x20ac, 0x0081, 0x201a, 0x0192, 0x201e, 0x2026, 0x2020, 0x2021,
0x02c6, 0x2030, 0x0160, 0x2039, 0x0152, 0x008d, 0x017d, 0x008f,
0x0090, 0x2018, 0x2019, 0x201c, 0x201d, 0x2022, 0x2013, 0x2014,
0x02dc, 0x2122, 0x0... | C++ |
the kernel entry is:
int clone3 (struct clone_args *cl_args, size_t size);
The parameters are passed in registers from userland:
x0: cl_args
x1: size
x2: func
x3: arg */
.text
ENTRY(__clone3)
/* Save args for the child. */
mov x10, x0 /* cl_args */
mov x11, x2 /* func */
mov x12, x... | Assembly |
"id" | "owner" | "createdAt" | "content"
> & {
user: { __typename?: "User" } & Pick<
User,
"id" | "firstname" | "surname" | "username" | "thumb"
>;
}
>
>;
};
};
export type FeedPageQueryVariables = Exact<{ [key: string]... | Typescript |
const y = y1 + (y2 - y1) * position;
out.push(new Vec2(x, y));
}
return out;
}
export enum Emblem {
Sacred = 'SACRED',
Necro = 'NECRO',
Beast = 'BEAST',
Nature = 'NATURE',
Dragon = 'DRAGON',
Shadow = 'SHADOW',
Myth = 'MYTH',
Ice = 'ICE',
Venom = 'VENOM',
Deat... | Typescript |
; i++) dist[i] = INF;
priority_queue<edge> q;
q.push(edge(0, 0));
dist[0] = 0.0;
while (!q.empty())
{
edge u = q.top(); q.pop();
for (auto e : edges[u.v])
{
if (dist[e.v] > dist[u.v] + e.w)
{
... | C++ |
label B_a:
return d;
}
```
This was like the second validation function so we just needed to get the values once again, for this part of the flag it was `m@x!M`.
And finally I moved to the final validation function:
```
export function validate_6(a:int, b:int, c:int, d:int, e:int):int {
var f:int = 0;
if ((... | Markdown |
所以它的持续时间被延长到了和该右值引用一样——语句块结尾时离开作用域。然后,我们变可以通过该右值引用打印 `Fraction` 的值。
现在让我们看一个不那么直观的例子:
```cpp
#include <iostream>
int main()
{
int &&rref{ 5 }; // 通过字面量初始化右值引用,此时创建了临时对象5
rref = 10;
std::cout << rref << '\n';
return 0;
}
```
程序输出:
```
10
```
虽然用字面值初始化一个右值引用,然后再通过右值引用修改该右值看起来有些奇怪。但是当我们这么做时,会从字面值构造... | Markdown |
2)(296, s))
# define BOOST_PP_WHILE_296_C(c, p, o, s) BOOST_PP_IIF(c, BOOST_PP_WHILE_297, s BOOST_PP_TUPLE_EAT_3)(p, o, BOOST_PP_IIF(c, o, BOOST_PP_NIL BOOST_PP_TUPLE_EAT_2)(297, s))
# define BOOST_PP_WHILE_297_C(c, p, o, s) BOOST_PP_IIF(c, BOOST_PP_WHILE_298, s BOOST_PP_TUPLE_EAT_3)(p, o, BOOST_PP_IIF(c, o, BOOST_PP_N... | C++ |
: URI_IS_ALLOWD,
InputBody: &JsonContext{
Subject: &JsonSubject{Principals: []*JsonPrincipal{{Type: adsapi.PRINCIPAL_TYPE_USER, Name: "user_array_issubset1"}}},
ServiceName: SERVICE_COND_ATTRIBUTE,
Resource: "res_subset",
Action: "get",
Attributes: []*JsonAttribute{
{Name:... | Go |
To('li:eq(15)', {duration:3000});//another way of calling the plugin" id="settings-duration" href="#">duration</a></li>
<li><a title="$(...).scrollTo('li:eq(15)', 2500, {easing:'elasout'});//specify an easing equation" id="settings-easing" href="#">easing</a></li>
<li><a title="$(...).scrollTo('li:eq(15)', 1600, ... | HTML |
onTap = currentOnClick?.let { { _ -> it() } },
)
}
}
fun Modifier.handleKeyEvents(
onLeft: (() -> Unit)? = null,
onLongLeft: (() -> Unit)? = null,
onRight: (() -> Unit)? = null,
onLongRight: (() -> Unit)? = null,
onUp: (() -> Unit)? = null,
onLongUp: (() -> Unit)? = null,
... | Kotlin |
ranges as *mut libc::c_void);
}
free(fdselect as *mut libc::c_void);
};
}
pub(crate) unsafe fn cff_fdselect_lookup(cff: &cff_font, gid: u16) -> u8 {
if cff.fdselect.is_null() {
panic!("in cff_fdselect_lookup(): FDSelect not available");
}
let fdsel = cff.fdselect;
if gid as ... | Rust |
aded()
end
end)
end
end
function this:clearLoadHeroSchedulerId()
if self._schedulerId then
Timer.remove(self._schedulerId)
self._schedulerId = nil
end
end
function this:checkHeroIsLoadFinish(actorInfo)
local go = actorInfo:getGameObject()
if go == nil then
return false
end
local bi... | Lua |
json['reviewsMatchingText'] =
reviewsMatchingText.map((e) => e.toJson()).toList();
return json;
}
SearchAllData({
required this.moviesMatchingTitle,
required this.moviesMatchingDescription,
required this.actorsMatchingName,
required this.reviewsMatchingText,
});
}
class Search... | Dart |
!important;
}
#pageActionSeparator
{
height: 24px !important;
}
.urlbar-icon-wrapper
{
background: 0 !important;
}
.urlbar-icon,
#identity-box
{
min-width: 32px !important;
height: 24px !important;
padding: 4px 8px !important;
border-radius: 99px !important;
fill-opacity: 1 !important;
transition: backgroun... | CSS |
.string.map_attribution, getString(R.string.map_attribution_improve)), FROM_HTML_MODE_LEGACY)
}
override fun onStart() {
super.onStart()
mapView.onStart()
}
@CallSuper
override fun onMapReady(mapboxMap: MapboxMap) {
map = mapboxMap
activity?.run {
// wor... | Kotlin |
string) => {
return { type: 'SET-INPUT-ERROR', error} as const
}
export const setMaxValueAC = (maxValue: number) => {
return { type: 'SET-MAX-VALUE', maxValue} as const
}
export const setMinValueAC = (minValue: number) => {
return { type: 'SET-MIN-VALUE', minValue} as const
}
export const setSettingsAC = (... | Typescript |
r.c_str());
}
else
{
data_ptr[row_idx] = nullptr;
}
}
result.data[col_idx] = data_ptr;
break;
}
default:
throw std::runtime_error("Unsupported data type in column processin... | C++ |
n
return ((worldConfig.dayTime - worldConfig.sunrise) - (worldConfig.dayTime - worldTime)) * lightChange.sunrise + lightConfig.night
elseif worldTime >= worldConfig.sunset and worldTime <= worldConfig.nightTime then
return lightConfig.day - ((worldTime - worldConfig.sunset) * lightChange.sunset)
elseif worldTime ... | Lua |
ENTIFIER_POINTER (DECL_ASSEMBLER_NAME (func_decl));
+ buffer = (char *)alloca (strlen (func_name) + 32);
if (delta<=0)
sprintf (buffer, "__thunk_%d_%s", -delta, func_name);
else
</pre>
With RedHat 5.0 on Alpha CPUs, two system patches and one
glibc-2.0.6/linuxthreads patch are necessary in addition ... | HTML |
U+612B, U+6194, U+61CA, U+61E6, U+61F5, U+62A1, U+62D7,
U+637B, U+63E9, U+64B5, U+655D, U+65CC, U+664C, U+665F, U+66B9, U+6773, U+6777, U+6787, U+6845, U+693D, U+6994,
U+6A35, U+6C26, U+6D43, U+6D5C, U+6D8E, U+6E6E, U+6E9F, U+6EF9, U+6F2A, U+6F78, U+704F, U+70EC, U+714A, U+724D,
U+7337, U+733E, U+7428, U+7... | CSS |
nterface: INetworkModule = {
sendGetRequestAsync<T>(url: string, options?: NetworkRequestOptions): T {
return null;
},
sendPostRequestAsync<T>(url: string, options?: NetworkRequestOptions): T {
return null;
}
... | Typescript |
fefcf8f0e0c0fdfbf7efdfbf55aa0b1113171d252a2b", "c2b1d783")
testKatHex({ Algorithm.Wyhash32(1099511627776u.toUInt()).createDigest() }, "0001020304050607ff7f3f1f0f0810204080fefcf8f0e0c0fdfbf7efdfbf55aa0b1113171d252a2b61", "307ec64b")
testKatHex({ Algorithm.Wyhash32(2199023255552u.toUInt()).createDigest() ... | Kotlin |
playerBonusPercentage = playerBonusPercentage * configManager.getFloat(configKeys.LOYALTY_BONUS_PERCENTAGE_MULTIPLIER)
self:setLoyaltyBonus(playerBonusPercentage)
if self:getLoyaltyBonus() ~= 0 then
self:sendTextMessage(MESSAGE_STATUS, string.formatNamed(loyaltySystem.messageTemplate, { bonusPercentage = player... | Lua |
assword = null;
connectionString = m_postgresSetup.ConnectionString;
advancedWindow = new AdvancedSettingsWindow(connectionString, dataProviderString, encrypt);
advancedWindow.Owner = Application.Current.MainWindow;
(advancedWindow.FindName("m_dataProvide... | C# |
我们的网站并使用[Linux ACL](https://serversforhackers.com/c/linux-acls)为其授予所需的权限:
```
# Create user deployer
sudo adduser deployer
# Give the read-write-execute permissions to deployer user for directory /var/www
sudo setfacl -R -m u:deployer:rwx /var/www
```
如果您的 Ubuntu 服务器上未安装 ACL,请使用以下命令进行安装:
```
sudo apt install acl
`... | Markdown |
simpleCutTheoryNotableGoalToSolutions by lazy {
logicProgramming {
listOf(
"f"("A").hasSolutions(
{ yes("A" to "only") },
),
"g"("A").hasSolutions(
{ yes("A" to "a") },
{ yes("A" to "only") }... | Kotlin |
id mbedtls_ssl_session_init( mbedtls_ssl_session *session );
/**
* \brief Free referenced items in an SSL session including the
* peer certificate and clear memory
*
* \note A session object can be freed even if the SSL context
* that was used to retrieve the ses... | C |
c := in.DeepCopy(); c != nil {
return c
}
return nil
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ExternalSecretSpec) DeepCopyInto(out *ExternalSecretSpec) {
*out = *in
if in.Data != nil {
in, out := &in.Data, &out.Data
*out =... | Go |
urn t.rename()}},isVisible:()=>!!h.currentWidget&&Array.from(h.currentWidget.selectedItems()).length===1,icon:w.editIcon.bindprops({stylesheet:"menuItem"}),label:l.__("Rename"),mnemonic:0});c.addCommand(T.copyPath,{execute:()=>{var e;const t=h.currentWidget;if(!t){return}const n=t.selectedItems().next();if(n.done){retu... | JavaScript |
r to decode from
* @return result pack with a = decoded integer, b = numberOfBytesConsumed. Need to unpack to read them.
* @throws DecoderException if bad MQTT protocol limits Remaining Length
*/
private static long decodeVariableByteInteger(ByteBuffer buffer) {
int remainingLength = 0;
int multiplier = 1;
... | Java |
(NBT_MATERIAL, aMat, NBT_HARDNESS, 0.5F, NBT_RESISTANCE, 6.0F, NBT_TANK_CAPACITY, 1000, NBT_PLASMAPROOF, F, NBT_GASPROOF, T, NBT_ACIDPROOF, F, NBT_MAGICPROOF, F, NBT_TEMPERATURE, aMat.mMeltingPoint-10 )), T, F, T);
aMat = MT.WaxRefractory; OreDictManager.INSTANCE.setTarget_(OP.capcellcon, aMat, aRegistry.add(... | Java |
86
87, // 87
11, // 88
43, // 89
45, // 90
91, // 91
23, // 92
87, // 93
47, // 94
95, // 95
3, // 96
11, // 97
19, // 98
27, // 99
25, // 100
43, // 101
51, // 102
59, // 103
13, // 104
45, // 105
53, // 106
91, // 107
27, // 108
91, // 109
55, // 110
111, // 111
7, // 112
23, // 113
39, ... | Rust |
},
['army green'] = { r = 0.29, g = 0.33, b = 0.13 },
['artichoke'] = { r = 0.56, g = 0.59, b = 0.47 },
['arylide yellow'] = { r = 0.91, g = 0.84, b = 0.42 },
['ash gray'] = { r = 0.7, g = 0.75, b = 0.71 },
['asparagus'] = { r = 0.53, g = 0.66, b = 0.42 },
['atomic tangerine'] = { r = 1.0, g = 0.6, b = 0.4 },
[... | Lua |
:', result)
element.value = result
let data = getLocalData('_mixlab_speech_recognition')
data[id] = result.trim()
localStorage.setItem('_mixlab_speech_recognition', JSON.stringify(data))
if (timeoutId) clearTimeout(timeoutId)
if (!window.recognition) return
timeoutId = setTimeout(functio... | JavaScript |
using System;
using System.Collections;
using System.Globalization;
using Org.BouncyCastle.Asn1;
using Org.BouncyCastle.Asn1.Iana;
using Org.BouncyCastle.Asn1.Pkcs;
using Org.BouncyCastle.Crypto;
using Org.BouncyCastle.Crypto.Engines;
using Org.BouncyCastle.Crypto.Macs;
using Org.BouncyCastle.Crypto.Paddings;
using Or... | C# |
(!model.isArray()) {
getterSetters.append(" public ").append(normalize(type)).append(' ').append(getter.getName()).append("() {\n");
getterSetters.append(" return _").append(name).append(";\n");
} else {
getterSetters.append(" public ").append(normalize(type)).... | Java |
file to hide this note.
///
IoK8sApiAuthorizationV1SubjectRulesReviewStatus? status;
@override
bool operator ==(Object other) =>
identical(this, other) ||
other is IoK8sApiAuthorizationV1SelfSubjectRulesReview &&
other.apiVersion == apiVersion &&
other.kind == kind &&
... | Dart |
/*
* arch/arm/mach-tegra/sleep.S
*
* Copyright (c) 2010-2011, NVIDIA Corporation.
* Copyright (c) 2011, Google, Inc.
*
* Author: Colin Cross <ccross@android.com>
* Gary King <gking@nvidia.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Gene... | Assembly |
= false;
break;
}
if (is_cmd_overwritten) {
ESP_LOGW(TAG, "The %02Xh command has been used and will be overwritten by external initialization sequence", init_cmds[i].cmd);
}
ESP_RETURN_ON_ERROR(tx_param(co5300, io, init_cmds[i].cmd, init_cmds[i].data, init_cmds... | C |
Count(); ++i )
{
if ( m_Extents.m_TopLeft.y > screenPositions[i].y )
m_Extents.m_TopLeft.y = screenPositions[i].y;
}
// right most position is x
m_Extents.m_BottomRight.x = INT_MIN;
for ( int i = 0; i < screenPositions.Count(); ++i )
{
if ( m_Extents.m_BottomRight.x < screenPositions[i].x )
m_Extents.... | C++ |
ema.NestedAttributeObject{
Attributes: map[string]schema.Attribute{
"test_attr": schema.StringAttribute{
Computed: true,
},
},
},
},
request: fwschema.ValidateImplementationRequest{
Name: "test",
Path: path.Root("test"),
},
expected: &fwschema.ValidateImplementationR... | Go |
description app-time-recipe .average-count{margin-top:2px}}@media screen and (min-width:1024px) and (max-width:1199px){[_nghost-sc72] .recipe-description .stars app-ico-difficulty, [_nghost-sc72] .recipe-description .stars app-ico-time, [_nghost-sc72] .recipe-description app-difficulty-level-recipe app-ico-... | HTML |
in shift3.bin
debugger:incbin debugger.bin
musique:incbin dave.bin
blocks: incbin VIGN.IMG
section bss
ds.b 8
; list
bitmap:
bitmap0:ds.b (largeur+16)*(hauteur+16)/2 ;dcalage=0
bitmap1:ds.b (largeur+16)*(hauteur+16)/2 ;dcalage=4
bitmap2:ds.b (largeur+16)*(hauteur+16)/2 ;dcalage=8
bitmap3:ds.b (largeur+16)*(hau... | Assembly |
last-child)::after {
margin: 0 6px;
}
}
@media (max-width: 600px) {
body {
padding: 15px 25px;
}
.main-navigation {
margin: -15px -25px 0 -25px;
}
.nav-container {
padding: 0 25px;
}
.breadcrumb {
margin: 0 -25px 20px -25px;
}
... | CSS |
loilike+=1
else:
nhan=tds.nhan_xu('LIKEGIARE', id)
try:
xu = nhan[1]
msg = nhan[0]
dem+=1
hoanthanh(dem, id, 'LIKE 2', msg, xu)
loilike=0
if dem % doinick == 0:
namtool(14); print(f'\033[1;32mSố Xu Hiện Tại: \033[1;3... | Python |
.syntax unified
.arm
.fpu softvfp
.type FlashReadStatusEN, %function
FlashReadStatusEN:
.fnstart
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, .L146
push {r4, r5, r6, lr}
.save {r4, r5, r6, lr}
ldr r4, [r3, r0, lsl #3]
add r0, r3, r0, lsl #3
ldrb r5, [r0, #4] @ zero_... | Assembly |
int ljpeg_encode_close(AVCodecContext *avctx)
{
LJpegEncContext *s = avctx->priv_data;
av_frame_free(&avctx->coded_frame);
av_freep(&s->scratch);
return 0;
}
static av_cold int ljpeg_encode_init(AVCodecContext *avctx)
{
LJpegEncContext *s = avctx->priv_data;
if ((avctx->pix_fmt == AV_PIX_FM... | C |
t i = 0; i < K; i++)
ans[i] = F[i];
// Find all terms from Kth term
// to the Nth term
for(int i = K; i <= N; i++)
{
ans[i] = 1;
for(int j = i - K; j < i; j++)
{
// Current term is product of
// previous K terms
ans[i] *= ans[j];
... | Markdown |
alTime
import java.time.OffsetDateTime
import java.time.format.DateTimeFormatter
import java.util.*
import kotlin.reflect.KClass
@Suppress("UNCHECKED_CAST")
public fun <T : Any> Tables.getTable(table: Table<T>): KotysaTable<T> =
requireNotNull(this.allTables[table]) { "Requested table \"$table\" is not mapped" } a... | Kotlin |
local naughty = require("naughty")
local setting = require("configurations.settings")
local awful = require("awful")
local network = {}
function network.notify(message, title, app_name, icon)
naughty.notification({
message = message,
title = title,
app_name = app_name,
icon = icon
})
end
-- Create wirele... | Lua |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.