content
stringlengths
2
6.21k
label
stringclasses
16 values
@Output() value_clicked: any = new EventEmitter(); counter: any = 0; selectedName: string; constructor() { } ngOnInit() { } add (e):void { this.counter ++; console.log(e); this.generateEvent(e); } less (e):void { this.counter --; if(this.counter < 0) this.counter =0; co...
Typescript
range tests { t.Run(tt.name, func(t *testing.T) { m := &Manager{} key, server, err := m.findMCPByName(settings, tt.searchName) if tt.wantFound { if err != nil { t.Errorf("findMCPByName() error = %v, want found", err) } if key != tt.wantKey { t.Errorf("findMCPByName() key = %s, want %...
Go
utils.getMeasurement)(value); return (0, _html_utils.measureToString)(0.99 * value); }], ["letter-spacing", value => (0, _html_utils.measureToString)((0, _utils.getMeasurement)(value))], ["line-height", value => (0, _html_utils.measureToString)((0, _utils.getMeasurement)(value))], ["margin", value => (0, _html_utils....
JavaScript
/** * @throws Exception if an error occurs */ @Test @Alerts("C:\\fakepath\\pom.xml") public void getAttribute() throws Exception { final String html = DOCTYPE_HTML + "<html><body>\n" + " <input type='file' id='f'>\n" + "</body></html>"; ...
Java
cification); var vm = new CatalogIndexViewModel() { CatalogItems = itemsOnPage.Select(i => new CatalogItemViewModel() { Id = i.Id, Name = i.Name, PictureUri = _uriComposer.ComposePicUri(i.PictureUri), Price = i.Pric...
C#
if type( i ) == "table" and tables[i[1]] then table.insert( tolinki,{ i,tables[i[1]] } ) end end -- link indices for _,v in ipairs( tolinki ) do tables[idx][v[2]],tables[idx][v[1]] = tables[idx][v[1]],nil end end return tables[1] end --------------...
Lua
(), m.m11.ToFix64(), m.m12.ToFix64(), m.m13.ToFix64(), m.m20.ToFix64(), m.m21.ToFix64(), m.m22.ToFix64(), m.m23.ToFix64(), m.m30.ToFix64(), m.m31.ToFix64(), m.m32.ToFix64(), m.m33.ToFix64()); } public static BEPUutilities.Quaternion ToFix64(this UnityEngine.Quate...
C#
: false, value: "C", }); expect(it.next()).to.eql({ done: false, value: "D", }); expect(it.next().done).to.eql(true); }); });// tslint:disable:no-this no-expression-statement /** * A basic interface for recieving formatted logs, intended for eit...
Typescript
, 'a'], [2, 'b'], [2, 'c']] ); // 3D matrix expect(Arr.crossJoin([1, 2], ['a', 'b'], ['I', 'II', 'III'])).toEqual( [ [1, 'a', 'I'], [1, 'a', 'II'], [1, 'a', 'III'], [1, 'b', 'I'], [1, 'b', 'II'], [1, 'b', 'III'], [2, 'a', 'I'], [2, 'a'...
Typescript
.9g(d,2*b*(e+1)),h,g=0;1d p=0*b;1j(h=0;h<b-1;h++)f[g++]=h+p,f[g++]=h+p+1;f[g++]=b-1+p;f[g++]=p;p=(e-1)*b;1j(h=0;h<b-1;h++)f[g++]=h+p,f[g++]=h+p+1;f[g++]=b-1+p;f[g++]=p;1j(p=0;p<e-1;p++){1d n=b*p,z=n+b;1j(h=0;h<b;h++)f[g++]=h+n,f[g++]=h+z}1f 1g Pb({2y:c,4N:Ga.9g(d,f),7t:P.1Nz(a),6Z:Ka.1ap})}};1d 5fS=1L.3F({8LB:"4Ub",8LA...
JavaScript
atsPageState(); } } class _ChatsPageState extends State<ChatsPage> { late double _deviceHeight; late double _deviceWidth; late AuthenticationProvider _auth; late NavigationService _navigation; late ChatsPageProvider _pageProvider; @override Widget build(BuildContext context) { _deviceHeight = Med...
Dart
png" style="max-width: 500px;"/> 在三维空间也是一样的道理,如下图,我就不做重复的解释,唯一不同的是,每一个向量由 x/y/z 三个数字组成的坐标来表示: <img src="../../asset/img/3.png" style="max-width: 500px;"/> 对于向量,你只需要知道它是“空间中的箭头”或者“有序的数字列表”这就足够了,怎么样?不难理解吧,我们继续往下看,在坐标系中存在一种特殊的向量,我们称之为 *基向量*。 #### 基向量 基向量,也叫单位向量,是单位长度为1的向量,如下图中:`i帽` 和 `j帽` 就是这个二维坐标系的基向量: <img src=".....
Markdown
def f(num): res = set() for i in range(2, int(num**0.5)+1): if num%i==0: res |= {i, num//i} res = sorted(res) summ = sum(res) comb = 1 for i in res: comb *= i if summ%2==1 and comb%2==1: if len(res)>10: return len(res) return 0 cnt = 0 for...
Python
i::RunTimeEndian> = &|section| gimli::EndianSlice::new(&*section, endian); let dwarf = dwarf_cow.borrow(&borrow_section); // Create `EndianSlice`s for all of the sections. let mut units = dwarf.units(); while let Some(header) = units.next()? { let unit = dwarf....
Rust
EventHandler('DE_faction:server:Uncuff', function(target, heading, coords, location) TriggerClientEvent('DE_faction:Uncuff:Player', target, heading, coords, location) TriggerClientEvent('DE_faction:Uncuff:Police', source) end) RegisterNetEvent('DE_faction:server:PDDrag') AddEventHandler('DE_faction:server:PDDr...
Lua
vKWlJbYK8U90vvo/ufQJVtMVT8QtPHRh8jrdkPSHCa 2XV4cdFyQzR1bldZwgJcJmApzyMZFo6IQ6XU5MsI+yMRQ+hDKXJioaldXgjUkK642M4UwtBV8ob2 xJNDd2ZhwLnoQdeXeGADbkpyrqXRfboQnoZsG4q5WTP468SQvvG5 -----END CERTIFICATE----- Amazon Root CA 2 ================ -----BEGIN CERTIFICATE----- MIIFQTCCAymgAwIBAgITBmyf0pY1hp8KD+WGePhbJruKNzANBgkqhkiG9w...
Go
sion, current API (built specifically for our Python): for abi in abis: for arch in platforms: supported.append(('%s%s' % (impl, versions[0]), abi, arch)) # abi3 modules compatible with older version of Python for version in versions[1:]: # abi3 was introduced in Python 3.2 ...
Python
冰鳞护手", }, [9246] = { ["D"] = "谢谢你与欧玛利安,愿他安息。我现在能制作冰鳞胸甲了,你只需要替我找来制作材料,以及支付一些工匠费就可以了。", ["O"] = "东瘟疫之地圣光之愿礼拜堂的铁匠维尔海姆需要你带给他8个冰冻符文,24个厚蝎鳞,7个水之精华 ,5块熟化毛皮,还有300金。同时你必须在银色黎明达到崇拜声望值,才能完成这项任务。", ["T"] = "冰鳞胸甲", }, [9247] = { ["D"] = "$N,$B$B在过去的日子里,你尽心尽力地为银色黎明做出了杰出的贡献。现在,在这紧要关头,我们再次发出号召。$B$B$N,如果你愿意伸出援手,...
Lua
points = np.stack([p1, p2]) print(points.shape) x = points[:, 0] y = points[:, 1] z = points[:, 2] # draw lines from the first vertex to second lines = [[0, 1]] ipv.plot_trisurf(x, y, z, lines=lines, color=color) def plot_box(corner1=(0.1, 0.1, 0.1), corner2=(0.5, 0.5, 0.5), color='red'...
Python
KeyDefine; import org.dromara.visor.module.monitor.entity.domain.AlarmEventDO; import org.dromara.visor.module.monitor.entity.dto.AlarmPolicyAlarmCountDTO; import org.dromara.visor.module.monitor.entity.po.AlarmEventCountPO; import org.dromara.visor.module.monitor.entity.request.alarm.AlarmEventClearRequest; import org...
Java
31103.json) * [Orange Pineapple Carrot Cake](../../index/o/orange-pineapple-carrot-cake-106437.json) * [Parsnip And Carrot Chips](../../index/p/parsnip-and-carrot-chips-51145000.json) * [Picante Jicama And Roasted Carrot Salad With Creamy Basil Dressing](../../index/p/picante-jicama-and-roasted-carrot-salad-with-cre...
Markdown
曲:<a href="./D.watt.md" title="D.watt">D.watt</a><br>演唱:<a href="./ビートまりお.md" title="ビートまりお">ビートまりお</a><br>作词:<a href="./D.watt.md" title="D.watt">D.watt</a><br>原曲:<a href="./おてんば恋娘.md" class="mw-redirect" title="おてんば恋娘">おてんば恋娘</a><br></dd></dl></td></tr></tbody></table> ### CHUNITHM AMAZON <table><tbody><tr><th co...
Markdown
if (newarg != "") { argsList.push(newarg); } } continue; } lockoutallList.push(overrideArgs); } else { //allow "all" to add all matching cams let match = camName.match(/(\w*?)all\W*/i); if (match){ let basename = helper.cleanName(match[1]); ...
JavaScript
XRDepthSensing.Version, false ); export class File { // The ability used to read and write data. private static dummyAbility: number = FourCC("Amls"); // The string limit per Preload call. private static preloadLimit = 259; private constructor() { } /** * Character we use for escape...
Typescript
- 1) { return text.length } return getIndexForLine(lineNumber + 1) - 1 } fun getLineForIndex(index: Int): Int { var first = 0 var last = lineCount - 1 while (first < last) { val mid = (first + last) / 2 if (index < getIndexForLine(mid)...
Kotlin
] = {"Emissaire du Crépuscule",nil}, [57228] = {"Suivante de la Lieuse-de-vie",nil}, [57229] = {"Scribe de Yu’lon",nil}, [57230] = {"Assistant du gardien des parchemins",nil}, [57231] = {"Portail du Crépuscule",nil}, [57232] = {"Phalène tacheté",nil}, [57233] = {"Brise-siège du Crépuscule",nil}, [57237] = {"Ver biblivo...
Lua
ock_size = f['loadfs_block_size'] # This should be done better expected_text = 'FPGA loaded successfully' output = u_boot_console.run_command('fpga loadfs %x %x %x %x %s && echo %s' % (dev, addr, bit_size, block_size, bit, expected_text)) assert expected_text in output @pytest.mark.buildconfigspec('cm...
Python
bleForTesting import com.android.internal.util.Preconditions import com.android.systemui.Dumpable import com.android.systemui.broadcast.logging.BroadcastDispatcherLogger import com.android.systemui.util.indentIfPossible import java.io.FileDescriptor import java.io.PrintWriter import java.util.concurrent.Executor import...
Kotlin
t_nameConflicts_0.d.ts] import im = require('./declarationEmit_nameConflicts_1'); export declare module M { function f(): void; class C { } module N { function g(): void; interface I { } } export import a = M.f; export import b = M.C; export import c = N; expo...
JavaScript
// SPDX-License-Identifier: GPL-2.0 /* Display a menu with individual samples to browse with perf script */ #include "hist.h" #include "evsel.h" #include "hists.h" #include "sort.h" #include "config.h" #include "time-utils.h" #include "../util.h" #include "../../util/util.h" // perf_exe() #include "../../perf.h" #inclu...
C
using System.Diagnostics; using u32 = System.UInt32; namespace winPEAS._3rdParty.SQLite.src { using sqlite3_stmt = CSSQLite.Vdbe; public partial class CSSQLite { /* ** 2003 April 6 ** ** The author disclaims copyright to this source code. In place of ** a legal notice, here is a blessing: ...
C#
método quita un vehículo de alguno de los vectores que contiene una lista * de vehículos de una clase determinada. * @param vehiculo es el vehiculo que se quiere eliminar, puede que no este en el vector */ quitar_vehiculo(vehiculo: Moto | Coche | Guagua | Tren | Bicicleta | Patinete | Peaton ) { if (vehi...
Typescript
/* This file is part of the VeriFactu (R) project. Copyright (c) 2024-2025 Irene Solutions SL Authors: Irene Solutions SL. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Affero General Public License version 3 as published by the Free Softwar...
C#
01 00 14 */ stw r0, 0x14(r1) /* 80316AD8 00312738 4B FE E6 39 */ bl VFipf_strcmp /* 80316ADC 0031273C 7C 03 00 D0 */ neg r0, r3 /* 80316AE0 00312740 7C 00 1B 78 */ or r0, r0, r3 /* 80316AE4 00312744 54 03 0F FE */ srwi r3, r0, 0x1f /* 80316AE8 00312748 80 01 00 14 */ lwz r0, 0x14(r1) /* 80316AEC 0031274C 7C 08 03...
Assembly
ngineWord>(); int maxNumberOfWords = words.length; if (renderOptions.maxNumberOfWordsToDraw >= 0) { maxNumberOfWords = Math.min(maxNumberOfWords, renderOptions.maxNumberOfWordsToDraw); } for (int i = 0; i < maxNumberOfWords; i++) { Word word = words[i]; ...
Java
y, txs, rl.White) if rl.CheckCollisionPointRec(cursorV2, rec2) { if savenum != 0 { rl.PlaySound(audfx[40]) } savenum = 0 if inpL { if delsave && delsaveNum == 1 { clearsave(1) delsave = false rl.PlaySound(audfx[43]) delsaveNum = 0 } else if delsave && delsaveNum != 1 { delsave = f...
Go
, int z, Material substratumMaterial, Material stratumMaterial, int stratumY, Material subsurfaceMaterial, int subsurfaceY, Material surfaceMaterial, boolean surfaceCaves) { // make the base chunk.setBlock(x, bottomOfWorld, z, substratumMaterial); chunk.setBlock(x, bottomOfWorld + 1, z, stratumMaterial); ...
Java
(); if (requestLine == null) { this.request.pseudoResponse("HTTP/1.1 400 Bad Request", ""); return false; } if (debugging) { RequestLogger.updateDebugLog("-----From Browser-----"); RequestLogger.updateDebugLog(requestLine); } if (tracing) { RequestLogger.trace("From ...
Java
-0.2,-1.2 -0.2,-0.6 0.1,-3.1 -1.3,-4.1 2.1,-2.2 1.2,-2.5 -0.5,-1.1 0.5,-2.2 -0.1,-3.3 -4.9,-2 -0.4,-1.3 5.7,-1.9 0.9,1.1 1.3,-0.4 -0.2,2.9 1.7,1.3 1.3,-1 0.1,-2.7 z", "CR" : "m 176.13,196.89 0.4,0.8 1.7,1.8 -0.9,2.3 0,0 -0.3,-0.5 -5.1,-3.3 0.3,-1.4 2.6,0.2 z m 1.5,5.6 -0.3,-0.6 0,-0.1 0,0 z", ...
JavaScript
= true; break; case pc.KEY_W: case pc.KEY_UP: this.upKeyPressed = true; break; case pc.KEY_S: case pc.KEY_DOWN: this.downKeyPressed = true; break; } }, this); this.app.keyboar...
JavaScript
bfffffff, 0x7ffffffe, TRUE, TRUE, 0) OR1K_DELAYED_NOP(l.j _add_except_done) _add_aecsr: LOAD_STR (r3, " ** OVE flag set **\n") OR1K_DELAYED_NOP(l.jal _puts) LOAD_STR (r3, " ** AECR set to 0 **\n") OR1K_DELAYED_NOP(l.jal _puts) /* Check that range exceptions are triggered */ l.mfsp...
Assembly
e d-cache disabled * until this is solved. */ if (mvebu_soc_family() != MVEBU_SOC_A375) { /* Enable D-cache. I-cache is already enabled in start.S */ dcache_enable(); } } void v7_outer_cache_enable(void) { if (mvebu_soc_family() == MVEBU_SOC_AXP) { struct pl310_regs *const pl310 = (struct pl310_regs *)...
C
amespace_info.slug == "test-slug" assert namespace_info.owner_id == "user-123" assert namespace_info.description == "Test description" assert namespace_info.is_active is True # Test with minimal required fields minimal_namespace = NamespaceInfo( id="minimal", ...
Python
.Available(), rb.w, rb.r) assert.EqualValuesf(t, []byte{'a', 'b', 'c'}, rb.Bytes(), "expect a but got %s. r.w=%d, r.r=%d", rb.Bytes(), rb.w, rb.r) // check empty or full assert.False(t, rb.IsEmpty(), "expect IsEmpty is false but got true") assert.False(t, rb.IsFull(), "expect IsFull is false but got true") // rea...
Go
ещаться между элементами в пути элементов нижнего колонтитула.</li>\n' + '</ul>\n' + '\n' + '<p>Клавиши со стрелками <strong>вниз</strong> и <strong>вверх</strong> позволяют</p>\n' + '\n' + '<ul>\n' + ' <li>перемещаться между элементами одного меню.</li>\n' + ' <li>перемещаться между элементами всплываю...
JavaScript
250Sbenable => 'Aktiver'; @override String get settings250Sb2fa250Sbwrong8722Sbotp => 'Forkert en-tid kodeord.'; @override String get settings250Sbapi8722Sbkey250Sbcopy8722Sbtooltip => 'Kopi til udklipsholder'; @override String get settings250Sbapi8722Sbkey250Sbdelete8722Sbtooltip => 'Slet og udløbe akti...
Dart
;position:relative}.el-tabs__item:focus,.el-tabs__item:focus:active{outline:0}.el-tabs__item:focus.is-active.is-focus:not(:active){-webkit-box-shadow:0 0 2px 2px #409EFF inset;box-shadow:0 0 2px 2px #409EFF inset;border-radius:3px}.el-tabs__item .el-icon-close{border-radius:50%;text-align:center;-webkit-transition:all ...
CSS
('telegram'); expect(chat.botId).toBe(12345); expect(chat.id).toBe(67890); expect(chat.type).toBe('private'); expect(chat.data).toEqual({ id: 67890, type: 'private', username: 'johndoe', first_name: 'John', last_name: 'Doe', }); expect(chat.uid...
Typescript
].piece != empty) if (Board[square].color == Player) RootValue += PiecePosVal(Board[square].piece, Player, square); else RootValue -= PiecePosVal(Board[square].piece, Opponent, square); } /**********...
C++
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2; -*- */ /* 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 distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #ifndef mozilla_devtools_FileDes...
C
'', '', '', '', '', '', '1', '', '', '', '[{"id":9909002,"pos":2,"enter":2}]', '', '1', '', '', '', '', '', '', '', '', '1033618', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''}, {'1033618', '', '尽管被宽大的斗篷遮蔽了身形,但仍然能辨认出这是一名少女。', '', '', '', '', '', '', '', '', '', '', '', '', '1', '', '', '', '', '', '1'...
Lua
oid *state, gsl_multimin_function_fdf * fdf, const gsl_vector * x, double * f, gsl_vector * gradient, double step_size, double tol); int (*iterate) (void *state,gsl_multimin_function_fdf * fdf, gsl_vector * x, double * f, gsl_vector * gradient, gsl_vecto...
C
�体上属于安全研究范畴,具有潜在的风险。 #### 🔍 关键发现 | 序号 | 发现内容 | |------|----------| | 1 | 仓库旨在绕过OTP验证。 | | 2 | 目标平台包括Telegram、Discord、PayPal等。 | | 3 | 利用OTP安全系统中的漏洞。 | | 4 | 更新可能涉及改进绕过方法或新的POC。 | #### 🛠️ 技术细节 > 该工具可能包含针对不同平台的特定绕过技术。 > 可能利用了OTP验证系统中的设计缺陷或实现漏洞。 > 具体的技术细节取决于更新内容,例如针对PayPal的绕过可能涉及短信拦截或SIM卡交换攻击。 #### 🎯 受影响组件 ```...
Markdown
--------------------------------\\ #region --Set-, Get- Methods-- #endregion //--------------------------------------------------------Misc Methods:---------------------------------------------------------------\\ #region --Misc Methods (Public)-- public void UpdateViewModel(De...
C#
rc(ercSocCantLoadMelanieDoc); goto LEnd; } Assert(_pmvie != pvNil, "FLoadMovie lied to us"); /* Make sure the autosave file's been switched to a temp file */ if (!_pmvie->FEnsureAutosave()) goto LEnd; /* Tell the movie to forget about the original file */ _pmvie->ForceSaveAs(); fLoaded = fTrue; LEnd: vp...
C++
rMessage}\"")); } }); } }, new ReAvatar(apiAvatar)); if (_favoriteAvatarList.AvatarPedestal.field_Internal_ApiAvatar_0.id == apiAvatar.id) { if (!HasAvatarFavorited(apiAvatar.id)) { ...
C#
AllocationStorehouseApplyInfo)); } } /** * 查询调拨申请信息 * * @param info bId 信息 * @return 调拨申请信息 * @throws DAOException DAO异常 */ @Override public List<Map> getBusinessAllocationStorehouseApplyInfo(Map info) throws DAOException { logger.debug("查询调拨申请信息 入参 info ...
Java
22734: ebf58611 bl 0xffd83f80 22738: 080033a0 stmeqda r0, {r5, r7, r8, r9, ip, sp} 2273c: e3b04000 movs r4, #0 ; 0x0 22740: ebf5860e bl 0xffd83f80 22744: 080033a2 stmeqda r0, {r1, r5, r7, r8, r9, ip, sp} 22748: e2830000 add r0, r3, #0 ; 0x0 2274c: e1a01004 mov r1, r4 22750: ebf5839d bl 0xff...
Assembly
_looseUrlRegex = RegExp( r"(https?:\/\/)?([-a-zA-Z0-9@:%_.\+~#=]{1,256}\.[a-z]{2,})(?:\/[-a-zA-Z0-9$@:%_\+.~#?&/=,!;()'\u007F-\u009F\u00A1-\uFFFF]*)?", caseSensitive: false, dotAll: true, ); final _looseUrlRegexWithBackslash = RegExp( r"(https?:\/\/)?([-a-zA-Z0-9@:%_.\+~#=]{1,256}\.[a-z]{2,})(?:\/[-a-zA-Z0-9$...
Dart
module.rules.push({ test: /\.tsx?$/, use: ['ts-loader'], exclude: '/node_modules/', }); } if (modules.less) { module.rules.push({ test: /\.less$/, loader: 'less-loader', // compiles Less to CSS }); } if (modules.sass) { m...
Typescript
l printk mov w0, -1 str w0, [x19] .L1946: ldr x0, [x19, 8] cbz x0, .L1944 ldr w2, [x0] ldr x0, [x24, 1672] ldr w3, [x0] cmp w2, w3 beq .L1944 ldr w1, [x19, 4] adrp x0, .LC107 add x0, x0, :lo12:.LC107 bl printk mov w0, -1 str w0, [x19] b .L1944 .size FlashProgPages, .-FlashProgPages .align 2 .type Fla...
Assembly
/* * SPDX-FileCopyrightText: 2025 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ #include "esp_err.h" #include "esp_log.h" #include "usb/usb_host.h" #include "usb/usb_helpers.h" /** * @brief Ethernet Networking Functional Descriptor. * See section 5.2.3 table 13 in CDC120 ...
C
() { // TODO: test ext } /** * Test the property 'draft' */ @Test public void draftTest() { // TODO: test draft } /** * Test the property 'tags' */ @Test public void tagsTest() { // TODO: test tags } /** * Test the property 'aiM...
Java
proto.litrpc.CreditAccountResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.litrpc.CreditAccountResponse} message * @param {!jspb.BinaryWriter} w...
JavaScript
@Test public void testIfWithNullAsThirdParameter() { RelNode relNode = TestUtils.toRelNode("SELECT if(FALSE, named_struct('a', ''), NULL)"); String targetSql = "SELECT `if`(FALSE, named_struct('a', ''), NULL)\n" + "FROM (VALUES (0)) t (ZERO)"; assertEquals(createCoralSpark(relNode).getSparkSql(), ta...
Java
plate"},visualchars:{desc:"Caracteres de controle visual ligado/desligado"},spellchecker:{desc:"Alternar verifica\u00e7\u00e3o ortogr\u00e1fica",menu:"Configura\u00e7\u00f5es de ortografia","ignore_word":"Ignorar palavra","ignore_words":"Ignorar tudo",langs:"Linguagens",wait:"Aguarde...",sug:"Sugest\u00f5es","no_sug":"...
JavaScript
gba(255,255,255,.1) 100%);border-color:#674c63;color:#fff;background-color:#870074}.k-dropdowngrid-popup .k-group-cell span{background-color:#fff;color:#1b141a}.k-grid-list>.k-item.k-last>.k-cell,.k-grid-list>.k-item.k-last>.k-group-cell,.k-grid-list>.k-item.k-last>.k-spacer-cell{border-bottom-color:#fff}.k-calendar .k...
CSS
hunk) step = size // subchunks_per_chunk if size % subchunks_per_chunk != 0: step += 1 for start in range(0, step * subchunks_per_chunk, step): yield PolarsColumn( chunk[start : start + step], allow_copy=self...
Python
{ for (int i = a.length-1; i >= 0; i-=1) { a[i] = -123; } } static void test_vi_neg(byte[] a, byte b) { for (int i = a.length-1; i >= 0; i-=1) { a[i] = b; } } static void test_cp_neg(byte[] a, byte[] b) { for (int i = a.length-1; i >= 0; i-=1) { a[i] = b[i]; } } st...
Java
11{ grid-column: span 11 / span 11; } .lg\:col-span-12{ grid-column: span 12 / span 12; } .lg\:col-span-2{ grid-column: span 2 / span 2; } .lg\:col-span-3{ grid-column: span 3 / span 3; } .lg\:col-span-4{ grid-column: span 4 / span 4; } .lg\:col-span-5{ grid-column: span...
CSS
) case !(n.kind == basicLit || n.rval.IsValid()) || t == nil || t.Kind() == reflect.Interface || t == valueInterfaceType || t.Kind() == reflect.Slice && t.Elem().Kind() == reflect.Interface: // Skip non-constant values, undefined target type or interface target type. case n.rval.IsValid(): // Convert constant val...
Go
ReplaceWith("Tuple22<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22>(_1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22)", "scala.Tuple22")) data class Arity22<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T...
Kotlin
// Modified by Princeton University on June 9th, 2015 /* * ========== Copyright Header Begin ========================================== * * OpenSPARC T1 Processor File: tick_access.s * Copyright (c) 2006 Sun Microsystems, Inc. All Rights Reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES. * * The above named progr...
Assembly
mB = m_invMassB val iA = m_invIA val iB = m_invIB val fixedRotation = iA + iB == 0.0f // Solve motor constraint. if (m_enableMotor && m_limitState != LimitState.EQUAL && fixedRotation == false) { val Cdot = wB - wA - m_motorSpeed var impulse = -m_motorMass * Cdot val oldImpulse =...
Kotlin
* _ __ _ _ * | |/ /___ ___ | | _(_) ___ * | ' // _ \ / _ \| |/ / |/ _ \ * | . \ (_) | (_) | <| | __/ * |_|\_\___/ \___/|_|\_\_|\___| * * A server software for Minecraft: Bedrock Edition * * Copyright (C) 2021 organization Team * * This program is free software: you can redistribute it and...
Kotlin
{ pChannel->bLocked = true; while (pChannel->bLocked && pChannel->nSectorsToRead != 0){ sem_wait(pChannel->pDoneSemaphore); } pChannel->bLocked = false; } pChannel->bReading = false; return pChannel->nStatus; } void AddToQueue(Queue *queue, int32 item) { ASSERT( queue != nil ); ASSERT( queue->items !...
C++
se(await Val())))); y[0]?.Dispose(await y[0]?.Dispose(await y[0]?.Dispose(await y[0]?.Dispose(await Val())))); return 1; } }"; var c = CreateCompilationWithMscorlib461(source, new[] { SystemRef_v4_0_30319_17929, SystemCoreRef_v4_0_30319_17929, CSharpRef }, TestOptions.ReleaseExe); ...
C#
/> | | <a href="imsrdppreferredredirectioninfo-useredirectionservername.md"><strong>UseRedirectionServerName</strong></a><br /> | Read/write<br /> | Whether to use the redirection server name.<br /> | | <a href="imstscax-username.md"><strong>UserName</strong></a><br /> | Read/write<br /> | The user name logon credent...
Markdown
nNamepsace", args: args{ ctx: context.TODO(), pod: &corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "test-pod", // Name of the Pod Namespace: namespace, // Namespace where the Pod is located Labels: map[string]string{ // Pod labels "app": "test-app", }, }, ...
Go
teConcentratedLiquidityPoolsAndLinktoCFMMProposal) Descriptor() ([]byte, []int) { return fileDescriptor_f31b9a6c0dbbdfa3, []int{3} } func (m *CreateConcentratedLiquidityPoolsAndLinktoCFMMProposal) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } func (m *CreateConcentratedLiquidityPoolsAndLinktoCFMMProposal) X...
Go
0006R0 Adopt Type Traits Variable Templates from Library Fundamentals TS for C++17](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0006r0.html) - [An Example that Omits Destructor Calls For Types with Trivial Destructors](http://www.boost.org/doc/libs/1_65_1/libs/type_traits/doc/html/boost_typetraits/examples...
Markdown
} } } export default SessionStrategy import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; @Injectable() export class DataService { constructor(private http: HttpClient) { } RetrieveImage(coordinates) { return this.http.get("https://api.nasa.gov/planetary/earth...
Typescript
he [`GetFieldOffset`] trait. //! //! # Cargo features //! //! These are the cargo features in `repr_offset`: //! //! - `derive` (disabled by default): //! Re-exports the `ReprOffset` derive macro from the `repr_offset_derive` crate. //! //! - `"for_examples"` (disabled by default): //! Enables the `for_examples` module...
Rust
serde_json::Value { // announce sender's pubkey to recipient with throwaway keypair let secp = Secp256k1::new(); let (throwaway_privkey, throwaway_pubkey) = generate_key(); let throwaway_keypair = secp256k1::KeyPair::from_secret_key(&secp, throwaway_privkey); let recipient_schnorr_pub = secp256k1...
Rust
import re INPUT_FILE = "hashes_raw.txt" SHA256_FILE = "hashes_sha256.txt" SHA1_FILE = "hashes_sha1.txt" MD5_FILE = "hashes_md5.txt" sha256_re = re.compile(r"^[0-9a-f]{64}$", re.IGNORECASE) sha1_re = re.compile(r"^[0-9a-f]{40}$", re.IGNORECASE) md5_re = re.compile(r"^[0-9a-f]{32}$", re.IGNORECASE) hash_sets...
Python
到他妈妈工作的酒店去吃饭,每周去一两次,因为很近。 他父亲是渔民,2017年春节,到研究所送了很多鱼,当然,我都是用高于市场价的钱给他补贴的现金。 送他们家好多东西啊,陶崇园是阴历的2月12号生日,2018年3月15号,我还给了礼金。因为他25岁生日的时候,是给他在酒店办的,26岁我说小生日嘛,就给了260块钱的礼金。 ![](https://i.loli.net/2019/05/16/5cdd5686f41cc85141.jpg) 陶崇园26岁生日前一天,与王攀的短信聊天记录。受访者供图。 **极昼:他收了吗?** **王攀:** 当然收了,我送他的所有钱他都没拒收,有一次八千块钱,他觉得太大了,他退回来,我又给了他。...
Markdown
cannot guess what it is). * * Maybe this helps: the values for the ComparableProperty (that is, * m_zIndex) for the 3 traces are -1, 0, and 1. Are these plausible? </cite> */ public void testAddRemoveTrace() { ATestChartOperations.AChartOperation operation = new AChartOperation( "add 3 traces, remove la...
Java
_WIDTH = 490 function ZO_Tutorials_Entries_OnTextureLoaded(control) -- when hidden we directly manipulate the height, so don't apply constraints in those cases if not control:IsControlHidden() then ZO_ResizeTextureWidthAndMaintainAspectRatio(control, HELP_MAX_IMAGE_WIDTH) end end function ZO_Help_I...
Lua
suspend fun exists(context: Context, location: PlaylistLocation): Boolean = checkExistence(context, (location as FilePlaylistLocation).mediastoreId) override suspend fun searchByName(context: Context, query: String): List<Playlist> = queryPlaylists( context, "${PlaylistsColumns.NAME} L...
Kotlin
r).abs() <= 2.0 * f64::EPSILON); }); } #[tokio::test] async fn csv_between_expr() -> Result<()> { let mut ctx = ExecutionContext::new(); register_aggregate_csv(&mut ctx)?; let sql = "SELECT c4 FROM aggregate_test_100 WHERE c12 BETWEEN 0.995 AND 1.0"; let mut actual = execute(&mut ctx, sql).awa...
Rust
inf >= inf); ENSURE(minus_inf >= minus_inf); ENSURE(inf >= zero); ENSURE(zero >= minus_inf); ENSURE(inf <= inf); ENSURE(minus_inf <= minus_inf); ENSURE(zero <= inf); ENSURE(minus_inf <= zero); ext_numeral val(10); val.neg(); ENSURE(val == ext_numeral(-10)); val = inf; va...
C++
n, k = map(int, input().split()) count = 0 for _ in range(n): x = int(input()) if x % k == 0: count += 1 print(count)
Python
aoImpl.saveReportFeeYearCollectionInfo(BeanConvertUtil.beanCovertMap(reportFeeYearCollectionPo)); } else { BeanConvertUtil.covertBean(statistics.get(0), reportFeeYearCollectionPo); } //计算费用项开始时间 起始 时间至现在的年份 Calendar configStartTime = Calendar.getInstance(); configSta...
Java
local utils = require("kimbox.utils") local log = utils.log local cmd = vim.cmd local api = vim.api local DEFAULT_STYLE = "cannon" local DEFAULT_TOGGLE_KEY = "<Leader>ts" ---@class Kimbox.Container ---@field user Kimbox.Config ---@field group integer Autocmd id ---@field __did_hl boolean ---@field __loaded boolean l...
Lua
on:"siteCivId" legend:"base" related:""` // site_civ_id SiteId int `json:"siteId" legend:"base" related:""` // site_id } func NewHistoricalEventSiteSurrendered() *HistoricalEventSiteSurrendered { return &HistoricalEventSiteSurrendered{ AttackerCivId: -1, DefenderCivId: -1, SiteCivId: -1, ...
Go
dressObj.assets().length; j++) { assetObj = addressObj.assets()[j]; if (assetObj.ASSET == asset) { return true; } } } return false } self.isAssetDivisibilityAvailable = function(asset) { var divisible = -1; var addressObj = null, assetObj = null, i = null, j ...
JavaScript
IFCUNITARYEQUIPMENTTYPEENUM 935604799 #define IFCVALUE 3521532855 #define IFCVALVETYPEENUM 3594581223 #define IFCVAPORPERMEABILITYMEASURE 3345633955 #define IFCVECTORORDIRECTION 805718298 #define IFCVEHICLETYPEENUM 1184275752 #define IFCVIBRATIONDAMPERTYPEENUM 1672225696 #define IFCVIBRATIONISOLATORTYPEENUM 1282...
C
make_unique<ExportNamedComputationsPass>); } } // namespace sdy } // namespace xla /* Copyright 2024 The OpenXLA Authors. 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.or...
C++
n['prerenderStatus']) if 'prerenderStatus' in json else None ) @event_class('Preload.preloadingAttemptSourcesUpdated') @dataclass class PreloadingAttemptSourcesUpdated: ''' Send a list of sources for all preloading attempts in a document. ''' loader_id: network.LoaderId preloading_attempt_...
Python
6.56,6.16 5.8,6 5,6Z",mdiGoogleClassroom:"M23,2H1A1,1 0 0,0 0,3V21A1,1 0 0,0 1,22H23A1,1 0 0,0 24,21V3A1,1 0 0,0 23,2M22,20H20V19H15V20H2V4H22V20M10.29,9.71A1.71,1.71 0 0,1 12,8C12.95,8 13.71,8.77 13.71,9.71C13.71,10.66 12.95,11.43 12,11.43C11.05,11.43 10.29,10.66 10.29,9.71M5.71,11.29C5.71,10.58 6.29,10 7,10A1.29,1.29...
JavaScript