content
stringlengths
2
6.21k
label
stringclasses
16 values
Wheels = 3527735923, wheelSkidmarkPressureMult = 3868991234, wheelSkidmarkRearOnly = 3924188767, wheelSkidmarkSlipMult = 1637659302, wheelVariation = 3934106566, Width = 2076102628, WindBendScale = 2639208686, WindBendVariation = 3427496475, windo...
C#
t there are lots of other files to verify under your boot directory. To verify them: ```bash sbctl verify | sed 's/✗ /sbctl sign -s /e' ``` To be agnostic of the file-path, and independent of the '✗' character: ```bash sbctl verify | sed -E 's|^.* (/.+) is not signed$|sbctl sign -s "\1"|e' ``` Also ...
Markdown
----------------------------------------- // CStringA CHttpServerListenerImpl::GetHeaderSummary(IHttpServer* pSender, CONNID dwConnID, LPCSTR lpszSep, int iSepCount, BOOL bWithContentLength) { CStringA SEP1; for(int i = 0; i < iSepCount; i++) SEP1 += lpszSep; CStringA SEP2(SEP1); SEP2 += lpszSep; CStringA st...
C++
d() ; BOOST_TEST(out.eq(ok.str())); a_pre = false; b_pre = false; c_pre = true; out.str(""); aa.f(); ok.str(""); ok << ok_begin() #ifndef BOOST_CONTRACT_NO_PRECONDITIONS << "c::f::pre" << std::endl // Test only c pre checked. #endif << ok_...
C++
ime(AppConfig.SiteSettings.MinAlbumYear, 1, 1); // Original PVs that have a publish date var pvsWithDate = PVs.Where(p => p.PVType == PVType.Original && p.PublishDate.HasValue && p.PublishDate > minDateLimit).ToArray(); // Lowest published (original) PV var minPvDate = pvsWithDate.Any() ? pvsWithDate.Min(p =>...
C#
) binding.root.tag = dialog return BigButtonsAlertDialog(dialog) } private fun MaterialButton.adjustCorners(isFirst: Boolean, isLast: Boolean) { if (!isVisible) { return } shapeAppearanceModel = shapeAppearanceModel.toBuilder().apply { if (!isFirst) { setTopLeftCornerSize(0f) setTo...
Kotlin
# Generated by Django 3.1.2 on 2020-10-06 08:58 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ("staticscanners", "0029_auto_20201006_0834"), ] operations = [ migrations.RenameField( model_name="bandit_scan_db", old_name="...
Python
vertices.append((xPixel, yPixel)) vertices.append(pixelPos) break # Stop at first intersection return vertices def _buildVerticesAndLabels(self): super(GLPlotFrame2D, self)._buildVerticesAndLabels() vertice...
Python
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_lstnew.c :+: :+: :+: ...
C
ige_mac_menu_set_quit_menu_item(value == null ? IntPtr.Zero : value.Handle); } } [DllImport("libigemacintegration.dylib")] static extern IntPtr ige_mac_menu_add_app_menu_group(); public static IgeMacIntegration.IgeMacMenuGroup AddAppMenuGroup() { IntPtr raw_ret = ige_mac_menu_add_app_menu_group(); Ig...
C#
None, sample_weight=None) ``` 本函数在一个batch的数据上进行一次参数更新 函数返回训练误差的标量值或标量值的list,与[evaluate](#evaluate)的情形相同。 *** ### test_on_batch ```python test_on_batch(self, x, y, sample_weight=None) ``` 本函数在一个batch的样本上对模型进行评估 函数的返回与[evaluate](#evaluate)的情形相同 *** ### predict_on_batch ```python predict_on_batch(self, x) ``` 本函数在一个...
Markdown
Cubit extends Cubit<ReportsState> { ReportsCubit() : super(ReportsInitialState()); static ReportsCubit get(BuildContext context) => BlocProvider.of(context); final _reportsRemoteData = AppInjection.getIt<ReportsRemoteData>(); final List<OrderModel> data = []; var dateTimeRange = DateTimeRange( start: Dat...
Dart
_bidi_rule(&str_chars!(R, NSM, NSM, NSM, NSM)), true); // Next tests check that last character is not in [`R`, `AL`, `EN`, or `AN`] assert_eq!(satisfy_bidi_rule(&str_chars!(R, CS)), false); assert_eq!(satisfy_bidi_rule(&str_chars!(R, ET, NSM)), false); assert_eq!(satisfy_bidi_rule(&str_c...
Rust
o_espl, o_esplv, o_esplm, o_esplvm ); } decltype(o_iser) i_iser; decltype(o_iserv) i_iserv; decltype(o_ispl) i_ispl; decltype(o_isplv) i_isplv; decltype(o_shared_ispl) i_shared_ispl; decltype(o_isplm) i_isplm; decltype(o_isplvm) i_isplvm; decltype(o_eser) i_es...
C++
= z4x5x4t225 >> 13 # asm 1: rotmi >carry1=vec128#81,<z4x5x4t225=vec128#55,-13 # asm 2: rotmi >carry1=$83,<z4x5x4t225=$57,-13 rotmi $83,$57,-13 # qhasm: uint32323232 carry2 = z4x5x4t229 >> 13 # asm 1: rotmi >carry2=vec128#85,<z4x5x4t229=vec128#60,-13 # asm 2: rotmi >carry2=$87,<z4x5x4t229=$62,-13 rotmi $87,$62,-13 # q...
Assembly
n be installed via pip. ```sh pip install ruff ``` _Requires Ruff v0.3.3 or later._ This is the new Rust-based version of the original `ruff-lsp` implementation. It's currently in alpha, meaning that some features are under development. Currently, the following capabilities are supported: 1. Diagnostics 2. Code act...
Lua
if(ma2 < a[q][i]+a[q][j]) ma2 = a[q][i]+a[q][j]; for(int k = 1;k<=5;k++) if(k!=i && k!=j) for(int l = k+1 ;l <=5;l++) if(l!=i && l!=j){ ...
C++
"10.69.111.111/32": {"ip": "10.69.111.111", "prefix_length": "32"}, "broadcast_forwarding": "disabled", "icmp_redirects": "never sent", "icmp_replies": "never sent", "icmp_unreachables": "always sent", "mtu": 1500, "mtu_available": 1500, ...
Python
(int(y[end]), int(x[end])), (255, 0, 0), 5) img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB) img_out = Image.fromarray(img) img_out.show() def show_prections(img, predictions): i = 0 jointsnum = predictions.shape[0] for coord in range(jointsnum): if(True): ...
Python
= Pager(PagingConfig(pageSize = 20)) { if (type == 0) favoriteDao.queryAllFavorite() else favoriteDao.queryAllFavoriteDesc() } /** * 查询所有已收藏的番剧AnimeId */ fun queryAllFavoriteAnimeId() = favoriteDao.queryAllFavoriteAnimeId() /** * 更新历史记录 * @param animeId 番剧ID * @param a...
Kotlin
.33333333%}html[data-bs-theme=dark] .offset-xxl-2{margin-left:16.66666667%}html[data-bs-theme=dark] .offset-xxl-3{margin-left:25%}html[data-bs-theme=dark] .offset-xxl-4{margin-left:33.33333333%}html[data-bs-theme=dark] .offset-xxl-5{margin-left:41.66666667%}html[data-bs-theme=dark] .offset-xxl-6{margin-left:50%}html[da...
CSS
#ifndef _NGX_HTTP_GRAPHITE_ARRAY_H_INCLUDED_ #define _NGX_HTTP_GRAPHITE_ARRAY_H_INCLUDED_ #include <nginx.h> #include <ngx_config.h> #include <ngx_core.h> #include <ngx_http.h> #include "ngx_http_graphite_allocator.h" typedef struct ngx_http_graphite_array_s { void *elts; ngx_uint_t nelts; size_t size; ...
C
ValidationResult<OUT> { return usingBehaviour( this.behaviour, () => conform(this.subSchema, value)); } toJSON(toJson?: (s: Schema) => any): any { return { ...subSchemaJson(this.subSchema, toJson), additionalProperties: this.behaviour.unexpected !== UnexpectedItemBehaviour.PROBLEM ...
Typescript
from odoo import fields, models class SaleOrderLine(models.Model): _inherit = 'sale.order.line' opportunity_id = fields.Many2one(related='order_id.opportunity_id', index=True, readonly=True)
Python
err = nil return } PromError("db:ArticleMeta") log.Error("dao.ArticleMeta.Scan error(%+v)", err) return } res.PublishTime = xtime.Time(t) res.Category = category res.Author = author res.Ctime = xtime.Time(ct.Unix()) res.ImageURLs = strings.Split(imageURLs, ",") res.OriginImageURLs = strings.Split(orig...
Go
urn 1; } else { return 0; } } static void add_graphics_control_extension(ge_GIF *gif, uint16_t d) { uint8_t flags = (uint8_t)(((gif->bgindex >= 0 ? 2 : 1) << 2) + 1); //write(gif->fd, (uint8_t []) {'!', 0xF9, 0x04, flags}, 4); write_u8(gif->fd, '!'); write_u8(gif->fd, 0xF9); write_u...
C
UniformLocation, count: GLsizei, value: *const GLuint) { unsafe { gl::Uniform4uiv(location.0, count, value); } } pub fn uniform_matrix_2fv(location: UniformLocation, count: GLsizei, transpose: GLboolean, value: *const GLfloat) { unsafe { gl::UniformMatrix2fv(location.0, count, transpose,...
Rust
oxed().shared() } fn receive_scalar_subquery_res(mut pipeline: Pipeline) -> SharedFuture<'a> { let subquery_future = async move { let mut stream = pipeline.execute().await?; let mut columns = None; while let Some(data_block) = stream.next().await { l...
Rust
start_timestamp) end end function _M.access(conf, ctx) local opentracing = ctx.opentracing local tracer = opentracing.tracer if conf.span_version == ZIPKIN_SPAN_VER_1 then opentracing.access_span = opentracing.request_span:start_child_span( ...
Lua
: .byte 0,192,159,229,12,240,159,231 .long mono_aot_UnityEngine_UI_got - . + 7180,21001 p_1021: plt_System_Collections_Generic_Dictionary_2_UnityEngine_UI_Graphic_int_GetEnumerator: .byte 0,192,159,229,12,240,159,231 .long mono_aot_UnityEngine_UI_got - . + 7184,21032 p_1022: plt_System_Collections_Generic_Diction...
Assembly
�明使者战盔", [30990] = "光明使者胸铠", [30991] = "光明使者护胸", [30992] = "光明使者胸甲", [30993] = "光明使者腿铠", [30994] = "光明使者护腿", [30995] = "光明使者腿甲", [30996] = "光明使者护肩", [30997] = "光明使者肩甲", [30998] = "光明使者肩铠", [30999] = "灰舌迅刃", [31000] = "血警卫步枪", [31001] = "戈隆追猎者手套", [31002] = "召唤者之刃", [31003] = "戈隆追猎者头盔", [31004] = "戈隆追猎者护胸", [31005] = "戈...
Lua
/****************************************************************************** * Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. * SPDX-License-Identifier: MIT ******************************************************************************/ /*********************************************************...
Assembly
.details br+span:before{content:none!important}body.book #toc{border:0!important;text-align:left!important;padding:0!important;margin:0!important}body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-break-before:always}.listingblock code[data-lang]:before{display:block}#footer{background:none!...
CSS
Id) return nil } // RemoveWatchFolder 根据路径删除观察文件夹 func RemoveWatchFolder(folderPath string) error { // 规范化路径 folderPath = filepath.Clean(folderPath) // 检查文件夹是否存在于监视器中 knowledgeId, exists := MapFilePathMonitors[folderPath] if !exists { return fmt.Errorf("folder path is not being monitored: %s", folderPath) } ...
Go
coder == null) throw new ArgumentNullException(nameof(encoder)); encoder.SetPalette(palette).ThrowOnError(); } public static void SetPreview(this IComObject<IWICBitmapEncoder> encoder, IComObject<IWICBitmapSource> preview) => SetPreview(encoder?.Object, preview?.Object); ...
C#
.7, 12000, 57.7, 58.5, 56.8, 49.8, 46.3, 44, 42.6, 41.2, 40.6, 39.2, 13000, 59.7, 60.9, 61.5, 52.8, 48.7, 46.6, 45.4, 43.8, 43, 41.6, 14000, 60, 61.9, 62.8, 54.8, 51.7, 49.6, 48.1, 54.9, 45.1, 44, 15000, 61.9, 63.7, 65.1, 57.4, 54.1, 52.7, 50.9, 55.2, 47.5, 46.4 }, Name = "Redacted", VyHold = -100, _file = "./CoreMo...
Lua
� Session  类进行处理。 ![](https://mmbiz.qpic.cn/mmbiz_png/f7AtEgJhMZcZEfibgt3AwvYxcwGUeXQGpPo5CnOTSDL1qmywcgdmhicOO4PF5CAicypnFtsibeticFFqbagwcnHuzibQ/640?wx_fmt=png&from=appmsg "") 在 Session.php  的构造函数中存在不安全的反序列化操作: ``` public function __construct(string $sessionId) {     if (static::$handler === null) ...
Markdown
func() { defer conn.Close() scanner := bufio.NewScanner(conn) for scanner.Scan() { rotation, err := strconv.Atoi(scanner.Text()) if err != nil { continue } deviceRotation = rotation if minicapSocketPath == "@minicap" { updateMinicapRotation(deviceRotation) } rotationPub...
Go
"DEFAULT_BROWSER", "DESTINATION_UI", "DEVICE_BATTERY", "DOGFOOD_HUB", "EVENTS", "FBCONNECT", "FILE_MANAGER", "FIRST_TIME_NUX", "FITNESS_TRACKER", "FRIENDS", "GAMING_ACTIVITY", "HAND_TRACKING_NUX", "HEALTH_AND_SAFETY", "HOME", "INVITE_FRIENDS", "IPD_ADJUST", "LAUNCH_IAP", "LIBRARY", "LOCKPATTERN", "LOGIN", "MEDIA_PREVI...
Kotlin
ull(defs); Assert.True(defs.Length == 1); Assert.Equal(def.Service.Service, defs[0].Service.Service); defs = null; defs = (await client.PreparedQuery.List(mgmtquerytoken)).Response; Assert.NotNull(defs); Assert.True(defs.Length == 1); ...
C#
) { switch { case spotID == 0: return nil, fmt.Errorf("spotID is required") case expiration > 604800: return nil, fmt.Errorf("expiration should be less than 7 days") case user == nil: return nil, fmt.Errorf("user is required") } now := time.Now() if expiration == 0 { sql := `UPDATE spots.keys SET expire...
Go
/></a><br /><a xmlns:dct="http://purl.org/dc/terms/" property="dct:title">**jsliang** 的文档库</a> 由 <a xmlns:cc="http://creativecommons.org/ns#" href="https://github.com/LiangJunrong/document-library" property="cc:attributionName" rel="cc:attributionURL">梁峻荣</a> 采用 <a rel="license" href="http://creativecommons.org/license...
Markdown
xpireCombatant.Start(); } public virtual bool HarmfulCheck( Mobile target ) { if( CanBeHarmful( target ) ) { DoHarmful( target ); return true; } return false; } #endregion #region Stats /// <summary> /// Gets a list of all <see cref="StatMod">StatMod's</see> currently active for...
C#
n.Pose): if self.urdf_path is not None: self.model.set_pose(pose * self.origin_offset) else: self.model.set_pose(pose) def get_point_cloud(self, sample_radius=5e-3): obj_meshes = [self.get_obj_mesh()] return get_point_cloud_from_meshes(obj_meshes, sample_radi...
Python
tatic void TextFieldNumericLabeled<T>(Rect rect, string label, ref T val, ref string buffer, float min = 0f, float max = 1E+09f) where T : struct { Rect rect2 = rect.LeftHalf().Rounded(); Rect rect3 = rect.RightHalf().Rounded(); TextAnchor anchor = Text.Anchor; Text.Anchor = TextAnchor.MiddleRight; Wid...
C#
basecolfunc) { flags = DVF_OFFSCREEN; } if (flags != 0) { CheckOffscreenBuffer(viewport->RenderTarget->GetWidth(), viewport->RenderTarget->GetHeight(), !!(flags & DVF_SPANSONLY)); } */ if (spr->bInMirror) { flags |= DVF_MIRRORED; } // Render the voxel, either directly to the screen or of...
C++
package grpool import ( "io/ioutil" "log" "runtime" "sync/atomic" "testing" "github.com/stretchr/testify/assert" ) func init() { println("using MAXPROC") numCPUs := runtime.NumCPU() runtime.GOMAXPROCS(numCPUs) } func TestNewWorker(t *testing.T) { pool := make(chan *worker) worker := newWorker(pool) wor...
Go
argreg do_call __gnu\name # Restore stack and return ldw .d2t2 *+B15[35], B3 addk .s2 144, B15 nop 3 ret .s2 B3 nop 5 .size \name, . - \name .endm UNWIND_WRAPPER _Unwind_
Assembly
lf-o"); e2.classList.add("fa", "fa-star-o"); }); }; elem.onmouseout = resetStars; elem.onclick = e => { const rect = elem.getBoundingClientRect(); const [left, right] = [rect.left, rect.right]; const width = right - left; ...
Typescript
object { const val ACTION = "android.media.VOLUME_CHANGED_ACTION" fun bundle(block: VolumeChangedIntentBundleAccessor.() -> Unit) = VolumeChangedIntentBundleAccessor().apply(block).bundle } var streamType by bundle.int("android.media.EXTRA_VOLUME_STREAM_TYPE") var value by bun...
Kotlin
清洗 | 如何处理包含缺失值、重复值和异常数据的大型数据集? | | 模型解释 | 如何解释机器学习模型的预测结果? | | 文学作品分析 | 这本小说的主题是什么? | | 历史事件分类 | 这个事件属于哪个时间段的历史? | | 自然科学探究 | 能否解释一下黑洞的形成原因? | | 人文社会研究 | 对于当代艺术,你的看法是什么? | | 商业决策支持 | 我们应该向哪个市场推广我们的产品? | | 编辑修改辅助 | 请修正这篇文章中用词不恰当的地方。 | | 医学领域知识查询 | 青光眼的早期症状有哪些? | | 法律咨询 | 在这种情况下,我们应该采取什么法律行动? | | 自然语言生成 | 请用一句话概括《红楼梦》的故事...
Markdown
_end { h32 += unsafe { *p } as u32 * PRIME32_5; h32 = rotl32!(h32, 11) * PRIME32_1; p = unsafe { p.offset(1) }; } h32 ^= h32 >> 15; h32 *= PRIME32_2; h32 ^= h32 >> 13; h32 *= PRIME32_3; h32 ^= h32 >> 16; h32 } #[inline(always)] fn update_endian(state: &mut State32,...
Rust
4100006271BF15064100407E49302613410080136ABF1506410080C5453026134100803863BF1506410000E841302613410000D15CBF1506410080E83D302613410080DD56BF1506410000C9393026134100805E51BF15064100008C35302613410000544CBF15064100C03331302613410000BE47BF15064100C0C22C3026134100009E43BF15064100003B28302613410000F33FBF15064100009F23302613...
C++
ValueError`) during receive/parse, emits `disconnected`, stops loop. - **Cleanup:** Closes the socket when the loop ends. --- ## Part 2: The User Interface (PySide6) How the game looks and how the user interacts with it. --- ### What is PySide6? - Official Python bindings for the **Qt framework**. - Qt is a matur...
Markdown
"""Tests for the capacity calculation and histogram creation.""" import math from jaxtyping import Float import pytest from syrupy.session import SnapshotSession import torch from torch import Tensor from sparse_autoencoder.metrics.train.abstract_train_metric import TrainMetricData from sparse_autoencoder.metrics.tr...
Python
tv_card_buffalo, &ivtv_card_aver_ultra1500mce, &ivtv_card_kikyou, /* Variations of standard cards but with the same PCI IDs. These cards must come last in this list. */ &ivtv_card_pvr350_v1, &ivtv_card_cx23416gyc_nogr, &ivtv_card_cx23416gyc_nogrycs, }; const struct ivtv_card *ivtv_get_card(u16 index) { if ...
C
UES('{VideoPath}','{RegionConfiguration.Title}','{GroundTruthPath}','{DateTime.Now}')"; var result = cmd.ExecuteScalar(); Id = sqliteConnection.LastInsertRowId; } else { var cmd = dbConnection.CreateCommand(); ...
C#
i ].syl[ k ].start_time + linefx[ i ].syl[ k ].duration linefx[ i ].syl[ k ].mid_time = linefx[ i ].syl[ k ].start_time + linefx[ i ].syl[ k ].duration / 2 linefx[ i ].syl.text = linefx[ i ].syl.text .. linefx[ i ].syl[ k ].text:gsub( "KEfx", "" ) syls_left = syls_left + linefx[ i ].sy...
Lua
mber of words with the given prefixSearch * @returns Number */ countPrefix(strPrefix: string) { const prefixes = this.getPrefix(strPrefix); return prefixes.length; } /** * Get all words in the trie * @returns Array */ getWordsAll(sorted = true) { if (typeof sorted !== 'boolean') { throw(thr...
Typescript
order-white-light bg-white px-4 py-2 text-sm font-semibold text-black !outline-none focus:border-primary focus:ring-transparent dark:border-[#17263c] dark:bg-[#121e32] dark:text-white-dark dark:focus:border-primary; } .form-input-lg, .form-textarea-lg, .form-select-lg, .form-multiselect-lg { ...
CSS
{ acc, asn1Element -> acc + asn1Element.derEncoded } else null } override fun prettyPrintHeader(indent: Int) = (" " * indent) + tag.tagClass + " ${tag.tagValue}" + (if (!tag.isConstructed) " PRIMITIVE" else "") + " (=${tag.encodedTag.toHexString(...
Kotlin
using Occurify.Extensions; using Occurify.TimeZones; namespace Occurify.Examples.Examples.ReadMe { internal class FiscalYearExample : IExample { public string Command => "readme/fiscal-year"; public void Run() { IPeriodTimeline calendarYears = TimeZonePeriods.Years(); ...
C#
:Gray"] ==/UserStyle== */ @import "https://userstyles.catppuccin.com/lib/lib.less"; @-moz-document domain("tldraw.com") { .tl-theme__dark { #catppuccin(@darkFlavor); } .tl-theme__light { #catppuccin(@lightFlavor); } :root:has(.tl-container.tl-theme__dark) .cl-modalContent { #catppuccin(@darkFl...
CSS
s_line_algorithm) impl<C: PixelColor> Iterator for LineIterator<C> { type Item = Pixel<C>; fn next(&mut self) -> Option<Self::Item> { // return none if stroke color is none self.style.stroke_color?; if !self.stop { let point = self.start; if self.start == self....
Rust
list .carousel-slides .carousel-slide{border:2px solid transparent;flex-shrink:0}.carousel-arrow{transition:150ms ease-out}.carousel-arrow.is-hovered{opacity:0}.carousel-arrow .icon{background:#fff;color:#7957d5;cursor:pointer;border:1px solid #fff;border-radius:9999px;outline:0}.carousel-arrow .icon:hover{border:1px s...
CSS
< 0.5){2.0.pow(20 * x - 10) / 2} else{(2 - 2.0.pow(-20 * x + 10)) / 2}}} } @JvmStatic fun easeInCirc(x: Double): Double { return 1 - sqrt(1 - x.pow(2)); } @JvmStatic fun easeOutCirc(x: Double): Double { return sqrt(1 - (x - 1).pow(2)); } @JvmStatic fun eas...
Kotlin
y>() private val useCase = GetUserRatedTvShowsUseCase(mockRepository) @Test fun `should return sorted list by userRate descending when called`() = runTest { coEvery { mockRepository.getUserRatedTvShows() } returns ratedShows val result = useCase.getRatedTvShows() assertThat(result...
Kotlin
!.value != group.controls['passwordConfirm']!.value) { return {'differentPasswords': true}; } else { return null; } } } import 'dart:html'; import 'package:angular/angular.dart'; import 'control_value_accessor.dart' show ChangeHandler, ControlValueAccessor, ngValueAccessor, TouchHand...
Dart
k nwb = WriteOutAndReadBack(wb); // Check now set as it should be Assert.IsTrue(nwb.GetSheetAt(0).ForceFormulaRecalculation); Assert.IsFalse(nwb.GetSheetAt(1).ForceFormulaRecalculation); Assert.IsTrue(nwb.GetSheetAt(2).ForceFormulaRecalculation); } /** ...
C#
9.8 2.7 14.4.2 17.5 3.3 3.2 10.4 3.3 17.5.2 13.7 2.7 19.8 7.6 11.5 12.4 16.5S224 124 224 128s-4.9 9.1-9.7 14.1Zm-36.5-43.6a8 8 0 01-.3 11.3l-58.6 56a8.1 8.1 0 01-5.6 2.2 7.9 7.9 0 01-5.5-2.2l-29.3-28a8 8 0 1111-11.6l23.8 22.7 53.2-50.7a8 8 0 0111.3.3Z"/></svg>'; static const String circle_wavy_check_fill = '<sv...
Dart
"13": "n", "14": "n", "15": "n", "16": "n", "17": "n", "18": "n", "19": "n", "20": "n", "21": "n", "22": "n", "23": "n", "24": "n", "25": "n", "26": "y", "27": "y", "28": "y", "29": "y", "30": "y", "31": "y", "32": "y" },...
JavaScript
maskWindowInfo = FloatWindow.WindowInfo(view).apply { width = DimensionUtil.getScreenWidth(this@MainActivity) height = DimensionUtil.getScreenHeight(this@MainActivity) } FloatWindow.show(applicationContext,"mask",maskWindowInfo,0,100,false,true,true) ...
Kotlin
pand xmm4,XMMWORD PTR[176+r10] movdqa xmm3,XMMWORD PTR[((-16))+r12] pand xmm5,XMMWORD PTR[192+r10] por xmm0,xmm4 pand xmm2,XMMWORD PTR[208+r10] por xmm1,xmm5 pand xmm3,XMMWORD PTR[224+r10] por xmm0,xmm2 por xmm1,xmm3 movdqa xmm4,XMMWORD PTR[r12] movdqa xmm5,XMMWORD PTR[16+r12] movdqa xmm2,XMMWORD PTR[32+r12]...
Assembly
View?, outline: Outline?) { if (view == null || outline == null) return if (clipCircle) { val size = Math.min(view.measuredWidth, view.measuredHeight) val radius = size / 2 val centerX = view.measuredWidth / 2 val centerY = view.measuredHeight / 2 ...
Kotlin
cr: s += "%s\n" % descr else: # deal with generic tags prefix, sep, postfix = tag.rpartition(":") descr = TAG_MISSING_DESCRIPTION.get(prefix + sep) descr = descr % postfix if descr: s += "%s\n...
Python
'とうろくしょうひょうまーく': ["®️"], 'とうろくずみ': ["®️"], 'とかげ': ["🦎"], 'とき': ["🕐","🕑","🕒","🕓","🕔","🕕","🕖","🕗","🕘","🕙","🕚","🕛"], 'とく': ["🉐"], 'とくめいのひと': ["🥸"], 'とけい': ["⌚","⏱","⏲","⏰","🕰","🕐","🕑","🕒","🕓","🕔","🕕","🕖","🕗","🕘","🕙","🕚","🕛"], 'とけいのはり': ["🔃"], 'とけいまわり': ["🔁","🔂","🔃"], 'とけた'...
Dart
.MONOSPACED, Font.PLAIN, DEFAULT_FONT_SIZE); private static final int CONSOLE_BORDER_WIDTH = 10; // Clock periods, in NS, for each speed. 0MHz, 1MHz, 2MHz, 3MHz, 4MHz, 5MHz, 6MHz, 7MHz, 8MHz. private static final long[] CLOCK_PERIODS = {0, 1000, 500, 333, 250, 200, 167, 143, 125}; // Since it is very ...
Java
1(A2) L125: CLR.B (A2)+ MOVE.L A3,-(A7) MOVE D7,-(A7) JSR F340_xxxx_(PC) ADDQ.L #6,A7 MOVE.L A2,A3 L118: MOVE.B (A3),D0 BNE.S L119 L120: L106: MOVEM.L (A7)+,D7/A2-A3 UNLK A6 RTS L$105: .EQU #-260 F342_xxxx_:/* global */ LINK A6,L$126 DATA SEG "s!" DATA 29 00 28 00 CODE SEG "init!" LEA 11G430_apc(A4),A1 D...
Assembly
/* Copyright (C) 2009 Stig Brautaset. 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 conditions and the fo...
C
ue가 출력된다. // Array용 메소드 타입 정의를 읽어보면 알 수 있지만(처음에는 이해 못했고 강의를 듣고 이해함;;) // every, some 그리고 filter 메소드까지 전달받는 배열 타입의 서브타입을 체크하는 // 방식으로 동작할 수도 있다. // 그래서 lib.es5.d.ts 파일 보면 위 메소드들은 두 가지가 적혀 있다. console.log(animals.every<Cat>(isCat)); import Container, { observe } from "../Container"; describe("Container", () => { descr...
Typescript
--[[ SimpleTip (redux) v1.7 by Ayradyss Based on Skeeve of Proudmore's SimpleTip 1.2.4 and updated for new patches. Original mod can be found at http://www.curse-gaming.com/mod.php?addid=425 All credit for actual code should go to Skeeve. ]]-- --[[ Modified by Nathanmx to include props tooltip lines ]]-- Simple...
Lua
trfsSendCommand::Link(from, to) => process_link(from, to, work_bench), BtrfsSendCommand::Unlink(local_path) => process_unlink(local_path, work_bench), BtrfsSendCommand::Rmdir(local_path) => process_rmdir(local_path, work_bench), BtrfsSendCommand::SetXattr(path, name, data) => { proce...
Rust
Parameters, ButtonStates) => { const statusBarHub = new StatusBarHub(); const workspaceHub = new WorkspaceHub(); const layoutHub = new LayoutHub(); const dialogHub = new DialogHub(); let contents; $scope.changed = false; $scope.errorMessage = 'An unknown error was encountered. Please see console for more informa...
JavaScript
axi_inputs_AWADDR"); sc_trace(mVcdFile, grp_copy_input_fmem2buff_6_fu_328_m_axi_inputs_AWID, "grp_copy_input_fmem2buff_6_fu_328_m_axi_inputs_AWID"); sc_trace(mVcdFile, grp_copy_input_fmem2buff_6_fu_328_m_axi_inputs_AWLEN, "grp_copy_input_fmem2buff_6_fu_328_m_axi_inputs_AWLEN"); sc_trace(mVcdFile, grp_copy_i...
C++
?void 0:"insufficient WebGL support"):"insufficient Canvas/getImageData support":"insufficient ArrayBuffer support":"insufficient Uint8ClampedArray support":"insufficient worker support":"insufficient JSON support":"insufficient Object support":"insufficient Function support":"insufficent Array support";var i;}t.export...
JavaScript
"""キャラクター作成ウィザードのテスト""" import pytest import pygame import pygame_gui from unittest.mock import Mock, MagicMock, patch from src.facilities.ui.wizard_service_panel import WizardStep from src.facilities.ui.ui_element_manager import UIElementManager @pytest.fixture def mock_controller(): """FacilityControllerのモック""...
Python
ON_PASS_CHEST }, { config_id = 5064, gadget_id = 70350002, pos = { x = 343.3, y = -11.4, z = 240.2 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 }, { config_id = 5065, gadget_id = 70220023, pos = { x = 343.3, y = -12.7, z = 267.1 }, rot = { x = 0.0, y = 314.9, z = 0.0 }, level = 1 }, { config_id = 5066, gadget_i...
Lua
/* * ______ __ __ __ * /\ _ \ __ /\ \/\ \ /\ \__ * \ \ \L\ \ __ __ /\_\ \_\ \ \ \____ ___\ \ ,_\ ____ * \ \ __ \/\ \/\ \\/\ \ /'_` \ \ '__`\ / __`\ \ \/ /',__\ * \ \ \/\ \ \ \_/ |\ \ \/\ \L\ \ \ \L\ \/\ \L\ \ \ \_/\__, `\ * \ \_\ \_\ \_...
C
s are updated, the // following macros are for use when the deprecation window needs to be independent from the version // numbers. We'll be providing these as needed in six months increments. // EA_DEPRECATIONS_FOR_2024_APRIL // This macro is provided as a means to disable warnings temporarily (in particular if a us...
C
RGBA color "Lavender": color.RGBA{R: 230, G: 230, B: 250, A: 255}, //FloralWhite RGBA color "FloralWhite": color.RGBA{R: 255, G: 250, B: 240, A: 255}, //AliceBlue RGBA color "AliceBlue": color.RGBA{R: 240, G: 248, B: 255, A: 255}, //GhostWhite RGBA color "GhostWhite": color.RGBA{R: 248, G: 248, B: 255, A: 255},...
Go
D55] = typeof(InputEncryptedFileLocation), [0xBAD07584] = typeof(InputDocumentFileLocation), [0xCBC7EE28] = typeof(InputSecureFileLocation), [0x29BE5899] = typeof(InputTakeoutFileLocation), [0x40181FFE] = typeof(InputPhotoFileLocation), [0xD83466F3] = typeof(InputPhotoLegacyFileLocation), [0x37257E99]...
C#
igned pointer pub type PCUNZWCH = *const WCHAR; // Unaligned pointer pub type LPCWCHAR = *const WCHAR; pub type PCWCHAR = *const WCHAR; pub type LPCUWCHAR = *const WCHAR; // Unaligned pointer pub type PCUWCHAR = *const WCHAR; // Unaligned pointer pub type UCSCHAR = c_ulong; pub const UCSCHAR_INVALID_CHARACTER: UCSCHAR ...
Rust
er.PlayerMan.Sessions.Select(x => x.UserId).ToList(); var captain = engineers[3]; engineers.RemoveAt(3); await pair.SetJobPriorities(captain, (Captain, JobPriority.High), (Engineer, JobPriority.Medium)); foreach (var engi in engineers) { await pair.SetJobPriorities(e...
C#
ation files (the "Software"), to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and * to permit persons to whom the Software is furnished to do so, subject to the following conditions...
JavaScript
ator()); } @Test public void testIsLogicalOperator() { Set<Swc4jAstBinaryOp> logicalConditionOperatorSet = SimpleSet.of( Swc4jAstBinaryOp.LogicalAnd, Swc4jAstBinaryOp.LogicalOr); Set<Swc4jAstBinaryOp> logicalCompareOperatorSet = SimpleSet.of( ...
Java
599-.027-.725-.243-1.008-.725.053 1.188-1.434 2.056-2.609 1.486-.104.447-.499 1.141-.899 1.333a2.057 2.057 0 01-.974.214c-.084-.004-.177-.009-.252.021-.072.027.525.669.634.724.327.162.671.187.896.48.08.104.158.226.229.35a11.926 11.926 0 012.483-2.525.356.356 0 01.474.045.297.297 0 01-.048.439c-1.594 1.204-2.437 2.488-2...
Dart
-webkit-animation-fill-mode: both; animation-fill-mode: both; } .sk-spinner-three-bounce .sk-bounce1 { -webkit-animation-delay: -0.32s; animation-delay: -0.32s; } .sk-spinner-three-bounce .sk-bounce2 { -webkit-animation-delay: -0.16s; animation-delay: -0.16s; } @-webkit-keyframes sk-threeBounceDelay { 0%,...
CSS
owner of the shared data map in one of the scoped data maps"); builder = builder.and_then(move |mut inner| { let data_maps = &mut inner.data_maps; let data_map_arr = data_maps.get_mut(&new_path); if let Some(data_map_arr) = data_map_arr { ...
Rust
G' // 'NOT BETWEEN' excludes 'H' through 'N'. Character[] abcdfo; try { abcdfo = characters.getABCDFO(); } catch (UnsupportedOperationException x) { if (type.isKeywordSupportAtOrBelow(DatabaseType.GRAPH)) { // NoSQL databases might not be capable o...
Java
( (options: Partial<GuardianOptions>, onErrorActions: OnErrorAction[], onResolveActions: OnResolveAction[]) => new SequentialLayer( 'LengthOf', (o: any) => typeof o == 'string' && o.length == len, options, onErrorActions, ...
Typescript