content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
assertThat(newParams).isEqualTo(
PaymentMethodOptionsParams.SepaDebit(
setupFutureUsage = ConfirmPaymentIntentParams.SetupFutureUsage.OffSession
)
)
}
}
package com.stripe.android.model
import com.stripe.android.model.parsers.Stripe3ds2AuthResultJsonParser
import org... | Kotlin |
ify/data/model/product_list.dart';
class Cart {
Cart({
this.id,
this.title,
this.variants,
this.images,
this.image,
this.count = 1,
});
Cart.fromJson(dynamic json) {
id = json['id'];
title = json['title'];
if (json['variants'] != null) {
variants = Variants.fromJson(jso... | Dart |
nary of hyperparameters to tune."""
return {
"learning_rate": [loguniform(0.01, 0.2).rvs()],
"n_estimators": [np.random.randint(100, 500)],
"max_depth": [np.random.randint(3, 8)],
"min_samples_split": [np.random.randint(2, 20)],
"min_samples_leaf": [np... | Python |
if compositeType == nil {
// Sanity check that compositeType isn't nil.
return nil, errors.New("unexpected nil composite type value")
}
newType := visited.add(compTypeValue.ccfID, compositeType)
if !newType {
// "Valid CCF Encoding Requirements" in CCF specs:
//
// "composite-type-value.id MUST be un... | Go |
3 </span>Linking Data</a></li><li class="tocline"><a href="#the-context" class="tocxref"><span class="secno">2.4 </span>The Context</a><ul class="toc"><li class="tocline"><a href="#external-contexts" class="tocxref"><span class="secno">2.4.1 </span>External Contexts</a></li></ul></li><li class="tocline"><a href="#from-... | HTML |
UYAOvRamgk+dn+uVbVh7bR2JiCvfDOImJaUTg5+dJcur2kpKZznTvEKl5fkQJBgaViAkjkFtfzciZdmajX0i6CSINl1GpNpKaQuT4JYybYDb6hffnbrKyfv/cOsWEpSRytcQW1QU4s9GvTNx/gdFJMivLmB0ZBRGc7EwmH/UgKTZZuzfi5Prn1mircgEIDre1CNKw1EMCMIqW7lUHTygAx/KdMkjHkslIhyPeJgAF0BkIxRzLU2Uw5wH3P1zXKFocy1O16JkWoiRytcRWcnD+wNbPu1+LmLC2rLaevAOL3vkXt3X68bUbWJsAAAAASUV... | HTML |
mg.YResolution);
Aver.AreObjectsEqual(ImagePixelFormat.RGBA32, img.PixelFormat);
var p00 = img.GetPixel(0, 0);
var p01 = img.GetPixel(0, 1);
var p10 = img.GetPixel(1, 0);
var p11 = img.GetPixel(1, 1);
Aver.AreObjectsEqual(Color.FromArgb(255, 0, 255, 0), p00);
... | C# |
%icon_tile;
}
&:active .overview-icon,
&:checked .overview-icon {
background-color: transparentize(darken($osd_bg_color,10%),.1);
box-shadow: inset 0 1px 2px $osd_borders_color;
}
&:hover .overview-icon,
&:focus .overview-icon,
&:selected .overview-icon {
background-color: transparentize($os... | CSS |
string `json:"symbol"`
USDPrice *big.Float `json:"usd_price"`
Timestamp uint64 `json:"timestamp"`
}
// ResUserTradingSummaryStruct 用户交易汇总结构
type ResUserTradingSummaryStruct struct {
UserAddress string `json:"user_address"`
TotalVolume *big.Float `json:"total_volume"`
TradeCount int `jso... | Go |
text" colspan="2"><span class="thcsearchlinks"><a rel="nofollow" class="external text" href="https://cd.thwiki.cc?ogmusic=亡き王女の為のセプテット,U.N.オーエンは彼女なのか?&fromwiki=Toho_Warfare:BLACK_I+II+III+EX"><span></span></a></span><div class="ogmusic"><a href="./亡き王女の為のセプテット.md" class="mw-redirect" title="亡き王女の為のセプテット">亡き王女の為のセプテ... | Markdown |
cmovg %ecx,%edx
mov %eax,(%r12)
mov 8(%r12),%eax
cmp %eax,%edx
mov %edx,%ecx
cmovg %eax,%edx
cmovg %ecx,%eax
mov %edx,4(%r12)
mov 12(%r12),%edx
cmp %edx,%eax
mov %eax,%ecx
cmovg %edx,%eax
cmovg %ecx,%edx
mov %eax,8(%r12)
mov %edx,12(%r12)
jmp .L158
.L157: cmp $3,%rsi
jne .L159
.L158: mov (%r12),%edx
mo... | Assembly |
= SUT.giveMeBuilder<KotlinLambdaValue>()
.thenApply { _, _ -> }
.sample()
then(actual.lambda.invoke()).isNotNull
}
@Test
fun kotlinLambdaReturnType() {
// given
class KotlinLambdaValue(val lambda: (String) -> String)
// when
val actual: Kot... | Kotlin |
KERNEL2x1_3(xxx)
KERNEL2x1_4(xxx)
KERNEL2x1_1(xxx)
KERNEL2x1_2(xxx)
KERNEL2x1_3(xxx)
KERNEL2x1_4(xxx)
je .L1_26
jmp .L1_22
ALIGN_4
.L1_26:
#ifndef TRMMKERNEL
movq K, %rax
#else
movq KKK, %rax
#endif
andq $7, %rax # if (k & 1)
je .L1_29
movq %rax, BI // ... | Assembly |
InDic":"Not in dictionary","oneChange":"Spell check complete: One word changed","progress":"Spell check in progress...","title":"Spell Checker","toolbar":"Check Spelling"},"imagebase":{"captionPlaceholder":"Enter image caption"},"easyimage":{"commands":{"fullImage":"Full Size Image","sideImage":"Side Image","altText":"... | JavaScript |
nfoImplementors)
out := graphql.NewFieldSet(fields)
deferred := make(map[string]*graphql.FieldSet)
for i, field := range fields {
switch field.Name {
case "__typename":
out.Values[i] = graphql.MarshalString("PartialInfo")
case "chainID":
out.Values[i] = ec._PartialInfo_chainID(ctx, field, obj)
case "d... | Go |
r:ab9e0014c667318cdfe9454dc6bb3bf8a inherit pro_methods_classmerlin_1_1factor__graph"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad167336dbf3fa30cfb4844c3d4fd1a37 inherit pro_methods_classmerlin_1_1factor__graph"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classm... | HTML |
});
}, session2);
}, session);
});
};
/***** Save partial no update***/
var t8 = new harness.ConcurrentTest("testSavePartialNoUpdate");
t8.run = function() {
var testCase = this;
var object = new global.t_basic(4060, 'Employee 4060', 4060, 4060);
// do not persist age --> age is null
delete object... | JavaScript |
灾祸都体验过、至少是想象过了,你就会越发地珍惜眼前的幸福生活。比如说你会体会到能跟亲人相聚是多么美好和多么难得的事情。你的生活会充满喜悦。
对不可控事物的失望感下降,对幸福的体验度上升,斯多葛哲学,值得你拥有。
## 个人操作系统
斯多葛哲学非常契合黑客的精神。我们前面说了,黑客精神包括理性、实验、系统和个人主义。
斯多葛哲学是讲理性的。古希腊人相信有神,但是雅典的很多哲学家并不认为是神在主宰世界,他们相信是客观的规律在主宰世界。
斯多葛哲学有一套明确的原则和规则系统,而且特别讲实验。生活黑客也是这样,他们的很多规则跟斯多葛哲学的规则很相似,比如说要努力工作、要过极简主义的生活、要锻炼、要学习跟陌生人说话、要冷水浴等等。有... | Markdown |
SourceDateParser, optional) {#syslogngspec-sourcedateparser}
Available in Logging operator version 4.5 and later. Parses date automatically from the timestamp registered by the container runtime. Note: `jsonKeyPrefix` and `jsonKeyDelim` are respected.
### sourceMetrics ([]filter.MetricsProbe, optional) {#syslogngsp... | Markdown |
.drawRoundRect(backgroundRectF, radius, radius, backgroundPaint)
}
}
init {
setListener(iconDrawableListener)
}
}
/*
* Copyright 2022-2025 Pera Wallet, LDA
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.... | Kotlin |
4</a>).
License or exception text will match to the text for the specified identifier if it includes a permitted variant of this replaceable text.
The permitted variants can be found in the corresponding regular expression as shown in title text visible by hovering over the red text.
</div>
</blockq... | HTML |
oxelList.size()-1);
data[val].vbeIndex = VLInd;
return VLInd;
}
// VoxelInfo* getVoxelInfo(int index) {
// if (index < 0) {
// return NULL;
// }
// else {
// return &(voxelList[index]);
// }
// }
uint getFlags(int flagPtr) {
return data[flagPtr].flags;
}
bool getFlag(int flagPtr, u... | C++ |
ale) continue;
else if (val >= 1.5) genocounts(2)++;
else if (val >= 0.5) genocounts(1)++;
}
genocounts(3) = cc_indices[1].size() - genocounts(4) - genocounts(5) - miss_controls;
}
}
void update_af_cc(int const& ind, double const& genoValue, variant_block* snp_data, const Ref<const MatrixXb>& ... | C++ |
// Store the partial 1 to 7 columns either overwriting the output matrix or
// accumulating into the existing contents of the output matrix.
//
.LGemmU8X8.M1.StoreOutputPartial:
cbz x13,.LGemmU8X8.M1.StoreOutputPartial.AddMode
.LGemmU8X8.M1.StoreOutputPartial.ZeroMode:
tbz x5,#2,.LGemmU8X8.M1.... | Assembly |
.second as ByteArray)))
else -> return@map it
}
}.toTypedArray()
return JsonObject(linkedMapOf(*processedCases))
}
/**
* A function providing a DSL for building [io.vertx.core.json.JsonArray]
*
* @param values objects that should be part of the array
* @return [JsonArray]
*/
fun json... | Kotlin |
/* Copyright Joyent, Inc. and other Node contributors. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the
* righ... | C |
します。
通信の順番や対応する通信かどうかをチェックし、不正なパケットをブロックします。
利点:
通信の途中の情報を使った攻撃(例えば、セッションハイジャック)を検出することが可能です。
セッションの状態を監視することで、正常な通信と不正な通信を区別しやすくなります。
問題3: IDSとIPSの違い
IDS(侵入検知システム)とIPS(侵入防止システム)は、ネットワークセキュリティのための重要なツールです。
違い:
IDS:侵入検知システム。ネットワークやシステムへの不正アクセスや侵入を検出しますが、直接的な防御は行いません。
IPS:侵入防止システム。侵入を検出し、リアルタイムで攻撃を防止します。
長所と短所:
IDS:
長所:... | Markdown |
};
}
assertEquals(step({ position: [0, 0], velocity: [7, 2] }), {
position: [7, 2],
velocity: [6, 1],
});
const initialPosition: Coord = [0, 0];
function findHighestPoint(
initialVelocity: Coord,
targetArea: Input,
): number | undefined {
const { x1, x2, y1, y2 } = targetArea;
const yPositions = [];
... | Typescript |
]
ldrb_ r0,sound_shadow+7
strb r0,[r3,#0x1D]
ldrb_ r0,sound_shadow+8
strb r0,[r3,#0x1E]
ldmfd sp!,{r3-r11,lr}
mov r0,#0x100
bx lr
LoadIo:
@TODO: write this
@r0 = address to read 256 bytes from
stmfd sp!,{r3-r11,lr}
ldr r10,=GLOBAL_PTR_BASE
ldr_ cycles,cpuregs+0x14
mov r3,r0
@joystick, serial port
... | Assembly |
x9690;藏/显示滚动条
Ctrl+Shift+F //搜索
Ctrl+Shift+C //复制选中的内容到剪贴板
Ctrl+Shift+V //粘贴剪贴板的内... | HTML |
setMovieData(movieIndex: number, moviePrice: string) {
localStorage.setItem('movieIndex', `${movieIndex}`);
localStorage.setItem('moviePrice', moviePrice);
}
// get data from localStorage
function populateUI() {
const selectedSeats = JSON.parse(localStorage.getItem('selectedSeats'));
if (selectedSeat... | Typescript |
setRequestHeader("Content-Type", "text/plain; charset=us-ascii; boundary=01234567890");
req.send("Some text");
is(SpecialPowers.wrap(req).channel
.QueryInterface(SpecialPowers.Ci.nsIHttpChannel)
.getRequestHeader("Content-Type"),
"text/plain;charset=UTF-8;boundary=01234567890",
"Headers should match"... | HTML |
import os
import subprocess
import random
import re
import time
from appium.webdriver.common.appiumby import AppiumBy
from appium.options.android import UiAutomator2Options
from appium import webdriver
from auto_app_page import click_element
# 启动PCAPDroid会话
def start_pcapdroid_session(device_name):
options = UiA... | Python |
-picker-available),
input[type="reset"],
input[type="button"],
input[type="submit"] {
-moz-appearance: button;
/* The sum of border and padding on block-start and block-end
must be the same here, for text inputs, and for <select>.
Note -moz-focus-inner padding does not affect button size. */
padding-blo... | CSS |
2747, 0.2471, 0.129, -0.8889];
const target2 = [0.1962, 0.1614];
const trainer = new Trainer({
net,
data: [
{ input: input1, target: target1 },
{ input: input2, target: target2 },
],
learningRate: 0.2,
momentum: ... | Typescript |
_q15()</a>, <a class="el" href="group__q31__to__x.html#ga7f297d1a7d776805395095fdb24a8071">arm_q31_to_q7()</a>, <a class="el" href="group__q7__to__x.html#ga656620f957b65512ed83db03fd455ec5">arm_q7_to_float()</a>, <a class="el" href="group__q7__to__x.html#gabc02597fc3f01033daf43ec0547a2f78">arm_q7_to_q15()</a>, <a class... | HTML |
网通4G手机","subids":""}},{"2235882":{"aos":[{"n":"5.6英寸及以上","v":"244_64693"},{"n":"32GB","v":"3751_76035"},{"n":"4GB","v":"3753_173"}],"color":"樱粉金","comments":"17439","ids":"","imageUrl":"jfs/t2110/33/1210990030/103872/42587120/568a48f9N4663bb4c.jpg","name":"三星 Galaxy S6 Edge+(G9280)32G版 樱粉金 全网通4G手机","subids":""}}],20355... | HTML |
func_end CAM_GetStaState
arm_func_start CAM_IsActive
CAM_IsActive: ; 0x0600E8AC
ldr r1, _0600E8C8 ; =0x0380FFF4
ldr r1, [r1]
add r1, r1, #0x500
ldrh r1, [r1, #0x30]
mov r0, r1, asr r0
and r0, r0, #1
bx lr
.align 2, 0
_0600E8C8: .word 0x0380FFF4
arm_func_end CAM_IsActive
arm_func_start CAM_GetPowerMgtMode
C... | Assembly |
/*
* 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.
*/
u... | C# |
evel='crit'})
test:ok(err == nil and log.cfg.level == 'crit', 'got crit')
_, err = pcall(log.cfg, {level='warn'})
test:ok(err == nil and log.cfg.level == 'warn', 'got warn')
_, err = pcall(log.cfg, {level='info'})
test:ok(err == nil and log.cfg.level == 'info', 'got info')
_, err = pcall(log.cfg, {level='verbose'})
... | Lua |
) {
if game.status == GameStatus::Ending && query_say.is_empty() {
if let Ok(entity) = query_title.get_single() {
if keys.just_pressed(KeyCode::R) {
// R was pressed
commands.entity(entity).despawn();
game.opponent = 0;
game.status ... | Rust |
ra D0,cplp ; die nchsten 8 Bytes
dbra D1,u1 ; nchster Sektor
bra.s rwexit ; ohne Fehler raus
gerade:
movem.l D2-D7/A2-A6,-(SP) ; Register retten
move.w D1,-(SP) ; Zhler auf Stack
cpeven:
movem.l (... | Assembly |
PARCEL_DIRECTORY as PARCEL_DIR};
/// A struct containing paths to all of the key components of a standalone bundle
pub struct StandaloneRead {
pub invoice_file: PathBuf,
pub parcel_dir: PathBuf,
pub parcels: Vec<PathBuf>,
}
impl StandaloneRead {
/// Returns a new StandaloneRead constructed using the ... | Rust |
None;
self.target_chroma_fg_rgb = RGB::BLACK;
}
}
fn attr_target_value(&self) -> Option<F> {
self.target_chroma
}
fn attr_target_value_fg_rgb(&self) -> RGB<F> {
self.target_chroma_fg_rgb
}
fn label_colour(&self) -> RGB<F> {
RGB::WHITE
}
fn... | Rust |
SerializeVoxelsFormat();
if ( format == ".raw" )
mruFormatParameters_.voxelsFormat = MruFormatParameters::VoxelsFormat::Raw;
else // format == ".vdb"
mruFormatParameters_.voxelsFormat = MruFormatParameters::VoxelsFormat::Vdb;
ImGui::PushItemWidth( menuWidth * 0.5f );
if ( UI::combo( "Me... | C++ |
((const char*)value.data, value.size);
erocksdb::ColumnFamilyObject* cf = cf_ptr.get();
wb->Merge(cf->m_ColumnFamily, key_slice, value_slice);
}
else
{
if(!enif_inspect_binary(env, argv[1], &key) ||
!enif_inspect_binary(env, argv[2], &value))
return enif_m... | C++ |
},
false
},
// 'problematic' noncharacters, which we count as valid (see
// http://www.unicode.org/faq/private_use.html#nonchar1 and
// https://www.unicode.org/faq/private_use.html#sentinel6)
//
{
{
0xef, 0xbf, 0xbe // U... | C++ |
ord_age", "0"),
resource.TestCheckResourceAttr(resourcePasswordPolicyName, "number_of_recent_passwords_disallowed", "0"),
resource.TestCheckResourceAttr(resourcePasswordPolicyName, "password_not_username_or_invert", "true"),
resource.TestCheckResourceAttr(resourcePasswordPolicyName, "password_char_combin... | Go |
gister3(engine.NewAtom("arg"), engine.Arg)
i.Register2(engine.NewAtom("=.."), engine.Univ)
i.Register2(engine.NewAtom("copy_term"), engine.CopyTerm)
i.Register2(engine.NewAtom("term_variables"), engine.TermVariables)
// Arithmetic evaluation
i.Register2(engine.NewAtom("is"), engine.Is)
// Arithmetic comparison
... | Go |
TEST_ASSERT_EQUAL(get_dns.ip.u_addr.ip4.addr, dns[1].ip.u_addr.ip4.addr);
}
#else
// check that calling setters/getters with 'esp_netif==NULL' is valid, they set/get global DNS servers
TEST_ASSERT_EQUAL(ESP_OK, esp_netif_set_dns_info(NULL, ESP_NETIF_DNS_MAIN, &dns[0]));
TEST_ASSERT_EQUAL(ESP_OK, esp... | C |
barUtils.RESULT_SOURCE.OTHER_LOCAL,
"The YouTube Top Site should appear as a normal result even though it's bookmarked."
);
await UrlbarTestUtils.promisePopupClose(window, () => {
gURLBar.blur();
});
await PlacesUtils.bookmarks.eraseEverything();
await PlacesUtils.history.clear();
await SpecialPowe... | JavaScript |
assert!(slim.len() > 0);
}
#[test]
fn iterate_cgroup_mount_points() {
let mut found = false;
for c in cgroup_mount_points_iter() {
found = match c {
Ok(_) => true,
Err(err) => panic!("{}", err.description),
}
}
assert!(found);
}
#[test]
fn test_cgroup_mount_poin... | Rust |
this.sprite.rotation + deltaRotation);
this.speed = Math.max(0, Math.min(5, this.interpolate(this.speed, this.speed + deltaSpeed)));
}
public kill = () => {
if (this.alive) {
this.alive = false;
}
ext.app.stage.removeChild(this.sprite);
ext.app.stage.removeC... | Typescript |
# Copyright 2012-2018 Canonical Ltd. This software is licensed under the
# GNU Affero General Public License version 3 (see the file LICENSE).
"""Tests for the setup-dns command."""
from argparse import ArgumentParser
import io
import os
from maastesting.factory import factory
from maastesting.testcase import MAAST... | Python |
{ region: PlatformId.EUW1, summonerId: "1" },
[
PlatformId.EUW1,
RiotAPITypes.METHOD_KEY.CHAMPION_MASTERY.GET_CHAMPION_MASTERY_SCORE,
{ summonerId: "1" },
{ id: "euw1.championMastery.getMasteryScore.1" },
],
],
])(
"%s - calls request with cor... | Typescript |
044836953108490)
| Gemini | GPT-4o |
|--------|--------|
| <img src="https://bibigpt-apps.chatvid.ai/chatimg/gemini-_-Z8i4AiVnM8dH6b2eJwc.png?v=1" width="300" alt="Design: 扁平贴纸设计 (Gemini Example 28) - Gemini"> | <img src="https://cdn.jsdelivr.net/gh/jamez-bondos/awesome-gpt4o-images/cases/28/example_flat_sticker_pearl... | Markdown |
理上正确的!具体请参考:https://zhuanlan.zhihu.com/p/510697986
`r_linear_blend_shift 0`: 不要强制偏移透明度
`r_linear_blend_shift 1`: 强制偏移透明度,过低的透明度或过高的透明度会往0.5进行修正。(仅在`r_gamma_blend 0`下可用)
`r_linear_blend_shift` 可以在 0 ~ 1 之间对强制偏移透明度进行线性插值,该控制台参数的值越高,最终的透明度越接近强制偏移透明度。
`r_linear_fog_shift 0`: 不要强制拉低雾浓度
`r_linear_fog_shift 1`: 强制拉低雾浓度 (... | Markdown |
-- @description Normalize selected items takes loudness to XdB
-- @version 1.01
-- @author MPL
-- @website http://forum.cockos.com/showthread.php?t=188335
-- @metapackage
-- @provides
-- [main] . > mpl_Normalize selected items takes RMS to -3dB.lua
-- [main] . > mpl_Normalize selected items takes RMS to -10dB.lua
-... | Lua |
_load()
.tps(10_000)
.latency(Duration::from_millis(200), 0.95)
.error_rate(0.05)
.await;
},
async {
// After 300s of waiting, test our scaling ability
// by running a scenario which achieves either
// 10... | HTML |
](https://www.w3.org/TR/css3-selectors/#general-sibling-combinators).|`.baz0 ~ .baz1`|
|[`idSelector`](#idselector)|An [ID selector](https://www.w3.org/TR/css3-selectors/#id-selectors)|`#bar`|
|[`pseudoClassSelector`](#pseudoclassselector)|A [pseudo-class selector](https://www.w3.org/TR/css3-selectors/#pseudo-classes).... | Markdown |
class="hl">.target</span> <strong>(object)</strong><br>
Get JS object reference to last Item/Character targeted by client (Read-Only)</p>
</div>
<div class="settingsDiv">
<p><span class="hl">.tempObj</span> <strong>(object)</strong><br>
Get/Set temporary JS object (Character/Item) refe... | HTML |
[1] == 0x23);
REQUIRE(mac->mac[2] == 0x45);
REQUIRE(mac->mac[3] == 0x67);
REQUIRE(mac->mac[4] == 0x89);
REQUIRE(mac->mac[5] == 0xab);
serial_nr_t sn;
REQUIRE(otp_parse_serial_nr(sn, otp, OTP_SIZE) == 25);
REQUIRE(strncmp(sn.begin(), "14558-0200001952299999", sn.size()) == 0);
auto bomi... | C++ |
ibrary.adapter.base.BaseQuickAdapter;
import com.sdwfqin.greendaosample.R;
import com.sdwfqin.greendaosample.adapter.MainAdapter;
import com.sdwfqin.greendaosample.model.entry.Student;
import com.sdwfqin.greendaosample.model.interactor.MainInteractorImpl;
import com.sdwfqin.greendaosample.presenter.MainPresenter;
impor... | Java |
from colorama import Fore, init
from litellm import completion
# Initialize colorama for colored terminal output
init(autoreset=True)
class Agent:
"""
@title AI Agent Class
@notice This class defines a simple AI agent with no function calling capabilities
"""
def __init__(self, name, model, syst... | Python |
panic!("in tx_uart_signal"); }
}
periph.ioc_sel.store_reg(|r, v| {
r.pad_sel().write(v, selval);
});
}
// Configure TX pin for the output enable.
fn tx_output_enable<T: IocPadMap + IocPadOverBits>(periph: &mut IocPadPeriph<T>) {
periph.ioc_over.modify_reg(|r, v| {
r.pad_over_bits().writ... | Rust |
Jumppoints_2241d40 - 2
.hword branch_2241dc0 - Jumppoints_2241d40 - 2
.thumb
branch_2241d48: @ 2241d48 :thumb
ldrh r0, [r4, #0x12]
cmp r0, #0x0
bne branch_2241d62
ldrb r0, [r4, #0x9]
bl 0x223b5b0
cmp r0, #0x1
bne branch_2241d62
bl Function_20365f4
mov r0, #0x70
bl Func... | Assembly |
x := "ABCDEF090807060504030201ffffffffffffffffffffffffffffffffffffffff"
y := "ABCDEF090807060504030201ffffffffffffffffffffffffffffffffffffffff"
z := "ABCDEF090807060504030201ffffffffffffffffffffffffffffffffffffffff"
opBenchmark(b, opMulmod, x, y, z)
}
func BenchmarkOpSHL(b *testing.B) {
x := "FBCDEF09080706050403... | Go |
of3)
.is_ok());
// We can construct signatures from 32 single signatures.
let sigs_32 = vec![single_signature.clone(); 32];
let indices: Vec<u8> = (0..32).collect();
let sig32_tuple = sigs_32.into_iter().zip(indices.into_iter()).collect();
let multi_sig32 = MultiEd25519Signature::new(sig32... | Rust |
_Source_Code_zip_cStoreMenu_cls.html">cStoreMenu.cls</a> </p></td><td><p align="right" class="cell">1K </p></td><td><p class="cell">11 December 1998 02:38 </p></td><td><p class="cell"> </p></td></tr><tr><td><p class="cell"><a href="VB5_IconMenu_Complete_Source_Code_zip_fBitmapTest_frm.html"><img src... | HTML |
ule = RProduction::<i32,i32>::new_skeleton("F");
rule.Ruleaction = |parser|{ let n:i32=parser.stack.pop().unwrap().value; return n; };
parser1.Rules.push(rule);
rule = RProduction::<i32,i32>::new_skeleton("START");
rule.Ruleaction = |parser|{ parser.stack.pop(); return i32::default();};
parser1.Rules.push(rul... | Rust |
),
message = message,
})
end)
-- Allow Awesome to automatically focus a client upon changing tags or loading.
require("awful.autofocus")
-- Enable hotkeys help widget for VIM and other apps when client with a matching
-- name is opened:
require("awful.hotkeys_popup.keys")
-- Load the theme. In other words, defines... | Lua |
if <span class='region red'>pattern_ratio > 0.7</span> {</pre></td></tr><tr><td class='line-number'><a name='L1280' href='#L1280'><pre>1280</pre></a></td><td class='uncovered-line'><pre>0</pre></td><td class='code'><pre> <span class='region red'>1.0</span></pre></td></tr><tr><td class='line-number'><a name='L... | HTML |
ff71d5ff隱私權政策|r|h),並確認進行購買。";
BLIZZARD_STORE_LICENSE_ACK_TEXT_RUB = "點擊下方的「立即付款」按鈕即表示您已經同意了|HurlIndex:16|h|cff71d5ff銷售協議|r|h,並且會立刻寄送購買的物品。當寄送程序開始之後,您便無法放棄購買物品。";
BLIZZARD_STORE_LICENSE_ACK_TEXT_TRY = "點擊下方的「立即付款」按鈕即表示您已經同意了|HurlIndex:16|h|cff71d5ff銷售協議|r|h,並且會立刻寄送購買的物品。當寄送程序開始之後,您便無法放棄購買物品。";
BLIZZARD_STORE_LICENSE_ACK... | Lua |
he Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License ... | CSS |
bshellSample-master/webshellSample-master/PHP/dama/3a4de6813e7afb31488c90539615cb9f.php"><img src="6c52d3770801569a93c553039d8894c9.php?&dxmode=IMG&dximg=copy" title="copy" alt"copy"></a></td>
<td class=linelisting><a href="6c52d3770801569a93c553039d8894c9.html?&dxmode=F_MOV&dxfile=C:/Users/yaoleo/Desktop/webshellSamp... | HTML |
nc testAccResourceApplicationEntitlementSimple(name string) string {
return fmt.Sprintf(`
data "authentik_flow" "default-authentication-flow" {
slug = "default-authentication-flow"
}
data "authentik_flow" "default-provider-invalidation-flow" {
slug = "default-provider-invalidation-flow"
}
data "authentik_certifi... | Go |
0
and x30, x29, x30
li x28, 2
bne x30, x28, _exit
csrrc x27, mepc, x0
c.addi x2 | Assembly |
gins()
local entries, err = registry.find({
[".kind"] = "process.lua",
["meta.type"] = consts.PLUGIN_META_TYPE
})
if err then
return nil, "Failed to discover plugins: " .. err
end
if not entries or #entries == 0 then
return {}, nil
end
local plugins = {}
... | Lua |
)
} else {
let { days = [], selectedDay = [] } = self.data.calendar
const daysCopy = days.slice()
daysCopy.forEach(item => {
const timestamp = newDate(item.year, item.month, item.day).getTime()
if (
(+startTimestamp > +timestamp || +timestamp > +endTimestamp) &&
... | JavaScript |
#if defined(__AVR__)
#include <avr/io.h>
/* Automatically generated - do not edit */
.text
.global sparkle_256
.type sparkle_256, @function
sparkle_256:
push r28
push r29
push r2
push r3
push r4
push r5
push r6
push r7
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
push r16
p... | Assembly |
# id 10 (CaravanP2_chk10), field 867200550
sm.createQuestWithQRValue(64006, "WC=4;k1=0;k2=0;k3=0;k5=0;speed=20;k6=0;k7=0;man=199;prog=0;Pt=CaravanP2_chk9;Ec=10;max=20;weather=1;food=329")
sm.createQuestWithQRValue(64006, "WC=5;k1=0;k2=0;k3=0;k5=0;speed=20;k6=0;k7=0;man=199;prog=0;Pt=CaravanP2_chk9;Ec=10;max=20;weather=... | Python |
行 `sudo whoami` 命令的时候,他将会看到这个:
```
$ sudo whoami
root
```
注意这个,因为 nemo 使用 `sudo` 执行了这条命令,`whoami` 会显示该命令运行时的用户是 `root`。
至于其他的命令,nemo 将会看到像这样的一些内容:
```
$ sudo date
[sudo] password for nemo:
Sorry, user nemo is not allowed to execute '/bin/date' as root on butterfly.
```
### sudo 的默认设置
在默认路径中,我们会利用像下面展示的 `/etc/... | Markdown |
>
<a class="a-link-normal" href="/Mens-Big-Tall-Pants/b?ie=UTF8&node=6002146011">Pants</a>
>
<a cla... | HTML |
assertEquals(testSampleId, mut.getSampleId());
assertEquals(testChr, mut.getChr());
assertEquals(testStart, mut.getStart());
assertEquals(testEnd, mut.getEnd());
assertEquals("Missense_Mutation", mut.getMutationType());
assertEquals("CCG", ... | Java |
Count);
}
/*
public void UpdateColors(CSGBrush brush)
{
int surfaceCount = surfaceSelectState.Length;
for (int s = 0, c = 0; s < surfaceCount; s++, c += 2)
{
var state = (int)surfaceSelectState[s];
surfaceColors[c + 0] = ColorSettings.SurfaceInnerStateColor[state];
surfaceColors[c + 1] = Co... | C# |
;
import de.charite.compbio.jannovar.reference.GenomeVariant;
import de.charite.compbio.jannovar.utils.ResourceUtils;
import htsjdk.samtools.reference.IndexedFastaSequenceFile;
import org.junit.jupiter.api.*;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.BeforeEach;
import java.io.File;
import j... | Java |
from pelicula import *
def obtener_opcion_valida():
while True:
try:
opcion = int(input('Escriba una opción del menú (del 1 al 4): '))
if 1 <= opcion <= 4:
return opcion
else:
print("Por favor, ingrese un número entre 1 y 4.")
exce... | Python |
/*
This file is part of AutoQuad.
AutoQuad 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.
AutoQuad is distributed ... | C |
ty.ERROR),
/**
* Compiler Error 144.
*
* <p>
* multi-character literals are not allowed in lexer sets:
* <em>literal</em></p>
*/
INVALID_LITERAL_IN_LEXER_SET(144, "multi-character literals are not allowed in lexer sets: <arg>", ErrorSeverity.ERROR),
/**
* Compiler Error 145.
*
* <p>
* lexer mode ... | Java |
asm.scopes[0].get("main")?.value).to.equal(5);
});
it("ld a,c", () => {
runTest([
{ line: " ld a,c", opcodes: [0x79] },
]);
});
it("or 0x55", () => {
runTest([
{ line: " or 0x55", opcodes: [0xF6, 0x55] },
]);
});
// Alternative syntax.
... | Typescript |
{
background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==);
}
.mce-visualblocks h3 {
background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7);
}
.mce-visualbl... | CSS |
y(i) for i, a in enumerate(self.adversaries)}
obs.update(
{a: _good(i + self.num_adversaries) for i, a in enumerate(self.good_agents)}
)
return obs
def rewards(self, state: State) -> Dict[str, float]:
@partial(jax.vmap, in_axes=(0, None))
def _collisions(agent_id... | Python |
Entrega?',
true),
isEmpty: widget.pessoaEndereco.entrega == null,
child: ViewUtilLib.getDropDownButton(
widget.pessoaEndereco.entrega, (String newValue) {
ViewUtilLib.paginaMestreDetalheFoiAlterada =... | Dart |
modules/.*/config$'] = 'gitconfig',
['%.git/modules/config$'] = 'gitconfig',
['%.git/worktrees/.*/config%.worktree$'] = 'gitconfig',
['/%.config/git/config$'] = 'gitconfig',
['/gitolite%-admin/conf/'] = starsetf('gitolite'),
['/%.i3/config$'] = 'i3config',
['/i3/config$'] = 'i3config',
['/wa... | Lua |
y | Brust | Frau | Person | stillen | Stillen',
hasSkinTone: true),
Emoji('👼', 'Engel | Gesicht | Kind | Märchen | Putte', hasSkinTone: true),
Emoji('🎅', 'Weihnachten | Weihnachtsmann', hasSkinTone: true),
Emoji('🤶', 'Weihnachten | Weihnachtsfrau', hasSkinTone: true),
Emoji('🦸♂️',
'... | Dart |
31" class="Keyword">open</a> <a id="36" class="Keyword">import</a> <a id="43" href="Category.Monad.html" class="Module">Category.Monad</a>
<a id="58" class="Keyword">open</a> <a id="63" class="Keyword">import</a> <a id="70" href="Data.Bool.html" class="Module">Data.Bool</a> <a id="80" class="Symbol">as</a> <a id="83" c... | HTML |
96B0 C5040000 */ lwc1 $f4, ($t0)
/* 082124 800F96B4 004C6821 */ addu $t5, $v0, $t4
/* 082128 800F96B8 8DAE0004 */ lw $t6, 4($t5)
/* 08212C 800F96BC 46045032 */ c.eq.s $f10, $f4
/* 082130 800F96C0 3078007F */ andi $t8, $v1, 0x7f
/* 082134 800F96C4 0018C880 */ sll $t9, $t8, 2
/* 082138 800F96C8 01195021 */ ... | Assembly |
995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995z"/></svg>');}div.callout-warning.callout-captioned .callout-icon::before{background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" style="fill: %23e6ae06" class="bi bi-exclamation-triangle" viewBox="0 0 16 1... | CSS |
-proxy/)
কমান্ড আর্গুমেন্ট এবং কনফিগারেশন ফাইল সবসময় একটি হোস্ট করা কুবারনেটিস সার্ভিস বা পরিচালিত ইনস্টলেশনের
সাথে একটি ডিস্ট্রিবিউশন এ পরিবর্তনযোগ্য নাও হতে পারে। যখন তারা পরিবর্তনযোগ্য হয়, তারা সাধারণত ক্লাস্টার
অপারেটর দ্বারা পরিবর্তনযোগ্য হয়। এছাড়াও, এগুলো ভবিষ্যতের কুবারনেটিস সংস্করণে পরিবর্তন হতে পারে, এ... | Markdown |
ancheflanc",
[5794] = "Venin de scorpide acide",
[5795] = "Carapace de tortue durcie",
[5796] = "Nageoire incrustée",
[5797] = "Flocon d'indurium",
[5798] = "Pièces de chariot explosif",
[5799] = "Commande de Kravel",
[5800] = "Pièces détachées de Kravel",
[5801] = "Guano du kraal",
[5802] = "Pièces de chariot fragiles... | Lua |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.