content
stringlengths
2
6.21k
label
stringclasses
16 values
from app import db from app.models import TipoActividad class TipoActividadRepository: @staticmethod def add_tipo_actividad(data): nuevo_tipo_actividad = TipoActividad( tipo=data.get('tipo') ) db.session.add(nuevo_tipo_actividad) db.session.commit() return n...
Python
="twitter:title" content="8 Must-Read Books for Python Programmers"><meta data-rh="true" name="twitter:site" content="@TDataScience"><meta data-rh="true" name="twitter:app:url:iphone" content="medium://p/20009a3f3ec3"><meta data-rh="true" property="al:android:url" content="medium://p/20009a3f3ec3"><meta data-rh="true" ...
HTML
rc = wcsstr_s(wstr1, len1, wstr2, len2, &sub); ERR(EOK) if (sub != &wstr1[18]) { debug_printf("%s %u Error rc=%d sub=\"%ls\" \n", __FUNCTION__, __LINE__, rc, sub); errs++; } /*--------------------------------------------------*/ wcscpy(wstr1, L"keep it all tog...
C
This DC/DC has unrealistic capacitance effects and can sink/source power that violates Newton's laws")) list?.add(tr("It is made this way to improve the performance of the simulator in large power networks")) return RealisticEnum.UNREALISTIC } override fun shouldUseRenderHelper(type: IItemRende...
Kotlin
& { border-right: px2rem(4px) solid $clr-blue-a200; border-left: none; } // Adjust spacing on last element html & > :last-child { margin-bottom: px2rem(12px); } // Adjust margin for nested admonition blocks .admonition { margin: 1em 0; } // Title > .admoni...
CSS
<IActionResult> MarkIncomingInvoiceAsOverdue([FromBody]MarkIncomingInvoiceAsOverdueModel model) { if (!ModelState.IsValid) { return BadRequest(ModelState); } await WorkerServices.MarkIncomingInvoiceAsOverdue(model); return Ok(); ...
C#
mpy RInvU[0] = RInv[1], RInvErr[1] nop 0x0 } { .mfi nop 0x0 (pPipe[3]) fma RInvT[0] = f5_16, RInvErr[1], f3_8 nop 0x0 } ;; // INNER LOOP 7 { .mfi (pPipe[0]) ldfs FActY[0] = [FActPtr[0]], 4 (pPipe[4]) fmpy RInvSqr = RInv[2], RInv[2] nop 0x0 } { .mfi (pJJNR) lfetch.nta [jjnrPtr] (pPi...
Assembly
QiYdK8QIYBcFxGwWRVCoKxyMnhi4Ozd+eo6VUJopKEfq6PqKbQ7SYCh3txs4iP3aHqRCbZ4fjA16eSS3RIp0/CkyyjH4BssQ2lVgGFYqS7Rj8uBQiyF/e9vvygf0MB3iyrYdvxwdxRrPTJsSpZPrkq47YxRqwjUW8cv0sN4+omdJFkXGJvBiUkD1jtlnc649KGLVQ2vTJ8yOPzzhQi1AuPN08mZGzzcqtTCmWIgURYuuaICJUAFvLADWydkS7EAT3LClwFPsT3wuOUbIU2OTUwI20BOl85WrEuRYM9J/782lnkkwq4XxvZ8h3/auL/tX...
Markdown
wLC6oFJJhA3wLwp33Jh3+f8L8AAZ3ntkRsbeCkAAAAASUVORK5CYII=") no-repeat 2px bottom; padding-left: 22px; } /* Refresh */ html>/**/body #content a[href*="&refresh="] { background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAt9JREFUeNqkU0t...
CSS
/*__________________________________________________________________________________________ Hash(BEGIN(Satoshi[2010]), END(Sunny[2012])) == Videlicet[2014]++ (c) Copyright The Nexus Developers 2014 - 2025 Distributed under the MIT software license, see the accompanying ...
C
{ static const String error = 'error'; static const String scrutineeType = 'type'; static const String scrutineeFields = 'fields'; static const String space = 'space'; static const String subtypes = 'subtypes'; static const String expandedSubtypes = 'expandedSubtypes'; static const String checkingOrder =...
Dart
*(?:\.\w*)*?)(\.\w*)?$/.exec(line.slice(0, cursor)) if (!res) { return { completions: [] } } const [, variable, filter] = res const ret = (completions: Completions) => ({ completee: filter ? filter.slice(1) : variable, completions }) const filtered = (filter: string) => (levels: Completions): Compl...
Typescript
st::DIGEST_LEN, 32); assert_eq!(<Sha384 as Hasher>::Digest::DIGEST_LEN, 48); assert_eq!(<Sha512 as Hasher>::Digest::DIGEST_LEN, 64); #[cfg(feature = "insecure")] { #[allow(deprecated)] let len = <InsecureSha1 as Hasher>::Digest::DIGEST_LEN; assert_eq!...
Rust
"key_1")), Bytes::from("val_1")); sm.insert(Hash::digest(Bytes::from("key_2")), Bytes::from("val_2")); { let mut it = sm.iter(); assert_eq!( it.next().unwrap(), (&Hash::digest(Bytes::from("key_1")), Bytes::from("val_1")) ); assert_eq!( it.next...
Rust
0.) > 0) then positive_average = sum(points, points > 0.) / count(points > 0.) end if if (count(points < 0.) > 0) then negative_average = sum(points, points < 0.) / count(points < 0.) end if deallocate (points) ! Print result to terminal write (*,'(a,g12.4)') 'Average = ', average_points wri...
HTML
/* Machine-dependent ELF indirect relocation inline functions. AArch64 version. Copyright (C) 2012-2024 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public ...
C
用洗手间时,给客人提供服务,比如压洗手液、递纸巾和开门等。每当客人说:海底捞的服务一流,洗手间也干净时,我心里就很骄傲。 c:38 看了一桌之后,胆子就慢慢大了,同客人沟通也就顺畅了。客人也不是三头六臂,没什么好害怕的,有时他们跟我开玩笑,我也敢跟他们开了。 c:37 行为科学揭示:任何职业都会在自然人身上留下痕迹。 c:274 万般皆下品,唯有读书高 c:180 看,是我们简阳当时最好看的工服,就像空姐那样的衣服,很漂亮,下面是裙子,走到马路上很多人都回头看。有些海底捞的员工都穿着工服回家相亲 c:57 管得再严,也不是让我去干坏事!无非是跑得快一点,干活儿多一点,认真一点,努力一点,听话一点。 c:18 “冯伯英很生...
Markdown
Лизинг 001P-02 (RU000A101XB2): цена=100%, доходность=9.91%, дюрация=8.06 мес.</li><li>Поиск оборота. Ссылка: <a target="_blank" rel="noopener noreferrer" href="https://iss.moex.com/iss/history/engines/stock/markets/bonds/boards/TQIR/securities/RU000A101XB2.json?iss.meta=off&iss.only=history&history.columns=SECID,TRADED...
HTML
[offset] = byte and (0xf shl shift).inv() or (level.value shl shift) } fun getData(): String = this.toString() override fun toString(): String = String( CharArray(DATA_SIZE).apply { values.forEachIndexed { index, value -> set(index, value.toChar()) } ...
Kotlin
["guild.1.10.013"] = "Você não pode atribuir manualmente mais itens hoje.", ["guild.1.10.014"] = "Candidatos ", ["guild.1.10.015"] = "Não Candidatos", ["guild.1.10.016"] = "Você não pode fazer esta operação.", ["guild.1.10.017"] = "Promover %s para Oficial?", ["guild.1.10.018"] = "Remover a função de %s?", ["gui...
Lua
]; } return(dtemp); } /* ** Scales a vector by a constant. ** Jack Dongarra, linpack, 3/11/78. ** UNROLLED version */ void dscal_ur(int n,double da,double[] dx,int dxpos,int incx) { int i,m,nincx; if (n <= 0) return; if (incx != 1) { /* code for increment not equal to 1 */ ...
C#
312 16.6634 17.537 16.3287 17.6899 15.9339C17.8388 15.552 17.9397 15.1156 17.9693 14.4766C17.9982 13.836 18.0054 13.6311 18.0054 12C18.0054 10.3689 17.9982 10.1648 17.9693 9.52419C17.9397 8.88441 17.8388 8.44802 17.6899 8.06688C17.5393 7.66571 17.3029 7.30227 16.9973 7.00193C16.6973 6.69677 16.3344 6.46069 15.9339 6.31...
HTML
ous case. int? reachability0 = 0; int? reachability1 = 0; var x = expr<int?>(); switch (x) { case _ when pickSecond(x = expr<int?>(), expr<bool>()): break; case null: reachability0 = null; x.expectStaticType<Exactly<int?>>(); case var y: reachability1 = ...
Dart
s, 0.0, 0.0); Node side2 = Node( "side2", ShapeCube(program, x: thickness, y: thickness, z: length), mat2) ..setPos(-length, 0.0, length + thickness); double length3 = length - thickness; Node side3a = Node("side3a", ShapeCube(program, x: thickness, y: length3, z: thickness), mat3) ..setPos(...
Dart
(requestBuffer.readUtf8(), "UTF-8"); } return "null"; } /************************************ API *******************************************/ /** * 获取新闻列表 * @return */ public static Observable<NewsInfo> getNewsList(String newsId, int page) { String type; ...
Java
} @Inject(method = "applyEntityAttributes", at = @At("TAIL")) private void increaseHealth(CallbackInfo ci){ if (this.worldObj != null) { int progress = NMUtils.getWorldProgress(); float bloodMoonModifier = NMUtils.getIsBloodMoon() ? 1.4f : 1; boolean isBloodMoon =...
Java
teHandler; import cn.idev.excel.write.handler.context.CellWriteHandlerContext; import cn.idev.excel.write.metadata.holder.WriteSheetHolder; import cn.idev.excel.write.metadata.style.WriteCellStyle; import cn.idev.excel.write.metadata.style.WriteFont; import org.apache.poi.ss.usermodel.*; import org.apache.poi.xssf.user...
Java
tar.gz">cmake-3.2.0-Darwin-x86_64.tar.gz</a></td><td align="right">2015-03-10 09:01 </td><td align="right"> 26M</td><td>&nbsp;</td></tr> <tr><td valign="top"><img src="/icons/text.gif" alt="[TXT]"></td><td><a href="cmake-3.2.0-Linux-i386.sh">cmake-3.2.0-Linux-i386.sh</a></td><td align="right">2015-03-10 09:01 </td><t...
HTML
照片,参数:'); print('name: ${_nameController.text}'); print('gender: $gender'); print('ageGroup: $ageGroup'); print('personality: ${_personalityController.text}'); // 首先上传照片到服务器进行处理 final request = http.MultipartRequest('POST', Uri.parse('${ApiConfig.baseUrl}/upload')) ..f...
Dart
have any * questions. */ /* * @test * @summary Makes sure that JLayer is synchronizable * @author Alexander Potochkin * @run main SerializationTest */ import javax.swing.*; import javax.swing.plaf.LayerUI; import java.io.ByteArrayInputStream; import java.io.ObjectOutputStream; import java.io.ObjectInputStream...
Java
"categories": { "55": "News" }, "locked": 0, "explicit": false, "podcastGuid": "10deff34-8fd1-5516-95b9-5792312edfed", "medium": "podcast", "episodeCount": 4, "imageUrlHash": 3824622241, "newestItemPubdate": 1530235210 ...
Kotlin
: MOVE R2 R0 JUMPIFNOT R1 [+6] GETUPVAL R4 0 GETTABLEKS R3 R4 K0 ["clampAndRoundSliceRect"] MOVE R4 R0 CALL R3 1 1 MOVE R2 R3 GETUPVAL R5 0 GETTABLEKS R4 R5 K1 ["props"] GETTABLEKS R3 R4 K2 ["selectedObject"] JUMPIFNOT R3 [+18] GETUPVAL R5 0 GETTABLEKS R4 R5 K1 ["props"] GETTABLEKS R3 R4 K2 ...
Assembly
n that pane. @returns A Promise that resolves when the preferences window is opened. */ export function openSystemPreferences(pane?: SystemPreferencesWindowsPane): Promise<void>; export function openSystemPreferences<T extends keyof SystemPreferencesMacOsPanes>(pane?: T, section?: SystemPreferencesMacOsPanes[T]): Promi...
Typescript
/* * Copyright (c) 2016 Thomas Pornin <pornin@bolet.org> * * 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, ...
C
></div></div><p>A corresponding <code>ThisAssembly.Metadata.Foo</code> constant with the value <code>Bar</code> is provided. The metadata attribute can alternatively be declared using MSBuild syntax in the project (for .NET 5.0+ projects that have built-in support for <code>@(AssemblyMetadata)</code> items):</p><div cl...
HTML
=> Promise.reject('An error occurred.'), () => Promise.resolve('three'), () => Promise.reject(new Error('A second error occurred.')), async () => { throw new Error('Another error occurred.'); } ]; expect(runSequentially(promisers)).to.be.eventually.rejectedWith('An...
Typescript
a, U+5927, U+5b50, U+5bb6, U+5c0f, U+5fc3, U+6211, U+6587, U+65b0, U+65bc, U+65e5, U+662f, U+6642, U+6700, U+6703, U+6708-6709, U+672c, U+6b63, U+70b9-70ba, U+751f, U+7528, U+767c, U+7684, U+7db2, U+884c, U+958b, U+95dc, U+96fb, U+9801, U+ff0c, U+ff1a; } /* [C_H1BE] */ @font-face { font-family: 'Chiron Hei HK WS'; ...
CSS
# Generated by Django 4.2.20 on 2025-08-26 18:59 import modelcluster.contrib.taggit from django.db import migrations class Migration(migrations.Migration): dependencies = [ ("base", "0003_pagetopic_topic_remove_taggedpage_content_object_and_more"), ("core", "0043_sitewidedonatebannerpage"), ...
Python
-[[ WindUI.Services.mysuperservicetogetkey = { Name = "My Super Service", Icon = "droplet", -- lucide or rbxassetid or raw link to img Args = { "ServiceId" }, -- <- \ -- | -- important!!!!!!!!!!!!!!! | New = function(ServiceId) -- <------ | A...
Lua
#ifndef _MODULESPACEPARTITIONING_H_ #define _MODULESPACEPARTITIONING_H_ #ifndef ENGINE_EXPORTS #define ENGINE_EXPORTS #endif #include "Module.h" #include "SpacePartition/OLQuadTree.h" #include "SpacePartition/OLOctTree.h" #include "SpacePartition/OLAABBTree.h" #include <memory> class ComponentCamera; class Compone...
C
NOT_ON_MINIMAP] = self:GetParent():IsHero(), [MODIFIER_STATE_NO_UNIT_COLLISION] = self:GetParent():IsHero() or self:GetCaster():HasScepter() or self:GetParent():GetName() == "npc_dota_brewmaster_fire", [MODIFIER_STATE_UNSELECTABLE] = self:GetParent():IsHero(), } end function modifier_imba_brewmaster_primal_spli...
Lua
operator def __read_version(self, attrs): castxml_format = attrs.get(XML_AN_CASTXML_FORMAT) gccxml_cvs_revision = None if castxml_format is None: gccxml_cvs_revision = attrs.get(XML_AN_CVS_REVISION) xml_generator = utils.xml_generators( utils.loggers.cxx_pars...
Python
ná", "Zelená", "Zelená Louka", "Zelený Pruh", "Zelený Pruh", "Zelený Pruh", "Zelinářská", "Zemanka", "Zemské Právo", "Zemědělská", "Zengrova", "Zenklova", "Zenklova", "Zeyerova Alej", "Zhořelecká", "Zikova", "Zimova", "Zimákova", "Zkrácená", "Zlatnice", "Zlatnická", "Zlatokorun...
JavaScript
{ sources: [store] // Using the N3 store as the RDF source }); const bindings = await result.toArray(); bindings.forEach(binding => { nodestring = binding.get('node').value ; pathstring = binding.get('path').value ; messagestring = binding.get('message').value.replace(/</g, "&lt;").rep...
JavaScript
56ff2ff8f84de22fa4ad45">TensorUpdateDiagonalFunc</a>(<a class="code" href="structcutlass_1_1reference_1_1device_1_1detail_1_1TensorUpdateDiagonalFunc_1_1Params.html">Params</a> <span class="keyword">const</span> &amp;params): params(params) {</div><div class="line"><a name="l00698"></a><span class="lineno"> 698</span>...
HTML
equiv="Content-Type" content="text/html; charset=UTF-8" /><title>ResponseMessageFactory.GetResponseEntity 方法 </title><meta name="Language" content="zh-cn" /><meta name="System.Keywords" content="GetResponseEntity 方法" /><meta name="System.Keywords" content="ResponseMessageFactory.GetResponseEntity 方法" /><meta name="Micr...
HTML
c978b06820edca9ef982c35fda2d255afba340068c5035552368bc7200c1488ffffffff0100093d00000000001976a9148edb68822f1ad580b043c7b3df2e400f8699eb4888ac00000000"), SER_NETWORK, PROTOCOL_VERSION); stream >> block; CBloomFilter filter(10, 0.000001, 0, BLOOM_UPDATE_NONE); // Match the generation pubkey filter.insert...
C++
data(self_: &mut Mods) -> Result<()> { let resolved_mod_list = self_.resolved_mod_list.as_ref().ok_or_else(|| { format_err!("Call `Mods:resolve_versions() before calling `Mods:scan_metadata()`") })?; let mut mods = HashMap::new(); for mod_id in &resolved_mod_list.sorted_mods { let versi...
Rust
_regist_zone_id_list_present) { HANDLE_CODE(pack_dyn_seq_of(bref, secondary_pre_regist_zone_id_list, 1, 2, integer_packer<uint16_t>(0, 255))); } return SRSASN_SUCCESS; } SRSASN_CODE pre_regist_info_hrpd_s::unpack(cbit_ref& bref) { HANDLE_CODE(bref.unpack(pre_regist_zone_id_present, 1)); HANDLE_CODE(bref.un...
C++
iriam tik jau budingus papildomus parametrus class Bulvytes extends Produktas { public readonly kiekis: number; public readonly tipas: BulvytesTipas; constructor(kiekis: number, tipas: BulvytesTipas = BulvytesTipas.Lazdeles) { // https://www.typescriptlang.org/docs/handbook/2/classes.html#s...
Typescript
position vector.<BR> </DL> <DL><DT> <B> `et' </B><BR><BR> <DD> is the epoch in ephemeris seconds past the epoch of J2000 (TDB) at which the position transformation matrix `rotate' should be evaluated.<BR> </DL> <DL><DT> <B> `rotate' </B><BR><BR> <DD> is the matrix that transforms position vectors from the reference...
HTML
{ if(pointsLeft > 0) { _toon.GetPrimaryAttribute(cnt).BaseValue++; pointsLeft--; _toon.StatUpdate(); } } } } private void DisplayVitals() { for(int cnt = 0; cnt < Enum.GetValues(typeof(VitalName)).Length; cnt++) { GUI.Label(new Rect( OFFSET, /...
C#
= G L1_2 = L1_2.RedDotModule L1_2 = L1_2.Instance L2_2 = L1_2 L1_2 = L1_2.update_reddot L3_2 =
Lua
l, amount))); rows.push(asColumn('Carbohydrates', 'sugar', calculateToDisplay(product.carbohydrates.sugar, amount))); rows.push(asColumn('Carbohydrates', 'added sugar', calculateToDisplay(product.carbohydrates.addedSugar, amount))); rows.push(asColumn('Carbohydrates', 'fiber', calculateToDisplay(product.car...
Typescript
/* * Copyright 2014 - 2017 Adaptive Financial Consulting Ltd * * 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.org/licenses/LICENSE-2.0 * * Unless required by ap...
C#
params::defaultInstance(), &event); } py::object computeEnergy(Node* self) { sofa::simulation::mechanicalvisitor::MechanicalComputeEnergyVisitor energyVisitor(sofa::core::mechanicalparams::defaultInstance()); energyVisitor.execute(self->getContext()); const SReal kineticEnergy = energyVisitor.getKineticEne...
C++
-family: sans-serif; /* 1 */ -ms-text-size-adjust: 100%; /* 2 */ -webkit-text-size-adjust: 100%; /* 2 */ } /** Remove default margin. */ body { margin: 0; } /* ========================================================================== Links =================================================================...
CSS
see cref="Type"/>s.</param> /// <param name="keySchema">The schema for dictionary keys of the serialization target dictionary.</param> /// <param name="valueSchema">The schema for dictionary values of the serialization target dictionary.</param> /// <returns>A new instance of the <see cref="PolymorphismSchema"/> ...
C#
div><div class="mb2 gray5 ">3 menit untuk dibaca</div> <div class="post-content lh-copy gray1"> <figure class="kg-card kg-image-card"><img src="https://blog.cloudflare.com/content/images/2021/12/image1-64.png" class="kg-image" alt="What’s new with Cloudflare Notifications?" loading="lazy"></figure> <p>Tahun 2019 sila...
HTML
assert(y == "ab") assert(z == "abc") x = "a" for i=1,100 do y = x.."b" z = y..i end assert(y == "ab") assert(z == "ab100") end do --- Append, FOLD local a, b = "x" for i=1,100 do b = (a.."y").."" end assert(b == "xy") end do --- Append to buffer, sink local x = "a" for i=1,100 do x = x....
Lua
info->start, stop_at - info->start)) return 0; info->start = -1; info->can_merge = 1; } /* If we have made it this far, we can commit our pointers */ info->ptrs = p; } /* Add a region for the END tag and a separate one for string table */ if (info->ptrs.done < FDT_DONE_END) { if (info->p...
C
= log_monitor.get_new_events() if new_log_events: event_processor.process_events(new_log_events) if not paused: event_processor.update_cars(dt * sim_speed) draw_road(screen) for car_id in event_processor.active_cars: is_tracked = (car_id ==...
Python
24 .word cmp_fs_d_f26 .word cmp_fs_d_f28 .word cmp_fs_d_f30 .text cmp_fs_d_f0: mfc1 t3, $f0 mfc1 t0, $f1 b cmp_fs_d_done cmp_fs_d_f2: mfc1 t3, $f2 mfc1 t0, $f3 b cmp_fs_d_done cmp_fs_d_f4: mfc1 t3, $f4 mfc1 t0, $f5 b cmp_fs_d_done cmp_fs_d_f6: mfc1 t3, $f6 mfc1 t0, $f7 b cmp_fs_d_done cmp_fs_d_f8: mfc...
Assembly
4б5в .про4б5к .про4б5лем .пров4 .прог4 .прод4 .прое4 .прож4 .проз4 .прои4 .прок4 .про4к5с .прол4 .пром4 .прон4 .проо4 .проп4 .прор4 .прос4 .про4с5б .про4с4т .про4с5ф .прот4 .проу4 .прох4 .проц4 .проч4 .прош4 .прощ4 .проъ4 .прою4 .проя4 .пс8 .пт8 .пф8 .пх8 .пц8 .пч8 .пш8 .пщ8 .ра2за4 .ра2зб4 .ра2зв4 .ра2зг4 .ра2зд4 .ра2...
Go
2-55.071-55.072c-30.415,0-55.072,24.657-55.072,55.072c0,0.088,0.006,0.176,0.007,0.264 C264.348,164.288,288.943,139.773,319.27,139.773z"/> <g opacity="0.2"> <path fill="#FFFF60" d="M309.6,140.108c-3.133,0.555-6.179,1.363-9.105,2.424c30.455,9.073,55.901,26.256,73.797,49...
HTML
:</b> <a href="subject.html#start">[ subject ]</a> <a href="author.html#start">[ author ]</a> <a href="date.html#start">[ date ]</a> <li><b><a href="http://sourcerytools.com/cgi-bin/mailman/listinfo/cxx-abi-dev">More info on this list... </a></b></li> </ul> <p> <...
HTML
Entry(ts time.Time, layout string, parts SyslogParts) string { timestamp := ts.Format(layout) hostname := "myhost" if parts.Tag == "" { parts.Tag = randomElement(facilities) } if parts.Severity == "" { parts.Severity = randomElement(severities) } if parts.Pid == 0 { parts.Pid = rand.Intn(9000) + 100 } ...
Go
handler; this.downloadComplated = downloadComplated; sqlTool = DownlaodSqlTool.getInstance(mContext); if ("".equals(filePath)) { // TODO 根据有无sdcard设置路径 filePath = Environment.getExternalStorageDirectory() .getAbsolutePath() + "/meiriq-download"; } threads = new ArrayList<DownloadThread>(); } /*...
Java
oyrfZngpureR,%object b__MGVA6vph_648ahzcnefr4vzcy17VtabenoyrfZngpureR: .space __SIZEOF_POINTER__ .data .globl b__MGFA6vph_6417EhyrOnfrqGvzrMbarR .type b__MGFA6vph_6417EhyrOnfrqGvzrMbarR,%object b__MGFA6vph_6417EhyrOnfrqGvzrMbarR: .space __SIZEOF_POINTER__ .text .globl b__MA6vph_6417TertbevnaPnyraqneP2REXAF_6YbpnyrRE10H...
Assembly
/****************************************************************************** * Copyright (C) 2012 by Jerome Maye * * jerome.maye@gmail.com * * * ...
C
arcTo_collinear_1() { var canvas = document.getElementById('c361'); var ctx = canvas.getContext('2d'); ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50); ctx.lineWidth = 50; ctx.strokeStyle = '#0f0'; ctx.beginPath(); ctx.moveTo(0, 25); ctx.arcTo(100, 25, 200, 25, 1); ctx.stroke(); ctx.strokeStyle = '#f00'; ctx.be...
HTML
= "견고한 사슬 장화", [4010] = "견고한 사슬 팔보호구", [4011] = "견고한 사슬 망토", [4012] = "견고한 사슬 장갑", [4013] = "견고한 사슬 바지", [4014] = "견고한 사슬 어깨보호구", [4015] = "견고한 사슬 갑옷", [4016] = "잔질의 혼합물", [4017] = "날카로운 쇼트소드", [4018] = "연마된 클레이모어", [4019] = "단단한 돌도끼", [4020] = "날이 빠진 배틀액스", [4021] = "뭉툭한 철퇴", [4022] = "판판한 마울", [4023] = "고급 뾰족단검", [4...
Lua
PictureCopyright.setColor(oldColor); canvas.drawText(separator, 0, (i+1) * ProgramTableLayoutConstants.SUPER_SMALL_MAX_FONT_HEIGHT - ProgramTableLayoutConstants.SUPER_SMALL_FONT_DESCEND, toUseForPictureCopyright); canvas.translate(separatorWidth, 0); } } ...
Java
48 48"},t),u("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M24 0C37.2548 0 48 10.7452 48 24C48 37.2548 37.2548 48 24 48C10.7452 48 0 37.2548 0 24C0 10.7452 10.7452 0 24 0ZM24 2C11.8497 2 2 11.8497 2 24C2 36.1503 11.8497 46 24 46C36.1503 46 46 36.1503 46 24C46 11.8497 36.1503 2 24 2ZM33.5491 19.4998C33.5491 19.2865 ...
JavaScript
s[orgName] if !ok { return nil, fmt.Errorf("Attempted to include a member which is not in the consortium") } applicationGroup.Groups[orgName] = consortiumGroup } } channelGroup := cb.NewConfigGroup() // Copy the system channel Channel level config to the new config for key, value := range systemCha...
Go
clear(); cal2.set(2005, MARCH, 11); // test2: set only DST_OFFSET cal2.set(DST_OFFSET, dstOffset); if (t1 != cal2.getTime().getTime() || gmt != cal2.get(ZONE_OFFSET)) { error("Test2", loc, cal2, gmtOffset, dstOffset, t1); } cal2.setTimeZone(tz2); cal2...
Java
Comparer.OrdinalIgnoreCase)) return (T)(object)true; if (falseValues.Contains(str, StringComparer.OrdinalIgnoreCase)) return (T)(object)false; throw new FormatException(); } if (typeof(T) == typeof(string)) { ...
C#
2017西湖论剑范渊演讲内容:《安全的责任》-E安全" alt="2017西湖论剑范渊演讲内容:《安全的责任》-E安全" width="95%"/></p><p style="text-align: center"><img src="https://cdn.easyaq.com/@/20170525/1495702264962057086.jpg" title="2017西湖论剑范渊演讲内容:《安全的责任》-E安全" alt="2017西湖论剑范渊演讲内容:《安全的责任》-E安全" width="95%"/></p><p style="text-align: center"><img src="https://cdn.easyaq...
HTML
ntal impulse /* * Vec2 P1 = d.x * normal; Vec2 P2 = d.y * normal; vA -= invMassA * (P1 + P2); wA -= * invIA * (Cross(cp1.rA, P1) + Cross(cp2.rA, P2)); * * vB += invMassB * (P1 + P2); wB += invIB * (Cross(cp1.rB, P1) + Cross(cp2.rB, P2)); */ ...
Java
tests := []test{ { "normal", "4f8eee94-dee8-11ee-a675-e301225ac38f", 0, &channel.Channel{ ID: "4f8eee94-dee8-11ee-a675-e301225ac38f", AsteriskID: "42:01:0a:a4:00:03", TMEnd: dbhandler.DefaultTimeStamp, }, }, { "exceeded max retry count", "27959a54-6e79-11ed-aef7-d...
Go
Price({ exchange: 'binance', symbols: 'BTC/USDT,ETH/USDT', dates: '2021-04-28,2021-04-29,2021-04-30' })). toStrictEqual(res); }); it('Check if bitmex exchange is present', async () => { const res: PriceResponce = JSON.parse(`{"BTC/USD":{"1619568000000":55050.5,"16196...
Typescript
<td class=fielddesc>Name of the Floating Rate, must be unique </td> </tr> <tr class=alt> <td>isBaseLendingRate</td> </tr> <tr> <td class=fielddesc> Identifies the Floating Rate scheme to be Base Lending Rate. Only one scheme can be Base Lending Rate at any given poi...
HTML
1b 2: assert nei, a5, 0 test_end test ccompare0_interrupt set_vector TIMER0_VECTOR, 2f movi a2, 0 wsr a2, intenable rsr a2, interrupt wsr a2, intclear movi a2, 0 #if XCHAL_NUM_TIMERS > 1 wsr a2, ccompare1 #endif #if XCHAL_NUM_TIMERS > 2 wsr a2, ccompare...
Assembly
part 1 move.l d3,d7 lsr.l #4,d6 lsr.l #4,d7 eor.l d0,d6 eor.l d2,d7 and.l #$0f0f0f0f,d6 and.l #$0f0f0f0f,d7 eor.l d6,d0 eor.l d7,d2 lsl.l #4,d6 lsl.l #4,d7 eor.l d6,d1 eor.l d7,d3 exg d2,a5 exg d3,a6 move.l d5,d6 ; Swap 4x1, part 2 move.l d3,d7 lsr.l #4,d6 lsr.l #4,d7 eor.l d4,d6 eor.l d2,d7 a...
Assembly
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; namespace Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.UnitTests { /// <summary> /// Wrapper that allows for reusing test logic for ...
C#
Football Beetle">Football Beetle</a> (<a href="//en.wikipedia.org/w/index.php?title=User_talk:Football_Beetle&amp;action=edit&amp;redlink=1" class="new" title="User talk:Football Beetle (page does not exist)">talk</a>) 17:43, 22 August 2019 (UTC)<a href="#">Reply</a> </p> <dl><dd>I still don't know what you refer to wi...
HTML
{Range: directives.Range{Start: 21, End: 25, Text: s}}, Target: directives.Commodity{Range: Range{Start: 26, End: 29, Text: s}}, }, } }, }, }, desc: "p.parseDirective()", fn: func(p *Parser) (directives.Directive, error) { return p.parseDirective() }, }.run(t) } func TestParseRe...
Go
(bulkData.Keys, idx) bulkData.Muts = append(bulkData.Muts, mut) } } return bulkData, bulkMetadataUpdates, nil } type BridgeQueueRequest struct { TxHash []byte TxIndex int ItxIndex int BlockNumber uint64 BlockTimestamp time.Time From []byte Fee uint64 } func ...
Go
.root61 #movie-tickets .mt-item-one li{width:514px;} .root61 #movie-tickets .mt-item-one li .dd{width:454px;} .root61 #mm-recommended{padding:0 28px;} .root61 #medicine .mmr-list{width:572px;} .root61 #medicine .mmr-list-info2{width:968px;} .root61 #groupbuy .gb-list{width:968px;} .root61 #groupbuy li{padding:0 21px;} ...
CSS
\f128; $fa-var-question-circle: \f059; $fa-var-quidditch: \f458; $fa-var-quinscape: \f459; $fa-var-quora: \f2c4; $fa-var-quote-left: \f10d; $fa-var-quote-right: \f10e; $fa-var-quran: \f687; $fa-var-r-project: \f4f7; $fa-var-radiation: \f7b9; $fa-var-radiation-alt: \f7ba; $fa-var-rainbow: \f75b; $fa-var-random: \f074; ...
CSS
0SSASET register"] pub ssaset: crate::Reg<ssaset::SSASET_SPEC>, #[doc = "0x3c - DCH0SSAINV register"] pub ssainv: crate::Reg<ssainv::SSAINV_SPEC>, #[doc = "0x40 - DCH0DSA register"] pub dsa: crate::Reg<dsa::DSA_SPEC>, #[doc = "0x44 - DCH0DSACLR register"] pub dsaclr: crate::Reg<dsaclr::DSACL...
Rust
able as bool?,server: freezed == server ? _self.server : server // ignore: cast_nullable_to_non_nullable as String?,interval: freezed == interval ? _self.interval : interval // ignore: cast_nullable_to_non_nullable as int?,count: freezed == count ? _self.count : count // ignore: cast_nullable_to_non_nullable as int?,rt...
Dart
/* $NetBSD: hpcin.c,v 1.15 2012/10/27 17:18:17 chs Exp $ */ /*- * Copyright (c) 2000, 2001 The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation * by UCHIYAMA Yasushi. * * Redistribution and use in source and binary forms, with or without ...
C
ubuntu/pool/main/o/openldap/openldap_2.6.7%2bdfsg-1%7eexp1ubuntu8.2.debian.tar.xz' openldap_2.6.7+dfsg-1~exp1ubuntu8.2.debian.tar.xz 186792 SHA512:276056a2c445949ab7cba305eb760f8793b5bae6c487c9301da94553b1c8d83ada9279a537800deef7fc434af4352585071514bafdc9172ac766feb739c590cc ``` ### `dpkg` source package: `openssl=3.0...
Markdown
Pool.removeFirst(); } instance ??= CallNativeParams(); instance._init(moduleName, moduleFunc, callId, params); return instance; } void _init( String moduleName, String moduleFunc, String callId, VoltronArray params, ) { _moduleName = moduleName; _moduleFunc = moduleFunc; ...
Dart
TerrainManager.Instance != null) { Bounds terrainBounds = ProceduralTerrainManager.Instance.TerrainBounds; float margin = 10f; float maxAltitudeExtra = 500f; desiredPosition.x = Mathf.Clamp(desiredPosition.x, terrainBounds.min.x + margin, terra...
C#
fmt=jpeg "") **本周漏洞态势研判情况** 本 周 信 息 安 全 漏 洞 威 胁 整 体 评 价 级 别 为 中**。** 国 家信息安全 漏 洞共享平台(以下简称CNVD)本周共收集、 整理信息安全漏洞 821个,其中高危漏洞399个、中危漏洞371个、低危漏洞51个。漏洞平均分值为6.39。本周收录的漏洞中,涉及0day漏洞620个(占76%),其中互联网上出现“D-Link DAP-1320栈缓冲区溢出漏洞(CNVD-2025-13521、CNVD-2025-13520)”等零日代码攻击漏洞。本周...
Markdown
field: ", stringify!(in6_addr__bindgen_ty_1), "::", stringify!(__u6_addr32) ) ); } #[test] fn bindgen_test_layout_in6_addr() { assert_eq!( ::std::mem::size_of::<in6_addr>(), 16usize, concat!("Size of: ", stringify!(in6_addr)) ); assert...
Rust
2C36 49.0375 36.0562 48.9 36.1688 48.7875C36.2938 48.6625 36.4375 48.6 36.6 48.6H42.6V42.6C42.6 42.4375 42.6562 42.3 42.7687 42.1875C42.8937 42.0625 43.0375 42 43.2 42H46.8C46.9625 42 47.1 42.0625 47.2125 42.1875C47.3375 42.3 47.4 42.4375 47.4 42.6V48.6Z' fill='%236F8BFF'/%3E%3Cpath fill-rule='evenodd' clip-rule='eveno...
CSS
t(id) } // Copyright © 2023 sealos. // // 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.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed ...
Go