content
stringlengths
2
6.21k
label
stringclasses
16 values
[string]*Pod{}, } } } return nil } func (w *WorkloadsTree) addDaemonSets() error { daemonSetList, err := w.client.AppsV1().DaemonSets(w.namespace).List(context.TODO(), metav1.ListOptions{}) if err != nil { return err } for _, daemonSet := range daemonSetList.Items { if _, ok := w.DaemonSets[daemonSet.N...
Go
('https://c.s-microsoft.com/static/fonts/segoe-ui/west-european/semilight/latest.eot?#iefix') format('embedded-opentype'); src: local('Segoe UI Semilight'), url('https://c.s-microsoft.com/static/fonts/segoe-ui/west-european/semilight/latest.woff2') format('woff2'), url('https://c.s-microsoft.com/static/...
CSS
= this.currentTurnVelocity + acceleration; } if ((this.currentTurnVelocity * turningSign) > this.orientationInterpolation.getMaxVelocity()) { this.currentTurnVelocity = this.orientationInterpolation.getMaxVelocity() * turningSign; } float angleToAdd = (float) ((Math.toDegrees(this.currentTurnVelocity) * del...
Java
0px 60px; font-size: 60px; text-transform: none; font-weight: 400; } &.btn-half, &.btn-half .icon, &.btn-half .icon:before { min-width: 30px; width: 30px; } &.btn-half.btn-sm, &.btn-half.btn-sm .icon, &.btn-half.btn-sm .icon:before { min-width: 16px; width: 16px; } &....
CSS
方法及注意事项视频教程大全的知识,其中也会对动物疫苗知识进行解释,如果能碰巧解决你现在面临的问题,别忘了关注本站,现在开始吧!本文目录一览:1、如何自.</p> </div> </div> </div> </div> </div> ...
HTML
3D import com.rndash.mbheadunit.doom.things.AbstractThing import com.rndash.mbheadunit.doom.wad.WadFile import com.rndash.mbheadunit.doom.wad.mapData.* @ExperimentalStdlibApi @ExperimentalUnsignedTypes class GLMap(private val l: Level, private val w: WadFile, private val cMap: Array<ColourMap>) { companion object ...
Kotlin
om(me)) } @Test fun getMe() { Assert.assertEquals(me, ScenePath().from(me)) } @Test(expected = Exception::class) fun getBadPath() { ScenePath("blah").from(me) } fun scene(name: String): Scene { return Scene( name, null, ...
Kotlin
JSONHandler(os.Stdout, &slog.HandlerOptions{ AddSource: true, Level: slog.LevelDebug, ReplaceAttr: nil, })) slog.SetDefault(logger) hlog.SetLevel(3) } func main() { natsAddr := conf.GetData().NatsConfig.Address if err := mq.Init(natsAddr); err != nil { slog.Error("nats init fail", slog.String("...
Go
dir(&self.new_path)?; } Ok(()) } } <reponame>zotho/ray-tracer-challenge-rust #[cfg(test)] mod tests { use crate::{float_eq, shapes::Shape, shapes::Triangle, Intersection, Point, Ray, Vector}; pub struct Background {} impl Background { pub const P1: Point = Point { ...
Rust
mund); Krummheuer, A.L., Interaktion mit virtuellen Agenten? (2010) Zur Aneignung Eines Ungewohnten Artefakts, , Stuttgart: Lucius; Krusch, C., Mikroökonomie in künstlichen Gesellschaften (2008) Vom Sugarscape- Zum Ruhrmodell, , Münster: LIT; Latour, B., Mixing humans and nonhumans together: The sociology of a door-clo...
HTML
esWithProgressAndRSSOneOfBuilder(); final serializedList = (serialized as Iterable<Object?>).toList(); final unhandled = <Object?>[]; _deserializeProperties( serializers, serialized, specifiedType: specifiedType, serializedList: serializedList, unhandled: unhandled, resul...
Dart
WE_EXCEPTION_TIP_600055(600055, "无效的用户类型", "-"), WE_EXCEPTION_TIP_600056(600056, "无效的健康状态", "-"), WE_EXCEPTION_TIP_600057(600057, "缺少体温参数", "-"), WE_EXCEPTION_TIP_610001(610001, "永久二维码超过每个员工5000的限制", "-"), WE_EXCEPTION_TIP_610003(610003, "服务异常", "有效的scene长度为1~64字符,由英文字母、数字、中划线、下划线以及点号构成"), WE_E...
Java
namespace WpfPropertyGrid; public class BaseActivator : IActivator { public virtual object? CreateInstance(Type type, params object?[]? args) { ArgumentNullException.ThrowIfNull(type); if (type == typeof(Utilities.DynamicObject)) return new Utilities.DynamicObject(); if (...
C#
(data.expectedOutput); }); }); type FieldCellType = 'bomb' | 'number' | 'empty' | 'button' export type FieldCell = { x: number, y: number, type: FieldCellType, number?: 1 | 2 | 3 } export const filedSize = 24; function getRandomInt(min: number, max: number) { min = Math.ceil(min); max = Math.floor(ma...
Typescript
', 'speed-test': 'تست سرعت', 'add-server': 'افزودن سرور', 'add': 'افزودن', 'enter-server-config': 'پیکربندی سرور را وارد کنید', 'add-server-clipboard': 'افزودن از کلیپ بورد', 'add-server-file': 'افزودن از فایل', 'add-server-text': 'افزودن دستی', 'copy': 'کپی', 'clear': 'پاک کردن', 'logs': 'لاگ', '...
Dart
erty("mod_name") as String, "mod_license" to project.findProperty("mod_license") as String, "mod_version" to project.findProperty("mod_version") as String, "mod_authors" to project.findProperty("mod_authors") as String, "mod_description" to project.findProperty("mod_description") as Stri...
Kotlin
Type</td> <td>Property</td> </tr> </tbody> </table> <table> <thead> <tr> <th colspan="2"><a id="dwc_eventMeasurementDeterminedDate"></a>Term Name dwc:eventMeasurementDeterminedDate</th> </tr> </thead> <tbody> <tr> <td>Term IRI</td> <td><a href="http://rs.tdwg.org/dwc/terms/eventMeasurementDete...
Markdown
%97%26%E5%BF%86%E5%B0%98%E7%9A%86%E6%95%85%E4%BA%8C%E5%91%A8%E7%9B%AE" class="mw-redirect" title="東方白塵記 ~ White names spoiled past./设定与剧情/东风谷早苗&amp;忆尘皆故二周目">东风谷早苗&amp;忆尘皆故</a></div></td></tr><tr><td></td></tr><tr><td class="navbox-group" style=";;"><div>Ex谜题</div></td><td style=";;" class="navbox-list navbox-even"><div...
Markdown
osa.ontrack.extension.github.ingestion.processing.model.Owner import net.nemerosa.ontrack.extension.github.ingestion.processing.model.Repository import net.nemerosa.ontrack.extension.github.ingestion.processing.model.User import net.nemerosa.ontrack.extension.github.ingestion.processing.model.WorkflowJobStepStatus impo...
Kotlin
string()), None )) }, (Some(s), None, Some(o)) => { let mut ret_v: Vec<Triple> = Vec::new(); let triples = self.osp.get_triple(&( Some(o.to_string()), Some(s.to_string()), None)); for triple in triples { ret_v.push(t_order(t...
Rust
eePathNames: List<String> = lfubGetTreePathNames(documentService, catalogIdentifier, doc) } /** * ================================================== * Copyright (C) 2024-2025 wemove digital solutions GmbH * ================================================== * Licensed under the EUPL, Version 1.2 or – as soon they w...
Kotlin
TEST_RR_OP(sub, x12, x10, x11, 0x99999999, 0x0, 0x66666667, x8, 1756, x14) inst_460: // rs1_val==0 and rs2_val==-46339, // opcode: sub ; op1:x10; op2:x11; dest:x12; op1val:0x0; op2val:-0xb503 TEST_RR_OP(sub, x12, x10, x11, 0xb503, 0x0, -0xb503, x8, 1760, x14) inst_461: // rs1_val==0 and rs2_val==46341, // opcode: ...
Assembly
22-01-21 miri run 10 10 13 ``` 再来检查下不可变的引用是否可以像平时一样正常弹出: ```rust fn opaque_read(val: &i32) { println!("{}", val); } unsafe { let mut data = 10; let mref1 = &mut data; let ptr2 = mref1 as *mut i32; let sref3 = &*mref1; *ptr2 += 2; opaque_read(sref3); // Read in the wrong order? *mref1 ...
Markdown
match x { E::Bar { a } | E::Baz { a } => {} } } """) @MockRustcVersion("1.38.0-nightly") fun `test E0416 in nested or pattern branches`() = checkErrors(""" #![feature(or_patterns)] struct Foo { a: i32, b: E } enum E { Ba...
Kotlin
tOf( Circle(drawer.bounds.center, 70.0).contour.reversed, Circle(drawer.bounds.center, 100.0).contour, ) ) val radius = outline.bounds.dimensions.length / 2 val off = outline.bounds.center val num = radius.toInt() val svg = drawCompos...
Kotlin
teble.xposed.autodaily.hook.function.base.BaseFunction import me.teble.xposed.autodaily.hook.utils.QApplicationUtil import me.teble.xposed.autodaily.hook.utils.QApplicationUtil.currentUin import me.teble.xposed.autodaily.hook.utils.WupUtil import me.teble.xposed.autodaily.task.exception.TaskTimeoutException import me.t...
Kotlin
ated = true } hasAncestor(element, SqlForeignKeyDefinition::class.java) -> { annotated = annotateForeignKey(element, holder) } } if (annotated) { return } annotateReferenceIdentifier(element, holder) } private val ...
Kotlin
/* * This file is part of budgie-rd * * Copyright © 2017-2018 Budgie Desktop Developers * * budgie-rd is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at ...
C
tplot(x='cyl', ...: y='wt', ...: hue='vs', ...: markers=['^', 'o'], ...: linestyles=['-', '--'], ...: data=mtcars) ``` ![图13-13 点图](13-advanced-vis.assets/image-20191230222028538.png) 相比于条形图,线图更适用于展示不同引擎类型下汽车重量随气缸数的变化。 ### 13.1...
Markdown
方法,通过优化时间步利用,大幅提升医疗图像生成速度和质量。| |🆕 发布|Deep Equilibrium Convolutional Sparse Coding for Hyperspectral Image Denoising|深度平衡卷积稀疏编码用于高光谱图像去噪|Jin Ye, Jingran Wang, Fengchao Xiong, Jingzhou Chen, Yuntao Qian|<http://arxiv.org/pdf/2508.15553v1>|提出了一种基于深度平衡模型的卷积稀疏编码框架,有效融合了图像的局部与全局特性,实现了超光谱图像的去噪...| |🆕 发布|LGMSNet: Thinning a ...
Markdown
l) { return Result.Fail("User already exists"); } var userMetadata = UserMetadata.Create(request.Username, request.MobileNumber); if (userMetadata.IsFailed) return userMetadata.ToResult(); var user = new User { TelegramId = request.TelegramId, ...
C#
ed(acc, &m.as_partial()); } gather(table, i, &mut tmp); let acc = elem_mul(&tmp, acc, m); (acc, tmp) } let tmp = m.one(); let tmp = elem_mul(m.oneRR().as_ref(), tmp, m); fn entry(table: &[Limb], i: usize, num_limbs: usize) -> &[Limb] { &table[(i * num_limbs)..][...
Rust
import re def extract_non_term_output(response: str, language: str = 'en') -> (bool, str): decision_match = re.search(r'<DECISION>\s*(.*?)\s*</DECISION>', response, re.DOTALL) if decision_match is None: decision = False elif language == 'en': decision = decision_match.group(1).strip() in [...
Python
gff3 -o cds.fa minimap2 -x splice -t 10 -k 12 -a -p 0.4 -N 20 Sorghum_bicolor.Sorghum_bicolor_NCBIv3.dna.toplevel.fa cds.fa > cds.sam minimap2 -x splice -t 10 -k 12 -a -p 0.4 -N 20 Zea_mays.AGPv4.dna.toplevel.fa cds.fa > ref.sam ``` ##### Using GMAP: ``` anchorwave gff2seq -r Zea_mays.AGPv4.dna.toplevel.fa -i Zea_mays...
Markdown
row] );* } } impl<S> ops::SubAssign<&$T> for $T where S: Scalar { #[inline] fn sub_assign(&mut self, other: &$T) { $( self[$col][$row] -= other[$col][$row] );* } } impl<S> ops::MulAssign<S> for $T where S: Scalar { ...
Rust
,简单宣布平反能不能解决问题,刚才提的这个问题很值得想。材料烧毁了,也平反了,但是思想没革命。他(指当权派)思想不革命,还可以随时写黑材料,主要是解决他们的思想问题。我们也要革命,包括我在内。不革命是不可能前进的,无产阶级革命事业要不断前进,不断有新的经验出来,有许多的经验被新的经验代替了。要不断革命,不断改造,如果不懂这一点,总以为“老子天下第一”那就成了前进中的绊脚石了。 </p> <p> 你们对我们有无产阶级感情了,在有阶级的社会,所有感情是有阶级性的。你们对我们有深厚的无产阶级感情,我们很感激,感谢你们。 </p> <p> 同时你们还要不断鞭策我们,帮我们改正。我们不可免地有缺点有错误。这和踢开中...
HTML
JavaType.Source.LITERAL), classFile.getClassType(), "class"))); } for (int x = 0; x < bootstrapArguments.length; ++x) { JavaTypeInstance expected = argTypes.get(ARG_OFFSET + x); TypedLiteral typedLiteral = getBootstrapArg(bootstrapArguments, x, cp); Expression literal...
Java
# ***************************************************************************** # Copyright (c) 2019-2020, Intel Corporation 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 o...
Python
> (byte) 0 && !tile1.lava() || tile2.liquid > (byte) 0 && !tile2.lava() || tile3.liquid > (byte) 0 && !tile3.lava()) { int num = 0; int Type = 56; if (!tile1.lava()) { num += (int) tile1.liquid; tile1.liquid = (byte) 0; } if (!tile2.lava()) ...
C#
── FlowScriptEngine.kt # JavaScript execution wrapper │ ├── ChangeNode.kt # Value transformation │ ├── TemplateNode.kt # String templates │ ├── DelayNode.kt # Rate limiting/debounce │ └── TriggerNode.kt # State-based triggers ├── store...
Markdown
UTask {outEnd = [59, 47, 47], mpe_mode = #VPU.mpe_mode<VECTOR_FP16>, pad = #VPU.Padding<left = 0 : i64, right = 0 : i64, top = 0 : i64, bottom = 0 : i64>, outStart = [0, 36, 0]} DPUTask {outEnd = [59, 59, 47], mpe_mode = #VPU.mpe_mode<VECTOR_FP16>, pad = #VPU.Padding<left = 0 : i64, right = 0 : i64,...
C++
792a0de45648117a69fb55646473acea922745df026e59625f978612fb1a"></a><!-- doxytag: member="XED_IFORMFL_VCVTTPD2QQ_LAST" ref="5d4c792a0de45648117a69fb55646473acea922745df026e59625f978612fb1a" args="" -->XED_IFORMFL_VCVTTPD2QQ_LAST</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="5d4c792a0de45...
HTML
NGdGajBxMHgxaVNOc3BLcWJjc2U0SWVpcWxEZy9IV3VJPSIsCiAgICAgICJoYXNoQWxnb3JpdGhtT0lEIjogIjIuMTYuODQwLjEuMTAxLjMuNC4yLjEiLAogICAgICAiZG9jdW1lbnRMb2NhdGlvbl91cmkiOiAiaHR0cHM6Ly9wcm90ZWN0ZWQucnAuZXhhbXBsZS9jb250cmFjdC0wMS5wZGY/dG9rZW49SFM5bmFKS1d3cDkwMWhCY0szNDhJVUhpdUg4Mzc0IiwKICAgICAgImRvY3VtZW50TG9jYXRpb25fbWV0aG9kIjogewog...
Kotlin
String p = (String)e.nextElement(); if (p.startsWith(Property.USER_PROPERTY_PREFIX)) { String userAsSpecified = StringUtil.normalizeSQLIdentifier( p.substring(Property.USER_PROPERTY_PREFIX.length())); if (username.equals(userAsSpecified))...
Java
getArmorCoverPercentage(entity) if (armorCoverPercentage < 0.1F) armorCoverPercentage = 0.1F result *= 0.7 * armorCoverPercentage } // The detection range of hostile mobs is halved when the target is wearing a head of the mob's type val head = entity.getEquipment(Equipm...
Kotlin
l>Namespace: <a href="net.adamec.lib.common.dmn.engine.engine.decisions__15bua3q.html#n-net.adamec.lib.common.dmn.engine.engine.decisions__15bua3q" >net.adamec.lib.common.dmn.engine.engine.decisions</a><br /> Assembly: net.adamec.lib.common.dmn.engine<br /> Type: <a href="net.adamec.lib.common.dmn.engine.engine.decisio...
HTML
radius:0 4px 4px 0!important}.is-append a,.is-append span{border-left:none;border-radius:0 4px 4px 0}.breadcrumb{align-items:center}.breadcrumb a,.breadcrumb span{font-style:normal;padding-right:8px;white-space:nowrap}.breadcrumb a:hover{-moz-transition:all linear .2s;transition:all linear .2s;color:#158df7;text-decora...
CSS
# STRICTLY A SOCIAL MEDIA PLATFORM # Intellectual Property & Artistic Inspiration # Legal & Ethical Safeguards import pytest pytest.importorskip("nicegui") pytestmark = pytest.mark.requires_nicegui import inspect from transcendental_resonance_frontend.tr_pages.upload_page import upload_page def test_upload_page_is_a...
Python
.Create(headerHeight + 1))); } else if (currentHeight < session.LastBlockIndex) { uint startHeight = currentHeight + 1; while (globalIndexTasks.ContainsKey(startHeight) || session.ReceivedBlock.ContainsKey(startHeight)) { startHeight++; } ...
C#
class TimePickerModal extends React.Component { constructor(props) { super(props); /* - 获取初始化时的旋转角度 - 以step 0代表hour的选择,1代表minute的选择 */ let pointerRotate = this.resetHourDegree(); this.state = { step: 0, pointerRotate } } handleStepChange(step) {} handleTimePointer...
Markdown
ate(dt); enemyComponents.removeWhere((enemy) => enemy.position.y > gameRef.size.y); } start() { timer = da.Timer.periodic(const Duration(milliseconds: 2300), (_) => addEnemy()); } addEnemy() async { final randomEnemy = Random().nextInt(gameRef.level < Enemy.values.length ? gameRef.level ...
Dart
omponent == null) { Mod.Trace(string.Format("Trying to add metamagic feature without metamagic component: {0}", (object)metamagicFeature)); } else { __instance.KnownMetamagics.Add(metamagicFeature); var metamagic = component.Met...
C#
0x59C2: "fá", 0x59C3: "zhēng", 0x59C4: "mín", 0x59C5: "bàn", 0x59C6: "mǔ", 0x59C7: "fū,fú", 0x59C8: "líng", 0x59C9: "zǐ", 0x59CA: "zǐ", 0x59CB: "shǐ", 0x59CC: "rǎn", 0x59CD: "shān,xiān,pān", 0x59CE: "yāng", 0x59CF: "mán", 0x59D0: "jiě,jù,xù,zū", 0x59D1: "gū", 0x59D2: "sì", 0x59D3: "xìng,shēng", 0x59D...
Go
stRTSPSessionMedia, pub factory: *mut GstRTSPMediaFactory, pub media: *mut GstRTSPMedia, pub stream: *mut GstRTSPStream, pub response: *mut gst_rtsp::GstRTSPMessage, pub trans: *mut GstRTSPStreamTransport, pub _gst_reserved: [gpointer; 3], } impl ::std::fmt::Debug for GstRTSPContext { fn fm...
Rust
import objc from PyObjCTools.TestSupport import ( TestCase, min_os_level, os_release, expectedFailure, expectedFailureIf, ) import GameCenter class TestGKLocalPlayer(TestCase): @expectedFailureIf(os_release().rsplit(".", 1)[0] == "10.9") @min_os_level("10.8") def testMethods10_8(self)...
Python
work_buckets[bucket].is_activated()); work.do_work_with_stat(self, mmtk); } let mut work = self.scheduler().poll(self); debug_assert!(!self.is_parked()); work.do_work_with_stat(self, mmtk); } } } pub struct WorkerGroup<VM: VMBinding> { pub...
Rust
)?; let (file, contents) = FILES[i]; Ok(SpecTest { file, contents }) } fn size_hint(_depth: usize) -> (usize, Option<usize>) { (1, Some(std::mem::size_of::<usize>())) } } /// Default module-level configuration for fuzzing Wasmtime. /// /// Internally this uses `wasm-smith`'s own `S...
Rust
line-height: 18px; text-align: right; padding: 2px 7px; } .form-toggle__item i::after { top: 50%; left: 4px; width: 16px; height: 16px; background-color: #c1d0da; border-radius: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%); transition: left .2s ease; } .form-togg...
CSS
s the expression as part of the ColumnType. colComputeExpression := b.QueryByID(tableID).FilterColumnComputeExpression().Filter(func(_ scpb.Status, _ scpb.TargetStatus, e *scpb.ColumnComputeExpression) bool { return e.ColumnID == columnID }).MustGetZeroOrOneElement() if colComputeExpression != nil { return &colC...
Go
порог для изменений - Наблюдаемость → метрики качества (покрытие, линт, безопасность) - Автономия → описанная политика и шаблоны ## Слои | Слой | Назначение | |------|------------| | Core | Бизнес-логика / функции | | Learning | Саамообучение, метрики, анализ трендов | | Performance | Оптимизация, кэширование, профил...
Markdown
nd" errors. // Additionally, accept the special package name // fakePkgName if we are looking at cmd documentation. name := pkgName(dirpath + "/" + d.Name()) return name == pkgname } return false } // get package AST pkgs, err := parser.ParseDir(token.NewFileSet(), dirpath, filter, parser.ParseComme...
Go
令,实现对Wasm语言的优化重写。 总之,rewriteValueWasm_OpRsh8x32函数的作用是在Wasm编译器中优化重写OpRsh8x32操作,以提高程序的性能,并增强其在Wasm平台上的可移植性。 ### rewriteValueWasm_OpRsh8x64 rewriteValueWasm_OpRsh8x64函数的作用是将WebAssembly模块中的OpRsh8x64指令重写为等效的指令序列。OpRsh8x64指令将两个64位整数作为输入,并将第一个整数向右移动第二个整数的低8位数,然后将结果作为64位整数输出。这个函数将OpRsh8x64指令分解为一系列等效的指令,包括将第一个整数右移,将第二个整数截断...
Markdown
" Retrieve an item from the memory by its key. - **Args**: - `key` (Any): The key of the item to retrieve. - **Returns**: - `Any`: The retrieved memory item. """ raise NotImplementedError @abstractmethod async def update(self, key: Any, value: A...
Python
"surah_number": 2, "verse_number": 220, "content": "در دنیا و آخرت، و از تو درباره یتیمان می‌پرسند، بگو: «اصلاح کردن (کار) آنان بهتراست، و اگر با آنان همزیستی کنید؛ آن‌ها برادران (دینی) شما هستند». و الله تباهکار را از درستکار می‌شناسد، و اگر الله می‌خواست شما را به زحمت می‌انداخت، به راستی که الله ...
Dart
2 <a href="0802.htm" target="UDOcon">Pin TT/STe Serie</a></li> <ul> <li> 8.2.1 <a href="080201.htm" target="UDOcon">GSTMCU</a></li> <li> 8.2.2 <a href="080202.htm" target="UDOcon">TT Uhr</a></li> <li> 8.2.3 <a href="080203.htm" target="UDOcon">TT 5380 SCSI Controller</a></li> <li> 8.2.4 <a href="080204.htm" target="UDO...
HTML
c.set(Calendar.MILLISECOND, 999); return c.getTime(); } public static String getDayWeekOfDate1(Date date) { String[] weekDays = {"星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"}; Calendar cal = Calendar.getInstance(); cal.setTime(date); int w = cal.get(Calendar.DAY_OF_W...
Java
m-atom,.cm-s-darcula span.cm-link{color:#cc7832}.cm-s-darcula span.cm-error{color:#bc3f3c}.cm-s-darcula span.cm-tag{color:#629755;font-style:italic;font-weight:700;text-decoration:underline}.cm-s-darcula span.cm-attribute{color:#6897bb}.cm-s-darcula span.cm-qualifier{color:#6a8759}.cm-s-darcula span.cm-bracket{color:#a...
CSS
1C10.3 1 9 2.3 9 4S10.3 7 12 7C13.1 7 14.1 6.4 14.6 5.5C17.2 6.5 19 9 19 12C19 14.9 17.2 17.5 14.6 18.5C14.1 17.6 13.1 17 12 17C10.3 17 9 18.3 9 20S10.3 23 12 23C13.5 23 14.7 21.9 15 20.5C18.5 19.3 21 15.9 21 12M12 5C11.4 5 11 4.6 11 4S11.4 3 12 3 13 3.4 13 4 12.6 5 12 5M12 21C11.4 21 11 20.6 11 20S11.4 19 12 19 13 19...
HTML
h5) 19. h4\ { Anand aims to keep the king-side perfectly safe to ensure a draw. }\ (19. Qh4\ { Fritz7 }) 19...Qa5 20. Kf1 (20. Nxc6 bxc6 21. Kf1 Kd7 20. Qf4 Ke8 $11\ { Fritz7 }) 20...Rd7 (\ { Premature is }\ 20...Qxa2 21. Ree1 Qa5 (21...Ba4 $11\ { Fritz7 }) 22. Ra1 Qxc3 23. Nxc6 bxc6 24. Ba6+ $18) 21. ...
Typescript
); } else { const raycaster = new THREE.Raycaster(); raycaster.setFromCamera( mouse, camera ); raycaster.firstHitOnly = true; const hit = raycaster.intersectObject( targetMesh, true )[ 0 ]; // if we hit the target mesh if ( hit ) { brush.visible = true; brush.scale.set( params.size, params.size,...
JavaScript
ngView.btnSuprise.setOnClickListener(this); bindingView.imageSmile.setOnClickListener(this); bindingView.imageRedheart.setOnClickListener(this); bindingView.imageWindmill.setOnClickListener(this); bindingView.imageMoto.setOnClickListener(this); bindingView.imageAndroid.setOnClick...
Java
0, %mm2 pmaxub (%rax), %mm2 pminsw %mm0, %mm2 pminsw (%rax), %mm2 pminub %mm0, %mm2 pminub (%rax), %mm2 pmovmskb %xmm0, %rcx pmulhuw %mm0, %mm2 pmulhuw (%rax), %mm2 prefetcht0 (%rax) prefetcht1 (%rax) prefetcht2 (%rax) prefetchnta (%rax) psadbw %mm0, %mm2 psadbw (%...
Assembly
import os from pathlib import Path def get_image_paths_and_labels(base_dir): """ Retrieves image file paths and their corresponding labels from a directory structure. Args: base_dir (str or Path): The base directory containing subdirectories for each class. Returns: tuple: A tuple con...
Python
// -*- 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
.zero = (char*)&zerov; na_funcset[NA_ROBJ].one = (char*)&onev; cNVector = rb_define_class("NVector",cNArray); cNMatrix = rb_define_class("NMatrix",cNArray); cNMatrixLU = rb_define_class("NMatrixLU",rb_cObject); rb_define_method(cNMatrix, "lu_fact!", na_lu_fact_bang, 0); rb_define_alias(cNMatrix, "lu!","...
C
0.0, to: childExtent); geometry = SliverGeometry( scrollExtent: childExtent, paintExtent: paintedChildSize, cacheExtent: cacheExtent, maxPaintExtent: childExtent, ); setChildParentData(child, constraints, geometry); } else { geometry = SliverGeometry.zero; ...
Dart
.button.error { background-color: #d32f2f; } /* ===== Initializr Styles ===================================================== Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template ========================================================================== */ body{ font:16px/26px 'Open San...
CSS
EMPTY_DOC) val pef = c.pefDoc val vols = findVolumes!!.evaluate(pef, XPathConstants.NODESET) as org.w3c.dom.NodeList Assert.assertEquals(vols.length, 1, "Incorrect volume count") val vol = vols.item(0) as org.w3c.dom.Element Assert.assertEquals(vol.getAttribute("rows"), "25", "In...
Kotlin
1_7(&self) -> ADC1_7R { ADC1_7R::_from({ const MASK: bool = true; const OFFSET: u8 = 7; ((self.bits >> OFFSET) & MASK as u32) != 0 }) } } impl W { #[doc = r" Reset value of the register"] #[inline] pub fn reset_value() -> W { W { bits: 0 } ...
Rust
elif defined(BOOST_AUTO_LINK_SYSTEM) # pragma comment(lib, BOOST_LIB_PREFIX BOOST_STRINGIZE(BOOST_LIB_NAME) BOOST_LIB_SUFFIX) # ifdef BOOST_LIB_DIAGNOSTIC # pragma message ("Linking to lib file: " BOOST_LIB_PREFIX BOOST_STRINGIZE(BOOST_LIB_NAME) BOOST_LIB_SUFFIX) # endif #elif defined(BOOST_LIB_BUILDID) # pragm...
C++
from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant.helpers.entity_platform import AddEntitiesCallback from custom_components.hsem.const import DOMAIN from custom_components.hsem.custom_sensors.house_consumption_power_sensor import ( HSEMHouseConsump...
Python
athDiagnosticLocation::createOperatorLoc(B, BR.getSourceManager()); BR.EmitBasicReport(AC->getDecl(), Checker, "Use of identical expressions", categories::LogicError, Message, ELoc, Sr); } void FindIdenticalExprVisitor::checkBitwiseOrLogicalOp(const Bina...
C++
me = "isReservedNop")] pub fn is_reserved_nop(&self) -> bool { self.0.is_reserved_nop() } /// `true` if it's a serializing instruction (Intel CPUs) #[wasm_bindgen(getter)] #[wasm_bindgen(js_name = "isSerializingIntel")] pub fn is_serializing_intel(&self) -> bool { self.0.is_serializing_intel() } /// `true...
Rust
../../org/apache/axis/deployment/wsdd/WSDDTypeMappingContainer.html" title="interface in org.apache.axis.deployment.wsdd">WSDDTypeMappingContainer</A></CODE></DL> </DD> <DD><DL> <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../../org/apache/axis/deployment/wsdd/WSDDException.html" title="class in org.apache.axis.depl...
HTML
hat közvetlenül a blokkláncról. - Az információ célállomása. A calldata csak az általa kezdeményezett tranzakcióban érhető el. Az események egyáltalán nem érhetők el a láncon. - Mekkora erőfeszítés elfogadható? A teljes csomópontot futtató számítógépek többet dolgoznak, mint egy könnyű kliens egy alkalmazásban, mely bö...
Markdown
def findPeak(array): # Initialize the low and high pointers for binary search low = 0 high = len(array) - 1 # If the array length is less than or equal to 3, return None as it can't have a bitonic peak if len(array) <= 2: return None # Start binary search loop while low <= high: ...
Python
this); node.decorators.accept(this); node.modifiers.accept(this); node.name && node.name.accept(this); } /** * 访问一个属性或索引器定义。 * @param node 要访问的节点。 */ visitPropertyOrIndexerDefinition(node: nodes.PropertyOrIndexerDefinition) { node.body.accept(this); no...
Typescript
n.dart'; part 'arkit_cylinder.g.dart'; /// ARKitCylinder represents a cylinder with controllable height and radius. @JsonSerializable() class ARKitCylinder extends ARKitGeometry { ARKitCylinder({ double height = 1, double radius = 0.5, List<ARKitMaterial>? materials, }) : height = ValueNotifier(heigh...
Dart
_snake_case)] #[inline] pub fn NOT_EMPTY<T>(vec: &[Vec<T>]) -> bool { !EMPTY(vec) } #[allow(non_snake_case)] #[inline] pub fn WHERE<T, F>(iterable: T, function: F) -> bool where T: IntoIterator, T::Item: PartialEq, F: Fn(&T::Item) -> bool, { // if...
Rust
Language :: Python :: 3', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', # Additional Setting 'Environment :: Console', 'Natural Language :: Engli...
Python
unc(0); import { inspectable } from 'inspectable'; import { TelegramPreCheckoutQuery } from '../interfaces'; import { User } from '../common/structures/user'; import { OrderInfo } from '../common/structures/order-info'; import { filterPayload } from '../utils/helpers'; export class PreCheckoutQuery { public payload...
Typescript
, -4($s0) /* A9D2C0 80026120 93B801C6 */ lbu $t8, 0x1c6($sp) /* A9D2C4 80026124 A218FFFD */ sb $t8, -3($s0) /* A9D2C8 80026128 93B901C5 */ lbu $t9, 0x1c5($sp) /* A9D2CC 8002612C A219FFFE */ sb $t9, -2($s0) /* A9D2D0 80026130 93A801C4 */ lbu $t0, 0x1c4($sp) /* A9D2D4 80026134 A614FFF8 */ sh $s4, -8(...
Assembly
/* * Copyright (C) 2016-2019 C-SKY Limited. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 * * 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 * * www.apache.org/licenses/LIC...
Assembly
;padding:0}footer .copyright{font-size:14px;margin-bottom:0;text-align:center}.btn{font-size:14px;font-weight:800;padding:15px 25px;letter-spacing:1px;text-transform:uppercase;border-radius:0;font-family:'Open Sans','Helvetica Neue',Helvetica,Arial,sans-serif}.btn-primary{background-color:#0085a1;border-color:#0085a1}....
CSS
92(x15) lw x24, 96(x15) lw x25, 100(x15) lw x26, 104(x15) lw x27, 108(x15) lw x28, 112(x15) lw x29, 116(x15) lw x30, 120(x15) lw x31, 124(x15) addi x...
Assembly
nded.html" title="trait num_traits::bounds::Bounded">Bounded</a>, N:&nbsp;<a class="trait" href="../../num_traits/bounds/trait.Bounded.html" title="trait num_traits::bounds::Bounded">Bounded</a>, O:&nbsp;<a class="trait" href="../../num_traits/bounds/trait.Bounded.html" title="trait num_traits::bounds::Bounded">Bounded...
HTML
t fired during soft upgrade session. //For all the other releases, we do not generate buggy triggers // and hence everything should work just fine during all phases // of upgrade including the CREATE time s.execute("CREATE TABLE UPGRADE_tab1(id int, name varchar(20))"); ...
Java
0, 1.1, 1.2, 2, uint(2), 2.0, 2.1, "", ".1", ".2", ".a", "1", "2", "a!10", "a/2", "a/10", "a~10", "ab/1", "b/1", "b/01", "b/2", "b/02", "b/3", "b/03", "b1", "b01", "b3", "c2.10", "c10.2", "d1", "d12", "d12a", } m := make(map[interface{}]int) for _, k := r...
Go
void AddAIHints(int slot, Actor actor, PartyRolesConfig.Assignment assignment, AIHints hints) { base.AddAIHints(slot, actor, assignment, hints); foreach (var c in _doomed) { if (_doomed.Count > 0 && actor.Role == Role.Healer) hints.ActionsToExecute.Push(ActionID.M...
C#
Empty(key: KProperty1<*, *>): Collection<Boolean> = getBooleans(key) ?: emptyList() fun Map<*, *>.getStringsOrEmpty(key: KProperty1<*, *>): Collection<String> = getStrings(key) ?: emptyList() fun Map<*, *>.getListsOrEmpty(key: KProperty1<*, *>): Collection<Collection<*>> = getLists(key) ?: emptyList() fu...
Kotlin