content
stringlengths
2
6.21k
label
stringclasses
16 values
ng CurrentNTAddr-derived coordinates with true computation from $02..$07 and column/page bits as above. * Until then, this function documents every assembly step with //> comments in situ and keeps behavior equivalent * at the rendering level used by tests. * * In short: this port intentionally compresses buffer-fo...
Kotlin
: {'result': '1000'}, irisReturnCode: 0); } return result; } Future<CallApiResult> registerEventHandler( ScopedEvent scopedEvent, String params) async { IrisMethodCall methodCall = IrisMethodCall(scopedEvent.registerName, params); return invokeMethod(methodCall); } Future<CallA...
Dart
= this.parseFloat(var8[1]); } if (var8[0].equals("streamFps")) { this.field_152404_N = this.parseFloat(var8[1]); } if (var8[0].equals("streamCompression")) { ...
Java
#2b5876 0%, #4e4376 90%); } .by-line { color: grey; } .about { background-color: hsl(210, 64%, 9%); padding: 60px 60px 60px 60px; } .text-dark { color: whitesmoke; } .about-light { color: white; } // for dark theme .about-dark { color: #69a9dd; } .meet { padding: 30px 60px 30px 60px; background-c...
CSS
-fx-opacity: 0.25; } .tab-pane { -color-tab-bg-selected: -color-bg-default; -color-tab-fg-selected: -color-fg-default; -color-tab-border-selected: -color-accent-emphasis; } .tab-pane > .tab-header-area { -fx-background-insets: 0; -fx-background-color: -color-bg-default; -fx-alignment: CENTER; } .tab-pane >...
CSS
是当list.add(taint)调用完之后,list已经不在栈内了,无法给栈上的数据污染,所以这种情况 //直接给操作数表上的对应做上污染标记:instruction1表示,这个对象或值来自操作数表一号位置 Set instruction=new HashSet<>(); instruction.add("instruction"+var); localVariables.get(var).addAll(instruction); break; ca...
Java
decessors / incoming references'; } } List<HTMLElement> _createModeSelect() { var modes = _snapshotA == _snapshotB ? viewModes : diffModes; if (!modes.contains(_mode)) { _mode = modes[0]; _r.dirty(); } final s = HTMLSelectElement() ..className = 'analysis-select' ..value...
Dart
& Body","12.1"); add(set, result, "\uD83E\uDDD1\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1","1f9d1-200d-1f91d-200d-1f9d1.png",":people_holding_hands:",null,"People & Body","12.0"); add(set, result, "\uD83E\uDDD1\u200D\uD83E\uDDAF","1f9d1-200d-1f9af.png",":person_with_probing_cane:",":person_with_white_cane:","...
Java
# Two options to reference the original document # Option 1 (choose one of the options) 'referencia_manual': 'FR BILL/3', # put the name of the original document # Option 2 (choose one of the options) 'lancamento_pai_id': 399, # put the ID of the parent transaction ...
Python
-1.3708e-01, -1.3665e-01, -9.2905e-02, -6.6635e-01, 9.7278e-01, 7.0707e-01, 4.3204e-01, 8.7915e-02, 4.7217e-01, 8.3990e-01, 9.4993e-01, 9.7219e-01, -6.7202e-01, 8.3279e-01, -5.4167e-01, 4.1126e-01, 3.4719e-01, -9.0791e-01, 9.1833e-02, 2.0506e-01, -2.8610e-01,...
Markdown
pulation.fill_diagonal_tensor self.set_npu() self.init_kernel_type() x = np.random.random((2, 20, 20, 3)).astype(self.dtype) y = np.random.random((2, 3, 18)).astype(self.dtype) dim1 = 1 dim2 = 2 offset = 2 out = fill_gt(x, y, offset, dim1, dim2) s...
Python
} if x.Denom != "" { value := protoreflect.ValueOfString(x.Denom) if !f(fd_MsgUpdateRateLimit_denom, value) { return } } if x.ChannelOrClientId != "" { value := protoreflect.ValueOfString(x.ChannelOrClientId) if !f(fd_MsgUpdateRateLimit_channel_or_client_id, value) { return } } if x.MaxPercentSen...
Go
ndlerSize, 'backgroundColor': backgroundColor.value, 'borderColor': borderColor.value, 'borderThickness': borderThickness, 'elevation': elevation, 'data': serializedData, 'next': next.map((x) => x.toMap()).toList(), 'isDraggable': isDraggable, 'isResizable': isResizable, ...
Dart
2dc28.png" alt=""> 听起来是不是很奇怪?既然用户讨厌,不做这种功能不就好了?可是问题没有这么简单。 比如百度的广告,对普通搜索用户来说,搜索结果页里广告越多,满意度就越差,但对投放广告的用户,肯定希望搜索结果中也里有自己的广告。 这是因为,KANO模型里的纵轴叫用户满意度,而一个产品的用户是多种多样的,不同用户的目标也各不相同,所以这里的“满意”,针对某一种用户可能是反向的,而针对另外一种用户却可能是正向的。 一个KANO模型,往往只针对一种用户,通常是核心用户。实际上,也可以针对不同的用户画出多个KANO模型。一般情况下,因为必要性不大,实操中很少有人这么做。 反向功能非常考验做产品的人,我们需要在多种...
Markdown
eSort { public static void mergeSort(int[] arr) { mergeSort(arr, 0, arr.length-1); } public static void mergeSort(int[] arr, int leftIndex, int rightIndex) { int arrLen = rightIndex + 1 - leftIndex; if (arrLen > 1) { int midIndex = (leftIndex + rightIndex) / 2; ...
Java
.msgsList.Index() == 0 { break } m.msgsList.CursorUp() case "]": if m.activeView == helpView { break } if len(m.msgsList.Items()) == 0 { break } if m.msgsList.Index() == len(m.msgsList.Items())-1 { break } m.msgsList.CursorDown() case "j", "down": switch m.activeVie...
Go
**2K Fast (Upscalers):** 105 - 110 seconds **2K Lightning (Upscalers):** 70 - 85 seconds # Nodes needed: **ComfyUI Manager is recommending the wrong custom nodes. Make sure you have correct ones listed below.** ComfyUI-Dickson-Nodes Comfyroll_customnodes comfyui_essentials ComfyUI-Custom-Scrip...
Markdown
return function() local SpringAnimatedItem = require(script.Parent.SpringAnimatedItem) local Packages = script.Parent.Parent.Parent local Roact = require(Packages.Roact) describe("SpringAnimatedItem", function() local function testAnimatedComponent(component) local element = Roact.createElement(component, { ...
Lua
r(self.highlights):fold({}, function(a, k, v) a[k] = self:format_hl(v) return a end) if vim.o.buftype == "terminal" then return colors.cwd .. "TERMINAL" end local cwd = assert(vim.uv.cwd()) .. "/" local filename = vim.api.nvim_buf_get_name(0) return table.concat({ colors.cwd .. self:cwd(cwd...
Lua
fakePlayer = "§${abs(index).toString(16)}" var condition: (ExecuteCondition.() -> Unit)? = null var hideValue = false var text: ChatComponents? = null set(value) { value?.requireSimpleComponents() field = value } var customScoreEntity: ScoreHolderArgument? = null var customScoreObjective: String? = nu...
Kotlin
lastTileInfoY = minY; outlineSelectedTiles(mapEditorCanvasContext, minX, minY, sizeX, sizeY); showTileInfo(minX, minY, sizeX, sizeY); } }; onMouseUpListener = mapEditorCanvas.onMouseUp.listen(finish); onMouseLeaveListener = mapEditorCanvas.onMouseLeave.listen(finish); } st...
Dart
sect_attribs.h", "setlocal.h", "smmintrin.h", "stdbool.h", "stdint.h", "syserr.h", "targetver.h", "tmmintrin.h", "winheap.h", "wmmintrin.h", "wrapwin.h", "xkeycheck.h", "xmmintrin.h", "xmtx.h", "xtgmath.h", "xxcctype.h", "xxdftype.h", "xxfftype.h", ...
Java
ss HerthonSuite { @Test @UiThreadTest fun testHerthon() { val start = System.currentTimeMillis() try { val context = InstrumentationRegistry.getInstrumentation().targetContext val args = InstrumentationRegistry.getArguments().getString(...
Kotlin
ypeSetElemNestedAttrs(fqrn, "label_waivers.*", map[string]string{ "label": labelNames[0], "justification": "Security team approved packages", }), resource.TestCheckTypeSetElemNestedAttrs(fqrn, "label_waivers.*", map[string]string{ "label": labelNames[1], "justification"...
Go
Brandon Mills) * Fix: bad error in parsing invalid class setter (fixes #98) (Marsup) v1.12.0 - March 14, 2015 * 1.12.0 (Nicholas C. Zakas) * Fix: Update broken tests (Nicholas C. Zakas) * New: Add sourceType to Program node (fixes #93) (Nicholas C. Zakas) * Allow spread in more places (fixes #89) (Nicholas C. Zakas) ...
Markdown
}) assert.Nil(t, err) }) t.Run("preconditions", func(t *testing.T) { server.responseFunc = func(writer http.ResponseWriter, r *http.Request) { assert.Equal(t, http.MethodDelete, r.Method) writer.Write(responseBytes) writer.WriteHeader(http.StatusOK) assert.Equal(t, fmt.Sprintf("/namespaces/%s/%s/%s"...
Go
ove.listen(_onReactionRemove); final guildCheck = starboardSettingsCommand.checks.whereType<GuildCheck>().singleOrNull; if (guildCheck == null) { starboardSettingsCommand.check(GuildCheck.anyId([guild.id])); } else { (guildCheck.guildIds as List<Snowflake?>).add(guild.id); } _loadedGu...
Dart
/* * Today's hack: quantum tunneling in structs * * 'entries' and 'term' are never anywhere referenced by word in code. In fact, * they serve as the hanging-off data accessed through repl.data[]. */ /* tbl has the following structure equivalent, but is C99 compliant: * struct { * struct type##_replace repl; * ...
C
= ch1 * ch2; let num_blocks = input.len() / (block_size); debug_assert_eq!(input.len(), output.len()); debug_assert!(input.len() % (block_size) == 0); for b in 0..num_blocks { let input_offset = (num_blocks - b - 1) * block_size; let output_offset = b * block_size; for c2 in 0..ch2 { for c1 in 0..ch1 { ...
Rust
_with_only_static_members /// Jenkins hash function, optimized for small integers. // // Borrowed from the dart sdk: sdk/lib/math/jenkins_smi_hash.dart. class _Jenkins { static int combine(int hash, Object? o) { assert(o is! Iterable); hash = 0x1fffffff & (hash + o.hashCode); hash = 0x1fffffff & (hash + (...
Dart
""" ========================================================================== MulRTL.py ========================================================================== Muliplier for CGRA tile. Author : Cheng Tan Date : November 28, 2019 """ from pymtl3 import * from pymtl3.stdlib.ifcs import SendIfcRTL, Rec...
Python
Вид поля формы ## Свойства ### ПолеВвода / InputField Доступ: Чтение Однострочное, текстовое поле ### ПолеИндикатора / ProgressBarField Доступ: Чтение ProgressBar ### ПолеКалендаря / CalendarField Доступ: Чтение Поле для выбора даты/времени ###...
Markdown
LPSTR *rgpszCertPolicyElementId; // pszObjId } CERT_POLICY_ID, *PCERT_POLICY_ID; //+------------------------------------------------------------------------- // Type used for an extension to an encoded content // // Where the Value's CRYPT_OBJID_BLOB is in its encoded representation. //------...
Lua
2 aOffset) {} void NotifyDataExhausted() {} private: // Notifies the element that seeking has started. void SeekingStarted(); // Notifies the element that seeking has completed. void SeekingStopped(); // Notifies the element that metadata loading has completed. Only fired // if metadata is valid. vo...
C
, output *DescribeMetricFiltersOutput) { op := &request.Operation{ Name: opDescribeMetricFilters, HTTPMethod: "POST", HTTPPath: "/", Paginator: &request.Paginator{ InputTokens: []string{"nextToken"}, OutputTokens: []string{"nextToken"}, LimitToken: "limit", TruncationToken: "", ...
Go
DAMAGES OR OTHER LIABILITY, WHETHER IN * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ package com.vitorpamplona.quartz.events import androidx.compose.runtime.Immutable import com.vitorpamplona.quartz.encoders.AT...
Kotlin
#include "../Infra.h" #include <windows.h> #include <winternl.h> #include <stdio.h> NTSTATUS abthunk_query_sysinfo() { ULONG_PTR ret = ab_call_func("NtQuerySystemInformation", 4, SystemBasicInformation, NULL, 0, (PULONG)NULL ); NTSTATUS status = (NTSTATUS)ret; if (sta...
C
#!/usr/bin/env python # coding=utf-8 # Copyright 2023 The HuggingFace Inc. team. All rights reserved. # # 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/L...
Python
.attr("href") } } else { doc.select("table.listing tr td a").find { it.attr("href").contains(Regex("(?i)Episode-0*$episode")) }?.attr("href") } ?: return val servers = app.get(fixUrl(iframe, kimcartoonAPI)).document.select("#selectServer > opti...
Kotlin
>2D</a>| |2427|<a href="https://gamefaqs.gamespot.com/android/697629-mouse" target="_blank" rel="noopener noreferrer">Mouse</a>|<a href="https://gamefaqs.gamespot.com/android/697629-mouse/data" target="_blank" rel="noopener noreferrer">2013</a>|<a href="https://gamefaqs.gamespot.com/android/category/173-puzzle" target=...
Markdown
0, 90, 23); jSeparator3.setBackground(new java.awt.Color(239, 244, 234)); jSeparator3.setForeground(new java.awt.Color(239, 244, 234)); jSeparator3.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(239, 244, 234))); jSeparator3.setName("jSeparator3"); // NOI18N ...
Java
ras = extras.datasourceExtras if (originExtras == null) { // We did not receive data source extras, so the image did not come from the image pipeline // but from the bitmap memory cache shortcut originExtras = extras.shortcutExtras } if (originExtras != null) { origin =...
Kotlin
attachCountDownDoKitView(activity) } } override fun onActivityBackResume(activity: Activity?) { if (activity == null) { return } //移除倒计时浮标 DoKit.getDoKitView<CountDownDoKitView>(activity) ?.reset() // 重置倒计时 ?: attachCountDownDoKit...
Kotlin
{ label: (0, _srcI18n.tr)(this, 'ui.t-function', 'Function'), onChange: this.set_func_name }))].concat((0, _toConsumableArray2["default"])(this.render_kwargs(this)), [(0, _srcReact_utils.e)(_srcUi.ui.Form.Group, (0, _srcReact_utils.e)(_srcUi.ui.Button, (0, _orgTranscrypt__runtime__.__kwargtrans__)({ ...
JavaScript
class Auto: def __init__(self,rekisteritunnus,huippunopeus): self.rekisteritunnus = rekisteritunnus self.huippunopeus = huippunopeus self.nopeus = 0 self.matka = 0 auto = Auto("ABC-123", 142) print(f"Uuden auton rekisteritunnus: {auto.rekisteritunnus},huippunopeus {auto.huippunop...
Python
("ring_base_goauld"); e:SetModel(e.BaseModel); e:SetPos(tr.HitPos); e:Spawn(); e:Activate(); local ang = p:GetAimVector():Angle(); ang.p = 0; ang.r = 0; ang.y = (ang.y+180) % 360 e:SetAngles(ang); local phys = e:GetPhysicsObject(); if IsValid(phys) then phys:EnableMotion(false) end e:CartersRampsRing(tr); ret...
Lua
137] = {"吉科希斯","渔夫"}, [8138] = {"苏利萨斯幼崽",nil}, [8139] = {"加贝","杂货商"}, [8140] = {"卡尔曼修士","圣骑士训练师"}, [8141] = {"伊文凯恩队长","战士训练师"}, [8142] = {"加诺斯·轻蹄","德鲁伊训练师"}, [8143] = {"罗拉娜","食物和饮料"}, [8144] = {"库雷格·石角","剥皮训练师"}, [8145] = {"希恩德拉·深草","商人"}, [8146] = {"拉乌","草药学训练师"}, [8147] = {"莫沙彻营地卫兵",nil}, [8149] = {"苏利萨斯卫士",nil}, [81...
Lua
DAC */ if ((it->options[6] == 1) || (it->options[6] == 100)) devpriv->ns_min = 10000; } ret = comedi_alloc_subdevices(dev, 4); if (ret) return ret; s = &dev->subdevices[0]; s->type = COMEDI_SUBD_AI; s->subdev_flags = SDF_READABLE; if (check_single_ended(dev->iobase)) { s->n_chan = 16; s->subdev_fl...
C
patial != null) Positioned( left: left, top: top, child: Image.network( '${SgsAppService.get()!.staticBaseUrl}${widget.spatial!.currentSlice.image}', fit: BoxFit.contain, alignment: Alignment.topLeft, width: widget.wid...
Dart
ent = Enum.TextXAlignment.Left, TextYAlignment = Enum.TextYAlignment.Center, Font = variantProps.textBox.Font, TextSize = variantProps.textBox.FontSize, TextColor3 = tokens.Color.Content.Emphasis.Color3, TextTransparency = tokens.Color.Content.Emphasis.Transparency, -- END: Rem...
Lua
ay not extend, implement or mix-in this class. enum RefactoringProblemSeverity { /// A minor code problem. No example, because it is not used yet. INFO, /// A minor code problem. For example names of local variables should be /// camel case and start with a lower case letter. Staring the name of a /// variab...
Dart
000}}, }, nodeVariant: leafVariant, partialKeyLength: uint16(0b0011_1111 + 0b1111_1111 + 0b1111_0000), }, "partial_key_length_too_long": { reads: repeatReadCall(readCall{ buffArgCap: 1, read: []byte{0b1111_1111}, }, 258), errWrapped: ErrPartialKeyTooBig, errMessage: "partial ...
Go
Config, upscale16Bits: ShaderConfig, upscale8Bits: ShaderConfig, modern: ShaderConfig, ): ShaderConfig { return when (system.id) { SystemID.GBA -> upscale16BitsMobile SystemID.GBC -> upscale8BitsMobile SystemID.GB -> upscale8BitsMobile ...
Kotlin
isPlaying: false, isPaused: true, remainingLLMResponse: false, onPause: () { onPauseCalled = true; }, onStop: () { onStopCalled = true; }, onRepeat: () { onRepeatCalled = true; }, ...
Dart
--gpu-ids` is deprecated, please use `--gpu-id`. ' 'Because we only support single GPU mode in ' 'non-distributed training. Use the first GPU ' 'in `gpu_ids` now.') if args.gpus is None and args.gpu_ids is None: cfg.gpu_ids = [args.gpu_id] ...
Python
#!/usr/bin/env python # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "L...
Python
t.util.DamageSource; import net.minecraft.util.EnumChatFormatting; import net.minecraft.util.IChatComponent; /** * @author Gregorius Techneticies */ public class DamageSourceChem extends DamageSource { public DamageSourceChem() { super("chemical"); } @Override public IChatComponent func_151519_b(EntityLiving...
Java
if (ibuf_len) cuda_input(ibuf, ibuf_len); return IRQ_HANDLED; } static void cuda_input(unsigned char *buf, int nb) { switch (buf[0]) { case ADB_PACKET: #ifdef CONFIG_XMON if (nb == 5 && buf[2] == 0x2c) { extern int xmon_wants_key, xmon_adb_keycode; if (xmon_wants_key) { xmon_adb_keycode = bu...
C
复 hash 列为 `enum` 时构建错误 `IndexLookUpJoin` 的问题 [#27893](https://github.com/pingcap/tidb/issues/27893) - 修复批处理客户端在某些罕见情况下回收空闲连接可能会阻塞发送请求的问题 [#27688](https://github.com/pingcap/tidb/pull/27688) - 修复当 TiDB Lightning 在目标集群上执行校验失败时 panic 的问题 [#27686](https://github.com/pingcap/tidb/pull/27686) - 修复某些情况下 `date_add`...
Markdown
up the rune.|NC| C A Matter of Finesse|QID|41920|QO|2|M|67.41,63.09|Z|The Underbelly@Dalaran!Broken Isles|N|Hand the rune to Val'zuun (who is still just inside the sewer).|NC| T A Matter of Finesse|QID|41920|M|68.03,63.12|Z|The Underbelly@Dalaran!Broken Isles|N|To Valeera Sanguinar who comes to find you.| A Closing In...
Lua
(long consumerID, String[] parents, String nodeName, CacheNode node) { // Make sure we aren't walking the root node. Assert.assertTrue(null != nodeName); this.activeMonitoringProducer.addNodeFromPassive(this.serverInfoToken, consumerID, parents, nodeName, node.data); String[] newParents = new Strin...
Java
removed in next major version') ConfigurationMessage_Contact clone() => ConfigurationMessage_Contact()..mergeFromMessage(this); @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') ...
Dart
","api":""}} "#, dl_url())) .build(); } pub fn mock_archive(name: &str, version: &str, deps: &[(&str, &str, &str)]) { let mut manifest = format!(r#" [package] name = "{}" version = "{}" authors = [] "#, name, version); for &(dep, req, kind) in deps.iter() { ...
Rust
'process') >= 0: appPid = findall(r'Using .* image of child process (\d+)',gdb_line) elif gdb_line.find('Thread') >= 0: # solaris appPid = findall(r'Using .* image of child .* \(LWP (\d+)\).',gdb_line) ...
Python
umptionLimit_Call) Run(run func()) *CsLPCInterface_ConsumptionLimit_Call { _c.Call.Run(func(args mock.Arguments) { run() }) return _c } func (_c *CsLPCInterface_ConsumptionLimit_Call) Return(loadLimit api0.LoadLimit, err error) *CsLPCInterface_ConsumptionLimit_Call { _c.Call.Return(loadLimit, err) return _c } ...
Go
,1)<0.95) NelderMeadSearch(PopNew[pos1]); else RVND(PopNew[pos1]); // set the best individual if (PopNew[pos1].ofv < bestInd.ofv){ bestInd = PopNew[pos1]; bestGeneration = numGenerations; // update pool of solutions Updat...
C
et.anim_row = row new_widget.anim_pos = i new_widget_AnimState:SetMultColour(1, 1, 1, 1) ROW_ANIMS[row][i] = new_widget.animnum local scale = (math.random() < 0.5 and -1) or 1 new_widget:SetScale(scale, 0, 1) new_widget_AnimState:Hide("flower01") new_widget_An...
Lua
this.setState({}); } blur() { this.focus = false; this.setState({ time_string: this.state.time_string_formatted, error: false }); this.props.onChangeBlur && this.props.onChangeBlur(this.state.time_ts); this.props.onChange && this.props.onChange(this.state.time_ts); } render() { return ( ...
JavaScript
る変数。 (このオブジェクトは不要になったら LNObject_Release で参照を開放する必要があります) */ LN_FLAT_API LNResult LNUIListItem_ConnectOnSubmit(LNHandle uilistitem, LNHandle handler, LNHandle* outReturn); typedef LNResult(*LNUIListItem_OnSerialize_OverrideCallback)(LNHandle object, LNHandle ar); LN_FLAT_API LNResult LNUIListItem_OnSerialize_SetOverrid...
C
енар в Оскверненном лесу и поговорите с лордом Гиблопустом, который находится в Оплоте Теней."}}, [7624] = {"Улатек Предатель", nil, {"Сразитесь с Улатеком и принесите сердце предателя лорду Гиблопусту в Джеденар."}}, [7625] = {"Зоротианская звездная пыль", nil, {"Купите зоротианскую звездную пыль у Ур'Дана из Оплота Т...
Lua
angaScale = false private val recycler: WebtoonRecyclerView? get() = getChildAt(0) as? WebtoonRecyclerView private val mcRect = RectF() private val blRect = RectF() private val brRect = RectF() private var mTouchMiddle: (() -> Unit)? = null fun onTouchMiddle(init: () -> Unit) = apply ...
Kotlin
`*"] pub const ER_PACKET_TOO_LARGE: QStatus = 37037i32; #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub const ER_PACKET_BAD_PARAMETER: QStatus = 37038i32; #[doc = "*Required features: `\"Win32_Devices_AllJoyn\"`*"] pub const ER_PACKET_BAD_CRC: QStatus = 37039i32; #[doc = "*Required features: `\"Win32_De...
Rust
templateResult); // In production, return a safe string, rather than failing hard. return 'zSoyz'; }; /** * Immutable object that is passed into templates that are rendered * without any data. * @type {Object} * @private */ goog.soy.defaultTemplateData_ = {}; // Copyright 2012 The Closure Library Authors. A...
JavaScript
pushFollow(FollowSets000.FOLLOW_9); lv_children_2_0=ruleChild(); state._fsp--; if (current==null) { current = createModelElementForParent(grammarAccess.getChildrenRule()); } add( current, ...
Java
", "|51|35|75.5|6.5|85.17|6.68", "|51|35|75|7.5|90.18|3.34", "|51|35|74.5|8|50.1|3.34", "|51|35|81|8|25.05|3.34", "|51|35|74.5|8.5|45.09|3.34", "|51|35|81.5|8.5|15.03|3.34", "|51|35|74.5|9|40.08|3.34", "|51|35|74.5|9.5|35.07|3.34", "|51|35|75.5|10|25.05|3.34", "|51|35|76|10.5|20....
Lua
/* * Copyright (C) 2011 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
C
가되면 클라이언트의 코드는 매우 복잡해질 것이다. <p align="center"><img width="700" alt="facade movid" src="https://user-images.githubusercontent.com/76640167/211241556-8a5638ee-3b79-4cee-9e6e-e2e24f76fdb3.png"> 퍼사드 객체를 사용하여 클라이언트와 클래스들의 긴밀한 연결을 끊고, 클라이언트를 대신하여 복잡한 로직들을 구현한다. <br/> e.g., Facade `HomeTheaterFacade` ```java public clas...
Markdown
row, i) } vIdx++ } return max, row } func minValues[T util.NumberOnly](values []T, start, end int, cv *ColVal) (T, []int) { var row []int var defaultValue T if len(values) == 0 { return defaultValue, row } var ( min T skip, vIdx int ) if cv.NilCount == 0 { min = values[start] row = appen...
Go
k 4 11) = Switch Strobe 4 AND Display Clock 4 AND BDU - Clock 5 Port B: ------- (in) P0-P7: Switch & Dip Returns Port C: ------- (out) P0-P2 : 3-8 Demultiplexed Digit Selects (1-7) (out) P3 : LED (out) P4 : Display Enable (Active Low) (out) P5 : Spare output (J7-7) (out) P6 : Chuck-a-luck (J7-9) (out) P7 : Flipper e...
C
COUNT 가 먼저 연산되고난 이후에 DISTINCT 가 적용되기 때문에 이미 저 사진의 출력 결과(`COUNT(birthcity)`의 결과)에 DISTINCT 를 적용하는 것이나 마찬가지이기 때문에 별 변화가 없는 것이다. (열 이름 없음 16108 에 DISTINCT 적용할 꼴.) ```sql SELECT COUNT(DISTINCT birthcity) -- 따라서 DISTINC 가 안에 들어와야 함. 이게 옳은 표현! FROM Players; ``` 먼저 중복을 제거하고 난 후에 카운팅을 하는 것이 올바른 과정이 되므로 위와 같이 `COUNT` 파라미터에 ...
Markdown
.Open) self:AddAsyncClick(memberItem.btn_add_empty, function() local teamInviteVM = Z.VMMgr.GetVM("team_invite_popup") teamInviteVM.OpenInviteView() end) end function Team_mineView:initMemberItems() for index, memberItem in ipairs(self.node_members_) do self:initMeberItem(memberItem, index) end s...
Lua
| Filter | Description | | --- | --- | | `default:` _'xxx'_ | | | --- | --- | | `upcase` | | | `downcase` | | |...
Markdown
检测阳性率每周变化趋势 ![](images/2fac50cebb8b52b8d21933996a14426d0b07c22c5aa88f04ef82f4bf0fecd38c.jpg) 图1-B 哨点医院⻔急诊流感样病例呼吸道样本流感病毒检测阳性率每周变化趋势(2021年14周以来) 图2 哨点医院住院严重急性呼吸道感染病例呼吸道样本病原体核酸检测阳性率每周变化趋势 相关链接:1.新型冠状病毒感染健康科普知识 2.流感病毒感染健康科普知识 3.呼吸道合胞病毒感染健康科普知识 4.腺病毒感染健康科普知识 5.⼈偏肺病毒感染健康科普知识 6.副流感病毒感染健康科普知识 7.⿐病毒感染健康科普知识 8...
Markdown
Renderer}; use nalgebra::{base::allocator::Allocator, DefaultAllocator, DimName, Point, Point3, U2, U3}; use slam_cv::Number; pub struct PointsModel<N, D> where N: 'static + Number, D: DimName, DefaultAllocator: Allocator<N, D>, { points: Vec<Point<N, D>>, } impl<N, D> PointsModel<N, D> where N: ...
Rust
To( """ /** * This is my class * * @constructor This is my constructor */ public class MyClass() """.trimIndent(), ) } // https://github.com/square/kotlinpoet/issues/1818 @Test fun primaryConstructorCanNotDelegate() { assertFailure { TypeSpec.cla...
Kotlin
amedAndRemoveUntil<T extends Object?>( String newRouteName, RoutePredicate predicate, { Object? arguments, }) { return _navigator.restorablePushNamedAndRemoveUntil<T>( newRouteName, predicate, arguments: arguments, ); } @override String restorablePushReplacement<T extends ...
Dart
_warn("Unsupported SAP version."); goto fail; } if ((header >> 25) & 1) { pa_log_warn("Encrypted SAP not supported."); goto fail; } if ((header >> 24) & 1) { pa_log_warn("Compressed SAP not supported."); goto fail; } six = (header >> 28) & 1U; ac = ...
C
import os import sys import argparse import importlib import multiprocessing import cv2 as cv import torch.backends.cudnn env_path = os.path.join(os.path.dirname(__file__), '..') if env_path not in sys.path: sys.path.append(env_path) import ltr.admin.settings as ws_settings def run_training(train_module, train_...
Python
be followed by map values"),v.comment&&(g.comment?g.comment+="\n"+v.comment:g.comment=v.comment);let e=new ev(g);n.options.keepSourceTokens&&(e.srcToken=o),a.items.push(e)}}return u&&u<s&&i(u,"IMPOSSIBLE","Map comment with trailing content"),a.range=[r.offset,s,u??s],a}(e,t,n,r,o):"block-seq"===n.type?function({compos...
JavaScript
44"; let signer = Pair::from_string("//Alice", None).map_err(|_| BotError::NoSigner)?; let signer = PairSigner::<DefaultNodeRuntime, Pair>::new(signer); let client: Client<DefaultNodeRuntime> = subxt::ClientBuilder::new() .set_url(url) .skip_type_siz...
Rust
} f = /** @type {number} */ (jspb.Message.getField(message, 7)); if (f != null) { writer.writeInt64( 7, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 8)); if (f != null) { writer.writeInt32( 8, f ); } f = /** @type {number} */ (jspb.Message.getFie...
JavaScript
ames do interpret(formatters["errordict /%s %s put"](errornames[i],generic_error_proc), INITDEBUG) end -- set up the error handler interpret("systemdict /= { 20 string cvs print } bind put", INITDEBUG) interpret("systemdict /prompt { (PS>) print flush } bind put", INITDEBUG) ...
Lua
CharacterSelectUIMixin = CreateFromMixins(CallbackRegistryMixin); CharacterSelectUIMixin:GenerateCallbackEvents({ "ExpansionTrialStateUpdated", }); function CharacterSelectUIMixin:OnLoad() CallbackRegistryMixin.OnLoad(self); self.RotationStartX = nil; self.RotationConstant = 0.6; self.ClampedHeightTopPercent = ...
Lua
//CHIRICHELLA DAVIDE 0001071414 #include "RPC_xFile.h" #include <dirent.h> #include <fcntl.h> #include <rpc/rpc.h> #include <stdio.h> #include <string.h> #include <sys/stat.h> #include <sys/types.h> #include <unistd.h> #define DIM_BUFF 1024 #define N 10 static int inizializzato = 0; /*******************************...
C
#PanelUI-footer { display: flex; flex-shrink: 0; flex-direction: column; background-color: hsla(210,4%,10%,.07); padding: 0; margin: 0; } #PanelUI-footer-inner { display: flex; border-top: 1px solid hsla(210,4%,10%,.14); } #PanelUI-multiView[viewtype="subview"] #PanelUI-footer-inner { position: rela...
CSS
enabled </lang> #### p.dma0.tcd5_doff <link=p.DMA0.TCD5_DOFF> #### p.dma0.tcd5_citer_elinkno <link=p.DMA0.TCD5_CITER_ELINKNO> #### DMA0.TCD5_CITER_ELINKYES <link=p.DMA0.TCD5_CITER_ELINKYES> #### p.dma0.tcd6_soff <link=p.DMA0.TCD6_SOFF> #### DMA0.TCD6_SOFF <link=p.DMA0.TCD6_SOFF> #### p.dma0.tcd6_nbytes_mloffyes <link=p...
Markdown
}.lm_controls>li{position:relative;background-position:center center;background-repeat:no-repeat;opacity:.4;transition:opacity 300ms ease}.lm_controls>li:hover{opacity:1}.lm_controls .lm_popout{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAANUlEQVR4nI2QMQoAMAwCz5L/f9mOzZIaN0E...
CSS
*p - 1; i__2 = *m - *q - 1; zlacpy_("L", &i__1, &i__2, &x11[x11_dim1 + 2], ldx11, &u1[( u1_dim1 << 1) + 2], ldu1); i__1 = *m - *q; zungqr_(p, p, &i__1, &u1[u1_offset], ldu1, &work[itaup1], &work[ iorgqr], &lorgqr, &childinfo); } if (wantu2 && *m - *p > 0)...
C
/CUTS/CUT9.TR2" }; gameflow_params[GAME_3].cutscene[2] = { name = "Cutscene 3", filepath = "data/tr3/CUTS/CUT1.TR2" }; gameflow_params[GAME_3].cutscene[3] = { name = "Cutscene 4", filepath = "data/tr3/CUTS/CUT4.TR2" }; gameflow_params[GAME_3].cutscene[4] = { name = "Cutscene...
Lua
"6.0", tags: [], skinTones: false, ), ( emoji: "☑️", description: "check box with check", category: "Symbols", aliases: ["ballot_box_with_check"], unicodeVersion: "", iosVersion: "6.0", tags: [], skinTones: false, ), ( emoji: "✔️", description: "check mark", c...
Dart