content
stringlengths
2
6.21k
label
stringclasses
16 values
aseCSSPrefix+'column-header-inner"><span id="{id}-textEl" class="'+Ext.baseCSSPrefix+'column-header-text">{text}</span><tpl if="!menuDisabled"><div id="{id}-triggerEl" class="'+Ext.baseCSSPrefix+'column-header-trigger"></div></tpl></div>{%this.renderContainer(out,values)%}',dataIndex:null,text:"&#160;",menuText:null,em...
JavaScript
""; }); return query_POS.some(pos => word_POS_list.includes(pos)); } return (word: Word) => { if (!test_querytext_condition(word)) return false; if (POS_is_specified) { return test_POS_condition(word); } return true; }; }export const onTheBoomerang = (ctx: CanvasRend...
Typescript
} function getGuildLocation(guild: string) { return `messier:config:guilds.${guild}`; } export async function addPrefix(guild: string, prefix: string) { if (!prefix || prefix.length < 1) throw new Error("You need to specify a non-empty prefix!"); if (prefix.length > 15) throw new Error("Prefixes may be...
Typescript
stanz zum Target) private calculateSpeed(distance:number) { var step:number; if (this.partnerFlag === true || this.foodFlag === true) { step = 0.995; return step; } if (distance > 200) { step = 0.7; return step; } else { if (distance > 100) { step = 0.65; ...
Typescript
der-radius:50%}.q-skeleton--type-QBtn{width:90px;height:36px}.q-skeleton--type-QBadge{width:70px;height:16px}.q-skeleton--type-QChip{width:90px;height:28px;border-radius:16px}.q-skeleton--type-QToolbar{height:50px}.q-skeleton--type-QCheckbox,.q-skeleton--type-QRadio{width:40px;height:40px;border-radius:50%}.q-skeleton-...
CSS
#!/usr/bin/env python3 # coding=utf-8 import requests as r from .yblogin import BASEURL class feed: def __init__(self, token): self.token = token ''' 发起动态 ''' def add(self, content, privacy_level): payload = { 'content': content, 'privacy': privacy_leve...
Python
,286.18 1113.52,285.53 1116.45,284.88 1119.38,284.22 1125.23,282.88 1128.16,282.2 1134.02,280.82 1136.95,280.12 1139.88,279.42 1145.74,277.98 1148.67,277.25 1151.6,276.51 1157.46,275.01 1160.39,274.24 1166.25,272.7 1169.18,271.91 1172.11,271.12 1175.04,270.32 1177.97,269.51 1186.76,267.05 1189.69,266.21 1192.62,265.37 ...
HTML
returns>An array of runtime versions, or <see langword="null"/> if results could not be determined.</returns> public static string[]? ReadRuntimeVersionsInstalledInLocalMachine(Architecture architecture) { // https://github.com/dotnet/designs/blob/96d2ddad13dcb795ff2c5c6a051753363bdfcf7d/accepted/2020/i...
C#
Canvas, scale); } clearWaitingForImage(OverlayDialogManager? dialogManager, SessionID sessionId) { dialogManager?.dismissByTag('$sessionId-waiting-for-image'); } import 'package:fluro/fluro.dart'; import 'package:flutter_weather/routers/handler.dart'; /// fluro 路由管理类 class Routers { static const root = '/'; sta...
Dart
Bar? operator [](int? index) => index != null ? new Bar(index) : null; } class Bar { int baz; Bar(this.baz); int operator [](int index) => index; bool operator ==(Object other) => other is Bar && baz == other.baz; } Bar? test5(Foo? foo) => foo?.bar!; int? test6(Foo? foo) => foo?.bar!.baz; int? test7(Fo...
Dart
) { --numPins; } const QString subcktKey(QString::fromUtf8("%1_%2").arg(subcktComponents[1]).arg(numPins)); subcktsWithPins[subcktKey] = true; qDebug() << "map subcircuit key: " << subcktKey; from = idx+1; } // acquire subcircuit instances and resp...
C++
+a33*cos; a43 = a41*sin+a43*cos; a11 = t1; a21 = t2; a31 = t3; } //rotationZ angle = Math.atan2(a21, a11); tm.rotation = angle * _RAD2DEG; if (angle) { cos = Math.cos(angle); sin = Math.sin(angle); t1 = a11*cos+a21*sin; t2 = a12*cos+a...
JavaScript
#include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <unistd.h> #include <getopt.h> #include <string.h> #include <sys/sys.h> #include <sys/ioctl.h> /** * readline - 读取一行输入 * @buf: 缓冲区 * @count: 数据量 * * 输入回车结束输入 */ void readline(char *buf, uint32_t count) { int len = 0; char *pos = buf; ...
C
�球网同名账号下,每周二更新的栏目《毒舌研报》,由一位每周浏览50份以上、精读20份以上研报的高手撰写。此次集合成书,增补了几万字内容,梳理和更新了资料数据,重新划分了结构和类别,特别适合初入股市的投资者阅读。 ### 雪球「岛」系列电子书出版序 互动是美好的,它让我们展现自己的智慧,分享别人的智慧。 互动也是惨烈的,它让我们发现别人的愚昧和偏见,也让我们发现自己的愚昧和偏见。 c:276 ### 推荐序 让客户改变我们的研究模式 研究所要以机构客户为主要服务对象,研究要围绕满足客户的答疑解惑需要,根据客户偏好提供个性化的服务。 c:102 我们可以看到,越来越多的股民正通过微信公众号、网络投资社区、交易软件乃至公共媒体...
Markdown
handlers.</p> <p>To obtain an evaluation copy of Windows&nbsp;8, go to <a href="http://go.microsoft.com/fwlink/p/?linkid=241655"> Windows&nbsp;8</a>.</p> <p>To obtain an evaluation copy of Microsoft Visual Studio&nbsp;2012, go to <a href="http://go.microsoft.com/fwlink/p/?linkid=241656"> Visual Studio&nbsp;2012</a>.</...
HTML
�土", ["㤹"] = "忄一氺丶", ["㤺"] = "忄亡", ["㤻"] = "卵心", ["㤼"] = "忄土厶力", ["㤽"] = "忄寸", ["㤾"] = "忄冖八木", ["㤿"] = "忄大日乚", ["㥀"] = "忄十一", ["㥁"] = "十罒㇗心", ["㥂"] = "忄日一寸", ["㥃"] = "忄門", ["㥄"] = "忄土八夊", ["㥅"] = "忄爫冖又", ["㥆"] = "忄氺", ["㥇"] = "忄戈戈", ["㥈"] = "巾⺊口心", ...
Lua
-tabs .workspace-tab-container, body:not(.is-mobile) .workspace:not(.is-left-sidedock-open) .mod-root .mod-horizontal > .workspace-split .workspace-tabs:first-of-type > .workspace-tab-container { margin-inline-start: 8px; } /* Margin OFF when sidebars closed */ body:not(.is-mobile) .workspace:not(.is-left-sidedock...
CSS
set_style() content_view={ LinearLayoutCompat; layout_height="fill"; layout_width="fill"; orientation="vertical"; backgroundColor=gray_color; { ListView; layout_width="fill"; layout_height="fill"; backgroundColor=gray_color; layout_margin="10dp"; id="clist"; DividerHeight="0"; ...
Lua
code>type</code> - The type of request (<code>instant</code> | /// <code>request</code> | <code>maintain</code>). /// </li> /// </ul> /// /// Parameter [fleetIds] : /// The IDs of the EC2 Fleets. /// <note> /// If a fleet is of type <code>instant</code>, you must specify the fleet ID, /// otherwise it...
Dart
",Mouse.ButtonUp); addEventListener("mousewheel",Mouse.Wheel); break; case EventManagerMOD.KEYBOARD: addEventListener("keydown",Keyboard.KeyDown); addEventListener("keyup",Keyboard.KeyUp); addEventListene...
Typescript
_80; NullCheck(L_81); Dictionary_2_Add_m8E1E97EC586BFF6D3F84BB3429DF6198853F25AC(L_81, _stringLiteral462227ABA468FB4BCF2E89443D089405B6EEE8AA, _stringLiteral0023B96CA616E7D1A87AF021DA996BFFFD04A800, /*hidden argument*/Dictionary_2_Add_m8E1E97EC586BFF6D3F84BB3429DF6198853F25AC_RuntimeMethod_var); Dictionary_2_t931...
C++
<li>configure the selector</li> <li>let the selector do some work</li> <li>verify the work</li> <li>clean the bed</li> </ol> </p> <p>For common way of instantiation you have to override the <tt>getInstance()</tt> simply by returning a new object of your selector. For easier "sel...
HTML
l, '': 'null key' }) expect(String(doc)).toBe(`empty: canonical: ~ english: null ~: null key\n`) }) describe('!!map', () => { test('mapAsMap: false', () => { const src = ` one: 1 2: two { 3: 4 }: many\n` const doc = parseDocument<YAMLMap>(src, { logLevel: 'error' }) expect(doc.t...
Typescript
95A6"] = 0x6CB8; // 沸 sjis_to_unicode["95A7"] = 0x4ECF; // 仏 sjis_to_unicode["95A8"] = 0x7269; // 物 sjis_to_unicode["95A9"] = 0x9B92; // 鮒 sjis_to_unicode["95AA"] = 0x5206; // 分 sjis_to_unicode["95AB"] = 0x543B; // 吻 sjis_to_unicode["95AC"] = 0x5674; // 噴 sjis_to_unicode["95AD"] = 0x58B3; // 墳 sjis_to_unicode["95AE"] =...
JavaScript
ifLastChange"; /** Constant <code>IF_IN_OCTETS="ifInOctets"</code> */ public static final String IF_IN_OCTETS = "ifInOctets"; /** Constant <code>IF_IN_UCAST="ifInUcastPkts"</code> */ public static final String IF_IN_UCAST = "ifInUcastPkts"; /** Constant <code>IF_IN_NUCAST="ifInNUcastPkts"</code> ...
Java
#pragma once #ifndef GET_MIPROCESSLOADERENTRY_H #define GET_MIPROCESSLOADERENTRY_H #include <ntddk.h> typedef NTSTATUS(__fastcall *MiProcessLoaderEntry)(PVOID pDriverSection, BOOLEAN bLoad); PVOID GetProcAddress(WCHAR *FuncName) { UNICODE_STRING u_FuncName = { 0 }; RtlInitUnicodeString(&u_FuncName, FuncName); ret...
C
" gl_FragColor = vec4(min(overlayer.rgb * base.a, base.rgb * overlayer.a) + overlayer.rgb * (1.0 - base.a) + base.rgb * (1.0 - overlayer.a), 1.0);\n" + " }"; public GPUImageDarkenBlendFilter() { super(DARKEN_BLEND_FRAGMENT_SHADER); } } /* * Copyright (C) 2012 CyberAgent * * Licensed ...
Java
; i <= retries; i++) { try { var t = action(); return t; } catch(Exception e) { Logger.Warning("An unexpected error occured, attempt # {0}, i", e); if (i == retries) { ...
C#
ew-notes .note .toolbar { background: #fcfcfa; height: 35px; width: 100%; display: table-row; box-shadow: 0 1px 1px -1px rgba(0, 0, 0, 0.33); } .quickview-wrapper .nav-tabs ~ .tab-content .quickview-notes .note .toolbar > li { display: inline-block; border-right: 1px solid #EDECEC; float: left; line-h...
CSS
l class="breadcrumb"> <li class="breadcrumb-item"><a href="index_body.php">后台面板</a></li> <li class="breadcrumb-item"><a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a></li> <li class="breadcrumb-item active">发布软件文档</li> </ol> <div class="card ...
HTML
Khe_61u7XlcflejlMQuPtSKGwVZHWsqCWGsvR5vSCvPPdTPFR_ZH7xyPIkgo5EdG7XvDEqL04u8-7Dg3p_lmk4nsBbrsH9-05ph_yxi2A22aggXxYXmWqhZ6y5UPG7pI6aRrQgC9Ivck7KtKOaJzxq2C2DpBnK6kww4fcFx1MHD2aqMDoVfXKLJtjA82s\" /><div class=\"fbTimelineFeedbackHeader\"><div class=\"fbTimelineFeedbackActions clearfix\"><span class=\"fbTimelineFeedbackShar...
Java
col_offsets = col_block_start + tl.arange(0, BLOCK_SIZE_COLS) col_mask = col_offsets < num_cols grad_to_add = tl.load( grad_output_row_ptr + col_offsets, mask=col_mask, other=0.0 ) tl.atomic_add( grad_input_row_ptr + col_off...
Python
.probootstrap-owl-navigation.absolute { position: relative; margin-bottom: 40px; } } .probootstrap-owl-navigation.absolute.right { right: 10px; } .probootstrap-owl-navigation.absolute.left { left: 0; } .probootstrap-owl-navigation li { display: inline-block; list-style: none; margin: 0; paddi...
CSS
stral, a pesar de que descendieron un 35 % respecto al mismo periodo del año pasado.</p> <figure class="kg-card kg-image-card kg-width-wide kg-card-hascaption"><img src="https://blog.cloudflare.com/content/images/2023/07/DDoS-HTTP-Application.png" class="kg-image" alt="" loading="lazy" width="1134" height="600"> <fi...
HTML
rd wR1, [r0], #8 stcl p1, cr2, [r0], #8 @ wstrd wR2, [r0], #8 stcl p1, cr3, [r0], #8 @ wstrd wR3, [r0], #8 stcl p1, cr4, [r0], #8 @ wstrd wR4, [r0], #8 stcl p1, cr5, [r0], #8 @ wstrd wR5, [r0], #8 stcl p1, cr6, [r0], #8 @ wstrd wR6, [r0], #8 stcl p1, cr7, [r0], #8 @ wstrd wR7, [r0], #8 stcl p1, cr8,...
Assembly
WORDS, HighSpeedBitStream.RS_PADDING, rawFrame, demodulator)) { Log.println("HIGH SPEED RS Decode Failed"); throw new StpFileRsDecodeException(fileName, "ERROR: FAILED HIGH SPEED RS DECODE " + fileName); } else { // Format Frame // Log.println("RS Decode for: " + length/8 + " byte frame.."); ...
Java
order\":{\"@type\":\"http://www.w3.org/2001/XMLSchema#integer\",\"@value\":\"-1\"},\"d3f:display-priority\":{\"@type\":\"http://www.w3.org/2001/XMLSchema#integer\",\"@value\":\"1\"},\"d3f:type\":\"toplevel\",\"rdfs:label\":\"Model\"},{\"@id\":\"d3f:Harden\",\"children\":[{\"@id\":\"d3f:ApplicationHardening\",\"children...
HTML
ea3ef4: popa 0x01ea3ef5: pop %ebp 0x01ea3ef6: jmp 0x01dc0340 0x01ea3efb: movdqu 0xb0(%esp),%xmm0 0x01ea3f04: movdqu 0xc0(%esp),%xmm1 0x01ea3f0d: movdqu 0xd0(%esp),%xmm2 0x01ea3f16: movdqu 0xe0(%esp),%xmm3 0x01ea3f1f: movdqu 0xf0(%esp),%xmm4 0x01ea3f28: movdqu 0x100(%esp),%xmm5 0x01ea3f31: mov...
Java
.AspNetCore</a></li></ul><h3 class="anchor anchorWithHideOnScrollNavbar_WYt5" id="swashbuckleaspnetcoreswaggerui">Swashbuckle.AspNetCore.SwaggerUI。<a class="hash-link" href="#swashbuckleaspnetcoreswaggerui" title="标题的直接链接">​</a></h3><p>通过中间件SwaggerUI中间件Middleware,Invoke方法中,替换了Index.html中的%(DocumentTitle) %(HeadContent)...
HTML
(void) { s_vpi_systf_data tf_data; vpi_printf("Registering Callbacks\n"); tf_data.type = vpiSysTask; tf_data.tfname = "$mempoke"; tf_data.calltf = MemPoke; tf_data.compiletf = 0; tf_data.sizetf = 0; vpi_register_systf(&tf_data); tf_data.tfname = "$mempeek"; tf_data.calltf = Me...
C++
id") func (q *Query) WherePK() *Query { if !q.hasTableModel() { q.err(errModelNil) return q } if err := q.tableModel.Table().checkPKs(); err != nil { q.err(err) return q } switch q.tableModel.Kind() { case reflect.Struct: q.where = append(q.where, wherePKStructQuery{q}) return q case reflect.Slice:...
Go
עĽ㡣 </span></p> <p class=MsoNormal><span lang=EN-US style='font-size:14.0pt;font-family:'>&nbsp;</span></p> </div> </body> </html> <!-- coding: gbk --><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title></title> <meta name="GENERATOR" content="WinCHM"> <meta http-equiv="Content-Type...
HTML
the supplied record would cause the file to exceed the size limit we have. is%s iiN(RRR&Rtformattseekttelltlen(R Rtmsg((s handlers.pyRs"N(RRRRRRR(((s hand...
Python
tension base="{urn:internalvim25}VmPoweredOnEvent"> * <sequence> * <element name="sourceHost" type="{urn:internalvim25}HostEventArgument"/> * </sequence> * </extension> * </complexContent> * </complexType> * }</pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "VmRe...
Java
]]) lexerror([["xyz\300"]], [[\300"]]) lexerror([[" \256"]], [[\256"]]) -- errors in UTF-8 sequences lexerror([["abc\u{110000}"]], [[abc\u{110000]]) -- too large lexerror([["abc\u11r"]], [[abc\u1]]) -- missing '{' lexerror([["abc\u"]], [[abc\u"]]) -- missing '{' lexerror([["abc\u{11r"]], [[abc\u{11r]]) --...
Lua
ons should be used. ms.date: 05/21/2018 keywords: ["EvtSurpriseRemoveNoSuspendQueue rule (kmdf)"] topic_type: - apiref ms.topic: reference api_name: - EvtSurpriseRemoveNoSuspendQueue api_type: - NA --- # EvtSurpriseRemoveNoSuspendQueue rule (kmdf) The **EvtSurpriseRemoveNoSuspendQueue** rule specifies that WDF Drive...
Markdown
-- 默认的键位设置函数太长了,所以这里将它们重新引用一下 vim.keybinds = { gmap = vim.api.nvim_set_keymap, --vim.keymap.set bmap = vim.api.nvim_buf_set_keymap, dgmap = vim.api.nvim_del_keymap, dbmap = vim.api.nvim_buf_del_keymap, opts = {noremap = true, silent = false}, opts1 = {noremap = true, silent = true} } -- 注意 新版nvi...
Lua
�上的讲话 - 陈辉光 - 1986-3-9 - CCRD 中国当代政治运动史数据库 </title> <link href="../../../../Emblem_of_the_PCP-Shining_Path.svg.ico" rel="icon" type="image/x-icon"/> </head> <body> <meta content="陈辉光在广西区党委工作会议上的讲话" property="title"/> <meta content="1986-3-9" property="date"/> <meta content="陈辉光" property="authors"/> <scri...
HTML
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
C#
"//a.tbcdn.cn/mw/s/hi/tbtouch/images/touch-icon.png" /> <script src="http://g.tbcdn.cn/kissy/k/1.4.2/seed-min.js"></script> <script src="//g.tbcdn.cn/mtb/??lib-windvane/1.2.3/api.js,lib-windvane/1.2.3/bridge.js"></script> <script src="//g.tbcdn.cn/mtb/??lib-env/1.1.10/env.js,lib-httpurl/1.1.4/httpurl.js,lib...
HTML
""" Write a python function to find the index of smallest triangular number with n digits. https://www.geeksforgeeks.org/index-of-smallest-triangular-number-with-n-digits/ assert find_Index(2) == 4 """ from math import ceil, sqrt def find_Index(n): """ :param n: int :return: int """ triangular_numb...
Python
l.selection = rl.completer.GetBuffer() // The command might be nil, because the provided key sequence // did not match any. We regardless execute everything related // to the command, like any pending ones, and cursor checks. rl.execute(command) // Either print/clear iterations/active registers hints. rl.update...
Go
$enumDecodeNullable(_$AudioQualityEnumMap, json['wifiQuality']) ?? AudioQuality.MP3_320 ..mobileQuality = $enumDecodeNullable(_$AudioQualityEnumMap, json['mobileQuality']) ?? AudioQuality.MP3_128 ..offlineQuality = $enumDecodeNullable(_$AudioQualityEnumMap,...
Dart
;bottom:0;overflow-x:hidden;overflow-y:auto}.book-toc img{height:1em;width:1em}.book-toc nav>ul>li:first-child{margin-top:0}.book-footer{padding-top:1rem;font-size:.875rem}.book-footer a{margin:.5rem 0}.book-comments{margin-top:1rem}.book-languages{margin-bottom:1rem}.book-languages span{padding:0}.book-languages ul{pa...
CSS
union class AuthContractDataKey { final AuthContractDataKeyKind kind; final Address? counter; const AuthContractDataKey._({ required this.kind, this.counter, }); factory AuthContractDataKey.counter(Address value) { return AuthContractDataKey._( kind: AuthContractDataKeyKind.Counter, c...
Dart
var renderer = rendererObject.AddComponent<Renderer>(); renderer.SetMesh(_smileMesh); renderer.SetMaterial(_material); renderer.SetTextureScale(new Vector2(1, -1)); var instance = new GameObject(); instance.Name = $"Mob-{i}"; ...
C#
nly() } content { includeGroupByRegex("androidx.*") } } } if (hasProperty("circuit.config.enableMavenLocal")) { mavenLocal() } mavenCentral() google() // Kotlin dev repository, useful for testing against Kotlin dev builds. // Usually only tested on CI shadow jobs ...
Kotlin
len(n.states) { return nil } state := n.states[id] if matchIndex >= len(state.matches) { return nil } pat := state.matches[matchIndex] return &Match{ pattern: pat.PatternID, len: pat.PatternLength, end: end, } } func (n *iNFA) addDenseState(depth int) stateID { d := newDense() trans := trans...
Go
context, state) { if (state is InitialSearchState) { _searchBloc.add( LoadUserEvent(userId: widget.userId), ); return Center( child: CircularProgressIndicator( valueColor: AlwaysStoppedAnimation(Colors.blueGrey), ), ); ...
Dart
7BRVXk2l6uF a:focus svg circle.gZCekxKuewhQhlBZDuJQ, .TKXFYjyTT7BRVXk2l6uF a:focus svg path.gZCekxKuewhQhlBZDuJQ, .TKXFYjyTT7BRVXk2l6uF a:focus-within svg circle.gZCekxKuewhQhlBZDuJQ, .TKXFYjyTT7BRVXk2l6uF a:focus-within svg path.gZCekxKuewhQhlBZDuJQ, .TKXFYjyTT7BRVXk2l6uF a:active svg circle.gZCekxKuewhQhlBZDu...
HTML
ixin[type=2] when (@usedScope=mixin){ used-scope: mixin; } .it .depends local::pseudo when (@usedScope=local){ used-scope: local; } } .mixin(@usedScope: argument) { .false with argument global[type=1] when (@usedScope=global){ used-argument-scope: incorrectly; } .true with argument argument[typ...
CSS
InOrder( [ // the loading state is set () => addToCartListener( initialData, any(that: isA<AsyncLoading>()), ), // then the data is set with quantity: 1 () => addToCartListener( any(that: isA<AsyncLoading>()), ...
Dart
= ifValue } else { b.expr.Retry = &resolver.RetryPolicy{If: ifValue} } return b } func (b *CallExprBuilder) SetRetryPolicyConstant(constant *resolver.RetryPolicyConstant) *CallExprBuilder { defaultIfValue := &resolver.CELValue{ Expr: "true", Out: resolver.BoolType, } if b.expr.Retry != nil { b.expr.Retr...
Go
") e.SetSource("ut") e.SetType("ut") e.SetSpecVersion("1.0") e.SetExtension("123", 123) err := e.SetData(v2.ApplicationJSON, map[string]interface{}{ "int": 123, "bool": true, "string": "string", }) So(err, ShouldBeNil) epb1, _ := cloudevents.ToProto(&e) ret := &cloudevents.Cl...
Go
bf92ba7db746bdba20453e1c12b651_D20210101-20211231" decimals="-6" name="us-gaap:DebtAndEquitySecuritiesUnrealizedGainLoss" format="ixt:num-dot-decimal" scale="6" id="id3VybDovL2RvY3MudjEvZG9jOjE3ZmQ2YWUzYTdmNDQyNDhhZGZjZTMxZDViYjFiYTYzL3NlYzoxN2ZkNmFlM2E3ZjQ0MjQ4YWRmY2UzMWQ1YmIxYmE2M18xMDAvZnJhZzo5ODViNTk3OWFiNTA0YTNkYW...
HTML
// // Created by blentle on 2022/2/11. // #ifndef CPP_CYCLEDETECTION_H #define CPP_CYCLEDETECTION_H #endif // CPP_CYCLEDETECTION_H using namespace std; template<typename Graph> class CycleDetection { private: //当然需要一个图的引用了 Graph &g; //记录被访问的节点的下标 bool *visited; //是否有环 bool cycled; /...
C
260.5zM2048 404q0 -117 -68.5 -223.5t-185.5 -193.5l55 -181l-199 109 q-150 -37 -218 -37q-169 0 -311 70.5t-223.5 191.5t-81.5 264t81.5 264t223.5 191.5t311 70.5q161 0 303 -70.5t227.5 -192t85.5 -263.5z\" />\n<glyph unicode=\"&#xf1d8;\" horiz-adv-x=\"1792\" d=\"M1764 1525q33 -24 27 -64l-256 -1536q-5 -29 -32 -45q-14 -8 -31 -8q...
Go
t;https://api.mistral.ai/v1/chat/completions&quot;; const apiKey = process.env.MISTRAL_API_KEY; // Ensure this is set in your .env file or environment async function generateContent(prompt) { const requestBody = { model: &#x27;mistral-tiny&#x27;, messages: [{ role: &#x27;user&#x27;, content: prompt...
HTML
C5D;border-color: #929292}.ace-clouds-midnight .ace_storage,.ace-clouds-midnight .ace_support.ace_class,.ace-clouds-midnight .ace_support.ace_function,.ace-clouds-midnight .ace_support.ace_other,.ace-clouds-midnight .ace_support.ace_type {color: #E92E2E}.ace-clouds-midnight .ace_string {color: #5D90CD}.ace-clouds-midni...
JavaScript
(t, commit.Hash(), obj.Hash()) } func TestTransactionalPackfileWriter(t *testing.T) { base := memory.NewStorage() var temporal storage.Storer temporal = filesystem.NewStorage(memfs.New(), cache.NewObjectLRUDefault()) st := NewStorage(base, temporal) _, tmpOK := temporal.(storer.PackfileWriter) _, ok := st.(st...
Go
影响版本** Apache ActiveMQ < 5.18.3 Apache ActiveMQ < 5.17.6 Apache ActiveMQ < 5.16.7 Apache ActiveMQ < 5.15.16  **>** **>** **>** **>** **其他受影响组件** 无 **03** **复现情况** 目前,奇安信CERT已成功复现**Apache ActiveMQ 远程代码执行漏洞(QVD-2023-30790)** ,截图如下: ![](https://mmb...
Markdown
_to_add + 1 > map_size - (finish.node - map)) reallocate_map(nodes_to_add, false); } // 始终保证前面要有一个及以上的空数组大小 void reserve_map_at_front (size_type nodes_to_add = 1) { if (nodes_to_add > start.node - map) reallocate_map(nodes_to_add, true); } void reallocate_map(size_type nodes_to_add, bool add_a...
Markdown
// <auto-generated/> #pragma warning disable CS0618 using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using System.Collections.Generic; using System.IO; using System; namespace Microsoft.Graph.Beta.Models.IdentityGovernance { [global::System.CodeDom.Compiler.GeneratedC...
C#
torch.max(masked_heatmap, masked_gaussian * k, out=masked_heatmap) return heatmap class SELayer_Linear(nn.Module): def __init__(self, channels, act_layer=nn.ReLU, gate_layer=nn.Sigmoid): super().__init__() self.conv_reduce = nn.Linear(channels, channels) self.act1 = act_layer() ...
Python
IoPutCharDirect .endp ;=========================================================================== stCp = stDos .proc stDos jsr ExecReset ;We may end up returning if DOS fails to load (MEM.SAV error, user ;backs out!). .if CART==0 jmp ReturnToDOS .else jmp (dosvec) .endif .endp ;================...
Assembly
77C 002093DC B0 1D 00 30 */ sth r0, 0x30(r29) lbl_8020D780: /* 8020D780 002093E0 C0 1E 00 2C */ lfs f0, 0x2c(r30) /* 8020D784 002093E4 D0 1D 00 40 */ stfs f0, 0x40(r29) /* 8020D788 002093E8 48 01 60 A9 */ bl func_80223830 /* 8020D78C 002093EC 3F 80 00 03 */ lis r28, 0x000343FD@ha /* 8020D790 002093F0 80 A3 00 00 ...
Assembly
section.admindashboard .listjob main .sib .sibcont ul li span:last-child { font-weight: 400; } /* .container section.admindashboard .listjob main .sib .sibcont ul li.pr span{ font-family: "Chakra Petch", sans-serif; } */ .container section.admindashboard .listjob ...
CSS
const r = parseInt(result[1], 16); const g = parseInt(result[2], 16); const b = parseInt(result[3], 16); return rgbToHsl(r, g, b); } else { return null; } } else { return null; } } /** * Takes r, g, and b and numbers in 3 separate agurments, convert to hsl, and returns in...
Typescript
try_uniform_components: usize, pub combined_texture_image_units: usize, pub combined_uniform_blocks: usize, pub combined_vertex_uniform_components: usize, pub cube_map_texture_size: usize, pub depth_texture_samples: usize, pub draw_buffers: usize, pub dual_source_draw_buffers: usize, pub...
Rust
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Jul 5 2017 23:13:50). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard. // #import "MMUIViewController.h" #import "WCSightFullPlayViewDelegate-Protocol.h" @class NSString, UIButton, WCDataItem, WCMediaItem, W...
C
22.591-39.493-39.878-23.024zM256 224c-17.673 0-32 14.327-32 32s14.327 32 32 32 32-14.327 32-32-14.327-32-32-32z"],compress:[448,512,[],"f066","M436 192H312c-13.3 0-24-10.7-24-24V44c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v84h84c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm-276-24V44c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12...
JavaScript
mcpy(NLMSG_TAIL(n), data, len); memset((void *) NLMSG_TAIL(n) + len, 0, NLMSG_ALIGN(len) - len); n->nlmsg_len = NLMSG_ALIGN(n->nlmsg_len) + NLMSG_ALIGN(len); return 0; } struct rtattr *addattr_nest(struct nlmsghdr *n, int maxlen, int type) { struct rtattr *nest = NLMSG_TAIL(n); addattr_l(n, maxlen, type, NULL, 0...
C
i != 0 { comp.Inputs = workflowv1alpha1.StepInputs{ { ParameterKey: "input_slot_1", From: fmt.Sprintf("var-output-%d", i-1), }, { ParameterKey: "input_slot_2", From: fmt.Sprintf("var-outputs-%d", i-1), }, } } if i != n-1 { comp.Outputs = work...
Go
th frequency 24kHZ */ ftmParam.chnlNumber = BOARD_FTM_CHANNEL_PAIR; ftmParam.level = pwmLevel; ftmParam.dutyCyclePercent = updatedDutycycle; ftmParam.firstEdgeDelayPercent = 0U; /* Board pin, clock, debug console init */ BOARD_InitPins(); BOARD_BootClockRUN(); BOARD_InitDebugConsole(); ...
C
959228516, -13.37083911895752, }, { 141.87814331054688, 49.39712905883789, -13.385309219360352, }, { 141.6807403564453, 47.40865707397461, -13.301587104797363, }, }, color = { 255, 255, 125, 0, }, up_vector = { -0.04603636637330055, 0.1153827160596847...
Lua
之后便是两条相关的指导原则。 一个可修改的软件组分是该软 件可以被用户修改的那部分,而一个不可修改的软件组分则是指该软件不可以被用户进行修改的那 个部分。 用户可修改软件可以随着复杂程度的不同而有所不同。其应用实例包括一个单存储位(用于在 两个设备选项中选择其中之一) 、一个电文信息表、一个可以进行编程、编译和链接(用于飞机保 养维护)的存储区。任何等级的软件都可能包括一个可修改的软件组分。 设计用户可修改软件的指导原则包括: a. 非可修改软件组分应该防止受到用户可修改软件的影响,以防止在非可修改软件组分的安 全运行过程中产生干扰。 这一保护措施可以通过硬件、 软件、 用来进行修改的工具来实施, 也可以通过这3 种方式的...
Markdown
, but we'll find you. We're very experienced at this. Are you terrorized yet?\n", }, DOCKUI012TEXT = { sLine = "Greetings and salutations! We are looking for a place to crash for a while. Do you have good defenses aboard? We have journeyed for too long without proper rest. We no longer want to travel. We heard you...
Lua
on)); align-items: flex-end; left: unset; } .workspace-tabs~.workspace-tabs.mod-top-right-space .floating-toc-div.floating-both .heading-list-item { text-align: right; } .workspace-tabs~.workspace-tabs.mod-top-right-space .floating-toc-div.floating-both .heading-list-item .line-wrap { right: 0.5rem; } .work...
CSS
P85 = _common_types.SP85 SP86 = _common_types.SP86 SP87 = _common_types.SP87 SP88 = _common_types.SP88 SP89 = _common_types.SP89 SP90 = _common_types.SP90 SP91 = _common_types.SP91 SP92 = _common_types.SP92 SP93 = _common_types.SP93 SP94 = _common_...
Python
// Copyright 2022, DragonflyDB authors. All rights reserved. // See LICENSE for licensing terms. // #pragma once #include "server/journal/types.h" #include "util/fibers/detail/fiber_interface.h" #include "util/proactor_pool.h" namespace dfly { class Transaction; namespace journal { class Journal { public: usin...
C
array elements are in no particular order. * * <p>The returned array will be "safe" in that no references to it are * maintained by this queue. (In other words, this method must allocate * a new array). The caller is thus free to modify the returned array. * * <p>This method acts as bri...
Java
-- check if the target can bounce the specified level/projectile/school/sectype/resref/opcode(s) -- function GT_AI_HasBounceEffects(source, target, level, projectileType, school, sectype, resref, opcodes, flags) local sourceINT = source:getActiveStats().m_nINT -- local aux = EEex_GetUDAux(source) if not aux["gt_AI...
Lua
`回包大小超过上限`, Detail: `排查方法: [查看帮助](https://work.weixin.qq.com/api/doc/90000/90139/90313#10649/错误码:45029);回包大小超过上限。请确认:;1)/cgi-bin/user/list:由于通讯录组织架构庞大,建议按部门分别拉取,同时不要指定fetch_child=1。 //`, }, ErrCode45032.Code(): { Msg: `图文消息author参数长度超过限制`, Detail: `排查方法: 最长64个字节`, }, ErrCode45033.Code(): { Msg: `接口并发调用超...
Go
"Should not pop up\\\").)\";" } }; //Window title with just empty HTML tags. private static final String TITLE_EMPTY_TAGS = "</title><script></script>"; private static final String[] ARGS_EMPTY_TAGS = new String[]{ "-d", BUG_ID + "-5", "-windowtitle", TITLE_EMPTY_TAGS, "-sou...
Java
){left:100%;width:75px;margin-left:303px;padding-left:1px;padding-right:0}body.catalog table.catJ.cols8 tr>:nth-child(9){left:100%;width:0;font-size:9px;letter-spacing:-1px;margin-left:378px;display:none}body.catalog table.catJ.cols9{font-size:10px}body.catalog table.catJ.cols9 tr{border-right:285px solid transparent}b...
CSS
:fixed;width:267pt'> <col width=98 style='mso-width-source:userset;mso-width-alt:3584;width:74pt'> <col width=76 style='mso-width-source:userset;mso-width-alt:2779;width:57pt'> <col width=53 style='mso-width-source:userset;mso-width-alt:1938;width:40pt'> <col width=64 span=2 style='width:48pt'> <tr height=17 style...
HTML
y<wTreeOp *> ops; wTreeOp *op; if(Tree) { sFORALL(*Tree,op) if(op->Select) ops.AddTail(op); if(ops.GetCount()>0) sSetClipboardArray(ops,sSerId::wTreeOp); } } void WinTreeView::CmdPaste() { if(Page->IsProtected()) return; if(Tree) { sArray<wTreeOp *> ops; sArray<wStac...
C++
; font-family:Arial; layout-grid-mode:line;} p.MsoBodyTextIndent3, li.MsoBodyTextIndent3, div.MsoBodyTextIndent3 {margin-top:0cm; margin-right:0cm; margin-bottom:0cm; margin-left:36.0pt; margin-bottom:.0001pt; font-size:10.0pt; font-family:Helvetica; layout-grid-mode:line;} p.MsoBlockText, li.MsoBlockText, di...
HTML
</p> </div></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="as_weighted_fe_idp65845120.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../accumulators/reference.html#header.boost.accumulators.statistics.median_hpp"><img src="../../../../doc/src...
HTML
","Whether the editor has a type definition provider","Whether the editor has a hover provider","Whether the editor has a document highlight provider","Whether the editor has a document symbol provider","Whether the editor has a reference provider","Whether the editor has a rename provider","Whether the editor has a si...
JavaScript