content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
Vec<X> */
fn std_group_unzip<X: Eq + Ord + Clone + Hash + PartialEq + PartialOrd,Y: Eq + Ord + Clone + Hash + PartialEq + PartialOrd>(g: & std_Group<(X, Y)>) -> (std_Vec<X>, std_Vec<Y>)
{ let ref mut xs : std_Vec<X> = std_vec_empty();
let ref mut ys : std_Vec<Y> = std_vec_empty();
for ref v in g.iter() {
... | Rust |
.beforeFunc != nil {
// test.beforeFunc(tt, test.args)
// }
// if test.afterFunc != nil {
// defer test.afterFunc(tt, test.args)
// }
// checkFunc := test.checkFunc
// if test.checkFunc == nil {
// checkFunc = defaultCheckFunc
// }
//
// got := WithMulti(test.args.multi)
// if err :=... | Go |
checksum.
## Minimum Supported Rust Version (MSRV)
This library should always compile with any combination of features on **Rust 1.56.1**.
## Licensing
The code in this project is licensed under the [Creative Commons CC0 1.0 Universal license](LICENSE).
We use the [SPDX license list](https://spdx.org/licenses/) a... | Markdown |
vim.api.nvim_win_set_hl_ns(win, M.ns_operator)
end,
["default"] = function()
vim.api.nvim_set_hl_ns(0)
end,
})()
end
local function setup_statuscolumn()
if M.options.fold_options.enabled then
vim.cmd("set statuscolumn=%!v:lua.require('moody.statuscolumn').myStatusColumn()")
end
end
--- We ... | Lua |
we change.
ds.l $10
proc_mode:
ds.l $1
old_colors:
ds.w $10
old_physbase:
ds.l $1
old_logbase:
ds.l $1
old_res:
ds.w $1
old_sync:
ds.w $1
old_vbl:
ds.l $1
old_mfp:
ds.w $1
old_sr:
ds.w $1
timera_save:
ds.l $10
screen1: ; We had better not put the screens
ds.b $8000 ; anywhere in memory,... | Assembly |
opt c+, at+, e+, n-
section overlay.text
xdef s08b_bunsin2_800D3468
s08b_bunsin2_800D3468:
dw 0x27BDFFE0 ; 800D3468
dw 0xAFB00010 ; 800D346C
dw 0x00808021 ; 800D3470
dw 0xAFBF0018 ; 800D3474
dw 0xAFB10014 ; 800D3478
dw 0x8E0319CC ; 800D347C
dw 0x24020003 ; 800D3480
dw 0x10620061 ; 800D3484
dw 0x28620004 ; 8... | Assembly |
ml2_1_1XMLHandle.html#a03ea6ec970a021b71bf1219a0f6717df">tinyxml2::XMLHandle</a>
</li>
<li>Top
: <a class="el" href="structdetectNet_1_1Detection.html#a2776e71cde1e6c41676bb5e6d12b1d0d">detectNet::Detection</a>
, <a class="el" href="structposeNet_1_1ObjectPose.html#adece53f539c88290c4062193f0fd7ae7">poseNet::ObjectPose... | HTML |
Query</a>
</td></tr></table>
<p>Optional boost for matches on this query. Values > 1</p><p><span class='inTextTitle'>Default value</span>: 1.0</p><a name='Query'></a>
<br /><table class='elementTitle' summary="Query"><tr><td class='leftElementTitle'>
<Query></td><td class='rightElementTitle'>
Child of <a href=... | HTML |
ntal)
<br>13 = Near Left
<br>14 = Bottom (horizontal)
<br>15 = Top (vertical)</td><td> </td>
<td>16 = Upper-middle
<br>17 = Center (vertical)
<br>18 = Lower-middle
<br>19 = Bottom (vertical)
<br>20 = Upper Far Right
<br>21 = Upper-right (horizontal)
<br>22 = Far Right (horizontal)
<br>2... | HTML |
}
//获取联系人姓名
fun getContactByNumber(phoneNumber: String?): MutableList<ContactInfo> {
val contactInfoList = mutableListOf<ContactInfo>()
if (TextUtils.isEmpty(phoneNumber)) return contactInfoList
// 去除国际区号、空格、括号、横线等字符
val normalizedInputNumber = if (ph... | Kotlin |
_SFLOAT, 0, // Location 0: Position
0, 1, VkFormat.R32G32B32_SFLOAT, Vec3.size, // Location 1: Normal
0, 2, VkFormat.R32G32B32_SFLOAT, Vec3.size * 2) // Location 2: Color
val vertexInputStateCI = vk.PipelineVertexInputStateCreateInfo {
vertexB... | Kotlin |
* COPY1.S
*
* Example program for Assembly Line
*
* Use the GEM File Selector to copy a file
*
* By Charles F. Johnson
* Copyright 1989 ST-Log
*
* Last revision: Friday, February 3, 1989 10:18:34 am
.text
move.l 4(sp),d1 ; Get address of basepage
lea ustack,sp ; Set up my stack
move.l #prgend,d0 ; Address of en... | Assembly |
dialog.
* @run main/manual DialogCopies
*/
import java.awt.print.*;
public class DialogCopies {
static String[] instructions = {
"This test assumes and requires that you have a printer installed",
"When the dialog appears, increment the number of copies then press OK.",
"The test will throw an ex... | Java |
TRIBUTE*/
ElementType: types.StringType,
Description: "An array of Amazon Resource Names (ARNs) of the datasets that you want to include in the dataset group.",
Computed: true,
}, /*END ATTRIBUTE*/
// Property: DatasetGroupArn
// CloudFormation resource type schema:
//
// {
// "description": "... | Go |
.deep.equal(undefined);
Chai.expect(list.length).to.deep.equal(0);
expectIterableEqual(list, []);
});
Mocha.it("should not fail to #pop a `List` with length 1", () => {
const list: List<number> = List.of(0);
Chai.expect(list.pop()).to.deep.equal(0);
Chai.expect(list.l... | Typescript |
系统账户状态(正常/冻结/禁用)
}
/**
分销商机构属性
*/
type AgencyOrg struct {
ID string `json:"id"` //分销商机构ID
Name string `json:"name"` //分销商机构名称
Status int `json:"status"` //分销商机构状态(启用/禁用)
}
/**
分销商机构私有数据属性
*/
type AgencyOrgPrivateData struct {
ID string `json:"id"` //分销商机构ID
RateBasic float64 `js... | Go |
infinite ease-in-out both;animation:dotLoadingAnimation 1s infinite ease-in-out both;height:8px;background-color:#757575;-webkit-border-radius:50%;border-radius:50%;margin:0 auto 12px;width:8px}.Kk7lMc-Ia7Qfc-to915 .Kk7lMc-DWWcKd-OomVLb-ge6pde-uDEFge-ojAhob{background-color:#fff}.Kk7lMc-DWWcKd-OomVLb-ge6pde-uDEFge-ojA... | HTML |
_split_list:
segment_validation_cnt += df_validation[civ_list[i].var_name][df_validation[civ_list[i].var_name] == m].count()
psi_dict['segment_validation_cnt'].append(segment_validation_cnt)
psi_dict['segment_validation_percentage'].append(float(segment_validation_cn... | Python |
- By default, the gradient smoothly transitions between the colors.
-- You can adjust the sharpness by specifying the segment_size and
-- segment_smoothness parameters.
-- segment_size configures how many segments are present.
-- segment_smoothness is how hard the edge is; 0.0 is a hard edge,
-- 1.0 is a soft edge... | Lua |
http://www.eclipse.org/org/documents/edl-v10.html.
*
* Contributors:
* Matthias Kovatsch - creator and main architect
******************************************************************************/
package org.eclipse.californium.plugtests.tests;
import java.net.URI;
import java.net.URISyntaxException;
imp... | Java |
eWalker default');
break;
}
propfMan([demicm.twId], demicm.MAX_REC_DEPTH, demicm.MAX_RET_REC_DEPTH, 'prop', 'spec');
}
if (idS[demicm.curTreeNodeId]) {
propfMan([demicm.curTreeNodeId], demicm.MAX_REC_DEPTH, demicm.MAX_RET_REC_DEPTH, 'prop', 'spe... | JavaScript |
ape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="0.78027344"
inkscape:cx="18.583229"
inkscape:cy="254.398"
inkscape:window-width="1920"
inkscape:window-height="1008"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
... | JavaScript |
/* $FreeBSD$ */
/* from: NetBSD: setjmp.S,v 1.1 1998/01/27 15:13:12 sakamoto Exp $ */
/* from: OpenBSD: setjmp.S,v 1.2 1996/12/28 06:22:18 rahnds Exp */
/* kernel version of this file, does not have signal goop */
/* int setjmp(jmp_buf env) */
#define _ASM
#include <asm/types.h>
#ifdef __powerpc64__
#if !defined(P... | Assembly |
}for(const e in n.fields){if(!Object.prototype.hasOwnProperty.call(n.fields,e))continue;const t=n.fields[e];i+='<field name="'.concat(s(t.name),'"');const r=t.id;r&&(i+=' id="'.concat(s(r),'"'));const o=t.variableType;"string"==typeof o&&(i+=' variabletype="'.concat(s(o),'"'));let a=t.value;"string"==typeof a&&(a=s(t.v... | HTML |
"cost": 25.00,
"estimated_delivery": "2025-01-20",
"tracking_number": "SF1234567890"
}
}
},
"analytics": {
"source": "web",
"campaign": "新年促销",
"device_ty... | Python |
<section class="page-title">
<h1>Register</h1>
</section>
<section class="padding center">
<div class="container">
<div class="col-xs-3"></div>
<div class="col-xs-6 center">
<form>
<button type="submit" class="btn btn-default orange">Individual</button>
<button type="submit" class... | HTML |
e: 'cedar_policies',
withoutRowId: false,
isStrict: false,
tableConstraints: ['CHECK(enforcement_level IN (0, 1))'],
columns: [_column_29, _column_30, _column_31, _column_32],
attachedDatabase: database,
),
alias: null,
);
late final Shape10 cedarPolicyTemplates = Shape10(
... | Dart |
e_encode_u_64(BigInt self, SseSerializer serializer);
@protected
void sse_encode_u_8(int self, SseSerializer serializer);
@protected
void sse_encode_u_8_array_32(U8Array32 self, SseSerializer serializer);
@protected
void sse_encode_unit(void self, SseSerializer serializer);
@protected
void sse_encod... | Dart |
using System.Collections.Generic;
using System;
using System.IO;
using System.Linq;
using System.Reflection;
#if !SLUA_STANDALONE
using UnityEngine;
#endif
namespace SLua{
public static class Lua3rdDLL{
static Dictionary<string, LuaCSFunction> DLLRegFuncs = new Dictionary<string, LuaCSFunction>();
static Lua3r... | C# |
2t3i2d rti2e rti4gel rti4g3r rti4kl rt5illu r4t3i4ma r4t3ind r4t3inf r3tit r3to rt3ope rto5pfl r4topt r4t3orc r4t3org rto4rie rto3s rt2ö r4t3ral rt5ram. rt5rams rt5rand rt5rati rt3rea rt3reb rt5reic rt5reif r4t5reis rt5reit rt5ring r4t3ris r4t3riv r4t3rob r4troh rt5roma r4trou rtrue4c rtrü4c rt5sand rtsch4 rtse4h rts5i... | Lua |
0',1,'utilities.sql_in']]],
['norm1',['norm1',['../linalg_8sql__in.html#a300300fe4b8576ba0b97b95d8dea3057',1,'linalg.sql_in']]],
['norm2',['norm2',['../linalg_8sql__in.html#a50fdfe30cc0edc6888a909dbb4b4c239',1,'linalg.sql_in']]],
['normal_5fcdf',['normal_cdf',['../prob_8sql__in.html#aebcd34ad7b1ca4b31d9699112c9a3... | JavaScript |
p.map_pos, dir);
let v2 = geom::map_pos_to_world_pos(p2).extend(0.0);
WorldPos{v: (v + v2) / 2.0}
}
SlotId::WholeTile => {
WorldPos{v: v + index_to_circle_vertex_rnd(n, 0, p.map_pos).v * 0.2}
}
SlotId::Air => {
let v = v + vec3_z(2.0);
... | Rust |
3.54 4.22 1.41 4.231 2.218a.7.7 0 01-.103.35l-.036.055c-.406.611-1.697 1.22-3.565 1.66a.99.99 0 00-.82-.42 1.046 1.046 0 00-.155 0l-2.078-3.57c.868-.07 1.717-.167 2.527-.293zM6.67 15.42c1.603.248 3.346.387 5.06.408.758 0 1.52-.023 2.272-.068l2.235 3.888a1.046 1.046 0 00-.2.386 29.633 29.633 0 01-4.256.299c-4.702-.059-8... | Dart |
#include <vrpn_Connection.h>
#include <vrpn_SharedObject.h>
#include <stdio.h> // for printf()
#include <stdlib.h> // for atoi()
int VRPN_CALLBACK noteChange (void *userdata, vrpn_int32 newValue, vrpn_bool /*isLocal*/) {
vrpn_Shared_int32_Server * ip;
ip = (vrpn_Shared_int32_Server *) userdata;
printf("Serve... | C |
-face {
font-family: 'Leelawadee UI Web';
src: url('https://static2.sharepointonline.com/files/fabric/assets/fonts/leelawadeeui-thai/leelawadeeui-semilight.woff2') format('woff2'),
url('https://static2.sharepointonline.com/files/fabric/assets/fonts/leelawadeeui-thai/leelawadeeui-semilight.woff') format('woff... | CSS |
Data"},
{0x0012, nullptr, "InitializeConnectionSession"},
{0x0013, nullptr, "StartConnection"},
{0x0014, nullptr, "StartConnectionGetOut"},
{0x0015, nullptr, "Read"},
{0x0016, nullptr, "ReadPeek"},
{0x0017, nullptr, "Write"},
{0x0018, nullptr, "ContextSetRootCertC... | C++ |
_at_start && !in_bitmap)
WARNF(cLRD "Some test cases look useless. Consider using a smaller set.");
if (queued_paths > 100)
WARNF(cLRD "You probably have far too many input files! Consider "
"trimming down.");
else if (queued_paths > 20)
WARNF("You have lots of input files; t... | C++ |
_UnregisterCurrent_Doesnt_Throw_When_List_Empty()
{
}
/// <summary>
/// <inheritdoc cref="AutofacDependencyResolver.UnregisterAll"/>
/// <inheritdoc cref="BaseDependencyResolverTests{T}.HasRegistration"/>
/// </summary>
[Test]
[Obsolete("Obsolete")]
#pragma warning disable CS080... | C# |
黑苹果技术群</a> 500人群 非专用机型请勿加入<br>942112153 <a href="https://qm.qq.com/cgi-bin/qm/qr?k=N5cjw5ksrnmk-RMQ4fPCOo5D_Dxiu47B&jump_from=webapi" target="_blank" rel="noopener">天逸510s Mini黑苹果交流群</a> 1000人群 非专用机型请勿加入<br>673294583 <a href="https://qm.qq.com/cgi-bin/qm/qr?k=GgcMJM5-98yB-fc6zyGcTI3OuesrSBRk&jump_from=webapi" target="_... | HTML |
deviations or errors.
3. **Piecewise Representation**: Absolute value graphs are often analyzed as piecewise functions for advanced computations.
These graphs visually represent how absolute values behave and their transformations can model various
real-world scenarios.
## **Vertical and Horizontal Asymptotes**
... | Markdown |
= $"DataLogger Demo ({Logger.Count:N0} points)";
}
private void cbView_CheckedChanged(object sender, EventArgs e)
{
Logger.ManageAxisLimits = cbEnableViewManagement.Checked;
// disable mouse interaction if axis limits are managed automatically
formsPlot1.Configuration.Pan = !cbEnab... | C# |
using System;
using System.Net;
namespace Mina.Filter.Firewall
{
/// <summary>
/// A IP subnet using the CIDR notation. Currently, only IPv4 address are supported.
/// </summary>
public class Subnet
{
private const UInt32 IP_MASK_V4 = 0x80000000;
private const UInt64 IP_MASK_V6 = 0... | C# |
/*
SPDX-FileCopyrightText: 2022-2025 Laurent Montel <montel@kde.org>
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#pragma once
#include "libruqolacore_export.h"
#include <QDebug>
#include <QString>
class LIBRUQOLACORE_EXPORT DeviceInfo
{
public:
DeviceInfo();
~DeviceInfo();
void parseDeviceInfo(... | C |
#!/usr/bin/python
#
# knn_hand_written.py
# Test the hand written classification with KNN
#
# Author : Ashing Tsai
# Date : 2016/11/17
# Origin : http://arbu00.blogspot.tw/2016/11/1-opencv-knn.html
# Usage : DO "python knn_ocr_sample.py" BEFORE "python knn_hand_written.py"
import numpy as np
import cv2
from matplot... | Python |
ass="alert alert-block alert-block alert-text-normal">
<b></b>
<p>
The present approach to the above integral is often called 'crude' or
'Brute-Force' Monte-Carlo.
Later on in this chapter we will study refinements to this
simple approach. The reason is that a random generator
produces
points that are distributed
... | HTML |
al
*/
//go:nosplit
func (self class) DecalCreate() RID.Any { //gd:RenderingServer.decal_create
var r_ret = noescape.Call[RID.Any](gd.ObjectChecked(self.AsObject()), methods.decal_create, gdextension.SizeRID, &struct{}{})
var ret = r_ret
return ret
}
/*
Sets the 'size' of the decal specified by the 'decal' RID. Equi... | Go |
alue(property: string): string | number {
return this.values[property] || '';
}
getPropertyErrorMessages(property: string): string[] {
const errors = this.getPropertyError(property);
if (!errors) {
return [];
}
const { constraints } = errors;
return Object.entries(constraints).map(([,... | Typescript |
core:** no sidecar title wrapping with namehash ([e85b9ee](https://github.com/IBM/kui/commit/e85b9ee)), closes [#3238](https://github.com/IBM/kui/issues/3238)
* **packages/core:** remove old EntitySpec support ([e45fb7b](https://github.com/IBM/kui/commit/e45fb7b)), closes [#3268](https://github.com/IBM/kui/issues/3268)... | Markdown |
<div class="mx r">
<div class="my">
<h4 class="ax ej ek az dg">
<button class="eq er bg bh bi bj bk bl bm bn fy fz bq br et eu">11 claps</... | HTML |
root = subdir:match('^(.-)-' .. escape(version) .. '$')
if root then
subdir = root .. '-$(' .. ucname .. '_VERSION)'
end
root = subdir:match('^(.--[Vv])' .. escape(version_upstream) .. '$')
if root then
need_version_upstream = true
subdir = root .. '$(' .. ucname .. '_... | Lua |
/www.oberhumer.com/opensource/lzo/download/lzo-2.10.tar.gz -P /usr/local/tmp");
runProcess("/usr/local/tmp/", runtime, "/bin/sh", "-c", "tar xvfz lzo-2.10.tar.gz");
runProcess("/usr/local/tmp/lzo-2.10/", runtime, "/bin/sh", "-c", "./configure --enable-shared --prefix /usr/local/lzo-2.10");
runProcess(... | Java |
code>offset</code> - Offset pointing past already buffered content; that is, number
of bytes of valid content to output, within buffer.</dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>... | HTML |
gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class FillApproverInfo extends AbstractModel {
/**
* 签署方经办人在模板中配置的参与方ID,与控件绑定,是控件的归属方,ID为32位字符串。
模板发起合同时,该参数为必填项。
文件发起合同时,该参数无需传值。
如果开发者后序用合同模板发起合同,建议保存此值,在用合同模板发起合同中需此值绑定对应的签署经办人 。
*/
@Seriali... | Java |
h<any>) => Promise<false | undefined>;
namespace FactorySolution {
interface Logistic {
qty: number;
deliver(): void;
}
class Truck implements Logistic {
constructor(public qty: number) {}
deliver(): void {
console.log(`Send ${this.qty} with truck`);
}... | Typescript |
, 97, 117, 101, 112, 114, 105, 119, 111, 56, 38, 40, 94, 94, 36, 37, 51, 48, 57, 56, 52, 45, 45, 48, 57, 45, 112, 105, 111, 101, 107, 59, 102, 108, 107, 115, 95, 41, 42, 41, 40, 38, 42, 38, 94, 36, 37, 94, 35, 106, 100, 107, 102, 101, 105, 111, 105, 112, 97, 117, 101, 112, 114, 105, 119, 111, 56, 38, 40, 94, 94, 36, 37... | Go |
, a[2:3], v[4:7], v1 cbsz:3 abid:1
v_smfmac_f32_16x16x64_bf8_fp8 v[0:3], a[2:3], v[4:7], v1 cbsz:3 abid:1
v_smfmac_f32_16x16x64_fp8_bf8 v[0:3], a[2:3], v[4:7], v1 cbsz:3 abid:1
v_smfmac_f32_16x16x64_fp8_fp8 v[0:3], a[2:3], v[4:7], v1 cbsz:3 abid:1
v_smfmac_f32_32x32x32_bf8_bf8 v[0:15], v[2:3], v[4:7], v1 cbsz:3 abid:1... | Assembly |
IENT_OBJECT_MAX);
return _NewClientID++;
}
////////////////////////////////////////////////////////////////
//
// Find_Object
//
////////////////////////////////////////////////////////////////
bool
NetworkObjectMgrClass::Find_Object (int id_to_find, int *index)
{
WWASSERT(index != NULL);
bool found = false;
(... | C++ |
ding_box.html#ac2d8cccd7caf0d92ace8f578f5c8d368">larcfm::BoundingBox</a></li>
<li>boundingCircleCenter() : <a class="el" href="classlarcfm_1_1_simple_poly.html#a3bcadcadd0caa2ca05196422f1b12277">larcfm::SimplePoly</a></li>
<li>boundingCircleRadius() : <a class="el" href="classlarcfm_1_1_simple_poly.... | HTML |
HREF="../../../../../org/apache/http/cookie/params/CookieSpecPNames.html#DATE_PATTERNS"><CODE>CookieSpecPNames.DATE_PATTERNS</CODE></A></li>
<li><A HREF="../../../../../org/apache/http/cookie/params/CookieSpecPNames.html#SINGLE_COOKIE_HEADER"><CODE>CookieSpecPNames.SINGLE_COOKIE_HEADER</CODE></A></li>
<li><A HREF="... | HTML |
/*-------------------------------------------------------------------------
*
* fmgrtab.h
* The function manager's table of internal functions.
*
* Portions Copyright (c) 1996-2022, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* src/include/utils... | C |
doFuAIbSacY4w7AynfAGri4+wOwqs64unurnPOhoJzzYwjhK4Tw5u5tNflF7t66+4+Z7fu+/yw3Vfjb3Z/+ABxcd31sNWv5AAAAAElFTkSuQmCC'); background-repeat: no-repeat; }
.ico-close-dark { background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAOVJREFUKJF1k... | CSS |
config = { responsive: true };
Plotly.newPlot("plot", genre_data, layout, config);
</script>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Genre Decade Heatmap - Beets Statistics</title>
<meta n... | HTML |
buffer.position(r.x * 4 + y * 4 * w)
sourceView!!.limit(r.x * 4 + y * 4 * w + r.width * 4)
sourceView!!.position(r.x * 4 + y * 4 * w)
sourceView!!.put(buffer)
sourceView!!.clear()
buffer.clear()
// ... | Kotlin |
-min-device-pixel-ratio: 2),
only screen and (min--moz-device-pixel-ratio: 2),
only screen and (-o-min-device-pixel-ratio: 2 / 1),
only screen and (min-device-pixel-ratio: 2),
only screen and (min-resolution: 192dpi),
only screen and (min-resolution: 2dppx) {
.iti-flag {
background-image: url("../img/flags@... | CSS |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using Avalonia.Controls.ApplicationLifetimes;
using Avalonia.Controls.Platform;
using Avalonia.Native.Interop;
using Avalonia.Platform;
using Avalonia.Platform.Storage;
using Avalonia.Platform.Storage.FileIO;
namespace Avalonia.Native
{
i... | C# |
b signs ; negate product (if needed)
bb,>=,n sign,0,fini ; test sign of product
;
mpya add,= op1,op1,gr0 ; op1 = -2**31, special case
b mpy2
sub 0,op1,op1 ; op1 = |multiplicand|
add,>= op2,gr0,gr0 ; if op2 < 0, invert sign,
xor pm,sign,sign ; for correct result
movb,tr op2,op1,mmax ; use op2 ... | Assembly |
otypeOf = require('./_object-gpo');
var has = require('./_has');
var $export = require('./_export');
var createDesc = require('./_property-desc');
var anObject = require('./_an-object');
var isObject = require('./_is-object');
function set(target, propertyKey, V /* , receiver */) {
var receiver = arguments.length < ... | JavaScript |
", cur, h->linp[cur]);
switch (h->flags & P_TYPE) {
case P_BINTERNAL:
bi = GETBINTERNAL(h, cur);
(void)fprintf(stderr,
"size %03d pgno %03d", bi->ksize, bi->pgno);
if (bi->flags & P_BIGKEY)
(void)fprintf(stderr, " (indirect)");
else if (bi->ksize)
(void)fprintf(stderr,
" {%.*s}", ... | C |
u=null!==t.value?t.value:s;if(n){if(o!==n)return [new it(t.key,u,`${o} stop domain type must match previous stop domain type ${n}`)]}else n=o;if("number"!==o&&"string"!==o&&"boolean"!==o)return [new it(t.key,u,"stop domain value must be a number, string, or boolean")];if("number"!==o&&"categorical"!==r){let n=`number e... | HTML |
mdctScale - s + inv_n
for (j = sfbOffset[sfb + sfboffs]; j < sfbOffset[sfb + sfboffs + 1]; j++) {
tmp_l = fMultDiv2((mdctSpectrumLeft[j] << s),inv_n) - ml; // scaled with mdctScale - s + inv_n
tmp_r = fMultDiv2((mdctSpectrumRight[j] << s),inv_n) - mr; // scaled with mdctScale - ... | C++ |
", -- Single Use Actives + Void
["? Card Single Use"] = "Fait disparaître les objets à usage unique après les avoir utilisé", -- Single Use Actives + ? Card
["5.300.48"] = "Téléporte Isaac dans la salle d'erreur et détruit la {{ColorCard}}Carte ?{{CR}} et la {{ColorYellow}}Carte Blanche", -- Blank Card + ? Card
["? ... | Lua |
key: 'i',
code: 'KeyI',
isMetaPressed: true,
isAltPressed: true,
);
async.elapse(const Duration(milliseconds: 10));
dispatchKeyboardEvent(
'keyup',
key: 'Meta',
code: 'MetaLeft',
location: 1,
isAltPressed: true,
);
// Notice n... | Dart |
'Nov',
'Dez'
],
'monthLong': [
'Janeiro',
'Fevereiro',
'Março',
'Abril',
'Maio',
'Junho',
'Julho',
'Agosto',
'Setembro',
'Outubro',
'Novembro',
'Dezembro'
],
'day': ['Seg', 'Ter', 'Qua', 'Qui', 'Sex', 'Sáb', 'Dom'],
... | Dart |
1.21.3-1+b2 |
| zip | 3.0-13 |
| zlib1g | 1:1.2.13.dfsg-1 |
| zsh | 5.9-4+b2 |
## Variant: 18-bookworm
**Digest:** sha256:c9ae77db2bc23935e47c73cd1f346c8bbf235ac1c108ed1f676beedf951a50e1
**Tags:**
```
mcr.microsoft.com/devcontainers/javascript-node:1.0.0-18-bookworm
mcr.microsoft.com/devcontainers/javascript-node:1... | Markdown |
for the text.
///
/// Example:
/// ```dart
/// Text('Hello World').rush.styles(
/// bold: true,
/// italic: true,
/// size: 20.0,
/// color: Colors.red,
/// ).apply();
/// ```
RushTextBuilder quickStyle({
bool? bold,
bool? italic,
double? size,
Color? color,
}) {
if ... | Dart |
rentChannel", "hotcue_32_activate", "StantonSCS3d.BsHaLED"],
["CurrentChannel", "hotcue_33_activate", "StantonSCS3d.BsIaLED"],
["CurrentChannel", "hotcue_34_activate", "StantonSCS3d.BsJaLED"],
["CurrentChan... | JavaScript |
exColor", function(self, r, g, b)
if r ~= BAG_ITEM_QUALITY_COLORS[1].r ~= r and g ~= BAG_ITEM_QUALITY_COLORS[1].g then
self:GetParent().backdrop:SetBackdropBorderColor(r, g, b)
end
self:SetTexture(0)
end)
hooksecurefunc(GameTooltip.ItemTooltip.IconBorder, "Hide", function(self)
self:GetParent().backdrop:S... | Lua |
ir.AIR_WING_ATTACK_LOGISTICS_NO_TRUCK_DISRUPTION_FACTOR = 0.05 --0.2 was 0.1 Base 0.02
NDefines.NAir.AIR_WING_ATTACK_LOGISTICS_TRUCK_DAMAGE_FACTOR = 0.27 -- 0.5 was 0.25 Base 0.27
NDefines.NAir.AIR_WING_ATTACK_LOGISTICS_INFRA_DAMAGE_SPILL_FACTOR = 0.0012 --Base 0.0016
NDefines.NAir.AIR_WING_ATTACK_LOGISTICS_TRAIN_DA... | Lua |
return;
}
case 0xe002:
case 0xe003: {
BurnYM2203Write(1, a & 1, d);
return;
}
default: {
bprintf(PRINT_NORMAL, _T("Z80 #2 Write => %04X, %02X\n"), a, d);
}
}
}
static INT32 CharPlaneOffsets[2] = { 4, 0 };
static INT32 CharXOffsets[8] = { STEP4(0,1), STEP4(8,1) };
static INT32 Cha... | C++ |
View,
dxConsumed: Int,
dyConsumed: Int,
dxUnconsumed: Int,
dyUnconsumed: Int,
type: Int,
consumed: IntArray
) {
onNestedScrollInternal(dyUnconsumed, type, consumed)
}
private fun onNestedScrollInternal(dyUnconsumed: Int, type: Int, consumed: IntArray... | Kotlin |
Name: r'asset_id')
String? get assetId;
/// Gets or sets the name of the asset.
@BuiltValueField(wireName: r'name')
String? get name;
/// Gets or sets a value indicating whether the asset is a cryptocurrency.
@BuiltValueField(wireName: r'type_is_crypto')
int? get typeIsCrypto;
/// Gets or sets the st... | Dart |
m,6px 12px 0 .020em,8px 12px 0 .020em,2px 14px 0 .020em,4px 14px 0 .020em}}.nes-radio.is-dark:checked:focus+span::before{width:2px;height:2px;color:#adafbc;box-shadow:2px 2px,4px 2px,2px 4px,4px 4px,6px 4px,8px 4px,2px 6px,4px 6px,6px 6px,8px 6px,10px 6px,2px 8px,4px 8px,6px 8px,8px 8px,10px 8px,12px 8px,2px 10px,4px 1... | CSS |
transport,
// URL without anti-cache param
cacheURL,
// Response headers
responseHeadersString,
responseHeaders,
// timeout handle
timeoutTimer,
// Url cleanup var
urlAnchor,
// Request state (becomes false upon send and true upon completion)
completed,
// To know if global eve... | JavaScript |
px}.user-list .info{float:left;width:515px}.user-list .info h3{margin:0 0 2px;height:auto;font:14px;background:none}.user-list .info p{position:relative;margin:0;color:#999;line-height:18px}.user-list .quote{margin:8px 0 0;padding:0 24px 0 15px}.info-box{text-align:center;background:#fff6ee;border:1px solid #faefe4;pad... | CSS |
"""
Emonoda -- A set of tools to organize and manage your torrents
Copyright (C) 2015 Devaev Maxim <mdevaev@gmail.com>
This program 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 vers... | Python |
,46.0446024173292]]]},"properties":{"countyId":"Șoarș", "scoring":"0","procente":"</br>Populatie: 2184</br> Total consilieri: 11</br> Procent USRPLUS: 6.9% </br> Necesar consilieri USRPLUS: 0.76 </br> Necesar rotunjit: 0" }},
{"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[23.744635326574006,43.9... | JavaScript |
rentialIntegrity;
use pretty_assertions::assert_eq;
#[test]
fn must_error_if_multiple_datasources_are_defined() {
let dml = indoc! {r#"
datasource db1 {
provider = "postgresql"
url = "postgresql://localhost"
}
datasource db2 {
provider = "mysql"
url ... | Rust |
***************************************
@ProviderFor(localSortFilterRepo)
const localSortFilterRepoProvider = LocalSortFilterRepoProvider._();
final class LocalSortFilterRepoProvider
extends
$FunctionalProvider<
LocalSortFilterRepo,
LocalSortFilterRepo,
LocalSortFilterRepo
... | Dart |
LL R25 4 1
MOVE R7 R25
RETURN R7 1
PROTO_2:
MOVE R11 R1
MOVE R12 R3
MOVE R13 R4
MOVE R14 R5
MOVE R15 R7
MOVE R16 R8
NAMECALL R9 R0 K0 ["convertAbsolutePositionToScaleOrOffset"]
CALL R9 7 1
MOVE R12 R2
MOVE R13 R4
MOVE R14 R6
MOVE R15 R7
NAMECALL R10 R0 K1 ["convertAbsoluteSizeToScaleOrOff... | Assembly |
uint64(100))
require.Equal(t, types.KindUint64, constValue.Value.Kind())
constExprs = append(constExprs, constValue)
constValue = new(Constant)
constValue.Value = types.NewDatum("100")
require.Equal(t, types.KindString, constValue.Value.Kind())
constExprs = append(constExprs, constValue)
constValue = new(Const... | Go |
tIndex; i < aListIndex + numRemoved; ++i) {
selectFrame->RemoveOption(presContext, i);
}
}
// Fix the selected index
if (aListIndex <= mSelectedIndex) {
if (mSelectedIndex < (aListIndex+numRemoved)) {
// aListIndex <= mSelectedIndex < aListIndex+numRemoved
// Find a new ... | C++ |
| SW_RESET | AON_RESET,
};
static struct clk_regmap *gpucc_sm6375_clocks[] = {
[GPU_CC_AHB_CLK] = &gpucc_ahb_clk.clkr,
[GPU_CC_CX_GFX3D_CLK] = &gpucc_cx_gfx3d_clk.clkr,
[GPU_CC_CX_GFX3D_SLV_CLK] = &gpucc_cx_gfx3d_slv_clk.clkr,
[GPU_CC_CX_GMU_CLK] = &gpucc_cx_gmu_clk.clkr,
[GPU_CC_CX_SNOC_DVM_CLK] = &gpucc_cx_sno... | C |
= tagsToTiff(tagManager, true);
const a = backToBuffer.toString('hex').toUpperCase();
const b = trimHexInput(input);
for (let i = 0; i < a.length; i += 2) {
if (a.substr(i, 2) !== b.substr(i, 2)) {
console.log('incompatibility at', i / 2);
console.log(a.substr(i));
console.l... | Typescript |
REG8 simu_tcnt2;
REG8 simu_ocr2a;
REG8 simu_ocr2b;
REG16 simu_icr3;
REG8 simu_icr3l;
REG8 simu_icr3h;
REG16 simu_ocr4a;
REG8 simu_tccr5c;
REG16 simu_tcnt5;
REG8 simu_tcnt5l;
REG8 simu_tcnt5h;
REG8 simu_tccr5b;
REG8 simu_timsk5;
REG16 simu_ocr5a;
REG8 simu_ocr5al;
REG8 simu_ocr5ah;
//UART
REG8 simu_ucsr0b;
REG8 simu_u... | C++ |
e6fe40_k-300x199.jpg 300w, https://makronom.de/wp-content/uploads/2015/11/8381652214_50c7e6fe40_k.jpg 2000w" sizes="(max-width: 400px) 100vw, 400px" /></noscript><img width="400" height="266" src="data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%20400%20266%22%3E%3C/svg%3E" data-src... | HTML |
';
import { Severity } from '../../../../helpers/constants/design-system';
import { I18nContext } from '../../../../../.storybook/i18n';
import {
MetaMetricsEventCategory,
MetaMetricsEventName,
MetaMetricsEventUiCustomization,
} from '../../../../../shared/constants/metametrics';
import { MetaMetricsContext } fr... | JavaScript |
Combined
assert.Len(t, *result.Properties, 2) // Combined
})
}
func TestMergeToolsChoice(t *testing.T) {
t.Run("both nil", func(t *testing.T) {
result := mergeToolsChoice(nil, nil)
assert.Nil(t, result)
})
t.Run("merge all tool types", func(t *testing.T) {
a := &cyclonedx.ToolsChoice{... | Go |
::exit;
mod cli;
mod event;
///
/// User will pass in a command file, this could be a raw file or a location to the file
///
/// cli could create a script from some yaml file, but for now we will just expect the script to be in the FS OR passed in raw
/// cli will read file and determine some things
/// the type of j... | Rust |
This method is called whenever the node's input changes.
*/
render(): void;
}import BaseChoreController from './controller';
import * as mongo from 'mongoose';
export const BaseChoreType = `
type BaseChoreType {
id: String!,
name: String!,
creator_id: String,
points: Int!,
}
type Query {
... | Typescript |
", "", "shān", "", "huǒ"],
"传感器": ["chuán", "gǎn", "qì"],
"传圭袭组": ["chuán", "", "guī", "", "xí", "", "zǔ"],
"传龟袭紫": ["chuán", "", "guī", "", "xí", "", "zǐ"],
"传呼电话": ["chuán", "hū", "diàn", "huà"],
"传家宝": ["chuán", "jiā", "bǎo"],
"传教士": ["chuán", "jiào", "shì"],
"传经送宝": ["chuán", "", "jīng", "", "sòng", "", "bǎo"],
"传爵... | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.