content
stringlengths
2
6.21k
label
stringclasses
16 values
ages</A></P> <P ALIGN=LEFT><A HREF="sld032.htm">Catching exceptions</A></P> <P ALIGN=LEFT><A HREF="sld033.htm">Try-finally: cleanup</A></P> <P ALIGN=LEFT><A HREF="sld034.htm">Raising exceptions</A></P> <P ALIGN=LEFT><A HREF="sld035.htm">More on exceptions</A></P> <P ALIGN=LEFT><A...
HTML
assert_eq!( digest, "sha256:51d9b231d5129e3ffc267c9d455c49d789bf3167b611a07ab6e4b3304c96b0e7" ); } #[tokio::test] async fn test_pull_layer() { let image = Reference::try_from(HELLO_IMAGE).expect("failed to parse reference"); let mut c = Client::default()...
Rust
enum resolution_setting { ResolutionSetting_4096x2160, // default ResolutionSetting_1920x1080, ResolutionSetting_1280x720, }; enum shadow_quality_setting { ShadowQualitySetting_High, ShadowQualitySetting_Med, ShadowQualitySetting_Low, ShadowQualitySetting_Off, }; enum lighting_quality_setting { Light...
C
}, { name: "{storagePool}", inputStr: name, }, { name: "/{storagePool}", inputStr: "/" + name, }, } for _, tc := range cases { tc := tc t.Run(tc.name, func(t *testing.T) { t.Parallel() result, _ := tpgcompute.ExpandStoragePoolUrl(tc.inputStr, data, config) if result != fullUr...
Go
, 20, 62.5, 20, 62.5); context.bezierCurveTo(20, 80, 40, 102, 75, 120); context.bezierCurveTo(110, 102, 130, 80, 130, 62.5); context.bezierCurveTo(130, 62.5, 130, 25, 100, 25); context.bezierCurveTo(85, 25, 75, 37, 75, 40); if (this.active == true) { ...
Typescript
USES.fasta -r viruses_am_ct -m 32 -t 32 -p False -am True --wrap False ``` For very divergent genomes, setting `-hh hhsearch` will marginally improve number of genes that are annotated. This setting increasese the run time quite a bit. On the other hand, setting `-hh none` will skip the time consuming hhblits step. Wi...
Markdown
//Cachorros export const dogs = (req:Request, res:Response)=>{ let pets = Pet.searchType('dog') res.render('../views/pages/page', { menu:activeObject('dog'), banner: { title: 'Cachorros', background: 'banner_dog.jpg' }, pets }) } //Gatos export const...
Typescript
/* * (C) Copyright 2007-2013 * Allwinner Technology Co., Ltd. <www.allwinnertech.com> * Jerry Wang <wangflord@allwinnertech.com> * * See file CREDITS for list of people who contributed to this * project. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Ge...
C
/ul></li><li>4</li></ul>' ] ] ); // https://dev.ckeditor.com/ticket/9057 addTests( 'test decrease nest list keeps inline style on list element', 'outdent', [ [ '<ul><li>foo<ul><li style="text-align:right">^bar</li></ul></li></ul>', '<ul><li>foo</li><li style="text-align:right;">bar</li></ul>' ] ] ); // https:...
JavaScript
: 5px; line-height: 5px; background-color: #44f0c7;"> ­ </td> </tr></tbody></table></td> </tr></tbody></table></td> </tr></tbody></table></th> </tr></tbody></table></td> </tr></tbody></table><table cellspacing="0" cellpadding="0" border="0" role="presentation" width="100%" align="center" class="r13-o" style="table-layo...
HTML
rintf("test_restrictions_empty: skipped\n"); } else if (ret == TEST_FAILED) { fprintf(stderr, "test_restrictions_empty failed\n"); return ret; } ret = test_restrictions_rings_not_disabled(); if (ret == TEST_SKIPPED) { printf("test_restrictions_rings_not_disabled: skipped\n"); } else if (ret == TEST_FAILED) ...
C
Dependents) } func hasFinalizer(accessor metav1.Object, matchingFinalizer string) bool { finalizers := accessor.GetFinalizers() for _, finalizer := range finalizers { if finalizer == matchingFinalizer { return true } } return false } // this function takes newAccessor directly because the caller already //...
Go
186, 187, 188, 189, 190, 191, 192, 193,\ 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209} #define CONFIG_SYS_NAND_ECCSIZE 512 #define CONFIG_SYS_NAND_ECCBYTES 26 #define CONFIG_SYS_NAND_ECCSTEPS 8 #define CONFIG_SYS_NAND_ECCTOTAL (CONFIG_SYS_NAND_ECCBYTES * \ CONFIG_SYS_NAN...
C
201] = "Be\'er Sheva urban", --32 [202] = "Tiberias regional", --25 [203] = "Ramla - Lod", --16 (defunct since end of 2013) [204] = "Ashdod urban", --25 [205] = "Netanya urban", --4 [206] = "...
Lua
="ref-for-NT-Char">Char</a></code> production. </p> <p>The <dfn class="dfn-paneled idl-code" data-dfn-for="Document" data-dfn-type="method" data-export id="dom-document-createcdatasection"><code>createCDATASection(<var>data</var>)</code></dfn> method steps are: </p> <ol> <li> <p>If <a data-link-type="d...
HTML
-----Decompiled And Stolen Of Dahnoob, Leaked By Shelter---- plr = game.Players.LocalPlayer repeat wait(0.4) until plr.Character chr = plr.Character human = chr:FindFirstChild("Humanoid") mouse = plr:GetMouse() cam = workspace.CurrentCamera selected = false equipd = false tors = chr.Torso rar...
Lua
lationsMisskeyAbuseReportNotificationRecipientRecipientTypeCaptionsZhTw._(TranslationsZhTw root) : this._root = root, super.internal(root); final TranslationsZhTw _root; // ignore: unused_field // Translations @override String get mail => '寄送到擁有監察員權限的使用者電子郵件地址(僅在收到檢舉時)'; @override String get webhook => '向指定的 Syst...
Dart
".":n&&1===o?"//":t.slice(0,o)},basename:function(t,r){if(void 0!==r&&"string"!=typeof r)throw TypeError('"ext" argument must be a string');e(t);var n,o=0,i=-1,a=!0;if(void 0!==r&&r.length>0&&r.length<=t.length){if(r.length===t.length&&r===t)return"";var c=r.length-1,u=-1;for(n=t.length-1;n>=0;--n){var s=t.charCodeAt(n...
JavaScript
4c92be80b5"}, "below": [{"type": "LinearAxis", "id": "e07bf91b-509c-4e7b-8a0d-7c35aa35d989"}], "left": [{"type": "LinearAxis", "id": "e9a95532-dac1-4255-90d0-fc9e9c2606d0"}]}}, {"attributes": {"plot": {"subtype": "Figure", "type": "Plot", "id": "6858766e-76b6-47f9-8eeb-d65007b60781"}, "dimensions": ["width", "height"],...
HTML
reader.Parse(is, h); EXPECT_EQ(0, StrCmp<UTF16<>::Ch>(e, h.str_)); EXPECT_EQ(StrLen(e), h.length_); } TEST(Reader, ParseString_TranscodingWithValidation) { const char* x = "\"Hello\""; const wchar_t* e = L"Hello"; GenericStringStream<UTF8<> > is(x); GenericReader<UTF8<>, UTF16<> > reader; ...
C++
= new Date(); send_data.txnType = 'JSON Serialization'; send_data.lib = 'libobjc.a.dylib'; send_data.method = '+[NSJSONSerialization JSONObjectWithData:options:error:]'; send_data.artifact = []; /* --- Payload Body --- */ var data = {} data.name =...
JavaScript
3B8A7C11EE6397B59A6F493A92A0D unknown /CN=fan V 331226093347Z 68903DC7E48730D71E07941E5B736655 unknown /CN=luw R 331231023015Z 240124065851Z 60E9E3C0C86064E8614D211B037136A1 unknown /CN=chen V 331231060110Z 246B65CD91F3FF17BCCE337668A423C5 unknown /C...
HTML
ById(id: number): Promise<Customer> { const sql = 'SELECT * FROM p0.cus_info WHERE id = $1'; return db.query<CustomerLine>(sql, [id]) .then(result => result.rows.map(row => Customer.from(row))[0]); } //create a new customer; sends queries to two separate tables and returns added customer export a...
Typescript
_LineList() { return (int)1L; } static final int WGPUPrimitiveTopology_LineStrip() { return (int)2L; } static final int WGPUPrimitiveTopology_TriangleList() { return (int)3L; } static final int WGPUPrimitiveTopology_TriangleStrip() { return (int)4L; } static final int WGPUPrimitiveTopology_Force32()...
Java
sonObject.get("feedback").asString when(value) { 1 -> { assertTrue(feedback.contains("poor")) assertTrue(feedback.contains(":1")) } 2 -> { assertTrue(feedback.contains("average")) } else -> { ...
Kotlin
, [1382] = "玛杜克", [1383] = "斯纳尔", [1384] = "兹塔克", [1385] = "布劳恩", [1386] = "罗格瓦尔", [1387] = "塞斯塔", [1388] = "瓦加什", [1392] = "科松", [1393] = "狂暴穴居人", [1395] = "奥比斯雷", [1397] = "霜鬃先知", [1398] = "大头目加尔高什", [1399] = "玛高什", [1400] = "湿地鳄鱼", [1401] = "Test Squirrel", [1402] = "托普·麦克纳布", [1403...
Lua
var b; var a = 0; A() : a = E(1), // Initializations in different order to decls. Ascending... b = E(2), c = E(3), f = E(4), // Descending to be perverse... e = E(5), d = E(6), g = E(7), // Ascending again. h = E(8), i = E(9), j = E(10) { Expect.equ...
Dart
} } } return err } package kpgx import ( "context" "fmt" "io" "log" "testing" "time" "github.com/jackc/pgx/v4/pgxpool" "github.com/ory/dockertest/v3" "github.com/ory/dockertest/v3/docker" "github.com/vingarcia/ksql" "github.com/vingarcia/ksql/sqldialect" ) func TestAdapter(t *testing.T) { ctx := c...
Go
---@class CS.UnityEngine.RenderSettings : CS.UnityEngine.Object ---@field public fog boolean ---@field public fogStartDistance number ---@field public fogEndDistance number ---@field public fogMode number ---@field public fogColor CS.UnityEngine.Color ---@field public fogDensity number ---@field public ambientMode numb...
Lua
tosize(); } }); ]]) local toc = {} local function addtocsubsections(toc, section) table.insert(toc, string.format('<ul>')) for k,v in pairs(section.subsections) do table.insert(toc, string.format('<li><a class="toclink" id="link_%s">%s</a></li>',...
Lua
Hidden() return true end function modifier_imba_riki_backstab_translation:DeclareFunctions() local funcs = { MODIFIER_PROPERTY_TRANSLATE_ACTIVITY_MODIFIERS, } return funcs end function modifier_imba_riki_backstab_translation:GetActivityTranslationModifiers() if self:GetParent():GetName() == "npc_dota_hero_riki" th...
Lua
.len()]; let mut pos = 0; for i in 1..pattern.len() { while pos > 0 && pattern[i] != pattern[pos] { pos = table_of_ocurrencies[pos - 1]; } if pattern[pos] == pattern[i] { pos += 1; table_of_ocurrencies[i] = pos; ...
Rust
Color._forSpace( space, _normalizeHue( channel0, invert: channel1 != null && fuzzyLessThan(channel1, 0), ), channel1?.abs(), channel2, alpha, ), ColorSpace.hwb => SassColor._forSpace( space,...
Dart
sizing: border-box; } /** * Make all elements from the DOM inherit from the parent box-sizing * Since `*` has a specificity of 0, it does not override the `html` value * making all elements inheriting from the root box-sizing value * See: https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-p...
CSS
D79D" data-bytes="C8 FE"></span> <span data-cp="D79E" data-bytes="C6 4D">M</span> <span data-cp="D79F" data-bytes="C6 4E">N</span> <span data-cp="D7A0" data-bytes="C6 4F">O</span> <span data-cp="D7A1" data-bytes="C6 50">P</span> <span data-cp="D7A2" data-bytes="C6 51">Q</span> <span data-cp="D7A3" data-bytes="C6 52">R<...
HTML
using Common; using Domain.Common.Identity; using Domain.Common.ValueObjects; using Domain.Events.Shared.Identities.SSOUsers; using Domain.Interfaces.Entities; using Domain.Services.Shared; using Domain.Shared; using FluentAssertions; using Moq; using UnitTesting.Common; using Xunit; namespace IdentityDomain.UnitTests...
C#
eakatɔ̃ ɔɖegbodzo ɔɖegu ɔɖesɛrã ɔɖewi ɔɖi ɔɖiɖi ɔɖo ɔɖoɖo ɔɖoe ɔɖɔɛ ɔɖɔwũ ɔɖu ɔɖuɖu ɔɖui ɔfã ɔfafã ɔfe ɔfedza ɔfere ɔfɛ̃ ɔfɛfɛ̃ ɔfɛrɛrɛ ɔfiã ɔfiɛ ɔfiniki ɔfinikira ɔfirimu ɔfoforo ɔfore ɔfɔ ɔfɔgu ɔfu ɔfudza ɔfuĩdza ɔfuri ɔgba ɔgbami ɔgbaworeti ɔgidi ɔgo ɔgɔdɛ̃ ɔɣa ɔɣara ɔɣe ɔɣede ɔɣedza ɔɣekparɛ ɔɣere ɔɣewi ɔɣɛ ɔɣɛgu ɔ...
HTML
dir = FI_RGBA_BLUE; } set2->r1 = set1->r1; set2->g1 = set1->g1; set2->b1 = set1->b1; switch (dir) { case FI_RGBA_RED: set2->r0 = set1->r1 = cutr; set2->g0 = set1->g0; set2->b0 = set1->b0; break; case FI_RGBA_GREEN: set2->g0 = set1->g1 = cutg; set2->r0 = set1->r0; set2->b0 = s...
C++
CLEAR_DETAIL } } function getStyleSongsListAction(data) { return { type:GET_STYLE_SONG_LIST, payload:data } } export function getDiscoveryData() { return dispatch=>{ axios.get(`${API}/mock/discovery/discovery.json`).then(response=>{ let res = response.data; ...
JavaScript
r-color; -fx-stroke-dash-array: 8 4; -fx-stroke-dash-offset: 4; -fx-stroke-type: inside; -fx-stroke-line-cap: butt; -fx-fill: transparent; } .titled-skins .default-connection-hover-effect:pressed { -fx-stroke-width: 1; -fx-stroke: null; -fx-stroke-type: inside; -fx-fill: null; } .titled-skins .default-joint ...
CSS
TraditionalFunctionality(t) } // Helper functions // cleanupTestEnv removes the test WSL2 distro and runs the uninstaller if it exists func cleanupTestEnv(t *testing.T, distroName string) { t.Logf("Cleaning up test environment") // First, run the uninstaller to clean up Windows-side components // Try common insta...
Go
>from sqlalchemy.orm import DeclarativeBase\n\nclass Base(DeclarativeBase):\n pass\n</code></pre>\n\n<p>The above <code>Base</code> class is now usable as the base for new declarative\nmappings. The superclass makes use of the <code>__init_subclass__()</code>\nmethod to set up new classes and metaclasses aren't use...
JavaScript
a PDF") files = [("files", ("test.txt", text_file, "text/plain"))] data = {"document_type": "Test"} response = client.post( f"/credit-request/{credit_request_id}/documents", files=files, data=data ) assert response.status_code == 400 assert "Unsupported fi...
Python
{ err = ChunkError return } buf := new(bytes.Buffer) buf.WriteByte(byte(RTMP_CHUNK_HEAD_1 + head.ChunkId)) //if head.Timestamp == 0xffffff { // b := make([]byte, 4) // util.LittleEndian.PutUint32(b, head.ExtendTimestamp) // buf.Write(b) //} if len(payload) > size { buf.Write(payload[0:size]) reset = pa...
Go
ot(.dx-field-item-content).dx-command-edit.dx-command-edit-with-icons .dx-link { width: 18px; height: 18px; background-position: 0px 0px; background-size: 18px 18px; padding: 0px; font-size: 18px; text-align: center; line-height: 18px; margin: 0 2px; color: #009688; vertical-align: middle; } .dx-d...
CSS
Html.AppendLine("</ol>"); } PrintEventLog(_world, _battle.GetSubEvents(), Battle.Filters, _battle); return Html.ToString(); } } }
C#
endregion } extension com_amap_api_maps_model_WeightedLatLng_Batch on List<com_amap_api_maps_model_WeightedLatLng> { //region getters Future<List<double>> get_intensity_batch() async { final resultBatch = await MethodChannel('me.yohom/amap_map_fluttify').invokeMethod("com.amap.api.maps.model.WeightedLatLng::ge...
Dart
t5, .L809AFD7C /* 01DE4 809AFD04 8FBF004C */ lw $ra, 0x004C($sp) /* 01DE8 809AFD08 9242031C */ lbu $v0, 0x031C($s2) ## 0000031C /* 01DEC 809AFD0C 02402025 */ or $a0, $s2, $zero ## $a0 = 00000000 /* 01DF0 809AFD10 02602825 */ or $a1, $s3, $zero ...
Assembly
server和动态脚本语言间通信的接口。多数流行的HTTP server都支持FastCGI,包括Apache、Nginx和lighttpd等。同时,FastCGI也被许多脚本语言支持,其中就有PHP。 FastCGI是从CGI发展改进而来的。传统CGI接口方式的主要缺点是性能很差,因为每次HTTP服务器遇到动态程序时都需要重新启动脚本解析器来执行解析,然后将结果返回给HTTP服务器。这在处理高并发访问时几乎是不可用的。另外传统的CGI接口方式安全性也很差,现在已经很少使用了。 FastCGI接口方式采用C/S结构,可以将HTTP服务器和脚本解析服务器分开,同时在脚本解析服务器上启动一个或者多个脚本解析守护进程。当HTTP服务...
Markdown
TW_I stw %r27, [%r16 + 0x052c] .word 0xd2240011 ! 12408: STW_R stw %r9, [%r16 + %r17] .word 0xea242a68 ! 12409: STW_I stw %r21, [%r16 + 0x0a68] .word 0xd2340011 ! 12410: STH_R sth %r9, [%r16 + %r17] .word 0xcc740011 ! 12411: STX_R stx %r6, [%r16 + %r17] .word 0x0c800003 ! 12413: BNEG bneg <label_0x3> .word...
Assembly
margin-bottom: 0 } @media (max-width: 319px) { ._2ywk ._68m7 { margin-bottom: 32px } } @media (min-width: 768px) { ._2ywk ._68m7 ._2yzk { color: #32373b; font-size: 22px; font-weight: 400; line-height: 26px } } @media (max-width: 767px) { ._2ywk ._68m7...
CSS
stream_->Stop(); } } bool SetBaseMinimumPlayoutDelayMs(int delay_ms) { RTC_DCHECK_RUN_ON(&worker_thread_checker_); if (stream_->SetBaseMinimumPlayoutDelayMs(delay_ms)) return true; RTC_LOG(LS_ERROR) << "Failed to SetBaseMinimumPlayoutDelayMs" " on AudioReceive...
C++
modified"); errMsgList.put(KRB_AP_ERR_BADORDER, "Message out of order"); errMsgList.put(KRB_AP_ERR_BADKEYVER, "Specified version of key is not available"); errMsgList.put(KRB_AP_ERR_NOKEY, "Service key not available"); errMsgList.put(KRB_AP_ERR_MUT_FAIL, "Mutual authentication failed");...
Java
&param->info->s->key_root_lock[param->keynr]); return 0; } return -1; } int mi_init_bulk_insert(MI_INFO *info, size_t cache_size, ha_rows rows) { MYISAM_SHARE *share=info->s; MI_KEYDEF *key=share->keyinfo; bulk_insert_param *params; uint i, num_keys, total_keylength; ulonglong key_map; DBUG_ENTER(...
C
using Microsoft.Extensions.DependencyInjection; using PipelineNet.MiddlewareResolver; using System; namespace PipelineNet.ServiceProvider.MiddlewareResolver { /// <summary> /// An implementation of <see cref="IMiddlewareResolver"/> that creates /// instances using the <see cref="Microsoft.Extensions.Depen...
C#
l firmware integrity.\",\"d3f:ref-count\":{\"@type\":\"http://www.w3.org/2001/XMLSchema#integer\",\"@value\":\"2\"},\"rdfs:label\":\"Peripheral Firmware Verification\"},{\"@id\":\"d3f:SystemFirmwareVerification\",\"d3f:d3fend-id\":\"D3-SFV\",\"d3f:definition\":\"Cryptographically verifying installed system firmware int...
HTML
-- Copyright (c) 2016-present, Facebook, Inc. -- All rights reserved. -- -- This source code is licensed under the BSD-style license found in the -- LICENSE file in the root directory of this source tree. An additional grant -- of patent rights can be found in the PATENTS file in the same directory. ------------------...
Lua
import org.ton.TlbStructure.KnownTypePrefix import org.ton.TlbStructure.LoadRef import org.ton.TlbStructure.SwitchPrefix import org.usvm.UExpr import org.usvm.machine.TvmContext import org.usvm.machine.TvmSizeSort import org.usvm.mkSizeExpr /** * [TlbLabel] is a building block of TL-B schemes. * This is something t...
Kotlin
otherType]) { let otherTrack = groups[track.gumGroup][otherType]; let otherConstraints = Janus.trackConstraints(otherTrack); constraints[otherType] = otherConstraints[otherType]; } } stream = await navigator.mediaDevices.getUserMedia(constraints); if(track.gumGrou...
JavaScript
ngle; orientation: left; color: red; } roundRectBgMask { type: round-rect; arc: 4; color: red; } commandBg { type: mask; mask-color: red; mask: commandBgMask; background: commandBgGradient; } commandBgPressed { type: mask; mask-color: red; mask: commandBgMask; background: command...
CSS
627-5.373 12-12 12h-56v56c0 6.627-5.373 12-12 12h-32c-6.627 0-12-5.373-12-12v-56h-56c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h56v-56c0-6.627 5.373-12 12-12h32c6.627 0 12 5.373 12 12v56h56c6.627 0 12 5.373 12 12z"], "megaphone": [576, 512, [], "f675", "M560 32h-16c-8.84 0-16 7.16-16 16v12.94L47.28 172.41C4...
JavaScript
age( "@AddCompletionHandler argument must have a name" ) } if let paramName = param.firstName, paramName.text != "_" { return "\(paramName.withoutTrivia()): \(argName.withoutTrivia())" } return "\(argName.withoutTrivia())" } let call: ExprSyntax = "\(fu...
Markdown
bytes_mut(&mut self) -> &mut [u8] { self } } pub struct Value<B, V> where B: GetBytesMut, { pub(crate) bytes: ManuallyDrop<B>, pub(crate) type_id: TypeId, pub(crate) vtable: Arc<(DropFn, V)>, } //pub type SmallValue<V> = Value<usize, V>; pub type BoxValue<V> = Value<Box<[u8]>, V>; //pub ty...
Rust
了 😄) 这一章节主要是想向大家介绍一下`JS`面向对象的第一大特性-**封装**,也是为了给后面最重要的`继承`打好基础。 题目也不太多,总共17道,算是牛刀小试吧。 通过阅读本章节你可以学习到: - `ES6`之前的封装-构造函数 - `ES6`之后的封装-`class` ## 前期准备 先来理解一些最最最基本的概念: (一) ```javascript // 1. 构造函数 function Cat (name) { this.name } // 2. 构造函数原型对象 Cat.prototype // 3. 使用Cat构造函数创建的实例'乖乖' var guaiguai = new Cat('g...
Markdown
allsInPlace(action2, InvocationKind.EXACTLY_ONCE) callsInPlace(action3, InvocationKind.EXACTLY_ONCE) callsInPlace(action4, InvocationKind.EXACTLY_ONCE) callsInPlace(action5, InvocationKind.EXACTLY_ONCE) callsInPlace(action6, InvocationKind.EXACTLY_ONCE) callsInPlace(action7, InvocationKind.EXACTLY_O...
Kotlin
014-4h104a4 4 0 014 4v96a4 4 0 01-4 4H40a4 4 0 01-4-4Zm30.3 12H132v31.9A91.9 91.9 0 0166.3 188Zm73.7 31.9V188h4a12 12 0 0012-12v-44h71.9a92 92 0 01-87.9 87.9Z"/></svg>'; static const String microsoft_teams_logo = '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="256" hei...
Dart
== 0) && (shape == null || shape.Length == 0)) return new EmptyValueType[] { new EmptyValueType() }; throw new ArgumentException("The variable is scalar therefore given arguments are incorrect"); } protected override int[] ReadShape() { return new int[0]; } public override void PutData(int[] ...
C#
a new lockingSpec with all locking clauses that apply // only to a subset of tables removed. func (lm lockingSpec) withoutTargets() lockingSpec { return lm.filter("") } // ignoreLockingForCTE is a placeholder for the following comment: // // We intentionally do not propagate any row-level locking information from th...
Go
with custom flags, you can refer to the [celestia-node tutorial](/tutorials/node-tutorial.md#connect-to-a-core-endpoint) page. Refer to [the ports section of the celestia-node troubleshooting page](/how-to-guides/celestia-node-troubleshooting.md#ports) for information on which ports are required to be open on your mac...
Markdown
pozdeji pripadne pridame novy zaznam { newItem = TRUE; ext2[0] = 0; } else strcpy(ext2, PackerFormatConfig.GetExt(index)); // do ext2 pripravime sjednoceni starych pripon a extensions nebo pouze extensions (nove pripony) len = (int)strlen(ext2); if (len > 0 && ext2[len -...
C++
le); } Future<void> setFps(List<int> fps) async { await addJsonableProperty_batch(12, fps); } } // ignore_for_file: non_constant_identifier_names, camel_case_types, missing_return, unused_import, unused_local_variable, dead_code, unnecessary_cast ////////////////////////////////////////////////////////// // ...
Dart
FER, BO #else leaq BUFFER, BO movq KK, %rax leaq (, %rax, 8), %rax leaq (AO, %rax, 2), AO leaq (BO, %rax, 2), BO #endif movaps 0 * SIZE(AO), %xmm8 pxor %xmm0, %xmm0 movsldup 0 * SIZE(BO), %xmm9 pxor %xmm1, %xmm1 movaps 16 * SIZE(AO), %xmm10 movsldup 16 * SIZE(BO), %xmm11 #ifndef TRMMKERNEL movq K, %ra...
Assembly
); } catch (RuntimeException e) { return null; } } /** * Reads a tree on a single line and returns null if there was a * problem. * * @param treeString */ public static Tree<String> parseEasy(String treeString) { return parseEasy(treeString, false); } private static Tree<String>...
Java
ase MSRV to 1.64 ([#464](https://github.com/tokio-rs/console/issues/464))** ([882318a](https://github.com/tokio-rs/console/commit/882318a006d060c763f97afa7e03a45ef9736fe6))<br />This is a breaking change for users of `console-api` and `console-subscriber`, as it changes the public `tonic` dependency to a semver-incompa...
Markdown
ame="l00097"></a><span class="lineno"> 97</span>&#160; int64_t balance_ = 0;</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160;};</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160;</div><div class="line"><a name="l00100"></a><span class="lineno"> 100...
HTML
PipelineViewDict.ViewInfo>() // 未分组数据加入 projectViewList.add( PipelineViewDict.ViewInfo( viewId = PIPELINE_VIEW_UNCLASSIFIED, viewName = I18nUtil.getCodeLanMessage(PIPELINE_VIEW_UNCLASSIFIED), pipelineList = pipelineInfoMap.values ...
Kotlin
58996 222.77841107869344 298.391807405161z' fill='rgba(0%2c 0%2c 0%2c 0.4)' class='triangle-float2'%3e%3c/path%3e%3cpath d='M28.999291275339843 253.1318118645378L-67.05879359345873 313.15556510215515-7.035040355841396 409.2136499709537 89.02304451295717 349.18989673333635z' fill='rgba(0%2c 0%2c 0%2c 0.4)' class='triang...
HTML
oid KNOB_SetPeriod (KNOB_Handle hObj, I32 Period); // Sets the period in which the knob stops void KNOB_SetPos (KNOB_Handle hObj, I32 Pos); // Sets position of the knob in tenth of degree void KNOB_SetRange (KNOB_Handle hObj, I32 MinRange, I32 MaxRan...
C
[type=text],#wpadminbar input[type=password],#wpadminbar input[type=number],#wpadminbar input[type=search],#wpadminbar input[type=email],#wpadminbar input[type=url],#wpadminbar select,#wpadminbar textarea{-webkit-box-shadow:none;box-shadow:none;outline:0}#wpadminbar{direction:rtl;color:#ccc;font-family:-apple-system,Bl...
CSS
cn/zb_users/theme/koilee/style/images/favicon_example.ico" alt="猫粮制作机器视频教程(猫粮自制机)">摘要:</strong> 本篇文章给大家谈谈猫粮制作机器视频教程,以及猫粮自制机对应的知识点,希望对各位有所帮助,不要忘了收藏本站喔。本文目录一览:1、最简单的猫粮制作方法2、... </div> <p>本篇文章给<a href="http://www.to3158.cn/tags-d-j658c7104cbcfa.html" target="_blank" class="relatedlink">大家</a>谈谈<a href="http://...
HTML
="http://www.aqniu.com/wp-content/uploads/2017/09/Symantec-DLP-15-690x305.jpg" alt="" width="690" height="305" srcset="http://www.aqniu.com/wp-content/uploads/2017/09/Symantec-DLP-15-690x305.jpg 690w, http://www.aqniu.com/wp-content/uploads/2017/09/Symantec-DLP-15-300x132.jpg 300w, http://www.aqniu.com/wp-content/uploa...
HTML
--- timeline sequencer -- aka 'function tracker' -- out1: pitch -- out2: volume -- out3: filter cf seq = sequins{0,6,11,-12,-1,4,0,0,7,6,4,1} function make_note() output[1].volts = seq() output[2]( ar(0.008, 1) ) end function shift_pitch() output[1].slew = 0.1 output[1].volts = seq() end function fsweepup_no...
Lua
) buf.EncodeString(v0.Name, 64) buf.EncodeString(v0.Type, 64) buf.EncodeUint32(v0.PID) buf.EncodeUint32(v0.CPUID) buf.EncodeUint32(v0.Core) buf.EncodeUint32(v0.CPUSocket) } return buf.Bytes(), nil } func (m *ShowThreadsReply) Unmarshal(b []byte) error { buf := codec.NewBuffer(b) m.Retval = buf.DecodeInt...
Go
**LinkVisibleNodes:\nNode %d has NodeLinks > MAX_NODE_INITIAL_LINKS", i ); fprintf ( file, "** NODE %d HAS NodeLinks > MAX_NODE_INITIAL_LINKS **\n", i ); *piBadNode = i; return FALSE; } else if ( cTotalLinks > MAX_NODE_INITIAL_LINKS * m_cNodes ) {// this is paranoia ALERT ( at_aiconsole, "**Lin...
C++
{ display: table-row !important; } .d-print-table-cell { display: table-cell !important; } .d-print-flex { display: flex !important; } .d-print-inline-flex { display: inline-flex !important; } .d-print-none { display: none !important; } } /*# sourceMappingURL=bootstrap-utilities.r...
CSS
"Pico de águila ratonera", [647] = "Destino", [710] = "Brazales de las Milicias del pueblo", [711] = "Guantes de paño andrajoso", [714] = "Guantes de cuero sucios", [718] = "Guantes de malla de escamas", [719] = "Guantes de cuidador de conejos", [720] = "Guantes de camorrista", [723] = "Hígado de Dentos...
Lua
.html#style-prop">style</a></b></b> : enumeration</li> <li class="fn"><b><b><a href="qml-qtquick-text.html#styleColor-prop">styleColor</a></b></b> : color</li> <li class="fn"><b><b><a href="qml-qtquick-text.html#text-prop">text</a></b></b> : string</li> <li class="fn"><b><b><a href="qml-qtquick-text.html#textFormat-pro...
HTML
1.6-4.3 13.8-10.4a2.05 2.05 0 011.9-1.3H99c1.1 0 2 .9 2 2v2.3c.03 1.51.87 2.89 2.2 3.6l2.9 1.5a2 2 0 002.9-1.8V33c.01-1.1-.88-2.01-1.99-2.01-.31-.01-.63.07-.91.21z" fill="#fff" /> </svg> ); } export default SvgEmojiU1F6B0; import * as React from "react"; function SvgEmojiU1Fae0(props) { return (...
JavaScript
s(oUF.objects) do hook(frame) end oUF:RegisterInitCallback(hook) local f, min, max = CreateFrame("Frame"), math.min, math.max f:SetScript("OnUpdate", function() local limit = 30/GetFramerate() for bar, value in pairs(smoothing) do local cur = bar:GetValue() local new = cur + min((value-cur)/(bar.SmoothSpeed or 3...
Lua
tay lda table_teacher_codes,y cmp tmp bne finishthis ; Okay it is his teacher, so the message may ; change according to the lesson flags lda #COME_ME sta smc_sav_msg+1 lda lesson_status and #%100000 bne notfirsttime lda lesson_status ora #%100000 sta lesson_status jmp finishthis notfirsttime lda les...
Assembly
Delete import androidx.room.Insert import androidx.room.OnConflictStrategy import androidx.room.Query @Dao interface PathPreferencesDao { @Query("SELECT * FROM pathpreferences") fun getAll(): List<PathPreferences> @Query("SELECT * FROM pathpreferences WHERE feature=:feature") fun findByFeature(featur...
Kotlin
import urllib.request as ur import zipfile import os import os.path as osp from six.moves import urllib import errno from tqdm import tqdm GBFACTOR = float(1 << 30) def decide_download(url): d = ur.urlopen(url) size = int(d.info()["Content-Length"])/GBFACTOR ### confirm if larger than 1GB if size > 1...
Python
for the given string specifier. The specifier string may contain the following directives: * - %a - abbreviated weekday name.* * - %A - full weekday name.* * - %b - abbreviated month name.* * - %B - full month name.* * - %c - the locale’s date and time, such as %x, %X.* * - %d - zero-padd...
Typescript
.api.model.macros.IHttpMacroItemParam; import com.subgraph.vega.api.model.macros.IHttpMacroItemParam.ValueSetIn; import com.subgraph.vega.api.model.requests.IRequestLogRecord; import com.subgraph.vega.http.requests.builder.HttpRequestBuilder; public class HttpMacroItem implements IHttpMacroItem, Activatable { // Head...
Java
expect(await this.nonces.nonces(other)).to.be.bignumber.equal('0'); await this.nonces.$_useNonce(sender); expect(await this.nonces.nonces(sender)).to.be.bignumber.equal('1'); expect(await this.nonces.nonces(other)).to.be.bignumber.equal('0'); }); }); describe('_useCheckedNonce', func...
JavaScript
127]), Rgba([255, 255, 255, 255]), ], ); test_image( "./_tests_output_/rec/a_albedo-ao.png", (1, 2), &[Rgba([255, 255, 255, 119]), Rgba([0, 0, 0, 185])], ); } use quickcheck::Arbitrary; use super::*; impl Arbitrary for Refspec { fn arbitrary(g: &mut quickc...
Rust
e tool (must match the JSON schema name and source code function name).") model_config = ConfigDict(extra="ignore") # Allows extra fields without validation errors # TODO: Remove this, and clean usage of ToolUpdate everywhere else class ToolRunFromSource(LettaBase): source_code: str = Field(..., descrip...
Python
<a href="XRViewer.html#renderLayer">renderLayer</a></li> <li class="parent" data-name="XRViewer#setSV"><a href="XRViewer.html#setSV">setSV</a></li> <li class="" data-name="XRViewer#start"><a href="XRViewer.html#start">start</a></li> ...
HTML
Captor; import org.mockito.Captor; import org.mockito.Mock; import org.mockito.junit.MockitoJUnit; import org.mockito.junit.MockitoRule; public class RocksDBMetricsCollectorTest { private static final int UPDATE_INTERVAL = 123; @Mock private Metrics metrics; @Mock private Supplier<Instant> clock; @Captor ...
Java
.nav-gray-700 .nav-link:hover, .nav-gray-700 .nav-link:focus { color: #212529; background-color: transparent; } .nav-gray-700 .nav-link.active, .nav-gray-700 .nav-link.active:hover, .nav-gray-700 .nav-link.active:focus { color: #212529; background-color: transparent; } .nav-white-800 .nav-link { color: rgba(...
CSS