content
stringlengths
2
6.21k
label
stringclasses
16 values
class GameDirection: def __init__(self, title, point_guide, objective, control, title_color, images): self.title = title self.point_guide = point_guide self.objective = objective self.control = control self.title_color = title_color self.images = images def get_...
Python
/* -*- c++ -*- */ // // discriminant_ci.h,v 1.2 1998/10/20 02:32:37 levine Exp // // ============================================================================ // // = LIBRARY // TAO IDL // // = FILENAME // discriminant_ci.h // // = DESCRIPTION // Visitor for the Union class. // This one generates code...
C
23e;--bs-green: #1cc88a;--bs-teal: #20c9a6;--bs-cyan: #36b9cc;--bs-white: #fff;--bs-gray: #858796;--bs-gray-dark: #5a5c69;--bs-gray-100: #f8f9fc;--bs-gray-200: #eaecf4;--bs-gray-300: #dddfeb;--bs-gray-400: #d1d3e2;--bs-gray-500: #b7b9cc;--bs-gray-600: #858796;--bs-gray-700: #6e707e;--bs-gray-800: #5a5c69;--bs-gray-900:...
CSS
изнаков из изображения: - фильтр со сверточным слоем - обнаружить с активацией ReLU - конденсировать с максимальным объединяющим слоем Операции свертки и объединения имеют общую особенность: они оба выполняются в скользящем окне. При свертке это «окно» задается размерами ядра, параметром kernel_size. При объединени...
Markdown
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com> // SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0) #pragma once #include "core/types.h" #include <QtWidgets/QComboBox> #include <QtWidgets/QGroupBox> #include <QtWidgets/QLineEdit> #include <QtWidgets/QVBoxLayout> #include <QtWidgets/QWi...
C
}); } } import { performance } from 'perf_hooks'; const timingZone = Zone.current.fork({ name: 'timingZone', onInvoke: function ( parentZoneDelegate, currentZone, targetZone, callback, applyThis, applyArgs, source ) { var start = performance.now(); parentZoneDelegate.invoke(targetZone, c...
Typescript
fun upLgMoreConfig(canvas: Canvas) { val lg = LinearGradient( mRadius * 2, control1!!.y, (mView_W / 2).toFloat(), control2!!.y + dp2px(2f), Color.rgb(255, 196, 0), Color.rgb(255, 105, 83), Shader.TileMode.CLAMP ) mPaint!!.shader = lg // 画虚线 canvas.drawLi...
Kotlin
--ifm-font-family-monospace);font-size:inherit;line-height:var(--ifm-pre-line-height);white-space:pre;float:left;min-width:100%;padding:var(--ifm-pre-padding)}.anchor{display:block;position:relative;top:-.5rem;outline:none}.hash-link{opacity:0;position:absolute;margin-left:-1.25rem;padding-right:1.25rem}:hover>.hash-li...
CSS
return this.http.post<boolean>(url,scheduleTraining).pipe( tap(_ => this.log("training scheduled")), catchError(this.handleError('addTraining',false)) ); } //////// Save methods ////////// /** POST: add a new training to the server */ /** addTraining (training: Training[], trainer: ...
Typescript
assert(dt, "LUBE: No dt passed to lube.client:update") self:doPing(dt) local success, data = self:receive() while success do self.callback(data) success, data = self:receive() end end --- Enable connecting to the broadcast address function lube.client:enableBroadcast() return self.socket:setoption("broadcas...
Lua
H6KWfmYpLTwMIZXVESxMi2BP3rGVtsTkPsbDajuO5ueQw.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000; } /* vietnamese */ @font-face { font-family: 'Source Sans Pro'; font-style: italic; font-weight: 400...
CSS
float pointSizeScale = (constPointSize) ? 2. : pixelRatio;\n\nbool isDirect = (paletteSize.x < 1.);\n\nvec4 getColor(vec4 id) {\n return isDirect ? id / 255. : texture2D(palette,\n vec2(\n (id.x + .5) / paletteSize.x,\n (id.y + .5) / paletteSize.y\n )\n );\n}\n\nvoid main() {\n // ignore inactive poi...
HTML
ocs(chaptersRef({ bookId: book.id })) if (!chapters) return await Promise.all( chapters.map((chapter) => deleteDoc(chapterRef({ bookId: book.id, chapterId: chapter.id }))) ) const chapterImagePaths = chapters .map((chapter) => chapter.images) .map((images) => images.map((image) => image.path)) ...
Typescript
slot0 = class("PrayPoolMediator", import("..base.ContextMediator")) function slot0.register(slot0) slot0:bind(PrayPoolConst.CLICK_INDEX_BTN, function (slot0, slot1) uv0:addSubLayers(Context.New({ mediator = IndexMediator, viewComponent = IndexLayer, data = slot1 })) end) slot0:bind(PrayPoolConst.CLICK_...
Lua
: none; } .wpforms-clear:before { content: " "; display: table; } .wpforms-clear:after { clear: both; content: " "; display: table; } .wpforms-admin-columns > div[class*="-column-"] { float: left; } .wpforms-admin-columns .wpforms-admin-column-20 { width: 20%; } .wpforms-admin-columns .wpforms-admin-...
CSS
ING_CONTACTS_LINK isUrlMatchesRegexUseCase(url, OPEN_SYNC_MEGA_FOLDER_LINK_REGEX) -> OPEN_SYNC_MEGA_FOLDER_LINK isUrlMatchesRegexUseCase(url, HANDLE_LINK_REGEX) -> HANDLE_LINK isUrlMatchesRegexUseCase(url, CONTACT_LINK_REGEX) -> CONTACT_LINK isUrlMatchesR...
Kotlin
"], .wpcnt > .wpa, #BannerBox, #ad-topper, #ad_300X250, #ad_google, #advertRightTopPosition, #banner-top-right, #bannerfloat22, #bb_banner, #blox-top-promo, #bp_banner, #campaign-banner, #extensible-banner, #fb_300x250, #footer-banner, #scorecard-ad, #topBanners, #total_banner, .SC_TBlock, .ad_google, .ad_register_prom...
HTML
style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)"> 2.写api路由模块 就是将路由模块化 因为那边引入进来需要用use来注册同时挂载api前缀</span> const express = require('express'<span style="color: rgba(0, 0, 0, 1)">) const router</span>=<span style="color: rgba(0, 0, 0, 1)"> express.Router()</span><span style="color: rgba(...
HTML
deleteFileGlob('dummy*.txt') expect(helper.fileExists('dummy123.txt')).toEqual(false) }) }) describe('cleanup', () => { it('happy path', () => { const helper = new FileTestHelper() helper.createFile('dummy.txt', 'test') expect(helper.fileExists('dummy.txt')).toEqual(true) help...
Typescript
-inside('.content-menu__item--selected') { @include downward-arrow(p2r(14px), $gray-95, $gray-15); /* 2 */ } } &.content-menu__menu-toggle--open:after { @include upward-arrow(p2r(14px), $gray-60, $gray-15); /* 3 */ @include when-inside('.content-menu__item--selected') { @include ...
CSS
eshToken; await user.save(); return { accessToken, refreshToken }; }; export const verifyRefreshToken = (refreshToken: string): Promise<JwtPayload> => new Promise((resolve, reject) => jwt.verify(refreshToken, process.env.JWT_SECRET!, (err, decodedToken) => { if (err) reject(err); resolve(decodedT...
Typescript
177" class="s85">–</a><a href="part402.htm#bookmark1177" class="s75">346</a></p><p class="s74" style="text-indent: 0pt;text-align: right;"><a href="part401.htm#bookmark1175" class="s75">calling, </a>345<a href="part402.htm#bookmark1177" class="s85">–</a>346 calling base class constructors,</p><p class="s74" style="padd...
HTML
wz r27,0(r11) r27.u64 = PPC_LOAD_U32(r11.u32 + int32_t(0) ); // lis r11,-31927 r11.s64 = -2092367872; // li r30,0 r30.s64 = 0; // addi r28,r11,28344 r28.s64 = r11.s64 + 28344; // addi r26,r10,25360 r26.s64 = ctx.r10.s64 + 25360; // addi r24,r9,2860 r24.s64 = ctx.r9.s64 + 2860; // stw r27,108(r1) PPC_STORE_...
C++
namespace aslam { /// Methods to clone this instance. All contained camera objects are cloned. NCamera* NCamera::clone() const { return new NCamera(static_cast<NCamera const&>(*this)); } NCamera* NCamera::cloneWithNewIds() const { NCamera* new_ncamera = new NCamera(static_cast<NCamera const&>(*this)); aslam::...
C++
C034261 */ jal Matrix_Translate /* 00834 80866544 C42E7BBC */ lwc1 $f14, %lo(D_80867BBC)($at) /* 00838 80866548 8FAB0098 */ lw $t3, 0x0098($sp) .L8086654C: /* 0083C 8086654C 3C018086 */ lui $at, %hi(D_80867BC0) ## $at = 80860000 /* 00840 80866550 C4267BC0 */ lwc1 ...
Assembly
# # @lc app=leetcode id=27 lang=python # # [27] Remove Element # # @lc code=start class Solution(object): def removeElement(self, nums, val): i = 0 for x in nums: if x != val: nums[i] = x i += 1 return i # @lc code=end # add
Python
m/686a6c8358cb8da5c8928c85.png) ### 系统信息设置 提供系统基本信息配置,包括系统名称、Logo和界面主题等,支持自定义系统外观,打造专属的任务调度平台。 ![信息设置界面](https://pic1.imgdb.cn/item/686a6c9158cb8da5c8928c8f.png) # 订阅方案 ## 版本对比 TaskPyro提供三个版本,满足不同用户的需求: | 功能/版本 | 免费版 | 标准版 | 专业版 | | --- | :---: | :---: | :---: | | **基础限制** | | | | | 定时任务数量 | 5个 | 无限制 | 无限制 | | 项目...
Markdown
criterias = { { "query_context", "concept", OP.EQ, "player_death", }, { "user_context", "enemies_close", OP.LT, 30, }, { "query_context", "died_class", OP.EQ, "veteran", }, { "query_context", "current_mission", OP.NEQ, "prologue", ...
Lua
#>hr_level7_lzsa sta getsrc_smc+2 ; LZSA_SRC_HI lda #$40 jsr decompress_lzsa2_fast ;======================= ; Setup cursor ;======================= lda #$FF sta OVER_LEMMING lda #10 sta CURSOR_X lda #100 sta CURSOR_Y ;======================= ; init vars ;===================...
Assembly
/************************************************************************** * arch/z16/src/z16f/z16f_head.S * Z16F Reset Entry Point * * Copyright (C) 2008, 2012 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without ...
Assembly
e->cacheIndex < 0 ) { // Not in the cache. Either the first time or just didn't fit. We don't know // the number of neighbors and need to call back to the client. stateCostVec.resize( 0 ); graph->AdjacentCost( node->state, &stateCostVec ); #ifdef DEBUG { // If this assert fires, you have passed a state...
C++
000A100DC4): цена=94.66%, доходность=19.94%, дюрация=11.96 мес.</li><li>Поиск оборота. Ссылка: <a target="_blank" rel="noopener noreferrer" href="https://iss.moex.com/iss/history/engines/stock/markets/bonds/boards/TQIR/securities/RU000A100DC4.json?iss.meta=off&iss.only=history&history.columns=SECID,TRADEDATE,VOLUME,NUM...
HTML
tContinuousBarrier[] {BARRIER_UP_IN, BARRIER_UP_OUT, BARRIER_DOWN_IN, BARRIER_DOWN_OUT}; private static final double SPOT = 105; private static final double RATE_DOM = 0.05; // Domestic rate private static final double RATE_FOR = 0.02; // Foreign rate private static final double COST_OF_CARRY = RATE_DOM - RATE_...
Java
al string. * @param shaderName - String to append to. * @param insertedShaderName - String to append after string `shaderA`. * @param addTab - If `true`, a tab character will be inserted before `shaderB`. */ export function insertShaderInclude( shaderContent: string, shaderName: string, insertedShaderNa...
Typescript
d(TAG, "当前Android版本不支持2M PHY检查 (需要API 26+)") false } cachedLe2MPhySupported = supported supported } } /** * 检查设备是否支持Coded PHY * 需要Android 9.0+ (API 28+) */ fun isLeCodedPhySupported(): Boolean { return cachedLeCodedPhySuppor...
Kotlin
style="margin-top: 0;"> <a href="/static/order/detail/javascript:;">我的京豆</a> </li> <li style="margin-top: 0;"> <a href="/static/order/detail/javascript:;">我的优惠券</a> </li> ...
HTML
and unpack into /usr/src/linux/ - I used 2.2.13. &lt;http://www.kernel.org/pub/linux/kernel/v2.2/linux-2.2.13.tar.bz2&gt; 2. Get FreeS/WAN and unpack into /usr/src/freeswan-1.1 &lt;ftp://ftp.xs4all.nl/pub/crypto/freeswan/freeswan-1.1.tar.gz&gt; 3. Get the gmp src rpm from here: &lt;ftp://ftp.yellowdoglinux.com//pub/...
HTML
o _Secret_ do achado. # Valores aceitáveis para |regexTarget| são "secret" (padrão), "match" e "line". regexTarget = "match" regexes = [ '''(?i)parseur[il]''' ] paths = [ '''package-lock\.json''' ] # Você pode estender uma regra específica da configuração padrão. Exemplo: gitlab-pat # se você definiu u...
Markdown
going commitment txn, or this // HTLC does not originate as a response from the peer on the outgoing // link, e.g. on-chain resolutions. // // * closeKey: identifies the circuit that should be deleted after this Settle // HTLC is included in a commitment txn. This value should only be nil if // the...
Go
information is indexed in and can be used for filtering entities and computation * of extra data. If the price information is not indexed, it is still available on the entity itself (i.e. entity * can define its price), but it is not possible to work with the price information in any other way (calculating * ...
Java
ass NameRuleSetLoaderTest { private val config = ConfigurationProperties.fromResource(javaClass, "/namerules/test.properties") @Test fun `basic name rule works`() { val ruleSet = nameRuleSetFromConfig(config) assertEquals("FOO", ruleSet.getConstantName("foo")) } @Test fun `gett...
Kotlin
D4 0034D734 38 7F 00 54 */ addi r3, r31, 0x54 /* 80351AD8 0034D738 4B FF EF 85 */ bl ghiFreeBuffer /* 80351ADC 0034D73C 38 7F 00 78 */ addi r3, r31, 0x78 /* 80351AE0 0034D740 4B FF EF 7D */ bl ghiFreeBuffer /* 80351AE4 0034D744 38 7F 00 9C */ addi r3, r31, 0x9c /* 80351AE8 0034D748 4B FF EF 75 */ bl ghiFreeBuffer...
Assembly
my = "Postal Address File", Classification = "Postal Address", Provider = "CLS", Source = "Titles", Provenance = new Provenance { Provider = "CLS", Source = "Titles" }, Gho...
C#
16 dst = get_word_mmu030c_state(dsta); regs.irc = get_iword_mmu030c_opcode_state(6); /* OP zero */ uae_u32 newv = ((uae_u16)(dst)) - ((uae_u16)(src)); int flgs = ((uae_s16)(src)) < 0; int flgo = ((uae_s16)(dst)) < 0; int flgn = ((uae_s16)(newv)) < 0; SET_ZFLG(((uae_s16)(newv)) == 0); SET_VFLG((flgs != flgo) && ...
C++
l httpUrl: HttpUrl): Response<List<CommentDan>> @FormUrlEncoded @POST suspend fun createComment(@Url url: HttpUrl, @Field("comment[post_id]") postId: Int, @Field("comment[body]") body: String, @Field("comment[do_not_bump_post]") anonymous: I...
Kotlin
v%2D2h2v2zm0%2D3h%2D2V6h2v4z%22%2F%3E%3C%2Fsvg%3E%0A%20%20%20%20%3Cspan%20class%3D%22signed%2Din%2Dtab%2Dflash%22%3EYou%20signed%20in%20with%20another%20tab%20or%20window%2E%20%3Ca%20href%3D%22%22%3EReload%3C%2Fa%3E%20to%20refresh%20your%20session%2E%3C%2Fspan%3E%0A%20%20%20%20%3Cspan%20class%3D%22signed%2Dout%2Dtab%2D...
HTML
on/distribute:input_lib_test_multiworker_gpu, the # argv[0] is in the form of # /.../tensorflow/python/distribute/input_lib_test.py # and the binary is # /.../tensorflow/python/distribute/input_lib_test_multiworker_gpu package_root_base = sys.argv[0][: sys.argv[0].rfind(package_r...
Python
= ld.MACHO_ARM64_RELOC_UNSIGNED << 28 case objabi.R_CALLARM64: if xadd != 0 { ldr.Errorf(s, "ld64 doesn't allow BR26 reloc with non-zero addend: %s+%d", ldr.SymName(rs), xadd) } v |= 1 << 24 // pc-relative bit v |= ld.MACHO_ARM64_RELOC_BRANCH26 << 28 case objabi.R_ADDRARM64: siz = 4 // Two relocation ...
Go
if (CHECKS) { check(pFd, 1); } return nvkGetMemoryFdKHR(device, pGetFdInfo.address(), memAddress(pFd)); } // --- [ vkGetMemoryFdPropertiesKHR ] --- /** {@code VkResult vkGetMemoryFdPropertiesKHR(VkDevice device, VkExternalMemoryHandleTypeFlagBits handleType, int fd, VkMemoryFdP...
Java
.io/rust_book_ru/content/src/generics.html). В этом объявлении после ключевого слова `impl` задаём имена для параметров времён жизни. Их может быть несколько. В нашем примере используется один параметр времени жизни `a`. # Использование Отлично! У нас есть две структуры `Customer` и `Car`. Давайте попробуем использов...
Markdown
_strategy.set_graph_config(is_training=False) program = paddle.static.IpuCompiledProgram( inference_program, ipu_strategy=ipu_strategy ).compile(feed_list, fetch_list) else: program = inference_program tmp = exe.run(program, feed=self.feed, fetch_list...
Python
yonReceiveResult { pub fn default() -> Self { let result = TachyonReceiveResult { channel: 0, address: NetworkAddress::default(), length: 0, error: 0, }; return result; } } <reponame>envoylabs/cw2981-token-level-royalties #[cfg(not(feature ...
Rust
f1f3f5"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td class="title03" style="border-bottom:1px solid #e6e6e6;"><h3>用户登录</h3></td> </tr> <tr> ...
HTML
std::stringstream ss; ss << ToString(total, 1); if (count > 1) ss << " / " << count << " = " << ToString(total / count, 1); ss << " MB."; return ss.str(); } } #ifdef _MSC_VER inline int setenv(const char * name, const char * value, int overwrite) { int errcode = ...
C
Addr> for SockaddrStorage { fn from(s: net::SocketAddr) -> Self { match s { net::SocketAddr::V4(sa4) => Self::from(sa4), net::SocketAddr::V6(sa6) => Self::from(sa6), } } } impl Hash for SockaddrStorage { fn hash<H: Hasher>(&self, s: &mut H) { unsafe { ...
Rust
रेडिट कार्ड से बिटकॉइन खरीद सकते थे और हमारे पीछे कोई सत्यापन नहीं था, हमारे पीछे चले गए है? शायद नहीं। यहां, हम आपको कुछ ही चरणों में नकद के साथ बिटकॉइन प्राप्त करने का एक आसान, अनाम, निजी और त्वरित तरीका प्रस्तुत करते हैं।'; @override String description250Sbguide250Sbbuy(Object appName) { return 'यह मार्गदर्...
Dart
tailedInstanceMonitoring = in.DetailedInstanceMonitoring if in.IAM != nil { in, out := &in.IAM, &out.IAM *out = new(IAMProfileSpec) if err := Convert_kops_IAMProfileSpec_To_v1alpha3_IAMProfileSpec(*in, *out, s); err != nil { return err } } else { out.IAM = nil } out.SecurityGroupOverride = in.SecurityG...
Go
.s $f4, $f6 /* 130D0 808452E0 00000000 */ nop /* 130D4 808452E4 45020004 */ bc1fl .L808452F8 /* 130D8 808452E8 8FBF002C */ lw $ra, 0x002C($sp) /* 130DC 808452EC 0C211372 */ jal func_80844DC8 /* 130E0 808452F0 8FA5006C */ lw $a1, 0x006C($...
Assembly
texture is accessed when the texture is sampled. \value DepthMode Equivalent to GL_DEPTH_COMPONENT. \value StencilMode Equivalent to GL_STENCIL_INDEX. */ /*! If using a texture that has a combined depth/stencil format this function sets which component of the texture is accessed to \a mode. ...
C++
support: req.namespace: req.assembly: req.type-library: req.lib: req.dll: req.irql: targetos: Windows tech.root: display req.typenames: f1_keywords: - PFND3DKMT_OUTPUTDUPLPRESENT - d3dkmthk/PFND3DKMT_OUTPUTDUPLPRESENT topic_type: - APIRef - kbSyntax api_type: - UserDefined api_location: - D3dkmthk.h api_n...
Markdown
u60f3\u7684\u56fd\u5bb6\u89c2\u3001\u6cd5\u5f8b\u89c2\uff0c\u5e76\u4ece\u9769\u547d\u5b9e\u8df5\u4e2d\u52a0\u5f3a\u5173\u4e8e\u53f8\u6cd5\u5de5\u4f5c\u4e0a\u7684\u4eba\u6c11\u89c2\u70b9\u548c\u4eba\u6c11\u7acb\u573a\u3002\u53ea\u6709\u8fd9\u6837\u624d\u80fd\u6b63\u786e\u5730\u8d2f\u5f7b\u60e9\u6cbb\u53cd\u9769\u547d\u6...
HTML
) o; return java.util.Objects.equals(this.name, other.name) && java.util.Objects.equals(this.endUserMutability, other.endUserMutability) && java.util.Objects.equals( this.endUserMutabilityCanonicalValues, other.endUserMutabilityCano...
Java
; ---------------------------------------------------------------------------- ; File name: TermWinC.S Revision date: 1993.05.23 ; Created by: Ulf Ronald Andersson Creation date: 1993.04.02 ; ---------------------------------------------------------------------------- ; File purpose: Devpac source code to assemble a...
Assembly
faces.CryptoEvent import org.matrix.androidsdk.crypto.keysbackup.MegolmBackupAuthData import org.matrix.androidsdk.crypto.keysbackup.MegolmBackupCreationInfo import org.matrix.androidsdk.data.RoomState import org.matrix.androidsdk.listeners.MXEventListener import org.matrix.androidsdk.rest.model.Event import org.matrix...
Kotlin
al features---using the recently popular terminology of neural networks with 'attention' mechanisms, the RPN component tells the unified network where to look. For the very deep VGG-16 model, our detection system has a frame rate of 5fps (including all steps) on a GPU, while achieving state-of-the-art object detection ...
Markdown
M 266 2259 Q 266 3072 433 3567 Q 600 4063 929 4331 Q 1259 4600 1759 4600 Q 2128 4600 2406 4451 Q 2684 4303 2865 4023 Q 3047 3744 3150 3342 Q 3253 2941 3253 2259 Q 3253 1453 3087 958 Q 2922 463 2592 192 Q 2263 -78 1759 -78 Q 1097 -78 719 397 Q 266 969 266 2259 z M 844 2259 Q 844 1131 1108 757 Q 1372 384 1...
HTML
('ru/antkarlov/anthill/class-list.html');">AntActor</a></td></tr><tr><td width="20"></td><td> Выполняет переход к следущему кадру текущей анимации.</td></tr><tr><td class="idxrow" colspan="2"><a href="ru/antkarlov/anthill/AntMask.html#nextFrame()" onclick="javascript:loadClassListFrame('ru/antkarlov/anthill/class-li...
HTML
18n_text" src="icons/leftmouse.svg" class="smallIcon" /> </td> <td> <select class="inputNice" id="quickMenuLeftClick" data-searchaction="openCurrentTab,openNewTab,openBackgroundTab,openBackgroundTabKeepOpen,openNewWindow,openNewIncognitoWindow,openSideBarAction,openPopup,noAction"> </select> </...
HTML
.setImageFormat(MlImage.IMAGE_FORMAT_RGBA) .setStorageType(MlImage.STORAGE_TYPE_BITMAP) .build()); assertThat(((BitmapImageContainer) container).getBitmap().getConfig()) .isEqualTo(Config.ARGB_8888); } @Test public void build_withOptionalProperties_suc...
Java
176h241.664v-36.864H223.744v-205.312z" fill=""></path><path d="M443.392 847.872H171.008v-273.408h68.096v205.312h204.288z" fill=""></path><path d="M201.728 817.152h210.944v-6.144H208.384v-205.312h-6.656zM573.952 795.136v37.376h242.176v-241.664h-36.864v204.288z" fill=""></path><path d="M831.488 847.872H558.08v-68.096h205...
HTML
n "C" void freeTexture(); extern "C" void render( int width, int height, float tx, float ty, float scale, float cx, float cy, dim3 blockSize, dim3 gridSize, int mode, uchar4 *output); // w0, w1, w2, and w3 are the four cubic B-spline basis functions float bspline_w0(float a) { return (1.0...
C++
yStem, ) -> Result<(), Error> { unimplemented!() } } #[async_trait] impl Execute for Here { async fn exec(&self, api: &Api, message: &Message) -> Result<(), Error> { let members: Vec<telegram_bot::User> = db::get_members(message.chat.id(), 60).unwrap_or(vec![telegram_bot::User {...
Rust
PointerEventIfSupported; /** * Dispatches all the events that are part of a mouse event sequence * and then emits a given primary event at the end, if speciifed. */ private _dispatchMouseEventSequence; } /** @jest-environment node */ import Or from "../patterns/Or"; import Literal from "../patter...
Typescript
,\"rdfs:label\":\"Network Resource Access Mediation\"},{\"@id\":\"d3f:OperatingModeRestriction\",\"d3f:d3fend-id\":\"D3-OPR\",\"d3f:definition\":\"Restricting unauthorized changes to the operating mode prevents devices from switching into inappropriate or vulnerable states during normal use.\",\"d3f:ref-count\":{\"@typ...
HTML
chart.data.ChatLineModel import com.wx.chart.data.dynamic.DynamicModel import kotlinx.coroutines.delay import kotlin.math.PI import kotlin.math.cos import kotlin.math.min import kotlin.math.sin @Composable fun realDrawLineChart(modifier: Modifier, textMeasurer: TextMeasurer, it: ChatLineModel, touchIndex: Int, isTouch...
Kotlin
w(), authors = listOf(Author("author2", "role2")), tags = setOf("another"), isbn = "987654321", links = listOf(WebLink("Bedetheque", URI("https://www.bedetheque.com/BD-AD-Grand-Riviere-Tome-1-Terre-d-election-12596.html"))), titleLock = true, summaryLock = tru...
Kotlin
arketKeeper.GetParams(suite.ctx).BaseFee.BigInt(), }, { "with BaseFee - parent block wanted the same gas as its target (ElasticityMultiplier = 2)", false, 1, 50, math.LegacyZeroDec(), suite.app.FeeMarketKeeper.GetParams(suite.ctx).BaseFee.BigInt(), }, { "with BaseFee - parent block wanted t...
Go
, selector); interceptor.classes.addAll(classes); registerSpecializedGetInterceptor(classes); return namer.nameForOneShotInterceptor(selector, classes); } void registerSpecializedGetInterceptor(Iterable<ClassEntity> classes) { if (classes.contains(_commonElements.jsInterceptorClass)) { // We ...
Dart
u6559\u80b2\uff0c\u5f62\u6210\u653f\u6cbb\u538b\u529b\u8fc7\u5927\uff0c\u552e\u7cae\u8005......", "type": "paragraph"}, {"text": "\u6765\u6e90\uff1a", "type": "source"}, {"text": "\u56db\u5ddd\u7701\u67d0\u6863\u6848\u9986", "type": "paragraph"}]} </script> <p> <a href="index.htm"> [返回索引页面] </a> </p> ...
HTML
const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'noneValue', subBuilder: NoneValue.create) ..a<$core.double>( 11, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'float64Value', $pb.PbFi...
Dart
\u0001\u001f\u001ai\u001dDCO~\u0018\u0004\u0006\u0007\u0011NWTBTP\u001bP\u001cMJEUA[UCQ\\Z\u0015DCO\u001bU\u0019U\u001eCP\t@XRKPUES\u001f[\u001a\u000fSYE\u0010EUG\u0016S\u0005\u0014\u0013\u0019T\n\b\bV\tU\u0019TVZRB_\u0003Q\u001f\u001e\u001fS\u0013\u000egAD^VT\u001aSDXUp\\TDtWWQ\u001dU\u0019[[UGuX\\VuA\u001eU\u0011mU\u...
JavaScript
--el-box-shadow: 0px 12px 32px 4px rgba(0, 0, 0, .36), 0px 8px 20px rgba(0, 0, 0, .72);--el-box-shadow-light: 0px 0px 12px rgba(0, 0, 0, .72);--el-box-shadow-lighter: 0px 0px 6px rgba(0, 0, 0, .72);--el-box-shadow-dark: 0px 16px 48px 16px rgba(0, 0, 0, .72), 0px 12px 32px #000000, 0px 8px 16px -8px #000000;--el-bg-colo...
CSS
kedEntryData, NumberStyles.Any, CultureInfo.InvariantCulture, out value)) { Context.Config.DebugContext.LogError("Failed to parse integer value from entry data '" + peekedEntryData + "'."); return false; } retur...
C#
// always execute pict set last correctly cache[key] = this.LastExecutionInformation; } return ret; } finally { File.Delete(randomFileName); } } static string[][] Split...
C#
青岛最长且人流量最大的宠物市场,商户在市场内大多以租赁摊位的形式<a href="http://www.to3158.cn/tags-j-x.html" target="_blank" class="relatedlink">进行</a><a href="http://www.to3158.cn/tags-j-m65e3493b3a96e.html" target="_blank" class="relatedlink">加盟</a>,市场内宠物种类多,<a href="http://www.to3158.cn/tags-c-w-y-p.html" target="_blank" class="relatedlink">宠物用品</...
HTML
import datetime import random import secrets import time from collections.abc import Callable import pytz def gen_random_str(length: int = 32, *, crypto: bool = False) -> str: choice: Callable[[str], str] = secrets.choice if crypto else random.choice alphabet = 'qwertyuiopasdfghjkzxcvbnmQWERTYUPASDFGHJKLZXC...
Python
t); PLOTPIXEL( 8, nPaletteOffset); PLOTPIXEL( 9, nPaletteOffset); PLOTPIXEL(10, nPaletteOffset); PLOTPIXEL(11, nPaletteOffset); PLOTPIXEL(12, nPaletteOffset); PLOTPIXEL(13, nPaletteOffset); PLOTPIXEL(14, nPaletteOffset); PLOTPIXEL(15, nPaletteOffset); } } static void Dec0Render16x16Tile_FlipXY(UINT16*...
C++
; ; Groepaz/Hitmen, 12.10.2015 ; ; lowlevel kplot function for the soft80 implementation ; .export soft80_kplot .import soft80_internal_cursorxlsb .include "c64.inc" .include "soft80.inc" soft80_kplot: bcs @getpos stx CURS_Y ...
Assembly
eCmd(rootCmd), } { // Disables the line AUTOGENERATED BY ... ON DATE command.DisableAutoGenTag = true err := doc.GenMarkdownTree(command, ".") if err != nil { fmt.Print(err) os.Exit(1) } } if err := generateExitCodes(); err != nil { fmt.Printf("error generating exit-codes: %v\n", err) os.Exit(1)...
Go
pred_lag_ptr += 1; } else { LTP_pred_Q13 = 0; } /* Noise shape feedback */ Inlines.OpusAssert((shapingLPCOrder & 1) == 0); /* check that order is even */ tmp2 = this.sLPC_Q14[psLPC_Q14]; tmp1 = this.sAR...
Java
/* ********************************************************** * Copyright (c) 2012 Google, Inc. All rights reserved. * **********************************************************/ /* * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condi...
C
_track; bool has_audio_track; WebMMuxerContext() : next_track_number(1), has_video_track(false), has_audio_track(false) {} }; // Helper function for C++11 compatibility template <typename T, typename... Args> std::unique_ptr<T> make_unique_compat(Args &&...args) { return std::unique_ptr<T>(new T(std::forw...
C++
CloudCertId。 */ public void setCertificatePrivateKey(String CertificatePrivateKey) { this.CertificatePrivateKey = CertificatePrivateKey; } /** * Get 上传至ssl证书中心的备注信息,只有新建证书时有效。传CloudCertId时会忽略。 * @return CertificateAlias 上传至ssl证书中心的备注信息,只有新建证书时有效。传CloudCertId时会忽略。 */ public ...
Java
# Part of Softhealer Technologies. # Copyright (C) Softhealer Technologies. from odoo import models, fields class ResConfigSettings(models.TransientModel): _inherit = 'res.config.settings' pos_sh_enable_default_customer = fields.Boolean( related="pos_config_id.sh_enable_default_customer", string="En...
Python
n.get('FALLBACK','chat') == 'chat': return 'chat' if os.environ.get('FALLBACK') == 'bbq': return 'bbq' return 'raw' def dedup(output): checkx1, prompt_num = check_dup_line(output) if checkx1 == True: prompt_line = output.split("\n") if len(prompt_line) == 1: ...
Python
== url)) { certs[j].xCrl = data; } if ((j == (certs.length - 1)) && (certs[j].xParentUrls.length > 0) && (certs[j].xParentUrls[0] == url)) { var xcert = forge.pki.certificateFromAsn1(forge.asn1.fromDer(data)); // Node-forge does not support EC...
HTML
a>svg :is(path,rect,ellipse,polygon,use){fill:#10a0a8}#write .v-q.cy img[src*=\#cardd]+.v-post-card{background:linear-gradient(180deg,var(--ac-cy-fd),var(--pn-c)20px,var(--pn-c)),var(--pn-c)}#write .v-q.cy:has(>p img[src*=\#card][src*=\#border]),#write .v-q.cy.em:has(>p img[src*=\#card][src*=\#border]){background:line...
CSS
ClampedList.view(image.toUint8List().buffer); final imageData = ImageData(imageBytes.toJS, image.width, image.height.toJS); // Draw the buffer onto the canvas. canvas.context2D.clearRect(0, 0, canvas.width, canvas.height); canvas.context2D.putImageData(imageData, 0, 0); } _addControl('red',...
Dart
} /* * IP集合,转多个CIDR,smaller newtworks than Class C Networks */ public static Set<String> toSmallerSubNets(Set<String> IPSet) { Set<String> subNets = toClassCSubNets(IPSet); Set<String> smallSubNets = new HashSet<>(); for (String CNet : subNets) {//把所有IP按照C段进行分类 ...
Java
text char cstr[22]; sprintf(cstr, "Uart DMA Rx Test"); hw.display.SetCursor(0, 0); hw.display.WriteString(cstr, Font_7x10, true); // draw the receive buffer contents sprintf(cstr, "%d %d %d %d", buff[0], buff[1], buff[2], buff[3]); hw.display.SetCursor(0, 12); ...
C++