content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
# Generated by Ollama Llama 3
# Task: dynamic_mda_conversion_minimal
# Attempt: 10
# Success: False
# Overall Score: 0.568
import pyverilog.ast.tools as asttools
import re
class ArrayVisitor(asttools.NodeVisitor):
def visit_Assignment(self, node):
if isinstance(node.lvalue, asttools.ArrayRef) and '[]' in... | Python |
// -- FILE ------------------------------------------------------------------
// name : IRtfInterpreter.cs
// project : RTF Framelet
// created : Leon Poyyayil - 2008.05.21
// language : c#
// environment: .NET 2.0
// copyright : (c) 2004-2009 by Itenso GmbH, Switzerland
// -----------------------------... | C# |
lex'
}),
yappie: new LevelInfo(() => new Jessica(), level4, 'yappie',
{
pic: 'images/profile_yappie.png',
text: `Your driver Jessica always turns left if he doesn't hear any command. Command "right" makes he move forward. Command "left" makes him turn right. Classic Jessica.`... | Typescript |
e([pokemon.types[0],"Crystal"]);
pokemon.side.usedSuperType = true;
pokemon.side.superTypeUser = "first_switch";
},
onStart(pokemon) {
if (pokemon.side.usedSuperType && pokemon.side.superTypeUser === "first_switch"){
this.add('-message',pokemon.name + " is a Crystal type!");
pokemon.side.superTypeU... | Typescript |
static final int[] CURVE_Gy= {0x3F224,0x968B2F4,0x1FE63F48,0xFA93D90,0x14D2DDE5,0x54A56F5,0x12441D4C,0x18CD76C8,0x199D0DAD,0xE18E236,0x92BA73,0x99F6600,0x8F16727,0x3};
public static final int[] CURVE_HTPC= {0x1,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0};
public static final int[] CURVE_Bnx= {0x1001200,0x400... | Java |
te Cs3, v096
.byte W06
.byte Cs4, v124
.byte W06
.byte N22 , Cs3
.byte W24
.byte Fn4
.byte W24
.byte Fn3, v096
.byte W24
.byte Fn4, v124
.byte W24
.byte Fn3, v096
.byte W24
.byte PATT
.word song013_4_1
.byte N22 , Gn4, v124
.byte W24
.byte Gn3, v096
.byte W24
.byte Gn4, v124
.by... | Assembly |
闽侯、福州、古田、周宁、建瓯、建阳、邵武、光泽、政和、松溪、浦城;
“浙江 5 个县:温州、乐清、瑞安、文成、庆元;
“江西 4 个县:上饶、万年、临川、南城。”
张枭有些吃惊,打趣道:“林大夫数学不好吧,不是三省吗?怎么出来六个了?”
“江西有记载的鼠疫流行时间仅 1942-1949 年,湖南在 1941 年以前也从未发生过人间鼠疫,应该是日本侵华战争期间人为投放的,倒是不用担心。”林默天解释道,“需要注意的主要是福建地区,普遍认为福建地区的鼠疫是第三次大流行期间由香港经厦门、福州两港从海上传入的,《福建通志》上 1884 年之前没有任何有关发生鼠疫的记载,而有历史学者认为福建在明代中期曾爆发过鼠疫,但缺乏更多证据,但根据... | Markdown |
4), Ingredient("redgem", 1)}, TECH.ROBOTMODULECRAFT_ONE, {builder_tag="upgrademoduleowner"})
Recipe2("wx78module_cold", {Ingredient("scandata", 4), Ingredient("bluegem", 1)}, TECH.ROBOTMODULECRAFT_ONE, {builder_tag="upgrademoduleowner"})
Recipe2("wx78module_taser", {Ingredient("scandat... | Lua |
")
uint64_t("parameter")
}
val VkPerformanceConfigurationAcquireInfoINTEL = struct(Module.VULKAN, "VkPerformanceConfigurationAcquireInfoINTEL") {
Expression("#STRUCTURE_TYPE_PERFORMANCE_CONFIGURATION_ACQUIRE_INFO_INTEL")..VkStructureType("sType")
nullable..opaque_const_p("pNext")
VkPerformanceConfigura... | Kotlin |
export:?Append@TSTRBUFFER@@QAEJPBG@Z=\"C:\\Windows\\SysWOW64\\WsmSvc.?Append@TSTRBUFFER@@QAEJPBG@Z\"")
#pragma comment(linker, "/export:?Append@TSTRBUFFER@@QAEJPBGII@Z=\"C:\\Windows\\SysWOW64\\WsmSvc.?Append@TSTRBUFFER@@QAEJPBGII@Z\"")
#pragma comment(linker, "/export:?AppendChar@TSTRBUFFER@@QAEJG@Z=\"C:\\Windows\\SysW... | C++ |
}
dvsf4 := schema.NewField(schema.NewGeometryObject(gst2).TypeProperty()).NewID().Key(id.RandomKey()).MustBuild()
dvsf5 := schema.NewField(schema.NewGeometryEditor(gest2).TypeProperty()).NewID().Key(id.RandomKey()).MustBuild()
dvs1 := schema.New().NewID().Workspace(w.ID()).Project(pid).Fields([]*schema.Field{dvsf1,... | Go |
ce pre{max-height:500px;overflow:auto;margin:0}.source pre code{font-size:12px;overflow:visible}.hlist{list-style:none}.hlist li{display:inline}.hlist li:after{content:',\2002'}.hlist li:last-child:after{content:none}.hlist .hlist{display:inline;padding-left:1em}img{max-width:100%}.admonition{padding:.1em .5em}.admonit... | HTML |
def some_recursion(x):
if x < 0:
return 645
z = some_recursion(x - 1)
print(f"z is return from base case :{z}")
print(f"x is :{x}")
x = 5
# y = some_recursion(x)
# print(f"y is {y}")
# def acc(x):
# sum = 0
# for i in range(1, x + 1):
# print(f"sum is {sum}")
# sum += i
# return sum
... | Python |
this.DeleteHighInterrogationVillageVipAll()
Fox.Log( "### s10041_sequence.DeleteHighInterrogationVillageVipAll #### " )
TppInterrogation.RemoveHighInterrogation( GameObject.GetGameObjectId( "afgh_village_cp" ),
{
{ name = s10041_enemy.LABEL_POSITION_VILLAGE_VIP , func = s10041_enemy.InterCall_VillageVip, },
... | Lua |
ignoreChecks) {
this.boss.setState(attack);
}
}
default -> this.boss.setState(States.IDLE);
}
}
}
public void tick() {
if (this.boss.isSpawning() || this.boss.isDead()) return;
this.attackCooldown-... | Java |
(rwlock) => {
self.check_rwlock(rwlock, &mut report)?;
}
ConcurrencyPrimitive::Arc(arc) => {
self.check_arc(arc, &mut report)?;
}
ConcurrencyPrimitive::Channel(channel) => {
self.check_channel(channel, &mut report)?;
... | Markdown |
_parse_array(input: &[u8], len: usize) -> IResult<&[u8], Frame, RedisParseError<&[u8]>> {
let (input, data) = d_parse_array_frames(input, len)?;
Ok((input, Frame::Array { data, attributes: None }))
}
fn d_parse_push(input: &[u8]) -> IResult<&[u8], Frame, RedisParseError<&[u8]>> {
let (input, len) = d_read_prefi... | Rust |
er buffer of the same audio
# This adds ~20ms of latency but ensures smooth playback
self.engine.play(mixed_audio)
def set_volume(self, volume: float):
self.volume = np.clip(volume, 0.0, 1.0)
def enable(self):
self.enabled = True
def disable(self):
self.ena... | Python |
:<ldiv_t>())).rem as *const _ as usize },
8usize,
concat!("Offset of field: ", stringify!(ldiv_t), "::", stringify!(rem))
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lldiv_t {
pub quot: ::std::os::raw::c_longlong,
pub rem: ::std::os::raw::c_longlong,
}
#[test]
fn bindgen_test_la... | Rust |
return NULL;
#endif
#endif
}
/* Returned pointer MUST be freed by the caller if non-NULL. */
char* utf8_to_local_string_alloc(const char *str)
{
return mb_to_mb_string_alloc(str, CODEPAGE_UTF8, CODEPAGE_LOCAL);
}
/* Returned pointer MUST be freed by the caller if non-NULL. */
char* local_to_utf8_string_alloc(... | C |
/exit"
"github.com/coze-dev/coze-studio/backend/domain/workflow/internal/nodes/llm"
schema2 "github.com/coze-dev/coze-studio/backend/domain/workflow/internal/schema"
"github.com/coze-dev/coze-studio/backend/pkg/lang/ptr"
)
func (r *WorkflowRunner) designateOptions(ctx context.Context) ([]einoCompose.Option, error) ... | Go |
/*
* H.264
* H.264 Analysis
*
* Lei Xiaohua
* leixiaohua1020@126.com
* йýѧ/ֵӼ
* Communication University of China / Digital TV Technology
* http://blog.csdn.net/leixiaohua1020
*
* H.264
* H.264 Stream Analysis Tools
*
*/
#pragma once
#include "resource.h"
#include "stdafx.h"
#include "NALParse.h"
#incl... | C |
= [snac[idx++], snac[idx++], snac[idx++], snac[idx++],
snac[idx++], snac[idx++], snac[idx++], snac[idx++]];
chan = (snac[idx++] << 8) + snac[idx++];
if (chan === 3) {
var tlvs = extractTLVs(snac, idx);
isWhisper = (typeof tlvs[0x01] === undefined);
... | JavaScript |
, text: t("adult") },
{ value: "gia-tuong", text: t("fantasy") },
{ value: "gay-can", text: t("thriller") },
{ value: "kinh-dien", text: t("classic") },
{ value: "chuong-trinh-truyen-hinh", text: t("tvShows") },
{ value: "mien-tay", text: t("western") },
{ value: "lang-man", text: t("romantic") },
{ value... | JavaScript |
fas fa-hand-holding-usd"></i></div>
<div class="feature-title">Bunga Rendah</div>
<div class="feature-text">Pinjaman ringan, sesuai kebutuhan.</div>
</div>
<a href="#" class="btn btn-outline-primary btn-action">
<i class="fas fa-info-circle me-2">... | HTML |
Europan lingues. It va esser tam simplic quam Occidental: in fact, it va esser Occidental. A un Angleso it va semblar un simplificat Angles, quam un skeptic Cambridge amico dit me que Occidental es.</p>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<title>Extremely basic example of the W3C Geolocation API</title>
<m... | HTML |
@l
/* 80098CA8 00095AA8 90 06 07 24 */ stw r0, 0x724(r6)
/* 80098CAC 00095AAC 88 06 07 20 */ lbz r0, 0x720(r6)
/* 80098CB0 00095AB0 80 A6 07 24 */ lwz r5, 0x724(r6)
/* 80098CB4 00095AB4 54 00 10 3A */ slwi r0, r0, 2
/* 80098CB8 00095AB8 7C 04 00 2E */ lwzx r0, r4, r0
/* 80098CBC 00095ABC 7C A0 03 78 */ or r0, r5,... | Assembly |
",
fields,
icon: TablerIcons.printer,
validate: (Map<String, dynamic> data) {
final template = data["label"];
final plugin = data["plugin"];
if (template == null) {
showSnackIcon(L10().labelSelectTemplate, success: false);
return false;
}
if (plugin == null) {... | Dart |
n"
" div.s f1, f1, f2\n"
" mul.s f0, f0, f1\n"
" swc1 f0, 908(gp)\n"
//" lwc1 f0, L49(fp)\n"
" mtc1 f0, r0\n"
" swc1 f0, 912(gp)\n"
" mfc1 v1, f0\n"
" beq r0, r0, L38\n"
" sll r0, r0, 0\n"
"L37:\n"
" mtc1 f0, s5\n"
" ... | C++ |
ertex,
fragment = fragment,
query = EntityQuery(Position::class),
) {
override fun update(delta: Seconds, entity: Entity) = Unit
override fun update(delta: Seconds) = Unit
}
engine.addSystem(stage)
engine.create {
add(
... | Kotlin |
(P_VMSPACE),a0 | vmspace = p->p_vmspace
#ifdef DIAGNOSTIC
tstl a0 | map == VM_MAP_NULL?
jeq Lbadsw | panic
#endif
lea a0@(VM_PMAP),a0 | pmap = &vmspace.vm_pmap
tstl a0@(PM_STCHG) | pmap->st_changed?
jeq Lswnochg | no, skip
pea a1@ | push pcb (at p_addr)
pea a0@ | push pmap
jbsr _pmap_activate | pmap... | Assembly |
}
} else { // m12 == -1
euler.x = Math_PI.toDouble() * 0.5
euler.y = -atan2(-this[0][1], this[0][0])
euler.z = 0.0
}
} else { // m12 == 1
euler.x = (-Math_PI).toDouble() * 0.5
euler.y = -atan2(-this[... | Kotlin |
ố Bắc Ninh', Type.tp, [
Level3(17, 0, '09163', 'Phường Vũ Ninh', Type.phuong),
Level3(17, 0, '09166', 'Phường Đáp Cầu', Type.phuong),
Level3(17, 0, '09169', 'Phường Thị Cầu', Type.phuong),
Level3(17, 0, '09172', 'Phường Kinh Bắc', Type.phuong),
Level3(17, 0, '09181', 'Phường Đại Phúc', Typ... | Dart |
dIterationLimit()
{
object? data = AppContext.GetData("System.Security.Cryptography.Pkcs12UnspecifiedPasswordIterationLimit");
if (data is null)
{
return DefaultPkcs12UnspecifiedPasswordIterationLimit;
}
try
{
... | C# |
override
@JsonKey()
int? page;
@override
@JsonKey()
String? sort;
@override
@JsonKey()
int? desc;
@override
@JsonKey()
String? filter;
@override
@JsonKey()
String? filterKey;
@override
@JsonKey()
String? search;
@override
String? type;
@override
List<LibrarySort>? previous;
... | Dart |
ttributes[s]);return i},mathmlBuilder:(e,t)=>Wf(e.body,t)});rr({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"htmlmathml",mode:r.mode,html:fa(t[0]),mathml:fa(t[1])}},htmlBuilder:(e,t)=>{var r=Na(e.html,t,!1);return at.makeFragment(r)},mathmlBui... | JavaScript |
Descriptor1 = []byte{
// 228 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x28, 0x2a, 0x48, 0xd6,
0x4f, 0x4c, 0x4f, 0xcd, 0x2b, 0x89, 0x4f, 0xc9, 0x2c, 0x2e, 0x48, 0x2c, 0x49, 0xce, 0xd0, 0x2b,
0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x2e, 0x2a, 0x48, 0x... | Go |
min-width: 100px;
margin: 20px;
}
.line-width-demo__scale {
max-width: oTypographyMaxLineWidth();
}
@each $scale, $values in $_o-typography-font-scale {
.line-width-demo__scale--#{$scale} {
@include oTypographySans($scale);
}
}
}
/// When silent mode is active, css classes will not be output
/// @type... | CSS |
this.snake.collide(this.food);
if (foodIndex >= 0) {
this.snake.grow();
this.food.splice(foodIndex, 1);
this.decreaseTimerTimeout();
this.randomizeFood(Math.floor(Math.random() * 3 + 1));
}
this.gameIsOver = this.board.draw({
[BoardEntities.snake]: this.snake.cells,
[Bo... | Typescript |
-bs-table-hover-color: var(--bs-gray-400);
--bs-table-hover-bg: rgba(var(--bs-white-rgb), 0.075);
color: var(--bs-gray-400);
border-color: rgba(var(--bs-white-rgb), 0.125);
}
[data-theme='dark'] .callout {
background: rgba(var(--bs-white-rgb), 0.075);
border-top-color: rgba(var(--bs-white-rgb), 0.12... | CSS |
47.2701115,
minLongitude = 5.8663425,
)
private val GEO_GHANA = Geo(
latitude = 7.946527,
longitude = -1.023194,
maxLatitude = 11.1750308,
maxLongitude = 1.199972,
minLatitude = 4.6339001,
minLongitude = -3.2607859,
)
private val GEO_GIBRALTAR = Geo(
latitude = 36.140751,
longitude = -5.353585,
m... | Kotlin |
ousel .owl-item .owl-lazy:not([src]),.owl-carousel .owl-item .owl-lazy[src^=""]{max-height:0}.owl-carousel .owl-item img.owl-lazy{transform-style:preserve-3d}.owl-carousel .owl-video-wrapper{position:relative;height:100%;background:#000}.owl-carousel .owl-video-play-icon{position:absolute;height:80px;width:80px;left:50... | CSS |
(const Matrix<T>& m, bool sample_correction = false)
{
return vec_sqrt(var(m, sample_correction));
}
template <typename T>
Vector<T> r_var(const Matrix<T>& m, bool sample_correction = false)
{
Vector<T> res((T)0, m.nrows());
double sum, ssum;
unsigned int n = m.ncols();
for (unsigned int i = 0; i < m.nrows()... | C++ |
d the SQL dialect ever be extended with
// comparisons that can return non-NULL on NULL input, the `inBinOp` parameter
// may need altering.
typedSubExprs, fns, err := typeCheckOverloadedExprs(
ctx, types.Any, ops, false, true /* inBinOp */, foldedLeft, foldedRight,
)
if err != nil {
return nil, nil, nil, fals... | Go |
startup
* @ctx: SoundWire context allocated in the probe
*
* Startup Intel SoundWire controller. This function will be called after
* Intel Audio DSP is powered up.
*/
int sdw_intel_startup(struct sdw_intel_ctx *ctx)
{
return sdw_intel_startup_controller(ctx);
}
EXPORT_SYMBOL_NS(sdw_intel_startup, SOUNDWIRE_INTEL... | C |
# Copyright (c) 2025, NVIDIA CORPORATION.
import pytest
import cudf
@pytest.mark.parametrize(
"index, expected_repr",
[
(
lambda: cudf.Index(
[1000000, 200000, 3000000], dtype="timedelta64[ms]"
),
"TimedeltaIndex(['0 days 00:16:40', "
... | Python |
eturn self.OperandBType
end
function self:GetOperandCType ()
return self.OperandCType
end
function self:GetOperandDType ()
return self.OperandDType
end
function self:SetFunctionName (functionName)
self.FunctionName = functionName
end
function self:SetName (name)
self.Name = name
end
function self:SetOperandATy... | Lua |
-->
<div id="highlighted">
<div class="region region-highlighted">
</div>
</div>
<div id="page" class="page">
<div class="breadcrumb"><a href="/">Home</a> » <a href="/licenses">Licenses</a></div>
<h1 property="dc:title">MPEG Software Simulation</h1>
<div style="display:none;">... | HTML |
ty - uses original markdown source
function copyPageAsMarkdown() {
const markdownScript = document.getElementById('page-markdown-content');
if (!markdownScript) {
alert('Markdown content not available for this page');
return;
}
try {
let r... | HTML |
fe6ecdb612", null ],
[ "glPolygonStipple", "glad_8h.html#af7d0ca0525299998a18f182fed6c7172", null ],
[ "glPopAttrib", "glad_8h.html#a9dda1dcdb6b635f7b40208996bd3dcbd", null ],
[ "glPopClientAttrib", "glad_8h.html#a0178d9e4d051221f55c135675ce238c1", null ],
[ "glPopMatrix", "glad_8h.html#a4efb9a338a8a3db... | JavaScript |
}
h1 code, h2 code, h3 code, h4 code, h5 code, h6 code,
p code,
li code {
color: #3c70c6;
background-color: #fefefe;
/* 阴影 */
box-shadow: 0 0 1px 1px #c8d3df;
font-family: var(--code-font), var(--ui-font), monospace;
box-sizing: border-box;
border-right: 0px;
margin: 0 2px 0 2px;
padding: 0 2px 0 2p... | CSS |
# 创建按钮框架
frame_buttons = tk.Frame(self.edit_window)
frame_buttons.pack(pady=10)
# 添加“添加词语”按钮,并绑定事件
button_add = tk.Button(frame_buttons, text="添加词语", command=self.add_word_dialog, width=15, height=2)
button_add.pack(side=tk.LEFT, padx=5)
# 添加“删除词语”按钮,并绑定事件
butt... | Python |
div class="docblock"><p>A convenience method for returning a new Aho-Corasick contiguous NFA
builder.</p>
<p>This usually permits one to just import the <code>NFA</code> type.</p>
</div></details></div></details></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementat... | HTML |
credits)",
"BREE-623": "BREE 623 Proposal Preparation (3 credits)",
"BREE-630": "BREE 630 Integrated Water Resources Management Internship (13 credits)",
"BREE-631": "BREE 631 Integrated Water Resources Management Project (6 credits)",
"BREE-651": "BREE 651 Departmental Seminar M.Sc. 1 (1 credit)",
"BREE-652... | JavaScript |
div style="position: relative; padding: 30% 45%;">
<iframe style="position: absolute; width: 100%; height: 100%; left: 0; top: 0;" src="//player.bilibili.com/player.html?&bvid=BV1qx4y1k7ku&page=1&as_wide=1&high_quality=1&danmaku=1&autoplay=0" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="... | Markdown |
/wm/blank.svg" width="16" height="16"></picture><a href="https://plu.mx/plum/a/?doi=10.1016/j.addma.2022.103236" title="Search on plu.mx"><picture><source media="(prefers-color-scheme: dark)" srcset="ico/dm/plumx.svg" ><img src="ico/wm/plumx.svg" width="16" height="16"></picture></a>
<picture><source media="(prefers-co... | Markdown |
dBuilderAttribute : Attribute
{
public Type BuilderType { get; }
public AsyncMethodBuilderAttribute(Type builderType)
{
BuilderType = builderType;
}
}
} | C# |
layerMap[node] = layer
}
}
// generate node animations
val nodeAnims = ArrayList<AiNodeAnim>()
val minMaxTime = doubleArrayOf(1e10, -1e10)
var startTime = st.localStart
var stopTime = st.localStop
val hasLocalStartstop = startTime !... | Kotlin |
ap(RTE.Functor)
// $ExpectType <A, B>(f: (a: A) => B) => <R>(fa: ReaderTaskEither<R, string, A>) => ReaderTaskEither<R, string, B>
P.map(RTEApplicative)
// $ExpectType <A, B>(f: (a: A) => B) => <S, R, E>(fa: StateReaderTaskEither<S, R, E, A>) => StateReaderTaskEither<S, R, E, B>
P.map(SRTE.Functor)
//
// mapWithInde... | Typescript |
Kind.DIRECTIVE_MOZ_KEYFRAMES:
case TokenKind.DIRECTIVE_O_KEYFRAMES:
// TODO(terry): Remove workaround when bug 8270 is fixed.
case TokenKind.DIRECTIVE_MS_KEYFRAMES:
if (tokenId == TokenKind.DIRECTIVE_MS_KEYFRAMES && isChecked) {
_warning('@-ms-keyframes should be @keyframes');
... | Dart |
ue-gradient{color:#fff;transition:.5s ease}.btn.blue-gradient:active,.btn.blue-gradient:active:focus .btn.blue-gradient.active,.btn.blue-gradient:focus,.btn.blue-gradient:hover{background:linear-gradient(#5ed1fc,#3647b3)}.btn-warning:not(:disabled):not(.disabled).active,.btn-warning:not(:disabled):not(.disabled):active... | CSS |
abs/devtron/pkg/auth/authorisation/casbin"
"github.com/devtron-labs/devtron/pkg/auth/user"
"github.com/devtron-labs/devtron/pkg/bean"
"github.com/devtron-labs/devtron/pkg/chart"
"github.com/devtron-labs/devtron/pkg/pipeline"
resourceGroup2 "github.com/devtron-labs/devtron/pkg/resourceGroup"
"github.com/devtron-la... | Go |
npcHandler.topic[cid] = 3
end
elseif msgcontains(msg, "crossbow") and npcHandler.topic[cid] == 1 then
weapon[cid] = TYPES.CROSSBOW
if action[cid] == ACTION.CREATE then
npcHandler:say("Do you want to spend your dream matter with " .. (Config.Create.Clusters > 1 and "those" or "your") .. " " .. Config.Create.Cl... | Lua |
RemoveMetricsEventHandler(handler event.MetricsEventHandler) {
self.metricsEventHandlers.DeleteIf(func(val event.MetricsEventHandler) bool {
if val == handler {
return true
}
if w, ok := val.(event.MetricsEventHandlerWrapper); ok {
return w.IsWrapping(handler)
}
return false
})
self.metricsMsgEvent... | Go |
import os
import ldm_patched.modules.sd
def first_file(path, filenames):
for f in filenames:
p = os.path.join(path, f)
if os.path.exists(p):
return p
return None
def load_diffusers(model_path, output_vae=True, output_clip=True, embedding_directory=None):
diffusion_model_names ... | Python |
en(#3da110, @darken-chrome) 0px 1px 0px;
@button-green2-disabled-color: darken(#037a01, @darken-chrome);
// Red
@button-red-color: @button-grey-color;
@button-red-text-shadow: darken(#b60000, @darken-chrome) 0px 1px 0px;
@button-red-idle-gradient: linear-gradient(to top, rgb(182,0,0) 0%, rgb(203,0,0) 100%);
@button-r... | CSS |
IHllbg== 58440
IGN1bGluYXJ5 58441
UFJJ 58442
IENvbW11bml0aWVz 58443
bmlk 58444
X29wZXJhdGlvbnM= 58445
Lmhz 58446
IE1pbHRvbg== 58447
IG5vaXNlcw== 58448
QXV0b3Jlc2l6aW5nTWFzaw== 58449
KGNpZA== 58450
fQoKCgoKCg== 58451
XX0sCg== 58452
IERldGVjdGlvbg== 58453
dGFibGE= 58454
IGxpYmVydGllcw== 58455
X0RZTkFNSUM= 58456
d2dldA== ... | Kotlin |
"""SiteManagement URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/1.9/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: url(r'^$', views.home, name='home')
Cl... | Python |
8);
}
static Uint8List _generateHmac(Uint8List bytesForHmac, Uint8List key, String digestAlgorithm) {
final hmac = Mac('$digestAlgorithm/HMAC')..init(KeyParameter(key));
var m = hmac.process(bytesForHmac);
return m;
}
///
/// Formats the given [password] according to RFC 7292 Appendix B.1
///
... | Dart |
>');
tn('head', 0).insertAdjacentHTML('beforeend', '<style class="mod-style">#mod-message textarea{height:300px;padding:12px 20px;outline-offset:unset;}#mod-message .mod-message-button{-webkit-user-select:none;user-select:none;text-decoration:none;font-size:14px;padding:12px 24px;border:4px solid var(--b... | Kotlin |
:\\Python3.10\\lib\\site-packages\\django\\db\\migrations\\operations\\models.py:96: in database_forwards\n schema_editor.create_model(model)\nS:\\Python3.10\\lib\\site-packages\\django\\db\\backends\\base\\schema.py:451: in create_model\n self.execute(sql, params or None)\nS:\\Python3.10\\lib\\site-packages\\dja... | HTML |
buffer for next iteration
Array.Copy(_byteBuffer, lastFullCharStop + 1, _byteBuffer, 0, offset);
}
else
{
// reached end of string
if (count < MaxCharBytesSize)
{
... | C# |
# -*- coding: utf-8 -*-
# Copyright 2025 Google LLC
#
# 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... | Python |
's not a monster or player or is
// immune to lasers, we're done
if (target.svflags and Defines.SVF_MONSTER == 0 && target.client == null) {
if (self.hasSpawnFlag(LASER_SPARK_FLAG)) {
self.unsetSpawnFlag(LASER_SPARK_FLAG)
game.gameImports.multicastMessage(tr.e... | Kotlin |
rue;
break;
case 48: {
kLNJLIIECPD_ = input.readUInt32();
break;
}
case 64: {
jCMAPNDMPHD_ = input.readUInt32();
break;
}
case 72: {
gNDNKOIMJEL_ = input.readUInt32();
... | Java |
t_html.ImageElement getImageElement(Image image) {
return image.getElement() as dart_html.ImageElement;
}
int getOriginLeft() {
return 0;
}
int getOriginTop() {
return 0;
}
SafeUri getUrl(Image image) {
return UriUtils.unsafeCastFromUntrustedString(getImageElement(image).src);
}
int ... | Dart |
_A0 : <a class="el" href="classc_g_e_l_skeleton_link.html#af96bf43d1febe6b6cafb897ee0622383">cGELSkeletonLink</a></li>
<li>m_A1 : <a class="el" href="classc_g_e_l_skeleton_link.html#a0ace99e9573d42404fb06e14855de735">cGELSkeletonLink</a></li>
<li>m_acc : <a class="el" href="classc_g_e_l_ma... | HTML |
c.107.107.227.201.35.279l5.187 5.186c.391.391.9.586 1.413.586s1.022-.195 1.414-.586l7-7c.78-.781.78-2.047 0-2.828l-5-5-3.45-3.521A6.971 6.971 0 009 2zm0 5.498a1.5 1.5 0 110 3 1.5 1.5 0 010-3m0-1A2.503 2.503 0 006.5 9c0 1.377 1.121 2.498 2.5 2.498S11.5 10.377 11.5 9A2.503 2.503 0 009 6.498z"/></svg>';
static const Str... | Dart |
let ux = if V.vector4_f32[0] <= Bounds.vector4_f32[0] && V.vector4_f32[0] >= -Bounds.vector4_f32[0] { 0xFFFFFFFF } else { 0 };
let uy = if V.vector4_f32[1] <= Bounds.vector4_f32[1] && V.vector4_f32[1] >= -Bounds.vector4_f32[1] { 0xFFFFFFFF } else { 0 };
let uz = if V.vector4_f32[2] <= Bounds.vector... | Rust |
Answer {
user: User {
id: res.value_unchecked(0, 0)?,
},
question: Question {
id: res.value_unchecked(0, 1)?,
text: res.value_unchecked(0, 2)?,
},
... | Rust |
-770' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4></div></span><h3 id='impl-ShlAssign%3Cu8%3E-11' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="../../../../nom/lib/std/ops/trait.ShlAssign.html" title="trait nom::lib::std::ops... | HTML |
+ ": skipping " + seg_len );
seg_len -= (short)msg_in.skip( seg_len );
}
if ( ! msg_in.moreData() )
if ( msg_in.receive() != msg_id )
{
if ( trace.enabled( 3 ) )
trace.write( title + ": truncated!" );
endStream();
throw new IOException( "BLOB data stream truncated!" );
}
if ( (se... | Java |
) {
CELCIUS -> value.toDouble()
FAHRENHEIT -> value.toDouble() * 1.8 + 32
}
}
companion object {
fun fromValue(value: Int?): Temperature {
return when (value) {
2 -> FAHRENHEIT
else -> CELCIU... | Kotlin |
>
public CryptoStreamV3(Stream stream, int key, bool leaveOpen = false) : base(stream, key, leaveOpen)
{
CryptoKey = (int)(key ^ Constant);
}
private int CryptoKey { get; }
/// <summary>
/// Overrides the abstract method Crypt to perform the cryptographic operation using the versio... | C# |
o specify <code>register_vmhost=True</code> to have LXD configured on the machine and registered as a VM host in MAAS (similar to what happens with virsh if <code>install_kvm=True</code> is provided).</p>
<h2 id="maas-3.0-beta-1">MAAS 3.0 Beta 1</h2>
<h3 id="pci-and-usb-devices-are-now-modelled-in-maas">PCI... | HTML |
.");
(function (doc) {
var agnt = navigator.userAgent;
var css = ".captify-widget>div>div>div{padding-bottom:30px!important}";
var count = 300; // 300 * 100ms == 30000ms limit
function isIphone() {
return /iPhone/.test(agnt);
}
function isEdge() {
return /Edge/.test(agnt);
}
function isEdgeOrIphone() {
return isIphone(... | HTML |
oard-mode .x-nbr .x-segmented-button-item.x-btn-focus.x-btn-over.x-btn-plain-toolbar-small:after{border-width:1px;border-color:#676767}.x-keyboard-mode .x-nbr .x-segmented-button-item.x-btn-focus.x-btn-menu-active.x-btn-plain-toolbar-small:after,.x-keyboard-mode .x-nbr .x-segmented-button-item.x-btn-focus.x-btn-pressed... | CSS |
* Pulumi.run(App::stack);
* }
*
* public static void stack(Context ctx) {
* final var task = ResourcemanagerFunctions.getAccountDeletionCheckTask(GetAccountDeletionCheckTaskArgs.builder()
* .accountId("your_account_id")
* .build());
... | Java |
시보드에서 확인하시거나 결제 데이터 분석 서비스에서 상세히 확인하실 수 있습니다.
## 엑셀다운로드
조회된 거래 내역을 엑셀 파일 형식으로 로컬에 다운로드 받을 수 있습니다. 엑셀 다운로드 클릭 시 원하는 정보를 선택하여 커스텀할 수 있습니다.
# https://developers.portone.io/opi/ko/console/guide/promotion
---
title: 프로모션
description: 카드사 할인을 사용하기 위한 프로모션 설정을 관리할 수 있습니다. 관리자콘솔 내 프로모션 설정 방법을 안내합니다.
targetVersions:
- v1... | Markdown |
# Copyright (c) 2015, Frappe Technologies and contributors
# License: MIT. See LICENSE
import frappe
from frappe.model.document import Document
from frappe.query_builder import Interval
from frappe.query_builder.functions import Now
class ErrorLog(Document):
# begin: auto-generated types
# This code is auto-genera... | Python |
#@+leo-ver=5-thin
#@+node:ekr.20210329114352.1: * @file ../plugins/example_rst_filter.py
"""Filters for the rst3 command."""
from leo.core import leoGlobals as g
def init():
if g.unitTesting:
return False
g.registerHandler('after-create-leo-frame', onCreate)
return True
def onCreate(tag, keys):
... | Python |
// This file is part of BOINC.
// http://boinc.berkeley.edu
// Copyright (C) 2008 University of California
//
// BOINC is free software; you can redistribute it and/or modify it
// under the terms of the GNU Lesser General Public License
// as published by the Free Software Foundation,
// either version 3 of the Licens... | C |
signed char* in, int *inlen) {
return ISO8859xToUTF8 (out, outlen, in, inlen, xmlunicodetable_ISO8859_13);
}
static int UTF8ToISO8859_13 (unsigned char* out, int *outlen,
const unsigned char* in, int *inlen) {
return UTF8ToISO8859x (out, outlen, in, inlen, xmltranscodetable_ISO8859_13);
}
static int ISO885... | C |
syntax. */
@Test
void testScott2() {
final String ml = "from e in scott.emps yield e.deptno";
final String plan =
"LogicalProject(deptno=[$7])\n"
+ " JdbcTableScan(table=[[scott, EMP]])\n";
ml(ml)
.withBinding("scott", BuiltInDataSet.SCOTT)
.assertType("int bag")
... | Java |
t will attempt to ascertain
the credentials from the environment.
credentials_file (Optional[str]): A file with credentials that can
be loaded with :func:`google.auth.load_credentials_from_file`.
This argument is mutually exclusive with credentials.
... | Python |
content/uploads/sites/40/2022/02/State-of-Texas-masthead-thumbnail.png?quality=75')"
);
}
if (br_header.classList.contains("is-scrolling--top")) {
siteHeaderLogo.style.padding = "0";
logo_bg.setAttribute("style",
"background-image: url('https://www.kxan.com/wp-content/uploads/... | HTML |
e={_('Hover/Tooltip')}>
<HoveronDropdown attr="hoveron" label={_('Hover on')} />
<Radio
label={_('Hover on Gaps')}
attr="hoverongaps"
options={[
{label: _('Yes'), value: true},
{label: _('No'), value: false},
]}
/>
<HoverTemplateSwitch attr="ho... | JavaScript |
order:0;padding:0;margin:0}.prefsection fieldset{border:1px solid #aaa;float:left;margin-right:2em}.prefsection legend{font-weight:bold}.prefsection table,.prefsection legend{background-color:#f9f9f9}.mainLegend{display:none}div.prefsectiontip{font-size:x-small;padding:.2em 2em;color:#666}.btnSavePrefs{font-weight:bold... | HTML |
eader",{key:0,close:e(A),titleId:e(p),titleClass:e(d).e("title")})]),default:h(()=>[k(l.$slots,"default")]),_:2},[l.$slots.footer?{name:"footer",fn:h(()=>[k(l.$slots,"footer")])}:void 0]),1040,["custom-class","center","align-center","close-icon","draggable","fullscreen","show-close","title","onClose"])):q("v-if",!0)]),... | JavaScript |
0#VK_SUBPASS_EXTERNAL SUBPASS_EXTERNAL}</li>
* <li>If {@code srcSubpass} equals {@code dstSubpass} and that subpass has more than one bit set in the view mask, then {@code dependencyFlags} <b>must</b> include {@link VK11#VK_DEPENDENCY_VIEW_LOCAL_BIT DEPENDENCY_VIEW_LOCAL_BIT}</li>
* <li>If the <a target="_blank" href... | Kotlin |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.