content
stringlengths
2
6.21k
label
stringclasses
16 values
table[row_idx][col_idx] = word["text"] return _remove_empty_rows_cols(table) def to_markdown(table: list[list[str]]) -> str: if not table or not table[0]: return "" lines = [] lines.append("| " + " | ".join(str(cell) for cell in table[0]) + " |") lines.append("| " + " | ".joi...
Python
return x === Infinity ? max : x === -Infinity ? -max : x } if(x == undefined) throw new ReferenceError("Parameter 'x' is required, but it was not defined"); const f = derivate ? (x) => 0 : (x) => x > 0 ? 1 : -1; return Array.isArray(x) ? x.map(clamp(f)) : clamp...
HTML
boxSetLocalDataItem('vbox'+eventData.machineId+'ConsoleSize','',true); vboxSetLocalDataItem('vbox'+eventData.machineId+'ConsoleConnected','',true); } }); /* * Populate console info values when this tab is shown */ $('#vboxTabVMConsole').on('show',function(){ var vm = vboxChooser.getSingleSelected(); /* ...
HTML
{ return nil, err } return repository, nil } // ConfigFile returns the path to the test configuration file func (r *Repository) ConfigFile() string { return path.Join(r.Path, "config") } // RemoveSettings purges settings from the database func (r *Repository) RemoveSettings() error { return r.DB.Settings().De...
Go
* * Determines whether or not this object is visible. */ void getVisibleUiObjectTest() { _initTest(); // Default visible state is true expect(_uiObject.visible, isTrue); // Set new visible state _element.style.display = "none"; // Check it expect(_uiObject.visible, isFalse); //...
Dart
t to_free = Box::from_raw(mtx); drop(to_free); } #[no_mangle] pub unsafe extern "C" fn rumpuser_mutex_owner(mtx: *mut Mutex, lwp: *mut *mut threads::lwp) { let owner = (*mtx).owner(); trace!( "{:?} rumpuser_mutex_owner mtx={:p} owner={:p}", Environment::tid(), mtx, owner ...
Rust
/* ChessLib, a chess data structure library MIT License Copyright (c) 2017-2023 Rudy Alex Kohn Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation ...
C#
.O-SECEXP-RW-RBWM .A-EXPCNT-RW-RBWM .O-CONT3366-RW-RBWM, .O-SECEXP-RW-RBWM .A-EXPCNT-RW-RBWM .O-CONT50-RW-RBWM, .O-SECEXP-RW-RBWM .A-EXPCNT-RW-RBWM .O-CONT6633-RW-RBWM, .O-SECEXP-RW-RBWM .A-EXPCNT-RW-RBWM .O-CONT100-RW-RBWM { padding-bottom: 21px } @media(min-width:480px) { .O-SECEXP-RW-RBWM .A-EXPCNT-RW-RBWM .O-CO...
CSS
md.comp.fab.primary.hover.state-layer")}; @override ShapeBorder? get shape => switch (type) { _FloatingActionButtonType.regular => ${shape("md.comp.fab.primary.container")}, _FloatingActionButtonType.small => ${shape("md.comp.fab.primary.small.container")}, _FloatingActionButtonType.large => ${s...
Dart
#nullable enable using System; using JetBrains.Application.Parts; using JetBrains.Lifetimes; using JetBrains.ProjectModel; using JetBrains.RdBackend.Common.Features.TextControls; using JetBrains.ReSharper.Features.Inspections.Bookmarks.NumberedBookmarks; using JetBrains.ReSharper.Plugins.Unity.Core.ProjectModel; using...
C#
uery 教程" href="//www.runoob.com/xquery/xquery-tutorial.html">XQuery 教程</a></li><li><a title="XLink 教程" href="//www.runoob.com/xlink/xlink-tutorial.html">XLink 教程</a></li><li><a title="XPointer 教程" href="//www.runoob.com/xlink/xlink-tutorial.html">XPointer 教程</a></li><li><a title="XML Schema 教程" href="//www.runoob.com/s...
HTML
- HInvrse) * U2) * V; if (Z < V0) Y = Z; if (Y < V0) V = Y; if (V0 - V < V0) V = V0; } else { V = Y * (HInvrse * U2 - HInvrse); V = V + ((One - HInvrse) * U2) * Y; } printf ("Overflow threshold is V = %s .\n", V.str()); if (I) printf ("Overflow saturates at V0 = %...
C++
: false, editable: false }); me.columnOrder = column; if(store?.rowGroups.length || me?.rowGroupBar) console.error('FG-Grid: Order column is not supported for row grouping'); break; } if(column.width === undefined) (column.width = me.defaultColumnWidth);...
JavaScript
cb59-2"><a href="#cb59-2" tabindex="-1"></a>vhd<span class="sc">@</span>meta.data <span class="sc">%&gt;%</span> <span class="fu">filter</span>(<span class="sc">!</span><span class="fu">is.na</span>(spot_class)) <span class="sc">%&gt;%</span> </span> <span id="cb59-3"><a href="#cb59-3" tabindex="-1"></a> <span class="...
HTML
chart.charts.Sparkline lastMarkers(String settings) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".lastMarkers(%s);", wrapQuotes(settings))); return this; } /** * Setter for data markers of the last point. */ public com.anychart.charts.Sparkline lastMarkers(B...
Java
yName}'); // 构建AI请求 final request = _buildAIRequest(); if (request == null) { AppLogger.e('OverlaySceneBeatPanel', '构建AI请求失败'); TopToast.error(context, '构建AI请求失败'); return; } AppLogger.d('OverlaySceneBeatPanel', 'AI请求构建成功: ${request.requestType}'); // 对于公共模型,先进行积分预估和确认 i...
Dart
": "TiledImageResourceLevel", "tags": [ "ondemand", "preload" ], "width": 512, "rowCount": 1, "height": 512, "colCount": 1 } ] }, "back": { "class": "ImageResource", "levels": [ { "url": "media/panorama_6AF1EFDF_61D4_2511_41AE_D2CF7B460...
JavaScript
} public voteDown(): boolean { this.voteCount--; return false; } } @Component({ selector: "article-template", directives: [CreatedArticleComponent], template: ` <form> <div class="form-group"> <label for="title">Title</label> ...
Typescript
3. 输入框样式调整 4. 商品链接样式设置 ### 4.1.9 修复内容 1. 修改数据库添加问题 2. webview 适配非http/https 开头的链接 3. ### 4.1.8 修复内容 1. 修改结束会话再咨询不进入无消息对话过滤问题 2. 修改无消息对话过滤状态发送消息,消息状态显示问题 3. 修改空文件上传问题 4. 修改断网情况下延迟请求问题 ### 4.1.7 修复内容 1. 修改无消息对话过滤状态特殊字符问题 ### 4.1.6 修复内容 1. 修复设置欢迎语后 开启无消息对话过滤功能失效 ### 4.1.5 修复内容 1. 优化保存消息返回8002,表示会话已经关闭的处理 2. 适配某些手机...
Markdown
RotateServerCaContext({this.kind, this.nextVersion}); RotateServerCaContext.fromJson(core.Map json_) : this( kind: json_['kind'] as core.String?, nextVersion: json_['nextVersion'] as core.String?, ); core.Map<core.String, core.dynamic> toJson() => { if (kind != null) 'kind': kind!, ...
Dart
::networking::udp_receive_from")?; if let Some(socket_addr) = socket_result { let dns_iter_id = caller .data_mut() .resources .dns_iterators .add(DnsIterator::new(vec![socket_addr].into_iter())); ...
Rust
ans" executor: "Executes plan steps" validator: "Validates results" settings: planner_agent: planner executor_agent: executor reviewer_agent: validator workflow: start: planner edges: - from: planner to: [executor, validator, planner] router...
Python
除事件 EventManager.instance.broadcast( 'diary_entry_deleted', DiaryEntryDeletedEventArgs(normalizedDate), ); debugPrint('Deleted diary entry for $dateStr'); return true; } catch (e) { debugPrint('Error deleting diary entry: $e'); return false; } } /// 从索引中...
Dart
namespace Winook { public enum MouseMessageCode { MouseActivate = 0x0021, // WM_MOUSEACTIVATE NCHitTest = 0x0084, // WM_NCHITTEST NCMouseMove = 0x00A0, // WM_NCMOUSEMOVE NCLeftButtonDown = 0x00A1, // WM_NCLBUTTONDOWN NCLeftButtonUp = 0x00A2, // WM_NCLBUTTONUP NCL...
C#
semanticLabelsRaw(s); return this; } public @Pointer(target=XrSpatialPlaneSemanticLabelEXT.class) @NotNull MemorySegment semanticLabelsRaw() { return segment.get(LAYOUT$semanticLabels, OFFSET$semanticLabels); } public void semanticLabelsRaw(@Pointer(target=XrSpatialPlaneSemanticLabelEX...
Java
/#idl-unsigned-long" id="ref-for-idl-unsigned-long④"><c- b>unsigned</c-> <c- b>long</c-></a>? <a class="idl-code" data-link-type="attribute" data-readonly data-type="unsigned long?" href="#dom-xrwebglsubimage-imageindex" id="ref-for-dom-xrwebglsubimage-imageindex"><c- g>imageIndex</c-></a>; <c- b>readonly</c-> <c- b>...
HTML
{ match path.extension() { Some(extension) => if extension == "json" { paths.push(path.to_path_buf()); } None => continue, } } } } Some(paths) } /// This function gets the `/templates/assets` path of the game selected,...
Rust
# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserve. # # 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 # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
Python
'..' with a '?..' in the invocation", ); } } @reflectiveTest class UncheckedMethodInvocationOfNullableValueTest extends FixProcessorTest { @override FixKind get kind => DartFixKind.replaceWithNullAware; Future<void> test_method() async { await resolveTestCode(''' class C { List<int>? values; voi...
Dart
r1) /* 800E39BC 000DF61C 28 00 00 05 */ cmplwi r0, 5 /* 800E39C0 000DF620 41 82 00 0C */ beq lbl_800E39CC /* 800E39C4 000DF624 2C 1F 00 05 */ cmpwi r31, 5 /* 800E39C8 000DF628 40 82 00 84 */ bne lbl_800E3A4C lbl_800E39CC: /* 800E39CC 000DF62C 88 01 00 15 */ lbz r0, 0x15(r1) /* 800E39D0 000DF630 28 00 00 05 */ cmp...
Assembly
1]) / 2.0), &format!("{}", app.window[1]), ]), ).y_axis( Axis::default() .title("Y Axis") .style(Style::default().fg(Color::Gray)) .labels_style(Style::default().modifier(Modifier::Italic)...
Rust
[7607] = "Weegli Plomofundido", [2083] = "Syral Filohoja", [16786] = "Intendente Argenta", [2115] = "Joshua Kien", [8522] = "Monstruosidad de peste", [8586] = "Haggrum Puñosangre", [2163] = "Oso cardo", [2179] = "Jinete de olas Escama Tormentosa", [11883] = "Maestro Crepuscular", [2211] = "Montaraz ca...
Lua
' }); map_test!("foo=c++", "foo"["c "]); // st.deepEqual(qs.parse('a[>=]=23'), { a: { '>=': '23' } }); map_test!("a[>=]=23", "a"[">="[23]]); // st.deepEqual(qs.parse('a[<=>]==23'), { a: { '<=>': '=23' } }); map_test!("a[<=>]==23", "a"["<=>"["=23"]]); // st.deepEqual(qs.parse('a[==]=23'), {...
Rust
nTCJZsNfT-m9SLldAt-z6T73wDXeV6KcmId28stFxR4OSMHG9D28YziE6t3hQ1&amp;t=634009922430741250" type="text/javascript"></script> <script src="/ScriptResource.axd?d=bn1AzuwaaJDtAgoNHxG1YBUa2iuoZoA2FzyD1ZcbMyJJHpcp7n58v2NKh9HqgKreWxXtYnNicviWWc0Ta9ewdIhhY01BD2Mx2CE78QXCx281&amp;t=634009922430741250" type="text/javascrip...
HTML
ult_key_weight = w as f32; } } let mut last_id: u32 = 0; let mut weight_changes = Vec::with_capacity(2 * sm.notes.len() * conf.halos.len()); for beat in sm.iter_beats() { let time = to_time.beat_to_time(beat.pos); //Calculate a weight for the notes on this beat let note_c...
Rust
suredHeight = getMeasuredHeight(); } edgeEffect.setSize(measuredWidth, measuredHeight); } public final void OooOo00(int i, int i2) { this.f3170OooOoo0++; int scrollX = getScrollX(); int scrollY = getScrollY(); onScrollChanged(scrollX, scrollY, scrollX - i, scroll...
Java
push(28); dataY.push(1.5); dataX.push(30); dataY.push(1.44); dataX.push(36); dataY.push(0.74); dataX.push(47); dataY.push(-0.82); dataX.push(52); dataY.push(-1.27); dataX.push(57); dataY.push(-0.92); dataX.push(58); dataY.push(-0.92); dataX.push(60); dataY.push(-1.04); dataX.push...
Typescript
{"Symbole der Macht: Die Halsberge des Weissagers", {"Die Weissager der Zandalar tragen einen bestimmten Brustschmuck, der Halsberge genannt wird. Er wird aus feinster Seide und Stoffen zusammengefügt und mit starken Ketten verwoben. Es ist nicht nur ein Symbol für ihre Göttlichkeit, sondern auch für ihre Autorität. E...
Lua
COLOR=maroon> Camlp4 Parsing version 3.12.1 <FONT COLOR=black>#</FONT><FONT COLOR=blue>open Genlex;; let lexer = make_lexer ["("; ")"; "+"; "-"; "*"; "/"];; </FONT>val lexer : char Stream.t -&gt; Genlex.token Stream.t = &lt;fun&gt; </FONT></PRE><P> For the lexical analysis phase (transformation of the input text i...
HTML
x14=0xbffff480//w9=0xa511f056 0x56 strb w9, [x14, #1] >>> w9=0xf0563decx14=0xbffff480//w9=0xf0563dec 0xec strb w8, [x14, #2] >>> w8=0x11f0563dx14=0xbffff480//w8=0x11f0563d 0x3d strb w8, [x14, #3] >>> w8=0x563dec4cx14=0xbffff480//w8=0x563dec4c 0x4c strb w9, [x14,...
Markdown
import json import random from pathlib import Path easter_eggs_file_path = Path(__file__).parent / "easter_eggs.json" easter_eggs = json.load(open(easter_eggs_file_path, encoding="utf-8")) pongs_file_path = Path(__file__).parent / "pongs.json" pongs = json.load(open(pongs_file_path, encoding="utf-8")) def get_easter...
Python
nServerActivity"] = "Деятельность открытого доступа", ["ACTIVITY.GROUPNAME.ChristmasActivity"] = "Рождественские деятельности", ["ACTIVITY.GROUPNAME3"] = "Рождественские деятельности", ["NEWRECHARGE.BOTTOMTEXT"] = "First of all double charge !", ["ACTIVITY.BIGPACKAGE.DIATANCESCORE"] = "Distance %d with %d points", ...
Lua
gee 크레용팝은 빠빠빠 라서..찌 대 빠로 소녀시대 승리!` }, { question: `노래를 잘할 것 같은 느낌은? `, answer: ` 조용필` }, { question: `베릴 선수 이름은 내년부터 ""희"" 입니다. `, answer: ` 내년에 "조건"희 선수는 "무조건" 담원에 남을꺼니까.` }, { question: `카이사르가 죽기직전에 한말은? `, answer: ` 죽기시저ㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㄱㄱㅋ` }, ...
Typescript
tsCLD_Identify sIdentifyServerCluster; tsCLD_IdentifyCustomDataStructure sIdentifyServerCustomDataStructure; #endif #if (defined CLD_ONOFF) && (defined ONOFF_SERVER) /* On/Off Cluster - Server */ tsCLD_OnOff sOnOffServerCluster; tsCLD_OnOffCustomDataStructure sOnOffServe...
C
% 0% / 0.06); --shadow: 1px 2px 5px 1px hsl(0 0% 0% / 0.06), 1px 1px 2px 0px hsl(0 0% 0% / 0.06); --shadow-md: 1px 2px 5px 1px hsl(0 0% 0% / 0.06), 1px 2px 4px 0px hsl(0 0% 0% / 0.06); --shadow-lg: 1px 2px 5px 1px hsl(0 0% 0% / 0.06), 1px 4px 6px 0px hsl(0 0% 0% / 0.06); --shadow-xl: 1px 2px 5px 1px...
CSS
urazione.CORRELAZIONE_APPLICATIVA_RISPOSTA_DISABILITATO.equals(elemento.getIdentificazione())){ correlazioneNonRiuscitaDaAccettare = true; findCorrelazione = true; break; } if(readFirstHeaderIntegrazione && headerIntegrazione.getIdApplicativo()!=null){ idCorrelazioneA...
Java
* Useful debugging routines */ ENTRY(printhex8) mov r1, #8 b printhex ENTRY(printhex4) mov r1, #4 b printhex ENTRY(printhex2) mov r1, #2 printhex: ldr r2, =hexbuf add r3, r2, r1 mov r1, #0 strb r1, [r3] 1: and r1, r0, #15 mov r0, r0, lsr #4 cmp r1, #10 addlt r1, r1, #'0' addge r1, r1, #'a' ...
Assembly
rn; } logger.log("Executing change set..."); await client.send( new CloudFormation.ExecuteChangeSetCommand({ StackName: stackName, ChangeSetName: changeSetName, }), ); { const stack = (await waitUntilDone("EXECUTING"))!; if (stack.StackStatus !== `${type}_COMPLETE`) { throw...
Typescript
# read a number and print whther its odd or even # main: la $a0, string0 # printf("Enter an int: "); li $v0, 4 syscall li $v0, 5 # scanf("%d", x); syscall move $t0, $v0 # t0 = x la $a0, string2 # printf("Enter a char: "); li $v0, 4 syscall li ...
Assembly
code) fun drawRectShader(progress: Float, w: Float, h: Float): ShaderBrush { shaderEffect.updateUniforms(progress, w, h) return shaderEffect.brush() as ShaderBrush } } const val explosionShader = """ uniform float iTime; uniform vec3 iResolution; float rand(vec2 co){ // https://stackoverf...
Kotlin
8DplgL9TAnAF0ph3vNh3yJtyw== sig=A4MaSxSQzw8de8p7kH2ENB6dWoDCPnTrgvk7WQQ1RLbQ3wVWqmPUbckTBrOlw0WODVXr2+EPrei3t93bhWd/Dg== e=found last=14 s=26 in subShifted_NP", "pub=MCowBQYDK2VwAyEAHx9xHm31qQbBuK/rIHdAI2i9Tc+DNCxWPFd6gjJ6MC8= priv=MC4CAQAwBQYDK2VwBCIEIKAnnzu7YXkU/5XV3PUICqh5iXUea8G2wkvfZrgHf0/p msg=h9b...
C#
492,"c5":"25473"},"\u2605 Karambit | Crimson Web (Battle-Scarred)":{"buff":42989,"uu":52982,"c5":"26763"},"\u2605 Karambit | Crimson Web (Field-Tested)":{"buff":42990,"uu":45777,"c5":"24709"},"\u2605 Karambit | Crimson Web (Minimal Wear)":{"buff":42991,"uu":51536,"c5":"26699"},"\u2605 Karambit | Crimson Web (Well-Worn)...
JavaScript
E OR OTHERWISE) * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ #include "atomic_op_asm.h" #ifdef _ARM_ARCH_6 ENTRY_NP(_atomic_or_16) mov ip, r0 1: ldrexh r0, [ip] /* load old value (to be returned) */ orrs r3, r0, r1 /* calculate new value */ str...
Assembly
= u.valToPosX; // valToPosX props[6] = u.valToPosY; // valToPosY props[7] = bbox.left; // plotLft props[8] = bbox.top; // plotTop props[9] = bbox.width; // plotWid props[10] = bbox.height; // plotHgt return props; } function clipGaps(gaps, ori, plotLft, plotTop, plotWid, plotHgt) { v...
JavaScript
ist<ChannelView>(); private void OnChannelsUpdated() { ClearAll(); foreach (var c in State.Channels) { //StreamTodo: move to ViewFactory var channelView = Instantiate(_channelViewPrefab, _listContainer); channelView.In...
C#
a></td> <td>detail</td> <td>for <a href="flag-extensions.html">Flag HL7 Extensions</a></td> </tr> <tr> <td><a href="extension-relative-date.html">relative-date</a></td> <td>Relative Date Criteria</td> <td>for <a href="general-extensions.html">General Extensions for use by FHIR Implementers</a></t...
HTML
池.掘井.", "j": "作灶.理发.造桥.行丧.安葬.", "c": "生肖冲羊", "s": "煞東", "ch": "危", "zc": "正冲正冲辛未", "ts": "仓库厕外西南" }, "d0620": { "y": "祭祀.结网.余事勿取.", "j": "入宅.出行.掘井.安葬.", "c": "生肖冲鸡", "s": "煞西", "ch": "收", "zc": "正冲正冲辛酉", "ts": "仓库门外正南" }, "d0726": { "y": "嫁娶.订盟.纳采.祭祀.祈福.斋醮.开光.会亲友.求医.治病.造屋.起基.竖柱.上梁.安门.安碓硙...
JavaScript
imes in num. The indices 0 and 1 both violate the condition, so return false. **Constraints:** * `n == num.length` * `1 <= n <= 10` * `num` consists of digits. 2233\. Maximum Product After K Increments Medium You are given an array of non-negative integers `nums` and an integer `k`. In one operation, you may...
Markdown
x150.jpg 150w, /wp-content/uploads/2022/12/data-thumb-square_big-768x768.jpg 768w, /wp-content/uploads/2022/12/data-thumb-square_big-610x610.jpg 610w, /wp-content/uploads/2022/12/data-thumb-square_big.jpg 1400w" sizes="(max-width: 450px) 100vw, 450px"></a> </div> <div class="five-twelfth-inner column last p...
HTML
ss(in,jn) || flowData->isNodata(in,jn)) con=true; else{ flowData->getData(in,jn, angle); flowData->getdxdyc(jn,tempdxc,tempdyc); p = prop(angle, (k+4)%8,tempdxc,tempdyc); if(p>0.) { if(daccum->isNodata(in,jn)||dmData->isNodata(in,jn))con=true; else { ...
C++
f.dbus.value // Assumes last setup was d.setI2CLinesIdle(), e.g. D0 and D1 are high, so // skip this. // // Runs the command 4 times as a way to delay execution. cmd := [...]byte{ // SCL high, SDA low for 600ns gpioSetD, v | i2cSCL, dir, gpioSetD, v | i2cSCL, dir, gpioSetD, v | i2cSCL, dir, gpioSetD, v |...
Go
the field arithmetic library. This * interface enables optimizations based on the fact that certain values are * known to be small, where the definition of small is specific to the the * arithmetic implementation. */ public interface SmallValue { } /* * Copyright (c) 2000, 2018, Oracle and/or its affiliates. A...
Java
from game.chess_piece import ChessPiece from game.state import State class Rook (ChessPiece): def __init__(self, x, y, is_white): super().__init__(x, y,is_white) self.can_castle = True def get_picture(self): return "images/white-rook.png" if self.is_white else "images/black-rook.png" ...
Python
dia|noite)(?=\W|$)/i; } innerExtract(context, match) { const targetDate = (0, dayjs_2$2.default)(context.refDate); const component = context.createParsingComponents(); switch (match[1].toLowerCase()) { case "tarde": component.imply("meridiem", index_1$2.Meridi...
JavaScript
#ifndef _SYS_SHM_H #define _SYS_SHM_H #ifdef __cplusplus extern "C" { #endif #include <abi-bits/pid_t.h> #include <bits/size_t.h> #include <time.h> #include <sys/ipc.h> #define SHM_R 0400 #define SHM_W 0200 #define SHM_RDONLY 010000 #define SHM_RND 020000 #define SHM_REMAP 040000 #define SHM_EXEC 0100000 #define ...
C
.ant-slider-mark-text { white-space: nowrap; } .detailed-preference { padding-bottom: 6px; } .detailed-preference + .detailed-preference { padding-top: 6px; margin-top: 6px; border-top: solid 1px #eff2f5; } .preference-detailed-title { display: block; font-size: 16px; margin-bottom: 6px; font-wei...
CSS
icenses this file to You 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software ...
Java
const docElement = document.documentElement; const fullScreenFunc = docElement.requestFullscreen || docElement.mozRequestFullScreen || docElement.webkitRequestFullscreen || docElement.msRequestFullscreen; if (typeof fullScreenFunc === 'function') { fullScreenFunc.call(docElement); } }; co...
Typescript
시간이 지남에 따라 점진적으로 잡음(및 잡음) 데이터를 제거하는 새로운 DDPM 프레임워크인 _Rolling Diffusion Models_를 제시하였다. 비디오 및 유체 역학 데이터에 대한 방법을 검증한 결과, 롤링 확산의 자연 유도 편향은 데이터가 매우 동적일 때 가장 효과적으로 이용된다는 것을 관찰했다. 이는 예를 들어 비디오, 오디오 및 날씨 또는 기후 모델링에서 흥미로운 미래 방향을 허용한다.\n' + '\n' + '\\begin{table}\n' + '\\begin{tabular}{l c} \\hline \\hline Me...
HTML
plot::Line::new(egui::plot::Values::from_values_iter( values .0 .iter() .enumerate() .map(|(i, value)| egui::plot::Value::new(i as f64, *value)), )); egui::Area::new("Performance area") .anchor(egui::Align2::LEFT_TOP, [0., 0.]) .show(egui_...
Rust
"items": {"type": "string"}, "description": "源视频文件路径列表" }, "style": { "type": "string", "enum": ["highlights", "emotional", "funny", "romantic", "dra...
Python
e: small; } div.code-block-caption code { background-color: transparent; } table.highlighttable td.linenos, span.linenos, div.highlight span.gp { /* gp: Generic.Prompt */ user-select: none; -webkit-user-select: text; /* Safari fallback only */ -webkit-user-select: none; /* Chrome/Safari */ -moz-user-sele...
CSS
.prio then stat = modifiers.set else stat = cache.set end if isnumber(stat) then if invert then stat = (stat - modifiers.add - cache.add) / modifiers.mul / cache.mul else stat = (stat + modifiers.add + cache.add) *
Lua
--> * @generated * @ordered */ int ASSEMBLY_ASSIGNMENT_FEATURE_COUNT = 3; /** * The meta object id for the '{@link com.yakindu.solidity.solidity.impl.AssemblyLabelImpl <em>Assembly Label</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see com.yakindu.solidity.solidity.impl.AssemblyL...
Java
lsr r2, r0, #28 lsl r0, r4, #17 lsr r0, r0, #27 lsl r0, r0, #31 lsr r1, r0, #29 lsl r0, r4, #27 lsl r4, r4, #22 lsr r4, r4, #27 lsr r6, r0, #27 mov r0, #0x1 lsl r4, r4, #31 and r0, r6 lsr r4, r4, #30 orr r0, r4 orr r0, r1 orr r0, r2 orr ...
Assembly
.859-1.283-2.215-2.919-3.982-4.765-5.186C12.892 18.612 10.887 18 8.871 18H7a1 1 0 01-1-1Z"/><path d="M35.293 26.51a1 1 0 011.414 0l4.78 4.783a1 1 0 010 1.414l-4.78 4.782a1 1 0 01-1.414-1.414L39.366 32l-4.073-4.075a1 1 0 010-1.415Zm-5.22-19.77A2.524 2.524 0 0131.857 6h2.286a2.524 2.524 0 012.524 2.524v2.81h2.81A2.524 2....
Dart
            for (let j = 1; j * j * j <= i; j++)                 if (j * j * j == i)                     cnt++;         return cnt;     }     // Driver code      let a = 7, b = 30;     document.write("Count of Cubes is " + countCubes(a, b)); // This code is contributed by Surbhi Tyagi </script> ``` **Output:**  ...
Markdown
or("Longitude not found")?; let depth_index = column_map .keys() .find(|name| name.to_lowercase().starts_with("depth")) .and_then(|key| column_map.get(key)) .map(|&value| value); let elevation_index = column_map .keys() .find(|name| name.to_lowercase().starts_with...
Rust
#region Version Info Header /* * $Id$ * $HeadURL$ * Last modified by $Author$ * Last modified at $Date$ * $Revision$ */ #endregion using System; using System.Globalization; using System.Threading; using System.Windows.Forms; using RssBandit.Resources; using RssBandit.WinGui.Forms; using SingleInstanceHelper; n...
C#
= {"Бочка с фейерверками",nil}, [63941] = {"Мешок зерна",nil}, [63942] = {"Ша Страха",nil}, [63943] = {"Mistfall Village Fire Bunny",nil}, [63944] = {"Длинноплавниковый крепкозуб",nil}, [63945] = {"Хранитель истории Фу",nil}, [63946] = {"Послушница монастыря Тянь",nil}, [63947] = {"Доминатор Шао-Тень",nil}, [63948] = {...
Lua
alid(phys) then phys:SetVelocity(thr) phys:AddAngleVelocity(Vector(0, 1500, 0)) phys:Wake() end self:Remove() end if SERVER then --- -- @ignore function SWEP:Equip() self:SetNextPrimaryFire(CurTime() + self.Primary.Delay * 1.5) self:SetNextSecondaryFire(CurT...
Lua
font-icon-view.directory-up-icon { -fx-code-point: 989683; /* folder-arrow-up-outline */ } .font-icon-view.home-icon { -fx-code-point: 984737; /* home-outline */ } .font-icon-view.add-directory-icon { -fx-code-point: 986013; /* folder-plus-outline */ } .font-icon-view.list-view-icon { -fx-code-point:...
CSS
</div> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <td align="left"></td> <td align="right"><div class="copyright-footer">Copyright &#169; 2009-2012 Karsten Ahnert and Mario Mulansky<p> Distributed under the Boost Software License, Version 1.0. (See accompan...
HTML
te', () => { const date = new Date(2008, 11 /* Dec */, 29) setWeekYear(date, 2000) assert.deepStrictEqual(date, new Date(2008, 11 /* Dec */, 29)) }) it('sets local week-numbering years less than 100', () => { const initialDate = new Date(2008, 11 /* Dec */, 29) const expectedResult = new Date(0...
Typescript
co::ERROR::SUCCESS => Ok(0), // actual zero position err => Err(err), }, pos => Ok(pos), } } /// [`GetShellWindow`](https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-getshellwindow) /// static method. pub fn GetShellWindow() -> Option<HWND> { unsafe { user32::GetShellWi...
Rust
() && BId != Builtin::BImemset) DiagRuntimeBehavior( Dest->getExprLoc(), Dest, PDiag(diag::warn_arc_object_memaccess) << ArgIdx << FnName << PointeeTy << Call->getCallee()->getSourceRange()); else if (const auto *RT = PointeeTy->getAs<RecordType>()) { if ...
C++
ators.pattern(/^(male|female)$/i)]], height: [ "", [ Validators.required, Validators.pattern("^[0-9]*$"), Validators.min(1), Validators.max(300) ] ], weight: [ "", [ Validators.required, Validators.pattern("^[0-9]*$"), Val...
Typescript
Bit or 8-Bit Mode Select 0 - M_0 : Receiver and transmitter use 8-bit data characters. 0x1 - M_1 : Receiver and transmitter use 9-bit data characters. (rw) (01) RSRC - [05:05] - Receiver Source Select 0 - RSRC_0 : Provided LOOPS is set, RSRC is cleared, select...
Markdown
nse // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option. This file may not be copied, modified, or distributed // except according to those terms. // // See the LICENSE-APACHE or LICENSE-MIT files at the top-level directory // of this distribution. #[cfg(test)] #[macro_use] extern crate proptest;...
Rust
f41dcc61aec0ba0ecaacc6a"> 616</a></span>&#160; <a class="code" href="structcutlass_1_1Coord.html">Stride</a> &amp; <a class="code" href="structcutlass_1_1layout_1_1RowMajorTensorOpMultiplicandCongruous.html#afcbbd0705f41dcc61aec0ba0ecaacc6a">stride</a>() {</div><div class="line"><a name="l00617"></a><span class="line...
HTML
.sin(2 * t); points[i][2] = Math.sin(3 * t); } return points; } /** * This function returns uniformly distributed points on the space S^k x ... x S^k. * Special cases of this include the 2-torus S^1 x S^1 in R^4, as well as the sphere S^k. * * @param numPoints the number of points to generate * @...
Java
c\xa0\x77\x02\x2c\x08\x29\xf8\x83" shellcode += b"\x7c\x03\xfc\x00\x74\xe1\x31\xc0\x55\x6a\x01\x55" shellcode += b"\x50\xe8\x00\x00\x00\x00\x81\x04\x24\x92\x00\x00" shellcode += b"\x00\x50\x53\x29\x3c\x24\x56\xb8\xc4\x5c\x19\x6d" shellcode += b"\xe8\x25\x00\x00\x00\x31\xc0\x50\x50\x50\x56\xb8" shell...
Python
* * Input: * ["FirstUnique","showFirstUnique","add","showFirstUnique","add","showFirstUnique","add","showFirstUnique"] * [[[2,3,5]],[],[5],[],[2],[],[3],[]] * Output: * [null,2,null,2,null,3,null,-1] * * Explanation: * FirstUnique firstUnique = new FirstUnique([2,3,5]); * firstUnique.showFirstUnique(); // ret...
Rust
ubs;": "\u2663", "clubsuit;": "\u2663", "colon;": "\u003A", "Colon;": "\u2237", "Colone;": "\u2A74", "colone;": "\u2254", "coloneq;": "\u2254", "comma;": "\u002C", "commat;": "\u0040", "comp;": "\u2201", "compfn;": "\u2218", "complement;": "\u2201", "complexes;": "\u2102", "cong;": "\u2245", "congdot;": "...
JavaScript
-events:none;position:absolute;right:-1px;top:-1px;transform:none;z-index:-1}.touch.wp.x1-5 ._56bs::before,.touch.x2 ._56bs::before{left:0;top:0;transform:translate(-0.5px, -0.5px)}.touch ._56bt::before,.touch.wp.x1-5 ._56bt::before,.touch.wp.x2 ._56bt::before{content:none;display:none}._56bt,._56bt ._58gn,a._56bt{back...
CSS
@JvmOverloads @JvmStatic fun <R> executeAsyncProvideError( callable: Callable<R>, callback: CallbackWithError<R>? = null ): CompletableFuture<R?> { return CompletableFuture.supplyAsync { try { return@supplyAsync callable.call() } catch (th: Throwable) { log.error(...
Kotlin
X509Certificate cert = (X509Certificate)cf.generateCertificate(new ByteArrayInputStream(info.getEncoded())); if (cert == null || !areEqual(cert.getEncoded(), certs.get(0).toASN1Primitive().getEncoded())) { fail("PKCS7 cert not read"); } X509CRL crl = (X509CRL)cf.generateCR...
Java
) { // Do we something in the local buffer? --m_nInPrefetchBuf; if (++m_nBufpos == m_nBufsize) m_nBufpos = 0; return m_aBuffer[m_nBufpos]; } if (++m_nBufpos == m_nAvailable) _adjustBuffSize (); final char c = _readByte (); m_aBuffer[m_nBufpos] = c; // Th...
Java
isOne()=%d\n", P1.z.isOne()); CYBOZU_BENCH_C("G1::dbl(1)", C, G1::dbl, P3, P1); P1.normalize(); printf("z.isOne()=%d\n", P1.z.isOne()); CYBOZU_BENCH_C("G1::dbl(2)", C, G1::dbl, P3, P1); } void benchAddDblG2() { puts("benchAddDblG2"); #ifndef NDEBUG puts("skip in debug"); return; #endif const int C = 100000; G...
C++
ic noise":"[计] 系统噪声", "systematic planning of national economy":"[经] 国民经济系统性的计划工作", "systematic procedure":"[经] 系统程序", "systematic programming":"[计] 系统化程序设计", "systematic proof method":"[计] 系统证明法", "systematic regulator":"[计] 系统调节器", "systematic sampling":"[计] 系统抽样\\n[化] 系统抽样", "systematic theology":"系统神学", "systematic...
Typescript