content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
9036C 800875A4 00000000 */ nop
/* B90370 800875A8 18004300 */ mult $v0, $v1
/* B90374 800875AC 21282002 */ addu $a1, $s1, $zero
/* B90378 800875B0 40A00700 */ sll $s4, $a3, 1
/* B9037C 800875B4 8801A0AF */ sw $zero, 0x188($sp)
/* B90380 800875B8 12480000 */ mflo $t1
/* B90384 8008... | Assembly |
observation_space = gym.spaces.Box(low=0, high=1, shape=(4, 84, 84))
self.count = 0
def reset(self):
self.count = 0
return self.observation_space.sample(), {}
def step(self, action):
self.count += 1
if self.count > 100 and np.random.rand() < 0.1:
term = trun... | Markdown |
pN = texture2D( normalMap, vUv ).xyz * 2.0 - 1.0;\n\tmapN.xy *= normalScale;\n\t#ifdef USE_TANGENT\n\t\tnormal = normalize( vTBN * mapN );\n\t#else\n\t\tnormal = perturbNormal2Arb( -vViewPosition, normal, mapN );\n\t#endif\n#elif defined( USE_BUMPMAP )\n\tnormal = perturbNormalArb( -vViewPosition, normal, dHdxy_fwd() )... | JavaScript |
l, nil)
Group.new("GitSignsUntrackedLn", colors.light_green, nil, nil)
Group.new("GitSignsUntrackedNr", colors.light_green, nil, nil)
Group.new("GitSignsAddInline", colors.green, nil, nil)
Group.new("GitSignsAddLnInline", colors.green, nil, nil)
Group.new("GitSignsDeleteInline", colors.red, nil, nil)
Group.new("GitSign... | Lua |
arm_func_start ov01_0232B124
ov01_0232B124: ; 0x0232B124
#ifdef EUROPE
#define OV01_0232B124_LOAD_OFFSET #4
#else
#define OV01_0232B124_LOAD_OFFSET #0
#endif
stmdb sp!, {r4, r5, r6, lr}
mov r6, r0
mov r0, #2
mov r5, r1
mov r4, r2
bl ov01_0232C1D8
ldr r0, _0232B188 ; =ov01_0233C0D8
ldr r0, [r0, OV01_0232B124_LO... | Assembly |
retValue[i++] = rs.getInt(1);
rs = stat.executeQuery(query3);
rs.next();
retValue[i++] = rs.getInt(1);
for (int j = 0; j < updateCount.length; j++) {
trace("UpdateCount:" + updateCount[j]);
assertEquals(updateCount[j], retValue[j]);
}
}
pr... | Java |
"
<< x_y_dydx.X()
<< std::endl;
gzthrow("Out of order x_y_dydx element detected.");
}
this->dataPtr->splinePoints.push_back(
ignition::math::Vector2d(x_y_dydx.X(),
x_y_dydx.Y()));
this->dataPtr->splineSlopes.push_back(x... | C++ |
/tags-y-z.html" target="_blank" class="relatedlink">一针</a>接种10天后可以<a href="http://www.to3158.cn/tags-c-s6596f6d7418a4.html" target="_blank" class="relatedlink">产生</a>抗体。</p><p>科兴新冠疫苗是北京科兴中维生物技术有限公司生产的灭活疫苗,名称叫克尔来福。2020年12月7日,科兴控股生物技术有限公司<a href="http://www.to3158.cn/tags-b-s659f7257cbd6b.html" target="_blank" style="col... | HTML |
t path= Path::new( &code_dir() )
.join("rust")
.join("advent-of-code")
.join(year)
.join(type_dir)
.join(filename);
path.to_str().unwrap().to_string()
}
pub fn unittest_dir(year :&str, filename :&str) -> String {
file_dir(year, filename, "unittest")
}
pub fn data_dir(ye... | Rust |
24012124124937318633684e261,
-5.52310313219743616252320044093186392324280e264,
+7.62772793964343924869949690204961215533859e267,
-1.07155711196978863132793524001065396932667e271,
+1.53102008959691884453440916153355334355847e274,
-2.22448916821798346676602348865048510824835e277,
+3.28... | C++ |
{ immediate, periodic }
Future<void> setupParkingWidgetsWorkManager() async {
await Workmanager().initialize(callbackDispatcher);
// On Android minimum interval is 15 minutes (as of 10/08/2025).
// Thus we're launching here immediate worker that's enclosed in infinite loop with 60 sec interval
// 2nd one - p... | Dart |
M164.051 10.6902C164.582 9.82296 165.369 9.10339 166.411 8.53146C167.473 7.94102 168.702 7.64584 170.099 7.64584C171.534 7.64584 172.832 7.96869 173.993 8.61449C175.173 9.26028 176.096 10.1736 176.766 11.3544C177.434 12.5168 177.768 13.8729 177.768 15.4227C177.768 16.9541 177.434 18.3194 176.766 19.5187C176.096 20.718 ... | HTML |
粮食工作,必须量入为出,瞻前顾后,以丰补欠,细水长流,统筹安排,留有余地。不管多大的丰收,总要打紧一点,搞稳一点,秋冬紧一点,春夏才好过。因此,要反复教育城乡人民,学会过日子,省吃俭用,多储备,忙时多吃,闲时少吃,有稀有干,杂以蕃薯瓜菜豆角之类。
</p>
<h3>
<em>
夏秋粮征购期间,各专员公署、自治州、市、县(市)、自治县应该成立办公室,在党委统一领导下,负责征购工作。
</em>
</h3>
<p>
甘肃省粮食厅1959年7月29日
</p>
<h3>
定西专区粮食征购任务执行情况表
</h3>
<h3>
1958—1959粮食年度 ... | HTML |
_classcom_1_1mxgraph_1_1mxGraphViewReader"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxGraphViewReader.html#a22ffb53c5451f9bb251fb5457b02ba1f">mxGraphViewReader</a> ()</td></tr>
<tr class="memdesc:a22ffb53c5451f9bb25... | HTML |
tation:
# rotate the point cloud
euler_ab=np.random.rand(3)*np.pi*2/self.rot_factor # anglez, angley, anglex
rot_ab= Rotation.from_euler('zyx', euler_ab).as_matrix()
if(np.random.rand(1)[0]>0.5):
src_pcd=np.matmul(rot_ab,src_pcd.T).T
... | Python |
2.3 3.9l4-220C140.4 197.2 85 95.2 21.4 0c11.9 3.1 23 3.9 33.2 3.9 9 0 20.4-.8 34.1-3.9 40.9 72.2 82.1 138.7 135 225.5C261 163.9 314.8 81.4 358.6 0c11.1 2.9 22 3.9 32.9 3.9 11.5 0 23.2-1 35-3.9C392.1 47.9 294.9 216.9 252 292z"],yammer:[512,512,[],"f840","M421.78 152.17A23.06 23.06 0 0 0 400.9 112c-.83.43-1.71.9-2.63 1.4... | JavaScript |
csr mhpmevent27h
csr mhpmevent28h
csr mhpmevent29h
csr mhpmevent30h
csr mhpmevent31h
# Sstc extension
csr stimecmp
csr stimecmph
csr vstimecmp
csr vstimecmph
# Supported in previous priv spec, but dropped now
csr ubadaddr # 0x043 in 1.9.1, but the value is utval since 1.10
csr sbadaddr # 0x143 in 1.9.1... | Assembly |
Link!!).document
val episodeUrl: String?
var isM3U8 = false
if(episodePage.select("video.afterglow > source").isNotEmpty()) //Old player
episodeUrl = episodePage.select("video.afterglow > source").first()!!.attr("src")
else{ ... | Kotlin |
}
}
.price-axis-currency-label-25tFaE37 tr.readonly-25tFaE37 {
pointer-events: none;
}
.price-axis-currency-label-25tFaE37 tr.readonly-25tFaE37 td:last-child {
padding-right: 4px;
}
.price-axis-currency-label-25tFaE37.multiline-25tFaE37
.price-axis-currency-label-dropdown-25tFaE37:last-child {
border-top: 1px s... | CSS |
.children = null;
}
}
public static ToTreeItem_Token(token: Core.SyntaxToken): TreeItem {
var treeItem = new TreeItem();
TreeItem.AssignTreeItem_Token(treeItem, token);
return treeItem;
}
public static AssignTreeItem_Token(treeItem: TreeItem, token: Core.SyntaxToken): v... | Typescript |
6(a0),4(a0)
move.w 8(a0),6(a0)
move.w 10(a0),8(a0)
move.w 12(a0),10(a0)
move.w 14(a0),12(a0)
move.w 16(a0),14(a0)
move.w 18(a0),16(a0)
move.w 20(a0),18(a0)
move.w 22(a0),20(a0)
move.w 24(a0),22(a0)
move.w 26(a0),24(a0)
move.w 28(a0),26(a0)
move.w 30(a0),28(a0)
move.w 32(a0),30(a0)
move.w 34(... | Assembly |
>
<body>
<header id="header">
<p id="titulo">AROUND ME</p>
<a href="./agenda.html"><img class="atras" src="../image/Atras.png" alt="Atras"></a>
</header>
<img class="efect" src="../image/fondo4.png" alt="Dec">
<img class="efect2" src="../image/fondo5.png" alt=... | HTML |
apshot_load.put(
snapshot_path="foo",
mem_backend={"backend_type": "File"},
)
# API request with invalid `backend_type` should fail.
with pytest.raises(
RuntimeError, match="unknown variant `foo`, expected `File` or `Uffd`"
):
vm.api.snapshot_load.put(
... | Python |
deadObjects =
{
[16784128] =
{
["objectPos"] =
{
["y"] = 12.058506043836,
["x"] = -293009.56073812,
["z"] = 654701.4937709,
}, -- end of ["objectPos"]
["objectType"] = "vehicle",
["objectData"] =
{
["point"] =
{
["y"] = 654705.71428571,
["x"] = -293002.85714286,
}, -- end of... | Lua |
5
.type _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERmm.isra.38.constprop.51, @function
_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERmm.isra.38.constprop.51:
.LFB4333:
.cfi_startproc
movq (%rdi), %rdi
testq %rdi, %rdi
js .L12
addq $1, %rdi
jmp _Znwm@PLT
.L12:
leaq .LC0(%r... | Assembly |
Object();
this.findEdgeSegmentForNode(node);
} else if(node.isChanged) {
this.findEdgeSegmentForNode(node);
}
},
/**
* Finds the appropriate edge segement for a node.
* The segment is choosen, which has the smallest distance to the node.
*
* @param {ORYX.Core.Node} node
* The concer... | JavaScript |
p><b>Rachel:</b> What?! We can't do that!</p>
<p><b>Monica:</b> We have too! I mean what if Ross's hears that and then calls her back
and then they get back together? Is that what you want? Ross back with that controlling,
neurotic, crazy Emily? The Emily that wouldn't let him see you?</p>
<p><b>Rachel:</b> Noo! Oh n... | HTML |
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 program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package c... | Kotlin |
�ൊണ്ടുവരികയും, അനന്തരം അതില് നിന്ന് പച്ചപിടിച്ച ചെടികള് വളര്ത്തിക്കൊണ്ട് വരികയും ചെയ്തു. ആ ചെടികളില് നിന്ന് നാം തിങ്ങിനിറഞ്ഞ ധാന്യം പുറത്ത് വരുത്തുന്നു. ഈന്തപ്പനയില് നിന്ന് അഥവാ അതിന്റെ കൂമ്പോളയില് നിന്ന് തൂങ്ങി നില്ക്കുന്ന കുലകള് പുറത്ത് വരുന്നു. (അപ്രകാരം തന്നെ) മുന്തിരിത്തോട്ടങ്ങളും , പരസ്പരം തുല്യത തോന്നുന... | Dart |
- - - - - - - - - - 1.00 - - 1.00 1.50 1.50 - - vpshlq %xmm0, (%rax), %xmm3
# CHECK-NEXT: - - - - - - - - - - - - - - - 1.00 - - 1.00 - - - ... | Assembly |
}, actorLevel = 211.30700683594, },
[34] = { 0.80000001192093, 1.2000000476837, 7, statInterpolation = { 3, 3, 1, }, actorLevel = 221.62800598145, },
[35] = { 0.80000001192093, 1.2000000476837, 7, statInterpolation = { 3, 3, 1, }, actorLevel = 232.17500305176, },
[36] = { 0.80000001192093, 1.2000000476837,... | Lua |
orderService.updateOrderStatus(request);
log.warn("过期订单已处理:" + orderId);
}
}
}
```# 班车服务
## BusController
### getCount
> 这部分缓存,优化的时候采用了Redis的list,发现我用Jmeter测试并发的时候,发现了Redis中出现了非常多的异常数据,我当时还没有找到问题,暂时先采取以下方案,以下方案在并发时候,并没有出现数据异常。
```java
if (redisUtils.hasKey(key)) {
// 如果缓存存在
... | Markdown |
oft.FSharp.Linq.NullableModule::ToSByte$W(Microsoft.FSharp.Core.FSharpFunc`2<T,System.SByte>,System.Nullable`1<T>)"><a href="#file0_line91" class="navigatetohash">ToSByte$W(...)</a></td><td>2</td><td>2</td><td>0%</td><td>0%</td><td>0</td></tr>
<tr><td title="System.Nullable`1<System.Int16> Microsoft.F... | HTML |
-hero-heading {
font-size: 8.5vw;
line-height: 8.5vw;
}
}
.custom-row-about .col-12 {
height: 520px;
}
.custom-col-about-bg {
height: 520px;
background-size: auto;
background-position: 100% 0;
}
@media (max-width: 991px) {
.custom-col-about-bg {
background-size: cover;
}
}
@media (max-width: 991px) {
... | CSS |
")
private class GenericKlass<T>
/**
* Note: [T] must not contain type variables.
*/
private inline fun <reified T> mirrorOf(): JTypeMirror =
TypesFromReflection.fromReflect(
testTypeSystem,
object : TypeLiteral<T>() {}.type,
... | Kotlin |
/* $NetBSD: atomic_swap.S,v 1.14 2015/05/17 20:57:11 justin Exp $ */
/*-
* Copyright (c) 2007,2012 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by Jason R. Thorpe and Matt Thomas.
*
* Redistribution and use in source and binary ... | Assembly |
linear-gradient(180deg, rgba(53, 55, 64, 0), #353740 58.85%);
}
.md\:bg-vert-light-gradient {
background-image: linear-gradient(180deg, hsla(0, 0%, 100%, 0) 13.94%, #fff 54.73%);
}
.md\:\!bg-transparent {
background-color: transparent !important;
}
[role='button'],
button {
cursor: pointer;
}
.btn {
align-... | CSS |
// determine length of the handshake message
var sessionId = c.session.id;
var length =
sessionId.length + 1 + // session ID vector
2 + // version (major + minor)
4 + 28 + // random time and random bytes
2 + // chosen cipher suite
1; ... | HTML |
import numpy as np
# Define the grid
grid = np.array([['x', 'x', 'x'], ['x', '73', '47'], ['x', 'x', 'x']])
# Define the range of possible numbers
numbers = list(range(34, 79))
# Remove the numbers already in the grid from the list of possible numbers
for row in grid:
for num in row:
if num != 'x' and i... | Python |
wooteco.sokdak.post.domain.PostDeletionEvent;
import com.wooteco.sokdak.util.DatabaseCleaner;
import com.wooteco.sokdak.util.ServiceTest;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
c... | Java |
Map<String, dynamic> saveData = {
"uid": uid,
NewFriendRepo.from: from,
NewFriendRepo.to: to,
NewFriendRepo.nickname: payload["from"]["nickname"] ?? "",
NewFriendRepo.avatar: payload["from"]["avatar"] ?? "",
NewFriendRepo.msg: payload["from"]["msg"] ?? "",
NewFriendRepo.pay... | Dart |
"f5347cab4b28410a6e8ba5143e3d5a35";
function init() {
"use strict";
//地图容器
var vecsrc = {
//来源类型为栅格瓦片
type: "raster",
tiles: [
//来源请求地址,请求天地图提供的全球矢量地图WMTS服务
"http://t" +
Math.round(Math.random() * 7) +
".tianditu.gov.cn/vec_c/wmts?S... | HTML |
# "Copyright 2025, Battelle Energy Alliance, LLC All Rights Reserved"
from __future__ import division
from operator import *
import statistics
import sys
import csv
# Import code for model simulation:
from pypdevs.simulator import Simulator
import matplotlib.pyplot as plt
import numpy as np
import pylab
import time... | Python |
list-search-result li .ddp-wrap-detailname span.ddp-data-detailname em.ddp-icon-new {
display: none;
}
.theme-dark .ddp-ui-search-result ul.ddp-list-search-result li .ddp-wrap-detailname span.ddp-data-detailname strong {
font-weight: normal;
color: #666db7;
}
.theme-dark .ddp-ui-search-result ul.ddp-list-... | CSS |
+ CCFSZ + 40], %g6
ldd [%sp + CCFSZ + 48], %i0
ldd [%sp + CCFSZ + 56], %i2
ldd [%sp + CCFSZ + 64], %i4
ldd [%sp + CCFSZ + 72], %i6
b return_from_trap ! go return
wr %l0, 0, %psr ! (but first disable traps again)
/*
* fp_exception has to check to see if we are trying to save
* the FP state, and if so, conti... | Assembly |
4692-85C6-86CB9D1BDE0E" );
// Attribute for BlockType: Content:Context Entity Type
RockMigrationHelper.AddOrUpdateBlockTypeAttribute( "7258A210-E936-4260-B573-9FA1193AD9E2", "3549BAB6-FE1B-4333-AFC4-C5ACA01BB8EB", "Context Entity Type", "ContextEntityType", "Context Entity Type", @"The type of ... | C# |
// Code copied from: https://stackoverflow.com/a/58949869
// LICENSE: https://creativecommons.org/licenses/by-sa/4.0/
using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Linq;
// ReSharper disable CommentTypo
// Originally: namespace: Utils
namespace AndroidSdk;
/// <summary> Unpack... | C# |
<li><a href="#" onclick="showFilter()">Filter</a></li>
</ul>
</nav>
</header>
<section id="payment">
<h2>Payment Summary</h2>
<!-- Sample payment items, replace this with dynamic data from your backend -->
<div class="payment-item">
<img ... | HTML |
_instance = MusicManager._internal();
factory MusicManager() => _instance;
MusicManager._internal();
// 统一的音频轨道管理
final Map<AudioTrackType, AudioPlayer> _trackPlayers = {
AudioTrackType.music: AudioPlayer(),
AudioTrackType.sound: AudioPlayer(),
};
// 音效可能需要多个播放器来支持重叠播放
final List<AudioPlayer> _... | Dart |
/// let foo = try_get_provider_param!(params, "foo");
/// ```
#[macro_export]
macro_rules! try_get_provider_param {
( $params:expr , $key:tt ) => {
match $params.remove($key) {
Some(value) => value,
None => return Box::new(future::err(BrokerError::ProviderInput(
conc... | Rust |
d65eea9c9fbfd06e6c068f2abef52781e8610070089dbf7d702484000b3b22f06e497e4b1babeebdebffd34104e7becda11f77ada82336d00f74a4a94758ac505a0bacdd52d7739d62b616eb03840d24d4a2df42df295c31d6a489ada4a1a7e60a4418b0e7e9c037f21096d55e71dd479fa06c2fcc2893ed3100642414245b50103140000007f41141100000000a61518d94943fdb3099b7152ae8853406b431... | Go |
re completed roughly 2 months apart -
enough time for a small portion of URLs to have changed their content
significantly. In the future, both stages of analysis would preferably be done
at the same time. The main analysis took just over 2 weeks to complete, while
the validation phase took about 3 weeks... | HTML |
en_exit"] = "\U000f0294", //
["nf-md-function"] = "\U000f0295", //
["nf-md-function_variant"] = "\U000f0871", //
["nf-md-furigana_horizontal"] = "\U000f1081", //
["nf-md-furigana_vertical"] = "\U000f1082", //
["nf-md-fuse"] = "\U000f0c85", // ... | C# |
<reponame>balrog-rust/cursive
use crate::logger;
use crate::theme;
use crate::view::View;
use crate::Printer;
use crate::Vec2;
use unicode_width::UnicodeWidthStr;
/// View used for debugging, showing logs.
pub struct DebugView {
// TODO: wrap log lines if needed, and save the line splits here.
}
impl DebugView {... | Rust |
= assert(this.scopedLocals);
assert(scopedLocals.has(name));
let local = assert(scopedLocals.get(name));
assert(local.index == -1);
scopedLocals.delete(name);
}
/** Frees this flow's scoped variables and returns its parent flow. */
freeScopedLocals(): void {
var scopedLocals = this.scopedLoc... | Typescript |
�造函数中使用泛型
{
class User<T>{
constructor(private _user:T){
}
public get(): T{
return this._user;
}
}
interface UserInterface{
name: string;
age: number
}
const obj = new User<UserInterface>({name: 'payue', age: 21});
console.log(obj.get().name... | Typescript |
filename, true)
return true
end
--- Saves all unsaved buffers to their respective files.
-- Print and output buffers are ignored.
-- @param[opt=false] untitled Prompt the user for filenames to save untitled buffers to. If
-- the user cancels saving any untitled buffer, the remaining unsaved files stay unsaved.
-- @re... | Lua |
) : UIViewController(nibName = null, bundle = null),
WKNavigationDelegateProtocol {
private lateinit var webView: WKWebView
@OptIn(ExperimentalForeignApi::class)
override fun viewDidLoad() {
super.viewDidLoad()
// Create and configure WKWebView.
val config = WKWebViewConfigura... | Kotlin |
R5 += 3;
R7 += 5;
l6e:[ -- SP ] = ( R7:4 );
NOP;
LSETUP ( m0s , m0s ) LC1 = P0;
m0s:[ -- SP ] = ( R7:5 );
LSETUP ( m1s , m1e ) LC1 = P0;
m1s:R5 += 1;
m1e:[ -- SP ] = ( R7:5 );
LSETUP ( m2s , m2e ) LC1 = P0;
m2s:R5 += 1;
R6 += 2;
m2e:[ -- SP ] = ( R7:5 );
LSETUP ( m3s , m3e ) LC1 = P0;
m3s:R5 += 1;
R6 +... | Assembly |
on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* $$$$$$\ $$$$$$$\ $$$$$$\
* $$ __$$\ $$ __$$\ $$ __$$\
* ... | Kotlin |
krediter att ge!"
L.xfer_send = "Sänd en kredit"
L.xfer_help = "Du kan endast överföra krediter till dina {role}-kamrater."
L.xfer_no_recip = "Mottagare ej giltig avbryter kredit-överföring."
L.xfer_no_credits = "Ej tillräckligt med krediter för överföring."
L.xfer_success = "Kredit-överföring till {p... | Lua |
.assertThat
import org.hexworks.zircon.api.builder.component.buildPanel
import org.hexworks.zircon.api.component.Component
import org.hexworks.zircon.internal.data.GridPosition
import org.hexworks.zircon.internal.data.PixelPosition
import org.hexworks.zircon.internal.resource.BuiltInCP437TilesetResource
import org.juni... | Kotlin |
}
}}
// Client7z.cpp
#include "StdAfx.h"
#include <stdio.h>
#include "../../../Common/MyWindows.h"
#include "../../../Common/Defs.h"
#include "../../../Common/MyInitGuid.h"
#include "../../../Common/IntToString.h"
#include "../../../Common/StringConvert.h"
#include "../../../Windows/DLL.h"
#include "../../../Wi... | C++ |
import os
os.system('cls' if os.name == 'nt' else 'clear')
n=10
print (n)
print("La suma de 5 + 3 es:", 5+3)
print("La resta de 10 - 5 es:", 10-5)
print("La multiplicacion 100 * 2 es:", 100*2)
print("La division de 20 / 10 es:", 20/10)
| Python |
h independently at random with
// probability p.)
// [TODO] Switch to the faster implementation using geometric distributions
// for sparse graphs.
fn get_er_graph(&mut self, n: u64, p: f64) -> CLQResult<Self::GraphType> {
let mut v = Vec::new();
let mut rng = rand::thread_rng();
... | Rust |
-- @version 1.01
-- @author MPL
-- @description Generate DC offset envelope from asymmetric waveform
-- @website http://forum.cockos.com/showthread.php?t=188335
-- @changelog
-- # hardcoded buffer limit = 2^21 (approximately 48 seconds for 44100 SR)
window = 0.02
scale = 1
for key in pairs(reaper) do _G... | Lua |
="mt bbda">{lang announcement}</h2>
<ul id="annonav">
<li class="cl{if empty($_GET[m])} a{/if}"><a href="forum.php?mod=announcement">{lang all}</a></li>
<!--{loop $months $month}-->
<li class="cl{if $_GET[m] == $month[0].$month[1]} a{/if}"><a href="forum.php?mod=announcement&m=$month[0].$month[1]">$month[... | HTML |
0
DC.W -1440
DC.W -1280
DC.W -1120
DC.W -1120
DC.W -960
DC.W -960
DC.W -800
DC.W -640
DC.W -480
DC.W -480
DC.W -320
DC.W -160
DC.W -160
LogoDistort:
INCLUDE GIGADIST.INC\WAVE1.S
INCLUDE GIGADIST.INC\WAVE3.S
INCLUDE GIGADIST.INC\WAVE4.S
INCLUDE GIGADIST.INC\WAVE2A.S
INCLUDE GIGADIST.INC\... | Assembly |
x20,$0x20,$0x20
2d25e: 20
2d25f: 20 20 20 23 addp4 $0x20,$0x20,$0x23,$0xa
2d263: 0a
2d264: 00 halt
2d265: 25 66 00 64 mulp (r6),$0x0,(r4),-(r2),(r1),-(r7)
2d269: 72 61 77
2d26c: 00 halt
2d26d: 41 44 43 53 addf3 r3[r3][r4],$0x20 [f-float],r2[r5]
2d271: 20 45 52
2d... | Assembly |
USA </p>
</div>
<div class="toprow fighter_row_top_ufc">
<div class="topcolumn" style="font-size:1.5rem;text-align: center;border:1px solid #ccc;">
Shavkat Rakhmonov (Win)<br/>
"Nomad" </div>
<div class="topcolumn" style="font-size:1.5rem;text-align: center;border:1px solid #ccc;">
Steph... | HTML |
16-black-metal-khold .hljs-meta-keyword {
font-weight: bold;
}
.theme-base16-black-metal-khold-min {
/*!
Theme: Black Metal (Khold)
Author: metalelf0 (https://github.com/metalelf0)
License: ~ MIT (or more permissive) [via base16-schemes-source]
Maintainer: @highlightjs/core-team
Version: 2021.09.0
*/
}
.the... | CSS |
es.stringResource
import androidx.compose.ui.tooling.preview.Preview
import androidx.compose.ui.unit.dp
import androidx.compose.ui.unit.sp
import com.example.happybirthday.ui.theme.HappyBirthdayTheme
class MainActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCre... | Kotlin |
nd="#BDB77A", activebackground='orange', fg="white", cursor="hand2", command=clear)
cle_btn.place(x=130, y=650)
# The next button
nex_btn = Button(text="Next", width=14, font=("Georgia", 10, 'bold'), borderwidth=1,
background="#70E121", activebackground='orange', fg="white", cursor="hand2")
nex_btn.pl... | Python |
}
function existsSync(filePath) {
return mockFiles[filePath];
}
function readFileSync(filePath) {
return mockFiles[filePath];
}
fs.__setMockFiles = __setMockFiles;
fs.existsSync = existsSync;
fs.readFileSync = readFileSync;
module.exports = fs;import { PackageChangelog, ChangelogJson } from '../types/ChangeLog'... | Typescript |
let.addInitialTokens();
await wallet.save();
return wallet;
}
@override
Future<EthereumWallet> restoreFromSeed(EVMChainRestoreWalletFromSeedCredentials credentials,
{bool? isTestnet}) async {
if (!bip39.validateMnemonic(credentials.mnemonic)) {
throw EthereumMnemonicIsIncorrectException(... | Dart |
(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 27)) | (((value as u32) & 0x01) << 27);
self.w
}
}
#[doc = "Reader of field `ENABLE_PRESENT`"... | Rust |
. (Legal values: Americas, Asia, Europe)</param>
/// <param name="gameName">GameName of the account you're looking for.</param>
/// <param name="tagLine">TagLine of the account you're looking for.</param>
/// <returns>An Account.</returns>
Task<Account> GetAccountByRiotIdAsync(Region reg... | C# |
>
socket.on('connect', function() {
console.log('老夫连上大厅了!');
});
</code></pre>
</section>
<section>
<h4>获取大厅和房间</h4>
<ol><li><p>获取所有可用大厅</p> <pre><code>
sgt.LobbyService.getAvaliableLobbies(function(result,data){
if(result){
... | HTML |
}
bool CompressScript(const CScript& script, std::vector<unsigned char> &out)
{
CKeyID keyID;
if (IsToKeyID(script, keyID)) {
out.resize(21);
out[0] = 0x00;
memcpy(&out[1], &keyID, 20);
return true;
}
CScriptID scriptID;
if (IsToScriptID(script, scriptID)) {
... | C++ |
::Value("Integer overflow".into())),
op_subtract_underflow_int: "-9223372036854775807 - 2" => Err(Error::Value("Integer overflow".into())),
op_subtract_overflow_float: "2e308 - -2e308" => Ok(Float(std::f64::INFINITY)),
op_subtract_round_int_float: "9223372036854775807 - -10.0" => Ok(Float(9_223_372_036_854_... | Rust |
lias.options.region).to.deep.equal('us-east-1'),
expect(awsAlias.options.function).to.deep.equal('first'),
expect(awsAlias.options.interval).to.be.equal(1000),
expect(awsAlias.options.logGroupName).to.deep.equal(awsAlias.provider.naming
.getLogGroupName('customName'))
]));
});
});
describe('#ap... | JavaScript |
gs[2] {
break
}
if !(x0.Uses == 1 && x1.Uses == 1 && x2.Uses == 1 && x3.Uses == 1 && s0.Uses == 1 && s1.Uses == 1 && s2.Uses == 1 && o0.Uses == 1 && o1.Uses == 1 && mergePoint(b, x0, x1, x2, x3) != nil && clobber(x0) && clobber(x1) && clobber(x2) && clobber(x3) && clobber(s0) && clobber(s1) && clobber(s2) && clo... | Go |
const MachineOperand *CalleeOp
= TII->getNamedOperand(MI, AMDGPU::OpName::callee);
const Function *Callee = cast<Function>(CalleeOp->getGlobal());
if (Callee->isDeclaration()) {
// If this is a call to an external function, we can't do much. Make
// conservative gues... | C++ |
// UI has a different way of registering OnClick support
close.onClick = new OnClick((): void => {
this.container.visible = false;
});
}
}import { EventEmitter2, Listener } from "eventemitter2";
class Evented<T extends string> {
private emitter: EventEmitter2;
constructor() {
/... | Typescript |
s._source.reparseOverscaled?t.wrapped().key:t.canonical.key)}updateCacheSize(t,e){e=e||this._source.tileSize;const i=Math.ceil(t.width/e)+1,n=Math.ceil(t.height/e)+1,r=Math.floor(i*n*5),s="number"==typeof this._minTileCacheSize?Math.max(this._minTileCacheSize,r):r,o="number"==typeof this._maxTileCacheSize?Math.min(this... | JavaScript |
```csharp
public string Id { get; set; }
```
- *Type:* string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.16.0/docs/data-sources/lex_bot_alias#id DataAwsLexBotAlias#id}.
Please be aware that the id field is automatically added to all resources in Terraform providers usi... | Markdown |
x, y, mid, in_buffer, count);
Fill_VB_Recursive(out_buffer, x, mid + y, mid, in_buffer, count);
Fill_VB_Recursive(out_buffer, mid + x, y, mid, in_buffer, count);
Fill_VB_Recursive(out_buffer, mid + x, mid + y, mid, in_buffer, count);
}
}
void W3DTerrainBackground::Set_Flip_Recursive(int x,... | C++ |
;
// }
// });
// return schema;
// }
import {Equip} from '../bag/goods';
export class Hero {
// 英雄id
id:number;
//英雄槽位 从0开始
index:number;
//英雄exp总量
exp:number;
//突破层数
lv:number;
//装备
equips:Equip[];
//技能
skills:Skill[];
//剩余技能点
skillPointNum:number;
... | Typescript |
�悉,精通C/JAVA/Python/Go等一种或多种语言;
3、熟悉GPU、网络、存储、K8s、大模型技术原理、大模型训练推理基础知识;
4、有复杂系统架构设计及落地经验者优先,有千卡/万卡智算平台架构研发经验者优先;
5、良好的沟通、协调与逻辑思维能力,具有很强的分析问题和解决问题的能力,对解决具有挑战性问题充满激情;
6、了解业内实践和趋势,有较好的前瞻性。
备注:持有阿里云ACA/ACP/ACE认证证书者优先
</details>
---
#### [诚云科技-运维工程师(资产)-IDC事业部](https://careers.aliyun.com/off-campus/position-detail?posi... | Markdown |
cp.CtX01UyCeO0.JAG.AHPpx5",
},
{
pass: "<PASSWORD>(`",
hash: "$7$A!....1....TrXs5Zk6s8sWHpQgWDIXTR8kUU3s6Jc3s.DtdS8M2i4$a4ik5hGDN7foMuHOW.\
cp.CtX01UyCeO0.JAG.AHPpx5",
},
{
pass: "<PASSWORD>(`",
hash: "$7$... | Rust |
gtkIconTheme);
this._changesId = settings.connect('notify::gtk-icon-theme', () => {
this._iconTheme.set_custom_theme(settings.gtkIconTheme);
});
}
get iconTheme() {
return this._iconTheme;
}
destroy() {
if (this._changesId)
St.Settings.get().disc... | JavaScript |
09668E8
/* 018CC 80950B8C C5440000 */ lwc1 $f4, 0x0000($t2) ## 809668E8
/* 018D0 80950B90 3C0D8096 */ lui $t5, %hi(D_80966928) ## $t5 = 80960000
/* 018D4 80950B94 25AD6928 */ addiu $t5, $t5, %lo(D_80966928) ## $t5 = 80966928
/* 018D8 80950B98 E4246908 */ swc1 $f4, %lo(D_80966908)($at) ... | Assembly |
();
const flexible = win[sym] || (win[sym] = {});
if (metaEl) {
const match = metaEl
.getAttribute('content')
.match(/initial-scale=([\d.]+)/);
if (match) {
scale = parseFloat(match[1]);
dpr = parseInt((1 / scale).toString());
}
} else if (flexibleEl) {
... | Typescript |
console.log(tape);
console.log("done.");
import React from "react";
import { useEffect } from "react";
function UseInterval(callback:()=> void, delay:number | null) {
const savedCallback = React.useRef(callback);
useEffect(()=>{
savedCallback.current=callback
},[callback])
useEffect(()=>{
... | Typescript |
/ addi r4, r31, 0x16c
/* 802C3DF0 002C0BF0 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 802C3DF4 002C0BF4 7D 89 03 A6 */ mtctr r12
/* 802C3DF8 002C0BF8 4E 80 04 21 */ bctrl
/* 802C3DFC 002C0BFC 80 6D 0A A8 */ lwz r3, lbl_805DDB88@sda21(r13)
/* 802C3E00 002C0C00 38 80 00 00 */ li r4, 0
/* 802C3E04 002C0C04 38 AD B8 A0 */... | Assembly |
from django.db import models
class MinimalUser(models.Model):
REQUIRED_FIELDS = ()
USERNAME_FIELD = "id"
| Python |
{
for (let j = Math.max(col - 1, 0); j <= Math.min(col + 1, 7); j++) {
if (row === i && col === j) {
continue;
}
const piece = tiles[row][col];
const pieceAtNewPos = tiles[i][j];
if (canTake(piece, pieceAtNewPos) || pieceAtNewPos === "") {
legalMoves = setLegalMove(leg... | Typescript |
_c_k.html"/>
<a href="group_____c_a_l_l_b_a_c_k.html#ga1c9cf06bc8a44f9a49a48ba87c6116a9"/>
<a href="group_____c_a_l_l_b_a_c_k.html#ga3ad9f22f553f01ebc18b773bcf888acc"/>
<a href="group_____c_a_l_l_b_a_c_k.html#ga83fd48a46bf796f38d0090abeafaa107"/>
<a href="group_____c_a_l_l_b_a_c_k.html#gabeffc8b387b810f26e30c065f1474f5... | HTML |
of constrained degrees of freedom. A transformation constraint handler enforces the constraints using the transformation method.
* The single-point constraints when using the transformation method are done directly. The matrix equation is not manipulated to enforce them, rather the trial displacements are set dire... | Markdown |
/*
*
* Copyright 2021-2025 Software Radio Systems Limited
*
* This file is part of srsRAN.
*
* srsRAN is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of
* the License, or (at y... | C |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.