content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
/kafka-console-producer.sh --zookeeper localhost:2181 --topic test</b>
This is a message
This is another message
</pre>
<h3>Step 4: Start a consumer</h3>
Kafka also has a command line consumer that will dump out messages to standard out.
<pre>
<b>> bin/kafka-console-consumer.sh --zookeeper localhost:2181 --topic ... | HTML |
.TryGetValue(moduleName, out var mod))
{
return mod;
}
if (moduleName == "netstandard")
{
if (!_loadedNetstandard)
{
LoadNetStandard();
}
return null;
}
... | C# |
mNPwL1NACshYhKUqIN2YvFEB6ca0LxSQAlJACkgBKSAFpICsADXdVEAKSAEpIAWkgBSQAlJACkgBKaDgA41hc8vUXHM3UPOLVQpIAbkH9D87oz0rvnJrOgAAAABJRU5ErkJggg==');margin-bottom:.4em;-webkit-background-size:100% auto;background-size:100% auto}.ath-container p{margin:0;padding:0;position:relative;z-index:2147483642;text-shadow:0 .1em 0 #fff;fon... | CSS |
DEwNC45OTIgMTE4Qzk4Ljk3NDggMTE4IDk0
LjA0ODUgMTEzLjA1OCA5NC4wNDg1IDEwNy4wMjNMOTQgNjAuODhaIiBmaWxs
PSJ3aGl0ZSIvPgo8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVs
ZT0iZXZlbm9kZCIgZD0iTTMyIDE2OC44OEMzMiAxNjIuODQ0IDM2LjkyNjMg
MTU4IDQyLjk0MzQgMTU4SDEwOC4zMTNDMTE0LjMzIDE1OCAxMTkuMjA4IDE2
Mi44OTMgMTE5LjIwOCAxNjguOTI5TDExOS4yNTcg... | HTML |
omponent_K2Node_ComponentBoundEvent_1_Damage__DelegateSignature");
static_assert(sizeof(NPC_Guard_C_BndEvt__NPC_Guard_DamageComponent_K2Node_ComponentBoundEvent_1_Damage__DelegateSignature) == 0x000030, "Wrong size on NPC_Guard_C_BndEvt__NPC_Guard_DamageComponent_K2Node_ComponentBoundEvent_1_Damage__DelegateSignature")... | C++ |
/university-of-york-ieee.csl"},{label:"University of York - Modern Humanities Research Association 3rd edition",id:"university-of-york-mhra",value:"https://raw.githubusercontent.com/citation-style-language/styles/master/university-of-york-mhra.csl"},{label:"University of York - Modern Language Association 8th edition",... | JavaScript |
tiny.height:* ${sul.hits[no].videos.tiny.height}\n\n*videos.medium.size:* ${sul.hits[no].videos.medium.size}\n*videos.medium.width:* ${sul.hits[no].videos.medium.width}\n*videos.medium.url:* ${sul.hits[no].videos.medium.url}\n*videos.medium.height:* ${sul.hits[no].videos.medium.height}\n*picture_id:* ${sul.hits[no].pic... | JavaScript |
namespace DevToys.Api;
/// <summary>
/// A component that represents a drop down list where the user can select one item in it.
/// </summary>
public interface IUISelectDropDownList : IUITitledElement
{
/// <summary>
/// Gets the list of items displayed in the drop down list.
/// </summary>
IUIDropDow... | C# |
ns(i1)) {
updateBoundaries(i1, m_error[i1]);
}
if (!m_I0.contains(i2)) {
updateBoundaries(i2, m_error[i2]);
}
return 1;
}
else {
return 0;
}
}
/**
* updates the index sets I0a, IOb, I1, I2 and I3 for vector i
*
* @param i index of vector
* @param C... | Java |
//fail!
//getMyEnvDir(Environment.DIRECTORY_DOCUMENTS);break; //only Api 19!
if (_directory != 8) {
switch(_directory) {
case 0: filePath = getMyEnvDir(Environment.DIRECTORY_DOWNLOADS); break;
case 1: filePath = getMyEnvDir(Environment.DIRECTORY_DCIM); br... | Java |
.906.236-1.939.355-3.072.355h-.73c-.522 0-1.029.188-1.427.525a2.21 2.21 0 0 0-.744 1.328l-.055.299-.924 5.855-.042.215c-.011.068-.03.102-.058.125a.155.155 0 0 1-.096.035H7.266z"/>
<path fill="#179BD7" d="M23.048 7.667c-.028.179-.06.362-.096.55-1.237 6.351-5.469 8.545-10.874 8.545H9.326c-.661 0-1.218.48-1.321 1.132L6.59... | JavaScript |
{:?}", shared);
let shared2 = SharedFlock::try_lock(&file);
println!("#2shared {:?}", shared2);
assert_eq!(shared.is_ok(), true);
assert_eq!(shared2.is_ok(), true);
// manual or automatic unlock SharedFlock_x2
// drop(shared);
// drop(shared2);
Ok( () )
}
```
# Support of platforms:
1. Unix, Linux: Full... | Rust |
Request", e);
writeLog(LogWriter.LOG_ERROR, Level.INFO,
(toAdd) ? "FAILED_ADD_ATTRIBUTE_SCHEMA_CHOICE_VALUES" :
"FAILED_SET_ATTRIBUTE_SCHEMA_CHOICE_VALUES", args);
throw new CLIException(e, ExitCodes.REQUEST_CANNOT_BE_PROCESSED);
}
}
private v... | Java |
49ae55a7004b2b266631dc16884a3158d5a3f5fd249".hexToByteArray(),
"0d606ea9dba4abfee35e2119babd9d9e".hexToByteArray()
)
every {
decrypt(
EncryptionManager.CryptoData(
"be5173c1f20949055c5076ff4805c6f74cb1b6849631fce61eeb749... | Kotlin |
Object> & _objects; ///< Reference to the objects to process.
List _order; ///< Will contain the indices of the objects selected.
/** Information for object sorting. */
struct DistPair {
long id = -1; ///< Index of the object.
double distance = std::numeric_limits<double>::max(); ///< Distance.
long material ... | C++ |
h == ViewGroup.LayoutParams.MATCH_PARENT) {
//如果是MATCH_PARENT,则用父控件能分配的最大宽度和EXACTLY构建MeasureSpec。
toDrawWidthSpec = View.MeasureSpec.makeMeasureSpec(parent.getWidth() - parent.getPaddingLeft() - parent.getPaddingRight(), View.MeasureSpec.EXACTLY);
} else if (lp.width == ViewGroup.LayoutP... | Java |
823-5"> </a> <a href="https://loinc.org/18823-5/">18823-5</a></td><td>http://loinc.org</td><td>Alcohol and/or substance abuse service attachment</td></tr><tr><td style="white-space:nowrap"><a name="x-http://loinc.org-18824-3"> </a> <a href="https://loinc.org/18824-3/">18824-3</a></td><td>http://loinc.org</td><td>Card... | HTML |
_feats is not None and self.fvd_real_stats is not None:
self.log('Calculating FVD with loaded real stats')
fvd = self.fvd_calculator.calculate_fvd(
sample_i3d_feats,
self.fvd_real_stats
)
if isinstance(fvd, torch.... | Python |
;
float: none;
}
.uk-tab-left > li > a,
.uk-tab-right > li > a {
padding-top: 8px;
padding-bottom: 8px;
}
.uk-tab-left > li:nth-child(n+2) > a,
.uk-tab-right > li:nth-child(n+2) > a {
margin-left: 0;
margin-top: 5px;
}
.uk-tab-left > li.uk-active > a,
.uk-tab-right > li.uk-active >... | CSS |
ax_Preview\" style=\"color: inherit;\"></span><span class=\"MathJax\" id=\"MathJax-Element-11-Frame\" tabindex=\"0\" data-mathml=\"<math xmlns="http://www.w3.org/1998/Math/MathML"><mi>j</mi></math>\" role=\"presentation\" style=\"position: relative;\"><nobr aria-hidden=\"true\"><span class=\"math\" id=\"MathJ... | Go |
CD_HFCE1)) {
printk(KERN_ERR
"Unknown HFC multiport controller (vendor:%04x device:%04x "
"subvendor:%04x subdevice:%04x)\n", pdev->vendor,
pdev->device, pdev->subsystem_vendor,
pdev->subsystem_device);
printk(KERN_ERR
"Please contact the driver maintainer for support.\n... | C |
//
// This file is part of HP-Combi <https://github.com/libsemigroups/HPCombi> //
// //
// HP-Combi is free software: you can redistribute it and/or modify it //
// un... | C++ |
const line of rl) {
input = line.split(',').map(Number)
}
const result = solution(input)
expect(result).toBe(3516593)
})
})
})
import { getQueryHints, SUM_HINT_THRESHOLD_COUNT } from './query_hints';
//////
describe('getQueryHints()', () => {
it('returns no hints for no series', () =>... | Typescript |
x rgba(0,0,0,0.35), /* The second layer shadow */
10px 10px 0 0px #fff, /* The third layer */
10px 10px 1px 1px rgba(0,0,0,0.35); /* The third layer shadow */
margin-top: 5px;
margin-left: 10px;
margin-right: 30px;
margin-bottom: 5px;
}
.vert-cent {
position: relative;
top: 50%;
transform: transla... | HTML |
[]func(image.Rectangle) (image.Image, error){
srcGray,
srcNRGBA,
srcRGBA,
srcUnif,
srcYCbCr,
}
var srcs []image.Image
for _, srcf := range srcfs {
src, err := srcf(srs[0])
if err != nil {
t.Fatal(err)
}
srcs = append(srcs, src)
}
qs := []Interpolator{
NearestNeighbor,
ApproxBiLinear,
Cat... | Go |
const sumTotal = getTotal(1, 2);
// 使用结构操作时需要在后面写类型
function getTotal1({first, second}: {first: number, second: number}) {
return first + second;
}
const func = (str: string): number => {
return parseInt(str, 10);
}
const func1: (str: string) => number = (str) => {
return parseInt(str, 10);
}
// 数组
cons... | Typescript |
</table>
<p><font size="3"></font></p>
<h2>5.2 Folder listing</h2>
<table border="1">
<tbody>
<tr>
<td><img alt="" src="Image15.png"
style="width: 32px; height: 32px;"> </td>
<td><font size="3">Get a list of folders, variables, and
applications stored on the calculator. The resulting tree is displaye... | HTML |
from __future__ import annotations
import multiprocessing
from abc import ABC, abstractmethod
from dataclasses import dataclass
from multiprocessing.queues import Queue
from queue import Empty
from typing import Any, Optional
@dataclass
class HashParameter:
target: Any
possible: bytes
salt: Optional[byte... | Python |
资本的“康”代会的彻底破产。
</p>
<p>
下午,王力同志在空军司令部刘副司令员、8199部队师政委、师长、参谋长及8199部队七连指战员的掩护下,离开了8199部队安全脱离险境。
</p>
<p>
下午七时由武汉地区百万雄师、红武钢革命造反派大联合指挥部、红一冶革命派联络部、红船工、三·一八、红武锅革命造反军、红卫军武重无产阶级革命派联合总部、造反军工人三司、武东工业区造反派联合指挥部、武汉贫下中农汉桥地区革命联合总部、武汉地区农业战线革命造反联合指挥部、武汉地区红旗联委、武汉中等学校红卫兵司令部、红卫兵武汉司令部、省直联司、公检法、市委机关联司、市人委机关联合指挥部等在武昌造船厂成立所谓武汉地区无... | HTML |
tConnections.SelectedIndices.Count];
// lstConnections.SelectedIndices.CopyTo(items, 0);
// foreach (int index in items)
// {
// if (index < _openConnections.Length)
// {
// ReverseProxyCli... | C# |
DOF_IMPL TRUE
#endif
#if UE_VERSION >= UE_4_25
//set this to true if function types show everywhere None
//default false
#define WITH_EDITORONLY_DATA FALSE
#endif
// If your game uses XOR encrypted GObjects, add the XOR key here (e.g. 0x8375 for Back4Blood)
#define GOBJECTS_XOR_ECRYPTION_KEY 0x0
// Define this as 0x... | C |
tor(anim);
anim.drop();
bill = smgr.addBillboardSceneNode(light1, irr.dimension2d_f32(60, 60));
bill.setMaterialFlag(irr.EMF_LIGHTING, False);
bill.setMaterialFlag(irr.EMF_ZWRITE_ENABLE, False);
bill.setMaterialType(irr.EMT_TRANSPARENT_ADD_COLOR);
bill.setMaterialTexture(0, driver.getTexture("../../media/partic... | Python |
import tkinter as tk
class Numina:
def __init__(self, num1, num2):
self.num1 = num1
self.num2 = num2
def adda(self):
return self.num1 + self.num2
def subba(self):
return self.num1 - self.num2
def multa(self):
return self.num1 * self.num2
def diva(self):
... | Python |
ers</span>
</pre></div>
</div>
</div>
</div>
<div class="output_wrapper">
<div class="output">
<div class="output_area">
<div class="prompt output_prompt">Out[6]:</div>
<div class="output_text output_subarea output_execute_result">
<pre>[Equity(0 [A]),
Equity(1 [AAL]),
Equity(2 [AAP]),
Equity(3 [AAP... | HTML |
_DX,253
.byt "TCB, OVR, TBL, WCZ, TKZ348, AND YOU SINCE YOU ARE WATCHING IT! "
.byt SCROLLER_BOTTOM_SET_DX,0
.byt "I HOPE YOU LIKED IT! "
.byt "LET'S WRAP NOW... "
.byt " "
.byt SCROLLER_END | Assembly |
ule_tx": 4, "subplot": [4, 7, 8], "dat": 4, "m": [4, 7, 8], "nan": 4, "set_xlabel": 4, "set_ylabel": 4, "set_ylim": [4, 7, 8], "set_xlim": [4, 7, 8], "elif": [4, 8], "transition_count": [4, 14], "set_titl": [4, 7, 8], "nalpha": 4, "2_regression_bymethod": 4, "75": 4, "88": 4, "98": 4, "septemb": [5, 6, 7, 8], "describ"... | JavaScript |
426 22.181-24.082v-63.556a8 8 0 0 0-8-8H16.033v-.071c0-8.823 7.178-16 16-16h384c8.822 0 16 7.177 16 16v.071h-32.165a8 8 0 0 0-8 8v63.556c0 12.656 9.781 23.071 22.181 24.082a8.035 8.035 0 0 0 1.981.247h16.003v8.448h-7.908a8 8 0 0 0 0 16h7.908v31.667h-14.861z"/><path d="M368.208 191.838a8.54 8.54 0 0 0-.278.005 8.654 8.6... | HTML |
=27 | [`ME::Reserved1`] |
| 28 | [`ME::AircraftStatus`] |
| 29 | [`ME::TargetStateAndStatusInformation`]|
| 30 | [`ME::AircraftOperationalCoordination`]|
| 31 | [`ME::AircraftOperationStatus`] |
... | Rust |
材料,为张、王“反瞒产”的依据。
</p>
<p>
1、 59年冬,长竹园公社报县委 5分“反瞒产”的报告,我们认为很好,提出意见,送王汉卿看后批转各公社,并报地委,地委也批转各县,这个材料,对于“反瞒产”斗争起了很大的作用。
</p>
<p>
2、 59年冬,我收集一个死人数字,从数字上看,死的人老年、小孩比较多,以此来看证明死人不是饿死的,是发生疫情病死的,王汉卿就以这个数字到处宣传说:“死人不是饿死的,是疫情传染的”。
</p>
<p>
3、 59冬和60春,群众因没有粮食吃,纷纷外流逃命,而张、王坚决制止,到处设收容所,收容所名义上是收养给饭吃,实际成了教养院和劳改队,在收容所内开展... | HTML |
y<String>) {
val bufferedReader = File("kotlination.txt").bufferedReader()
val lineList = mutableListOf<String>()
bufferedReader.useLines { lines -> lines.forEach { lineList.add(it) } }
lineList.forEach { println("> " + it) }
}
//https://pt.stackoverflow.com/q/227393/101
package smartrecycleradapter
... | Kotlin |
, 1, false, false, true, false),
subsc(2, 0b11, 0b11, 0, false, true, true, false),
subsc(32, 0x00L, 0x00L, 0x00L, false, true, true, false),
subsc(32, 0x00L, 0x80000000L, 0x80000000L, true, false, false, true),
subsc(32, 0x80000000L, 0x00L, 0x80000000L, true, false, true, false),
... | Java |
'420525': '远安县',
'420526': '兴山县',
'420527': '秭归县',
'420528': '长阳土家族自治县',
'420529': '五峰土家族自治县',
'420581': '宜都市',
'420582': '当阳市',
'420583': '枝江市',
'420590': '经济开发区',
'420602': '襄城区',
'420606': '樊城区',
'420607': '襄州区',
'420624': '南漳县',
'420625': '谷城县',
'420626': '保康县',
'420682': '老河口市',
... | JavaScript |
mIgnoreCheekPress = false
private var mInputMode = -1
private var mOnDismissListener: PopupWindow.OnDismissListener? = null
private var mSoftInputMode = -1
private var mTouchable = true//default is ture
private var mOnTouchListener: View.OnTouchListener? = null
private var mBackgroundDrawable: ... | Kotlin |
:inherit;font-weight:600}.swal2-progress-steps li{display:inline-block;position:relative}.swal2-progress-steps .swal2-progress-step{z-index:20;width:2em;height:2em;border-radius:2em;background:#3085d6;color:#fff;line-height:2em;text-align:center}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{back... | JavaScript |
err != nil {
log.Fatalf("tclient.Dial() error: %v", err)
}
defer tc.Close()
wOpts := worker.Options{
MaxConcurrentActivityExecutionSize: runtime.NumCPU(),
MaxConcurrentWorkflowTaskExecutionSize: runtime.NumCPU(),
EnableSessionWorker: true,
}
w := worker.New(tc, ingest.MiddlewareIng... | Go |
IMED_ACTIVITIES, "勉励任务", 1)
SAS(SI_ACTIVITY_FINDER_CATEGORY_TRIBUTE, "《望族传奇》", 0)
SAS(SI_ACTIVITY_FINDER_CATEGORY_WRITHING_WALL, "翻腾之墙", 0)
SAS(SI_ACTIVITY_FINDER_CATEGORY_ZONE_STORIES, "地区指南", 1)
SAS(SI_ACTIVITY_FINDER_DAILY_REWARD_HEADER, "每日额外奖励", 0)
SAS(SI_ACTIVITY_FINDER_DUNGEON_AVERAGE_ROLE_TIME_FORMAT, "平均地下城队列:... | Lua |
/
ParaLocal.Para64 = (SK_U64)0;
pAC->I2c.TimerMode = SK_TIMER_WATCH_SM;
SkTimerStart(pAC, IoC, &pAC->I2c.SenTimer, SK_I2C_TIM_WATCH,
SKGE_I2C, SK_I2CEV_TIM, ParaLocal);
}
break;
case SK_I2CEV_TIM:
if (pAC->I2c.TimerMode == SK_TIMER_NEW_GAUGING) {
ParaLocal.Para64 = (SK_U64)0;
SkTimerStop(pA... | C |
-position: 15px 15px;
background-repeat: space;
}
</style>
</head>
<body>
<div class="outer"></div>
<div class="outer_gradient"></div>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Background: background-repeat: background image round</title>
... | HTML |
=== UserRole.REALTOR && req.user._id.toString() !== apartment?.realtorId) {
return res.sendStatus(401);
}
const deletedApartment = await apartment.delete();
res.send(deletedApartment);
} catch (error) {
res.status(400).send(error);
}
});
import * as Blockly from 'blockly';
import { Coord } ... | Typescript |
<i64> = matrix![1, 2, i64::max_value()];
let y_result = x.try_into::<f64>();
assert!(y_result.is_ok());
}
{
let x: Matrix<i64> = matrix![1, 2, i64::min_value()];
let y_result = x.try_into::<f64>();
assert!(y_result.is_ok());
}
}
}
... | Rust |
obtaining a
// copy of this software and associated documentation files (the "Software"),
// to deal in the Software without restriction, including without limitation
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
// and/or sell copies of the Software, and to permit persons to whom the
// S... | C++ |
suyanw.cn/api/gaoxiao.php",
// 爱情语录
"https://api.suyanw.cn/api/qhyl.php",
// 情感一言
"https://api.suyanw.cn/api/qg.php",
// 经典语录
"https://api.suyanw.cn/api/jdyl.php",
// 随机唯美文案
"https://api.suyanw.cn/api/weimei.php",
// 随机美句摘抄文案
"https://api.suyanw.cn/api/meiju",
// 随机输出诗词佳句,筛选自... | Dart |
wner::GetName(const char* *result)
{
nsresult rv;
nsPluginTagType tagType;
NS_ENSURE_SUCCESS(rv = GetTagType(&tagType), rv);
rv = NS_ERROR_FAILURE;
if (nsPluginTagType_Object != tagType)
rv = GetAttribute("NAME", result);
if (NS_FAILED(rv))
rv = GetParameter("NAME", result);
return rv;
}
NS_I... | C++ |
size="6" maxlength="9" type="text" /></td>
</tr>
</tbody>
</table></td>
<td><table cellspacing="0" cellpadding="0" border="0" width="100%" class="king mt10" id="betTable10" name="betTable">
<colgroup>
<col width="33%" />
<col width="33%" />
<col width="34%" /... | HTML |
\\([0-9]\\+\\)[^0-9]\\+\\([0-9]\\+\\).*/\\1 \\2/" | '
'while read pid swap; do comm=`cat /proc/\$pid/comm 2>/dev/null`; echo "\$pid \$swap \$comm"; done'
);
if (_disposed) {
_isRefreshing = false;
return;
}
// Parse process data
final List<ProcessInfo> cpuPr... | Dart |
import os
import sys
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '../../../')))
import asyncio
from sphero_sdk import SpheroRvrAsync
from sphero_sdk import SerialAsyncDal
loop = asyncio.get_event_loop()
rvr = SpheroRvrAsync(
dal=SerialAsyncDal(
loop
)
)
async def will_s... | Python |
01
.word 0xbb34a001 ! 1348: SRL_I srl %r18, 0x0001, %r29
T3_asi_reg_rd_67:
mov 0x3c8, %r14
.word 0xfedb84a0 ! 1351: LDXA_R ldxa [%r14, %r0] 0x25, %r31
cpu_intr_3_104:
setx 0x240118, %g1, %o0
ta T_SEND_THRD_INTR
T3_asi_reg_rd_68:
mov 0x6, %r14
.word 0xfadb8e40 ! 1353: LDXA_R ldxa [%r14, %r0] 0x72, %r29
.word... | Assembly |
命令セットを効率的に使うことでそれ以上の性能差が生まれる.
しかし,このムーアの法則は終焉を迎えつつあり,これからのアーキテクチャの変化は予測できない.
そのため,複雑化・多様化する演算装置の成長へのフリーランチは,もはや期待できない.
そこで本演習では,計算機の性能を引き出すためのプログラミング技術について学ぶ.
本講義では,以下のトピックスについては **取り扱わない**.
しかし,ハイパフォーマンスコンピューティングにとっては主要な話であるため,必要に応じて各自学ぶと良い.
* GPGPU
- GPUを使った並列化計算
* FPGA
- FPGAを使った回路設計
* ノード間並列化.今回はノード内並列化
... | Markdown |
)
]
),
);
}
}import 'dart:convert' show jsonDecode;
import 'package:flutter/foundation.dart' show kDebugMode;
import 'package:flutter/material.dart';
import 'package:graphql_flutter/graphql_flutter.dart';
import 'package:shared_preferences/shared_preferences.dart';
final List<String> addressFields = [
'Fir... | Dart |
me conflicts",
polA: createValidPolicy(),
polB: &ngfAPI.ClientSettingsPolicy{
Spec: ngfAPI.ClientSettingsPolicySpec{
KeepAlive: &ngfAPI.ClientKeepAlive{
Time: helpers.GetPointer[ngfAPI.Duration]("50s"),
},
},
},
conflicts: true,
},
{
name: "keepalive timeout conflicts",
pol... | Go |
UTQyjuYFBgCNmhP4OvTRgwAAAABJRU5ErkJggg==" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <span title="Organization.name : A name associated with the organization.">name</span><a name="Organization.name"> </a></td><td style="vertical-align: top; text-al... | HTML |
obar", session)
_s.On("ClientFindBySessionId", "aaaabbbbcccc").Return([]*types.Client{client}, nil)
p.ClientResizeViewPort(client, 80, 24)
assert.Equal(t, types.ViewPort{Cols: 80, Rows: 24}, client.ViewPort)
_d.AssertExpectations(t)
_f.AssertExpectations(t)
_s.AssertExpectations(t)
_g.AssertExpectations(t)
_... | Go |
.a-text-wrap h3{text-indent:2em;}
#banner-block .ios .a-text-wrap p{margin-top:10px;font-size:18px;margin-bottom:40px;}
#banner-block .ios .a-text-wrap .ios-download{display:block;width:245px;height:70px;margin:20px 45px 0 0;background:url(../images/169.png) no-repeat 0px 0px;}
#banner-block .ios .a-text-wrap .down-co... | CSS |
ROM_VEGPARAM\n");
else if (options.LAI_SRC == LAI_FROM_VEGLIB)
fprintf(stderr,"LAI_SRC\t\tLAI_FROM_VEGLIB\n");
fprintf(stderr,"\n");
fprintf(stderr,"Input Elevation Data:\n");
if (options.SNOW_BAND > 1)
fprintf(stderr,"SNOW_BAND\t\t%d\t%s\n",options.SNOW_BAND,names->snowband);
else if (options.SNOW_B... | C |
let mut b = GF0;
b[..16].clone_from_slice(&x[..16]);
a[0] = 1;
d[0] = 1;
for i in (0..255).rev() {
let r: u8 = (z[i >> 3] >> (i & 7)) & 1;
sel25519(&mut a, &mut b, r as isize);
sel25519(&mut c, &mut d, r as isize);
/* XXX: avoid aliasing with an extra copy */
... | Rust |
ia-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">children</span><span class="tsd-signature-symbol">:</span> <a href="core_objects3D_Object3D.Object3D.html" class="tsd-signatur... | HTML |
如何评估一个机器学习模型的性能。 |
| 区块链技术有哪些潜在的商业应用? | 列举几个区块链技术的潜在商业应用案例。 |
| 如何利用大数据技术进行市场分析? | 请描述如何使用大数据技术进行市场分析,并列举一些相关工具和技术。 |
| 神经网络是如何工作的? | 请简要解释神经网络是如何工作的,包括前向传播和反向传播过程。 |
| 自然语言处理中的词嵌入技术是什么? | 请介绍一下自然语言处理中的词嵌入技术,包括其定义、应用和优缺点。 |
| 如何使用深度强化学习算法控制智能体? | 请解释如何使用深度强化学习算法训练智能体以完成特定任务。 |
| 请介绍一下卷积神经网络的结构和应用 | 请描述一下卷积神经网络的基本结构和常见应... | Markdown |
392976)
B.qY=new A.l(392977)
B.qZ=new A.l(392978)
B.r_=new A.l(392979)
B.r0=new A.l(392980)
B.r1=new A.l(392981)
B.r2=new A.l(392982)
B.r3=new A.l(392983)
B.r4=new A.l(392984)
B.r5=new A.l(392985)
B.r6=new A.l(392986)
B.r7=new A.l(392987)
B.r8=new A.l(392988)
B.r9=new A.l(392989)
B.ra=new A.l(392990)
B.rb=new A.l(39299... | JavaScript |
ion.slideUp {
margin-top: -8.75em; }
.animated-logo .animation.animate .letter {
opacity: 1;
transform: scale(1); }
.animated-logo .animation .letter {
opacity: 0;
transform: scale(0.1);
transform-origin: center center;
transition: all 500ms cubic-bezier(0.175, 0.885, 0... | CSS |
ückt (vor Firefox 118)</td>
<td>
<kbd>Super</kbd>-Taste oder <kbd>Hyper</kbd>-Taste gedrückt (normalerweise der <kbd>⊞ Windows Logo</kbd>-Taste zugeordnet)
</td>
<td>❌ <em>Nicht unterstützt</em></td>
<td>❌ <em>Nicht unterstützt</em></td>
<td>❌ <em>Nicht unterstützt</em></td>
</... | Markdown |
/**
* Copyright IBM Corporation 2016
*
* 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 agreed to... | C |
,{93.32,26.16,169},{93.1,26.15,169},{93.08,25.85,169},{93.2,26,169}}},65},
[194261] = {"RX-214 Repair-o-matic Station",nil,nil,{[4273]={{46.46,47.01},{52.06,47.37}}},4273},
[194263] = {"Serviceable Arrow",nil,nil,{[331]={{64.47,85.41},{70.14,84.86},{66,86.39},{66.27,87.63},{68.32,85.58},{65.53,87.04},{69.86,86.26},{66.... | Lua |
::cmp::Ordering;
match line_index.cmp(&self.last_line_index()) {
Ordering::Less => Ok(self.line_starts[line_index.to_usize()]),
Ordering::Equal => Ok(self.source_span().end()),
Ordering::Greater => Err(Error::LineTooLarge {
given: line_index.to_usize(),
... | Rust |
D2247483948%26idx%3D1%26sn%3D72ce27bf4950af935161c7bf074186a8&aid=15742&nid=255)
1. [拿下阿里、头条、滴滴的 offer 后谈谈面试经验(上)](https://weekly.manong.io/bounce?url=https%3A%2F%2Fmp.weixin.qq.com%2Fs%2FUNNPuH9aMO0Pw4rY9rhX3Q&aid=15760&nid=255)
1. [听说又被 JVM 内存区域方面的面试题给虐了?看看这篇文章吧](https://weekly.manong.io/bounce?url=https%3A%2F%2Fmp.w... | Markdown |
.html">Contents</A></TD>
<TD ALIGN="RIGHT"> </TD>
</TR>
</TBODY>
</TABLE>
<DIV CLASS="navbot">http://vt100.net/docs/vt100-ug/table1-1.html</DIV></DIV>
</BODY>
</HTML>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<HTML>
<HEAD>
<TITLE>VT100.net: Digital VT100 User Guide<... | HTML |
lower_el_aarch64:
B . // FIQ
//current_el_with_spx el2 EXCEPT_AARCH64_SYNCHRONOUS_EXCEPTIONS
.balign 128
serror_lower_el_aarch64:
B . // SError
//current_el_with_spx el2 EXCEPT_AARCH64_SYNCHRONOUS_EXCEPTIONS
// -------------------------------... | Assembly |
actor,THREE.SrcColorFactor, THREE.OneMinusSrcColorFactor, THREE.SrcAlphaFactor, THREE.OneMinusSrcAlphaFactor, THREE.DstAlphaFactor, THREE.OneMinusDstAlphaFactor, THREE.DstColorFactor,THREE.OneMinusDstColorFactor or THREE.SrcAlphaSaturateFactor<br />
blendDst -- When blending is THREE.CustomBlending, then you can set ... | HTML |
br />
<p>王小虎心想:还是等到找到逍遥哥哥后,再回来跟师父请罪吧!</p>
<br />
<p>七七:小虎哥…你还是该多多保重自己的身体啊……</p>
<p>王小虎:师父有伤在身,我怎能到处乱跑呢!</p>
<br />
<p>王小虎:离城有些远了,我该先回师父那里。</p>
<p>王小虎:好像忘了什么事,回城想想。</p>
<br />
<p>杭州城内</p>
<br />
<p>王小虎:叽哩呱啦!你出来逛街啊?</p>
<p>西里瓦拉:我叫西里瓦拉,不是叽哩呱啦!</p>
<p>王小虎:对对对!你的名字实在难记,我下次一定不会叫错的。</p>
<p>西里瓦拉:还有什么事吗?</p>
<p>王小虎:没事了、没事了。</p>... | HTML |
tBuffer,
values = this.sampleValues,
valueSize = this.valueSize,
offset = index * valueSize * 3 + valueSize;
for (let i = 0; i !== valueSize; i++) {
result[i] = values[offset + i];
}
return result;
}
interpolate_(i1, t0, t, t1) {
const result = this.resultBuffer;
const va... | JavaScript |
//
// Dagor Engine 6.5
// Copyright (C) Gaijin Games KFT. All rights reserved.
//
#pragma once
#include <generic/dag_unpatchedTab.h>
struct UnpatchedRoNameMap
{
public:
UnpatchedTabReader<UnpatchedPtrReader<const char>> mapReader;
public:
int getNameId(const char *name, const void *baseAddress) const
{
d... | C |
m128i r0 = _mm_unpacklo_epi16(in0, in1); //0 8 1 9 2 10 3 11
__m128i r1 = _mm_unpackhi_epi16(in0, in1); //4 12 5 13 6 14 7 15
__m128i r2 = _mm_unpacklo_epi16(in2, in3); // 16 24 17 25 18 26 19 27
__m128i r3 = _mm_unpackhi_epi16(in2, in3); //20 28 21 29 22 30 23 31
__m128i r4 = _mm_unpacklo_epi16(in4, in5); //3... | C++ |
nitStat.sparkDamage,
stackType: BuffStackType.ConditionalTimed,
icons: (buff: IBuff) => [buff && buff.value && buff.value < 0 ? IconId.BUFF_SPARKDOWN : IconId.BUFF_SPARKUP],
},
'conditional:51:add fire element': {
id: BuffId['conditional:51:add fire element'],
name: 'Conditional Added Fire Element to Attack',... | Typescript |
p .rw-button {
@apply mx-1;
}
.rw-form-wrapper .rw-button-group {
@apply mt-8;
}
.rw-label {
@apply mt-6 block text-left font-semibold text-gray-600;
}
.rw-label.rw-label-error {
@apply text-red-600;
}
.rw-input {
@apply mt-2 block w-full rounded border border-gray-200 bg-white p-2 outline-none;
}
.rw-check-r... | CSS |
().startOf('day').format("YYYY-MM-DDTHH:mm:ss");
const end = moment().startOf('day').add(this.config.numberOfDays, 'days').format("YYYY-MM-DDTHH:mm:ss");
let urls = entities.map(entity => `calendars/${entity}?start=${start}Z&end=${end}Z`);
let allResults = await this.getAllUrls(urls)
let events... | JavaScript |
types are:
* <ul>
* <li>{@link Cursor#FIELD_TYPE_NULL}</li>
* <li>{@link Cursor#FIELD_TYPE_INTEGER}</li>
* <li>{@link Cursor#FIELD_TYPE_FLOAT}</li>
* <li>{@link Cursor#FIELD_TYPE_STRING}</li>
* <li>{@link Cursor#FIELD_TYPE_BLOB}</li>
* </ul>
* </p>
*
* @param row The z... | Java |
D(u_image,pos_a),texture2D(u_image,pos_b),u_fade);gl_FragColor=color*alpha*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","\n#define scale 0.015873016\n#define LINE_DISTANCE_SCALE 2.0\nattribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform vec2 u_units_to_pixels;unifor... | HTML |
!(" driver: {}", unwrap_cstr(udev::udev_device_get_driver(device)));
println!(" properties:");
print_device_properties(udev::udev_device_get_properties_list_entry(device), device);
println!(" attributes:");
print_device_attributes(udev::udev_device_get_sysattr_list_entry(device), device);
ude... | Rust |
import torch
import torch.nn as nn
class Block(nn.Module):
def __init__(self, in_channels, out_channels, stride):
super().__init__()
self.conv = nn.Sequential(
nn.Conv2d(
in_channels,
out_channels,
4,
stride,
... | Python |
active}";
}
// Client only
else if (NetworkClient.isConnected)
{
statusText.text = $"<b>Client</b>: connected to {NetworkManager.singleton.networkAddress} via {Transport.active}";
}
}
private void ShowConnectingStatus()
... | C# |
let mut f : File;
if blocknum == 1 {
f = File::create(filename).unwrap();
} else {
f = OpenOptions::new().write(true).create(true).open(filename).unwrap();
let blknum64 = blocknum as u64; //safe upsizing for below multiplication
f.seek(SeekFrom::Start((blknum64-1)*512)).... | Rust |
el = self:getChildById('valueLabel')
if valueLabel then
valueLabel:setText(text)
end
end
function UIScrollBar:onGeometryChange()
updateSlider(self)
end
function UIScrollBar:onMouseWheel(mousePos, mouseWheel)
if not self.mouseScroll or not self:isOn() or self.disableScroll then
return false
end
if ... | Lua |
this.m_destructionListener.SayGoodbyeFixture(f0);
}
f0.DestroyProxies(this.m_contactManager.m_broadPhase);
f0.Destroy();
b.m_fixtureList = f;
b.m_fixtureCount -= 1;
}
b.m_fixtureList = null;
b.m_fixtureCount = 0;
// Remove world body list.
if (b.m_prev) {
... | Typescript |
from XRAG.ingestion.vector_store import VectorStore
from XRAG.ingestion.hype_generator import HyPEGenerator
from llama_index.core.schema import BaseNode, TextNode, MetadataMode
from abc import ABC, abstractmethod
from typing import List
class Retriever(ABC):
vector_store: VectorStore
def __init__(self, vector_... | Python |
>
<p>莫徊:之后,便是我与他之间的恩怨,不必留下你来添乱。</p>
<p>百面娇娥:可……恶……</p>
<p>莫徊:何况,我布下大好局面,你竟然不能一击成功,留你何用?</p>
<p>莫徊:不知她是何处露出破绽,令你对她有了戒心?</p>
<p>闲卿:你用了十年看妖,我用了千年观人。人类的母亲面对生死不明的孩子,竟不着急确认的虽然并非没有,却也不多。</p>
<p>莫徊:原来如此。</p>
<p>莫徊:不过,这点瑕疵无伤大雅。闲卿,你今日终究是落在了我手上。当年你一时兴起,曾教授我妖术,今日,我便以当年所学对你。</p>
<p>闲卿:哦?</p>
<br />
<p>莫徊:为什么?!你先后中毒受伤,为何我还是敌你不过?!</p... | HTML |
champion de la guerre du Nexus",
[44666] = "Coussin de Larmagauche",
[44667] = "Couronne en poils de mammouth",
[44668] = "Couverture chauffe-œuf",
[44669] = "Menottes marquées par les worgens",
[44670] = "Ceinture scellée par l'âme",
[44671] = "Garde-jambes matelassés de généralissime",
[44672] = "Spallières en peau ... | Lua |
, "letterSpacing");
}
/**
* @throws Exception if an error occurs
*/
@Test
@Alerts(DEFAULT = {"17px", "5px", "6em", "17px", "17px", "initial", "inherit",
"17px", "17px", "17px", "", "17px", "", "17px", "17px", "17px"},
FF = {"17px", "5px", "6em", "17px", "70%... | Java |
ta(43))), ComplexMapWrapper.serializer())
}
@Test
fun testSaveNestedLists() {
writeAndTest(ListOfLists(listOf(listOf(), listOf(Data(1), Data(2)))), ListOfLists.serializer())
}
@Test
fun testSaveOptional() {
writeAndTest(DataWrapperOptional("foo", null), DataWrapperOptional.seri... | Kotlin |
{
var apselect = document.getElementById("aplist")
var ssid = document.getElementById("ssid")
ssid.value = apselect.options[apselect.selectedIndex].text
}
setTimeout(wifi_get_aplist, 3000)
</script>
</header>
<body>
<div class="container">
<h1>Air81... | HTML |
nelName);
this.channelOn(channelName);
}
}
/**
* push - метод для пуша события в канал.
*
* @params { PushConfig } config - параметры необходимые для пуша, должен содержать имя канала,
* событие и необходимые параметры {@link PushConfig}.
* @return { Promise }
*/
push(config: PushCon... | Typescript |
GI', 'SKGO', 'SKGP', 'SKGY', 'SKGZ', 'SKHA', 'SKHC', 'SKHZ',
> 'SKIB', 'SKIG', 'SKIP', 'SKJC', 'SKLA', 'SKLC', 'SKLG', 'SKLP', 'SKLT', 'SKMA', 'SKMD', 'SKME', 'SKMF', 'SKMN',
> 'SKMO', 'SKMU', 'SKMZ', 'SKNA', 'SKNQ', 'SKNV', 'SKOC', 'SKOE', 'SKOT', 'SKPA', 'SKPC', 'SKPD', 'SKPE', 'SKPG',
> ... | Markdown |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.