content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
28, fm);
}
px_void PX_Designer_AutoTextSetText(PX_Object* pobject, const px_char text[])
{
PX_Object_AutoTextSetText(pobject, text);
}
px_bool PX_Designer_AutoTextGetText(PX_Object* pobject, px_string* str)
{
return PX_StringSet(str, PX_Object_AutoTextGetText(pobject));
}
PX_Designer_ObjectDesc PX_Object_AutoTextD... | C |
/*******************************************************************************
* File Name: UART_2_SCBCLK.h
* Version 2.20
*
* Description:
* Provides the function and constant definitions for the clock component.
*
* Note:
*
********************************************************************************
* Copyr... | C |
/*
File: HelloWorldAppDelegate.h
Abstract: Responsible for creating the view controller and adding its view to
the window.
See the ReadMe file for pointers to additional resources about iPhone
development.
Version: 1.7
Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple Inc.
("Apple") in consi... | C |
}\n}\n.hidden-md {\n @media (min-width: @screen-md-min) and (max-width: @screen-md-max) {\n .responsive-invisibility();\n }\n}\n.hidden-lg {\n @media (min-width: @screen-lg-min) {\n .responsive-invisibility();\n }\n}\n\n\n// Print utilities\n//\n// Media queries are placed on the inside to be mixin-friendly.... | JavaScript |
io,nparam,indxob[i],"gradg(j,",")",tempv);
}
if (ncnstr!=0) {
for (i=1; i<=ncnst1; i++) {
tempv=cs[indxcn[i]].grad;
sbout2(glob_prnt.io,nparam,indxcn[i],"gradg(j,",")",tempv);
}
if (neqn!=0) {
sbout1(glob_prnt.io,nparam,"grdpsf(j) ",dummy,
grdpsf,2,2);
sbout1(glob_prnt.io... | C++ |
))) {
throw new SLWebException("订单已完成支付");
}
// 2.未支付则查询是否有和订单绑定的未支付交易单(同支付渠道)
PayChannelEnum payChannelEnum = PayChannelEnum.codeOf(tradeLaunchVO.getPayMethod());
JsapiPayDTO jsapiPayDTO = BeanUtil.toBean(tradeLaunchVO, JsapiPayDTO.class);
j... | Java |
#ifndef _MSL_DETAILS_SHARED_PTR
#define _MSL_DETAILS_SHARED_PTR
#include <MSL_C++/cstddef>
#include <MSL_C++/typeinfo>
#include "MSL_C++/Metrowerks/compressed_pair.h"
#include "MSL_C++/MSL_Common/detail/default_delete.h"
namespace std {
namespace tr1 {
namespace detail {
class shared_ptr_d... | C |
"hello-world-docker-action client (rust/stable; client=surf+h1, tls=rustls)",
)
.header("accept", "application/vnd.github.v3+json")
.header("authorization", format!("token {}", &token))
.body(json!( { "body": "Some test comment from a rusty GH action." }))... | Rust |
fields", &self.fields())
.field("num_fields", &self.num_fields())
.field(
"field_offset_vector_offset",
&self.field_offset_vector_offset(),
)
.finish()
}
}
impl StructDescriptor {
/// Creates an instance from a raw type context des... | Rust |
Path readonlyFile = FileHelper.createReadOnlyFile(Paths.get(".", name + ".jfr"));
if (!FileHelper.isReadOnlyPath(readonlyFile)) {
System.out.println("Could not create read-only file. Ignoring test.");
return;
}
OutputAnalyzer output = JcmdHelper.jcmd("JFR.start",... | Java |
break;
case MRCP_MESSAGE_TYPE_EVENT:
status = verifier_event_state_update(state_machine,message);
break;
default:
status = FALSE;
break;
}
return status;
}
/** Deactivate state machine */
static apt_bool_t verifier_state_deactivate(mrcp_state_machine_t *base)
{
mrcp_verifier_state_machine_t *state_m... | C |
mulpd %xmm1,%xmm6 ## xmm6=Geps
mulpd %xmm2,%xmm7 ## xmm7=Heps2
addpd %xmm6,%xmm5
addpd %xmm7,%xmm5 ## xmm5=Fp
mulpd %xmm1,%xmm5 ## xmm5=eps*Fp
addpd %xmm4,%xmm5 ## xmm5=VV
movapd nb333nf_c6(%rsp),%xmm4
mulpd %xmm4,%... | Assembly |
s(IllegalArgumentException::class)
constructor(octets: ByteArray) : IpAddress<Byte, CidrNumber.V4>(octets, Unit) {
override val family: Companion get() = IpFamily.V4
override val segments: List<Byte> by lazy { octets.toList() }
override fun toCidrNumber(): CidrNumber.V4 = CidrNumber.V4(oc... | Kotlin |
p| HIMAGELIST(p as _))
}
fn as_generic_wm(&mut self) -> WndMsg {
WndMsg {
msg_id: co::HDM::CREATEDRAGIMAGE.into(),
wparam: self.index as _,
lparam: 0,
}
}
}
/// [`HDM_DELETEITEM`](https://docs.microsoft.com/en-us/windows/win32/controls/hdm-deleteitem)
/// message parameters.
///
/// Ret... | Rust |
* Subdomains of the tile service. Can be passed in the form of one string (where each
* letter is a subdomain name) or an array of strings.
*/
public var subdomains: JsAny? /* String? | Array<String>? */
public var errorTileUrl: String?
public var zoomOffset: Int?
... | Kotlin |
"http://www.w3.org/1999/xlink" width="576" height="512" preserveAspectRatio="xMidYMid meet" viewBox="0 0 576 512"><path fill="currentColor" d="M275.5 6.6C278.3 2.5 283 0 288 0s9.7 2.5 12.5 6.6l66.3 96.4c11.2 16.3 17.2 35.6 17.2 55.3v1.7c0 53-43 96-96 96s-96-43-96-96v-1.7c0-19.8 6-39 17.2-55.3l66.3-96.4zm292.7 329.7c13.... | Dart |
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this pro... | Go |
LETTER B
0061 3099 093C 0334 0B3C 0062;0061 0334 093C 0B3C 3099 0062;0061 0334 093C 0B3C 3099 0062;0061 0334 093C 0B3C 3099 0062;0061 0334 093C 0B3C 3099 0062; # (a◌゙◌़◌̴◌଼b; a◌̴◌़◌଼◌゙b; a◌̴◌़◌଼◌゙b; a◌̴◌़◌଼◌゙b; a◌̴◌़◌଼◌゙b; ) LATIN SMALL LETTER A, COMBINING KATAKANA-HIRAGANA VOICED SOUND MARK, DEVANAGARI SIGN NUKTA, CO... | Kotlin |
set of [excludedRules] and [excludedTypes] (rules
/// of `LinterType.info` are ignored by default).
List<LinterIssue> linter(Parser parser,
{LinterCallback? callback,
List<LinterRule>? rules,
Set<String> excludedRules = const {},
Set<LinterType> excludedTypes = const {LinterType.info}}) {
final issue... | Dart |
data).toHaveProperty("brand", "TEST");
expect(data).not.toHaveProperty("name");
expect(data).not.toHaveProperty("cvv");
expect(data).not.toHaveProperty("expiryDate");
});
});
it("should include all properties if attributes is invalid", () => {
// @ts-ignore
... | Typescript |
LIKE 'ABC' COLLATE utf8mb4_0900_ai_ci;",
Expected: []sql.Row{
{"2"},
},
},
},
},
{
Name: "LIKE respects connection collation",
SetUpScript: []string{
"SET NAMES utf8mb4;",
},
Queries: []CharsetCollationWireTestQuery{
{
Query: "SELECT 'abc' LIKE 'ABC';",
Expected: []sql.Row{
... | Go |
ialservices/apiv1/fina"
+ "ncialservicespb;financialservicespb\252\002!Go"
+ "ogle.Cloud.FinancialServices.V1\312\002!Google"
+ "\\Cloud\\FinancialServices\\V1\352\002$Google::Cl"
+ "oud::FinancialServices::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descri... | Java |
/***************************************************************************
* Copyright (C) 2009, 2010 by Peter L Jones *
* pljones@users.sf.net *
* *
* This fi... | C# |
c nonce (case 2)', () {
Uint8List secretNonce = Codec.decodeHex(
'E862B068500320088138468D47E0E6F147E01B6024244AE45EAC40ACE5929B9F0789E051170B9E705D0B9EB49049A323BBBBB206D8E05C19F46C6228742AA7A9024D4B6CD1361032CA9BD2AEB9D900AA4D45D9EAD80AC9423374C451A7254D0766');
String publicNonce =
... | Dart |
.pow(b, a);
final double val8 = val7 * val6 * k;
final double val9 = a * val8;
final double val10 = 2d * Math.pow(val2, a + 2d);
final double val11 = Math.pow((val1), 2d);
final double val13 = f * k;
final double val14 = f -... | Java |
m9A67409D4A11562F23F928655D9A3EFB7A69BB81 (ExecuteInEditMode_t2CEB97B05448F9AB3523C32B6D43E14383FAFB4E * __this, const RuntimeMethod* method);
// System.Void UnityEngine.Scripting.RequiredByNativeCodeAttribute::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RequiredByNativeCodeAttribute__ctor_m761592712F1... | C++ |
weight:400}.control-progress h4:focus{outline:none}.control-page .page-body{overflow:hidden}.control-page.page_centered .page-body .body-container{display:block}.body-container .container-content .content-box{margin:32px auto;box-sizing:border-box;width:100%;flex:0 1 100%;overflow:hidden}html[dir="ltr"] .body-container... | CSS |
TextDecoder is not available, polyfill required");
}
const encoder = new TextEncoder("utf-8");
const decoder = new TextDecoder("utf-8");
globalThis.Go = class {
constructor() {
this.argv = ["js"];
this.env = {};
this.exit = (code) => {
if (code !== 0) {
console.warn("exit code:", code);
}
... | JavaScript |
'4,1', '', 'AddBuff', '980101101', '', '8060', '', '', '', '给山脉小队加buff'},
{'980101102', '', '99930001', '1', '', '', '', '', 'AddHp', '-2*count816*count802', '', '8063,8070,9727,9713,8229', '', '', '', '山脉小队附带真实伤害'},
{'980101103', '', '99930001', '1', '', '', '', '', 'LimitDamage', '0.06,((2*count816*count802)/3500)', ... | Lua |
argument count (argc)
* <A0.L> = Pointer to command line argument pointer array (argv)
* <A1.L> = Pointer to tos environment string (env)
MOVE D3, D0
MOVE.L A2, A0
MOVE.L A4, A1
JSR main
******** exit ***********************************************************
*
* Terminat... | Assembly |
local M = {}
local whichkey = require "which-key"
--local legendary = require "legendary"
local next = next
local conf = {
window = {
border = "single", -- none, single, double, shadow
position = "bottom", -- bottom, top
},
}
whichkey.setup(conf)
local opts = {
mode = "n", -- Normal mode
prefix = "<l... | Lua |
from __future__ import division, print_function
import os
import pytest
from lxml import etree as ET
from .. import alto_text, distance, page_text
data_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), "data")
@pytest.mark.integration
def test_distance_between_page_files():
# In the fake OCR file... | Python |
.
EventBus eventBus = EventBus();
/// 事件通知
abstract class Event {
/// 监听事件
void onEvent(void Function(dynamic event) onData);
/// 通知事件
void fireEvent(event);
}
/*
所有控件基础state
*/
abstract class BaseState<T extends StatefulWidget> extends State<T> with Event {
//
StreamSubscription? _eventSub;
//
Lis... | Dart |
*id)
{
int ret;
struct phy_dev *phy_dev = NULL;
struct sdiowm_dev *sdev = NULL;
dev_info(&func->dev, "Found GDM SDIO VID = 0x%04x PID = 0x%04x...\n",
func->vendor, func->device);
dev_info(&func->dev, "GCT WiMax driver version %s\n", DRIVER_VERSION);
sdio_claim_host(func);
sdio_enable_func(func);
sdio_claim... | C |
{ "name".col(pathOf("firstName")) },
df.select { "name".col<String>(pathOf("firstName")) },
df.select { NonDataSchemaPerson::name.col(pathOf("firstName")) },
df.select { NonDataSchemaPerson::name.col<String>(pathOf("firstName")) },
df.select { Person::name.col(pathOf("fir... | Kotlin |
from dataclasses import dataclass
from cartography.models.core.common import PropertyRef
from cartography.models.core.nodes import CartographyNodeProperties
from cartography.models.core.nodes import CartographyNodeSchema
from cartography.models.core.relationships import CartographyRelProperties
from cartography.models... | Python |
),
suffixIcon: TextButton(
onPressed: () {
Get.find<NetworkSearchController>()
.search(controller.text);
},
child: const Text('搜索'),
),
... | Dart |
: 'secondary', type: 'secondary' },
{ node: 'divider' },
{ node: 'title', name: '分组2' },
{ node: 'item', name: 'tertiary', type: 'tertiary' },
{ node: 'item', name: 'warning', type: 'warning', active: true },
{ node: 'item', name: 'danger', type: 'danger' },
];
return (
... | Markdown |
.org/1999/xlink" width="1024" height="1024" preserveAspectRatio="xMidYMid meet" viewBox="0 0 1024 1024"><path fill="currentColor" d="M517.6 273.5 230.2 499.3a16.14 16.14 0 000 25.4l287.4 225.8c10.7 8.4 26.4.8 26.4-12.7V286.2c0-13.5-15.7-21.1-26.4-12.7zm320 0L550.2 499.3a16.14 16.14 0 000 25.4l287.4 225.8c10.7 8.4 26.4.... | Dart |
sh()
}
}
}
override fun backup(tempFile: File) = tryRun {
info {
"export ${configPreview()}, file: $tempFile"
}
tryRun {
val sardine: Sardine = initWebDav()
sardine.put(getUrl(true), tempFile, "application/zip")
}
}
... | Kotlin |
*/
public HashMap(Map<? extends K, ? extends V> m)
{
this(Math.max(m.size() * 2, DEFAULT_CAPACITY), DEFAULT_LOAD_FACTOR);
putAll(m);
}
/**
* Construct a new HashMap with a specific inital capacity and
* default load factor of 0.75.
*
* @param initialCapacity the initial capacity of this ... | Java |
mmary>
/// Gets a value indicating whether the current stream supports seeking.
/// </summary>
public override bool CanSeek
{
get {
return false;
}
}
/// <summary>
/// Get the length in bytes of the stream.
/// </summary>
public override long Length
{
get {
return 0;... | C# |
addRecognizedMethod(st.nextToken());
} else if (type.equals("SkipNullChecks")) {
jitAttributes.skipNullChecksFor(st.nextToken());
} else if (type.equals("SkipBoundChecks")) {
jitAttributes.skipBoundChecksFor(st.nextToken());
} else if (type.equals("SkipCheckCasts")) {
jitAttributes.skipCheckCastsFo... | Java |
0xC00008: { // Inputs / Sound CPU status
// bprintf(PRINT_NORMAL, _T(" - Sound reply read.\n"));
PsikyoSynchroniseZ80(0);
if (!nSoundlatchAck) {
return ~DrvInput[1];
}
return ~(DrvInput[1] | 0x80);
}
case 0xC0000A: // VBlank
return ~bVBlank;
// default: {
// bprintf(PRINT_NORMA... | C++ |
ent: IKeyEvent) => {
const rawCodeAsChar: string = this.translateToChar(element.rawcode);
result += rawCodeAsChar;
});
return result;
}
}import { Injectable } from '@angular/core';
import { EmployeeInfo, EmployeeMainInfo } from '../EmployeeInfo';
@Injectable({
providedIn... | Typescript |
크라사랑 밀림의 강태공 부두에 있는 낚시꾼 하이토와 대화해야 합니다. 레벨 15 크라사랑 밀림"}},
[31370] = {"강태공 연합", nil, {"크라사랑 밀림의 강태공 부두에 있는 낚시꾼 하이토와 대화해야 합니다. 레벨 15 크라사랑 밀림"}},
[31371] = {"이벤트 추적: 플레이어가 강태공 일퀘 한 개 완료", nil, nil},
[31372] = {"농사꾼 연합", nil, {"네 바람의 계곡의 태양노래 농장에 있는 농부 윤과 대화해야 합니다. 레벨 15 네 바람의 계곡"}},
[31373] = {"운룡단", nil, {"비취 숲의 도원에 있는 교관... | Lua |
ebkit-scrollbar-thumb {
background: map-get($t, thumb);
border: 3px solid transparent;
background-clip: content-box;
&:hover {
background-color: map-get($t, thumb-hover);
}
}
}
}
@else {
... | CSS |
(dev_handle, iface);
}
static int darwin_capture_release_interface(struct libusb_device_handle *dev_handle, uint8_t iface) {
enum libusb_error ret;
struct darwin_cached_device *dpriv = DARWIN_CACHED_DEVICE(dev_handle->dev);
ret = darwin_release_interface (dev_handle, iface);
if (ret != LIBUSB_SUCCESS) {
r... | C |
0x38f: 0xba,
0x390: 0xba, 0x391: 0xba, 0x392: 0xba, 0x393: 0xba, 0x394: 0xba, 0x395: 0xba, 0x396: 0xba, 0x397: 0xba,
0x398: 0xba, 0x399: 0xba, 0x39a: 0xba, 0x39b: 0xba, 0x39c: 0xba, 0x39d: 0xba, 0x39e: 0xba, 0x39f: 0xba,
0x3a0: 0xba, 0x3a1: 0xba, 0x3a2: 0xba, 0x3a3: 0xba, 0x3a4: 0xfc, 0x3a5: 0xfd, 0x3a6: 0xfe, 0x3a... | Go |
local M = {}
---@param conf VagueColorscheme.InternalConfig
---@return table
M.get_colors = function(conf)
local c = conf.colors
-- stylua: ignore
local hl = {
DiagnosticError = { fg = c.error, gui = conf.plugins.lsp.diagnostic_error }, -- diagnostic error
DiagnosticHint =... | Lua |
wayState, []string, bool) {
ods.mu.Lock()
defer ods.mu.Unlock()
var updated bool
events := []string{}
cachedGateway := ods.gatewayStore[utils.NamespacedName(gatewayDef)]
if gatewayDef.Generation > cachedGateway.GatewayDefinition.Generation {
cachedGateway.GatewayDefinition = gatewayDef
updated = true
event... | Go |
port) 第一步就是通过反射的方式new一个NioServerSocketChannel对象,并且在new的过程中创建了一系列的核心组件
ChannelFuture future = serverbootstrap.bind(PORT).sync(); // 绑定端口, 阻塞等待服务器启动完成,调用sync()方法会一直阻塞等待channel的停止
future.channel().closeFuture().sync(); // 等待关闭 ,等待服务器套接字关闭
} catch (Exception e) {
e.printSta... | Java |
RXBUFFER_EMPTY 0x5AA55AA5 /*!< Value identifying \ref ITM_RxBuffer is ready for next character. */
/** \brief ITM Send Character
The function transmits a character via the ITM channel 0, and
\li Just returns when no debugger is connected that has booked the output.
\li Is blocking when a debugger is ... | C |
}
if (!domActions.isEmpty()) {
ui_widget-> setElementAction(domActions);
hasItems = true;
}
}
d->m_laidout.clear();
m_copyWidget = false;
if (!hasItems) {
delete ui_widget;
return nullptr;
}
// UI
DomUI *ui = new DomUI();
ui->s... | C++ |
\brief A class used to hold the domain
*/
class DomainMesh : public Mesh
{
public:
//! Empty constructor
DomainMesh();
//! Default constructor
DomainMesh( RankInfoStruct rank_data, int nx, int ny, int nz, double Lx, double Ly, double Lz );
//! Destructor
virtual ~DomainMesh();
//! Mesh c... | C |
= true) {
Env.get().codeOutput += 'true'
} else if (node.value === false) {
Env.get().codeOutput += 'false'
}
}
}
export const nullCodeGen = {
enter (): void {
Env.get().codeOutput += 'null'
}
}
export const arrayCodeGen = {
enter (): void {
Env.get().codeOutput += '['
},
betwe... | Typescript |
=!0;try{!function(e){var t=e.callback,r=e.args;switch(r.length){case 0:t();break;case 1:t(r[0]);break;case 2:t(r[0],r[1]);break;case 3:t(r[0],r[1],r[2]);break;default:t.apply(n,r)}}(t)}finally{f(e),u=!1}}}}function d(e){e.source===r&&"string"==typeof e.data&&0===e.data.indexOf(a)&&c(+e.data.slice(a.length))}}("undefine... | JavaScript |
ttp:\\/\\/uk.wrs.yahoo.com\\/_ylt=A0Je5VwQjWVEsGcBOh7dmMwF;_ylu=X3oDMTBxbGZmanU1BGNvbG8DdwRwb3MDNzUEc2VjA3NyBHZ0aWQD\\/SIG=17a4s312u\\/EXP=1147592336\\/**http%3a\\/\\/66.218.69.11\\/search\\/cache%3fei=UTF-8%26query=132%26output=json%26results=100%26appid=jennyhan_ac%26u=star.tau.ac.il\\/%257Eandelman\\/reprints\\/018_... | Dart |
// GFX10: encoding: [0xf9,0x04,0x0a,0x6a,0x01,0x06,0x06,0x02]
v_mul_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_3
// GFX10: encoding: [0xf9,0x04,0x0a,0x6a,0x01,0x06,0x06,0x03]
v_mul_f16_sdwa v5, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:WORD_0
// GFX10... | Assembly |
//Saltarelle
// Inheritance is fully supported, including the possibility to override members.
using System;
using System.Text;
public class Base {
public virtual string Method() {
return "Base.Method";
}
public virtual string Property {
get { return "Base.Property"; }
}
}
public class Derived1 : Base {
p... | C# |
rror = parse(mrz, true).unwrap_err();
assert_eq!(error, Error::BadCheckDigit);
}
#[test]
fn parse_from_str() {
let valid_mrz = "P<UTOERIKSSON<<ANNA<MARIA<<<<<<<<<<<<<<<<<<<\
L898902C36UTO7408122F1204159ZE184226B<<<<<10";
valid_mrz.parse::<Document>().unwrap();
... | Rust |
Adapter.js'
import { expect } from 'chai'
import { getCpmInEur } from '../../../modules/malltvAnalyticsAdapter.js'
import * as events from 'src/events'
import { EVENTS } from 'src/constants.js'
const auctionId = 'b0b39610-b941-4659-a87c-de9f62d3e13e'
const propertyId = '123456'
const server = 'https://analytics.server... | JavaScript |
STA ram_009C_obj_pos_X,X ; 009E 009F
LDA #$00
STA ram_0382_obj,X ; 0384 0385
STA ram_0000
LDA ram_0382_obj + $04,X ; 0388 0389
JSR sub_F075
; triggers when a seal respawns carrying an ice block,
; or when he realises that he needs an ice block and starts running back
TXA
PHA
bra_F0DC_loop:
LDA ram_00... | Assembly |
oryCostFunction*>& critics, int max_samples) {
max_samples_ = max_samples;
gen_list_ = gen_list;
critics_ = critics;
}
double SimpleScoredSamplingPlanner::scoreTrajectory(Trajectory& traj, double best_traj_cost) {
double traj_cost = 0;
int gen_id = 0;
for(std::vector<TrajectoryCostFunction*... | C++ |
ir(team, "Tools - Breaching", "Tools - Breaching", "Tools - Breaching", "Tools - Breaching");
local weapon = _G[createFunc](presetName, techName);
actor:AddInventoryItem(weapon)
self:GiveActorRandomAdditions(team, actor, 1);
actor.AIMode = Actor.AIMODE_BRAINHUNT;
actor.Team = team;
return actor;
end
funct... | Lua |
.include "entry.s"
/* OPCODE : BCC*/
/*-----------------------------------------------------------*/
/*-----------------------------------------------------------*/
op_BCC: move #0x00 , %ccr
bhi.s BCC1 /* Higher Than C=0 AND Z=0*/
bra TEST_FAIL
... | Assembly |
if (!bvhId)
{
// This might be a clone. Find the original resource.
if (auto originalResource = inst.getLodsResource()->getFirstOriginal())
bvhId = originalResource->getBvhId();
if (!bvhId)
return;
}
auto &instances = bvh_context_id->dynrendInstances[dynrend_context_id];
auto lodNo =... | C++ |
e acgraph.vector.Stage#saveAsJpg
@see acgraph.vector.Stage#saveAsSvg
@param {string=} opt_address Export server script URL.
@return {string} Export server script URL.
*/
anychart.exports.server = goog.global['IS_ANYCHART_AMD'] ?
anychart.module['acgraph']['server'] : // Takes acgraph from amd module.
anycha... | JavaScript |
>(n.InUnitPort);
if (unit == null)
{
GameLogger.LogWarning("Add effect failed, unit is null.");
graphRunner.Abort();
return;
}
var modiferVal = graphRunner.GetInPortVal<FP>(n.InModifierValPort);
var lifetimeVal ... | C# |
#define BREAD_MONITOR
// https://github.com/Seeed-Studio/Grove_Temperature_And_Humidity_Sensor
#include <DHT.h>
// Install https://github.com/Seeed-Studio/Grove_Ultrasonic_Ranger
#include <Ultrasonic.h>
// BEGIN CONFIGURATION SECTION
// Temp/humidity will be on D20 Grove port
#define SENSOR_PIN (D20)
#define DHTTYP... | C |
| roll item _n_ to top of stack
_vₙ_ … _v₁_ | `roll` -_n_ | _v₁_ _vₙ_ … _v₂_ | roll top of stack to item _n_
_n_ | `alu` `not` | ~_n_ | bitwise not _n_
_n_ _m_ | `alu` `and` | _n_&_m_ | bitwise _n_ and _m_
_n_ _m_ | `alu` `or` ... | Markdown |
1lu"
}`
jwk4 := &JWK{}
err = jwk4.UnmarshalJSON([]byte(goodJWK))
require.NoError(t, err)
})
t.Run("test UnmarshalJSON of invalid BBS public key JWK - x wrong size", func(t *testing.T) {
goodJWK := `{
"kty":"EC",
"crv":"BLS12381_G2",
"x":"oUd1"
}`
jwk4 := &JWK{}
err = jwk4.UnmarshalJSON([]byte(good... | Go |
nctions
****************************************************************************/
/****************************************************************************
* Name: __start
*
* Description:
* This is the reset entry point.
*
****************************************************************************/
... | C |
val s1 = (
min(
num1 / 1000 % 10,
min(
num2 / 1000 % 10,
num3 / 1000 % 10,
),
) * 1000
)
val s2 = (
min(
num1 / 100 % 10,
min(
... | Kotlin |
{
ns.LogDebug("Access Denied");
ns.Send(new LoginResponsePacket(LoginState.NoAccess));
ns.Disconnect();
}
else if (!account.CheckPassword(password))
{
ns.LogDebug("Invalid password");
ns.Send(new LoginResponsePacket(LoginState.In... | C# |
Inclination"":-0.008998, ""Periapsis"":282.573371, ""OrbitalPeriod"":1598430.693150, ""AscendingNode"":132.805467, ""MeanAnomaly"":216.973390, ""RotationPeriod"":1572613.357510, ""AxialTilt"":0.210436, ""WasDiscovered"":false, ""WasMapped"":false }";
var scan27 = @"{ ""timestamp"":""2023-03-25T16:00:05Z"", ... | C# |
return cyclo
} else if (factors.size == 1 && factors.containsKey(2)) {
// n = 2^h
val h = factors[2]!!
val termList: MutableList<Term> = ArrayList()
termList.add(Term(1, 2.0.pow((h - 1).toDouble()).toLong()))
termList.add(Term(1, 0))
val cyclo = Polynomial(te... | Kotlin |
Γαλλία",
"GF": "Γαλλική Γουιάνα",
"PF": "Γαλλική Πολυνησία",
"GA": "Γκαμπόν",
"GM": "Γκάμπια",
"GE": "Γεωργία",
"DE": "Γερμανία",
"GH": "Γκάνα",
"GI": "Γιβραλτάρ",
"GR": "Ελλάδα",
"GL": "Γροιλανδία",
"GD": "Γρενάδα",
"GP": "Γουαδελούπη",
"GU": "Γκουάμ",
"GT": "Γουατεμάλα",
"GG": "Γκέρνσεϊ"... | Dart |
/**
* Collection of getConnection tests using a servlet
*
* @author aditya.gore@sun.com
*/
public class OnlyGetConnectionServlet extends HttpServlet {
private DataSource ds;
private PrintWriter out;
private UserTransaction utx;
public void doGet( HttpServletRequest req, HttpServletResponse resp )... | Java |
pub const GL_TEXTURE_LOD_BIAS: GLenum = GLenum(0x8501);
pub const GL_TEXTURE_MAG_FILTER: GLenum = GLenum(0x2800);
pub const GL_TEXTURE_MAX_ANISOTROPY: GLenum = GLenum(0x84FE);
pub const GL_TEXTURE_MAX_LEVEL: GLenum = GLenum(0x813D);
pub const GL_TEXTURE_MAX_LOD: GLenum = GLenum(0x813B);
pub const GL_TEXTURE_MIN_F... | Rust |
ream(audioFormat,
lLengthInBytes,
dataOutputStream);
}
}
/*** WaveAudioFileWriter.java ***/
/*
* PCM2PCMConversionProvider.java
*
* This file is part of Tritonus: http://www.tritonus.org/
*/
/*
* Copyright (c) ... | Java |
l">arrays</a> by writing square \
brackets (e.g., <code>-> [u8]</code> or <code>[] -> Option</code>)`,"Look for items inside another one by searching for a path: <code>vec::Vec</code>",].map(x=>"<p>"+x+"</p>").join("");const div_infos=document.createElement("div");addClass(div_infos,"infos");div_inf... | JavaScript |
value.path
: _searchText.value;
final textController = TextEditingController(text: text)
..selection = TextSelection.collapsed(offset: text.length);
return Row(
children: [
SvgPicture.asset(
_locationStatus.value == LocationStatus.pathLocation
? "assets/folder... | Dart |
orage.
String get identifier;
/// Should be the [identifier] of the main net version of the currency
String get mainNetId;
String get ticker;
String get prettyName;
String get uriScheme;
// override in subclass if the currency has tokens on it's network
// (used for eth currently)
bool get hasToken... | Dart |
# Copyright (c) 2024 Microsoft Corporation.
# Licensed under the MIT License
"""Parameterization settings for the default configuration."""
from pydantic import BaseModel, Field
from graphrag.config.defaults import graphrag_config_defaults
from graphrag.config.enums import OutputType
class OutputConfig(BaseModel):... | Python |
质)。
用户群体中老年人居多,所以店铺的账号矩阵基本都是发送一些养生内容,科普内容。培养了用户的基础信任后,再慢慢引流到私域进行运营,然后再进行储值以及二次转换等操作。
再举一个餐饮门店的例子,上次航海期间我接到一个业务,是一家全国直营的店:烹小鲜椰子鸡。这种餐饮门店比较适合抖音/小红书+大众点评的模式。
首先,我们要考虑他的用户群体、用户属性:吃椰子鸡的人基本都是 30 岁以上,注重养生的人。
然后,再考虑我们山西太原这个城市:二线城市中的垫底城市。
因为现在老百姓对博主的信任度低,所以当时我们大多是安排了素人到店拍摄,虽然可能拍摄水平没有博主那么好,但是这样的作品会更加真实,老百姓们认可度会更高,然后再选择加入部分低粉博... | Markdown |
of the same key pair will be held
/// inside the secure boundary, where it can be used to decrypt ("unwrap") the encryption key. Once
/// unwrapped, the key can be used within that same secure boundary to decrypt and execute the payloads
/// of confidential packages.
pub trait EncryptionKeyDestination {
/// Inject... | Rust |
ar1: this.characters[0].hp, char2: this.characters[1].hp }
]);
break;
case CombatActions.RangedAttack:
if (this.playersAligned() && this.getEnemyDistance() <= this.turn.rangedMaxRange) {
const attack = this.turn.ranged - this.enemy.defense;
this.enemy._hp -= (attack > 0... | Typescript |
transition: box-shadow 150ms;
border-radius: 4px;
outline: none; }
.ds-top-sites .top-sites .top-site-outer .top-site-inner > a:-moz-any(:hover) .tile {
box-shadow: 0 0 0 5px #D7D7DB;
transition: box-shadow 150ms;
border-radius: 4px;
outline: none; }
[lwt-newtab-brighttext] .ds-t... | CSS |
ommand.lowercase()) {
"status" -> {
val cmd = dbusGet("PlaybackStatus")
Output(cmd.outputText.substringAfter('"').substringBefore('"'), cmd.errorText)
}
"metadata" -> {
val metadata = dbusGet("Metadata")
val formattedMetadata = StringBuilder()
... | Kotlin |
术分析您的动作,并提供实时的语音和文字反馈。注册后开始锻炼,在家也能更智能地训练——无需健身房,无需教练,只需您和所需的指导。
**产品网站**: [立即访问](https://www.producthunt.com/r/C2S7WQ6XVEO57F?utm_campaign=producthunt-api&utm_medium=api-v2&utm_source=Application%3A+nextauth+%28ID%3A+151633%29)
**Product Hunt**: [查看 Product Hunt 页面](https://www.producthunt.com/products/fitai-2?utm_camp... | Markdown |
e", 0x0B)
.Case("false_oq", 0x0B)
.Case("neq_oq", 0x0C)
.Case("ge", 0x0D)
.Case("ge_os", 0x0D)
.Case("gt", 0x0E)
.Case("gt_os", 0x0E)
.Case("true", 0x0F)
.Case("true_uq", 0x0F)
.Case("eq_os", 0x10)
.Case("lt_oq", 0x11)
.... | C++ |
the memory.
let raw_allocation = alloc(layout) as *mut AsmCoreMachine;
Box::from_raw(raw_allocation)
};
machine.registers = [0; RISCV_GENERAL_REGISTER_NUMBER];
machine.pc = 0;
machine.next_pc = 0;
machine.running = 0;
machine.cycles = 0;
m... | Rust |
RGB_555(LINE_RGB,tvp);
}
#endif
#if PARTS & PART_15
void BR_ASM_CALL PointRenderPIT_RGB_555(struct brp_block *block, union brp_vertex *tvp) {
PointRenderPI_Generic_RGB_555(LINE_TEXTURE,tvp);
}
#endif
#if PARTS & PART_16
void BR_ASM_CALL PointRenderPI_Generic_RGB_565(point_type mode,union brp_vertex *tvp)
{
int oc;... | C |
AD577C 8005E5DC AFA70010 */ sw $a3, 0x10($sp)
/* AD5780 8005E5E0 00002025 */ move $a0, $zero
/* AD5784 8005E5E4 246500E4 */ addiu $a1, $v1, 0xe4
/* AD5788 8005E5E8 0C03DCE3 */ jal Audio_PlaySoundGeneral
/* AD578C 8005E5EC 24060004 */ li $a2, | Assembly |
828,7.873L26.828,10.134C26.828,10.583,26.472,10.947,26.034,10.947L22.734,10.947C22.296,10.947,21.942,10.583,21.942,10.134L21.942,7.873C21.942,7.424,22.296,7.06,22.734,7.06z M20.006,2.73C20.006,2.281,20.362,1.917,20.8,1.917L24.1,1.917C24.536,1.917,24.892,2.281,24.892,2.73L24.892,4.991C24.892,5.44,24.536,5.804,24.1,5.804... | CSS |
_bonus2: SP_ADD_DAMAGE_CLASS: Reached max (%d) number of add class damage bonuses per character!\n", MAX_PC_BONUS);
break;
}
pc_bonus_itembonus(wd->add_dmg, type2, val, false);
}
break;
case SP_ADD_MAGIC_DAMAGE_CLASS: // bonus2 bAddMagicDamageClass,mid,x;
if(sd->state.lr_flag == 2)
break;
if (sd-... | C++ |
return Profiling.Profiler.GetRuntimeMemorySizeLong(res.rt);
}
override protected string GetResourceTypeName()
{
return "Texture";
}
override protected int GetSortIndex(RTHandle res)
{
return res.GetInstanceID();
}
}
} | C# |
-gradient(19.49% 58.52% at 50% 0,rgba(249,196,60,.3) 0,rgba(231,166,1,0) 100%),radial-gradient(50% 50% at 100% 100%,#520aeb 10.27%,rgba(159,115,255,0) 100%),radial-gradient(77.86% 77.86% at 100% 0,#00a7ff 0,rgba(0,166,254,.12) 100%),radial-gradient(50% 50% at 0 0,#ff8d6c 0,rgba(255,92,0,.6) 100%),radial-gradient(70.24%... | CSS |
review_df = pd.DataFrame(reviews)
if not review_df.empty:
# Sentiment Distribution
fig_sentiment = px.pie(
review_df,
names='sentiment_label',
title='Review Sentiment Distribution'
... | Python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.