content
stringlengths
2
6.21k
label
stringclasses
16 values
top:0;border-bottom-color:rgba(0,0,0,.2);position:absolute}.datepicker-dropdown:after{content:'';display:inline-block;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #fff;border-top:0;position:absolute}.datepicker-dropdown.datepicker-orient-left:before{left:6px}.datepicker-d...
CSS
es] .distiller_yt-thread .sentiment .count_active, [exp-classic-ltod] #watch-like:active .yt-uix-button-content, [exp-classic-ltod] #watch-like.yt-uix-button-toggled .yt-uix-button-content{ color:#590!important } [classic-styles] #watch-discussion .sentiment.like .oz-sprite, [classic-styles] #watch-discussion .sentimen...
JavaScript
xxx.xxx:port ... to: mode: cluster password: 1a.2b* address: - xxx.xxx.xxx.xxx:port ... ``` 功能描述 1、高效同步,批量提交,单个To节点每50条数据或间隔最大100毫秒进行一次数据提交和偏移量刷新 2、From端优先选从节点连接,无从选主 3、Redis服务异常时中断同步,Redis服务正常时自动开始同步 4、支持存量RDB数据同步,支持中断续传 数据差异描述(仅异常情况下才可能产生) 1、From端任意节点故障或Redisx正常关闭(kill),无数据差异 2...
Markdown
setActiveSection } } input.onButtonPressed(Button.A, function () { speed += -1 }) function go_left () { mbit_Robot.CarCtrlSpeed2(mbit_Robot.CarState.Car_Run, speed * 0.7, speed) } function go_right () { mbit_Robot.CarCtrlSpeed2(mbit_Robot.CarState.Car_Run, speed, speed * 0.7) } input.onButtonPressed(Button...
Typescript
, length: _lineLength), equals([ 'This is a long line with newlines that', 'needs to be wrapped.', '', '0123456789012345678901234567890123456789', '0123456789' ])); }); test('does not preserves indentation in the presence of newline...
Dart
ToIgnore == null) obs = args.Stream.Observable.FilterSection(args.InitialState.Value, args.SwitchToKeep); else obs = args.Stream.Observable.FilterSection(args.InitialState.Value, args.SwitchToKeep, args.SwitchToIgnore); } return base.Create...
C#
ce, required this.tempAuthKeyId, required this.permAuthKeyId, required this.tempSessionId, required this.expiresAt, }) : super._(); /// Deserialize. factory BindAuthKeyInner.deserialize(BinaryReader reader) { // Read [BindAuthKeyInner] fields. final nonce = reader.readInt64(); final t...
Dart
ance(clearance); if ( null == pep ) return true; try { // if ( null == pep ) { // pep = allocateObjectPEP(); // pep.addAlias("queryContext", QueryContext.class); // pep.addAlias("accessLogger", AccessLogger.class); // pep.addAlias("dataSource", DataSource.class); // } // // pep.beginEval...
Java
= io.StringIO("print test\nprint test2") output = io.StringIO() cmd = self.simplecmd(stdin=input, stdout=output) cmd.use_rawinput = False cmd.cmdloop() self.assertMultiLineEqual(output.getvalue(), ("(Cmd) test\n" "(Cmd) test2\n" "(Cmd) ")) ...
Python
(&self->fwreq_mutex); err = self->aq_fw_ops->set_downshift(self->aq_hw, cfg->downshift_counter); mutex_unlock(&self->fwreq_mutex); return err; } int aq_nic_set_media_detect(struct aq_nic_s *self, int val) { struct aq_nic_cfg_s *cfg = &self->aq_nic_cfg; int err = 0; if (!self->aq_fw_ops->set_media_detect) ret...
C
"""schema with fixed UUID types Revision ID: 0e81cb71a639 Revises: b86de8bb8b46 Create Date: 2025-07-28 21:21:38.237662 """ from typing import Sequence, Union from alembic import op import sqlalchemy as sa from sqlalchemy.dialects import postgresql # revision identifiers, used by Alembic. revision: str = '0e81cb71a...
Python
expected); } Err(err) => { panic!("Case {}. {}", cidr, err) } } } #[rstest] #[case("0.0.0.0/33")] fn cidr_parsing_too_big_prefix(#[case] cidr: &str) { match cidr_string_to_integers(cidr) { Err(CidrStringParsingError::Prefix...
Rust
::Error; use std::fmt::{Display, Write}; use super::*; #[derive(Debug)] pub struct CustomError {} impl Display for CustomError { fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { f.write_str("CustomError") } } impl std::error::Error for CustomError {}...
Rust
256, 64, 64] | -- | | ├─ MaxPool2d: 1-8 | [1, 256, 32, 32] | -- | | ├─ VGGBlock: 1-9 | [1, 512, 32, 32] | -- | | │ ├─ Conv2d: 2-25 | [1, 512, 32, 32] | 1,180,160 | | │ ├─ BatchNorm2d: 2-26 | [1, 512, 32, 32] | 1,024 | | │ ├─ ReLU: 2-27 | [1, 512, 32, 32] | -- | | │ ├─ Conv2d: 2-28 | [1, 512, 32, 32] | 2,359,808 | | │ ├...
Markdown
</section> ## What's next? Read more about using the <a href="https://crates.io/crates/postgres/" data-proofer-ignore>Rust Postgres driver</a>. {% include {{ page.version.version }}/app/see-also-links.md %} # mongodb使用指南 >Auth: 王海飞 > >Data:2018-06-16 > >Email:779598160@qq.com > >github:https://github.com/coco369/...
Markdown
dr + 2) = htons(ctx->signalg); memset(krb5_hdr + 4, 0xff, 4); if (toktype == KG_TOK_WRAP_MSG) *(u16 *)(krb5_hdr + 4) = htons(ctx->sealalg); if (toktype == KG_TOK_WRAP_MSG) { /* XXX removing support for now */ goto out_err; } else { /* Sign only. */ if (make_checksum(checksum_type, krb5_hdr, 8, text, ...
C
-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.form-select-lg{padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}[data-bs-theme=dark] .form-select{--bs-form-select-bg-img:url("data:image/sv...
CSS
-- Basic functionality test for restored files local buffer = require('bufferin.buffer') local ui = require('bufferin.ui') local utils = require('bufferin.utils') local config = require('bufferin.config') print('==========================================') print('Basic Functionality Test for Restored Files Start') pri...
Lua
0001818); qtest_outl(s, 0xcf8, 0x80001804); qtest_outw(s, 0xcfc, 0x7); qtest_outl(s, 0xcf8, 0x80002010); qtest_writeb(s, 0xe106802e, 0xff); /* Fill DSP bits 16-23 */ qtest_writeb(s, 0xe106802f, 0xff); /* Fill DSP bits 24-31: trigger SCRIPT */ qtest_quit(s); } int main(int argc, char **argv) {...
C
name("reqauth")); chain.push_reqauth(name("alice"), { permission_level{N(alice), name("first")} }, { first_priv_key }); chain.produce_blocks(13); // Wait at least 6 seconds for first push_reqauth transaction to expire. // Update "first" auth public key chain.set_authority(name("alice"), name("first"), se...
C++
{ margin-top: 4px; margin-bottom: 0 } li { margin-bottom: 4px } ol { list-style-type: decimal } ol ol { list-style-type: lower-alpha } ol ol ol { list-style-type: lower-roman } ol ol ol ol { list-style-type: decimal } ol ol ol ol ol { list-style-type: lower-alpha } ol ol ol ol ol...
CSS
// fun `can create session`() { // createSession() // } // // @Test // fun `auto fetch media after completion`() = runTest { // mediaSourceInstances.value = listOf( // createTestMediaSourceInstance( // TestHttpMediaSource(fetch = { // SinglePagePage...
Kotlin
/* * Copyright (c) 2016 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 contribut...
C
faultConstraints: GeneratedColumn.constraintIsAlways('PRIMARY KEY AUTOINCREMENT')); late final GeneratedColumn<String> name = GeneratedColumn<String>( 'name', aliasedName, false, type: DriftSqlType.string, requiredDuringInsert: true); late final GeneratedColumn<int> color = GeneratedColumn<int...
Dart
-------------------------------- -- @module ParticleSun -- @extend ParticleSystemQuad -- @parent_module cc -------------------------------- -- -- @function [parent=#ParticleSun] init -- @param self -- @return bool#bool ret (return value: bool) -------------------------------- -- -- @function [parent=#Parti...
Lua
#$801,$58(A6) ;BLTSIZE LEA $28(A0),A0 ;offset to next bitplane in source BSR WaitBlitter MOVE.L A0,$50(A6) ;BLTAPTx MOVE.W #$801,$58(A6) ;BLTSIZE RTS GetScrollCharPtr: LEA ScrollText(PC),A1 ADD.W ScrollTextIndex(PC),A1 MOVEQ #0,D0 MOVE.B (A1),D0 BNE.S ScrollNotEnded CLR.W ScrollTextIndex BRA.S Get...
Assembly
r != nil { logger.Error(err) response.Error = "failed to parse authorization header" JSON(w, 401, response) return } // we don't currently have roles, all valid tokens are valid sessions if sess == nil || sess.ID == "" { response.Error = "failed to parse authorization header" JSON(w, 401, response) re...
Go
/* * Copyright 2020 Michail Vourlakos <mvourlakos@gmail.com> * * This file is part of Latte-Dock * * Latte-Dock 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 2 of * the License, or (a...
C
. // // - parent: The parent project name shared by all DeviceCheckConfigs being // retrieved, in the format ``` projects/{project_number} ``` The parent // collection in the `name` field of any resource being retrieved must match // this field, or the entire batch fails. func (r *ProjectsAppsDeviceCheckC...
Go
.VehicleClass); Field(p => p.Consumables); Connection<PeopleGraphType>() .Name("pilots") .ResolveAsync(async ctx => await api .GetMany<People>(ctx.Source.Pilots) .ContinueWith(t => ctx.ToConnection(t.Result)) ...
C#
services.HTMLService; import com.aionemu.gameserver.skillengine.SkillEngine; import com.aionemu.gameserver.utils.PacketSendUtility; import com.aionemu.gameserver.world.World; import com.aionemu.gameserver.world.knownlist.Visitor; /** * @author Source */ @SuppressWarnings("rawtypes") public class BossDeathListener ex...
Java
8019DEFC 8FBF0014 */ lw $ra, 0x14($sp) /* 143F70 8019DF00 27BD0018 */ addiu $sp, $sp, 0x18 /* 143F74 8019DF04 03E00008 */ jr $ra /* 143F78 8019DF08 00000000 */ nop .type func_8019DD78_ovl7, @function .size func_8019DD78_ovl7, . - func_8019DD78_ovl7 glabel func_8019DF0C_ovl7 /* 143F7C 8019DF0C 27BDFFE8 *...
Assembly
l.StatusEdit import app.pachli.core.network.model.StatusSource import app.pachli.core.network.model.Suggestion import app.pachli.core.network.model.TimelineAccount import app.pachli.core.network.model.Translation import app.pachli.core.network.model.TrendingTag import app.pachli.core.network.model.TrendsLink import app...
Kotlin
2e&chksm=f36e620fc419eb192e1d5bcf3ad0389bab734602c4061c369043da7d1b5bcd24fda3b724eb40&scene=58&subscene=0#rd) - [【安全圈】思科重大数据泄露,多家知名大厂数据已在暗网出售](https://mp.weixin.qq.com/s?__biz=MzIzMzE4NDU1OQ==&mid=2652065359&idx=2&sn=c877585c1ff6a9fa10ec319c11448726&chksm=f36e620fc419eb19bd811a6d08b02fe00f534afd63534e448042b45f3ca3b3...
Markdown
derHeaderBySalesOrderId = SalesOrderHeaderTest.CreateMockInstance(tm); DataRepository.SalesOrderHeaderProvider.Insert(tm, mockSalesOrderHeaderBySalesOrderId); mock.SalesOrderId = mockSalesOrderHeaderBySalesOrderId.SalesOrderId; //OneToOneRelationship SpecialOfferProduct mockSpecialOfferProductBySpecialOffe...
C#
RM64FMULS { break } _ = v_0.Args[1] x := v_0.Args[0] y := v_0.Args[1] a := v.Args[1] v.reset(OpARM64FNMSUBS) v.AddArg(a) v.AddArg(x) v.AddArg(y) return true } // match: (FSUBS a (FNMULS x y)) // cond: // result: (FMADDS a x y) for { _ = v.Args[1] a := v.Args[0] v_1 := v.Args[1] if v_...
Go
e_unique<DebugLayer>(this); } return _debugLayer; } std::vector<AbstractMeshPtr> Scene::getMeshes() const { std::vector<AbstractMeshPtr> _meshes; _meshes.reserve(meshes.size()); std::for_each(meshes.begin(), meshes.end(), [&_meshes](const AbstractMeshPtr& mesh) { _meshes.emplace_back(mesh); ...
C++
e(matStack.peek().positionMatrix, p1, p2, p3, color) matStack.pop() } } /* * This file is part of LiquidBounce (https://github.com/CCBlueX/LiquidBounce) * * Copyright (c) 2015 - 2025 CCBlueX * * LiquidBounce is free software: you can redistribute it and/or modify * it under the terms of the GNU Gene...
Kotlin
lbl_805356C0@l /* 8029D8D0 00299530 3B 40 00 00 */ li r26, 0 /* 8029D8D4 00299534 3A C0 00 21 */ li r22, 0x21 /* 8029D8D8 00299538 3A E0 00 00 */ li r23, 0 /* 8029D8DC 0029953C 48 00 01 74 */ b lbl_8029DA50 lbl_8029D8E0: /* 8029D8E0 00299540 80 6D AC A4 */ lwz r3, lbl_8063FF64-_SDA_BASE_(r13) /* 8029D8E4 00299544 ...
Assembly
er: none; /*Removes extra border that FF applies*/ border-radius: 1rem; height: 1.5rem; width: 1.5rem; } input[type="range"]:focus::-moz-range-thumb { outline: 3px solid #da4167; outline-offset: 0.125rem; } .change-log-container ul ul { margin-left: 2rem; } @use "./variables.scss" as *; @use "sass:color";...
CSS
_ in 0..10 { if !connections.is_empty() { break; } thread::sleep(Duration::from_millis(500)); connections = fabric.connections(); } if connections.is_empty() { return Err("Cannot contact seed nodes".into()); } f...
Rust
} else { if (PROGRESS) System.out.println(" buffer: " + Utility.hex(UTF16.valueOf(cp))); // brute force approach UTF16.append(buf, cp); /* TODO: optimize // since we know that the classes are monotonically increasing, after zero ...
Java
架", "bedgasm":"", "bedge":"n. 徽章,标记", "bedgown":"n. 睡衣", "bedground":"[网络] 床位", "bedhead":"n. 床头板", "bedheads":"n. 床头( bedhead的复数形式 )", "bedhop":"vi. 乱上床, 随意换性伴侣, 轻率地结交异性朋友\\nn. 性乱交", "Bedi":"n. (Bedi)人名;(罗、印、刚(布))贝迪;(匈)拜迪", "bediasite":"贝迪阿熔融石(玻陨石)", "bedient":" [人名] 贝迪恩特", "bedight":"vt. 装饰", "bedighted":"v. 装扮好的, 装饰...
Typescript
#pragma once #include <map> #include <list> #include <optional> #include <string> #include <set> #include <initializer_list> #include <DataTypes/IDataType.h> #include <Core/Names.h> namespace DB { class NameAndAliasPair { public: NameAndAliasPair(const String & name_, const DataTypePtr & type_, const String & e...
C
cd(".."); assert.equal(0, exec(`cmake --build ${CMAKE_BUILD_PATH} --config ${options.config}`).code); assert.equal(0, exec(`codesign --sign - --options linker-signed --force ${CMAKE_BUILD_PATH}/${options.config}/lib${cmakeAddedLibraryName}.dylib`).code); return `${CMA...
JavaScript
co.im", "net.im", "org.im", "plc.co.im", "tt.im", "tv.im", "in", "co.in", "firm.in", "net.in", "org.in", "gen.in", "ind.in", "nic.in", "ac.in", "edu.in", "res.in", "gov.in", "mil.in", "info", "int", "eu.int", "io", "com.io", "iq", "gov.iq", "edu.iq", "mil.iq", "com.iq", "org.iq", "net.iq",...
Go
).y(),mat->getScale().z())); btVector3 inertia = btVector3(pp->inertia[0], pp->inertia[1], pp->inertia[2]); MyMotionState* motion = new MyMotionState(node, root); if (inertia.length() == 0) //asking bullet to calculate inertia only if it is unset cs->calculateLocalInertia(pp->mass, inertia); btRigidBody::...
C++
n = 0.6f; shapeDef.density = 2.0f; b2CreatePolygonShape( bodyId, &shapeDef, &box ); } // Create a second payload { b2BodyDef bodyDef = b2DefaultBodyDef(); bodyDef.type = m_type; bodyDef.isEnabled = m_isEnabled; bodyDef.position = { 2.0f, 8.0f }; m_secondPayloadId = b2CreateBody( m_worldId, ...
C++
= "A repository with the same name already exists")] DuplicateRepository, #[fail(display = "Failed to detect filename from the path")] FileNameNotFound, #[fail( display = "The specified file does not exist, or you don't have enough permission to access it" )] FileUnreachable, #[fail...
Rust
672004fc713cb8/lib/elixir/unicode/tokenizer.ex#L166-L167 isUnicodeUpper(first) -> { Tokenized.Unvalidated.fromText(text, firstAscii = false).validate(Kind.ATOM) } // https://github.com/elixir-lang/elixir/blob/6289cd6b9685a3c63c9ea445f1672004fc713cb8/li...
Kotlin
late AnimationController sliderController; late Animation<Offset> sliderAnimation; List<BMFPoiInfo> poiList = <BMFPoiInfo>[]; BMFPoiInfo? selectPoi; bool _selectingPoi = false; @override void onInit() { sliderController = AnimationController(duration: const Duration(milliseconds: 100), vsync: this);...
Dart
track_origin.y += (cv->layers () - i->layer - 0.5) * 2 * cv->child_height (); break; } /* need to get the parent of the regionview * canvas group and get its position in * equivalent coordinate space as the trackview * we are now dragging over. */ y_delta = track_origin.y - rv->get_canv...
C++
-radius:0;border-top-right-radius:0}.grp-change-form .grp-module:not(.grp-submit-row){min-width:960px}.grp-empty-form{display:none !important}.grp-collapse.grp-closed *,.grp-collapse.grp-closed .grp-row:not(tr).grp-cells,.grp-collapse.grp-closed .grp-table,.grp-collapse.grp-closed .grp-table *{display:none}.grp-collaps...
CSS
ine parameters be sure to have different file names ready for each download data script execution # If a downloaded file cannot be created, the server generated link will appear in the console for you to manually download. # For all statistics jobs, the -outfile parameter is the csv output file that will be created. ...
Python
ap(scenario) != mapHolder.GetMap(); LabelTypeDefault.Visible = !isOverride; LabelTypeOverride.Visible = isOverride; ButtonMakeOverride.Visible = !isOverride; ButtonRemoveOverride.Visible = isOverride; } #region Signals [Signal] public delegate void ScenarioPickedEventH...
C#
public class SpecialOfferProductDataGridViewEventArgs : System.EventArgs { private Entities.SpecialOfferProduct _SpecialOfferProduct; /// <summary> /// the Entities.SpecialOfferProduct instance. /// </summary> public Entities.SpecialOfferProduct SpecialOfferProduct { get { return _SpecialOf...
C#
import os os.system('cls') ''' Escrever um algoritmo que leia um peso na Terra e o numero de um planeta e imprima o valor do seu peso nesteplaneta A relação de planetas é dada a seguir juntamente com o valor das gravidades relativas a Terra # Gravidade Relativa Planeta 1 0,37 ...
Python
_17, s BOOST_PP_TUPLE_EAT_3)(p, o, o(17, s)) # define BOOST_PP_WHILE_17(p, o, s) BOOST_PP_IF(p(18, s), BOOST_PP_WHILE_18, s BOOST_PP_TUPLE_EAT_3)(p, o, o(18, s)) # define BOOST_PP_WHILE_18(p, o, s) BOOST_PP_IF(p(19, s), BOOST_PP_WHILE_19, s BOOST_PP_TUPLE_EAT_3)(p, o, o(19, s)) # define BOOST_PP_WHILE_19(p, o, s) BOOST...
C++
"whip", "whir", "whiteskin", "whiz", "whup", "wildcat", "win", "windmil", "wit", "woodchop", "woodcut", "wor", "worship", "wrap", "wiretap", "yen", "yak", "yap", "yarnspin", "yip", "yodel", "zag", "zap", "zig", "zig-zag", "zigzag", "zip", "ztrip", "hand-bag", "hocus", "hocus-pocus" ], PAST_PARTICI...
JavaScript
C76\u2C77\u2C78\u2C79\u2C7A"+ "\u2C7B\u2C7C\u0000\u2C7D\u2C7E\u2C7F\u2C80\u2C81"+ "\u2C82\u2C83\u2C84\u2C85\u2C86\u2C87\u2C88\u2C89"+ "\u2C8A\u2C8B\u2C8C\u2C8D\u2C8E\u2C8F\u2C90\u2C91"+ "\u2C92\u2C93\u2C94\u2C95\u2C96\u2C97\u2C98\u2C99"+ "\u2C9A\u2C9B\u2C9C\u2...
Java
f(this._element),this._element.classList.add("collapsing"),this._element.classList.remove("collapse","show");const e=this._triggerArray.length;if(e>0)for(let t=0;t<e;t++){const e=this._triggerArray[t],i=s(e);i&&!i.classList.contains("show")&&(e.classList.add("collapsed"),e.setAttribute("aria-expanded",!1))}this.setTran...
JavaScript
from_u32(n), written_place.into())?; } // Return whether this was a success. this.write_scalar( Scalar::from_i32(if written.is_some() { 1 } else { 0 }), dest, )?; } // Allocation ...
Rust
Network Circle, Santa Clara, * CA 95054 USA or visit www.sun.com if you need additional information or * have any questions. */ package com.sun.jmx.snmp; /** * Represents an SNMP IpAddress. * * <p><b>This API is a Sun Microsystems internal API and is subject * to change without notice.</b></p> */ publi...
Java
price : 750, description : 'Trending winter cap for women who love to dress out in winter, cool funky design makes you look trendy', category: 'Women', subCategory : 'Clothing', rating : 4, addedToCart : false, image : '../assets/images/img-xzzpu3b7t298jjor.jpg' }, { id : 31, name : 'Bed', price ...
Typescript
if_true, if_false, } => { if test.execute(n) != 0 { if_true.execute(n) } else { if_false.execute(n) } } } } } impl PartialEq<Self> for Node { fn eq(&self, other: &Self) -> bo...
Rust
} if (!widget.isEdit) { result = BrnFormUtil.getIsEditTextStyle(widget.themeData!, widget.isEdit); } if (widget.enableList != null && widget.enableList!.isNotEmpty && widget.enableList!.length > index && !widget.enableList![index]) { result = BrnFormUtil.getIsEditTextSt...
Dart
; i--) { try (MemoryWorkspace ws = Nd4j.getWorkspaceManager() .getAndActivateWorkspace(reallocateUnspecifiedConfiguration, "WS_1")) { INDArray array = Nd4j.create(DataType.DOUBLE,100 * i); } } workspace.initializeWorkspace(); assertEqu...
Java
ctMap<WorkflowSessionInfo> /** * Snapshot of the [RuntimeConfig]. */ public var configSnapshot: ConfigSnapshot /** * A list of all causes for the current runtime loop processing (it can be multiple in the case * of some optimizations). */ public val renderIncomingCauses: MutableList<RenderCause...
Kotlin
::Uint32") .AddTraceSource ("DropState", "Dropping state", MakeTraceSourceAccessor (&CoDelQueueDisc::m_dropping), "ns3::TracedValueCallback::Bool") .AddTraceSource ("DropNext", "Time until next packet drop", ...
C++
xtraFlag!!.getInt(msgRecord) } //额外字符串 extStr val extStr: String? get() { if (_extStr == null) { _extStr = Reflex.findField(msgRecord.javaClass, String::class.java, "extStr") } return _extStr!!.get(msgRecord) as String? } //时间戳 ...
Kotlin
ud.customParams.tip.."\255\255\255\255\n" end]] else NewTooltip = NewTooltip.."\n"..unitpre.."\n"..unitname.." ("..unitdesc..")\n".. "\255\255\213\213Health: ".."\255\255\170\170"..unithealth.. "\n\255\213\213\255Build time: ".."\255\170\170\255".. floor((29+floor(31...
Lua
()); let missing = "missing"; let result = ts .ucmd() .set_stdin(Stdio::null()) .arg(missing) .arg("--retry") .run(); result .stderr_is( "tail: warning: --retry ignored; --retry is useful only when following\n\ tail: cannot open 'm...
Rust
try: # Django <=1.9 from django.db.models.loading import get_model except ImportError: # Django 1.10+ from django.apps import apps get_model = apps.get_model from django.utils.encoding import smart_str from django.http import JsonResponse from django.contrib.admin.views.decorators import staff_memb...
Python
og.Info("[GNB][AMF] Remove AMF: [", "Id: ", oldAmf.GetAmfId(), "Name: ", oldAmf.GetAmfName(), "Ipv4: ", oldAmf.GetAmfIpPort().Addr(), "]", ) tnla := oldAmf.GetTNLA() // NGAP UE-TNLA Rebinding uePool := gnb.GetUePool() uePool.Range(func(k, v any) bool ...
Go
LU(), nn.Linear(1024, 1024) ).to("cuda") # Convert to 8-bit model model_8bit = nn.Sequential( bnb.nn.Linear8bitLt(1024, 1024, has_fp16_weights=False), nn.ReLU(), bnb.nn.Linear8bitLt(1024, 1024, has_fp16_weights=False), nn.ReLU(), bnb.nn.Linear8bitLt(1024, 1024, has_fp16_weights=False) ).to("cud...
Markdown
*; use core::char; use core::ops::Range; use step::{AFTER_SURROGATE, BEFORE_SURROGATE}; use CharRange; const SKIP_LENGTH: u32 = ::step::AFTER_SURROGATE as u32 - ::step::BEFORE_SURROGATE as u32 - 1; #[derive(Clone, Debug)] pub struct Iter(rayon::iter::Map<rayon::range::Iter<u32>, fn(u32) -> char>); impl ParallelItera...
Rust
"設計圖:黎明手套", [19206] = "設計圖:黑鐵頭盔", [19207] = "設計圖:黑鐵護手", [19208] = "設計圖:黑色赦免者", [19209] = "設計圖:黑色烈怒", [19210] = "設計圖:黑檀之手", [19211] = "設計圖:黑衣衛", [19212] = "設計圖:夜暮", [19213] = "銀翼功勳咒符", [19214] = "Monster - Staff, Wooden Handle Spiral Head Dark", [19215] = "圖樣:木喉之智", [19216] = "圖樣:銀色長靴", [19217] = "圖樣:銀色護肩", [19218] = "圖...
Lua
-block .lockup-headline:lang(zh-CN) { font-family: "SF Pro SC", "SF Pro Display", "SF Pro Icons", "PingFang SC", "Helvetica Neue", "Helvetica", "Arial", sans-serif; } .as-content-block .row .as-contentblock-item .as-contentblock-block .lockup-headline:lang(zh-HK) { font-family: "SF Pro HK", ...
CSS
aModpacks/Enigmatica6/issues/5418) - The Mighty Architect [\#5417](https://github.com/EnigmaticaModpacks/Enigmatica6/issues/5417) - \[BG\] Copy-Paste Gadget Bug - Duplicating Advanced Pressure Tubes from Gaia Reactor Template [\#5372](https://github.com/EnigmaticaModpacks/Enigmatica6/issues/5372) - Duplication / ...
Markdown
; ; 6502 version ; .export _plt_switchout .export _switchin .export _dofork .export _ramtop .import _chksigs .import _plt_monitor .import map_kernel .import _swapper .import _swapout .import _makeproc .import _getproc .import _runticks .import outstring .import outxa .import outcharhex .impo...
Assembly
>, arg1: &Option<i64>, ) -> Result<Option<i64>> { // This is a standard Kleene OR used in SQL where // `null OR false == null` and `null OR true == true` Ok(match (arg0, arg1) { (Some(0), Some(0)) => Some(0), (None, None) | (None, Some(0)) | (Some(0), None) =>...
Rust
yama", type: ["Fighting"], hp: 144, attack: 120, defense: 60, special_attack: 40, special_defense: 60, speed: 50, }, { id: 298, name: "Azurill", type: ["Normal", "Fairy"], hp: 50, attack: 20, defense: 40, special_attack: 20, special_defense: 40, speed:...
Typescript
rue,null=True) innodb_row_lock_time_avg = models.FloatField("每次等待所花费平均时间",blank=True,null=True) innodb_buffer_pool_pages_flushed = models.IntegerField("innodb脏页刷新的频率",blank=True,null=True) innodb_data_read = models.FloatField("innodb读取的数据量",blank=True,null=True) innodb_data_written = models.FloatField("...
Python
public boolean mutateV8(int j, byte v8) { int o = __offset(24); if (o != 0) { bb.put(__vector(o) + j * 1, v8); return true; } else { return false; } } public double vf64(int j) { int o = __offset(26); return o != 0 ? bb.getDouble(__vector(o) + j * 8) : 0; } public int vf64Length() { int o = __offset(26); return o...
Java
e, i uint64, base int) []byte { if fastSmalls && i < nSmalls && base == 10 { return append(dst, small(int(i))...) } dst, _ = formatBits(dst, i, base, false, true) return dst } const ( digits = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" ) const ( fastSmalls = true // enable fast path fo...
Go
XYAJoKQzUi051o4NXAyuQOtRhwPXGbOPY0M01Ah4gdApQ4AEwYAwCfo1rDdD67bHWAAlYTfe62/3ueM+73idaAg7AHe4cKMGqhFuCDJzg8IhPvOIRz3boYuADJoi85CdPecl/gAPI9oDmN8/5znf+6KLtwAZGT/rSm970oA9tB1LA+taPYAMjaL3sZZ960K6+9SLYgAhEMPvep6D2n+1ACEKAguKHwALHH77ylz984Hu2Ay0AQQikH4IWDB8E2M++9kHg/M52IPsq2L7/+Lfffc52QAXoT7/617/+8m+2AxWoAAvmzwL5y5/++Ke/+zX...
CSS
.. } => { assert_eq!(w1, w2); assert_eq!(t1, t2); assert_eq!(c1, c2); assert_eq!(a1, b1); assert_eq!(a2, b2); } other => panic!("Received non User event: {:?}", other), } } #[allow(unused)] struct SomeEventTypeTest3 { ...
Rust
:00:30").toWholeMinutes()).isEqualTo(2910) assertThat(getMinutes("5:00:30").toWholeMinutes()).isEqualTo(7230) } } package info.metadude.android.eventfahrplan.database.models import com.google.common.truth.Truth.assertThat import org.junit.jupiter.params.ParameterizedTest import org.junit.jupiter.params.pr...
Kotlin
new CubeVertex(0.5f,-0.5f,0.5f), new CubeVertex(0.5f,-0.5f,-0.5f), new CubeVertex(-0.5f,-0.5f,-0.5f), // Left new CubeVertex(-0.5f,0.5f,-0.5f), new CubeVertex(-0.5f,0.5f,0.5f), new CubeVertex(-0.5f,-0.5f,0.5f), new CubeVertex(-0.5f,-0.5f,-0.5f), // Rig...
C#
ables @import 'variables/index'; // Browser Customizations @import 'browser-custom'; // Helpers @import 'helpers'; @import 'animations'; @import 'headings'; @import 'notifications'; // App CSS @import 'app'; @import 'menu'; @import 'components/index'; @import 'containers/index'; *, *:before, *:after { margin: 0...
CSS
**********************************/ package org.pentaho.di.trans.steps.checksum; import org.junit.Before; import org.junit.ClassRule; import org.junit.Test; import org.pentaho.di.core.injection.BaseMetadataInjectionTest; import org.pentaho.di.junit.rules.RestorePDIEngineEnvironment; public class CheckSumMetaInjecti...
Java
if (this.keypath) { const token = parseType(this.keypath, true); if (token.type === PRIMITIVE) { this.value = token.value; } else if (token.type === KEYPATH) { this.observer = this.observe(this.view.models, this.keypath, this); this.model = this.observer.target; } els...
Typescript
2 = L1_2.fC8CEF9EF L2_2 = A0_2[6] L3_2 = A0_2[7] L1_2 = L1_2(L2_2, L3_2) L2_2 = A0_2[5] if true == L2_2 then L2_2 = c34EB7997 L2_2 = L2_2.fB48D5147 L3_2 = L1_2 L4_2 = nil L5_2 = 6 L6_2 = 6 L2_2(L3_2, L4_2, L5_2, L6_2) else L2_2 = c34EB7997 L2_2 = L2_2.f6C2949EB L3_2 =...
Lua
curveTo(20.1477f, 18.62f, 20.0802f, 18.3054f, 19.945f, 18.0782f) curveTo(19.8099f, 17.8516f, 19.5602f, 17.738f, 19.1974f, 17.738f) curveTo(19.0785f, 17.738f, 18.9252f, 17.7604f, 18.7353f, 17.8006f) curveTo(18.5448f, 17.8438f, 18.3743f, 17.9325f, 18.2214f, 18.0661f) ...
Kotlin
# -*- coding: utf-8 -*- """數據品質管理器 此模組提供統一的數據品質檢查、清理和標準化功能,包括: - 數據完整性檢查 - 異常值檢測和處理 - 數據一致性驗證 - 數據標準化和格式化 - 品質評分和報告 主要功能: - 多維度數據品質評估 - 智能異常值檢測 - 自動數據清理和修復 - 品質監控和報告 - 數據標準化處理 Example: >>> manager = DataQualityManager() >>> quality_report = manager.check_data_quality(df) >>> cleaned_data = manager.clean_...
Python
verflow-x: hidden;\n text-overflow: ellipsis;\n white-space: nowrap; }\n\n.request-user-group-item {\n padding: 8px 15px 5px; }\n\n.field-section {\n padding: 0 15px; }\n .field-section input[type=\"text\"] {\n border: 1px solid #3D464F;\n outline: none;\n width: 98%; }\n\n.request-summary-group-item-ente...
JavaScript
LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT 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 SOF...
Assembly
[arr[i], arr[j]] = [arr[j], arr[i]]; } return arr; } export const fillGrid = (grid: IGrid, generate: boolean, countAll: boolean): number => { // TODO: keep track of empty cells in IGrid rather than re-calcing on every recurse const empty = getEmpty(grid); if(empty === null) return 1; ...
Typescript
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from winrt/windows.ui.notifications.h in the Windows SDK for Windows 10.0.26100.0 // Original source is Copyright © Microsoft. All rights reserved. using System; ...
C#
lot&lt;/em&gt; of effort went into making this effortless</subtitle> <updated>2005-07-31T12:29:29Z</updated> <id>tag:example.org,2003:3</id> <link rel="alternate" type="text/html" hreflang="en" href="http://example.org/"/> <link rel="self" type="application/atom+xml" href="http://example.org/feed.atom"/> <rig...
Kotlin