content
stringlengths
2
6.21k
label
stringclasses
16 values
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # All rights reserved. # # This source code is licensed under the license found in the # LICENSE file in the root directory of this source tree. import numpy as np import os import pandas as pd from utils import process_jigsaw_1 from utils impo...
Python
if (mechanic is MechanicActionBarSlotSpontaneusConvertedSpell convert && !convert.Spell.IsVariable) return true; return false; } public static BlueprintUnitFact GetBlueprint(MechanicActionBarSlot slot) { if (slot is MechanicActionBarSlotActivableAbili...
C#
binIndex] = factor * factor2 * binRadiusDistributionValue[binIndex]; //NumberOfPrticlesFactor_i = f(r_i) / (4/3*Pi*Sum{f(r_i)*r_i^3}) } } private double formulationParameterValue(string parameterName) { return _formulationParameters.FindByName(parameterName).Value; ...
C#
io)) return PTR_ERR(gpio); /* Write the mux register at addr to verify * that the mux is in fact present. This also * initializes the mux to disconnected state. */ if (i2c_smbus_write_byte(client, 0) < 0) { dev_warn(&client->dev, "probe failed\n"); return -ENODEV; } match = of_match_device(of_match_pt...
C
+=rocket_lazy.length;if(is_image){image_count+=1} if(is_iframe){iframe_count+=1}}});if(image_count>0||iframe_count>0||rocketlazy_count>0){lazyLoadInstance.update()}});var b=document.getElementsByTagName("body")[0];var config={childList:!0,subtree:!0};observer.observe(b,config)}},!1)</script><script data-no-minify="1" a...
HTML
4Mg&amp;ptn=3&amp;ver=2&amp;hsh=3&amp;fclid=15ebbcc3-9be7-6756-34a4-a8809a5d6617&amp;psq=Microsoft+wikipedia&amp;u=a1aHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbGljZW5zZXMvYnktc2EvMy4wLw&amp;ntb=1" h="ID=SERP,6382.1">CC-BY-SA license</a></span></div></div><div class="b_gobig_feedback"><div id="fdbk_thmb26" class="fdbk_thmb_ro...
HTML
i-dropdown.open .dropdown-toggle:focus,.sui-navbar .sui-nav>.active>a:focus{color:#555;text-decoration:none;background-color:#e2e2e2}.sui-navbar .btn-navbar{display:none;float:right;padding:7px 10px;margin-left:5px;margin-right:5px;color:#fff;background-color:#eee;filter:progid:DXImageTransform.Microsoft.gradient(enabl...
CSS
Schema.Email).All(&users)) assert.Equal(t, expUsers, users) } func testUserSelectWithLimitAndOffset(t *testing.T, m sqlmock.Sqlmock, db *gorm.DB) { expUsers := getTestUsers(2) req := "SELECT * FROM `users` WHERE `users`.`deleted_at` IS NULL LIMIT 1 OFFSET 1" m.ExpectQuery(fixedFullRe(req)). WillReturnRows(getRow...
Go
x05,0xa2] s_min_f32 s5, s1, s2 // GFX1150: encoding: [0x01,0x02,0x05,0xa1] s_min_f32 s105, s1, s2 // GFX1150: encoding: [0x01,0x02,0x69,0xa1] s_min_f32 s5, s105, s2 // GFX1150: encoding: [0x69,0x02,0x05,0xa1] s_min_f32 s5, s103, s2 // GFX1150: encoding: [0x67,0x02,0x05,0xa1] s_min_f32 s5, vcc_lo, s2 // GFX1150: en...
Assembly
<td></td> </tr> <tr id='l-edit-polyverticesedit-updatemarkers'> <td><code><b>updateMarkers</b>()</nobr></code></td> <td><code>void</code></td> <td></td> </tr> </tbody></table> </section> </section><h2 id='l-marker-touch'>L.Marker.Touch</h2><p>This isn&#39;t full Touch support. This is just to get makers to...
HTML
} monster.loot = { {name = "gold coin", chance = 82000, maxCount = 30}, {id = 3093, chance = 90}, -- club ring {name = "halberd", chance = 680}, {name = "short sword", chance = 8000}, {name = "dark helmet", chance = 190}, {name = "plate shield", chance = 2000}, {name = "battle shield", chance = 1600}, {name = ...
Lua
//-------------------------------------------------------------------------------------- // Copyright 2013 Intel Corporation // All Rights Reserved // // Permission is granted to use, copy, distribute and prepare derivative works of this // software for any purpose and without fee, provided, that the above copyright no...
C
enum class MipsSegmentType(val id: Int) { PT_MIPS_REGINFO (0x70000000), // Register usage information PT_MIPS_RTPROC (0x70000001), PT_MIPS_OPTIONS (0x70000002), PT_MIPS_ABIFLAGS (0x70000003); // Records ABI related flags companion object { fun getNameById(id: Int...
Kotlin
: "error", // 【error】禁止出现多个空格【除去配置的例外】 // // http://eslint.cn/docs/rules/no-multi-spaces // // 示范: // var a = 1; // if(foo === "bar") {} // a << b // var someVar = 'foo'; // var someOtherVar = 'barBaz'; // import mod ...
JavaScript
negative variant. // It prefixes the keys with `n` and makes the value negative. @function negativify-map($map) { $result: (); @each $key, $value in $map { @if $key != 0 { $result: map-merge($result, ("n" + $key: (-$value))); } } @return $result; } // Get multiple keys from a sass map @function m...
CSS
<li>독수리 - 4</li> <li>마법사 - 10</li> </ul> <p>사우론의 군대의 점수는 다음과 같다.</p> <ul> <li>오크 - 1</li> <li>인간 - 2</li> <li>워그(늑대) - 2</li> <li>고블린 - 2</li> <li>우럭하이 - 3</li> <li>트롤 - 5</li> <li>마법사 - 10</li> </ul> <p>중간계는 매우 신비한 곳이어서 각 전투의 승리는 날씨, 장소, 용맹에 영향을 받지 않는다. 전투에 참여한 각 종족의 점수를 합한 뒤, 큰 쪽이 이긴다.</p> <p>전투에 참여한 종족...
Markdown
ong len, @NativeType("hwloc_const_cpuset_t") long set, @NativeType("hwloc_membind_policy_t") int policy, int flags) { ByteBuffer p = hwloc_alloc_membind(topology, len, set, policy, flags); if (p != null) { return p; } if (hwloc_set_membind(topology, set, policy, flags) < 0) ...
Kotlin
LoadActor("selector")..{ BeginCommand=function(self) self:xy(-30,12):halign(0) self:playcommand(curIndex == 5 and "GainFocus" or "LoseFocus"); end; GainFocusCommand=cmd(stoptweening;linear,0.1;diffusealpha,1); LoseFocusCommand=cmd(stoptweening;linear,0.1;diffusealpha,0)...
Lua
14/fixed/traits/trait.FixedSigned.html [tfu-1-14]: https://docs.rs/fixed/~1.14/fixed/traits/trait.FixedUnsigned.html [u-1-14]: https://docs.rs/fixed/~1.14/fixed/struct.Unwrapped.html [w-1-14]: https://docs.rs/fixed/~1.14/fixed/struct.Wrapping.html # Version 1.13.1 (2022-03-04) * The [`const_fixed_from_int`][cffi-1-...
Markdown
24-10.7 24-24s-10.7-24-24-24l-144 0z"]},pO=fO,mO={prefix:"fas",iconName:"ruler-vertical",icon:[256,512,[],"f548","M0 48C0 21.5 21.5 0 48 0L208 0c26.5 0 48 21.5 48 48l0 48-80 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l80 0 0 64-80 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l80 0 0 64-80 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l80 0 0 64-80 0...
JavaScript
G4": "ld_fxnljh_35224", "gdVteS2": "ld_fxnljh_35221", "deSoyaD": "ld_mrnoiz_33724", "ay05xyK": "ld_mrnoiz_33716", "PWdcoqa": "ld_usxpit_33582", "SaOf6P3": "ld_fxnljh_35219", "DVbJIn7": "ld_ittpva_36909", "Xz0h3E7": "ld_brhrdz_36798", "cXHtSXi": "ld_ittpva_36904", "jnWtkac": "ld_aymgbe_35174", "O6mYWFT": "ld_vmscbv_3394...
HTML
ANGE_TUPLE_SHAPE("BCE3923", "illegal.function.change.tuple.shape"), INVALID_WAIT_MAPPING_CONSTRUCTORS("BCE3924", "invalid.wait.future.expr.mapping.constructors"), INVALID_WAIT_ACTIONS("BCE3925", "invalid.wait.future.expr.actions"), INVALID_SEND_EXPR("BCE3926", "invalid.send.expr"), DISTINCT_TYPING_ONL...
Java
using Cavern.Format.Common; using Cavernize.Logic.Models; namespace Cavernize.Logic.CommandLine.HiddenCommands; /// <summary> /// Extracts the raw bytes of the track with the given index, regardless if it's supported. /// </summary> sealed class ExtractCommand : UnsafeCommand { /// <inheritdoc/> public over...
C#
); } $('#albumcovers .lib-entry').removeClass('active'); if (UI.libPos[1] == -2 || UI.libPos[1] == -3) { // Lib headers clicked or search performed $('#lib-albumcover').scrollTo(0, 0); UI.libPos[1] = -1; storeLibPos(UI.libPos); } }); // Mute toggle $('.volume-display').on('click', function(e) { ...
JavaScript
ltheiss<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z">...
HTML
# -*- coding: utf-8 -*- import os import base from datetime import datetime singularity_cmd = "singularity" timestamp = datetime.now().strftime(r'%m%s') def set_singularity_login_env(user, password): os.environ.setdefault('SINGULARITY_DOCKER_USERNAME', user) os.environ.setdefault('SINGULARITY_DOCKER_PASSWORD...
Python
// SPDX-License-Identifier: GPL-2.0 /* * PCI-related functions used by the EFI stub on multiple * architectures. * * Copyright 2019 Google, LLC */ #include <linux/efi.h> #include <linux/pci.h> #include <asm/efi.h> #include "efistub.h" void efi_pci_disable_bridge_busmaster(void) { efi_guid_t pci_proto = EFI_PC...
C
# 1071. Greatest Common Divisor of Strings class Solution(object): def gcdOfStrings(self, str1, str2): """ :type str1: str :type str2: str :rtype: str """ if str1 + str2 != str2 + str1: return "" if len(str1) == len(str2): return str1 ...
Python
_02312D48: mov ip, #4 mov r0, r7 mov r1, r6 mov r2, r5 rsb r3, ip, #0xdc0 + TRY_INFLICT_FROZEN_STATUS_OFFSET str ip, [sp] bl ExclusiveItemEffectIsActiveWithLogging cmp r0, #0 ldmneia sp!, {r3, r4, r5, r6, r7, pc} ldrb r0, [r4, #0xc4] add r0, r0, #0xfd and r0, r0, #0xff cmp r0, #1 bhi _02312D88 ldr r0, [...
Assembly
tPicker td span.rdtOld{color:#b8babf;}.amis-scope .rdtPicker td span.rdtDisabled,.amis-scope .rdtPicker td span.rdtDisabled:hover{background:none;color:#b8babf;cursor:not-allowed;}.amis-scope .rdtPicker td span.rdtDisabled > span,.amis-scope .rdtPicker td span.rdtDisabled:hover > span{border-color:#e8e9eb;}.amis-scope ...
CSS
# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) import llnl.util.tty as tty import spack.cmd import spack.cmd.common.arguments as arguments description = 'add a spec to...
Python
e) or ((epoch + 1) % config.train.eval_interval != 0): continue # evaluate model logger.info(f"Start evaluating model at epoch {epoch}.") model.eval() errors = [] for _, batch in enumerate(val_dataloader): with torch.no_grad(), torch.autocast("cuda", dtyp...
Python
BTRefString >& os = *twoOrThreeMismatchSearch_os; BitPairReference* refs = twoOrThreeMismatchSearch_refs; static bool two = twoOrThreeMismatchSearch_two; // Global initialization PatternSourcePerThreadFactory* patsrcFact = createPatsrcFactory(_patsrc, tid, readsPerBatch); HitSinkPerThreadFactory* sin...
C++
#!/usr/bin/env python # pylint: disable=W0212 from agate import utils def distinct(self, key=None): """ Create a new table with only unique rows. :param key: Either the name of a single column to use to identify unique rows, a sequence of such column names, a :class:`function` that takes...
Python
#!/usr/bin/python # # Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
Python
Cg+AAAAANxAnkOWyXJdunuu9JnD6ps5EyOPabwgoy4kYJH3/8KxcK2zkupfNF3QSzwTOwGuCBnqrfh3jyYqHfmfelRSssh6Ni6TM/9ik+eWULBcNYdJhQXJ/xNSse3VmHdKsnqDBcfh+uf+AKJ/lOjTbh/mHADZ64dh4tgLJq1Oj8luU1gnTs/HdDmn0X5f+frp9Pl64S+MU8XIbAqB+wKe/hccQg+M2bDp9+P/9z4ibcLujycxPkLo6nFfl+nByaShoFYvX+5057t/jqkS03DnOf4/ZKqlt2bW40MxrTQIDQUA) format("woff2")...
CSS
" unred="">波符「幻之月(Invisible Half Moon)」</a> &#8226; <a href="./疯狂的梦.md" title="疯狂的梦" unred="">狂梦「疯狂的梦(Dream World)」</a></div></td></tr><tr><td></td></tr><tr><td class="navbox-group" style=";;"><div><a href="./东方绀珠传.md" title="东方绀珠传">东方绀珠传</a></div></td><td style=";;" class="navbox-list navbox-even"><div><a href="./障壁波动...
Markdown
"ok", 3, "three", "", "", "", 4, "four", "", "", "" -- </join4-1.2> }) test:do_test( "join4-1.3", function() test:execsql [[ create index i2 on t2(z); ]] return test:execsql [[ select * from t1 left outer join t2 on t1.a=t2.x where t2.z='ok' ...
Lua
t.prototype = { constructor: jQuery.Event, isDefaultPrevented: returnFalse, isPropagationStopped: returnFalse, isImmediatePropagationStopped: returnFalse, isSimulated: false, preventDefault: function() { var e = this.originalEvent; this.isDefaultPrevented = returnTrue; if ( e && !this.isSimul...
JavaScript
>Network providers announce IP address space that they are responsible for to other networks, enabling the routing of traffic to and from those IP addresses. When these announcements are withdrawn, the resources in that address space, whether clients or servers, can no longer reach, or are no longer reachable from, the...
HTML
label = desc, }) end form:MakeCheckBox({ label = name, default = data.default, serverConvar = convarName, }) elseif data.typ == "number" or data.typ == "float" then if data.b_desc t...
Lua
beql 15759 <__swhatbuf+0x79> 1572a: d0 50 68 movl r0,(r8) 1572d: d0 ad e4 50 movl 0xffffffe4(fp),r0 15731: 13 d8 beql 1570b <__swhatbuf+0x2b> 15733: d0 50 67 movl r0,(r7) 15736: d0 50 a6 4c movl r0,0x4c(r6) 1573a: d1 51 8f 00 cmpl r1,$0x00008000 1573e: 80 00 00 15741: 13 06 ...
Assembly
ki3lmNojrzvD0tjo6E3vPYP6E2BMIAeJxjYGRgYADiY8t3FsTz23xl4GbYzIAB/v9nWM6wBcjgYGAC8QH+QQhZAAB4nGNgZGBg2MzAACeXMzAyoAJeADPyAh14nGNgAILNpGEA0fgIZQAAAAAAAAA2AHIAvgE+AZgCCAKMAv4DlgPsBEYEoHicY2BkYGDgZchi4GQAASYg5gJCBob/YD4DABTSAZcAeJx9kU1uwjAQhV/4qwpqhdSqi67cTTeVEmBXDgBbhBD7AHYISuLUMSD2PUdP0HNwjp6i676k3qQS9Ujjb968mYUNoI8zPJTHw0...
CSS
.htm" title="AddCategoryData 属性" tocid="Properties_T_Senparc_Weixin_Open_WxOpenAPIs_AddCategoryJson_AddCategoryData">AddCategoryData 属性</a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="../html/Methods_T_Senparc_Weixin_Open_WxOpenAPIs_AddCategoryJson_AddCategoryData.htm" title="AddCa...
HTML
fo" L.SUGGESTED_LEVEL = "Suggested level" L.TYPE = "Type" -- as in type of a quest; elite, ... L.GOTO_INFO = "Coordinates info" L.QUEST_ACCEPT_POS = "Started by" L.QUEST_COMPLETE_POS = "Completed with" L.QUEST_TURNIN_POS = "Turned in at" L.AT = "at" -- as in npc xyz at (12,34) L.MORE_POSITIONS = "more positions" L.ERRO...
Lua
1F 00 00 */ cmpwi r31, 0 /* 803E0680 003DC2E0 41 82 06 14 */ beq lbl_803E0C94 /* 803E0684 003DC2E4 40 80 00 18 */ bge lbl_803E069C /* 803E0688 003DC2E8 48 00 06 0C */ b lbl_803E0C94 lbl_803E068C: /* 803E068C 003DC2EC 2C 1F 00 04 */ cmpwi r31, 4 /* 803E0690 003DC2F0 40 80 06 04 */ bge lbl_803E0C94 /* 803E0694 003D...
Assembly
] = pleS.m_PleOp->m_RuntimeParams.at("pad_before"); result.SCRATCH[7] = pleS.m_PleOp->m_RuntimeParams.at("pooling_size"); } else if (pleS.m_PleOp->m_Op == PleOperation::MULTIPLICATION) { // We encode the stripe size with 16 bits // The stripe size should be smaller than this to fit i...
C++
**Image Support**: JPG, PNG, GIF, SVG, WebP, BMP, TIFF\n" # "- 📄 **Documents**: PDF, DOC, DOCX, XLS, XLSX, PPT, PPTX, TXT\n" # "- 🎥 **Media**: MP4, AVI, MOV, MP3, WAV, FLAC, etc.\n" # "- 🤖 **Smart AI**: I understand context and generate appropriate content\n" # ...
Python
dpl-frs:ExpenseTypeDimension">dpl-frs:DistributionCosts</xbrldi:explicitMember> <xbrldi:explicitMember dimension="dpl-frs:DetailedAnalysisDimension">dpl-frs:Item5</xbrldi:explicitMember> </xbrli:segment> </xbrli:entity> <xbrli:period> <xbrli:startDate>2015-09-01</xbrli:startDate> <xbrli:endDate>2016-08-31</xbrli:endDat...
HTML
does not have the fix for LWG 3656 applied. int mantissa_width = static_cast<int>(bit_width(mantissa)); const int shift = NormalizedShiftSize<FloatType>(mantissa_width, exponent); bool result_exact; exponent += shift; mantissa = ShiftRightAndRound(mantissa, shift, /* input exa...
C++
versale ', ), Emoji( '♻️', 'raccolta differenziata | riciclaggio | riciclare | riciclo | simbolo | simbolo del riciclaggio ', ), Emoji( '🔱', 'ancora | barca | dio del mare | favola | fiaba | mare | marino | naufragio | nave | oceano | poseidone | simbolo | tridente', ), ...
Dart
-color: #85a9ff; --phoenix-badge-border-color: rgba( var(--phoenix-primary-rgb), 0.2 ) } .dark .badge-phoenix-primary:not(.light)[href]:hover,.dark .badge-phoenix-primary:not(.light)[href]:focus { color: #003cc7 } .dark .badge-phoenix-success:not(.light) { --phoenix-badge-bg: rgba(var(--phoenix-success-rgb), 0.08)...
CSS
nce|NOCACHE| C A Time to Reflect|QID|43323^43461|CHAT|QG|The Historian|N|Chat with the Historian to get your question. The question will change each time you chat with him, but we have a cheat sheet.| ; New as of 11.0.5 C A Time to Reflect|QID|43323^43461|NC|QO|1|QG|the first deathknight to be made on Azeroth|N|Teron ...
Lua
1(monster)) == 7930699090847568257LL); assert(ns(Monster_testhashs32_fnv1a(monster)) == -1904106383L); assert(ns(Monster_testhashu32_fnv1a(monster)) == 2390860913L); assert(ns(Monster_testhashs64_fnv1a(monster)) == 4898026182817603057LL); assert(ns(Monster_testhashu64_fnv1a(monster)) == 4898026182817...
C
/* * Copyright (c) 2011 Apple, Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compli...
C
t: "target2", Vulnerabilities: []trivy.DetectedVulnerability{ { VulnerabilityID: "CVE-0000-0003", PkgName: "pkg3", Vulnerability: trivy.Vulnerability{ Title: "Vuln title3", }, }, }, }, } body, err := usecase.RenderScanReport(&report, added, fixed) gt.NoError(t, err)...
Go
/types" ) type failureType struct { source string action string } type peerStatus struct { id types.ID mu sync.Mutex // protect variables below active bool since time.Time } func newPeerStatus(id types.ID) *peerStatus { return &peerStatus{ id: id, } } func (s *peerStatus) activate() { s.mu.Lock(...
Go
e(buf)?; self.inception.compose(buf)?; self.key_tag.compose(buf)?; self.signer_name.compose_canonical(buf)?; buf.append_slice(self.signature.as_ref()) }) } } //--- Scan and Display #[cfg(feature = "master")] impl Scan for Rrsig<Bytes, Dname<Bytes>> { fn ...
Rust
5l-3.88 3.88a1 1 0 1 0 1.42 1.42l3.88-3.89a4.49 4.49 0 0 0 0-6.33ZM8.83 15.17a1 1 0 0 0 1.1.22 1 1 0 0 0 .32-.22l4.92-4.92a1 1 0 0 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42Z"></path> </svg> </a> </div> <p>Beyond our projects, we had tons of fun getting to meet other Cloudflarians and experience the vibrant Cloudfl...
HTML
ToJson: false) _$$InningModelImplCopyWith<_$InningModelImpl> get copyWith => throw _privateConstructorUsedError; } // ignore_for_file: non_constant_identifier_names import "package:collection/collection.dart"; import 'package:cloud_firestore/cloud_firestore.dart'; import '../../converter/timestamp_json_convert...
Dart
val&0x01)==0: i = i+1 val >>= 1 return i print ','.join([ str(ntz(i)) for i in range(256) ]) ***/ /** table of number of trailing zeros in a byte */ public static final byte[] ntzTable = {8,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,...
Java
on': 'my-auth-token' }) }; // Default url for users'table // Pour la voir rajouter.json const defaultUserUrl = 'https://ecantine-41bcc.firebaseio.com/menuArticles'; @Injectable({ providedIn: 'root' }) export class MenuArticleService { private readonly menuArticlesSubject: BehaviorSubject<MenuArticle[]> = new B...
Typescript
n-2x); } yt-themed-image-renderer[bottom-margin=CARD_ITEM_UX_SPACE_2],.yt-themed-image-renderer[bottom-margin=CARD_ITEM_UX_SPACE_2] { margin-bottom: var(--ytd-margin-2x); } yt-themed-image-renderer[left-margin=CARD_ITEM_UX_SPACE_2],.yt-themed-image-renderer[left-margin=CARD_ITEM_UX_SPACE_2] { margin-left: var(--y...
CSS
= (17 - headroom_x) + (17 - headroom_y) + width_shift + 1; int exp_tmp = ((17 - headroom_y) << 1) + width_shift + 1; /* Add 0.01 to "ener". Adjust exponents */ FIXP_DBL point_zero_one = (FIXP_DBL)0x51eb851f; /* In Q-6.37 */ int diff; ener = fAddNorm(ener, exp_ener, point_zero_one, -6, &e...
C++
difier.padding(horizontal = 16.dp, vertical = 8.dp) ) Row(modifier = Modifier.padding(horizontal = 16.dp)) { Button(onClick = { viewModel.loadPersonalDetails() }, modifier = Modifier.padding(vertical = 8.dp)) { Text("Load data") } Spacer(modifier = Mo...
Kotlin
le Content final Uint8List? previewBytes = attachedFileBytes ?? attachedImageBytes; if (previewBytes == null) return const SizedBox.shrink(); // Check if the attached file is an image or audio file. final bool isImage = attachedMime != null && attachedMime!.startsWith('image/'); final bool ...
Dart
nRomInfo, manhatanRomName, NULL, NULL, JailbrekInputInfo, JailbrekDIPInfo, DrvInit, DrvExit, DrvFrame, DrvDraw, DrvScan, &DrvRecalc, 0x200, 240, 224, 4, 3 }; // Jail Break (bootleg) static struct BurnRomInfo jailbrekbRomDesc[] = { { "1.k6", 0x8000, 0xdf0e8fc7, 1 | BRF_PRG | BRF_ESS }, // 0 M6809 Code { "3.h6",...
C++
"85"},"mode":"file"},"image":false,"isCodeownersFile":null,"isPlain":false,"isValidLegacyIssueTemplate":false,"issueTemplate":null,"discussionTemplate":null,"language":"Markdown","languageID":222,"large":false,"planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/mikegc-aws/amazon-bedro...
HTML
r_old.transpose() * z_old; h = z + b * h; } if (!run_in_parallel_do_not_report_non_convergence) { Log::REDebug("Conjugate gradient algorithm has not converged after the maximal number of iterations (%i). " "This could happen if the initial learning rate is too large in a line search phase. Otherwise you ...
C++
ployeeBusinessRules; public UpdateEmployeeCommandHandler( IMapper mapper, IEmployeeRepository employeeRepository, EmployeeBusinessRules employeeBusinessRules ) { _mapper = mapper; _employeeRepository = employeeRepository; _...
C#
from typing import Union, List, Optional from omegaconf import DictConfig import hydra from torch.utils.data import DataLoader import pytorch_lightning as pl class ConsecDataModule(pl.LightningDataModule): def __init__(self, conf: DictConfig): super().__init__() self.conf = conf self.tr...
Python
ues here so that the initializeVDL // method will be considered ready to initialize before any of the type // definitions that appear below. // //nolint:unused var ( vdlTypeStruct1 *vdl.Type = nil vdlTypeStruct2 *vdl.Type = nil ) // Type definitions // ================ // PeerKey is a key that represents a connectio...
Go
ResponsesDir: String, aggregationsResponsesDir: String, ): Pair<List<BlobRecord>, List<Aggregation>> { val aggregations = loadAggregations(aggregationsResponsesDir) val firstAggregationBlockTime = aggregations.first().let { agg -> agg.aggregationProof!!.finalTimestamp .minus(LINEA_BLOCK_INTERVAL.times((...
Kotlin
mbeddedStruct(t *testing.T) { tests := []struct { src embeddingStruct dst embeddingStruct expected embeddingStruct }{ { src: embeddingStruct{ embeddedStruct{"foo"}, }, dst: embeddingStruct{ embeddedStruct{""}, }, expected: embeddingStruct{ embeddedStruct{"foo"}, }, },...
Go
hildren(); } mConstrainSize = PR_FALSE; } // XHTML needs some special attention if (aNodeInfo->NamespaceEquals(kNameSpaceID_XHTML)) { mPrettyPrintHasFactoredElements = PR_TRUE; } else { // If we care, find out if we just used a special factory. if (!mPrettyPrintHasFactoredElements && !mPr...
C++
<!-- React App Root --> <div id="root"></div> <!-- Main Application Script --> <script type="module" src="/src/main.tsx"></script> <!-- Loading Screen Management --> <script> // Hide loading screen when app is ready window.addEventListener('load', () => { setTimeo...
HTML
channel.getGbDeviceId(), ssrcInfo.getPort(), ssrcInfo.getSsrc()); // 点播超时回复BYE 同时释放ssrc以及此次点播的资源 try { commanderForPlatform.streamByeCmd(platform, channel, ssrcInfo.getApp(), ssrcInfo.getStream(), null, null); } catch (InvalidArgumentException | Parse...
Java
(context, attrs) {} private var clickUi: ClickUi? = null var isAtList = false set(value) { field = value if (field) bottomContainer.visibility = GONE } companion object { @JvmStatic fun getPlayer() : OkPlayer?{ return CURRENT_JZVD ...
Kotlin
/* Compile unit: C:\rockband2\system\src\synth\RateTables.h Producer: MW EABI PPC C-Compiler Language: C++ Code range: 0x8056938C -> 0x80569830 */ // Range: 0x8056938C -> 0x80569408 void Ps2ADSR::SetAttackRate(class Ps2ADSR * const this /* r30 */, unsigned int rate /* r31 */) { // References // ...
C
ameter [fieldName] : /// The new field name. /// /// Parameter [typeName] : /// The new type name. /// /// Parameter [cachingConfig] : /// The caching configuration for the resolver. /// /// Parameter [code] : /// The <code>resolver</code> code that contains the request and response /// functions....
Dart
]) to, _ := strconv.Atoi(m[2]) if from < to { return makeSelection([][]int{{from, to}}) } } return nil } // Span tags for all the possible selection combinations that may // be generated by FormatText. Selections are indicated by a bitset, // and the value of the bitset specifies the tag to be used. // // b...
Go
.text(progressDict[progressIndex]["passPercent"]+"%"); $("#progressData_"+progressIndex).css("width",progressDict[progressIndex]["passPercent"]+"%"); } if(updateProgressDataJson["code"] === 11000){ setTimeout("initContractExecuteRes...
HTML
sz#;tile=14;ord=13697586" border="0" alt=""/></a></noscript> <script type="text/javascript"> g_arrAds.push('336showcase'); </script> </div> <!-- blx4 #426blox4.video --> <style> .home-video, a.video-index-link { color: #AC1F2B; } .home-video { background: #e8e8e8; margin-bottom: 30px; overflow: hidd...
HTML
true | NULL | | {primary} | false c | BOOL | true | NULL | | {primary} | false (3 rows) ~~~ {% include_cached copy-clipboard.html %} ~~~ sql > INSERT INTO bool VALUES (12345, true, CAST(0 AS BOOL)); ~~~ {% include_cached c...
Markdown
.charset.Charset /** * 은전한닢의 CompressedMorpheme 클래스가 Scala 2.12 이외의 환경에서 Serialization 이슈가 있어, * 이를 제거하기 위해 별도로 구성된 클래스입니다. 이 클래스는 [org.bitbucket.eunjeon.seunjeon.CompressedMorpheme]과 기본 구성이 같되, * Kotlin으로 재작성되었고, WrappedArray를 ObjectOutputStream에 dump하지 않고, Array로 변환하여 Dump하는 차이가 있습니다. * 내부 Method에 대한 상세한 설명은 SE...
Kotlin
ptr [[TMP2]], ptr [[TMP1]], align 8 // CHECK1-NEXT: call void @"_ZZ4mainENK3$_0clEv"(ptr noundef nonnull align 8 dereferenceable(16) [[REF_TMP]]) // CHECK1-NEXT: ret i32 0 // // // CHECK1-LABEL: define {{[^@]+}}@{{__omp_offloading_[0-9a-z]+_[0-9a-z]+}}_main_l66 // CHECK1-SAME: (i64 noundef [[G:%.*]], i64 noundef...
C++
ite_EfxIvald2_40, 4 ANIMSCR_FORCE_SPRITE AnimSprite_EfxIvald2_41, 4 ANIMSCR_FORCE_SPRITE AnimSprite_EfxIvald2_42, 4 ANIMSCR_FORCE_SPRITE AnimSprite_EfxIvald2_43, 4 ANIMSCR_FORCE_SPRITE AnimSprite_EfxIvald2_44, 4 ANIMSCR_FORCE_SPRITE AnimSprite_EfxIvald2_45, 4 ANIMSCR_FORCE_SPRITE AnimSprite_EfxI...
Assembly
/* * Unix SMB/CIFS implementation. * RPC Pipe client / server routines * Copyright (C) Guenther Deschner 2008. * * 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; eit...
C
pleType, // fix64 type ID (22) 0x16, // 1200000300 0x1a, 0x47, 0x86, 0x8d, 0x2c, }, }, { name: "12.0000003", expected: cadence.Fix64(12_00000030), encodedData: []byte{ // language=json, format=json-cdc // {"type": "Fix64", "value": "12.0000003"} // // language=edn, fo...
Go
.o_calendar_renderer .fc-view .o_calendar_color_15{--o-event-bg: #F7CD1F; --o-event-bg--subtle-rgb: 251, 233, 154;}.o_calendar_renderer .fc-view .o_calendar_color_15.fc-bgevent, .o_calendar_renderer .fc-view .o_calendar_color_15:not(.o_event_dot) .fc-bg{background-color: #fbe99a;}.o_calendar_renderer .fc-view .o_calend...
CSS
。</p> </div></emu-note> </emu-clause> <emu-clause id="sec-object.prototype.isprototypeof"> <h1><span class="secnum">20.1.3.3</span> Object.prototype.isPrototypeOf ( <var>V</var> )</h1> <p>このメソッドは呼び出されたとき次を行う:</p> <emu-alg><ol><li id="step-isprototypeof-check-object"><var>V</...
HTML
n\":\"Deleting a set of credentials permanently to prevent them from being used to authenticate.\",\"d3f:ref-count\":{\"@type\":\"http://www.w3.org/2001/XMLSchema#integer\",\"@value\":\"1\"},\"rdfs:label\":\"Credential Revocation\"}],\"d3f:d3fend-id\":\"D3-CE\",\"d3f:definition\":\"Credential Eviction techniques disabl...
HTML
9cIlxuZGlyIDwtIFwiL2hvbWUvdWJ1bnR1L3NjZWxsX2x1bmdfYWRlbm9jYXJjaW5vbWEvXCJcbmxvYWQoZmlsZT1wYXN0ZShkaXIsXCJEYXRhX2lucHV0L29iamVjdHMvUzAzX05vbmltbXVuZV9TZXVyYXRfb2JqZWN0LlJEYXRhXCIsIHNlcD1cIlwiKSlcbmBgYCJ9 --> <pre class="r"><code>rm(list=ls()) # dir &lt;- &quot;/myVolume/scell_lung_adenocarcinoma/&quot; dir &lt;- &quot;/...
HTML
} // 녹음 중지 함수 Future<void> stopRecording() async { try { String? path = await audioRecord.stop(); setState(() { isRecording = false; audioPath = path!; }); } catch (e) { print('Error Stopping record: $e'); } } // 음성 파일 업로드 및 변환 함수 Future<void> audiouploa...
Dart
utter-deletedBackground: #e51400;--vscode-editorOverviewRuler-modifiedForeground: rgba(32, 144, 211, .6);--vscode-editorOverviewRuler-addedForeground: rgba(72, 152, 93, .6);--vscode-editorOverviewRuler-deletedForeground: rgba(229, 20, 0, .6);--vscode-debugIcon-breakpointForeground: #e51400;--vscode-debugIcon-breakpoint...
HTML
Extensions.lookup< jni$_.NativeFunction< jni$_.JThrowablePtr Function( jni$_.Pointer<jni$_.Void>, jni$_.JMethodIDPtr, jni$_.VarArgs< (jni$_.Pointer<jni$_.Void>, jni$_.Int32, jni$_.Int32) >, ) ...
Dart
KPrDaqnMvlQnjTzhy0Nlw0d5oI5p3yN62amrk+ve5B5+hXgb47WGX52+V3NgoFOvQKAGUkkTqcbZy5XC7XHYf4zEFr3aXU7jih5uidPPOtvsmzixZr8VMrHjBHddLsHj+Z9Fb/n9a1+T/JDaXey0IpEzEKkHnU8Jj79++PeEwSSimQRGP+Gz8j5DVFBVKQtjBj6JGlNt/D8Y+OpMdlTphiEqcB4tqtsVjfjUtLLkx0J/dOnjWPTg+lEARIEHwaQJVQIYggACC/qxi6rn8ZHL4XETSsf0MU1HOk/CFGYgAwskUqY5eBitRxzn7/a0V1EE...
HTML
Squid Proxy Manager") parser.add_argument('hostname', help="IP address of the Squid proxy server") parser.add_argument('port', type=int, help="Port number for SSH connection") parser.add_argument('username', help="SSH username") parser.add_argument('password', help="SSH password") parser.add_argumen...
Python
engHei","微軟正黑體","Heiti SC","黑体-简",SimHei,"黑体","Heiti SC","黑体-简",SimHei,"黑体",sans-serif,"color-emoji";--v-f-fm-stt-albb:-apple-system,Roboto,"SF Pro Text","SF Pro Display","PingFang SC","PingFang TC","PingFang HK","Segoe UI",SegoeUI,"Microsoft YaHei","微软雅黑","Heiti SC","黑体-简",SimHei,"黑体","Microsoft JhengHei","微軟正黑體","Hei...
CSS
he // Administrator of the National Aeronautics and Space Administration. // All Other 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/license...
C++