content
stringlengths
2
6.21k
label
stringclasses
16 values
Paint, cropperSelectedCornerFillStyles: Paint, selectedCorner: QuadCorner?, imagePreviewBounds: RectF, ratio: Float, selectedCornerRadiusMagnification: Float, selectedCornerBackgroundMagnification: Float, ) { // draw 4 corner points for ((quadCorner: QuadCorner, cornerPoint: PointF) in ...
Kotlin
try { AppLogger.d( 'Attempting screenshot capture (attempt ${attempt + 1})'); final rawScreenshot = await player.screenshot(format: 'image/jpeg'); if (rawScreenshot != null && rawScreenshot.isNotEmpty) { AppLogger.d('Screenshot captured: ${raw...
Dart
2, #0x54 stmia r2!, {r0, r1} ldr r0, [r3] str r0, [r2] bx lr thumb_func_end Field3dObject_SetPos thumb_func_start Field3dObject_SetXRotation Field3dObject_SetXRotation: ; 0x021FC024 lsl r2, r2, #1 add r0, r0, r2 add r0, #0x70 strh r1, [r0] bx lr .balign 4, 0 thumb_func_end Field3dObject_SetXRotation thu...
Assembly
7 -4.8906 Q44.832 -4.3125 44.832 -3.1094 Z" style="stroke:none; clip-path:url(#clipPath3_8a263614-32a6-4cf1-8506-6b2039855797);"/></g><g style="text-rendering:optimizeLegibility; font-weight:bold; font-family:sans-serif;" transform="matrix(1.3333,0,0,1.3333,601.0585,540.5483) translate(-430.7938,-377.4112)"><path d="M0...
HTML
#include "background.h" #include "item.h" #include "seg.h" #include "ttlbucket.h" #include "cc_debug.h" #include "time/cc_wheel.h" #include <pthread.h> #include <sysexits.h> #include <time.h> extern volatile bool stop; extern volatile proc_time_i flush_at; extern pthread_t bg_tid; extern struct tt...
C
x1F) << 7) | ((b_mode & 3) << 12) | ((c & 0x1F) << 14) | ((c_invert & 1) << 19) | ((d & 0x1F) << 20) | ((d_invert & 1) << 25); tex1_combiner_ext = 1; strcpy(fragment_shader_texture1, ""); } switch (a) { case GFX_CMBX_ZERO: if (num_tex == 0) st...
C++
devices': devices, 'current': current}; } @override Widget build(BuildContext context) { return futureBuilder( future: getDevicesInfo(isCm, isVoiceCall), hasData: (data) { String currentDevice = data['current']; List<String> devices = data['devices'] as List<String>; if (d...
Dart
; } var userArea = _userAreaRepository.GetRequiredByCode(dbUser.UserAreaCode); EntityNotFoundException.ThrowIfNull(userArea, dbUser.UserAreaCode); var user = new UserMicroSummary() { UserId = dbUser.UserId, DisplayName = dbUser.DisplayName, A...
C#
.543.038.809.038 1.877 0 3.619-.644 4.905-1.814a6.319 6.319 0 002.055-4.288l.01-10.866h.001V4.077a.946.946 0 01.945-.926h1.221a.172.172 0 00.172-.172V.152A.152.152 0 0020.969 0z"/></svg>'; static const String jordan = '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24"...
Dart
_time: Any database writes after this time aren't available. /// /// Output only. Interval? backupInterval; /// Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT. /// /// Output only. /// Possible string values are: /// - "SQL_BACKUP_KIND_UNSPECIFIED" : This is an unknown BackupKind. /// - "...
Dart
Index lsri t0, l1, 2 // blkCnt = numPoints >> 2 bez t0, .L22 // while(blkCnt > 0) .L14: mov l5, l6 // pScr1 = pScratch1 movi t6, 0 // acc0 = 0 movi t7, 0 // acc1 ...
Assembly
{ private static readonly IMeasure MEASURE = MeasureDouble.Create("my measurement", "measurement description", "By"); private static readonly IViewName VIEW_NAME = ViewName.Create("my view"); // private static readonly Cumulative CUMULATIVE = Cumulative.create(); private static reado...
C#
<a href="http://i2p-projekt.i2p/donate.html" target="_blank"> التبرعات</a>، والتي ستذهب في دفع تكاليف الاستضافة اﻷساسية والتكاليف اﻹدارية. لدينا مكافآت نقدية لعدة جوانب في I2P للمطورين الذين يبحثون عن حوافز للمشاركة ، ونحن نبحث دائمًا عن المزيد من <a href="http://i2p-projekt.i2p/newdevelopers.html" target="_blank"> مط...
HTML
ail {chanceFrom = 9975, chanceTo = 9986, itemId = 2498}, -- royal helmet {chanceFrom = 9987, chanceTo = 9995, itemId = 2173}, -- amulet of loss {chanceFrom = 9996, chanceTo = 10000, itemId = 6566}, -- stuffed dragon } local redSurpriseBag = Action() function redSurpriseBag.onUse(player, item, fromPosition, target,...
Lua
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Automata.BooleanAlgebras; namespace Microsoft.Automata.MSO { public static class BasicAutomata { /// <summary> /// x_i in X_j with singleton-set-semantics for x_i /// </summary> ...
C#
dpoint}', this.client.endpoint); requestUrl = requestUrl.replace('{largePersonGroupId}', encodeURIComponent(largePersonGroupId)); requestUrl = requestUrl.replace('{personId}', encodeURIComponent(personId.toString())); // Create HTTP transport objects let httpRequest = new WebResource(); httpRequest.method = ...
JavaScript
""" Écrire un programme en Python qui calcule les nombres de Fibonacci jusqu'à 50. """ a, b = 0, 1 print("Nombres de Fibonacci jusqu'à 50 : ") while a <= 50: print(a) a, b = b, a + b
Python
con:first-child::before, [dir="rtl"] .textbox__icon:first-child { left: auto; right: 16px; } [dir="rtl"] span.textbox__icon:first-child::before + input.textbox__control, [dir="rtl"] .textbox__icon:first-child + input.textbox__control, [dir="rtl"] span.textbox__icon:first-child::before + textarea.textbox__control, [...
CSS
', type: 'STRING', required: true } ]), new Command('math', 'Utility', 0, 'Does math, what else do you expect?', [ { description: 'Equation', name: 'query', type: 'STRING', required: true, } ]), new Command('shorturl', 'Utility', 5, 'Shortes the url given with is.gd', [ { description: '...
Typescript
.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProt...
Java
33; font-size: 16px; } .geek-isDark { .top-nav { background: rgba($color: #e1e1e1, $alpha: 1) !important; } .top-nav-wrapper { background: none !important; } } .isShowModal { .top-nav-wrapper { display: none; } ...
CSS
onjured Mana Cake", 1, 1), ]); const items = gildedRose.updateQuality(); expect(items[0].quality).to.equal(48); expect(items[1].quality).to.equal(0); }); }); import * as fs from "fs"; import * as childProcess from "child_process"; // console.log(fs.readdirSync('./', 'utf-8')); const folders = fs.rea...
Typescript
.72385,-0.06 0.13728,-1.977"},"38085":{"name":"Sioux, ND","path":"m 443.02175,118.77114 0.18363,-0.82 1.64024,-1.519 0.67393,-0.224 0.22464,0.201 0.62757,0.129 1.62419,0.103 0.40115,-0.127 1.7276,-0.677 0.13728,0.274 0.30487,0.804 0.11232,0.427 0.009,0.69 -0.2496,2.098 -0.066,0.216 -0.24782,0.506 -0.29774,0.305 -0.4421...
JavaScript
this.cmdCpRegExPatternsReset.Enabled = false; this.cmdCpRegExPatternsReset.ImageKey = "Refresh"; this.cmdCpRegExPatternsReset.ImageList = this.imageList1; this.cmdCpRegExPatternsReset.Location = new System.Drawing.Point(221, 126); this.cmdCpRegExPatternsReset.Name = "cmdC...
C#
est import ( "fmt" "testing" "time" "github.com/convox/rack/pkg/options" "github.com/convox/rack/pkg/structs" "github.com/convox/stdsdk" "github.com/stretchr/testify/require" ) var fxCertificate = structs.Certificate{ Id: "cert1", Domain: "domain", Domains: []string{"domain1", "domain2"}, E...
Go
-12-keyword__value--secondary{color:#6b6b6b;font-style:italic}.swagger-ui .json-schema-2020-12-keyword__value--const,.swagger-ui .json-schema-2020-12-keyword__value--warning{border:1px dashed #6b6b6b;border-radius:4px;color:#3b4151;color:#6b6b6b;display:inline-block;font-family:monospace;font-style:normal;font-weight:6...
CSS
AIM, DAMAGES OR OTHER //LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, //OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE //SOFTWARE. namespace LiveCharts.Uwp { /// <summary> /// /// </summary> public class PointGeometry { /// <su...
C#
r attr_AttributeUsage = new CustomAttribute( assemblyDefinition.MainModule.ImportReference( typeof(AttributeUsageAttribute).GetConstructor([typeof(AttributeTargets)]) ) ); attr_AttributeUsage.ConstructorArguments.Add( new CustomAttributeArgument(assemb...
C#
chicago-author-date-16th-edition",label:"Chicago Manual of Style 16th edition (author-date)"},{value:"chicago-author-date-basque",label:"Chicago Manual of Style 16th edition (author-date, Euskara)"},{value:"chicago-author-date-de",label:"Chicago Manual of Style 16th edition (author-date, Deutsch)"},{value:"chicago-auth...
JavaScript
, PartialEq, Eq)] pub enum ImportRule { NsAs(Arc<str>), // ns NsReferDef(Arc<str>, Arc<str>), // ns, def NsDefault(Arc<str>), // ns, js only } // scope pub type CalcitScope = rpds::HashTrieMapSync<Arc<str>, Calcit>; pub type CalcitItems = TernaryTreeList<Calcit>; /// special types wra...
Rust
} else { new AlertDialog.Builder(PindActivity.this) .setMessage("External Storeage (SD Card) is required.\n\nCurrent state: " + storageState) .setCancelable(true).create().show(); } } // Copies src file to dst file. // If the dst file does not exist, it is crea...
Java
zeof(T) < sizeof(U) ) { U x2 = x; int8 sx = __SETS__(x2); return (sx ^ __SETS__(y)) & (sx ^ __SETS__(x2-y)); } else { T y2 = y; int8 sx = __SETS__(x); return (sx ^ __SETS__(y2)) & (sx ^ __SETS__(x-y2)); } } // overflow flag of addition (x+y) template<class T, class U> int8 __OFADD__(T...
C
else if (xx % 2 == 1 && yy % 2 == 1) { // blank if (val != ' ') throw new ArgumentException("Bad input grid val at blank zone!"); } } } for (int ii = 0...
C#
faultKillCooldown : MarkCooldown.GetFloat(); public override void ApplyGameOptions(IGameOptions opt) => AURoleOptions.ShapeshifterCooldown = AssassinateCooldown.GetFloat(); public bool OnCheckMurderAsKiller(MurderInfo info) { if (info.IsSuicide) return true; var (killer, target) = info.Attem...
C#
}) async { final database = ref.read(databaseProvider); final cachedSource = await (database.select(database.sourceMatchTable) ..where((s) => s.trackId.equals(query.id)) ..limit(1) ..orderBy([ (s) => OrderingTerm(expression: s.createdAt, mode: Orderin...
Dart
object == self.humanTeam then local pos; for particle in MovableMan.Particles do if particle.PresetName == "Refinery S3 Buy Door Console 4" then pos = particle.Pos; break; end end self.tacticsHandler:AddTask("Attack S3 Buy Door Console 4", self.aiTeam, pos, "Attack", 20); else s...
Lua
::Error) -> Error { Error::Sengaka(e) } } impl From<Box<StdError>> for Error { fn from(e: Box<StdError>) -> Error { Error::Misc(e) } } impl From<io::IOIteratorError> for Error { fn from(e: io::IOIteratorError) -> Self { match e { io::IOIteratorError::IO(err) => Erro...
Rust
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2017-2019 OpenFOAM Foundation \\...
C
idxs, shells = gto_spec_from_pyscf(mol_py, max_n_gaussians=max_n_gaussians) mo_coeff = jnp.asarray(coeff) ao_overlap = jnp.asarray(overlap) mo_coeff *= jnp.sqrt(jnp.diag(ao_overlap))[:, None] conf_up, conf_down = [jnp.arange(n_el) for n_el in (mol.n_up, mol.n_down)] ...
Python
><br>* **Is there a known orchard or place famous for apples connected to the group?** (A local farm, a cider mill, a park with apple trees?)<br>* **Could "apples" be a code word for something else?** (A business, a type of product, a location with an apple in the name?)<br>* **Has Lisa-Marie used similar clues befor...
HTML
y);const S=w.select(`[id="${t}"]`);const T=w.select("#"+t+" g");await(0,a.r)(T,y,["point","circle","cross"],"flowchart",t);o.u.insertTitle(S,"flowchartTitleText",d.titleTopMargin,s.db.getDiagramTitle());(0,o.o)(y,S,d.diagramPadding,d.useMaxWidth);s.db.indexNodes("subGraph"+_);if(!d.htmlLabels){const e=g.querySelectorAl...
JavaScript
/* * curses library workaround, Part II * * Jul 2022 Greg Haerr */ #include "curses.h" #include "unikey.h" #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <stdarg.h> #include <string.h> #include <signal.h> #include <termios.h> static int mouse_button; void waitformouse(void) { int n, e; ...
C
} .cke_widget_wrapper_easyimage-align-center, :not(.cke_widget_wrapper_easyimage):not(.cke_widget_wrapper_easyimage-align-center) > .easyimage-align-center { margin: 0 auto; max-width: 90%; } .easyimage .cke_widget_editable { background-color: #f7f7f7; /* Add border so when caption is focused, blue border does no...
CSS
bool MCCStringFromNative(const char *p_string, char*& r_cstring) { return MCCStringFromNativeSubstring(p_string, MCCStringLength(p_string), r_cstring); } #endif bool MCCStringTokenize(const char *p_string, char**& r_elements, uint32_t& r_element_count) { bool t_success; t_success = true; char **t_elements; t_el...
C++
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable disable using System; using System.Collections.Generic; using System.Collections.Immutable; using System...
C#
��ଅ" + "ଷ୍ଟ୍ରେଲିଆ ଏବଂ ନ୍ୟୁଜିଲ୍ୟାଣ୍ଡମେଲାନେସିଆମାଇକ୍ରୋନେସିଆନ୍ ଅଞ୍ଚଳପଲିନେସିଆଏସିଆମଧ୍ୟ ଏସିଆପଶ୍" + "ଚିମ ଏସିଆୟୁରୋପ୍ପୂର୍ବ ୟୁରୋପ୍ଉତ୍ତର ୟୁରୋପ୍ପଶ୍ଚିମ ୟୁରୋପ୍ଲାଟିନ୍ ଆମେରିକା ଏବଂ କାରିବିଆନ୍", []uint16{ // 291 entries 0x0, 0x0, 0x15, 0x4d, 0x74, 0xac, 0xca, 0xdf, 0xf7, 0x13a, 0x14f, 0x170, 0x191, 0x1bc, 0x1d4, 0x1f2, 0x201...
Go
eTextNodes(targetLang); // translateTextNodes函数内部已经处理了按钮状态更新 } console.log('FloatingButton: Click processing completed, new enabled state:', enabled); } catch (error) { console.warn('Floating button translation failed:', error); showOverlay('翻译失败:' + (error?.message || error || '')...
JavaScript
adc >x21=int32#4,<x21=int32#4,<x71=int32#8 # asm 2: adc >x21=r3,<x21=r3,<x71=r7 adc r3,r3,r7 # qhasm: tmp = x20 ^ (x71 << 11) # asm 1: eor >tmp=int32#13,<x20=int32#3,<x71=int32#8,LSL #11 # asm 2: eor >tmp=r12,<x20=r2,<x71=r7,LSL #11 eor r12,r2,r7,LSL #11 # qhasm: x71 = x21 ^ (x71 unsigned>> 21) # asm 1: eor >x71=int...
Assembly
*/ ytd-two-column-browse-results-renderer[page-subtype="subscriptions"] > #primary.ytd-two-column-browse-results-renderer > ytd-section-list-renderer[page-subtype="subscriptions"] > #contents.ytd-section-list-renderer > ytd-item-section-renderer.ytd-section-list-renderer:has(#contents.ytd-item-section-rend...
CSS
-datepicker .ui-slider-handle{background:#3c95cd;border:none !important}.ui-datepicker .ui-slider-horizontal{background:#364d68 !important;height:.6em !important}.ui-datepicker table{margin:0 0 15px 0 !important}.ui-timepicker-div{padding:15px 0 15px 0 !important;border-top:1px solid #26374a;border-bottom:1px solid #26...
CSS
ills, setblocks); var packedTile = new BlockPack.Tile( tile.xOffset, tile.yOffset, tile.zOffset, tile.types, fills.toArray(), setblocks.toArray()); packedTiles.put(key, packedTile); if (debug) { int t...
Java
dt.year; int month = dt.month; int day = dt.day; int season; if ((month == 1 && day >=2) || (month == 2) || (month == 3) || (month == 4 && day < 2)) { season = 0; } else if ((month == 4 && day >=2) || (month == 5) || (month == 6) || (month == 7 && day < 2)) season = 1; else if ((mon...
Dart
rly on your way to being a fine addition to the Steel Warriors. Now you must take this message to the person noted. All shall be explained."); e.other:SummonItem(18893); -- A Sealed Letter - lore: Note to Axe Broadsmith e.other:Ding(); e.other:Faction(311,5,0); -- Steel Warriors e.other:Faction(262,5,0); --...
Lua
raits&lt; unsigned &gt;::host_type()'],['../structcutlass_1_1TypeTraits_3_01int64__t_01_4.html#a40e3692627a4d7697c573f0e90856ff2',1,'cutlass::TypeTraits&lt; int64_t &gt;::host_type()'],['../structcutlass_1_1TypeTraits_3_01uint64__t_01_4.html#aa876cb0da0b4537d2a8af97db58c98b8',1,'cutlass::TypeTraits&lt; uint64_t &gt;::h...
JavaScript
orner_y = [1/4*img_width, 3/4*img_height] #text_region是由4个列表组成,每个列表是一个顶点的坐标 text_top_left_x, text_top_left_y = text_region[0] text_top_right_x, text_top_right_y = text_region[1] text_bottom_right_x, text_bottom_right_y = text_region[2] text_bottom_left_x, text_bottom_left_y = te...
Python
/*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | * / __| | | | |_) | | * | (__| |_| | _ <| |___ * \___|\...
C
KFwiIFwiKSk7XG5cbiAgICAgICAgICBmb3IgKGNvbnN0IHBhcnQgb2YgcGFydHMpIHtcbiAgICAgICAgICAgIHN0cmluZ01hcC5hZGQocGFydCk7XG4gICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgcmV0dXJuIG1lcmdlKHVuaXF1ZVN0cmluZ3MpO1xuICAgICAgfVxuXG4gICAgICByZXR1cm4gdXRpbHMuYWN0aW9ucy5kZWZhdWx0TWVyZ2U7XG4gICAgfSxcbiAgfSk7XG59XG4iXSwibmFtZXMiOltdLCJpZ25v...
JavaScript
} html|img#editBookmarkPanelFavicon[src] { /* The border radius of the bookmark panel favicon */ border-radius: var(--bookmark-panel-favicon-border-radius) !important; } #editBookmarkPanel menulist { /* Block padding */ padding-block: var(--bookmark-panel-menulist-padding); border-radius: var(--bookmark-pa...
CSS
"""Hooked Transformer Layer Norm Pre Component. This module contains all the component :class:`LayerNormPre`. """ from typing import Dict, Union import torch import torch.nn as nn from jaxtyping import Float from transformer_lens.hook_points import HookPoint from transformer_lens.HookedTransformerConfig import Hooke...
Python
,他们即可放手进行与发展生产。 </p> <p> 中农:在土地改革中不仅确实做到了保护中农财产不受侵犯,而且对于佃中农和下中农,在经济上也给予了应有的满足。10个乡调查:中农在土地改革前只占全乡土地的35%,每人平均2亩2分8厘;而在土地改革后则占到全乡土地的38.05%,每人平均土地2亩6分8厘;耕畜、农具的占有亦有所增加。 </p> <p> 富农:10个乡调查:土地改革前占有土地占全部耕地的6.4%,土地改革后占有5.37%,土地改革中只征收了富农原有土地的10.81%,现在富农每人平均土地3亩6分2厘,是农村每人平均土地最多的一个阶级。这说明我们基本上执行了保存富农经济和中立富农的政策。 </p...
HTML
} val convertedOutputs = outputs.mapIndexed { i, io -> if (!io.contains("layout")) { "layout (location = $i) $io" } else { io } } val inputsAndSamplers = samplers.partition { it.contains(" Input") } val conver...
Kotlin
/*- * SPDX-License-Identifier: BSD-2-Clause * * Copyright (c) 2016 Michael Zhilin <mizhka@gmail.com> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code ...
C
/* * Copyright (c) 2010-2019 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ #pragma once #include <Swiften/Base/API.h> #include <Swiften/Parser/AttributeMap.h> namespace Swift { class SWIFTEN_API XMLParserClient { public: virtual ~XMLParserClient(); ...
C
S: roomCode } }, TableName: this.props.tableName, ConditionExpression: "attribute_not_exists(roomCode)" }).promise(); return roomCode; } catch (e) { ...
Typescript
;</td><td> Instruction + WORD arg (dest var). </td></tr> <tr><td valign="top"><em><a class="anchor" name="05f4716428617975227a75eef995d3dccda81b5a95de8ef351d80f7f007f3c1f"></a><!-- doxytag: member="asBCTYPE_DW_ARG" ref="05f4716428617975227a75eef995d3dccda81b5a95de8ef351d80f7f007f3c1f" args="" -->asBCTYPE_DW_ARG</em>&nb...
HTML
-- items: 18164, 18154, 18152, 18156 function event_say(e) if(e.message:findi("hail")) then e.self:Say(string.format("Hail. %s - Are you [interested] in helping the League of Antonican Bards by delivering some [mail]?",e.other:GetName())); elseif(e.message:findi("I am interested in delivering mail")) then e.self:...
Lua
 {         Console.Write(curDivisor + " ");         return;     }     for (int i = 0; i <= arr[curIndex].countOfPf; ++i)     {         generateDivisors(curIndex + 1, curDivisor, arr);         curDivisor *= arr[curIndex].primeFactor;     } } // Function to find the divisors of n static void findDivisors(int n) {     ...
Markdown
return testLocations; } public List<String> getInterOpsCountries() { return interOpsCountries; } public Map<String, String> getTestInformationUrls() { return testInformationUrls; } public boolean isCheckInUpdateNotificationEnabled() { return checkInUpdateNotificationEnabled; } public VaccinationBoo...
Java
ing, hanlder: any): void { this._protoMap[pt] = hanlder; } /** * 发送消息给登陆服务器. * @param {object} message 消息 * @return void */ public sendLoginPostMessage(message: any): void { var that = this; let url = GameConfig.httpUrl + 'api/' + message.pt; let request = new XMLHttpReque...
Typescript
8 != 0 } } #[doc = "Reader of field `AXBS_P_M1_HIGH_PRIORITY`"] pub type AXBS_P_M1_HIGH_PRIORITY_R = crate::R<bool, AXBS_P_M1_HIGH_PRIORITY_A>; impl AXBS_P_M1_HIGH_PRIORITY_R { #[doc = r"Get enumerated values variant"] #[inline(always)] pub fn variant(&self) -> AXBS_P_M1_HIGH_PRIORITY_A { match ...
Rust
PROFILE_DETAIL_FORM } from './detail.action'; const Input = (state: any = {}, action) => { switch (action.type) { case FILL_PROFILE_DETAIL_FORM: if (!_.isUndefined(_.get(action.data, state.key))) { state.value = _.get(action.data, state.key); } return state; default: return st...
Typescript
feedbacks = await db.feedbacks.getAll(); // feedbacks.forEach(async (feedback) => { // // CHECK IF IT WAS DISPATCHED // if (botCache.dispatchedGuildIDs.has(feedback.guildID)) return; // // CHECK IF GUILD STILL EXISTS // if (!cache.guilds.has(feedback.guildID)) return db.feedbacks.delete(fe...
Typescript
, -5639.70f, -317.3894f, 3.0128f }; //Active Weapon Point Positions(Blackfuse) Position spawnaweaponpos[3] = { {1915.95f, -5711.31f, -302.8854f}, {1924.21f, -5723.62f, -302.8854f}, {1933.46f, -5736.51f, -302.8854f}, }; Position destapos[3] = { {1866.87f, -5637.11f, -302.8854f}, {1874.14f, -5649.20...
C++
azimuth_up_in = v_up.azimuth polar_up_in = v_up.polar azimuth_down_in = v_down.azimuth polar_down_in = v_down.polar sp_up = StereographicProjection() sp_down = StereographicProjection(pole=1) x_up, y_up = sp_up.spherical2xy(azimuth_up_in, polar_up_in) x_down, y_...
Python
using System; using System.IO; using System.Runtime.Remoting; using System.Text; namespace WCell.Util { public class IndentTextWriter : TextWriter { TextWriter m_writer; string indent; char m_indentChar; bool m_autoFlush; bool m_lastWasNewLine; public IndentTextWriter(string file) : this(file, '\t') ...
C#
0.5rem 0 0; /** For some reason, PatternFly hard-wires this to Light-100 */ &.pf-c-accordion { /* needed to up priority */ --pf-global--BackgroundColor--100: var(--pf-global--BackgroundColor-dark-100); } } @include AccordionItem { h3 { margin: 0; padding: 0; font-size: inherit; } } @in...
CSS
n = n.replace("##", " $" + z((t << 8, 4) + r) + " "); } else if(n.includes("#")){ r = u[++i]; n = n.replace("#", " $" + z(r) + " "); } h += z(l - 16 + 0x8000, 4) + " | " + m + " | " + n + "\n"; } C.innerHTML = h; a.height = 2e4; for(i = 0; i < u[5] * 8 * 1024; i += 16){ f...
HTML
ET_AGAIN:Object(n.default)("Try deleting your Tweet again in a minute."),TRY_DM_AGAIN:Object(n.default)("Try sending your message again in a minute."),TRY_FOLLOW_AGAIN:Object(n.default)("Try following that user again in a minute."),TRY_LIKING_AGAIN:Object(n.default)("Try liking your Tweet again in a minute."),TRY_REMOV...
JavaScript
# Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
Python
import pytest import sys import numpy as np import cloudvolume # Basic test of sharded meshes # The following test files are used from https://storage.googleapis.com: # /neuroglancer-janelia-flyem-hemibrain/v1.0/segmentation/info # /fafb-ffn1-20190805/segmentation/mesh/info # /neuroglancer-janelia-flyem-hemib...
Python
g(env, b.as_mut_ptr()); assert_eq!(status, napi::Status::Ok); b.assume_init() } pub unsafe fn catch_error(env: Env, error: *mut Local) -> bool { if !is_throwing(env) { return false; } let status = napi::get_and_clear_last_exception(env, error); assert_eq!(status, napi::Status::Ok); ...
Rust
听,未十分留意辨别,经过查阅当时的记录,又发现了不少反动的右派言论。(2)开座谈会,在会上又收集了一些材料。(3)系统地对一些可怀疑的人再加以研究分析。事实证明这三种办法是可行的。问题是,有的单位是在战斗小组内讨论的,而参加战斗小组的人较多,这样知道的人就多,可能泄密,对此,已加以注意。右派分子被漏掉的原因:(1)领导思想右倾,开始认为不是右派,经过再分析研究,实际有些人是够右派条件的。(2)原材料零散,未加系统整理。(3)原材料不足,但在批判过程中群众又揭露了不少材料,这样就构成了右派。(4)有的人在鸣放时不在家,以后回来了,在批判过程中又放出右派言论。以西安电力设计院为例,新查出的十二个右派分子中,由于过去原材料不足或原材料未加...
HTML
81, $76, $20, $81, $18, $81, $72, $20, $81, $76, $18, $81, $72, $18, $81, $76, $18, $81, $1b, $81 .byte $72, $18, $81, $76, $1b, $81, $1b, $81, $72, $1b, $81, $76, $20, $81, $72, $1b, $81, $76, $1f, $81, $1d, $81, $72, $1f .byte $81, $76, $1d, $81, $1b, $81, $72, $1d, $81, $76, $1b, $81, $72, $1b, $81, $76, $18, $81,...
Assembly
gDirLTR: 'Links na regs (LTR)', langDirRTL: 'Regs na links (RTL)', menu: 'Wysig skakel', name: 'Naam', noAnchors: '(Geen ankers beskikbaar in dokument)', noEmail: 'Gee die e-posadres', noUrl: 'Gee die skakel se URL', other: '<ander>', popupDependent: 'Afhanklik (Netscape)', popupFeatures: 'Eienskappe van opspr...
JavaScript
// Copyright (C) 2025 Intel Corporation // SPDX-License-Identifier: Apache-2.0 #pragma once #include "program_mapper/p_isa/pisa_test_generator.h" #include "program_mapper/p_isa/tests/pisa_instruction_tests/pisa_instruction_test.h" #include <iostream> #include <map> #include <math.h> #include <string> class maciInstr...
C
mmaC-ZS, SummaC-CV(Laban et al., 2022), QAFactEval(Fabbri et al., 2022) 및 AlignScore(Zha et al., 2023)의 비LLM 기반 SOTA 사실성 메트릭을 포함한다. 우리는 또한 (1) GPT-4 (OpenAI, 2023); (2) GPT-3.5-Turbo; (3) Vicuna-13B/33B (Chiang et al., 2023); (4) WizardLM-13B/30B (Xu et al., 2023). 앞서 언급한 목록의 모든 LLM에 대해 이 목록의 특정 LLM은 입력 길이 제약으로 인해 소수의 ...
HTML
using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System.IO; using System.Xml.Linq; using static System.Console; namespace JsonSample { class Program { private const string InventoryFileName = "inventory.json"; private const string InventoryXmlFileName = "inventory.xml"; privat...
C#
length"); } else if (!hex.matches("[0-9a-fA-F]*")) { throw new IllegalArgumentException("Hex string must match \"[0-9a-fA-F]*\" pattern"); } byte[] bytes = new byte[length / 2]; hex = hex.toLowerCase(); for (int i = 0; i < length; i += 2) { bytes[i / 2] =...
Java
from objects of sense, or because it is caught up into some imaginary vision or fanciful apparition.<br> <tr valign="top"> <td style="text-align:justify">Ad tertium dicendum quod, sicut amor est motus appetitus respectu boni, ita timor motus appetitus respectu mali. Unde eadem ratione ex utroque potest c...
HTML
OX_DEFAULT release end Common_EventScript_BagIsFull:: msgbox gText_TooBadBagIsFull, MSGBOX_DEFAULT return Common_EventScript_ShowNoRoomForDecor:: msgbox gText_NoRoomLeftForAnother, MSGBOX_DEFAULT release end Common_EventScript_NoRoomForDecor:: msgbox gText_NoRoomLeftForAnother, MSGBOX_DEFAULT return Common...
Assembly
ChoiceOption"]=false,["passivePointsGranted"]=0,["spc"]={},["sd"]={"14% increased Armour"},["g"]=9,["o"]=2,["oidx"]=7,["sa"]=0,["da"]=0,["ia"]=0,["out"]={9695,46636}},{["id"]=3951,["icon"]="Art/2DArt/SkillIcons/passives/MasteryGroupArmour.png",["ks"]=false,["not"]=false,["dn"]="Armour Mastery",["m"]=true,["isJewelSocke...
Lua
Error("Failed to find .asset in path " + canvasCache.openedCanvasPath); } } return lastpath; } Vector2 scrollPos; private NodeCanvas[] m_All; //private GUIStyle guiStyle = new GUIStyle(); #endregion // Opened Canvas ...
C#
style="padding-right: 0.1px;"> &nbsp; &nbsp;<span class="cm-comment">// 位置变了</span></span></pre><pre class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp;<span class="cm-keyword">if</span> (<span class="cm-variable">hiTail</span> <span class="cm-operator">...
HTML
6($C). Чтобы добраться туда, иди по западной дороге от Транквиллиона.", ["O"] = "Уничтожьте 6 кель\'дорайских привидений и 4 кель\'дорайских призрака в деревне Золотой Дымки, затем возвращайтесь к чародею Вандрилу в Транквиллион в Призрачных землях.", ["T"] = "Деревня Золотистой Дымки", }, [9140] = { ["...
Lua
`rust,no_run /// # let opcode = 0i16; /// # let my_server_ip = "192.168.0.1"; /// # let my_server_port = 8080u16; /// # use rusty_raft::rpc::client::Rpc; /// let mut rpc = Rpc::new(opcode); /// { /// // We need to scope the creation of the parameters here /// // because the parameter builder borrows a mutable r...
Rust
e.Sleep(time.Second * 3) } } func (r *Registry) run() error { conn, err := net.DialTimeout("tcp", r.srv, time.Second*30) if err != nil { log.Error("%v", err) return err } defer conn.Close() reg := codec.RegisterReq{ Namespace: r.namespace, SecretKey: r.secret, Name: r.name, } err = codec.Write...
Go
.OfType<ItemPreviewModel>()) { if (_lookup.TryGetValue(previewModel, out _)) continue; await AddMeshAsync(previewModel); } break; case NotifyCollectionChangedA...
C#
和发现在人类历史中相互关联、相互促进,提升了人类适应能力、生存能力、交通便利、知识传播和教育普及。这些进步为人类社会注入了新的动力,展示了无限的智慧和创造力。文章还强调了在科技发展中要关注人文关怀、社会责任和生态环境,以实现科技真正造福人类。", "class": "summarization"}, {"question": "编辑以下文章,使得它更加简洁有力,去除任何与主题无关的内容。数字化正在改变我们的生活,并将继续如此。人工智能、自动化以及互联网使得我们的生活更加便捷,但同时也带来了新的挑战。我们需要接受这种数字化的进程,并适应它。", "std_answer": "", "class": "rewrite"}, {"ques...
HTML
age(name: name); }, ); Handler newVcPageHandler = Handler( handlerFunc: (BuildContext? context, Map<String, List<String>> params) { return NewVcPage(); }, ); Handler magicLoginPageHandler = Handler( handlerFunc: (BuildContext? context, Map<String, List<String>> params) { return MagicLinkLoginPage(); ...
Dart
%3D%22%23ffffff%22%20rx%3D%221.5%22%3E%3C/rect%3E%3C/svg%3E'); } /* .flyout-notice { background-color: #006efc; color: white; padding: 8px; position: absolute; word-wrap: break-word; a { color: white; } } .flyout-notice__pointer-top { border-bottom-style: solid; border-bott...
CSS