content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
.9d()},E));H e=b.Q(G(g){H f=4K(g.e5/g.e8*4B,10);E.2W.18("e6 "+f+"%")},E);H d=3G.dS.9k();F(d.3S){d.3S.dR("7Z",e,I)}H c=G(){K d};E.2W.1g(0).dQ=b.Q(G(h){h.31();E.2W.26("4s").2a("dP");H g=h.dT.dU[0];H f=2r dW();F(E.J.2i!==I&&Z E.J.2i==="1T"){b.1q(E.J.2i,b.Q(G(j,i){F(i.38().3e("#")===0){i=b(i).15()}f.19(j,i)},E))}f.19("2d",... | JavaScript |
0 * SIZE(X)
fabs f8, f8
fsub f16, f0, f8
fsel f0, f16, f8, f0
b LL(999)
.align 4
LL(20):
sub X, X, INCX
srawi. r0, N, 4
mtspr CTR, r0
beq- cr0, LL(25)
LFDUX f8, X, INCX
LFDUX f9, X, INCX
bdz LL(23)
.align 4
LL(22):
fabs f8, f8
LFDUX f10, X, INCX
fabs f9, f9
LFDUX f11, X, INCX
fabs f10,... | Assembly |
}
this._ctx.restore();
}
}/**
* Takes grant information supplied by the grant middleware and converts it into User information
*/
import User, { userDocumentToUser } from "../models/User";
import { TUser } from "@upswyng/types";
import axios from "axios";
interface TGrantGoogle {
provider: "googl... | Typescript |
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
Licensed under the 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 a... | C |
hidden[32]</var>, <var class="Fa">const uint8_t curve[32]</var>,
<var class="Fa">uint8_t tweak</var>);</p>
<p class="Pp"><var class="Ft">void</var>
<br/>
<code class="Fn">crypto_hidden_to_curve</code>(<var class="Fa">uint8_t
curve[32]</var>, <var class="Fa">const uint8_t hidden[32]</var>);</p>
<p class="Pp"... | HTML |
* <code>.FriendOnlineState online_state = 9;</code>
* @return The enum numeric value on the wire for onlineState.
*/
int getOnlineStateValue();
/**
* <code>.FriendOnlineState online_state = 9;</code>
* @return The onlineState.
*/
emu.grasscutter.net.proto.FriendOnlineStateOuterC... | Java |
nBuilder
import logcat.LogPriority
import tachiyomi.core.common.i18n.stringResource
import tachiyomi.core.common.util.system.logcat
import tachiyomi.i18n.MR
class AnimeExtensionInstallService : Service() {
private var installer: InstallerAnime? = null
override fun onCreate() {
val notification = noti... | Kotlin |
--VSOP87-Multilang http://www.celestialprogramming.com/
--Greg Miller (gmiller@gregmiller.net) 2022. Released as Public Domain
local vsop87c_nano_velocities = {}
function vsop87c_nano_velocities.getMercury(t)
local temp={0.0, 0.0, 0.0}
temp[1]=vsop87c_nano_velocities.mercury_x(t) / 365250.0
temp[2]=vsop87c_... | Lua |
,由于 Plasma MVP 采用的是 UTXO 模型,所以即使交易的收款方不存在,交易也是成立的。
在子链上 Alice 向 Bob 发送一个交易的流程如下:
1. Alice 首先需要得到 Bob 在子链上的地址;
2. Alice 将一个或多个 UTXO 作为输入构造交易发送到 Bob 的地址,并对交易签名;
3. 等待该交易被打包到区块中;
4. Alice 向 Bob 发送确认消息,并且使用相同的私钥签名。
### 生成区块
在 Plasma MVP 中,一个 Plasma 区块产生的情况只有两种:一种是 Operator 打包生成区块,另外一种是当用户执行 deposit 操作时,由 Plasma 合约直接生成一... | Markdown |
) {
super(CONFIG_NS_ID, "log", true);
this.mode = null;
this.threshold = null;
this.to = null;
this.uri = null;
}
}
class MapElement extends XFAObject {
constructor(attributes) {
super(CONFIG_NS_ID, "map", true);
this.equate = new XFAObjectArray();
this.equateRange = new XFAObjectArr... | JavaScript |
"""Test tablet responsive design workflow."""
page.set_default_timeout(10000)
# Set tablet viewport
page.set_viewport_size({"width": 768, "height": 1024})
mock_login(page, live_server)
# Test tablet functionality
posts_tab = page.locator('[data-tab="Posts"]')
expect(posts_tab).to_be_vis... | Python |
;
bodyB: b2Body;
collideConnected?: boolean;
}
export declare class b2JointDef {
readonly type: b2JointType;
userData: any;
bodyA: b2Body;
bodyB: b2Body;
collideConnected: boolean;
constructor(type: b2JointType);
}
export declare abstract class b2Joint {
readonly m_type: b2JointType;... | Typescript |
>δ</code> = 0.001). The environment is assumed to be an iso-velocity and with a constant depth of 20 m. The source is at a depth of 5 m. The receiver is at a range of 100 m from the source, and makes measurements at depths from 1 to 19 m in steps of 1 m.</p>
<div id="2" class="cell" data-execution_count="1">
<div class... | HTML |
# -------------------------------------------------------------
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you unde... | Python |
mi-img.com/800_pic/27f951556f2c30a7357a4c6c3907337d.png@base@tag=imgScale&h=350&w=350&et=1ð=480&etw=480&etc=FFFFFF",
"price_min": 21900
},
{
"name": "小米头戴式耳机",
"pic_url":
"http://img.youpin.mi-img.com/800_pic/406_2978ccc5... | Dart |
xv, yv, zv, uv, vv, wv, 'filled', 'r', axis=[-7,7,-7,7,-7,7])
</pre>
<p>The strings <tt class="docutils literal">'filled'</tt> and <tt class="docutils literal">'r'</tt> are optional and makes the arrows
become filled
and red, respectively. The resulting plot is presented in Figure
<a class="reference internal" href="#f... | HTML |
hashCode()
return result
}
override fun equals(other: Any?): Boolean {
return other is CalculatedResponsiveSpec &&
availableSpace == other.availableSpace &&
cells == other.cells &&
startPaddingPx == other.startPaddingPx &&
endPaddingPx == other.en... | Kotlin |
stopped_in_range {
let mut step = target_step[0];
while step * y - step * (step - 1) / 2 >= YMIN {
let target_y = step * y - step * (step - 1) / 2;
if (target_y >= YMIN) && (target_y <= YMAX) {
touched = true;
... | Rust |
class month_type>
inline unsigned short
month_str_to_ushort(std::string const& s) {
if((s.at(0) >= '0') && (s.at(0) <= '9')) {
return boost::lexical_cast<unsigned short>(s);
}
else {
std::string str = convert_to_lower(s);
//c++98 support
#if defined(BOOST_NO_CXX11_UNIFI... | C++ |
{
Debug.Assert(
so.ResultKind == ServiceOperationResultKind.DirectValue ||
so.ResultKind == ServiceOperationResultKind.Enumeration ||
so.ResultKind == ServiceOperationResultKind.QueryWithMultipleResults ||
so.ResultKind ==... | C# |
er = 0x06d2 /* U+0440 CYRILLIC SMALL LETTER ER */
const val XK_Cyrillic_es = 0x06d3 /* U+0441 CYRILLIC SMALL LETTER ES */
const val XK_Cyrillic_te = 0x06d4 /* U+0442 CYRILLIC SMALL LETTER TE */
const val XK_Cyrillic_u = 0x06d5 /* U... | Kotlin |
st WifiAuthenticateResponse$json = {
'1': 'WifiAuthenticateResponse',
'2': [
{'1': 'wifi', '3': 1, '4': 1, '5': 11, '6': '.SpaceX.API.Device.ChallengeResponse', '10': 'wifi'},
{'1': 'dish', '3': 2, '4': 1, '5': 11, '6': '.SpaceX.API.Device.ChallengeResponse', '10': 'dish'},
],
};
/// Descriptor for `Wifi... | Dart |
strneh r1, [r0, #0x7c]
ldr r1, [r0, #0x20]
ldr r1, [r1, #0x14]
ldr r1, [r1, #0x10]
mov r1, r1, lsl #0x1a
movs r1, r1, lsr #0x1f
ldrnesh r2, [r0, #0x7e]
mvnne r1, #0x0
smulbbne r1, r2, r1
strneh r1, [r0, #0x7e]
_0208C3C0:
mov r2, #0x0
str r2, [r0, #0x4]
ldr r1, [r0, #0x4]
str r1, [r0, #0x0]
str r2, [r0, #0... | Assembly |
// Generated by TankLibHelper
// ReSharper disable All
namespace TankLib.STU.Types
{
[STU(0x40DA6CDF, 144)]
public class STUVoiceLine : STUInstance
{
[STUField(0x401F5484, 8)] // size: 16
public teStructuredDataAssetRef<STUVoiceStimulus> m_stimulus;
[STUField(0x386B8E9C, 24)] // si... | C# |
implements AlarmConfigurer {
private @Autowired AlarmConfigDao alarmConfigDao;
private @Autowired AlarmRecordDao alarmRecordDao;
private @Autowired AlarmRecordRuleDao alarmRecordRuleDao;
private @Autowired ContactService contactService;
private @Autowired NotificationContactService notificationContactService;
p... | Java |
culateQuantityOrderArgs): Double {
// Reminder: commissionTake will be commissionMake if Sell open order
// How we got this formula: https://www.binance.com/en/support/faq/how-to-calculate-cost-required-to-open-a-position-in-perpetual-futures-contracts-87fa7ee33b574f7084d42bd2ce2e463b
// Derive the formula ... | Kotlin |
ion/ptq_static">qdq</a></td>
</tr>
<tr>
<td>FCN (ONNX Model Zoo)</td>
<td>Image Recognition</td>
<td>Post-Training Static Quantization</td>
<td><a href="./onnxrt/image_recognition/onnx_model_zoo/fcn/quantization/ptq_static">qlinearops</a> / <a href="./onnxrt/image_recognition/onnx_model_zoo/fcn/quan... | Markdown |
122.1 185.9-236.8 0-91.8-50.8-171.8-125.8-213.3-5.7-3.2-13-.9-15.9 5-2.7 5.5-.6 12.2 4.7 15.1 67.9 37.6 113.9 110 113.9 193.2 0 93.3-57.9 173.1-139.8 205.4v-92.2c14.2-4.5 24.9-17.7 24.9-33.5 0-13.1-6.8-24.4-17.3-30.5 8.3-79.5 44.5-58.6 44.5-83.9V170c0-38-87.9-161.8-129-164.7-2.5-.2-5-.2-7.6 0C251.1 8.3 163.2 132 163.2 ... | JavaScript |
}
}package cc.aoeiuv020.panovel.api.site
import org.junit.Test
/**
* Created by AoEiuV020 on 2018.06.03-15:47:22.
*/
class GgdownTest : BaseNovelContextText(Ggdown::class) {
@Test
fun search() {
search("都市")
search("与天同兽", "雾矢翊", "46272")
search("黑风城战记", "耳雅", "19447")
}
... | Kotlin |
= {
Pass = 1, -- 通关
KillMonster = 2, -- 击杀怪物
KillElite = 3, -- 击杀精英怪
KillNum = 4, -- 击杀总数量
MoveNum = 5, -- 移动次数
BoxNum = 6, -- 宝箱数量
KillMonsterNum = 7, -- 击杀怪物数量,不含精英怪
DeathNum = 8, -- 角色死亡数量不大于X个(单局)
TeamNum = 9 -- 通关队伍(单局)
}
-- 副本条件类型(直接战斗)
FightStarType = {
Pass = 1, -- 通关
... | Lua |
", "help", "Print this help menu");
// Parse options
let matches = unwrap_or_barf(opts.parse(&options), "Could not parse options");
// Print help message if we have to
if matches.opt_present("h") {
help(&prog_name, opts);
}
// Get start and end samples
let start_sample = matches
... | Rust |
><dt class="spec value" id="val-degree"><a href="#val-degree" class="anchor"></a><code><span class="keyword">val</span> degree : <a href="index.html#type-t">t</a> <span>-></span> <span><a href="../../../BO__Polynomials/Degree/index.html#type-t">BO__Polynomials.Degree.t</a> option</span></code></dt><dt class="spe... | HTML |
let fake_block = bincode::deserialize::<FakeBlock>(&bytes1).unwrap();
let bytes2 = bincode::serialize(&fake_block).unwrap();
assert_eq!(bytes1, bytes2);
}
#[test]
fn test_fake_block() {
use std::convert::TryFrom;
let block = Block::new(
CryptoHashOf::from(CryptoHash(Vec::new())),
Pa... | Rust |
_AlreadyRead = 0;
SetAllPavesViewHisto(HistoCode, StexStin_A, i0StinEcha, i0Sample, opt_plot, arg_AlreadyRead);
}
void TEcnaHistos::SetAllPavesViewHisto(const TString& HistoCode,
const Int_t& StexStin_A,
const Int_t& i0StinEcha,
... | C++ |
val buffer = StringBuilder()
for (i in 0 until lengthInBits) {
buffer.append(if (get(i)) '1' else '0')
}
return buffer.toString()
}
}
/*
* ImageToolbox is an image editor for android
* Copyright (c) 2024 T8RIN (Malik Mukhametzyanov)
*
* Licensed under the Apache Lice... | Kotlin |
mat {
dimensions:
row = 2 ;
col = 3 ;
variables:
short M(row, col) ;
data:
M =
11, 12, 13,
21, 22, 23 ;
}
</strong>
</pre>
<p>The following are equivalent ways of printing the final element:</p>
<pre>
<strong>$ nc2text 'mat.nc M[1,2]'
23
$ nc2text 'mat.nc M(2,3]'
23
$ nc2te... | HTML |
args,
impl.init,
impl.update,
impl.subscriptions,
function() { return function() {} }
);
});
// INITIALIZE A PROGRAM
function _Platform_initialize(flagDecoder, args, init, update, subscriptions, stepperBuilder)
{
var result = A2(_Json_run, flagDecoder, _Json_wrap(args ? args['flags'] : undefined));
e... | JavaScript |
odifier.weight(Float.NaN)
}
assertFailure<IllegalArgumentException> {
Modifier.weight(Float.NEGATIVE_INFINITY)
}
}
}
@Test fun testRow_doesNotPlaceChildrenOutOfBounds_becauseOfRoundings() = runTest {
runMosaicTest(NodeSnapshots) {
val expectedRowWidth = 11
val leftPadding = 1
setContent {
... | Kotlin |
tyle license that can be found in the LICENSE file.
//
// VMOptions=
// VMOptions=--short_socket_read
// VMOptions=--short_socket_write
// VMOptions=--short_socket_read --short_socket_write
import "dart:async";
import "dart:io";
import "package:expect/expect.dart";
Future getData(HttpClient client, int port, bool chu... | Dart |
MutableBatch> {
self.tables.get(name)
}
/// Returns the number of tables within this write
pub fn table_count(&self) -> usize {
self.tables.len()
}
/// Returns the minimum timestamp in the write
pub fn min_timestamp(&self) -> i64 {
self.min_timestamp
}
/// Retu... | Rust |
; font-size: 10pt;">package</span><span style="font-family: 'Verdana','sans-serif'; color: black; font-size: 10pt;">
except in compliance with the License. You may obtain a copy of the License
at:<br><br></span></p>
<div style="text-align: center;"><span style="font-family: 'Verdana','sans-serif'; color: black; font-... | HTML |
在,会有警告。
`-G`参数后面可以跟多个组,用于一次将用户添加到多个组。组与组之间使用逗号分隔,逗号前后不能有空格。
```bash
$ sudo usermod -a -G group1,group2 username
```
`-g`参数用于改变一个用户的主要组,后面跟的是组名。
```bash
$ sudo usermod -g groupname username
```
## gpasswd 命令
`gpasswd`命令用于将用户从指定组移除。
```bash
$ sudo gpasswd -d username groupname
```
`-d`参数用于指定组名。
`passwd`命令还可以用来设置... | Markdown |
seName, requestTestDef);
}
else
{
assertThat(
baseName,
requestTestDef.getRequestCases(),
listsMembers( RequestCaseMatcher::new, readRequestCases( baseName).getRequestCases()));
}
}
/**
* Returns the {@link RequestCase} objects represented by the given docum... | Java |
enchmark.html#a12b46f3164e3445aff1cd12b62b2c2cf">shark::benchmarks::MultiObjectiveBenchmark< Objectives ></a></li>
<li>get_dalphab_dtheta() : <a class="el" href="classshark_1_1_c_svm_derivative.html#aad1d2282bcb2519f7ff7f31e1a1dc7c2">shark::CSvmDerivative< InputType, CacheType ></a></li>
<li>get_d... | HTML |
ing?,
revisionCreateTime: json_['revisionCreateTime'] as core.String?,
revisionId: json_['revisionId'] as core.String?,
samplingConfig:
json_.containsKey('samplingConfig')
? GoogleCloudApigeeV1RuntimeTraceSamplingConfig.fromJson(
json_['samplingConfi... | Dart |
X(r%d)", RTNUM, IMM, RSNUM); break;
case 0x20: snprintf(buf, dasm_buf_size, "lb\tr%d, 0x%04X(r%d)", RTNUM, IMM, RSNUM); break;
case 0x21: snprintf(buf, dasm_buf_size, "lh\tr%d, 0x%04X(r%d)", RTNUM, IMM, RSNUM); break;
case 0x22: snprintf(buf, dasm_buf_size, "lwl\tr%d, 0x%04X(r%d)", RTNUM, IMM, RSNUM); break... | C++ |
# Key Learnings:
1. **Choose Pattern Based on Needs**:
- AP (Eureka): High availability over consistency
- CP (Consul): Consistency over availability
- DNS (K8s): Simplicity and scale
2. **Indian Context Matters**:
- Geographic distribution across 500+ cities
- Regulatory compliance (RBI, data locali... | Markdown |
_water_base, {
name = "cerys-ice-on-water-melting",
frozen_variant = "cerys-ice-on-water",
autoplace = "nil",
}),
})
--== Dry ice ==--
-- stylua: ignore
local dry_ice_rough_variants = tile_variations_template(
"__Cerys-Moon-of-Fulgora__/graphics/terrain/dry-ice-rough.png",
"__base__/graphics/terrain/masks/tr... | Lua |
= 1; i < sortedDates.length; i++) {
final diff = sortedDates[i].difference(sortedDates[i - 1]).inDays;
if (diff == 1) {
currentStreak++;
} else {
longestStreak =
longestStreak > currentStreak ? longestStreak : currentStreak;
currentStreak = 1;
}
}
lon... | Dart |
AllSideEffectsAndDependsOnSomething() {
if (_free) return;
_sideEffects.setAllSideEffects();
_sideEffects.setDependsOnSomething();
}
void setAllSideEffects() {
if (_free) return;
_sideEffects.setAllSideEffects();
}
void addInput(SideEffectsBuilder input) {
if (_free) return;
(input... | Dart |
asswdPtr->pw_gid;
} else {
groupPtr = getgrnam (ownArgv [1]);
if (groupPtr != NULL)
groupId = groupPtr->gr_gid;
else {
if (!Tcl_StrToInt (ownArgv [1], 10, &groupId)) {
Tcl_AppendResult (interp, "unkno... | C |
\
(IOMUXC_SW_PAD_CTL_PAD_SRE(1) | IOMUXC_SW_PAD_CTL_PAD_DSE(6) | IOMUXC_SW_PAD_CTL_PAD_SPEED(3) | \
IOMUXC_SW_PAD_CTL_PAD_PKE(1) | IOMUXC_SW_PAD_CTL_PAD_PUE(1) | IOMUXC_SW_PAD_CTL_PAD_PUS(0) | \
IOMUXC_SW_PAD_CTL_PAD_HYS(1))
/*====================== CLOCK Definitions ==========================... | C |
UserDAO.login(param.email, (user, error) => {
let successPayload = user;
let errorPayload = {data: null, error: 'Nom de compte ou mot de passe incorrect.'};
if (user) {
let hashedPass = CryptoJS.SHA256(param.password).toString();
let passIsCorrect:... | Typescript |
return x.CompareTo (other.x);
}
}
public struct GenericComparableStructEquals : IComparable<GenericComparableStructEquals> {
private int x;
public int CompareTo (GenericComparableStructEquals other)
{
return x.CompareTo (other.x);
}
public override bool Equals (object obj)
{
if (obj... | C# |
//
// Generated file, do not edit! Created by nedtool 5.7 from traci/TraCIDemo11pMessage.msg.
//
#ifndef __VEINS_TRACIDEMO11PMESSAGE_M_H
#define __VEINS_TRACIDEMO11PMESSAGE_M_H
#if defined(__clang__)
# pragma clang diagnostic ignored "-Wreserved-id-macro"
#endif
#include <omnetpp.h>
// nedtool version check
#define... | C |
','),
'--favicon',
docsRoot.childFile('favicon.ico').absolute.path,
'--package-order',
'flutter,Dart,$kPlatformIntegrationPackageName,flutter_test,flutter_driver',
'--auto-include-dependencies',
];
String quote(String arg) => arg.contains(' ') ? "'$arg'" : arg;
print(
'E... | Dart |
import de.fraunhofer.aisec.cpg.graph.*
import de.fraunhofer.aisec.cpg.graph.declarations.TranslationUnitDeclaration
import de.fraunhofer.aisec.cpg.graph.statements.*
import de.fraunhofer.aisec.cpg.graph.statements.expressions.Block
import de.fraunhofer.aisec.cpg.graph.statements.expressions.CallExpression
import de.fr... | Kotlin |
DateValueAccessor],
exports: [TimeDateValueAccessor],
})
export class TimeDateModule {}import {
convertVoxelOctreeDepthToSide, readVoxelMaterialAddressOfVoxelOctreeAtPosition, VoxelOctree,
writeVoxelOctreeMaterialAddress
} from '../octree';
import { NO_MATERIAL, VOXEL_MATERIAL_BYTES_PER_ELEMENT, VoxelMaterial, wr... | Typescript |
toolbox-xml.js. They're used so that the primitive/opcode values of
// outputted shadow blocks are correct.
//
// Many of the entries here may seem to be missing inputs. That's becuase it
// only maps Scratch 3.0 inputs - not fields. sb-edit doesn't distinguish
// between fields and inputs, but it's critical that proj... | Typescript |
the West Point slum of Monrovia on August 16. A crowd of several hundred local residents reportedly drove away the burial team and their police escort. The mob then forced open an Ebola isolation ward and took patients out, saying the Ebola epidemic is a hoax." class="media__image" itemprop="image" src="http://i2.cdn.... | HTML |
https://www.google.com/alerts): 设置与你的品牌名、网站名、核心主题相关的提醒。当网上出现相关新内容时,你会收到邮件通知。这有助于你发现别人提到了你但没加链接的情况 (可以去请求加上),或是发现新的链接建设机会。
</details>
---
<details>
<summary><h2>5、其他优化</h2></summary>
1. **查收录:** 去 [Google Search Console](https://search.google.com/search-console/about) (免费,后面简称 GSC),用 "网址检查" 功能看看你的重要页面 Google 能不能找到。... | Markdown |
m. If not, see <https://www.gnu.org/licenses/>.
//
using DotNext;
namespace Ferrite.Services;
public interface IPhotoProcessor
{
/// <summary>
/// Generates a thumbnail of the photo.
/// </summary>
/// <param name="src"></param>
/// <param name="w"></param>
/// <param name="type"></param>
... | C# |
P79ewZBQUFkIQZGOiu6e/cuiptQHAPl0NtNxAQBAM97Oejj3Dg7AAAAAElFTkSuQmCC);
}
.theme-grayscale-min .hljs-emphasis {
font-style: italic;
}
.theme-grayscale-min .hljs-strong {
font-weight: 700;
}
.theme-hybrid pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em;
}
.theme-hybrid code.hljs {
padding: 3px 5px;
}
... | CSS |
1f32 a[a_c+32:a_c+63], v[v_a+2], v[v_b+3], a[a_c+32:a_c+63] ; repeat:0x1, step:0x0, num_a_c:32
buffer_load_dword v[v_gld_b+5], v[v_in_os], s[s_p_in:s_p_in+3], s[s_in_offset+3] offen offset:0
ds_read_b32 v[v_a+2], v[v_sld_a_os] offset:1536 ; load i_k:3 into local buffer 1, repeat 0
s_waitcnt lgkmcnt(5)
... | Assembly |
ee_comp,
process_token_list, ARRAY_SIZE(process_token_list),
sof_ipc3_widget_bind_event},
};
const struct sof_ipc_tplg_ops ipc3_tplg_ops = {
.widget = tplg_ipc3_widget_ops,
.control = &tplg_ipc3_control_ops,
.route_setup = sof_ipc3_route_setup,
.control_setup = sof_ipc3_control_setup,
.control_free = so... | C |
") val totalBytes: Long,
@JsonProperty("path") val path: Uri,
)
data class DownloadQueueResumePackage(
@JsonProperty("index") val index: Int,
@JsonProperty("pkg") val pkg: DownloadResumePackage,
)
private const val SUCCESS_DOWNLOAD_DONE = 1
private const val SUCCESS_STREAM ... | Kotlin |
_transaction_ctx>(transId);
if (!trans)
{
return SCE_NP_COMMUNITY_ERROR_INVALID_ID;
}
*result = trans->wait_for_completion();
return CELL_OK;
}
error_code sceNpTusPollAsync(s32 transId, vm::ptr<s32> result)
{
sceNpTus.warning("sceNpTusPollAsync(transId=%d, result=*0x%x)", transId, result);
auto& nph = g_fx... | C++ |
; => accumulate x_mv
; init_co_sub_n_index xdlops
v_lshlrev_b32 v[v_tmp], 4, v[0]
v_and_b32 v[v_co_sub_n_index], 63, v[v_tmp]
v_add_u32 v[v_tmp], s[s_block_gtc_ik], v[v_co_sub_n_index]
v_cmp_gt_u32 vcc, s[s_k], v[v_tmp]
v_cndmask_b32 v[v_out_flag], 0, 1, vcc
; output offset
s_mul_i32 ... | Assembly |
ingType, datetimeType, unsigned32, unsigned64, signed32, signed64, floatType, doubleType, bytesType, anyType, arrayType, arrayOfArrayType, mapType);
}
Map<String, dynamic> encode() {
Map<String, dynamic> _data = Map();
if (this.booleanType != null) {
_data["boolean_type"] = this.booleanType;
}
... | Dart |
ique-se de:\n<ul>\n<li>Coletar todos os logs relevantes ao experimentar o problema</li>\n<li>Coletar a versão do software Monero que você está executando<br />\n</li>\n<li>Coletar o SO do seu sistema e a versão</li>\n<li>Link para quaisquer problemas relevantes existentes, threads reddit, etc.</li>\n</ul></li>\n</ul></... | Dart |
ypedef AnyComponent = Component<dynamic>;
/// Component that contains a [defaults] value instead of null.
/// See [ValueComponent] from Oxygen.
abstract class Component<T> extends oxygen.Component<T>
with HasProtoBaseMix, HasStringIdMix {
Component() {
_value = defaults;
}
/// [value] converted to [Comp... | Dart |
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Text;
using System.Linq;
using System.Threading;
namespace Snowflake... | C# |
>= love.graphics.getWidth() - game.ball_size then
game.ball_spd_x = -math.abs(game.ball_spd_x)
end
if game.ball_pos_y >= love.graphics.getHeight() - game.ball_size then
game.ball_spd_y = -math.abs(game.ball_spd_y)
end
if game.ball_pos_y <= 0 then
game.ball_spd_y = math.abs(game.... | Lua |
/*
* linux/arch/arm/mach-clps711x/arch-ceiva.c
*
* Copyright (C) 2002, Rob Scott <rscott@mtrob.fdns.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the Licens... | C |
Name(Position.LEFT.getCssName()));
navSection.setPosition(Position.RIGHT);
assertTrue(navSection.getElement().hasClassName(Position.RIGHT.getCssName()));
assertFalse(navSection.getElement().hasClassName(Position.LEFT.getCssName()));
}
public void testAddLinks() {
// given
... | Java |
+GraphQL+type+schema+and+live+syntax+and%0A++++%23+validation+errors+highlighted+within+the+text.%0A++++%23%0A++++%23+GraphQL+queries+typically+start+with+a+%22%7B%22+character.+Lines+that+start%0A++++%23+with+a+%23+are+ignored.%0A++++%23%0A++++%23+An+example+GraphQL+query+might+look+like%3A%0A++++%23%0A++++%23+++++%7B... | Markdown |
r事件响应器
Salt的Reactor系统让您能够触发任何事件的响应行为。 您不仅可以在作业和任务完成时触发操作,还可以在服务关闭、用户登录、文件更改以及可以发送自定义事件的任何位置触发操作(构建脚本结束、cron作业等等)。
## 响应器的配置
通过向/etc/salt/master或/etc/salt/master.d/reactor.conf中添加top-level响应器部分(只允许有一个响应器配置段落)来配置响应器。
以下是与minion开始事件、云资源销毁事件和自定义事件字符串匹配的reactor配置示例:
``` yaml
reactor: # Salt mast... | Markdown |
eight - 40), sk.name, "window");
GUIStyle window = GUI.skin.GetStyle ("window");
int x = 0, y = 0;
// Go over all GUIStyles inside the skin.
foreach (GUIStyle s in sk) {
// Display them as a toggle button (toggle buttons use all background images, and you can click to toggle it).
testBool = GUI.Toggle ... | C# |
orward(umat_inputBlobs,
umat_outputBlobs,
umat_internalBlobs);
if (getParam_DNN_CHECK_NAN_INF())
{
bool fail = false;
for (size_t i = 0; i < umat_outputBlobs.size(); ++i)
... | C++ |
: Math.max(minColumnWidth, availableWidth / columnCount);
for (int i = 0; i < columnCount; i++) {
expandColumn[i] = expandCount > 0;
widths[i] = columnWidth;
}
} else if (width != SWT.DEFAULT && expandCount > 0) {
int totalWidth = 0;
for (int i = 0; i < columnCount; i++) {
totalWidth += ... | Java |
!=end_index(facit)) {
bool incremented_now=false;
auto ind=kernel.properties.get<Indices>(indit, true);
if(ind) {
// The indexs need to be in the set for which the object is
// traceless (if specified, otherwise accept all).
if(trl->index_set_names.find(ind->set_name)!=trl->index_set_names.en... | C++ |
corner_a<<", corner_b="<<corner_b<<", face_a_active="<<face_a_active<<", face_b_active="<<face_b_active;
if (boundaryPlane.distance(frustum.center)<0.0)
{
boundaryPlane.flip();
OSG_INFO<<", flipped boundary edge "<<boundaryPlane<<std::endl;
}
... | C++ |
pilotWithNameDocuments("es-test-data-2", "test", "data", 0),
},
},
{
navObjects: []runtime.Object{
pilotWithNameDocuments("es-test-data-0", "test", "data", 10),
pilotWithNameDocuments("es-test-data-1", "test", "data", 10),
},
cluster: clusterWithNodePools("test", nodePoolWithNameReplicasRole... | Go |
color: Colors.white,
context: context,
actions: [
IconsOutlineButton(
onPressed: () {
Navigator.pop(context);
},
text: '取消',
// iconData: Icons.cancel_outlined,
textStyle: TextStyle(color: Colors.grey),
iconC... | Dart |
parent view-group
*
* @note getView is repeatedly called to layout the list of shots
*/
// @RecentlyNonNull
@SuppressLint("WrongConstant")
@Override
public View getView( int pos, View convertView, ViewGroup parent )
{
DBlock b = (DBlock)(getItem( pos ));
ViewHolder holder; // = null;
... | Java |
ntent-Length: 0\r\n\r\n"
}
private fun createTeardown(cSeq: Int): String {
return "${createHeader(cSeq)}\r\n"
}
private fun encodeToString(bytes: ByteArray): String {
return Base64.encode(bytes)
}
}/*
* Copyright (C) 2021 panpf <panpfpanpf@outlook.com>
*
* Licensed under the Apache License, Versi... | Kotlin |
Suffix = (pad + this.stats.tests).slice(-pad.length);
test.title = `${test.title} [${testSuffix}]`;
if (test.createLogger) {
this.logger = test.createLogger(this.stats.tests, test.title);
} else {
// the test doesn't have a function to create a logger so look for one further up
... | Typescript |
;
border-color: #17a2b8;
}
.icheck-white > input:first-child:not(:checked):not(:disabled):hover + label::before,
.icheck-white > input:first-child:not(:checked):not(:disabled):hover + input[type="hidden"] + label::before {
border-color: #ffffff;
}
.icheck-white > input:first-child:not(:checked):not(:disabled):foc... | CSS |
{ .ie7icon(''); }
.icon-double-angle-down { .ie7icon(''); }
.icon-angle-left { .ie7icon(''); }
.icon-angle-right { .ie7icon(''); }
.icon-angle-up { .ie7icon(''); }
.icon-angle-down { .ie7icon(''); }
.icon-desktop ... | CSS |
32 32-32s32 14.3 32 32l96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-96 0 0 64 18.7 0c8.5 0 16.6 3.4 22.6 9.4l22.6 22.6 32 0c88.4 0 160 71.6 160 160 0 17.7-14.3 32-32 32l-64 0c-17.7 0-32-14.3-32-32s-14.3-32-32-32l-36.1 0c-20.2 29-53.9 48-91.9 48s-71.7-19-91.9-48L32 352c-17.7 0-32-14.3-32-32l0-64c0-17.7 14.3-32 32-32l96 0 2... | JavaScript |
Config = {} -- DO NOT MODIFY THIS LINE OF CODE
DREAM_TRANSLATE = {} -- DO NOT MODIFY THIS LINE OF CODE
--- Language configuration setting.
-- This sets the active language for translations in the system.
---@usage Config.LANGUAGE = 'en' -- This sets the language to English.
---@field Config.LANGUAGE string (... | Lua |
Q(mset.count(4), 1);
gtl::btree_map<int, int> map;
map.insert({
{1, 5 },
{ 2, 10}
});
// Test that inserting one element using an initializer list also works.
map.insert({ 3, 15 });
EXPECT_EQ(map[1], 5);
EXPECT_EQ(map[2], 10);
EXPECT_EQ(map[3], 15);
gtl::btree_mult... | C++ |
45148.html" target="_blank">FreeBuf 报道文章</a> </p>
<p>[来源:<a href="http://securityaffairs.co/wordpress/62148/cyber-warfare-2/us-cyber-warfare-command.html" target="_blank" rel="nofollow">SecurityAffairs</a>]</p>
<h3>安全公司 Root9B 因无力履行债权而濒临倒闭,可能被摘牌</h3>
<p>今天,美国 Colorado 州的一家安全公司 Root9B Holdings(纳斯达克代码:RTNB)(简称 RTNB)... | HTML |
using Sharpliner.AzureDevOps.Expressions;
namespace Sharpliner.AzureDevOps;
/// <summary>
/// Represents a condition that can be used in Azure DevOps YAML.
/// </summary>
public abstract class IfCondition : Condition
{
internal bool IsElseIf = false;
internal override string TagStart => IsElseIf ? ElseIfTag... | C# |
/is-email'
type Client = {
id?: string
name :string
email: string
password: string
}
const validate = (isEmailFn: IsEmail) =>
(client: Client): Result<Client | undefined> => {
if (client.id !== undefined && client.id.length === 0) {
return makeResultModel(undefined, {
propNames: ['id'],
... | Typescript |
"></script>
<script src="site_libs/clipboard/clipboard.min.js"></script>
<script src="site_libs/quarto-search/autocomplete.umd.js"></script>
<script src="site_libs/quarto-search/fuse.min.js"></script>
<script src="site_libs/quarto-search/quarto-search.js"></script>
<meta name="quarto:offset" content="./">
<link href=".... | HTML |
2":[[113830],[]]},"陡变":{"dou3 bian4":[[113831],[]]},"陡跌":{"dou3 die1":[[113832],[]]},"院":{"yuan4":[[113833],[]]},"院坝":{"yuan4 ba4":[[113834],[]]},"院士":{"yuan4 shi4":[[113835],[]]},"院子":{"yuan4 zi5":[[113836],[]]},"院感":{"yuan4 gan3":[[113837],[]]},"院本":{"yuan4 ben3":[[113838],[]]},"院校":{"yuan4 xiao4":[[113839],[]]},"院牧"... | JavaScript |
n)
* @returns {quat2} new dual quaternion
* @function
*/
export function fromRotationTranslationValues(x1, y1, z1, w1, x2, y2, z2) {
var dq = new glMatrix.ARRAY_TYPE(8);
dq[0] = x1;
dq[1] = y1;
dq[2] = z1;
dq[3] = w1;
var ax = x2 * 0.5,
ay = y2 * 0.5,
az = z2 * 0.5;
dq[4] = ax * w1 + ay * ... | JavaScript |
1_1transform_1_1threadblock_1_1PredicatedTileAccessIterator.html">PredicatedTileAccessIterator</a>(params, pointer, extent, thread_id,</div><div class="line"><a name="l00602"></a><span class="lineno"> 602</span>  <a class="code" href="namespacecutlass.html#a7419519fa453a121dfa5... | HTML |
l <e=%edi,<x0=%edx
xorl %edi,%edx
# qhasm: *(uint32 *) (c + 16) = x0
# asm 1: movl <x0=int32#3,16(<c=int32#2)
# asm 2: movl <x0=%edx,16(<c=%ecx)
movl %edx,16(%ecx)
# qhasm: x1 ^= x0
# asm 1: xorl <x0=int32#3,<x1=int32#4
# asm 2: xorl <x0=%edx,<x1=%ebx
xorl %edx,%ebx
# qhasm: x2 ^= x1
# asm 1: xorl <x1=int32#4,<x2=in... | Assembly |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.