content
stringlengths
2
6.21k
label
stringclasses
16 values
jpeg', socialProfiles: [ { name: 'github', url: 'https://github.com/chrysthian/' }, { name: 'linkedin', url: 'https://www.linkedin.com/in/chrysthian-simao/' }, ] as SocialLinks[], activities: [{ type: 'workshop', title: 'Jogos em navegadores, comofas?', description: 'Vamos combinar bibliotecas...
Typescript
/// Position of light in world coordinates. pub position: Vector3<f32>, /// Distance at which light intensity decays to zero. pub distance: f32, /// Smoothstep left bound. It is ((hotspot_cone_angle + falloff_angle_delta) * 0.5).cos() pub edge0: f32, /// Smoothstep right bound. It is (hotspo...
Rust
d error: %v", err) } if want := []any{"Name"}; !reflect.DeepEqual(args, want) { t.Errorf("expected args to be %q, got %q instead", want, args) } if want := "name <> ?"; sql != want { t.Errorf("expected args to be %q, got %q instead", want, sql) } s := []int{1, 2, 3} ids := &s eq = Eq{"id": ids} sql, args,...
Go
Response.getLsts().get(1).getLsts().get(0).getArrs().get(0).getStr().getValue(), is("<b>DEV</b>-MNT")); assertThat(searchResponse.getLsts().get(1).getLsts().get(0).getArrs().get(1).getName(), is("remarks")); assertThat(searchResponse.getLsts().get(1).getLsts().get(0).getArrs().get(1).getStr().getValue(...
Java
Stack frame = stack.push()) { if (invokePZ(memAddress(frame.ASCII(extName, true)), IsExtensionPresent)) { supportedExtensions.add(extName); } } } } if (alcCaps.ALC_EXT_EFX) { supportedExtensions.add("ALC_EXT_EFX"); } apiFilterExtensions(supportedExtensions, Configuration.OPENAL_EXTENS...
Java
之刃,就回到韋恩的避難所找大衛·偉恩。"}}, [10680] = {"古爾丹火山", nil, {"跟影月谷詛咒祭壇的大地治癒者托爾洛克交談。"}}, [10681] = {"古爾丹火山", nil, {"跟影月谷詛咒祭壇的大地治癒者托爾洛克交談。"}}, [10682] = {"協商時間……", nil, {"與監督者奴阿爾協商。"}}, [10683] = {"巴瑞碑文", nil, {"星光聖所的秘法師賽利斯要你去巴瑞廢墟從地上及灰舌勞工身上收集12個巴瑞碑文。\n\n為占卜者完成任務會讓你的奧多爾聲望降低。"}}, [10684] = {"長者奧朗奴", nil, {"星光聖所的秘法師賽利斯要你去巴瑞廢墟取回長者奧朗奴身上...
Lua
�的权限符 private enum class EnClass(val age: Int) : OnClickListener { //5.1 枚举类,可以有主构造函数内的属性参数;可实现接口;可override函数;自身final不可open不可abstract; ZhangSan(3) { override fun onClick(v: View?) { } override fun abd() { } }, //todo 枚举,内部包含的,都是其自...
Kotlin
x_list. mysql_trx_list may additionally contain transactions that have not yet been started in InnoDB. */ trx_ids_t rw_trx_ids; /*!< Array of Read write transaction IDs for MVCC snapshot. A ReadView would take a snapshot of these transactions whose changes are not visible to it. We shoul...
C
GB-SSD-FHD 320w,https://a.allegroimg.com/s400/11f21a/ecfcfff54100ba94588e5fc82178/LAPTOP-LENOVO-Ideapad-530S-14IKB-i5-8250U-4GB-256GB-SSD-FHD 400w,https://a.allegroimg.com/s480/11f21a/ecfcfff54100ba94588e5fc82178/LAPTOP-LENOVO-Ideapad-530S-14IKB-i5-8250U-4GB-256GB-SSD-FHD 480w" src="./Lenovo Y530 - Niska cena na Allegr...
HTML
() { } InitIDB* InitIDB::getInst() { if (_init_idb == nullptr) { _init_idb = new InitIDB(); } return _init_idb; } void InitIDB::destroyInst() { if (_init_idb != nullptr) { delete _init_idb; _init_idb = nullptr; } } void InitIDB::initPointSets() { auto* idb_builder = dmInst->get_idb_builder();...
C++
], target); } const epics: EpicMetadata[] = (Reflect as any).getOwnMetadata(METADATA_KEY, target); const metadata: EpicMetadata = { propertyName }; (Reflect as any).defineMetadata(METADATA_KEY, [...epics, metadata], target); }; } export function getEpicsMetadata(instance: any): EpicMetadata[] { co...
Typescript
if(!Array.isArray(config.children)){ config.children = this.generateChildren(row); } config.children.forEach((childRow) => { if(childRow instanceof Row){ output.push(component ? childRow.getComponent() : childRow); if(recurse){ output = output.concat(this.getTreeChildren(chi...
JavaScript
UID) ([]database.PlaidWebhookRecord, error) { return []database.PlaidWebhookRecord{{WebhookType: "test", WebhookCode: "test", UserID: testUserID, ItemID: testItemID, CreatedAt: time.Now()}}, nil }, }, expectedStatus: http.StatusBadRequest, expectedBody: "Bad userID in context", }, { name: ...
Go
urn false; if (lng1 >= box.lng2) return false; if (lng2 <= box.lng1) return false; return true; } public void intersect(BoundingBox box) { if (box.lat1 > lat1) lat1 = box.lat1; if (box.lat2 < lat2) lat2 = box.lat2; ...
Java
спутников в городах", 0) SAS(SI_INTERFACE_OPTIONS_LIMIT_FOLLOWERS_IN_TOWNS_TOOLTIP, "Автоматически отзывает любых спутников при приближении к определенным интерактивным объектам, например ремесленным станциям.", 0) SAS(SI_INTERFACE_OPTIONS_LOOT_AUTO_ADD_TO_CRAFT_BAG, "Автодобавление в ремесл. сумку", 0) SAS(SI_INTERFAC...
Lua
OsmNode, Model, }; use ::web_sys::{Element, HtmlAnchorElement}; use gloo_events::EventListener; use js_sys::{Array, Function}; use leaflet::{ Circle, Control, LatLng, LatLngBounds, LayerGroup, Map, Marker, Polyline, Rectangle, TileLayer, }; use seed::{prelude::*, window}; use serde::{Deserialize, Serialize}; #...
Rust
0ZV90", "aW1lGAogASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEID4EEDGjAK", "BlRhcmdldBIcCg1wcmluY2lwYWxfc2V0GAEgASgJQgPgQQVIAEIICgZ0YXJn", "ZXQaMgoQQW5ub3RhdGlvbnNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUY", "AiABKAk6AjgBIkgKClBvbGljeUtpbmQSGwoXUE9MSUNZX0tJTkRfVU5TUEVD", ...
C#
rd', 'Passwords do not match') .custom((confirmPassword, { req }) => req.body.password === confirmPassword) ], forLogin: [ // check('email', 'Email is not valid.') // .isEmail() // .custom(email => User.findOne({ where: { email } }).then(u => !!u)).withMessage('Invalid email or password'), // ...
Typescript
Node NOT_() antlr.TerminalNode EXISTS_() antlr.TerminalNode Schema_name() ISchema_nameContext DOT() antlr.TerminalNode OPEN_PAR() antlr.TerminalNode AllModule_argument() []IModule_argumentContext Module_argument(i int) IModule_argumentContext CLOSE_PAR() antlr.TerminalNode AllCOMMA() []antlr.TerminalNode COMM...
Go
right: 0; padding: 4px; } .dx-button .dx-icon { -webkit-background-size: 87.5%; -moz-background-size: 87.5%; background-size: 87.5%; width: 32px; height: 32px; } .dx-button-text { color: #000; font-size: 14px; line-height: 32px; padding: 5px; } .dx-button-back { min-width: 20px; } .dx-button-back ...
CSS
rl(fonts/formwizard.woff?un40vz) format('woff'),url(fonts/formwizard.svg?un40vz#formwizard) format('svg');font-weight:400;font-style:normal}[class*=" formwizard-"],[class^=formwizard-]{font-family:formwizard!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-we...
CSS
ig.Get<FRUConfig>(); private readonly P3Apocalypse? _apoc = module.FindComponent<P3Apocalypse>(); private readonly P3ApocalypseDarkWater? _water = module.FindComponent<P3ApocalypseDarkWater>(); public override void AddAIHints(int slot, Actor actor, PartyRolesConfig.Assignment assignment, AIHints hints) ...
C#
alid argument exception. Could not convert &#39;&quot;</span> &lt;&lt; number_as_string &lt;&lt;</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; <span class="stringliteral">&quot;&#39; to a double. &quot;</span> &lt;&lt; invalid_argument_exception.what();</div><div class="line...
HTML
*maxima); cannyTraceEdge ( 0, -1, i, j, *maxima); cannyTraceEdge ( 0, 1, i, j, *maxima); cannyTraceEdge (-1, 1, i, j, *maxima); cannyTraceEdge ( 1, -1, i, j, *maxima); } } // Final thresholding for (int i = 0; i < height; i++) { for (int j = 0; j < width; j++) { if ((...
C++
);return(await Ge.start({configuration:t,json:this.json,stdout:this.context.stdout},async n=>{let s=await Qu(t);for(let[o,{experimental:a,...l}]of Object.entries(s)){let c=o;a&&(c+=" [experimental]"),n.reportJson({name:o,experimental:a,...l}),n.reportInfo(null,c)}})).exitCode()}};bu.paths=[["plugin","list"]],bu.usage=v...
JavaScript
store.Put(firstBlockHash[:], firstExt) if err != nil { logger.Panicf("Failed to save the first snapshot tail block: %v, err: %v", firstBlockHash.Hex(), err) } } } secondExt := &core.ExtendedBlock{ Block: &secondBlock, Status: core.BlockStatusTrusted, Children: []c...
Go
:inherit}:root[code-theme=dark] .chroma .gd{color:#d98f90}:root[code-theme=dark] .chroma .ge{text-decoration:underline}:root[code-theme=dark] .chroma .gr{color:inherit}:root[code-theme=dark] .chroma .gh{font-weight:bold;color:inherit}:root[code-theme=dark] .chroma .gi{font-weight:bold}:root[code-theme=dark] .chroma .go...
CSS
-> Level.WARNING Severity.Error, Severity.Assert -> Level.SEVERE } if (throwable != null) logger.log(logLevel, str, throwable) else logger.log(logLevel, str) // also print to standard outputs: if (severity == Severity.Error || sev...
Kotlin
opied = _sheet.Cells[3, 4]; cellCopied.HasFormula().Should().Be(true); cellCopied.Formula.Should().Be("=sum(G3:H4)"); _sheet.Cells[1, 1].Formula.Should().Be("=sum(D1:E2)"); copyCmd.Undo(_sheet); _sheet.Cells[3, 4].HasFormula().Should().Be(false); } [Test] public voi...
C#
ASTColumnList_identifiers_num(n.getRaw(), &num) ret := make([]*IdentifierNode, 0, num) for i := 0; i < num; i++ { var v unsafe.Pointer internal.ASTColumnList_identifier(n.getRaw(), i, &v) ret = append(ret, newIdentifierNode(v)) } return ret } type ColumnRelativePositionType int const ( ColumnRelativePositi...
Go
_untuck_wide_builds = { "wortox_original", }, has_alternate_for_body = { "wortox_original", }, release_group = 62, })) table.insert(prefs, CreatePrefabSkin("wortox_pirate", { base_prefab = "wortox", type = "base", rarity = "Elegant", rarity_modifier = "Woven", skin_tags = { "PIRATE", "BASE", "WORTOX", }, bigpo...
Lua
] += 1 ans = 0 for num in nums: com = num ^ 0xffff # com: num 的补集 sub = com # sub: 子集 while True: ans += cnts[sub] if sub == 0: break sub = (sub - 1) & com return ans `...
Markdown
49.718329 L 463.700417 48.678087 L 468.347072 47.386074 L 472.993728 46.264495 L 477.640383 45.714391 L 482.287039 45.286573 L 486.933694 44.555676 L 491.580349 43.593075 L 496.227005 42.835272 L 500.87366 41.503765 L 505.520316 40.16452 L 510.166971 38.699913 L 514.813626 37.468825 L 519.460282 35.827455 ...
HTML
Contain.inOrder.only.grouped.within.inAnyOrder( Entry { toBeLessThan(5) }, // first group: single entry < 5 Entries({ toBeGreaterThan(5) }, { toBeGreaterThan(5) }) // second group: numbers > 5 ) fails { // because one element doesn't match...
Kotlin
ntions) public static final long TSTAMP_OFFSET_call2_1__crm_getOrders = 4; // NOPMD NOCS (VariableNamingConventions) public static final long TSTAMP_OFFSET_entry2_1__crm_getOrders = 5; // NOPMD NOCS (VariableNamingConventions) public static final long TSTAMP_OFFSET_call3_2__catalog_getBook = 6; // NOPMD NOCS (Variab...
Java
clesPerFrame = Math.floor(this.clock.clockSettings.clockSpeed / VideoController.FPS); this.totalPixels = this.vcs.displayWidth * this.vcs.displayHeight; this.cyclesPerPixel = 2; this.cyclesPerHBlank = 12; this.cyclesPerVBlank = this.cyclesPerFrame - this.totalPixels * this.cyclesPerPixel - this.vcs.disp...
Typescript
yLjExNy0yLjExNGwyLjExNy0yLjEzMi0yLjExNS0yLjExNWExLjUwMSAxLjUwMSAwIDEgMSAyLjExNi0yLjEzTDEyIDkuODg0bDIuMTE1LTIuMTE1YTEuNDk5IDEuNDk5IDAgMCAxIDIuNjkzLjkwOWMwIC40OTMtLjIzOC45My0uNjA0IDEuMjAzbC0yLjA4OSAyLjExOCAyLjA4NSAyLjExNWExLjQ5NyAxLjQ5NyAwIDAgMSAwIDIuMTN2LjAwMXoiLz48L3N2Zz4='); height: 24px; width: 24px; } svg.icon--...
CSS
l, (float) i1, i); } boolean flag2 = this.cursorPosition < this.text.length() || this.text.length() >= this.getMaxStringLength(); int k1 = j1; if (!flag) { k1 = j > 0 ? l + this.width : l; } else if (flag2) { k1 = j1 - 1; ...
Java
30, r6 /* 8037E020 00379C80 41 80 FF 8C */ blt lbl_8037DFAC /* 8037E024 00379C84 2C 1C 00 00 */ cmpwi r28, 0 /* 8037E028 00379C88 41 82 00 4C */ beq lbl_8037E074 /* 8037E02C 00379C8C 88 19 00 80 */ lbz r0, 0x80(r25) /* 8037E030 00379C90 28 00 00 02 */ cmplwi r0, 2 /* 8037E034 00379C94 40 82 00 40 */ bne lbl_8037E...
Assembly
} return true; } replacementNode = this; return false; } internal override void CollectLeaves(IList<T> outputLeaves) { childA.CollectLeaves(outputLeaves); childB.CollectLeaves(outputL...
C#
대신관 킬트", [30544] = "안전보증 순간이동기: 토쉴리의 연구기지", [30545] = "Cavrylin\'s Medallion", [30546] = "최상급 탄자나이트", [30547] = "무모의 불꽃 오팔", [30548] = "톱니모양 녹옥수", [30549] = "아른거리는 탄자나이트", [30550] = "안개 어린 녹옥수", [30551] = "무모의 불꽃 오팔", [30552] = "변함없는 탄자나이트", [30553] = "예리하게 빛나는 탄자나이트", [30554] = "옹골진 불꽃 오팔", [30...
Lua
using MessagePack; #if AI || HS2 using AIChara; #endif namespace Sideloader.AutoResolver { /// <summary> /// Data about the migration to be performed /// </summary> [MessagePackObject] public class MigrationInfo { /// <summary> /// Type of migration to perform /// </sum...
C#
ient_proxy.cloud_config import net.xzos.upgradeall.core.websdk.api.client_proxy.cloud_config.migration.app1to2 import net.xzos.upgradeall.core.websdk.api.client_proxy.cloud_config.migration.hub5to6 import net.xzos.upgradeall.core.websdk.api.web.http.HttpRequestData import net.xzos.upgradeall.core.websdk.api.web.proxy....
Kotlin
// The FinderOuter // Copyright (c) 2020 Coding Enthusiast // Distributed under the MIT software license, see the accompanying // file LICENCE or http://www.opensource.org/licenses/mit-license.php. using FinderOuter; using FinderOuter.Models; using System; using System.Collections.Generic; using System.ComponentModel...
C#
st.DataSource = dt; if (dgvList.Rows.Count > 0) { dgvList.Rows[0].Selected = true; toolStripButtonEdit_Click(null, null); } } catch (Exception ex) { TracingHelper.Error(ex, typeof(...
C#
} @Test fun decodeWithEmptyCollectionLikeValueSorted() { testDecode(M2.serializer(), s23, m23) } val m24 = M2( t = TomlTable( "" to mapOf( "" to "" ) ), i = 0 ) val s24 = """ i = 0 [t] ...
Kotlin
ative": "binááʼ", "language": "navajo", "meaning": "acorn" }, { "sound": "tx!", "pronunciation": "tx6as9", "native": "chʼał", "language": "navajo", "meaning": "frog" }, { "sound": "I+I+", "pronunciation": "txhI4I4l", "native": "chííl", "language": "navajo", "meani...
HTML
些环境中,你可以在测试服务器上使用 HTTP 链接来标记测试环境网页,从而与发布的公共版网页区分开来。这项技术还是一种有趣的用来对 WebKit 和 Internet Explorer 系列浏览器隐藏样式的方法——假如你基于某些原因需要这么做的话。 _**等价的技术存在于通用脚本语言中,如 PHP 和 IIS,这两种语言都允许开发者发出 HTTP 头。使用这些语言可以向服务器的文档中写入`link`元素。这种技术有浏览器的更好的支持:每个浏览器都支持`link`元素。**_ ### 行内样式 如果你只想简单地为一个单独元素设置一些样式,不需要使用内嵌或者外部样式表,使用 HTML 的`style`属性来设置**行内样式**即可...
Markdown
color-green-05: #031608 /* oklch(17.84% 0.03957 151.36) */; --wa-color-green: var(--wa-color-green-60); --wa-color-green-key: 60; --wa-color-cyan-95: #e3f6fb /* oklch(96.063% 0.02111 215.26) */; --wa-color-cyan-90: #c5ecf7 /* oklch(91.881% 0.04314 216.7) */; --wa-color-cyan-80: #7fd6ec /* oklch(82.906% 0.089...
CSS
1f07c1f; b &= 0x40100400; a &= 0x3fffffff; b = b - (b >> 5); a |= b; *dest = RGB32k.All[(a>>15) & a]; source += 4; dest += pitch; if(depthMap!=NULL) { depthMap->setPoint((unsigned int) sx, (unsigned int) yh-count); } } while (--count); } //VIZDOOM_CODE // Adds all four spans to the screen startin...
C++
8, 0xc5, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x99, 0x16, 0xec, 0x72, 0x49, 0x05, 0x00, 0x00, } // Code generaTed by fileb0x at "2023-03-26 22:22:38.785705 +0800 CST m=+0.019728418" from config file "b0x.yaml" DO NOT EDIT. // modified(2023-03-26 22:22:37.816434909 +0800 CST) // original path: frontend/dist/449.fe5f02b3...
Go
5.7.1. Overview of IEEE-754" }], "url": "#ieee754-normal" }, "ieee754-overflow": { "dfnID": "ieee754-overflow", "dfnText": "Overflow", "external": false, "refSections": [{ "refs": [{ "id": "ref-for-ieee754-overflow" }], "title": "15.7.1. Overview of IEEE-754" }, { "refs": [{ "id": "ref-for-ieee754-overf...
HTML
,545 Q454,545 527,468 Q600,390 600,265 Q600,167 556,93 Q513,19 438,-9 L420,33 Q482,59 517,120 Q551,181 551,267 Q551,359 492,411 Q434,462 329,462 Q230,462 171,410 Q112,357 112,267 Q112,179 147,118 Q182,56 243,35 Z" /></symbol><symbol id="SHBALI-3/3.gid109" overflow="visible"><path d="M-463,823 Q-387,797 -313,791 Q-309,8...
HTML
}, months: { names: ["ܟܢܘܢ ܐܚܪܝ","ܫܒܛ","ܐܕܪ","ܢܝܣܢ","ܐܝܪ","ܚܙܝܪܢ","ܬܡܘܙ","ܐܒ","ܐܝܠܘܠ","ܬܫܪܝ ܩܕܝܡ","ܬܫܪܝ ܐܚܪܝ","ܟܢܘܢ ܩܕܝܡ",""], namesAbbr: ["܏ܟܢ ܏ܒ","ܫܒܛ","ܐܕܪ","ܢܝܣܢ","ܐܝܪ","ܚܙܝܪܢ","ܬܡܘܙ","ܐܒ","ܐܝܠܘܠ","܏ܬܫ ܏ܐ","܏ܬܫ ܏ܒ","܏ܟܢ ܏ܐ",""] }, AM: ["ܩ.ܛ","ܩ.ܛ","ܩ.ܛ"], PM: ["ܒ.ܛ","ܒ.ܛ","ܒ.ܛ"], patterns...
JavaScript
"Ṧ", ["ṩ"] = "Ṩ", ["ṫ"] = "Ṫ", ["ṭ"] = "Ṭ", ["ṯ"] = "Ṯ", ["ṱ"] = "Ṱ", ["ṳ"] = "Ṳ", ["ṵ"] = "Ṵ", ["ṷ"] = "Ṷ", ["ṹ"] = "Ṹ", ["ṻ"] = "Ṻ", ["ṽ"] = "Ṽ", ["ṿ"] = "Ṿ", ["ẁ"] = "Ẁ", ["ẃ"] = "Ẃ", ["ẅ"] = "Ẅ", ["ẇ"] = "Ẇ", ["ẉ"] = "Ẉ", ["ẋ"] = "Ẋ", ["ẍ"] = "Ẍ", ["ẏ"] = "Ẏ", ["ẑ"] = "Ẑ", ["ẓ"] = "Ẓ", ["ẕ"] ...
Lua
ols for inequality. friend bool operator!=(const tcp& p1, const tcp& p2) { return p1.family_ != p2.family_; } private: // Construct with a specific family. explicit tcp(int protocol_family) : family_(protocol_family) { } int family_; }; } // namespace ip } // namespace asio } // namespace boo...
C++
Get the next handle. Since we don't recycle handles until all of // them have been returned, there is a pathological case where a user // may make a Very Large (usize::MAX) number of valid borrows and // unborrows while always keeping at least one borrow outstanding, and // we will run ...
Rust
wiki/Video_assistant_referee" title="Video assistant referee">Video assistant referee</a>:</b> <br /><a href="/wiki/Felix_Zwayer" title="Felix Zwayer">Felix Zwayer</a> (<a href="/wiki/German_Football_Association" title="German Football Association">Germany</a>) <br /><b><a href="/wiki/Video_assistant_referee#Assistant_...
HTML
5716-6e99-4ba9-9a12-3e8b2e3cd891"), "\"82865716-6e99-4ba9-9a12-3e8b2e3cd891\""], [(Uri) new Uri("/relative/url/?with=query", UriKind.Relative), "\"/relative/url/?with=query\""] ]; [TestCaseSource(nameof(TestValues))] public void Can_serialize_special_types_and_structs_to_json(object modelValue, str...
C#
c void UpdateQuality(ItemProxy item) { var engine = new ItemQualityRuleEngine.Builder() .WithAgedBrieRule() .WithBackstagePassesRule() .WithConjuredItemRule() .WithSulfurasRule() .Build(); engine.ApplyRules(i...
C#
sequence(a, b, c); expect(tags.a).toBe(1); expect(tags.b).toBe(2); expect(tags.c).toBe(3); }); it('returns tags with correct positions for tags tracking nodes', () => { const a = text('<a>', schema); const b = text('b', schema); const c = text('<c>', schema); const { tags } = sequenc...
Typescript
strict what users and even administrators in those accounts /// can do. The management account can apply policies that prevent accounts /// from leaving the organization. Ensure that your account administrators are /// aware of this. /// /// This operation can be called only from the organization's management...
Dart
nd `dart:js_util` are disallowed. '''; /// todo (pq): consider making a utility and sharing w/ `prefer_relative_imports` YamlMap _parseYaml(String content) { try { var doc = loadYamlNode(content); if (doc is YamlMap) { return doc; } // ignore: avoid_catches_without_on_clauses } catch (_) { ...
Dart
挖掘社会生产潜力,促进国民经济持续跃进的新途径。 </p> <p> 什么叫做城市合作化供用电(即“四合一”环形供电)?有人把它比做由分门别户的“小锅饭”,发展到办“公共食堂”。这个比方是贴切的,它不仅形象地描绘了 合作化的城市供用电的方式,也反映了这个改革的实质。我国原来的城市供电系统,普遍是采用“专用”和“公用”两种方式。这就是一些用电较多的工厂、企业、 机关等单位,都有自己的一套配电和变电设备;另一些较小的工厂、企业及用电较少的机关、学校、居民又另是一套公用配电和变电系统。在一个地区内,地区变电 所送出电去以后,各用电单位另有一套配电和变电设备,把电源分送到这个单位的各个部分去,例如在工厂就是分送到各个车间去,而各...
HTML
">{{s}} MiB</option>{% endif %} {% endfor %} </select> </td> <td> Group by:&nbsp; <select name='groupby'> <option></option> {% if info.groupby == 'db' %}<option value="db" selected>database</option> {% else %} <option value="db">database</option>{% endif %} </select> </td> <td> Sort by:&nbsp; <select name='sortby'> <...
HTML
文成人文學網 <Site url="www.xbookcn.net"/> ### 短篇 <Site url="www.xbookcn.net" size="sm" /> <Route namespace="xbookcn" :data='{"path":"/:label?","categories":["reading","popular"],"example":"/xbookcn/精选作品","parameters":{"label":"按名称分类,详见https://blog.xbookcn.net/p/all.html"},"features":{"requireConfig":false,"requirePuppetee...
Markdown
}, 500); } }); // Health check endpoint app.get('/', async (c) => { // If the request accepts HTML, serve the index.html file directly if (c.req.header('accept')?.includes('text/html')) { try { const indexPath = path.resolve(__dirname, '../public/index.html'); const content = fs.readFileSync(in...
JavaScript
local UIBloxInternal = script.Parent.Parent.Parent.Parent local Packages = UIBloxInternal.Parent local Indicator = UIBloxInternal.App.Indicator local Roact = require(Packages.Roact) local Badge = require(Indicator.Badge) local BadgeStates = require(Indicator.Enum.BadgeStates) local Images = require(UIBloxInternal.App...
Lua
ルート ディレクトリ下のファイル</td><td>カレント ドライブのルート ディレクトリ下のファイル</td></tr> <tr><td></td><td>ドライブ0のルート ディレクトリ</td><td>カレント ドライブのカレント ディレクトリ</td></tr> <tr><td>2:</td><td>ドライブ2のルート ディレクトリ</td><td>ドライブ2のカレント ディレクトリ</td></tr> <tr><td>2:file1.txt</td><td>ドライブ2のルート ディレクトリ下のファイル</td><td>ドライブ2のカレント ディレクトリ下のファイル</td></tr> <tr><td>2:/</td><td...
HTML
<*>, inward: Boolean = true): DataFrame<T> = pivotCounts(inward) { columns.toColumnSet() } // endregion // endregion public interface Pivot<T> : Aggregatable<T> public typealias PivotColumnsSelector<T, C> = Selector<PivotDsl<T>, ColumnsResolver<C>> public class ReducedPivot<T>( @PublishedApi internal val p...
Kotlin
m(); Bmp.Save(pngStream, ImageFormats.Png); var pngClipboardData = new DataObject("PNG", pngStream); using var whiteS = new Bitmap(Bmp.Width, Bmp.Height, PixelFormat.Format24bppRgb); Image drawingImg; if (Bmp is DrawingImage drawingImage) dra...
C#
for immediate value at this time for eager immediate tagged messages"); let status = unsafe { (self.transport_interface_operations().ep_tag_eager_short)(self.ep(), self.tag_value.0, from_local_memory.as_ptr() as *const c_void, from_local_memory.len()) }; use self::Status::*; match status.parse() { ...
Rust
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * All rights reserved. * * Licensed under the Oculus SDK License Agreement (the "License"); * you may not use the Oculus SDK except in compliance with the License, * which is provided at the time of installation or download, or which * otherwise accompanies...
C#
* data from this input stream. This implementation will always * skip the requested number of bytes unless the end of the stream * is reached. * * @param n The maximum number of bytes to skip. * * @return The number of bytes actually skipped. * * @throws IOException If a problem occurs...
Java
--2dp{box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12)}.mdl-shadow--3dp{box-shadow:0 3px 4px 0 rgba(0,0,0,.14),0 3px 3px -2px rgba(0,0,0,.2),0 1px 8px 0 rgba(0,0,0,.12)}.mdl-shadow--4dp{box-shadow:0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12),0 2px 4px -1px rgb...
CSS
s[except_nr].msg = msg; return 0; } /*-------------------------- static functions ------------------------------- */ struct ago_optlist *ago_lookup(struct ago_optlist *list, char *arg, int *islong, int *amb) { int i; /* ago_lookup can be receive as `arg' a pointer to a * long argument, like --option, a pointer ...
C
3), transparent); } .pwt-rrd-cross { stroke: var(--pwt-color-focus); stroke-dasharray: 10 3; stroke-width: 0.3; } .pwt-rrd-selected-datapoint { stroke: var(--pwt-color-focus); fill: none; stroke-width: 0.5; } /// ## Panel Widget /// /// Class `pwt-panel` /// /// This is the top level class for...
CSS
AutoBlastingUpgradeWrapper, AutoCookingUpgradeContainer<BlastingRecipe, AutoCookingUpgradeWrapper.AutoBlastingUpgradeWrapper>> AUTO_BLASTING_TYPE = new UpgradeContainerType<>(AutoCookingUpgradeContainer::new); public static final UpgradeContainerType<CraftingUpgradeWrapper, CraftingUpgradeContainer> CRAFTING_TYPE = ne...
Java
id 1px #ddd; } /* header at the top */ .header-top { top: 0; bottom: auto; background: rgba(255,255,255,1); } /* header on the second screen */ .header-second-screen { bottom: -63px;/* 61px – header height */ } .header.fixNav { position: fixed; top: 0; bottom: auto; background: rgba(255,255,255,0.95); ...
CSS
= getCookiePath(); final jakarta.servlet.http.Cookie cookie = new jakarta.servlet.http.Cookie(cookieName, cookieValue); cookie.setPath(cookiePath); cookie.setHttpOnly(true); cookie.setSecure(isSecureScheme(requestScheme)); if (getAuthConfiguration().getCookieConfiguration().isSameSiteFlagEn...
Java
_65CB8714 #endif #ifdef F_scePaf_0396 IMPORT_FUNC "scePaf",0x65CD42CF,scePaf_65CD42CF #endif #ifdef F_scePaf_0397 IMPORT_FUNC "scePaf",0x6600094A,scePaf_6600094A #endif #ifdef F_scePaf_0398 IMPORT_FUNC "scePaf",0x662561D0,scePaf_662561D0 #endif #ifdef F_scePaf_0399 IMPORT_FUNC "scePaf",0x66507AB7,scePaf_66507AB7 #e...
Assembly
using EasyEventSourcing.EventSourcing.Handlers; using EasyEventSourcing.EventSourcing.Persistence; using EasyEventSourcing.Messages.Orders; namespace EasyEventSourcing.Domain.Shipping { public class OrderEventHandler : IEventHandler<OrderCreated> , IEventHandler<PaymentReceived> , IEventHa...
C#
float arcAngle = arcLength / radius; float minAngle = scale.x * (-0.5f + rect.x) / radius; int columns = Mathf.CeilToInt(longitudes * arcAngle / (2 * Mathf.PI)); // we don't want super tall skinny triangles because that can lead to artifacting. // make triangles no more than 2x taller than wide float t...
C#
, U10, Exp>; pub type IFix64<Exp> = Fix<i64, U10, Exp>; pub type IFixSize<Exp> = Fix<isize, U10, Exp>; #[cfg(feature = "i128")] pub type IFix128<Exp> = Fix<i128, U10, Exp>; } /// SI prefixes. pub mod si { use typenum::{N1, N2, N3, N6, N9, N12, N15, N18, N21, N24}; use typenum::{P1, P2, P3, P6,...
Rust
e() > 0); view.submit.setText(context.getString(io.openim.android.ouicore.R.string.sure) + "(" + userInfos.size() + "/999)"); }); } public void showPopAllSelectFriends(LayoutSelectedFriendsBinding view, LayoutPopSelectedFriendsBinding view2) { ...
Java
// ************************************************************* // project: graphql-aspnet // -- // repo: https://github.com/graphql-aspnet // docs: https://graphql-aspnet.github.io // -- // License: MIT // ************************************************************* namespace GraphQL.AspNet.Schemas.TypeSystem { ...
C#
(' ') + '"' + (event.url ? ' href="' + htmlEscape(event.url) + '"' : '' ) + (skinCss ? ' style="' + skinCss + '"' : '' ) + '>' + '<div class="fc-content">' + (this.isRTL ? titleHtml + ' ' + timeHtml : // put a natural space in between timeHtml + ' ' + titleH...
JavaScript
attempts += 1 self._update_progress(0.9, "生成结果...") result = SummaryResult( original_text=text, summary=summary, style=config.style, metrics=metrics ) self._update_progress(1.0, "...
Python
0007,// R_OSZ (short)0x0020,// R_P (short)0x0020,// R_P_C_1_U_023 (short)0x0002,// R_S (short)0x0200,// R_U_W_C_C_AOPSZ (short)0x0004,// R_Z (short)0x0004,// R_Z_C_1_U_023 (short)0x0000,// S_A (short)0x0000,// S_C (short)0x0000,// S_D (short)0x0000,// S_I (short)0x0000,// S_U (short)0x0000,// U_...
Java
) # vbox.addWidget(self.tableWidget, 0, 0, 1, 2) vbox.addWidget(self.buttonAdd, 3, 0) def add_row_table(self): self.dict_perforation = self.data_well.dict_perforation plast_all = self.tabWidget.currentWidget().labels_plast self.dict_perforation_project = {} ...
Python
format("eot"),url(https://fonts.gstatic.com/s/opensans/v18/mem5YaGs126MiZpBA-UN_r8OUuhp.woff2) format("woff2"),url(https://fonts.gstatic.com/s/opensans/v18/mem5YaGs126MiZpBA-UN_r8OXOhv.woff) format("woff")}@font-face{font-family:"Open Sans";font-style:normal;font-weight:400;src:local("Open Sans Regular"),local(OpenSans...
CSS
2138347,((Xenopus_andrei{Andre's Clawed Frog_LC_S}:28.92138347,Xenopus_boumbaensis{Mawa Clawed Frog_DD_U}:28.92138347)1004998:0,(Xenopus_largeni{Largen's Clawed Frog_DD_U}:28.92138347,Xenopus_clivii{Eritrea Clawed Frog_LC_D}:28.92138347)1004999:0)1005000:0)1005001:0,(Xenopus_amieti{Volcano Clawed Frog_NT_D}:28.92138347...
JavaScript
bottom** left. /// * A negative height indicates that the image origin is the **top** left. pub height: i32, /// Should be 1, 4, 8, 16, 24, or 32. pub bits_per_pixel: u16, /// The compression style of the image data. pub compression: BmpCompression, /// The number of bytes in the raw bitmap data. ///...
Rust
> </html> <!doctype html> <html lang="en" ng-app="myApp"> <head> <meta charset="UTF-8"> <title>Document</title> <!-- <script src="js/angular.min.js"></script>--> <!-- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.0.0/jquery.min.js"></script> --> <script src="js/angular.min.js"></script>...
HTML
#pragma once #include "import_types.h" #include <bond/core/reflection.h> #include "dir1/dir2/empty_reflection.h" namespace import_test { // // HasEmpty // struct HasEmpty::Schema { typedef ::bond::no_base base; static const ::bond::Metadata metadata; private: sta...
C
they relate to column indexes. The callback function will then apply the * definition found for a column to a suitable configuration object. * @param {object} oSettings dataTables settings object * @param {array} aoColDefs The aoColumnDefs array that is to be applied * @param {array} aoCols The aoColumns ar...
JavaScript
1>, Pattern<a2>] : | readonly [] | readonly [Pattern<i>] | readonly [Pattern<i>, Pattern<i>] | readonly [Pattern<i>, Pattern<i>, Pattern<i>] | readonly [Pattern<i>, Pattern<i>, Pattern<i>, Pattern<i>] | readonly [ Pattern<i>...
Typescript
e(item_path) os.makedirs(series_folder, exist_ok=True) logger.info(f"Created series folder: {series_folder}") # Download DICOM instances response = requests.get(f"{ORTHANC_URL}/series/{series_id}/instances", verify=False) response.raise_for_status() instances = response.json() if...
Python
function' && Symbol.for; var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7; var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca; var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb; var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react...
JavaScript
oncurrentMap.remove) */ public fun remove(key: Key, value: Value): Boolean override fun remove(key: Key): Value? override fun clear() override fun put(key: Key, value: Value): Value? override fun putAll(from: Map<out Key, Value>) override val entries: MutableSet<MutableMap.MutableEntry...
Kotlin