content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
S )BlockManagerFixedrf nblocksre r[ Shape | Nonec C s zJ| j }d}t| jD ]}t| jd| d}t|dd }|d ur'||d 7 }q| jj}t|dd }|d urAt|d|d }ng }|| |W S tyT Y d S w )Nr block_itemsrI rf ) rf re r r~ r Z
block0_values... | Python |
an class="look">共<strong>173230</strong>人围观
,发现 <strong>10</strong> 个不明物体 </span> </span>
<span class="tags">
<a href="http://www.freebuf.com... | HTML |
.org/2000/svg%22 d=%22M9 6v5h.06l2.48 2.47 1.41-1.41L11 10.11V6H9z%22/%3E%3Cpath xmlns:default=%22http://www.w3.org/2000/svg%22 d=%22M10 1a9 9 0 0 0-7.85 13.35L.5 16H6v-5.5l-2.38 2.38A7 7 0 1 1 10 17v2a9 9 0 0 0 0-18z%22/%3E%3C/g%3E%3C/svg%3E")}.oo-ui-icon-info,.mw-ui-icon-info:before{background-image:url(/w/load.php?m... | HTML |
return [];
}
}
class Wt$1 extends Q$1 {
constructor(t) {
super({
aPosition: new (x$1(t = t || 0))([ -1, -1, t, 1, -1, t, -1, 1, t, 1, 1, t ]),
aNormal: new Int8Array([ 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1 ])
}, new Uint16Array([ 0, 1, 3, 3, 2, 0 ]));
}
}... | JavaScript |
#ifndef __FT5X02_CONFIG_H__
#define __FT5X02_CONFIG_H__
/*FT5X02 config*/
#define FT5X02_FIRMWARE_ID 14
#define FT5X02_OTP_PARAM_ID 0
#define FT5X02_CUSTOMER_ID 121
#define FT5X02_CHIPER_ID 2
#define FT5X02_RESOLUTION_X 480
#define FT5X02_RESOLUTION_Y 800
#define FT5X02_LEMDA_X 47
#define FT5X02_LEMDA... | C |
W90 TmVhcmx5 c3Rvd24= IEZhY3Rvcg== IGF1dG9tb2JpbGU= IHByb2NlZHVyYWw= bWFzaw== YW1waXJlcw== IGRpc2FwcGVhcnM= amFi MzE1 IDE5NTE= bmVlZGVk IGRhcmluZw== bGVhZGVy IHBvZGl1bQ== IHVuaGVhbHRoeQ== IG11bmQ= IHB5cmFtaWQ= b2NyZQ== IGtpc3NlZA== IGRyZWFtZWQ= IEZhbnRhc3RpYw== IEdseQ== 5Yo= IGdyZWF0bmVzcw== IHNwaWNlcw== IG1ldHJvcG9saX... | JavaScript |
animation: float-3 7s ease-in-out infinite;
}
@keyframes gradient-xy {
0%,
100% {
transform: translate(0%, 0%) rotate(0deg);
}
25% {
transform: translate(10%, 10%) rotate(90deg);
}
50% {
transform: translate(0%, 20%) rotate(180deg);
}
75% {
transform: translate(-10%, 10%) rotate(270deg);... | CSS |
.minX, axisAlignedBB.maxY, axisAlignedBB.maxZ);
GL11.glEnd();
GL11.glLineWidth(1.0f);
GL11.glDisable(2848);
GL11.glEnable(3553);
GL11.glEnable(2896);
GL11.glEnable(2929);
GL11.glDepthMask(true);
GL11.glDisable(3042);
GL11.glPopMatrix();
}
... | Java |
; break;
}
cp++;
}
if (cp != 23)
{ }
Color c;
if ((ColourDict != null) && (ColourDict.TryGetValue(d.FXGroup, out c)))
{
d.Colour = c;
}
... | C# |
lo < 0) {
throw new Error('lo must be non-negative');
}
if (hi == null) {
hi = a.length;
}
while (lo < hi) {
mid = floor((lo + hi) / 2);
if (cmp(x, a[mid]) < 0) {
hi = mid;
} else {
lo = mid + 1;
}
}
return ([].splice.apply(a, [lo, lo - lo].con... | JavaScript |
self, root: Optional[TreeNode], val: int) -> Optional[TreeNode]:
# 边界条件
if not root:
return None
# 如果这个值比根节点小,则从左子树删除
if val < root.val:
root.left = self.deleteNode(root.left, val)
# 如果这个值比根节点大,则从右子树删除
elif val > root.val:
root.right = ... | Markdown |
sqrt_hensel_lift_p2(3, 3));
EXPECT_EQ(make_pair(0, 0), sqrt_hensel_lift_p2(4, 3));
EXPECT_EQ(make_pair(0, 0), sqrt_hensel_lift_p2(5, 3));
EXPECT_EQ(make_pair(0, 0), sqrt_hensel_lift_p2(6, 3));
EXPECT_EQ(make_pair(0, 0), sqrt_hensel_lift_p2(7, 3));
EXPECT_EQ(make_pair(0, 0), sqrt_hensel_lift_p2(0, 4... | C++ |
"getCompression", "No overload for the specific search type found");
}
template<>
inline std::optional<Compression> getCompression(uint16_t key)
{
auto it = compressionMap.find(key);
if (it != compressionMap.end()) {
return std::optional<Compression>(it->second);
}
return std::nullopt;
}
template <>... | C |
its());
}
crate::ExtensionType::StatisticValue => {
ext.set_sv_name(ext_param.sv_name());
ext.set_sv_eom(ext_param.sv_eom());
ext.set_sv_final(ext_param.sv_is_final());
}
_ => {
ext.set_pc_type(ext_param.pc_t... | Rust |
a class="code" href="xed-operand-accessors_8h.html#70ecd0d5747ef3f1c2a09c31bee49715">00656</a> <span class="keyword">static</span> <a class="code" href="xed-portability_8h.html#01a48e0b509d93d68422ce9fb4946a34">XED_INLINE</a> <a class="code" href="xed-chip-enum_8h.html#4625c6fc3b40d5fd638d272fe2539f5c">xed_chip_enum_t<... | HTML |
e run by passing them as parameters: medusavm hello.py</li>
<li>Medusa can be stopped after the Dart compile phase by passing a -c switch: medusavm -c hello.py. The Dart code is obtained in hello.dart in the same directory.</li>
<li>Python files can be globally installed into Medusa for imports by other files: medusavm... | HTML |
/// If type=GCP_REGIONAL_MIG, contains most recent VM instances, like
/// `https://www.googleapis.com/compute/v1/projects/{project_id}/zones/{zone_id}/instances/{instance_id}`.
core.List<core.String>? recentMigVms;
GoogleCloudBeyondcorpAppconnectionsV1ResolveAppConnectionsResponseAppConnectionDetails({
thi... | Dart |
t">Example</th>
* </tr>
* <tr>
* <td>Linux/BSD</td>
* <td>{@code XDG_DOWNLOAD_DIR}</td>
* <td>/home/alice/Downloads</td>
* </tr>
* <tr>
* <td>macOS</td>
* <td>{@code $HOME}/Downloads</td>
* <td>/Users/Alice/Downloads</td>
* </tr>
* <tr>
* <td>Windows</td>
* <td>{@... | Java |
cf\u4ea7\u5ef6\u8fdf+\u4e2d\u56fd\u964d\u4ef7\uff09\u3002 \n- **\u73b0\u91d1\u6d41\u5371\u673a**\uff1a\u81ea\u7531\u73b0\u91d1\u6d41-18\u4ebf\u7f8e\u5143\uff0c\u8d44\u672c\u5f00\u652f\u96c6\u4e2d\u4e8eCybertruck\u4ea7\u7ebf\uff08\u56de\u62a5\u5468\u671f\u957f\uff09\u3002 \n\n**b. \u7ade\u4e89\u683c\u5c40\u53d8\u5316*... | HTML |
4096(%rdx), %zmm25
// CHECK: encoding: [0x62,0x62,0x7d,0x48,0xc4,0x4a,0x40]
vpconflictd 4096(%rdx), %zmm25
// CHECK: vpconflictd -4096(%rdx), %zmm25
// CHECK: encoding: [0x62,0x62,0x7d,0x48,0xc4,0x4a,0xc0]
vpconflictd -4096(%rdx), %zmm25
// CHECK: vpconflictd -4128(%rdx), %zmm25
// CH... | Assembly |
tory> {
override fun fillBannerItem(
banner: TKBanner,
view: View,
model: TopStory,
position: Int
) {
LogUtils.d(
TAG,
"fillBannerItem() cal... | Kotlin |
version grabbing and NSE actions.
3. Merge the results into a single Nmap report (different formats available).
For the 1st phase a *fast port scanner*\* is intended to be used, whose output is parsed and stored in a single file database ([TinyDB](https://github.com/msiemens/tinydb)). Next, during the 2nd phase indiv... | Markdown |
= _mm_comp_fmadd_ps(_p128, _b128, _a128);
_mm_storeu_ps(ptr, _p128);
ptr += 4;
}
#endif // __SSE__
for (; i < size; i++)
{
*ptr = b * *ptr + a;
ptr++;
}
}
}
return 0;
}
} // namespace ncnn
/... | C++ |
'<Cmd>lua require"dap".step_out()<CR>', { noremap = true, silent = true })
vim.api.nvim_set_keymap('n', '<Leader>b', '<Cmd>lua require"dap".toggle_breakpoint()<CR>', { noremap = true, silent = true })
vim.api.nvim_set_keymap('n', '<Leader>B', '<Cmd>lua require"dap".set_breakpoint(vim.fn.input("Breakpoint condition: "))... | Lua |
рока 1400 из 2238: Открытие Брокер СО-05 (RU000A104479): цена=61.82%, доходность=0%, дюрация=0 мес.</li><li>Строка 1401 из 2238: СберИОС 001Р-498R 7Г РБЧ-М (RU000A1044V4): цена=84.7%, доходность=0%, дюрация=0 мес.</li><li>Строка 1402 из 2238: СберИОС 001Р-497R 5Г РБЧ-М (RU000A1044W2): цена=86.6%, доходность=0%, дюрация... | HTML |
evaluatedInterp = interp(0.5);
compareMatrices(evaluatedInterp, [0.960, 0, 0.279, 0, 0, 1, 0, 0, -0.279, 0, 0.960, 0, 0, 0, 0, 1], 16);
interp = webAnimationsMinifill.propertyInterpolation(
'transform',
'rotate(320deg)',
'rotate(10deg) matrix(1, 0, 0, 1, 0, 0)');
evaluatedInter... | JavaScript |
assert.Equal(t, Leaf, traversal[1].Kind())
assert.Equal(t, traversal[2].Key(), Key("2"))
assert.Equal(t, traversal[2].Value(), 2)
assert.Equal(t, Leaf, traversal[2].Kind())
tree.ForEach(func(node Node) bool {
assert.Equal(t, Node4, node.Kind())
return true
}, TraverseNode)
}
func TestTreeTraversalNode48(... | Go |
pModel(
name = "Hausarztpraxis",
address = FhirTaskKbvAddressErpModel(
streetName = "Herbert-Lewin-Platz",
houseNumber = "2",
additionalAddressInformation = null,
postalCode = "10623",
city = "Berlin"
),
bsnr = "724444400",
... | Kotlin |
x" src="https://static.files.bbci.co.uk/core/bundle-component-rich-text.b271bda4c49251608cbd.js"></script><script nonce="J/I5+335DBFlLShvwK/aJw9zPI7ymx/nRskNgaphCWV73fvg0D" crossorigin="anonymous" type="module" async="" data-chunk="website-containers-article-index" src="https://static.files.bbci.co.uk/core/bundle-compo... | HTML |
we can do is check that the
// new image is decodable.
return Ok(output);
}
}
eprintln!(
"The resulting image is corrupted and will not be outputted.\nThis is a bug! Please report it at https://github.com/shssoichiro/oxipng/issues"
);
Err(PngError::new("The resu... | Rust |
de::v1::v1::IntoIterator">IntoIterator</a>>::<a class="type" href="../../../../nom/lib/std/prelude/v1/v1/trait.IntoIterator.html#associatedtype.Item" title="type nom::lib::std::prelude::v1::v1::IntoIterator::Item">Item</a>>, </span></code></span></td><td><span class='out-of-band'><div class='ghost'></div><di... | HTML |
void move();//move函数用于处理角色或者视图的移动事件
void focusRoleMove(DIRECTION dir,int focusRolePointX,int focusRolePointY);
void viewMove(DIRECTION dir,int x,int y);
int processNextArrayElement(int focusRolePointX,int focusRolePointY,DIRECTION dir,bool swapOrNot,int &nextMapX,int &nextMapY);
//true时会交换自己与下一个元素,返... | C |
using System;
using System.Collections.Generic;
using Abc.Zebus.Persistence.Matching;
using Abc.Zebus.Persistence.Reporter;
using Abc.Zebus.Persistence.Storage;
using Abc.Zebus.Serialization;
using Abc.Zebus.Transport;
namespace Abc.Zebus.Persistence
{
public class MessageReplayerRepository : IMessageReplayerRepo... | C# |
_veryLarge() {
test('should parse veryLarge', () {
final boc = veryLargeBocTestVector.fromHex();
final c = BocSerialization.deserialize(boc)[0];
final b = BocSerialization.serialize(root: c, idx: false, crc32: true);
final c2 = BocSerialization.deserialize(b)[0];
expect(c2, c);
});
}
import 'pa... | Dart |
e::MAX;
let url = Url::parse(&format!(
"http://localhost/api/v1/stream/{}?witness_begin={}&msg_begin={}",
DST_SUBNET, witness_begin, msg_begin
))
.unwrap();
let response = route_request(
url,
&*fixture.state_manager,
&XNetEndpointMetrics::new(&fixture.metrics),
... | Rust |
. This is the reverse operation
* of ff_url_split.
*
* Note, this requires networking to be initialized, so the caller must
* ensure ff_network_init has been called.
*
* @see ff_url_split
*
* @param str the buffer to fill with the url
* @param size the size of the str buffer
* @param proto the protocol identi... | C |
スバー",legend:"${elementsPathFocus} を押すとエレメントパスバーを操作出来ます。Tabか右カーソルで次のエレメントを選択できます。前のエレメントを選択するには、SHIFT+Tabか左カーソルです。スペースもしくは、ENTERでエディタ内の対象エレメントを選択出来ます。"}]},
{name:"コマンド",items:[{name:"元に戻す",legend:"${undo} をクリック"},{name:"やり直し",legend:"${redo} をクリック"},{name:"太字",legend:"${bold} をクリック"},{name:"斜体 ",legend:"${italic} をクリック"... | JavaScript |
Data: testTwoVersionsWithOptionalParams(),
steps: []resource.TestStep{
{
Config: testutils.LoadFixtureString(t, "testdata/TestResClientCertificateThirdParty/create/create_with_optional_params.tf"),
Check: secondVersionChecker.
CheckEqual("subject", "/C=US/O=Akamai Technologies, Inc./OU=Akamai mTL... | Go |
#assign m2 = ns1.m?withArgs([2])>" +
"<@m2; n>n=${n} v=${v}</@>",
"p=1 v=NS1 v=L {n=1 v=NS0} v=L; " +
"p=2 v=NS1 v=L {n=2 v=NS0} v=L");
}
@Test
public void testArgCountCheck() throws Exception {
String macroDef = "<#macro m a b c>${a}, ${b}, ${c}</#macro>";
... | Java |
</tr>
<tr>
<td>批次管理</td>
<td>Admin</td>
<td>LabelSet</td>
<td>index</td>
<td>0</td>
<td><a href="edit.html">编辑</a></td>
</tr><tr>
<td>明信片查询</td>
<td>Admin</td>
... | HTML |
ltip.classList.remove("visible");
});
let angAcum = 0;
for (let i=0;i<datos.length;i++){
const fr = datos[i].Valor / suma;
const angInicio = angAcum;
const angFin = angAcum + fr * Math.PI * 2;
const angMid = (angInicio + angFin) / 2;
angAcum = a... | HTML |
"""
.. image:: https://img.shields.io/badge/classification-yes-brightgreen?style=flat-square
:alt: classification badge
.. image:: https://img.shields.io/badge/segmentation-yes-brightgreen?style=flat-square
:alt: classification badge
.. autoclass:: pytorch_ood.detector.MaxLogit
:members:
:exclude-member... | Python |
kCreateInstance CreateInstance{ nullptr };',
file=self.outFile
)
write(
' PFN_vkCreateDevice CreateDevice{ nullptr };',
file=self.outFile
)
def endFile(self):
"""Method override."""
KhronosDispatchTableGenerator.generateDispatchTable(se... | Python |
{
string err = ex.Message;
return string.Empty;
}
}
public string UploadMultimedia(string ACCESS_TOKEN, string Type)
{
string result = "";
string wxurl = "http://file.api.weixin.qq.com/cgi-bin/media/upload?access_token=" + ACCESS_TOKEN + "&type=" + Ty... | C# |
// loop over regions
for(size_t regionID = 0, nRegions = R.size(); regionID < nRegions; regionID++)
{
in.regionlist[regionID * 5 + 0] = R[regionID][0];
in.regionlist[regionID * 5 + 1] = R[regionID][1];
in.regionlist[regionID * 5 + 2] = R[regionID][2];
in.regionlist[regionID * 5 + 3] = R[regionID... | C++ |
.dart';
import 'package:model/extensions/list_mailbox_extension.dart';
import 'package:model/extensions/mailbox_extension.dart';
import 'package:tmail_ui_user/features/email/data/datasource/email_datasource.dart';
import 'package:tmail_ui_user/features/mailbox/data/datasource/mailbox_datasource.dart';
import 'package:t... | Dart |
It should not be caught by ` + `your own try/catch. Learn more: https://nextjs.org/docs/messages/ppr-caught-error`;\n prerenderState.dynamicAccesses.push({\n // When we aren't debugging, we don't need to create another error for the\n // stack trace.\n stack: prerenderState.isDebugSkeleton ? ne... | JavaScript |
0,ELE_TAG_MyTruss),
theMaterial(0),
externalNodes(2),
trans(1,4), L(0.0), A(0.0), M(0.0), end1Ptr(0), end2Ptr(0), theLoad(0)
{
if (externalNodes.Size() != 2)
opserr << "FATAL MyTruss::MyTruss() - out of memory, could not create an ID of size 2\n";
}
// destructor - provided to clean up any memory
MyTrus... | C++ |
output_key="answer"
)
print("Chat chain setup complete")
except Exception as e:
print(f"Error in setup_chain: {str(e)}")
raise
def chat(self, query: str) -> str:
"""Process a user query and return the response"""
if not hasattr(se... | Python |
t = "8080";
break;
case 'k':
profile.http.rtp_port = optarg;
break;
default:
if (is_main)
usage();
else
return ("Invalid option detected");
break;
}
}
return (NULL);
}
static void
create_threads(void)
{
int idx;
/* Give each DSP device 4 threads */
voss_ntds = voss_dups * 4;
voss... | C |
33403d149", null ],
[ "mpu6050_dmp_get_shake_reject_time", "group__mpu6050__dmp__driver.html#ga1c735c9480ddbd699d42cdea83cb6924", null ],
[ "mpu6050_dmp_get_shake_reject_timeout", "group__mpu6050__dmp__driver.html#gab01dde805118bfa51b04dbfb6534c68b", null ],
[ "mpu6050_dmp_get_tap_axes", "group__mpu6050__dm... | JavaScript |
28.6-60.4 41.6-77.7c3.2-4.4 9.6-4.4 12.8 0C179.6 308.6 208 349 208 369c0 26-21.5 47-48 47zM367.6 208a32 32 0 1 1 -64 0 32 32 0 1 1 64 0zm-192-32a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},SS=wS,MS={prefix:"fas",iconName:"turkish-lira-sign",icon:[384,512,["try","turkish-lira"],"e2bb","M96 32c17.7 0 32 14.3 32 32V99.3L247.2 ... | JavaScript |
]
if datalabel then
handle:write(("%s:\n"):format(datalabel.name))
end
end
out_head = "dw"
local data = fetch(address)
table.insert(out_body, ("0x%04X"):format(data))
if args_assoc.addresses then
... | Lua |
FacebookSdk
import com.facebook.FacebookTestUtility.assertEquals
import com.facebook.MockSharedPreference
import com.facebook.internal.Utility.sha256hash
import java.util.concurrent.ConcurrentHashMap
import java.util.concurrent.Executor
import java.util.concurrent.atomic.AtomicBoolean
import org.assertj.core.api.Assert... | Kotlin |
TypeLater(PPB_CP)
else
self:RefreshCurrentTypeLater(PPB_XP)
end
end)
control:RegisterForEvent(EVENT_PLAYER_ACTIVATED, function()
self:InitializeLastValues()
end)
control:SetHandler("OnUpdate", function(_, timeSecs)
self:OnUpdate(timeSecs)
end)
self:I... | Lua |
ode(&mut d)?),
EncodingTag::U16 => Revealed::U16(u16::strict_decode(&mut d)?),
EncodingTag::U32 => Revealed::U32(u32::strict_decode(&mut d)?),
EncodingTag::U64 => Revealed::U64(u64::strict_decode(&mut d)?),
// EncodingTag::U128 => Value::U128(u128::strict_... | Rust |
using System.Threading;
using System.Threading.Tasks;
using NUnit.Framework;
namespace VitalRouter.Tests
{
[TestFixture]
class UniTaskAsyncLockTest
{
[Test]
public async Task WaitAsync_One()
{
var x = new UniTaskAsyncLock();
await x.WaitAsync();
x.Release();
}
[Test]
pu... | C# |
WAI/WCAG21/Understanding/name-role-value'
}
],
related: ['H2', 'H30','ARIA7','ARIA8'],
url: 'https://www.w3.org/WAI/WCAG21/Techniques/failures/F89',
passed: 0,
warning: 0,
failed: 0,
outcome: '',
description: ''
},
results: new Array<... | Typescript |
// Copyright (c) Microsoft. All rights reserved.
namespace Microsoft.Azure.Devices.Routing.Core
{
public interface IRoutingUserMetricLogger
{
void LogEgressMetric(long metricValue, string iotHubName, MessageRoutingStatus messageStatus, IMessage message);
void LogEgressFallbackMetric(long metric... | C# |
llier']
total_params = enc_tools['total_params']
return paillier_dec(cipher_list,cls_paillier,total_params,args)
elif args.algorithm == 'bfv':
bfv_file = os.path.join(args.data_dir + 'bfv_ctx')
with open(bfv_file, "rb") as f:
params = f.read()
bfv_ctx = ts.contex... | Python |
ng nameEn,
@JsonKey(name: 'name_ja') required String nameJa,
@Default('') String description,
}) = _EndangeredSpeciesInfo;
factory EndangeredSpeciesInfo.fromJson(Map<String, dynamic> json) =>
_$EndangeredSpeciesInfoFromJson(json);
}
extension EndangeredSpeciesInfoExtension on EndangeredSpeciesInfo {... | Dart |
"nobr",
"noscript",
"object",
"ol",
"optgroup",
"option",
"output",
"p",
"param",
"pre",
"progress",
"q",
"s",
"samp",
"script",
"section",
"select",
"small",
"source",
"span",
"strike",
"strong",
"style",
"sub",
"summary",
"sup",
"table",
"tbody",
"td",
"tem... | HTML |
(x << "e"_mst && (x | y) << "s"_mst) | // m=m_x*m_y*e_x*(s_x+s_y)
(x & y & "zs"_mst) | // z=z_x*z_y, s=s_x*s_y
(y & "ufde"_mst) | // u=u_y, f=f_y, d=d_y, e=e_y
"x"_mst | // x
((x | y) & "ghij"_mst) | // g=g_x+g_y, h=h_x+h_y, i=i_x+i_y, j=j_x+j_y
(x & y & "k"_m... | C++ |
coords, bond_inds)
nfrags = len(frags)
nexcs = len(all_energies) - 1
assert ct_numbers.shape == (nexcs, nfrags, nfrags)
spectrum = spectrum_from_ens_fosc(all_energies, foscs)
exc_ens = spectrum.exc_ens
exc_ens_nm = spectrum.exc_ens_nm
foscs = spectrum.fosc
fosc_max = max(foscs.max() *... | Python |
ename: &str) -> Vec<u64> {
// open file
let path = Path::new(filename);
let path_display = path.display();
let mut file = match File::open(&path) {
Err(why) => panic!("could not open {}: {}", path_display, why),
Ok(file) => file,
};
// read file contents into a string
let mu... | Rust |
from Crypto.Cipher import AES
from Crypto.Util.Padding import pad, unpad
from Crypto.Random import get_random_bytes
plaintext = b"This is a sample text for encryption mode test. It should be at least 64 bytes long."
assert len(plaintext) >= 64
key = b'`DE\x92\xda\xbbn\x05\xc8c\x9e\xc1\xbd\xe7\xf1\xab'
iv = b'\xddN\x... | Python |
#include "binary_trees.h"
/**
* binary_tree_inorder - Goes through a binary tree using in-order traversal.
* @tree: A pointer to the root node of the tree to traverse.
* @func: A pointer to a function to call for each node.
*/
void binary_tree_inorder(const binary_tree_t *tree, void (*func)(int))
{
if (tree && fu... | C |
"nil|418|35|31.68|61.92|134.67|9.62",
"nil|418|35|38.40|63.36|57.72|9.62",
"nil|418|35|40.32|64.80|19.24|9.62"
}
}
},
[30704] = {
["Quest"] = "Hozen in the Mist|0|0|81|0|0|0"
},
[30705] = {
["Quest"] = "Captain's Log|0|0|81|0|0|0"
},
[30706] = {
["Quest"] = "Angry Scribblings|0|0|81|0|0|0"... | Lua |
,46.1,40,0
.goto Loch Modan,36.7,41.6,40,0
.goto Loch Modan,32.6,49.9,40,0
.goto Loch Modan,37.2,46.1,40,0
.goto Loch Modan,36.7,41.6,40,0
>>Find Kadrell, he patrols along the main road
.goto Loch Modan,36.9,46.1
.target Mountaineer Kadrell
>>Talk to |cRXP_FRIENDLY_Mountaineer Kadrell|r
.tur... | Lua |
PerMeter(secondValue);
LinearDensity maxTolerance = quantity > otherQuantity ? quantity - otherQuantity : otherQuantity - quantity;
var largerTolerance = maxTolerance * 1.1;
var smallerTolerance = maxTolerance / 1.1;
Assert.True(quantity.Equals(quantity, LinearDensity.Zer... | C# |
- Attempt \#2 at \#399 \(use local cache\) [\#415](https://github.com/berkshelf/berkshelf/pull/415) ([sethvargo](https://github.com/sethvargo))
## [v1.3.1](https://github.com/berkshelf/berkshelf/tree/v1.3.1) (2013-03-20)
[Full Changelog](https://github.com/berkshelf/berkshelf/compare/v1.3.0...v1.3.1)
**Merged pull re... | Markdown |
181 0c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0c-31.2 31.2-81.9 31.2-113.1 0z"],map:[576,512,[128506,62072],"f279","M565.6 36.2C572.1 40.7 576 48.1 576 56V392c0 10-6.2 18.9-15.5 22.4l-168 64c-5.2 2-10.9 2.1-16.1 .3L192.5 417.5l-160 61c-7.4 2.8-15.7 1.8-22.2-2.7S0 463.9 0 456V120c0-10 6.2-18.9 15.5-22.4l168-64c5.2-2 10.9... | JavaScript |
任何切换枪支操作都能够开启宏。
### 模式控制
按键 | 功能
:--: | ---
**CapsLock** | 开启大写字母键,启动宏,关闭则锁定宏,关闭时不会响应左键执行压枪操作,但 `G_bind` 指令依然有效(注:可改为其他控制方式,详见[#启动控制](https://github.com/kiccer/Soldier76#%E5%90%AF%E5%8A%A8%E6%8E%A7%E5%88%B6))
**ScrollLock** | 开启开发者调试模式,准星自动向右拉(开启后尝试修改 `ADS` 的值,使弹道变成一字)
### 初次使用
1. 按照 [#安装教程](https://github.com/kiccer... | Markdown |
Sets the weight (or boldness) of the font.
Returns
-------
Font
"""
super(Font, self).__init__("font")
if "_parent" in kwargs:
self._parent = kwargs["_parent"]
return
# Validate arg
# ------------
if arg is None:... | Python |
e |
|:------------------------:|:--------------------:|:---------------:|:--------------:|:---------------:|:------------------------:|
| 50000 | 15.9 secs for 84 moves | 19.0% | 71.7% | 9.3% | 0.548 |
The openings and the next moves are sorted by likeliness. We show at most the f... | Markdown |
DVW.Forms(), sffxs{}, ops)
}
// VPSHRDVW_Z: Concatenate Words and Variable Shift Packed Data Right Logical (Zeroing Masking).
//
// Forms:
//
// VPSHRDVW.Z m128 xmm k xmm
// VPSHRDVW.Z m256 ymm k ymm
// VPSHRDVW.Z xmm xmm k xmm
// VPSHRDVW.Z ymm ymm k ymm
// VPSHRDVW.Z m512 zmm k zmm
// VPSHRDVW.Z zmm zmm k zmm
fun... | Go |
6 - round N-1
orr x9, x11, x9, lsl #32 // CTR block 4k+9
cmp x0, x5 // .LOOP CONTROL
add w12, w12, #1 // CTR block 4k+9
eor x6, x6, x13 // AES block 4k+4 - round N low
eor x7, x7, x14 // AES block 4k+4 - round N high
mov... | Assembly |
ce[0]++;
list.get(list.size() - 1).countDown();
}
}
};
MXEventListener aliceEventListener = new MXEventListener() {
@Override
public void onLiveEvent(Event event, RoomState roomState) {
if (TextUtils.equals(event.ge... | Java |
1,0x7462
bfc6360c: 35292ce0 ori t1,t1,0x2ce0
bfc63610: 3c031040 lui v1,0x1040
bfc63614: 34632060 ori v1,v1,0x2060
bfc63618: 01091024 and v0,t0,t1
bfc6361c: 14430810 bne v0,v1,bfc65660 <inst_error>
bfc63620: 00000000 nop
/home/ghj/Desktop/func/inst/n26_and.S:59
bfc63624: 3c08230d lui t0,0x230d
bfc63628: 3508dea0 ... | Assembly |
| 在美国,人们如何获取医疗保险? |
| 健康 | 除了饮食和锻炼,还有哪些方法可以提高心理健康? |
| 教育 | 美国大学排名前十名是哪些? |
| 生活 | 如何在家里养一只幸福的宠物猫? |
| 娱乐 | 你能推荐一些最近上映的好看的电影吗? |
| 新闻 | 最近有哪些国际新闻值得关注? |
| 科学 | 现代科技中,人工智能的应用有哪些重要的进展? |
|音乐推荐|根据我最近喜欢的歌曲,能否给我推荐一些类似的歌曲?|
|电影分类|如何将IMDb Top 250电影按照不同类型进行分类?|
|摄影技巧|有哪些拍摄人像时可以提高照片质量的技巧和建议?|
|新闻编辑|请帮我编辑一篇有关全球气候变化的新闻稿件,题目为“地球的... | Markdown |
} else {
url = 'https://github.com/stackrox/kube-linter/blob/main/docs/' + vm.route.file
}
var editHtml = '[:memo: Edit Document](' + url + ')\n'
return editHtml
+ html
+ '\n\n----\n\n'
+ 'Made with ❤️ by <a href="https://stackr... | HTML |
#ifndef WINDOW_MANAGER_H
#define WINDOW_MANAGER_H
#include "P.h"
#include "Renderable.h"
union SDL_Event;
class Window : public virtual PObject
{
public:
enum class Mode {
Window,
Fullscreen,
ExclusiveFullscreen
};
Window(glm::vec2 virtual_size, Mode mode, RenderChain* chain, int f... | C |
%verify "executed"
/* EABI appears to have Java-style conversions of +inf/-inf/NaN */
%include "armv6t2/unop.S" {"instr":"bl __aeabi_f2iz"}
#if 0
@include "armv6t2/unop.S" {"instr":"bl f2i_doconv"}
@break
/*
* Convert the float in r0 to an int in r0.
*
* We have to clip values to int min/max per the speci... | Assembly |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
x509-vacuumer.py: search for x509 certificates and store them in storedsafe.
"""
| Python |
- [ ] **60. Geometric Asset Tokenization**: ❌ Not implemented
## User Experience & Applications (61-75)
- [ ] **61. Triangle Wallet Interface**: ❌ Not implemented
- [ ] **62. Mobile Mining App**: ❌ Not implemented
- [ ] **63. Web3 Fractal dApps**: ❌ Not implemented
- [ ] **64. Triangle NFT Marketplace**: ❌ Not imple... | Markdown |
nge.max);
}
}
}
static String ApplyDisplayBpm(ReadStream& in, History::Bindings bound, bool undo, bool redo)
{
return TEMPO_MAN->myApplyDisplayBpm(bound.tempo, in, undo, redo);
}
// ================================================================================================
// TempoManImpl :: general editing ... | C++ |
mentDate, 'month');
const days = firstRepaymentDate.diff(paymentDate, 'days');
const repayment = params.repayments.reduce(
(sum, repaymentItem) => sum + repaymentItem.amount,
0,
);
console.log('d', d, days, repayment, true);
for (let i = 0; i < installmentsNumber; i++) {
let capita... | Typescript |
}
}
if (Q_strcasecmp(command, "play") == 0)
{
CDAudio_Play(atoi(Cmd_Argv (2)), false);
return;
}
if (Q_strcasecmp(command, "loop") == 0)
{
CDAudio_Play(atoi(Cmd_Argv (2)), true);
return;
}
if (Q_strcasecmp(command, "stop") == 0)
{
CDAudio_Stop();
return;
}
if (Q_strcasecmp(command, "pause") =... | C |
el bool
r, _, _ := i.Vtbl.GetCancel.Call(
uintptr(unsafe.Pointer(i)),
uintptr(unsafe.Pointer(&cancel)),
)
if r != 0 {
return cancel, syscall.Errno(r)
}
return cancel, nil
}
// SetCancel 设置是否取消导航。
func (i *ICoreWebView2NavigationStartingEventArgs) SetCancel(cancel bool) error {
r, _, _ := i.Vtbl.PutCancel.C... | Go |
dTable.className() + "_char", ".geoJson");
results = File2.directReadFromUtf8File(dir + tName);
// String2.log(results);
expected =
// This is JSON encoding of " a\t~\u00fc,\n'z""\u20AC"
// source status chars are A\u20AC\t"\u00fc\uFFFF
results =
"{\n"
+ "... | Java |
-0.168 0.11232,-0.178 0.13906,-0.312 0.0303,-0.275 1.28545,-0.112 0.1765,0.184 1.10182,0.659 0.30487,0.114 0.43323,-0.29 0.30488,-0.03 0.2906,0.187 0.16938,0.337"},"29099":{"name":"Jefferson, MO","path":"m 617.2955,298.87914 0.20146,-0.369 2.34626,-0.587 3.31079,-0.183 1.13212,2.112 0.13728,0.523 -0.0499,0.06 -0.0802,0... | JavaScript |
+bCTxIrdBGUZ0NEm9dvIdXdCk8ZoYyNAjvTCoX46OfdlQ+lgszn1lb2hxaXpDZPXJ/984vCWEaamto201t62jT87Fi5i10T89VrG/urXnuW+6C9b/7H16lgWAOTt4vl2oi+7/tM3q/2l9XE0FjgiSRtEZTC4Wm5tjO67nB2EUJ2mWC6kqq6prauvqGxqbmlta29o7Oru6e3r7+gcGh4ZHRsfGJ25u7+4fHp+eW+1Ot9cfDEfjiTidvby+vX98fn1DSVZUTTdMy3Zcz0eYBGEUJ+l8sVytN9vd/gCAEIygGE6QFM2wHC+Ikqyomm6Ylu2... | CSS |
ormControl, FormGroup } from '@angular/forms';
@Component({
selector: 'app-form-group',
templateUrl: './form-group.component.html',
styleUrls: ['./form-group.component.scss']
})
export class FormGroupComponent implements OnInit {
constructor() { }
userForm = new FormGroup({
firstName: new FormControl('... | Typescript |
.717,2.062-4.717,4.606c0,0.582,0.122,1.137,0.326,1.651
c-1.942,0.353-3.396,1.81-3.396,3.555c0,1.494,1.066,2.773,2.592,3.336c-0.007,0.071-0.025,0.136-0.025,0.207
c0,1.421,1.358,2.572,3.031,2.572c1.187,0,2.202-0.584,2.699-1.426c1.352,1.293,3.396,2.136,5.715,2.136
c2.936,0,5.45-1.332,6.633-3.249c0.17,0.035,0.345,0.0... | HTML |
净": [["fēng"], ["qīng"], ["yún"], ["jìng"]],
"风清弊绝": [["fēng"], ["qīng"], ["bì"], ["jué"]],
"风清月皎": [["fēng"], ["qīng"], ["yuè"], ["jiāo"]],
"风清月朗": [["fēng"], ["qīng"], ["yuè"], ["lǎng"]],
"风清月明": [["fēng"], ["qīng"], ["yuè"], ["míng"]],
"风情月思": [["fēng"], ["qíng"], ["yuè"], ["sī"]],
"风情月意": [["fēng"], ["qíng"], ["yuè... | Typescript |
}
func TestGolden(t *testing.T) {
for _, g := range golden {
in := g.in
if len(in) > 220 {
in = in[:100] + "..." + in[len(in)-100:]
}
p := []byte(g.in)
if got := checksum(p); got != g.out {
t.Errorf("simple implementation: checksum(%q) = 0x%x want 0x%x", in, got, g.out)
continue
}
if got := Che... | Go |
ef="../file:///nix/store/nw4fdvinqycf4cyjxfnndyyc8ydsbcr3-semigroupoids-lib-semigroupoids-5.3.4-haddock-doc/share/doc/semigroupoids/html/src"><span class="hs-operator hs-var"><.></span></a></span><span> </span><span class="annot"><span class="annottext">(Unique -> f Unique) -> name -> f name
forall name ... | HTML |
);
var state = getSubscriptionState();
Assert.IsTrue(state.IsActive);
Assert.AreEqual(0, state.MappingSubscriptions.Count);
}
[Test]
public void TestOneBindingProfile()
{
var mapping = _profile.AddMapping("Button");
var plugin... | C# |
);
pageMetadata.put(KEY_TYPE, this.type.toString());
pageMetadata.put(KEY_TITLE, this.title);
pageMetadata.put(KEY_SPACE, this.space);
pageMetadata.put(PAGE_URL, this.url);
pageMetadata.put(PAGE_WEBURL, this.webUrl);
pageMetadata.put(KEY_CREATED_DATE,
DateParser.formatISO8601Date(this.cr... | Java |
.map(|check| check.name().to_string())
.collect()
}
pub fn run(lines: &[LineEntry], skip_checks: &[&str]) -> Vec<Warning> {
let mut checks = checklist();
// Skip checks with the --skip argument (globally)
checks.retain(|c| !skip_checks.contains(&c.name()));
// Skip checks with commen... | Rust |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.