content
stringlengths
2
6.21k
label
stringclasses
16 values
/* * * Copyright 2021-2025 Software Radio Systems Limited * * This file is part of srsRAN. * * srsRAN is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of * the License, or (at y...
C
// mockingjay // .when(() => // navigator.pushAndRemoveUntil(mockingjay.any(), mockingjay.any())) // .thenAnswer((_) async {}); // // await tester.pumpWidget( // MaterialApp( // home: mockingjay.MockNavigatorProvider( // navigator: navigator, // chi...
Dart
/* @(#)pmap_getport.c 2.2 88/08/01 4.0 RPCSRC */ /* * Sun RPC is a product of Sun Microsystems, Inc. and is provided for * unrestricted use provided that this legend is included on all tape * media and as a part of the software program in whole or part. Users * may copy or modify Sun RPC without charge, but are no...
C
.build(loop, fc); } public ETileOneOrMore(ETile orig) { this(orig, null, null, null); } @Override public double getH1(StringBounder stringBounder) { double h1 = deltay + orig.getH1(stringBounder); if (loop != null) h1 += getBraceHeight(); return h1; } private double getBraceHeight() { if (loop ==...
Java
me: xy\n" + "", ExpectedAnalysis: "Project\n" + " ├─ columns: [xy.x]\n" + " └─ Filter\n" + " ├─ InSubquery\n" + " │ ├─ left: xy.x\n" + " │ └─ right: Subquery\n" + " │ ├─ cacheable: true\n" + " │ └─ Project\n" + " │ ├─ columns: [Subquery\n" +...
Go
a53bfc2de75dab9df9cfb71157e3dbb3a">next</a>;</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; this-&gt;<a class="code" href="classuStepperServo.html#a53bfc2de75dab9df9cfb71157e3dbb3a">next</a> = 0;</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#1...
HTML
"""謬誤處理相關工具函式。""" from __future__ import annotations from typing import Any def flatten_fallacies(messages: list) -> list: if not messages: return [] flat: list[dict[str, Any]] = [] for msg in messages: falls = msg.get("fallacies") if isinstance(msg, dict) else getattr(msg, "fallacies", N...
Python
symbols_on_mouth" => Some(&crate::flat::FACE_WITH_SYMBOLS_ON_MOUTH as &crate::Emoji), "ce_with_tears_of_joy" => Some(&crate::flat::FACE_WITH_TEARS_OF_JOY as &crate::Emoji), "ce_with_thermometer" => Some(&crate::flat::FACE_WITH_THERMOMETER as &crate::Emoji), "ce_with_tongue" => Some(&crate::flat::FACE_WIT...
Rust
() const { return _children.size(); } /// isVisible getter bool Node::isVisible() const { return _visible; } /// isVisible setter void Node::setVisible(bool var) { if(var != _visible) { _visible = var; if(_visible) _transformUpdated = _transformDirty = _inverseDirty = true; } } co...
C++
L)) != SUCCESS) main_err_fail(derr, "Failed to open send/receive handle", jmp_destroy_pool); } if ((derr = dragon_channel_detach(&ch)) != DRAGON_SUCCESS) main_err_fail(derr, "Failed to detach from channel", jmp_destroy_pool); for (int i = 0; i < N_ATTACH; i++) { if (valid_chann...
C
(n) => n.noteNumber !== message.noteNumber ) break } default: { track.addEvent({ ...message, tick, isRecording: true }) break } } } } import { Component } from '@angular/core'; import { FormGroup, FormControl, Validators } from '@angular/forms'; import ...
Typescript
// One or more property settings are either invalid or in conF;ict with each // other // int COMADMIN_E_PROPERTYSAVEFAILED = 0x80110437; // // MessageId: COMADMIN_E_OBJECTEXISTS // // MessageText: // // The object you are attempting to add or rename already exists // int ...
Java
vim.api.nvim_set_keymap( "o", "ac", ":<C-u>lua make_cell_textobject(true)()<CR>", { noremap = true, silent = true } ) end, }
Lua
: 34px; } .ag-theme-material .ag-rtl .ag-icon-tree-closed { background-color: transparent; background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTEuNSAxMi41TDggOWwzLjUtMy41LTEtMUw2IDlsNC41IDQ...
HTML
status_text = "Effect Column: Empty" end -- Check if we're in a note column elseif song.selected_note_column_index > 0 then local note_column = song.selected_note_column if note_column then local parts = {} -- Note information ...
Lua
11.m1.3.3.1.1.1.1.1.1.1.3.2.3.3"><plus id="S2.Ex11.m1.3.3.1.1.1.1.1.1.1.3.2.3.3.1.cmml" xref="S2.Ex11.m1.3.3.1.1.1.1.1.1.1.3.2.3.3.1"></plus><apply id="S2.Ex11.m1.3.3.1.1.1.1.1.1.1.3.2.3.3.2.cmml" xref="S2.Ex11.m1.3.3.1.1.1.1.1.1.1.3.2.3.3.2"><csymbol cd="ambiguous" id="S2.Ex11.m1.3.3.1.1.1.1.1.1.1.3.2.3.3.2.1.cmml" xr...
HTML
uration = pInvokeILEmitterConfiguration; } public sealed override PInvokeILProvider CreatePInvokeILProvider() { return new PInvokeILProvider(_pInvokeILEmitterConfiguration, _interopStateManager); } public sealed override void AddToReadyToRunHeader(ReadyToRunHeaderNo...
C#
{ /** * Convenience getter for using string-keyed * [prefix&#32;trees][PrefixTree]. * * @param key * The search key. * @return * The value associated with [key], if any. */ @Suppress("NOTHING_TO_INLINE") inline operator fun <V> PrefixTree<Int, V>.get( key: String ): V? = get(key...
Kotlin
120“ (an integer that represents the number of seconds to // wait before retrying). If so, this value is used as the back-off interval. // 2. Otherwise, if the response contains the header “X-RateLimit-Reset“ its // value must be on the form “1595320702“ (an integer that represents the // point in time at ...
Go
的金磚', '帝皇的金磚'}, {'68220', '掀繙小地磚', '掀繙小地磚'}, {'68221', '金砖铺地', '金砖铺地'}, {'68222', '(大s*逃s*港)', '(大s*逃s*港)'}, {'68223', '帝皇金磚', '帝皇金磚'}, {'68224', 'celebrateharvest', 'celebrateharvest'}, {'68225', '中央经济', '中央经济'}, {'68226', '经济工作', '经济工作'}, {'68227', '酒仙桥包子铺', '酒仙桥包子铺'}, {'68228', '酒僊橋包子舖', '酒僊橋包子舖'}, {'68229', '许臻', '...
Lua
} else { mQuickAdapter.setNewData(DataServer.getSampleData(10)) } } }, 1000) } } package com.allen.kotlinapp.adapter import android.util.Log import com.allen.kotlinapp.R import com.allen.kotlinapp.entity.Level0Item import com.allen.kotlinapp....
Kotlin
reon.ImpossibleTrigger import net.minecraft.data.recipes.* import net.minecraft.data.recipes.RecipeProvider.has import net.minecraft.tags.ItemTags import net.minecraft.world.item.Items import java.util.function.Consumer class EstrogenCraftingRecipes(output: FabricDataOutput, val helper: PlatformRecipeHelper) : FabricR...
Kotlin
/* * (C) Copyright 2002 * Sysgo Real-Time Solutions, GmbH <www.elinos.com> * Marius Groeger <mgroeger@sysgo.de> * * (C) Copyright 2002 * Sysgo Real-Time Solutions, GmbH <www.elinos.com> * Alex Zuepke <azu@sysgo.de> * * SPDX-License-Identifier: GPL-2.0+ * ******************************************************...
C
/> </symbol> <symbol fill="none" id="moon" viewBox="0 0 32 32"> <path d="M25 19.4598C23.8179 19.9944 22.5058 20.292 21.1241 20.292C15.9238 20.292 11.708 16.0762 11.708 10.8759C11.708 9.49422 12.0056 8.18206 12.5402 7C9.27319 8.47747 7 11.7652 7 15.5839C7 20.7843 11.2157 25 16.4161 25C20.2348 25 23.5225 ...
HTML
, New: rSchema, }) // Required j := make(map[string]int) k := make(map[string]int) if lSchema != nil { for i := range lSchema.Required.Value { j[lSchema.Required.Value[i].Value] = i } } if rSchema != nil { for i := range rSchema.Required.Value { k[rSchema.Required.Value[i].Value] = i } } ...
Go
Content Toolbaox - */ list-style-image: url(data:image/svg+xml;base64,PCEtLSBUaGlzIFNvdXJjZSBDb2RlIEZvcm0gaXMgc3ViamVjdCB0byB0aGUgdGVybXMgb2YgdGhlIE1vemlsbGEgUHVibGljCiAgIC0gTGljZW5zZSwgdi4gMi4wLiBJZiBhIGNvcHkgb2YgdGhlIE1QTCB3YXMgbm90IGRpc3RyaWJ1dGVkIHdpdGggdGhpcwogICAtIGZpbGUsIFlvdSBjYW4gb2J0YWluIG9uZSBhdCBodHRwOi8...
CSS
30364">Examples</a></h4> <p><a name="1030365">The following example shows callback routines for the types </a><font size="2" face="'Courier New'" color="#000000">defrGroupNameCbkType</font>, <font size="2" face="'Courier New'" color="#000000">defrGroupMemberCbkType</font>, and <font size="2" face="'Courier New'" ...
HTML
::_nil(), ::OpenDDS::DCPS::DEFAULT_STATUS_MASK); if (CORBA::is_nil(topic3)) { return 1; } } if (topics & TOPIC_T4) { topic4 = dp->create_topic(MY_TOPIC4, MY_TYPE1, TOPIC_QOS_DEFAULT, ::DDS::TopicListener::_nil(), ...
C++
got1","aw" .globl __GOT1_END__ .type __GOT1_END__,@object __GOT1_END__: .section ".got2","aw" .globl __GOT2_END__ .type __GOT2_END__,@object __GOT2_END__: .section ".fixup","aw" .globl __FIXUP_END__ .type __FIXUP_END__,@object __FIXUP_END__: .section ".ctors","aw" .globl __CTOR_END__ .type __CTOR_END__,@o...
Assembly
ader) : RuntimeEffect { private val compositeRuntimeEffect = org.jetbrains.skia.RuntimeEffect.makeForShader(shader.sksl) private val compositeShaderBuilder = RuntimeShaderBuilder(compositeRuntimeEffect) override val supported: Boolean = true override var ready: Boolean = false override fun setFloa...
Kotlin
2) << " and goal " << state_ids.back() << std::endl; } else { end_points = it2->second; } } else { std::cerr << "No interpolated segment connecting state id " << (*state_ids.end() - 2) << " and goal " << state_ids.back() << std::endl; ...
C++
(SHARED_DOMAIN, "Dr_groups = group1_A , group0_B")).getUserIds(); assertThat(userIds, expectedUserIds); } @Test void getUserIdsFromGroupWithSubGroupsRuleShouldReturnAllUsersOfGroupAndSubGroups() throws Exception { Matcher<Iterable<? extends String>> expectedUserIds = containsInAnyOrder(extractUserI...
Java
span::-moz-selection { background: rgba(45, 45, 45, 0.99); } .cm-s-the-matrix .CodeMirror-gutters { background: #060; border-right: 2px solid #00FF00; } .cm-s-the-matrix .CodeMirror-guttermarker { color: #0f0; } .cm-s-the-matrix .CodeMirror-guttermarker-subtle { color: white; } .cm-s-the-matrix .CodeMirror-linenumber ...
CSS
/* test_string.c * strophe XMPP client library -- tests for re-implemented string functions * * Copyright (C) 2016 Dmitry Podgorny <pasis.ua@gmail.com> * * This software is provided AS-IS with no warranty, either express * or implied. * * This program is dual licensed under the MIT and GPLv3 licenses. */ #...
C
GraphD2RQ</A> in <A HREF="../../../../../../de/fuberlin/wiwiss/d2rq/package-summary.html">de.fuberlin.wiwiss.d2rq</A></FONT></TH> </TR> </TABLE> &nbsp; <P> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left" COLSPAN="2">Methods...
HTML
Namchi", "Gyalshing", "Mangan"], "Andaman and Nicobar Islands": [ "Nicobars", "North and Middle Andaman", "South Andamans", ], "Puducherry": ["Puducherry", "Karaikal", "Mahe", "Yanam"], "Ladakh": ["Leh", "Kargil", "Diskit", "Padum", "Kargil", "Leh Ladakh"], "Jammu and Kashmir": [ ...
Dart
eturn entnum; } } //end while return 0; } //end of the function AAS_NextEntity // Ridah, used to find out if there is an entity touching the given area, if so, try and avoid it /* ============ AAS_EntityInArea ============ */ int AAS_IsEntityInArea( int entnumIgnore, int entnumIgnore2, int areanum ) { aas_link_t ...
C
ed_results: actual_val = results.results[task][metric] lo = mean - sigma_tol * std hi = mean + sigma_tol * std ok = (lo < actual_val) and (actual_val < hi) msg = ( "{} > {} sanity check (actual vs. expected): " "{:.3f} vs. mean={:.4f}, std={:.4}, range=({:...
Python
Public License * version 2 for more details (a copy is included in the LICENSE file that * accompanied this code). * * You should have received a copy of the GNU General Public License version * 2 along with this work; if not, write to the Free Software Foundation, * Inc., 51 Franklin St, Fifth Floor, Bosto...
Java
blaze::HasLGamma< int >::value // Evaluates to 1 blaze::HasLGamma< DynamicVector<float> >::Type // Results in TrueType blaze::HasLGamma< DynamicMatrix<double> > // Is derived from TrueType blaze::HasLGamma< NoLGamma >::value // Evaluates to 0 blaze::HasLGamma< NoLGamm...
C
str r0, [r4, #0x34] ldr r0, [r4, #0x2c] str r0, [r4, #0x38] ldr r0, [r4, #0x34] bl ManagedSprite_SetDrawFlag ldr r0, [r4, #0x38] mov r1, #1 bl ManagedSprite_SetDrawFlag _0222A084: add r1, sp, #8 ldr r0, [r4, #0x34] add r1, #2 add r2, sp, #8 bl ManagedSprite_GetPositionXY ldr r1, [r4, #0x30] ldr r0, _0222A...
Assembly
or: Length of new names must be 1, got 2 print(pd.crosstab(df['Sex'], [df['Pclass'], df['Embarked']], normalize=True)) # Pclass 1 2 \ # Embarked C Q S C Q S # Sex ...
Python
ізмах Python - Декоратор `@property` є дескриптором, який реалізує повний протокол дескриптора для визначення своїх дій `get`, `set` і `delete`. - Методи класів (`@classmethod`) та статичні методи (`@staticmethod`) є дескрипторами. - Функції реалізують метод `__get__`, тому вони можуть працювати як методи, коли визнач...
Markdown
ervicoId = obj.servicoId } } }import * as tf from '@tensorflow/tfjs-core'; import {ExecutionContext} from '../compilation'; import {Operand} from '../operand'; import {SingleOutputOperation} from '../operation'; import * as utils from '../utils'; export abstract class Binary extends SingleOutputOperation ...
Typescript
wakələɣɩ wakələna wakəlɩ wakəllʋ wakəlʋɣʋ walaa waŋ wasaŋkalənaa wasaŋkalətʋ wasaŋkalɩ watɩ watʋ wawawa we weesiŋ weesuɣu weɣe weɣelɛ wei wena wenti wəɣɩ wɛ wɛɛ wɛɛkɩ wɛɛkʋɣʋ wɛɛna wɛɛtʋ wɛɛʋ wɛɣɛ wɛɣɛlɛ wɛləta wɛna wɛnaʋ wɛnna wɛsɩ wɛʋ wii wiikaɣa wiikaɣana wiikəna wiiki wiikina wiikuɣu wiila wiili wiiliɣi wiiluɣu wi...
HTML
get; private set; } public int Size { get; private set; } public SitemapIndexNode CreateSitemapIndexNode(int currentPage) { return new SitemapIndexNode(_urlHelper.Action("StaticPages", "Sitemap", new { id = currentPage })); } public SitemapNode CreateNode(string s...
C#
data-desc-position=bottom data-height=auto data-type=image data-width=100% href=../imgs/1560503711261.png><img alt=1560503711261 src=../imgs/1560503711261.png></a> $$ \begin{aligned} \frac{\partial f}{\partial x} = 2 \ \frac{\partial f}{\partial y} = 3 + 2 = 5 \ \frac{\partial f}{\partial z} = 0 \end{aligned} $$ <stro...
HTML
auvre bouffons que nous sommes, penser naivement que l'on peut tout simplement diviser le prix en franc d'une bouteille d'eau (1 franc environs) par 6,55957 et obtenir autre chose que 0.15244901172 (resultat mm pas juste)!! En ce qui concerne ma frequentation de la boutique de Rachid (c le nom de"l'arabe" du coin nb: ...
HTML
j technológiáktól. Más kriptók, akikben erősebb a versengés, folyamatosan a Monero „trónfosztásáról” beszélnek, és arról, hogy a Moneronak félnie kéne az új technológiájuktól, amely át fogja venni az uralmat az adatbiztonság világában. Más szóval, úgy látják, hogy az új technológiájuk le tudja győzni a Monero hálózati ...
Dart
�式的问题。但文艺总得有一个形式,既是反对探求民族形式,当然就是为了保护洋八股,保护脱离群众的那种“欧化”形式,以便於装运西欧资产阶级文艺的内容。 </p> <h3> 六 </h3> <p> 胡风这一套文艺思想久已和党的文艺思想尖锐对立。过去,他还要掩饰一下。发展到最近两年,他就再也不掩饰了。他在一九五四年七月向党中央提出了一个关於文艺工作的报告,实际上是一个宣战书。他在这个宣战书里面,提出了文艺工作中一套完整的反党的理论纲领和组织纲领,而对於解放五年来党对文艺运动的思想领导和组织领导进行了狂妄的攻击(表面上他好像只是攻击林默涵何其芳两位同志,但这种诡计是谁都骗不了的)。 </p> <p> ...
HTML
ADMIN@TEST.COM", PasswordHash = hasher.HashPassword(null, "Admin1!") }, new ApplicationUser { Id = "8e445865-a24d-4543-a6c6-9443d048cdb1", // primary key UserName = "editor@test.com", Ema...
C#
<String>() ..add('a') ..add('b') ..addAll({'a', 'b'}) ..addAll(['a', 'b']) ..toString(); Queue<Pattern>() ..add('a') ..add(RegExp('b')) ..toString(); Queue<String Function(String)>()..add(Env<String>().foo); Queue<num>() ..addAll(<int>[1]) ..addAll(<double>[2.3]); } void m...
Dart
sMaximumRenown(majorFactionID) end ---[Documentation](https://warcraft.wiki.gg/wiki/API_C_MajorFactions.IsMajorFactionHiddenFromExpansionPage) ---@param majorFactionID number ---@return boolean isHidden function C_MajorFactions.IsMajorFactionHiddenFromExpansionPage(majorFactionID) end ---[Documentation](https://warcr...
Lua
Core::PanoDefinition> panoDef(Core::PanoDefinition::create(*parser->getRoot().has("pano"))); unsigned width, height; panoDef->computeOptimalPanoSize(width, height); ENSURE_EQ(expectedPanoSizes[test].width, width); ENSURE_EQ(expectedPanoSizes[test].height, height); ENSURE_APPROX_EQ((float)panoDef-...
C++
lDFN" title="object_string" href="#dfn-object_string"> <ins class="diff-chg">object string </ins></a><ins class="diff-chg"> using the pattern </ins><code><ins class="diff-chg"> " </ins></code><strong><ins class="diff-chg"> LITERAL </ins></strong><code><ins class="diff-chg"> " </ins></code><ins class="diff-chg"> where <...
HTML
:right;margin:11px 0 0 7px;} /* FORUM PAGE */ .forum{} .forum .forum-header{} .forum .forum-header .forum-options,.forum-footer .forum-options{} .forum .forum-header .forum-options a,.forum-footer .forum-options a{} .forum .top .forum-info{} .forum .top .forum-info .forum-name{font-weight:700;font-size:1.2em;} .forum ...
CSS
// return new Value('DefaultValue: unable to convert', bot); monitor.Throw( "TypeError", 'default value, unable to convert', lub(toString.label, valueOf.label) ); } // hint must be 'number' let valueOf = this.Get(constants.valueOf); if (IsCallable(valueOf)...
Typescript
read_u64_le()?; assert!(_top_node_offset != 0, "invalid root offset"); // Ok(()) } impl VarFile { pub fn read_top_node_offset(&mut self) -> Result<NodePieceOffset> { self.seek_from_start(NodePieceOffset::new(IDX_HEADER_TOP_NODE_OFFSET))?; self.read_u64_le().map(NodePieceOffset::new) ...
Rust
', '', '', '', '6015001', '', '', '2', '', '缇尔锋', 'Tyrfing', '', '', '6', '', '', '', '', '', '', '', '', '2070664', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''}, {'2070664', '', '但无论如何,她是个不幸的人。还请您也对她宽容些。', '', '', '', '', '', '', '', '', '6015001', '', '', '2', '', '缇尔锋', 'Tyrfing', '', '', '6', '',...
Lua
#define MV_ASMLANGUAGE /* @ @ Entry point for the binary code to be executed as a BootROM extension @ */ .arch armv7-a .text .align 2 .globl _start .type _start, %function _start: stmfd sp!, {r0 - r12, lr} /* @ save registers on stack */ bl mvBinHdrDispatcher mov r0, #0x0 /* @ return value: 0x0 NO_ER...
Assembly
et></apply></annotation-xml><annotation encoding="application/x-tex" id="S2.Thmtheorem1.p1.8.m4.2c">V=\{0,1\}</annotation><annotation encoding="application/x-llamapun" id="S2.Thmtheorem1.p1.8.m4.2d">italic_V = { 0 , 1 }</annotation></semantics></math>. The Boolean semantics <math alttext="\mu_{B}" class="ltx_Math" disp...
HTML
if ( !file::isValidMesh( *m_aiScene, meshIndex ) ) continue; if ( auto it = file::findNodeMesh( meshIndex, m_sceneData.meshes ); it != m_sceneData.meshes.end() ) { if ( nodeData.meshes.end() == std::find( nodeData.meshes.begin() , nodeData.meshes.end() , &it->second ) ) { // Do...
C++
# Code generated by Lark OpenAPI. from typing import Any, Optional, Union, Dict, List, Set, IO, Callable, Type from lark_oapi.core.model import BaseRequest from lark_oapi.core.enum import HttpMethod, AccessTokenType from .batch_create_app_role_member_request_body import BatchCreateAppRoleMemberRequestBody class Batc...
Python
in code chunks when printing */ /* source: https://stackoverflow.com/a/10781533 */ @media print { code a:link:after, code a:visited:after { content: ""; } } /* Section anchors --------------------------------- Added in pandoc 2.11: https://github.com/jgm/pandoc-templates/commit/9904bf71 */ div.csl-bib-bod...
CSS
erif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } code { font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace; } ul li.active { text-decoration: underline; color: #406f8e; } .MuiInputAdornment-filled.MuiInputAdornment-positionStart:not(.Mu...
CSS
w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <title>CMSIS-SVD: SVD File Schema Levels</title> <link href="tabs.css" rel="stylesheet" type="text/cs...
HTML
public ULONG ulAlarmId; // Alarm ID public byte[] szReserve = new byte[PU_RESERVE_LEN]; public LPPU_ALARM_REPORT_S() { this.setAlignType(ALIGN_NONE); } @Override protected List<String> getFieldOrder() { return Arrays.asList("ulDeviceId", "enAlarm...
Java
rn value specified for UpdateOAuthApp") } var r0 *model.OAuthApp var r1 *model.AppError if rf, ok := ret.Get(0).(func(*model.OAuthApp) (*model.OAuthApp, *model.AppError)); ok { return rf(app) } if rf, ok := ret.Get(0).(func(*model.OAuthApp) *model.OAuthApp); ok { r0 = rf(app) } else { if ret.Get(0) != nil...
Go
MlSLlSZgG9H6og0W6gLS3vq s4VavZ6DbXIwemZG2vbRwsvR+t4G6Nbwelm6F8RFnA1Fwt428pavmNQ/wgYzo+T1 1eS+HiN4ACnSoDSx3QRWcgBkB1g6VReofVjx63i0J+w8Q/41L9GUuLqquFxu6ZnH 60vTB55lHgFiDLjA1FkEz2dGvGh/wtnFlRvjaPC54JH2K1mPYAUXTreoeJtLJKX0 ycoiyB24+zGCniUmgIsmQWRPaOPircexCp1BOeze82BT1LCZNTVaxQIDAQABoyMw ITAOBgNVHQ8BAf8EBAMCAKQwDwYDVR0TAQH/...
Go
e values if wrapped in array "expect(BigNumber[]).to.equal(string[])" function assertArrayEquals<T = unknown>(actual: T, expected: T) { if (!Array.isArray(actual)) { expect(actual).to.equal(expected); return; } // eslint-disable-next-line for (let i = 0; i < actual.length; i++) { assertArrayEquals(...
Typescript
class SUBr(cpu: AARMCore, opcode: ULong, cond: Condition, val setFlags: Boolean, val rd: ARMRegister, val rn: ARMRegister, val rm: ARMRegister, val shiftT: SRType, val shiftN: Int, size: Int): AARMInstruction(cpu, Type...
Kotlin
; it('测试 removeFront', function () { expect.assertions(2); const dqueue = new DQueue(); dqueue.addBack("张三"); dqueue.addBack("李四"); dqueue.addFront("小王"); dqueue.addBack("大王"); expect(dqueue.removeFront()).toBe("小王"); expect(dqueue.peekFro...
Typescript
; Generated with ikazuchi 1.0 by riidefi ; Object File: CameraCalc ; Segments: ; .text: 0x800956dc -> 0x80095d84 ; .sdata2: 0x806b9250 -> 0x806b9280 (806b927c -> 806b9280 (size 0004/0x0004) is greedily claimed anonymous data) ; Symbols Defined ; 800956dc -> 80095784 JMAAcosRadian__Ff ; 80095784 -> 8...
Assembly
vec&lt; L, T, Q &gt; const &amp;x)'],['../a00887.html#ga92f82c4f45b5b43ccc29533990db079d',1,'glm::nextFloat(vec&lt; L, T, Q &gt; const &amp;x, int ULPs)'],['../a00887.html#ga48e9b73c50fcf589e0032b8dbed9a3f9',1,'glm::nextFloat(vec&lt; L, T, Q &gt; const &amp;x, vec&lt; L, int, Q &gt; const &amp;ULPs)']]], ['nextmultip...
JavaScript
<p> And a TabContainer: </p> <div data-dojo-type="dijit/layout/TabContainer" data-dojo-props='style:"height:200px; width:300px", textDir:"rtl"' data-dojo-textdir="rtl"> <div data-dojo-type="dijit/layout/ContentPane" data-dojo-props='title:"Tab 1 textDir=rtl" ' > <textarea id="rtlSimpleTexarea" d...
HTML
n\n vec2 extrude = v_extrude * radius * u_extrude_scale;\n // multiply a_pos by 0.5, since we had it * 2 in order to sneak\n // in extrusion data\n gl_Position = u_matrix * vec4(floor(a_pos * 0.5), 0, 1);\n\n if (u_scale_with_map) {\n gl_Position.xy += extrude;\n } else {\n gl_Position.x...
HTML
app_name = "$newValue"'); break; case AppCenterApp.iosBeta: final newValue = value == null || value.isEmpty ? '$classNamePrefix-iOS-Beta' : value; _replaceInFile('fastlane/Fastfile', 'appcenter_app_name = "$originalClassNamePrefix-iOS-Beta"', 'appcenter_app_name = "$newValue"'); break; c...
Dart
の重心にする。 // if(ip4==1){ wireFrame_worker2.uragaesi();} // wireFrame_worker2.set( wireFrame_worker2.oritatami()) ;//折り畳んだ針金図を、折り開きたい場合の操作 //ここまでで針金図はできていて、cp_worker2が持っている。これは、マウスで操作、変形できる。 return 1000; } public int folding_estimated_02col() throws InterruptedException {// 20171...
Java
ions.sort.some(x => { return (typeof x === 'string' && x === (defSorting as SortProp).by) || (typeof x !== 'string' && x.by === (defSorting as SortProp).by); })) { // if default sorting option was not used, add it to the end if (this._model.getFieldSpec(defSorting.by)...
Typescript
04-.256a1.77 1.77 0 011.771 1.77c0 .332-.097.64-.256.905m7.456-.243-9.633-9.632 1.337-1.652 9.947 9.95-1.651 1.334m5.691-3.717-11.611-11.61c-.085-2.234.479-4.451 1.728-6.323l16.209 16.209c-1.873 1.25-4.091 1.809-6.326 1.724m8.989-1.837L38.354 6.89l.929-.929 18.758 18.758-.93.929m1.038-3.58L41.933 5.852c4.393-2.98 10.63...
Dart
t>] > {{Match source port or port range}} `-p tcp --dport <port>[:<port>] > {{Match destination port or port range}} `-m multiport --sports <port>[,<port>|,<port>:<port>]... > {{Match if the source port is one o...
Markdown
-family:system,-apple-system,San Francisco,\.SFNSDisplay-Regular,Segoe UI,Segoe,Segoe WP,Helvetica Neue,helvetica,Lucida Grande,arial,sans-serif;font-size:13px;line-height:16px;opacity:0;padding:6px 10px;-webkit-transition:opacity .15s;transition:opacity .15s}div.CodeMirror-lint-message-error,div.CodeMirror-lint-messag...
CSS
// SPDX-License-Identifier: 0BSD /////////////////////////////////////////////////////////////////////////////// // /// \file lzip_decoder.c /// \brief Decodes .lz (lzip) files // // Author: Michał Górny // Lasse Collin // ///////////////////////////////////////////////////////////////////...
C
} else { evt['x'] = '${pos.x}'; evt['y'] = '${pos.y}'; } Map<int, String> mapButtons = { kPrimaryMouseButton: 'left', kSecondaryMouseButton: 'right', kMiddleMouseButton: 'wheel', kBackMouseButton: 'back', kForwardMouseButton: 'forward' }; evt['buttons'] = ...
Dart
null_string }, lst2tbl(l)) end) itp('writes string starting, ending and containing NL twice', function() local l = list() encode_list_write(l, '\na\nb\n') eq({ null_string, 'a', 'b', null_string }, lst2tbl(l)) encode_list_write(l, '\na\nb\n') eq({ null_string, 'a', 'b', null_string, 'a', 'b', n...
Lua
"DATA", body); } export function del<I, E, O>( url: string, body?: I ): T.Effect<RequestEnv, HttpError<E>, Response<O>> { return request(Method.DELETE, url, "JSON", body); } export function postForm<E, O>( url: string, body: FormData ): T.Effect<RequestEnv, HttpError<E>, Response<O>> { return request(Met...
Typescript
from PySide6.QtCore import QThread, Signal from airunner.utils.network.huggingface_downloader import HuggingfaceDownloader class DownloadThread(QThread): # Use object-typed signal to avoid OverflowError for very large values progress_updated = Signal(object, object) download_finished = Signal() file_d...
Python
.ui_cl_op2 != cl1.l_cl_op1 % cl1.l_cl_op2) || (cl1.l_cl_op1 % cl1.l_cl_op2 != cl1.l_cl_op1 % (long)cl1.ul_cl_op2) || (cl1.l_cl_op1 % (long)cl1.ul_cl_op2 != cl1.l_cl_op1 % cl1.f_cl_op2) || (cl1.l_cl_op1 % cl1.f_cl_op2 != cl1.l_cl_op1 % cl1.d_cl_op2) || ((decimal)(cl1.l_cl_op1 % cl1.d_cl_op2) != cl1.l_cl_op1 % cl1.m_cl_o...
C#
blue{width:24px;height:24px}.Icon_attach_blue:before,.Icon_audio_blue:before,.Icon_camera_blue:before,.Icon_doc_blue:before,.Icon_loc_blue:before,.Icon_options_blue:before,.Icon_photo_blue:before,.Icon_playlist_blue:before,.Icon_poll_blue:before,.Icon_timer_blue:before,.Icon_video_blue:before{width:24px;height:24px;bac...
CSS
_DMP_DEFAULT_INTERRUPT_MODE : <a class="el" href="group__mpu6500__example__driver.html#gae5a52df19afdbd2f2dee6c4425de9978">driver_mpu6500_dmp.h</a> </li> <li>MPU6500_DMP_DEFAULT_INTERRUPT_MOTION : <a class="el" href="group__mpu6500__example__driver.html#ga1b1a61461675fe2e17d5d8997ed918ca">driver_mpu6500_dmp.h</a> </li>...
HTML
time Order.timeTypes.start, // type of time (must always be start) 0 // maximum number of delays (should be 0) ); } }import WindowComponent, {QuickPickItem} from './vscode/window'; import ...
Typescript
n, startAngle, endAngle, scale) } private fun DrawScope.drawArrow( arrow: Path, bounds: Rect, color: Color, alpha: Float, values: ArrowValues, ) { arrow.reset() arrow.moveTo(0f, 0f) // Move to left corner arrow.lineTo(x = ArrowWidth.toPx() * values.scale, y = 0f) // Line to right corner...
Kotlin
.pageId, { strict2: true }) > portee) { sendPlayer(msg, "Le point vis\xE9 est trop loin (port\xE9e " + portee + ")", playerId); return; } let duree = 5; if (options.brumes) duree += modCarac(necromant, 'sagesse'); else duree += modCarac(necromant, 'intelligence'); if (optio...
JavaScript
dout3 += 2; vst1_f32(dout3, vget_high_f32(re3)); #else asm("vld1.32 {d0, d1}, [%[in0]] \n" "vld1.32 {d2, d3}, [%[in1]] \n" "vld1.32 {d4, d5}, [%[in2]] \n" "vld1.32 {d6, d7}, [%[in3]] \n" "vtrn.32 q0, q1 \n" "v...
C++
XBountyTaskManagerCreator = function() local XBountyTaskManager = {} XBountyTaskManager.BountyTaskStatus = { ["Normal"] = 0, ["DifficultStageWin"] = 1, ["Complete"] = 2, ["AcceptReward"] = 3, } --最大任务数 XBountyTaskManager.MAX_BOUNTY_TASK_COUNT = CS.XGame.Config...
Lua
// The range of IDs for data entries is [0, numEntries[ // All node IDs is in the rnage [numEntries, numEntries + numNodes[ int p = root; while (p >= numOfDataEntries()) p = chooseSubtree(i, p); // Return the index of the leaf node without really inserting the element return p; } /**...
Java
cke_ltr .cke_button__redo_icon{background: url(icons.png) no-repeat 0 -2560px !important;}.cke_rtl .cke_button__undo_icon,.cke_mixed_dir_content .cke_rtl .cke_button__undo_icon{background: url(icons.png) no-repeat 0 -2592px !important;}.cke_ltr .cke_button__undo_icon{background: url(icons.png) no-repeat 0 -2624px !impo...
CSS
rrent_files AS ( SELECT path FROM ( SELECT old_path AS path, max(time) AS last_time, 2 AS change_type FROM git.file_changes GROUP BY old_path UNION ALL SELECT path, ...
Markdown
.dtfj.javacore.parser.j9.section.monitor">IMonitorTypes</a></dt> <dd>&nbsp;</dd> <dt><a href="../openj9.dtfj/com/ibm/dtfj/javacore/parser/j9/section/thread/IThreadTypes.html#UNPARSED_ENV_INFORMATION" class="member-name-link">UNPARSED_ENV_INFORMATION</a> - Static variable in interface com.ibm.dtfj.javacore.parser.j9.sec...
HTML
r->frame_size; codec->delay = codec->initial_padding = par->initial_padding; codec->trailing_padding = par->trailing_padding; codec->seek_preroll = par->seek_preroll; break; case AVMEDIA_TYPE_SUBTITLE: codec->width = par->width; codec->height ...
C