content
stringlengths
2
6.21k
label
stringclasses
16 values
b $93,$57,$57,$25 # qhasm: int32323232 aacbbbda1 = (acbd0 & 0xffff) * (abba1 & 0xffff) # asm 1: mpy >aacbbbda1=vec128#94,<acbd0=vec128#70,<abba1=vec128#79 # asm 2: mpy >aacbbbda1=$96,<acbd0=$72,<abba1=$81 mpy $96,$72,$81 # qhasm: abba11 = select bytes from acbd11 by selw0220 # asm 1: shufb >abba11=vec128#95,<acbd11=...
Assembly
; import { FaceTouchAlignConstraint } from "../constraints/faceTouchAlign"; import { Plane } from 'geom/impl/plane'; import { AssemblyDOF, ModificationResponse } from "./assemblyDOF"; import { ConflictDOF } from './conflictDOF'; import {EdgeAlignConstraint} from "../constraints/edgeAlign"; import {Matrix3x4} from "math...
Typescript
; Generated with ikazuchi 1.0 by riidefi ; Object File: RosettaChair ; Segments: ; .text: 0x8021dc68 -> 0x8021e0a8 ; .data: 0x8059d888 -> 0x8059d9d0 (8059d968 -> 8059d9d0 (size 0104/0x0068) is greedily claimed anonymous data) ; .sdata2: 0x806bdd30 -> 0x806bdd40 (806bdd3c -> 806bdd40 (size 00...
Assembly
against large returndata. ([#3587](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3587)) ## 4.7.1 (2022-07-18) - `SignatureChecker`: Fix an issue that causes `isValidSignatureNow` to revert when the target contract returns ill-encoded data. ([#3552](https://github.com/OpenZeppelin/openzeppelin-contracts...
Markdown
255, 0.1); border-bottom-color: rgba(255, 255, 255, 0.1); } /* Cabeçalho */ .achievements-header h6 { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.5rem; color: inherit; } .achievements-header .badge { font-size: 0.7rem; padding: 0.25rem 0.5rem; border-radius: 10px; } /* List...
CSS
_RIDDLE_S", -1, -1); } } if (mDisplayModel && !MR::getDummyDisplayModelId(mDisplayModel)) { MR::appearCoinPop(this, mDisplayModel->mPosition, 1); } if (mDisplayModel && MR::getDummyDisplayModelId(mDisplayModel) == 5) { MR::startSound(this, "SE_OJ_CRY...
C++
.filter((file) => { return file.endsWith('.js'); }) .map((file) => { return require('./fetchers/' + file); }); const fetch = module.exports = {}; fetch.upcoming = []; fetch.updateUpcoming = function() { const upcoming = fetch.upcoming; upcoming.length = 0; alerts.reset_alerts(); fetchers.forEach((fetcher) ...
JavaScript
buildUnnamed47() => ['foo', 'foo']; void checkUnnamed47(core.List<core.String> o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.equals('foo')); unittest.expect(o[1], unittest.equals('foo')); } core.List<core.String> buildUnnamed48() => ['foo', 'foo']; void checkUnnamed48(core.List...
Dart
ai', name = 'A.I. Settings', desc = "Sets C.R.A.I.G's options", type = 'section', }, { key = "craig_difficulty", name = "C.R.A.I.G. difficulty level", desc = "Sets the difficulty level of the C.R.A.I.G. bot. (key = 'craig_difficulty')", type = "list", section = "5ai", def = "2", items = { { ...
Lua
of neighbours) { const heightCost = Math.abs(curr.h - n.h); if (heightCost > maxJumpHeight) { continue; } const terrainCost = getTerrainCost(n.terrain); const newCost = cost[curr.id] + heightCost + terrainCost; if (!cost[n.id] || newCost < cost[n.id]) { const priority = newCost + ...
Typescript
; return request.data; }; export default { getAll, create, update, remove }; /// Unicode code points for various special characters that also exist on /// [code page 437][font]. /// /// [font]: http://en.wikipedia.org/wiki/Code_page_437 export enum CharCode { // 1 - 15. whiteSmilingFace = 0x263a, blackSmilingFa...
Typescript
ch_p('b') >> !c; c = ch_p('c') >> !a; hit = parse(str, a); cout<<"hit :"<<( hit.hit ? "yes" : "no")<<", " <<(hit.full ? "full": "not full") <<endl; // using assign_a a = ch_p('a')[ assign_a( next, b)] >> !next; b = ch_p('b')[ assign_a( next, c)] >> !next; c = ch_p(...
C++
}; let shell_data_z = shell_data.clone(); let xdg_shell_global = display.create_global( 3, Filter::new(move |(shell, _version), _, dispatch_data| { self::xdg_handlers::implement_wm_base(shell, &shell_data, dispatch_data); }), ); let zxdgv6_shell_global = displ...
Rust
li),二人都非常期待更多新人的加入。 然而在管理新生群时,他们都有自己的烦恼。 凯导是重度强迫症患者,他只能接受正确的名片格式(四位数字+一个空格+省份+一个空格+姓名),如果看到有人的名片不合基本法,他就会浑身难受,甚至想要制(song)裁(ta)这(men)些(shang)人(tian)。 费导则因为萌新们都不爆照而感到惆怅,所以,每当新人入群时,她一定会推荐萌新爆照。 **不考虑四位数字本身含义的正确性、省份和姓名的正确性**,给出一些人刚进群时的名片,按如下要求输出 **若名片格式不合法,输出"qiu qiu ni le, gai ming pian ba"** **若名片格式合法,输出"meng xin ba...
Markdown
.get("Arrakis").commodities.set("Dwimeryt", 0); planets.get("Arrakis").ask.set("Dwimeryt", 25); planets.get("Arrakis").bid.set("Dwimeryt", 23); planets.get("Corellia").commodities.set("Nuka-Cola", 0); planets.get("Corellia").ask.set("Nuka-Cola", 45); planets.get("Corellia").bid.set("Nuka-Cola", 40); planets.get("Corel...
Typescript
--type-PingFang_SC, "PingFang SC");font-size:var(--size-, 12px);font-style:normal;font-weight:400;line-height:var(--height-12px, 18px);margin-left:4px;text-wrap:nowrap}.mj-task .task-time[data-v-cf8f683a]{color:var(--font-gray-sec, #8B8C8C);font-family:var(--type-PingFang_SC, "PingFang SC");font-size:var(--size-, 10px)...
CSS
ggml_compute_forward_rwkv_wkv6 static void ggml_compute_forward_rwkv_wkv6_f32( const ggml_compute_params * params, ggml_tensor * dst) { const int64_t T = dst->src[1]->ne[2]; const int64_t C = dst->ne[0]; const int64_t HEADS = dst->src[1]->ne[1]; const int64_t n_seqs = dst->src[5]->ne[1]...
C++
=============================================================================== BuildAPI_Solid::BuildAPI_Solid(const std::shared_ptr<ModelAPI_Feature>& theFeature) : ModelHighAPI_Interface(theFeature) { initialize(); } //================================================================================================...
C++
0; i < 256; ++i) { palette[i].r = 255 - i; palette[i].g = 255 - i; palette[i].b = 255 - i; } SDL_SetColors(screen, palette, 0, 256); if (SDL_LockSurface(screen) < 0) { fprintf(stderr, "Couldn't lock display surface: %s\n", SDL_GetError()); quit(2); ...
C
berian dollar' , '$'), ('LSL', 2, 'Lesotho loti' , 'L'), ('LYD', 3, 'Libyan dinar' , 'ل.د'), ('MAD', 2, 'Moroccan dirham' , 'د.م'), ('MAD', 2, 'Moroccan dirham' , 'د. م'), ('MDL',...
Lua
if (output_stats) { fout.open("./ours_time.txt", std::ios::out | std::ios::app); fout << filename << ","; } // set config, input and output Arrangements arrangements; arrangements.setConfig(arr_config); arrangements.addTriMeshAsInput(input_points, input_triangles); arrangements.setTriMeshAsOutput(result_p...
C++
. /// </summary> public virtual void SetOmitNorms(bool omitNorms) { this.omitNorms = omitNorms; } public virtual bool IsLazy() { return lazy; } /// <summary>Prints a Field for human consumption. </summary> public override System.String ToString() { System.Text.StringBuilder result = ...
C#
- AU-getControlShape //-------------------------------------------------------------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------------------------------------...
CSS
private static final char[] encodeTable = new char[]{'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '0'...
Java
.release = ves1x93_release, .init = ves1x93_init, .sleep = ves1x93_sleep, .i2c_gate_ctrl = ves1x93_i2c_gate_ctrl, .set_frontend = ves1x93_set_frontend, .get_frontend = ves1x93_get_frontend, .read_status = ves1x93_read_status, .read_ber = ves1x93_read_ber, .read_signal_strength = ves1x93_read_signal_strengt...
C
: 3px; --spreadHorizontalWrapped-margin-LR: -3.5px; --status-bar-background: hsl(258, calc(88% / 3), 95%); --status-bar-border-color: hsl(258, calc(88% / 3), 60%); --status-bar-border-width: 1px 0 0 1px; --status-bar-font-size: 12px; --status-bar-position: fixed; --status-bar-radius: 8px 0 0 0; --status...
CSS
import com.rks.musicx.misc.utils.Extras; import com.rks.musicx.misc.utils.Helper; import com.rks.musicx.misc.utils.Sleeptimer; import com.rks.musicx.misc.utils.permissionManager; import com.rks.musicx.misc.widgets.ProgressBar; import com.rks.musicx.services.MusicXService; import com.rks.musicx.services.ShortcutsHandler...
Java
nt( "a", type = Element.Type.DATETIME, csvFields = Element.csvFields("datetime") ) // Test wrong date = 50 try { one.toNormalized("12502021") } catch (e: ElementNormalizeException) { assertThat(e.message) .isEqu...
Kotlin
case GS_LINK_DEAD: if (CHAR_DESCRIPTOR((unit_data *)v1->val.ptr)) { descriptor_close(CHAR_DESCRIPTOR((unit_data *)v1->val.ptr)); } break; } } } delete v1; delete v2; } void ...
C++
es.VersionBetween(cn.Spec.ServerVersion, "5.3.0", "5.4.0") { proxy.AppendEnv([]corev1.EnvVar{ { Name: defaultJavaToolOptionsName, Value: fmt.Sprintf(defaultJavaAgentEnvValue, cn.Spec.ServerVersion), }, }) } else if kubernetes.VersionGreaterAndEqualThan(cn.Spec.ServerVersion, "5.4.0") { proxy.SetAr...
Go
ends2s or origin.send)(starttls_failure); origin:close(); end return true; end); -- Advertize stream feature module:hook("stream-features", function(event) local origin, features = event.origin, event.features; if can_do_tls(origin) then features:add_child(_c2s_feature); end end, 102); module:hook("s2s-stream...
Lua
} {N}.}$$ ](A442674_1_En_9_Chapter_Equk.gif) Most people don't guess the estimate of Worked example 9.2, though it usually seems reasonable in retrospect. Obtaining the maximum of the likelihood can get interesting, as the following worked example suggests. Worked example 9.3 (Inferring Die Probabilities from Multipl...
Markdown
/Global background float totalBarHeight = SEAK_BAR_HEIGHT * scale + 20f * scale + MEDIA_BUTTON_HEIGHT * scale + 15f * scale; //Background rounded rect Vector2 globalMin = new Vector2(cursorPos.x, cursorPos.y - (SEAK_BAR_HORIZONTAL_PADDING * 0.5f * scale)); Vector2 global...
C#
* | * crossing */ if (gain > outGain) { // Crossing point on the axis. float crossing = peak + (1 - gain) * (upper - peak); Triple loc{axisDef, peak, crossing}; float scalar = 1.f; // The part before the crossing point. out.push (hb_p...
C++
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; using ImageFramework.DirectX; using ImageFramework.Model; using ImageViewer.Commands.Helper; using ImageViewer.Models; using ImageViewer.Models.Display; using ImageViewer.Vie...
C#
PetFrameHealthBar:SetWidth(45) PetFrameHealthBar:SetPoint("BOTTOMRIGHT", PetFrame, "BOTTOMRIGHT", -125, 27) PetFrameHealthBarText:ClearAllPoints() PetFrameHealthBarText:SetPoint("BOTTOMRIGHT", PetFrame, "BOTTOMRIGHT", -125, 27) PetFrameManaBar:ClearAllPoints() PetFrameManaBar:SetWidth(45) PetFrameMana...
Lua
} //verify flags enum class AvbSlotVerifyFlags(val inFlags: Int) { AVB_SLOT_VERIFY_FLAGS_NONE(0), AVB_SLOT_VERIFY_FLAGS_ALLOW_VERIFICATION_ERROR(1), AVB_SLOT_VERIFY_FLAGS_RESTART_CAUSED_BY_HASHTREE_CORRUPTION(2), AVB_SLOT_VERIFY_FLAGS_NO_VBMETA_PARTITION(4) } //hash des...
Kotlin
StyleProps = {}; if (this._hoverStyle === 'default') { const defaultHighlightStyle = await this._getDefaultHighlightStyle(); hoverStyleProps = await defaultHighlightStyle.getLayerProps(this._layer); } else if (this._hoverStyle instanceof Style) { hoverStyleProps = await this._hoverStyle.getLa...
Typescript
onic_label(). */ fun removeMnemonicLabel(label: CPointer<GtkWidget>?): Unit = gtk_widget_remove_mnemonic_label(self, label) /** * Removes a widget from the list of mnemonic labels for * this widget. (See gtk_widget_list_mnemonic_labels()). The widget * must have previously been added to the list...
Kotlin
steamid].xp_level) local color = PLAYER_COLORS[player_id] if api:IsDonator(player_id) ~= 10 then donator_color = DONATOR_COLOR[api:GetDonatorStatus(player_id)] end if donator_color == nil then donator_color = DONATOR_COLOR[0] end CustomNetTables:SetTableValue("battlepass_player", tostring(...
Lua
g, _, ctx, cancel := kbfsOpsInitNoMocks(t, "test_user") // TODO: Use kbfsTestShutdownNoMocks. defer kbfsTestShutdownNoMocksNoCheck(ctx, t, config, cancel) // create a file. rootNode := GetRootNodeOrBust(ctx, t, config, "test_user", tlf.Private) kbfsOps := config.KBFSOps() fileNode, _, err := kbfsOps.CreateFile(...
Go
u.com/doc/changelog.html">Changelog</a></li>' ) + '</ul>' + '</li>' //+ '<li><a href="http://echarts.baidu.com/build/echarts-' + version + '.rar">下载</a></li>' + (enVersion ? ('<li class="' + (activeClass.about || '') + '"><a href="' + (loc...
JavaScript
(); println!("{:2}: {} (0x{:x})", min, msize, msize); } c::set_sim_flash_align(old_align); } use structopt::StructOpt; #[derive(Debug, StructOpt)] #[structopt( name = "Analog Clock", about = " Key bindings: 'q' : quit '-' : decrease clock width '='/'+' : increase clock width 'j'...
Rust
!== null) { currentEditorSettings.view[opt.setting] = oldValue; editorSettingsChanged = true; RED.settings.remove(opt.oldSetting); } } allSettings[opt.setting] = opt; var value = currentEditorSettings.view[opt.setting]; if ((value === null |...
JavaScript
較演算子はすべて、左オペランドを右オペランドよりも先に型変換します。 ## 例 ### 文字列と文字列の比較 ```js "a" < "b"; // true "a" < "a"; // false "a" < "3"; // false "\uD855\uDE51" < "\uFF3A"; // true ``` ### 文字列と数値の比較 ```js "5" < 3; // false "3" < 3; // false "3" < 5; // true "hello" < 5; // false 5 < "hello"; // false "5" < 3n; // false "3" < 5n; // true...
Markdown
dth: 160px; height: 300px; position: relative; } .throttle:before, .throttle:after { content: ''; background: #000; position: absolute; margin-left: -5px; top: 20px; bottom: 20px; width: 10px; z-index: 2; } .throttle:before { left: 30%; } .throttle:after { left: 70%; } .throttle-handle { b...
CSS
:P(e,i)},o={value:t.state};function r(n,r,a){const s=e.indexOf("#"),l=s>-1?(i.host&&document.querySelector("base")?e:e.slice(s))+n:O()+e+n;try{t[a?"replaceState":"pushState"](r,"",l),o.value=r}catch(d){console.error(d),i[a?"replace":"assign"](l)}}function a(e,i){const a=s({},t.state,z(o.value.back,e,o.value.forward,!0)...
JavaScript
PRAT a = nullptr; a = *pa; pgcd = gcd(a->pp, a->pq); if (!zernum(pgcd)) { divnumx(&(a->pp), pgcd, precision); divnumx(&(a->pq), pgcd, precision); } destroynum(pgcd); *pa = a; RENORMALIZE(*pa); } //-----------------------------------------------------------------...
C++
#!/usr/bin/python3 """ Module for FileStorage class """ import json from models.base_model import BaseModel from models.user import User from models.state import State from models.city import City from models.place import Place from models.amenity import Amenity from models.review import Review class FileStorage: ...
Python
using System; using System.Collections.Generic; using System.Text; using System.Xml; namespace Artalk.Xmpp { /// <summary> /// Represents an XMPP error. /// </summary> public class XmppError { /// <summary> /// The type of the error. /// </summary> ErrorType type; /// <summary> /// The error conditio...
C#
1 : kotlin.Int? // --- d2 : kotlin.String? // - resultType: // --- com.mars.component.detail.value.TestCreateBean routeResultTransformer(TestCreateBeanOrg( d1 /* -> NO NEED TO MAPPING :[kotlin.Int?] */ , d2 /* -> NO NEED TO MAPPING :[kotlin.String?] */ ).toTypeOfT() /* -> TO CONTEXT TYP...
Kotlin
password: pw, properties:{} }; return store.getUser("admin", function(err, user) { if(user) { return resolve(user); } return store.createUser(userData, function(err, user) { if(err) { return reject(err); } return resolve(user); }); }); } return resolve({}); }...
JavaScript
or implied. // See the License for the specific language governing permissions and // limitations under the License. /* * @Author: a76yyyy q981331502@163.com * @Date: 2022-06-10 14:47:34 * @LastEditors: a76yyyy q981331502@163.com * @LastEditTime: 2022-06-19 00:01:30 * @FilePath: /tiktok/cmd/user/handler.go * @D...
Go
t-to-json v1.0.1 * GitHub Repository <https://github.com/CN-Tower/format-to-json> * Released under MIT license <https://github.com/CN-Tower/format-to-json/blob/master/LICENSE> */ declare function format2json( source: string, options?: format2json.FormatOptions ): Promise<format2json.FormatResult | string>; decl...
Typescript
i dokumentet."}, {name:"Gå til neste fokusområde",legend:"Trykk ${accessNextSpace} for å komme til nærmeste fokusområde etter skrivemarkøren som ikke kan nås på vanlig måte, for eksempel to tilstøtende HR-elementer. Gjenta tastekombinasjonen for å komme til fokusområder lenger unna i dokumentet."},{name:"Hjelp for til...
JavaScript
adient( #ffffff80, #ffffff40, #ffffff30, #ffffff20, #ffffff10, #ffffff10, #ffffff80 ); --callout-rgb: 20, 20, 20; --callout-border-rgb: 108, 108, 108; --card-rgb: 100, 100, 100; --card-border-rgb: 200, 200, 200; } } * { box-sizing: border-box; paddin...
CSS
///////////////////////////////////////////////////////////////////////////// // Name: wx/gtk/glcanvas.h // Purpose: wxGLCanvas, for using OpenGL/Mesa with wxWidgets and GTK // Author: Robert Roebling // Modified by: // Created: 17/8/98 // RCS-ID: $Id$ // Copyright: (c) Robert Roebling // Lic...
C
ite-members-button').click(function () { resetAndShowModal($('#invite-members-modal')); }); $('#invite-members-button').click(function () { var $form = $('#invite-members-modal form'); var emails = $form.find('input[name="emails"]').val().split(','); var membersToAdd = []; ...
JavaScript
/* SPDX-License-Identifier: GPL-2.0 */ /* * Code that needs to run below 2 GB. * * Copyright IBM Corp. 2019 */ #include <linux/linkage.h> #include <asm/asm-extable.h> #include <asm/errno.h> #include <asm/sigp.h> .section .amode31.text,"ax" /* * Simplified version of expoline thunk. The normal thunks can not be ...
Assembly
fun get_frame() : CanFrame? = CanBusNative.getCFrame(CanCAddrs.PSM_3B4h) /** Gets Working speed control active **/ fun get_psm_adr_akt() : Boolean = CanBusNative.getECUParameterC(CanCAddrs.PSM_3B4h, 2, 1) != 0 /** Sets Working speed control active **/ fun set_psm_adr_akt(f: CanFrame, p: Boolean) { checkFra...
Kotlin
patches"]["percentage"]:.2f}%)' ) print( f'Number of error lines: {result["errors"]["total"]} / {result["total_instances"]} ({result["errors"]["percentage"]:.2f}%)' ) print( f'Number of agent stuck in loop: {result["errors"]["stuck_in_loop"...
Python
# × [0.3] WORD JOINER (WJ) × [7.01] SPACE (SP) × [13.01] EXCLAMATION MARK (EX) ÷ [0.3] × 2060 × 0308 × 0021 ÷ # × [0.3] WORD JOINER (WJ) × [9.0] COMBINING DIAERESIS (CM1_CM) × [11.02] EXCLAMATION MARK (EX) ÷ [0.3] × 2060 × 0308 × 0020 × 0021 ÷ # × [0.3] WORD JOINER (WJ) × [9.0] COMBINING DIAERESIS (CM1_CM) × [7.01] ...
Dart
} case "notation": { this.notation = res[property]; break; } case "description": { this.description = res[property]; break; } case "El...
Typescript
able), context, )?; } gen.generate_empty_node(InsertionPointType::Append); if ast::opr::assoc(&this.operator) == Assoc::Right { gen.reverse_children(); } Ok(( Node { kind: if is_last { kind.clone() } else {...
Rust
(doc, rangeFn(doc)); } export function selectBackwardSexpOrUp(doc: EditableDocument) { const rangeFn = doc.selection.active <= doc.selection.anchor ? (doc: EditableDocument) => backwardSexpOrUpRange(doc, doc.selection.active, false) : (doc: EditableDocument) => backwardSexpOrUpRange(doc, doc.selectio...
Typescript
80023E38 444AF800 */ cfc1 $t2, $31 /* A9AFDC 80023E3C 44CBF800 */ ctc1 $t3, $31 /* A9AFE0 80023E40 00000000 */ nop /* A9AFE4 80023E44 460091A4 */ cvt.w.s $f6, $f18 /* A9AFE8 80023E48 444BF800 */ cfc1 $t3, $31 /* A9AFEC 80023E4C 00000000 */ nop /* A9AFF0 80023E50 316B0078 */ andi $t3, $t3, 0x78 /* A9AFF...
Assembly
MINIMAPPING_TIMER = 5.5; MINIMAPPING_FADE_TIMER = 0.5; MINIMAP_BOTTOM_EDGE_EXTENT = 192; -- pixels from the top of the screen to the bottom edge of the minimap, needed for UIParentManageFramePositions MINIMAP_RECORDING_INDICATOR_ON = false; MINIMAP_EXPANDER_MAXSIZE = 28; HUNTER_TRACKING = 1; TOWNSFOLK = 2; GARRISON_...
Lua
'🇨🇴', 'comoros': '🇰🇲', 'congo_brazzaville': '🇨🇬', 'congo_kinshasa': '🇨🇩', 'cook_islands': '🇨🇰', 'costa_rica': '🇨🇷', 'croatia': '🇭🇷', 'cuba': '🇨🇺', 'curacao': '🇨🇼', 'cyprus': '🇨🇾', 'czech_republic': '🇨🇿', 'denmark': '🇩🇰', 'djibouti': '🇩🇯', 'dominica': '🇩🇲', 'domin...
Dart
..write('divisoes: $divisoes') ..write(')')) .toString(); } } class $EmpresaSegmentosTable extends EmpresaSegmentos with TableInfo<$EmpresaSegmentosTable, EmpresaSegmento> { @override final GeneratedDatabase attachedDatabase; final String? _alias; $EmpresaSegmentosTable(this.attac...
Dart
atic DocumentSequenceInfo toDocumentSequenceInfo(final I_AD_Sequence record) { return DocumentSequenceInfo.builder() .adSequenceId(record.getAD_Sequence_ID()) .name(record.getName()) // .incrementNo(record.getIncrementNo()) .prefix(compileStringExpressionOrUseItAsIs(record.getPrefix())) .suff...
Java
man 测试接口运行效果。 建议深入了解并使用 [Mybatis Plus](https://mybatis.plus),实乃开发利器! ##### 目前已有功能: 1. 一键快速生成 curd 模板代码,以此快速开发原生应用; ##### 计划功能 1. 使用 Ant.Design 后台模板接入,前后分离作为前端启动; ### Code Generator 用法 运行 com.cenyol.mybatisplus.CodeGenerator,然后输入表名即可。 会自动生成相应的 Controller、Entity、Mapper、Service 及其 Impl 等常用模板代码。 同时,由于已经封装好 CurdContro...
Markdown
Error mvn r0, #0x1d ldmia sp!, {r4, pc} _0206C430: bl sub_0207AD54 mov r0, #0 mov r1, r0 bl sub_0207AEF4 bl sub_0207AFF0 ldr r0, _0206C5F8 ; =DRIVER_WORK mov r3, #0 strh r3, [r0, #2] str r3, [r0, #4] str r3, [r0, #0x10] mov r2, #0xff mov r1, #1 strb r2, [r0, #0x3c] strb r1, [r0, #0x3d] rsb r1, r1, #0x1...
Assembly
igrations(); // Run the whole thing again await schema.runMigrations(); // Run just a piece. Adds a column, make sure it doesn't throw await schema.runMigrations(4, 6); }); test('migrationsDontDeleteTablesOrColumns', () async { // In order to support users downgrading the SDK we need to make su...
Dart
2.1 0 4.3-2 6.2-5.5h-1c-1.2 1.5-2.6 2.6-3.9 2.6-1.3 0-2-.8-2-2.6a10.7 10.7 0 01.3-2.2zm-4-3.1c1.1 0 2 .8 1.5 2.6L3.1 6.1c.8-2.2 2.2-4 3.4-4z'/%3E%3C/symbol%3E%3Csymbol id='b' viewBox='0 0 12.4 21.8'%3E%3Cuse width='11' height='15.5' y='6.4' href='%23a'/%3E%3Cpath d='M7.9 4.7L12.4.6V0h-3L6.7 4.7H8z'/%3E%3C/symbol%3E%3C...
CSS
ET_ONION, 239})); // Tor BOOST_CHECK(ResolveIP("2001:470:abcd:9999:9999:9999:9999:9999").GetGroup(asmap) == std::vector<unsigned char>({(unsigned char)NET_IPV6, 32, 1, 4, 112, 175})); //he.net BOOST_CHECK(ResolveIP("2001:2001:9999:9999:9999:9999:9999:9999").GetGroup(asmap) == std::vector<unsigned char>({(unsign...
C++
import numpy as np class MsgPath: ''' Message class that defines a path 'line' paths are defined by airspeed line_origin line_direction 'orbit' paths are defined by orbit center orbit radius orbit direction plo...
Python
get flagged() { return this._flagged } setActioned(value : boolean) { this._actioned = value } }import { Component, OnInit, Output, EventEmitter, ChangeDetectionStrategy, Input } from "@angular/core"; import { FormGroup, FormBuilder, Validators } from "@angular/forms"; import ...
Typescript
filt_width, filt_width) //[P, 0]ki is k1/16 - 1 z0.uw += vrmpy(y0.ub, x03x00.ub) //[0, 4] pre_x = add(pre_x, stride_depth) p3 = cmp.eq(fetch_count, #2) // } { sum3_sum2 += vraddub(x1fx1cx1bx18, x17x14x13x10) //[0, 5] z1.uw += vrmpy(y0.u...
Assembly
guments.of( index, 0.99767972f, 1.997f, 4 ) ); args.add( Arguments.of( index, 0.99951208f, 1.999f, 3 ) ); args.add( Arguments.of( index, 0.96088000f, 1.960f, 8 ) ); return args; } @ParameterizedTest @MethodSource void similarityFilterFloatOpenSearch(SimpleMappedIndex<IndexBinding> index, float simila...
Java
16] = GameModel.CurrentModel.BasePath + "SOUND" + sep + "34.VOC";//2.4s //what news colwyn =00 AudioTimes[17] = ImageTimes[11];// AudioTimes[16] + 2.5f;//96.0f; AudioClipName[17] = GameModel.CurrentModel.BasePath + "SOUND" + sep + "00.VOC";//1.7s //forgive us=15 AudioTimes[18] ...
C#
ce(str(input_path), str(output_path))) with open(curr_output / "completions.json", "w") as f: json.dump(data, f, indent=4) with open(curr_output / "metrics.json", "w") as f: json.dump(metrics, f, indent=4) if len(all_files) == 1: print(f"Saved classified co...
Python
/' + core.Uri.encodeFull('$parent') + '/trafficStats'; final response_ = await _requester.request( url_, 'GET', queryParams: queryParams_, ); return ListTrafficStatsResponse.fromJson( response_ as core.Map<core.String, core.dynamic>, ); } } /// Metric on a particular delivery...
Dart
dle referencing the given videoView. /// </summary> internal SafeNativePlayerHandle(VideoView videoView) : base(global::System.IntPtr.Zero, false) { if (videoView != null) { SetHandle(videoView.GetNativePlayerHandle()); } } ///...
C#
d"; $layout : "\e62e"; $layers : "\e62f"; $layers-alt : "\e630"; $key : "\e631"; $import : "\e632"; $image : "\e633"; $heart : "\e634"; $heart-broken : "\e635"; $hand-stop : "\e636"; $hand-open : "\e637"; $hand-drag : "\e638"; $folder : "\e639"; $flag : "\e63a"; $flag-alt : "\e63b"; $flag-alt-2 : "\e63c"; $eye : "\e63d...
CSS
if (search !== undefined) { requestContext.setQueryParam( "search", ObjectSerializer.serialize(search, "string", "") ); } if (tags !== undefined) { requestContext.setQueryParam( "tags", ObjectSerializer.serialize(tags, "string", "") ); } if (from !...
Typescript
3,3} }) end function CastProgress:AnchorCastBar() end function CastProgress:OnEvent(event) if (event == "PLAYER_ENTERING_WORLD") then CastProgress:DoScale() CastProgress:DoCastingBar() CastProgress:DoUIScale() CastProgress:DoAnchors() CastProgressProgressFrame:SetAlpha(CPVar[CastProgress.player].opacity)...
Lua
olov8_region_counter.py --source "path/to/video.mp4" --save-img --view-img # If you want to run model on CPU python yolov8_region_counter.py --source "path/to/video.mp4" --save-img --view-img --device cpu # If you want to change model file python yolov8_region_counter.py --source "path/to/video.mp4" --save-img --weig...
Markdown
/latest/svg/203c.svg"); } em[data-emoji=":low_brightness:"]:before, em[data-emoji="low_brightness"]:before { background-image: url("https://twemoji.maxcdn.com/v/latest/svg/1f505.svg"); } em[data-emoji=":high_brightness:"]:before, em[data-emoji="high_brightness"]:before { background-image: url("https://twemoji.max...
CSS
using System; //using System.Threading.Tasks; using System.Collections.Generic; using UnityEngine; using Cysharp.Threading.Tasks; namespace toio { public interface CubeConnecterInterface { UniTask<Cube> Connect(BLEPeripheralInterface peripheral); UniTask<Cube[]> Connect(BLEPeripheralInterface[]...
C#
JALR %31,%1 NOP JR %1 NOP BREAK NOP CTC %1,%1 NOP CFC %31,%1 NOP LW %1,0(%1) NOP LH %1,0(%1) NOP LB %1,0(%1) NOP LHU %1,0(%1) NOP LBU %1,0(%1) NOP SB %1,0(%1) NOP SH %1,0(%1) NOP SW %1,0(%1) NOP RBA %1,%1,%31 NOP RBAR %1,%1,%31 NOP RBAL %1,%1,%...
Assembly
83 83 02 A0 */ lwz r28, 0x2a0(r3) /* 803A2304 0039DF64 7F 83 E3 78 */ mr r3, r28 /* 803A2308 0039DF68 48 00 14 F5 */ bl initFrame__Q210homebutton15FrameControllerFv /* 803A230C 0039DF6C 38 00 00 01 */ li r0, 1 /* 803A2310 0039DF70 38 60 00 00 */ li r3, 0 /* 803A2314 0039DF74 90 1C 00 14 */ stw r0, 0x14(r28) /* 803...
Assembly
FETCH_MEALS_REQUEST, FETCH_MEALS_SUCCESS, addMeal, ADD_MEAL_TO_ORDER, newMeal, NEW_MEAL_REQUEST, NEW_MEAL_SUCCESS, NEW_MEAL_ERROR, NEW_MEAL_VALIDATION_ERROR } from './meal'; import * as nock from 'nock'; import { apiEndPoint } from '../config/endpoints'; beforeAll(() => { nock....
Typescript
108.0), City::new(2698, "Croatia", "Senj", 44.9894444, 14.9058332, 70.0), City::new(2699, "Croatia", "Ivanec", 46.2230556, 16.1200008, 233.0), City::new(2700, "Croatia", "Jastrebarsko", 45.6683333, 15.6486111, 150.0), City::new(2701, "Croatia", "Darda", 45.6280556, 18.6997223, 97.0), City::new(2702, "Croatia", "B...
Rust
�创建和启动线程,而 Thread 由开发者负责创建和启动线程。 ### 4、ExecutorService ExecutorService 接口是 Executor 接口的子接口,增加了一些常见的对线程的控制方法,如提供提交线程任务,返回 Future 对象,终止、关闭线程池等方法。当调用 shutdown 方法时,线程池会停止接受新任务,但会完成正在 pending 中的任务。 Future 对象提供了异步执行,意味着无需等待任务执行完成,提交需要执行的任务后,它立即返回继续往下执行 ,然后在需要时检查 Future 是否有结果了,如果任务已执行完毕,通过 Future.get() 方法获取执行结果,因为 Future.ge...
Markdown
to create influx client: %s", err) } vmCfg := initConfigVM(c) importer, err = vm.NewImporter(vmCfg) if err != nil { return fmt.Errorf("failed to create VM importer: %s", err) } processor := newInfluxProcessor(influxClient, importer, c.Int(influxConcurrency), c.String(influxM...
Go
Başqa ay', weekText: 'Hf', weekStatus: 'Həftələr', dayStatus: 'D, M d seçin', defaultStatus: 'Bir tarix seçin', isRTL: false }; $.datepick.setDefaults($.datepick.regional['az']); })(jQuery);/* http://keith-wood.name/datepick.html Greek localisation for jQuery Datepicker. Written by Alex Cicovic (http://w...
JavaScript
.*]] = getelementptr [[STRUCT_KMP_DEPEND_INFO:%.*]], ptr [[TMP6]], i64 0 // CHECK1-51-NEXT: [[TMP8:%.*]] = getelementptr inbounds [[STRUCT_KMP_DEPEND_INFO]], ptr [[TMP7]], i32 0, i32 0 // CHECK1-51-NEXT: store i64 0, ptr [[TMP8]], align 8 // CHECK1-51-NEXT: [[TMP9:%.*]] = getelementptr inbounds [[STRUCT_KMP_DE...
C++
_01", [2] = "loc_psyker_male_a__mission_strain_mid_event_conversation_two_a_02", }, sound_events_duration = { [1] = 4.831563, [2] = 5.364917, }, randomize_indexes = {}, }, mission_strain_mid_event_conversation_two_c = { randomize_indexes_n = 0, sound_events_n = 2, sound_events = { [1] = "loc...
Lua
nce with those terms. // package client import ( "bytes" "encoding/json" "io" "net/http" "github.com/heketi/heketi/v10/pkg/glusterfs/api" "github.com/heketi/heketi/v10/pkg/utils" ) // BrickEvict requests that Heketi evict the given brick from the // underlying gluster volume, automatically replacing it with a...
Go
#!/usr/local/bin/python3 from Crypto.Util.number import isPrime def RSAaaS(): try: print("Welcome to my RSA as a Service! ") print("Pass me two primes and I'll do the rest for you. ") print("Let's keep the primes at a 64 bit size, please. ") while True: p = input("Inp...
Python