content
stringlengths
2
6.21k
label
stringclasses
16 values
; } .drone_picture{ margin: auto; } #drone_landing_page{ height: 400px; width: 350px; } .content_box{ margin: auto; margin-top: 30px; width:80%; /* border: 2px solid red; */ } .catch_phrase{ margin: auto; width: 100%...
CSS
border-right-width: 4px; border-left-width: 0px; border-radius: 4px 50% 50% 4px; right: auto; left: 0; } [data-pc-direction=rtl] .pct-c-btn a { padding: 12px 16px 12px 12px; } [data-pc-theme=dark] { --bs-body-bg: #121212; --bs-body-bg-rgb: 18, 18, 18; --pc-heading-color: #fafafa; --pc-sidebar-backgro...
CSS
tained"].fs-lg-push-7 { margin-left: 58.33333333%; } .fs-grid .fs-row [class*="-contained"].fs-lg-push-8 { margin-left: 66.66666667%; } .fs-grid .fs-row [class*="-contained"].fs-lg-push-9 { margin-left: 75%; } .fs-grid .fs-row [class*="-contained"].fs-lg-push-10 { margin-left: 83.33333333%; } .fs-grid .fs-row [...
CSS
, arch -> create(arch) { dimension = "abi" ndk { abiFilters.add(defaultAbiList[index]) } } } } } afterEvaluate { for (profi...
Kotlin
runAndTestQueryRI("select count(*) as retval from " + CLASS_NAME + "." + bTable + " where timestamp1 > '2014-05-01 00:00:00' or timestamp1 <= '2014-05-03 00:00:00' ", 3, "retval"); runAndTestQueryRI("select count(*) as retval from " + CLASS_NAME + "." + bTable + " where timestamp2 > '2014-05-01 00:00:00' or...
Java
final a0Pointer = calloc<Struct8BytesMixed>(); final Struct8BytesMixed a0 = a0Pointer.ref; final a1Pointer = calloc<Struct8BytesMixed>(); final Struct8BytesMixed a1 = a1Pointer.ref; final a2Pointer = calloc<Struct8BytesMixed>(); final Struct8BytesMixed a2 = a2Pointer.ref; final a3Pointer = calloc<Struct8...
Dart
ck effects. Switches, particularly as a replacement for certain checkboxes, can be a valuable feature in user interfaces, regardless of a site's content or function. Their design and use is therefore an important factor in the overall user experience. See the switch component's [Material Design specifications page](ht...
Markdown
String::from("FeatureCollection Must have message property for delta"), None)); } } }; let trans = match conn.transaction() { Ok(trans) => trans, Err(err) => { return Err(HecateError::new(500, String::from("Failed to open transaction"), Some(err.to_string()))); } ...
Rust
is extremely important! return parcel; } public static <T> T unmarshall (byte[] bytes, Parcelable.Creator<T> creator) { Parcel parcel = unmarshall(bytes); T result = creator.createFromParcel(parcel); parcel.recycle(); return result; } } /* * Copyright (C) 2013-2020 Federico Iosue (federi...
Java
Sync(u),{name:n,path:void 0})};return new lw(e,a,o)}var lw,dW=It(()=>{JD();lw=class{constructor(e,r,o={}){this.path=e;this.nextDirent=r;this.opts=o;this.closed=!1}throwIfClosed(){if(this.closed)throw dT()}async*[Symbol.asyncIterator](){try{let e;for(;(e=await this.read())!==null;)yield e}finally{await this.close()}}rea...
JavaScript
); } console.log(height); if(isBad) { this.selectOption(this.sizeOptions[0]); return null; } if(height !== undefined) return { width: width, height: height }; else return { width: width, height: width }; } /** * C...
Typescript
, v2.16b urhadd v1.16b, v1.16b, v3.16b st1 {v0.16b-v1.16b}, [x0], x1 .endr cbnz w12, .lpavg_32x\h ret endfunc .endm pixel_avg_pp_32xN1_neon 32 pixel_avg_pp_32xN1_neon 64 function PFX(pixel_avg_pp_48x64_neon) mov w12, #8 .lpavg_48x64: sub ...
Assembly
n"); exit(1); } buffsize = vallen; } retry_recv(sock, buffer, vallen); print(buffer, keylen, buffer + keylen, vallen - keylen); } } while (response.message.header.response.keylen != 0); } /** * Program entry point. Con...
C
ptmulti("l", "log", &format!("logfile ({})", logfile), "LOG"); opts.optmulti( "", "cccsv", &format!("country continent csv file ({})", cccsv), "CSV", ); opts.optmulti( "", "geoip", &format!("GeoIP country mmdb ({})", geoip2_db), "MMDB", ); ...
Rust
alec', 'translator' : 'prevajalec', 'icons' : 'Ikone', 'dontforget' : 'In ne pozabi na brisačo', 'shortcutsof' : 'Bližnjica onemogočena', 'dropFiles' : 'Datoteke spusti tukaj', 'or' : 'ali', 'selectForUpload' : 'Izberi datoteke za nalaganje', 'moveFiles...
JavaScript
/**获取资讯信息 */ async getNewsDetail(id) { let fields = '*'; let where = { _id: id } let news = await NewsModel.getOne(where, fields); if (!news) return null; return news; } /** * 更新富文本详细的内容及图片信息 * @returns 返回 urls数组 [url1, url2, url3, ...] */ async updateNewsContent({ newsId, content // 富文本...
JavaScript
Len int } //sys ProcessVMReadv(pid int, localIov []Iovec, remoteIov []RemoteIovec, flags uint) (n int, err error) = SYS_PROCESS_VM_READV //sys ProcessVMWritev(pid int, localIov []Iovec, remoteIov []RemoteIovec, flags uint) (n int, err error) = SYS_PROCESS_VM_WRITEV //sys PidfdOpen(pid int, flags int) (fd int, err ...
Go
IZE; if (offset) { address += (IFLASH_PAGE_SIZE - offset); } /* Mapped address to boot area */ if (address < IFLASH_ADDR) { address += IFLASH_ADDR; } return (void*)address; } /** * Lock flash region * * \param start Start physical address * \param end End physical address * * \return true if success ...
C
'', '7005004', '', '', '2', '', '哈迪斯', 'Hades', '[{"id":7005004,"pos":3,"enter":2}]', '3', '', '2', '', '', '', '', '', '', '', '1013955', '', '1,0,1', '', '', '', '', '', '', '', '', '', '', '', '', '', ''}, {'1013955', '', '别擅自做决定,我说过了会让我们都活下来。', '', '', '', '', '', '', '', '', '', '7007001', '', '', '2', '', '雅典娜', ...
Lua
'' const double myDouble = ^4_200.000_000; '''); await assertHasAssist(''' const double myDouble = 4_200; '''); } Future<void> test_notDouble() async { await resolveTestCode(''' const double myDouble = ^42; '''); await assertNoAssist(); } Future<void> test_scientific() async { await resolveTes...
Dart
acySATokenCleaner config with options. func (o *LegacySATokenCleanerOptions) ApplyTo(cfg *serviceaccountconfig.LegacySATokenCleanerConfiguration) error { if o == nil { return nil } cfg.CleanUpPeriod = o.CleanUpPeriod return nil } // Validate checks validation of LegacySATokenCleanerOptions. func (o *LegacySATo...
Go
@keyframes monaco-cursor-expand {\n\t0%,\n\t20% {\n\t\ttransform: scaleY(1);\n\t}\n\t80%,\n\t100% {\n\t\ttransform: scaleY(0);\n\t}\n}\n\n.cursor-smooth {\n\tanimation: monaco-cursor-smooth 0.5s ease-in-out 0s 20 alternate;\n}\n\n.cursor-phase {\n\tanimation: monaco-cursor-phase 0.5s ease-in-out 0s 20 alternate;\n}\n\n...
JavaScript
wp = 0; return gwp < 0.33 ? 0.33 : gwp; }; const oppScores = p.results.map(a => { const o = t.players.find(x => x.id === a.opponent)!; return o.matchPoints; }); p.tiebreakers.solkoff = oppScores.reduce((x, y) => x + y, 0); oppScores.splice(oppScores.indexOf(Math.min(...oppScores)), 1); p.tiebreakers.cutOne ...
Typescript
redeemScript, `${posType} requires NO redeemScript`, ); tfMessage( types.Satoshi, signParams.witnessValue, `${posType} requires witnessValue`, ); break; case 'p2sh-p2wsh-p2ms': case 'p2sh-p2wsh-p2pk': case 'p2sh-p2wsh-p2pkh': if (prevOutType && p...
JavaScript
, }] } elif endpoint == 'api/l10n_my_edi/1/get_submission_statuses': return { 'statuses': { '123458974513518': { 'status': 'valid', 'reason': '', 'valid_datetime': ...
Python
T? = factory.parseOrNull(input) fun format(value: T): String? = catchingNull { factory.format(value) } companion object { val weiboDateTime = Formatter(DateTimeComponents.Format { dayOfWeek(DayOfWeekNames.ENGLISH_ABBREVIATED) char(' ') monthN...
Kotlin
v1) with the new extreme point. v1 = v3; // Calculate the normal of the plane that will be used to find a new extreme point. Vector3.Cross(ref v2, ref v3, out n); continue; } break; } ...
C#
/* * Copyright (C) 2013 Red Hat * Author: Rob Clark <robdclark@gmail.com> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published by * the Free Software Foundation. * * This program is distributed in the hope that it ...
C
tions = o; } } var values = lang.trim(domAttr.get(node, "values")||""); if(values){ var v = values.split(','); if(v[0] != values){ cell.values = v; } } }; var AlwaysEdit = declare("dojox.grid.cells.AlwaysEdit", Cell, { // summary: // grid cell that is always in an editable state, regardle...
JavaScript
c.663.06 1.457.054 2.11-.163.175-.059.45-.301.57-.651.107-.308.087-.67-.266-1.021L12.793 7l.353-.354c.043-.042.105-.14.154-.315.048-.167.075-.37.075-.581 0-.211-.027-.414-.075-.581-.05-.174-.111-.273-.154-.315l-.353-.354.353-.354c.047-.047.109-.176.005-.488a2.224 2.224 0 00-.505-.804l-.353-.354.353-.354c.006-.005.041-....
Dart
(!1),i.push([t.i,'uni-page-body[data-v-35f5b496]{height:100%}.create_music_content[data-v-35f5b496]{width:100%;height:100%;box-sizing:border-box}.content_main[data-v-35f5b496]{width:100%;padding:0 %?40?%}.content_main .music_title_tag[data-v-35f5b496]{white-space:nowrap;margin-top:%?50?%}.content_main .music_title_tag ...
JavaScript
| #### Command Example ```!gcb-list-retrohunts page_size=3``` #### Context Example ```json { "GoogleChronicleBackstory": { "RetroHunt": [ { "eventEndTime": "2022-06-16T06:58:19.994598Z", "eventStartTime": "2021-06-17T07:08:19.991404Z", "progres...
Markdown
ew boolean[] {true, true}, new Date(0), new Date(0), new Date(0), new Date(1), null); t1 = new KerberosTicket("asn1".getBytes(), new KerberosPrincipal("client"), new KerberosPrincipal("server"), "pass".getBytes(), 1, new boolean[] {true, true}, new Date(0), new Date(0), new Date(0), new Date(2), null); ...
Java
context().unwrap(); let prog = ctx.create_program_from_source(src); prog.build(&device).unwrap(); let k = prog.create_kernel("test"); let v = ctx.create_buffer_from(vec![1is], CL_MEM_READ_WRITE); k.set_arg(0, &v); let e = queue.enqueue_async_kernel(&k, 1is, None, ()); ...
Rust
left: 0; font-weight: normal; } form .aligned p.help:last-child, form .aligned div.help:last-child { margin-bottom: 0; padding-bottom: 0; } form .aligned input + p.help, form .aligned textarea + p.help, form .aligned select + p.help, form .aligned input + div.help, form .aligned textarea + div.help, form ...
CSS
// // NEON_MNNPackC4ForMatMul_A_BF16.S // MNN // // Created by MNN on 2021/02/26. // Copyright © 2018-2021 Alibaba Group Holding Limited // #ifdef __aarch64__ #include "MNNAsmGlobal.h" .macro transpose_4x4 x0, x1, x2, x3, x5, x6 // transpose 4x4 of sizeof(int16_t), only low half simd vector is valid. trn1 \x5\...
Assembly
ldErase = shouldErase ) } operator fun <T : TACCmd.Spec, TAC> invoke( ctp: TAC, log: Logger? = null, shouldErase: Boolean ): CanonicalTranslationTable where TAC : TACProgram<T>, TAC : InstrumentedTAC = CanonicalTranslationT...
Kotlin
, txn_id, &path).await?; let mut chains = HashMap::<Id, Chain>::new(); for (id, (class, schema)) in chain_schema.into_iter() { let dir = dir.get_or_create_dir(txn_id, id.clone()).await?; let chain = match class { ChainType::Sync => { let schema = ...
Rust
hostname->text() ,local_hostname->text() ,local_username->text()); } return NULL; } SSHTunnel* SSHTunnel::reverse_tunnel_popup(QWidget* parent){ QSettings settings("vki.ac.be", "coolfluid-client"); QDialog dialog(parent); dialog.setWindowTitle("Reverse tunnel...
C++
onse err = json.Unmarshal(body, &embeddingResponse) if err != nil { return nil, fmt.Errorf("couldn't unmarshal response body: %w", err) } // Check if the response contains embeddings. if len(embeddingResponse.Data) == 0 || len(embeddingResponse.Data[0].Embedding) == 0 { return nil, errors.New("no embed...
Go
nst.REBALANCER_CHUNK_TIMEOUT) ivconst.REBALANCER_CHUNK_TIMEOUT = 1e-6 return ivutil.replicaset_uuid() end) g.replica_2_a:exec(function(uuid) -- Send bucket to create disbalance in -- order to test routes applier service local bid = _G.get_first_bucket() local ok,...
Lua
(done_str) %endif jmp kBoot0LoadAddr ; ; Found Protective MBR Partition Type: 0xEE ; Check for 'EFI PART' string at the beginning ; of LBA1 for possible GPT Table Header ; checkGPT: push bx mov di, kLBA1Buffer ; address of GUID Partition Table Header ...
Assembly
-left-from-center { --fa: "\f424"; } .fa-expand-alt { --fa: "\f424"; } .fa-baseball-bat-ball { --fa: "\f432"; } .fa-baseball { --fa: "\f433"; } .fa-baseball-ball { --fa: "\f433"; } .fa-basketball { --fa: "\f434"; } .fa-basketball-ball { --fa: "\f434"; } .fa-bowling-ball { --fa: "\f436"; } .fa-ch...
CSS
border-color: #a7a7a7; border-width: 1px; } .aspNetDisabled, a.aspNetDisabled, .dnnDisabled, a.dnnDisabled { color: #ccc; cursor: not-allowed; text-decoration: none; } /* Active and Focus States */ .dnnFormItem input[type="text"]:active, .dnnFormItem input[type="text"]:focus, .dnnFormIt...
CSS
URL; import java.net.URLClassLoader; import java.util.*; import org.apache.log4j.Logger; /** * This class gathers functionality related to the classpath. Some * features may not be supported on Java 9+. */ public class ClassPathHelper { /** * Create a copy of the current classpath. Not supported on Java ...
Java
auseAtomContext offset; public LimitClauseAtomContext limit; public TerminalNode LIMIT() { return getToken(MySqlParser.LIMIT, 0); } public TerminalNode OFFSET() { return getToken(MySqlParser.OFFSET, 0); } public List<LimitClauseAtomContext> limitClauseAtom() { return getRuleContexts(LimitClauseAtomContext.cl...
Java
ev_cert)); out_str_local += out_cek; print_sev_cert_readable(((sev_cert *)CEK_IN_CERT_CHAIN(p)), out_str_local); if (out_str == "NULL") { printf("%s\n", out_str_local.c_str()); } else { out_str = out_str_local; } } /** * Description: Prints out the cert chain (PDK, OCA, and CE...
C++
(always)] pub fn bit(self, value: bool) -> &'a mut W { self.w.bits = (self.w.bits & !(0x01 << 4)) | (((value as u32) & 0x01) << 4); self.w } } #[doc = "Reader of field `PAD72_DS1`"] pub type PAD72_DS1_R = crate::R<bool, bool>; #[doc = "Write proxy for field `PAD72_DS1`"] pub struct PAD72_DS1_W<'...
Rust
ref.Free() } func (x OneOf_JsonLdEmbed_Bool) FromRef(ref js.Ref) OneOf_JsonLdEmbed_Bool { return OneOf_JsonLdEmbed_Bool{ ref: ref, } } func (x OneOf_JsonLdEmbed_Bool) JsonLdEmbed() JsonLdEmbed { return JsonLdEmbed(0).FromRef(x.ref) } func (x OneOf_JsonLdEmbed_Bool) Bool() bool { return x.ref == js.True } type...
Go
pattern MGTK_CALL MGTK::FrameRect, frame_display_params MGTK_CALL MGTK::SetPattern, white_pattern MGTK_CALL MGTK::PaintRect, clear_display_params MGTK_CALL MGTK::SetTextBG, settextbg_params ;; Buttons ptr := $FA copy16 #first_button, ptr loop: ldy #0 ...
Assembly
} /** * Whether the renderer will round coordinates to whole pixels when rendering. * Can be overridden on a per scene item basis. */ get roundPixels() { return !!this._roundPixels; } /** * Overridable function by `pixi.js/unsafe-eval` to silence * throwing an error if platform doesn't supp...
JavaScript
e("hwloc_topology_t") long topology, @NativeType("hwloc_obj_t") hwloc_obj obj) { if (obj.cpuset() == NULL) { return null; } hwloc_obj current = obj.parent(); while (current != null) { if (!hwloc_bitmap_isequal(current.cpuset(), obj.cpuset()) && hwloc_obj_type_is_d...
Kotlin
setDownloading(version: String) { label.text = translate("updater.downloading", version) hbox.children.setAll(ProgressIndicator()) } fun setSuccess(file: File) { label.text = translate("updater.downloaded", file.absolutePath) hbox.children.setAll(exitButton) } fun setF...
Kotlin
bmatch(b) if parts != nil { break } } if parts == nil { return fmt.Errorf("error parsing date: value %q is not in a recognized ISO8601 date format", string(b)) } var err error d.Year = parseInt(parts[1], &err) d.Month = time.January d.Day = 1 if len(parts[2]) != 0 { d.Month = time.Month(parseInt(par...
Go
binding.txtNotFound.isVisible = false } } } private fun observeMovies() { viewLifecycleOwner.lifecycleScope.launch { repeatOnLifecycle(Lifecycle.State.STARTED) { viewModel.movies .map { networkRequest -> ...
Kotlin
务|如何预测一辆汽车的市场售价?| | Open Generation | 描述一个幸福的场景。 | | Editing | 请改写下列句子以更加简洁:在我看来,这个想法是非常有趣的。 | | Classification | 哪些国家拥有核武器? | | Open Generation | 写一篇文章,介绍如何学好编程。 | | Editing | 请修改以下句子中的错别字:纸质书籍逐步被电子书替代了。 | | Open Generation | 请用不超过100个字描写一种独特的风景。 | | Classification | 简述一下巴黎圣母院的历史。 | | Open Generation | 阐述你对大数据的理解。 | |...
Markdown
gate runs process surrogate directionality ok testBidi("This is a string with " + LTRS + " in it.", false); testBidi("This is a string with \ud800 in it.", false); testBidi("This is a string with \u0640 in it.", 22, 1); testBidi(RTLS, true); testBidi("This is a string with " + RT...
Java
TypeInsn int NEWARRAY = 188; // visitIntInsn int ANEWARRAY = 189; // visitTypeInsn int ARRAYLENGTH = 190; // visitInsn int ATHROW = 191; // - int CHECKCAST = 192; // visitTypeInsn int INSTANCEOF = 193; // - int MONITORENTER = 194; // visitInsn int MONITOREXIT = 195; // - int MULTIANE...
Java
, targetRef, targetProps, parentRef, parentProps, outerRef, outerProps, outerParentRef, outerParentProps, }) { const inner = React.useMemo( () => ( <Inner type={type} targetRef={targetRef} targetProps={targetProps} parentRef={pa...
JavaScript
BySystemGroup(systemID, groupPK) if errors.Is(err, sql.ErrNoRows) { groupSystemAuthType = dao.GroupSystemAuthType{ SystemID: systemID, GroupPK: groupPK, AuthType: authType, } err = s.authTypeManger.CreateWithTx(tx, groupSystemAuthType) if err == nil { return true, 1, nil } if database.IsMysql...
Go
Args: molfile_string: String representation of a molfile Returns: CDK IAtomContainer molecule with existing coordinates Raises: ValueError: If the molfile cannot be parsed """ if not molfile_string: raise ValueError("No molfile content provided") try: # ...
Python
-web-app.js` - **To:** `https://mudachyo.codes/universal/telegram-web-app.js` - ![Настройки расширения](settings.png) ## Автокликер - Установить в свой браузер расширение [Violentmonkey](https://chromewebstore.google.com/detail/violentmonkey/jinjaccalgkegednnccohejagnlnfdag?hl=be) - Для установки **автокликера** устан...
Markdown
_64.tar.gz.sha256 # Extract binaries tar xzf keystonedb-${VERSION}-linux-x86_64.tar.gz # Install to system path sudo install -m 755 kstone /usr/local/bin/ sudo install -m 755 kstone-server /usr/local/bin/ # Verify installation kstone --version ``` ### Creating a Dedicated User For security, run KeystoneDB under a ...
Markdown
'urls': [ { 'type': 'detail', 'url': 'http://marvel.com/comics/characters/1011176/ajak?utm_campaign=apiRef&utm_source=5f84cceaaa141a3ad5425c416353eab4', }, { 'type': 'wiki', 'url': 'http://marvel.com/unive...
Dart
Test] public void TestBug669285 () { CompletionDataList provider = CreateCtrlSpaceProvider ( @"static class Ext { public static void Foo<T> (this T[] t) { } } public class Test<T> { public void Foo () { T t; $t.$ } } "); Assert.IsNotNull (provider, "provider not found."); Assert.IsNull (provider...
C#
aram2 = param2; } execute() { this.receiver.actionB(this.param2); } } function runExample() { const invoker: Invoker = new Invoker(); const receiver: Receiver = new Receiver(); invoker.addCommand(new CommandA(receiver, 'AAA')); invoker.addCommand(new CommandB(receiver, 'BBB')); invoker.addCommand...
Typescript
_out"].call(this,b);if(e&&c=="isout"){e.isout=0;e.isover=1;e._over.call(e,b)}}}})}}})(jQuery); ;/** * @license * Lodash <https://lodash.com/> * Copyright OpenJS Foundation and other contributors <https://openjsf.org/> * Released under MIT license <https://lodash.com/license> * Based on Underscore.js 1.8.3 <http://...
JavaScript
'华宝彩票', '华宝彩票'}, {'49240', '皇马彩票', '皇马彩票'}, {'49241', '万古国际彩票', '万古国际彩票'}, {'49242', '信德彩票', '信德彩票'}, {'49243', '753彩票', '753彩票'}, {'49244', '三九彩票', '三九彩票'}, {'49245', '8度彩票', '8度彩票'}, {'49246', '一定牛彩票网', '一定牛彩票网'}, {'49247', '浩宇彩票', '浩宇彩票'}, {'49248', '乐博现金彩票', '乐博现金彩票'}, {'49249', '万人龙虎', '万人龙虎'}, {'49250', '山水彩票', '...
Lua
n"); ErrorF("-full utilize full regeneration\n"); ErrorF("-class string default visual class\n"); ErrorF("-depth int default depth\n"); ErrorF("-sss use software screen saver\n"); ErrorF("-geometry WxH+X+Y window size and position\n"); ErrorF("-bw...
C
private_key_path), &network_settings .wg_private_key .expect("How did we get here without generating a key above?"), )?; // same thing but with the exit key KI.create_wg_key( Path::new(&exit_network_settings.wg_private_key_path), &exit_network_settings.wg_priv...
Rust
_colorbox{float:right}a:hover.cke_colorbox,a:focus.cke_colorbox,a:active.cke_colorbox{border:#b6b6b6 1px solid;background-color:#e5e5e5}a.cke_colorauto,a.cke_colormore{border:#fff 1px solid;padding:2px;display:block;cursor:pointer}a:hover.cke_colorauto,a:hover.cke_colormore,a:focus.cke_colorauto,a:focus.cke_colormore,a...
CSS
encoding. kernel_preds = kernel_preds.view( kernel_preds.size(0), -1, self.dynamic_conv_size, self.dynamic_conv_size) mask_preds = F.conv2d( mask_feats, kernel_preds, stride=1).squeeze(0).sigmoid() # mask. masks = mask_preds > cfg.mask_thr sum_...
Python
ADDON_BUTTON_HEIGHT = 16; MAX_ADDONS_DISPLAYED = 19; g_addonCategoriesCollapsed = { }; local ADDON_ACTIONS_BLOCKED = { }; local ALL_CHARACTERS = "All"; local addonCharacter = ALL_CHARACTERS; local function GetAddonCharacter() if addonCharacter == ALL_CHARACTERS then return nil; end return addonCharacter; end ...
Lua
or().Data(params).Run(c.SvcContext().Context()) if validErr != nil { c.AbortWithError(response.NewError( http.StatusBadRequest, response.ParamBindError, validErr.Error(), )) return } err = h.projectGroupSvc.Delete(c.SvcContext(), params.GroupID) c.AbortWithError(err) c.Payload(nil) } package svc i...
Go
)) || !sf.GetData( (char *) & m_takingTaxiFinalAngle, sizeof(double)) || !sf.GetData( (char *) & m_lastEventTime, sizeof(double)) || !sf.GetData( (char *) & m_taxiRotateSpeed, sizeof(double)) || !sf.GetData( (char *) & m_spX, sizeof(double)) || !sf.GetData( (char *) & m_spZ, sizeof(double)) || !sf.GetData( ...
C++
the back edge compute_edgelink(eno, node1, node2); if (node1 != ndi) { if (node_group[nodegs].find(node1) == node_group[nodegs].end()) { v0cnum++; v0canum++; } } else if (node2 != ndi) { if (node_group[nodegs].find(node2) == node_group[node...
C++
r>Type: Search * <br>Mandatory: true * <br>Virtual Column: false */ void setWEBUI_Dashboard_ID (int WEBUI_Dashboard_ID); /** * Get Dashboard. * * <br>Type: Search * <br>Mandatory: true * <br>Virtual Column: false */ int getWEBUI_Dashboard_ID(); de.metas.ui.web.base.model.I_WEBUI_Dashboard getWEB...
Java
h80c0-53-43-96-96-96s-96 43-96 96v54.3L38.8 5.1zm362.5 407l-43.1-33.9C346.1 382 333.3 384 320 384c-70.7 0-128-57.3-128-128v-8.7L144.7 210c-.5 1.9-.7 3.9-.7 6v40c0 89.1 66.2 162.7 152 174.4V464H248c-13.3 0-24 10.7-24 24s10.7 24 24 24h72 72c13.3 0 24-10.7 24-24s-10.7-24-24-24H344V430.4c20.4-2.8 39.7-9.1 57.3-18.2z"]},hr=...
JavaScript
{ base.SetFoldBehavior(cStaticJsId261, dtAuth.Rows[0], cStaticJsId261P1, cStaticJsId261Label, cStaticJsId261P2, null, dtLabel.Rows[0], null, null, null); base.SetFoldBehavior(cStaticJsNm261, dtAuth.Rows[1], cStaticJsNm261P1, cStaticJsNm261Label, cStaticJsNm261P2, null, dtLabel.Rows[1], cRFVStaticJsNm261, nul...
C#
::error::Error + 'static)> { match self { WaitForTransactionError::GetTransactionError(e) => Some(e), _ => None, } } } use cargo::ops; use cargo::util::{CliResult, Config}; #[derive(Deserialize)] pub struct Options { arg_crate: Option<String>, flag_token: Option<Stri...
Rust
// Run bn256 Add between input's p1 and p2 //bn256g1::runBn256Add() }<filename>sim/simulation/src/systems/mineral_system.rs use crate::indices::{EntityId, WorldPosition}; use crate::profile; use crate::storage::views::{DeferredDeleteEntityView, UnsafeView, View}; use crate::tables::JoinIterator; use crate::{co...
Rust
const DeepCollectionEquality().hash(_logs)); /// Create a copy of LogsListState /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$LogsListStateImplCopyWith<_$LogsListStateImpl> get copyWith =...
Dart
=Nk(s,w))),1!==o)))throw i=Ws,Kk(s,0),Ck(s,u),Dk(s,dt()),i;switch(s.finishedWork=_,s.finishedLanes=u,o){case 0:case 1:throw Error(p(345));case 2:case 5:Pk(s,Ys,Qs);break;case 3:if(Ck(s,u),(130023424&u)===u&&10<(o=Xs+500-dt())){if(0!==uc(s,0))break;if(((_=s.suspendedLanes)&u)!==u){R(),s.pingedLanes|=s.suspendedLanes&_;b...
JavaScript
ut(HEALCURR, healCurr) bundle.put(COUNT, count) bundle.put(LEVEL, level) } override fun restoreFromBundle(bundle: Bundle) { super.restoreFromBundle(bundle) pos = bundle.getInt(POS) healCurr = bundle.getInt(HEALCURR) count = bundle....
Kotlin
splash_page); loginPage = findViewById(R.id.login_page); autoLogin = shouldAutoLogin(); splashPage.setVisibility(autoLogin ? View.VISIBLE : View.GONE); loginPage.setVisibility(autoLogin ? View.GONE : View.VISIBLE); loginPage.setOnTouchListener(new OnTouchListener() { ...
Java
'3p13k3z,' // #444: 3 fonts: HK 67₉₄, JP 45₁₈₁, TC 62₅₄₇. '3q3i14b,' // #445: 4 fonts: HK 68₉₅, JP 46₁₈₂, SC 61₄₄₅, TC 64₅₄₉. '3r3i10c3z,' // #446: 3 fonts: HK 69₉₆, SC 62₄₄₆, TC 64₅₄₉. '3s13l3y,' // #447: 5 fonts: HK 72₉₉, JP 49₁₈₅, KR 92₃₅₂, SC 66₄₅₀, TC 68₅₅₃. '3v3h6k3t3y,' // #4...
Dart
GROUP BY i.id""" cur.execute(sql) res = cur.fetchall() return res except: traceback.print_exc() return res def get_workspace_instance_list(workspace_id): """resource_group은 left join (gpu 설정 안한 경우 group_id 없는 경우도 있음) """ res = [] try: with get_db(...
Python
Drive { temp_dir: Option<TempDir>, target: PathBuf, path: PathBuf, } impl ConfigDrive { fn new() -> Result<Self> { // maybe its already mounted let path = Path::new("/media/ConfigDrive/cloudstack/metadata/"); if path.exists() { return Ok(ConfigDrive { ...
Rust
tomerAccount[0].extract.push(newPedding); res.end(); } catch (error) { res.status(400).send({ message: error.message }); } }); app.put("/account/add/balance", (req: Request, res: Response) => { try { const { name, cpf, value } = req.body; if (!name || !cpf) { throw new Error("missing info...
Typescript
keMethod(classGetRawTypeAnnotations, c); return getTypeAnnotations(rawAnnotations, c); } @SuppressWarnings("deprecation") @Test public void getAnnotationValuesTest() { checkAnnotationValues(AnnotationTestInput.AnnotatedClass.class); checkAnnotationValues(AnnotationTestInput.Anno...
Java
return object; } P _assetDeserializeProp<P>( IsarReader reader, int propertyId, int offset, Map<Type, List<int>> allOffsets, ) { switch (propertyId) { case 0: return (reader.readString(offset)) as P; case 1: return (_AssetkindValueEnumMap[reader.readByteOrNull(offset)] ?? ...
Dart
ND) | | #x3007 (IDEOGRAPHIC NUMBER ZERO) ||| | #x3021 (HANGZHOU NUMERAL ONE) | - | #x3029 (HANGZHOU NUMERAL NINE) | | #x302E (HANGUL SINGLE DOT TONE MARK) | - | #x302F (HANGUL DOUBLE DOT TONE MARK) | The following characters are allowed in iXML names, but not in XML names: | Codepoint (name) | - | Codepoint (name) [r...
Markdown
message: string; /** *严重性,默认为[error](#DiagnosticSeverity.Error)。 */ severity: DiagnosticSeverity; /** *描述其来源的人class 可读字符串 *诊断,例如'打字稿'或'超级绒毛'。 */ source?: string; /** *此诊断的代码或标识符。不会浮出水面 *给用户,但应...
Typescript
*通俗解释:** - Nginx 就像一个“门卫”,用户的请求(访问 `shiqi.admin.labworlds.cc:1443`)先到门卫这里,门卫再把请求转给里面的 Docker 前端服务(`192.168.110.8:80`)。 - SSL 证书就像“安全锁”,保证用户和网站之间的通信是加密的,不会被偷看。 - **Mermaid 结构图:Nginx 转发流程** ```mermaid graph TD A[用户] -->|访问 https://shiqi.admin.labworlds.cc:1443| B[Nginx 反向代理] B -->|转发请求| C[Docker 前端服务<...
Markdown
-accordion>.item.title.active>.switch:focus,.pagebuilder-accordion>.item.title.active>.switch:hover,.pagebuilder-accordion>.item.title:not(.disabled)>.switch:active{color:#333;padding-bottom:1px;text-decoration:none}.pagebuilder-accordion>.item.content{background:#fff;margin:0;padding:10px 10px 30px}.required-captcha.c...
CSS
_handler, check_wkt_handler, test_handler); } #ifndef CHECK_WKT_HANDLER_HPP #define CHECK_WKT_HANDLER_HPP #include <cassert> #include <fstream> #include <map> #include <sstream> #include <string> #include <osmium/handler.hpp> #include <osmium/osm.hpp> #include <osmium/osm/types.hpp> class CheckWKTHandler : public o...
C++
= Marks[CenterSpike]; Time1 = Times[CenterSpike]; /* Go back from CenterSpike */ for(SecondSpike=CenterSpike-1; SecondSpike>=0; SecondSpike--) { Time2 = Times[SecondSpike]; /* check if we have left the interesting region */ if(fabs(Time1 - Time2) > FurthestEdge) break; /* calculate bin */ Bin = ...
C
# -*- coding: utf-8 -*- # Copyright (C) 2018-2025 Intel Corporation # SPDX-License-Identifier: Apache-2.0 from typing import Union from openvino._pyopenvino import FrontEnd as FrontEndBase from openvino._pyopenvino import FrontEndManager as FrontEndManagerBase from openvino._pyopenvino import InputModel from openvino...
Python
ch.pitch_range > 1.5: pitch_multiplier *= 1.2 # Wider pitch ranges take longer # Calculate final estimate return int(base_time * style_multiplier * pitch_multiplier) # Additional endpoint to get vocals status (optional but recommended) @router.get("/{vocals_id}", response_model=model_types.Vo...
Python
, a1) { var i, ilen, v0, v1; if (!a0 || !a1 || a0.length !== a1.length) { return false; } for (i = 0, ilen = a0.length; i < ilen; ++i) { v0 = a0[i]; v1 = a1[i]; if (v0 instanceof Array && v1 instanceof Array) { if (!helpers.arrayEquals(v0, v1)) { return false; } } else if (v0 !== ...
JavaScript