content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics.Arm;
using System.Runtime.Intrinsics.X86;
using Xunit;
public class ScalarConstantFoldings
{
... | C# |
olor"/></svg>');}.iconoir-comp-align-bottom-solid::before{mask-image:url('data:image/svg+xml;charset=utf-8,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M22 21L2 21" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d... | CSS |
1rem 0}article#website-rev-container div#review-form-cont div#form-cont form .errorlist li{color:#d32f2f;background-color:#ffebee;padding:0.75rem 1rem;border-radius:4px;margin-bottom:0.5rem;font-size:1rem;font-weight:500;display:flex;align-items:center;border-left:4px solid #d32f2f}article#website-rev-container div#re... | CSS |
a node to represent the package as a whole.
e.writeFact(pi.VName, facts.NodeKind, nodes.Package)
if url := e.opts.docURL(pi); url != "" {
e.writeFact(pi.VName, facts.DocURI, url)
}
e.emitPackageMarkedSource(pi)
// Emit facts for all the source files claimed by this package.
for file, text := range pi.SourceTex... | Go |
when some situation occurs, such as a phone call.
interruptionBegan(ma_device_notification_type.ma_device_notification_type_interruption_began),
/// The device's interruption has ended.
interruptionEnded(ma_device_notification_type.ma_device_notification_type_interruption_ended);
const AudioDeviceNotificatio... | Dart |
1],
0,
List(Array(5).fill(0))
)).toEqual(List([0, 1, 2, 3, 4]))
})
it("can make ranges", () => {
expect(range(5)).toEqual([0, 1, 2, 3, 4])
expect(range(2, 5)).toEqual([2, 3, 4])
expect(() => range(0, 5, -1)).toThrow()
expect(range(4, 0, -2)).toEqual([4, 2])
})
import { toKebabCase }... | Typescript |
D0
REPT 254
MOVE.W (A1)+,(A0)+
ENDM
MOVE.W D0,(A0)
RTS
cycling_do80:
BTST #1,D0
BNE cycling_do80w
cycling_do80l:
MOVE.L adr_palette,A0
ADD.L #255*4,A0
MOVE.L A0,A1
SUBQ.L #4,A1
MOVE.L (A1),D0
REPT 254
MOVE.L ... | Assembly |
议制度,协商解决养犬管理中有关重大问题。联席会议的日常工作由公安机关承担。
第六条 公安机关是养犬管理工作的主管部门,负责犬只扰民伤人事件处置、重点管理区内犬只准养登记等工作,查处本条例规定的相关违法行为。
综合行政执法(城市管理)部门(以下称综合行政执法部门)负责犬只收容留检、重点管理区内流浪犬只捕捉和犬只破坏公共场所市容环境卫生行为管理等工作,查处本条例规定的相关违法行为。
农业农村部门负责犬只狂犬病认定、防疫、疫情监测和死亡犬只无害化处理指导等工作。
市场监督管理部门负责对相关犬只经营活动进行监督管理。
卫生健康部门负责人狂犬病防治、健康教育、疫情监测等工作。
住建部门负责督促物业服务企业做好管理区域内违法养犬行为... | Markdown |
float num3 = x1 * -num2;
float num4 = y1 * -num2;
int num5 = 10;
this.beetleVel[index].X = (this.beetleVel[index].X * (float) (num5 - 1) + num3) / (float) num5;
this.beetleVel[index].Y = (this.beetleVel[index].Y * (float) (num5 - 1) + num4) / (float) num5;
}
... | C# |
get_string_parser(content, lang)
local tree = parser:parse()[1]
return tree:root()
end
--- Check for config, view, route, to_route in blade view
--- @param lang string
--- @param root TSNode
--- @return table,boolean {fn = string, name = string}|{},truse|false
local function check_in_blade(lang, root)
if root:ty... | Lua |
5b/python/oneflow/test/../../../python/oneflow/test/modules/test_math_ops.py#L230) | | |
| oneflow.Tensor.arcsinh | [oneflow.Tensor.arcsinh](https://github.com/Oneflow-Inc/oneflow/blob/5d4308ecd3c72dafe29634f964a103694e4dea5b/python/oneflow/test/../../../python/oneflow/framework/docstr/tensor.py#L1264) | [flow_ar... | Markdown |
},
);
}
const bool updateExpectations = true;
/// Transforms a repo relative path to an absolute path.
String absPath(String p) => path.join(packagePathForTests, p);
/// Returns a path to a config yaml in a unit test.
String configPath(String directory, String file) =>
absPath(configPathForTest(directory,... | Dart |
tTimesInc
c.hitTitle = hitTitle
}
}
func (c *CmdS) testDblTilde(dblTilde bool, ff *Flag) (matched bool) {
matched = dblTilde || !ff.dblTildeOnly || (ff.dblTildeOnly && dblTilde)
return
}
func (c *CmdS) partialMatchFlag(ctx context.Context, title string, short, dblTildeMode bool, cclist map[string]*Flag) (matched... | Go |
: InternalKeySet,
}
#[derive(Clone, PartialEq, Debug)]
pub enum RangeKind {
/// ClosedOpen is closed on the left and open on the right: the Start
/// key is included, the End key is excluded.
ClosedOpen,
/// ClosedClosed is closed on the left and the right: both keys are included.
ClosedClosed,
... | Rust |
import typing as t
import typed_ast.ast3 as typed_ast3
STANDALONE_EXPRESSION_TYPES = (
typed_ast3.Call, typed_ast3.UnaryOp, typed_ast3.BinOp, typed_ast3.BoolOp,
typed_ast3.Compare, typed_ast3.IfExp, typed_ast3.Attribute, typed_ast3.Name,
typed_ast3.Subscript, typed_ast3.Num, typed_ast3.Str, typed_ast3.F... | Python |
LIGNTEXT16
GLOBL_FN(GL_PREFIX(MinmaxEXT,MinmaxEXT@12))
GL_PREFIX(MinmaxEXT,MinmaxEXT@12):
MOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX)
JMP(GL_OFFSET(_gloffset_Minmax))
ALIGNTEXT16
GLOBL_FN(GL_PREFIX(ResetHistogramEXT,ResetHistogramEXT@4))
GL_PREFIX(ResetHistogramEXT,ResetHistogramEXT@4):
MOV_L(CONTENT(GLNAME(_glapi... | Assembly |
/01 | | | | | | | |
...
```
| 2024 | Mon | Tue | Wed | Thu | Fri | Sat | Sun |
|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|
| 01/01 | | | ✅ | | | | |
| 08/01 | | | | | | | |
### Weekly View Example with Japanese Kanji:
```markdown
| 2... | Markdown |
)
else:
self.bias = None
@staticmethod
def from_linear(src: nn.Linear, config: FTQuantize) -> "FTQuantizeLinear":
"""
Converts a non-quantized nn.Linear to a FasterTransformer quantized FTQuantizeLinear
Parameters
----------
src : nn.Linea... | Python |
double baseLatitude = 41.8057;
double baseLongitude = 123.4315;
// 生成模拟无人机数据
for (int i = 0; i < count; i++) {
Map<String, Object> drone = new HashMap<>();
String droneId = "TEST-DRONE-" + (i + 1);
// 在基础坐标周围随机位置 (约10公里范围内)
d... | Java |
%xmm15
// CHECK: encoding: [0xc5,0x7a,0x7e,0x7c,0x82,0x40]
vmovq 64(%rdx,%rax,4), %xmm15
// CHECK: vmovq -64(%rdx,%rax,4), %xmm6
// CHECK: encoding: [0xc5,0xfa,0x7e,0x74,0x82,0xc0]
vmovq -64(%rdx,%rax,4), %xmm6
// CHECK: vmovq 64(%rdx,%rax,4), %xmm6
// CHECK: encoding: [0xc5,0xfa,0x7e,0x74,0x82,0x4... | Assembly |
val json = "{\"status\":\"member\",\"user\":{\"id\":1,\"is_bot\":false,\"first_name\":\"\"}}"
serde.runCatching { decodeFromString<ChatMember.Member>(json) }.getOrNull().shouldNotBeNull()
}
@Test
fun `ChatMemberUpdated serde test`() {
val instant = CUR_INSTANT
val oldChatMember... | Kotlin |
at!(
"SELECT my_map FROM test_collections_keyspace.test_map_table_{}_1;",
i
)
.as_str(),
&[&[ResultValue::Map(vec![(
ResultValue::Int(0),
ResultValue::List(vec![get_type_example_result_value(*... | Rust |
ne-block
}
.ball-loader>span:nth-child(1),
.ball-loader.sm>span:nth-child(1),
.signal-loader>span:nth-child(1),
.signal-loader.sm>span:nth-child(1) {
-webkit-animation-delay: 0s;
animation-delay: 0s
}
.ball-loader>span:nth-child(2),
.ball-loader.sm>span:nth-child(2),
.signal-loader>span:nth-child(2),
.signal-loader... | CSS |
[r3]
add r0, r0, r1
str r3, [r0, #0x48]
_02030A1E:
pop {r3, r4}
bx lr
.balign 4, 0
thumb_func_end sub_02030978
thumb_func_start sub_02030A24
sub_02030A24: ; 0x02030A24
cmp r1, #9
bhi _02030A94
add r1, r1, r1
add r1, pc
ldrh r1, [r1, #6]
lsl r1, r1, #0x10
asr r1, r1, #0x10
add pc, r1
_02030A34: ; jump t... | Assembly |
between well known keys and their associated symbols.
*/
const KeySymbolMap: Record<string, string> = {
Alt: '⌥',
ArrowDown: '↓',
ArrowLeft: '←',
ArrowRight: '→',
ArrowUp: '↑',
Backspace: '⌫',
ContextMenu: '☰',
Control: '⌃',
Delete: '⌦',
End: '⤓',
Enter: '⏎',
Escape: '⎋',
Home: '⤒',
Meta: ... | Typescript |
x: 'a> {
lookup_map: HashMap<RegionVid, Lookup>,
infcx: InferCtxt<'a, 'gcx, 'tcx>,
}
impl<'a, 'gcx, 'tcx> NLLVisitor<'a, 'gcx, 'tcx> {
pub fn new(infcx: InferCtxt<'a, 'gcx, 'tcx>) -> Self {
NLLVisitor {
infcx: infcx,
lookup_map: HashMap::new(),
}
}
pub fn in... | Rust |
lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(381))},699:function(e,t,a){!function(e){"use strict";e.defineLocale("tz... | JavaScript |
OUR_VARIABLE"] = "Create colour variable..."; // untranslated
Blockly.Msg["NEW_NUMBER_VARIABLE"] = "Create number variable..."; // untranslated
Blockly.Msg["NEW_STRING_VARIABLE"] = "Create string variable..."; // untranslated
Blockly.Msg["NEW_VARIABLE"] = "متغیر تازه...";
Blockly.Msg["NEW_VARIABLE_TITLE"] = "نام متغ... | JavaScript |
="identity-color-"]:not([pinned])[selected="true"] .tab-content::before,
:root:not(:-moz-window-inactive) .tabbrowser-tab[class*="identity-color-"]:not([pinned])[selected="true"]:hover .tab-content::before,
.tabbrowser-tab[class*="identity-color-"]:not([pinned]):hover .tab-content::before,
.tabbrowser-tab[class*="ident... | CSS |
)>();
/// callback is called whenever SherpaOnnxOfflineTtsConfig.max_num_sentences
/// sentences have been processed. The pointer passed to the callback
/// is freed once the callback is returned. So the caller should not keep
/// a reference to it.
ffi.Pointer<SherpaOnnxGeneratedAudio>
SherpaOnnxOffli... | Dart |
Reporter .symbolSummary li.pending { line-height: 11px; }
#HTMLReporter .symbolSummary li.pending:before { color: #aaaaaa; content: "-"; }
#HTMLReporter .exceptions { color: #fff; float: right; margin-top: 5px; margin-right: 5px; }
#HTMLReporter .bar { line-height: 28px; font-size: 14px; display: block; color: #eee; }
... | CSS |
boundPacket for ClientboundPlayerAbilitiesPacket {
fn serialize(&self) -> Vec<u8> {
let mut buf = FriendlyByteBuf::new();
buf.write_varint(ClientboundPlayerAbilitiesPacket::ID);
let mut bitfield = 0;
bitfield = if self.invulnerable { bitfield | 0b00000001 } else { bitfield };
bitfield = if self.flying { bitf... | Rust |
ts.of(httpCompliance, "Value\t", "Value"));
cases.add(Arguments.of(httpCompliance, "Va\tlue", "Va\tlue"));
// SPACE is valid OWS when at the start or end of value.
// But is preserved as field-content within a value
cases.add(Arguments.of(httpCompliance, " Value", "Valu... | Java |
alue: any) => Promise<boolean>;
}
export interface FieldValidationConfig {
rule?: Rule;
asyncRule?: AsyncRule;
}
import { Score } from "@/models/score";
import { Party, PartyName } from "@/models/party";
import { Extra } from "@/models/extras";
import { Player } from "@/models/player";
export class ScoreBuilder {... | Typescript |
more details.
*
* You should have received a copy of the GNU General Public License
* along with ProtonCore. If not, see <https://www.gnu.org/licenses/>.
*/
package me.proton.core.test.quark.v2
import okhttp3.Response
/**
* Represents a response from the Quark API.
*
* @property isFailureCondition A functio... | Kotlin |
MidYMid meet" viewBox="0 0 1024 1024"><path fill="currentColor" d="M768 64a192 192 0 11-69.952 370.88L480 725.376V896h96a32 32 0 110 64H320a32 32 0 110-64h96V725.376L76.8 273.536a64 64 0 01-12.8-38.4v-10.688a32 32 0 0132-32h71.808l-65.536-83.84a32 32 0 0150.432-39.424l96.256 123.264h337.728A192.064 192.064 0 01768 64zM... | Dart |
define GB_A_IS_FULL 0
#define GB_B_IS_SPARSE 1
#define GB_B_IS_HYPER 0
#define GB_B_IS_BITMAP 0
#define GB_B_IS_FULL 0
#include "mxm/include/GB_meta16_definitions.h"
#include "mxm/template/GB_AxB_saxpy3_template.c"
}
else
... | C |
/****************************************************************************
* MeshLab o o *
* A versatile mesh processing toolbox o o *
* _ O _ *
* Copyri... | C |
_detalhes.update_speed = 0.40
elseif (elapsed < 0.475) then
_detalhes.use_row_animations = true
_detalhes.update_speed = 0.5
elseif (elapsed < 0.525) then
_detalhes.update_speed = 0.5
end
--overriting the results
_detalhes.update_speed = 0.3
_detalhes.use_row_animations = true... | Lua |
, `.gitlab-ci.yml`日志,贡献指南或`.gitlab-ci.yml`文件也可以通过项目页面上的按钮添加. 在下面的示例中,许可证已经创建,这将创建指向许可证本身的链接.
[](img/web_editor_template_dropdown_buttons.png)
> **Note:** The **设置 CI / CD** button will not appear on an empty repository. You have to at least add a file in ord... | Markdown |
Ed"]
pub fn msdfgen_renderSDF1(output: *const u8, sdf: *const u8, pxRange: f64);
}
extern "C" {
#[link_name = "\u{1}_ZN7msdfgen9renderSDFERKNS_9BitmapRefIfLi1EEERKNS_14BitmapConstRefIfLi3EEEd"]
pub fn msdfgen_renderSDF2(output: *const u8, sdf: *const u8, pxRange: f64);
}
extern "C" {
#[link_name = "\u{1... | Rust |
String?,
public val waveform: List<Byte>?,
) : TlGen_DocumentAttribute() {
internal val flags: UInt
get() {
var result = 0U
if (title != null) result = result or 1U
if (performer != null) result = result or 2U
if (waveform != null) result = result or 4U
if (voice... | Kotlin |
BOOX Open Source Group.
*
* @author ruki
* @file context.S
*
*/
/* //////////////////////////////////////////////////////////////////////////////////////
* includes
*/
#include "../../prefix/prefix.S"
/* //////////////////////////////////////////////////////////////////////////////////////
* implem... | Assembly |
trategy.GetOpenStrategy()
if !flag {
controller.WriteError(httpResponse,
"220000",
"strategy",
"[ERROR]The open strategy dosen't exist!",
err)
return
}
} else {
flag, result, err = strategy.GetStrategyInfo(strategyID)
if !flag {
controller.WriteError(httpResponse,
"220000",
"st... | Go |
.field13153) {
this.field1530.method32088(this.field1531);
Class7295 var22 = this.field1530.method32085(var4);
if (!(var22 instanceof Class7296)) {
this.method1797(1002, "wrong http function", false);
return false;
}
... | Java |
ard.add(types.InlineKeyboardButton(responses['matches_history'][lang(cid)], callback_data=json.dumps(c_data)))
keyboard.add(types.InlineKeyboardButton(responses['share'][lang(cid)], switch_inline_query="{} {}".format(region, invocador)))
get_summoner_info(
invocador,
... | Python |
m_pCurrentPage->SendMessage (WM_USER_IPMPAGE_LEAVINGPAGE, (WPARAM)LEAVINGPAGE_CHANGEPROPPAGE, 0L);
OnHideProperty (0, 0);
*pResult = 0;
}
long CuDlgIpmTabCtrl::OnSettingChange(WPARAM wParam, LPARAM lParam)
{
UINT nMask = (UINT)wParam;
if (m_pCurrentPage && ((nMask & IPMMASK_FONT) || (nMask & IPMMASK_SHOWGRID)))
... | C++ |
r: 1px solid;
border-color: rgba(10,10,10,.5) rgba(10,10,10,.75) rgba(10,10,10,1);
box-shadow: 0px 1px 1px rgba(255, 255, 255, 0.2) inset, 0pt 1px 0pt rgba(255, 255, 255, 0.1);
color: #a6a6a6;
text-shadow: 0 0 2px black;
}
.toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker,
toolbar[iconsize="small"][mode... | CSS |
// store its coords
move.w d2,last.y(a6)
clr.w d1 // kill this alien
bra finished
process1
move.b anim.delay2(a0),anim.delay(a0) // restore the delay
same.anim
tst.b sprite.num(a0)
beq finished // dont move explosions
tst.b pause.count(a0)
beq no.pause ... | Assembly |
H12v-.3h4.1l-.2-.2H12V8h3.6l-.2-.2H8.7L6.5 10l.1.1H12v.3H6.9l.2.2H12v.3H7.3l.2.2H12v.3H7.7l.3.2h4v.3H8.2l.2.2H12v.3H8.6l.3.2H12v.3H9l.3.2H12v.3H9.5l.2.2H12v.3h-2l.2.2H12v.3h-1.6l.2.2H12v.3h-1.1l.2.2h.9v.3h-.7l.2.2h.5v.3h-.3l.3.2z" fill-rule="evenodd"/></svg>',"sort-asc":'<svg width="24" height="24"><g fill-rule="evenod... | JavaScript |
using Avalonia;
using Avalonia.Controls.Templates;
using Avalonia.LogicalTree;
using Avalonia.VisualTree;
using Nodify;
using Nodify.Compatibility;
using WDE.QuestChainEditor.ViewModels;
namespace WDE.QuestChainEditor.Views;
public class HeaderedStateNode : StateNode
{
public static readonly StyledProperty<object... | C# |
nects.map(x => x.id)
.filter(id => getStatus(prevState, id) !== 'connecting')
.filter(id => getStatus(state, id) === 'connecting')
.filter(id => getConnectReason(state, id) !== CONNECT_REASON_AUTOSTART && getConnectReason(state, id) !== CONNECT_REASON_AUTORETRY)
.filter(id => hasActiveAutoretry(state, i... | Typescript |
FC,0xF8,0xF5,0xF4,0xF4,0xF6
.byte 0xFA,0xFE,0x00,0xFF,0xFB,0xF6,0xF1,0xEF,0xF0,0xF4,0xF7,0xFA,0xFA,0xF8,0xF6,0xF6
.byte 0xF9,0xFA,0xF9,0xF7,0xF7,0xF9,0xFA,0xFB,0xFE,0x03,0x06,0x06,0x03,0x00,0xFD,0xFB
.byte 0xFB,0xFD,0x02,0x06,0x08,0x08,0x06,0x03,0x01,0xFF,0x00,0x02,0x05,0x07,0x08,0x06
.byte 0x05,0x06,0x08,0x09,0x08... | Assembly |
_slash + "Recognizer" + back_slash + "Database_Normalized" + back_slash + "LQP_TRAINED_output.txt";
//cout<<WherecopyLQP<<endl;
//system("pause");
myUtils::copyFile(copyLQP, WherecopyLQP);
myUtils::copyFile(copyLQP, "C:\\Users\\Valerio\\Documents\\Visual Studio 2015\\Projects\\OpenCV\\Thesis_projects\\FaceRecognition... | C |
consume_pat, cmt);
}
fn borrow(&mut self,
borrow_id: ast::NodeId,
borrow_span: Span,
cmt: mc::cmt<'tcx>,
loan_region: ty::Region<'tcx>,
bk: ty::BorrowKind,
loan_cause: euv::LoanCause)
{
debug!("borrow(borro... | Rust |
mi := &file_google_cloud_dialogflow_v2_session_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *QueryInput) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*QueryInput) ProtoMessage() {}
func (x *QueryInput) ProtoReflect() protoreflect.Me... | Go |
.input-group-sm > .input-group-btn > select.btn:not([size]):not([multiple]) {
height: 1.8125rem;
}
.form-control-lg, .input-group-lg > .form-control,
.input-group-lg > .input-group-addon,
.input-group-lg > .input-group-btn > .btn {
padding: 0.75rem 1.5rem;
font-size: 1.25rem;
border-radius: 0.3rem;
}
select.f... | CSS |
��动时则会醒目;注意此配置项必须保存预览鼠标选中后才能看到效果,在画布设计是看不到效果的。<br>

### 自定义配色
使用建议:如果不设置的话,默认就是大红色;默认按顺序给数值赋予颜色。<br>
## 专用配置项
### 文本框--文本内容
文本框和滚动文本这两个组件,修改数据--静态数据,是不会生效的,文本内容配置项中写的内容才是真正的静态数据。<br>
### 超链接--跳转方式
使用建议:
- 默认的跳转方式是本窗口,实际使用还是请选择新窗口。<br>
### 图片/图片地址
定义:图片对应的url链接 <br>
使... | Markdown |
tate(() {});
},
onSubmit: (order) {
widget.ordersManager.addOrder(order);
Navigator.popUntil(context, (route) => route.isFirst);
},
),
),
);
}
void openDrawer() {
scaffoldKey.currentState!.openEndDrawer();
}
Widget _buildFloatingActio... | Dart |
\n\n if (argsNum === 1) {\n text = canvas\n canvas = opts = undefined\n } else if (argsNum === 2 && !canvas.getContext) {\n opts = text\n text = canvas\n canvas = undefined\n }\n\n return new Promise(function (resolve, reject) {\n try {\n const data = QRCode.create(text,... | JavaScript |
let update_task = lane_task.run_update(ReceiverStream::new(msg_rx));
let addr = RoutingAddr::remote(5);
let assertion_task = async move {
assert!(msg_tx.send(Ok((addr, 13))).await.is_ok());
check_receive(&mut act_rx, 13, -4).await;
check_feedback(&mut feedback_rx, addr, -4).await;
... | Rust |
{
font-family: Arial;
font-size: 10px;
letter-spacing: normal;
word-spacing: normal;
font-style: normal;
font-weight: normal;
text-decoration: underline;
color: #B6BFD2;
}
.art-page-footer
{
position: relative;
z-index: auto !important;
padding: 1em;
text-align: center !important;
... | CSS |
/*============================================================================
Library: CppMicroServices
Copyright (c) German Cancer Research Center (DKFZ)
All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
... | C |
# Copyright (C) 2018-2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
from openvino.tools.mo.ops.mvn import MVN
from openvino.tools.mo.front.common.replacement import FrontReplacementPattern
from openvino.tools.mo.front.tf.graph_utils import create_op_with_const_inputs
from openvino.tools.mo.graph.graph im... | Python |
the passage
assertTrue(p.getScore() >= 0);
assertTrue(p.getNumMatches() > 0);
assertTrue(p.getStartOffset() >= 0);
assertTrue(p.getStartOffset() <= content.length());
assertTrue(p.getEndOffset() >= p.getStartOffset());
assertTrue(p.getEndOffset() <= content.length());
... | Java |
8219
IGZpbmlzaGVk 8220
IHNob3A= 8221
IEtvcmU= 8222
IGVpZ2h0 8223
X1JFRw== 8224
TkQ= 8225
Piw= 8226
Ij48Pw== 8227
KG51bQ== 8228
CWlubGluZQ== 8229
VHJhbnNhY3Rpb24= 8230
Lk9u 8231
IG1haWw= 8232
cmV5 8233
cmVzdWx0cw== 8234
IG5hdg== 8235
SU1JVA== 8236
X2lkcw== 8237
TWFrZQ== 8238
5Yo= 8239
TW9kYWw= 8240
IExPRw== 8241
IFN1cg=... | Kotlin |
text{
color: map-get($theme, primary-dark);
}
.sec, .vs:after, .opponent, main h2 span, .invitationleft, .subscrib-cont p, .subs-bottom, .chancat, .tag, .popupbottom,.date, .signupfree, .avatarinput p, .saccount .formfield label + p, #file-name, .namefield .formfield > p{
color: map-get($theme, secondary);
}
... | CSS |
, filter] = [...args];
seperator = seperator ? seperator.replace(/\\n/g, os.EOL) : ",";
let filteredArray = context;
if (filter) {
const fliterFn = complieFilterfn < boolean > (filter);
if (fliterFn) {
filteredArray = context.filter(fliterFn);
} else {
throw new Error(`${... | Typescript |
{
EffectName = "StrideForwardShadingEffect",
RenderGroup = (RenderGroupMask)(1 << (int)RenderGroup),
RenderStage = shapesRenderState,
});
meshRenderFeature.PipelineProcessors.Add(new WireframePipelineProcessor { RenderStage = shapesRenderState });
debugR... | C# |
ic.Subheading */
[data-theme="dark"] .pygments-gt {
color: #f44747;
} /* Generic.Traceback */
[data-theme="dark"] .pygments-kc {
color: #569cd6;
} /* Keyword.Constant */
[data-theme="dark"] .pygments-kd {
color: #569cd6;
} /* Keyword.Declaration */
[data-theme="dark"] .pygments-kn {
color: #569cd6;
} /* Keyword... | CSS |
.readInt(pos, width).toFloat()
T_INDIRECT_UINT -> buffer.readUInt(pos, width).toFloat()
T_NULL -> 0.0f
T_STRING -> toString().toFloat()
T_VECTOR -> toVector().size.toFloat()
else -> 0f
}
}
/**
* Returns element as [Double]. For vector types, it will return size of the vector Fo... | Kotlin |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Migration201509291600.cs" company="Devbridge Group LLC">
//
// Copyright (C) 2015,2016 Devbridge Group LLC
//
// This program is free software: you can redistribute it and/or mo... | C# |
"阿兰娜",nil},
[11908] = {"米拉",nil},
[11909] = {"波尼",nil},
[11910] = {"恐怖图腾恶徒",nil},
[11911] = {"恐怖图腾佣兵",nil},
[11912] = {"恐怖图腾蛮兵",nil},
[11913] = {"恐怖图腾巫师",nil},
[11914] = {"黑衣戈霍夫",nil},
[11915] = {"高戈护石者",nil},
[11916] = {"伊迈尔达",nil},
[11917] = {"高戈地卜师",nil},
[11918] = {"高戈裂石者",nil},
[11919] = {"克劳迪娅",nil},
[11920] = {"... | Lua |
al_boolean_parameters, always_specify_types
extension GetFileLinkPOCollection on Isar {
IsarCollection<FileLinkPO> get fileLinkPOs => this.collection();
}
const FileLinkPOSchema = CollectionSchema(
name: r'FileLinkPO',
id: -1966671641010635487,
properties: {
r'createTime': PropertySchema(
id: 0,
... | Dart |
# Test to check that partial array indicator is correct under various
# conditions.
from paraview.simple import *
from paraview.vtk import *
from paraview.vtk.vtkFiltersSources import vtkSphereSource
from paraview.vtk.vtkCommonDataModel import vtkPolyData
from paraview.vtk.vtkCommonCore import vtkIntArray
from paravie... | Python |
ync function GetPermissionLevelForRoles(guild: Guild, userId: string, roles: string[]): Promise<PermissionLevel> {
const serverSettings = await ServerSettingsRepository.GetByGuildId(guild.id);
if (serverSettings === null) {
return PermissionLevel.User;
}
let permissionLevel = PermissionLevel.User;
if (userId ==... | Typescript |
private Map<Integer, StaticDoor> doors;
@Override
public void onInstanceCreate(WorldMapInstance instance) {
doors = instance.getDoors();
// Elyos Npc's
// 206378 lvl1
// 206379 lvl2
// 206380 lvl3
// Asmo Npc's
// 206395 lvl1
// 206396 lvl2
// 206397 lvl3
stageNum = Rnd.get(1, 3);
super.onIns... | Java |
void(vm::Dependence* compute)>&) const;
private:
std::shared_ptr<EagerBlobObject> eager_blob_object_;
std::shared_ptr<SharedEventRecord> event_record_;
vm::Stream* vm_stream_;
};
class InputCriticalSectionEndInstructionPolicy final : public CriticalSectionEndInstructionPolicy {
public:
InputCriticalSectionE... | C |
break end
local _,_,a,b=string.find(l,'"?([_%w]+)"?%s*(.*)$')
if a~=A then A=a io.write("\n",a,":") end
io.write(" ",b)
end
io.write("\n") | Lua |
.blockBounds;
callback({
width: x1 - x0,
height: y1 - y0
});
}, {metricsOnly: true});
}
function parsePercent(str) {
let match = str.match(/^([\d.]+)%$/);
let pct = match ? parseFloat(match[1]) : NaN;
return isNaN(pct) ? 0 : pct / 100
}
funct... | JavaScript |
DidimoImporterJsonConfig didimoImporterJsonConfig =
DidimoImporterJsonConfigUtils.GetConfigAtFolder(Path.GetDirectoryName(didimoFilePath)!);
if (didimoImporterJsonConfig == null)
{
throw new Except... | C# |
body.classList.remove('ncurses-light');
document.body.classList.remove('ncurses-dark');
document.body.classList.remove('coolgray-dark');
document.body.classList.remove('midnight');
document.body.classList.add(traits.theme || "veloci-light");
// veloci-docs is... | JavaScript |
base address */
#define CONFIG_SYS_NVRAM_SIZE 0x7F8 /* NVRAM size 2kByte - 8 Byte for RTC */
#ifdef CONFIG_ENV_IS_IN_NVRAM
#define CONFIG_ENV_SIZE 0x7F8 /* Size of Environment vars */
#define CONFIG_ENV_ADDR \
(CONFIG_SYS_NVRAM_BASE_ADDR+CONFIG_SYS_NVRAM_SIZE-CONFIG_ENV_SIZE) /* Env */
#endif
/*
* Init Memory ... | C |
const VK_FORMAT_G16_B16_R16_3PLANE_422_UNORM_KHR: VkFormat = 1000156031;
pub const VK_FORMAT_G16_B16R16_2PLANE_422_UNORM_KHR: VkFormat = 1000156032;
pub const VK_FORMAT_G16_B16_R16_3PLANE_444_UNORM_KHR: VkFormat = 1000156033;
pub const VK_FORMAT_MAX_ENUM: VkFormat = 2147483647;
pub type VkFormat = ::std::os::raw::c_ui... | Rust |
rk();
if (child_pid[i] == -1) {
perror("An error occurs when calling fork()");
kill_children(child_pid, i);
goto free_shm;
} else if (child_pid[i] == 0) {
child_process();
printf("This code should not be executed.\n");
goto free_shm;
}
}
child_pid[i] = fork();
if (child_pid[i] == -1) {
p... | C |
state = null;
} else {
return;
}
} else if (state != text) {
state = text;
} else {
return;
}
_timer ??= Timer(const Duration(seconds: 3), save);
}
void reset() {
state = null;
_timer?.cancel();
_timer = null;
ref.read(sharedPreferencesProvid... | Dart |
import 'package:flutter/material.dart';
import 'dart:async';
class ErrorMessageBox extends StatefulWidget {
final String errorMessage;
const ErrorMessageBox({super.key, required this.errorMessage});
@override
_ErrorMessageBoxState createState() => _ErrorMessageBoxState();
}
class _ErrorMessageBoxState exten... | Dart |
'title': '',
'user_id': 43625,
'width': 2560
},
{
'description': '',
'excerpt': '',
'height': 1706,
'img_id': 95071167,
'img_id_str': '95071167',
'title': '',
'user_id': 43625,
'width': 2560
... | Dart |
using Amazon;
using Amazon.StorageGateway;
using Amazon.StorageGateway.Model;
using Amazon.Runtime;
namespace CloudOps.StorageGateway
{
public class ListVolumesOperation : Operation
{
public override string Name => "ListVolumes";
public override string Description => "Lists the iSCSI stored vo... | C# |
ratorCode TThostFtdcOperatorCodeType
// 新银行帐号
BankNewAccount TThostFtdcBankAccountType
// 错误代码
ErrorID TThostFtdcErrorIDType
// 错误信息
ErrorMsg TThostFtdcErrorMsgType
}
// 请求查询转帐流水
type CThostFtdcQryTransferSerialField struct {
// 经纪公司代码
BrokerID TThostFtdcBrokerIDType
// 投资者帐号
AccountID TThostFtdcAccount... | Go |
ge_sort(&array[..mid]), &merge_sort(&array[mid..]))
} else {
array.to_vec()
}
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn ms() -> Result<(), Error> {
let input_file = utility::testing::get_input_file("rosalind_ms")?;
let result = rosalind_ms(&input_file)?;
a... | Rust |
p[result.categories.c2] = mutableListOf()
map[result.categories.c3] = mutableListOf()
map[result.categories.c4] = mutableListOf()
}
result?.sub?.forEach {
when (it.category) {
0 -> map[result.categories.c... | Kotlin |
ipType = 0xb0a,
#elif PACKETVER >= 20150226
storageListEquipType = 0xa10,
#elif PACKETVER >= 20120925
storageListEquipType = 0x996,
#elif PACKETVER >= 20080102
storageListEquipType = 0x2d1,
#elif PACKETVER >= 20071002
storageListEquipType = 0x296,
#else
storageListEquipType = 0xa6,
#endif
#if PACKETVER_RE_NUM >= 2... | C++ |
VIOUS, { "Prv" , "\xE2\x8F\xAE", }}, // ⏮
{ KEY_EN_MEDIA_NEXT, { "Nxt" , "\xE2\x8F\xAD", }}, // ⏭
{ KEY_EN_MEDIA_STOP, { "Stp" , "\xE2\x8F\xB9", }}, // ⏹
{ KEY_EN_MEDIA_MUTE, { "Mte" , "\xF0\x9F\x94\x87", }}, // 🔇
{ KEY_EN_MEDIA_VOLUME_DOWN, { "Vl-" , "\xF0... | C++ |
base);
cmp1i (Rtmp0, 0 , 0);
jeq (safe_to_store); // Already marked
st1i (Rtmp0, 0 ,0);
} else {
should_not_reach_here("No barriers defined");
}
if (UseSBA) jmp (safe_to_store);
// All done - SBA fall-through to SBA escape, otherwise proceed with store
bind(stack_escape);
}
// --- pre_wr... | C++ |
1 1 0 001.8.87l2.203-4.553Zm2.83 1.717a1 1 0 01.468 1.335l-1.223 2.544a1 1 0 11-1.803-.867l1.224-2.544a1 1 0 011.334-.468Z" clip-rule="evenodd"/></svg>';
static const String diarrhea_outline =
'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="48" height="48" preserveAspe... | Dart |
束欠一",
["𩐖"] = "禾⺿日一",
["𩐗"] = "音㇏",
["𩐘"] = "二儿音",
["𩐙"] = "音斤",
["𩐚"] = "音弗",
["𩐛"] = "音瓦",
["𩐜"] = "音勹巳",
["𩐝"] = "音句",
["𩐞"] = "夕夕音",
["𩐟"] = "音六乂",
["𩐠"] = "音龷八",
["𩐡"] = "音⺊一小",
["𩐢"] = "丿冂口音",
["𩐣"] = "音光",
["𩐤"] = "音冂一口",
["𩐥"] = "音... | Lua |
bbedViewHandler> Mapper = new PropertyMapper<ITabbedView, ITabbedViewHandler>(ViewHandler.ViewMapper);
public static CommandMapper<ITabbedView, ITabbedViewHandler> CommandMapper = new(ViewCommandMapper);
public TabbedViewHandler() : base(Mapper, CommandMapper)
{
}
public TabbedViewHandler(IPropertyMapper? ... | C# |
on: left 0.3s ease-in-out;
}
@mixin sliding-panel-wrapper-open-right ($size) {
top: 0;
right: $size;
// transition: right 0.3s ease-in-out;
}
@mixin sliding-panel-wrapper-open ($side, $size) {
@include sliding-panel-wrapper();
@if $side == left {
@include sliding-panel-wrapper-open-left($size);
}
@if $side... | CSS |
symbool ',
),
Emoji(
'🧟♀️',
'eng | halloween | horror | levende doden | lopende dode | monster | ondode | zombie vrouw | vrouwelijkheidssymbool ',
),
Emoji('💆♂️',
'gespannen | gezicht | gezichtsmassage | hoofdpijn | massage | ontspannen | persoon | persoon die hoofdmassage krijgt... | Dart |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.