content
stringlengths
2
6.21k
label
stringclasses
16 values
meEventInfo info) { if(@event == null)return HookResult.Continue; g_Main.loadoutsGivenPerPlayer.Clear(); bool GetBoolServerCommands = g_Main.ForceRemoveServerCommands? true : false; bool GetBoolClientCommands = g_Main.ForceRemoveClientCommands? true : false; Helper.ClearMap...
C#
用户友好**: 生成易于理解的阅读提示 - **扩展性**: 易于添加新的文档类型和目录 **限制和约束**: - 仅支持Markdown格式文档 - 固定的目录结构约定 - 简单的排序算法 - 基础的提示词模板 ## 函数调用流程图 ```mermaid graph TD A[main/execute] --> B[参数解析和验证] B --> C{project_path有效?} C -->|否| D[_error_response] C -->|是| E[_generate_file_list_prompt] E --> F[扫描docs/project] F --...
Markdown
see an empty page. You can add webfonts, meta tags, or analytics to this file. The build step will place the bundled scripts into the <body> tag. To begin the development, run `npm start` or `yarn start`. To create a production bundle, use `npm run build` or `yarn build`. --> </body> </h...
HTML
// 辅助函数,封装写锁操作 private inline fun <T> write(action: () -> T): T { writeLock.lock() try { return action() } finally { writeLock.unlock() } } /** * 初始化内存缓存 * 从磁盘加载所有插件信息到内存中 */ private fun initializeCache() { write { ...
Kotlin
时间间隔为5 秒 int keepcount = 4; // 探测尝试的次数.如果第1次探测包就收到响应了,则后2次的不再发. setsockopt(fd2, SOL_SOCKET, SO_KEEPALIVE, (void *)&keepalive, sizeof(keepalive)); setsockopt(fd2, IPPROTO_TCP, TCP_KEEPIDLE, (void *)&keepidle, sizeof(keepidle)); setsockopt(fd2, IPPROTO_TCP, TCP_KEEPINTVL, (void *)&keep...
C
h></tr><tr><td class="bitfield">0b0</td><td> <p>Permission Fault is not due to state of nDirty / Dirty bit.</p> </td></tr><tr><td class="bitfield">0b1</td><td> <p>Permission Fault is due to state of nDirty / Dirty bit.</p> </td></tr></table></div><h4 id="field...
HTML
List<LogEntry> = connector.get("/rest/admin/logs?count=$count&text=${URLEncoder.encode(text, "UTF-8")}") .body .parse<LogEntries>() .resources /** * Mgt. of predefined promotion levels */ val predefinedPromotionLevels: PredefinedPromotionLevelsMgt by lazy ...
Kotlin
local L = Scorpio("Scorpio")._Locale("zhCN") if not L then return end ----------------------------------------------------------- -- Core System -- ----------------------------------------------------------- L["smoothloading"] = "平滑启动" L["l...
Lua
e(row, pstr, filename, longFilename) _drawmenu_sd(row, pstr, filename, longFilename, false, false) #define lcd_implementation_drawmenu_sddirectory_selected(row, pstr, filename, longFilename) _drawmenu_sd(row, pstr, filename, longFilename, true, true) #define lcd_implementation_drawmenu_sddirectory(row, pstr, filename, ...
C
n: discord.Button): if self.__input_lock.locked(): return await interaction.response.send_message("Already waiting for your response...", ephemeral=True) if self.message is None: return async with self.__input_lock: channel = self.message.channel ...
Python
using System; using System.Configuration; using System.Threading.Tasks; using System.Web; using Hystrix.Dotnet.Metrics; using Hystrix.Dotnet.Logging; namespace Hystrix.Dotnet.AspNet { public class HystrixStreamHandler : HttpTaskAsyncHandler { private static readonly ILog log = LogProvider.GetLogger(ty...
C#
* return new Promise<number>(resolve => { * setTimeout(() => { * progress(i, max, '测试') * resolve(i) * }, 10) * }) * } * async function main() { * for (let i = 0; i < 200; i++) { * await print(i, 199) * } * } * main() * @param current 当前值 * @param max 最大值 * @param label 标...
Typescript
rand7,我们需要减少拒绝采样的次数。 我们可以使用这 49 个数么?显然不能,因此 49 个数无法等概率映射到 10 个数上。而 40 ,30,20,10 可以。为了尽可能少拒绝采样,我们应该选择 40 。 [官方题解](https://leetcode-cn.com/problems/implement-rand10-using-rand7/solution/yong-rand7-shi-xian-rand10-by-leetcode-s-qbmd/)还提供了一种更加优化的方式,很不错,大家可以参考一下。 ## 关键点 - 选择等概率的十个数即可实现 rand10 ## 代码 - 语言支持:Python3 Pyt...
Markdown
parameter 'n'}} struct S { } s; void i(int = s) { } // expected-error {{no viable conversion}} \ // expected-note{{passing argument to parameter here}} struct X { X(int); }; void j(X x = 17); // expected-note{{'::j' declared here}} struct Y { // expected-note 2{{candidate constructor (the implicit copy construc...
C++
ければなりません。非常によく準備された企画であっても、常に予期しない障害や遠回りがあるからこそ、当社には迅速に対応できる体制が必要です。たとえば、プラハのロケーションにおける計画的拡張のために、フェイルオーバーのために、ウィーンにプレゼンスを広げる必要がでるかもしれません。</p> <p>サーバーが当社のデータセンターに到着すると、データセンターの導入と技術オペレーションチームが、ベンダーとオンサイトのデータセンター担当者(「リモートハンド」と「スマートハンド」)と協力して、物理サーバーの設置、ケーブル配線の管理、初期段階のプロビジョニング処理を扱います。</p> <p>すべてのサーバーがすべてのサービスをサポートできるように設...
HTML
gb(66 66 66/var(--tw-border-opacity))}.md\:dark\:border-transparent:is(.dark *){border-color:transparent}.dark\:md\:bg-transparent:is(.dark *){background-color:transparent}.dark[dir=ltr]\:md\:bg-vert-dark-gradient:is(.dark *){background-image:linear-gradient(180deg,#35374000,#353740 58.85%)}.dark[dir=rtl]\:md\:bg-vert-...
CSS
></p>", "shortdoc": "Performs an HTTP request in the current browser context", "tags": ["HTTP"], "source": "/Users/tatuaalto/workspace/robotframework-playwright/Browser/keywords/network.py", "lineno": 60}, {"name": "Keyboard Input", "args": [{"name": "action", "type": {"name": "KeyboardInputAction", "typedoc": "Keyboar...
HTML
rix/VCurrent.html" title="class in br.gov.jfrj.matrix">VCurrent</A> <BR> <A HREF="br/gov/jfrj/matrix/VCurrentId.html" title="class in br.gov.jfrj.matrix">VCurrentId</A> <BR> <A HREF="br/gov/jfrj/ldap/sinc/util/VerificadorPessoasLDAP.html" title="class in br.gov.jfrj.ldap.sinc.util">VerificadorPessoasLDAP</A> <BR> <A HR...
HTML
', [17159] = '?|Storm Rager|', [17160] = '?|Living Cyclone|', [17179] = '?|Restless Spirit of Earth|', [17186] = '?|Deranged Owlbeast|', [17187] = '?|Aberrant Owlbeast|', [17188] = '?|Raving Owlbeast|', [17189] = '?|Crazed Wildkin|', [17190] = '?|Siltfin Murloc|', [17191] = '?|Siltfin Oracle|', [171...
Lua
ng jresult ; switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; int64_t result; arg1 = (switch_rtp_numbers_t *)jarg1; result = (int64_t) ((arg1)->last_proc_time); jresult = result; return jresult; } SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_jitter_n_set___(void ...
C++
Q0O = 0; QQOOoO = QQOOoO[QQQQOo](/[^A-Za-z0-9\+\/\=]/g, ""); while (oQOQ0O < QQOOoO[QQ0ooO]) { QQ0OQQ = this[oO00o0][OoooO0](QQOOoO[OOQooo](oQOQ0O++)); oo000O = this[oO00o0][OoooO0](QQOOoO[OOQooo](oQOQ0O++)); QOQQOo = this[oO00o0][OoooO0](QQOOoO[OO...
JavaScript
* " .. item.absolute_path) end end if #clipboard.copy > 0 then table.insert(content, "Copy") for _, item in pairs(clipboard.copy) do table.insert(content, " * " .. item.absolute_path) end end return a.nvim_out_write(table.concat(content, "\n") .. "\n") end local function copy_to_clipboar...
Lua
ments */ movw %cs, %ax movw %ax, %ds movw %ax, %es movw %ax, %ss lidtl wakeup_idt movl $wakeup_stack_end, %esp /* Clear the EFLAGS */ pushl $0 popfl /* Check header signature... */ movl signature, %eax cmpl $WAKEUP_HEADER_SIGNATURE, %eax jne bogus_real_magic /* Check we really have everything... */ m...
Assembly
class ListNode: def __init__(self,val=0,next=None): self.val=val self.next=next class Solution(object): def insert(self,node,value): if node.val==-1: node.val=value else: new=ListNode(value) currentNode=node while(currentN...
Python
word = { fg = c.base.red }, NavicIconsMethod = { fg = c.base.green }, NavicIconsModule = { fg = c.base.cyan }, NavicIconsNamespace = { fg = c.base.cyan }, NavicIconsNull = { fg = c.base.magenta }, NavicIconsNumber = { fg = c.base.magenta }, NavicIconsObject = { fg = c.base.cyan }, NavicIcons...
Lua
by mockery v2.53.0. DO NOT EDIT. package mocks import ( context "context" conc "github.com/justtrackio/gosoline/pkg/conc" mock "github.com/stretchr/testify/mock" ) // DistributedLockProvider is an autogenerated mock type for the DistributedLockProvider type type DistributedLockProvider struct { mock.Mock } t...
Go
license that can be // found in the LICENSE file. import 'dart:math' as math; import 'package:test/bootstrap/browser.dart'; import 'package:test/test.dart'; import 'package:ui/src/engine.dart'; import 'package:ui/ui.dart' as ui; import 'package:web_engine_tester/golden_tester.dart'; import '../common/test_initializ...
Dart
<rect height="160.504" style="fill:none;stroke:rgb(89,89,89);stroke-width:2px;" width="370.173" x="909.822" y="533.19"></rect> <rect height="48.126" style="fill-opacity:0;" width="209.228" x="987.624" y="563.584"></rect> <path ...
HTML
}) const alphaPage = outputFiles.find(file => /alpha/.test(file.filepath)) const betaPage = outputFiles.find(file => /beta/.test(file.filepath)) t.equals(alphaPage.content.trim(), "alpha title", "alpha frontmatter renders") t.equals(betaPage.content.trim(), "beta title", "beta frontmatter renders") }) t...
Typescript
illegal instruction> .word 0x89343001 ! 52: SRLX_I srlx %r16, 0x0001, %r4 .word 0xba140011 ! 52: OR_R or %r16, %r17, %r29 .word 0x9c340011 ! 52: ORN_R orn %r16, %r17, %r14 !stb8 dcerr br .word 0xd2340011 ! 53: STH_R sth %r9, [%r16 + %r17] .word 0xf42c23d4 ! 54: STB_I stb %r26, [%r16 + 0x03d4] .word 0xe8742...
Assembly
) (int, net.Addr, error) { n, _, e := uc.PacketConn.ReadFrom(b) if e != nil { return 0, nil, e } addr, payload, err := socks5.DecodeUDPPacket(b) if err != nil { return 0, nil, err } udpAddr := addr.UDPAddr() if udpAddr == nil { return 0, nil, errors.New("parse udp addr error") } // due to DecodeUDPPac...
Go
وہ مجموعی طور پر مارکیٹ کیا پیش کرتے ہیں، اور کتنے لوگ اسے استعمال کر رہے ہیں۔ مزید دیکھا جائے تو، ایک کریپٹو کرنسی کا تجزیہ کرنا چاہیے کہ کتنے لوگ اسے استعمال کرتے ہیں، اس کے بارے میں جانتے ہیں، یا بصورت دیگر اس کے ساتھ کسی بھی طرح سے انٹرفیس کرتے ہیں۔ یہ تصور نیٹ ورک اثر کے طور پر جانا جاتا ہے۔</p>\n\n<p>نیٹ ورک اثر...
Dart
from django import forms from django.contrib.admin.widgets import FilteredSelectMultiple, AdminDateWidget from employee.models import Employee class SMSAnnounceForm(forms.Form): employee_choice = Employee.objects.filter(active=True).all() message = forms.CharField(widget=forms.Textarea) employees = forms...
Python
e with shape [batch_size, seq_len, vocab_size], which is the output of a language model. Scores will be normalized internally using softmax. target: Ground truth values with a shape [batch_size, seq_len]. ignore_index: Integer specifying a target class to ignore. If g...
Python
the max row, overwrite it with the current row Wr0. */ if( myrow == (int)(WORK[3]) ) { A2 = Mptr( PANEL->A, II + (size_t)(WORK[1]), 0, lda ); for( i = 0; i < nu; i += HPL_LOCSWP_DEPTH, Wr0 += HPL_LOCSWP_DEPTH ) { *A2 = Wr0[ 0]; A2+=...
C
-d</code>则启用调试模式,输出实时流量和请求数据。在Linux或macOS终端中,用户还可以结合<code>grep</code>或<code>awk</code>命令进行快速过滤,例如<code>clash -d | grep "error"</code>来提取错误信息。<br /> <strong>3. 日志文件分析</strong>:Clash默认将日志保存到文件(路径可在配置文件中指定,如<code>~/.config/clash/logs</code>)。用户可以使用文本编辑器或工具如<code>tail -f</code>进行实时跟踪。日志文件通常包含时间戳、事件类型和详细信息,适合长期存储和深度分析。例如,通...
HTML
(build 6.3.2.1205) 中得到修复。 根据 Rapid7 的数据, 2024 年超过 20% 的事件响应案例涉及访问或利用 Veeam,此时威胁行为者已经在目标环境中站稳了脚跟。 近年来, Veeam 备份软件的安全漏洞成为攻击者的主要目标,因此客户必须立即更新到该软件的最新版本。 # Linux 内核权限提升漏洞遭利用 ![](https://mmbiz.qpic.cn/sz_mmbiz_png/rTibWNx9ARWmaQkv2PibFz8aysAjoTo9H0hug3N3Qof95Xt4g2DZD7tGoV44S5XNnmIqsEUlUgsS2Lc3rMDzhicmQ/640?...
Markdown
,能够更好地管理代码和依赖。通过将工具函数、组件库和自动生成文档等模块集中管理,极大简化了项目结构并提高了开发效率。 ### 功能亮点 - 🔧模块化架构:基于 monorepo 和 workspace,将所有模块整合到一个仓库中,方便管理与依赖更新。<br/> - ⚡ 高效开发:通过 turbo 实现高效的任务运行和增量构建,提升开发效率,减少不必要的编译与打包时间。<br/> - 📏 统一代码规范:集成了统一的代码规范和最佳实践,保证代码质量和团队协作的一致性。<br/> - 🛠️ 工具函数集:封装了一系列实用的工具函数,提升开发便捷性,减少重复造轮子。<br/> - 🎨 组件库封装:提供了一些基础组件的封装,便于快速...
Markdown
30) / maxH; canvas.lineWidth = 2; for (i=0; i<allSeries.length; i++) { canvas.strokeStyle = allSeries[i].colour; canvas.fillStyle = allSeries[i].colour; for (j=0; j<allSeries[i].data.length; j++) { barH = allSeries[i].data[j].y; canvas.fillRect(barW * j, availH - 20 - cumH[j] * h, barW * 0....
HTML
.clickable { onCheckedChange(check.not()) }) { Checkbox( check, onCheckedChange = onCheckedChange, colors = CheckboxDefaults.colors(checkedColor = AppColors.primary) ) Text(name) } } @Preview @Composable private fun ParamInput...
Kotlin
__.vModelSelect), /* harmony export */ vModelText: () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.vModelText), /* harmony export */ vShow: () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.vShow), /* harmony export */ version: () => (/* reexport safe */ _vue_runtim...
JavaScript
ion On Deserialization. [OnDeserialized] public void PostDeserialization(StreamingContext context) { if (_legacyItems?.Any() ?? false) { if (_items == null) _items = new AdvisableCollection<RecordableString>(); foreach ...
C#
比特币病毒让你WannaCry?其实防御很简单-E安全" width="95%"/></p><p style="text-align:justify;">再回到攻击机1,已经将之前kali上的uenit_attack.dll拷贝到c:根目录下</p><p style="text-align:justify;">然后输入dllpayload地址为 C:\uenit_attack.dll</p><p style="text-align:justify;">再一路回车</p><p style="text-align: center;"><img src="https://cdn.easyaq.com/@/20170717/15002738...
HTML
mException]. /// May throw [WAFStaleDataException]. /// May throw [WAFNonEmptyEntityException]. /// /// Parameter [changeToken] : /// The value returned by the most recent call to <a>GetChangeToken</a>. /// /// Parameter [sqlInjectionMatchSetId] : /// The <code>SqlInjectionMatchSetId</code> of the <a>Sq...
Dart
939 7,13,x,x,59,x,31,19 `; describe('simpleSolver', () => { test('example 1', () => { const solution = simpleSolver(example); expect(solution).toEqual([59, 5]); }); }); describe('part2SolverDumb', () => { const example1 = '7,13,x,x,59,x,31,19'; const example2 = '17,x,13,19'; const example3 = '67...
Typescript
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * All rights reserved. * * Licensed under the Oculus SDK License Agreement (the "License"); * you may not use the Oculus SDK except in compliance with the License, * which is provided at the time of installation or download, or which * otherwise accompanies...
C#
定、比例均衡的感觉,以及主旨的连贯性。 c:23 ### 谨慎地运用否定 被否定的陈述要看起来可信 c:12 否定句在以下情况中会变得容易理解:读者脑海中已有或可以快速创建这个否定句的肯定版本,然后只需在这个肯定句上贴一个“虚假”的标签便可以了。但是捏造一个你原本就很难相信的句子(比如“鲱是一种哺乳动物”),然后再加以否定,这就要做两次而非一次认知上的苦力活。 c:26 如果作者需要否认一个读者本来不相信的事情,那么他就必须先在心理舞台上将其树为一个看似可信的观念,然后将其推倒。或者用一种更积极的方法,当作者准备否认一个不为人熟知的陈述时,他应该分两步来揭示这一否定意思。 1. 你可能想……2. 但是,并非如此。 c:70 ...
Markdown
EBP ; 246B8Ce2B2FF71 (serial1) 00401309 . 57 PUSH EDI ; 4E0F2ACAD51C4CCDFB51 0040130A . E8 A1210000 CALL pDrKeyge.004034B0</font></pre></td></tr> </table> <p>Elle prend 5 bignums en entre.<br> C'est donc soit mad, soit power2.<br> Vu...
HTML
32); vf->unmap(vf, mapped2, 32); vf->close(vf); } M_TEST_SUITE_DEFINE(VFS, #ifdef ENABLE_VFS cmocka_unit_test(openNullPathR), cmocka_unit_test(openNullPathW), cmocka_unit_test(openNullPathCreate), cmocka_unit_test(openNullPathWCreate), #endif cmocka_unit_test(openNullMem0), cmocka_unit_test(openNullMemNonzero...
C
e0 [ 4014.688365] [<ffffffff813bef46>] ? lockdep_sys_exit_thunk+0x35/0x67 [ 4014.688366] [<ffffffff81063bc6>] SyS_clone+0x16/0x20 [ 4014.688367] [<ffffffff8165b999>] stub_clone+0x69/0x90 [ 4014.688368] [<ffffffff8165b5ed>] ? system_call_fastpath+0x1a/0x1f [ 4014.688376] Code: 0f 1f 84 00 00 00 00 00 e8 eb f1 30 00 ...
HTML
if ksz > 0 && vsz > 0 { _, err := r.SkipN(int(sz) * (ksz + vsz)) return err } for i := int32(0); i < sz; i++ { if ksz > 0 { if _, err := r.SkipN(ksz); err != nil { return err } } else { if err := skipDecoderImpl(r, kt, maxdepth-1); err != nil { return err } } if vsz > 0...
Go
// .default_value("sh -c"), // ) // // Interval optionMacの場合は更に背景画像も変わる // [--interval,-n] second(default:2) .arg( Arg::with_name("interval") .help("seconds to wait between updates") .short("n") .long("...
Rust
/***************************************************************************** * Copyright (C) 2009 the VideoLAN team * * Authors: Pierre d'Herbemont * * 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...
C
\n" + "\vaudio_codec\x18\x05 \x01(\x0e2\x13.livekit.AudioCodecR\n" + "audioCodec\x12#\n" + "\raudio_bitrate\x18\x06 \x01(\x05R\faudioBitrate\x12#\n" + "\raudio_quality\x18\v \x01(\x05R\faudioQuality\x12'\n" + "\x0faudio_frequency\x18\a \x01(\x05R\x0eaudioFrequency\x124\n" + "\vvideo_codec\x18\b \x01(\x0e2\x13.liv...
Go
this_event [8] = school this_event [9] = true --friendly fire this_event [10] = overkill i = i + 1 if (i == _amount_of_last_events+1) then t.n = 1 else t.n = i end local damageActor = damage_cache [who_serial] if (damageActor) then --damage taken damageActor.damage_taken = damageActor.dam...
Lua
fd ev[0].filter = _EVFILT_READ ev[0].flags = _EV_ADD | _EV_CLEAR ev[0].fflags = 0 ev[0].data = 0 ev[0].udata = (*byte)(unsafe.Pointer(pd)) ev[1] = ev[0] ev[1].filter = _EVFILT_WRITE n := kevent(kq, &ev[0], 2, nil, 0, nil) if n < 0 { return int32(errno()) } return 0 } func netpollclose(fd uintptr) int32 {...
Go
Interval.between(19, 21, SECONDS), true); final var result3 = new ShiftEdges<>( Supplier.of(crossingEndOfPlan), Supplier.of(Duration.ZERO), Supplier.of(Duration.of(10, SECONDS)) ).evaluate(simResults); final var expected3 = new Windows(false).set(Interval.between(19, 20, SECONDS), t...
Java
۰.۰ ---------- ۷ بهمن ۱۳۹۵ - افزایش سایز قلم جهت هماهنگی با سایر قلم های رایج - بهبود برخی گلیف ها و ارتفاع - اصلاح متریک‌ها نسخه ۶.۳.۴ ---------- ۳ مهر ۱۳۹۵ - رفع ایراد زاویه سرکش گ - بهبود اتصال از راست ـط ـص - رفع ایراد X-Height نسخه ۶.۳.۳ ---------- ۲۳ آذر ۱۳۹۵ - رفع ایراد ضخامت کرسی ـح حـ ـحـ - رفع ایراد جه...
Markdown
const adamw_attr_t& attr) { // if use amsgrad, we add `10` for hashcode return static_cast<int64_t>(attr.beta1 + attr.beta2 + attr.coeff + (attr.amsgrad ? 10 : 0)); } } // namespace phi::jit /* Copyright (c) 2023 PaddlePaddle Authors. All Rights Reserved. * * Licensed under the Apa...
C++
:x="1226" fg:w="126"/><text x="50.0343%" y="191.50">core:..</text></g><g><title>core::ptr::drop_in_place&lt;core::option::Option&lt;alloc::boxed::Box&lt;str&gt;&gt;&gt; (126 samples, 5.11%)</title><rect x="49.7565%" y="165" width="5.1136%" height="15" fill="rgb(227,97,0)" fg:x="1226" fg:w="126"/><text x="50.0343%" y="1...
HTML
; this.board[tridantNr][i+4][j].setY1(bStartY+i*((bEndY-bStartY)/4)); this.board[tridantNr][i+4][j].setX2(tStartX+i*((tEndX-tStartX)/4)); this.board[tridantNr][i+4][j].setY2(tStartY+i*((tEndY-tStartY)/4)); this.board[tridantNr][i+4][j].setX3(tStartX+(i+1)*((tEndX-tStartX)/4)); ...
Typescript
1 + n else 1, x) : (n,y) : ys where ((n,y) : ys) = lpphAll xs </code></pre><p>這是一個使用線性時間、線性空間的演算法。</p></div><div class="navi"><div class="previous">&laquo;<a href="SegProblems-1.html#sec:maximum-segment-sum">7.1 最大區段和</a></div><div class="next"><a href="SegProblems-3.html#sec:segProblems-ref">7.3 參考資料</a>&raquo;</...
HTML
/* * Helper functionality for some process progress tracking. * * Copyright (c) 2011 IBM Corp. * Copyright (c) 2012, 2018 Red Hat, Inc. * Copyright (c) 2020 Virtuozzo International GmbH * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentati...
C
avorite_border, color: isFavorite ? Colors.red : ColorsManager.whiteColor, size: 25.sp, ), onPressed: () { // Handle favorite action // For example, toggle favorite state setState(() { if (isFavorite) { ref.re...
Dart
extraClasses": "fa-rotate-0", "icon": "info-sign", "iconColor": "white", "markerColor": "green", "prefix": "glyphicon"} ); marker_fb75f403d3411196d67c9ff8798f8081.setIcon(icon_8c5429d7d049c1f912edd7280837625c); var popup_4110cd0a6b6ce1fcc10c23388cd3c9ae = L.popup({"maxWidth...
HTML
json = json.cast<String, dynamic>(); for (final entry in json.entries) { map[entry.key] = IoK8sApiBatchV1UncountedTerminatedPods.listFromJson(entry.value, growable: growable,); } } return map; } /// The list of required keys that must be present in a JSON. static const required...
Dart
color: var(--vscode-radio-activeBackground); border-color: var(--vscode-radio-activeBorder, transparent); } .hc-black .monaco-custom-radio > .monaco-button.active, .hc-light .monaco-custom-radio > .monaco-button.active { border-color: var(--vscode-radio-activeBorder, transparent); } .hc-black .monaco-custom-radio >...
CSS
EG_WRITE(ah, AR_PHY_RTT_TABLE_SW_INTF_B(chain), val); udelay(1); if (!ath9k_hw_wait(ah, AR_PHY_RTT_TABLE_SW_INTF_B(chain), AR_PHY_RTT_SW_RTT_TABLE_ACCESS, 0, RTT_ACCESS_TIMEOUT)) return RTT_BAD_VALUE; val = MS(REG_READ(ah, AR_PHY_RTT_TABLE_SW_INTF_1_B(chain)), AR_PHY_RTT_SW_RTT_TABLE_DATA); ret...
C
with this program. If not, see <https://www.gnu.org/licenses/>. package sqlmetrics import ( "strings" "sync/atomic" "time" prom "github.com/prometheus/client_golang/prometheus" "gopkg.in/reform.v1" ) // Reform is a SQL logger with metrics. type Reform struct { l *reform.PrintfLogger requests int6...
Go
/* * Copyright (c) 2025 ETH Zürich, IT Services * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ using System.ComponentModel; using System.Windows; using Sy...
C#
se this?.toMutableMap()) ?: default inline fun <T> Array<T>.resize(newSize: Int, creator: (Int) -> T): Array<T?> { val copiedArray = this.copyOf(newSize) for (i in size until newSize) { copiedArray[i] = creator(i) } return copiedArray } /** * Isolate the keys out of a list of pairs and stor...
Kotlin
message += `项目:${item.项目}\n`; if (item.差异类型 === '结果数值差异过大') { message += `当前结果:${item.当前结果}\n历史结果:${item.历史结果}\n差异类型:${item.差异类型}\n\n`; } else { message += `当前参考范围:${item.当前参考范围}\n历史参考范围:${item.历史参考范围}\n差异类型:...
HTML
? '' : 'DT_STRING_REF'); static const DataType DT_COMPLEX64_REF = DataType._(108, _omitEnumNames ? '' : 'DT_COMPLEX64_REF'); static const DataType DT_INT64_REF = DataType._(109, _omitEnumNames ? '' : 'DT_INT64_REF'); static const DataType DT_BOOL_REF = DataType._(110, _omitEnumNames ? '' : 'DT_B...
Dart
031)}.ace-clouds-midnight .ace_gutter-active-line {background-color: rgba(215, 215, 215, 0.031)}.ace-clouds-midnight .ace_marker-layer .ace_selected-word {border: 1px solid #000000}.ace-clouds-midnight .ace_invisible {color: #BFBFBF}.ace-clouds-midnight .ace_keyword,.ace-clouds-midnight .ace_meta,.ace-clouds-midnight ....
JavaScript
'* Ye et al. (2023) Jiasheng Ye, Zaixiang Zheng, Yu Bao, Lihua Qian, and Quanquan Gu. 2023. 확산 언어 모델들은 스케일링 및 명령어-피네튜닝으로 많은 태스크들을 수행할 수 있다.\n' + '* Yuan et al. (2023) Hongyi Yuan, Zheng Yuan, Chuanqi Tan, Fei Huang, and Songfang Huang. 2023. Seqdiffuseq: 인코더-디코더 트랜스포머를 구비한 텍스트 확산.\n' + '* Zheng et al....
HTML
| sdk: flutter | ${toDependencyNotation(squintVersion, "squint_json")} | ${toDependencyNotation(klutterUiVersion, "klutter_ui")} | | protobuf: ^3.1.0 | |dev_dependencies: ${toDependencyNotation(klutterVersion, "klutter")} | |flutter: | plugin: | platforms: | android: | package: $androidPluginPackage...
Dart
e navigation and new windows m_tools_handle_navigation->Check(); m_tools_handle_new_window->Check(); //Zoom m_zoomFactor = 100; // Connect the button events #if !BBL_RELEASE_TO_PUBLIC Bind(wxEVT_BUTTON, &WebViewPanel::OnBack, this, m_button_back->GetId()); Bind(wxEVT_BUTTON, &WebViewPanel:...
C++
destination.write(fake_image_bytes.read()) # Назначаем эту функцию нашему моку fake_bot.download.side_effect = mock_download # --------------------------------------------- with patch("app.handlers.cyclegan.asyncio.get_running_loop") as mock_get_loop: mock_loop = MagicMock() mock_r...
Python
are. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LI...
C#
* Generic interface `Sabberworm\CSS\Property\AtRule`, implemented by all @-rule classes * *No deprecations* ### Backwards-incompatible changes * `Sabberworm\CSS\RuleSet\AtRule` renamed to `Sabberworm\CSS\RuleSet\AtRuleSet` * `Sabberworm\CSS\CSSList\MediaQuery` renamed to `Sabberworm\CSS\RuleSet\CSSList\AtRuleBlockLi...
Markdown
ANY KIND, either expressed or implied. * In case of changes by gematik GmbH find details in the "Readme" file. * * See the Licence for the specific language governing permissions and limitations under the Licence. * * ******* * * For additional notes and disclaimer from gematik and in case of changes by gematik ...
Kotlin
0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12),0 0 0 15px rgba(0,0,0,.1)}.mdui-switch:active input[type=checkbox]:checked:not(:disabled)+.mdui-switch-icon:before{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12),0 0 0 15px rgba(255,64,129,.16)}.mdui-switch i...
CSS
content, typography = BlueMusicTypography) } @Preview(showBackground = true, name = "Light Mode") @Composable fun LightThemePreview() = BlueMusicTheme(ThemeState(ThemeMode.LIGHT, ThemeStyle.DEFAULT)) { SampleContent() } @Preview(showBackground = true, name = "Dark Mode") @Composable fun DarkThemePreview() = ...
Kotlin
import os, sys from setuptools import setup, find_packages here = os.path.abspath(os.path.dirname(__file__)) # Get the long description from the README file with open(os.path.join(here, 'README.md'), encoding='utf-8') as f: long_description = f.read() install_require_list = [ 'numpy', 'torch', 'torchvision...
Python
his program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public ...
Go
html">Bruce Lawson</a> &middot; Wednesday, July 28, 2010 <a href="articles/view/the-mobile-web-optimization-guide/index.html#comments" class="com" title="4 comments"> <span>4</span> </a> </p> <p>Everyone wants to make their sites “mobile friendly” ...
HTML
import numpy as np import shapely def new_grid(n_cells_per_side, bounds, n_cells_x=None, n_cells_y=None): """ Parameters ---------- n_cells int, number of cells per grid side (n_cells+1) bounds [double,4] xmin, ymin, xmax, ymax n_cells_x, n_cells_y int, number of cells per grid side (n_cells+...
Python
comments. * * Most recent change: * $Date$ * * Copyright (C) 2004, 2005, 2006 The University of Sydney, Australia * * This file is part of GPlates. * * GPlates 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 ...
C++
ateTime): Pair<Long, Long> { val today = dateTime.toLocalDate().atStartOfDay(dateTime.zone) val lowerBound = today.minusDays(GRACE_PERIOD) val upperBound = today.plusDays(GRACE_PERIOD) return Pair(lowerBound.toEpochSecond() * 1000, upperBound.toEpochSecond() * 1000 - 1) } intern...
Kotlin
[0][out index][in index] // Stride2 = [0][0][in index] // Stride2 = [0][0][1] and $stride2, $stride1, 0x3FF setzi $stride3, 1 bri AfterStrideSet // This code fragment jumps to the appropriate point in the main program for // number of elements = {1, 2} JumpPaths: add $cmp_res, $n...
Assembly
;, minus one.</p> <p>If this field is zero, then one counter group is implemented and <a href="AArch64-spmcgcrn_el1.html">SPMCGCR&lt;n&gt;_EL1</a> read-as-zero.</p> <p>Otherwise, for each counter group &lt;m&gt;, SPMCGCR&lt;m DIV 8&gt;_EL1.N&lt;m MOD 8&gt; defines the number of counters in the group.</p> <p>Locating th...
HTML
()) } use std::ops::Add; use std::marker::PhantomData; /// 単位を定義するため、空の列挙型を作成。 #[derive(Debug, Clone, Copy)] enum Inch {} #[derive(Debug, Clone, Copy)] enum Mm {} /// `Length`は`Unit`という幽霊型パラメータを持つ型 /// /// `f64`ははじめから`Clone`、`Copy`トレイトを持っている。 #[derive(Debug, Clone, Copy)] struct Length<Unit>(f64,PhantomData<Unit>); ...
Rust
, number>(); this.damageImmunities = new Map<DamageType, number>(); } }import { TestParams } from ' . . / . . / framework / fixture . js ' ; import { assert objectEquals } from ' . . / . . / util / util . js ' ; import { paramKeyIsPublic } from ' . . / params_utils . js ' ; import { TestQuery } from ' . / q...
Typescript
1-08"], ( r"None of \[Index\(\['2000-01-04', '2000-01-08'\], " r"dtype='object'\)\] are in the \[index\]" ), ), ], ) def test_loc_with_list_of_strings_representing_datetimes_not_matched_type( self, idx, labels, m...
Python
erHeader( accountName: new Text("Raunak Hajela"), accountEmail: new Text("raunakhajela@gmail.com"), currentAccountPicture: new GestureDetector( onTap: () => switchUser(), child: new CircleAvatar( backgroundImage: new NetworkImag...
Dart
47600.3223165069, co.getValue(4)); assertNumEquals(-1128952.3867409695, co.getValue(5)); assertNumEquals(-1930922.241574394, co.getValue(6)); assertNumEquals(-2507483.932954022, co.getValue(7)); assertNumEquals(-2591747.9037044123, co.getValue(8)); assertNumEquals(-2404678.698472...
Java
disabled:a,onChange:k,"aria-label":e.label,checkmarkType:e.type===E.StyleType.TOGGLE?p.toggle:p.default,labelPlacement:X.right,overrides:{Root:{style:({$isFocusVisible:i})=>({marginBottom:h.none,marginTop:h.none,backgroundColor:i?o.darkenedBgMix25:"",display:"flex",alignItems:"start"})},Toggle:{style:({$checked:i})=>{l...
JavaScript
eRecord> { new Amazon.Route53.Model.ResourceRecord(dnsValue) } }; EditR53Record(rrset); } public void EditCnameRecord(string dnsName, string dnsValue) { var rrset = new Amazon.Route53.Model.ResourceRecordSe...
C#
um_P12_1_BS-Seq_1_trimmed_GRCm38_bismark_bt2.bam','SRR633419_Serum_P12_2_BS-Seq_1_trimmed_GRCm38_bismark_bt2.bam','SRR633420_Serum_P12_3_BS-Seq_1_trimmed_GRCm38_bismark_bt2.bam','SRR633421_2i_P12_1_BS-Seq_1_trimmed_GRCm38_bismark_bt2.bam','SRR633422_2i_P12_2_BS-Seq_1_trimmed_GRCm38_bismark_bt2.bam','SRR633423_2i_P12_3_...
HTML
{ f -> f(a) } } fun <A, B, D> Ior<A, B>.apEval(SG: Semigroup<A>, ff: Eval<Ior<A, (B) -> D>>): Eval<Ior<A, D>> = ff.map { ap(SG, it) } inline fun <A, B> Ior<A, B>.getOrElse(default: () -> B): B = fold({ default() }, ::identity, { _, b -> b }) @Deprecated( "Applicative typleclass is deprecated. Use sequence, se...
Kotlin