content
stringlengths
2
6.21k
label
stringclasses
16 values
// Show the next button, if not the last image in set if ( settings.activeImage != ( settings.imageArray.length -1 ) ) { if ( settings.fixedNavigation ) { $('#lightbox-nav-btnNext').css({ 'background' : 'url(' + settings.imageBtnNext + ') right 15% no-repeat' }) .unbind() .bind('click',funct...
JavaScript
const joinGameSagas = [ takeLatest(JOIN_GAME, joinGame), ];import { Response, Request } from "common/communication/types"; import { RequestAwaiter } from "common/communication/awaiter"; import { stringify, getHash } from "common/util/funs"; export type RequestHolder = { notifyResult: (request: Request, response: ...
Typescript
tatic final double TWISTER2_TASK_SCHEDULER_CONTAINER_INSTANCE_BANDWIDTH_DEFAULT = 100; public static final String TWISTER2_TASK_SCHEDULER_CONTAINER_INSTANCE_LATENCY = "twister2." + "taskscheduler.container.instance.latency"; private static final double TWISTER2_TASK_SCHEDULER_CONTAINER_INSTANCE_LATENCY_DEFAU...
Java
//------------------------------------------------------------------------------ // <auto-generated /> // // This file was automatically generated by SWIG (http://www.swig.org). // Version 3.0.12 // // Do not make changes to this file unless you know what you are doing--modify // the SWIG interface file instead. //----...
C#
shes[j].Algorithm }) return hashes } func GetMetaComponentType(component cdx.Component) string { // nolint:exhaustive switch component.Type { case cdx.ComponentTypeFile, cdx.ComponentTypeApplication, "": return InputTypeDirectory case cdx.ComponentTypeContainer: return InputTypeImage default: log.Errorf("...
Go
1 sll t1, a1, 16 or a1, t1 1: FEXPORT(__bzero) sltiu t0, a2, LONGSIZE /* very small region? */ bnez t0, small_memset andi t0, a0, LONGMASK /* aligned? */ beqz t0, 1f PTR_SUBU t0, LONGSIZE /* alignment in bytes */ #ifdef __MIPSEB__ EX(swl, a1, (a0), first_fixup) /* make word aligned */ #endif #ifdef...
Assembly
U+61BE,U+61C2,U+61C7-61CB,U+61CD,U+61E3,U+61E6,U+61F2,U+61F5-61F8,U+61FA,U+61FC,U+61FE-6200,U+6208,U+620A,U+620C-620E,U+6210-6212,U+6215-6216,U+621A-621B,U+621F,U+6221-6222,U+622A,U+622E,U+6230,U+6232-6234,U+6236,U+623E-6241,U+6247-6249,U+624B,U+624D-624E,U+6251-6254,U+6258,U+625B,U+6263,U+626D-626F,U+6273,U+6276,U+627...
CSS
render",oc],["__file","pointer.vue"]]),sc={name:"Position"},ic={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},uc=e("path",{fill:"currentColor",d:"m249.6 417.088 319.744 43.072 39.168 310.272L845.12 178.88 249.6 417.088zm-129.024 47.168a32 32 0 0 1-7.68-61.44l777.792-311.04a32 32 0 0 1 41.6 41.6l-310.336 7...
JavaScript
* <p>Describes a request to create or edit the <code>StopInstanceOnIdle</code> add-on.</p> * <important> * <p>This add-on only applies to Lightsail for Research resources.</p> * </important> */ export interface StopInstanceOnIdleRequest { /** * @public * <p>The value to compa...
Typescript
e REG_SDIO_OQT_FREE_TXPG_V1_8822B 0x10250028 #define REG_SDIO_HTSFR_INFO_8822B 0x10250030 #define REG_SDIO_HCPWM1_V2_8822B 0x10250038 #define REG_SDIO_HCPWM2_V2_8822B 0x1025003A #define REG_SDIO_INDIRECT_REG_CFG_8822B 0x10250040 #define REG_SDIO_INDIRECT_REG_DATA_8822B 0x10250044 #define REG_SDIO_H2C_8822B 0x10250060 #...
C
gcPo}, // [3] AHOM SIGN SMALL SECTION..AHOM SIGN RULAI {0x1173F, 0x1173F, prSA, gcSo}, // AHOM SYMBOL VI {0x11740, 0x11746, prSA, gcLo}, // [7] AHOM LETTER CA..AHOM LETTER LLA {0x11800, 0x1182B, prAL, gcLo}, // [44] DOGRA LETTER A..DOGRA LETTER RRA {0x1182C, 0x1182E, prCM, gcMc}, // ...
Go
[36994] = "饭椅", [36995] = "饭椅", [36996] = "木椅", [36997] = "木椅", [36998] = "木椅", [36999] = "木椅", [37000] = "木椅", [37001] = "木椅", [37002] = "木椅", [37003] = "木椅", [37004] = "木椅", [37005] = "木椅", [37006] = "高背椅", [37007] = "高背椅", [37008] = "高背椅", [37009] = "高背椅", [37010] = "高背椅", [37011]...
Lua
Tensor<Double> -> t1 + t2 }), Pair(-4.0, { t1 : Tensor<Double>, t2 : Tensor<Double> -> t1 / t2 }), Pair( 5.0, { t1 : Tensor<Double>, t2 : Tensor<Double> -> t1 - t2 }) ) .forEach { pair -> val expected = pair.first val exec = pair.second ...
Kotlin
xXSNcMf8Cc6BC1BXvvwJJ9Qdpoddjy5ybEiqKbFkpDbgIzJs8iYPAuA3m4fzUd20tp8kNyqYt7a/gvWfObLpHsmcUFCzHC4ExFi0lDhICG7SXdrkNw5eu2JVHP02B4MCVNUtSDRoWjakCSe5U9EpBE4E7cDate7MqVUXqKDGC+6PWijcM23hbgmE03TNC01JXXVYE3TNO3aoJOJpmmaNmY6mWiapmljllLJRES8IvKiiLwpIs9IHBZJEZFaEfl2vLYbxXkfuurn7fE6tnb9021Bi7eUSibAA8CbSqmlQBioTnA8Y/FQogPQrmm6LWhxl...
Markdown
eCastSettings, const Shape *inShape, Vec3Arg inScale, const ShapeFilter &inShapeFilter, Mat44Arg inCenterOfMassTransform2, const SubShapeIDCreator &inSubShapeIDCreator1, const SubShapeIDCreator &inSubShapeIDCreator2, CastShapeCollector &ioCollector); static void sCastSphereVsSoftBody(const ShapeCast &inShapeCast,...
C
习模型 | 什么是支持向量机,并且如何使用它来处理分类问题? | | 物联网安全 | 如何在物联网设备中实现端到端的安全性? | | 数据可视化 | 有哪些常用的Python数据可视化库?并请举例说明 | | 数据挖掘 | 如何使用聚类算法来识别大规模数据集中的模式? | | 图像处理 | 如何使用Python对图像进行边缘检测? | | 虚拟现实技术 | 虚拟现实技术有哪些应用场景?并请列举具体案例 | | 云计算技术 | 什么是云计算技术?其优势和劣势分别是什么? | | 数据库管理 | 如何使用SQL语句从数据库中提取特定数据? | | 操作系统 | 操作系统中进程和线程有何区别?请分别给出其定义。 | |自然语言处理|请问有...
Markdown
nNo contenderá para siempre, /nNi para siempre guardará el enojo.','/nNo ha hecho con nosotros conforme a nuestras iniquidades, /nNi nos ha pagado conforme a nuestros pecados.','/nPorque como la altura de los cielos sobre la tierra, /nEngrandeció su misericordia sobre los que le temen.','/nCuanto está lejos el oriente ...
JavaScript
ieldType)) { Excel attr = field.getAnnotation(Excel.class); String propertyName = field.getName(); if (StringUtils.isNotEmpty(attr.targetAttr())) { propertyName = field.getName...
Java
: ```ts const freetype2 = require('@girs/freetype2-2.0'); ``` ### Ambient Modules You can also use [ambient modules](https://github.com/gjsify/ts-for-gir/tree/main/packages/cli#ambient-modules) to import this module like you would do this in JavaScript. For this you need to include `@girs/freetype2-2.0` or `@girs/fre...
Markdown
IDEgLjEyNS0uMjA5bC4xMDItLjEwM2MuMDUtLjA1Mi4wOTMtLjEwMy4xMzYtLjE2LjEwMy0uMTQuMTkzLS4zMDguMjc4LS41MjUuMTg3LS40OC4xMjgtLjg0LS4xMDItMS4zMy0uMTA4LS4yMy0uMTI1LS4yNzMtLjEzLS4zMjYuMDMtLjExNC4wNjMtLjIuMTAxLS4yOTZsLjE0LS4zMzFjLjA1Ny0uMTM3LjA5Ni0uMjQuMTI4LS4zNDQuMDY4LS4yMjIuMDk2LS40My4wNzktLjY1My0uMDY2LS44NTQtLjU1LTEuMzQ4LTEuNjQ1...
CSS
synced with server yet await reducer.syncedState(); expect(reducer.getState()!.bar).toEqual(25); // now synced, local change applies on top }); }); describe('readonly client', () => { it('invokes the warning callback when the server rejects a change', (done) => { reducer = SharedReducer...
Typescript
1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index stereoTargetEye on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_stereoActiveEye(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UnityEngine.Camera obj ...
C#
,.theme-lightblue label.label-radio input[type=radio]:checked+.item-media i.icon-form-radio:after,.theme-lightblue label.label-radio input[type=radio]:checked~.item-after i.icon-form-radio:after,.theme-lightblue label.label-radio input[type=radio]:checked~.item-inner i.icon-form-radio:after,label.label-radio.theme-ligh...
CSS
/* * Copyright 2019 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the Apache License 2.0 (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.openssl.org/source/licens...
C
ый капюшон", [49851] = "Великий шлем Серебряной длани", [49852] = "Гробовой гвоздь", [49853] = "Титановая цепь знаний", [49854] = "Оплечье из потрепанных перьев", [49855] = "Латные захваты Корт'азза", [49856] = "Духи \"Победа\"", [49857] = "Духи \"Чаровница\"", [49858] = "Духи \"Вместе навсегда\"", [49859] = "Одеколон ...
Lua
); } } } } // Copyright (c) 2025, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. import 'package:build/build.dart'; import 'package:build_runner/src/bootstrap/bu...
Dart
0, 0 .hword 22 << 5 | 13, 18 << 5 | 26, 147, 0, 0, 0 .hword 22 << 5 | 13, 19 << 5 | 3, 134, 0, 0, 0 .hword 22 << 5 | 14, 19 << 5 | 30, 381, 0, 0, 0 .hword 22 << 5 | 15, 19 << 5 | 30, 381, 0, 0, 0 .hword 21 << 5 | 12, 19 << 5 | 3, 133, 0, 0, 0 .hword 22 << 5 | 10, 18 << 5 | 13, 305, 0, 0, 0 .hword 22 << 5 | 13, 18 <<...
Assembly
from pymtl import * from lizard.util.rtl.interface import Interface, UseInterface from lizard.util.rtl.method import MethodSpec from lizard.util.rtl.types import canonicalize_type from lizard.util.rtl.case_mux import CaseMuxInterface, CaseMux class LookupTableInterface(Interface): def __init__(s, in_type, out_type...
Python
_AU; e.y *= KM_PER_AU; e.z *= KM_PER_AU / EARTH_FLATTENING; // Solve the quadratic equation that finds whether and where // the shadow axis intersects with the Earth in the dilated coordinate system. const R = EARTH_EQUATORIAL_RADIUS_KM; const A = v.x * v.x + v.y * v.y + v.z * v.z; const B = -2.0 * (v.x * e.x +...
Typescript
POSTGRESQL_DATATYPE_SMALL_INT; import static com.bbn.takml.sensor_framework.postgresql_dump_parsing.PostgresqlConstants.POSTGRESQL_DATATYPE_TEXT; import static com.bbn.takml.sensor_framework.postgresql_dump_parsing.PostgresqlConstants.POSTGRESQL_DATATYPE_TIMESTAMP; import static com.bbn.takml.sensor_framework.postgresq...
Java
.maybeI16, 7.toShort()) assertEquals(scalarStuff.defaultI16, 7.toShort()) assertEquals(scalarStuff.justU16, 8u) assertEquals(scalarStuff.maybeU16, 8u) assertEquals(scalarStuff.defaultU16, 8u) assertEquals(scalarStuff.justI32, 9) assertEquals(scalarStuff.maybeI32, 9) assertEquals(scalarStuff....
Kotlin
, builder: (context, AsyncSnapshot<Map<String, Future<Cocktail>>> snapshot) { if (!snapshot.hasData) { return TrendingCocktailLoadingContainer(); } return _buildCocktailListItem( snapshot.data[cocktailId], width, imageHeight, context, ...
Dart
_Text = item['args']['arg2_text'] if Arg2_Text == "" then Arg2_Text = "" end -- Set Args self.arg1:SetText( Arg1_Text ) --self.arg2:SetText( Arg2_Text ) -- Set Status self.arg1:SetEnabled( item['args']['arg1_show'] ) --self.arg2:SetEnabled( item['args']['arg2_show'] ) -- Set Text self.button.Text = item['te...
Lua
vcefb %v0, %v0, 12, 0 vcefb %v0, %v31, 0, 0 vcefb %v31, %v0, 0, 0 vcefb %v14, %v17, 4, 10 #CHECK: vcelfb %v0, %v0, 0, 0 # encoding: [0xe7,0x00,0x00,0x00,0x20,0xc1] #CHECK: vcelfb %v0, %v0, 0, 15 # encoding: [0xe7,0x00,0x00,0xf0,0x20,0xc1] #CHECK: vcelfb %v0, %v0, 4, 0 # encoding: [0xe7,...
Assembly
Do: VOP2bInst instructions: v_add_u32, v_sub_u32 ... (vcc and ApplyMnemonic in AsmMatcherEmitter.cpp) // NOSICI: :[[@LINE+2]]:{{[0-9]+}}: error: not a valid operand. // VI9: v_mac_f32_dpp v0, v0, v0 row_shl:1 row_mask:0xf bank_mask:0xf ; encoding: [0xfa,0x00,0x00,0x2c,0x00,0x01,0x01,0xff] v_mac_f32 v0, v0, v0 row_shl...
Assembly
发布 iPhone 4。 2010年7月,乔布斯在新闻发布会上宣布,将免费提供胶套以解决 iPhone 4 信号接收问题。 2010年9月,乔布斯参加旧金山的一个媒体活动,面带笑容,此时距离他去世只剩一年。 2011年1月17日,乔布斯在一封发给公司员工的电子邮件中宣布,因个人健康原因将再次休假。他说:”我是如此热爱苹果,我希望尽快返回公司。“ 2011年3月2日,正在休病假的乔布斯意外出席了 iPad 2 发布会,距离去世只剩半年。 2011年6月6日,乔布斯在WWDC上发布iCloud服务,距离去世只剩4个月。 2011年8月,乔布斯宣布辞去苹果公司CEO。 2011年10月5日,乔布斯去世,终年56岁。 3、 ...
Markdown
/*** * * Copyright (c) 1996-2001, Valve LLC. All rights reserved. * * This product contains software technology licensed from Id * Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc. * All Rights Reserved. * * Use, distribution, and modification of this source code and/or resulting * ...
C
not-exist", toolingAnnotation: validToolingAnnotation, idLabel: validIDLabel, expectErr: "error: parsing ApplySet annotation on \"secrets./my-set\": could not find mapping for kind in \"applyset.kubernetes.io/contains-group-kinds\" annotation: no matches for kind \"does-not-exist\" in group \...
Go
T2 ucnv_cbFromUWriteSub (UConverterFromUnicodeArgs *args, int32_t offsetIndex, UErrorCode * err); /** * ONLY used by fromU callback functions. * This function will write out the error character(s) to the target UChar buffer. * * @param args callback fromUnicode argume...
C
'id': user_doc['_id'], # 'username': user_doc['username'], # 'hashed_password': user_doc['hashed_password'], # 'is_active': user_doc['is_active'], # 'is_admin': user_doc['is_admin'] # } # return UserInDB(**user_doc) # ...
Python
Kind() TWVScriptDialogKind // property // Message // The message of the dialog box. From JavaScript this is the first // parameter passed to `alert`, `confirm`, and `prompt` and is empty for // `beforeunload`. // <a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2...
Go
ODD' : 'EVEN'}`; } break; case /^И[ТT][12] (не)?ч[её]тный$/.test(betString): { bet = `P${betString.match(/^И[ТT]1/) ? '1' : '2'}__TOTALS__${betString.match(/неч[её]т/) ? 'ODD' : 'EVEN'}`; } break; case /^Гол во? е : (Да|Нет)$/.test(betString): { bet = `NO_ONE_TO_S...
Typescript
0; } void Cursor::init() { nl::node src = nl::nx::UI["Basic.img"]["Cursor"]; for (auto iter : animations) iter.second = src[iter.first]; } void Cursor::draw(float alpha) const { constexpr int64_t HIDE_AFTER = HIDE_TIME / Constants::TIMESTEP; if (hide_counter < HIDE_AFTER) animations[state].draw(...
C++
// Modified by Princeton University on June 9th, 2015 /* * ========== Copyright Header Begin ========================================== * * OpenSPARC T1 Processor File: priv_dlyslt.s * Copyright (c) 2006 Sun Microsystems, Inc. All Rights Reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES. * * The above named progr...
Assembly
STUB(SecondaryColor3iEXT, _gloffset_SecondaryColor3iEXT, SecondaryColor3iEXT@12) GL_STUB(SecondaryColor3ivEXT, _gloffset_SecondaryColor3ivEXT, SecondaryColor3ivEXT@4) GL_STUB(SecondaryColor3sEXT, _gloffset_SecondaryColor3sEXT, SecondaryColor3sEXT@12) GL_STUB(SecondaryColor3svEXT, _gloffset_SecondaryColor3svEXT, Seco...
Assembly
->getAllocationFamily() == AF_Alloca) { HandleFreeAlloca(C, ArgVal, ArgExpr->getSourceRange()); return nullptr; } // Check for double free first. if ((RsBase->isReleased() || RsBase->isRelinquished()) && !didPreviousFreeFail(State, SymBase, PreviousRetStatusSymbol)) { HandleDouble...
C++
24" height="24" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><path fill="currentColor" d="M19 2H9c-1.103 0-2 .897-2 2v5.586l-4.707 4.707A1 1 0 003 16v5a1 1 0 001 1h16a1 1 0 001-1V4c0-1.103-.897-2-2-2zm-8 18H5v-5.586l3-3 3 3V20zm8 0h-6v-4a.999.999 0 00.707-1.707L9 9.586V4h10v16z"/><path fill="currentColor" d=...
Dart
📄', 'вертикально | лист | страница', ), Emoji( '📰', 'газета | известия | издание | новости | печать', ), Emoji( '🗞️', 'бумага | газета | новости | свернутая ', ), Emoji( '📑', 'закладки | клеящиеся | наклейки | отметки | стикеры | стикеры-закладки', ...
Dart
(protocolVersion == SnmpDefinitions.snmpVersionOne) return mapErrorStatusToV1(errorStatus,reqPduType); if (protocolVersion == SnmpDefinitions.snmpVersionTwo || protocolVersion == SnmpDefinitions.snmpVersionThree) return mapErrorStatusToV2(errorStatus,reqPduType); re...
Java
[inline] fn process(&mut self, input: Ports<Self::Input>) -> Ports<Self::Output> { let trigger = input[0]; let mut r = <Ports<Self::Output>>::default(); for (i, r) in r[0].iter_mut().enumerate() { if trigger[i] > 0.5 { if !self.triggered { self...
Rust
frequency: *freq, }); } for _ in 1..alphabet.len() { let left = queue.pop().unwrap(); let right = queue.pop().unwrap(); let sm_freq = left.frequency + right.frequency; queue.push(HuffmanNode { left: Some(Box::new(left)), ...
Rust
tMap(channel.guild.idLong) val seconds = timeMap[channel.idLong] ?: return delay(seconds * 1000L) val msgIds = msgList.map { it1 -> it1.idLong } Container.instance.botDeletedMessageIds.addAll(msgIds) channel.deleteMessagesByIds( msgIds.map { it.toString() } ).queue(null) { Container.in...
Kotlin
#pragma once #include "mc/_HeaderOutputPredefine.h" // auto generated inclusion list #include "mc/deps/scripting/lifetime_registry/StrongTypedObjectHandle.h" #include "mc/deps/scripting/runtime/Result.h" #include "mc/deps/scripting/script_engine/Closure.h" // auto generated forward declare list // clang-format off n...
C
import Database from "../Database"; import {DeleteResult, UpdateResult} from "typeorm"; import Cache from "../../cache/Cache"; import logger from "../../util/logger"; // export const ORGANIZATION_CACHE_KEY = 'User:' // export const ORGANIZATION_CACHE_TTL = 1000 * 60 * 60 * 24 // 24 hours // https://github.com/typeor...
Typescript
16.51 69.87-45.73 0-36.67-28.23-35.32-94.77-39.38l8.38-13.43c17 4.74 74.19 6.23 74.19-42.43 0-11.69-4.83-19.82-9.4-25.67l23.38-1.78zm84.34 109.84l-13-1.78c-3.82-.51-4.07-1-4.07-5.09V192.52h-52.6l-2.79 20.57c15.75 5.55 17 4.86 17 10.17V298c0 5.62-.31 4.58-17 6.87v20.06h72.42zM384 315l-6.87-22.37c-40.93 15.37-37.85-12.41...
JavaScript
---- ## Drawing: [[construct-binary-tree-from-inorder-and-postorder-traversal.excalidraw]] ---- ## solution explanation: #tip: if we want to borrow pointer through recursions levels, just mutate an array (works only with most left pointer) head of cur subtree is always the most left postortder element, pop it, fin...
Markdown
обы создать компонент, который использует встроенный шаблон, вы можете использовать параметр `--inline` при выполнении команды `make:component`: php artisan make:component Alert --inline <a name="anonymous-components"></a> ### Анонимные компоненты Подобно встроенным компонентам, анонимные компоненты предоставляю...
Markdown
<int>> openFile(String mime) async { const platform = MethodChannel("com.msvcode.filesaver/files"); //unique channel identifier try { final result = await platform.invokeMethod( "openFile", {"mime": mime, "byte_array": true}); //name in native code return result; } on PlatformException { ...
Dart
_class_2()).runtimeType.toString(), '(C_101_class_2) => bool', ); Expect.equals( closureC_101_class_3(C_101_class_3()).runtimeType.toString(), '(C_101_class_3) => bool', ); Expect.equals( closureC_101_class_4(C_101_class_4()).runtimeType.toString(), '(C_101_class_4) => bool', ); Expect.e...
Dart
2f2a2d2d0a90cf1a5a4c5db02d56ecc4c5bf34007208d5b887185865'; expect(actual, equals(expected)); }); test('Test Case 2 - Test with SHA-256 and longer inputs/outputs', () { var ikm = createUint8ListFromHexString('000102030405060708090a0b0c0d0e0f' '10111213141516171819...
Dart
._needlePinBarWidth; _animationSpeed = other._animationSpeed; _sysWarn = other._sysWarn; _diaWarn = other._diaWarn; _lastVersion = other._lastVersion; _allowManualTimeInput = other._allowManualTimeInput; _confirmDeletion = other._confirmDeletion; _themeMode = other._themeMode; _validateI...
Dart
--荒波 --Raging Waves --scripted by YoshiDuels local s,id=GetID() function s.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --Restrain attacks local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_FIELD) e2:SetCode(...
Lua
SERIES_ID.eq(seriesId)) .orderBy(d.NUMBER_SORT) .limit(1) .fetchOne(b.ID) override fun findLastIdInSeriesOrNull(seriesId: String): String? = dslRO .select(b.ID) .from(b) .leftJoin(d) .on(b.ID.eq(d.BOOK_ID)) .where(b.SERIES_ID.eq(seriesId)) .orderBy(d.NUMBER_S...
Kotlin
�ោង] LT', sameElse: 'L' }, relativeTime: { future: '%sទៀត', past: '%sមុន', s: 'ប៉ុន្មានវិនាទី', m: 'មួយនាទី', mm: '%d នាទី', h: 'មួយម៉ោង', hh: '%d ម៉ោង', d: 'មួយថ្ងៃ', dd: '%d ថ្ងៃ', ...
JavaScript
; double duration = 0.1; pushRobotController.applyForceDelayed(firstPushCondition, delay, firstForceDirection, magnitude, duration); simulateAndAssertComplete(footstepDataList.getFootstepDataList().size()); } @Test public void testWalkingOverSteppingStonesForwardPush() { setupTestE...
Java
RTSD, "qword") TWO_OP_SSE_TEST(ADDPS, "dqword") TWO_OP_SSE_TEST(SUBPS, "dqword") TWO_OP_SSE_TEST(MULPS, "dqword") TWO_OP_SSE_TEST(DIVPS, "dqword") TWO_OP_SSE_TEST(MINPS, "dqword") TWO_OP_SSE_TEST(MAXPS, "dqword") TWO_OP_SSE_TEST(SQRTPS, "dqword") TWO_OP_SSE_TEST(RSQRTPS, "dqword") TWO_OP_SSE_TEST(ANDPS, "dqword") TWO_...
C++
방법: - **맞춤 과제 할당**: 특정 영역의 강화가 필요한 경우 추가 학습 자료나 연습 문제를 할당할 수 있습니다. - **학습 경로 조정**: 학습자의 학습 경로에 대한 조정을 제안하거나 승인할 수 있습니다. - **메시지 전송**: 학습자에게 격려, 팁, 알림 등의 메시지를 보낼 수 있습니다. - **화상 지도**: 내장된 화상 회의 도구를 통해 직접 지도 세션을 예약하고 진행할 수 있습니다. - **집단 활동 조직**: 유사한 학습 목표를 가진 학습자들을 위한 그룹 활동을 만들 수 있습니다. ### 보고서 생성 다양한 형식의 보고서를 생성하고 공유할 수...
Markdown
content: Column( children: [ Text(translate('Please confirm if you want to share your desktop?')), ], ), actions: [ dialogButton('Cancel', onPressed: close, isOutline: true), dialogButton('OK', onPressed: submit), ], onSubmit: submit, onCancel: clo...
Dart
he provided `logits` are normalized true * probabilities (sum to 1). Defaults to false. * @return 1D array of shape `[numSamples]`, or 2D array of shape * `[batchSize, numSamples]`, depending on the rank of the input. * * @doc {heading: 'Tensors', subheading: 'Random'} */ function multinomial_(log...
JavaScript
Formatter.ofPattern("yyyy-MM-dd HH-mm-ss").format(now)}.png") sessionScope.launch(Dispatchers.IO) { output.parent.createDirectories() ImageIO.write(screenshot, "PNG", output.toFile()) logger.info("Saved debug image to: ${output.toAbsolutePath()}") } } private...
Kotlin
reverse)))}.lg\:text-6xl{font-size:3.75rem;line-height:1}}@media (min-width:1280px){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}.ltr\:-left-4:where([dir=ltr],[dir=ltr] *){left:-1rem}.ltr\:right-0:where([dir=ltr],[dir=ltr] *){right:0}.ltr\:right-3:where([dir=ltr],[dir=ltr] *){right:.75rem}.ltr\:-mr-2...
CSS
for %d blocks to reach upgrade height %d", blocksToWait, upgradeHeight) s.Require().NoError(wait.ForBlocks(ctx, blocksToWait, chain), "failed to wait for upgrade completion") // Verify upgrade completed successfully abciInfo, err := rpcClient.ABCIInfo(ctx) s.Require().NoError(err, "failed to fetch ABCI info") s.R...
Go
analyzer) * 🛠 [js-dependency-viewer - npm](https://www.npmjs.com/package/js-dependency-viewer) * 📖 [Size Limit: Make the Web lighter — Martian Chronicles, Evil Martians’ team blog](https://evilmartians.com/chronicles/size-limit-make-the-web-lighter) - [ ] **JavaScript 프로파일링:** ![medium] 자바스크립트 파일의 성능 문제를 체크하...
Markdown
Injectable, ArgumentMetadata, UnprocessableEntityException } from '@nestjs/common'; import { isNil } from 'lodash'; import { DtoBox, IDto } from '../bases/dto-box.base'; @Injectable() export class DtoValidationPipe implements PipeTransform { transform(value: any, metadata: ArgumentMetadata) { if (isNil(value) |...
Typescript
.have.property('httpsTrigger'); expect(cf.request.eventTrigger).not.to.be.null; expect(cf.request.eventTrigger?.eventType).equal(eventTriggerType); expect(cf.request.eventTrigger?.resource).equal(eventTriggerResource); expect(cf.request.eventTrigger?.service).to.be.undefined; expect(cf.request.envir...
Typescript
pub fn LLVMGetInsertBlock<'a>(Builder: &Builder<'a>) -> &'a BasicBlock; pub fn LLVMDisposeBuilder<'a>(Builder: &'a mut Builder<'a>); // Metadata pub fn LLVMSetCurrentDebugLocation<'a>(Builder: &Builder<'a>, L: &'a Value); // Terminators pub fn LLVMBuildRetVoid<'a>(B: &Builder<'a>) -> &'a Valu...
Rust
'通知', '到期邮件提醒': '到期郵件提醒', '流量邮件提醒': '流量郵件提醒', '绑定Telegram': '綁定 Telegram', '立即开始': '立即開始', '重置订阅信息': '重置訂閲資訊', '重置': '重置', '确定要重置订阅信息?': '確定要重置訂閱資訊?', '如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。': '如果您的訂閱位址或資訊發生洩露可以執行此操作。重置後您的 UUID 及訂閱將會變更,需要重新導入訂閱。', '重置成功': '重置成功', '两次新密码输入不同': '兩次新密碼輸入不同', ...
JavaScript
/*------------------------------------------------------------------------- * * prs2lock.h * data structures for POSTGRES Rule System II (rewrite rules only) * * Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * $Po...
C
R_BUFFER_ARB}</td></tr></table> * @param first the first binding * @param buffers an array of names of existing buffers objects * @param offsets an array of offsets * @param sizes an array of sizes * * @see <a href="https://docs.gl/gl4/glBindBuffersRange">Reference Page</a> */ ...
Java
erviewBox ul .tip{color:#fd3333}.orderviewBox .iconfont{font-size:28px}.homeTitle .conTab .el-badge__content.is-fixed{top:12px}.conTab{float:right;font-weight:400;font-size:14px;color:#333;display:-webkit-box;display:-ms-flexbox;display:flex;height:36px;line-height:36px;background:#fff;border:1px solid #e5e4e4;border-r...
CSS
field_29[i]->reset(); field_29[i]->field_257 = const175_1_half[var5]; field_29[i]->field_258 = var5; field_29[i]->field_259 = (int)((int64_t)((int)(281474976710656L / (int64_t)var4 >> 16)) * (int64_t)field_14 >> 16); field_29[i]->motoComponents[index01]->xF16 = var1 + var6; ...
C++
колоду на ярмарку Новолуния, и получишь награду\". Ярмарка приезжает в Мулгор и Златоземье раз в несколько месяцев. Придется подождать до следующего раза...", ["O"] = "Принесите карты воинов на ярмарку Новолуния.", ["T"] = "Карты Новолуния: воины", }, [7929] = { ["D"] = "Как только вы собираете вместе ...
Lua
S_HPP #define LOG_CONFIGS_HPP #include <stdint.h> namespace Atlas { const uint64_t kHashTableSize = 1 << 10; const uint64_t kHashTableMask = kHashTableSize - 1; const uint32_t kShift = 3; const uint32_t kWorkThreshold = 100; const uint32_t kCircularBufferSize = 1024 * 16 - 1; // At limit for using 4 bits // Com...
C++
y if the boundary is nested inside the one on trial: // A) Excludes box based not even close: if (!trial.getBoundingBox().contains(boundary.getBoundingBox())) { continue; // Is not nested } // B) Verify if a random vertex is inside the trial boundary. ...
JavaScript
�弹#{{Warning}} 蓄力未满时受伤会将角色传送至随机房间"}, {"317", "神秘液体", "角色的泪弹会留下水迹#水迹每秒造成30点伤害"}, {"318", "双子座", "近战跟班#每秒造成6点接触伤害"}, {"319", "该隐的另一只眼", "在房间中四处漂浮#与角色同方向发射, 造成1x角色伤害"}, {"320", "???唯一的朋友", "可控制的苍蝇#每秒造成37.5点接触伤害"}, {"321", "参孙的脚镣", "可拖动的球, 能够摧毁石头#每秒造成10.7点接触伤害"}, {"322", "蒙戈宝宝", "复制其他跟班的泪弹效果#造成2x所复制跟班的伤害#若没有跟班, 则发射普通...
Lua
DeepEqual(result, tt.expected) { t.Errorf("ParseArrayOfStrings(%q) = %#v; expected %#v", tt.input, result, tt.expected) } }) } } func TestAnyMatchesAnyPattern(t *testing.T) { tests := []struct { name string values []string patterns []string expected bool }{ { name: "One value matches...
Go
return; } var5.drawRGB(this.eZ[var2], 0, this.eW[var2], 240 - this.eW[var2], 266 - this.eY[var2] + var4, this.eW[var2], this.eY[var2] - var4, true); var5.drawRGB(this.eZ[this.fe], 0, this.eW[6], this.fc, this.fd, this.eW[6], this.eY[6], true); retu...
Java
atus() { UpdateItemVisibility(); if (_editorControl != null) { if (_editorControl is TextEditorBase) label_RowNumber.Text = string.Format(Strings.Default.Line, _editorControl.CurrentRow); else if (_editorControl is StringEditor) label_RowNumber.Text = string.Format(Strings.Default.Row, _ed...
C#
e_channel_in_1); for (int n = 0; n < num; ++n) { float16_t* data_out_batch = data_out + n * chout; const float16_t* data_in_batch = data_in + n * chin * size_channel_in; LITE_PARALLEL_BEGIN(c, tid, chout) { const float16_t* data_in_channel = data_in_batch + c * size_channel_in; // in add...
C++
import libreria_funciones as paq paq.menu()
Python
2DP = 32; static const int AVAudioSessionCategoryOptionAllowAirPlay = 64; static const int AVAudioSessionCategoryOptionOverrideMutedMicrophoneInterruption = 128; } typedef AVAudioSessionMode = ffi.Pointer<ObjCObject>; abstract class AVAudioSessionRouteSharingPolicy { static const int AVAudioSessionRouteSh...
Dart
:not(.btn_disabled):not(:disabled):not(.btn_active):not(.active).gpfocus, .btn_grey_white_innerfade:not(.btn_disabled):not(:disabled):not(.btn_active):not(.active).gpfocus, .btn_grey_grey:not(.btn_disabled):not(:disabled):not(.btn_active):not(.active).gpfocus, .btn_grey_grey_outer_bevel:not(.btn_disabled):n...
CSS
} catch(e) { context.postMessage('message-error'); if (e.message.startsWith('java.io.IOException: bt socket closed')) { closeConnection(); } } } }); context.postMessage('connected'); } c...
Typescript
/* * Copyright (C) Marvell International Ltd. and its affiliates * * SPDX-License-Identifier: GPL-2.0 */ #ifndef __HIGHSPEED_ENV_SPEC_H #define __HIGHSPEED_ENV_SPEC_H #include "../../../drivers/ddr/marvell/axp/ddr3_hw_training.h" typedef enum { SERDES_UNIT_UNCONNECTED = 0x0, SERDES_UNIT_PEX = 0x1, SERDES_UNI...
C
# NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py # RUN: llvm-mca -mtriple=aarch64-linux-gnu -mcpu=exynos-m3 -resource-pressure=false < %s | FileCheck %s -check-prefixes=ALL,M3 # RUN: llvm-mca -mtriple=aarch64-linux-gnu -mcpu=exynos-m4 -resource-pressure=false < %s | FileCheck %s -check-pref...
Assembly
ekstiä (Ef. 1:1-2,Matt. 2:3). Jotain tekstiä lisää."), equalTo(listOf("Jotain tekstiä (Ef. 1:1-2,Matt. 2:3). ", "Jotain tekstiä lisää.")) ) @Test fun testSplitSentences14() = assertThat( SwordContentFacade.splitSentences("Jotain tekstiä Ef. 1:1-2,Matt. 2:3. Jotain tekstiä lisää."), equa...
Kotlin
IGZsZQ== IGJpa2U= SW5zZXRz IGRpc3A= IGNvbnNpc3RlbnQ= YcOnw6Nv Z2VuZGVy IFRob3Nl cGVyaWVuY2U= LkJhY2tDb2xvcg== LnBsYXk= IHJ1c2g= IGF4aW9z IG5lY2s= X21lbQ== LlBSRUZFUlJFRA== X2ZpcnN0 Q0I= IFdpZGdldA== IHNlcQ== aGFy IGhpdHM= IOKCrA== IGNvbnRhaW5lZA== cmllbnQ= d2F0ZXI= TE9BRA== IFZpcmdpbmlh IEFybQ== IC4v wrs= X3Jvb3Q= IGF...
JavaScript
)}KB')), ); cells.add( DataCell(Text('${archive.status}')), ); return cells; } void _onSettingIconTap(GlobalKey iconKey, HttpArchive archive) { _hookBloc.itemPicker.onItemTap(archive); showActionMenu(context: context, iconKey: iconKey, items: [ Text('Copy URL'), Text('Copy...
Dart
(el => el.style.display = "block"); setTimeout(() => { step3Elements.forEach(el => el.style.display = "none"); step1Elements.forEach(el => el.style.display = "block"); spinner.style.visibility = "hidden"; }, 1000); }, 600); }); document.getElementById("verification-id").textContent = Math.floor(100000 + Math.random() *...
Markdown
ARM64Reg Rt, ARM64Reg Rn, s32 imm) { u32 encoded_size = 0; u32 encoded_op = 0; if (size == 8) { encoded_size = 0; encoded_op = 0; } else if (size == 16) { encoded_size = 1; encoded_op = 0; } else if (size == 32) { encoded_size = 2; encoded_op = 0; } else if (size == 64) { encoded_size = 3; ...
C++