content
stringlengths
2
6.21k
label
stringclasses
16 values
: case EndpointRoutingScenario: startupType = typeof(UseEndpointRoutingStartup); break; case "2": case RouterScenario: startupType = typeof(UseRouterStartup); break; default: Console.WriteLi...
C#
'alpha': alpha, 'truncated': truncated, 'occluded': occluded, 'location': location, 'rotation_y': rotation_y} ret['annotations'].append(ann) if DEBUG and tmp[0] != 'DontCare': box_3d = compute_box_3d(dim, location, rotati...
Python
Slaughter|QID|14257|M|41.56,26.60;40.90,24.04;39.07,22.97;35.48,31.63|CC|N|Sliverblade Nagas drop Bones at 100% Rate. Warriors drop Fins at a low rate. Sorcerers Drop Scales at a low rate, but in multiples. Don't cross the ravine or go onto the islands - those are different types of Naga and won't drop what you need.| ...
Lua
in-top: -16px;\n z-index: 2147483647;\n }\n \n .cyxy-video-hint::before,\n .cyxy-function-hint::before,\n .cyxy-official-hint::before,\n .cyxy-favorite-hint::before,\n .cyxy-personal-hint::before,\n .cyxy-options-hint::before,\n .cyxy-ctrl-hint::before {\n content: "";\n display: block;\n position: fixe...
JavaScript
emendis.net/opds-pse/stream" type="image/jpeg" href="/api/opds/28697b96f0ac5858be2614ed10ca47742c9522fd/pse?page={pageNumber}" pse:count="1" /> <link type="text/html" rel="alternate" title="Open in LANraragi" href="/reader?id=28697b96f0ac5858be2614ed10ca47742c9522fd" /> </entry> <entry>...
Markdown
/* $XConsortium: server.c,v 1.20 94/10/17 18:29:34 converse Exp $ */ /* $XFree86: xc/programs/xdm/server.c,v 3.2 1996/01/05 13:21:01 dawes Exp $ */ /* Copyright (c) 1988 X Consortium Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ...
C
# -*- coding: utf-8 -*- #引入依赖包 import requests import MySQLdb import re import math from bs4 import BeautifulSoup, NavigableString #zhon是用来处理中文标点符号的包 from zhon.hanzi import punctuation from functools import partial #设置utf-8编码 import sys reload(sys) sys.setdefaultencoding('utf-8') #连接数据库 db = MySQLdb.connect(host="...
Python
bject.TryGetComponentInChildren(out damageable)) { damageable.Damage(damageData); return true; } return false; } public static bool TryDamage(Collider2D[] colliders, DamageData damageData, out List<IDamageable> damageables) { ...
C#
irst time * 2. User switches between accounts */ async fetchUserEthBalance() { const web3 = this.walletState.web3; if(web3) { const currentAddress = this.walletState.selectedAddress; const rawBalance = await web3.eth.getBalance(currentAddress); this.selectedAddressEthBalance = parseF...
Typescript
,0.3656039656198394 0.25588909523202946,0.3656038436133294 0.2558892258258312,0.3656036131299751 0.2558893305603722,0.3656034801597391 0.255889469613637,0.3656033262665907 0.2558897384427481,0.3656030767729937 0.2558899627752511,0.36560283960018464 0.25589023027204005,0.3656025402994359 0.2558904826860786,0.36560222069...
HTML
ight" data-x="946" data-y="155" data-customin="x:0;y:0;z:0;rotationX:0;rotationY:0;rotationZ:0;scaleX:0;scaleY:0;skewX:0;skewY:0;opacity:0;transformPerspective:600;transformOrigin:50% 50%;" data-speed="1000" data-start="2100" data-easing="Back.easeOut" data-endspeed="600" ...
HTML
ing.T, ctx sessionctx.Context, tableID int64, col *table.Column, row []types.Datum, columnValue any, dom *domain.Domain) { tbl := testGetTable(t, dom, tableID) _, err := newTxn(ctx) require.NoError(t, err) i := 0 err = tables.IterRecords(tbl, ctx, tbl.Cols(), func(_ kv.Handle, data []types.Datum, cols []*table.Co...
Go
弃学生时代的求知欲望;第二条是容易拋弃学生時代对理想人生的追求。<br /><br /><br /><h2>★鲁迅</h2><br />做奴隶虽然不幸,但并不可怕,因为知道挣扎,毕竟还有挣脱的希望;<br />若是从奴隶生活中寻出美来,赞叹、陶醉,就是万劫不复的奴才了!<br /><br /><br />可惜中国人但对于羊显凶兽相,而对于凶兽则显羊相,所以即使显凶兽相,也还是卑怯的国民。这样下去,一定要完结的。<br />我想,要中国得救,也不必添甚么东西进去,只要青年们将这两种性质的古传用法,反过来一用就够了;对手如凶兽时就如凶兽,对手如羊时就如羊!<br />——《忽然想到.七》一九二五年<br />(<i>编程随想注:这种嘴脸...
HTML
tore_enabled\x22,\x22signed-out\x22]\n,[5500033,5500335,5500162,5500360,5500324,5500406,5500361,5500404,5500368,5500388]\n,null,null,null,\x22es\x22,[2,null,null,null,null,null,null,null,[\x22es\x22]\n]\n,[17,18,19,20,21,212,213,295,580,739,741,744,855,856,862,863,12602000,12602001,12602002,12602007,12602040,12602044,1...
HTML
List<UpdateAddHtlc>, val htlcsBob: List<UpdateAddHtlc>) fun prepareRevokedClose(): RevokedCloseFixture { val (aliceInit, bobInit) = reachNormal() var mutableAlice: LNChannel<Normal> = aliceInit var mutableBob: LNChannel<Normal> = bobInit val preimages: MutableSet...
Kotlin
] = colors.length; var newColor = new Uint8Array(3); newColor[0] = (cl[0] * (splitXBy - col) + cr[0] * col) / splitXBy | 0; newColor[1] = (cl[1] * (splitXBy - col) + cr[1] * col) / splitXBy | 0; newColor[2] = (cl[2] * (splitXBy - col) + cr[2] * col) / splitXBy | 0; colors.push(ne...
JavaScript
these are only for sparcv9. */ /* These are the 3 new v9 fcc's */ #define FSR_FCC3 0x0000003000000000ULL /* FP condition codes */ #define FSR_FCC3_SHIFT 36 #define FSR_FCC2 0x0000000c00000000ULL /* FP condition codes */ #define FSR_FCC2_SHIFT 34 #define FSR_FCC1 0x0000000300000000ULL /* FP condition codes */ #defin...
C
;1106 1165 11AF;BA40;1106 1165 11AF; # (멀; 멀; 멀; 멀; 멀; ) HANGUL SYLLABLE MEOL BA41;BA41;1106 1165 11B0;BA41;1106 1165 11B0; # (멁; 멁; 멁; 멁; 멁; ) HANGUL SYLLABLE MEOLG BA42;BA42;1106 1165 11B1;BA42;1106 1165 11B1; # (멂; 멂; 멂; 멂; 멂; ) HANGUL SYLLABLE MEOLM BA43;BA43;1106 1165 11B2;BA43;1106 1165 11B2; # (멃; 멃; 멃; 멃; 멃; ) ...
Kotlin
WHERE photos.id = :user_id;`; return queryBuilder.raw(sql, { user_id: tagId }); } /**Selecionar comentarios de uma foto especifica */ public static async selectCommentsPhoto(idPhoto: number): Promise<any> { const sql = ` SELECT comments.comment_text ,comments.id, comments.created_...
Typescript
,为的就是能看到他,这样我就很开心了。</p> <p>张瑶:这本书是他送给我的唯一一样东西,我很宝贝。</p> <p>瑕:你对他还真是死心塌地。</p> <p>张瑶:因为,先生他是个好人……</p> <p>瑕:呵呵。</p> <p>岳明臣:我从来不知道张姑娘有这么严重的病,往日相处,我半点都都未曾瞧出。</p> <p>暮菖兰:那是当然的,谁都愿意把自己最好的一面给喜欢的人看。先生难道不知道张姑娘喜欢你吗?</p> <p>岳明臣:我又不是木头,怎会不知她的心意。只是——</p> <p>岳明臣:只是之前我对她并无男女之情,所以面对她的示好,我只能表示冷淡。我想日子久了,或许她会放弃。</p> <p>岳明臣:可今天她为了我,差点丢了性命,...
HTML
4 ["DragContext"] GETTABLEKS R3 R4 K9 ["pivotTick"] GETUPVAL R6 0 GETTABLEKS R5 R6 K4 ["DragContext"] GETTABLEKS R4 R5 K10 ["newTick"] GETUPVAL R6 0 GETTABLEKS R5 R6 K4 ["DragContext"] CALL R2 3 0 GETUPVAL R2 0 DUPTABLE R4 K11 [{"dragTick"}] SETTABLEKS R1 R4 K3 ["dragTick"] NAMECALL R2 R2 K12 ["se...
Assembly
InputStream = FileInputStream(file) openedInputStream.skip(position) inputStream = openedInputStream return openedInputStream } } private data class InputParams(private val inputData: Data) { val notificationId: Int = inputData.getInt(KEY_NOTIFICATION_ID, -1) val inputUri: Uri = Uri.p...
Kotlin
'通过引入监管手段解决操作动作执行不到位问题', '提供AI操作支持手段以及业务部门2经验传授的渠道', '提供模范操作和共享操作的分享展示平台' ], plan: [ { v: 'V1', t: 'AI引导式操作平台', d: '实现操作流程线上化,留痕管理。' }, { v: 'V2', t: '交互式共享文档体验', d: '提供操作资料技巧内容管理。' }, ...
HTML
o this page</h3> <ul> <li><a href="What_was_new_in_6_4_.html">What was new in 6.4?</a> </ul> <hr> <address> <p>© Paul Boersma 2007</p> </address> </body> </html> <html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Sound & Pitch: To Spectrogr...
HTML
> <input type="text" id="search-input" disabled placeholder="Suchen"> <input type="reset" id="reset-button" disabled value="reset"> </div> </div> <!-- ========= END OF TOP NAVBAR ========= --> <span class="skip-nav" id="skip-navbar-top"></span></nav> </header> <div class="flex-content"> <main role="main"> <!-- ========...
HTML
isect_left, bisect_right } from '../src'; function cmpNum(a: number, b: number): number { return a - b; } describe('bisect_left', () => { it('identifies a position left of all larger or equal values', () => fc.assert( fc.property(fc.array(fc.float()), fc.float(), (vals, pivot) => { vals.sort(cmp...
Typescript
.41,52.12 46.05,49.96 44.75,48.06 42.48,47.21 path 40.23,47.20 38.74,46.65 36.95,45.83 35.43,45.11 34.49,44.49 path 32.83,46.26 31.94,47.31 30.21,46.67 30.51,44.36 31.98,42.52 path 33.05,39.49 36.17,37.53 37.64,35.53 38.86,32.48 41.00,31.62 path 43.08,31.61 44.32,33.52 44.37,37.07 45.30,40.37 Kill Wolf enemies along th...
Lua
# Sebastian Raschka 2014-2024 # mlxtend Machine Learning Library Extensions # # A function for removing chart junk from matplotlib plots # Author: Sebastian Raschka <sebastianraschka.com> # # License: BSD 3 clause def remove_borders(axes, left=False, bottom=False, right=True, top=True): """Remove chart junk from ...
Python
><text x="68.6712%" y="175.50">&lt;c..</text></g><g><title>core::num::&lt;impl u64&gt;::wrapping_add (23 samples, 0.86%)</title><rect x="70.1952%" y="149" width="0.8634%" height="15" fill="rgb(249,80,12)" fg:x="1870" fg:w="23"/><text x="70.4730%" y="159.50"></text></g><g><title>&lt;std::collections::hash::map::RandomSt...
HTML
/// See also: /// /// * https://en.wikipedia.org/wiki/Standard_deviation double _computeStandardDeviationForPopulation(Iterable<double> population) { final double mean = _computeAverage(population); final double sumOfSquaredDeltas = population.fold<double>( 0.0, (double previous, num value) => previous += ...
Dart
width: 33.333333333333336%; } .row .col-30 { width: 30%; width: -webkit-calc((100% - 16px*2.3333333333333335) / 3.3333333333333335); width: calc((100% - 16px*2.3333333333333335) / 3.3333333333333335); } .row.no-gutter .col-30 { width: 30%; } .row .col-25 { width: 25%; width: -webkit-calc((100% - 16px*3) / 4...
CSS
, A, Q>, ) -> StdResult<ConfigResponse> { let state = read_config(&deps.storage)?; let resp = ConfigResponse { owner: deps.api.human_address(&state.owner)?, mirror_token: deps.api.human_address(&state.mirror_token)?, mint_contract: deps.api.human_address(&state.mint_contract)?, o...
Rust
tA[i:], encoded) i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) i-- dAtA[i] = 0x12 } if len(x.Authority) > 0 { i -= len(x.Authority) copy(dAtA[i:], x.Authority) i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Authority))) i-- dAtA[i] = 0xa } if input.Buf != nil { input.Buf = a...
Go
ry = makeMockHistory(); // test updating existing query param getAndUpdateLocation( { foo: '123' }, makeMockLocation({ foo: '521', bar: 'zzz' }), history, 'pushIn' ); expect(history.replace).not.toBeCalled(); expect(history.push).toBeCalled(); expect(calledPushQuery(hist...
Typescript
sWith("rate"); this.rate.setValue(rate, false); LocalRateOptions rate_options = parseRateOptions(rate, parts[i]); this.rate_counter.setValue(rate_options.is_counter, false); final long rate_counter_max = rate_options.counter_max; this.counter_max.setValue( rate_counter_max == Long.MAX_VALUE ...
Java
child{padding-right:var(--rsp-spacing-l)}.cmplz-field-wrap .rdt_TableCell:last-child,.cmplz-field-wrap .rdt_TableCol:last-child{padding-left:var(--rsp-spacing-l)}#complianz .cmplz-new-features-block .cmplz-grid-item-content{display:flex;flex-direction:column;justify-content:space-between}#complianz .cmplz-new-features{...
CSS
import numpy as np import cv2 import matplotlib.pyplot as plt def transform_to_px(g, density, scale, frame_rate): scaled_g = g * scale / frame_rate ** 2 scaled_density = density / scale ** 3 return scaled_g, scaled_density def calculate_mass(radius, density): volume = (4 / 3) * np.pi * (radius *...
Python
<span class="right"> <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> </span> </div> </li> </ul> </div> </div><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> ...
HTML
= ; final_sine[i]=quarter_sine[i]; // 0..64 ; final_sine[128-i]=quarter_sine[i]; // 64..128 ; final_sine[128+i]=0x60-quarter_sine[i]; // 128..192 ; final_sine[256-i]=0x60-quarter_sine[i]; // 192..256 setup_sine_table: ldx #64 ldy #64 setup_sine_loop: lda sines,X ; sta sines,X sta sines,Y lda ...
Assembly
; }); } { // Return non-zero exit code, no output to stderr #ifdef WIN32 const std::string command{"cmd.exe /c exit 1"}; #else const std::string command{"false"}; #endif BOOST_CHECK_EXCEPTION(RunCommandParseJSON(command), std::runtime_error, [&](const std::runtime_error& ...
C++
-- Map by Jayefuu, based on Triangle of Death map by grilledham --TODO: rebalance and then enable market. local b = require 'map_gen.shared.builders' local Random = require 'map_gen.shared.random' local Perlin = require 'map_gen.shared.perlin_noise' local Token = require 'utils.token' local Global = require 'utils.glo...
Lua
/// <see cref="SmartCampaignSettingName"/>-typed view over the <see cref="ResourceName"/> resource name /// property. /// </summary> internal SmartCampaignSettingName ResourceNameAsSmartCampaignSettingName { get => string.IsNullOrEmpty(ResourceName) ? null : SmartCampaignSett...
C#
llapsed category header) * - **arg1**: channel id (item number in Blizzards ChannelFrame -> quod vide API GetChannelDisplayInfo) * - **arg2**: number of players in channel * @see https://wow.gamepedia.com/CHANNEL_COUNT_UPDATE */ CHANNEL_COUNT_UPDATE: [number, number]; ...
Typescript
from heapq import heappop, heappush expensive = 10**8 def make_graph(n, fares) : global graph graph = [[] for _ in range(n + 1)] for i in range(len(fares)) : graph[fares[i][0]].append([fares[i][1], fares[i][2]]) graph[fares[i][1]].append([fares[i][0], fares[i][2]]) return graph def mi...
Python
'map': {'a': 1} }; var inputStream = Stream.fromIterable([data]); var input = gridFS.createFile(inputStream, 'test'); input.extraData = extraData; await input.save(); var gridOut = await gridFS.findOne(where.eq('_id', input.id)); var consumer = MockConsumer(); var out = IOSink(consumer); await gr...
Dart
# coding:utf-8 import requests from lib.core.common import url_handle,get_random_ua from lib.core.poc import POCBase # ... import urllib3 urllib3.disable_warnings() class POC(POCBase): _info = { "author" : "jijue", # POC作者 "version" : "1", # POC版本,默认是1 ...
Python
4: case 6: case 9: case 11: return day > 30 ? false : true; case 2: if (year % 4 == 0 && year % 100 != 0 || year % 400 == 0) return day > 29 ? false : true; return day > 28 ? false : true; de...
Java
z = z + dz println ("x 的坐标点 : " + x); println ("y 的坐标点 : " + y); println ("z 的坐标点 : " + z); } } Scala 使用 extends 关键字来继承一个类。实例中 Location 类继承了 Point 类。Point 称为父类(基类),Location 称为子类。 override val xc 为重写了父类的字段。 继承会继承父类的所有属性和方法,Scala 只允许继承一个父类。 实例如下: import java.io._ class Point(val xc: Int, va...
Markdown
const currentPosition = ComputeCubicBezierPoint(bezierPoints, currentStep); const stepDisplacement = currentPosition.sub(previousPosition); totalDistance += stepDisplacement.Magnitude; } return totalDistance; }import assert from "power-assert"; import { stripIndents } from "common-tags"; import...
Typescript
를 측정하였다. 대부분의 비전 응용 프로그램은 이미지 스트림을 처리하고 연속 프레임에서 광학 흐름을 추정하기 때문에 이전 프레임의 백본이 이미 계산되었으며, 이는 다음 연속 두 프레임의 광학 흐름 추정에 활용될 수 있다. 따라서 백본 신경망에 한 프레임만 공급할 때 FPS를 측정했다. 그 결과, 전체 해상도의 광류를 출력할 때 더 작은 영상에서는 약 30 FPS, 1/8 해상도의 광류를 출력할 때 더 큰 영상에서는 36 FPS를 얻을 수 있음을 알 수 있었다.\n' + '\n' + '## V 결론 및 향후 작업\n' + '\n' + ...
HTML
} </div> </div> `; } private handleGetProductFailure(state: State) { this.productPage.innerHTML = ''; const error = loadError(); this.productPage.appendChild(error); } unmount() { this.unsubscribe.forEach((unsubFunc) => unsubFunc()); } } export default ProductPage; import { ...
Typescript
दिया गया है - '; @override String get privacy_section_2_title => 'हमारे द्वारा एकत्रित की जाने वाली जानकारी'; @override String get privacy_section2_text => 'हम सर्किटवर्स प्लेटफॉर्म के माध्यम से स्वचालित रूप से व्यक्तियों से सीधे जानकारी जमा करते हैं।\n\n'; @override String get privacy_secti...
Dart
's * with at least 1gb range to see RAM. So we start with a * level 1 lookup. */ ldr x0, = (2 << 32) | 25 | (3 << 10) | (3 << 8) msr tcr_el1, x0 mov x0, #0xee /* Inner/outer cacheable WB */ msr mair_el1, x0 isb /* * SCTLR_EL1 - System Control Register * * WXN[19] = 0 = no effect, Write does not im...
Assembly
eave' then WAIT.timer=WAIT.timer-dt if WAIT.timer<=0 then WAIT.state=false if WAIT.arg.quit then WAIT.arg.quit() end end end end end function WAIT.draw() if WAIT.state then local alpha=( WAIT.state=='enter' and WAIT...
Lua
Size import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier import androidx.compose.ui.tooling.preview.Preview import com.squareup.sample.compose.databinding.LegacyViewBinding import com.squareup.sample.compose.nestedrenderings.RecursiveWorkflow.LegacyRendering import com.squareup.workflow1.ui.S...
Kotlin
.java.getResourceAsStream("/love.png").use { ImageIO.read(it) } val graphics = bg.graphics graphics.clip = Ellipse2D.Float(124f, 175f, 251f, 251f) graphics.drawImage(avatar1, 124, 175, 251, 251, null) graphics.clip = Ellipse2D.Float(624f, 175f, 251f, 251f) gra...
Kotlin
int": p.toMap(), }; if (globalKeyIcon != null) { var icon = await _capturePng(globalKeyIcon); args["icon"] = icon; } if (iconAnchor != null) { args["iconAnchor"] = iconAnchor.toMap(); } await _channels[idOSM]?.invokeMethod("add#Marker", args); } @override Future<void> ...
Dart
路口、路段,遇有前方机动车停车排队等候或者缓慢行驶的,应当每车 道一辆依次交替驶入车道减少后的路口、路段。 1276、白天驾驶机动车超车时,应提前开启哪种灯光? A、左转向灯 B、危险报警闪光灯 C、远光灯 D、右转向灯 【答案】A 【技巧 1】方向改变,左右转向提前开;仔细观察,不压实线不扰他车。 【技巧 2】解析:超车要提前开启左转向灯。 【讲解 1】本题主要考察超车规定。只要行车中方向发生改变都应开启转向 灯,以提醒后车我方车辆行驶方向改变。超车时因为从左侧超,应提前开启左 转向灯。因此选择“左转向灯”。 【讲解 2】相关法规参考:《道路交通安全法实施条例》第五十七条,机动车 应当按照下列规定使用转向灯...
Markdown
SUBS t0, acc3 SBCS t1, acc0 SBCS t0, acc1 SBC t1, acc2, t0 ADDS acc2, acc3, acc3 ADCS $0, acc0, acc0 ADCS $0, acc1, acc1 ADC $0, t0, acc2 // y[3] * x MUL y3, x0, t0 ADDS t0, acc3 UMULH y3, x0, t1 MUL y3, x1, t0 ADCS t0, acc4 UMULH y3, x1, y0 MUL y3, x2, t0 ADCS t0, acc5 UMULH y3, x2, y1 MUL y3, x...
Assembly
rsinterface.child(3, 35003, 55, 12); rsinterface.child(4, 35004, 95, 242); rsinterface.child(5, 35050, 0, 37); rsinterface.child(6, 35008, 145, 12); rsinterface.child(7, 35009, 145, 12); rsinterface.child(8, 35011, 165, 12); rsinterface.child(9, 35012, 165, 12); ...
Java
/** * Graphics state stack types used with love.graphics.push. * */ type StackType = "transform" | "all"; /** * How a stencil function modifies the stencil values of pixels it touches. * */ type StencilAction = | "replace" | "increment" | "decrement" | "incrementwrap" | "decrementwrap" | "invert"; ...
Typescript
collision_box_name != NULL ) ? collision_box_name : ""; float armor = Get_Defense_Object()->Get_Shield_Strength(); DIAG_LOG(( "DRCE", "%s; %d; %s; %1.2f; %1.2f; %1.2f; %1.2f; %1.2f", weapon_name, hitter_id, body_part, armor, health, pos.X, pos.Y, pos.Z )); } if (( damager.Get_Owner() == COMBAT_STAR ) && ( COM...
C++
λ.GetAttr(ϒself, "url_result", nil), λ.NewArgs(ϒvideo_id), λ.KWArgs{ {Name: "ie", Value: λ.Calm(YoutubeIE, "ie_key")}, {Name: "video_id", Value: ϒvideo_id}, }) } λ.Calm(ϒself, "to_screen", λ.Mod(λ.StrLiteral("Downloading playlist %s - add --no-playlist to just download video %s"), λ.N...
Go
spinner .bp5-spinner-head{ stroke:#8f99a8; } .bp5-dark .bp5-spinner .bp5-spinner-track{ stroke:rgba(17, 20, 24, 0.5); } .bp5-spinner.bp5-intent-primary .bp5-spinner-head{ stroke:#2d72d2; } .bp5-spinner.bp5-intent-success .bp5-spinner-head{ stroke:#238551; } .bp5-spinner.bp5-intent-warning .bp5-spinner-head{ ...
CSS
sSets: &sync.Map{}, peerV6AddressSets: &sync.Map{}, portPolicies: make([]*libovsdbutil.NetworkPolicyPort, 0), isNetPolStateless: isNetPolStateless, ipv4Mode: ipv4Mode, ipv6Mode: ipv6Mode, } } type sortableSlice []string func (s sortableSlice) Len() int { return len(s) } fun...
Go
9, 134, 45, 150, 10, 151, 225, 48, 99, 169, 112, 156, 164, 23, 75, 193, 181, 242, 248, 182, 88, 42, 108, 207, 87, 147, 165, 106, 190, 188, 210, 209, 100, 169, 250, 161, 160, 46, 117, 178, 84, 87, 159, 162, 150, 105, 178, 148, 236, 203, 173, 51, 109, 150, 130, 125, 22, 17, 38, 77, 73, 191, 240, 167, 223, 60, 37, 108, 12...
C#
<p>For font selection purposes, the font is selected as if the appropriate initial value is chosen</p> <li data-md> <p>For variation axis clamping, clamping does not occur</p> </ul> <p>The value for these font face style attributes is used in place of the style implied by the underlying font data. This...
HTML
writeXDRString(dos, type); writeXDRString(dos, name); writeXDRString(dos, units); dos.writeInt(slope); dos.writeInt(tmax); dos.writeInt(dmax); dos.writeInt(0); // to add extra metadata it's something like this // assuming extradata is hashmap , then: // // write extr...
Java
Simulator::VisitSVEInsertSIMDFPScalarRegister(const Instruction* instr) { SimVRegister& zd = ReadVRegister(instr->GetRd()); VectorFormat vform = instr->GetSVEVectorFormat(); switch (instr->Mask(SVEInsertSIMDFPScalarRegisterMask)) { case INSR_z_v: insr(vform, zd, ReadDRegisterBits(instr->GetRn())); ...
C++
name, Object? value, {bool? preserveHeaderCase = false}) => super.noSuchMethod( Invocation.method(#set, <Object?>[name, value], <Symbol, Object?>{#preserveHeaderCase: preserveHeaderCase})); @override void remove(String? name, Object? value) => super.noSuchMethod(Invocation.method(#remove, <Object?>[name, val...
Dart
Path) throws Exception { Boolean result = null; FileOutputStream outputStream = null; // 切换到目标目录 ftpClient.changeWorkingDirectory(downloadPath); // 读取到目标的所有文件,并下载到指定目录 FTPFile[] ftpFiles = ftpClient.listFiles(); try { for (FTPFile ftpFile : ftpFiles) {...
Java
toggler.collapsed .icon-close { display: none; } button.navbar-toggler.collapsed .icon-expand { display: block; } .cont-ser-position { position: absolute; right: 50px; top: 17px; } .navbar .search-right .close { margin-right: 3em; } .navbar .navbar-brand i { left: 1px; ...
CSS
/* -*- C++ -*- */ // Event_Analyzer.h,v 4.6 1998/10/20 02:34:46 levine Exp #ifndef _EVENT_ANALYZER_H #define _EVENT_ANALYZER_H #include "ace/Stream.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ #include "ace/Module.h" #include "ace/Task.h" #include "ace/Synch.h" class Eve...
C
0.0.0"), Ipv4Mask ("255.255.255.0"), 1); NodeContainer enbs; uint16_t cellIdCounter = 0; uint64_t imsiCounter = 0; for (std::vector<EnbDlTestData>::iterator enbit = m_enbDlTestData.begin (); enbit < m_enbDlTestData.end (); ++enbit) { Ptr<Node> enb = CreateObject<Node> (); en...
C++
@Input() NameWithDotSpace: any; @Input() AlphanFewChar: any; @Input() AlphanMoreChar: any; @Input() AlphaNumernFewChar: any; @Input() DecimalPlaces: string; @Input() minValue: string; @Input() maxValue: string; @Input() empInfoValidator: string; @Input() groupNames: string; @Input() invoiceNumber: s...
Typescript
"fmt" "io/ioutil" "os" "path/filepath" "regexp" "runtime" "strings" "monarch/pkg/config" "monarch/pkg/osutil" "monarch/prog" _ "monarch/sys" // most mgrconfig users want targets too "monarch/sys/targets" ) // Derived config values that are handy to keep with the config, filled after reading user config. ...
Go
-ethereum/common" "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/event" ) // Reference imports to suppress errors if they are not otherwise used. var ( _ = big.NewInt _ = strings.NewReader _ = ethereum.NotFound _ = bind.Bind _ = common.Big1 _ = types.BloomLookup _ = event.NewSub...
Go
= find_map, ["keep-if"] = keep_if, ["map-values"] = map_values, ["without-keys"] = without_keys, keymap = keymap, ["del-keymap"] = del_keymap, ["buffer-content"] = buffer_content, ["surround-if-present"] = surround_if_present, highlight = highlight, ["highlight-add"] = highlight_add, ["shorten-path"] = shorten_path, p...
Lua
g-emoji><b>سرویس های نامحدود(مصرف‌منصفانه)</b><br/><br/><tg-emoji emoji-id="6298717844804733009"><i class="emoji" style="background-image:url('//telegram.org/img/emoji/40/E299BE.png')"><b>♾</b></i></tg-emoji> تک کاربره <b>160</b> تومان <tg-emoji emoji-id="6219549292458150316"><i class="emoji" style="background-image:ur...
HTML
memory, which is unlikely because // the caller should have segfaulted already. We can either // crash, or return a value that lets the process continue for // a bit. We choose the latter. VALUE_CHANGED probably turns the // caller into a spin lock. return FutexResult::VALUE_CH...
C++
en@?$ctype@D@std@@MBEDD@Z\"") #pragma comment(linker, "/export:?do_widen@?$ctype@D@std@@MBEPBDPBD0PAD@Z=\"C:\\Windows\\SysWOW64\\msvcp110_win.?do_widen@?$ctype@D@std@@MBEPBDPBD0PAD@Z\"") #pragma comment(linker, "/export:?do_widen@?$ctype@G@std@@MBEGD@Z=\"C:\\Windows\\SysWOW64\\msvcp110_win.?do_widen@?$ctype@G@std@@MBEG...
C++
is.agent=hPe;else if(typeof t.agent.request=="function")this.agent=t.agent;else throw new qk("options.agent",["Agent-like Object","undefined","false"],t.agent);if(t.protocol&&t.protocol!=="https:")throw new EPe(t.protocol,"https:");let s=t.port||t.defaultPort||this.agent&&this.agent.defaultPort||443,o=t.hostname||t.hos...
JavaScript
.Member.DeclaringType != null && provider.Member.DeclaringType.Scope.GetAssembly() == context.TargetModule.Assembly && provider.RequiresSpecialAccess) { privateMemberRefs.Add(provider.Member); } } var ty...
C#
#ifndef PLAYLISTACTIONHISTORY_H #define PLAYLISTACTIONHISTORY_H #include <deque> #include <utility> template <class T> class PlaylistActionHistory { public: enum ActionType { Move, Insert, Remove }; using ActionItemList = std::deque<std::pair<int, T>>; struct Action { ActionType type; A...
C
} count++; // pass record to next command in chain: return super.doProcess(record); } } } /* * Copyright (C) 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. * * Redistribution and use in source and binary forms, with or without modif...
Java
/* Support for cris*-axis-linux-gnu and src/sim/cris simulator. Copyright (C) 2000-2005, 2017 Axis Communications. 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...
C
function _exit(status){exit(status)}function _getenv(name){if(name===0)return 0;name=UTF8ToString(name);if(!ENV.hasOwnProperty(name))return 0;if(_getenv.ret)_free(_getenv.ret);_getenv.ret=allocateUTF8(ENV[name]);return _getenv.ret}function _getpwnam(){throw"getpwnam: TODO"}function _llvm_exp2_f32(x){return Math.pow(2,x...
JavaScript
toggle:after, .sb--pinned .content__boxed) { transition-timing-function: cubic-bezier(0.705, -0.155, 0.735, 0.045) !important; } .out-back .mn--reveal.mn--show:before, .out-back :where(.mainnav, .content, .header, .header__brand, .sidebar, .offcanvas, .collapsing, .searchbox__input, .dropdown-menu, .mininav-toggle:a...
CSS
/* * Copyright (c) 2012 The Chromium OS Authors. * * (C) Copyright 2008-2011 * Graeme Russ, <graeme.russ@gmail.com> * * (C) Copyright 2002 * Daniel Engström, Omicron Ceti AB, <daniel@omicron.se> * * Portions of this file are derived from the Linux kernel source * Copyright (C) 1991, 1992 Linus Torvalds * ...
C
the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not...
C++
out(ctx, sc) defer waitCtx1Cancel() sc, err = controllerhelpers.WaitForScyllaClusterState(waitCtx1, f.ScyllaClient().ScyllaV1().ScyllaClusters(sc.Namespace), sc.Name, controllerhelpers.WaitForStateOptions{}, utils.IsScyllaClusterRolledOut) o.Expect(err).NotTo(o.HaveOccurred()) scyllaclusterverification.Verify(...
Go
p>, i: usize) -> &'p [u8] { let segment = &self.segments[i]; unsafe { std::slice::from_raw_parts( self.buffer.buf_ptr().add(segment.offset as usize) as *const _, segment.length as usize, ) } } } #[pymethods] impl ZstdBufferWithSegment...
Rust
$sp - 4)]; var i = h$stack[(h$sp - 3)]; var j = h$stack[(h$sp - 2)]; var k = h$stack[(h$sp - 1)]; h$sp -= 11; i.val = a; var l = h$c3(h$$aIv, c, j, k); var m = h$c6(h$$aIn, e, j, f, l, h$c1(h$$aIu, j), h$c1(h$$aIt, j)); b.val = h$c2(h$ghczmprimZCGHCziTypesziZC_con_e, h$c7(h$$aIb, d, e, j, f, h, l, h$c...
JavaScript
using RPGCore.Data.Polymorphic.Inline; using RPGCore.Data.Polymorphic.SystemTextJson; using System.Text.Json; namespace RPGCore.Documentation.Samples.RPGCore.Data; public class PolymorphicInlineChildExplicit { #region types public interface IProcedure { } [SerializeSubType(typeof(IProcedure), "create")] public...
C#
omod a <kbd>Ctrl + Shift + L</kbd> gombokat. Egy új fülön látni fogod a dokumentum összes hivatkozását, valamint azt is, hogy melyik hová mutat.</p> <p>A fentiek alapján nem csak arra érdemes figyelned, hogy a hivatkozások szövege értelmes legyen, hanem arra is, hogy ne legyenek olyan linkek, amelyeknek ugyanaz a szöv...
HTML
1: pic_width_in_luma_samples and pic_height_in_luma_samples are // constrained to be not greater than sqrt(MaxLumaPs * 8). Hence height/ // width are bounded above by sqrt(8 * 35651584) = 16888.2 samples. EVC_MAX_WIDTH = 16888, EVC_MAX_HEIGHT = 16888, // A.4.1: table A.1 allows at most 22 tile ro...
C
,f13 f27.f64 = double(float(ctx.f13.f64)); // stvx128 v127,r0,r11 ea = (r11.u32) & ~0xF; simd::store_shuffled(base + ea, simd::to_vec128i(v127), &VectorMaskL[(ea & 0xF) * 16]); // frsp f7,f11 ctx.f7.f64 = double(float(ctx.f11.f64)); // frsp f4,f9 ctx.f4.f64 = double(float(ctx.f9.f64)); // frsp f0,f6 f0.f64 = ...
C++
omed.info/sct", code: "116288000", display: "Paralytic stroke (disorder)", }, ], }, subject: { reference: "Patient/denom-EXM104" }, id: "denom-EXM104-1", }, }; updatedPatientJson.data_elements = [dataElement]; return updatedPatientJson; } describe("...
Typescript
施; (六)图书馆、博物馆、文化馆(站)、美术馆、科技馆、纪念馆、体育场馆、妇女儿童活动中心等公共文化设施; (七)公园、广场等休闲娱乐设施; (八)行政区划、自然地理、居住小区、应急避难场所、公共厕所、街道、楼宇、门牌等地名标识设施; (九)广告栏、宣传栏等广告宣传设施; (十)爱心座椅、轮椅、母婴室、自动体外除颤仪等便民设施; (十一)消防应急设施; (十二)志愿服务站点等志愿服务设施; (十三)流浪动物收容场所和设施; (十四)其他与文明行为促进工作相关的设施。 前款规定的相关设施,管理单位应当加强日常检查,保证设施完好、运行正常、整洁有序。 第二十五条 市、县(市、区)人民政府及其有关部门在实施乡村振兴...
Markdown
href="Matrix3.html" class="type-name-link" title="class in icyllis.arc3d.core">Matrix3</a></li> <li class="circle">icyllis.arc3d.core.<a href="Matrix4.html" class="type-name-link" title="class in icyllis.arc3d.core">Matrix4</a> (implements java.lang.<a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/...
HTML