content
stringlengths
2
6.21k
label
stringclasses
16 values
rList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(13, monsterList_.get(i)); } if (isForMark_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(15, isForMark_); } size += unknownFields.getSerialized...
Java
.343 2-3 2m0-8c1.11 0 2.08.402 2.599 1M12 8V7m0 1v8m0 0v1m0-1c-1.11 0-2.08-.402-2.599-1M21 12a9 9 0 11-18 0 9 9 0 0118 0z"/> </svg> </div> <div> <h2 class="text-2xl font-bold text-indigo-800">Savings & Loans Service</h2> <p class="text-gray-600">Sa...
HTML
eight:1.52941;font-weight:600;letter-spacing:-.021em;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;color:var(--color-figure-gray-secondary);margin:0}.declaration-diff-current[data-v-ce20ce9a],.declaration-diff-previous[data-v-ce20ce9a]{padding-top:5px}.declaration-diff-previous[data-v-ce20ce9a]{background-color...
CSS
= cursorSize * 1.5f; Vector pos; pos = m_editCursorPos; AddDirectionVector( &pos, NORTH, offset ); NDebugOverlay::Text( pos, "N", false, NDEBUG_PERSIST_TILL_NEXT_SERVER ); pos = m_editCursorPos; AddDirectionVector( &pos, SOUTH, offset ); NDebugOverlay::Text( pos, "S", false, NDEBUG_PERSIS...
C++
言的错误处理</h4> <p>Go 语言的函数支持多返回值,所以,可以在返回接口把业务语义(业务返回值)和控制语义(出错返回值)区分开来。Go 语言的很多函数都会返回 result, err 两个值,于是:</p> <ul> <li>参数上基本上就是入参,而返回接口把结果和错误分离,这样使得函数的接口语义清晰;</li> <li>而且,Go 语言中的错误参数如果要忽略,需要显式地忽略,用 _ 这样的变量来忽略;</li> <li>另外,因为返回的 <code>error</code> 是个接口(其中只有一个方法 <code>Error()</code>,返回一个 <code>string</code> ),所以你可以扩展自定义的错误...
HTML
'C' - returns single string compressed version of a cellstr, such as '/data/pic{01,12,23}.img'. Second argument is a structure with fields: .s - start string (E.g. '/data/pic') .m - middle bits cellstr (E.g...
HTML
/* * SPDX-FileCopyrightText: 2017 Kitsune Ral <kitsune-ral@users.sf.net> * * SPDX-License-Identifier: LGPL-2.1-or-later */ #pragma once #include <QtCore/QFlags> #include <QtWidgets/QDialog> #include <QtWidgets/QDialogButtonBox> #include <QtWidgets/QVBoxLayout> class QAbstractButton; class QLabel; class Dialog :...
C
机械设备、机车车辆以及市场上急需的某些轻工业产品的生产需要,分散使用重要原材料是不对的。物资的调拨计划和收购计划必须完成。人民公社的物资 要服从县的调拨,县的物资要服从省、市、自治区的调拨,省、市、自治区的物资要服从中央的调拨。地区之间、企业之间的物资调拨必须遵守合同制度。合同规定 给什么就给什么,规定给多少就给多少,规定什么时候给就什么时候给。 </p> <p> 全国一盘棋,统一安排基本建设项目,统一安排主要产品的生产,统一分配原材料,统一调拨和收购两大部类的主要物资,会不会妨碍各级领导机关和各部门在执行 中央指示、国家计划中的灵活性和主动精神呢?不会的。各级领导机关和各部门在贯彻执行中央指示、国家计划时的主动精神和...
HTML
client.on('connect', () => { resolve(null); }); client.on('error', (err: Error) => { reject(err); }); }); } /** * publish a topic with a payload * @param subject * @param data */ export function publish(subject: string, data: { [key: string]: any }): void { client.publish(subject, JSO...
Typescript
if (multiFeatureIndex < 0) multiFeatureIndex = coords.length + multiFeatureIndex; if (geometryIndex < 0) geometryIndex = coords[multiFeatureIndex].length + geometryIndex; if (coordIndex < 0) coordIndex = coords[multiFeatureIndex][geometryIndex].length - coordIndex; re...
JavaScript
a) { var data = JSON.parse(data); var tip = ""; if(budget !=0 && budget !== null && budget > data.availableBudget) var tip = "<tr><td></td><td colspan='2'><span id='beyondBudgetTip' class='text-remind'><p>" + budgetOverrun + currencySymbol[data.budgetUnit] + data.availableBudget + "</p><p i...
JavaScript
endif // AUTO_REDUCE_DT only works for DT_LEVEL_FLEXIBLE if ( AUTO_REDUCE_DT && OPT__DT_LEVEL != DT_LEVEL_FLEXIBLE ) { AUTO_REDUCE_DT = false; PRINT_RESET_PARA( AUTO_REDUCE_DT, FORMAT_INT, "since OPT__DT_LEVEL != DT_LEVEL_FLEXIBLE" ); } // FLAG_BUFFER_SIZE on different levels // levels other...
C++
r#""#) .file("foo/Cargo.toml", r#" [package] name = "foo" version = "0.2.0" authors = [] "#) .file("foo/src/lib.rs", r#""#); assert_that(p.cargo_process("build"), execs().with_status(0).with_stderr("\ [UPDATING] registry `file...
Rust
Iterable from typing import TextIO from liquid2 import BlockNode from liquid2 import Node from liquid2 import TagToken from liquid2.builtin import Identifier if TYPE_CHECKING: from liquid2 import Expression from liquid2 import RenderContext from liquid2 import TokenT from liquid2.builtin import Keywo...
Markdown
DateTime.Now.Date; start = new DateTime(end.Year, end.Month, 1, 0, 0, 0, DateTimeKind.Local); } return (start, end); } catch { return (DateTime.MinValue, DateTime.MinValue); } } private static (DateTime, DateTime) GetYearStartEndDates(Dictionary<string, string> tagParams) { var y...
C#
ownload.pytorch.org/whl/cu128 git clone https://github.com/vllm-project/vllm.git cd vllm python use_existing_torch.py pip install --upgrade setuptools twine setuptools-scm pip install -r requirements/cuda.txt export MAX_JOBS=4 pip install -vvv -e . --no-build-isolation VLLM_TARGET_DEVICE=cuda python setup.py b...
Markdown
from_flag))] pub debug: std::sync::atomic::AtomicBool, #[clap(subcommand)] pub cmd: T, } impl<T: clap::FromArgMatches + clap::Subcommand> Cli<T> { pub async fn gas_opts(&self) -> Result<GasOptions, TerraRustCLIError> { if self.gas_price == "auto" { let client = reqwest::Client::new()...
Rust
/* This file is part of Telegram Desktop, the official desktop application for the Telegram messaging service. For license and copyright information please follow this link: https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL */ #pragma once #include "media/streaming/media_streaming_common.h" #include "medi...
C
mageList) SetImages(v []VulnerableImage) { o.Images = v } func (o PaginatedVulnerableImageList) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if o.Page != nil { toSerialize["page"] = o.Page } if o.NextPage != nil { toSerialize["next_page"] = o.NextPage } if o.ReturnedCount != nil {...
Go
code SocketAddress} that the socket is bound to, or the * {@code SocketAddress} representing the loopback address if * denied by the security manager, or {@code null} if the * channel's socket is not bound * * @throws ClosedChannelException {@inheritDoc} * @...
Java
五雷束腕複製品", [78297] = "五雷之索複製品", [78298] = "五雷之靴複製品", [78299] = "五雷肩鎧複製品", [78300] = "五雷外衣複製品", [78301] = "五雷褶裙複製品", [78302] = "光鑄腰帶複製品", [78303] = "光鑄護手複製品", [78304] = "光鑄護腕複製品", [78305] = "光鑄腿鎧複製品", [78306] = "光鑄胸甲複製品", [78307] = "光鑄頭盔複製品", [78308] = "光鑄肩甲複製品", [78309] = "光鑄長靴複製品", [78310] = "魂鑄長靴複製品", [78311] = "魂鑄腰帶複...
Lua
syntax: { js: [], py: [ { syntax: 'avatarbot.get_mpu6050_detail(%1, %2)', blockType: 'param', textParams: [ ], }, ], ...
JavaScript
chatWallpaper: Wallpaper? ): ChatStyle? { if (chatColors == null && chatWallpaper == null) { return null } if (chatColorId == ChatColors.Id.NotSet && chatWallpaper == null) { return null } val chatStyleBuilder = ChatStyle.Builder() if (chatColors != null) { when (chatC...
Kotlin
Delete) command</TITLE> <LINK href="style.css" rel="stylesheet" type="text/css"> </HEAD> <BODY> <H1>d (Delete) command</H1> <P>Deletes files from archive.</P> <H4>Example</H4> <PRE class="example"> 7z d archive.zip *.bak -r </PRE> <P>deletes <SPAN class="filename">*.bak</SPAN> files from archive <SPAN class...
HTML
575px) { .custom-overlapping-cards { flex-wrap: wrap; justify-content: center; } .custom-overlapping-cards > .card:nth-child(1) { max-width: 80%; } .custom-overlapping-cards > .card:nth-child(2) { margin-top: 50px; max-width: 80%; transform: none; } .custom-overlapping-cards > .ca...
CSS
709 Qm9zdG9u 31710 IFRlbXBs 31711 c3RheQ== 31712 IGRlY2xhcmF0aW9ucw== 31713 NDc5 31714 Vm9sdW1l 31715 IERlc2lnbmVy 31716 IE92ZXJ3YXRjaA== 31717 aWRhZQ== 31718 IG9ud2FyZHM= 31719 IG5ldHM= 31720 IE1hbmlsYQ== 31721 cGFydGljdWxhcmx5 31722 IHBvbGl0aWM= 31723 b290aGVy 31724 IHBvcnRyYWl0cw== 31725 IHBhdmVtZW50 31726 Y2ZmZmY= ...
Kotlin
--object-pinned /sys/fs/bpf/match -j DROP </code></pre> <!--kg-card-end: markdown--> <p>このヒントのおかげで、正しい道に進むことができました。Iptablesは <a href="https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/net/netfilter/xt_bpf.c#n60"> xt_bpf</a>拡張を使用して、eBPFプログラムでマッチングします。この拡張機能はBPF_PROG_TYPE_SOCKET_FILTER eBPFプログラムタイ...
HTML
enum AVSampleFormat sample_fmt, int align); /** * Copy samples from src to dst. * * @param dst destination array of pointers to data planes * @param src source array of pointers to data planes * @param dst_offset offset in samples at which the data will be written to dst * @param src_offset offset in samples at ...
C
); context.getCurrentHandler().text(value); return ; } break; case 3 : revertToParentFromText(value); return ; ...
Java
setcr s24, CR_INTERRUPT_ENABLE # Set up registers move s1, 1000 move s2, 7 move s3, 17 move s4, 31 # Main loop. Do some computations to ensure state is handled correctly. 1: ...
Assembly
0(r30) /* 8032DFE4 0032ADE4 C0 22 DA 20 */ lfs f1, lbl_805E4120@sda21(r2) /* 8032DFE8 0032ADE8 38 84 FF FF */ addi r4, r4, 0x0000FFFF@l /* 8032DFEC 0032ADEC C0 42 DA 78 */ lfs f2, lbl_805E4178@sda21(r2) /* 8032DFF0 0032ADF0 4B F5 B6 8D */ bl func_8028967C /* 8032DFF4 0032ADF4 3C 80 00 01 */ lis r4, 0x0000FFFF@ha ...
Assembly
inal double y) { this.y = y; } /** * Get the <i>z</i> coordinate. * * @return the <i>z</i> coordinate. * * @since vecmath 1.5 */ public final double getZ() { return z; } /** * Set the <i>z</i> coordinate. * * @param z * value to <i>z</i> coordinate. * * @since vecmath 1.5 ...
Java
lor: #cccccc; } .swal2-input::-moz-placeholder, .swal2-file::-moz-placeholder, .swal2-textarea::-moz-placeholder { color: #cccccc; } .swal2-input:-ms-input-placeholder, .swal2-file:-ms-input-placeholder, .swal2-textarea:-ms-input-placeholder { color: #cccccc; } .swal2-input::-ms-input-placeholder, .swal2-file::-ms-...
CSS
e Range(object index) { return Factory.ExecuteKnownReferenceMethodGet<NetOffice.PowerPointApi.SlideRange>(this, "Range", NetOffice.PowerPointApi.SlideRange.LateBindingApiWrapperType, index); } /// <summary> /// SupportByVersion PowerPoint 9, 10, 11, 12, 14, 15, 16 /// </summary> /// <remarks> Docs: <see...
C#
erviewRuler-incomingContentForeground: rgba(64, 166, 255, .5);--vscode-editorOverviewRuler-commonContentForeground: rgba(96, 96, 96, .4);--vscode-editorOverviewRuler-findMatchForeground: rgba(209, 134, 22, .49);--vscode-editorOverviewRuler-selectionHighlightForeground: rgba(160, 160, 160, .8);--vscode-minimap-findMatch...
HTML
AL BUFFERS Name Total elements Utilization Notes --------------------------------------------------- GLOBAL 1 7.69 % =================================================== Total GLOBAL BUFFERS in the block PF_DDR4_SS_DDRPHY_BLK.PF_DDR4_SS_DDRPHY_BLK_LANECTRL_ADDR_CMD_0_PF_...
HTML
FORMATION_03); } void Register() override { OnEffectHit += SpellEffectFn(spell_dragonblight_end_of_the_line_quest_completion_script::HandleScript, EFFECT_0, SPELL_EFFECT_SCRIPT_EFFECT); } }; /*###### ## Quest 12028: Spiritual Insight ######*/ enum SpiritualInsight { SPELL_SPIRITUAL_INSIGH...
C++
“巫术”折磨,他表现出一定的顽抗,甚至能感受到痛苦但冰锥刺穿的伤口疼痛却被麻痹,暗示寒檀使用了某种萨米法术或源石技艺进行审讯。他透露了自己正在追踪的目标是“黑印”,即一名失踪的乌萨斯皇帝内卫。他找到了“黑色的足迹”,并判断这名内卫已经被邪魔完全占据,“国度已经坍塌”。他明白自己即将死亡,无法将这一情报传回乌萨斯,并带着讽刺的语气告诉寒檀她会后悔,因为他的死亡只会让萨米遭受更多麻烦。他的存在揭示了乌萨斯在萨米进行秘密行动的事实,以及他们对冰原及其中邪魔的关注。他的死亡也为剧情留下了悬念,关于“黑印”的下落和乌萨斯行动的真实目的仍未完全揭示。 ## 剧情高光 被寒檀发现并审问,透露了“黑印”的身份及已被邪魔占据的情报。临死前他向寒檀表示...
Markdown
ervedBits(7, 0); disp << ", position: " << UString::Format(u"%d%d%d.%d ", (_orbital_position & 0xF000) >> 12, (_orbital_position & 0x0F00) >> 8, ...
C++
) require.NoError(t, createPipeline(createArgs{ client: bobClient, name: aliceCrossPipeline, input: client.NewCrossInput( client.NewPFSInput(pfs.DefaultProjectName, dataRepo1, "/*"), client.NewPFSInput(pfs.DefaultProjectName, dataRepo2, "/*"), ), update: true, })) infoAfter, err = aliceClient.Inspe...
Go
.coordsArr; const distance = Math.hypot(x1 - x2, y1 - y2); if (r1 <= r2 + distance && r2 <= r1 + distance) { warn("Unsupported radial gradient."); } } this.extendStart = extendStart; this.extendEnd = extendEnd; const fnObj = dict.getRaw("Function"); const fn = pdfFunctionFa...
JavaScript
arButton2, navbarButton3, navbarButton4, navbarButton5 }; for(int i = 0; i < buttons.Length; i++) { buttons[i].Click += new EventHandler(OnClickButton); buttons[i].Text = Constants.NAVBAR_BUTTON_TEXT_ARRAY[i]; } } public void OnClickButton(object...
C#
class Solution: def combinationSum4(self, nums: List[int], target: int) -> int: dp = [0] * (target + 1) dp[0] = 1 for i in range(1, target + 1): for num in nums: if i - num >= 0: dp[i] += dp[i - num] return dp[target]
Python
"pending")return clearInterval(h),u(t[l]);if(f>100)return clearInterval(h),c("Unexpected error while fetching from "+l);f++},50)})}for(var a=0;a<e.length;a++){var o=e[a][0].trace,s=o.geojson;typeof s=="string"&&(t[s]?t[s]==="pending"&&r.push(i(s)):(t[s]="pending",r.push(n(s))))}return r}function LFt(e){return xFt(e)}$R...
HTML
1LTvPy8/6qckeKZ1BsrR4seSfKZdnZ9+9m60cH2e3t9I0I9Vagxfp+a2ro+NyBQ6YnS0fz/hfXgi0QAIYlF6iugwCAMJjrMAwDE3T8FdkMckhX60BAAkHiDAOgXGBxXhSi/NLuC5TAc3ooo4D+H28Nme1axaLBfkP9PF6mW9lmcVsNlsg8NidUBtPyke4mo845c9JwT5BzJbx5Tc3IW9Gxq1d6EizdXxEvWHZiZiBAPvMIMtOGWAevzl0d0jl7uAIQnaqDxkZ1G6Ah5vjCFOhFJk9yJqdQ0ODOr9GzJ1qHPk1qDM05ExNqDIu9mnYOXi...
CSS
etrtletje', '4. četrtletje'], AMPMS: ['dop.', 'pop.'], DATEFORMATS: ['EEEE, dd. MMMM y', 'dd. MMMM y', 'd. MMM yyyy', 'd. MM. yy'], TIMEFORMATS: ['HH:mm:ss zzzz', 'HH:mm:ss z', 'HH:mm:ss', 'HH:mm'], FIRSTDAYOFWEEK: 0, WEEKENDRANGE: [5, 6], FIRSTWEEKCUTOFFDAY: 6 }; /** * Date/time formatting symbols...
JavaScript
Y && screenId == cellPos.screenId; } @Override public int hashCode() { return Objects.hash(cellX, cellY, screenId); } } } /* * Copyright (C) 2017 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use thi...
Java
�熄灭”论,什么“国家消亡”论,都是弥天大谎。不讲阶级斗争,本身就是资产阶级向无产阶级疯狂进攻的一种形式。主张“国家专政的机构可以缩小”,就是希望缩小无产阶级对资产阶级专政的职能,而大大扩大资产阶级对无产阶级的专政。这是一场你死我活的阶级斗争。这场斗争,集中表现为无产阶级同党内一小撮走资本主义道路当权派的斗争,表现为无产阶级司令部和资产阶级司令部的斗争。斗争的焦点始终是一个政权问题。在资产阶级方面,挂帅的人物始终是中国赫鲁晓夫。反革命的“理论”是他提供的,反革命的活动是他策划的,他是中国一切反动势力的总后台。 </p> <p> 在这次空前宏伟、空前深刻的无产阶级文化大革命中,中国赫鲁晓夫再也藏不住了,波澜壮阔的群众运动...
HTML
OP_OFFICE, Warehouse = eStat.MPX_WAREHOUSE_OWNED, Garment = eStat.MPX_HACKER_DEN_OWNED, CarWash = eStat.MPX_SB_CAR_WASH_OWNED, WeedShop = eStat.MPX_SB_WEED_SHOP_OWNED, TourCompany = eStat.MPX_SB_HELI_TOURS_OWNED }, Teleports = { Agency = { -578....
Lua
Self::new(Kind::Batch, Some(e)) } pub fn decode<E: Into<BoxError>>(e: E) -> Self { Self::new(Kind::Decode, Some(e)) } pub fn encode<E: Into<BoxError>>(e: E) -> Self { Self::new(Kind::Decode, Some(e)) } pub fn invalid_proof<E: Into<BoxError>>(e: E) -> Self { Se...
Rust
#!/usr/bin/python3 # class definition of a City """ Define 'City(Base)' class import 'sqlalchemy' """ from sqlalchemy import Column, ForeignKey, Integer, String from sqlalchemy.ext.declarative import declarative_base Base = declarative_base() class City(Base): """Represents a city for a MySQL database. ...
Python
}; function h$$m8() { var a = h$r1; var b = h$stack[(h$sp - 1)]; h$sp -= 4; switch (a) { case ((-1)): h$pp4(h$$nk); return h$e(h$baseZCGHCziConcziSyncziuncaughtExceptionHandler); case (32): h$pp4(h$$m9); return h$e(b); default: h$pp4(h$$nm); return h$e(h$baseZC...
JavaScript
u32) -> &mut Self { self.0.bits(bits); self } } #[doc = "Result of last incoming frame\n\nThis register you can [`read`](crate::generic::Reg::read), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`modify`](cr...
Rust
); else if (rowsPosition.Y > Bounds.Height - AutoScrollMargin) AutoScroll(true); else _autoScrollTimer?.Stop(); } } private void OnDragLeave(RoutedEventArgs e) { StopDrag(); } privat...
C#
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation. * * 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 ...
C#
(err) return } data, err := resp.Marshal() if err != nil { a.Error("PluginRouteResp marshal failed", zap.Error(err)) c.WriteErr(err) return } c.Write(data) return } // ---------- 处理本地节点的请求 ---------- plugin := a.s.pluginManager.get(forwardReq.PluginNo) if plugin == nil { a.Error("plugin h...
Go
got %x", address0, test3.Addresses[0]) } if test3.Addresses[1] != address1 { t.Fatalf("expected address %x, got %x", address1, test3.Addresses[1]) } // single topic var test4 FilterCriteria vector = fmt.Sprintf(`{"topics": ["%s"]}`, topic0.Hex()) if err := json.Unmarshal([]byte(vector), &test4); err != nil {...
Go
dersApp extends StatefulWidget with GetItStatefulWidgetMixin { WondersApp({super.key}); @override State<WondersApp> createState() => _WondersAppState(); } class _WondersAppState extends State<WondersApp> with GetItStateMixin { @override void didChangeDependencies() { if (kIsWeb) { appLogic.precach...
Dart
Tree') { store.classList.add('cardboard'); const ran = Math.floor(Math.random() * 2) + 1; store.style.backgroundImage = `url('/Art/Sprites/Objects/props/druid_tree${ran}.png')`; } if (info === 'corpse') { store.setAttribute('name', 'Corpse'); store.classList.add('cardboard'); ...
JavaScript
/* * @vm_libstring.h * * @brief Stack VM * @details * This is based on other projects: * Tiny language: https://github.com/goodpaul6/Tiny * Others (see individual files) * * please contact their authors for more information. * * @author Emiliano Augusto Gonzalez (egonzalez . hiperion @ gmail . com) * ...
C
�र ट्रैकिंग। </p> ## वास्तविक दुनिया के अनुप्रयोग | परिवहन | खुदराबाज़ार | जलजीवाणुजनित उत्पादन | |:-------------------------------:|:-----------------------------:|:----------------------------:| | ![वाहन ट्रैकिंग][vehicle track] | ![लोग ट्रैकिंग][people track] | !...
Markdown
/* GTK+ - accessibility implementations * Copyright 2001 Sun Microsystems Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your opti...
C
if (m_Election.CanBeCandidate(m_From)) { AddButton(20, 110, 4005, 4007, 2, GumpButtonType.Reply, 0); AddHtmlLocalized(55, 110, 350, 20, 1011427, false, false); // CAMPAIGN FOR LEADERSHIP } els...
C#
currentcolor" d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 0 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 1 0-1.42-1.42Zm8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 0 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 1 ...
HTML
Phoebe:</b> It&#146;s slang for pregnant.</p> <p><b>Rachel:</b> Phoebe!</p> <p><b>Dr. Green:</b> Are you really pregnant?</p> <p><b>Rachel:</b> Well uh, yes and no. Except not no. So to sum it up, yeah.</p> <p><b>Dr. Green:</b> Who is the father? Oh no! Please don&#146;t tell me it&#146;s her! (Points at Phoebe.)</...
HTML
, U+bee6-bf06) ); /* noto-sans-kr-[39]-400-normal */ @include font.face( $family: $krFamily, $url: "~@fontsource/noto-sans-kr/files/noto-sans-kr-39-400-normal.woff2", $range: (U+bdb0-bdd3, U+bdd5-bdef, U+bdf1-be0b, U+be0d-be0f, U+be11-be13, U+be15-be43, U+be46-be47, U+be49-be4b, U+be4d-be53) ); /* noto-sa...
CSS
ther express or implied. // See the License for the specific language governing permissions and // limitations under the License. import 'dart:async'; import 'dart:html'; import 'dart:js'; import 'dart:js_util' as jsutil; import 'dart:math'; import 'dart:typed_data'; import 'package:dart_webrtc/src/rtc_transform_stre...
Dart
} p1 = x + vmin[y]; p2 = x + vmax[y]; rsum += r[p1] - r[p2]; gsum += g[p1] - g[p2]; bsum += b[p1] - b[p2]; yi += width; } } return Bitmap.createBitmap(blurredBitmap, width, height, ...
Java
(y: number, x: number, v: number) => void) { for (let i: number = 0; i < this.size; i++) { for (let j: number = 0; j < this.size; j++) { handle(i, j, this.map[i][j]); } } } clone(): GraphMap { let sm: GraphMap = new GraphMap(this.size); f...
Typescript
EpochDay(days, calendar); } /// Gets the calendar system associated with this local date. CalendarSystem get calendar => ICalendarSystem.forOrdinal(_yearMonthDayCalendar.calendarOrdinal); /// Gets the year of this local date. /// This returns the 'absolute year', so, for the ISO calendar, /// a value of 0...
Dart
{ using (var s = OpenSession()) { var id = scenario.A.Id; s.Get<A>(id); Assert.That(() => s.Get<INamed>(id), Throws.Nothing); } } } [Test] public void WhenGetInheritedClassUsingInterfaceFromSessionCache
C#
#pragma once #pragma warning (push) #pragma warning (disable:4100 4127 4800 4512 4245 4291 4510 4610 4324 4267 4244 4996) #include <llvm/Support/raw_ostream.h> #include <clang/AST/PrettyPrinter.h> #include <clang/AST/Decl.h> #include <clang/AST/DeclTemplate.h> #pragma warning (pop) namespace clang_utilities { // Ada...
C
function(){"use strict";function a(a){this.AbstractLoader_constructor(a,!0,createjs.AbstractLoader.JSON),this.resultFormatter=this._formatResult}var b=createjs.extend(a,createjs.AbstractLoader),c=a;c.canLoadItem=function(a){return a.type==createjs.AbstractLoader.JSON&&!a._loadAsJSONP; },b._formatResult=function(a){var...
JavaScript
/* * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved. * Copyright (c) 2020-2021 Huawei Device Co., Ltd. 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. Redist...
C
option.Secret = "secret";//签名校验 }); }); IServiceProvider serviceProvider = services.BuildServiceProvider(); _feishuProvider = serviceProvider.GetService<IFeishuProvider>(); } [Fact] public async Task Feishu_Send_Should_Be_Succeed() ...
C#
value = record -> fields[x_iterator]; x_iterator += 1; return true; } //////////////////////////////////////////////////////////////////////////////// void __MCRecordDestroy(__MCRecord *self) { MCTypeInfoRef t_resolved_typeinfo; t_resolved_typeinfo = __MCTypeInfoResolve(self -> typeinfo); ...
C++
using System; using System.Collections.Generic; using System.Linq; using System.Text; using NUnit.Framework; using Moq; using System.Globalization; using System.Web.UI; using AjaxControlToolkit.Reference.Core.Rendering; namespace AjaxControlToolkit.Tests { [TestFixture] public class CodePlexDocRendererTests ...
C#
ui.content.Content import com.intellij.ui.scale.JBUIScale import com.intellij.util.ui.* import java.awt.BorderLayout import java.awt.Dimension import java.awt.GridBagLayout import javax.swing.* class ArendToolWindowSession(project: Project) : ComponentSession() { private val service = project.service<ArendSessions...
Kotlin
ISimpleTrigger trigger, JsonSerializerOptions options) { writer.WriteNumber(options.GetPropertyName("RepeatCount"), trigger.RepeatCount); writer.WriteString(options.GetPropertyName("RepeatIntervalTimeSpan"), trigger.RepeatInterval); writer.WriteNumber(options.GetPropertyName("TimesTriggered...
C#
25 # DW_FORM_flag_present .byte 105 # DW_AT_signature .byte 32 # DW_FORM_ref_sig8 .byte 0 # EOM(1) .byte 0 # EOM(2) .byte 0 # EOM(3) .sect...
Assembly
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. namespace Microsoft.Psi.MixedReality.StereoKit { using global::StereoKit; /// <summary> /// Base class for StereoKit rendering components. /// </summary> /// <remarks>This class ensures that rendering ...
C#
m the parseStack and assemble into a * list to be pushed. */ fun emitWrapped(expression: Expression, listSize: Int) { assert(delayedArgumentInstructions.isEmpty()) assert(listSize >= 0) if (listSize == 0) { emit(expression, EmptyList) } else { emit(expression, WrapInList(listSize)) } } ...
Kotlin
buttons?: { /** * Display text of the button */ text: string; /** * The value to be returned when the button is selected. */ value: number | string; }[]; /** * Event handler for button selection */ onSelect?: (value: number | string) => void; } export class Dialog ext...
Typescript
rocs++ p.Pid = p.cmd.Process.Pid p.StartedAt = time.Now() // Start watching the process for when it quits. go func() { defer close(p.exit) // Wait for the process to exit. err := p.cmd.Wait() if err != nil && p.group.ctx.Err() == nil { p.log.Error().Err(err).Msg("process exited with error") } else {...
Go
告" property="title"/> <meta content="1960-6-26" property="date"/> <meta content="中共罗山县委检查组" property="authors"/> <script type="application/ld+json"> {"title": "\u5173\u4e8e\u57ce\u5173\u516c\u793e\u6731\u5c97\u5927\u961f\u5f90\u7956\u5fb7\u5728\u4e09\u53cd\u8fd0\u52a8\u4e2d\u81ea\u6740\u60c5\u51b5\u7684\u68c0\...
HTML
KitRenderer get instance => _instance; static late CanvasKitRenderer _instance; Future<void>? _initialized; @override String get rendererTag => 'canvaskit'; late final SkiaFontCollection _fontCollection = SkiaFontCollection(); @override SkiaFontCollection get fontCollection => _fontCollection; /// ...
Dart
or both", func() { It("should set these transports", func(done Done) { s, err := NewServer(context.TODO(), UseHub(&singleHub{}), HTTPTransports(TransportWebSockets), testLoggerOption()) Expect(err).NotTo(HaveOccurred()) Expect(s.availableTransports()).To(ContainElement(TransportWebSockets)) close(do...
Go
tton_press_styles: wintc_define_props_borders( $taskband_button_press_styles, false, undefined, undefined, undefined, undefined, undefined, undefined, url("../Resources/taskband_button_press_border.png") ); $taskband_button_press_styles: ...
CSS
s.io/github/license/huggingface/transformers.svg?color=blue"> </a> <a href="https://huggingface.co/docs/transformers/index"> <img alt="Documentation" src="https://img.shields.io/website/http/huggingface.co/docs/transformers/index.svg?down_color=red&down_message=offline&up_message=online"> </a> <...
Markdown
96v-15.857h-2.894v-3.164h2.894v-1.74c0-2.11.584-3.738 1.753-4.887 1.17-1.148 2.806-1.722 4.91-1.722.749 0 1.544.105 2.386.316l-.105 3.34a8.375 8.375 0 0 0 -1.631-.14c-2.035 0-3.052 1.048-3.052 3.146v1.687h3.858v3.164h-3.858v15.856h-4.261zm17.87-6.117 3.858-12.903h4.542l-7.54 21.903c-1.158 3.199-3.122 4.799-5.893 4.799-...
HTML
Or Perish (Robo Sumo), Mecha Kickoff (Robo Soccer)", 229-3,Paramesh h N,"PES College of Engineering, Mandya","Push Or Perish (Robo Sumo), Mecha Kickoff (Robo Soccer)", 308-0,Chethan Kumar P,"PES College of Engineering, Mandya",Mecha Kickoff (Robo Soccer), 310-0,Sakshath M ,"PES College of Engineering, Mandya",Bridge G...
HTML
<String>) { throwException() classCast() genericClassCast() }// FILE: fieldGetters.kt package fieldGetters import forTests.FieldsGetters import forTests.FieldsGetters.* fun main(args: Array<String>) { //Breakpoint! val a = 5 } class K1 { val a: Int = 0 get() = field + 1 } class K2 { ...
Kotlin
#!/usr/bin/env python3 """ JWT Token Generator for Titanic ML Service This script generates JWT tokens for testing the authentication system. It uses the same configuration and auth services as the ML service. Usage: cd 2-ml-service python scripts/generate_jwt.py --user-id test123 --expires-in 3600 python...
Python
3.724 1.49.376.874Zm11.057 7.055c0-3.356-2.73-6.08-6.09-6.08a6.074 6.074 0 00-6.08 6.08c0 1.193.328 1.756.713 2.077l.854.712c1.163.296 2.643.296 4.27.295h.378c1.652 0 3.17 0 4.363-.306l.87-.72c.393-.325.722-.886.722-2.058Zm3.12 11.08a9.165 9.165 0 00-2.473-6.274c-.202.43-.476.784-.811 1.074h.084v5.35c0 .056-.007.11-.02...
Dart
-shadow:0 0 0 0 rgba(217,130,43,0),0 0 0 0 rgba(217,130,43,0),inset 0 0 0 1px #d9822b,inset 0 0 0 1px rgba(16,22,26,.15),inset 0 1px 1px rgba(16,22,26,.2)}.bp3-input-group.bp3-intent-warning .bp3-input:focus{box-shadow:0 0 0 1px #d9822b,0 0 0 3px rgba(217,130,43,.3),inset 0 1px 1px rgba(16,22,26,.2)}.bp3-input-group.bp...
CSS
kopyası olduğunda ve hepsi load-balanced olduğunda, kurulumumuz daha güvenlidir. Bu senaryoda eğer Node 1 yeniden başlatılsaydı veya çökseydi, hala uygulama ve database pod’larının çalıştığı ikinci bir node’umuz olurdu. Uygulama, bu iki replikadan yeniden oluşturulana kadar kullanıcı tarafından erişilebilir olacaktır,...
HTML
/* for newer MS Edge */ @supports (-ms-ime-align:auto) { .nehan-vert-glyph { height:1em; max-height:1em; } } .nehan-inline.nehan-inline-tb-rl, .nehan-inline.nehan-inline-tb-lr{ -webkit-locale:'ja'; } .nehan-inline.nehan-inline-lr-tb{ float:left; white-space:nowrap; text-overflow:clip; -webkit-tex...
CSS
觉映射根据值的大小,动态控制线条的颜色、形状、大小等,与配置中的“视觉映射”配合使用,当需要的值不在其他栏目中时,可将该栏目拖拽到此处。 图表过滤:只对当前图表的数据进行过滤 全局过滤:对整个报表的数据进行过滤,同时也可在表格中对数据进行过滤,2 处操作产生效果相同 ## 配置项 ### 数据 开启增量刷新: 当数据量比较大且动画定时刷新图表数据时,可以开启该功能,页面切换更流畅 显示数据下钻按钮:当数据栏的分组下有多个栏目时,开启该功能会在组件右上角显示数据的下钻相关按钮 显示数据查看按钮:开启该功能会在组件右上角显示数据查看按钮 显示全屏按钮:开启该功能会在组件右上角显示全屏展开按钮 影响数据范围:在有数据下钻...
Markdown
and is * compatible with `application/json`. */ fun Encoder(moshi: Moshi): BodyAdapter.Encoder = MoshiAdapter.Encoder(moshi, MediaType.APPLICATION_JSON) /** * Creates an encoder that uses the given [Moshi] instance for encoding objects and is * compatible with the given media types. ...
Kotlin
Id, AccountId> where Balance: Codec + MaybeDisplay + MaybeFromStr, TokenId: Codec + MaybeDisplay + MaybeFromStr, AccountId: Codec + MaybeDisplay + MaybeFromStr,{ fn calculate_sell_price( input_reserve: Balance, output_reserve: Balance, sell_amount: Balance ) -> RpcResult<Balance>; fn calculate_buy_...
Rust