content
stringlengths
2
6.21k
label
stringclasses
16 values
d. > Currently, all distros supported by [osbuilder](../tools/osbuilder) support systemd > except for Alpine Linux. > > Look for `INIT_PROCESS=systemd` in the `config.sh` osbuilder rootfs config file > to verify an osbuilder distro supports systemd for the distro you want to build rootfs for. > For an example, see the ...
Markdown
spans.length == 1); offset = 0; for (var span in node2.spans) { assert(span.offset == offset); offset += span.textLength; } final node3 = newNode .replace(RichTextNodePosition(3, 0), RichTextNodePosition(5, 0), []); assert(node3.spans.length == 1); offset = 0; for (var s...
Dart
-size: 0.8125rem; font-weight: 400; letter-spacing: 0.025rem; line-height: 1.125rem; } .app-timeline-text { font-size: 0.9375rem; font-weight: 400; line-height: 1.375rem; } } // timeline icon only &.v-timeline-icon-only { .v-timeline-divider__dot { .v-ti...
CSS
g(COLUMNNAME_A_Street); } @Override public void setA_Zip (final @Nullable java.lang.String A_Zip) { set_Value (COLUMNNAME_A_Zip, A_Zip); } @Override public java.lang.String getA_Zip() { return get_ValueAsString(COLUMNNAME_A_Zip); } @Override public void setC_Activity_ID (final int C_Activity_ID) { ...
Java
_VERSION_HEX >= 0x03000000 PyLong_AsSsize_t(instance_size_obj) : 0; #else PyInt_AsLong(instance_size_obj) : 0; #endif if (instance_size < 0) instance_size = 0; PyErr_Clear(); // Clear any errors that may have occurred. instan...
C++
--[[ Jamming Device Copyright (C) 2010 Madman07 ]]-- if (StarGate!=nil and StarGate.LifeSupportAndWire!=nil) then StarGate.LifeSupportAndWire(ENT); end ENT.Type = "anim" ENT.Base = "base_gmodentity" ENT.PrintName = "Jamming Device" ENT.Author = "Madman07" ENT.Contact = "" ENT.Purpose = "" ENT.Instructio...
Lua
cooker-crack-chicken_in-process-1-1365x2048.jpg 1365w, https://www.primaledgehealth.com/wp-content/uploads/2024/04/slow-cooker-crack-chicken_in-process-1.jpg 1600w" sizes="(max-width: 683px) 100vw, 683px" class="wp-image-73205 sp-no-webp" alt="Raw chicken breast in a black slow cooker on a grey countertop." decoding="a...
HTML
value !== undefined) { if (!Array.isArray(value)) { value = [value]; } return acc.concat( value.map((each: any) => { return `${key}=${encodeURIComponent(each)}`; }), ); } return acc; }, []) .join('&'); }; export { stringify, ...
Typescript
145,8193,12289,16385,24577]; const DIST_EXTRA: [u8; 30] = [0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]; const HCORD: [usize; 19] = [16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]; // PNG types const TYPE_L1: u16 = 0x0100; const TYPE_C1: u16 = 0x0103; const TYPE_L2: u16 = 0x0200; const TYPE_C2...
Rust
", r) } }() for { sig = <-sigIn if sig.(os.Signal) == syscall.SIGTERM { Log(DEBUG, "in WatchSignal Handle Sig term") RunEventHandlers("sigterm") RunEventHandlers("onexit") quit <- true } if sig.(os.Signal) == syscall.SIGINT { Log(DEBUG, "in WatchSignal Handle Sig Int") RunEventHandlers("s...
Go
slimStream.removeField(PRIMARY_KEY_NAME) assertFalse(slimStream.fields.any { it.name == PRIMARY_KEY_NAME }) assertEquals(listOf(listOf(PRIMARY_KEY_OTHER_ATTR_NAME)), slimStream.primaryKey) } @Test fun `removing a field also clears the source defined pk if it matches`() { slimStream.removeField(SOURC...
Kotlin
void onComplete() { stopProgress(); onDeleteAlbum(); } }); break; } default:break; } popupWindow.dismiss();...
Java
fun <T : Any> opt(key: ConfigurationKey<T>): T? operator fun contains(key: ConfigurationKey<*>) = opt(key) != null } interface MutableOptions : Options { operator fun <T : Any> set(key: ConfigurationKey<T>, value: T) companion object { fun create(): MutableOptions = OptionsImpl() } } fu...
Kotlin
n, CFunction<(CPointer<*>?, COpaquePointer?) -> Unit>>(widgetPtr!!, this, "font-set", staticCFunction(::FontButton_onFontSet_Handler)) } var showSize: Boolean /** * Returns whether the font size will be shown in the label. */ get() = gtk_font_button_get_show_size(self) != 0 /** ...
Kotlin
<td><p> Удалить объект </p></td><td><p> Ctrl+K</p></td></tr> <tr><td><p> Сгруппировать</p></td><td><p> Ctrl+G</p></td></tr> <tr><td><p> Разгруппировать </p></td><td><p> Ctrl+Shift+G</p></td></tr> <tr><td><p> Объект заблокирован </p></td><td><p> Ctrl+L</p></td></tr> <tr><td><p> Размер заблокирован </p></td><td><p> Ctrl+...
HTML
border-top-right-radius:9px}.marimo-cell.interactive>:last-child{border-bottom-left-radius:9px;border-bottom-right-radius:9px}.marimo-cell.interactive:hover{--tw-shadow:4px 4px 0px 0px var(--base-shadow-darker),0 0px 2px 0px hsla(0,0%,60%,.5);--tw-shadow-colored:4px 4px 0px 0px var(--tw-shadow-color),0 0px 2px 0px var(...
CSS
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Axe.Windows.Core.Attributes; using Axe.Windows.Core.Bases; using Axe.Windows.Core.Types; using UIAutomationClient; namespace Axe.Windows.Desktop.UIAutomation.Pa...
C#
ful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with libheif-sharp. If not, see <http://...
C#
48c1dfb6a#diff-3e36dffc5cdc20b6053db9d337c2d3b56ace82cc8c0bab1ad0c60dc6c297ffd7) * [baseMaterial - Removed range](https://github.com/lcnetdev/bibframe-ontology/commit/65cac79f4cac4c379da76c2f55779f748c1dfb6a#diff-b8c839ad338153a2439efc59ff4a7c6b154621abf9bd439f7da1984aacab092e) * [baseMaterial - Broadened domai...
Markdown
nt("Microsoft YaHei UI", 9F); menuItem11.Text = "二级菜单"; menuItem12.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F); menuItem12.Text = "二级菜单"; menuItem9.Sub.Add(menuItem10); menuItem9.Sub.Add(menuItem11); menuItem9.Sub.Add(menuItem12); ...
C#
ravia/snippets.htm"><IMG SRC="snippets.gif" tppabs="http://www.anticrack.de/fravia/snippets.gif" ALT="snippets" ALIGN=BOTTOM WIDTH=114 HEIGHT=43 BORDER=0 VSPACE=0 HSPACE=0></A><BR> <FONT color=gray>Back to the Snippets</FONT><HR></CENTER> <PRE> <CENTER><FONT size=+2>Cracking Installshield serials EASY or TOUGH pr...
HTML
= opts.get_hash(); std::map<ShardIdFull, std::vector<BlockIdExt>> new_shards; std::set<ShardIdFull> future_shards; auto cur_time = static_cast<UnixTime>(td::Clocks::system()); for (auto &v : exp_vec) { auto shard = v->shard(); if (v->before_split()) { CHECK(!v->before_merge()); ShardIdFu...
C++
result = self.form_table(table) return result def process_scopes(self): result = "" table = [['level', 'type']] for i, level in enumerate(self.scopes): if ord(level) == JERRY_DEBUGGER_SCOPE_WITH: table.append([str(i), 'with']) elif o...
Python
ss="app1_elInputNum col1">&#x25B8;&nbsp;E2</td><td class="app1_elInput">B</td><td class="app1_elInputValue"></td><td colspan="2" style="background:transparent;">&nbsp;</td></tr></table></div></div>Dieser Baustein vergleicht einen Wert an E1 mit einem Wert an E2. Jedes neue Telegramm an E1 oder E2 triggert den Baustein....
HTML
fund of a failed transaction ) for ((keyword, merchantName) in transactionTypeMerchants) { if (message.contains(keyword, ignoreCase = true)) { return merchantName } } return super.extractMerchant(message, sender) } override fun extractAc...
Kotlin
PlaceableExplo = { type = "Trigger", Properties = { DimX = 5, DimY = 5, DimZ = 5, ScriptCommand="", PlaySequence="", dummyModel="Objects/Pickups/explosive/explosive_dummy.cgf", -- fileModel="objects/pickups/explosive/explosive.cgf", -- object_ModelDestroyed="", -- ExplosionEffect="",...
Lua
Policy](https://docs.base.org/cookie-policy). Manage settings Accept all [Skip to content](https://docs.base.org/builderkits/onchainkit/fund/fetch-onramp-quote#vocs-content) fetchOnrampQuote On this page Chevron Right The `fetchOnrampQuote` utility provides a quote based on the asset the user would like to purch...
Markdown
512]{1to8} # AVX512{F,VL} vpcmpeqd k5{k7}, ymm6, [edx-512]{1to8} # AVX512{F,VL} Disp8 vpcmpeqd k5{k7}, ymm6, [edx-516]{1to8} # AVX512{F,VL} vpcmpeqq k5{k7}, xmm6, xmm5 # AVX512{F,VL} vpcmpeqq k5{k7}, xmm6, XMMWORD PTR [ecx] # AVX512{F,VL} vpcmpeqq k5{k7}, xmm6, XMMWORD PTR [esp+esi*8-123456] # AVX512{F,VL} ...
Assembly
, "/test_shm", 0 ) async def test_unregister_system_shared_memory(self): await self._triton_client.unregister_system_shared_memory() async def test_get_cuda_shared_memory_status(self): await self._triton_client.get_cuda_shared_memory_status() async def test_register_cuda_share...
Python
trackCtx == null) { return const SizedBox(); } return Consumer<TrackReferenceContext>( builder: (context, trackCtx, child) => Selector<TrackReferenceContext, Map<String, String>>( selector: (context, trackCtx) => trackCtx.stats, builder: (BuildContext context, ...
Dart
al, Identifier, MemberExpression, UnaryExpression, UpdateExpression, BinaryExpression, Property, ObjectExpression, ArrayExpression, SpreadElement, CallExpression, Expression, // LinqBox NumberParameter, NullParameter, StringParameter, BooleanParameter, ArrayParameter, ObjectParameter, Parameter, FromCla...
Typescript
ht 2008, Stephan Aßmus <superstippi@gmx.de>. * Copyright 2007, Ingo Weinhold <bonefish@cs.tu-berlin.de>. * All rights reserved. Distributed under the terms of the MIT License. */ #include "TextViewTest.h" #include <TextView.h> #include "CheckBox.h" #include "GroupView.h" #include "TestView.h" // messages enum {...
C++
* @author NurMarvin */ fun autoComplete(input: String): Boolean { this.latestAutoComplete = this.getCompletions(input) ?: emptyArray() return input.startsWith(this.prefix) && this.latestAutoComplete.isNotEmpty() } /** * Returns the auto completions for [input]. * * @para...
Kotlin
#ifndef __ILLEGAL_ARGUMENT_EXCEPTION_H__ #define __ILLEGAL_ARGUMENT_EXCEPTION_H__ /* * IllegalArgumentException.h * zxing * * Copyright 2010 ZXing authors All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License...
C
(); expect((beforeCells[2].getX() - numOfMoves) === cells[2].getX()).toBeTruthy(); expect((beforeCells[3].getX() - numOfMoves) === cells[3].getX()).toBeTruthy(); } function testNotMovedRightBeyondBoard(component: Shape, numOfMoves: number = 4) { expect(component).toBeTruthy(); let counter: number = 0; let be...
Typescript
then isPlay = self:CheckCRoleDisplayS() end return isPlay end function this:SetCRoleDisplayS() if (not self.old_curDataS) then local curDisplayData = CRoleDisplayMgr:GetCurData() self.old_curDataS = table.copy(curDisplayData:GetRet()) end end -- 是否只是改变了随机看板的内容 function this:Chec...
Lua
ng local telescope = require("telescope") telescope.setup({ defaults = { file_ignore_patterns = { "^.git/" }, path_display = { "smart" }, sorting_strategy = "ascending", layout_config = { prompt_position = "top", }, }, }) -- VSCode-like keybindings -- File management -- Ctrl+p to fuzzy f...
Lua
, 2, 3, 4, 5, 6, 7, 8, 10), arrayListOf("中文", "English", "Italiano", "Español", "Português", "русский", "日本人", "中文", "Deutsche", "ไทย") ) ESP32 -> IntString( arrayListOf(5, 10, 20, 30), arrayListOf("5 sec", "10 sec", "20 sec", "30 sec") ) else -> IntString( ...
Kotlin
.qtip-content,.qtip-jtools .qtip-titlebar{background:0 0;color:#fff;border:0 dashed transparent}.qtip-jtools .qtip-icon{border-color:#555}.qtip-jtools .qtip-titlebar .ui-state-hover{border-color:#333}.qtip-cluetip{-webkit-box-shadow:4px 4px 5px rgba(0,0,0,.4);-moz-box-shadow:4px 4px 5px rgba(0,0,0,.4);box-shadow:4px 4p...
CSS
cksSpacing * UI::scale() ); ImGui::GetCurrentWindow()->DrawList->AddRectFilled( boxMin, boxMax, Color( ImGui::GetStyleColorVec4( ImGuiCol_Header ) ).getUInt32() ); } } // namespace UI } #include "MRAncillaryLines.h" #include "MRMesh/MRObjectLines.h" #include "MRMesh/MRSceneColors.h" #include "MRMesh/MRSceneRoot.h...
C++
feely</a></li><li class="contact"><a class="contact-link" href="https://instagram.com/bennettfeely"><strong>Instagram</strong> @bennettfeely</a></li><li class="contact"><a class="contact-link" href="https://codepen.io/bennettfeely"><strong>CodePen</strong> /bennettfeely</a></li><li class="contact"><a class="contact-lin...
HTML
:= runtime.NumCPU() if numCPU > len(vals) { numCPU = len(vals) } wg.Add(numCPU) for p := 0; p < numCPU; p++ { go func() { defer wg.Done() for { n := start.Add(step) if n >= end+step { return } for i := n - step; i < n && i < end; i++ { fn(vals[i]) } } }() } wg.Wait()...
Go
punkte](/developers/docs/apis/json-rpc/) bereitstellen. Sie könnten diese Endpunkte sogar öffentlich anbieten, um der Community zu helfen, große zentrale Anbieter zu vermeiden. - Sie können sich mit Ihrem Knoten über **Interprozesskommunikation (IPC)** verbinden oder den Knoten umschreiben, um Ihr Programm als Plugin z...
Markdown
/* * Copyright (c) 2011 Lubos Slovak * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * - Redistributions of source code must retain the above copyright * notice, this list of condit...
C
import bpy from os.path import basename, dirname from .types import ExportDataType from .status import ArnoldStatus import arnold BTOA_PACKAGE_NAME = basename(dirname(dirname(__file__))) BTOA_TYPE_CONSTANTS = { "UINT": arnold.AI_TYPE_UINT, "STRING": arnold.AI_TYPE_STRING, "MATRIX": arnold.AI_TYPE_MATRIX...
Python
Core DOM utils</h1> <div id="holder1"></div> <ul id="holder2"> <li class="first">first</li> <li class="last">last</li> </ul> <div id="holder3"></div> <p id="someId"></p> <div> <div> <a id="ancFoo" href="null.html">link</a> </div> </div> </body> </html> <!DOCTYPE HTML PUBLI...
HTML
/* * This file is part of the 'Stitch' binary patching library. * Copyright (c) 2025 pygrum * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, version 3. * * This program is distributed i...
C
ore17() throws IOException{ RelevanceJudgments qrels = new RelevanceJudgments("tools/topics-and-qrels/qrels.core17.txt"); assertNotNull(qrels); assertEquals(50, qrels.getQids().size()); assertEquals(30030, getQrelsCount(qrels)); assertEquals(1, qrels.getRelevanceGrade("307", "1001536")); assertE...
Java
md-menu-bar> </hljs> <h2 id="menu-bar-controls">Menu Bar Controls</h2> <p>You may place <code>md-menu-items</code> that function as controls within menu bars. There are two modes that are exposed via the <code>type</code> attribute of the <code>md-menu-item</code>. <code>type=&quot;checkbox&quot;</code> will function ...
HTML
using namespace std; static void help(char** av) { cout << endl << av[0] << " shows the usage of the OpenCV serialization functionality." << endl << endl << "usage: " << endl << av[0] << " [output file name] (defa...
C++
// SPDX-License-Identifier: GPL-2.0-or-later /* * USB HID driver for Glorious PC Gaming Race * Glorious Model O, O- and D mice. * * Copyright (c) 2020 Samuel Čavoj <sammko@sammserver.com> */ /* */ #include <linux/hid.h> #include <linux/module.h> #include "hid-ids.h" MODULE_AUTHOR("Samuel Čavoj <sammko@samm...
C
ontext, sql string, arguments ...any) (pgconn.CommandTag, error) } // NewQuerier creates a DBQuerier that implements Querier. func NewQuerier(conn genericConn) *DBQuerier { return &DBQuerier{conn: conn, types: newTypeResolver()} } // Arrays represents the Postgres composite type "arrays". type Arrays struct { Texts...
Go
.1,3,19,3z M10,15H8.5v-4.5H7V9h3V15z M16,14 c0,0.55-0.45,1-1,1h-2.5c-0.55,0-1-0.45-1-1v-4c0-0.55,0.45-1,1-1H15c0.55,0,1,0.45,1,1V14z' export const mat18mp = 'M0 0h24v24H0V0z@@fill:none;&&M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 15.5h-1.5V14h-1v3H8v-3H7v4.5H5.5v-5c0-.55.45-1 1-1H11...
JavaScript
! Generated file. DO NOT EDIT. ! ! This file was generated by gas/testsuite/gas/sh/arch/sh-opc-gen-as.pl . ! This file should contain every instruction valid on ! architecture sh4a-nofpu but no more. ! If the tests are failing because the expected results have changed then run ! 'cat ../../../../../opcodes/sh-opc.h ...
Assembly
ally require less fiddling to reset default styles. From: https://github.com/Andy-set-studio/modern-css-reset/blob/master/dist/reset.css */ /* Box sizing rules */ *, *::before, *::after { box-sizing: border-box; } /* Remove default margin */ /* 2023-01-09 - JR - and remove padding to work with classic site */ bod...
CSS
50: LDR R12, =(aUpnpPortmapEnt - 0x5C9A8); \"upnp_portmap_entry\"\n0x24054: LDR LR, =0x3F8\n0x24058: ADD R0, R4, R12; \"upnp_portmap_entry\"\n0x2405c: STR R12, [SP,#0x20458+var_2044C]\n0x24060: STR LR, [SP,#0x20458+var_20448]\n0x24064: BL acosNvra...
HTML
0x21, // Graphic Control Label: 0xF9 0xF9, // Block Size: always this block containes 4 bytes 0x04, // Diposal Method : 2, User Input Flag : 0, Transparent Color Flag : 0 0x08, // Delay Time : 0 0x00,0x00, // Transparent Color Index : 0 ...
Typescript
--- per mille sign<br> lsaquo &#8249; ---- single left-pointing angle quotation mark<br> rsaquo &#8250; ---- single right-pointing angle quotation mark<br> &#xE5; (in hexadecimal) represents the same character. &#Xe5; (in hexadecimal) represents the same character as...
HTML
)); } } } } } Ok(IrValue::String(Shared::new(buf))) } } <reponame>jsirex/habitat<filename>test-services/test-probe/src/config.rs use crate::error::{Error, Result}; use clap::ArgMatches; use std::{fs, ...
Rust
</div> </div> <div class="flex items-center"> <label for="id_password" class="w-1/3 text-gray-800">{{ form.password.label_tag }}</label> <div class="w-2/3"> {{ form.password }} ...
HTML
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'main.ui' # # Created by: PyQt5 UI code generator 5.15.9 # # WARNING: Any manual changes made to this file will be lost when pyuic5 is # run again. Do not edit this file unless you know what you are doing. from PyQt5 import QtCore, QtGui, ...
Python
using Valour.Shared.Authorization; using Valour.Shared.Models; namespace Valour.Server.API; /// <summary> /// This API is supposed to be called from the voice server, not by clients /// </summary> public class VoiceSignallingApi { public static void AddRoutes(WebApplication app) { app.MapGet("api/voic...
C#
test_management_command_sends_email_with_pending_feeds(self): call_command("send_pending_approval_email", verbosity=0) self.assertEqual(1, len(mail.outbox)) self.assertEqual(mail.outbox[0].to, [self.user.email]) def test_feeditem_approved(self): self.assertQuerySetEqual( ...
Python
.tachiyomi.source.model.Page import eu.kanade.tachiyomi.source.model.SChapter import eu.kanade.tachiyomi.source.model.SManga import eu.kanade.tachiyomi.source.online.ParsedHttpSource import okhttp3.Request import okhttp3.Response import org.jsoup.nodes.Document import org.jsoup.nodes.Element import rx.Observable import...
Kotlin
measure just <strong>how</strong> frequently it was happening in the wild. Scripts have the ability to dynamically add markup and code to a document, and some even go so far as to dynamically create other <strong>scripts</strong>. Full script parsing and execution would be necessary to track down, dete...
HTML
125.8-125.8h155c24.7 0 44.6 20 44.6 44.6v301c0 69.4-56.4 125.8-125.8 125.8zM156 546v256.4c0 20.1 16.4 36.5 36.5 36.5h641.3c20.1 0 36.5-16.4 36.5-36.5V546H760.2c-20.1 0-36.5 16.4-36.5 36.5v7.1c0 69.4-56.4 125.8-125.8 125.8H424.7c-69.4 0-125.8-56.4-125.8-125.8v-7.1c0-9.8-3.8-18.9-10.7-25.8-6.9-6.9-16.1-10.7-25.8-10.7H15...
JavaScript
> <h1>Print Statistics about Missing Values</h1> <small class="dont-index">Source: <a href="https://github.com/SteffenMoritz/imputeTS/blob/HEAD/R/statsNA.R" class="external-link"><code>R/statsNA.R</code></a></small> <div class="hidden name"><code>statsNA.Rd</code></div> </div> <div class="ref-descr...
HTML
它有关材料,经过详细反复审核证实整理记载下来。 </p> <p> 由于编写“文革”大事件的时间仓促,资料不够齐全,加之我们的水平有限,错漏难免,请批评指正。 </p> <h3> 一、黎 村 事 件 </h3> <p> 黎村事件是我县武斗最大的事件,也是广西闻名的武斗事件之一。 </p> <p> 1967年,黎村区群众组织中出现了不同观点的“支多”阵线和“联指”两大派。同年7月以后,两派辩论从笔头到口头逐步升级发展到用拳头、枪头的大规模武斗,造成流血事件。包括“8·26”、“8·27”、“9.7”、“9·13”、“9.26”、“11·6”、“12·27”、“3·7”等一系列...
HTML
: 4 fonts: HK 68₉₅, JP 81₂₁₇, SC 61₄₄₅, TC 63₅₄₈. '3r4r8t3y,' // #2933: 5 fonts: HK 68₉₅, JP 82₂₁₈, KR 90₃₅₀, SC 61₄₄₅, TC 64₅₄₉. '3r4s5b3q3z,' // #2934: 5 fonts: HK 68₉₅, JP 94₂₃₀, KR 90₃₅₀, SC 61₄₄₅, TC 63₅₄₈. '3r5e4p3q3y,' // #2935: 2 fonts: HK 68₉₅, SC 60₄₄₄. '3r13k,' // #2936: 2 fon...
Dart
import isFunction from '../utils/isFunction'; import isStyledComponent from '../utils/isStyledComponent'; import merge from '../utils/mixinDeep'; import { DefaultTheme, ThemeContext } from './ThemeProvider'; function useResolvedAttrs<Props extends object>( theme: DefaultTheme = EMPTY_OBJECT, props: Props, attrs:...
Typescript
} /** * Report the connection status. * * @usage * ``` * ScanTool.isConnected('FFCA0B09-CB1D-4DC0-A1EF-31AFD3EDFB53').then( * () => { console.log('connected'); }, * () => { console.log('not connected'); } * ); * ``` * @param {string} deviceId UUID or MAC address of the periphera...
Typescript
f04eb" name="a10731415ffcd3e2330df10c4d5fd3d70a94a9b10d712ed764de27a007ac7f04eb"></a>JSMirrorConsumerSetupFailedErr&#160;</td><td class="fielddoc"><p>Generic mirror consumer setup failure. </p> </td></tr> <tr><td class="fieldname"><a id="a10731415ffcd3e2330df10c4d5fd3d70a91020cf9692a06637bdfedd847b259f1" name="a1073141...
HTML
8}ytd-masthead.dark svg#yt-logo-svg #youtube-paths path,ytd-masthead.dark svg#yt-logo-red-svg #youtube-red-paths path,ytd-masthead.dark svg#yt-logo-updated-svg #youtube-paths path,ytd-masthead.dark svg#yt-logo-red-updated-svg #youtube-red-paths path,ytd-masthead.theater svg#yt-logo-svg #youtube-paths path,ytd-masthead....
HTML
-- Vision running as thread for each camera, need require locally --WEBOTS SPECIFIC VISION CODE local Vision = {} --[[ local ok, _ = pcall(require, 'ffi') if ok then ImageProc2 = require'ImageProcFFI' end --]] require('carray'); require('vector'); require('Config'); -- Enable Webots specific webots = true requ...
Lua
{ -webkit-transform: scale(.2); -webkit-animation-name: popout; z-index: 10; } .pop.in.reverse { -webkit-animation-name: dontmove; z-index: 0; } @-webkit-keyframes popin { from { -webkit-transform: scale(.2); } to { -webkit-transform: scale(1); } } @-webkit-keyframes popout { ...
CSS
ll:t;var r=n.memoizedState;return null!==r&&null!==t&&hi(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Hi(e,t,n){return 21&ii?(lr(n,t)||(n=ht(),li.lanes|=n,Ds|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,vl=!0),e.memoizedState=n)}function Vi(e,t){var n=vt;vt=0!==n&&4>n?n:4,e(!0);var r=ai.transition;ai.tr...
JavaScript
th == sAOC.length) { // No correction to phase. // Correction to DC is fake. for (int j = 0; j < outLen; j++) { sAOC[j] /= micGain[j]; } } if (boolAWeighting) { for (int j = 0; j < outLen; j++) { ...
Java
), 8u); ASSERT_EQ(BitCount(0xAAAAAAAAu), 16u); ASSERT_EQ(BitCount(0xFFFFFFFFu), 32u); // 64-bit ASSERT_EQ(BitCount(uint64_t(0x0000000000000000ull)), 0u); ASSERT_EQ(BitCount(uint64_t(0x0000000000000001ull)), 1u); ASSERT_EQ(BitCount(uint64_t(0x8000000000000000ull)), 1u); ASSERT_EQ(BitCount(ui...
C++
p: xy.x:1!null └─ Table ├─ name: xy ├─ columns: [x y z] ├─ colSet: (1-3) └─ tableId: 1 `, }, { Query: "SELECT x, avg(x) FROM xy group by x order by avg(x)", ExpectedPlan: ` Project ├─ columns: [xy.x:1!null, avg(xy.x):4->avg(x)] └─ Sort(avg(xy.x):4...
Go
ようにインストール先を変えておくことをお勧めします。 </p> <p> 新しいバージョンのPostgreSQLを古いバージョンと別の場所にインストールした場合、 リカバリスクリプトを編集することなくそのまま使用するには、シンボリックリンクなどを使用してインストール先のパスを以前と合わせる必要があります。 上書きインストールした場合は以下のC言語関数をインストールするまでの操作は不要です。 すぐにオンラインリカバリが実行できます。 </p> <p> 古いバージョンのPostgreSQLのインストール先ディレクトリ名を変更します。 以下は、PostgreSQLが/usr/local/pgsqlにインストールされていたと仮定した一例で...
HTML
ool(AppConfig.PREF_PREFER_IPV6) == true) { builder.addAddress(PRIVATE_VLAN6_CLIENT, 126) if (routingMode == ERoutingMode.BYPASS_LAN.value || routingMode == ERoutingMode.BYPASS_LAN_MAINLAND.value) { builder.addRoute("2000::", 3) //currently only 1/8 of total ipV6 is in use ...
Kotlin
maxListKeys := q.serf.config.QueryResponseSizeLimit / minEncodedKeyLength actual := len(resp.Keys) // if the provided list of keys is smaller then the max allowed, just iterate over it // to avoid an out of bound access when truncating if maxListKeys > actual { maxListKeys = actual } for i := maxListKeys; i...
Go
Mask, alt(i)); keyMap.bind(i | KeyEvent.KeyMask.CtrlMask, ctrl(i)); } keyMap.bind(KeyEvent.Key.q | KeyEvent.KeyMask.CtrlMask, ctrl('q')); keyMap.bind(KeyEvent.Key.Mouse, key(terminal, Capability.key_mouse)); keyMap.bind(KeyEvent.Key.Enter, "\r"); keyMap.bind(KeyEvent.Key.Backspace, del()); keyMap.bind...
Java
一个人生的逆行者。希望这个故事,能让更多的青年有做自己命运主人的勇气。 ## 算法面试必考100题 这一段时间以来,互联网公司的招聘量特别大。具体可以看[《谁在招人?》](https://mp.weixin.qq.com/s/7TKIVjY1VRN8GzitvICeUQ)月刊,这个月的招聘岗位是三年来最多的。 原因大概是,疫情推动了在线服务,互联网公司有很好的利润和业务成长,现在加大投入,补充新人了。不过,一体两面的是,今年的应聘难度也是空前的:(1)高校毕业生创了新高;(2)很多本来会出国或在国外就业的人,现在选择国内就业;(3)实体行业不景气,更多的人涌向互联网公司。 如何拿到面试机会,成了很多同学最关心的问题。对于开发...
Markdown
a, (wtc(), ktc)), 15).Kc(); d.Ob(); ) { c = BD(d.Pb(), 70); if (wNb(c, (Nyc(), Owc))) { this.d = BD(vNb(c, Owc), 227); break; } } } function Anc(a, b, c) { var d, e, f, g, h, i, j, k; d = BD...
JavaScript
outer /// </summary> public int EBit { get { var flags = (byte) ((Header.Bytes[Header.Offset + RouterLinksAdvertisementFields.RouterOptionsPosition] >> 1) & 1); return flags; } set => Header.Bytes[Header.Offset + Rou...
C#
beq.s .re_mapp2 .re_fill move.w $ffffa206.w,(a2)+ dc.w $4e71 dbf d1,.re_fill .bug lea 640(a0),a0 addq #4,a6 dbf d7,.re_mapp .no_poly rts maxx lea new_p(pc),a0 lea ready(pc),a2 lea new_col(pc),a6 lea ready_col(pc),a5 rept 4 move.w (a1)+,d0 move.l (a0,d0.w*4),(a2)+ move.w (a6,d0.w*2),(a5)+ endr rts r...
Assembly
7px -52px;}.m-yktFoot .ftwrapper .share .weixin .tipQrcode,.m-yktFoot .ftwrapper .share .yixin .tipQrcode{display:none;z-index:999;width:120px;height:150px;bottom:30px;left:-63px;padding:10px;background:#fff;border:1px solid #ddd;}.m-yktFoot .ftwrapper .share .weixin .tipQrcode .qrTitle,.m-yktFoot .ftwrapper .share .yi...
CSS
)} Kourou`) } export abstract class Kommand extends Command { public log(message?: string | undefined, ...args: any[]): void { return super.log(` ${message}`, ...args) } public logError(message?: string | undefined, ...args: any[]): void { return this.log(chalk.red(message), ...args) } } import { Repa...
Typescript
otificationsPage.Default.PopupMessageWriterWriteInfoMsgs = value; } public bool AllowWarningMessages { get => Properties.OptionsNotificationsPage.Default.PopupMessageWriterWriteWarningMsgs; set => Properties.OptionsNotificationsPage.Default.PopupMessageWriterWriteWarning...
C#
.add_attribute("owner", owner.into_string()) .add_attribute("staking_addr", staking_addr.into_string()) .add_attribute("reward_token", reward_token.into_string()) .add_attribute("reward_rate", reward_rate)) } pub fn validate_cw20(deps: Deps, cw20_addr: Addr) -> bool { let response: Result<...
Rust
uted in 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++
19th century, many European cartographers <https://en.wikipedia.org/ wiki/Cartography> incorrectly believed that a native name for the mountain was Gaurishankar <https://en.wikipedia.org/wiki/Gaurishankar>, a mountain between Kathmandu <https://en.wikipedia.org/wiki/Kathmandu> and Everest.^[23] <#cite_note-Waddell-26>...
HTML
t")] public Input<string>? InitTimeout { get; set; } [Input("metadata")] private InputList<Inputs.DaprMetadataArgs>? _metadata; /// <summary> /// Component metadata /// </summary> public InputList<Inputs.DaprMetadataArgs> Metadata { get => _m...
C#
charset( AsfHeader.ASF_CHARSET .name() ) ) } catch (uee: UnsupportedEncodingException) { // Should never happen throw RuntimeException( "Unable to find encoding:" // NOPMD by Christian Laireiter on 5/9/09 5:45 PM + AsfHeader.ASF_CHARSET.name() ) } baos.write(descri...
Kotlin
ss PCI_CONF_FUNC( reg: Int, datatype: Datatype, name: String, default: ULong = 0u, writable: Boolean, level: LogLevel, ) : ByteAccessRegister(ports.pci, reg.ulong_z, datatype, name, default, writable, level = level) { /** * Convert this offset (reg) t...
Kotlin
revious value; the // previous value is assumed to have already been loaded into pre_val. ShenandoahPreBarrierStub(LIR_Opr pre_val) : _do_load(false), _addr(LIR_OprFact::illegalOpr), _pre_val(pre_val), _patch_code(lir_patch_none), _info(NULL) { assert(_pre_val->is_register(), "should be a register"); ...
C++
ends RusTMS { getName(): PhraseName { return { label: 'RusSSP', description: 'Второстепенные члены предложения' } } } export class RusNounPhrase extends RusPhrase { getName(): PhraseName { return { label: 'RusNP', description: 'Предложение с именным подлежащим' } } } ex...
Typescript
,先修课程对 [0, 1] 表示:想要学习课程 0 ,你需要先完成课程 1 。 * * * 请你判断是否可能完成所有课程的学习?如果可以,返回 true ;否则,返回 false 。 * * * * 示例 1: * * * 输入:numCourses = 2, prerequisites = [[1,0]] * 输出:true * 解释:总共有 2 门课程。学习课程 1 之前,你需要完成课程 0 。这是可能的。 * * 示例 2: * * * 输入:numCourses = 2, prerequisites = [[1,0],[0,1]] * 输出:false * 解释:总共有 2 门课程。学习...
Typescript
for instruction v_cmp_gt_f64_e64 s10, 0, v[2:3] // W32: encoding: [0x0a,0x00,0x24,0xd4,0x80,0x04,0x02,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction v_cmp_gt_f64_e64 s10, -1, v[2:3] // W32: encoding: [0x0a,0x00,0x24,0xd4,0xc1,0x04,0x02,0x00] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: erro...
Assembly