content
stringlengths
2
6.21k
label
stringclasses
16 values
�� 추천을 끕니다.", "활성 문서에서만 단어를 제안합니다.", "같은 언어의 모든 열린 문서에서 단어를 제안합니다.", "모든 열린 문서에서 단어를 제안합니다.", "문서의 단어를 기준으로 완성도를 계산해야 하는지 여부 및 완성도가 계산되는 문서를 기준으로 계산되는지 여부를 제어합니다.", "모든 색 테마에 대해 의미 체계 강조 표시를 사용합니다.", "모든 색 테마에 대해 의미 체계 강조 표시를 사용하지 않습니다.", "의미 체계 강조 표시는 현재 색 테마의 `semanticHighlighting` 설정에 따라 구성됩니다.", "se...
JavaScript
mdx4h8ssz as cy3pyncbcjo, uxsymc63fve as d_27vzum37c, gof4h6seji7, k7ecvb_gyk2, m1gd7271erb as fmgxqbk1j22, has1o8fb5l6 as mm90wxn91yn, dl9asuaicy2, eajbjvhnjoe as ef3c2vmnxg5 '# billets_link_mattress -> rifle_songs_twirl' 0j[0.0]: m8lldcrr21l = gic2o3jw2iu import b_jo1zhaml_, qwe8_1_zgz5, nuvpppslv4e as ms...
Python
<mkruisselbrink@kde.org> SPDX-FileCopyrightText: 2005-2007 Tomas Mecir <mecirt@gmail.com> SPDX-License-Identifier: LGPL-2.0-or-later */ #include "ValueCalc.h" #include "CalculationSettings.h" #include "CellBase.h" #include "SheetsDebug.h" #include "ValueConverter.h" #include <QRegularExpression> #include <cf...
C++
update() { let playerPos = this.playerActorInstance.getPosition(); let playerDist = playerPos.distanceTo(this.actor.getPosition()); this.secretActorInstance.setVisible(playerDist > 1);// TODO : plutôt collision? //TODO : 2 etats bouton : released/pressed } } Sup.registerBehavior(FloorButto...
Typescript
y+11); } bs[0].collide(bs[1],bs[2]); bs[1].collide(bs[0],bs[2]); bs[2].collide(bs[1],bs[0]); }; function mouseMoved() { for (var i = 0; i < bs.length; i++) { bs[i].handleHover(mouseX, mouseY); } }; function mousePressed() { for (var i = 0; i < bs.length; i++) { bs[i].handlePress(mouseX, m...
JavaScript
Fib5g1fbicqX8MgAr9JCHUzn7DfLmicPmGHp873fNxVE9172ubc7ibUsG5TCynWicdtttxedxnkjAxrQ/640?wx_fmt=png) <table cellspacing="0"><tbody><tr><td width="34" height="67"><strong>支持的数据库</strong></td><td width="23" height="67"><strong>编号</strong></td><td width="129" height="67"><strong>脚本名称</strong></td><td width="5" height="67"><s...
Markdown
c5_1x_coco_20200203_061339.log.json) | | R-50-FPN | Mask | pytorch | mdconv(c3-c5) | - | 1x | 4.5 | 15.1 | 41.5 | 37.1 | [model](https://open-mmlab.s3.ap-northeast-2.amazonaws.com/mmdetection/v2.0/dcn/mask_rcnn_r50_fpn_mdconv_c3-c5_1x_coco/mask_rcnn_r50_fpn_mdconv_c3-c5_1x_coco_20200203-ad975...
Markdown
pi)]', // also: "[(3+1/3*(-27/2+27/2*i*3^(1/2))^(2/3)-3*i*3^(1/2)+1/3*i*3^(1/2)*(-27/2+27/2*i*3^(1/2))^(2/3))/(2*(-27/2+27/2*i*3^(1/2))^(1/3)),(3+1/3*(-27/2+27/2*i*3^(1/2))^(2/3)+3*i*3^(1/2)-1/3*i*3^(1/2)*(-27/2+27/2*i*3^(1/2))^(2/3))/(2*(-27/2+27/2*i*3^(1/2))^(1/3)),(-3-1/3*(-27/2+27/2*i*3^(1/2))^(2/3))/((-27/2+27/2...
Typescript
1, 1, 3, 3, 3, 3, 3, 3, 3, 6, 6, 6, 6, 6, 6, 12, 12, 12, 12, 24, 24, 24, 24, 24 }; /** * Default channel map for a dependent substream defined by acmod */ const uint16_t ff_eac3_default_chmap[8] = { AC3_CHMAP_L | AC3_CHMAP_R, // FIXME Ch1+Ch2 AC3_CHMAP_C, AC3_CHMAP_L | ...
C
from yacs.config import CfgNode as CN _C = CN() _C.dataset = "" # Dataset name _C.root = "" # Directory where datasets are stored _C.backbone = "" _C.resolution = 224 _C.stride = 16 _C.output_dir = None # Directory to save the output files (like log.txt and model weights) _C.resume = None # Path to a directory w...
Python
*data.this_frame; let psps = data .powerup_spawn_points .0 .iter_mut() .filter(|p| p.powerup_entity.is_none()) .filter(|p| { p.next_respawn_time.is_none() || p.next_respawn_time.unwrap() <= this_frame.0 }); for p in psps { let mob = data .entities .build_entity() .with(p.pos, &...
Rust
--dark-hl-2: #CE9178; --light-hl-3: #AF00DB; --dark-hl-3: #C586C0; --light-hl-4: #001080; --dark-hl-4: #9CDCFE; --light-hl-5: #0000FF; --dark-hl-5: #569CD6; --light-hl-6: #008000; --dark-hl-6: #6A9955; --light-code-background: #FFFFFF; --dark-code-background: #1E1E1E; } @media ...
CSS
, firestore.DocumentReference>] { const dataAndRefs: [firestore.DocumentData, Record<string, firestore.DocumentReference>] = [ {}, {}, ] const subsByPath = Object.keys(subs).reduce((resultSubs, subKey) => { const sub = subs[subKey] resultSubs[sub.path] = sub.data() return resultSubs }, {} a...
Typescript
) inset, 0 1px 0 hsla(210,16%,76%,.15); margin: 0 3px; color: inherit; } .devtools-responsiveui-menulist .menulist-editable-box { -moz-appearance: none; background-color: transparent; } .devtools-responsiveui-menulist html|*.menulist-editable-input { -moz-appearance: none; color: inherit; text-align: ce...
CSS
""" Adapters for PostGIS geometries """ from __future__ import annotations from .. import postgres from ..abc import AdaptContext, Buffer from ..adapt import Dumper, Loader from ..pq import Format from .._compat import cache from .._typeinfo import TypeInfo try: from shapely.wkb import loads, dumps from shap...
Python
/*========================================================================= Program: GDCM (Grassroots DICOM). A DICOM library Copyright (c) 2006-2011 Mathieu Malaterre All rights reserved. See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details. This software is distributed WITHOUT A...
C
ssage table 1<->2 move.l d6,(a3) add.l a6,a3 add.l a6,a1 move.l d6,(a3) add.l a6,a3 ; ligne suivante add.l a6,a1 IF POS_Y add.l #2<<16,d4 dbf d3,*-12-6 ELSE dbf d3,*-12 ENDC move.w d2,d3 ; restitue cpt_lignes dbf d3,.m3_bcl_bloc dbf d1,.m3_bcl_x bra.s .m3_continue .m3_sequence_echappe ; 70+46=116 clr...
Assembly
# Here the loader puts the 32-bit # address where it loaded the image. # This only will be read by the kernel. ramdisk_size: .long 0 # its size in bytes bootsect_kludge: .long 0 # obsolete heap_end_ptr: .word _end+STACK_SIZE-512 # (Header version 0x0201 or later) # space from here (exclu...
Assembly
wj-cell-maker{width:unset}.wj-flexgrid .wj-cell .wj-cell-maker svg{width:100%;height:100%;overflow:visible;stroke:#376092;fill:#376092}.wj-flexgrid .wj-cell .wj-cell-maker svg rect,.wj-flexgrid .wj-cell .wj-cell-maker svg circle{stroke-width:0}.wj-flexgrid .wj-cell .wj-cell-maker svg line{stroke-width:2px}.wj-flexgrid ...
CSS
F(it, activityHelper!!.displayHeight / 2.0f) } val canvasPoint = screenPoint?.let { PointF(screenPoint.x, it.y) } if (canvasPoint != null) { canvasPoint.x = canvasPoint.x.roundToInt().toFloat() } if (canvasPoint != null) { canvasPoint.y = canvasPoint.y.roundToInt(...
Kotlin
xlink" width="24" height="24" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><mask id="svgIDa"><g fill="#fff"><circle cx="12" cy="11" r="6"><animate attributeName="cx" dur="30s" repeatCount="indefinite" values="12;11;12;13;12"/></circle><rect width="10" height="7" x="8" y="12"/><rect width="16" height="10" x="...
Dart
aSample samp; ICameraSchema schema = simpleCamObj.getSchema(); TESTING_ASSERT( schema.getNumSamples() == 1 ); schema.get( samp ); TESTING_ASSERT( samp.getNumOps() == 1 && samp.getOp(0).getHint() == "test" ); ICamera staticCamObj( IObject( archive ), "stat...
C++
// Copyright (c) 2007-2018 Thong Nguyen (tumtumtum@gmail.com) using System.Diagnostics; using Microsoft.Build.Framework; namespace Shaolinq.AsyncRewriter { public class AsyncRewriterTask : Microsoft.Build.Utilities.Task { [Required] public string[] InputFiles { get; set; } [Required] public string[] Outpu...
C#
********************* Vector Definitions ********************* _IRQ1 = DAT_TIfunc _IRQ2 = DAT_vblankTI _IRQ3 = _irq3_handler _ENTRY_USER = _start _ENTRY_PLAYER_START = _dummy_config_handler _ENTRY_DEMO_END = _dummy_config_handler |; MVS game switch _ENTRY_COIN_SOUND = _dummy_config_handler |; coin sound DUMMY = _dum...
Assembly
}, { type = "recipe", name = "radar-mk4", enabled = false, energy_required = 25, ingredients = { {"radar-mk3", 1}, {"steel-plate", 80}, {"processing-unit", 12}, {"frame", 1}, }, result = "radar-mk4" }, { type = "recipe", name = "radar-mk5", enabled = f...
Lua
CDOTA_Ability_Lua.GetCustomCastError = function( self, param ) if getmetatable( param ) == Vector then return CDOTA_Ability_Lua.GetCustomCastErrorLocation( self, param ) elseif param ~= nil then return CDOTA_Ability_Lua.GetCustomCastErrorTarget( self, param ) else return CDOTA_Ability_Lua.GetCustomCastEr...
Lua
op //@param {plot_for_arc}- Store the path for handle function createBagHandles(agroup, plot_for_arc, plot_for_line, plot_for_y) { agroup.append("path") .attr("class", "sap_viz_ext_affinity_bagHandle") .attr("d", function(d, i) { return plot_for_arc[i]; }) .attr("transform", function(d, i) {...
JavaScript
using BlockParser; namespace MAPIInspector.Parsers { /// <summary> /// [MS-OXCFOLD] 2.2.1.7 RopMoveFolder ROP /// The RopMoveFolder ROP ([MS-OXCROPS] section 2.2.4.7) moves a folder from one parent folder to another parent folder. /// </summary> public class RopMoveFolderRequest : Block { ...
C#
_BIT,EGL_OPENVG_BIT,EGL_OPENGL_ES2_BIT and EGL_OPENGL_BIT. HEAP32[((value)>>2)]=0x0004; return 1; case 0x3042: // EGL_CONFORMANT // "EGL_CONFORMANT is a mask indicating if a client API context created with respect to the corresponding EGLConfig will pass the required conformance tests for ...
JavaScript
} // Not sign extending, so load as unsigned. uint16_t halfword = ReadH(addr, instr); set_register(rd, halfword); } else { Debugger dbg(this); dbg.Stop(instr); } } // void Simulator::DecodeTypeVFP(Instr* instr) // The Following ARMv7 VFPv instructions are currently supported. // vmov :Sn = ...
C++
sp.getInt(origin, 0) } fun removeSource(origin: String) { sp.all.keys.filter { it.startsWith(origin) }.let { sp.edit { it.forEach { remove(it) } } } } }@file:Suppress("unused") package io.le...
Kotlin
HA_CANCEL_EN_R(crate::FieldReader<bool, bool>); impl ADPLL_PHA_CANCEL_EN_R { #[inline(always)] pub(crate) fn new(bits: bool) -> Self { ADPLL_PHA_CANCEL_EN_R(crate::FieldReader::new(bits)) } } impl core::ops::Deref for ADPLL_PHA_CANCEL_EN_R { type Target = crate::FieldReader<bool, bool>; #[in...
Rust
THREAD_RV_REF(value_type) x); inline bool try_push(const value_type& x); inline bool try_push(BOOST_THREAD_RV_REF(value_type) x); inline bool try_push(no_block_tag, const value_type& x); inline bool try_push(no_block_tag, BOOST_THREAD_RV_REF(value_type) x); #endif inline void push_back(const value_t...
C++
ck_assert_ptr_eq(&test_array[i], eina_safepointer_get(ptr)); // We do guarantee that the two lower bit are always zero and will be internally ignored ck_assert_int_eq((((uintptr_t) ptr) & 0x3), 0); ptr = (void*)(((uintptr_t) ptr) | 0x3); ck_assert_ptr_eq(&test_array[i], eina_safepo...
C
)(mutationType)}.`, (_getOperationTypeNode2 = getOperationTypeNode(schema, _ast.OperationTypeNode.MUTATION)) !== null && _getOperationTypeNode2 !== void 0 ? _getOperationTypeNode2 : mutationType.astNode); } const subscriptionType = schema.getSubscriptionType(); if (subscriptionType && !(0, _definition.isObjectTyp...
JavaScript
diu $5,$5,1 .loc 1 1489 0 discriminator 1 sw $0,64($17) .loc 1 1488 0 discriminator 1 sw $4,4($3) sw $5,8($3) .loc 1 1489 0 discriminator 1 lw $3,4($2) sll $4,$fp,2 sll $fp,$fp,4 subu $fp,$fp,$4 addu $3,$3,$fp lw $3,4($3) addiu $4,$17,64 sw $3,68($17) lw $2,4($2) addu $2,$2,$fp lw $2,4($2) sw $17,0($2...
Assembly
tiled background + selection borders stuff private const double DashStrokeSize = 8; private DashStyle? dashStyle1, dashStyle2; private ImmutablePen? outlinePen1, outlinePen2; private ImmutablePen? selPen1, selPen2; private bool isProcessingAsyncDrop; private ImmutablePen? selectionPen; pub...
C#
lToken? cancelToken}) async { return await _apiService.post( url: NetConsts.BASE_URL + '/kana/producer', data: GenericPost(filters: ["search", "=", devName], fields: "name").toMap(), cancelToken: cancelToken, ); } Future<Response> fetchTags(String tagName, {CancelToken? cancelToken}) asyn...
Dart
nst query: string = new URLSearchParams( Object.keys(params).reduce( (acc, key): object => params[key] ? { ...acc, [key]: params[key] } : acc, {}, ), ).toString() const response = await fetch(`https://api.cnpja.com.br/${uri}?${query}`, { headers: { Au...
Typescript
1 0-2-.9-2-2V5c0-1.1.9-2 2-2h14c1.1 0 2 .9 2 2v14z\" fill=\"none\"/><path d=\"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM7.5 18c-.83 0-1.5-.67-1.5-1.5S6.67 15 7.5 15s1.5.67 1.5 1.5S8.33 18 7.5 18zm0-9C6.67 9 6 8.33 6 7.5S6.67 6 7.5 6 9 6.67 9 7.5 8.33 9 7.5 9zm4.5 4.5c-.83 0-1.5-.67-1....
C#
re { content: ""; position: absolute; z-index: 0; top: -1px; left: 0; width: 100%; height: 1px; background-image: -webkit-linear-gradient(bottom, #f5f5f5 50%, transparent 0); background-image: linear-gradient(0deg, #f5f5f5 50%, transparent 0); top: 0 } .yd-keyboard-numbers>li:last-child>a:last-chil...
CSS
// Copyright (c) 2017 Intel Corporation // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, pub...
C
# Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import torch import numpy as np from examples.textless_nlp.gslm.unit2speech.tacotron2.text import ( EOS_TOK, SOS_TOK, code_to_seq...
Python
,y, grows) grassBlocks:insert(vec2(x,y)) end end end end end end local dirindexes = table() for i=0,3 do dirindexes:insert((i&1)+2) end -- add some x dir growth for i=4,9 do dirindexes:insert((i&1)+0) end -- add more y dir growth for i=1,#grassBlocks * 4 do local r = grassBlocks:remo...
Lua
pub fn validate_cycle( cycle: &Cycle<3>, stores: &Stores, ) -> Result<(), StructuralIssues> { let mut missing_edges = HashSet::new(); for edge in &cycle.edges { let edge = edge.canonical(); if !stores.edges.contains(&edge) { missing_edges.insert(edge.clone()); } ...
Rust
DefaultRoutingRequest.withoutAttributes(fromFac, toFac, 7 * 3600, f.dummyPerson)); for (PlanElement leg : legs) { System.out.println(leg); } Assertions.assertEquals(3, legs.size(), "wrong number of legs."); Leg leg = (Leg) legs.get(0); Asserti...
Java
ads too, and those // come in on the m->g0 stack already. MOVD g_m(g), R6 MOVD m_g0(R6), R6 CMPBEQ R6, g, g0 BL gosave<>(SB) MOVD R6, g BL runtime·save_g(SB) MOVD (g_sched+gobuf_sp)(g), R15 // Now on a scheduling stack (a pthread-created stack). g0: // Save room for two of our pointers, plus 160 bytes of cal...
Assembly
-]{padding-right:15px!important}}/* Ticker Styling */ .ticker-wrapper.has-js { margin: 0; padding: 0px 20px; width: 480px; height: 32px; display: block; -webkit-border-radius: 15px; -moz-border-radius: 15px; border-radius: 15px; background-color: #3a6f9f; font-size: 0.75em; } .ti...
CSS
* 0.1f; Blick_Materials[7].SetFloat("Dissolve", disappearValue); } } yield return null; } Debug.Log(disappearValue + " disappearValue" + " blick_pos" + blick_pos); yield return null; } //미츄 만남! IEnumerator _Meet_BabyStar() ...
C#
12345678), message.Recipients.Items[0].Recipient) assert.Equal(t, 1, message.Recipients.Items[0].MessagePartCount) } func assertExtendedMessageObject(t *testing.T, message *Message) { assertMessageObject(t, message, "sent") assert.Equal(t, "Ukraine", *message.Recipients.Items[0].RecipientCountry) assert.Equal(t, ...
Go
013.378-.378a5.462 5.462 0 003.011 1.249v.533a.5.5 0 001 0v-.533a5.463 5.463 0 003.01-1.249l.379.378a.5.5 0 00.719-.695l-.012-.012-.378-.378A5.464 5.464 0 0012.965 8h.533a.5.5 0 000-1zm-5.5-3.948a4.45 4.45 0 012.293.948l-2.15 2.15a1.484 1.484 0 00-.143-.058v-3.04zm-1 0v3.04a1.484 1.484 0 00-.142.058l-2.15-2.15a4.45 4.4...
Dart
this.btnContinue.Size = new System.Drawing.Size(94, 27); this.btnContinue.TabIndex = 42; this.btnContinue.Text = "Continue"; this.btnContinue.UseVisualStyleBackColor = false; this.btnContinue.Click += new System.EventHandler(this.btnContinue_Click); // ...
C#
Segmentation</code> /// </li> /// <li> /// <code>arn:aws:lambda:us-east-2:266458841044:function:PRE-3DPointCloudSemanticSegmentation</code> /// </li> /// <li> /// <code>arn:aws:lambda:us-west-2:081040173940:function:PRE-3DPointCloudSemanticSegmentation</code> /// </li> /// <li> /// <code>arn:aws:lambd...
Dart
简洁和专业的来回答用户的问题。如果无法从中得到答案,请说 “根据已知信息无法回答该问题” 或 “没有提供足够的相关信息”,不允许在答案中添加编造成分,答案请使用中文。 问题是:{question}""" def generate_prompt(related_docs: List[str], query: str, prompt_template: str = PROMPT_TEMPLATE, ) -> str: # 将查询出的文本进行拼接 context = "\n".join([doc.page_content for doc in...
Markdown
["FFD300", "Cyber Yellow"], ["EEDC82", "Flax"], ["C5B358", "Vegas Gold"], ["FCE883", "Yellow Crayola"], ["E9D66B", "Arylide Yellow"], ["FFD700", "Gold Web Golden"], ["FFD800", "School Bus Yellow"], ["EFCC00", "Yellow Munsell"], ["665D1E", "Antique Bronze"], ["FFDF00", "Golden Ye...
Typescript
capture bool NoCapture = true; foreach (Move move in highestValueMoves) { Piece capturedPiece = board.GetPiece(move.TargetSquare); if (capturedPiece.PieceType != PieceType.None) NoCapture = false; } if (NoCapture) return tradeValue; //stop...
C#
glabel func_80024B00 /* A9BCA0 80024B00 27BDFFA0 */ addiu $sp, $sp, -0x60 /* A9BCA4 80024B04 AFB50058 */ sw $s5, 0x58($sp) /* A9BCA8 80024B08 AFB10048 */ sw $s1, 0x48($sp) /* A9BCAC 80024B0C 00808825 */ move $s1, $a0 /* A9BCB0 80024B10 AFBF005C */ sw $ra, 0x5c($sp) /* A9BCB4 80024B14 AFB40054 */ sw $...
Assembly
) resp.ErrCount++ continue } } resp.SuccCount++ } return &resp, nil } package devicegrouplogic import ( "context" "gitee.com/unitedrhino/share/ctxs" "gitee.com/unitedrhino/share/utils" "gitee.com/unitedrhino/things/service/dmsvr/internal/logic" "gitee.com/unitedrhino/things/service/dmsvr/internal...
Go
eSelf) were // handled above. We have invalid UTF-8 or we haven't seen the // full character yet. if !atEOF && !utf8.FullRune(src[nSrc:]) { err = transform.ErrShortSrc break } } } if r <= 0xffff { if nDst+2 > len(dst) { err = transform.ErrShortDst break } dst[nDst+0] =...
Go
'status': status, 'parent_file_id': parentFileId, 'upload_id': uploadId, 'file_name': fileName, 'available': available, 'exist': exist, 'rapid_upload': rapidUpload, 'part_info_list': partInfoList?.map((e) => e.toJson()).toList(), }; } class UploadU...
Dart
compilingDelaySlot) return false; const u32 opcode_encoded = iopMemRead32(psxpc); if (opcode_encoded == 0) { psxRecompileNextInstruction(true, true); return true; } const u32 opcode_rs = ((opcode_encoded >> 21) & 0x1F); const u32 opcode_rt = ((opcode_encoded >> 16) & 0x1F); const u32 opcode_rd = ((opcode...
C++
.Schema{ "vdomparam": &schema.Schema{ Type: schema.TypeString, Optional: true, ForceNew: true, Computed: true, }, "fosid": &schema.Schema{ Type: schema.TypeInt, ForceNew: true, Optional: true, Computed: true, }, "source": &schema.Schema{ Type: schema.Ty...
Go
/* * Copyright (C) 2005 - 2013 MaNGOS <http://www.getmangos.com/> * * Copyright (C) 2008 - 2013 Trinity <http://www.trinitycore.org/> * * Copyright (C) 2006 - 2013 ScriptDev2 <http://www.scriptdev2.com/> * * Copyright (C) 2010 - 2013 ProjectSkyfire <http://www.projectskyfire.org/> * * Copyright (C) 2011 - 2013...
C
_S = "Esiste già una squadra d'arena chiamata \"%s\"."; ERR_ARENA_TEAM_NAME_INVALID = "Questo nome contiene caratteri non validi. Digitane uno nuovo."; ERR_ARENA_TEAM_NOT_ALLIED = "Non puoi invitare personaggi della fazione opposta."; ERR_ARENA_TEAM_NOT_FOUND = "Questa squadra d'arena è ora offline."; ERR_ARENA_TEAM_PA...
Lua
tructor = refundImpl.constructors.first() val param1Clazz = constructor.parameterTypes.first() val viewProxy = Proxy.newProxyInstance( AppRuntime.classLoader, arrayOf(param1Clazz) ) { _, method, args -> if (meth...
Kotlin
1.22L15 18v-5h1.5v4.25M23 17c0 3.87-3.13 7-7 7c-1.91 0-3.63-.76-4.89-2H6c-1.11 0-2-.89-2-2V4a2 2 0 0 1 2-2h1v7l2.5-1.5L12 9V2h6a2 2 0 0 1 2 2v7.26c1.81 1.27 3 3.36 3 5.74m-2 0c0-2.76-2.24-5-5-5s-5 2.24-5 5s2.24 5 5 5s5-2.24 5-5Z"/>'},"book-clock-outline":{body:'<path fill="currentColor" d="M20 11.26V4a2 2 0 0 0-2-2H6a...
JavaScript
lua.set_function("incdec", lua_incdec)?; Ok(()) }) } #[lua_function] fn lua_new(seed: LuaInt) -> DefaultGenerator { DefaultGenerator(RandDefaultGenerator::with_seed(seed)) } #[lua_function] fn lua_rnd(self_: &mut DefaultGenerator, n: LuaInt) -> LuaInt { self_.0.rnd(n) } #[lua_function] f...
Rust
decoder.convertChunked(codeUnits, startIndex, endIndex)); if (isLast) close(); } } /// Decodes UTF-8 code units. /// /// Forwards the decoded strings to the given [StringConversionSink]. // TODO(floitsch): make this class public? class _Utf8ConversionSink extends ByteConversionSink { final _Utf8Decoder _decode...
Dart
hash, sha); if lb == 0 { return false; } for i in 0..lb { k0[i] = 0 } if k.len() > lb { SPhashit(hash, sha, &mut b, Some(k)); //GPhashit(hash, sha, &mut b,0,0,k, 0, None); for i in 0..sha { k0[i] = b[i] } } else { for i in 0.....
Rust
-4.3281, 12.491 , 2.4478, 1.305 , 0.8559, 0.6145, 0.4515, 0.3359, 0.2477, 0.1709, 0.103 , 0.0433, -0.0207, -0.0795, -0.1584, -0.2495, -0.3742, -0.5962, -1.1738, 39.6196, 0.6712}; DiscreteFourier fft1 = new DiscreteFouri...
Java
EOPLATFORM_SBUCODESYSTEM_ABILITY 0x211 //Ƶۺƽ̨ϵͳ #define WALL_ABILITY 0x212 //ǽ #define MATRIX_ABILITY 0x213 //SDI #define DECODECARD_ABILITY 0x220 //뿨 #define VIDEOPLATFORM_ABILITY_V40 0x230 //Ƶۺƽ̨ #define MATRIXMANAGEDEVICE_ABILITY 0x24...
C
lhs.x).compareTo(rhs.y + rhs.x) } val diffComparator: Comparator<Point> = Comparator<Point> { lhs, rhs -> (lhs.y - lhs.x).compareTo(rhs.y - rhs.x) } // top-left corner = minimal sum result[0] = Collections.min(srcPoints, sumComparator) // bottom-right corner = maximal sum resul...
Kotlin
First(":", "时")+"分"; }else if(date.length()==19){ //yyyy-MM-dd HH:mm:ss s = date.replaceAll("-0", "-").replaceFirst("-", "年").replaceFirst("-", "月").replaceAll(" 0", " ").replaceFirst(" ", "日").replaceAll(":0", ":").replaceFirst(":", "时").replaceFirst(":", "分")+"秒"; } s = s.replaceAll("0[时分秒]", ""); //...
Java
V> implements java.util.concurrent.ConcurrentMap<K, V>, java.io.Serializable", "<K:Ljava/lang/Object;V:Ljava/lang/Object;>Ljava/util/AbstractMap<TK;TV;>;Ljava/util/concurrent/ConcurrentMap<TK;TV;>;Ljava/io/Serializable;", fullOptions ), Triple( "<T, R extends T>", "<T:Ljava...
Kotlin
8, 52768 } }, [17369] = { id = 17369, base = 17360, max_hp = 124, hp_growth = 4776, weapon_ID = { 50669, 52769 } }, [17370] = { id = 17370, base = 17360, max_hp = 132, hp_growth = 5080, weapon_ID = { 50670, 52770 } }, [17371] = { id = 17371, base = 17360, max_hp = 14...
Lua
limitations under the License. */ package boofcv.alg.transform.pyramid; import boofcv.abst.filter.convolve.ConvolveDown; import boofcv.factory.filter.convolve.FactoryConvolveDown; import boofcv.struct.border.BorderType; import boofcv.struct.convolve.Kernel1D; import boofcv.struct.image.ImageBase; import boofcv.stru...
Java
ndle.gradientPoint = p; // eval point locations var box = handle.colorBox; box.width = handleSize; box.height = handleSize; var x = p.t * this.width; box.setCenterX(x); box.y = this.height - handleSize; return handle; } public el() { ...
Typescript
/// that contains the GroupsListBox, or to a track, when a track with track_ID equal to entity_id /// is present and the GroupsListBox is contained in the file level. /// </summary> public uint[] entities; /// <summary> /// Text summary of the box. /// </summa...
C#
*/ addGameStateChangeObserver(observer: GameStateChangeObserver): void; /** * @param {GameStateChangeObserver} observer */ removeGameStateChangeObserver(observer: GameStateChangeObserver): void; /** * @param {GameStateChangeEvent} event */ notifyGameStateChangeObservers(event: GameStateChangeEve...
Typescript
--亜空間バトル --Subspace Battle local s,id=GetID() function s.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --Each player reveals 3 monsters in their Deck local e2=Effect.CreateEffect(c) e2:SetCategory(CATEGORY_TOHAND+C...
Lua
t __attribute__((aligned(1))) ufbxi_unaligned_u64; typedef float __attribute__((aligned(1))) ufbxi_unaligned_f32; typedef double __attribute__((aligned(1))) ufbxi_unaligned_f64; typedef uint32_t __attribute__((may_alias)) ufbxi_aliasing_u32; #elif !defined(UFBX_STANDARD_C) && defined(_MSC_VER) #define UFBXI_HAS_UNA...
C++
_failed()) // throwing is disabled then { type(Jnode::Jtype::Neither); return *this; } if(is_neither()) // parsing could not classify node THROW_EXP(Jnode::ThrowReason::expected_json_value, *this) DBG(1) DOUT() << "finished ...
C++
float maxDistance) const override; virtual bool anyHit(const Ray& ray, float minDistance, float maxDistance) const override; virtual void closestHits(int numRays, const Ray* rays, const float* ...
C
ndle, .menu .popup-sub-menu StScrollBar StBin#trough, .menu .popup-sub-menu StScrollBar StBin#vhandle, .popup-combo-menu .popup-sub-menu StScrollBar StBin#trough, .popup-combo-menu .popup-sub-menu StScrollBar StBin#vhandle { border-width: 0; } .popup-menu .popup-menu-content, .menu .popup-menu-content, .popup-combo-m...
CSS
s utf8 Accepts UTF8 regular-expressions and documents dna Accepts DNA base ASCII files help Print this message or the help of the given subcommand(s) Options: --commit --prove --verify --e2e --cmt-name <FILE> Optional name for .cmt file --proof-name <FILE> Optiona...
Markdown
讨", "晚", "粒", "乱", "燃", "矛", "乎", "杀", "药", "宁", "鲁", "贵", "钟", "煤", "读", "班", "伯", "香", "介", "迫", "句", "丰", "培", "握", "兰", "担", "弦", "蛋", "沉", "假", "穿", "执", "答", "乐", "谁", "顺", ...
Dart
o, qore_classid_t cid, ExceptionSink* xsink) : ReferenceHolder<T>(reinterpret_cast<T*>(o->getReferencedPrivateData(cid, xsink)), xsink) { } //! assigns a new pointer to the holder, dereferences the current pointer if any DLLLOCAL void operator=(T *nv) { if (this->p) this->p->deref(this...
C
RetrieveAppByTeamIDAndAppID(teamID, appID) if errInRetrieveApp != nil { controller.FeedbackBadRequest(c, ERROR_FLAG_CAN_NOT_GET_APP, "get app failed: "+errInRetrieveApp.Error()) return } performanceTimerEnd0_3 := time.Now().UnixMilli() fmt.Printf("[timer] phrase 0_3: %d ms\n", -(performanceTimerEnd0_2 - perfor...
Go
throw new Error('vue router not created'); } return this.router; } } class SuperClass { //... someMethod() { let i:number = 0 let CONDITION:number = 24 // Example while(i >= CONDITION) { // Do something i++ } } //.... } class SubClass extends SuperClass...
Typescript
val XK_Sinh_ng = 0x1000d82 /* U+0D82 SINHALA ANUSVARAYA */ val XK_Sinh_h2 = 0x1000d83 /* U+0D83 SINHALA VISARGAYA */ val XK_Sinh_a = 0x1000d85 /* U+0D85 SINHALA AYANNA */ val XK_Sinh_aa = 0x1000d86 /* U+0D86 SINHALA AAYANNA */ val...
Kotlin
( self ) -> i32 { self } } impl AsNumber for Struct1 { fn make( src : i32 ) -> Self { Struct1 { a : src } } fn as_number( self ) -> i32 { self.a } } #![allow(non_camel_case_types)] #![allow(clippy::upper_case_acronyms)] use littlefs2::consts; // TODO: this needs to be overridable. // Shou...
Rust
await?; let (other_view_ref, mut other_listener) = helper.create_fake_client().await?; // Set focus to the first fake client. helper.service.handle_focus_change(scenic::duplicate_view_ref(&view_ref)?).await; // Scope part of the test case to release listeners and borrows once done. ...
Rust
.ret),e.ret=function(e){var A=Z(e)+1,i=qe(A);return i&&I(e,Q,i,A),i}(Me[A])):0)},_gettimeofday:function(e){var A=Date.now();return z[e>>2]=A/1e3|0,z[e+4>>2]=A%1e3*1e3|0,0},_llvm_ceil_f64:Ve,_llvm_fabs_f32:Fe,_llvm_fabs_f64:Je,_llvm_floor_f64:Ne,_llvm_pow_f64:Xe,_llvm_sqrt_f32:Re,_llvm_sqrt_f64:He,_llvm_trap:function(){...
JavaScript
{ invalid_argument("recv not implemented"); } CAMLprim value unix_recvfrom(value sock, value buff, value ofs, value len, value flags) { invalid_argument("recvfrom not implemented"); } CAMLprim value unix_send(value sock, value buff, value ofs, value len, value fl...
C
else { endkey = new(ptr)ObRowkey(tmp_obj_array, column_num); meta_info.endkey_list_.push_back(endkey); } } if(tmp_buf) { ob_free(tmp_buf, ObModIds::OB_MEM_BUFFER); tmp_buf = NULL; } if(column_num != meta_info.column_num_) { ...
C++
.PartialUpdateInstancePayload(mongodbflex.PartialUpdateInstancePayload{ Name: model.InstanceName, Acl: payloadAcl, BackupSchedule: model.BackupSchedule, FlavorId: flavorId, Replicas: replicas, Storage: payloadStorage, Version: model.Version, Options: ...
Go
Matrix operations** &#10230; 行列演算 <br> **13. Multiplication** &#10230; 行列乗算 <br> **14. Vector-vector ― There are two types of vector-vector products:** &#10230; ベクトル-ベクトル - ベクトル-ベクトル積には2種類あります。 <br> **15. inner product: for x,y∈Rn, we have:** &#10230; 内積: x,y∈Rn に対して、内積の定義は下記の通りです: <br> **16. outer product: fo...
Markdown
make the emitter represent a single event type. Then we can parametrize // it with payload type easily, and we still can group events into // EventEmitter-like entities using regular structs. extern crate event_emitter; use event_emitter::Event; #[derive(Default)] struct AppEvents { click: Event<(i32, i32)>, ...
Rust
println!("inputs {:?} self.input_order {:?}", inputs, self.input_order); match inputs.len() { 1 => { let main_input = inputs.values_mut().next().unwrap(); let theta_c = 2.0 * std::f32::consts::PI * self.cutoff / self.sr as f32; let d = 1.0 / self.q; ...
Rust
64a32 32 0 0 0 32 32h448a32 32 0 0 0 32-32v-64a32 32 0 0 0-32-32zm-112 88a24 24 0 1 1 24-24 24 24 0 0 1-24 24zm64 0a24 24 0 1 1 24-24 24 24 0 0 1-24 24z","M456 256a24 24 0 1 0-24 24 24 24 0 0 0 24-24zm24-224H32A32 32 0 0 0 0 64v64a32 32 0 0 0 32 32h448a32 32 0 0 0 32-32V64a32 32 0 0 0-32-32zm-112 88a24 24 0 1 1 24-24 2...
JavaScript