content
stringlengths
2
6.21k
label
stringclasses
16 values
ceBitmap, templateBitmap) = getBitmaps(templateName) if (templateBitmap != null) { val matchLocations = matchAll(sourceBitmap, templateBitmap, region = region) // Sort the match locations by ascending x and y coordinates. matchLocations.sortBy { it.x } matchLocations.sortBy { it.y } if (debugMode...
Kotlin
e=unpool_shape2) up1 = self.up1(up2, indices=indices_1, output_shape=unpool_shape1) fuse5 = self.fuse5(down_inp=down5, up_inp=up5) fuse4 = self.fuse4(down_inp=down4, up_inp=up4) fuse3 = self.fuse3(down_inp=down3, up_inp=up3) fuse2 = self.fuse2(down_inp=down2, up_inp=up2) ...
Python
ages I found\n" ); // don't chatter here - he'll tell us when he's in his hiding spot return; } } } } } bool isSettledInSniper = (me->IsSniper() && m_isAtSpot) ? true : false; // only investigate noises if we are initiating attacks, and we aren't a "settled in" sniper // dont ...
C++
waG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D", title: "Comedy", }, { desc: "Futuristic worlds, advanced technology, and imaginative concepts exploring the possibilities of science and the unknown", id: 4, image: "https://images.unsplash.com/phot...
JavaScript
lowercase = angular.$$lowercase; noop = angular.noop; htmlParser = htmlParserImpl; htmlSanitizeWriter = htmlSanitizeWriterImpl; nodeContains = window.Node.prototype.contains || /** @this */ function(arg) { // eslint-disable-next-line no-bitwise return !!(this.compareDocumentPosition(arg) & 16); };...
JavaScript
['value' => 50]); // array(1) { ["value"]=> string(2) "50" } ``` ## StripHtml Strip all tags from the value. ```php $f = new Filter; $f->value('name')->stripHtml(); $result = $f->filter(['name' => '<p><strong>John</strong></p>']); // array(1) { ["name"]=> string(4) "John" } ``` Exclude some tags: ```php $f = new F...
Markdown
OUND (sound) PARAM_FLOAT (snipe) PARAM_INT (maxdamage) PARAM_INT (blocksize) PARAM_INT (pointblank) PARAM_INT (longrange) PARAM_FLOAT (runspeed) PARAM_CLASS (pufftype, AActor) if (!self->target) return 0; // Enemy can't see target if (!P_CheckSight(self, self->target)) return 0; ...
C++
id"); Long cityid = (Long)map.get("cityid"); Long hotarea_id = (Long)map.get("hotarea_id"); Long ocount = Long.valueOf(map.get("ocount") + ""); Long parking_total = Long.valueOf(map.get("parking_total") + ""); if(parking_total == 0){ continue; } double rate = (double)ocount/parking_tota...
Java
id.fit(X_train, y_train) model = grid.best_estimator_ else: model = LGBMClassifier(**hyperparameters) model.fit(X_train, y_train) y_pred = model.predict(X_test) y_prob = model.predict_proba(X_test)[:, 1] metrics = { "accuracy": accuracy_score(y_test, y_pred), "a...
Python
Filter(fieldFilter: string | string[]): string { const filters = [].concat(fieldFilter); if (filters.length === 1 && likeRegex.test(filters[0])) { return filters[0]; } return null; } export function stripLikeFilterBrackets(filter: string): string { return filter.substring(1, filter.length - 1); } /// <r...
Typescript
ional; import java.util.List; import java.util.Map; /** * 类表述: * add by 吴学文 at 2022-08-08 15:47:06 mail: 928255095@qq.com * open source address: https://gitee.com/wuxw7/MicroCommunity * 官网:http://www.homecommunity.cn * 温馨提示:如果您对此文件进行修改 请不要删除原有作者及注释信息,请补充您的 修改的原因以及联系邮箱如下 * // modify by 张三 at 2021-09-12 第10行在某种场景...
Java
ng 0b and whitespaces will be ignored. pub fn bytes_from_binary_string(original_text: &str) -> Result<Vec<u8>> { let mut text = original_text.replace("0b", ""); text = text.replace(" ", ""); bytes_from_radix_string(&text, 2) } /// Convert a octal string into a vector of bytes /// /// Leading 0 and whitesp...
Rust
using Xunit; using JsonDeserializationDynamicObject.Newtonsoft; namespace JsonDeserializationDynamicObject.Tests; public class NewtonsoftJsonUnitTest { [Fact] public void GivenJsonString_WhenUsingDynamic_ThenDynamicallyRetrieveGenreAndRating() { var jsonString = MovieStats.SquidGame; var ...
C#
#ifndef UNITSCRIPTPATHS_H #define UNITSCRIPTPATHS_H #include <DatatypeDef.h> #include "../util/AI_PathFind.h" namespace game { class Unit; // :( class UnitScriptPaths { public: /** * Default constructor. */ UnitScriptPaths(); /** * Destructor, needed t...
C
/** * @Function: GNSS/IMU/Camera semi-tightly couple estimator (GNSS solution + IMU raw + camera raw) * * @Author : Cheng Chi * @Email : chichengcn@sjtu.edu.cn * * Copyright (C) 2023 by Cheng Chi, All rights reserved. **/ #pragma once #include "gici/gnss/gnss_loose_estimator_base.h" #include "gici/imu/imu_estimator...
C
rianaIslands("MP", "+1"), Martinique("MQ", "+596"), Mauritania("MR", "+222"), Montserrat("MS", "+1"), Malta("MT", "+356"), Mauritius("MU", "+230"), Maldives("MV", "+960"), Malawi("MW", "+265"), Mexico("MX", "+52"), Malaysia("MY", "+60"), Mozambique("MZ", "+258"), Namibia("NA"...
Kotlin
t="522" width="6" height="12" font="8">0</text> <text top="444" left="539" width="6" height="12" font="8">0</text> <text top="444" left="557" width="6" height="12" font="8">0</text> <text top="444" left="574" width="6" height="12" font="8">0</text> <text top="444" left="592" width="6" height="12" font="8">0</text> <tex...
HTML
height=24 width=154 x=0 y=0.8791504></rect><rect fill=#FFFFFF height=24 width=44 x=0 y=96.87915></rect><rect fill=#FFFFFF height=24 width=33 x=44 y=96.87915></rect><rect fill=#FFFFFF height=24 width=300 x=77 y=97.13696></rect><rect fill=#FFFFFF height=24 width=33 x=377 y=96.87915></rect><rect fill=#FFFFFF height=24 wi...
HTML
strong_alias (MEMRCHR_Z13, __memrchr) weak_alias (__memrchr, memrchr) # endif #endif /* HAVE_MEMRCHR_Z13 */
Assembly
.#"), )) end @info "Running language server" VERSION pwd() project_path depot_path server = LanguageServer.LanguageServerInstance(stdin, stdout, project_path, depot_path) server.runlinter = true run(server) ]], } return { default_config = { cmd = cmd, filetypes = { 'julia' }, ...
Lua
</a></b></li> </ul> <p> <hr> <i>This archive was generated by Pipermail 0.09 (Mailman edition).</i> </BODY> </HTML> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML> <HEAD> <title>The cxx-abi-dev May 2011 Archive by author</title> <META NAME="rob...
HTML
URsLgj4sbCMwSPfRwe9iCjRta5j": {"NFTU Prove Token - MonkeyKingdom RareDiamondBaepe", "NFTP", 0, ":D/DappioWonderland/nftu-metadata/main/images/logos/NFTP-General-Small.png"}, "FVAJCnSRVSXoRfZVAXYtVFUEHtupzxJKMEGNscwHhVPG": {"NFTU Prove Token - MonkeyKingdom RareWukong", "NFTP", 0, ":D/DappioWonderland/nftu-metadata/mai...
Go
Field; use tracing_test::traced_test; // enable logs in tests #[test] #[traced_test] fn basic_correctness() { // create a (statement, witness) pair let (ek, _dk) = &keygen_unsafe(&mut rand::thread_rng()).unwrap(); let msg = &k256::Scalar::random(rand::thread_rng()); let ...
Rust
uationBuilder get _$this { final $v = _$v; if ($v != null) { _counterAttacker = $v.counterAttacker; _id = $v.id; _target = $v.target; _turn = $v.turn; _$v = null; } return this; } @override void replace(CounterAttackSituation other) { ArgumentError.checkNotNull(o...
Dart
VideoErrorCode.VideoDecodeError),Promise.reject("该机型浏览器不支持H264编码"))}},{key:"setLocalOffer",value:function(){}},{key:"afterSetLocalOffer",value:function(){var e=this;return this.rtcConnection.setLocalDescription(this.sdpOffer).then(function(){e.adapterRef.logger.log("AbstractWebRTC: setLocalDescription, uid %o 成功",e.tar...
JavaScript
, actualErr) } } // Test passes as expected, but the output values // are verified for correctness here. if actualErr == nil && testCase.shouldPass { if testCase.expectedResult != actualResult.String() { t.Errorf("Test %d: The inverse matrix doesn't match the expected result", i+1) } } } } packa...
Go
原始文件 查询参数:`sign`:签名数据,由`/api/fs/sign-file`返回 请求体:无 响应体:文件的原始二进制数据 ## 文件分发 Get:`/api/public/*` 用途:向所有人提供文件分发服务,根目录是public而非workspace `*星号`:具体要下载的文件路径。 请求体:无 响应体:文件的原始二进制数据 <!-- vim: syntax=Markdown --> # opentele <p align="center"> <img src="https://raw.githubusercontent.com/thedemons/opentele/main/opentele.p...
Markdown
e); return a; } int main(int argc, char** argv) { int n = atoi(argv[1]); // read input std::vector<int> vec; for(int i = 0; i != n; ++i) vec.emplace_back(atoi(argv[i+2])); // generate code easy::FunctionWrapper<int(int)> mul_by_two = easy::jit(mul, _1, 2); static_assert(easy::is_function_wrappe...
C++
er< i0.GeneratedDatabase, i1.$UsersTable, i1.User, i1.$$UsersTableFilterComposer, i1.$$UsersTableOrderingComposer, i1.$$UsersTableAnnotationComposer, $$UsersTableCreateCompanionBuilder, $$UsersTableUpdateCompanionBuilder, (i1.User, i0.BaseReferences<i0.GeneratedDatabase, i1.$UsersTab...
Dart
= &#39;roles&#39;; tertiary = &#39;references&#39;; }</code></pre> <p>次のようにするとスクリプトエンジンにとって効率がいい.</p> <pre><code>var testObject = test.information.settings.files; testObject.primary = &#39;names&#39;; testObject.secondary = &#39;roles&#39;; testObject.tertiary = &#39;references&#39;;</code></pre> <h3 id="tryca...
HTML
// DummyStakingKeeper dummy staking keeper to test ballot type DummyStakingKeeper struct { validators []MockValidator } // NewDummyStakingKeeper returns new DummyStakingKeeper instance func NewDummyStakingKeeper(validators []MockValidator) DummyStakingKeeper { return DummyStakingKeeper{ validators: validators, ...
Go
ance, NegativeImbalance), TransactionValidityError> { Ok((Default::default(), Imbalance::zero())) } fn refund_fee( _who: &AccountId, _weight: Weight, _payed: NegativeImbalance, ) -> Result<(), TransactionValidityError> { Ok(()) } fn charge_fee( _who: &AccountId, _len: u32, _weight: Weight, _tip...
Rust
} else { print('has no solutions because n is not a square modulo p\n'); } } } /// Provides the same result and performance as the Dart 1 version /// but using the Dart 2 specifications. Map<String, int> cache = {}; void main() { Stopwatch stopwatch = Stopwatch()..start(); /// Use the brute-force...
Dart
"]], "臧否人物": [["zāng"], ["pǐ"], ["rén"], ["wù"]], "臧谷亡羊": [["zāng"], ["gǔ"], ["wáng"], ["yáng"]], "臧穀亡羊": [["zāng"], ["gǔ"], ["wáng"], ["yáng"]], "脏污狼藉": [["zāng"], ["wū"], ["láng"], ["jí"]], "遭逢会遇": [["zāo"], ["féng"], ["huì"], ["yù"]], "遭逢不偶": [["zāo"], ["féng"], ["bù"], ["ǒu"]], "遭逢际会": [["zāo"], ["féng"], ["jì"], [...
Typescript
ENTRY(__entry) base_address = 0x80000000; PHDRS { init PT_LOAD FLAGS(5); /* read-only, executable*/ text PT_LOAD FLAGS(5); /* read-only, executable*/ } SECTIONS { /*bootloader will be compiled with phy address base at 0x8000*/ .init start_address : AT(start_address) ALIGN(4096) { KEEP(*(.init .init.*)...
Assembly
,请重新登录游戏', ''}, {'170', 'isInTeam', '1', '', '{}在队伍上阵中', ''}, {'171', 'armyOpErr', '1', '', '军演协议发送时间有误', ''}, {'172', 'invalidSkillGroupId', '1', '', '无效的技能组id', ''}, {'173', 'invalidTeamId', '1', '', '无效的队伍id', ''}, {'174', 'plrCostLimit', '1', '', '超过探索队等级cost值上限{}', ''}, {'175', 'teamMemCntLimt', '1', '', '队伍人数限制,最...
Lua
bool? noResult, bool? continueOnError, }) { database.checkNotClosed(); return database.transaction<List<Object?>>((Transaction txn) { final sqfliteTransaction = txn as SqfliteTransaction; return database.txnApplyBatch( sqfliteTransaction, this, noResult: noResult,...
Dart
ere(p => p.OutwardFacilityChargeID != null) .Where(p => lotNoList.Contains(p.OutwardFacilityCharge.FacilityLot.LotNo)) .Select(p => p) .Union( mixure .ProdOrderPartslistPos_ParentProdOrderPartslistPos ...
C#
mp.lastIndexOf('?') if (query > 0) { temp = temp.substring(0, query) } val filenamePos = temp.lastIndexOf('/') val filename = if (0 <= filenamePos) temp.substring(filenamePos + 1) else temp if (filename.isNotEmpty() && Pattern.matches("[a-zA-Z_0-9.\\-()%]+", filenam...
Kotlin
/** @ feature_widget.h Custom widget for displaying/editing a VCP feature */ // Copyright (C) 2018-2022 Sanford Rockowitz <rockowitz@minsoft.com> // SPDX-License-Identifier: GPL-2.0-or-later #ifndef FEATURE_WIDGET_H #define FEATURE_WIDGET_H #include "../base/ddcui_core.h" #include "nongui/feature_value.h" #include ...
C
"js"); var ed_bot = CodeMirror(document.getElementById("code_bot"), {lineNumbers: true}); selectBuffer(ed_bot, "js"); </script> <p>Demonstration of using <a href="../doc/manual.html#linkedDoc">linked documents</a> to provide a split view on a document, and using <a href="../doc/manual.html#swapDoc"><c...
HTML
Int",!0),ai(t.M,j4,"Integer",!0),ai(t.L,ja,"IntObject",!0),ai(t.P,Ae,"Language",!0),ai(t.Q,Ob,"Long",!0),ai(t.R,Sv,"LongObject",!0),ai(t.S,Ae,"Name",!0),ai(t.T,Ae,UH,!0),ai(t.U,j4,"NegativeInteger",!0),ai(t.V,Ae,K8t,!0),ai(t.X,wh,"NMTOKENS",!0),ai(t.W,wh,"NMTOKENSBase",!0),ai(t.Y,j4,"NonNegativeInteger",!0),ai(t.Z,j4,"...
JavaScript
, int w, int h, UInt16 rowbytes, int numPlanes) { auto unpacked = UnpackAllRows<Byte>(f, w, h, rowbytes, numPlanes * w * h); ARGBPixmap dst(w, h); dst.data.clear(); LOG << "Planar" << numPlanes*8 << " to RGBA"; for (int y = 0; y < h; y++) { if (numPlanes == 3) { for (int x = 0; x < w; x++) { dst.dat...
C++
args) { final JFrame frame = new JFrame("Print Test"); final JButton printBtn = new JButton("Print"); final JCheckBox dialogBtn = new JCheckBox("Native dialog"); JPanel panel = new JPanel(new FlowLayout()); panel.add(dialogBtn); panel.add(printBtn); frame.getCo...
Java
%2===1&&(i.left!==i.top&&(C=i.left,i.left=i.top,i.top=C),i.width!==i.height&&(C=i.width,i.width=i.height,i.height=C)),v.length&&(a=$F(a,'<g transform="'+v.join(" ")+'">',"</g>"))});let s=n.width,l=n.height,u=i.width,h=i.height,f,d;s===null?(d=l===null?"1em":l==="auto"?h:l,f=LC(d,u/h)):(f=s==="auto"?u:s,d=l===null?LC(f,...
JavaScript
rd == nextCoord) nextCoord = bCoord - normalize(bCoord - aCoord);\n\n\tvec2 prevDiff = aCoord - prevCoord;\n\tvec2 currDiff = bCoord - aCoord;\n\tvec2 nextDiff = nextCoord - bCoord;\n\n\tvec2 prevTangent = normalize(prevDiff * scaleRatio);\n\tvec2 currTangent = normalize(currDiff * scaleRatio);\n\tvec2 nextTangent = no...
JavaScript
members = objectMapper().readValue(response.getBody().asString(), new TypeReference<>() {}); assertThat(members, notNullValue()); assertThat(members, hasSize(2)); assertThat(members, hasItem(hasProperty("username", is("jack")))); assertThat(members, hasItem(hasProperty("username", is("jill")))); ...
Java
# Function to check if it's possible to place k cows in stalls such that # the minimum distance between any two cows is at least 'mid'. def is_possible(stalls, k, mid, n): cow_count = 1 # We place the first cow at the first stall last_pos = stalls[0] # The position of the last placed cow # Traverse the s...
Python
public static IDocumentSession TryAddSession(object instance) { var accessors = AccessorsCache.GetOrAdd(instance.GetType(), CreateAccessorsForType); if (accessors == null) return null; var documentSession = DocumentStore.OpenSession(); access...
C#
.65974-3.723636-5.319481-7.58026-7.846234-11.56987-7.314286-11.56987-13.830649-23.671688-18.751168-36.438441-13.298701-34.044675-15.559481-73.00987 10.771948-101.602078 15.825455-17.155325 36.438442-27.794286 50.801039-46.678442 11.170909-14.628571 19.017143-31.650909 21.942857-50.003117 5.053506-31.916883-4.122597-63....
JavaScript
*/ fun removeItem(key: Any? = null) { synchronized(imageTransformMutex) { val currentKey = key ?: this.key if (checkInBound != null) return transformItemStateMap.remove(currentKey) } } } @Composable fun rememberTransformItemState( scope: CoroutineScope = ...
Kotlin
require "GlobalVariables" require "MessageDispatchCenter" require "Helper" require "AttackCommand" local file = "model/rat/rat.c3b" Rat = class("Rat", function() return require "Actor".create() end) function Rat:ctor() copyTable(ActorCommonValues, self) copyTable(RatValues,self) self:init3D() se...
Lua
unreachable end point function infiniteLoop(): never { 直到 (真的) { } } // Object declare function create(o: object | null): void; create({ prop: 0 }); // OK create(null); // OK // create(42); // Error // create("string"); // Error // create(false); // Error // create(undefined); // Error // Type assertions let s...
Typescript
icture, VP8_ENC_ERROR_NULL_PARAMETER); } width = picture->width; height = picture->height; // Initialize BitWriter with size corresponding to 16 bpp to photo images and // 8 bpp for graphical images. initial_size = (config->image_hint == WEBP_HINT_GRAPH) ? width * height : width * height * 2; if (!...
C
MIh/dYfh19ynEN hB9Ll/h54Yic2je2Qaxe/uMMu8RODTz3oCn7FcoYpPvfygfU0ntn4IcqH/hts5DG s+3otJk4entRZglQDxR+sWOsbLtJIQZDP8rH3jDVdl5l3wspgtMTY8b5T5+pLm0p /OzCmxT0dq/O6BhpxI1xf/zcdRZeWk5DTJxTi5AgPquTlAG/B6A3HkqBJ14hT/Rk iv7Ma3DLAgMBAAECggEABATkf9VfpiAT9zYdouk50bBpckvymQTyQLD8SlBaX+KY kgv/pHSXK4Pm4iensrQerFLgfqPA3U+FiqjW5Mv7c1VRK...
Go
"build/extracted/shadow"), "builtBy" to ":instrumentation:azure-core:azure-core-1.36:library-instrumentation-shaded:extractShadowJar" ) } } dependencies { compileOnly(project(":instrumentation:azure-core:azure-core-1.36:library-instrumentation-shaded", configuration = "shadow")) library("com.azure:azu...
Kotlin
sa[10443] = 0.07977146f; sa[10444] = 0.07366444f; sa[10445] = -0.15018195f; sa[10446] = -0.11942627f; sa[10447] = 0.1279778f; sa[10448] = 0.028603937f; sa[10449] = -0.066541135f; sa[10450] = 0.06884176f; sa[10451] = -0.014644867f; sa[10452] = -0.024488263f; ...
Java
AccessibilityNodeInfo? = nodeInfo ?: return false while (tempNodeInfo != null) { if (tempNodeInfo.isClickable) { tempNodeInfo.performAction(AccessibilityNodeInfo.ACTION_CLICK) LogUtils.v("performClick success! ${nodeInfo.className}") return true ...
Kotlin
o=n(58878),i=n(68622),a=o.forwardRef((function(e,t){return o.createElement(i.I,(0,r.A)({iconAttrs:{fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},iconVerticalAlign:"middle",iconViewBox:"0 0 24 24"},e,{ref:t}),o.createElement("rect",{width:24,height:24,fill:"none"}),o.createElement("path",{d:"M18 15v3H6v-3H4v3c...
JavaScript
, see <https://www.gnu.org/licenses/>. package inventoryv1 //go-sumtype:decl Node // Node is a common interface for all types of Nodes. type Node interface { sealedNode() } // Ordered the same as NodeType enum. func (*GenericNode) sealedNode() {} func (*ContainerNode) sealedNode() {} func (*...
Go
: 1.5rem; } .daff-modal-content { + .daff-modal-actions { padding: 0 1.5rem 1.5rem; } } .daff-modal-header { + .daff-modal-content { padding-top: 0; } } @use '../../../../scss/theming' as *; @mixin daff-icon-button-theme-variant( $base-color: currentColor, $hover-color: currentColor, $active-color: $hover...
CSS
ULE:FREQ=YEARLY;BYDAY=20MO"), }); const result = event.expandRrule(); const resList = [ new Date(1997, 4, 19, 9, 0, 0), new Date(1998, 4, 18, 9, 0, 0), new Date(1999, 4, 17, 9, 0, 0), ]; expect(result, "Number of occurrences").length.is...
Typescript
sition:color .25s,opacity .25s;transition:color .25s,opacity .25s}.vjs-paused .vjs-play-control:hover div:before,.vjs-playing .vjs-play-control:hover div:after{color:#16a085}.vjs-play-control div:after{content:"\e03b"}.vjs-play-control div:before{content:"\e03c"}.vjs-paused .vjs-play-control div:after{opacity:0;filter:...
CSS
</tt> must be a model of the <a href="./TSPTourVisitor.html">TSP Tour Visitor</a> concept. The visitor object is passed by value <a href="#1">[1]</a>.<br> </blockquote> <H3>Complexity</H3> <P> The time complexity is <i>O(E log V)</i>. <P> <H3>Example</H3> <P> The file <a href="../test/metric_tsp_approx.cpp">...
HTML
nd.", ["T"] = "Brennendes Blut", }, [1706] = { ["D"] = "", ["O"] = "", ["T"] = "Grimands Rüstung", }, [1707] = { ["D"] = "Seid gegrüßt, $n, mein Name ist Luglunket, und wir haben einen wichtigen Auftrag für Euch, wenn Ihr bereit seid! Hussah!$B$BNichts würde mir als altgedientem Leitungshahn...
Lua
te[x^2*(2*x^2+x)^2, x]", // "x^5/5+1/3*2*x^6+1/7*4*x^7" // ); } public void test3() { check( // "Integrate[x*(x^2+2*x+1), x]", // "x^2/2+1/3*2*x^3+x^4/4" // ); } public void test4() { check( // "Integrate[1/x, x]", // "Log[x]" // ); } public voi...
Java
re(bool Function(E) test, {E Function()? orElse}) => _set.lastWhere(test, orElse: orElse); @override Iterable<T> map<T>(T Function(E) f) => _set.map(f); @override E reduce(E Function(E, E) combine) => _set.reduce(combine); @override E get single => _set.single; @override E singleWhere(bool Fun...
Dart
""" LE commands package. """ from .advertisement import * from .channel_sounding import * from .connection import * from .controller_config import * from .isochronus import * from .le_test import * from .misc import * from .scanning import * from .security import * __all__ = [ 'le_set_adv_params', 'le_set_a...
Python
ner_messageType } // New returns a newly allocated and mutable empty message. func (x *fastReflection_TopMiner) New() protoreflect.Message { return new(fastReflection_TopMiner) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. func (x *fastReflection_TopMin...
Go
tings: const TalkerRiverpodLoggerSettings( printProviderAdded: _verboseRiverpod, printProviderUpdated: _verboseRiverpod, printStateFullData: _verboseRiverpod, printFailFullData: _verboseRiverpod, printProviderFailed: _verboseRiverpod, ), ); static void ...
Dart
{ name: "ほこらチャレンジ:リトの詩の謎", types: ["Shrine","Shrine Quest","Tabantha"] }, { name: "ウツシエの記憶 5つ回収", types: ["Camera"] }, { name: "ボヨーンハンマー", types: ["Equipment","Kilton"] }, { name: "ハート 計7個", types: ["Shrine","Heart"] }, { name: "シーカーストーン 全アイテム強化", types: ["Camera","Rune Upgrade","Hateno"] }, { nam...
JavaScript
_ADVANCED_AERO, era, wn.getTextContent()); } else if ((wn.getAttributes().getNamedItem("unitType") != null) && wn.getAttributes().getNamedItem("unitType").getTextContent() .equalsIgnoreCase("Vehicle")) { setPctTech(TechCateg...
Java
.func .. " on a non-table") func = info.arg1[func] Tablet:assert(type(func) == "function", "Method " .. info.func .. " nonexistant") end Tablet:assert(type(func) == "function", "func must be a function or method") button.func = func button.a1 = info.arg1 button.a2 = info.arg2 b...
Lua
ketForServer(stream) when (`object`) { KpBar -> { stream.writeByte(PIDRegulatorElement.KpParameterChangedEvent) stream.writeFloat(KpBar?.value ?: 0f) } KiBar -> { stream.writeByte(PIDRegulatorElement...
Kotlin
// RUN: not llvm-mc -triple=aarch64 -show-encoding -mattr=+sve 2>&1 < %s| FileCheck %s fcmgt p0.b, p0/z, z0.b, z0.b // CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate register // CHECK-NEXT: fcmgt p0.b, p0/z, z0.b, z0.b // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: fcmgt p0.s, p0/z, z0.s, #1.0 // CHECK: [[@LIN...
Assembly
rgba(103,85,50,0.2) inset,0 0 0 7px #e00 inset,0 1px #fff,0 0 0 10px #f9f7f3}.standardization_status[title="De Facto Standard"]{background-image:none;box-shadow:0 -1px 2px 1px rgba(103,85,50,0.2) inset,0 0 0 7px #1f9374 inset,0 1px #fff,0 0 0 10px #f9f7f3}.standardization_status:before{content:url("/assets/w3c-small.s...
CSS
month 2 weeks 3 days 1 hour 1 second ago\}</em> or <em>\{1979-02-26 18:30:00\}</em>) specifies the value of the ref at a prior point in time. This suffix may only be used immediately following a ref name and the ref must have an existing log (<em>$GIT_DIR/logs/&lt;ref&gt;</em>). Note that this looks up the state of y...
HTML
p++ << 24; crc = (crc << 8) ^ tab[0][crc >> 24]; } # else crc = (__force u32) __cpu_to_be32(crc); crc = crc32_body(crc, p, len, tab); crc = __be32_to_cpu((__force __be32)crc); # endif return crc; } #if CRC_BE_BITS == 1 u32 __pure __weak crc32_be(u32 crc, unsigned char const *p, size_t len) { return crc32_be_ge...
C
// // FountainWriter.h // // Copyright (c) 2012-2013 Nima Yousefi & John August // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to // deal in the Software without restriction, including without limitation ...
C
|0)!=0&(p|0)!=0){Ca=n9(c[I>>2]|0,h|0,g|0)|0;if(!Ca)th(I|0,p|0);z=p}else Ca=-1;if((Ca|0)==1){L=z;M=12;continue}c[i>>2]=0}o=0;_(44,P|0,f|0)|0;I=o;o=0;if((I|0)!=0&(p|0)!=0){Da=n9(c[I>>2]|0,h|0,g|0)|0;if(!Da)th(I|0,p|0);z=p}else Da=-1;if((Da|0)==1){L=z;M=12;continue}else{M=77;break}}A=c[i>>2]|0;YT(h|0);l=e;return A|0}funct...
JavaScript
#ifndef SAW256_H_ #define SAW256_H_ #if ARDUINO >= 100 #include "Arduino.h" #else #include "WProgram.h" #endif #include <avr/pgmspace.h> #define SAW256_NUM_CELLS 256 #define SAW256_SAMPLERATE 256 const int8_t __attribute__((section(".progmem.data"))) SAW256_DATA [] = { -128, -127, -126, -1...
C
String? = null, /** * JSON-encodable object, used to contain any arbitrary key value pairs which may also contain other primitive JSON types, * JSON-encodable objects or JSON-encodable arrays. The @extras@ field is provided to contain message metadata and/or * ancillary payloads in support of specific func...
Kotlin
: d503201f nop 451ee8: d2800000 mov x0, #0x0 // #0 451eec: 17fffff6 b 451ec4 <__dlmopen+0x54> 451ef0: 97ff2f10 bl 41db30 <__stack_chk_fail> 451ef4: d503201f nop 0000000000451ef8 <strerror>: 451ef8: a9be7bfd stp x29, x30, [sp, #-32]! 451efc: d2800002 mov x2, #0x0 ...
Assembly
ue(percent: number, begin: number, end: number) { var flag = end > begin ? 1 : -1; var result = Math.round(Math.abs(end - begin) * percent * flag + begin).toString(16); return result.length < 2 ? "0" + result : result; } private getInfoWindowContentTemplate(opt) { var template = ...
Typescript
ள்": "2 கிராம்", "ஆற்றல்": "360 கிலோகலோரி"}}, // {"name": "சீராகசம்பா", "image": "lib/assets/Rice/7.jpg", "use": "சீராகா சம்பா அரிசியில் செலினியம் உள்ளது, இது பெருங்குடல் மற்றும் குடல் புற்றுநோயைத் தடுக்க உதவுகிறது. ஃபைபர் மற்றும் ஆன்டி-ஆக்ஸிடன்ட் பெருங்குடல் மற்றும் குடலில் இருந்து ஃப்ரீ ரேடிக்கல்களை அகற்ற உதவுகிறது....
Dart
20(r1) /* 80150370 0014D2B0 7C 08 02 A6 */ mflr r0 /* 80150374 0014D2B4 3C 80 80 48 */ lis r4, lbl_8047C948@ha /* 80150378 0014D2B8 38 A0 00 00 */ li r5, 0 /* 8015037C 0014D2BC 90 01 00 24 */ stw r0, 0x24(r1) /* 80150380 0014D2C0 93 E1 00 1C */ stw r31, 0x1c(r1) /* 80150384 0014D2C4 3B E4 C9 48 */ addi r31, r4, l...
Assembly
c-> <c- p>}</c-> <c- p>};</c-> <c- a>const</c-> gyro <c- o>=</c-> <c- ow>new</c-> Gyroscope<c- p>({</c-> frequency<c- o>:</c-> <c- mf>20</c-> <c- p>});</c-> <c- c1>// Remove drift with a high pass filter.</c-> <c- a>const</c-> filter <c- o>=</c-> <c- ow>new</c-> HighPassFilterData<c- p>(</c->gyro<c- ...
HTML
"test").toNotMatch(/tset/); } function test_arrays() { expect([0]).toBe([0]); expect([0]).toBeFalsy(); expect([0]).toBeTruthy(); expect([0]).toEqual([0]); expect([0]).toExist(); expect([0]).toNotBe([1]); expect([0]).toNotEqual([1]); expect([0]).toNotExist(); // TODO: expect([0]).toContain(0); // TO...
Typescript
甲方向乙方提供的情况、报表和各项资料不真实;   (2)甲方与第三者发生诉讼,经法院判决败诉,偿付赔偿金后,无力向乙方偿付贷款本息;   (3)甲方的资产总额不足抵偿其负债总额;   (4)甲方的保证人违反或失去保证书中规定的条件。   2.甲方在还清款前,经营中的资金往来,除乙方同意者外,均须通过在乙方开立的帐户办理,不得擅自将资金转移到其他银行或者金融机构。   3.乙方有权检查、监督贷款的使用情况。甲方应向乙方提供有关报表和资料。   4.甲方或乙方任何一方要求变更合同或本合同中的某一项条款,须在事前以书面形式通知对方,在双方达成协议前,本合同中的各项条款仍然有效。   5.甲方提供的借款申请书、不可撤销担保书、工贸合同(或协...
HTML
ed. """ iterable = (iterable_or_value, *others) if others else iterable_or_value it = iter(iterable) try: lo = hi = next(it) except StopIteration as e: if default is _marker: raise ValueError( '`minmax()` argument is an empty iterable. ' ...
Python
모한 광기 중첩 하나당 야수에게 %s의 집중을 부여합니다. %s초 동안 지속됩니다.\n야수가 기본 공격을 사용할 때마다 광기를 얻어 %s초 동안 근접 공격 속도가 %s%만큼 증가합니다. 최대 %s번까지 중첩됩니다"] = { { Stats.RangedHaste, }, false, false, false, { Stats.MeleeHaste, }, false, } -- s428726 L["%s초 동안 야수의 근접 공격 속도가 %s%만큼 증가합니다"] = { false, { Stats.MeleeHaste, }, } -- s428728 L["가격 당했을 때 공격자에게 %s의 ...
Lua
argv.h" #include "m_misc.h" #include "r_modes.h" SDL_Surface *my_vis; int graphics_shutdown = 0; cvar_c in_grab; static bool grab_state; static int display_W, display_H; // Possible Screen Modes static struct { int w, h; } possible_modes[] = { { 320, 200, }, { 320, 240, }, { 400, 300, }, { 512, 384, }, ...
C++
VALID_MATERIAL_HANDLE; m_iMaterialModel = -1; m_SpreadSpeed = 15; m_Speed = 30; m_StartSize = 10; m_EndSize = 15; m_Rate = 80; m_JetLength = 180; m_bEmit = true; m_flBaseSpread = 20; m_bInView = false; // Lighting is (base color) + (ambient / dist^2) + bump(directional / dist^2) // By default, we use bo...
C++
e. number of rects that would be returned from the iterator). We could just return count/2, since there must be at least 2 values per interval, but we can first trim off the const overhead of the initial TOP value, plus the final BOTTOM + 2 sentinels. */ #if 0 // UNUSED static int count_to_intervals(i...
C++
col_ub[0] = INFINITY; col_ub[1] = INFINITY; row_lb[0] = 100; row_ub[0] = 100; } else if(row ==1 || row == 2) { assert(*n==2 && *m ==1 ); col_lb[0] = -INFINITY; col_lb[1] = -INFINITY; col_ub[0] = INFINITY; col_ub[1] = INFINITY; row_lb[0] = 0; row_ub[0] = 500; } else assert(fals...
C++
{ display: block; margin: 0; width: 100%; } } &.grid--align-center { align-items: center; } &.grid--align-stretch { align-items: stretch; } &.grid--align-top { align-items: top; } } .ps__main.grid--12 { grid-template-columns: repeat(12, 1fr); grid-column-gap: var(--h-padd...
CSS
o us through our <a href="/contact">Contact</a> page. We would love to hear from you and improve your gaming experience!</p> </div> </body> </html> <!-- templates/manage_games.html --> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Manage Saved Games - UnscriptedAdventures</title> ...
HTML
, 1 * SIZE(AO) ST c31, 2 * SIZE(AO) ST c32, 3 * SIZE(AO) #endif #ifdef LN daddiu CO1,CO1, -2 * SIZE daddiu CO2,CO2, -2 * SIZE #endif ST c11, 0 * SIZE(CO1) ST c12, 1 * SIZE(CO1) ST c31, 0 * SIZE(CO2) ST c32, 1 * SIZE(CO2) #ifndef LN daddiu CO1,CO1, 2 * SIZE daddiu CO2,CO2, 2 * SIZE #endif MTC $0, ...
Assembly
--------------------------- require("scripts/globals/settings") require("scripts/globals/status") require("scripts/globals/msg") ----------------------------------- function onAbilityCheck(player,target,ability) if player:hasStatusEffect(dsp.effect.TRANQUILITY) then return dsp.msg.basic.EFFECT_ALREADY_ACTI...
Lua
traceId, r'NotFoundError', 'traceId'), details: _details?.build(), ); } catch (_) { late String _$failedField; try { _$failedField = 'details'; _details?.build(); } catch (e) { throw BuiltValueNestedFieldError( r'NotFoundErr...
Dart