content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
4_KEYINFO_HANDOFF );
}
sqlite3VdbeAddOp2( v, OP_Count, iCsr, sAggInfo.aFunc[0].iMem );
sqlite3VdbeAddOp1( v, OP_Close, iCsr );
}
else
#endif //* SQLITE_OMIT_BTREECOUNT */
{
/* Check if the query is of one of the following forms:
... | C# |
/*
* This file is part of the TrinityCore Project. See AUTHORS file for Copyright information
*
* 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 version 2 of the License, or (at your
... | C |
V(n),V(1)=S(1)
*
* @param key
* @param score
* @param value
* @return
*/
Boolean addZSet(String key, double score, Object value);
/**
* 添加有序集合ZSET
*
* @param key
* @param value
* @return
*/
Long addZSet(K key, TreeSet<V> value);
/**
* 添加... | Java |
Dir = Files.createTempDirectory("dir_test_receive_")
try {
val rootDir = Files.createDirectories(tempSendDir.resolve("tar-root"))
val file1 = File(rootDir.toFile(), "test_1.txt")
val file2 = File(rootDir.toFile(), "test_2.txt")
Files.writeString(file1.toPath(), content1)
... | Kotlin |
13.8 8.8-14.3 4.2-30.6-10.1-36.7zm34.9-14.5c-5.4-2.2-12.2.5-15.4 5.8-3.1 5.4-1.4 11.5 4.1 13.8 5.5 2.3 12.6-.3 15.8-5.8 3-5.6 1-11.8-4.5-13.8z")),t.WindowsOutline=u("windows",i,l(r,"M120.1 770.6L443 823.2V543.8H120.1v226.8zm63.4-163.5h196.2v141.6l-196.2-31.9V607.1zm340.3 226.5l382 62.2v-352h-382v289.8zm63.4-226.5h255.3... | JavaScript |
oke-linejoin="round" d="M18.66 3.2c-6.1 1.61-12.34 8.13-13.77 14.28A19.64 19.64 0 0019 41.13a3 3 0 011.4.87l3.24 3.41a.5.5 0 00.7 0h0L27.59 42a3 3 0 011.41-.86A19.66 19.66 0 0018.66 3.2ZM24 33.88a11.7 11.7 0 11.06 0Z"/></svg>';
static const String osmdashboardforopentracks =
'<svg xmlns="http://www.w3.org/2000/... | Dart |
= emptySet()
override fun isBlackListSupported() = false
override fun getSupportedOptions() = JuliaHintType.values().map { it.option }
/**
* @param inlayText String: `text` in InlayInfo
* default value append a `:` after inlayText so that we must override it.
*/
override fun getInlayPresentation(inlayText: ... | Kotlin |
128*self.wide_factor, 128*self.wide_factor, norm_fn=norm_fn, indice_key='res4'),
SparseBasicBlock(128*self.wide_factor, 128*self.wide_factor, norm_fn=norm_fn, indice_key='res4'),
SparseBasicBlock(128*self.wide_factor, 128*self.wide_factor, norm_fn=norm_fn, indice_key='res4'),
)
... | Python |
need for a _linkedData = {stringKey: object[] }
// 6. Look for MultiMode, All-optional sections - and teas out if that should be a required union type Ex: LmabdaFunction:Code
// 7. Chop Up Mega interfaces to make them more apprachable Ex: S3-Bucket
// 8. Deal with remaining typescript warnings
//
import {
squals,
s... | Typescript |
rning permissions and
// limitations under the License.
//---------------------------------------------------------------------------
//
// The MPL v2.0:
//
//---------------------------------------------------------------------------
// This Source Code Form is subject to the terms of the Mozilla Public
// License, ... | C# |
src_pos,
oopDesc* dest, jint dest_pos,
jint length,
JavaThread* thread)) {
#ifndef PRODUCT
_slow_array_copy_ctr++;
#endif
// Check if we have null pointers
if (src == NU... | C++ |
x31:'TP5', 0x34:'RINV', 0x39:'ITFM', 0x3B:'PM2', 0x3D:'TMODE2',
0x3E:'GNSS', 0x47:'LOGFILTER', 0x53:'TXSLOT', 0x57:'PWR', 0x5C:'HNR',
0x60:'ESRC', 0x61:'DOSC', 0x62:'SMGR', 0x69:'GEOFENCE', 0x70:'DGNSS',
0x71:'T... | JavaScript |
&& codepoint <= 126)
{
builder.Append(c);
}
else
{
builder.Append($"\\u{codepoint.ToString("x4")}");
}
break;
... | C# |
dtype);
return _factory.getOWLLiteral(lexValue, datatype);
}
}
}
private class NamedIndividualMapper extends EntityMapper<OWLNamedIndividual>
{
@Override
public OWLNamedIndividual map(final ATermAppl term)
{
if (ATermUtils.isBnode(term))
return null;
else
return _factory.getOWLNamedIndi... | Java |
-webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
}
.product-list .product-cart-wrap .product-badges.product-badges-position {
left: 0;
top: 0;
}
.product-list .product-cart-wrap .product-img-action-wrap {
max-width: 28%;
position: relative;
paddin... | CSS |
4,0x48,0x7d]
v_cmp_gt_i16 vcc, tba_hi, v2
// CHECK: [0x6d,0x04,0x48,0x7d]
v_cmp_gt_i16 vcc, tma_lo, v2
// CHECK: [0x6e,0x04,0x48,0x7d]
v_cmp_gt_i16 vcc, tma_hi, v2
// CHECK: [0x6f,0x04,0x48,0x7d]
v_cmp_gt_i16 vcc, ttmp11, v2
// CHECK: [0x7b,0x04,0x48,0x7d]
v_cmp_gt_i16 vcc, m0, v2
// CHECK: [0x7c,0x04,0x48,0x7d]
... | Assembly |
nses.
* http://jquery.org/license
*
* http://docs.jquery.com/UI/Accordion#theming
*/
/* IE/Win - Fix animation bug - #4615 */
.ui-accordion { width: 100%; }
.ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; }
.ui-accordion .ui-accordion-li-fix { display: inline; }
.... | CSS |
/structpage/structpage.ko
Skipping BTF generation for /home/structpage/structpage.ko due to unavailability of vmlinux
make[1]: Leaving directory '/usr/src/linux-headers-5.15.0-113-generic'
```
```shell
root@new-ubuntu-server:/home/structpage# ls
Makefile modules.order Module.symvers structpage.c structpage.ko str... | Markdown |
), 30);
queryProperties.put(makeCycSymbol(":max-transformation-depth"), 1);
queryProperties.put(makeCycSymbol(":max-proof-depth"), 20);
response = cycAccess.executeQuery(query, cycAccess.makeELMt(mt), queryProperties, 20000);
//System.out.println("query: " + query + "\n response: " + re... | Java |
ciacao-brasileira-de-normas-tecnicas-ufmg-face-full",value:"https://raw.githubusercontent.com/citation-style-language/styles/master/associacao-brasileira-de-normas-tecnicas-ufmg-face-full.csl"},{label:"Universidade Federal de Minas Gerais - Faculdade de Ci\xEAncias Econ\xF4micas - ABNT (autoria abreviada) (Portugu\xEAs... | JavaScript |
my_list = [i**4 for i in range(5)]
print(my_list)
| Python |
nitto.core.model.converter.unit.NormalUnit
import java.math.BigDecimal
internal val electrostaticCapacitance: List<BasicUnit> by lazy {
listOf(
NormalUnit(
UnitID.attofarad,
BigDecimal("1"),
UnitGroup.ELECTROSTATIC_CAPACITANCE,
R.string.unit_attofarad,
R.string.unit_attofarad_short,... | Kotlin |
first-child:before{content:" ";margin:0}[aria-label="breadcrumbs"] [aria-hidden="true"]:after{content:"/"}.alert-box{border-style:solid;border-width:1px;display:block;font-weight:normal;margin-bottom:1.25rem;position:relative;padding:0.875rem 1.5rem 0.875rem 0.875rem;font-size:0.8125rem;transition:opacity 300ms ease-ou... | CSS |
in Chrome on Windows](http://blog.chromium.org/2012/02/gpu-accelerating-2d-canvas-and-enabling.html) as of version 18.\r\n\r\nNote that WebGL is part of the [Khronos Group](http://www.khronos.org/webgl/), not the W3C.',notes_by_num:{1:'WebGL context is accessed from "experimental-webgl" rather than "webgl"'},usage_per... | JavaScript |
//**********************************************************************************
//* Copyright (C) 2007,2016 Hitachi Solutions,Ltd.
//**********************************************************************************
#region Apache License
//
// Licensed under the Apache License, Version 2.0 (the "License");
// yo... | C# |
.Example.want",false]],"warn() (in module warnings)":[[419,"warnings.warn",false]],"warn_default_encoding (sys.flags attribute)":[[372,"sys.flags.warn_default_encoding",false]],"warn_explicit() (in module warnings)":[[419,"warnings.warn_explicit",false]],"warning":[[230,"Warning",false],[360,"sqlite3.Warning",false]],"... | JavaScript |
y);
if (out_len != 0)
memset(out, 0, out_len);
if ((ctx = CRYPTO_gcm128_new(&key, (block128_f)AES_encrypt)) == NULL)
err(1, "CRYPTO_gcm128_new");
CRYPTO_gcm128_setiv(ctx, tv->IV, tv->IV_len);
if (tv->A_len > 0)
CRYPTO_gcm128_aad(ctx, tv->A, tv->A_len);
if (tv->P_len > 0)
CRYPTO_gcm128_encrypt(ctx, tv->P... | C |
_refresh_09-DIY_the_control_of_refresh(Automatic_refresh))
* [The pull to refresh 10-DIY the control of refresh(Automatic back)](#The_pull_to_refresh_10-DIY_the_control_of_refresh(Automatic_back))
* [UICollectionView01-The pull and drop-down refresh](#UICollectionView01-The_pull_and_drop-down_refresh)
* [UI... | Markdown |
h_camera),
iconSize: 32.0,
onPressed: () async {
await controller?.flipCamera();
},
);
}
@override
void dispose() {
scanSubscription?.cancel();
controller?.dispose();
super.dispose();
}
void showServerSettingFromQr(String data) async {
closeConnection();
awa... | Dart |
cket not unconnected");
return SSH_ERROR;
}
fd = ssh_connect_host_nonblocking(s->session, host, bind_addr, port);
SSH_LOG(SSH_LOG_PROTOCOL, "Nonblocking connection socket: %d", fd);
if (fd == SSH_INVALID_SOCKET) {
return SSH_ERROR;
}
ssh_socket_set_fd(s,fd);
return SSH_O... | C |
other)) return false;
return config == other.config &&
(identical(_m, other._m) ||
(flush._m as MFlat).deepMapEquals(other.flush._m as MFlat));
}
/// Return `true` if other is `null` or the cached [hashCode]s proves the
/// collections are **NOT** equal.
///
/// **Explanation**: Obje... | Dart |
using OpenH2.Physics.Core;
using OpenH2.Physics.Proxying;
using PhysX;
using System;
using System.Collections.Generic;
using System.Numerics;
namespace OpenH2.Physx.Proxies
{
public class ContactModifyProxy : ContactModifyCallback, IContactCreateProvider
{
private Dictionary<object, (ContactCallbackDa... | C# |
id', '3': 1, '4': 1, '5': 3, '10': 'messageId'},
{'1': 'reaction_types', '3': 2, '4': 3, '5': 5, '10': 'reactionTypes'},
{
'1': 'custom_attributes',
'3': 15,
'4': 3,
'5': 11,
'6': '.im.turms.proto.Value',
'10': 'customAttributes'
},
],
};
/// Descriptor for `DeleteMess... | Dart |
proach for deriving a low-dimensional set of features from a large set of variables.
pub mod pca;
//! code borrowed from https://docs.rs/crate/threshold_crypto/0.3.2/source/src/error.rs
use failure::Fail;
/// A crypto error.
#[derive(Clone, Eq, PartialEq, Debug, Fail)]
pub enum Error {
/// Not enough signature sh... | Rust |
sut.IsStaging()).to.be.true;
chai.expect(sut.IsProduction()).to.be.false;
});
it("should detect production", () => {
const appsettings = {applicationMode: "Production", baseUrl: ""};
const sut = new Environment(appsettings);
chai.expect(sut.IsDevelopment()).to.be.false;
... | Typescript |
.6) },
({ a }) => add(int(128), ivec3(a)),
[137, 137, 137]
);
ivec3Scenario(
`ivec3 float negative unit interval`,
{ a: float(-0.7) },
({ a }) => add(int(128), ivec3(a)),
[128, 128, 128]
);
ivec3Scenario(
`ivec3 float negative integer`,
{ a: float(-32) },
({ a }) => add(int(128), ivec3(a)),
[96, 9... | Typescript |
{
var sum = _calculatorService.Add(x, y);
context.Logger.LogInformation($"{x} plus {y} is {sum}");
return sum;
}
/// <summary>
/// Perform x - y.
/// </summary>
/// <param name="x">Left hand operand of the arithmetic operation.</param>
/// <param name="y">Right hand... | C# |
locale), PropertyDefineConstant.EDITOR_TEXT, DataRangeConstant.VARCHAR_128);
// RPAリソースID
Property rpaResourceId =
new Property(NodeConstant.RPA_RESOURCE_ID, Messages.getString("rpa.resource.id", locale), PropertyDefineConstant.EDITOR_TEXT, DataRangeConstant.VARCHAR_64);
// ユーザ名
Property rpaUser =
ne... | Java |
$i = jni$_.JImplementer();
implementIn($i, $impl);
return Property$CIRCLE_TRANSLATE_ANCHOR.fromReference(
$i.implementReference(),
);
}
}
abstract base mixin class $Property$CIRCLE_TRANSLATE_ANCHOR {
factory $Property$CIRCLE_TRANSLATE_ANCHOR() =
_$Property$CIRCLE_TRANSLATE_ANCHOR;
}
final... | Dart |
``
**Explain:**
nope.
**Complexity:**
* Time complexity :
* Space complexity :
## Solution 2
```javascript
/**
* @param {number} n
* @return {boolean}
*/
var isHappy = function(n) {
var fast = n;
var slow = n;
if (n < 1) return false;
do {
slow = getsumsquare(slow);
fast = getsumsquare(ge... | Markdown |
z w4, 3f
2: // Vertical padding (h_pad > 0)
subs w4, w4, #2
st1 {v0.8h, v1.8h, v2.8h, v3.8h}, [x0], #64
uaddw v24.4s, v24.4s, v0.4h
uaddw2 v25.4s, v25.4s, v0.8h
uaddw v26.4s, v26.4s, v1.4h
uaddw... | Assembly |
Config(),
zkStateManagerVersion = zkStateManagerVersion,
logger = LogManager.getLogger("linea.plugin.staterecovery.clients.state-manager"),
)
val transactionDetailsClient: TransactionDetailsClient = VertxTransactionDetailsClient.create(
jsonRpcClientFactory = jsonRpcClientFactory,
endpoint = l1RpcEn... | Kotlin |
as CdcIncrementalConfiguration
Assertions.assertEquals(cdcCursor.initialLoadTimeout, Duration.ofHours(9))
Assertions.assertEquals(
cdcCursor.invalidCdcCursorPositionBehavior,
InvalidCdcCursorPositionBehavior.RESET_SYNC
)
Assertions.assertTrue(config.sshTunnel i... | Kotlin |
u-overlap-transparent:not(.u-overlap-contrast) .u-header :not(.u-nav-item) > a:hover,
.u-gradient > .u-container-layout > a:hover,
.u-image:not(.u-shading) > .u-container-layout > a:hover,
a:hover
{
color: #55b86b;
}
/** color-rules **/
/** alt-color-rule... | CSS |
eSet<MinimalJobSpec> = TreeSet(compareBy { it.createTime })
/** We need a fast way to know what the "most eligible job" is for a given queue. This serves as a lookup table that speeds up the maintenance of [eligibleJobs]. */
private val mostEligibleJobForQueue: MutableMap<String, MinimalJobSpec> = hashMapOf()
/... | Kotlin |
hub.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/bufbuild/protocompile/experimental/incremental"
)
func TestCyclic(t *testing.T) {
t.Parallel()
assert := assert.New(t)
ctx := t.Context()
exec := incremental.New(
incremental.WithParallelism(4),
)
result, _, err := incremen... | Go |
bits = NULL;
spd.vidrect = m_vidrect;
return S_OK;
}
STDMETHODIMP CDX9SubPic::CopyTo(ISubPic* pSubPic)
{
HRESULT hr;
if(FAILED(hr = __super::CopyTo(pSubPic)))
return hr;
if(m_rcDirty.IsRectEmpty())
return S_FALSE;
CComPtr<IDirect3DDevice9> pD3DDev;
if(!m_pSurface || FAILE... | C++ |
_GROUP
import com.dede.android_eggs.dls.androidAppComponent
import com.dede.android_eggs.dls.getBoolean
import com.dede.android_eggs.dls.loadProperties
import org.gradle.api.Project
import org.gradle.api.file.DirectoryProperty
import org.gradle.api.file.RegularFileProperty
import org.gradle.api.tasks.Exec
import org.gr... | Kotlin |
if (©_src == this) return *this;
FreePnextChain(pNext);
sType = copy_src.sType;
memoryTypeBits = copy_src.memoryTypeBits;
pNext = SafePnextCopy(copy_src.pNext);
return *this;
}
safe_VkMemoryWin32HandlePropertiesKHR::~safe_VkMemoryWin32HandlePropertiesKHR() { FreePnextChain(pNext); }
vo... | C++ |
TIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.jivesoftware.smackx.sharedgroups;
import java.util.List;
import org.jivesoftware.smack.SmackException.NoResponseException;
import org.jivesoftware.smac... | Java |
UnityEngine.MonoBehaviour obj = get_obj(nThisPtr);
UnityEngine.Coroutine arg0 = FCGetObj.GetObj<UnityEngine.Coroutine>(FCLibHelper.fc_get_wrap_objptr(L,0));
obj.StopCoroutine(arg0);
}
catch(Exception e)
{
Debug.LogException(e);
}
return 0;
... | C# |
value when path is present in obj', () => {
expect(get(obj, 'a')).toStrictEqual(1)
})
it('returns value when path is pointing to a present array index', () => {
expect(get(objArray.a, '0')).toStrictEqual({ b: 1 })
})
it('returns value when path is an index of an array (non-string path) is... | Typescript |
ed in session
- **Transparent Expansion**: Clearly explain when searching beyond user specifications
- **Comprehensive Coverage**: Use all available tools to ensure complete information gathering
- **Content Discernment**: Collection search may yield irrelevant results. Critically evaluate all findings and silently ign... | Python |
#ifndef __ASM_ARM_TERMIOS_H
#define __ASM_ARM_TERMIOS_H
#include <asm/termbits.h>
#include <asm/ioctls.h>
struct winsize {
unsigned short ws_row;
unsigned short ws_col;
unsigned short ws_xpixel;
unsigned short ws_ypixel;
};
#define NCC 8
struct termio {
unsigned short c_iflag; /* input mode flags */
unsigned ... | C |
n R.exitCode()}if(r.projectCwd!==null){let R=await Ot.start({configuration:r,json:this.json,stdout:this.context.stdout,includeFooter:!1},async N=>{if(ze.telemetry?.isNew)ze.telemetry.commitTips(),N.reportInfo(65,"Yarn will periodically gather anonymous telemetry: https://yarnpkg.com/advanced/telemetry"),N.reportInfo(65... | JavaScript |
{
self.max_degrees = max_degrees;
self
}
/// Sets the display format using *a C-style printf string*
#[inline]
pub fn display_format(mut self, display_format: &'a ImStr) -> Self {
self.display_format = display_format;
self
}
/// Builds an angle slider that is bou... | Rust |
, token: MyString) {
//scan sentence and calculate new length.
// The token.length should not < 2;
let newlength = sentence.length;
for (let i = 0; i < sentence.length; i++) {
if (sentence.getItem(i) === ' ') { // equals space.
newlength += token.length - 1;
}
}
let... | Typescript |
sage: 'ok',
content: objPabellon
})
})
}).catch((error: any) => {
res.status(501).json({
message: 'error',
content: error
})
})
}
export let getAulasXPabellon = (req: Request, res: Response) => {
console.log('Hola');
Pabellon.findAll({
include: [{
... | Typescript |
represents a closed sequence of cubic parametric curve segments
* that smoothly interpolate a list of points. It may be accessed as a
* Shape by <code>getShape()</code>, and it can paint itself by
* <code>paint()</code>
* <p>
* It is not a Component though, so that two CubicCurves may overlap.
* <p>
* Th... | Java |
e = $( table )[0];
var tbodyIndex, rowIndex, cache, row, tbodyLen, rowLen, raw, parsed, $cell, result,
hasCallback = typeof callback === 'function',
allColumns = column === 'all',
data = { raw : [], parsed: [], $cell: [] },
c = table.config;
if ( !isEmptyObject( c ) ) {
tbodyLen = c.$tb... | JavaScript |
migration job is unknown.
/// - "MYSQL" : The source engine is MySQL.
/// - "POSTGRESQL" : The source engine is PostgreSQL.
/// - "SQLSERVER" : The source engine is SQL Server.
/// - "ORACLE" : The source engine is Oracle.
core.String? engine;
/// Engine version, for example "12.c.1".
///
/// Required... | Dart |
#ifndef __DISP_LCD_H__
#define __DISP_LCD_H__
#include "disp_private.h"
#define LCD_GPIO_NUM 6
#define LCD_POWER_NUM 4
#define LCD_GPIO_REGU_NUM 3
#define LCD_GPIO_SCL (LCD_GPIO_NUM-2)
#define LCD_GPIO_SDA (LCD_GPIO_NUM-1)
typedef struct
{
bool lcd_used;
bool lcd_bl_en_used;
di... | C |
_us: u32,
pub net_usage_words: u32,
pub elapsed: String,
pub net_usage: String,
pub scheduled: bool,
pub action_traces: Vec<ActionTraceVariant>,
pub account_ram_delta: Option<AccountDelta>,
pub except: Option<String>,
pub error_code: Option<u64>,
pub failed_dtrx_trace: Option<Box<Tra... | Rust |
6\u9020\u6210\u65e0\u8f9c\u7fa4\u4f1737 \uff08\u5206\u4eab\u81ea @\u65b0\u6d6a\u56fe\u7247\uff09 http://t.cn/RPKhSQx ", "source": "\u65b0\u6d6a\u5fae\u535a", "time": "2014-08-08 10:20"}, {"weight": 0.7290756086932874, "title": "\u65b0\u7586\u838e\u8f66\u66b4\u6050\u6848\u81f437\u540d\u6c11\u4f17\u9047\u5bb3 59\u540d\u6... | JavaScript |
or more than zero. {@code tickEnd} needs
* to be higher than {@code tickStart}. Uses defined progress view items.
*
* @param tickStart the tick start
* @param tickEnd the tick end
* @param items the progress view items
*/
public ProgressView(int tickStart, int tickEnd, ProgressViewItem... items) {
Asser... | Java |
01, 42.559203],
'pop': 33163,
'state': 'MI'
},
{
'_id': '48313',
'city': 'STERLING HEIGHTS',
'loc': [-82.99976599999999, 42.600498],
'pop': 33890,
'state': 'MI'
},
{
'_id': '48314',
'city': 'STERLING HEIGHTS',
'loc': [-83.03445499999999, 42.612352],
'pop': 8502,
'... | Dart |
)
this.writeProfile(srvr.Profile(), prefix, indent)
this.writeControls(srvr.Controls(), prefix, indent)
this.writeLog(prefix, indent)
this.writeString("\n}\n")
}
func (this *httpRequest) failedJSON(srvr *server.Server) {
prefix, indent := this.prettyStrings(srvr.Pretty(), false)
this.writeString("{\n")
this.wri... | Go |
135,84,.25)}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.form-select.is-valid,.was-validated .form-select:valid{border-color:#198754}.form-select.is-valid:not([multiple]):not([s... | CSS |
/*
* GNU AFFERO GENERAL PUBLIC LICENSE
* Version 3, 19 November 2007
* Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
* Everyone is permitted to copy and distribute verbatim copies
* of this license document, but changing it is not allowed.
*/
us... | C# |
<$Res> {
factory _$TourCopyWith(_Tour value, $Res Function(_Tour) _then) = __$TourCopyWithImpl;
@override @useResult
$Res call({
String id, bool isStartup
});
}
/// @nodoc
class __$TourCopyWithImpl<$Res>
implements _$TourCopyWith<$Res> {
__$TourCopyWithImpl(this._self, this._then);
final _Tour _self;
... | Dart |
.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILI... | C++ |
/0YDQuNC80LXQvdGP0LXRgtGB0Y8= 159634
2YTZg9mG 159635
IFdJTkQ= 159636
4YOh4YOd4YOV 159637
IHdhaXRyZXNz 159638
dXJpbw== 159639
INmK2KjZhNi6 159640
INC00LXQv9C+0LfQuNGC 159641
IEJsYW5k 159642
LWludGVuc2l2ZQ== 159643
0LrQsNGI 159644
L3Rlc3Rz 159645
TGlicm8= 159646
RGlhZ25vc2lz 159647
INil2KvYsQ== 159648
INCd0JU= 159649
KEN... | Kotlin |
}
var (
file_wso2_discovery_service_apkmgt_eventds_proto_rawDescOnce sync.Once
file_wso2_discovery_service_apkmgt_eventds_proto_rawDescData = file_wso2_discovery_service_apkmgt_eventds_proto_rawDesc
)
func file_wso2_discovery_service_apkmgt_eventds_proto_rawDescGZIP() []byte {
file_wso2_discovery_service_apkmgt_e... | Go |
//! Any errors returned from the user defined callbacks or panics that happens anywhere in Rust is
//! logged by this crate before control is returned to OpenVPN. By default logging happens to
//! stderr. To activate logging with the `error!` macro in the `log` crate, build this crate with
//! the `log` feature.
//!
//... | Rust |
pute Fundamental Matrix
cv::Mat F12 = ComputeF12(mpCurrentKeyFrame,pKF2);
// Search matches that fullfil epipolar constraint
vector<pair<size_t,size_t> > vMatchedIndices;
matcher.SearchForTriangulation(mpCurrentKeyFrame,pKF2,F12,vMatchedIndices,false);
cv::Mat Rcw2 = pKF2->GetR... | C++ |
: none;
}
.karavan .project-builder .project-properties .delete-button {
padding: 0 0 0 6px;
margin: 0;
}
.karavan .project-builder .add-button {
width: fit-content;
margin-top: 6px;
}
.root .tooltip-required-field .pf-v5-c-tooltip__content {
text-align: start;
}
.karavan .kamelet-section {
... | CSS |
me,_.origin="file:"!==_.protocol&&isSpecial(_.protocol)&&_.host?_.protocol+"//"+_.host:"null",_.href=_.toString(),_},toString:function toString(s){s&&"function"==typeof s||(s=u.stringify);var o,i=this,a=i.host,_=i.protocol;_&&":"!==_.charAt(_.length-1)&&(_+=":");var w=_+(i.protocol&&i.slashes||isSpecial(i.protocol)?"//... | JavaScript |
;", predicates = "craftbukkit_version:[v1_17_R1,)")
// public native RefDamageSource critical(boolean critical);
}
package pers.neige.neigeitems.ref.nbt;
import org.inksnow.ankhinvoke.comments.HandleBy;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.UUID;
@HandleBy(reference =... | Java |
from dash import Dash, html, dcc, Input, Output, Patch, callback
import plotly.graph_objects as go
import datetime
import random
app = Dash(__name__)
fig = go.Figure()
app.layout = html.Div(
[
html.Button("Append", id="append-new-val"),
dcc.Graph(figure=fig, id="append-example-graph"),
]
)
... | Python |
yword,
TK_false = colors.keyword,
TK_break = colors.keyword,
TK_not = colors.keyword,
TK_local = colors.keyword,
TK_ne = colors.keyword,
["/37"] = colors.keyword,
TK_number = colors.number,
TK_string = colors.string,
TK_name = colors.default,
}
function syntax_process(str, markup)
markup:Clear()
... | Lua |
);
(
proj_dir
.parent()
.unwrap()
.join("build")
.join("flutter_assets"),
proj_dir.join("assets/icudtl.dat"),
)
}
Err(_) => {
let res = get_res_dir();
... | Rust |
import requests
import click
from fewsats.core import Fewsats
# Constants
WEATHER_BASE_URL="https://weather.l402.org"
def create_user():
resp = requests.post(f"{WEATHER_BASE_URL}/signup")
resp.raise_for_status()
data = resp.json()
print(f"New UserID: {data['user_id']}")
return data["user_id"]
de... | Python |
2(byteArray0, charArray0);
assertEquals(14, charArray1.length);
}
@Test(timeout = 4000)
public void test17() throws Throwable {
char[] charArray0 = new char[0];
byte[] byteArray0 = Hex.decodeHex0(charArray0);
char[] charArray1 = Hex.encodeHex2(byteArray0, charArray0);
assertNotSam... | Java |
import datetime
import re
from django.core.management.base import BaseCommand
from pages.models import Page
from ...models import Minutes
class Command(BaseCommand):
""" Move meeting notes from Pages to Minutes app """
def parse_date_from_path(self, path):
# Build our date from the URL
path... | Python |
"h4_int_03_light_recessed031",
[2767241352] = "sem2_grill_d1",
[3440951439] = "v_57_hallnormal",
[2839068819] = "ch_chint10_dirt_floor_stairs",
[2615722132] = "jest4_wing_b",
[3512385686] = "sf_fixeroffice_hw1_08",
[865648792] = "tor2_boot_cc",
[3582771359] = "ba_meth_smallbag",
[3921461409] = "cs1_occl_08",
... | Lua |
o.RecordObject(AssetArtScannerSettingData.Setting, "YooAsset.AssetArtScannerWindow RemoveScanner");
AssetArtScannerSettingData.RemoveScanner(selectScanner);
FillScannerListViewData();
}
// 收集列表相关
private void FillCollectorViewData()
{
var selectScanne... | C# |
ault_rx_params;
v4l2_subdev_call(sd, ir, rx_s_parameters, &default_params);
mutex_init(&state->tx_params_lock);
default_params = default_tx_params;
v4l2_subdev_call(sd, ir, tx_s_parameters, &default_params);
} else {
kfifo_free(&state->rx_kfifo);
}
return ret;
}
int cx23888_ir_remove(struct cx23885_dev *... | C |
;font-weight:normal}.ui-grid-menu-button .ui-grid-icon-container{margin-top:3px}.ui-grid-menu-button .ui-grid-menu{right:0}.ui-grid-menu-button .ui-grid-menu .ui-grid-menu-mid{overflow-y:scroll;max-height:300px;border:1px solid #d4d4d4}.ui-grid-menu{z-index:2;position:absolute;overflow:hidden;padding:0 10px 20px 10px;c... | CSS |
('');
expect(z(null)).toBe('');
expect(z(undefined)).toBe('');
expect(z({})).toBe('');
});
test('keeps original message intact in the output', () => {
const result = zalgo(msg);
// Check that our original message is still somewhere in the output
let searchIndex = 0;
result.split('').forEac... | Typescript |
tch::new(scope);
if fun.call(scope, object.into(), args).is_none() {
print_try_catch(scope);
}
}
}
}
fn to_string<'s>(
scope: &mut HandleScope<'s>,
value: Local<Value>,
) -> Option<String> {
match value.to_string(scope) {
Some(string) => Some(stri... | Rust |
ioMode: i32) -> usize;
fn mclBnG1_serialize(buf: *mut u8, maxBufSize: usize, x: *const G1) -> usize;
fn mclBnG1_deserialize(x: *mut G1, buf: *const u8, bufSize: usize) -> usize;
fn mclBnG1_add(z: *mut G1, x: *const G1, y: *const G1);
fn mclBnG1_sub(z: *mut G1, x: *const G1, y: *const G1);
fn mclBnG... | Rust |
/// <param name="radius"></param>
/// <param name="semiLatusRectum"></param>
/// <param name="eccentricity"></param>
/// <returns></returns>
public static double AngleAtRadus2(double radius, double semiLatusRectum, double eccentricity)
{
return Math.Acos(1 / eccentric... | C# |
R, loginResponse.data!.contactNumber.validate());
await setValue(FACEBOOK_URL, loginResponse.data!.facebookUrl.validate());
await setValue(TWITTER_URL, loginResponse.data!.twitterUrl.validate());
await setValue(GITHUB_URL, loginResponse.data!.githubUrl.validate());
await setValue(LINKDIN_URL, loginRespo... | Dart |
es_status);
fix_cl_hdr(&ishtp_hdr, len, ISHTP_SYSTEM_STATE_CLIENT_ADDR);
memset(&state_status_msg, 0, len);
state_status_msg.hdr.cmd = SYSTEM_STATE_STATUS;
state_status_msg.supported_states = supported_states;
current_state &= ~SUSPEND_STATE_BIT;
dev->print_log(dev, "%s() sends RESUME notification\n", __func__)... | C |
using Domain.Entities;
namespace Application.Interfaces
{
public interface IGenericService<T> where T : class
{
Task<IEnumerable<T>> GetEntitiesAsync();
| C# |
__, __LINE__);
if (guild == 0)
{
// create guild
guild = CGuild::createTransient(__FILE__, __LINE__);
guild->setGuildName("A test guild");
guild->setObjectId(guildId);
nlverify(guild->create(_Conn));
}
// add the tests
TEST_ADD(CRSMTS::scheduleSession);
TEST_ADD(CRSMTS::inviteChar);
TEST_A... | C++ |
/*BEGIN_LEGAL
Intel Open Source License
Copyright (c) 2002-2013 Intel Corporation. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
Redistributions of source code must retain the above copyright noti... | C |
.306667 256a201.002667 201.002667 0 0 0-23.594667 20.394667l-0.256-0.256L525.653333 426.666667l-133.290666 59.946666a14.08 14.08 0 0 0-8.021334 15.957334l28.757334 126.378666a14.208 14.208 0 0 0 27.733333-6.229333l-26.24-115.114667 126.037333-56.704 76.416 59.136a14.250667 14.250667 0 0 0 19.968-2.474666 14.08 14.08 0 ... | JavaScript |
.1"));
assert_eq(
"255[.]100[.]50[.]0",
Solution::defang_i_paddr("255.100.50.0"),
);
}
}
use text_loading_animation::{show_loading_animation, Destination};
use std::time::{Duration};
use std::sync::{Mutex, Arc};
use std::thread::{spawn, sleep};
use text_loading_animation::Pro... | Rust |
#!/usr/bin/env python
R = '\033[31m' # Red
N = '\033[1;37m' # White
G = '\033[32m' # Green
O = '\033[0;33m' # Orange
B = '\033[1;34m' #Blue
E = '\033[0m' # End
import sys,os
class find_shared_dns:
def __init__(self):
pass
def atom(self, host):
import urllib
from core.urli import sansor
... | Python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.