content
stringlengths
2
6.21k
label
stringclasses
16 values
r"; import { isValidPassword as fn } from ".."; const validPayload = (password: string) => ({ password, confirmPassword: password }); describe("Password validation helper", () => { test("should be falsy if no password provided", () => { const payload = { password: undefined, confirmPassword: "password" }; e...
Typescript
}, ], }; /// Descriptor for `Binding`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List bindingDescriptor = $convert.base64Decode( 'CgdCaW5kaW5nEhIKBHJvbGUYASABKAlSBHJvbGUSGAoHbWVtYmVycxgCIAMoCVIHbWVtYmVycx' 'IvCgljb25kaXRpb24YAyABKAsyES5nb29nbGUudHlwZS5FeHByUgljb25kaXRpb24='); @$c...
Dart
META http-equiv="Content-Type" content="text/html; charset=us-ascii"> <LINK REL="Previous" HREF="001674.html"> <LINK REL="Next" HREF="001676.html"> </HEAD> <BODY BGCOLOR="#ffffff"> <H1>[cxx-abi-dev] Mangling of anonymous unions?</H1> <B>Jason Merrill</B> <A HREF="mailto:cxx-abi-dev%40codesourcery....
HTML
;; #LAYOUT# STD * #TAKE ;; #LAYOUT# X16 * #IGNORE ;; #LAYOUT# * KERNAL_0 #TAKE ;; #LAYOUT# * * #IGNORE screen_grow_logical_line_done_scroll: inc TBLX ; FALLTROUGH screen_grow_logical_line_done: jmp screen_calculate_PNT_USER screen_grow_logical_line_screen_up: jsr screen_scroll_up ...
Assembly
ecl-color-dark-60: #{map.get($color, 'dark-60')}; --ecl-color-dark-40: #{map.get($color, 'dark-40')}; --ecl-color-dark-20: #{map.get($color, 'dark-20')}; --ecl-color-dark-10: #{map.get($color, 'dark-10')}; --ecl-color-dark-5: #{map.get($color, 'dark-5')}; --ecl-color-info: #{map.get($color, 'info')}; --ecl-...
CSS
p // Element information // Namespace: http://www.w3.org/2001/XMLSchema // Schema document: xmlschema.xsd // Type: xsd:attributeGroupRef // Properties: Local, Qualified // // Used in // Group xsd:attrDecls // Group xsd:complexTypeModel via reference to xsd:attrDecls // Type xsd:complexType via reference to xsd:complexT...
Rust
uct{A: true, B: \"abc\", C: 123}", Value: vdl.ValueOf(types.NStruct{ A: true, B: "abc", C: 123, }), TypeString: "v.io/v23/vom/testdata/types.NStruct struct{A bool;B string;C int64}", Hex: "80513b060023762e696f2f7632332f766f6d2f74657374646174612f74797065732e4e53747275637401030001410101e1000142010...
Go
er, .bwg_container.bwg_carousel [id^="bwg_container2_"] [id^="spider_carousel_right-ico_"]:hover { cursor: pointer; } .bwg_container.bwg_carousel [id^="bwg_container2_"] [id^="bwg_carousel_play_pause_"] { bottom: 0; cursor: pointer; display: inline-table; outline: medium none; position: absolute; height:...
CSS
여기서 대상은 종종 carrier라 불립니다.(내재된 대상 혹은 프로그래밍적 문맥에서 케리어 타입) 사상은 종종 evaluation function이나 structure map이라 불립니다. 펑터 F를 수식을 형성하는 것으로 생각하고 사상을 evaluating 하는 것으로 생각하세요. 하스켈에서 F-algebra의 정의는 다음과 같고 이는 그것의 evaluation function과 함께 algebra를 정의합니다. ```haskell type Algebra f a = f a -> a ``` 모노이드 예제에서 질문에 해당하는 펑터는 다음과 같습니다. ```h...
Markdown
slGrammarTemplate.ColumnGroupDef] * * &nbsp;&nbsp;&nbsp;&nbsp;__`.`__[**`frameCol`**][org.jetbrains.kotlinx.dataframe.api.ColumnsSelectionDsl.frameCol]`[`**`<`**[`T`][org.jetbrains.kotlinx.dataframe.documentation.DslGrammarTemplateColumnsSelectionDsl.DslGrammarTemplate.ColumnTypeDef]**`>`**`]`**`(`**[`column...
Kotlin
= new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ); var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; var documentElement = document.documentElement; var isAttached = function( elem ) { return jQuery.contains( elem.ownerDocument, elem ); }, compos...
HTML
t-select-tree-show-line .ant-select-tree-indent-unit-end::before { display: none; } .ant-select-tree-show-line .ant-select-tree-switcher { background: #141414; } .ant-select-tree-show-line .ant-select-tree-switcher-line-icon { vertical-align: -0.225em; } .ant-tree-select-dropdown-rtl .ant-select-tree .ant-sel...
CSS
##"label<-" <- function(x, value) { ## attr(x, "label") <- value ## x ##} ## exact=TRUE and [['label']] to prevent matching with a different attribute ## "labels" (Thanks: Ivan Puzek) label <- function(x, default=NULL, ...) UseMethod("label") label.default <- function(x, default=NULL, units=plot, plot=FALSE, ...
Assembly
await _dataGrid.ReloadServerData(); _createDialogVisible = false; } } protected override Task OpenEditModalAsync(IdentityRoleDto entity) { EditingEntityId = entity.Id; EditingEntity = MapToEditingEntity(entity); _editDialogVisible = true; ret...
C#
torScheduler::~SpaceTimeMutatorScheduler() { } MutatorScheduler::State SpaceTimeMutatorScheduler::state() const { return m_state; } void SpaceTimeMutatorScheduler::beginCollection() { RELEASE_ASSERT(m_state == Normal); m_state = Stopped; m_startTime = MonotonicTime::now(); m_bytesAllocatedThisCyc...
C++
stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-list-checks"><path d="m3 17 2 2 4-4"></path><path d="m3 7 2 2 4-4"></path><path d="M13 6h8"></path><path d="M13 12h8"></path><path d="M13 18h8"></path></svg><span>Background Tasks</span></a></li></ul></div></div></div><div data-slot="...
HTML
"name: str"],"doc":"<p>Get a single device decriptor with name exactly matching name.\x3c/p>\n<p><code>name\x3c/code> Given name of the requested device. See Playwright's <a href=\"https://github.com/Microsoft/playwright/blob/master/src/server/deviceDescriptors.ts\">deviceDescriptors.ts\x3c/a> for a formatted list.\x3c...
HTML
bold; color: var(--color-prettylights-syntax-markup-bold); } .markdown-body .pl-md { color: var(--color-prettylights-syntax-markup-deleted-text); background-color: var(--color-prettylights-syntax-markup-deleted-bg); } .markdown-body .pl-mi1 { color: var(--color-prettylights-syntax-markup-inserted-text); ba...
CSS
③ 将梯度范数剪裁到 1 ④ 调整模型参数以最小化损失 ⑤ 每十个 epoch 后保存模型 在训练过程中,我们将所有输入序列 x 批量通过模型以获得预测。我们将这些预测与批量的输出序列 y 进行比较,并计算交叉熵损失。然后调整模型参数以最小化这个损失。请注意,我们已经将梯度范数剪裁到 1 以避免潜在的梯度爆炸问题。 梯度范数剪裁 梯度范数裁剪是训练神经网络时用来防止梯度爆炸问题的技术。这个问题发生在损失函数相对于模型参数的梯度变得过大时,导致训练不稳定和模型性能差。在梯度范数裁剪中,如果梯度的范数(大小)超过某个阈值,则将梯度缩放。这确保了梯度不会变得过大,从而保持稳定的训练并提高收敛速度。 如果你有 CUDA 支持的...
Markdown
default-light: '#bf72d8' default-dark: '#a35fbf' - id: mu-label-h3 title: H3 label color type: variable-themed-color description: Reading mode - H3 label color. format: hex opacity: false default-light: '#bf72d8' default-dark: '#a35fbf' - ...
CSS
///////////////////////////////////////////////////////////////////////////// // Name: wxfreechartdefs.h // Purpose: base declarations // Author: Moskvichev Andrey V. // Created: 2008/11/07 // Copyright: (c) 2008-2010 Moskvichev Andrey V. // Licence: wxWidgets licence ////////////////////////////////////...
C
section: delta2 = (x >= mid) ? min - x : max - x; delta = golden * delta2; } // update current position: u = (fabs(delta) >= fract1) ? T(x + delta) : (delta > 0 ? T(x + fabs(fract1)) : T(x - fabs(fract1))); fu = f(u); if(fu <= fx) { // good new point is an...
C++
"gssapi unknown {} error code {}\n", name, code)?; break; } if message_context == 0 { break; } } Ok(()) } } impl fmt::Display for Error { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { Error::fmt_code(f, sel...
Rust
message_stream_compression_algorithm( &algorithm, call->incoming_message_compression_algorithm, call->incoming_stream_compression_algorithm); return algorithm; } static grpc_compression_algorithm compression_algorithm_for_level_locked( grpc_call* call, grpc_compression_level level) { return grpc_co...
C++
_TRUE(!entry.isAbsolute()); ASSERT_TRUE(entry.isRelative()); ASSERT_TRUE(entry.isClean()); ASSERT_TRUE(!entry.isRoot()); ASSERT_TRUE(entry.isEmpty()); } // @copyright 2017-2018 zzu_softboy <zzu_softboy@163.com> // // THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR // IMPLIED WARRANTIES,...
C++
="floor">5楼</span> </div> <div class="txt"> <p class="useragent_output_custom"></p> <p><img src="http://timg.sjs.sinajs.cn/t3/style/images/common/face/ext/normal/e9/sk_org.gif" title="思考" /><img src="http://timg.sjs.sinajs.cn/t3/style/images/common/face/ext/normal/e9/sk_org.gif" title="思考" /><img data-or...
HTML
searchEditor-textInputBorder: #cecece;--vscode-debugTokenExpression-name: #9b46b0;--vscode-debugTokenExpression-value: rgba(108, 108, 108, .8);--vscode-debugTokenExpression-string: #a31515;--vscode-debugTokenExpression-boolean: #0000ff;--vscode-debugTokenExpression-number: #098658;--vscode-debugTokenExpression-error: #...
HTML
ryptography/assets/scripts/dotdash.py">dotdash.py takes the string encoded in morse, splits it into individual characters and compares those characters with the morse code dictionary</a> ``` $ python3 dotdash.py Enter Morse Code Here: .--. .. -.-. --- -.-. - ..-. { -- ----- .-. ... ...-- -.-. ----- -.. ...-- .---- ....
Markdown
ringifier(square, { clean: { stripEmptyTags: true, stripTags: [], stripAttrs: [], stripExtraAttrs: true, stripStyles: true } }); assert.ok(result.indexOf('<title>') !== -1); assert.ok(result.indexOf('<desc>') !== -1); }); it('Should remove `style` tag', () => { const result = strin...
Typescript
(x, y) return self:move(x - self.x, y - self.y) end --- *(Used internally)* Moves the solid and performs a collision check with the soul. ---@param amount number ---@param x_mult number ---@param y_mult number ---@return boolean function Solid:doMoveAmount(amount, x_mult, y_mult) local sign = Utils.sign(amount...
Lua
// Base System|SDK_Base|004 namespace VRTK { /// <summary> /// The Base System SDK script provides a bridge to core system SDK methods. /// </summary> /// <remarks> /// This is an abstract class to implement the interface required by all implemented SDKs. /// </remarks> public abstract clas...
C#
{ case KeyCode.TAB: e.preventDefault(); int cursorPos = textBox.selectionStart; debugger.complete(text.substring(0, cursorPos)).then((completion) { text = completion + text.substring(cursorPos); // TODO(turnidge): Move the cursor to the end of t...
Dart
W_TMP1, WK(i&~3) W_PRECALC_ROTATE .endif .endm .endm // W_PRECALC_AVX W_PRECALC_AVX .purgem xmm_mov .macro xmm_mov a, b vmovdqu \a,\b .endm /* * AVX optimized implementation: * extern "C" void sha1_transform_avx(u32 *digest, const char *data, u32 *ws, * unsigned int rou...
Assembly
/* * Content */ blockquote p:last-of-type { margin-bottom: 0; } blockquote footer { margin-top: $base-blockquote-footer-margin-top; font-size: $base-blockquote-footer-font-size; line-height: $base-blockquote-footer-line-height; @if(meta.mixin-exists(hook-base-blockquote-footer)) {@include hook-base...
CSS
2.5rem; font-size: 0.875rem; line-height: 1.25rem; } .footer > * { display: grid; place-items: start; gap: 0.5rem; } @media (min-width: 48rem) { .footer { grid-auto-flow: column; } .footer-center { grid-auto-flow: row dense; } } .link { cursor: pointer; text-decoration-line: underline...
CSS
"adaptContainerCssClass");if(g=g||c,-1!==f.indexOf(":all:")){f=f.replace(":all:","");var h=g;g=function(a){var b=h(a);return null!=b?b+" "+a:a}}var i=this.options.get("containerCss")||{};return a.isFunction(i)&&(i=i(this.$element)),b.syncCssClasses(e,this.$element,g),e.css(i),e.addClass(f),e},d}),b.define("select2/comp...
JavaScript
h(250)] public string Standard_Category { get; set; } [Key] [StringLength(50)] public string Set_Name { get; set; } [Column("Standard_Category_Sequence")] public int Standard_Category_Sequence1 { get; set; } [ForeignKey("Set_Name")] [InverseProperty("STANDARD_CATEGORY_SEQUENCE")] ...
C#
ocket = ::socket(AF_ALG, SOCK_SEQPACKET, 0); if (mainSocket == -1) { return false; } auto deferCloseSock = MakeDeferred( [&] { ::close(mainSocket); mainSocket = -1; }); if (::bind(mainSocket, reinterpret_cast<struct sockaddr*>(&sa), sizeof(sa)...
C++
": "ουτος", "lemma": "οὗτος"}, {"key": "και", "lemma": "καί"}, {"key": "οικοδομεω", "lemma": "οἰκοδομέω"}, {"key": "εκει", "lemma": "ἐκεῖ"}, {"key": "αβραμ", "lemma": "Αβραμ"}, {"key": "θυσιαστηριον", "lemma": "θυσιαστήριον"}, {"key": "κυριος", "lemma": "κύριος"}, {"key": "ο", "lemma": "ὁ"}, {"key": "οραω", "le...
JavaScript
add the extremum and then remove the old point. <LI> Redid how bdf properties were handled <UL> <LI> I had the definitions of some properties slightly wrong <LI> I was generating some obsolete properties <LI> When I generated CHARSET_ENCODING for iso8859 encodings I had an ex...
HTML
expected"]["qscore_per_atom"] = expected_qscore_per_atom tests[test["data"]["name"]] = test return tests def test_program_template(test): print("Running prgram template test: ",test["data"]["name"]) model_file = test["data"]["model_file"] map_file = test["data"]["map_file"] dm = DataManager() dm.proc...
Python
name { /* Adjust the spacing between logo and logo name */ font-weight: bold; /* Optionally, apply a bold font weight */ /* Adjust the font size */ color:#fff; float: left; font-size: 30px; font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; line-height: 50...
CSS
will use a lot of memory. // => if we had a way to "guess" if the JSON will be small or not, we could decide to pre-render or not. var cached = this.CachedBytes; if (!cached.IsValid) { this.CachedBytes = cached = RenderBytes(); } length = cached.Count; return true; } internal static Enc...
C#
class MalformedPDFException(Exception): pass class PdfminerException(Exception): pass
Python
dth:3.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.36078431" id="path3543" /> <path d="M 371.70067,376.56463 L 314.90067,376.56463" style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:3.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit...
HTML
# show tracking image vis_img = self.show_result(img_metas[0]['filename'], raw_result) # for track_kpt in track_kpts: # pts = np.array(track_kpt) # pts = np.concatenate((pts, np.expand_dims((pts[1, :] + pts[2, :]) / 2, 0)), axis=0) # vis_...
Python
p.response.Put(resp) } type handleFuncCtx[REQ, RESP MethodBasedMessage] struct { logger *log.MOLogger handleFunc HandleFunc[REQ, RESP] async bool } func (c *handleFuncCtx[REQ, RESP]) call( ctx context.Context, req REQ, resp RESP, buf *Buffer, ) { if err := c.handleFunc(ctx, req, resp, buf); err != ni...
Go
, "allowed amount should match") }) it('fails decreasing allowance of existing lock by 0', async () => { await approveStakeAndLock({ staking, manager: user1, from: owner }) await assertRevert(staking.decreaseLockAllowance(owner, user1, 0), STAKING_ERRORS.ERROR_AMOUNT_ZERO) }) it('fails decreasing all...
JavaScript
/* bst/gsl_bst_avl.h * * Copyright (C) 2018 Patrick Alken * * 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 Foundation; either version 3 of the License, or (at * your option) any later version. * ...
C
(s_int86)); m_id.SubclassDlgItem(IDC_SND86ID, this); m_id.Add(s_id86, _countof(s_id86)); Set(np2cfg.snd86opt); m_dipsw.SubclassDlgItem(IDC_SND86DIP, this); m_io.SetFocus(); return FALSE; } /** * [U[ OK ̃{^ (IDOK ID ̃{^) NbNƌĂяo܂ */ void SndOpt86Page::OnOK() { if (np2cfg.snd86opt != m_snd86) { np2cfg.sn...
C++
about which of them contain pointers. We also don't build an // internal frame to make the code faster, since we shouldn't have to do stack // crawls in MakeCodeYoung. This seems a bit fragile. // Set a0 to point to the head of the PlatformCodeAge sequence. __ Dsubu(a0, a0, Operand(kNoCodeAgeSequenceLength - A...
C++
using Content.Server.Engineering.Components; using Content.Server.Stack; using Content.Shared.Coordinates.Helpers; using Content.Shared.DoAfter; using Content.Shared.Interaction; using Content.Shared.Maps; using Content.Shared.Stacks; using JetBrains.Annotations; using Robust.Shared.Map; namespace Content.Server.Engin...
C#
/* * * @Component OMAPCONF * @Filename twl6040_lib.h * @Description TWL6040 Audio Companion Chip Functions * @Author Patrick Titiano (p-titiano@ti.com) * Misael Lopez Cruz <misael.lopez@ti.com> * @Date 2010 * @Copyright Texas Instruments Incorporated * * * Copyright (C) 2010 Texas Instruments ...
C
MissingStub: _FakeDiagnosticsNode_4( this, Invocation.method( #toDiagnosticsNode, [], { #name: name, #style: style, }, ), ), ) as _i4.DiagnosticsNode); @override List<_i4.DiagnosticsNode> debugDe...
Dart
context := map[string]interface{}{ "key_name": acctest.BootstrapKMSKeyInLocation(t, "us-central1").CryptoKey.Name, "random_suffix": acctest.RandString(t, 10), } acctest.VcrTest(t, resource.TestCase{ PreCheck: func() { acctest.AccTestPreCheck(t) }, ProtoV5ProviderFactories: acctest.Proto...
Go
OSYS);return-1}function _setenv(envname,envval,overwrite){if(envname===0){___setErrNo(ERRNO_CODES.EINVAL);return-1}var name=Pointer_stringify(envname);var val=Pointer_stringify(envval);if(name===""||name.indexOf("=")!==-1){___setErrNo(ERRNO_CODES.EINVAL);return-1}if(ENV.hasOwnProperty(name)&&!overwrite)return 0;ENV[nam...
JavaScript
now in privileged mode; after returning from SCVall it * will use the default (user) stack before switching to the privileged * stack to execute the system call. We need to protect the user stack * against stack overflows until this stack transition. */ ldr r1, [r0, #_thread_offset_to_stack_info...
Assembly
if (-1 == pipe(fd)) { fprintf(stderr, "Cannot open pipe\en"); exit(EXIT_FAILURE); } .DE .DM if (fork()) parentProcess(); else childProcess(); exit(EXIT_SUCCESS); } .DE .DM parentProcess() { struct stat s; char buff; .DE .DM for (buff = ' '; 'q' != buff;) { fstat(fd[0], &s); /* get status of pipe */ ...
Assembly
List.add("toggled"); this.toggleButton.setAttribute("aria-expanded", "true"); this.bar.classList.remove("hidden"); } this.findField.select(); this.findField.focus(); this.#adjustWidth(); } close() { if (!this.opened) { ...
JavaScript
fn serialize_field<T>(&mut self, _key: &'static str, _value: &T) -> Result<()> // where // T: ?Sized + ser::Serialize, // { // unreachable!() // } // // #[tracing::instrument(level="trace", skip())] // fn end(self) -> Result<Self::Ok> { // unreachable!() // } // } // // i...
Rust
cStats(ctx, time.Since(start)) }() // Simulate expensive calculation delay.Sleep(config.RouteCalcDelay, config.RouteCalcDelayStdDev) eta := math.Max(2, rand.NormFloat64()*3+5) return &Route{ Pickup: pickup, Dropoff: dropoff, ETA: time.Duration(eta) * time.Minute, } } // Copyright (c) 2019 The Jaeger ...
Go
, 2.87516, 2.5627, 0.202088, 15.1009, 132.721, 2.02876}, // Pm {24.0042, 19.4258, 13.4396, 2.89604, 2.47274, 0.196451, 14.3996, 128.007, 2.20963}, // Sm {24.6274, 19.0886, 13.7603, 2.9227, 2.3879, 0.1942, 13.7546, 123.174, 2.5745}, // Eu {25.0709, 19.0798, 13.8518, 3.54545, 2.25341, 0.181951, 12.9331, 101.398, 2....
C++
原则,一:“物质生产是社会的基础,人们要生活,就必须有食物、衣服和其它物质资料。人们要有这些,就必须生产它们,就必须劳动。”第二条:“人们生产物质资料,不是单独进行的,而是以社会为单位来共同进行的,因此人与人必定发生生产的关系,生产关系一定要适合生产的性质的规律。”用这样经济的观点来研究基督教教义,我们发见这些原则也是旧约先知新约使徒和主耶稣所讲的道理,我们基督徒应当照着实行。因此我们很快乐注意到,复活的耶稣,一天早晨,站在加利利湖边,向在湖上打鱼的七个门徒,饥饿寒冷的时候,问他们说:“小子们,你们有吃的没有?”他们上了岸,看见那里主为他们预备了有炭火,上面有鱼又有饼,耶稣说:“你们来吃早饭,”由此可见,主耶稣降世,不但是流宝血,救...
HTML
h safely to your branch git push --force-with-lease # Or push brutally to your branch git push --force ``` --- title: Rails migrations category: Rails --- ### Automatically make migrations $ rails generate migration RemovePartNumberFromProducts part_number:string $ rails generate migration remove_part_number...
Markdown
(sighs)<br> Whenever possible.</p> <p> BARBER<br> So, this time you were lucky.</p> <p> Picard starts to respond, then simply grunts.</p> <p> BARBER<br> (continuing)<br> I suppose all's well that ends<br> well but if I had been in your<br> shoes...</p> <p> Picard frowns impatiently, gla...
HTML
cleanUp() bare = oldBare }() c.Assert(errCreate, gocheck.IsNil) refs, err := GetForEachRef("gandalf-test-repo", "") c.Assert(err, gocheck.IsNil) c.Assert(refs, gocheck.HasLen, 1) c.Assert(refs[0], gocheck.FitsTypeOf, Ref{}) c.Assert(refs[0].Name, gocheck.Equals, "master") } func (s *S) TestGetForEachRefIntegr...
Go
# This file is MACHINE GENERATED! Do not edit. # Generated by: tensorflow/python/tools/api/generator2/generator/generator.py script. """Public API for tf._api.v2.distribute.cluster_resolver namespace """ import sys as _sys from tensorflow.python.distribute.cluster_resolver.cluster_resolver import ClusterResolver # li...
Python
h(); strideSetup.strideSetup.setStride(static_cast<uint16_t>(group.stride == 0 ? 0 : (group.stride - numBytes))); } std::size_t numRemoved = 0; vpm.updateScratchSize(static_cast<unsigned char>(group.addressWrites.size())); // 2. Remove all but the first generic and DMA setups for(std::size_...
C++
re bug 1: LDPTR [%l2 + IH_CLR], %o3 add %sp, CC64FSZ+STKB, %o2 ! tf = %sp + CC64FSZ + STKB LDPTR [%l2 + IH_FUN], %o1 ! ih->ih_fun brz,pn %o3, 0f LDPTR [%l2 + IH_ARG], %o0 ! ih->ih_arg stx %g0, [%o3] ! Clear intr source 0: jmpl %o1, %o7 ! handled = (*ih->ih_fun)(...) movrz %o0, %o2, %o0 ! arg = (arg == 0) ...
Assembly
ript> <script src="../../ui/jquery.ui.mouse.js"></script> <script src="../../ui/jquery.ui.resizable.js"></script> <script src="../../ui/jquery.ui.accordion.js"></script> <link rel="stylesheet" href="../demos.css"> <script> $(function() { $( "#accordion" ).accordion({ heightStyle: "fill" }); }); $(functio...
HTML
اعدادات و التغيرات الغير مخطط لها مسبقاً او البيانات السحابية الغير مؤمنه او الاخطاء في اعدادات طلبات بروتوكول HTTP او مشاركة الموارد (CORS) او رسائل الخطأ التفصيلية التي تحتوي على معلومات حساسة. | | API8:2019 الحقن ...
Markdown
lr-800e_in1k-192/simmim_swin-large_16xb128-amp-coslr-800e_in1k-192_20220916-4ad216d3.pth) \| [log](https://download.openmmlab.com/mmselfsup/1.x/simmim/simmim_swin-large_16xb128-amp-coslr-800e_in1k-192/simmim_swin-large_16xb128-amp-coslr-800e_in1k-192_20220916-4ad216d3.json) | ### Image Classification on ImageNet-1k |...
Markdown
: 'Blue Shard'}, {loot: 'Purple Shard'}, ], epic: [ {loot: 'Ultraball'}, {loot: 'Splash Plate'}, {loot: 'Icicle Plate'}, ], legendary: [ {loot: 'LargeRestore'}, {loot: 'Never_Melt_Ice'}, ], }, 720600,...
Typescript
</strong>. For example, we can build a sequence of the built-in signed integral types this way:</p> <pre class="literal-block"> #include &lt;boost/mpl/vector.hpp&gt; typedef boost::mpl::vector&lt; signed char, short, int, long&gt; signed_types; </pre> <p>How can we use a type sequence to represent numbers? Just...
HTML
, %xmm8 unpckhpd %xmm1, %xmm1 mulpd %xmm15, %xmm1 addpd %xmm1, %xmm8 movsd %xmm8, 0 * SIZE(CO2, LDC, 2) movhpd %xmm8, 1 * SIZE(CO2, LDC, 2) ALIGN_4 .L39: #if defined(TRMMKERNEL) && !defined(LEFT) addl $4, KK #endif leaq (C, LDC, 4), C # c += 4 * ldc movq BO, B decq J # j -- jg .L10 ALIGN_4 .L40...
Assembly
s: &str) -> Vec<usize> { let mut remainder = s; let mut res = Vec::new(); let mut cur_end = 0usize; while let Some(m) = r.find(remainder) { cur_end += m.end(); res.push(cur_end); remainder = &remainder[m.end()..]; } res } fn check_message_part2(rule42: &Regex, rule31: &...
Rust
15,0x87,0xbf,0x72,0x80] vfnmsub231sh -256(%rdx), %xmm29, %xmm30 {%k7} {z} // CHECK: vfcmaddcph %zmm28, %zmm29, %zmm30 // CHECK: encoding: [0x62,0x06,0x17,0x40,0x56,0xf4] vfcmaddcph %zmm28, %zmm29, %zmm30 // CHECK: vfcmaddcph {rn-sae}, %zmm28, %zmm29, %zmm30 // CHECK: encoding: [0x62,0x06,0x17,0x1...
Assembly
Serializable) loaderW.loadClass(newClassName(Foo_W.class)).getConstructor(Object.class).newInstance("foo"); pushTccl(createClassNameRewritingLoader(Foo_R.class)); try { p.decode(p.encode(a)); } finally { popTccl(); } } @Test public void fieldTypeChangeWithIncompatibleObject() throws ...
Java
// // NON SQL FUNCTIONS // Fn_EXISTS__BAG__BOOL, Fn_EXISTS__LIST__BOOL, Fn_EXISTS__STRUCT__BOOL, Fn_SIZE__BAG__INT32, Fn_SIZE__LIST__INT32, Fn_SIZE__STRUCT__INT32 ).groupBy { it.signature.name } @JvmStatic private val aggregations: Map<Str...
Kotlin
software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // // Copyright holder is ArangoDB GmbH, Cologne, Germany // ...
Go
et CenterY() { return this.b2body.GetPosition().y * 50 - Math.cos(Math.PI * this.angle / 180) * this.scaleY * this.height / 2; } private CreatePolygonShape() { const vecs = new Array<Vec2>(); const radius = this.height * this.scaleY / 50; for (let i = 18; i >= 0; i--) { ...
Typescript
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using EntityFrameworkCor...
C#
y> <meta content="周恩来江青接见农林口革命造反派时的讲话" property="title"/> <meta content="1967-1-7" property="date"/> <meta content="周恩来, 江青" property="authors"/> <script type="application/ld+json"> {"title": "\u5468\u6069\u6765\u6c5f\u9752\u63a5\u89c1\u519c\u6797\u53e3\u9769\u547d\u9020\u53cd\u6d3e\u65f6\u7684\u8bb2\u8bdd",...
HTML
ul li.hover a{color:#c50000;} .pro-sort-tab .tab-li ul li a:hover{color: #333} .pro-sort-tab .tab-li .number {position:absolute;top:5px;right:0;font-size:12px;} .pro-sort-tab .ps-cont {padding:20px 20px;min-height:300px;height:auto !important;height:300px;overflow:visible;} .mess {letter-spacing:2px;font-size:1...
CSS
in 0..x_size { item_1.push(TILE_WALL); item_2.push(TILE_WALL); } grid_1.push(item_1); grid_2.push(item_2); } for yi in 1..y_size as usize - 1 { for xi in 1..x_size as usize - 1 { grid_1[yi][xi] = random_select(rng, fill_percent); } ...
Rust
px 4px 0 rgba(34,36,38,.12),0 2px 10px 0 rgba(34,36,38,.15)}.ui.link.cards .raised.card:hover,.ui.link.raised.card:hover,.ui.raised.cards a.card:hover,a.ui.raised.card:hover{box-shadow:0 0 0 1px #d4d4d5,0 2px 4px 0 rgba(34,36,38,.15),0 2px 10px 0 rgba(34,36,38,.25)}.ui.centered.cards{justify-content:center}.ui.centered...
CSS
n query_kw: match_score = 1.0 break elif self._calculate_similarity(query_kw, tag_name) > 0.7: match_score = 0.8 total_score += match_score * tag_confidence total_weight += tag_confidence return total_score / t...
Python
Faith (Id: 525) /// Class: Armor /// </summary> GlovesOfFaith = 22517, /// <summary> /// Waist /// Level: 88 /// Set: Vestments of Faith (Id: 525) /// Class: Armor /// </summary> BeltOfFaith = 22518, /// <summary> /// Wrist /// Level: 88 /// Set: Vestments of Faith (Id: 525) /// Class: Arm...
C#
COLOR: rgb(33,33,33); FONT-STYLE: normal; LETTER-SPACING: 0pt; mso-spacerun: 'yes'; mso-font-kerning: 0.0000pt; mso-shading: rgb(255,255,255)"><FONT face=΢ź>ߴʦ</FONT> (EX)</SPAN></B><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: ΢ź; BACKGROUND: rgb(255,255,255); TEXT-TRANSFORM: none; COLOR: rgb(33,33,33); FONT-STYLE: n...
HTML
_222492c: @ 222492c :arm ldr r0, [sp, #0x4] cmp r0, #0x0 addeq sp, sp, #0x18 ldmeqfd sp!, {r3-r11,pc} bl Function_22255fc add sp, sp, #0x18 ldmfd sp!, {r3-r11,pc} @ 0x2224948 .word 0x2229c24 @ 0x2224948 .word 0x12e @ 0x222494c .word 0x2229c34 @ 0x2224950 .word 0x2229e70 @ 0x2224954 .word 0x...
Assembly
"RDI", [3]byte{0, 9, 151}: "Nortel Networks", [3]byte{0, 9, 152}: "Capinfo Company Limited", [3]byte{0, 9, 153}: "CP GEORGES RENAULT", [3]byte{0, 9, 154}: "ELMO COMPANY, LIMITED", [3]byte{0, 9, 155}: "Western Telematic Inc.", [3]byte{0, 9, 156}: "Naval Research Laboratory", [3]byte{0, 9...
Go
Fill(start_color="FF00FF", end_color="FF00FF", fill_type="solid") grey_fill = PatternFill(start_color="808080", end_color="808080", fill_type="solid") skin_color_fill = PatternFill(start_color="FFDBAC", end_color="FFDBAC", fill_type="solid") White_font = Font(color="FFFFFF") ...
Python
-host" "github.com/cosmos/ibc-go/v10/modules/core/exported" ibctm "github.com/cosmos/ibc-go/v10/modules/light-clients/07-tendermint" ibctesting "github.com/cosmos/ibc-go/v10/testing" "github.com/cosmos/ibc-go/v10/testing/simapp" ) const ( testChainID = "gaiahub-0" testChainIDRevision1 = "gaiahub-1" te...
Go
using System.Collections.ObjectModel; using CommunityToolkit.Mvvm.ComponentModel; using CommunityToolkit.Mvvm.Input; namespace NoodleCV.App.CustomControls.ViewModel; public partial class CustomDropDownViewModel : ObservableObject { private readonly int? _defaultSelected; [ObservableProperty] private Observabl...
C#
202 643T244 695T277 729T302 750H315H319Q333 750 333 741Q333 738 316 720T275 667T226 581T184 443T167 250T184 58T225 -81T274 -167T316 -220T333 -241Q333 -250 318 -250H315H302L274 -226Q180 -141 137 -14T94 250Z"></path><path stroke-width="0" id="E279-MJMATHI-3B8" d="M35 200Q35 302 74 415T180 610T319 704Q320 704 327 704T339 ...
HTML
, the value of Outputs is latest // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` Apply ConfigurationApplyStatus `json:"apply,omitempty"` Destroy ConfigurationDestroyStatus `json:"destroy,omitempty"` } // ConfigurationApplyStatus is the status for Configuration apply type Configurat...
Go
eeze checker:", Details.check_stuttering and "enabled" or "disabled") if (Details.check_stuttering) then _G["UpdateAddOnMemoryUsage"] = Details.UpdateAddOnMemoryUsage_Custom else _G["UpdateAddOnMemoryUsage"] = Details.UpdateAddOnMemoryUsage_Original end elseif (command == "perf") then local performanceD...
Lua
12 0-1.668.668-1.67 1.977v6.218H4.822V8.102c0-1.31.337-2.35 1.011-3.12.696-.77 1.608-1.164 2.74-1.164 1.311 0 2.302.5 2.962 1.498l.638 1.06.638-1.06c.66-.999 1.65-1.498 2.96-1.498 1.13 0 2.043.395 2.74 1.164.675.77 1.012 1.81 1.012 3.12z'/%3E%3C/svg%3E")}.vpi-social-npm{--icon: url("data:image/svg+xml,%3Csvg xmlns='htt...
CSS
subs k, k, #1 beq Lbignum_mod_nsm2_writeback ldr m1, [x, #8] subs k, k, #1 beq Lbignum_mod_nsm2_writeback
Assembly
{ bais.close(); } logger.debug("OUT"); } } private static String createUidDocument(String binId, String biobjId) { logger.debug("IN"); String uid = biobjId; if (binId != null) { uid += "_" + binId; } logger.debug("OUT"); return uid; } private static void addFieldsToDocument(Document d...
Java