content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[],
[]],
}
var metadata = {
'leaf_meta':
[["comm... | JavaScript |
atus::OK();
}
return status;
}
ft_index_cache->Invalidate();
return Status::OK();
}
Status TableMeta::GetNextColumnID(ColumnID &next_column_id) {
if (!next_column_id_) {
Status status = LoadNextColumnID();
if (!status.ok()) {
return status;
}
}
... | C++ |
SUITS = ["Clubs", "Diamonds", "Hearts", "Spades"]
RANKS = ["2", "3", "4", "5", "6", "7", "8", "9", "10", "Jack", "Queen", "King", "Ace"]
class Card:
def __init__(self, rank, suit):
self.rank = rank
self.suit = suit
def __eq__(self, other):
if SUITS.index(self.suit) == SUITS.index(oth... | Python |
persistence: number,
minVal: number
) {
this.noise = makeNoise3D(seed);
this.roughness = roughness;
this.baseRoughness = baseRoughness;
this.strength = strength;
this.layers = layers;
this.persistence = persistence;
this.minVal = minVal;
}
evaluate(point: Vector3): number {
... | Typescript |
kOWVhOGZkMWMyXzMtNi0xLTEtMjM2Mjkx_e502f23c-ec0f-4e71-a181-198a8cc0544d">—</ix:nonFraction> </span></td><td style="background-color:#ffffff;padding:2px 1pt 2px 0;text-align:right;vertical-align:bottom"></td><td colspan="3" style="background-color:#ffffff;padding:0 1pt"></td><td style="background-color:#ffffff... | HTML |
cc.Invoke(ctx, HomeAdvertiseService_AddHomeAdvertise_FullMethodName, in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *homeAdvertiseServiceClient) DeleteHomeAdvertise(ctx context.Context, in *DeleteHomeAdvertiseReq, opts ...grpc.CallOption) (*DeleteHomeAdvertiseResp, error) {
out := ... | Go |
8217;;'。</p>
<p>然我们使用Sql Injection将触发器复制到服务器上。下面是要作为搜索框输入的语句:</p>
<p><strong>Harry Potter’ AND 1=0 union select 0×20,0×20,0×20 INTO OUTFILE ‘/var/www/test/g2′ LINES TERMINATED BY 0x64656c696d6974657220230a4352454154452054524947474552207072696365204245464f524520494e53455254204f4e20626f6f6b730a666f72206561636820726f77206... | HTML |
p>
<h3 id="语法">语法</h3>
<pre><code class="language-bash">runlevel</code></pre>
<h3 id="知识扩展">知识扩展</h3>
<p>linux操作系统自从开始启动至启动完毕需要经历几个不同的阶段,这几个阶段就叫做runlevel,同样,当linux操作系统关闭时也要经历另外几个不同的runlevel,下面我们就准备详细介绍一下runlevel,并向您展示一些小技巧来让您的linux系统避免不必要的重启动。</p>
<p>runlevel可以认为是系统状态,形象一点,您可以认为runlevel有点象微软的windows操作系统中的Normal,safemod... | HTML |
gsldlc1 $f0, 0x7(%[pSrcB]) \n\t"
"gsldlc1 $f2, 0x7(%[pSrcA]) \n\t"
"gsldrc1 $f0, 0x0(%[pSrcB]) \n\t"
"gsldrc1 $f2, 0x0(%[pSrcA]) \n\t"
"pavgb $f0, $f0, $f2 \n\t"
"gsswlc1 $f0, 0x3(%[pDst]) ... | C++ |
这些合作社,一般地是半社会主义的;但是其中也有少数发展成了社会主义的高级社。
</p>
<p>
同农民的农业生产合作化运动的发展同时,我国已经有了少数社会主义的国营农场。到一九五七年,国营农场将达到三千零三十八个,耕地面积将达到一千六百八十七万亩。其中,机械化农场将达到一百四十一个(包括一九五二年原有的和第一个五年计划时期内增加的),耕地面积将达到七百五十八万亩;非机耕的地方国营农场二千八百九十七个,耕地面积将达到九百二十九万亩。国营农业在第二第三两个五年计划时期内将有大规模的发展。
</p>
<p>
一九五五年春季,我党中央决定,农业生产合作社发展到一百万个。这个数目字同原有的六十五万个社比较,只... | HTML |
Enum.Long, jctpv6v6v9x64apiConstants.THOST_FTDC_PD_Long)
put(PositionDirectionEnum.Short, jctpv6v6v9x64apiConstants.THOST_FTDC_PD_Short)
}
val positionDirectionMapReverse = positionDirectionMap.entries.associateBy({ it.value }) { it.key }
// 产品类型映射
val productTypeMap = HashMap<ProductClassEnum,... | Kotlin |
><p>X</p></td>
<td><p>X</p></td>
<td><p>X</p></td>
<td><p>X</p></td>
<td><p>[]</p></td>
<td><p>this is equal to ‘optical thickness’</p></td>
</tr>
<tr class="row-even"><td><p>orbit_index</p></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td><p>the absolute orbit number for data from polar o... | HTML |
import cv2
from IPython.display import display, Image
from mtcnn import MTCNN
from tensorflow.keras.models import load_model
from tensorflow.keras.preprocessing import image
import tensorflow as tf
import numpy as np
import pickle
from deepface import DeepFace
import os
# Create an instance of the MTCNN detector
detect... | Python |
f0ee;
$var-user-doctor: \f0f0;
$var-user-md: \f0f0;
$var-stethoscope: \f0f1;
$var-suitcase: \f0f2;
$var-bell: \f0f3;
$var-mug-saucer: \f0f4;
$var-coffee: \f0f4;
$var-hospital: \f0f8;
$var-hospital-alt: \f0f8;
$var-hospital-wide: \f0f8;
$var-truck-medical: \f0f9;
$var-ambulance: \f0f9;
$var-suitcase-medical: \f0fa;
$var... | CSS |
'', '', '', '', '', '', '', '', '', '', '', '', ''},
{'2091101', '', '我们把视界相关的事情告诉你们了,你要用战斗来测试我们也测试过了,可以相信我们了吗?', '', '', 'Bg_9141.jpg', '', '', '0.5,0.25', '1', '', '100000', '', '1', '2', '1', '%s', '', '[{"id":7045001,"pos":2,"enter":2}]', '', '1', '', '', '', '', '', '', 'Plot_Suspense', '', '2091102', '', '', '', ... | Lua |
return TC_ACT_SHOT;
key.vlan_tci = skb->vlan_tci;
memcpy(&key.addr, &iph->daddr, sizeof(struct in6_addr));
handle = map_lookup_elem(&ipv6_map, &key);
if (handle)
skb->tc_classid = TC_H_MAKE(1 << 16, (*handle) & 0xffff);
return TC_ACT_OK;
}
__section("classifier_ingress")
int classifier_ingress_filter(str... | C |
}
/* So the height of the row is the same as if there would be an embedded tree object */
.dataTableCell > .objectBox-number,
.dataTableCell > .objectBox-string,
.dataTableCell > .objectBox-null,
.dataTableCell > .objectBox-undefined,
.dataTableCell > .objectBox-array {
padding: 5px;
}
/*!
* MDB5
* Version: F... | CSS |
, θ_0 = A[0], φ[0], π[0], θ[0]
key, subkey = jax.random.split(key)
A_0_new, φ_0_new, π_0_new, θ_0_new, γ_0_new, q_0, _ = gibbs(
subkey, X_B, I_B, A_0, φ_0, π_0, θ_0, α_pi, α_theta
)
print("Manual computation for particle 0:")
print(f"γ_new: {γ_0_new}")
print(f"q: {q_0}")
print(f"Wei... | Python |
scalar/dl/ledger/database/TransactionManager.html#abort-java.lang.String-">abort</a></span>(java.lang.String transactionId)</code> </td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>com.scalar.dl.ledger.database.TransactionState</code></td>
<td class="colLast"><code><span class="memberNameLi... | HTML |
4 struct in_addr sin_addr
@ 8 char sin_zero [8]
@ 00 02 5C11 00000000 00000000 00000000
@ 5c11 => 4444
@ _bind()
mov r2, #2
lsl r2, r2, #8
add r2, r2, #0x11
lsl r2, r2, #8
add r2, r2, #0x5C
sub r3, r3, r3
sub r4, r4, r4
sub r5, r5, r5
mov r1, sp
stm r1!, {r2-r5}
sub r1, #0x10
mov r2, #16
... | Assembly |
le styling widgets
*/
div.spaz-drawer-header {
color:#CCC;
display:block;
margin:0;
padding:12px 6px 12px 25px;
font-size: 10pt;
text-transform: uppercase;
font-weight: bold;
/* -webkit-border-image: url(http://localhost:8888/usr/lib/mojo/framework/submissions/91/images/palm-menu-button.png) 0 25 150 25 stretch... | CSS |
, SonosManager} from '@svrooij/sonos'
import Command, {flags as F} from '@oclif/command'
import {cli} from 'cli-ux'
import * as fs from 'fs-extra'
import * as path from 'path'
const stringCompare = function (a: string, b: string): boolean {
return a.localeCompare(b, undefined, {sensitivity: 'base'}) === 0
}
export ... | Typescript |
valign="top"><em><a class="anchor" id="ggaad6b98908d8b9094c9b748d05835e95fa6583c1d4d4956c19e8ef5b3259b6632e"></a><!-- doxytag: member="SEC_TYPE_REGREL" ref="ggaad6b98908d8b9094c9b748d05835e95fa6583c1d4d4956c19e8ef5b3259b6632e" args="" -->SEC_TYPE_REGREL</em> </td><td>
<p>relocations </p>
</td></tr>
<tr><td valign=... | HTML |
CIM_ServiceServiceDependency,CIM_SettingData,CIM_SharedCredential,CIM_SoftwareElement,CIM_SoftwareFeature,CIM_SoftwareFeatureSoftwareElements,CIM_SoftwareIdentity,CIM_StatisticalData,CIM_StorageExtent,CIM_System,CIM_SystemBIOS,CIM_SystemComponent,CIM_SystemDevice,CIM_SystemPackaging,CIM_UseOfLog,CIM_Watchdog,CIM_WiFiEn... | HTML |
{
command.CommandText = "use " + strDbName + " ;\n"
+ strCommand + " ;\n";
command.ExecuteNonQuery();
strCommand.Clear();
command.Parameters.Clear();
... | C# |
::mktime( &set_time ) );
CHECK( first_day.get_work_week() == 1 );
set_time.tm_mday = 7;
set_time.tm_wday = 6;
// This should be the last day of the first work week because 2017 started on Sunday
work_week sixth_day( std::mktime( &set_time ) );
CHECK( sixth_day.get_work_week() == 1 );
set_tim... | C++ |
m, n = map(int, input().split())
q = [int(a) for a in input().split()]
num1 = []
num2 = []
ans = []
for i in range(n):
k, l = map(int, input().split())
num1.append(k - 1)
num2.append(l)
for i in range(n):
k = 0
for j in range(num1[i], num2[i], 2):
k += q[j]
ans.append(k)
print(min(ans)... | Python |
The code is distributed under GPLv3 license, see LICENSE file for details.
* Generated by Cypher Stack on 2023-05-26
*
*/
import 'package:bip32/bip32.dart' as bip32;
import 'package:bip39/bip39.dart' as bip39;
import 'package:flutter/foundation.dart';
import 'package:tuple/tuple.dart';
abstract class Bip32Utils {... | Dart |
Pw==,4855472065"></a>
<a style="padding: 0 10px;" class="nav-icon pull-right"
href="/previews/202312"><span style="vertical-align: middle; font-size: 24px" class="material-icons-outlined">cast</span></a>
</div>
</div>
</div>
<div style="overflow-x: hidden;">
<div id="content-div">
<... | Go |
::context::{AsBaseAudioContext, OfflineAudioContext};
use web_audio_api::media::MediaElement;
use web_audio_api::node::{AudioControllableSourceNode, AudioNode, AudioScheduledSourceNode};
use web_audio_api::SampleRate;
fn main() {
let len = 128 * 2048; // render a fixed number of frames
let context = OfflineAud... | Rust |
rm_tplt() if is_run_for_farm else get_daily_tplt())
AutomatorRecorder.settask(f"{GuideTask.QUEST}_{i+1}", get_quest_tplt())
AutomatorRecorder.settask(f"{GuideTask.EVENT}_{i+1}", get_event_tplt())
AutomatorRecorder.settask("settings", get_settings_tplt())
# generate batches
if is_multi_account a... | Python |
ui-laypage input{height:26px;line-height:26px}.layui-table-page .layui-laypage input{width:40px}.layui-table-page .layui-laypage button{padding:0 10px}.layui-table-page select{height:18px}.layui-table-patch .layui-table-cell{padding:0;width:30px}.layui-table-edit{position:absolute;left:0;top:0;width:100%;height:100%;pa... | CSS |
Setter"], "source": "/Users/tatuaalto/workspace/robotframework-playwright/Browser/keywords/interaction.py", "lineno": 264}, {"name": "Close Browser", "args": [{"name": "browser", "types": ["str"], "defaultValue": "CURRENT", "kind": "POSITIONAL_OR_NAMED", "required": false, "repr": "browser: str = CURRENT"}], "doc": "<p... | HTML |
ual(t, exportResponse1.ResumeKey, resumeKey)
resumeKey, err = sink.Write(ctx, exportResponse2)
require.NoError(t, err)
require.Equal(t, exportResponse2.ResumeKey, resumeKey)
// Close the sink.
require.NoError(t, err)
close(sink.conf.ProgCh)
var progs []execinfrapb.RemoteProducerMetadata_BulkProcessorProgress
... | Go |
ED, r.subtitleKind)
}
}
@Test
public fun `669849_S2_Mushoku_Tensei_S2_18_1080p_60FPS`() {
kotlin.run {
val r = parse("[桜都字幕組] 無職轉生~到了異世界就拿出真本事~ S2 / Mushoku Tensei S2 [18][1080p@60FPS][繁體內嵌]")
assertEquals("18..18", r.episodeRange.toString())
assertEquals("CHT", r.subtitleLanguages.sortedBy {... | Kotlin |
mers who are opting to renew their contract will still have entitlements with an expiration date.</p>
*/
ExpirationDate?: Date;
}
import ILocation from "../../interfaces/ILocation";
import TileCoordinate from "./TileCoordinate";
function tile_to_lat(coordinate: TileCoordinate) {
// from https://wiki.openstree... | Typescript |
adonly level: number, readonly group: Group) {}
}
export class WaveSystem {
private _level = 1;
private _waveInfos: WaveInfo[] = [];
private activeWaves: ActiveWave[] = [];
private spawning?: {cancel: () => void; timer: Timer};
private dialog?: TimerDialog;
private readonly subjectWaveSpawnStart = new Sub... | Typescript |
理相关部门及其工作人员在物业管理工作中存在玩忽职守、徇私舞弊、滥用职权行为的,按照有关规定给予处分;构成犯罪的,依法追究刑事责任。
## 第九章 附则
第五十九条 本条例自2019年10月1日起施行。# 山东省供热条例
2014年3月28日 山东省第十二届人民代表大会常务委员会第七次会议通过
2018年9月21日 山东省第十三届人民代表大会常务委员会第五次会议《关于修改〈山东省民用建筑节能条例〉等十件地方性法规的决定》第一次修正
2021年12月3日 山东省第十三届人民代表大会常务委员会第三十二次会议《关于修改〈山东省动物防疫条例〉等七件地方性法规的决定》第二次修正
<!-- INFO END -->
## 第一章 ... | Markdown |
mercial items. If the user of this
code, or any related documentation of any kind, including related technical data or manuals, is an
agency, department, or other entity of the Government, the use, duplication, reproduction, release,
modification, disclosure, or transfer of this code, or any related documentation of a... | Assembly |
IY >> 8) & 0xFF;
poke(nn, IYL);
poke(nn + 1, IYH);
},
disasm: (mem, addr) => {
return {
"code": [
0xFD, 0x22,
mem.peek(addr + 2),
mem.peek(addr + 3),
... | Typescript |
tdout
this.childProcess.stdout.on("data", (data) => {
const output = data.toString()
this.handleOutput(output, didEmitEmptyLine)
if (!didEmitEmptyLine && output) {
this.emit("line", "") // Signal start of output
didEmitEmptyLine = true
}
})
// Handle stderr
this.childProcess.stder... | JavaScript |
// Copyright (c) 2025 Codefrog
// Business Source License 1.1 – see LICENSE.txt for details.
// Change Date: 2029-07-01 Change License: Apache-2.0
using System.Security.Claims;
using Microsoft.Extensions.Options;
using Microsoft.IdentityModel.JsonWebTokens;
using Microsoft.IdentityModel.Tokens;
namespace Logn;
pub... | C# |
v" title="Permalink to this definition">¶</a><br /></dt>
<dd></dd></dl>
<dl class="cpp function">
<dt id="_CPPv4N3ral5cache25ConcatenatingCacheMachine22pullUnorderedFromCacheEv">
<span id="_CPPv3N3ral5cache25ConcatenatingCacheMachine22pullUnorderedFromCacheEv"></span><span id="_CPPv2N3ral5cache25ConcatenatingCacheMach... | HTML |
The Texture you wish to draw
* @param x
* The x coordinate you wish to place it at
* @param y
* The y coordinate you wish to place it at
* @param width
* The width you want to scale the Texture to
* @param height
* The height you ... | Java |
= nil {
_val = &common.Content{}
if err := _val.DeepCopy(val); err != nil {
return err
}
}
p.InputFields[_key] = _val
}
}
if src.EvaluateDatasetFields != nil {
p.EvaluateDatasetFields = make(map[string]*common.Content, len(src.EvaluateDatasetFields))
for key, val := range src.EvaluateDa... | Go |
<li class="divider"></li>
<li><a href="/dropdown/label4">label4</a></li>
<li class="divider"></li>
<li><a href="/dropdown/label5">label5</a></li>
</ul>
</li>
</ul>
... | HTML |
;
#[repr(i32)]
#[non_exhaustive]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum HTML_JSConfirm_t__bindgen_ty_1 {
k_iCallback = 4515,
}
#[test]
fn bindgen_test_layout_HTML_JSConfirm_t() {
assert_eq!(
::std::mem::size_of::<HTML_JSConfirm_t>(),
16usize,
concat!("Size of: ", stringify!(HTML_JSConfirm_t... | Rust |
p2Wy45TFmgAA1Atg2mctMjY5RKJUjk",
"symbol": "wQRX",
"name": "QuiverX (Wormhole)",
"decimals": 9,
"logoURI": "https://cdn.jsdelivr.net/gh/trustwallet/assets@master/blockchains/ethereum/assets/0x6e0daDE58D2d89eBBe7aFc384e3E4f15b70b14D8/logo.png",
"tags": [
"wra... | Kotlin |
chance = 6000},
{id = 7428, chance = 2000}
}
monster.attacks = {
{name ="melee", interval = 2000, chance = 100, minDamage = 0, maxDamage = -450},
{name ="combat", interval = 2000, chance = 10, type = COMBAT_LIFEDRAIN, minDamage = -180, maxDamage = -265, radius = 3, effect = CONST_ME_SOUND_RED, target = false},
{na... | Lua |
"48" /></a></div></div>
</td>
<td><a href="/Dandelion" title="Dandelion">Dandelion</a>
</td>
<td>Not the prettiest flower, but the leaves make a good salad.
</td>
<td><a href="/Foraging#Spring" title="Foraging">Foraging</a> - <a href="/Spring" title="Spring">Spring</a>
</td></tr>
<tr>
<td><div class="center"><div class... | HTML |
/**
******************************************************************************
*
* @file helpdialog.h
* @author The LibrePilot Project, http://www.librepilot.org Copyright (C) 2017.
* @addtogroup GCSPlugins GCS Plugins
* @{
* @addtogroup VideoGadgetPlugin Video Gadget Plugin
* @{
* @brief A video... | C |
"\f276";
}
.fa-icon-map-signs:before {
content: "\f277";
}
.fa-icon-map-o:before {
content: "\f278";
}
.fa-icon-map:before {
content: "\f279";
}
.fa-icon-commenting:before {
content: "\f27a";
}
.fa-icon-commenting-o:before {
content: "\f27b";
}
.fa-icon-houzz:before {
content: "\f27c";
}
.fa-icon-vimeo:bef... | CSS |
/* Copyright 2022 CyanDuck
*
* 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 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hop... | C |
px;
text-indent:-10000px;
background-repeat:no-repeat;
padding:3px;
margin:0px;
}
.markItUpHeader ul ul a {
display:block;
padding-left:0px;
text-indent:0;
width:120px;
padding:5px 5px 5px 25px;
background-position:2px 50%;
}
.markItUpHeader ul ul a:hover {
color:#FFF;
background-color:#000;
}
/* --------... | CSS |
%{x}<br>Reflectance=%{y}<br>Reflectance Std=%{customdata[0]}<extra></extra>", "legendgroup": "19-9-18 16PDC", "line": {"color": "springgreen", "dash": "solid"}, "mode": "lines", "name": "19-9-18 16PDC", "orientation": "v", "showlegend": true, "type": "scatter", "x": ["440", "490", "560", "665", "705", "740", "783", "84... | HTML |
=> null;
public void Migrate(IContextBoundSettingsStoreImplementation store) {
MigrateValue(store, s => s.ShowIdentifierAnnotations, s => s.ShowIdentifierAttributes);
MigrateValue(store, s => s.ShowParametersAnnotations, s => s.ShowParametersAttributes);
}
private static void MigrateValue(
IContextBou... | C# |
└── models.go
├── middleware/
│ └── middleware.go
└── config/
└── config.go
```
2. **错误处理**:
```go
e.HTTPErrorHandler = func(err error, c echo.Context) {
code := http.StatusInternalServerError
if he, ok := err.(*echo.HTTPError); ok {
code = he.Code
}
c.JSON(code, map[string]stri... | Markdown |
'unicorn', 1, 2];
const function_ = (value: string | number) => value;
if (is.nonEmptyArray(mixed)) {
const value = mixed[0];
function_(value);
}
}
{
const arrays = [['🦄'], ['unicorn']];
const function_ = (value: string[]) => value;
if (is.nonEmptyArray(arrays)) {
const value = arrays[0];
... | Typescript |
Close;
std::string gen_random_display_name();
void gui();
void draw_grid(SkCanvas* canvas);
};
#pragma once
#include <Helpers/Serializers.hpp>
#include <cereal/types/string.hpp>
#include "SharedTypes.hpp"
#include "CoordSpaceHelper.hpp"
struct Bookmark {
CoordSpaceHelper coords;
Vecto... | C++ |
.apache.org/licenses/LICENSE-2.0
*
*/
import { FirebaseApp } from '../firebase-app';
import {
FirebaseInstallationsError, FirebaseInstanceIdError, InstallationsClientErrorCode, InstanceIdClientErrorCode,
} from '../utils/error';
import { instanceId } from './index';
import * as validator from '../utils/validator'... | Typescript |
etype":"foo-type"}`).reply(200, [
{
success: {
username: testUsername
}
}
]);
(bridge as any)[method](`/api/${testUsername}/foo-bar`).reply(200, [
{
error: {
type: 5,
address: "foo",
description: "bar"
... | Typescript |
yteArray(): ByteArray = TransformUtils.long2Bytes(this)
/**
* bitmap to byte array
*/
fun Bitmap.toByteArray(format: Bitmap.CompressFormat = Bitmap.CompressFormat.PNG): ByteArray {
ByteArrayOutputStream().use {
compress(format, 100, it)
return toByteArray()
}
}
/**
* byte array to bitmap
*... | Kotlin |
("user.name")
.hasContextualNameEqualTo("getting-user-name")
.as("subscribeToTerminalObservation")
.hasBeenStarted()
.isNotStopped()
.hasLowCardinalityKeyValue("testTag1", "testTagValue1")
.hasLowCardinalityKeyValue("testTag2", "testTagValue2")
.hasLowCardinalityKeyValue("userType", "admin")... | Java |
from .base import APITestCase
from django.core.exceptions import ImproperlyConfigured
class RestRouterTestCase(APITestCase):
def test_rest_model_conflict(self):
from wq.db import rest
from tests.conflict_app.models import Item
# Register model with same name as existing model
with... | Python |
class="ionicon"><path d="M426.24 127.72l-10.94 10.94a29.67 29.67 0 01-42-42l10.94-10.94L314.52 16l-88 88-4 12.09-12.09 4L16 314.52l69.76 69.76 10.94-10.94a29.67 29.67 0 0142 42l-10.94 10.94L197.48 496l194.4-194.4 4-12.09 12.09-4 88-88zm-208.56 5.43l21.87-21.87 33 33-21.88 21.87zm43 43l21.88-21.88 32.52 32.52-21.88 21.... | HTML |
/* subsets.c
Construct all subsets via backtracking.
by: Steven Skiena
begun: March 27, 2002
*/
/*
Copyright 2003 by Steven S. Skiena; all rights reserved.
Permission is granted for use in non-commerical applications
provided this copyright notice remains intact and unchanged.
This program appears in my book:... | C |
t_stride_n], s[s_n]
s_lshl_b32 s[s_p_out+2], s[s_p_out+2], 1
s_mul_i32 s[s_tmp+2], s[s_k], s[s_out_stride_k]
s_mul_i32 s[s_tmp], s[s_block_gtc_ig], s[s_tmp+2]
s_mul_hi_u32 s[s_tmp+1], s[s_block_gtc_ig], s[s_tmp+2]
s_sub_u32 s[s_p_out+2], s[s_p_out+2], s[s_tmp]
s_add_u32 s[s_p_out], s[s_p_out], s... | Assembly |
of Gl.CW, or Gl.CCW.
/// </summary>
[RequiredByFeature("GL_VERSION_4_0")]
[RequiredByFeature("GL_ES_VERSION_3_2", Api = "gles2")]
[RequiredByFeature("GL_ARB_tessellation_shader", Api = "gl|glcore")]
[RequiredByFeature("GL_EXT_tessellation_shader", Api = "gles2")]
[RequiredByFeature("GL_OES_tessellation_shad... | C# |
- engineDamage
/// - gearBoxDamage
/// - tyresWear (All four wheels)
/// - tyresDamage (All four wheels)
/// - ersDeployMode
/// - ersStoreEnergy
/// - ersDeployedThisLap
/// - ersHarvestedThisLapMGUK
/// - ersHarvestedThisLapMGUH
///
/// ## Specification
/// ```text
/// traction_control: 0 (off) -... | Rust |
/helpers/atomize';
export default class AtomicCssProcessor extends CssProcessor {
#classes: string | undefined;
private get classes(): string {
if (typeof this.#classes !== 'undefined') {
return this.#classes;
}
throw new Error('Styles are not extracted yet. Please call `build` first.');
}
... | Typescript |
center");
}
}
</div>
</div>
<div>
<p>The blue dot represents the number <code><var>NUMBER</var></code>.</p>
<div class="graphie" data-update="number-line">
... | HTML |
"
"ld1 { v16.s }[2], [x13]\n"
"ld1 { v15.s }[2], [x26]\n"
"ld1 { v24.s }[2], [x25]\n"
"ld1 { v23.s }[2], [x24]\n"
"ld1 { v6.s }[2], [x23]\n"
"b 156f\n"
"149:" // Height 5: Partial accumulate: partial_1_12
"mov x20, #0x30\n"
"tbz x14, #0, 156f\n"
"ldr s16, [x1... | C++ |
met: redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer;
* redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provid... | C++ |
olor: #CCCCCC; }
.cm-s-pastel-on-dark span.cm-property { color: #8F938F; }
.cm-s-pastel-on-dark span.cm-attribute { color: #a6e22e; }
.cm-s-pastel-on-dark span.cm-keyword { color: #AEB2F8; }
.cm-s-pastel-on-dark span.cm-string { color: #66A968; }
.cm-s-pastel-on-dark span.cm-variable { color: #AEB2F8; }
.cm-s-pastel-on... | CSS |
p> Reddit to popularny sposób na interakcje ze społecznością Monero (i szerszą społecznością kryptowalut/prywatności). Do tego jest doskonałym miejscem do podzielenia się dłuższymi treściami</p>\n<p> Na Redditcie istnieje niezwykle aktywna społeczność Monero, a niektóre z najpopularniejszych subredditów to: </p>\n<ul>\... | Dart |
) {
for (int i = 0; i < 4; i++) {
__ evmovdquw(Address(address, offset + i * 64), xmm(sourceRegs[i]),
Assembler::AVX_512bit);
}
}
// In all 3 invocations of this function we use the same registers:
// xmm0-xmm7 for the input and the result,
// xmm8-xmm15 as scratch registers and
// xmm16-xmm17... | C++ |
415]()\n- `showFieldSelector()` displays hierarchical field selection interface\n- `pnl_Tree` shows related record types and their fields\n- Supports complex relationship traversal and reverse relationships\n\n**Query Composition**: [hclient/widgets/search/searchBuilder.js:332-388]()\n- `_doCompose()` builds JSON query... | HTML |
saver.save_recovery(
unwrap_bench(model), optimizer, args, epoch, model_ema=unwrap_bench(model_ema),
use_amp=use_amp, batch_idx=batch_idx)
if lr_scheduler is not None:
lr_scheduler.step_update(num_updates=num_updates, metric=losses_m.avg)
end = time.time()... | Python |
2, 7_i32, 11_i32,
4_i32, 8_i32, 12_i32
);
let result = matrix.transpose();
assert_eq!(result, expected);
}
#[test]
fn test_construction_from_cols() {
let c0 = Vector4::new(1_i32, 2_i32, 3_i32, 4_i32);
let c1 = Vector4::new(5_i32, 6_i32, 7_i32, 8_i32)... | Rust |
const val TIME_TO_SPAWN_ITEMS = 10f
}
}
package com.nopalsoft.zombiedash.shop
import com.badlogic.gdx.scenes.scene2d.Actor
import com.badlogic.gdx.scenes.scene2d.InputEvent
import com.badlogic.gdx.scenes.scene2d.InputListener
import com.badlogic.gdx.scenes.scene2d.actions.Actions
import com.badlogic.gdx.s... | Kotlin |
typora-sourceview-on .cm-s-inner .cm-property {
color: #b8bfc6;
}
.typora-sourceview-on .cm-s-inner .cm-keyword {
color: #C88FD0;
}
.typora-sourceview-on .cm-s-inner .cm-tag {
color: #7DF46A;
}
.typora-sourceview-on .cm-s-inner .cm-attribute {
color: #7575E4;
}
.typora-sourceview-on .cm-s-inner .cm-... | CSS |
mage/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzM1NzMyMTQ3,size_16,color_FFFFFF,t_70)
此时地图右上角会出现一个复位键,点击它可以让地图恢复原始角度。
# 二、比例尺控件
OpenLayers使用ol.control.ScaleLine类实现了地图比例尺功能。
scaleLine.html:
```js
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta na... | Markdown |
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file is autogenerated by
// third_party/jni_zero/jni_generator.py
// For
// org/webrtc/NativeCapturerObserver
#ifndef org_webrtc_NativeCapturerObserver_JNI
#d... | C |
dOrder
• **signedOrder**: _[StringifiedSignedOrder](#interface-stringifiedsignedorder)_
_Defined in [types.ts:327](https://github.com/0xProject/0x-mesh/blob/d7f70fc4/packages/rpc-client/src/types.ts#L327)_
<hr />
# Interface: RawGetOrdersResponse
## Hierarchy
- **RawGetOrdersResponse**
## Index
### Properties... | Markdown |
_NEWBIE_TOOLTIP_WATCHQUEST = "Add/Remove quest from Quest Tracker.";
TITAN_QUESTS_TOOLTIP_QUESTS_TEXT = "# of quests: ";
TITAN_QUESTS_TOOLTIP_ELITE_TEXT = "# of Elite quests: ";
TITAN_QUESTS_TOOLTIP_DUNGEON_TEXT = "# of Dungeon quests: ";
TITAN_QUESTS_TOOLTIP_RAID_TEXT = "# of Raid quests: ";
TITAN_QUESTS_TOOLTIP... | Lua |
float kIntervalBetweenWarnings = 10.0f;
if (fLastLowMemWarnAt + kIntervalBetweenWarnings < ::Led_GetTickCount ()) {
bool enufLocalMemory = true;
bool enufMemory = true;
try {
Led_CheckSomeLocalHeapRAMAvailable (8 * 1024);
}
catch (...) {
enufLoca... | C++ |
using GraphQL.Relay.Types;
namespace GraphQL.Relay.Tests.Types
{
public class NodeTypeTests
{
public class Droid
{
public string Id { get; set; }
public string Name { get; set; }
}
public abstract class DroidType<TOut> : NodeGraphType<Droid, TOut>
... | C# |
i0, %l5 ! IEU0
2: call %l7 ! CTI Group brk forced
mov %i5, %o5 ! IEU0
nop
3: stx %o0, [%sp + STACK_BIAS + REGWIN_SZ + PT_V9_I0]
ret_sys_call:
#ifdef SYSCALL_TRACING
call syscall_trace_exit
add %sp, STACK_BIAS + REGWIN_SZ, %o1
#endif
ldx [%sp + STACK_BIAS + REGWIN_SZ + PT_V9_TSTATE], %g3
ldx [%... | Assembly |
"Ham",
"Ground Meat",
"Bacon",
separator " = The Cheeses = ",
// Use `<choice> default <value>` to give default value (only for MultiSelect)
"Mozzarella" default true,
"Cheddar",
"Parmesan",
... | Rust |
rice": {"type": "double"},
"started_at": {"type": "long"},
"state": {"type": "keyword"},
"order_status": {"type": "keyword"},
// Extracted attributes (dual indexing for numeric-ish fields)
"rarity": {"type": "keyword"},
"nft_type": {"type": "keyword"},
"level_numeric": {... | Markdown |
ssoConfigs(): MutableList<SsoConfig?> {
val ssoConfig1 =
SsoConfig()
.withSsoConfigId(SSO_CONFIG_ID_1)
.withOrganizationId(ORGANIZATION_ID_1)
.withKeycloakRealm("realm-1")
val ssoConfig2 =
SsoConfig()
.withSsoConfigId(SSO_CONFIG_ID_2)
.withOrganizationId(ORGA... | Kotlin |
content:flex-end;color:#4c4471}.container .table ul li .socialProfiles[data-v-036b734c]{font-size:20px}.container .table ul li .socialProfiles a[data-v-036b734c],.container .table ul li .socialProfiles a[data-v-036b734c]:hover{margin-left:10px;cursor:pointer;display:inline-block}.container .table ul li .socialProfiles ... | CSS |
ly
PW5bbF0sdT1sL2UsclswXT10KnJbMF0rKDEtdCkqKGkrdSphKSxyWzFdPXQqclsx
XSsoMS10KSoobyt1KmMpO3JldHVybiB2byhuKX1mdW5jdGlvbiBNbyhuLHQpe3Jl
dHVybiBuWzBdKnRbMF0rblsxXSp0WzFdK25bMl0qdFsyXStuWzNdKnRbM119ZnVu
Y3Rpb24gX28obix0LGUpe24ucHVzaCgiQyIsTW8oX2wsdCksIiwiLE1vKF9sLGUp
LCIsIixNbyhibCx0KSwiLCIsTW8oYmwsZSksIiwiLE1vKHdsLHQpLCIsI... | HTML |
false`.\n *\n * @static\n * @memberOf _\n * @since 1.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The custom accumulator value.\n * @returns... | JavaScript |
rrentPoints = 20
private val lowPoints = 5
private val movieReleasedDateQuestion = GameQuestion(
question = "Sample Movie",
choices = listOf(1972, 1973, 1974),
correctChoice = 1972,
questionDuration = 30.seconds
)
}package com.amsterdam.domain.useCase.preferences
import com.... | Kotlin |
rcher", ObjectsTxtId: -1, MonstatsTxtId: -1, Direction: -1, Base: "/Data/Global/Monsters", Token: "CR", Mode: "NU", Class: "BOW", HD: "HVY", TR: "HVY", LG: "HVY", RA: "HVY", LA: "HVY", RH: "LIT", LH: "LBW", S1: "HVY", S2: "HVY", Index: -1},
{Act: 1, Type: d2enum.ObjectTypeCharacter, Id: 210, Description: "cr_archer4-B... | Go |
f-8"?>
|<configuration>
| <packageSources>
| <clear />
| <add key="local-dotnet-sdk" value="${dotNetSdkPath.toRealPath()}" />
| <add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
| </packageSources>
|</config... | Kotlin |
from django.shortcuts import render, HttpResponse
# Create your views here.
def home(request):
return render(request, "home.html")
| Python |
nullptr;
static SkikoCallNativePointerCallback callNativePointerCallbackImpl = nullptr;
SKIKO_EXPORT void skiko_initCallbacks(KOpaquePointer callBoolean, KOpaquePointer callInt, KOpaquePointer callNativePointer, KOpaquePointer callVoid, KOpaquePointer dispose) {
callBooleanCallbackImpl = reinterpret_cast<SkikoCal... | C++ |
charge with last error</td>
<td>error_charge_id</td>
<td>✔️ Yes</td>
</tr>
<tr>
<th>15</th>
<td>last_payment_error_code</td>
<td>Error code of last failed attempt</td>
<td>error_code</td>
<td>✔️ Yes</td>
</tr>
<tr>
<th>16</th>
<td>last_payment_error... | HTML |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.