content
stringlengths
2
6.21k
label
stringclasses
16 values
ação Orientada a Objetos ### Dias 43-49: OOP Básica - Dia 43: Classes e objetos - Dia 44: Métodos e atributos - Dia 45: Construtores - Dia 46: Herança - Dia 47: Encapsulamento - Dia 48: Polimorfismo - Dia 49: Mini-projeto OOP ### Dias 50-56: OOP Avançada - Dia 50: Métodos estáticos e de classe - Dia 51: Property decor...
Markdown
= 0, optedOutAtRound = null ) val EXPECTED_ENTITY = AssetHoldingEntity( algoAddress = ADDRESS, assetId = 1, amount = BigInteger.TEN, isFrozen = false, isDeleted = false, optedInAtRound = 0, optedOutAtRound =...
Kotlin
) { this.monthTx.text = "0" + this.monthDataArr[i]; } else { this.monthTx.text = this.monthDataArr[i] + ""; } this.monthTxArr[i].touchEnabled = true; this.monthTxArr[i].addEventListener(egret.TouchEvent.TOUCH_TAP, this.onTouchMonthItem, this); } for (var i = 0; i < this.dayDataArr.lengt...
Typescript
./../../../Images/ProductionPipelines/DevelopmentSetup/BuildingUnrealEngine/RunGenPrjFilesShellScript_Linux.jpg"> <img class=" lazyload" alt="RunGenPrjFilesShellScript_Linux.png" data-src="../../../../Images/ProductionPipelines/DevelopmentSetup/BuildingUnrealEngine/RunGenPrjFilesShellScript_Linux.jpg" /> </picture> ...
HTML
b0\u534e\u793e\u300a\u5185\u90e8\u53c2\u8003\u300b\u3002", "type": "paragraph"}, {"text": "\u6765\u6e90\uff1a", "type": "source"}, {"text": "\u7f8e\u56fd\u56fe\u4e66\u9986\u6536\u85cf", "type": "paragraph"}]} </script> <p> <a href="index.htm"> [返回索引页面] </a> </p> <h1> 昆明市郊修建水库农民义务劳动过重 </h1> <p> ...
HTML
%6.3f', top1Err, top5Err)) return end local startEpoch = checkpoint and checkpoint.epoch + 1 or opt.epochNumber local bestTop1 = math.huge local bestTop5 = math.huge for epoch = startEpoch, opt.nEpochs do if epoch == 20 or epoch == '20' then -- local modelPath = paths.concat(opt.save, checkpoints.modelFil...
Lua
ർഗിസ്ലാറ്റിൻലക്\u200cസംബർഗിഷ്ഗാണ്ടലിംബർഗിഷ്ലിംഗാല" + "ലാവോലിത്വാനിയൻലുബ-കറ്റംഗലാറ്റ്വിയൻമലഗാസിമാർഷല്ലീസ്മവോറിമാസിഡോണിയൻമലയാള" + "ംമംഗോളിയൻമറാത്തിമലെയ്മാൾട്ടീസ്ബർമീസ്നൗറുനോർത്ത് ഡെബിൾനേപ്പാളിഡോങ്കഡച്ച" + "്നോർവീജിയൻ നൈനോർക്\u200cസ്നോർവീജിയൻ ബുക്\u200cമൽദക്ഷിണ നെഡിബിൾനവാജോന്യ" + "ൻജഓക്\u200cസിറ്റൻഓജിബ്വാഒറോമോഒഡിയഒസ്സ...
Go
// Copyright (c) 2017-2019, The Monero Project // // 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 /...
C
sults for (int i = 0; i < 3; i++) { for (int j = 0; j < 3; j++) { assertEquals(resultJava[i][j], mulResult.getDouble(i, j)); } } // Test divColumnVector INDArray divResult = matrix.divColumnVector(columnVector); // Compute expected result ...
Java
assertNotNull(filters); assertEquals(2, filters.length); EntitySearchFilter entitySearchFilter = filters[0]; assertNotNull(entitySearchFilter); assertEquals("Titolo", entitySearchFilter.getKey()); assertEquals("START", entitySearchFilter.getStart()); assertEquals("END", entitySearchFilter.getEnd()); as...
Java
")] pub monday: bool, #[serde(deserialize_with = "deserialize_dow_field")] pub tuesday: bool, #[serde(deserialize_with = "deserialize_dow_field")] pub wednesday: bool, #[serde(deserialize_with = "deserialize_dow_field")] pub thursday: bool, #[serde(deserialize_with = "deserialize_dow_fie...
Rust
efraser</w>\nja hi</w>\niron heart</w>\nirn bru</w>\ning li\nhu gill</w>\nher st\nhell sing</w>\ngrosven or\ngroo ved</w>\ngro za</w>\ngood governance</w>\nglock ner</w>\ngl b</w>\nfore shadowed</w>\nfor the</w>\nfi do\ney am</w>\never rrrr</w>\neri kal\nembelli shing</w>\ndurham birdclub</w>\ndu i\ndu blins</w>\ndrak...
JavaScript
#include "asm.h" #include "regdef.h" #include "inst_test.h" LEAF(n62_invtlb_0x0_test) addi.w s0, s0, 0x1 addi.w s2, zero, 0x0 csrrd t5, csr_tlbehi csrrd t6, csr_tlbelo0 csrrd t7, csr_tlbelo1 csrrd t8, csr_tlbidx li.w t0, 0x80000000 or t8, t8, t0 srli.w t8, t8, TLB_I...
Assembly
EXPECT_NEAR(0.5185185, dcm[2][0], accuracy); EXPECT_NEAR(-0.696296, dcm[2][1], accuracy); EXPECT_NEAR(0.4962963, dcm[2][2], accuracy); // Inverse Conversion s2e::math::Quaternion q_from_dcm = s2e::math::Quaternion::ConvertFromDcm(dcm); for (size_t i = 0; i < 4; i++) { EXPECT_NEAR(q[i], q_from_dcm[i], ...
C++
for(int i = 0; i < cache.length; ++i) { cache[i] = new ByteTag((byte)(i - 128)); } } } }package net.minecraft.advancements; import com.google.common.collect.Lists; import java.util.List; import javax.annotation.Nullable; public class TreeNodePosition { private final Advancement advan...
Java
using MoreCollection.Extensions; using Neutronium.Core.Binding.GlueObject; using Neutronium.Core.Infra.Reflection; using Neutronium.Core.WebBrowserEngine.JavascriptObject; using System.Collections.Generic; using System.Linq; namespace Neutronium.Core.Binding.Builder { internal class JavascriptObjectBulkBuilder ...
C#
.End() } func TestTry_string(t *testing.T) { Try(func() { panic("try") }).Catch(func(n string) { assert.Equal(t, "try", n) }).End() } func TestTry_pointer(t *testing.T) { Try(func() { panic(&struct{}{}) }).Catch(func(n struct{}) { assert.Equal(t, struct{}{}, n) }).End() // also catch pointer type ...
Go
profiles = null,Object? currentProfileId = freezed,Object? columns = null,}) { return _then(_ProfilesSelectorState( profiles: null == profiles ? _self._profiles : profiles // ignore: cast_nullable_to_non_nullable as List<Profile>,currentProfileId: freezed == currentProfileId ? _self.currentProfileId : currentProfileI...
Dart
mi) } return ms } return mi.MessageOf(x) } func (x *StopVirtualMachineRequest) GetScopeUuid() string { if x != nil { if x.xxx_hidden_ScopeUuid != nil { return *x.xxx_hidden_ScopeUuid } return "" } return "" } func (x *StopVirtualMachineRequest) GetFacilityName() string { if x != nil { if x.xxx_hi...
Go
"embeds should be the same as plugins"); }, "One plugin"); test(function() { var embed1 = document.createElement("embed"), embed2 = document.createElement("embed"); document.body.appendChild(embed2); this.add_cleanup(function() { document.body.removeChild(embed2) }); document.body.insert...
HTML
3Dae62751ed10a3d0ed079b1450b17d81d%26chksm%3D9728adeaa05f24fc48067318690066dfa9c1105024bbe1e4fb48c753b4dd653f5a64cedd8062%26scene%3D21%23wechat_redirect&quot; class=&quot; wrap external&quot; target=&quot;_blank&quot; rel=&quot;nofollow noreferrer&quot;&gt;自然语言处理课程(三):TF-IDF的分词原理及案例分析&lt;/a&gt;”中,我们对TF-ITF(term frequen...
HTML
x: this.x, y: this.y, }) public set = (x: number, y: number): void => { this.x = x; this.y = y; } public setX = (x: number): void => { this.x = x; } public setY = (y: number): void => { this.y = y; } } export default Point2D; import Validator from 'validator' import isEmpty from './...
Typescript
dStatus.Split; bj.HandInfo[nexthand].bet = bet; bj.totalhands++; bj.HandInfo[nexthand].totalcards = 1; bj.activehand = nexthand; return bj; } public void ProcessInsurance(Mobile from, int choice) { m_BJInfo.askInsurance = false; m_BJInfo.insured = false; string message = "Dealer doesn't h...
C#
from django.contrib.auth.tokens import PasswordResetTokenGenerator class AccountDeleteTokenGenerator(PasswordResetTokenGenerator): def _make_hash_value(self, user, timestamp): # Override this method to remove the user `last_login` value from the hash. # As this token is used for deleting the user,...
Python
*/ setCustomValidity(message: string) { this.input.setCustomValidity(message); this.formControlController.updateValidity(); } render() { const hasLabelSlot = this.hasSlotController.test('label'); const hasHelpTextSlot = this.hasSlotController.test('help-text'); const hasLabel = this.label ? ...
Typescript
H.aC(new H.aD()) m.slB(!1) m.sck(0,C.br) l=new H.aC(new H.aD()) l.slB(!0) l.sck(0,C.as) l.sbZ(10) k=new H.aC(new H.aD()) k.slB(!0) k.sck(0,C.as) k.sbZ(0.1) j=[n,m,l,k] for(i=0;i<4;++i){a.bS(0) for(h=0;h<4;++h){g=j[h] a.cV(o[i],g) a.ab(0,0,0)}a.bR(0) a.ab(0,0,0)}a.bS(0) a.ho(c,C.u,10,!0) a.ab(0,0,0) a.ho(c,C.u,10,!1) a...
JavaScript
; arrayIndex < cntX16; arrayIndex++) { arrayX16.Add(BitConverter.ToUInt16(payload, index)); index += 2; } value[0] = arrayX16; break; case DataType.UNSIGNED_8_BIT_INTEGER_ARRA...
C#
ttps://thewoksoflife.com/wp-content/uploads/2015/09/fried-wontons-1-110x73.jpg 110w" sizes="(min-width: 1200px) 750px, (min-width: 1024px) 650px, (min-width: 768px) calc(100vw - 40px), calc(100vw - 20px)" /></noscript></p> <p>To make the wontons, take a <a href="https://thewoksoflife.com/chinese-noodles-wrappers/#wonto...
HTML
ntainer:has(.lh-sticky-header) {\n --sticky-header-buffer: calc(var(--topbar-height) + var(--sticky-header-height));\n}\n\n.lh-container:not(.lh-topbar + .lh-container) {\n --topbar-height: 0;\n --sticky-header-height: 0;\n --sticky-header-buffer: 0;\n}\n\n.lh-max-viewport {\n display: flex;\n flex-direction: col...
HTML
QJsonValue::String: return QString('"').append(value.toString()).append('"'); case QJsonValue::Null: return "null"; case QJsonValue::Array: return QJsonDocument(value.toArray()).toJson(QJsonDocument::Compact); case QJsonValue::Double: return QString::number(value.toDouble()); de...
C++
work argument boxing/result unboxing logic for LF interpretation // t_{i}:L=MethodHandle.invokeBasic(collectArgs:L,a1:L,...); MethodType collectArgsType = basicType.changeReturnType(Object.class); MethodHandle invokeBasic = MethodHandles.basicInvoker(collectArgsType); Object[] args = ne...
Java
tle="東方籠光尊 ~ Dignity of the Silk Road./角色设定">丰聪耳神子</a> &#8226; <a href="./東方籠光尊_~_Dignity_of_the_Silk_Road.-角色设定.md" title="東方籠光尊 ~ Dignity of the Silk Road./角色设定">雾雨魔理沙</a> &#8226; <a href="./東方籠光尊_~_Dignity_of_the_Silk_Road.-角色设定.md" title="東方籠光尊 ~ Dignity of the Silk Road./角色设定">琪露诺</a></div></td></tr><tr><td></td><...
Markdown
rgba(204,0,0,.4);color:#222f3e}.tox .accessibility-issue--error .accessibility-issue__description>:last-child{border-color:rgba(204,0,0,.4)}.tox .accessibility-issue--error h2{color:#c00}.tox .accessibility-issue--error .tox-icon svg{fill:#c00}.tox .accessibility-issue--error a .tox-icon{color:#c00}.tox .accessibility-...
CSS
285] ldr r2, [r1] mov r0, #3 strb r3, [r2, #0x286] ldr r1, [r1] str r3, [r1, #4] bl RandInt mov r4, r0 ldr r0, _02330588 ; =WAN_TABLE ldr r1, _0233058C ; =ov01_0233B104 ldr r0, [r0] mov r2, #0 bl LoadWanTableEntry ldr r1, _02330584 ; =ov01_0233C164 ldr r2, _02330588 ; =WAN_TABLE ldr r3, [r1] ldr r1, _02...
Assembly
to_string(), description: format!("RFD {} {}", rfd.number_string, rfd.title), link: rfd.link, ip: "var.maverick_ip".to_string(), subdomain: subdomain.to_string(), aliases: Default::default(), discussion: rfd.discussion, }; // Add t...
Rust
compressor.MakeGetter() break } } if g2 == nil { panic(fmt.Sprintf("for file: %s, not found corresponding file to merge", g.FileName())) } key, _ := g.NextUncompressed() val, _ := g.NextUncompressed() heap.Push(&cp, &CursorItem{ t: FILE_CURSOR, dg: g, ...
Go
></td></tr> <tr class="separator:gaf3d39e372d825bf54283b5ceafa90057"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:ga93a621202db94665144de38c0b09bdad"><td class="memTemplParams" colspan="2">template&lt;typename Range , typename Body &gt; </td></tr> <tr class="memitem:ga93a621202db94665144de38...
HTML
6 assign LOr(yS, wS) assert(h6) jumpCond(z) jump(4) { assume(w) assert(u) jump(6) { assert(h6) } } jump(5) { assume(...
Kotlin
t)">pfill</A>, <A HREF="../../unlekker/mb2/util/UMB.html#pline(float, float, float, float)">pline</A>, <A HREF="../../unlekker/mb2/util/UMB.html#pline(unlekker.mb2.geo.UVertex)">pline</A>, <A HREF="../../unlekker/mb2/util/UMB.html#pline(unlekker.mb2.geo.UVertex, unlekker.mb2.geo.UVertex)">pline</A>, <A HREF="../../unle...
HTML
> <TD></TD><TD></TD> <TD colspan=1 bgcolor=#FFFFFF><small>constant=0b00000</small></TD></TR> </TABLE> <BR> <TABLE class="scomtable";> <COL width="70"> <COL width="40"> <COL width="40"> <COL width="40"> <COL width="710"> <TR><TH align=center colspan=5 bgcolor=#FFFFFF>Register</TH></TR> <TR><TH bgcolor=#FFFFFF>Addr:<...
HTML
];for(const[i,a]of t.entries()){const t=this._store.getEngineOfType(a.engine);if(t){let r=null;gv.isEventQuery(i)&&vv.isEventQueryResult(a)?r=t.generateMediaFromEvents(e,this._store.getCameras(),i,a):gv.isRecordingQuery(i)&&vv.isRecordingQuery(a)&&(r=t.generateMediaFromRecordings(e,this._store.getCameras(),i,a)),r&&n.p...
JavaScript
local super = require("ui.service.service_base") local SkillService = class("SkillService", super) local skillRed = require("rednode.skill_red") function SkillService:OnInit() self.weaponSkillVm_ = Z.VMMgr.GetVM("weapon_skill") self.weaponData_ = Z.DataMgr.Get("weapon_data") self.professionVm_ = Z.VMMgr.GetVM("p...
Lua
1E474 0001B274 7C 64 1A 14 */ add r3, r4, r3 /* 8001E478 0001B278 88 63 00 02 */ lbz r3, 2(r3) /* 8001E47C 0001B27C 50 60 07 BE */ rlwimi r0, r3, 0, 0x1e, 0x1f /* 8001E480 0001B280 98 1D 00 46 */ stb r0, 0x46(r29) /* 8001E484 0001B284 48 00 06 10 */ b lbl_8001EA94 /* 8001E488 0001B288 88 1D 00 47 */ lbz r0, 0x47(...
Assembly
nil } // ListSceneBySceneSetID . func (svc *Service) ListSceneBySceneSetID(setIDs ...uint64) (scenes []apistructs.AutoTestScene, total int64, err error) { list, total, err := svc.db.ListSceneBySceneSetID(setIDs...) if err != nil { return nil, 0, err } for _, v := range list { // not include ref set if v.Ref...
Go
let py_gn = match gn { GeneralName::OtherName(data) => { let oid = x509_module .call_method1("ObjectIdentifier", (data.type_id.to_string(),))? .to_object(py); x509_module .call_method1("OtherName", (oid, data.value.data()))? ...
Rust
RenderSystem.disableBlend() // cleanup(); } fun drawBoxOutline(box0: Box, color: Color, lineWidth: Float) { var box = box0 setup() val matrices = matrixFrom(box.minX, box.minY, box.minZ) val tessellator = Tessellator.getInstance() val buffer = tessellat...
Kotlin
모달 배경색 흰색으로 변경 */ border-radius: 10px; /* 둥근 모서리 */ padding: 20px; /* 패딩 추가 */ box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2); /* 그림자 추가 */ display: flex; flex-direction: column; justify-content: center; align-items: center; position: fixed; top: 50%; left: 50%; transform: ...
JavaScript
$.table.exportExcel()" shiro:hasPermission="wechat:wechatOrderLogistics:export"> <i class="fa fa-download"></i> 导出 </a> </div> <div class="col-sm-12 select-table table-striped"> <table id="bootstrap-table" data-mobile-responsive="true"></table> </div> </div> </div> <div th:include="includ...
HTML
span class="dispatched"><span class="trigger">' + diagramEventName + '</span> DISPATCHED</span>', true); const fsmEventName = diagramEventName.toUpperCase(); sm.dispatchEvent(PlantEx2.EventId[fsmEventName]); } }); document.getElementById('...
HTML
on name collection_name = f"test_collection_{int(time.time())}" # Step 1: Create a collection collection = create_collection(collection_name) collection_id = collection.get("id") if not collection_id: print("Error: Failed to create collection") sys.exit(1) print(f"...
Python
size: 0.92857143rem; } .ui.small.progress .bar { height: 1em; } .ui.large.progress { font-size: 1.14285714rem; } .ui.large.progress .bar { height: 2.5em; } .ui.big.progress { font-size: 1.28571429rem; } .ui.big.progress .bar { height: 3.5em; } .ui.huge.progress { font-size: 1.42857143rem; } .ui.huge....
CSS
per */ .ui[class*="wide skyscraper"].ad { width: 160px; } /*-------------- Banners ---------------*/ /* Banner */ .ui.banner.ad { width: 468px; height: 60px; } /* Vertical Banner */ .ui[class*="vertical banner"].ad { width: 120px; height: 240px; } /* Top Banner */ .ui[class*="top banner"].ad { wid...
CSS
from utils.video import Stream from utils.args import get_args from utils.movement import hardware_movement_loop import threading import logging args, unknown = get_args() logging.basicConfig(encoding='utf-8', level=logging.DEBUG) target_lock = threading.Lock() # to prevent race conditions dict_payload = {'objects'...
Python
ageData(StorageData("long${j}", j.toString())) } } "float" -> { writeDataOnSQLOnDetail(fileSize, dataSize){j-> storageDataRepository.insertOneStorageData(StorageData("float${j}", j.toString())) } } "Boolean" -> { writeDataOnSQLOnDetail(fileSize, dataSize){j-> storageDataRepository.insert...
Kotlin
, ignoreCase = true)) { // hex representation val uInts = ArrayList<UInt>(length).apply { add(0U) } var offset = 0 fun addDigit(value: UInt) { uInts[uInts.lastIndex] += value shl offset offset += 4 if (offset == 32) { uInts.add(0U) ...
Kotlin
/ Write string data val strList = IntArray(count) for (i in 0 until count) { strList[i] = baos.size() - dataOff val str = strings[i] baos.write(str.length.toShortBytes()) baos.write(str.toByteArray(UTF_16LE)) // Null terminate baos....
Kotlin
LoadListener(): void { setGradient(false); } function randomListener(): void { setGradient(true); } //********* EVENT LISTENERS *************/ color1.addEventListener("input", color1Listener); color2.addEventListener("input", color2Listener); random.addEventListener("click", randomListener) window.addEventLis...
Typescript
, "PrivatePropertyName", "CanBeParameter", "UnusedMainParameter") @OptIn(ExperimentalUnsignedTypes::class) public/*!*/ abstract class AbstractRuntime(val REQUESTED_HEAP_SIZE: Int = 0, val REQUESTED_STACK_PTR: Int = 0, val __syscalls: RuntimeSyscalls = DummyRuntimeSyscalls) : RuntimeSyscalls by __syscalls { val HEAP...
Kotlin
endResetModel(); emit certListUpdated(certList); } bool cipherLessThan(const QSslCipher &s1, const QSslCipher &s2) { if (s1.protocolString() == s2.protocolString()) return s1.name() < s2.name(); else return s1.protocolString() > s2.protocolString(); } const QStringList SSLCipherModel:...
C++
estimate, reports just the magnitude of the cost — the number of digits needed to represent the estimate.</p> ### 입력 <p>Input begins with a line containing an integer N (1 ≤ N ≤ 100). The next N lines each contain one estimated cost, which is an integer between 0 and 10<sup>100</sup>. (Some of the workmen overchar...
Markdown
rror { /// Error when interacting with the sqlite database SqliteError(rusqlite::Error), /// Error convering from a cid to a fixed sized representation. /// This can be caused by hashes with more than 32 bytes of size CidError(libipld::cid::Error), /// Error when converting i64 from sqlite to u6...
Rust
e[1]); metrics[attributeKey] = attributeValue; } return metrics; } /** * @hidden */ export function timeSpanFromMetrics( metrics: { [key: string]: any } /* TODO: any */, key: string ): TimeSpan { if (key in metrics) { return TimeSpan.fromMilliseconds(metrics[key]); } return TimeSpan.zero; } ...
Typescript
IQUE (P_Id)", interceptor.changeTable(sql)); } @Test public void testAlter2() { var sql = "ALTER TABLE table_name MODIFY coluname datatype"; assertEquals("ALTER TABLE table_name_r MODIFY coluname datatype", interceptor.changeTable(sql)); } @Test public void testDrop() { ...
Java
/* * Copyright 2012 The WebRTC Project Authors. All rights reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing ...
C
n: fixed; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; -webkit-transition: all .4s .2s ease-in-out; transition: all .4s .2s ease-in-out; background-color: #1f1b2d; opacity: 0; visibility: hidden; z-index:...
HTML
/* SPDX-FileCopyrightText: 2025 Laurent Montel <montel@kde.org> SPDX-License-Identifier: LGPL-2.0-or-later */ #pragma once #include "autogenerateui/autogenerateinteractionuiviewtext.h" // See ./packages/ui-kit/src/blocks/Option.ts class LIBRUQOLAWIDGETS_TESTS_EXPORT AutoGenerateInteractionUiViewOption : publi...
C
mount_info_eq(actual, &mounts[0])); } #[test] fn test_multiple_matches() { let mounts = [mount_info("/foo"), mount_info("/foo/bar")]; let actual = mount_info_from_path(&mounts, "/foo/bar", false).unwrap(); assert!(mount_info_eq(actual, &mounts[1])); }...
Rust
"""Extended list of emoji to represent taxa""" EMOJI = { # Birds 3: '🐦', 574: '🦃', 879: '🐔', 71261: '🦅', 6888: '🦆', 1199: '🦚', 67569: '🦩', 2708: '🕊️', 6913: '🦢', 67564: '🐧', 19350: '🦉', 18874: '🦜', # Amphibians + reptiles 20978: '🐸', 26036: '...
Python
16, // 75: cln.SendonionResponse.status:type_name -> cln.SendonionResponse.SendonionStatus 567, // 76: cln.SendonionResponse.amount_msat:type_name -> cln.Amount 567, // 77: cln.SendonionResponse.amount_sent_msat:type_name -> cln.Amount 567, // 78: cln.SendonionFirstHop.amount_msat:type_name -> cln.Amount 17, //...
Go
res.cloudinary.com/pictureelement/image/upload/q_auto,f_auto,c_scale,w_150/v1537897119/website-template-3/pasta.jpg" data-srcset=" https://res.cloudinary.com/pictureelement/image/upload/q_auto,f_auto,c_scale,w_150/v1537897119/website-template-3/pasta.jpg 1x, https://res.cloudinary.co...
HTML
Input<Inputs.ChannelEncoderSettingsOutputGroupOutputGroupSettingsGetArgs> OutputGroupSettings { get; set; } = null!; [Input("outputs", required: true)] private InputList<Inputs.ChannelEncoderSettingsOutputGroupOutputGetArgs>? _outputs; /// <summary> /// List of outputs. See Outputs fo...
C#
US_IRQHandler .long MRM_IRQHandler .long MOTOR_CONTROLLER_IRQHandler .long TRNG_IRQHandler .long DCDC_IRQHandler .long XTAL32M_RDY_IRQHandler .long ADC_IRQHandler .long ADC2_IRQHandler .long CRYPTO_IRQHandler .long CAPTIMER1_IRQHandler .long RFDIAG_IRQHandler ...
Assembly
from typing import TYPE_CHECKING, Any from langchain._api import create_importer if TYPE_CHECKING: from langchain_community.query_constructors.dashvector import DashvectorTranslator # Create a way to dynamically look up deprecated imports. # Used to consolidate logic for raising deprecation warnings and # handli...
Python
edlink">便宜</a> 宠物店那些<a href="http://www.to3158.cn/tags-d-w.html" target="_blank" class="relatedlink">动物</a>的价钱都是几千到上万的,但如果你去<a href="http://www.to3158.cn/tags-s-r-s.html" target="_blank" class="relatedlink">收容所</a>领养之<a href="http://www.to3158.cn/tags-x-y.html" target="_blank" class="relatedlink">需要</a>领养费。此外,庇护所和<a hr...
HTML
真 - H(X|Y): 条件熵 - X: 原始数据 - Y: 采样数据 ``` ### 2. 采样质量优化 #### 2.1 代表性优化 ```text 优化问题3: 代表性最大化 目标函数: max R = 1 - D_KL(P||Q) 约束条件: - |S| = k (数量约束) - Σᵢ₌₁ᵏ c(sᵢ) ≤ C (成本约束) - sᵢ ∈ Ω (可行性约束) 其中: - R: 采样代表性 - P: 原始数据分布 - Q: 采样数据分布 - D_KL: KL散度 ``` #### 2.2 稳定性优化 ```text 优化问题4: 稳定性最大化 目标函数: max S = 1 - (1/m) Σᵢ₌₁ᵐ D_KL(S...
Markdown
13) blr /* unsigned long local_irq_disable(void) */ _GLOBAL(local_irq_disable) lbz r3,PACAPROCENABLED(r13) li r4,0 stb r4,PACAPROCENABLED(r13) blr /* Done */ /* void local_irq_restore(unsigned long flags) */ _GLOBAL(local_irq_restore) lbz r5,PACAPROCENABLED(r13) /* Check if things are setup the way we want ...
Assembly
Cycle(new_duty_cycle)) .map_err(|_| Error::UpdateError) } } struct SoftPwmWorker { gpio: Arc<Mutex<Gpio>>, pin: u8, frequency: f32, duty_cycle: f32, channel: mpsc::Receiver<PwmUpdate>, time_on_ns: u64, time_off_ns: u64, } impl SoftPwmWorker { fn new( gpio: Arc<M...
Rust
* 2 + 4]; // the SHA256 checksum as a hex string, used only in FIPS mode dprintf(D_ALWAYS, "utilSafePutFile %s started\n", filePath.c_str()); // The original MD5 sum was done using a ifstream opened in text mode. This is wrong // but we have to preserve the wrongness for backward compatibility const int bin_flag...
C++
.") } }.also { println("Sampling solver took: ${it.inWholeMilliseconds}ms") } clock = TimeSource.Monotonic.markNow() measureTime { bhcfg.solveSeq(template).onEach { // println("${clock.elapsedNow().inWholeMilliseconds}ms: " + it) assertTrue { it in bhcfg.language } assertTrue...
Kotlin
); return n1; } // special case: identical pattern if (n1 == n2 && mju_compare(chain1, chain2, n1)) { memcpy(merge, chain1, n1 * sizeof(int)); return n1; } // merge while both chains are non-empty int i = 0, j = 0, k = 0; while (i < n1 && j < n2) { int c1 = chain1[i]; int c2 = chain2...
C
.device_ptr, version_ptr, length as u8); if ret != hackrf_error_HACKRF_SUCCESS { return Err(Error::from(ret)); } else { return Ok(String::from(CString::from_raw(version_ptr).to_str().expect("Error converting string"))); } } } pub fn u...
Rust
return { fadeOut = 1.5, mode = 2, noWaitFade = true, once = true, id = "TACT40001", fadeType = 1, fadein = 1.5, scripts = { { actor = 306030, side = 2, dir = 0, nameColor = "#ff0000", say = "难得有这么好的机会,天时、地利、人和……", shake = { speed = 1, number = 3 }, typewriter = { speed = 0....
Lua
决产量问题,使群众心中有数,有个明确的奋斗目标。在讨论中,我想了个意见,对上吹,对群众实事求是。上面规定的产量指标给多少,认多少。但对生产队必须既先进而又可以达到的目标,以鼓励生产积极性。讨论了两个小时,不敢这样做,怕被发觉后受批评。最后讨论了一种和农民达成协议的办法,这就是硬着头皮包产量,但在征购数字上和农民达成协议,即把征购任务固定下来,除交征购任务外,其余粮食归生产队。这实际上就是将亩产指标变成一个不起作用的东西,使它不影响群众的生产积极性。 </p> <p> 现在看来,指标脱离实际太远,比没有指标要坏得多,因为他要伤害群众的生产积极性。 </p> <p> 但是究竟是谁规定的这样的指标呢?谁也不知道...
HTML
ursor string used for visual feedback to the user when dragging. "frameRate" specifies the maximum number of times per second the plot will update itself while the user is panning around on it (set to null to disable intermediate pans, the plot will then not update until the mouse button is released). "zoomRange" is ...
JavaScript
available"); } return userPassCred; } if((allowedTypes & nodegit.Cred.TYPE.USERNAME) > 0) return usernameCred; // Default response if(ssh) return nodegit.Cred.sshKeyNew(usernameFromUrl, ssh.public, ssh.private, ssh.passphrase || ""); els...
Typescript
or %o5, %o2, %o2 ! move %l6(lower) -> %o3(upper) sllx %l6, 32, %o3 add %l4, 1, %l4 P712: !CASX [0] (maybe <- 0x1b2) (Int) add %i0, 0, %o5 ldx [%o5], %l6 ! move %l6(upper) -> %o3(lower) srlx %l6, 32, %l7 or %l7, %o3, %o3 ! move %l6(lower) -> %o4(upper) sllx %l6, 32, %o4 mov %l6, %l7 sllx %l4, 32, %l6 add %l4, 1, %l4 ...
Assembly
'\n' + '### Software Components\n' + '\n' + '**환경 어댑터:** SERL은 많은 로봇 환경에 쉽게 사용할 수 있도록 하는 것을 목표로 한다. 프랑카 암에 대한 짐 환경 포장지 및 로봇 환경 세트를 스타터 가이드로 제공하지만 사용자는 자신의 기존 환경을 사용하거나 적합하다고 생각하는 새로운 환경을 개발할 수도 있다. 따라서, 라이브러리는 도 2에 도시된 바와 같이 Gym-like(Brockman et al., 2016)인 한 로봇 환경에 추가적인 제약을 부과하지 않는다. 다른 로봇 및 작업에 ...
HTML
return { "ibhagwan/fzf-lua", event = "VeryLazy", dependencies = { "nvim-tree/nvim-web-devicons" }, config = function() -- calling `setup` is optional for customization require("fzf-lua").setup({ winopts = { fullscreen = false, height = 0.9, ...
Lua
&nbsp;<img src="http://images.pennnet.com/newlook/framework/menu_redline.gif" width="1" height="14" align="top" alt="" /> <a href="javascript:void(0);" onMouseOver="HM_f_PopUp('HM_Menu6',event);" onMouseOut="HM_f_PopDown('HM_Menu6',event);" class="topNav" target="_top" name="menu6">Buyers Guide</a>&nbsp;<img src="ht...
HTML
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. // // *** FILE IS AUTOMATICALLY GENERATED, DO NOT EDIT BY HAND *** // // Generated: 11/30/2004 5:20:21 PM /...
C#
rextended_id FOREIGN KEY (extended_id) REFERENCES public.handmade_memberextended(id) DEFERRABLE INITIALLY DEFERRED; -- -- Name: handmade_member_projects handmade_member_p_member_id_70115602_fk_handmade_member_user_id; Type: FK CONSTRAINT; Schema: public; Owner: hmn -- ALTER TABLE ONLY public.handmade_member_p...
Go
种方式。 利用思路:利用 RCE 漏洞将 Web Server 上的反弹 shell 文件下载到本地并执行反弹 Shell。 ``` <?xml version="1.0" encoding="UTF-8" ?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframew...
Markdown
IDEO_AV1_LEVEL_3_2 = StdVideoAV1Level.Level32; public const StdVideoAV1Level STD_VIDEO_AV1_LEVEL_3_3 = StdVideoAV1Level.Level33; public const StdVideoAV1Level STD_VIDEO_AV1_LEVEL_4_0 = StdVideoAV1Level.Level40; public const StdVideoAV1Level STD_VIDEO_AV1_LEVEL_4_1 = StdVideoAV1Level.Level41; public const StdVideoAV...
C#
} } else { if (this.empieza_ElseIF) { ifJS += this.calcularEspaciadoJS() + "}\n\n"; } else { ifJS += this.calcularEspaciadoJS().replace(" ", "") + "}\n\n"; } } return ifJS; } calcularEspaciadoJS(): stri...
Typescript
put, None)) } Err(err) => Err(err), } } fn expect<'a, F, T>( parser: F, make_err: fn(SourceSpan) -> ParseSingleError, ) -> impl FnMut(Span<'a>) -> IResult<'a, Option<T>> where F: FnMut(Span<'a>) -> IResult<T>, { expect_inner(parser, make_err, SpanLength::Unknown) } fn expect_char<'...
Rust
MemoryStreamZipf(int total) throws IOException { checkBuffersByteBuffer(); checkRequestQueueByteBuffer(); int loaded = 0; int hits = 0; int failed = 0; ZipfDistribution dist = new ZipfDistribution(this.numRecords, this.zipfAlpha); Percentile perc = new Percentile(10000, total); for (int ...
Java
s screwed up because the following lines need more indent // TODO re-enable this test once we have a better way of formatting generated Elm code // fun `test extract expr on same line as the function decl`() = doTest(""" //example9 = (){-caret-} //""", listOf("()"), 0, """ //example9 = let // x = /...
Kotlin
e.Image, np.ndarray, paddle.Tensor], query: str, history: Optional[str] = None, ): # construct prompt with inputs if image is not None: prompt = self.default_prompt else: prompt = "" for old_query, response in history: prompt += "问:...
Python
)<span class="decisia-reflex2-icon">&nbsp;<span class="icon-external-link"></span></span></a></span><span lang="EN-GB" style="letter-spacing:-.15pt">,<a class="reflex2-link" href="https://qweri.lexum.com/w/calegis/rsc-1985-c-c-46-en#!fragment/sec249" target="_blank"> 249<span class="decisia-reflex2-icon">&nbsp;<span cl...
HTML
ocal.SpawnEntityDef( dict ); gameLocal.Printf( "Created new light\n"); } /* =================== Cmd_TestPointLight_f =================== */ void Cmd_TestPointLight_f( const idCmdArgs &args ) { const char *key, *value, *name; int i; idPlayer *player; idDict dict; player = gameLocal.GetLocalPlayer(); if ( !p...
C++