content
stringlengths
2
6.21k
label
stringclasses
16 values
#Written by Jesse Weinstein <jessw@netwood.net>. #Released under the Python license on Sat Jan 22 02:56:11 2005. #shortForm.py #Short Form prevents the Python shell from printing out giant piles of text. #Python version: er, 2.3 and later. Or maybe earlier versions... #http://www.netwood.net/usr/jessw #Possible catego...
Python
namespace Mollie.Api.Models.Order.Request { public record OrderUpdateRequest { /// <summary> /// The billing person and address for the order. See Order address details for the /// exact fields needed. /// </summary> public OrderAddressDetails? BillingAddress { get; set; } ...
C#
Up), arg0) } // Code generated by MockGen. DO NOT EDIT. // Source: github.com/celestiaorg/celestia-node/nodebuilder/share (interfaces: Module) // Package mocks is a generated GoMock package. package mocks import ( context "context" reflect "reflect" header "github.com/celestiaorg/celestia-node/header" share "git...
Go
ool raw) : super(sink, RawZLibFilter._makeZLibInflateFilter(windowBits, dictionary, raw)); } class _FilterSink extends ByteConversionSink { final RawZLibFilter _filter; final ByteConversionSink _sink; bool _closed = false; bool _empty = true; _FilterSink(this._sink, this._filter); void ...
Dart
NotNull String pattern) { final int idx = pattern.indexOf('*'); final String name = idx == -1 ? pattern : pattern.substring(0, idx); return name.length() > 0 ? name : "<default>"; } } package org.openclover.perfmon; import org.apache.jmeter.protocol.java.sampler.JavaSamplerContext; import ...
Java
affiliationList = []; this.affiliationOrder = ''; } } // ==LICENSE-BEGIN== // Copyright 2017 European Digital Reading Lab. All rights reserved. // Licensed to the Readium Foundation under one or more contributor license agreements. // Use of this source code is governed by a BSD-style license // that can be...
Typescript
evHeight = _texture.height; int maxSize = Mathf.Max(_prevWidth, _prevHeight); int maxLevel = Mathf.CeilToInt(Mathf.Log(maxSize, 2.0f)) + 1; LayoutRebuilder.ForceRebuildLayoutImmediate(_rectTransform); float totalHeight = _rectTransform.rect.height; float totalSpacing = _layout.s...
C#
always translate directly into units of time. For example, some processors halt the timestamp counter during performance and CPU idle state transitions. In other cases, the timestamp counters of all processors are not in sync, so as execution of a thread bounces unpredictably from one core to another, d...
Assembly
CenterId } if builder.jobIdFlag { req.JobId = &builder.jobId } if builder.jobLevelIdsFlag { req.JobLevelIds = builder.jobLevelIds } if builder.employeeTypeIdsFlag { req.EmployeeTypeIds = builder.employeeTypeIds } if builder.jobGradeIdsFlag { req.JobGradeIds = builder.jobGradeIds } if builder.workLoc...
Go
pusheax ldy #$09 jsr ldeaxysp jsr pusheax ldy #$15 jsr ldeaxysp jsr aslax1 clc adc #<(_sine) tay txa adc #>(_sine) tax tya jsr ldaxi jsr axlong jsr tosmuleax jsr tossubeax jsr pusheax ldx #$27 lda #$00 lda #$10 jsr tosdiv0ax l...
Assembly
.on("up", (e: KeyboardEvent)=> { this.oUpButtons.TWO = true; }, this); this.oButtons.THREE.on("up", (e: KeyboardEvent)=> { this.oUpButtons.THREE = true; }, this); this.oButtons.FOUR.on("up", (e: KeyboardEvent)=> { this.oUpButtons.FOUR = true;...
Typescript
"LED_6") ).requireNoNulls() init { thermalLoadInitializer.setMaximalPower(nominalP.toDouble()) voltageLevelColor = VoltageLevelColor.VeryHighVoltage } override fun addInformation(stack: ItemStack, player: EntityPlayer, list: MutableList<String>, par4: Boolean) { list.add(tr("Co...
Kotlin
rank=3}, -- Blessing of Light Rank 3 {20349,46000, req=20348, rank=4}, -- Seal of Light Rank 4 {20773,46000, req=20772, optional=true, rank=5}, -- Redemption Rank 5 {20914,2070, req=20913, talent=20911, optional=true, rank=4}, -- Blessing of Sanctuary Rank 4 {20920,2070, req=20919, talent=20375, rank=5}, -...
Lua
= ResourceManager.GetObject("Windows_8_and_10_Logo", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } /// <summary> /// Looks up a localized resource of type System.Drawing.Bitmap.
C#
#include "stdtest.h" #include <vthread.h> #define N_STR 1000 static FILE* F; static char Bigz[10*N_STR]; static char* Str[26] = { "aaaaaaaaa", "bbbbbbbbb", "ccccccccc", "ddddddddd", "eeeeeeeee", "fffffffff", "ggggggggg", "hhhhhhhhh", "iiiiiiiii", "jjjjjjjjj", "kkkkkkkkk", "lllllllll"...
C
/* * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) * From ASN.1 module "NGAP-PDU-Contents" * found in "NGAP-PDU-Contents.asn" * `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-OER -gen-PER -no-gen-example -D ngap` */ #include "ASN_NGAP_RRCInactiveTransitionReport.h" asn_TYPE...
C
nd y(t) functions of time, the cross correlation function, Rxy(τ), is defined to be the following average over an averaging time, T: $$\mathbf{R}_{\mathrm{xy}}(\tau)={\frac{1}{\mathrm{T}}}\int\limits_{0}^{\mathrm{T}}\mathbf{x}(\mathbf{t})\mathbf{y}(\mathbf{t}+\tau)\mathrm{dt}$$ If the average Rxy(τ) is also a functio...
Markdown
/* IA32 VxWorks target definitions for GNU compiler. Copyright (C) 2003-2017 Free Software Foundation, Inc. Updated by CodeSourcery, LLC. This file is part of GCC. GCC 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 F...
C
+demoListItemText if (page == state.page) { descendants { color = Colors.Blue.shade500 } } } } } } themeContext.Consume...
Kotlin
Of<Map<String, CustomData>>().javaType, mapOf("steve" to CustomData("Steve", 123), "bob" to CustomData("Bob", 456)) ) ) } neoForgeModsToml { loaderVersion = "*" apache2License() conventionMod { dependencies { required("minecraft", "1.21.5") { reas...
Kotlin
mary> /// item not tracked on client /// </summary> ItemStateNone = 0, /// <summary> /// current user is subscribed to this item. Not just cached. /// </summary> ItemStateSubscribed = 1, /// <summary> /// item was created with ISteamRemoteStorage /// </summary> ...
C#
result shouldBe "LicenseRef-scancode-agpl-3.0-openssl" } } }) /* * Copyright (C) 2017 The ORT Project Authors (see <https://github.com/oss-review-toolkit/ort/blob/main/NOTICE>) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the L...
Kotlin
� 실천하는 사명', ch: '', jp: '' }, name: { en: 'Evie & Co', ko: 'Evie & Co', ch: 'Evie & Co', jp: 'Evie & Co' }, date: { en: '0956 871 2485', ko: '0956 871 2485', ch: '0956 871 2485', ...
Typescript
accessMode(AccessMode.READ_WRITE)), // WARN_PARAMETER_CELL_VOLTAGE_DIFFERENCE_ALARM(Doc.of(OpenemsType.INTEGER) // .unit(Unit.MILLIVOLT) // .accessMode(AccessMode.READ_WRITE)), // WARN_PARAMETER_CELL_VOLTAGE_DIFFERENCE_ALARM_RECOVER(Doc.of(OpenemsType.INTEGER) // .unit(Unit.MILLIVOLT) // .accessMode...
Java
eries"); var ordersQuery = db.Orders .Where(x => x.Employee.EmployeeId > 5) .OrderByDescending(x => x.OrderId) .Take(2); var orderLines = await (db.OrderLines .Where(x => ordersQuery.Where(o => o == x.Order).Sum(o => o.Freight.Value) > 0) .OrderBy(x => x.Id) .ToLi...
C#
}", "\u{a77d}", "\u{a780}", "\u{a782}", "\u{a784}", "\u{a786}", "\u{a78b}", "\u{a78d}", "\u{a790}", "\u{a792}", "\u{a796}", "\u{a798}", "\u{a79a}", "\u{a79c}", "\u{a79e}", "\u{a7a0}", "\u{a7a2...
Rust
ast<CK2Model *>(pModelFile)); break; case MODEL_SPEEDTREE: D3D_UnregisterTreeModel(static_cast<CTreeModel *>(pModelFile)); break; default: Console.Err << _T("D3D_UnregisterModel(): Unknown model type") << newl; } } } /*==================== ...
C++
S3C2443_DMAREQSEL_XDREQ0 S3C2443_DMAREQSEL_SRC(17) #define S3C2443_DMAREQSEL_XDREQ1 S3C2443_DMAREQSEL_SRC(18) #define S3C2443_DMAREQSEL_UART0_0 S3C2443_DMAREQSEL_SRC(19) #define S3C2443_DMAREQSEL_UART0_1 S3C2443_DMAREQSEL_SRC(20) #define S3C2443_DMAREQSEL_UART1_0 S3C2443_DMAREQSEL_SRC(21) #define S3C2443_DMAREQSEL_UART...
C
s_body .cke_tpl_list a:focus .cke_tpl_item,.cke_dialog_contents_body .cke_tpl_list a:active .cke_tpl_item{border:2px solid #139ff7;padding:6px}.cke_rtl input.cke_dialog_ui_input_text,.cke_rtl input.cke_dialog_ui_input_password{padding-right:2px}.cke_rtl div.cke_dialog_ui_input_text,.cke_rtl div.cke_dialog_ui_input_pass...
CSS
//===--- AvoidSpinlockCheck.h - clang-tidy-----------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
C
lic shootWeapon(direction: DirectionType, x: number = this.x, y: number = this.y): void { if (this.weapon) { this.weapon.shoot(direction, x, y); } } public updateWeapon(): void { if (this.weapon) { this.weapon.update(); } } public destroy(): void...
Typescript
,t,['^',{t:'d',d:0}])) {r=m=1;k.KDC(2,t);k.KO(-1,t,"ĉ");}else if(k.KKM(e,16384,67)&&k.KFCM(2,t,['%',{t:'d',d:0}])) {r=m=1;k.KDC(2,t);k.KO(-1,t,"č");}else if(k.KKM(e,16384,67)&&k.KFCM(2,t,['.',{t:'d',d:0}])) {r=m=1;k.KDC(2,t);k.KO(-1,t,"ċ");}else if(k.KKM(e,16384,67)&&k.KFCM(2,t,[',',{t:'d',d:0}])) {r=m=1;k.KDC(2,t);k.K...
JavaScript
uint32(1) verifyIfNodesHaveCorrectEpoch(t, epoch, nodes) verifyIfNodesHaveCorrectNonce(t, nonce-1, nodes) verifyIfAddedShardHeadersAreWithNewEpoch(t, nodes) log.Info("doing hardfork...") exportStorageConfigs := hardForkExport(t, nodes, epoch, exportBaseDirectory) for id, node := range nodes { node.ExportFolder...
Go
,8720,8721,8722,8723,8724,8725, // 8726 8726,8727,8728,8729,8730,8731,8732,8733,8734,8735,8736,8737,8738,8739,8740,8741, // 8742 //13973 ****************************************************************************************/ }; public EUCTWDistributionAnalyser() ...
C#
.tagName.getFullText(); } const maybeOpeningElement = node.getChildAt(0) as ts.JsxOpeningElement; return maybeOpeningElement.tagName.getFullText(); }; type PropMap = Readonly<ts.MapLike<ts.Expression>>; const getJsxProps = (node: ts.JsxElement): PropMap => { const isOpening = ts.isJsxOpeningElement(node.getCh...
Typescript
sl.At(0) require.Equal(t, mc[tt.metricName].Help, metric.Description(), "Expected help metadata in metric description") require.Equal(t, mc[tt.metricName].Unit, metric.Unit(), "Expected unit metadata in metric") hdpL := metric.Histogram().DataPoints() require.Equal(t, 1, hdpL.Len(), "Exactly one point exp...
Go
.part { Part::One => run_1(&table), Part::Two => run_2(&table), }; println!( "The most optimal seating order is\n {}\nwith a happiness delta of {}.", order.join(", "), delta ); }, Err(e) => eprintln!("E...
Rust
unc = convert_to_remote(func, remote) time_f = func.time_evaluator(func.entry_name, ctx, number=n_times) cost = time_f(a, b, bias, c).mean try: np.testing.assert_allclose(np.dot(a_np, b_np.T) + bias_np, c.asnumpy(), rtol=1e-1) except Exception as e: pass print(e) return co...
Python
WARHAMMER, 79, 187.5f), ADAMANT_BATTLEAXE(ItemID.ADAMANT_BATTLEAXE, 80, 187.5f), ADAMANT_CHAINBODY(ItemID.ADAMANT_CHAINBODY, 81, 187.5f), ADAMANT_KITESHIELD(ItemID.ADAMANT_KITESHIELD, 82, 187.5f), ADAMANT_CLAWS(ItemID.ADAMANT_CLAWS, 83, 125), ADAMANT_2H_SWORD(ItemID.ADAMANT_2H_SWORD, 84, 187.5f), RUNITE_BAR(ItemI...
Java
// Check if it's a UMD build const isUMD = jsContent.includes('(function (global, factory)') || jsContent.includes('typeof exports'); console.log(`📦 UMD format: ${isUMD ? '✅' : '❌'}`); if (!hasInit) { console.log(`❌ Missing initChatbotWidget function - this build may be incomplete`); } ...
JavaScript
void hibernate(); // turns powerOff() and sets controller to deep sleep for minimum power use, ONLY if wakeable by RST (rst >= 0) private: void _setPartialRamArea(uint16_t x, uint16_t y, uint16_t w, uint16_t h); void _PowerOn(); void _PowerOff(); void _InitDisplay(); void _Init_Full(); voi...
C
""" Plugin for ResolveURL Copyright (C) 2023 gujal 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 option) any later version. ...
Python
private TextBox txtMinNoiseValue; private Label label13; private TextBox txtMaxNoiseValue; internal ListBox ListBoxResources; internal TabControl TabControlFalloff; internal ListBox ListBoxLateral;
C#
f.config.measurement.copy(), inplace=True) # type: ignore counts = ( self.sampling_backend.run(measurement_qc, shots=num_shots) .result() .get_counts() ) simulation_result.save_timestep_counts(counts, step) ...
Python
SImage& self, int x, int y, ColRGBA& col, SImage::DrawProps& props) { return self.drawPixel(x, y, col, props, nullptr); }); lua_image["DrawImage"] = sol::overload( &imageDrawImage, [](SImage& self, int x, int y, SImage& img, SImage::DrawProps& props, Palette* pal_src) { return imageDrawImage(self, x, y, img, p...
C++
/* Copyright (c) 2025 Georg-Johann Lay All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions ...
Assembly
; z-index: 5; color: #fff; -webkit-transition: all 0.2s ease-in-out 0s; -o-transition: all 0.2s ease-in-out 0s; transition: all 0.2s ease-in-out 0s; } .mbr-gallery .mbr-slider .carousel-control { position: fixed; } @media (max-width: 991px) { .mbr-gallery .mbr-slider .carousel-control { bottom:...
CSS
tileId = tiles[i]; if (tileId != 0) { TileBase tile = (TileBase)Object.ForceLoadFromInstanceID(tileId); tile.GetTileData(positions[i], tilemap, ref UnsafeUtility.ArrayEle
C#
ap banner('coroutine.wrap') checkallpass('coroutine.wrap',{somefunction}) checkallerrors('coroutine.wrap',{notafunction},'bad argument') -- coroutine.yield banner('coroutine.yield') local function f() print( 'yield', coroutine.yield() ) print( 'yield', coroutine.yield(astring,anumber,aboolean) ) error('error withi...
Lua
} /// } /// /// class AppCore extends StatelessWidget { /// Widget build(BuildContext context) { /// return MaterialApp( /// locale: I18n.locale, /// ... /// ), /// ``` /// /// Note that the [I18n] widget is above the [MaterialApp] widget, but declared /// in a parent widget. If you declare it ...
Dart
////////////////////////////// //--------------------------------------------------------- class CWKSP_Data_Buttons : public wxScrolledWindow { DECLARE_CLASS(CWKSP_Data_Buttons) public: CWKSP_Data_Buttons(wxWindow *pParent); virtual ~CWKSP_Data_Buttons(void); void Update_Buttons (void); private: int ...
C
t.SetBoolSigAction(145, dev.Play); triList.SetBoolSigAction(146, dev.Pause); triList.SetBoolSigAction(147, dev.Stop); triList.SetBoolSigAction(148, dev.ChapPlus); triList.SetBoolSigAction(149, dev.ChapMinus); triList.SetBoolSigAction(150, dev.Rewind); triList.SetBoolSigAction(151, dev.FFwd); triLis...
C#
veMessage: (message: Message) => void = (message) => { this.messages.push(new Message(message['UserIdFrom'], message['UserIdTo'], message['Text'], message['Time'])); this.$scope.$apply(); }; callbackReceiveNewUser: (user: User) => void = (user) => { this.users.push(new User(user['Id'], u...
Typescript
-9.7 8-17.7 17.7-17.7h248c9.7 0 17.7 8 17.7 17.7V380zm-248-137.3v132.9c0 2.5-1.9 4.4-4.4 4.4h-8.9c-2.5 0-4.4-1.9-4.4-4.4V242.7c0-2.5 1.9-4.4 4.4-4.4h8.9c2.5 0 4.4 1.9 4.4 4.4zm141.7 48.7c0 13-7.2 24.4-17.7 30.4v31.6c0 5-3.9 8.9-8.9 8.9h-17.7c-5 0-8.9-3.9-8.9-8.9v-31.6c-10.5-6.1-17.7-17.4-17.7-30.4 0-19.7 15.8-35.4 35.4...
JavaScript
-v-998dfbd6] .detailPopup .uni-popup__wrapper .typeItem uni-text{flex:1}[data-v-998dfbd6] .detailPopup .uni-popup__wrapper .goodBox{padding:0 1rem 0 .125rem;display:flex;flex-flow:row wrap;align-content:flex-start}[data-v-998dfbd6] .detailPopup .uni-popup__wrapper .goodBox .item{box-sizing:border-box;flex:0 0 29.3%;mar...
CSS
font-size: 1px; } .gform_wrapper .chosen-container-single .chosen-single abbr:hover { background-position: -42px -10px; } .gform_wrapper .chosen-container-single.chosen-disabled .chosen-single abbr:hover { background-position: -42px -10px; } .gform_wrapper .chosen-container-single .chosen-single div { posit...
CSS
t->ak_index].type) { case AK_TYPE_NULL_BIND: advanced_key_null_bind(event); break; case AK_TYPE_DYNAMIC_KEYSTROKE: advanced_key_dynamic_keystroke(event); break; case AK_TYPE_TAP_HOLD: advanced_key_tap_hold(event); break; case AK_TYPE_TOGGLE: advanced_key_toggle(event); break; ...
C
49b1add41bf9ca555dd&chksm=e9142e84de63a792b9ad2ae69d50db094d91b0be088e5edfb92c9bb1bc20e75324cc1e7f9de7&scene=58&subscene=0#rd) - bellingcat - [ ] [Solving World War II Photo Mysteries With Open Source Techniques](https://www.bellingcat.com/news/2023/08/04/solving-world-war-ii-photo-mysteries-with-open-source-techniqu...
Markdown
ap: store.reportingState.isLoading ? null : () { Navigator.of(context).pop(); loggedInAction((token) async { final reason = await ReportDialog.show(context); if (reason != null) { ...
Dart
Object() == self && evt.GetCurrentFocus() == self && evt.IsFromTab()) { //NavigateIn wxPropagationDisabler disableProp(evt); const auto isForward = evt.GetDirection(); const auto& children = self->GetChildren(); auto node = isForward ? children.GetFirst() : children.GetLast(); ...
C++
oggerMock); expect(result).to.equal(true); }); test('should create path', () => { expect(GQL_OUTPUT_FOLDER).to.be.a.path(); }); test('should create directory', () => { expect(GQL_OUTPUT_FOLDER).to.be.a.directory(); }); test('should create sub directories', () => { expect(GQL_OUTPUT_FOLDER).t...
JavaScript
_TYPE); } /** * 获取图文统计数据 * @param date 日期 * @param cb 回调 */ public void articleSummaryHourly(final String date, Callback<List<ArticleSummaryHour>> cb){ articleSummaryHourly(loadAccessToken(), date, cb); } /** * 获取图文统计数据 * @param accessToken accessToken * ...
Java
defer: 1, disabled: 1, ismap: 1, multiple: 1, nohref: 1, noresize: 1, noshade: 1, nowrap: 1, readonly: 1, selected: 1 }; CKEDITOR.htmlParser.prototype = { /** * Function to be fired when a tag opener is found. This function * should be overriden when using this class. * * var parser = new CKEDITOR.htm...
JavaScript
color: rgba($white,.3) !default; $navbar-light-toggler-border-color: rgba($white,.1) !default; // Pagination $pagination-color: $white !default; $pagination-bg: $success !default; $pagination-border-width: 0 !default; $pagination-border-color: transparent...
CSS
, mock_prompt_confirm_password ): # mock delete_user_account response mock_server.router.delete( mock_server.endpoints.delete_user_account.path ).respond(200) # mock password prompting mock_prompt_confirm_password.return_value = "dummy_password" # assert...
Python
岩でできている鉱物だ。", footnote = "〜鑑定報告書:<廃品>カテゴリ〜", }, _0 = { text = "僅かに鉱物が含まれる岩の塊。含有量が非常に少ないので金銭的価値はないが、これを赤熱させたものを料理や浴場で用いる等、一応それなりに使用法があるらしい。", footnote = "〜私の愛する幾千ものガラクタ〜", }, }, }, lot_of_empty_bottles = { name...
Lua
ng.gen_range(1..10_001); let mut w = world .filter(id.eq(w_id)) .load::<World>(&conn)? .pop() .unwrap(); w.randomnumber = this.rng.gen_range(1..10_001); Ok(w) ...
Rust
mode == MODE_TIM && (!guessTestExtend || sIndex >= (stList.size)) -> { vSmall += 1 sIndex = 0 } mode == MODE_UNOFFICIAL -> vSm...
Kotlin
空转和资金沉淀,降低了资金使用效率。相关部门将加强对资金空转的监测。 ## 6. 反腐动向 说到央行,年初在年度反腐大片出镜的二十大后"首虎"央行原副行长范一飞4月18日过堂,被控1993年到2022年间受贿3.86亿多。 4月15日,国家税务总局江苏省税务局原局长侍鹏被通报调查。2018年他在国税总局的管辖下主持处置了范冰冰重大偷逃税案件。同一天,内蒙古人大常委会原副主任杜梓落马,他当过通辽市委书记,而通辽至少已有5任市委书记、3任市长落马。 4月17日,广东潮州原副市长林文锋被双开。潮州这里也是5任市长落马了。另据不完全统计,辽宁抚顺也有5任市长被查,河南漯河是6任市长被查,辽宁铁岭则是7任市长落马。 4月至7月,全党...
Markdown
, 'm'}, // '뵒'(BD52) {'b', 'o', 'e', 'l', 'b'}, // '뵓'(BD53) {'b', 'o', 'e', 'l', 's'}, // '뵔'(BD54) {'b', 'o', 'e', 'l', 't'}, // '뵕'(BD55) {'b', 'o', 'e', 'l', 'p'}, // '뵖'(BD56) {'b', 'o', 'e', 'l', 'h'}, // '뵗'(BD57) {'b', 'o', 'e', 'm'}, // '뵘...
Java
38657403986439058740935874395813968496846", "549813644389670948567490687546098245665626527788", "64398769586792586795867965624526", "468376458463264536" }; char testResult[5][4][3][256] = { { { "C59E2ADDC8D95293F8ED346ADAF018111F0B6726349664FF9B02C46C2EC5B96F", "C59E2ADDC8D95293F8ED346ADAF018111F0...
C++
JOB_TYPE_ILLEGAL("KE-010032222"), // 100032XX user USER_UNAUTHORIZED("KE-010003207"), USER_LOGIN_FAILED("KE-010003208"), USER_AUTH_INFO_NOTFOUND("KE-010003209"), // 100312XX query QUERY_RESULT_OBTAIN_FAILED("KE-010031201"), INVALID_SQL_FORMAT("KE-010031202"), // 100102XX computed...
Java
t.Fatal(v0, e1) } }) test.BoolSlotInput(b0, b1) //test.Int8SlotInput(s0, s0) test.Int16SlotInput(i0, i1) test.Int32SlotInput(i2, i3) test.IntSlotInput(i4, i5) test.Int64SlotInput(i6, i7) test.FloatSlotInput(f0, f1) test.StringSlotInput(s0, s1) test.PointerSlotInput(p0, p1) o0 = core.NewQVariant14("test"...
Go
ive(Debug, Clone, Default)] pub struct OpDelete { pub path: String, } impl OpDelete { pub fn new(path: &str) -> Self { Self { path: path.to_string(), } } } #[derive(Debug, Clone, Default)] pub struct OpList { pub path: String, } impl OpList { pub fn new(path: &str) -> ...
Rust
metrics.get('quote_count', 0) * 1.8 ) # Store high engagement tweets if engagement_score > 10: high_engagement_tweets.append({ 'text': tweet.text, 'engagement': engagement_score, 'id': tweet.id }...
Python
-color::-webkit-color-swatch{border-radius:.375rem}.form-control-color.form-control-sm{height:calc(1.5em + .5rem + 2px)}.form-control-color.form-control-lg{height:calc(1.5em + 1rem + 2px)}.form-select{display:block;width:100%;padding:.375rem 2.25rem .375rem .75rem;-moz-padding-start:calc(0.75rem - 3px);font-size:1rem;f...
CSS
Key()); TinyBoxStyle.applyStyleTo(box, TinyBoxStyle.SINGLE, deep); } //console.log(render_sched.toString()); box.setRenderInstructions(render_sched); } private static applyMarriedFlavor(box :IBox, render_sched :RenderInstructionSchedule) :void{ if(box.getNode().get...
Typescript
ach().cpu() if self.clamp: images[k] = torch.clamp(images[k], -1., 1.) self.log_local(pl_module.logger.save_dir, split, images, pl_module.global_step, pl_module.current_epoch, batch_idx) logger_log_images = self.logger_log_...
Python
this section is inlined by go-inline // source function is 'func (ls *LState) closeUpvalues(idx int) ' in '_state.go' { ls := L idx := lbase if ls.uvcache != nil { var prev *Upvalue for uv := ls.uvcache; uv != nil; uv = uv.next { if uv.index >= idx { if prev != nil { pr...
Go
nel or !b.Panel.TheaterId then return true end return string.lower( theater.GetNameByLocation(a.Panel.TheaterId) ) < string.lower( theater.GetNameByLocation(b.Panel.TheaterId) ) end table.sort( TheatersSorted, nameSort ) local curY = self.TitleHeight for _, th in pairs( TheatersSorted ) do th.Panel:Invalidat...
Lua
[]; let email: string; let senha: string; info = (localStorage.usuario); if(info == null) { UsuarioService.usuarioLogado = null; UsuarioService.logado = false; return; } informacao = info.split("\n"); email = informacao[0]; senha = informacao[1]; this.lo...
Typescript
Long = 0u, fp: ULong = 0u, ra: ULong = 0u ) { mips64.cpu.regs.at.value = at mips64.cpu.regs.v0.value = v0 mips64.cpu.regs.v1.value = v1 mips64.cpu.regs.a0.value = a0 mips64.cpu.regs.a1.value = a1 mips64.cpu.regs.a2.value = a2 mips64.cpu.regs.a3.value = a3 ...
Kotlin
dfa_12; } public String getDescription() { return "1096:4: ( ( ( ruleS_Assignment )=>this_S_Assignment_1= ruleS_Assignment ) | this_S_1Expr_Facets_BlockOrEnd_2= ruleS_1Expr_Facets_BlockOrEnd | this_S_Other_3= ruleS_Other | this_S_Do_4= ruleS_Do | this_S_Return_5= ruleS_Return | this_S_Solve...
Java
::delete( user_permissions.filter(user_id.eq(item_user_id)), ) .execute(db) } } <filename>CXT/xsd10/src/xml_to_xsd/nested_particle.rs use crate::model::complex_types::explicit_group::ExplicitGroup; use crate::model::elements::ElementType; use crate::model::groups::nested_particle::Ne...
Rust
def mostrar_tarefas(tarefas): # Exibe a lista de tarefas. if len(tarefas) > 0: print("\nLista de Tarefas:") for indice, tarefa in enumerate(tarefas): print(f"{indice}. {tarefa}") else: print("\nLista de tarefas vazia!") def adicionar_tarefa(tarefas): # Adiciona uma n...
Python
border-radius: 5px; padding: 10px; border: 1px #f2f2f2 solid; } .actions label { font-weight: normal; } .viewport-iframe, .viewport { border: 1px #cccccc solid; border-radius: 5px; } /*iframe*/ .iframe-wrap { margin-top: 15px; } .iframe-wrap .iframe-top > * { display: inline-block; vertical-align: mi...
CSS
er; /* Check frame */ data_size = frame->len - (unsigned int)(frame->data - frame->base); if (data_size < sizeof(struct bcmf_cdc_header)) { wlerr("Control frame too small\n"); return -EINVAL; } cdc_header = (struct bcmf_cdc_header *)frame->data; if (data_size < cdc_header->len || ...
C
ill grow exponentially from this -- delay. -- @param[type=number] max_delay The maximum allowed delay for a reconnection -- attempt. -- @treturn table `policy`: An exponential reconnection policy. function _M.new(base_delay, max_delay) if type(base_delay) ~= 'number' or base_delay < 1 then error('arg #1 base_dela...
Lua
**** //************************************************************************************************* /*!\brief Returns a randomly created compressed matrix. // // \param policy The creation policy for the elements of fundamental data type. // \return The randomly generated compressed matrix. */ template< typename...
C
51B5; } .fc.fc-theme-standard .fc-view-harness .fc-event.fc-daygrid-dot-event .fc-daygrid-event-dot { background: rgba(63, 81, 181, 0.12); border-color: rgba(63, 81, 181, 0.12); } .fc.fc-theme-standard .fc-view-harness .fc-event.fc-daygrid-dot-event:hover { background: rgba(0, 0, 0, 0.04); color: rgba(0, 0, 0, ...
CSS
using Serilog.Events; using Serilog.Formatting; using System; namespace Serilog.Sinks.AwsCloudWatch { /// <summary> /// Options that allow configuring the Serilog Sink for AWS CloudWatch /// </summary> public class CloudWatchSinkOptions : ICloudWatchSinkOptions { /// <summary> /// T...
C#
); @$pb.TagNumber(4) $core.bool hasDigit() => $_has(1); @$pb.TagNumber(4) void clearDigit() => $_clearField(4); } class Transcription extends $pb.GeneratedMessage { factory Transcription({ $core.String? transcribedParticipantIdentity, $core.String? trackId, $core.Iterable<TranscriptionSegment>? s...
Dart
px;height:var(--plyr-control-icon-size,18px);pointer-events:none;width:18px;width:var(--plyr-control-icon-size,18px)}.plyr__control:focus{outline:0}.plyr__control.plyr__tab-focus{outline:3px dotted #00b3ff;outline:var(--plyr-tab-focus-color,var(--plyr-color-main,var(--plyr-color-main,#00b3ff))) dotted 3px;outline-offse...
CSS
ntal .rangeslider__handle{top:-13px;touch-action:pan-y;-ms-touch-action:pan-y}.rangeslider--vertical .rangeslider__handle{left:-13px;touch-action:pan-x;-ms-touch-action:pan-x}input[type=range]:focus+.rangeslider .rangeslider__handle{-moz-box-shadow:0 0 8px rgba(255,0,255,.9);-webkit-box-shadow:0 0 8px rgba(255,0,255,.9...
CSS
peInfoParserRuleCall_2_0() { return cTypeTypeInfoParserRuleCall_2_0; } //'(' public Keyword getLeftParenthesisKeyword_3() { return cLeftParenthesisKeyword_3; } //right=ExpressionList? public Assignment getRightAssignment_4() { return cRightAssignment_4; } //ExpressionList public RuleCall getRightEx...
Java
common.MethodChannel.Result import io.flutter.plugin.common.PluginRegistry.Registrar import org.chromium.base.ContextUtils /** CronetPlugin */ class CronetPlugin: FlutterPlugin, MethodCallHandler { /// The MethodChannel that will the communication between Flutter and native Android /// /// This local reference ...
Kotlin
glabel func_808A7138 /* 00F28 808A7138 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8 /* 00F2C 808A713C AFBF0014 */ sw $ra, 0x0014($sp) /* 00F30 808A7140 44800000 */ mtc1 $zero, $f0 ## $f0 = 0.00 /* 00F34 808A7144 C4840150 */ lwc1 $f4, 0x0150($a0) ##...
Assembly
'indent': 'Aumentar tabulación do parágrafo', 'formatPara': 'Mudar estilo do bloque a parágrafo (etiqueta P)', 'formatH1': 'Mudar estilo do bloque a H1', 'formatH2': 'Mudar estilo do bloque a H2', 'formatH3': 'Mudar estilo do bloque a H3', 'formatH4': 'Mudar estilo do bloqu...
JavaScript
Time != 0.0f) { *env << "The -s and -U options cannot both be used!\n"; usage(); } if (initialAbsoluteSeekTime == NULL && initialAbsoluteSeekEndTime != NULL) { *env << "The -E option requires the -U option!\n"; usage(); } if (authDBForREGISTER != NULL && !createHandlerServerForREGISTERCommand) {...
C++
" {\n" " b();\n" " }\n" " do\n" " {\n" " c();\n" " } while (false)\n" " }\n", WhitesmithsBraceStyle); // FIXME: the block and the break under case 2 in this test don't get inde...
C++