content
stringlengths
2
6.21k
label
stringclasses
16 values
(https://sites.google.com/view/CATSLU/home) ## NLPCC2018 Shared Task 4 中文呢真实商用车载语音任务型对话系统的对话日志. | 名称 | 规模 | 创建日期 | 作者 | 单位 | 论文 | 下载 | 评测 ...
Markdown
rec_regspill32.opcodes(&MOV_STORE)); e.enc_r32_r64_rex_only(spill, rec_spillSib32.opcodes(&MOV_STORE)); e.enc_r32_r64_rex_only(regspill, rec_regspill32.opcodes(&MOV_STORE)); // Use a 32-bit write for spilling `b1`, `i8` and `i16` to avoid // constraining the permitted registers. // See MIN_SPILL_S...
Rust
l #8 add r1, r1, r1, lsl #16 str r1, [r0, #0*FDEC_STRIDE] add r2, r2, r2, lsl #16 str r2, [r0, #1*FDEC_STRIDE] add r3, r3, r3, lsl #16 str r3, [r0, #2*FDEC_STRIDE] add ip, ip, ip, lsl #16 str ip, [r0, #3*FDEC_STRIDE] bx lr .endfunc function x264_...
Assembly
Window, pub subtype: c_int, pub provider: RRProvider, pub property: Atom, pub timestamp: Time, pub state: c_int, } #[derive(Debug, Clone, Copy, PartialEq)] #[repr(C)] pub struct XRRResourceChangeNotifyEvent { pub type_: c_int, pub serial: c_ulong, pub send_event: Bool, pub display:...
Rust
label:hover{ color: rgba(0, 0, 0, 0.8); } micro-app[name=test-app9] .ui.checkbox input:focus ~ label{ color: rgba(0, 0, 0, 0.8); } /*--- Outside Label ---*/ micro-app[name=test-app9] .ui.checkbox ~ label{ cursor: pointer; opacity: 0.85; vertical-align: middle; } micro-app[name=test-app9] .ui.checkbox ~ labe...
CSS
民”最后的愿望:“我希望这一切——”,后面是考伯特写下的:“我也希望。” ## 战斗表现 根据提供的文本,没有关于考伯特在战斗中表现或拥有战斗力的描述。 ## 相关活动 - **[惊霆无声](../stories/main_12.md)**:考伯特作为诺伯特区日落街酒店的经理登场,经历了地区的封锁和混乱,与罗德岛、戴菲恩、“灰礼帽”、深池部队等多方势力在酒店内周旋,最终选择点燃酒店并平静地在废墟中离世。 ## trivia 他虽然是萨卡兹,却在伦蒂尼姆生活了一辈子,并自认是维多利亚人,甚至希望别人也把他看作维多利亚人。 他对日落街酒店充满感情,曾是门童,并亲手维护酒店。 萨卡兹雇佣兵“明椒”曾给他送过物资,他因此视她为“好心的萨...
Markdown
, } }); this.store.dispatch({ type: PLAYER_ACTION_TYPES.PLAYER_PLAY_SONG, payload: { song: song, } }); } /** * Add a list of songs to the player. * * @param songs * the song array. */ createPlayListOfListOfSongs(songs: Song[]) { this.songList = song...
Typescript
""" DataTables sqlite tests. """ from lute.db import db from lute.utils.formutils import language_choices, valid_current_language_id from lute.models.repositories import UserSettingRepository # pylint: disable=unused-argument def test_language_choices(app_context, spanish, english): "Gets all languages." ch...
Python
sIdckDfxH2K4tu9CvPJgSf7XhGHJwVyQ/640?wx_fmt=gif "")   觉得不错,就点个 “ 在看 ” 或 " 赞 ” 吧~ # 【知道创宇404实验室】警惕 Unix 系列 CUPS 多个安全漏洞最终可导致远程代码执行 404实验室 知道创宇404实验室 2024-09-27 13:44 CUPS(Common UNIX Printing System)是一个开源的打印架构,广泛用于类 UNIX 操作系统,CUPS 采用互联网打印协议(IPP,Internet Printing Protocol)作为其核心协议,这使得它能够在网络环...
Markdown
Key, IModelGroup, IAssConfig, TModels } from './types' const { USER, PASSWORD, PORT, DB, HOST } = config.MYSQL_CONFIG class ClassSequelize { constructor() { this.sequelizeManager = new Sequelize(DB, USER, PASSWORD, this.MYSQL_OPTION) } // group models private models: IModelGroup = {} // sequelize mana...
Typescript
https://github.com/quarkslab/quarkspwdump 1. 在线提取 ``` QuarkPwDump.exe --dump-hash-domain --with-history --ntds-file c:\ntds.dit ``` 2. 离线提取 需要两个文件 ntds.dit 和 system.hiv 其中system.hiv可通过`reg save hklm\system system.hiv` 获取 ``` QuarkPwDump.exe --dump-hash-domain --with-history --ntds-file c:\ntds.dit --system-f...
Markdown
haracter::{Character, CharacterTransaction, Cursor}; use crate::linking::BlockProvider; use crate::math::GridPoint; use crate::space::{SetCubeError, SpaceTransaction}; use crate::transactions::{ PreconditionFailed, Transaction, TransactionConflict, UniverseTransaction, }; use crate::universe::{RefError, URef}; use ...
Rust
} } private fun syncClipboard() { MainActivity.rdClipboardManager?.syncClipboard(false) } private fun stopMainService() { MainActivity.flutterMethodChannel?.invokeMethod("stop_service", null) } enum class KeepScreenOn { NEVER, DURING_CONTROLLED, SERVICE...
Kotlin
S ? OTX_CPT_SE : OTX_CPT_AE, cptvf->vftype, 1, cptvf->num_vfs); if (err) { dev_err(dev, "Failed to register crypto algs\n"); goto free_irq_affinity; } err = sysfs_create_group(&dev->kobj, &otx_cptvf_sysfs_group); if (err) { dev_err(dev, "Creating sysfs entries failed\n"); goto crypto_exit; } retur...
C
long with this program. If not, see <https://www.gnu.org/licenses/>. */ part of '../model.dart'; /// Represents an issue with a list of scans. /// /// The error is considered resolved when the list of files containing the scans changes. /// /// https://core.telegram.org/bots/api#passportelementerrorfiles @JsonSeria...
Dart
ArrayOf(1, 2, 3, 5), intArrayOf(8, 9, 10, 1)))//6 println(btnc.bestTeamScore(randomIntArray(10, 1, 1_000_000), randomIntArray(10, 1, 1000))) val start = System.currentTimeMillis() println(btnc.bestTeamScore(randomIntArray(1000, 1, 1_000_000), randomIntArray(1000, 1, 1000))) println("time: ${System.curre...
Kotlin
daysPerTurn: null, startedAtTurn: null, rules: ISet(const [GameRule.noClaimWin]), opening: null, ), ); expect( game.correspondenceForecast, IList([ IList([ SanMove('e4', NormalMove.fromUci('e2e4')), SanMove('e5', NormalMove.fromUci('e7e5')...
Dart
case 0: break; case 1: result = tabCompleteUsers(args[0]); break; default: result = getPermissionNodes(args[args.length - 1]); break; } return result; } } /* * GroupManager - A plug-in for Spigot/Bukkit based Minecraft servers. * Copyright (C) 2020 ElgarL * * This program is free s...
Java
// // Generated by class-dump 3.5b1 (64 bit) (Debug version compiled Dec 3 2019 19:59:57). // // Copyright (C) 1997-2019 Steve Nygard. // #import <objc/NSObject.h> @class NSBackgroundActivityScheduler; @interface MFEMLXUpgrader : NSObject { NSBackgroundActivityScheduler *_mimeSnipActivityScheduler; // 8 = ...
C
} } abstract fun onSystemVolumeChanged(); }/* * Copyright (C) 2025 bytedance * * 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/LICENS...
Kotlin
036AF58 00366498 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8036AF5C 0036649C 83 C1 00 08 */ lwz r30, 8(r1) /* 8036AF60 003664A0 80 01 00 14 */ lwz r0, 0x14(r1) /* 8036AF64 003664A4 7C 08 03 A6 */ mtlr r0 /* 8036AF68 003664A8 38 21 00 10 */ addi r1, r1, 0x10 /* 8036AF6C 003664AC 4E 80 00 20 */ blr /* 8036AF70 003664B0 ...
Assembly
else { rdvo = get4(); fseek (ifp, 12, SEEK_CUR); is_raw = get4(); fseeko (ifp, rdvo+8 + shot_select*4, SEEK_SET); data_offset = get4(); } } void CLASS adobe_coeff (const char *p_make, const char *p_model) { static const struct { const char *prefix; short t_black, t_maximum, trans[12]; ...
C++
); /* override <button> styles */ color: inherit; background: inherit; border: none; margin: 0; padding: 0; } .freqscale-band { position: absolute; bottom: 1.15em; text-align: center; background: var(--shinysdr-theme-spectrum-label-bgcolor); background: var(--shinysdr-theme-spectrum-label...
CSS
y:none; position:relative; top:-1px; margin-right:5px; width:11px; height:11px; background:url(../../images/icon_info.png) no-repeat; background-position:-16px 0; vertical-align:middle;} .ddp-ui-input-form .ddp-input-check {position:relative; padding-right:20px; border-bottom:1px solid #ddd;} .ddp-ui-input-form .ddp-in...
CSS
; return this.storage.set(this.WEIGHT_RECORDS_KEY, newWeightRecords); }) } } export const pick = <T, K extends keyof T>(obj: T, whitelist: K[]): Pick<T, K> => { const result = {} as Pick<T, K>; whitelist.forEach((key) => { result[key] = obj[key]; }); return result; }; //interface for...
Typescript
)| v.iter().map(move |&j| (i, j))) .collect::<HashSet<_>>(); accum::for_each(&path, |&u, &v| assert!(edges.contains(&(u, v)))); } } fn brute_tree_diameter(g: &[Vec<usize>]) -> ([usize; 2], u32) { let n = g.len(); let mut dist = vec![vec![std::u32::MAX; n]; n]...
Rust
DomainStart = domainValue; domainExtended = true; } if (domainValue > _dataDomainEnd) { _dataDomainEnd = domainValue; domainExtended = true; } return domainExtended; } /// Returns the extent based on the current domain range and overrides. NumericExtents get extent { num tmp...
Dart
v", rows(1, (byte) 1)); instance().getSql().execute("DROP VIEW hazelcast.public.v"); assertThat(viewStorage.containsKey("v")).isFalse(); } @Test public void test_failOnIncorrectSchema() { final IMap<String, Object> viewStorage = instance().getMap("__sql.catalog"); assertTh...
Java
indən asılı olmayaraq, müsbət ədəd qeyd olunmalıdır.","invalidCssLength":"\"%1\" xanasında göstərilən məzmun tam və müsbət olmalıdır, CSS-də olan ölçü vahidlərin (px, %, in, cm, mm, em, ex, pt, or pc) istifadısinə icazə verilir.","invalidHtmlLength":"\"%1\" xanasında göstərilən məzmun tam və müsbət olmalıdır HTML-də ol...
JavaScript
"UseBehindBuildingMarker", INI::parseBool, NULL, offsetof( GlobalData, m_enableBehindBuildingMarkers ) }, { "WaterPositionX", INI::parseReal, NULL, offsetof( GlobalData, m_waterPositionX ) }, { "WaterPositionY", INI::parseReal, NULL, offsetof( GlobalData, m_waterPositionY ) }, { "WaterPo...
C++
, emptyTable) _, err := ch1.Consume("testQu_Ex1", "tag_ex1", false, true, false, false, emptyTable) if err != nil { t.Error(err) } _, err = ch1.Consume("testQu_Ex1", "tag1", false, false, false, false, emptyTable) if err == nil { t.Error("Expected ACCESS_REFUSED error") } _, err = ch2.Consume("testQu_Ex2"...
Go
title: Card( color: Colors.blue.shade800, child: Padding( padding: const EdgeInsets.all(6.0), child: Text( disasterData[languageCode]![widget.selectedIndex] ['di...
Dart
include "map_builder.lua" include "trajectory_builder.lua" -- Cartographer_ros configuration reference: -- https://google-cartographer-ros.readthedocs.io/en/latest/configuration.html options = { map_builder = MAP_BUILDER, trajectory_builder = TRAJECTORY_BUILDER, map_frame = "map", tracking_frame = "base_link"...
Lua
xp->_nodes[i].right, (SQInt32)exp->_nodes[i].next); } printf(_SC("\n")); } #endif exp->_matches = (SQRexMatch *) sq_malloc(alloc_ctx, exp->_nsubexpr * sizeof(SQRexMatch)); memset(exp->_matches,0,exp->_nsubexpr * sizeof(SQRexMatch)); } else{ sqstd_rex_free(...
C++
// Copyright (c) DGP Studio. All rights reserved. // Licensed under the MIT license. using Snap.Hutao.Win32.Foundation; using Snap.Hutao.Win32.UI.Input.KeyboardAndMouse; using System.Runtime.InteropServices; using WinRT; using WinRT.Interop; namespace Snap.Hutao.Win32; internal sealed unsafe class HutaoNativeHotKeyA...
C#
аверна \"Сломаный Киль\"", [143979] = "Дверь клетки", [143980] = "Свиток Гордунни", [143981] = "Почтовый ящик", [143982] = "Почтовый ящик", [143983] = "Почтовый ящик", [143984] = "Почтовый ящик", [143985] = "Почтовый ящик", [143986] = "Почтовый ящик", [143987] = "Почтовый ящик", [143988] = "Почтовый...
Lua
#endif rc.bottom = height; int width = maxItemCharacters; if (width < 12) width = 12; rc.right = width * (aveCharWidth + aveCharWidth / 3); // Add horizontal padding and borders int horizontal_separator=0; gtk_widget_style_get(PWidget(list), "horizontal-separator", &horizontal_separator, NULL); ...
C++
) { output = stdout.toString(); } } } catch (_) {} sendPort.send([token, output]); } else { bool success = false; try { final res = Process.runSync( ffmpegExePath, [ "-hide_banner", "-...
Dart
// SPDX-FileCopyrightText: © 2025 Tenstorrent AI ULC // // SPDX-License-Identifier: Apache-2.0 #pragma once #include "compute_kernel_api/common_globals.h" #ifdef TRISC_MATH #include "llk_math_eltwise_binary_sfpu_sub_int.h" #include "llk_math_eltwise_binary_sfpu_rsub_int32.h" #endif namespace ckernel { // clang-form...
C
o Guardião, para conseguir a Chave da Algema para suas amarras. Volte para o Ancião Torn\'tusk quando tiver recuperado a chave.", ["T"] = "Recupere a chave!", }, [7847] = { ["D"] = "Volte para meu companheiro, Primal Torntusk, na Vila Revantusk. Diga a ela que estou voltando para casa! Ela com certeza irá r...
Lua
/* * Copyright (C) 2021 mod.io Pty Ltd. <https://mod.io> * * This file is part of the mod.io SDK. * * Distributed under the MIT License. (See accompanying file LICENSE or * view online at <https://github.com/modio/modio-sdk/blob/main/LICENSE>) * */ #pragma once #include "modio/core/ModioCoreTypes.h" #incl...
C
sw s0,8(sp) #, sw s1,4(sp) #, sw ra,12(sp) #, # kianv_stdlib.h:77: void print_str(char *p) { mv s0,a0 # p, tmp84 # kianv_stdlib.h:79: while ((*((volatile uint8_t *)UART_LSR) & 0x60) == 0) li s1,268435456 # tmp83, .L29: # kianv_stdlib.h:78: while (*p != 0) { lbu a0,0(s0) # _3, MEM[(char *)p_4] # kianv_stdlib...
Assembly
2c2c55 ! 12977: STB_I stb %r14, [%r16 + 0x0c55] .word 0xd6742798 ! 12978: STX_I stx %r11, [%r16 + 0x0798] .word 0xda740011 ! 12979: STX_R stx %r13, [%r16 + %r17] !dcerr br thr0_dc_err_526: !$EV error(0,expr(@VA(.MAIN.thr0_dc_err_526), 16, 16),1,DC_TAG,62) .word 0xda040000 ! 12981: LDUW_R lduw [%r16 + %r0], %r13 ...
Assembly
"NF": "Isla Norfolk", "KP": "Corea del Norte", "MP": "Islas Marianas del Norte", "NO": "Noruega", "OM": "Omán", "PK": "Pakistán", "PW": "Palau", "PS": "Territorios palestinos", "PA": "Panamá", "PG": "Papúa Nueva Guinea", "PY": "Paraguay", "PE": "Perú", "PH": "Filipinas", "PL": "Polonia", ...
Dart
from hashlib import sha256 from .signature import Signature from .math import Math from .utils.integer import RandomInteger from .utils.binary import numberFromByteString from .utils.compatibility import * class Ecdsa: @classmethod def sign(cls, message, privateKey, hashfunc=sha256): byteMessage = ha...
Python
#pragma once #include <debug.h> #include <memory.h> #include <spinlock.h> #include <system.h> struct arena { void *start; struct spinlock lock; }; struct arena_node { size_t used; size_t len; void *next; }; static inline void arena_create(struct arena *arena) { arena->lock = SPINLOCK_INIT; arena->start = (vo...
C
unused"), ) if err := fakeClient.Status().Update(ctx, reconcilerObj, client.FieldOwner(syncerFake.FieldManager)); err != nil { return err } // Simulation complete - stop watching return nil } // shouldn't happen - keep watching - wait for timeout return fmt.Errorf("startup complete - ...
Go
14: GPIOA */ .long GPIOB_IRQHandler /* 15: GPIOB */ .long UART0_IRQHandler /* 16: UART0 */ .long UART1_IRQHandler /* 17: UART1 */ .long TOUCH_IRQHandler /* 18: TOUCH SENSOR */ .long UART2_5_IRQHandler /* 19: UART2_5 ...
Assembly
/* blas/source_tbmv_r.h * * Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at * your opti...
C
break x = torch.tensor(batched_graphs['x'], dtype=torch.float).to(device) edge_index = torch.tensor(batched_graphs['edge_index'], dtype=torch.long).to(device) batch_idx = torch.tensor(batched_graphs['batch'], dtype=torch.long).to(device) data...
Python
*/ constructor(capacity?: number | undefined); /** * The buffer's capacity. * @type {number} * @private */ private capacity_; /** * The array to store the records. * @type {!Array<!log_LogRecord|undefined>} * @private */ private buffer_; /** * The in...
Typescript
channel, scheduler); Ptr<WimaxNetDevice> dev = wimax.Install (bsNodes.Get (0), WimaxHelper::DEVICE_TYPE_BASE_STATION, WimaxHelper::SIMPLE_PHY_TYPE_OFDM, ...
C++
Request.variant_rollup_keys][google.cloud.retail.v2alpha.SearchRequest.variant_rollup_keys]. * The values are the merged and de-duplicated * [Product][google.cloud.retail.v2alpha.Product] attributes. Notice that * the rollup values are respect filter. For example, when filtering by * "colorF...
Java
n []byte decoder Decoder } func (p *StreamPlayer) initialize(engine *Engine) { p.engine = engine p.status = Stopped p.feed = make(chan []byte, 128) } func (p *StreamPlayer) Play(stream *StreamData) { p.decoder = stream.decoder p.fill() go func() { for { written := 0 buf := <-p.feed for len(buf) > ...
Go
// https://spec.draculatheme.com $background: #282a36; $currentLine: #44475a; $foreground: #f8f8f2; $comment: #6272a4; $cyan: #8be9fd; $green: #50fa7b; $orange: #ffb86c; $pink: #ff79c6; $purple: #bd93f9; $red: #ff5555; $yellow: #f1fa8c; // Dracula UI color palette // https:...
CSS
f7f7f7);text-transform:uppercase;font-size:13px}.basicLayout[lang^=tr] .lang-selection-container .ui-select{text-transform:none}.cta-fb-gdp{background:#3b5998;color:#fff;cursor:pointer}.cta-fb-gdp.disabled{background-color:#4c70ba;background-image:none;opacity:1;cursor:default}.cta-fb-gdp.disabled:hover{background-colo...
CSS
// Questo Widget si occupa di fornire il // componente di UI per modificare lo stato. // Nota come non effettua la modifica dello stato in sé, // ma riceve una VoidCallback (una funzione anonima che non restituisce // alcunché) che si occuperà di modificare lo stato. // Questa funzione è parte di uno Stateful...
Dart
// // libtgvoip is free and unencumbered public domain software. // For more information, see http://unlicense.org or the UNLICENSE file // you should have received with this source code distribution. // #ifndef LIBTGVOIP_AUDIOOUTPUTOPENSLES_H #define LIBTGVOIP_AUDIOOUTPUTOPENSLES_H #include <SLES/OpenSLES.h> #includ...
C
2 .btn-group>.inline>.btn.active{color:#FFF!important;background:#6AAEDF!important}.wysiwyg-style2 .btn-group:after{display:none}.wysiwyg-toolbar .btn-colorpicker{width:24px;height:24px;position:relative;background:#87B87F;background:-moz-linear-gradient(top,#cf3e73 10%,#fff 20%,#2283c5 30%,#fff 40%,#87b87f 50%,#fff 60...
CSS
{ Fim, FimImage, FimShader } from '@leosingleton/fim'; /** Create/dispose tests for FIM */ export function fimTestSuiteCreateDispose( description: string, factory: () => Fim ): void { describe(`FIM Create/Dispose - ${description}`, () => { it('Creates and disposes', () => { const fim = factory(); ...
Typescript
BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_28 = V_2; NullCheck(L_28); V_1 = (uint8_t*)(((uintptr_t)((L_28)->GetAddressAt(static_cast<il2cpp_array_size_t>(0))))); } IL_00c0: { CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* L_29 = ___chars3; CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* L...
C++
lationToken = token; options.MaxDegreeOfParallelism = _maxDegreeOfReferenceRemovalParallelism; Parallel.ForEach(modules, options, module => RemoveReferencesTo(module, token)); } protected override void RemoveReferencesByFromTargetModules(IReadOnlyCollection<QualifiedModuleName>...
C#
iableViewer_getNamespace {}; class variableViewer_messageConfirm {}; class variableViewer_onFilterChanged {}; class variableViewer_onLNBSelChanged {}; class variableViewer_onLoad {}; class variableViewer_setOrCreate {}; }; class ZeusAddons ...
C++
based on the TOC's // entry with the given uid. func NewTOCSelectEvent(uid string) *Event { cUID := C.CString(uid) defer C.free(unsafe.Pointer(cUID)) return FromGstEventUnsafeFull(unsafe.Pointer(C.gst_event_new_toc_select( (*C.gchar)(unsafe.Pointer(cUID)), ))) } // NewCustomEvent creates a new custom-typed even...
Go
zoom_factor, "pan_x": self.pan_x, "pan_y": self.pan_y, "has_image": self.original_image is not None, "scroll_sensitivity": self.scroll_sensitivity, "smooth_scroll_enabled": self.smooth_scroll_enabled } def set_scroll_sensitivity(self, sensitivity:...
Python
boolean = (message.channel as TextChannel).guild?.ownerID === message.author.id; console.log(`command:${command} ${isOwner}`); if (command === 'enter') { if (this.gatheringEntrees) { if (this.entrees.some(e => e.Id === message.author.id)) { message.author.send('You have already entered...
Typescript
sFg); auto y = st::calendarTitleHeight + _st.padding.top(); auto x = _st.padding.left(); if (!myrtlrect(x, y, _st.cellSize.width() * kDaysInWeek, _st.daysHeight).intersects(clip)) { return; } for (auto i = 0; i != kDaysInWeek; ++i, x += _st.cellSize.width()) { auto rect = myrtlrect(x, y, _st.cellSize.width(), ...
C++
').on('click', function(){ // create the backdrop and wait for next modal to be triggered $('body').modalmanager('loading'); var el = $(this); setTimeout(function(){ $modal.load(el.attr('data-url'), '', function(){ $modal.modal...
JavaScript
//------------------------------------------------------------------------------ // 此代码版权声明为全文件覆盖,如有原作者特别声明,会在下方手动补充 // 此代码版权(除特别声明外的代码)归作者本人Diego所有 // 源代码使用协议遵循本仓库的开源协议及附加协议 // Gitee源代码仓库:https://gitee.com/diego2098/ThingsGateway // Github源代码仓库:https://github.com/kimdiego2098/ThingsGateway // 使用文档:https://diego...
C#
配编译plugin-开头的组件 ], configureWebpack: (config) => { const plugins = [] if (process.env.NODE_ENV !== 'production') { // 开发环境配置 config.devtool = 'eval-source-map' } else { // 生产环境配置 // 添加gzip压缩 plugins.push( new Com...
JavaScript
#region "copyright" /* Copyright © 2016 - 2024 Stefan Berg <isbeorn86+NINA@googlemail.com> and the N.I.N.A. contributors This file is part of N.I.N.A. - Nighttime Imaging 'N' Astronomy. This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not ...
C#
ble<double>(cideBaseCalculo.value); } if (cideAliquota.present) { map['CIDE_ALIQUOTA'] = Variable<double>(cideAliquota.value); } if (cideValor.present) { map['CIDE_VALOR'] = Variable<double>(cideValor.value); } if (encerranteBico.present) { map['ENCERRANTE_BICO'] = Variable<int...
Dart
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ 自动评分系统 支持选择题、简答题和编程题的自动评分 """ import json import os import re import subprocess import tempfile from typing import Any, Dict, List, Tuple import requests class ScoringSystem: """评分系统""" def __init__(self): # 从数据库获取AI API配置 self.api_key = No...
Python
return 'rgba(' + (rgba&255) + ',' + ((rgba >> 8)&255) + ',' + ((rgba >> 16)&255) + ',' + (((rgba >> 24)&255)/255) + ')'; },translateColorToCSSRGBA:function(rgba) { return 'rgba(' + (rgba&0xff) + ',' + (rgba>>8 & 0xff) + ',' + (rgba>>16 & 0xff) + ',' + (rgba>>>24)/0xff + ')'; },translateRGBAToCSSRG...
JavaScript
y SetJump(). # # If JumpBuffer is NULL, then ASSERT(). # For IPF CPUs, if JumpBuffer is not aligned on a 16-byte boundary, then ASSERT(). # # @param JumpBuffer A pointer to CPU context buffer. # #**/ # #UINTN #EFIAPI #SetJump ( # IN BASE_LIBRARY_JUMP_BUFFER *JumpBuffer // X0 # ); # ASM_PFX(SetJump): ...
Assembly
arget -- we only care about links to markdown documents != self local is_markdown_foreign = not string.match(target, "^http") and (string.match(target, "%.md$") or string.match(target, "%.md#")) if is_markdown_foreign then -- strip fragment local idx = string.find(target, "#") if idx then target = string....
Lua
Part()) } else -> {} } } return GET(url.toString(), headers) } override fun searchMangaSelector(): String = ".book-detailed-item" override fun searchMangaFromElement(element: Element): SManga = SManga.create().apply { setUrlWithoutDomain...
Kotlin
(l->l_line) { flush_blanks(); flush_line(l); } if (l->l_line || l->l_next) nblank_lines++; if (l->l_line) (void)free((void *)l->l_line); free_line(l); } if (lines) lines->l_prev = NULL; } /* * Print a number of newline/half newlines. If fine flag is set, nblank_lines * is the number of half ...
C
WN_NODE_STOP: u32 = 1u32; #[repr(C)] #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub struct RESUTIL_FILETIME_DATA { pub Default: super::super::Foundation::FILETIME, pub Minimum: super::super::Foundation::FILETIME, pub Maximum...
Rust
ed).toBe(true); }); it('柱子颜色不一样', () => { const columnPlot = new Column(canvasDiv, { width: 600, height: 600, padding: 'auto', data, xField: 'year', yField: 'value', color: ['red', 'blue', 'green', 'yellow', 'orange', 'gray', 'purple', 'brown'], xAxis: { ...
Typescript
e == "by-author") { resultSet = this.MakeQueryByAuthor(query, resultSet); } searchResults.Add(this.GetSortReviewsByDateOfCreationAndContent(resultSet)); } return searchResults; } private void AddSearchQueryRep...
C#
{search}' 🔎</i></b>") search = search.lower() find = search.split(" ") search = "" removes = ["in","upload", "series", "full", "horror", "thriller", "mystery", "print", "file"] for x in find: if x in removes: continue ...
Python
@EventHandler private void onTick(TickEvent.Post event) { boolean bubbleColumn = isInBubbleColumn; isInBubbleColumn = false; if ((waterMode.get() == Mode.Bob && mc.player.isTouchingWater()) || (lavaMode.get() == Mode.Bob && mc.player.isInLava())) { double fluidHeight; ...
Java
}; registerDefaultShortcuts$$module$build$src$core$shortcut_items = function () { registerEscape$$module$build$src$core$shortcut_items(); registerDelete$$module$build$src$core$shortcut_items(); registerCopy$$module$build$src$core$shortcut_items(); registerCut$$module$build$src$core$shortcut_items(); registerPaste$$...
JavaScript
x01' after top-level value", 8}}, {in: "\x01 1.2", err: &SyntaxError{"invalid character '\\x01' looking for beginning of value", 1}}, {in: " 3.4 \x01", err: &SyntaxError{"invalid character '\\x01' after top-level value", 6}}, {in: "\x01 \"string\"", err: &SyntaxError{"invalid character '\\x01' looking for beginning ...
Go
;01046b0c123440609abc and.l @0x1234:16,@0x9abcdef0:32 ;01046b0c123448609abcdef0 and.l @0x12345678:32,@er1 ;01046b2c123456780160 and.l @0x12345678:32,@(0xc:2,er1) ;01046b2c123456783160 and.l @0x12345678:32,@-er1 ...
Assembly
" + c.getEnclosingClass() + "\n"); print("getEnclosingConstructor() :\n" + c.getEnclosingConstructor() + "\n"); print("getEnclosingMethod() :\n" + c.getEnclosingMethod() + "\n"); print("getEnumConstants() :\n" + c.getEnumConstants() + "\n"); print("getFields() :"); if(c.getFields().length == 0) { print("No...
Java
*", (45, 0): "'", (46, 0): "+", (30, 64): "~", (36, 64): "`", (20, 64): "\\", (26, 64): "|", (8, 64): "€", (47, 64): "÷", (48, 64): "×", (9, 64): "(", (10, 64): ")", (14, 64): "ł", (15, 64): "Ł", (52, 64): "ß", (49, 64): "¤", (100, 0): "<", (100, 2): "...
Python
x, double y) { if (hidden == false) { String svg = manageScale(image); final String pos = "<svg x=\"" + format(x) + "\" y=\"" + format(y) + "\">"; svg = pos + svg.substring(5); final String key = "imagesvginlined" + image.getMD5Hex() + images.size(); final Element elt = document.createElement(key); ...
Java
nst {"hello": "world"}; const Map<String, String> quuz = {...quux, "!": "bye!"}; Map<String, String> get quuzAsGetter => const {...quux, "!": "bye!"}; const Map<String, String> quuzWithNullSpread = {...quux, ...?nullMap}; const Map<String, String> quuzWithIntSpread = {...quux, ...fortyTwo}; const Map<String, String> qu...
Dart
4: 6, // $end (931x) 59: 7, // ';' (930x) 41: 8, // ')' (916x) 44: 9, // ',' (914x) 57750: 10, // signed (847x) 57580: 11, // charsetKwd (843x) 57893: 12, // hintAggToCop (834x) 57908: 13, // hintEnablePlanCache (834x) 57901: 14, // hintHASHAGG (834x) 57894: 15, // hintHJ (834x)...
Go
#!/usr/bin/env python # Copyright NumFOCUS # # 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 # # https://www.apache.org/licenses/LICENSE-2.0.txt # # Unless required by applicable law or...
Python
howContext(id) end function Apartment:GetMenuForAllToRaid() if next(self.apartments) == nil then Framework[Config.Notify].Notify("There are no apartments here.", "error") return end local id = "apartments-" .. self.apartmentData.label local menu = { id = id, title = "A...
Lua
s remaining contents. * * @property eiClass Identifies the file's class or capacity (32-bit or 64-bit objects). * @property eiData Specifies the data encoding of processor-specific data (little or big endian). * @property eiVersion Specifies the ELF header version number. * @property eiOsAbi Identifies the operati...
Kotlin
; /* LTR */ } [dir="rtl"] .project-update__version-links { padding-left: 1em; text-align: left; } .project-update__version--recommended-strong .project-update__version-title { font-weight: bold; } /* * DO NOT EDIT THIS FILE. * See the following change record for more information, * https://www.drupal.org/node/...
CSS
# Copyright The Lightning AI team. # # 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 in wri...
Python
_2",label="Faded Light Blue Regular Fit",Price=343},['5']={NameHash="SP_M_LOWR_0_5",label="Gray Regular Fit",Price=1629},['4']={NameHash="SP_M_LOWR_0_4",label="Faded Dark Blue Regular Fit",Price=663},['7']={NameHash="SP_M_LOWR_0_7",label="Mustard Regular Fit",Price=559},['6']={NameHash="SP_M_LOWR_0_6",label="Faded Clas...
Lua
null s=j.a s.toString if(j.gwy()){s=j.f r=j.gGE() q=j.a p=q.ay p.toString h.a=A.a2b(!0,new A.oT(r,j.gHm(),j.gHy(),p,"nav",A.aey(),!0,s),"Navigator Scope",i,i) s=q}else{s=j.a s.toString}h.b=null o=new A.hv(new A.XD(h,j),i) h.b=o o=h.b=A.a2_(o,i,B.hX,!0,s.cy,i,i,B.aY) s=$.abs if(s)n=new A.xI(15,!1,!1,i) else n=i h=n!=nul...
JavaScript
<(u64, u64)> { use RawCommand::*; match self { Pread { buffer, .. } => Some(buffer.aio_addr_and_len()), Pwrite { buffer, .. } => Some(buffer.aio_addr_and_len()), Fdsync => None, Fsync => None, } } pub(crate) fn flags(&self) -> Option<u32>...
Rust
os) { if (!StringUtil.isEmpty(tmpResourceStoreTypeDto.getParentRstId())) { continue; } ResourceStoreTypeDto selfResourceStoreTypeDto = BeanConvertUtil.covertBean(tmpResourceStoreTypeDto, ResourceStoreTypeDto.class); selfResourceStoreTypeDto.setParentRstId(...
Java