content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
d on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.5
// protoc v4.24.4
/... | Go |
com.fueledbycaffeine.spotlight.internal.ccHiddenIsDirectory
import java.io.File
import java.io.FileNotFoundException
import java.io.Serializable
import java.nio.file.Files
import java.nio.file.Path
import java.util.Locale.getDefault
import kotlin.io.path.isDirectory
import kotlin.io.path.name
import kotlin.io.path.rela... | Kotlin |
expect(_c).toBeInstanceOf(Point);
expect(_c.x).toBe(1);
expect(_c.y).toBe(1);
expect(_c.radius).toBe(10);
});
});import { TestBed, inject } from '@angular/core/testing';
import { Injectable } from '@angular/core';
import { Observable } from 'rxjs/Observable';
import { CountriesService } from './coun... | Typescript |
,并在“添加部件”处添加
### **在桌面显示 Intel CPU 频率(可选)**
安装 KDE 小部件:[Intel P-state and CPU-Freq Manager](https://github.com/frankenfruity/plasma-pstate)
右键点击顶栏,选择“添加部件”,找到 Intel P-state and CPU-Freq Manager 并添加在顶栏即可
## **软件的下载与配置**
### **PGP 密钥无法导入**
如果导入 PGP 密钥发生 `gpg: keyserver receive failed: General error` 的问题,将 PGP 密钥复制下... | Markdown |
发展提供了劳动力,同时也滋生了剥削的土壤。
* 天火的老师昂斯特议员提到了整合运动曾重创“王者之杖”,以及整合运动杀死了“菲尔”,后者似乎是天火个人经历中的一个痛点或动力来源,尽管故事中并未详细展开。
* 故事中的商人同学没有被提及具体姓名,只以其工厂名称“巴伦工厂”或其身份“拉拢客户的商人同学”代指。
* 线人安摩斯只出现了一次,通过他的报告提供了地下工厂的关键证据,其具体身份背景并未交代。
* 天火在故事中展现了强烈的火系源石技艺(感受到气温上升,想烧掉工厂),与其干员设定相符。
* 天火的身份是蒙贝兰家的大小姐,显示其维多利亚贵族的背景,这与她在议会工作以及对老同学们的态度形成了对比。
**
## 关键人... | Markdown |
c_end ov73_021DB3DC
thumb_func_start ov73_021DB560
ov73_021DB560: ; 0x021DB560
ldr r0, [r0, #8]
lsl r0, r0, #0x10
lsr r0, r0, #0x10
bx lr
thumb_func_end ov73_021DB560
thumb_func_start ov73_021DB568
ov73_021DB568: ; 0x021DB568
ldr r0, [r0, #4]
bx lr
thumb_func_end ov73_021DB568
thumb_func_start ov73_021DB5... | Assembly |
);
}
this.deleteRowFn()
this.displayBooks();
});
// this.books.splice(i,1);
// let key=book.id;
// if(localStorage.getItem(key)!=null){
// localStorage.removeItem(key);
// ... | Typescript |
ot/the-cube-module-overview#differences-between-cube-colours).
:::
:::tip
This autopilot is [supported](../flight_controller/autopilot_pixhawk_standard.md) by the PX4 maintenance and test teams.
:::
## 主要特性
- 32bit STM32F427 [Cortex-M4F](http://en.wikipedia.org/wiki/ARM_Cortex-M#Cortex-M4)<sup>®</sup> core with ... | Markdown |
-- Copyright (C) 2006-2025 The Gregorio Project (see CONTRIBUTORS.md)
--
-- This file is part of Gregorio.
--
-- Gregorio is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-... | Lua |
session_stager.exe`) kommer från Administrator:s mapp för nedladdade filer.
```
sudo vol -f memdump.elf windows.registry.userassist
Volatility 3 Framework 2.7.0
Progress: 100.00 PDB scanning finished
Hive Offset Hive Name Path Last Write Time Type Name ID Count Focus Count Time Focu... | Markdown |
ine uint log2(uint32 i)
{
uint32 value = 0;
while( i >>= 1 ) value++;
return value;
}
inline uint log2(uint64 i)
{
uint64 value = 0;
while (i >>= 1) value++;
return U32(value);
}
inline float lerp(float f0, float f1, float t)
{
const ... | C |
@imgs/diff-vue3/diff18.png" width="500" />
`li-c` 节点既不是新节点,也不需要被移动,至此循环结束,更新完成。
:::tip
完整代码&在线体验地址:[https://codesandbox.io/s/4lrqpv0jm9](https://codesandbox.io/s/4lrqpv0jm9)
:::
### 求解最长递增子序列
上一小节我们已经介绍了什么是最长递增子序列,同时我们使用 `lis` 函数求解一个给定序列的最长递增子序列,本节我们就来探索一下如何求出给定序列的最长递增子序列。
设给定的序列如下:
```
[ 0, 8, 4, 12, 2, 10 ]
```... | Markdown |
abelsberg.de</a></p>
<p><img data-attachment-id="127864" data-permalink="https://bernau-live.de/veranstaltungstipps/veranstaltung/feiertag-in-bernau-und-drumherum-veranstaltungstipps/attachment/img_6077_spreepix_bernau-live_babelsberg" data-orig-file="https://bernau-live.de/wp-content/uploads/2023/10/IMG_6077_Spreepix_... | HTML |
* @param x Value for x coordinate
* @param y Value for y coordinate
*/
internal fun setStart(x: Float, y: Float) = startPoint.set(x, y)
/**
* Set end coordinates for canvas drawing
*
* @param x Value for x coordinate
* @param y Value for y coordinate
*/
internal fun... | Kotlin |
"DrawOverlay", "colorpicker") end
end)
end
end
end
self.Paint = function() end
end
PANEL.MoreOptionsLeftClick = special_callback
function PANEL:Restart()
if pace.current_part and pace.current_part.DefaultVars[self.CurrentKey] then
self.vector = pac.CopyValue(pace.current_part.Defaul... | Lua |
) {
time = LocaleController.formatPluralString("Hours", chatInfo.ttl_period / (60 * 60));
} else if (chatInfo.ttl_period >= 60) {
time = LocaleController.formatPluralString("Minutes", chatInfo.ttl_period / 60);
} else {
time = LocaleController.formatPluralString("Seco... | Java |
"tsss...For women.",
"All right, so are you ready, so we'll go out and get something to eat.",
"That's uh, KL5-8383.",
"Are you calling them soon because, they keep very strange hours.",
"I thought were a team.",
"(to Elaine) Do you want us to go with you?",
"'These pretzels are making me thirsty'?",
"... | Rust |
y()
}
return tRemove
}
override fun getTankInfo(side: ForgeDirection?): Array<out FluidTankInfo> {
return fluidStacks.map { fluid -> FluidTankInfo(fluid, capacity) }.toTypedArray()
}
// endregion
// region GUI
override fun getGUIWidth(): Int {
return 176 + 18
}
override fun getCircuitSlotX(): Int {... | Kotlin |
: signalFromWire.data
};
switch (type) {
case uProxy.MessageType.SIGNAL_FROM_CLIENT_PEER:
// If the remote peer sent signal as the client, we act as server.
rtcToNetServer.emit('handleSignalFromPeer', signalForSocksRtc);
break;
case uProxy.MessageType.SIGNAL_FR... | Typescript |
t size=\"-1\">"), _TL("Data History"));
// s += Get_TIN()->Get_History().Get_HTML();
// s += wxString::Format(wxT("</font"));
//-----------------------------------------------------
return( s );
}
///////////////////////////////////////////////////////////
// /... | C++ |
n 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 writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
*... | CSS |
model.addAttribute("chats", chats);
model.addAttribute("allProviders", allProviders);
model.addAttribute("allModels", allModels);
model.addAttribute("allRoles", allRoles);
model.addAttribute("pageTitle", "聊天对象管理");
return "management/chat-config/chats";
}
/**
... | Java |
/**
* 根据组件、属性名判断是否可以使用这个数据源
*/
public static accessable: (controlType: string, propKey: string) => boolean;
public features: Array<keyof typeof DSFeature>;
/**
* 根据值内容和schema配置状态,看是否是当前数据源
*/
public abstract match(value: any, schema?: SchemaObject): boolean;
/**
* 生成数据源的配置表单
*/
public ... | Typescript |
=\"M20.64,8.54l-0.96-0.32C19.27,8.08,19,7.7,19,7.27V3c0-0.55-0.45-1-1-1h-3c-0.55,0-1,0.45-1,1v4.28 c0,0.43-0.27,0.81-0.68,0.95l-0.96,0.32C11.55,8.83,11,9.59,11,10.45V20c0,1.1,0.9,2,2,2h7c1.1,0,2-0.9,2-2v-9.56 C22,9.58,21.45,8.82,20.64,8.54z M16,4h1v1h-1V4z M20,20h-7v-2h7V20z M20,16h-7v-2h7V16z M20,12h-7v-1.56l0.95-0.32... | C# |
Warning:
currFillColor = HealthStatus.Warning;
break;
case this.InsightStatus.Success:
currFillColor = HealthStatus.Success;
break;
default:
currFillColor = HealthStatus.Info;
break;
}
this.guage.guages[i] = new... | Typescript |
th);
///# let roberta_model = RobertaForQuestionAnswering::new(&vs.root(), &config);
/// let (batch_size, sequence_length) = (64, 128);
/// let input_tensor = Tensor::rand(&[batch_size, sequence_length], (Int64, device));
/// let mask = Tensor::zeros(&[batch_size, sequence_length], (Int64, device));
... | Rust |
Max = sizeof(propIDs) / sizeof(propIDs[0]);
PROPVARIANT props[kNumPropsMax];
for (int p = 0; p < 6; p++)
props[p].vt = VT_UI4;
props[0].ulVal = (UInt32)dict;
props[1].ulVal = (UInt32)pb;
props[2].ulVal = (UInt32)lc;
props[3].ulVal = (UInt32)lp;
props[4].ulVal = (UInt32)algo;
prop... | C++ |
dlink">鸡肉</a>等<a href="http://www.to3158.cn/tags-r-l65e2c30485de1.html" target="_blank" class="relatedlink">肉类</a>作为<a href="http://www.to3158.cn/tags-z-l65af30963e970.html" target="_blank" class="relatedlink">主粮</a><a href="http://www.to3158.cn/tags-k-l.html" target="_blank" class="relatedlink">颗粒</a>的<a href="http://... | HTML |
'./Passenger';
export class Home implements Mappeable {
private readonly location: {
lat: number;
lng: number;
};
public readonly name: string;
constructor(passenger: Passenger) {
const { lat, lng } = passenger.getLocation;
this.location = { lat: lat + 0.0002, lng: lng + 0.0002 };
this.n... | Typescript |
um:
add TOSL, TOSH
ldi TOSH, 0
adc TOSH, ZERO
next
; L-H ( lh -- n ) low byte of TOS minus high byte of TOS
opcode_bytediff:
sub TOSL, TOSH
ldi TOSH, 0
sbc TOSH, ZERO
next
; 256* ( u1 -- u2 ) multiply u1 by 256 (left shift 8 bits)... | Assembly |
&Self::Target {
&self.0
}
}
impl core::ops::DerefMut for W {
#[inline(always)]
fn deref_mut(&mut self) -> &mut Self::Target {
&mut self.0
}
}
impl From<crate::W<TCR_SPEC>> for W {
#[inline(always)]
fn from(writer: crate::W<TCR_SPEC>) -> Self {
W(writer)
}
}
#[doc = "F... | Rust |
.459 0c0 21.84 32.554 21.84 32.554 0h-32.554zm49.44 0c0 21.84 32.554 21.84 32.554 0h-32.555zm-98.9-64.187c0 21.839 32.555 21.839 32.555 0h-32.554zm49.452 0c0 21.839 32.554 21.839 32.554 0h-32.554zm-49.451 128.383c0 9 7.285 16.281 16.285 16.281 8.987 0 16.27-7.282 16.27-16.281h-32.555zm49.447 0c0 9 7.286 16.281 16.281 1... | Dart |
w.pnp-software.com/XSLTdoc"></p><center class="copyright"> © 2015 Adobe Systems Incorporated. All rights reserved. <br/>Thu Dec 6 2018, 01:12 PM -08:00 </center></div>
<div class="contentfooter"><div class="separator"> </div><!--BEGIN IONCOMMENTS--><div id="ionComHere"></div><!--END IONCOMMENTS-->[an err... | HTML |
/* System includes */
#include <stdio.h>
#include <stdlib.h>
/* OpenCL includes */
#include <CL/cl.h>
void check(cl_int status, int lineno) {
if (status != CL_SUCCESS) {
printf("OpenCL error (%d), line(%d)\n", status, lineno);
exit(-1);
}
}
void printCompilerError(cl_program program, cl_device_id ... | C |
())),
}
}
fn push_job(&self, worker_id: usize, job: Job) {
let local_queue = &self.local_queues[worker_id];
local_queue.lock().unwrap().push_back(job);
}
fn pop_job(&self, worker_id: usize) -> Option<Job> {
// 首先尝试从本地队列获取
if let Some(job) = self.local_qu... | Markdown |
png/0RFmxdZEDROLqpDCG8icFaWSTjKB8kIDbegnibgBnkatDLiaD0olawAkD4YJAeHfO1wuWVbiboCZ0NicdWicaOaGR4NQ/640?wx_fmt=png&from=appmsg "")
Win10路径:C:\Users\yxz\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
*Opacity;\n gl_Position = MVPMatrix * position;\n v_TexCoord = ParticleTexCoord;\n } ",fragment:" \n #ifdef GL_ES\n precision mediump float;\n #endif\n uniform sampler2D ParticleTextu... | JavaScript |
WdsInstallImage](./Copy-WdsInstallImage.md)
[Enable-WdsInstallImage](./Enable-WdsInstallImage.md)
[Export-WdsInstallImage](./Export-WdsInstallImage.md)
[Get-WdsInstallImage](./Get-WdsInstallImage.md)
[Import-WdsInstallImage](./Import-WdsInstallImage.md)
[Remove-WdsInstallImage](./Remove-WdsInstallImage.md)
[Set-W... | Markdown |
case_v
extu.b r0,r0
L_case_h:
#ifdef __LITTLE_ENDIAN__
#else
add #2,r2
#endif
bra L_case_v
mov.w @r2,r0
L_case_uh:
#ifdef __LITTLE_ENDIAN__
#else
add #2,r2
#endif
mov.w @r2,r0
extu.w r0,r0
/* fall through */
L_case_v:
#if defined(__SH4__)
add #48,r15
#else
add #16,r15
#endif
lds.l @r15+,pr
mov.l @r15+,... | Assembly |
#define INSTR vinsertf128
#define NINST 64
#define N edi
#define i r8d
.intel_syntax noprefix
.globl ninst
.data
ninst:
.long NINST
.align 32
PI:
.long 0xf01b866e, 0x400921f9, 0xf01b866e, 0x400921f9, 0xf01b866e, 0x400921f9, 0xf01b866e, 0x400921f9, 0xf01b866e, 0x400921f9, 0xf01b866e, 0x400921f9, 0xf01b866e, 0x400921f... | Assembly |
-player .e-media-center-icon:before {
top: 46% !important;
top: -moz-calc(~'50% - 17px') !important;
top: -webkit-calc(~'50% - 17px') !important;
top: -o-calc(~'50% - 17px') !important;
top: calc(~'50% - 17px') !important;
}
.e-media-player .e-media-center-play:before {
left: 46% !important;
... | CSS |
busProducerAdapter(MQContext context) {
super(context);
}
@Override
public void start() throws Exception {
EventFactory<MQMessageEvent> eventFactory = new MQMessageEventFactory();
int ringBufferSize = 1024 * 1024;
BasicThreadFactory factory = new BasicThreadFactory.Builder()
.namingPattern("mq-eve... | Java |
visit
<https://creativecommons.org/licenses/by-sa/4.0/>.
**This project is now archived.** The new location of the project can be found
[here][acme-in-tf-providers]!
[acme-in-tf-providers]: https://github.com/terraform-providers/terraform-provider-acme
Terraform ACME Provider
========================
This is the re... | Markdown |
05 * Sin(sine / 30), -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(175), Rad(0), Rad(20)), 0.1)
end
for i = 0, 2.4, 0.1 do
swait()
rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad... | Lua |
vm.push8(Robot.IO_MOTOR);
vm.setIO(true);
robot.handleIO(world);
assertEquals(0.5f, robot.getMotor(), 0.0001f);
vm.pushFloat(1.5f);
vm.push8(Robot.IO_MOTOR);
vm.setIO(true);
robot.handleIO(world);
assertEquals(1.0f, robot.getMotor(), 0.0001f);
}
@Test
public void testIOSteer() {
World world = ... | Java |
they
// don't need to be referenced by name.
// NBuiltin returns the number of listed builtin
// symbols.
func NBuiltin() int {
return len(builtins)
}
// BuiltinName returns the name and ABI of the i-th
// builtin symbol.
func BuiltinName(i int) (string, int) {
return builtins[i].name, builtins[i].abi
}
// Builti... | Go |
:MM:SS.sss
long ms = (fullUTCinMS - _utcLastMidnight) + _localOffsetFromUTC;
int hour = (int)(((ms >> 7) * 9773437) >> 38);
ms -= 3600000 * hour;
int minute = (int)(((ms >> 5) * 2290650) >> 32);
ms -= 60000 * minute;
int second = (int)(((ms >> 3) * 67109... | Java |
'a> {
/// Creates a new [`BacktraceObserver`] with the given name.
#[must_use]
pub fn new(
observer_name: &str,
backtrace_hash: &'a mut Option<u64>,
harness_type: HarnessType,
) -> Self {
Self {
observer_name: observer_name.to_string(),
hash: Owned... | Rust |
VALUE == expectedValue;
})();
if (IS_TOKEN_MATCH) {
css += `${property}: \${${tokenFileName}.${token[0]}};\n`;
imports.push(tokenFileName as unknown as Imports);
foundMatch = true;
}
});
// Write expected value as-is, since we couldn't match it to a token
if (!fou... | Typescript |
Change)="changeBooleanValue('EveryOriginatingAgency')"></p-toggleButton>
</div>
</div>
<div class="ui-g-4">
<div class="ui-g-nopad ui-g-4">
<label class="label fieldLabel">Tous les usages</label>
</div>
<div class="ui-g-nopad ui-g-8" *ngIf="!update">
... | HTML |
.Text;
VideoSubPage.videoSubPage.RefreshVSL(tlist);
using (StringWriter sw = new StringWriter())
{
xmlSerializer.Serialize(sw, tlist);
File.WriteAllText(dataPath+"\\Video... | C# |
import numpy as np
import torch
from .defaults import DEFAULT_PPB, MAX_SEQ_LENGTH
def patchify(imgs: torch.Tensor, patch_size: int = DEFAULT_PPB):
"""
imgs: (N, 3, H, W) x: (N, L, patch_size**2 *3)
or
imgs: (3, H, W) x: (L, patch_size**2 *3)
"""
is_single_image = len(imgs.shape) == 3
if i... | Python |
)
/* 54274 80063A74 D976010C */ jal func_8005DB64
/* 54278 80063A78 40000524 */ addiu $a1, $zero, 0x40
/* 5427C 80063A7C 1000BF8F */ lw $ra, 0x10($sp)
/* 54280 80063A80 1800BD27 */ addiu $sp, $sp, 0x18
/* 54284 80063A84 0800E003 */ jr $ra
/* 54288 80063A88 00000000 */ nop
glabel ... | Assembly |
1/490/en"><b>2001</b> 3294 </a>No II 7; <b></b><a target="_blank" routerlink="./" href="https://www.fedlex.admin.ch/eli/oc/2005/68/en"><b>2005</b> 601 </a>Annex 7 No 3 2885 Annex No 7; <b></b><a target="_blank" routerlink="./" href="https://www.fedlex.admin.ch/eli/oc/2007/250/en"><b>2007</b> 1469 </a>Annex 4 No 4... | HTML |
warnMissingPluginDirective("Collapse", "collapse", "collapse");
warnMissingPluginDirective("Intersect", "intersect", "intersect");
warnMissingPluginDirective("Focus", "trap", "focus");
warnMissingPluginDirective("Mask", "mask", "mask");
function warnMissingPluginDirective(name, directiveName, slug) {
directive(direct... | JavaScript |
toPos++;
oData[toPos] = data[fromPos];
}
};
const getLinePositions = function (x, y) {
const ix = x,
iy = y,
mx = x + offsetX,
my = y + offsetY;
let mPos = -1;
const iPos =... | JavaScript |
[11] = "InfoSeek",
[12] = "Miscellaneous"
}
local result = {}
-- Search engines are a special case.
if ( octet4 == 0 ) then
table.insert(result, ("Search engine: %s"):format(
search[octet3]))
else
table.insert(result, ("... | Lua |
moz-osx-font-smoothing:initial;-webkit-font-smoothing:initial;min-height:1.5rem;position:relative;left:auto}
/*!
* Evo Calendar - Simple and Modern-looking Event Calendar Plugin
*
* Licensed under the MIT License
*
* Version: 1.1.2
* Author: Edlyn Villegas
* Docs: https://edlynvillegas.github.com/evo-calendar
*... | CSS |
config={ref_table = self, align = "m", colour = G.C.JOKER_GREY, r = 0.05, padding = 0.06, func = 'blueprint_compat'}, nodes={
{n=G.UIT.T, config={ref_table = self.ability, ref_value = 'blueprint_compat_ui',colour = G.C.UI.TEXT_LIGHT, scale = 0.32*0.8}},
}}
}}
} or... | Lua |
ییەکدا. بەڵام ویکیی سۆرانیی تێدا نیە! بۆچی؟ خۆت تا ڕادەیەک دەزانی بۆچی. بەڵام ڕەنگە بتوانین زیادی بکەین پێی. ڤیدیۆیەکی فێرکاریم دروست کردبوو کە ئەگەر دەرفەت بوو بە زوویی لە یووتووبدا باری دەکەم. سپاس بۆ پێشنیارەکانت. لەگەڵ ڕێز<a href="//ckb.wikipedia.org/wiki/%D8%A8%DB%95%DA%A9%D8%A7%D8%B1%DA%BE%DB%8E%D9%86%DB%95%D8%B1... | HTML |
l_800C85F4:
/* 800C85F4 000C4254 39 00 00 00 */ li r8, 0
/* 800C85F8 000C4258 4B F9 13 D1 */ bl func_800599C8
/* 800C85FC 000C425C 2C 1A 00 00 */ cmpwi r26, 0
/* 800C8600 000C4260 38 60 00 16 */ li r3, 0x16
/* 800C8604 000C4264 38 80 00 14 */ li r4, 0x14
/* 800C8608 000C4268 38 A0 00 03 */ li r5, 3
/* 800C860C 00... | Assembly |
"@type": "GeoCoordinates",
"latitude": 32.380891,
"longitude": 35.017969
}
},
{
"@type": "BusStop",
"name": "צומת ראש פינה",
"geo": {
... | HTML |
local hit_effects = require("__base__.prototypes.entity.hit-effects")
local sounds = require("__base__.prototypes.entity.sounds")
if not settings.startup["kr-containers"].value then
return
end
data:extend({
{
type = "recipe",
name = "kr-storage-strongbox",
energy_required = 1,
enabled = false,
... | Lua |
from datetime import date
from woningwaardering.stelsels._dev_utils import DevelopmentContext
from woningwaardering.stelsels.onzelfstandige_woonruimten.onzelfstandige_woonruimten import (
OnzelfstandigeWoonruimten,
)
from woningwaardering.stelsels.zelfstandige_woonruimten.zelfstandige_woonruimten import (
Zelf... | Python |
Exception {
Site site = Contexts.getCurrentSite();
String storagePath = site.getConfig().getTemplateStorage().getPath();
return templateService.getTemplates(storagePath + site.getTheme(), Channel.TEMPLATE_PREFIX);
}
@GetMapping("article-templates")
@PreAuthorize("hasAnyAuthority('ch... | Java |
if status == ImmutagFileState::Valid {
insert_entry_same_doc(&doc, file_name, key, immutag)
} else if status == ImmutagFileState::NonExistant && file_name.is_some() {
insert_entry_new_doc(&doc, file_name.unwrap(), key, immutag)
} else {
// Invalid
let err = Error::new("invalid ... | Rust |
AssertUtils.assertParamObjectIsNotNull("workerNum", request.getWorkerNum());
AssertUtils.assertParamObjectIsNotNull("command", request.getCommand());
}
@Override
public BuilderJob action() {
BuilderJob job = new BuilderJob();
job.setProjectI... | Java |
CK: vpsubusb (%rdx), %ymm7, %ymm7
// CHECK: encoding: [0xc5,0xc5,0xd8,0x3a]
vpsubusb (%rdx), %ymm7, %ymm7
// CHECK: vpsubusb (%rdx), %ymm9, %ymm9
// CHECK: encoding: [0xc5,0x35,0xd8,0x0a]
vpsubusb (%rdx), %ymm9, %ymm9
// CHECK: vpsubusb %ymm7, %ymm7, %ymm7
// CHECK: encoding: [0xc5,0xc5,0xd8,0xff] ... | Assembly |
response directly as JSON
tool_choice = json.loads(response)
return AgentAction(
tool=tool_choice["tool"],
tool_input=tool_choice["input"],
log=f"Using {tool_choice['tool']} for step: {step}"
)
except json.JSONDecodeError:
... | Python |
h.I32(0)})))
ready4Query = make([]byte, len(bmessages.ReadyForQuery()))
c2.Read(ready4Query)
c2.Write(h.Msg('B', h.Join([][]byte{h.S("port"), h.S("wrong_st"), h.I16(1), h.I16(0), h.I16(1), h.I32(2), h.I16(1), h.I16(1), h.I16(1)})))
errst := make([]byte, 500)
c2.Read(errst)
c2.Write(h.Msg('B', h... | Go |
llo") { it.result("Hello World") }
}
}) { _, http ->
assertThat(http.getStatus("/hello")).isEqualTo(HttpStatus.OK)
assertThat(http.getBody("/hello")).isEqualTo("Hello World")
}
@Test
fun `all mapped verbs return 200`() = TestUtil.test { app, http ->
app.get("/mapped", Te... | Kotlin |
(healthCheckPort != null) 'HealthCheckPort': healthCheckPort,
if (healthCheckProtocol != null)
'HealthCheckProtocol': healthCheckProtocol.value,
if (portOverrides != null) 'PortOverrides': portOverrides,
if (thresholdCount != null) 'ThresholdCount': thresholdCount,
if (traffic... | Dart |
한국 사회의 통념 상 <b>{group_1}</b>와 <b>{group_2}</b>를 <u>비교</u>할 때, <b>'{stereotype}'</b>(이)라는 고정관념에 해당하는 사회적 집단으로 적절한 것을 고르시오.
>
> (※ 응답자 개인의 견해를 묻는 질문이 아닙니다. <b>한국 사회에서 나타나는 고정관념 혹은 통념에 기반하여 답변해주세요</b>.)
>
> 보기<br>
> 〇 {group_1}<br>
> 〇 {group_2}<br>
> 〇 한국 사회에 관련된 고정관념 없음
### Demographic Statistics
<ta... | Markdown |
)
flags = Intent.FLAG_GRANT_READ_URI_PERMISSION
})
}
}
}
return true
}
companion object {
const val DIALOG_SHARE_LOGS = "shareLogs"
}
}package org.totschnig.myexpenses.dialog.select
import android.content.Dialo... | Kotlin |
[7], values[8], values[9], values[10], values[11],
values[12], values[13], values[14], values[15], values[16], values[17], values[18],
values[19], values[20], readOffset(str, 21, new int[]{OFFSET_JUDGE_2P, OFFSET_LIFT}));
if (!detail) {
detail = true;
addJudgeDetail(skin, values, sr... | Java |
"></i></span>的页面</li><li><span class="exturl" data-url="aHR0cHM6Ly9wbGF5Lmdvb2dsZS5jb20vc3RvcmUvYXBwcy9kZXRhaWxzP2lkPWpwLmNvLnByb2R1Y3Quc3RlbGxhb2Z0aGVlbmQ=">Google Play上的星之终途<i class="fa fa-external-link-alt"></i></span></li><li><span class="exturl" data-url="aHR0cHM6Ly9hcHBzLmFwcGxlLmNvbS9qcC9hcHAvJUU3JUI1JTgyJUUzJTg... | HTML |
91eW'
'luLkltYWdlUgRpY29uEhwKCWF2YXRhclBvcxgDIAEoBFIJYXZhdGFyUG9zEiAKBHRleHQYBCAB'
'KAsyDC5kb3V5aW4uVGV4dFIEdGV4dBIpCgh0ZXh0SWNvbhgFIAEoCzINLmRvdXlpbi5JbWFnZV'
'IIdGV4dEljb24SGgoIc3RheVRpbWUYBiABKA1SCHN0YXlUaW1lEiAKC2FuaW1Bc3NldElkGAcg'
'ASgEUgthbmltQXNzZXRJZBIjCgViYWRnZRgIIAEoCzINLmRvdXlpbi5JbWFnZVIFYm... | Dart |
68",
"new_code": "# YOUR CODE\\nimport numpy as np\\nimport pandas as pd\\nfrom lightgbm import LGBMRegressor\\nimport xgboost as xgb\\nfrom typing import Any\\n\\ndef fit_and_predict_fn(\\n train_x: pd.DataFrame,\\n train_y: pd.Series,\\n test_x: pd.DataFrame,\\n config: dict[str, Any]\\n) -> pd.DataFram... | HTML |
tic int Count(int n)
{
return n != 0 ? n : 1;
}
private static int ReadInt32(bool littleEndian, byte[] buffer, ref int i)
{
if (littleEndian)
return ReadLeInt32(buffer, ref i);
else
return ReadBeInt32(buffer, ref i);
... | C# |
cTerms[1];
const su2double drdz = wTheta*metricTerms[2];
const su2double dsdx = wTheta*metricTerms[3];
const su2double dsdy = wTheta*metricTerms[4];
const su2double dsdz = wTheta*metricTerms[5];
const su2double dtdx = wTheta*metricTerms[6];
const su2double dtdy = wTheta... | C++ |
ct: Consul will now generate a unique virtual IP for each connect-enabled service (this will also differ across namespace/partition in Enterprise). [[GH-11724](https://github.com/hashicorp/consul/issues/11724)]
* connect: Support Vault auth methods for the Connect CA Vault provider. Currently, we support any non-deprec... | Markdown |
import tensorflow as tf
from tensorflow.keras.models import Sequential
from tensorflow.keras.layers import LSTM, Dense, Conv1D, Dropout
class GestureRecognizer:
def __init__(self, num_classes):
self.model = self.build_model(num_classes)
def build_model(self, num_classes):
model = Seque... | Python |
Schema(
name: r'User',
id: -7838171048429979076,
properties: {
r'age': PropertySchema(
id: 0,
name: r'age',
type: IsarType.long,
),
r'id': PropertySchema(
id: 1,
name: r'id',
type: IsarType.long,
),
r'name': PropertySchema(
id: 2,
name: r'name',
... | Dart |
name = "android.hardware.sensor.compass" android:required = "true" />
```
### <mark style="background: #AD21D9;">Activity Lifecycle:</mark>

### <mark style="background: #AD21D9;">What is the activity lifecycle?</mark>
The set of <mark style="background: #AD21D9;">states</mark> a... | Markdown |
es
val splitCandidates = ArrayList<Int>() // stores indices
var i = 3
while (i < this.size - 4) {
val thisChar = this[i]
val prevChar = this[i-1]
if (isVowel(prevChar) && !isVowel(thisChar) || !isVowel(prevChar) && isVowel(thisChar)) {
... | Kotlin |
0.7
}
},
acceleration = {
{
u = 0.2,
flip = false,
v = -0.4,
t = 0.8
}
},
cld_box = {
5,
2,
2
},
cld_offset = {
0,
0,
0
},
hit_type = {},
attach_buff = {},
extra_param = {}
},
[130111] = {
range_offset = 0,
modle_ID = "kuasheHE",
type = 1,
velocit... | Lua |
g");
}
[data-object|="unit"][data-state="miss-on-purpose"] .unit-state {
background-image: url("/images/states/miss-on-purpose.svg");
}
[data-object|="unit"][data-state="scenic-aaa"] .unit-state {
background-image: url("/images/states/scenic-aaa.svg");
}
[data-object|="unit"][data-state="simulate-fire-fight"] .u... | CSS |
"""
Модуль для парсинга товаров с сайта Ozon.
Этот модуль предоставляет функции для сбора ссылок на товары по поисковому запросу,
а также для сохранения ссылок на/информации о товарах в JSON-файл.
Используются библиотеки: `selenium`, `undetected_chromedriver`, `BeautifulSoup`, `slugify`.
"""
import time
import json
i... | Python |
{"Guerrero Sangrapellejo",nil},
[588] = {"Explorador Sangrapellejo",nil},
[589] = {"Saqueador Defias",nil},
[590] = {"Despojador Defias",nil},
[594] = {"Secuaz Defias",nil},
[595] = {"Cazador Sangrapellejo",nil},
[596] = {"Noble con lavado de cerebro",nil},
[597] = {"Rabioso Sangrapellejo",nil},
[598] = {"Minero Defias... | Lua |
00] 1.429ms
Unicast reply from 220.181.111.147 [00:D0:03:BC:48:00] 2.042ms
Sent 8 probes (1 broadcast(s))
Received 8 response(s)
```
uniq
===
显示或忽略重复的行。临近行
## 概要
```shell
uniq [OPTION]... [INPUT [OUTPUT]]
```
## 主要用途
- 将输入文件(或标准输入)中邻近的重复行写入到输出文件(或标准输出)中。
- 当没有选项时,邻近的重复行将合并为一个。
## 选项
```shell
-c, --count ... | Markdown |
ZE, 1, 1, 80, 40);
registerItemHatches("Steel", "steel", MachineCasings.STEEL, 2, 1, 80, 30);
registerItemHatches("Advanced", "advanced", CableTier.MV.casing, 2, 2, 71, 30);
registerItemHatches("Turbo", "turbo", CableTier.HV.casing, 3, 3, 62, 21);
registerItemHatches("Highly Advanced", "... | Java |
==e.schema.example&&(e.schema.set("example",vS(e.example)),n.append(p)))}}}}}},NP=({storageField:e="x-normalized"}={})=>t=>{const{predicates:r,ancestorLineageToJSONPointer:s}=t;let n;return{visitor:{OpenApi3_1Element:{enter(t){n=new _P(t,e,"header-examples")},leave(){n=void 0}},HeaderElement:{leave(e,t,i,o,a){var l,c;i... | JavaScript |
SetBackdropColor(value.bgcolor.r, value.bgcolor.g, value.bgcolor.b, value.bgalpha);
end
end
end
end
end
end
if (UnitName(this.unit)) then
UnitFrame_OnLeave();
end
end
function DUF_UnitFrame_OnLoad()
for unit, data in DUF_FRAME_DATA do
if (this:GetName() == data.frame) then
this.unit = un... | Lua |
ClearHBreakpoint(unsigned int,unsigned int,unsigned long,int)";
mdTruth = msTruth;
demangleAndTest();
}
@Test
public void testGhidraFileInfo_StaticFunctions_003() throws Exception {
mangled = "?SpClearSBreakpoint@@YAXIIKPAEHEE@Z";
msTruth =
"void __cdecl SpClearSBreakpoint(unsigned int,unsigned int,unsig... | Java |
;H0
ILC_COLOR4 = &H4
ILC_COLOR8 = &H8
ILC_COLOR16 = &H10
ILC_COLOR24 = &H18
ILC_COLOR32 = &H20
End Enum
Public Enum eilSwapTypes
eilCopy = ILCF_MOVE
eilSwap = ILCF_SWAP
End Enum
' ------------------
' Private variables:
' ------------------
Private m_hIml As Long
Private ... | HTML |
<progname> <iterations> <grid size>
///
/// The output consists of diagnostics to make sure the
/// algorithm worked, and of timing statistics.
///
/// FUNCTIONS CALLED:
///
/// Other than standard C functions, the following functions are used in
/// this program:
///... | C++ |
>>.Default.Equals(obj1, obj2);
}
/// <summary>
///
/// </summary>
public static bool operator !=(AnyOf<T1, T2, T3> obj1, AnyOf<T1, T2, T3> obj2)
{
return !(o | C# |
ed() != true)) {
throw new Asn1Exception(Krb5.ASN1_BAD_ID);
}
der = encoding.getData().getDerValue();
if (der.getTag() != DerValue.tag_Sequence) {
throw new Asn1Exception(Krb5.ASN1_BAD_ID);
}
ctime = KerberosTime.parse(der.getData(), (byte) 0x00, true);
... | Java |
ctangle(330, 373, 16, 16), rect.Contains(Game1.getMousePosition()) ? Color.White : Color.White * 0.5f);
}
}
private void Input_ButtonsChanged(object sender, StardewModdingAPI.Events.ButtonsChangedEventArgs e)
{
if (Game1.activeClickableMenu is null && Config.ModEnabled && Config.MenuButton.JustPressed... | C# |
/a>
implements <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/Closeable.html" title="Klasse oder Schnittstelle in java.io" class="external-link">Closeable</a></span></div>
<div class="block">Represents one transport connection of any type.<br>
<p>
A transport connection is bound to a So... | HTML |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.