content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
ckbox" name="delete[]" value="$mail[mailid]" class="checkbox" /></td>
<td>{$mail[subject]}</td>
<td><a href="mailto:{$mail[email]}">{if $mail[username]}{$mail[username]}{else}{lang anonymity}{/if}</td>
<td>{$mail[dateline]}</td>
<td>{$mail[failures]}</td>
<td>{$mail[appname]}</td>
<t... | HTML |
pe,
const int8_t* input_data,
const std::vector<int32_t>& input_shape,
float input_scale,
int8_t* output_data,
float output_scale) {
auto input_count = shape_production(input_shape);
std::vector<float> dequ... | C++ |
/*
* PMIC Real Time Clock driver for Nintendo Switch's MAX77620-RTC
*
* Copyright (c) 2018-2022 CTCaer
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* T... | C |
(낺; 낺; 낺; 낺; 낺; ) HANGUL SYLLABLE NAENH
B0BB;B0BB;1102 1162 11AE;B0BB;1102 1162 11AE; # (낻; 낻; 낻; 낻; 낻; ) HANGUL SYLLABLE NAED
B0BC;B0BC;1102 1162 11AF;B0BC;1102 1162 11AF; # (낼; 낼; 낼; 낼; 낼; ) HANGUL SYLLABLE NAEL
B0BD;B0BD;1102 1162 11B0;B0BD;1102 1162 11B0; # (낽; 낽; 낽; 낽; 낽; ) HANGUL SYLLABLE NAELG
B0BE;B0BE;1102 11... | Kotlin |
, result.StdOut)
require.Equal("VariableSet", environmentVars.Type)
require.Equal(".env", environmentVars.Spec.ID)
// When I try to delete the environment
// Then it should delete with success
result = tracetestcli.Exec(t, "delete variableset --id .env", tracetestcli.WithCLIConfig(cliConfig))
helpers.RequireExit... | Go |
g expectedOutput) {
RootNode ir = convertedWorld.getIr(element);
if (expectedOutput == null) {
expect(ir, isNull,
reason: "\nInput:\n${result.input}\n"
"No CPS IR expected for $element");
} else {
expect(ir, isNotNull,
reason: "\nInput:\n${result.input}\n"
... | Dart |
hTag("logic").GetComponent<logicscript>();
}
// Update is called once per frame
void Update()
{
}
private void OnTriggerEnter2D(Collider2D collision)
{
if (collision.gameObject.layer == 3 ) {
logic.addScore(1);
}
}
} | C# |
.baidu.com/hi/youa/y_0040.gif" width="100" height="100" border="0" hspace="0" vspace="0" style="width:100px;height:100px;float:right;" /></p><p>还有没有什么其他的环绕方式呢?这里是居右环绕</p><p><br /></p><p>欢迎大家多多尝试,为UEditor提供更多高质量模板!</p>',
"html":'<p><br /></p><h1 label="Title center" name="tc" style="border-bottom-color:#cccccc;b... | JavaScript |
/*
* BusyBox.cs - Developed by Dan Wager for AndroidLib.dll
*/
using System.Collections.Generic;
using System.IO;
namespace RegawMOD.Android
{
/// <summary>
/// Conatins information about device's busybox
/// </summary>
public class BusyBox
{
internal const string EXECUTABLE = "busybox"... | C# |
gins(x86.AMOVL, ncon(0), &hi2)
}
splitclean()
splitclean()
return
}
// general shift
gins(x86.AMOVL, &lo1, &ax)
gins(x86.AMOVL, &hi1, &dx)
p1 := gins(x86.ASHRL, ncon(uint32(v)), &ax)
p1.From.Index = x86.REG_DX // double-width shift
p1.From.Scale = 0
gins(optoas(gc.ORSH, h... | Go |
/**
* @file user_app.c
* @brief 用户实现自己功能相关函数定义
* @details 定义用户所需的结构体变量以及局部全局变量定义
* @author Helon_Chan
* @par Copyright (c):
* 红旭无线开发团队
* @par History:
* Ver0.0.1:
Helon_Chan, 2018/06/19, 初始化版本\n
*/
/*
===========================
头... | C |
POST
import retrofit2.http.PUT
import retrofit2.http.Path
import retrofit2.http.Query
import ua.com.radiokot.photoprism.api.model.PhotoPrismOrder
import ua.com.radiokot.photoprism.api.photos.model.PhotoPrismBatchPhotoUids
import ua.com.radiokot.photoprism.api.photos.model.PhotoPrismMergedPhoto
import ua.com.radiokot.ph... | Kotlin |
繼資料和分類的改進。</p>
<h3 id="-page-shield-">什麼是 Page Shield?</h3>
<p><a href="https://www.cloudflare.com/page-shield/" target="_blank">Page Shield</a> 可保護網站擁有者和訪客免受惡意第三方 JavaScript 的侵害。JavaScript 可能透過多種惡意方式被利用:瀏覽器端加密挖掘、資料外流和惡意軟體注入等等。</p>
<p>例如,一個被劫持的 JavaScript 可能將一系列網站上數百萬使用者的信用卡詳細資訊暴露給惡意執行者。惡意執行者透過利用遭入侵的 JavaScript 程式庫、... | HTML |
ne
public value class EntitySeq(public val packed: Int) {
public val id: Int
get() = (packed shr ID_BIT_OFFSET) and ID_BIT_MASK
public val delay: Int
get() = (packed shr DELAY_BIT_OFFSET) and DELAY_BIT_MASK
public val priority: Int
get() = (packed shr PRIORITY_BIT_OFFSET) and PRIOR... | Kotlin |
ER1
#ifdef USE_BUTTON1
if(GPIO_PIN == button1.pin){
// 按键1:短按 - 电路开关功能,长按 - 负载模式切换
if (long_press == pdFALSE) {
// 短按:电路开关功能
circuit_enabled = !circuit_enabled; // 切换电路开关状态
if (!circuit_enabled) {
... | C++ |
�️ Study
#### 💡 변수의 개요
- `변수(Variable)`는 컴퓨터가 명령을 처리하는 도중 발생하는 값을 저장하기 위한 공간.
- 변할 수 있는 값을 의미.
- 정수형, 실수형, 문자형, 포인터형 등.
<br>
#### 💡 변수명 작성 규칙
➡️ C언어를 기준으로 설명.
- 영문자, 숫자, _ 사용 가능.
- 공백 or *, +, /, - 등의 특수문자 사용 불가.
- 첫 글자에 숫자가 올 수는 X.
- **글자 수에 제한이 없음.**
- 대/소문자 구분.
- **예약어를 변수명으로 사용 불가.**
<br>
#### 💡 기억 클래스
- 의미
... | Markdown |
1hdGguUEk7XG5cbiRleHBvcnQoJGV4cG9ydC5TLCAnTWF0aCcsIHtcbiAgZGVncmVlczogZnVuY3Rpb24gZGVncmVlcyhyYWRpYW5zKSB7XG4gICAgcmV0dXJuIHJhZGlhbnMgKiBSQURfUEVSX0RFRztcbiAgfVxufSk7XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL21vZHVsZXMvZXM3Lm1hdGguZGVncmVlcy5qc1xuLy8gbW9kdWxlIGlkID... | JavaScript |
1e,1,'~',1,$de
dc.b 2,$9e,2,$fe,3,'^',4,'B'
dc.b 4,$e0,6,'X',7,0,0,'`'
dc.b 1,$1e,1,'~',2,'>',2,$fe
dc.b 3,$be,4,$e0,6,'X',0,0
dc.b 0,'`',1,$1e,1,$de,2,$9e
dc.b 3,$be,4,$e0,6,'X',0,0
dc.b 0,$be,1,'~'
l003c dc.b ']',$c0,']',$c0,']',$c0,']',$c0
dc.b '] ] ] \',$80
dc.b '\',$80,'[',$e0,'[@[@'
dc.b 'Z',$a0,'Z',0,'... | Assembly |
"fmt"
"reflect"
"strings"
"sync"
"sync/atomic"
)
// Merge merges the src message into dst.
// This assumes that dst and src of the same type and are non-nil.
func (a *InternalMessageInfo) Merge(dst, src Message) {
mi := atomicLoadMergeInfo(&a.merge)
if mi == nil {
mi = getMergeInfo(reflect.TypeOf(dst).Elem()... | Go |
ptimizer)
norm = ampscaler_get_grad_norm(parameters)
self._scaler.step(optimizer)
self._scaler.update()
else:
norm = None
return norm
def state_dict(self):
return self._scaler.state_dict()
def load_state_dict(self, state_dict):
... | Python |
offering high-quality products, exceptional customer service, and secure transactions every step of the way.
Who We Are
Behind Ecommerce is a dedicated team of e-commerce enthusiasts who are passionate about bringing you the latest trends and best deals. With years of ex... | HTML |
<F> {
fn ready(&mut self, _ready: Option<&crate::mio::event::Event>, data: &mut Data) {
(self.0)((), data)
}
}
impl crate::EventSource for DummySource {
type Event = ();
fn make_dispatcher<Data: 'static, F: FnMut(Self::Event, &mut Data) + ... | Rust |
so need to add three
* [PublicKey]s to the Command's signers list. We can get the signers from the input IOU and the new IOU you
* have just created with the new lender.
* - Verify and sign the transaction as you did with the [IOUIssueFlow].
* - Return the partially signed transaction.
*/
... | Kotlin |
t1 = B.C__RootZone.get$errorZone();
t2 = zone.get$errorZone();
f = t1 !== t2 ? zone.bindCallbackGuarded$1(f) : zone.bindCallback$1$1(f, type$.void);
}
A._scheduleAsyncCallback(f);
},
_rootCreateTimer($self, $parent, zone, duration, callback) {
type$.Duration._as(duration)... | JavaScript |
oWei-Regular'), url(../fonts/gstatic/s/zcoolxiaowei/v5/i7dMIFFrTRywPpUVX9_RJyM1YFeQGQyULWqNeaO2wdeeLndSssJBUqlpCLNQMZe1xLAW-ZS4pgw.73.woff2) format('woff2');
unicode-range: U+5bf5-5bf6, U+5bfe, U+5c02-5c03, U+5c05, U+5c07-5c09, U+5c0b-5c0c, U+5c0e, U+5c10, U+5c12-5c13, U+5c15, U+5c17, U+5c19, U+5c1b-5c1c, U+5c1e-5c... | CSS |
ant, caplog: pytest.LogCaptureFixture
) -> None:
"""Test setup without discovery info."""
assert NOTIFY_DOMAIN not in hass.config.components
assert await async_setup_component(
hass,
NOTIFY_DOMAIN,
{"notify": {"platform": DOMAIN}},
)
await hass.async_block_till_done()
ass... | Python |
(label);
ImGui::SameLine();
if (tooltip[0] != '\0') {
ImGui::TextUnformatted("(?)");
if (ImGui::IsItemHovered()) {
ImGui::BeginTooltip();
ImGui::TextUnformatted(tooltip);
ImGui::EndTooltip();
}
ImGui::SameLin... | C++ |
true` if [url] starts with [text], `false` otherwise.
*/
fun doesUrlStartsWithText(url: String, text: String) = findUrlMatchingText(url, text) != null
private fun basicMatch(query: String, urls: Sequence<String>): String? {
return urls.firstOrNull { findUrlMatchingText(it, query) != null }
}
@SuppressWarnings("R... | Kotlin |
: 0.5; stroke-linecap: round"/> </g> <g id="text_3"> <!-- 2018 --> <g style="fill: #666666" transform="translate(167.063829 199.894) rotate(-30) scale(0.121 -0.121)"> <defs> <path id="ArialMT-38" d="M 1131 2484 Q 781 2613 612 2850 Q 444 3088 444 3419 Q 444 3919 803 4259 Q 1163 4600 1759 4600 Q 2359 4600 2725 4251 Q 309... | HTML |
timeColumn: string, ?tagColumns: [string], ?valueColumns: [string]) => [A] where A: Record
builtin from : (?csv: string, ?file: string) => [A] where A: Record
builtin linear : (<-tables: [{ T with
_time: time,
_value: float }], every: duration) => [{ T with
_time: time,
_value: float }]
builtin from : (start: A, stop... | Rust |
tions/" aria-expanded="false" aria-hidden="true">More</a><span class="gb_E"></span><ul class="gb_C gb_w" aria-dropeffect="move" aria-hidden="true"><li class="gb_l" aria-grabbed="false" id="ogbkddg:9"><a class="gb_b" id="gb51" href="https://translate.google.co.in/?hl=en" data-pid="51" data-ved="0CA4QwS4oDA"><span class=... | HTML |
gets.getSidebarWidgetControlContainingWidget = function( widgetId ) {
var foundControl = null;
// @todo This can use widgetIdToSettingId(), then pass into wp.customize.control( x ).getSidebarWidgetsControl().
api.control.each( function( control ) {
if ( control.params.type === 'sidebar_widgets' && -1 !== _.in... | JavaScript |
<ul class="posts">
<li itemscope=""><span class="entry-date"><time datetime="2021-03-08T00:00:00-05:00" itemprop="datePublished">March 08, 2021</time></span> » <a href="/site/2021/03/08/Practical-Lessons-from-Predicting-Clicks-on-Ads-at-Facebook.html">Practical Lessons from Predicting Clicks on Ads at F... | HTML |
/* Misc. local definitions for libc/stdlib */
#ifndef _LOCAL_H_
#define _LOCAL_H_
char * _gcvt (struct _reent *, double , int , char *, char, int);
#include "../locale/setlocale.h"
#ifndef __machine_mbstate_t_defined
#include <wchar.h>
#endif
typedef int wctomb_f (struct _reent *, char *, wchar_t, mbstate_t *);
ty... | C |
b \pm t_{0.25} SE(b)</script><br/></p><p><span class="MathJax_Preview"></span><span class="MathJax_SVG" id="MathJax-Element-298-Frame" tabindex="-1" style="font-size: 100%; display: inline-block;"><svg xmlns:xlink="http://www.w3.org/1999/xlink" width="18.951ex" height="2.671ex" viewBox="0 -835.3 8159.2 1149.8" role="i... | HTML |
au.rest.logger.CallLoggingDetail#STATUS_LINE STATUS_LINE}
<li class='jf'>{@link org.apache.juneau.rest.logger.CallLoggingDetail#HEADER HEADER}
<li class='jf'>{@link org.apache.juneau.rest.logger.CallLoggingDetail#ENTITY ENTITY}
</ul>
</li>
</ul>
<p>
The following examples show the output format for eac... | HTML |
utdown();}
}
Subscriber::operator void *() const
{
return (impl_ && impl_->isValid()) ? (void *)1 : (void *)0;
}
} //namespace image_transport
/*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2009, Willow Garage, Inc.
* All rights ... | C++ |
float:left"></div>
<br style="clear:both"/>
<h3>Difference</h3>
<div class="map1" style="background-blend-mode: difference; float:left;"></div><div class="map2" style="background-blend-mode: difference; float:left"></div>
<div class="red2" style="background-blend-mode: difference; float:left"></div>
<br style="clear:... | HTML |
il`](https://pqrs.org/osx/karabiner/seil.html.en) and install
* Step 2: Download [`karabiner`](https://pqrs.org/osx/karabiner/) and install.
* Step 3: Change capslock's keycode to 80 using `seil`

* Step 4: `karabiner`
* Switch to `Misc & Uninstall` panel.
* Click `Open priva... | Markdown |
Object.getPrototypeOf(e)})(e)}function Gf(e,t){return(Gf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Hf=function(e,t,r,n,o){var a,i=Math.min(Math.abs(r)/2,Math.abs(n)/2),l=n>=0?1:-1,c=r>=0?1:-1,f=n>=0&&r>=0||n<0&&r<0?1:0;if(i>0&&o instanceof Array){for(var p=[],s=0;s<4;s++)p[s]=o[s]>i?i:o[s];... | HTML |
100% - 1rem) center;
height: _size(element-height);
padding-right: _size(element-height);
text-overflow: ellipsis;
option {
color: _palette(fg-bold);
background: _palette(bg);
}
&:focus {
&::-ms-value {
background-color: transparent;
}
}
&::-ms-expand {
display: none;
}
}
inpu... | CSS |
Ds = {} -- This list resets on every reload.
local lastApplyTime = 0 -- Tracks the last time /guildapply was used to enforce a cooldown.
local APPLY_COOLDOWN = 120 -- 2 minutes
function E:ApplyGuilds(msg)
local currentTime = time()
if currentTime - lastApplyTime < APPLY_COOLDOWN then
local timeLeft = ceil(AP... | Lua |
taddrinfo supports AI_ADDRCONFIG */
#define USE_GAI_ADDRCONFIG 1
/* Define if getaddrinfo() should be used */
#define USE_GETADDRINFO 1
/* Enable extensions on AIX 3, Interix. */
#ifndef _ALL_SOURCE
# define _ALL_SOURCE 1
#endif
/* Enable GNU extensions on systems that have them. */
#ifndef _GNU_SOURCE
# define _GN... | C |
//有些文件后缀为视频格式,却不是视频文件,长度为0, 需要排除
val time = cursor.getLong(durationIndex)
if (time <= 0) {
continue
}
mediaBean.duration = (time)
if (maxDuration <= 0 || t... | Kotlin |
on.scene().existsPlug()->getValue() )
{
continue;
}
// Extract mesh primitive
mesh = runTimeCast<const MeshPrimitive>( location.scene().objectPlug()->getValue() );
if( !mesh )
{
continue;
}
// Get the object to world transform
o2w = location.scene().fullTransfo... | C++ |
ds, rect, &val)?;
break;
}
Value::Text(t) => {
self.spans.push(TextSpan::new(&rs, t));
rs.span_number += 1;
line_blank = false;
}
Value::HexadecimalCharacter(hc) => {
... | Rust |
/* 802FD228 002F8E88 90 7C 07 D0 */ stw r3, 0x7d0(r28)
/* 802FD22C 002F8E8C 38 60 00 00 */ li r3, 0
/* 802FD230 002F8E90 90 1F 03 30 */ stw r0, 0x330(r31)
/* 802FD234 002F8E94 48 00 00 EC */ b lbl_802FD320
lbl_802FD238:
/* 802FD238 002F8E98 7F A3 EB 78 */ mr r3, r29
/* 802FD23C 002F8E9C 4B FF C6 45 */ bl NHTTPi_S... | Assembly |
/2020/11/buttermilk-dinner-rolls-4sm-1-680x1020.jpg 680w, https://www.lecremedelacrumb.com/wp-content/uploads/2020/11/buttermilk-dinner-rolls-4sm-1-1024x1536.jpg 1024w, https://www.lecremedelacrumb.com/wp-content/uploads/2020/11/buttermilk-dinner-rolls-4sm-1-735x1103.jpg 735w, https://www.lecremedelacrumb.com/wp-conten... | HTML |
ransform_1_1threadblock_1_1RegularTileIterator_3_01Shape___00_01Element___00_01bd31b3810c1fedf2e7e5959ff92b5d3d.html#a19976ce704f0f613b06eaaba9c3ae96e">Element</a>,</div><div class="line"><a name="l01265"></a><span class="lineno"> 1265</span>  <a class="code" href="structcutlass_1_1layout_1_1VoltaTensorOpMult... | HTML |
#pragma once
class CPlayerPed;
class CTask
{
protected:
BOOL m_bSelfCreated;
public:
CPlayerPed *m_pPlayerPed;
BYTE *m_pTaskType;
CTask();
CTask(DWORD dwSize);
CTask(BYTE *pTaskType);
virtual ~CTask();
void Create(DWORD dwSize);
void Create(BYTE *pTaskType);
virtual CTask* CreateCopy();
virtual void De... | C |
s.subvendor = id->subvendor;
dev->link[0].ids.subdevice = pdev->subsystem_device;
dev->link[0].ids.devid = (id->device << 16) | id->vendor;
dev->link[0].dev = dev;
dev->link[0].info = get_ddb_info(id->vendor, id->device,
id->subvendor, pdev->subsystem_device);
dev_info(&pdev->dev, "detected %s\n", dev->lin... | C |
emscripten_set_main_loop(f,0,!1,Browser.mainLoop.arg,!0),_emscripten_set_main_loop_timing(i,o),Browser.mainLoop.scheduler()},updateStatus:function(){if(Module.setStatus){var i=Module.statusMessage||"Please wait...",o=Browser.mainLoop.remainingBlockers,f=Browser.mainLoop.expectedBlockers;o?o<f?Module.setStatus(i+" ("+(f... | JavaScript |
null,true);
TEX.Parse.Augment({
//
// Implements \href{url}{math}
//
HREF_attribute: function (name) {
var url = this.GetArgument(name),
arg = this.GetArgumentMML(name);
this.Push(arg.With({href:url}));
},
//
// Implements \class{name}{math}
//
CLASS_... | JavaScript |
arc-solaris/sparc/solaris/tst/stdarg.s:
/usr/local/lib/lcc-4.1/sparc-solaris/rcc -target=sparc/solaris /usr/local/lib/lcc-4.1/sparc-solaris/sparc/solaris/tst/struct.s:
/usr/local/lib/lcc-4.1/sparc-solaris/rcc -target=sparc/solaris /usr/local/lib/lcc-4.1/sparc-solaris/sparc/solaris/tst/switch.s:
/usr/local/lib/lcc-4.1/s... | HTML |
the deserializer of values from bytes
*/
@JvmOverloads
constructor(
port: Int = 6379,
address: InetAddress = InetAddress.getLoopbackAddress(),
keySerializer: (K) -> Bytes,
valueSerializer: (V) -> Bytes,
keyDeserializer: (Bytes) -> K,
valueDeserializer: (Bytes) -> V
) : this(
"redis:... | Kotlin |
则苦于此起。病于此住。老.死于此出。受.想.行.识亦如是说。比丘。若色灭.息.没。苦于此灭。病于此息。老.死于此没。受.想.行.识亦复如是。
佛说此经已。诸比丘闻佛所说。欢喜奉行。
### (七九)
<a name="79"></a>
如是我闻。
一时。佛住舍卫国祇树给孤独园。
尔时。世尊告诸比丘。过去.未来色尚无常。况复现在色。多闻圣弟子如是观察已。不顾过去色。不欣未来色。于现在色厌.离欲.灭寂静。受.想.行.识亦复如是。
比丘。若无过去色者。多闻圣弟子无不顾过去色。以有过去色故。多闻圣弟子不顾过去色。若无未来色者。多闻圣弟子无不欣未来色。以有未来色故。多闻圣弟子不欣未来色。若无现在色者。多闻圣弟子不于现在色生厌.离... | Markdown |
4066796" title="solide Friedrichshainer und Kreuzberger" target="_blank"><span>salon zur wilden renate</span></a></li><li><a href="http://spreeblick.com/" target="_blank"><span>spreeblick</span></a></li><li><a href="http://www.watchberlin.de" title="alles was die stadt bewegt" target="_blank"><span>watchberlin</span></... | HTML |
" }, mode = "n", expr = true },
i_esc = { "<esc>", { "cmp_close", "stopinsert" }, mode = "i", expr = true },
i_cr = { "<cr>", { "cmp_accept", "confirm" }, mode = "i", expr = true },
i_tab = { "<tab>", { "cmp_select_next", "cmp" }, mode = "i", expr = true },
i_ctrl_w = { "<c-w>", "<c-s-w>... | Lua |
* Code blocks that may contain blank lines must be surrounded by three backticks - "```".
*
* These rules allowed me to finish this tool quickly, but maybe someday I'll look for a full
* featured markdown parser and integrate that. But this isn't a priority as this tool currently
* does everything I need it to.... | Typescript |
en > apiConfig.TIME_DELTA_ONLINE;
}
export default {
GetUser,
GetAllUsers,
IsUserIDOnline,
GetPlayersOnGame,
GetUsers,
GetUserWithID,
};
import { SourceNodesArgs } from "gatsby";
import { createSpecialityNodes } from "../specialities";
import { ApiFullTopic } from "../../api/types";
describe(... | Typescript |
, y, u, v, true, 1, 1);
});
NEGCASE(KERNEL, {
bi_texs_2d_f32_to(b, x, u, v, false, 0, 0);
bi_texs_2d_f32_to(b, y, u, v, false, 1, 1);
});
NEGCASE(VERTEX, {
bi_texs_2d_f32_to(b, x, u, v, false, 0, 0);
bi_texs_2d_f32_to(b, y, u, v, false, 1, 1);
});
}
TEST_F(DualTexture, FuseDual... | C++ |
TL_1_1CPaneContainerImpl.html#a28">DrawPaneTitle</a> (<a class="el" href="namespaceWTL.html#a47">CDCHandle</a> dc)
<li>void <a class="el" href="classWTL_1_1CPaneContainerImpl.html#a29">DrawPane</a> (<a class="el" href="namespaceWTL.html#a47">CDCHandle</a> dc)
<li>void <a class="el" href="classWTL_1_1CPaneContainerImpl.... | HTML |
c (*GetRpoRequest) ProtoMessage() {}
func (*GetRpoRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_add33052b81b4cd7, []int{12}
}
func (m *GetRpoRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetRpoRequest.Unmarshal(m, b)
}
func (m *GetRpoRequest) XXX_Marshal(b []byte, deterministic b... | Go |
,
total: this.totalPrice,
address: this.addressList[index].address,
status: '已支付'
}
layui.http.requestJson(`orders/add`, 'post', order, (res) => {
this.user.jifen = this.user.jifen - this.totalPrice;
// 更新用户余额
layui.http.requestJson(`${localS... | HTML |
a:i}=e,o=r/100,a=n/100,s=(1-Math.abs(2*o-1))*a,l=s*(1-Math.abs(t/60%2-1)),c=o-s/2,T=t<60||300<=t&&t<360?s:120<=t&&t<240?0:l,Q=240<=t&&t<360?0:60<=t&&t<180?s:l,d=t<120?0:180<=t&&t<300?s:l,[u,p,h]=[T,Q,d].map((e=>255*(e+c)));return{r:u,g:p,b:h,a:null!=i?i:1}}({h:t,s:100,l:50,a:n});return new e({r:r,g:i,b:o,a:a})},e.proto... | JavaScript |
import torch
import torch_dct as dct
import torch.nn.functional as F
def modulo(x, mx):
positive_input = x > 0
x = x % mx
x = torch.where((x == 0) & positive_input, torch.tensor(mx, dtype=x.dtype, device=x.device), x)
return x
def wrapToMax(x, mx):
return modulo(x + mx/2, mx) - mx/2
def deep_de... | Python |
#include <glad/glad.h>
#include <GLFW/glfw3.h>
#include "shader.h"
static void _checkCompileErrors(unsigned int shader, enum ShaderType type) {
int success;
char infoLog[1024];
if (type != PROGRAM) {
glGetShaderiv(shader, GL_COMPILE_STATUS, &success);
if (!success) {
glGetShaderInfoLog(shader, 1... | C |
: 0B]
veor q9, q15, q8 @ tmp407, *D.15203_116,
and ip, r0, #15 @ tmp411, i,
vstr d18, [r3, #80] @, MEM[base: D.19466_608, offset: 4294967280B]
vstr d19, [r3, #88] @, MEM[base: D.19466_608, offset: 4294967280B]
vldr d20, [r3, #96] @, MEM[base: D.19465_652, offset: 0B]
vldr d21, [r3, #104] @, MEM[base: D.19465_652,... | Assembly |
/*
* Copyright (c) 2024 Rune Skovbo Johansen
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
using NUnit.Framework;
using Runevision.Common;
using UnityEngi... | C# |
return (currentQualityLevelsBySetting["WorldgenSeed"] as String).toInt()
}
fun SaveGame.getTimePlayed(): Float {
val gameClock = findSaveGameBehaviour("GameClock")
return gameClock.templateData["timePlayed"] as Float
}
fun SaveGame.getActiveMods(): List<String> =
world["active_mods"] as List<Strin... | Kotlin |
TITLE_TEXT = 0;
public static final int SOURCE = 1;
public static final int FILE_PATH = 2;
public static final int ARTWORK_PATH = 3;
public static final int FIELD_1 = 4; //Empty fields for other parameters.
public static final int FIELD_2 = 5;
public static final int FIELD_3 = 6;
public sta... | Java |
status was not confirmed
if _, ok := lp.GetVehicle().(api.ChargeState); ok {
lp.setActiveVehicle(nil)
}
}
// vehicleOdometer updates odometer
func (lp *Loadpoint) vehicleOdometer() {
if vs, ok := lp.GetVehicle().(api.VehicleOdometer); ok {
if odo, err := vs.Odometer(); err == nil {
lp.log.DEBUG.Printf("vehi... | Go |
the variables on the left hand side of a SOC constraint.
*/
EXTERN
SCIP_VAR** SCIPgetLhsVarsSOC(
SCIP* scip, /**< SCIP data structure */
SCIP_CONS* cons /**< constraint data */
);
/** Gets the coefficients of the variables on the left hand side of a SOC... | C |
.
pub fn receive_stripped_state_event(&mut self, event: &AnyStrippedStateEventStub) -> bool {
match &event {
AnyStrippedStateEventStub::RoomName(event) => self.handle_stripped_room_name(event),
_ => false,
}
}
/// Receive a presence event from an `IncomingResponse` a... | Rust |
<Delegates.hb_face_set_index> ("hb_face_set_index")).Invoke (face, index);
#endif
// extern void hb_face_set_upem(hb_face_t* face, unsigned int upem)
#if !USE_DELEGATES
#if USE_LIBRARY_IMPORT
[LibraryImport (HARFBUZZ)]
internal static partial void hb_face_set_upem (hb_face_t face, UInt32 upem);
#else // ... | C# |
"Додај време",
"gameBehavior": "Начин на играње",
"howDoYouMovePieces": "Како да ги движите фигурите?",
"clickTwoSquares": "Кликни на двете полиња",
"dragPiece": "Влечи ја фигурата",
"bothClicksAndDrag": "И двете",
"premovesPlayingDuringOpponentTurn": "Претпотези (играње додека противникот е на ред)",
"t... | JavaScript |
{
tjjs = tscal
if tscal == 1 {
goto Skip2
}
}
tjj := math.Abs(tjjs)
if tjj > smlnum {
if tjj < 1 {
if xj > tjj*bignum {
rec = 1 / xj
bi.Dscal(n, rec, x, 1)
scale *= rec
xmax *= rec
}
}
x[j] /= tjjs
} else if tjj > 0 {
if x... | Go |
horizontalLineTo(37.4013f)
curveTo(40.5387f, 36.3723f, 43.0337f, 33.1382f, 44.653f, 29.601f)
curveTo(45.5638f, 27.6808f, 46.1711f, 25.7606f, 46.6771f, 23.6382f)
curveTo(46.3735f, 25.3563f, 45.8675f, 27.1755f, 45.2602f, 28.8936f)
curveTo(43.7422f, 3... | Kotlin |
ime zone with the default locale.
<DT><A HREF="org/ggf/drmaa/PartialTimestamp.html#PartialTimestamp(int, int, int)"><B>PartialTimestamp(int, int, int)</B></A> -
Constructor for class org.ggf.drmaa.<A HREF="org/ggf/drmaa/PartialTimestamp.html" title="class in org.ggf.drmaa">PartialTimestamp</A>
<DD>Constructs a Gregori... | HTML |
)"
# set variable identifying the chroot you work in (used in the prompt below)
if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
debian_chroot=$(cat /etc/debian_chroot)
fi
# set a fancy prompt (non-color, unless we know we "want" color)
case "$TERM" in
xterm-color|*-256color) color_prompt=yes... | Markdown |
x39\x02\x00\x83\x51\x06\x00\x86\x0D\x02\x00" //L...9...Q......
/* 000F60 */ "\xFE\xD8\x00\x00\x1B\x81\x00\x00\xC8\xEF\x00\x00\x52\x78\x00\x00" //........Rx..
/* 000F80 */ "\xAF\x6A\x00\x00\x46\x79\x00\x00\x61\xB4\x02\x00\x14\x4F\x06\x00" //.j..Fy..a....O..
/* 000FA0 */ "\x32\x43\x01\x00\xCE\x49\x01\x00\x8F\... | C++ |
DWORD maxComponentLength;
DWORD fileSystemFlags;
BOOL volInfoSuccess = GetVolumeInformation((const char*)drive, NULL, 0,
&volumeSerialNumber, &maxComponentLength, &fileSystemFlags, NULL, 0);
if (volInfoSuccess == FALSE)
{
PrintWin32Error("***** GetVolumeInformation() Failed!");
}
Debu... | C++ |
ne, "A");
A.addValue(dwarf::DW_AT_name, dwarf::DW_FORM_strp, &AStr);
A.addValue(dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, &One);
A.addValue(dwarf::DW_AT_decl_file, dwarf::DW_FORM_data1, &One);
A.addValue(dwarf::DW_AT_decl_line, dwarf::DW_FORM_data1, &One);
auto Func = make_unique<DIE>(dwarf::DW_TAG_subpr... | C++ |
= EvilZero;
return false;
}
// [eventName,] ownerID, itemID, attributeID, time, newValue, oldValue = change (unless attrib = quantity)
bool AttributeMap::Change(uint16 attrID, EvilNumber& old_val, EvilNumber& new_val) {
// check for internal skill time data
if (attrID == AttrStartTime)
return true... | C++ |
ler);
}
void snd_oxfw_scs1x_update(struct snd_oxfw *oxfw)
{
register_address(oxfw);
}
int snd_oxfw_scs1x_add(struct snd_oxfw *oxfw)
{
struct snd_rawmidi *rmidi;
struct fw_scs1x *scs;
int err;
scs = kzalloc(sizeof(struct fw_scs1x), GFP_KERNEL);
if (scs == NULL)
return -ENOMEM;
scs->fw_dev = fw_parent_device(... | C |
-circle-left {
--fa: "\f137"; }
.fa-house-chimney-window {
--fa: "\e00d"; }
.fa-pen-nib {
--fa: "\f5ad"; }
.fa-tent-arrow-turn-left {
--fa: "\e580"; }
.fa-tents {
--fa: "\e582"; }
.fa-wand-magic {
--fa: "\f0d0"; }
.fa-magic {
--fa: "\f0d0"; }
.fa-dog {
--fa: "\f6d3"; }
.fa-carrot {
--fa: "\f78... | CSS |
)
}
/**
* Update the guard [A_Variable] with the new marker [number][A_Number]. The
* variable is a failure variable of a primitive function for
* [P_CatchException], and is used to track exception/unwind states.
*
* @param guardVariable
* The primitive failure variable to update.
* @param marker
*... | Kotlin |
__a-Button--Clear{display:none}.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--searchBox .m-SearchBox__a-Button--Clear .a-Icon--clear{position:absolute;top:50%;transform:translateY(-50%);right:45px;width:11px;height:11px;stroke:none;fill:#979797;cursor:pointer}.o-Header [data-module=header] .o-He... | HTML |
#include <QStandardItemModel>
#include <QFile>
#include "severitylogger.h"
const bool USE_WITNESS_P2SH = true; // only used if segregated witness is enabled
using namespace CoinDB;
using namespace CoinQ::Script;
using namespace std;
AccountModel::AccountModel(CoinDB::SynchedVault& synchedVault)
: m_synchedVaul... | C++ |
/*
* Academic License - for use in teaching, academic research, and meeting
* course requirements at degree granting institutions only. Not for
* government, commercial, or other organizational use.
*
* RigidJointDifferentialKinematics.h
*
* Code generation for function 'RigidJointDifferentialKinematics'
*
*/... | C |
Get a circle to draw a joint
* @param {*} id part id
* @param {*} scale size of the circle
*/
joint( id, scale ) {
return this.parts[id] ? Circle.fromCenter( this.parts[id], scale ) : [];
}
/**
* Get an array of body parts to draw a wireframe of the body.
*/
wireframe() {
let p = this.p... | JavaScript |
/* Hangul_YO HANGUL LETTER YO */
{ 0x0ecc, 0x315c }, /* Hangul_U HANGUL LETTER U */
{ 0x0ecd, 0x315d }, /* Hangul_WEO HANGUL LETTER WEO */
{ 0x0ece, 0x315e }, /* Hangul_WE HANGUL LETTER WE */
{ 0x0ecf, 0x315f }, /* Ha... | Java |
nd_sync_read_only!(AxisChunksIter);
send_sync_read_only!(ElementsBase);
send_sync_read_write!(IterMut);
send_sync_read_write!(IndexedIterMut);
send_sync_read_write!(LanesIterMut);
send_sync_read_write!(AxisIterMut);
send_sync_read_write!(AxisChunksIterMut);
send_sync_read_write!(ElementsBaseMut);
/// (Trait used inte... | Rust |
.4 61.2-137.4 140.4-137.4 68.1 0 118.5 38.7 118.5 109.8 0 53.1-21.3 152.7-90.3 152.7-24.9 0-46.2-18-46.2-43.8 0-37.8 26.4-74.4 26.4-113.4 0-66.2-93.9-54.2-93.9 25.8 0 16.8 2.1 35.4 9.6 50.7-13.8 59.4-42 147.9-42 209.1 0 18.9 2.7 37.5 4.5 56.4 3.4 3.8 1.7 3.4 6.9 1.5 50.4-69 48.6-82.5 71.4-172.8 12.3 23.4 44.1 36 69.3 3... | HTML |
ETC2_RGB4_PUNCHTHROUGH_ALPHA:
return "RGB + 1-bit Alpha Compressed ETC2 4 bits";
case TextureImporterFormat.ETC2_RGBA8:
return "RGBA Compressed ETC2 8 bits";
#if UNITY_2019_1_OR_NEWER
case TextureImporterFormat.ASTC_4x4:
return... | C# |
erator&lang=th"><img src="https://img.shields.io/badge/ไทย-white" alt="version"></a> <a href="https://openaitx.github.io/view.html?user=mini-software&project=PocoClassGenerator&lang=fr"><img src="https://img.shields.io/badge/Français-white" alt="version"></a> <a href="https://openaitx.github.io/view.html?user=mini-soft... | Markdown |
using System.Collections;
using System.Collections.Generic;
using System.IO;
namespace YooAsset
{
/// <summary>
/// 清理本地包裹未使用的缓存文件
/// </summary>
public sealed class ClearUnusedCacheFilesOperation : AsyncOperationBase
{
private enum ESteps
{
None,
GetUnusedCacheFiles,
ClearUnusedCacheFiles,
Done,... | C# |
u32) {
// Unset the lower 8 bits, then set the radix (as an 8-bit integer).
self.compressed &= !0xFF;
self.compressed |= radix & 0xFF;
}
/// Set the exponent base.
/// Unsafe, use the builder API for option validation.
#[inline(always)]
pub unsafe fn set_exponent_base(&mut s... | Rust |
if (started)
{
processInFlagRange(eventPlayer);
}
else
{
replyMSG.append("CTF match is not in progress yet.<br>Wait for a GM to start the event<br>");
}
replyMSG.append("</center></body></html>");
adminReply.setHtml(replyMSG.toString());
eventPlayer.sendPacket(adminReply);
}
catch (f... | Java |
μογή αλλαγών για να διασφαλιστεί καλύτερα η επιβιωσημότητα και η ευημερία του δικτύου. Αυτή η έλλειψη ιδιοκτησίας καθιστά την παραδοσιακή οργανωτική διακυβέρνηση μία ασυμβίβαστη λύση.
## Διαχείριση Ethereum {#ethereum-governance}
Η διακυβέρνηση Ethereum είναι η διαδικασία με την οποία γίνονται αλλαγές στο πρωτόκολλο.... | Markdown |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.