content
stringlengths
2
6.21k
label
stringclasses
16 values
-- -- Copyright (C) 2024-present ScyllaDB -- -- SPDX-License-Identifier: LicenseRef-ScyllaDB-Source-Available-1.0 -- -- Dumps all keys from an sstable -- -- Only partition and cluster keys are dumped. -- Example output -- excerpt from a run on an sstable from system_schema.columns: -- -- [ -- { -- "key": { -- ...
Lua
ste. Cuando hayas reunido 100 termitas de las Tierras de la Peste, vuelve con Mickey Levine, que está en El Baluarte, en Claros de Tirisfal."}}, [5902] = {"Una Peste en la Cruzada", {"Ahora que tenemos las termitas, lleva esta barrica de acero reforzado al Aserradero Crestanorte, al sur de la Vega del Amparo. Lo encont...
Lua
n };\n },\n htmlBuilder: htmlBuilder$5,\n mathmlBuilder: mathmlBuilder$4\n});\nvar adjustStyle = (size, originalStyle)=>{\n // Figure out what style this fraction should be in based on the\n // function used\n var style = originalStyle;\n if (size === \"display\") {\n // Get display s...
JavaScript
correct on 26 May 2020, but I give no promises about maintaining this forever :-) cargo run /path/to/a/csv/file.csv >massaged_destination.csv The code autodetects whether it is a BOM or a PickAndPlace coordinate file. */ fn rot_adjust(rot: &str, delta: i32) -> String { let rot = rot.parse::<i32>().unwrap(); ...
Rust
->ReadSourceLocation()); C->setCommaLoc(Reader->ReadSourceLocation()); } void OMPClauseReader::VisitOMPDefaultmapClause(OMPDefaultmapClause *C) { C->setDefaultmapKind( static_cast<OpenMPDefaultmapClauseKind>(Reader->Record.readInt())); C->setDefaultmapModifier( static_cast<OpenMPDefaultmapClauseModi...
C++
!function(root, name, make) { if (typeof module != 'undefined' && module['exports']) module['exports'] = make(); else root[name] = make(); }(this, 'verge', function() { var xports = {} , win = typeof window != 'undefined' && window , doc = typeof document != 'undefined' && document , docElem = doc &...
JavaScript
, 23 - me.il), NISAN) // Last six days of Pesach )[map](function(d){ return d.abs(); })); __cache.il[y] = me.il; return (whole.indexOf(me.abs()) > -1 && WHOLE) || (half.indexOf(me.abs()) > -1 && HALF) || NONE; } return hallel; })(); // Events (function(events){ var refreshInterval, refresh, today = new...
JavaScript
font-size: 0.65rem;color: #fff;line-height: 1.1rem;text-align: initial;padding-top: 0.8rem;} .wordimg1{height: 4.83rem !important;width: 3.825rem!important;float: left;margin: 0.3rem 1rem 0 0.6rem} .body_content{height: 41.2rem} .page1{font-size: 0.7rem;color: #000;font-weight: bold} .icon_copy{font-size: 0.8rem;color:...
CSS
l: URL.Url, method: string): string; } export declare function HttpRouterProvider<RouterProvider>(rootdir: string, extension?: string): HttpRouter; import { ObjectId } from 'mongodb'; import connectToDatabase from '../../../lib/db'; const handler = async (req: any, res: any) => { const comment = req.body; let cl...
Typescript
8E9,U+238EC-238F0,U+238F2-23903,U+23908-23912,U+23917-2391A,U+2391C,U+2391F-23923,U+23928-2392A,U+2392C,U+2392F-23937,U+23939-2393C,U+2393F-23945,U+23947-23959,U+23960,U+23962-2396E,U+23970,U+23972-23974,U+23977 } /* im [325] */ @font-face { font-family: 'I.Ming'; font-style: normal; font-display: block; src: u...
CSS
of JIT stack mark show mark values replace=&#60;string&#62; specify a replacement string startchar show starting character when relevant substitute_callout use substitution callouts substitute_extended use PCRE2_SUBSTITU...
HTML
tion Exposure through Debug Log Files * Sinks: * GoodSink: log non-sensitive information to the debug log * BadSink : Expose the session ID to the debug log * Flow Variant: 09 Control flow: if(IO.STATIC_FINAL_TRUE) and if(IO.STATIC_FINAL_FALSE) * * */ package testcases.CWE534_Info_Exposure_Debug_Log; import tes...
Java
value: const PillSheetModifiedHistoryValue(), beforePillSheetGroup: null, afterPillSheetGroup: null, pillSheetID: null, pillSheetGroupID: null, beforePillSheetID: null, afterPillSheetID: null, before: null, after: null, ), ...
Dart
.get_node_id(), serverID: ServerID { host: self.options.vertx_host.clone(), port: self.event_bus_port as i32, }, }); } None => {} } } fn create_net_server(&mut self) -> &mut N...
Rust
r'\d').hasMatch(c) ? int.parse(c) : 0) * pow(s1, index).toInt(); }); String k = ""; while (acc > 0) { k = slice[acc % s2] + k; acc = (acc / s2).floor(); } return int.parse(k); } String _decrypt(String fullKey, String key, int v1, int v2) { String r = ""; int i = 0; while...
Dart
.reader())) } fn length(&self) -> u64 { self.file.size } } const ACCESS_KEY_ID: &str = "minioadmin"; const SECRET_ACCESS_KEY: &str = "minioadmin"; const PROVIDER_NAME: &str = "Static"; const MINIO_ENDPOINT: &str = "http://localhost:9000"; // Test that a SQL query can be executed on a Parquet file...
Rust
1400px){html .font-h2{font-size:42px}}html .font-h3{font-size:32px}@media screen and (min-width: 480px){html .font-h3{font-size:calc(32px + 6 * (100vw - 480px) / 920)}}@media screen and (min-width: 1400px){html .font-h3{font-size:38px}}html .font-h4{font-size:28px}@media screen and (min-width: 480px){html .font-h4{fon...
CSS
else: resp.entries = os.listdir(path) resp.status.result = Status.SUCCESS resp.status.error = Status.NO_ERROR return resp def write_records(self): pass def load_records(self): pass if __name__ == '__main__': rospy.init_node('librar...
Python
Inst( PPC_FRSP, R_TOP, 0, R_TOP ); InstImm( PPC_STFS, R_TOP, R_OPSTACK, 0 ); // save value to opstack rtopped = qfalse; break; case OP_CVFI: InstImm( PPC_LFS, R_TOP, R_OPSTACK, 0 ); // get value from opstack Inst( PPC_FCTIWZ, R_...
C++
CTION)?\b/i,"keyword"],[/BEGIN\s+TRY\b/i,{token:"keyword.try"}],[/END\s+TRY\b/i,{token:"keyword.try"}],[/BEGIN\s+CATCH\b/i,{token:"keyword.catch"}],[/END\s+CATCH\b/i,{token:"keyword.catch"}],[/(BEGIN|CASE)\b/i,{token:"keyword.block"}],[/END\b/i,{token:"keyword.block"}],[/WHEN\b/i,{token:"keyword.choice"}],[/THEN\b/i,{t...
JavaScript
注意力集中在哪里。", ["O"] = "与维林·疾风在远行者小屋交谈。", ["T"] = "远行者小屋", }, [80201] = { ["D"] = "满载难民的马车从北方抵达,而且肯定还有更多人正在路上。$B$B因为这里被用作矮人狩猎小屋,所以储藏室里装满了肉。不幸的是,大部分肉都在腌制过程中,小屋没有足够的柴火。一些难民已经开始砍柴作为木材供应。$B$B出去收集他们准备的一些木头捆。您会在小屋周围生长的树木附近找到它们,但请注意不要冒险进入山谷太远:洛克莫丹的生物对于像您这样的年轻人$c来说太危险了。", ["O"] = "在远行者小屋外收集8捆木头。", ["T"] = ...
Lua
RRSR_SHORT 0x800000 #define RRSR_1M BIT0 #define RRSR_2M BIT1 #define RRSR_5_5M BIT2 #define RRSR_11M BIT3 #define RRSR_6M BIT4 #define RRSR_9M BIT5 #define RRSR_12M BIT6 #define RRSR_18M BIT7 #define RRSR_24M BIT8 #define RRSR_36M BIT9 #define RRSR_48M BIT10 #define RRSR_54M ...
C
getPlayer(key) if (player == null || !player.isOnline) { val remove: PositionSongPlayer? = playerMap.remove(key) remove?.isPlaying = false continue } if (player.inventory.leggings == null ...
Kotlin
y < 0 { overflow = true; continue; } x = y; scale *= 10f64; i += 1; } (x, scale, &s[i..]) } #[cfg(test)] mod tests { use super::*; #[test] fn test_parse_duration() -> Result<(), Error> { assert_eq!(parse_duration("50ns")?, 50); ...
Rust
thread: .stabd 46,0,0 .stabn 68,0,11652,.LM534-.LFBB56 .LM534: .LFBB56: pushl %ebp / movl %esp, %ebp /, subl $8, %esp /, .stabn 68,0,11653,.LM535-.LFBB56 .LM535: movl 8(%ebp), %eax / r, tmp62 movl 44(%eax), %eax / <variable>.eax, D.2777 subl $4, %esp /, pushl %eax / D.2778 pushl $1 / pushl 8(%ebp) / r call...
Assembly
width: 3, // align: SunmiAlign.left), // SunmiCol( // text: (double.parse( // data.detailsMouvement[i].weights.toString()) - // double.parse(data.detailsMouvement[i].storageWeight // ...
Dart
r SafeCheckNPC ;Use this entrypoint to not disturb X bcc EB_NoNPC inx lda temp1 cmp #ACT_SCIENTIST3 beq EB_PreloadNPC1 ldy #C_HACKER skip2 EB_PreloadNPC1: ldy #C_SCIENTIST ;Also p...
Assembly
TILE_DIM as usize) { let tile_min_y = (tile_index_y * (TILE_DIM as usize)) as i32; let tile_max_y = tile_min_y + (TILE_DIM as usize) as i32 - 1; if bb_max_y < tile_min_y || bb_min_y > tile_max_y { contin...
Rust
createState() => _TabWidgetState(); } class _TabWidgetState extends State<TabWidget> { int _currentIndex = 0; List<Widget> list = List(); @override void initState() { list ..add(EpidemicMap()) ..add(RealTimeNews()) ..add(RideCheck()) ..add(Rumor()) ..add(gather()); super.i...
Dart
SY440_.jpg&quot;:[440,214],&quot;http://ecx.images-amazon.com/images/I/41VUsmBHc%2BL._AC_SY220_.jpg&quot;:[220,107],&quot;http://ecx.images-amazon.com/images/I/41VUsmBHc%2BL._AC_SY330_.jpg&quot;:[330,160]}"></a></span></li><li data-sghover="{&quot;asin&quot;:&quot;B002J9GDXI&quot;,&quot;type&quot;:&quot;slideout&quot;}...
HTML
""" Write a python function that takes in a tuple and an element and counts the occcurences of the element in the tuple. assert count_X((10, 8, 5, 2, 10, 15, 10, 8, 5, 8, 8, 2),4) == 0 """ def count_X(tup, x): return tup.count(x) assert count_X((10, 8, 5, 2, 10, 15, 10, 8, 5, 8, 8, 2),4) == 0 assert count_X((10, ...
Python
BooleanImpl <em>Unordered Group Boolean</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see org.eclipse.xtext.serializer.sequencertest.impl.UnorderedGroupBooleanImpl * @see org.eclipse.xtext.serializer.sequencertest.impl.SequencertestPackageImpl#getUnorderedGroupBoolean() * @generated ...
Java
foreach (Project project in Workspace.Default.Projects) { if (project.IsDirty){ try { string fileName = project.FileName; if (project.IsUntitled) { untitledCount++; ...
C#
= false; if (!is_verbose_format) { bool verbosify = false; for( unsigned int a = 0; a < pimpl->mPostProcessingSteps.size(); a++) { BaseProcess* const p = pimpl->mPostProcessingSteps[a]; if (p->IsActive(pp) && p->RequireVerboseFormat()) { verbosify = true; break; } ...
C++
== 5505 then -- Boss da areia if player:getPosition() == Position(33507, 32228, 10) and item:getId() == 8912 then local teleport = 0 for _y = 32228, 32232, 1 do local newpos = Position(33507, _y, 10) local nplayer = Tile(newpos):getTopCreature() if nplayer and nplayer:isPlayer() then teleport =...
Lua
* $sign; $dividend-unit: unit($dividend); $divisor-unit: unit($divisor); $unit-map: ( "px": 1px, "rem": 1rem, "em": 1em, "%": 1% ); @if ($dividend-unit != $divisor-unit and map-has-key($unit-map, $dividend-unit)) { $result: $result * map-get($unit-map, $dividend-unit); } @return $resul...
CSS
even [hide block types & fields](https://plugins.doublesecretagency.com/spoon/overrides/) from specific layouts (ie: Entry Types). ## Spoon doesn't touch your data! It simply provides a shinier UX for existing Matrix fields. If you ever choose to uninstall it, all of your data will remain intact. ## Managing Groups...
Markdown
nd) { Nd4jWorkspace workspace = (Nd4jWorkspace) Nd4j.getWorkspaceManager().getAndActivateWorkspace(basicConfig, "testAllocation5"); Nd4j.getMemoryManager().setCurrentWorkspace(workspace); assertNotEquals(null, Nd4j.getMemoryManager().getCurrentWorkspace()); assertEquals(0, workspace.g...
Java
cowx r5, r0, r4 li r5, 4*4 eciwx r6, r5, r4 #ifndef DMA blt cr6, 3f stw r6, _ata_data - 0x80000000 (r0) 1: li r5, 3*4 li r6, ((4 - 1) << 4) | 0b01 ecowx r6, r5, r4 li r5, 0 blt cr6, 2f lwz r4, _ata_buffer - 0x80000000 (r0) lwz r5, _ata_transferred - 0x80000000 (r0) lwz r6, _ata_data - 0x80000000 (r...
Assembly
.wernhardt@web.de /// </description> /// </item> /// <item> /// <description> /// Rebuilt from the ground up as a C# class that uses /// only regular expressions for string parsing. /// </description> /// </item> /// <item> /// <description> /// Supports all the rules as detailed here: ...
C#
using Xunit.Abstractions; namespace Terminal.Gui.LayoutTests; public class TopologicalSortTests (ITestOutputHelper output) { private readonly ITestOutputHelper _output = output; [Fact] public void TopologicalSort_Missing_Add () { var root = new View (); var sub1 = new View (); ...
C#
3673035117&amp;extragetparams=%7B%22on_public_ufi%22%3Atrue%2C%22hc_location%22%3A%22ufi%22%7D" href="https://www.facebook.com/mblivre/?rc=p" class="img _8o _8s UFIImageBlockImage" tabindex="-1" aria-hidden="true"><img alt="MBL - Movimento Brasil Livre" class="img UFIActorImage _54ru img" src="https://scontent.fpoa8-1....
HTML
:0;top:0;width:100%}.JsEnabled .streamv2 .js-stream-comment-hidden:nth-of-type(1n){opacity:0}.JsEnabled .streamv2 .animated{-webkit-animation-duration:1.5s;-webkit-animation-fill-mode:both;animation-duration:1.5s;animation-fill-mode:both}.JsEnabled .streamv2 .fadeOut{-webkit-animation-name:fadeOut;animation-name:fadeOu...
CSS
20, y, 0); glVertex3f(-20, y, 0); } glEnd(); // Drawing The Coordinate Plane Ends Here. // Draw All Masses In constantVelocity Simulation (Actually There Is Only One Mass In This Example Of Code) glColor3ub(255, 0, 0); // Draw In Red int a; for (a = 0; a < m_constantVeloc...
C++
) if err != nil { Skip("No webhook configurations found") } By("validating webhook manifests") cmd = exec.Command("kubectl", "apply", "--dry-run=client", "--validate=true", "-f", "config/webhook/") _, err = utils.Run(cmd) Expect(err).NotTo(HaveOccurred()) }) }) Context("Code Generation", fun...
Go
952eeae210|h=owyysazbolxi4fo5psyg7vjwggx77pcm|/) **Instant Website Optimization for Retina Displays How-to.pdf** (ed2k://|file|Instant%20Website%20Optimization%20for%20Retina%20Displays%20How-to.pdf|771475|dd6ddb33a1926758cc141edad27d23eb|h=kqsfi342i2kzbn64zmssxrt7zzmicsu7|/) **SciPy and NumPy_ An Overview for Develo...
Markdown
if ch.FsTypeNotSwap() { msg := utils.Locale.Get("Mapping %s partition to an encrypted partition", ch.Name) prg = progress.NewLoop(msg) log.Info(msg) if err = ch.MapEncrypted(model.CryptPass); err != nil { prg.Failure() return err } prg.Success() } } if ch.Type == storage.Block...
Go
for (let i = 0; i < keysB.length; i++) { if (!(keysA.indexOf(keysB[i]) > -1) || !is(objA[keysB[i]], objB[keysB[i]])) { return false } } return true }import {perfStart, perfEnd} from '../common/performance'; export namespace ObjectKeysMetric { export const name = 'object.keys({a,b,c,d,e})'; ...
Typescript
raw_pressure as i32, temperature: raw_temperature as i32, }; Ok(sample) } fn reset(&mut self, delay_source: &mut impl DelayMs<u8>) -> Result<(), E> { self.send(Command::RESET.address())?; delay_source.delay_ms(3); Ok(()) } fn read_coefficients(&mut...
Rust
�&#12290;<br> <br> 石扉客&#65306;<br> 节后第一天&#65292;按说媒体正规军该出动&#65292;比人肉资料更有杀伤力的炮弹该发射了&#12290;但目前除了新浪头条新闻&#65292;似乎没看到其他有分量的跟进&#12290;<br> 除了陈检罗这个词不能搜了外&#65292;似乎也没看到更严厉的舆情调控&#12290;唯有长沙方面保持着一如既往的静默&#12290;<br> 这是暴风雨即将到来之前的寂静&#65292;还是被信息海洋湮没前的余波&#65311;<br> <br> 丁丁猫&#65306;<br> 区伯嫖娼门设局者的资料照片被网友扒了个精光&#65292;陈警官那张脸在新浪微博已经红...
HTML
:</b><BR> * None * */ __STATIC_INLINE void XMC_FLASH_SetSectorProtection(uint32_t num_sectors) { NVM->NVMCONF &= (~(uint16_t)NVM_NVMCONF_SECPROT_Msk); NVM->NVMCONF |= (uint16_t)((uint16_t)num_sectors << NVM_NVMCONF_SECPROT_Pos); } /** * * @param level Hard read levels specified in \a XMC_FLASH_HARDREAD_LEVEL...
C
NewPic Set IconToPicture = NewPic End Function Public Function BitmapToPicture(ByVal hBmp As Long) As IPicture If (hBmp = 0) Then Exit Function Dim NewPic As Picture, tPicConv As PictDesc, IGuid As Guid ' Fill PictDesc structure with necessary parts: With tPicConv .cbSizeofStr...
HTML
read: () => read(db), get: (id: string) => get(db, id), download: (id: string, downloader: (id: string) => Promise<unknown>) => download(db, id, downloader), teardown: () => teardown(), db, } } export default createDb import { server } from '../app'; import { Server, Socket } from 'socket....
Typescript
FileInfo:{}"; public static final String SAME_COPY_CREATE_PATH_MESSAGE_FORMAT = "同存储平台复制文件失败,无法创建目标路径!platform:{},srcFileInfo:{},destFileInfo:{}"; public static final String SAME_COPY_TH_MESSAGE_FORMAT = "同存储平台复制文件失败,缩略图文件复制失败!platform:{},srcFileInfo:{},destFileInfo:{}"; public stati...
Java
"); // 0.0, 7.1 other = Offset(7, 1); ret = other.reflectRectSide(offset, rect); logMsg("4>$ret"); // 2.5, 10.0 }); test('reflectInRect vertical horizontal', () { Offset other = Offset(2, 5); Offset ret = offset.reflectRectSide(other, rect); logMsg("1>$ret"); // 0.0, 5.0 ...
Dart
SACTX_3(a1) ld.d $w4, MSACTX_4(a1) ld.d $w5, MSACTX_5(a1) ld.d $w6, MSACTX_6(a1) ld.d $w7, MSACTX_7(a1) ld.d $w8, MSACTX_8(a1) ld.d $w9, MSACTX_9(a1) ld.d $w10, MSACTX_10(a1) ld.d $w11, MSACTX_11(a1) ld.d $w12, MSACTX_12(a1) ld.d $w13, MSACTX_13(a1) ld.d $w14, MSACTX_14(a1) ld.d $w15, MSACTX_15(a1) l...
Assembly
TxnsPerCustomer*w.customers, ledgerTransactionColTypes, w.ledgerTransactionInitialRow, ), Splits: workload.Tuples( w.splits, w.ledgerTransactionSplitRow, ), } entry := workload.Table{ Name: `entry`, Schema: ledgerEntrySchema, InitialRows: workload.Tuples( numEntriesPerCustomer*w.customers...
Go
金融|传统银行与数字货币之间的主要区别是什么?| |历史学|在二战期间,美国对日本实施了什么样的经济封锁措施?| |政治学|世界上最大的民主国家是哪个?| |地球科学|什么是地震,它是如何发生的?| |计算机科学|什么是人工智能,它有哪些应用领域?| |文学|你认为《红楼梦》的故事情节和人物角色有哪些深刻的含义?| |医学研究|请问最近有哪些医学研究是关于心脏病的?| |社交媒体|能否列举一些当前最流行的社交媒体平台?| |科技公司|可以给我介绍几家最近备受关注的科技公司吗?| |电影推荐|你能给我推荐一部最近上映的好看的恐怖电影吗?| |旅游攻略|请问去日本旅游应该怎么安排时间和路线?| |财经新闻|最近有什么值得关注的财经新闻吗...
Markdown
BiIGQgYmIgZSBiYmJiIGYnKS5zcGxpdCgnYmInLCA1KSIsIlZhck5hbWUiOm51bGwsIlZhclR5cGUiOm51bGwsIlJ1bklmUXVlcnkiOmZhbHNlLCJWYWx1ZSI6bnVsbCwiSmF2YSI6InIuZXhwcihcImFhYWEgYmJiYiAgY2NjYyBiIGQgYmIgZSBiYmJiIGZcIikuc3BsaXQoXCJiYlwiLCA1TCkiLCJFeHBlY3RlZE9yaWdpbmFsIjoiWydhYWFhICcsICcnLCAnICBjY2NjIGIgZCAnLCAnIGUgJywgJycsICcgZiddIiwiRXhwZW...
C#
55.026,333.601 51.722 C 339.739 46.056,339.150 35.284,332.463 30.920 L 329.863 29.224 332.594 26.619 C 336.044 23.329,337.133 19.713,336.111 14.946 C 334.474 7.313,329.244 5.018,313.490 5.018 L 303.226 5.018 303.226 30.466 M348.387 30.466 L 348.387 55.914 364.559 55.914 L 380.732 55.914 380.509 53.226 L 380.287 50.538...
HTML
nsk "..GMArray["Profs"][5].." 300 300"); outSAY(".learn "..GMArray["ProfSpells"][6]); elseif (fxn=="tail")then outSAY(".learnsk "..GMArray["Profs"][6].." 300 300"); outSAY(".learn "..GMArray["ProfSpells"][7]); elseif (fxn=="herb")then outSAY(".learnsk "..GMArray["Profs"][7].." 30...
Lua
LineStatus::Added => self.added, LineStatus::Modified => self.modified, LineStatus::Error => self.error, LineStatus::ErrorDescription => self.error, } } } //! A simple abstraction around a single Ether Dream DAC. pub mod stream; pub use self::stream::Stream; use crate::...
Rust
(ELEM_TARGET); // skip5 encoder.closeElement(ELEM_TARGET); // close skip5 encoder.closeElement(ELEM_SYMBOL); // close skip4 encoder.closeElement(ELEM_OUTPUT); // close el3 encoder.closeElement(ELEM_INPUT); // close el2 encoder.openElement(ELEM_INPUT); // el2 encoder.closeElement(ELEM_INPUT); encoder...
Java
return vehicle_objects # transforms a vehicle data record as String into a {@link Vehicle} object # @param vehicle data record as String # @return {@link Vehicle} object def transform_to_vehicle_object(self, vehicle_as_string_array: str) -> Vehicle: # TODO transform the vehicle as string in...
Python
-- Send message(s) to a running instance of yabai. local function yabai(commands) for _, cmd in ipairs(commands) do os.execute("/opt/homebrew/bin/yabai -m " .. cmd) end end local function alt(key, commands) hs.hotkey.bind({ "alt" }, key, function() yabai(commands) end) end local function altCtrl(key, commands...
Lua
for out of tree lazy backends- ::Lazy key is now registered to TS backend in tree for (c10::DispatchKey key : {c10::DispatchKey::XLA}) { std::string expectMessage = expectedMessageForBackend(key); expectThrows<c10::Error>([&] { callOp(*op, dummyTensor(key)); }, expectMessage.c_str()); // also ...
C++
export interface SegmentData { segNum: number; data: Data; } export class SegmentDataEvent extends Event implements SegmentData { constructor(type: string, public readonly segNum: number, public readonly data: Data) { super(type); } } } /** * microplugin.js * Copyright (c) 2013 Brian Reav...
Typescript
} private void txtComboKill_Enter(object sender, EventArgs e) { lastEdit = txtComboKill; } private void txtComboClose_Enter(object sender, EventArgs e) { lastEdit = txtComboClose; } private void txtComboKill
C#
on 高级聚合 /// <summary>sumCase子句,计算等于某个值的数量</summary> /// <param name="field">字段</param> /// <param name="value">值</param> /// <param name="newName">聚合后as的新名称</param> /// <returns></returns> public static FormatExpression SumCase(this FieldItem field, Object value, String newName) => new(field, "s...
C#
223.227.748.055 1.174-.383.43-.439.596-.98.373-1.205-.218-.229-.744-.057-1.174.383m7.766-3.59c-.266-.273-.861-.1-1.334.383-.473.484-.639 1.098-.373 1.369.266.275.861.102 1.332-.381.473-.484.639-1.1.375-1.371m-.785 6.209c-.324.332-.439.756-.256.943s.594.068.918-.264c.324-.334.439-.756.258-.943-.186-.185-.596-.07-.92.264...
Dart
= Server.createTcpServer(*args.toTypedArray()) try { server?.start() server?.let { TestBase.logger.info("H2 Server status: {}", it.status) } } catch (e: SQLException) { e.printStackTrace() } } /** * Clean test environment * TODO: databas...
Kotlin
} } /** * 搜索值在堆中的索引 * 堆不是为快速搜索而建立的,但是 replace() 和 removeAtIndex() 操作需要找到节点在数组中的index,所以你需要先找到这个index。 * 时间复杂度:O(n) * @param value 需要搜索的堆 * @return @{interger} 堆中的索引 */ search (value: T): number { return this.heapContainer.indexOf(value); } /** * 不删除节点并返回最大值(最大堆)或者最小值(最小堆) * ...
Typescript
e,0x92722c85 .long 0xa2bfe8a1,0xa81a664b,0xc24b8b70,0xc76c51a3 .long 0xd192e819,0xd6990624,0xf40e3585,0x106aa070 .long 0x19a4c116,0x1e376c08,0x2748774c,0x34b0bcb5 .long 0x391c0cb3,0x4ed8aa4a,0x5b9cca4f,0x682e6ff3 .long 0x748f82ee,0x78a5636f,0x84c87814,0x8cc70208 .long 0x90befffa,0xa4506ceb,0xbef9a3f7,0xc67178f2 .long 0...
Assembly
林 干尼 操尼 我咧干 干勒 干我 干到 干啦 干爽 欠干 狗干 我干 来干 轮干 轮流干 干一干 援交 骑你 我操 轮奸 鸡奸 奸暴 再奸 我奸 奸你 奸你 奸他 奸她 奸一奸 淫水 淫湿 鸡歪 仆街 臭西 尻 遗精 烂逼 大血比 叼你妈 靠你妈 草你 干你 日你 插你 奸你 戳你 逼你老母 挨球 我日你 草拟妈 卖逼 狗操卖逼 奸淫 日死 奶子 阴茎 奶娘 他娘 她娘 骚B 你妈了妹 逼毛 插你妈 叼你 渣波波 嫩b weelaa 缔顺 帝顺 蒂顺 系统消息 午夜 看下 草泥马 法克鱿 雅蠛蝶 潜烈蟹 菊花蚕 尾申鲸 吉跋猫 搞栗棒 吟稻雁 达菲鸡 SM ML 3P 群P 马勒戈壁 双飞 周恩來 碡 籀 朱駿 朱狨基 朱容基...
Lua
chemas.microsoft.com/authoring/2003/5" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:msxsl="urn:schemas-microsoft-com:xslt"> <MSHelp:Attr Name="AssetID" Value="Overload:Tortuga.Chain.SqlServer.SqlServerAppenders.AsCountDistinctApproximate" /> <MSHelp:TOCTitle Title="AsCountDistinctApproximate Method " />...
HTML
ms) time_elapsed = time() - time_elapsed print('Simulation finished in ' + '%.2f' % time_elapsed + ' s') # In[19]: # Remove the context from the audio inputs and reshape to 1D arrays audio_nh = audio_input_nh[:,context_size:].flatten() audio_hl = audio_input_hl[:,context_size:].flatten() # Reshape the ICNet respons...
Python
<div class="details"> <div class="col"> <img src="./images/humidity.png" alt=""> <div> <p class="humidity">50%</p> <p>Humidity</p> </div> </div> <div clas...
HTML
}}" class="cadastro">Cadastro</a> </div> </body> </html><!DOCTYPE html> <html> <head> <!-- If you are serving your web app in a path other than the root, change the href value below to reflect the base path you are serving from. The path provided below has to start and end with a slash "/" in order f...
HTML
set_bool, eapol_sm_get_int, eapol_sm_set_int, eapol_sm_get_eapReqData, eapol_sm_set_config_blob, eapol_sm_get_config_blob, eapol_sm_notify_pending, eapol_sm_eap_param_needed }; /** * eapol_sm_init - Initialize EAPOL state machine * @ctx: Pointer to EAPOL context data; this needs to be an allocated buffer * ...
C
ion.</font></p> <p align="left"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Voici le tableau indiquant le sens du </font><font color="#FF9933" size="2"><b><font face="Arial, Helvetica, sans-serif">PREMIER CHIFFRE</font></b></font><font face="Verdana, Arial, Helvetica, sans-serif" size="2"> ...
HTML
0;<i>signature</i>, QObject&#160;<i>receiver</i>, SLOT()&#160;<i>slot</i>)</li><li><div class="fn" />object <b><a href="qdbusconnection.html#disconnect-6">disconnect</a></b> (<i>self</i>, QString&#160;<i>service</i>, QString&#160;<i>path</i>, QString&#160;<i>interface</i>, QString&#160;<i>name</i>, QStringList&#160;<i>...
HTML
etsFlutterBinding.ensureInitialized(); // Open the database and store the reference. // #docregion openDatabase final database = openDatabase( // Set the path to the database. Note: Using the `join` function from the // `path` package is best practice to ensure the path is correctly // constructed for...
Dart
qisi2 cmp r0, #0 bne .L3034 lsl r0, r5, #1 ldrh r0, [r8, r0] cmp r0, r1 bne .L3034 sub r3, r3, #1 ldrh r0, [r4] strh r3, [r4, #4] @ movhi bl decrement_vpc_count .L3032: ldrb r3, [r4, #6] @ zero_extendqisi2 ldrh r2, [r6, #-4] add r3, r3, #1 uxtb r3, r3 cmp r2, r3 strb r3, [r4, #6] ldrheq r3, [r4, #2] a...
Assembly
?p=ROMA">ROMA</a>.</li><li>Cтрока № 8079 из 10522. Ищем для <a target="_blank" rel="noopener noreferrer" href="https://finance.yahoo.com/quote/ROMO/analysis?p=ROMO">ROMO</a>.</li><li>Cтрока № 8080 из 10522. Ищем для <a target="_blank" rel="noopener noreferrer" href="https://finance.yahoo.com/quote/ROOF/analysis?p=ROOF"...
HTML
sni: '${proxy.sni}'`; } if (proxy.obfs) { config += ` obfs: '${proxy.obfs}'`; if (proxy["obfs-password"]) { config += ` obfs-password: '${proxy["obfs-password"]}'`; } } config += ` skip-cert-verify: ${proxy["skip-cert-verify"] || false} tfo: ${proxy.tfo || false}`; if (proxy.fin...
JavaScript
emu.grasscutter.net.proto.ClientReconnectNotifyOuterClass.ClientReconnectNotify.class, emu.grasscutter.net.proto.ClientReconnectNotifyOuterClass.ClientReconnectNotify.Builder.class); } public static final int REASON_FIELD_NUMBER = 10; private int reason_; /** * <code>.ClientReconnectRea...
Java
"as_nanoseconds": 60708, "as_microseconds": 60, "as_iso": "PT0.00006S", "as_text": "60 microseconds" } } ``` </details> ### Fixture setup and teardown Pytest fixtures can be simple functions, or context managers that can clean up resources after a test has finished. `pytest-scrutinize` records both...
Markdown
ctDictLabel(dictType, dictValue); } /** * 根据字典数据ID查询信息 * * @param id 字典数据ID * @return 字典数据 */ @Override public SysDictDataBO selectDictDataById(Long id) { return BeanMapper.convert(dictDataMapper.selectDictDataById(id), SysDictDataBO.class); } /** * 批量删除字典...
Java
} pub struct JsonArray(Vec<JsonValue>); pub struct JsonObject(BTreeMap<String, JsonValue>); impl JsonValue { #[allow(dead_code)] pub fn string(&self, key: &str) -> Result<String, JsonError> { match self { JsonValue::Object(o) => match o.get(key).ok_or(JsonError::MissingValue)? { ...
Rust
left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:.65625rem;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:.9375rem}.blockquote>:last-child{margin-bottom:0}.blockquote-footer{margin-top:-1rem;margin-bottom:1rem;fo...
CSS
: Types.SEVEN, suit: Suits.DENARI }, { type: Types.SIX, suit: Suits.BASTONI }, { type: Types.TWO, suit: Suits.COPPE }, ]; it(`there are 8 possible combinations of cards`, () => { const scoponeServer = new ScoponeServerService(); const possibleCombinations = scoponeServer.combinationsOfC...
Typescript
d> <td>To be tested</td> </tr> <tr> <td>RegisterImage</td> <td>该接口用于将镜像文件注册为云平台未初始化的私有镜像。</td> <td>To be tested</td> </tr> </tbody> </table> </body> </html> # KooPhone ...
Markdown
&P2NS::P2::fp2_3 1 | &P2NS::P2::fp2_4 2 | &P2NS::P2::fp2_4 3 | &P2NS::P2::fp2_5 4 | &P2NS::P2::fp2_6 5 | &P2NS::P2::fp2_6 6 | &P2NS::P2::fp2_7 7 | &P2NS::P2::fp2_8 8 | &P2NS::P2::fp2_8 9 | &P2NS::P2::fp2_9 10 | &P2NS::P2::fp2_10 11 | &P2NS::P2::fp2_10 Q1NS::Q1::fq1_3 this adjustor: 0 Q1NS::Q1::f...
Java
7532&#"#7532#!"&5463!2L5+*5L5+*5~}7W|3B}}JC7=}w@wwwDZQ[1 N:_)i $)@www ) 6.#&#"'&547>'&#".'&'#"&5467%&4>7>3263232654.547'654'63277.'.*#">7?67>?>32#"'7'>3'>3235...
HTML
authtypes.NewModuleAddress(govtypes.ModuleName).String(), ) invCheckPeriod := cast.ToUint(appOpts.Get(server.FlagInvCheckPeriod)) app.CrisisKeeper = crisiskeeper.NewKeeper(appCodec, runtime.NewKVStoreService(keys[crisistypes.StoreKey]), invCheckPeriod, app.BankKeeper, authtypes.FeeCollectorName, authtypes.NewMod...
Go
인이름>>>C<<</내국인이름>>>의 얼굴을 수회 때리고, 무릎으로 오른쪽 옆구리를 1회 가격하였으며, 계속하여 출동한 근무자들이 폭행 사실을 확인하는 추궁하던 중, 옆에 있던 피해자 <<<내국인이름>>>D<<</내국인이름>>>(남, 25세)이 "아, 때린 거 맞잖아요. 사람 때려놓고 왜 그래요"라고 말하자, 이에 격분하여 주먹으로 피해자 <<<내국인이름>>>D<<</내국인이름>>>의 얼굴을 수회 때려 폭행하였다. # Weather API Wrapper Service ## Overview This project is a weather API wrapper that ...
Markdown
"add x20, %x[qp], %[minval]\n" "cmp x11, #0x10\n" "sqdmulh v12.4s, v12.4s, v4.4s\n" "ld1r { v4.4s }, [x22]\n" "sqdmulh v13.4s, v13.4s, v5.4s\n" "ld1r { v5.4s }, [x20]\n" "sqdmulh v14.4s, v14.4s, v6.4s\n" "ld1r { v6.4s }, [x21]\n" "sqdmulh v15.4s, v15.4s, v7.4s\n" ...
C++
_I sth %r21, [%r3 + 0x02fe] .word 0xec29400e ! 250: STB_R stb %r22, [%r5 + %r14] .word 0xab396001 ! 251: SRA_I sra %r5, 0x0001, %r21 .word 0xf0416c54 ! 251: LDSW_I ldsw [%r5 + 0x0c54], %r24 .word 0xfaf2100e ! 252: STXA_R stxa %r29, [%r8 + %r14] 0x80 .word 0xf670e710 ! 254: STX_I stx %r27, [%r3 + 0x0710] thr1...
Assembly
using System.Collections; using TMPro; using UnityEngine; namespace NueGames.NueDeck.Scripts.Utils { public class FloatingText : MonoBehaviour { [SerializeField] private float duration = 1; [SerializeField] private AnimationCurve scaleCurve; [SerializeField] private AnimationCurve yFor...
C#
t.ex.y = A.ex.y * B.ex.x + A.ey.y * B.ex.y out.ey.x = A.ex.x * B.ey.x + A.ey.x * B.ey.y out.ey.y = A.ex.y * B.ey.x + A.ey.y * B.ey.y } fun mulTrans(R: Mat22, v: Vec2): Vec2 = Vec2(v.x * R.ex.x + v.y * R.ex.y, v.x * R.ey.x + v.y * R.ey.y) fun mulTransToOut(R: Mat22, v: Vec2, out: Vec2) { ...
Kotlin