content
stringlengths
2
6.21k
label
stringclasses
16 values
rgba(0,0,0,.1);box-shadow:3px -2px 3px 0 rgba(0,0,0,.1)}.popover.bs-popover-right,.popover.bs-popover-auto[x-placement^="right"]{margin-left:12px}.popover.bs-popover-right .arrow::before,.popover.bs-popover-auto[x-placement^="right"] .arrow::before{top:4px;left:6px;-webkit-box-shadow:2px 1px 3px 0 rgba(0,0,0,.1);box-s...
CSS
[cards[i],cards[j],cards[k]]; cards = this._deleteValue(cards,[i,j,k]); return {values:values,cards:cards}; } for (let l = k + 1; l < lenth; l++) { if (game101_logic.isBomb([cards[i],cards[j],cards[k],cards[...
Typescript
#ifndef __CCB_KEYFRAME_H__ #define __CCB_KEYFRAME_H__ #include "CCRef.h" #include "CCValue.h" namespace spritebuilder { class CCBKeyframe : public cocos2d::Ref { public: enum class EasingType { INSTANT, LINEAR, CUBIC_IN, CUBIC_OUT, CUBIC_INOUT, ...
C
d local msgBytes = {} for i = 0, msgLength do msgBytes[i] = 0 end msgBytes[0] = BYTE_PROTOCOL_HEAD msgBytes[1] = bodyLength + BYTE_PROTOCOL_LENGTH + 1 msgBytes[2] = BYTE_DEVICE_TYPE if (query) then bodyBytes[0] = 0x41 bodyBytes[1] = 0x81 bodyBytes[3] = 0xFF ...
Lua
_capacity = 5000000 [naquadah_bottle] capacity = 30000 energy_capacity = 8000 #### Zat'nik'tel config [zat] # Maximum size of an object or contraption to get dissolved? max_size = 110 # Maximum Kill distance. E.g. When you hit a contraption and the "flashes" move on the contraption, a player which is below that dista...
Lua
içerisinde Türkçe karakter geçen, `çalı="bitki"` gibi bir değişken tanımlamak istersem, konsol bana çıktı olarak "**komut yok**" hatasını basıyor. ```bash ┌──(taylan㉿linuxdersleri)-[~] └─$ çalı="bitki" çalı=bitki: command not found ``` Bunun nedeni de değişken tanımlarında Türkçe karakter kullanımının geçersiz olmas...
Markdown
f80cfe2df16a2cf65bd92dd597b07\z 07e0917af48bbb75fed413d238f5555a\z 7a569d80c3414a8d0859dc65a46128ba\z b27af87a71314f318c782b23ebfe808b\z 82b0ce26401d2e22f04d83d1255dc51a\z ddd3b75a2b1ae0784504df543af8969b\z e3ea7082ff7fc9888c144da2af58429e\z c96031db...
Lua
filename: 'flip', desc: 'give a number x, and get its reversed.', }) flipBtn.addEventListener('click', () => { const desc = 'Give a number to flip it. Example 123 would be 321!' const numberOfInputBox = 1 render.displayModal({ callBack: flip, desc, numberOfInputBox }) }) //##################################...
Typescript
ackage:flutter/foundation.dart'; import 'package:imboy/config/const.dart'; import 'package:imboy/component/http/http_client.dart'; import 'package:imboy/component/http/http_response.dart'; class UserDeviceProvider extends HttpClient { Future<Map<String, dynamic>?> page({ int page = 1, int size = 10, }) as...
Dart
local lsp = function() local buf_clients = vim.lsp.get_clients({ bufnr = 0 }) if #buf_clients == 0 then return "" end return " " end local formatter = function() local formatters = require("conform").list_formatters(0) if #formatters == 0 then return "" end return "󰛖 " end local linter = f...
Lua
p><dir> <p>amel. : Phos.</p> <p>the arms : Berb., sep.</p> <p>in open air : Coff., <i><font COLOR="#0000ff">nat-c.</p></dir> </i></font><b><p>EXERTION</b>, on : Ars., cact., cop., nit-ac., sol-n.</p><dir> <p>vision : All-s., <i><font COLOR="#0000ff">cur.</font>, <font COLOR="#0000ff">graph.</font>, <font COLOR="#000...
HTML
_WITPS.html">Prev</a></li><li><a href="VL_XYZ2LAB.html">Next</a></li></ul><div class="documentation"><p> [XP1,XP2]=<a href="VL_WTPS.html">VL_WTPS</a>(PHI,YP) computes the thin-plate spline (TPS) specified by the basis PHI and the warped control point Yp. </p><p> Yp is a 2xK matrix with one column per control point and ...
HTML
fSides = core.randi(3,8), size = 35, Xcenter = 0, Ycenter = 0; ctx.beginPath(); ctx.moveTo (Xcenter + size * Math.cos(0), Ycenter + size * Math.sin(0)); for(var i=1; i<=numberOfSides;i+=1) { ctx.lineTo (Xcenter + size * Math.cos(i * 2 * Math.PI / numberOfSides), Ycenter + size * Math.sin(i * ...
HTML
| | `value` | 由用户自定义 | 规定 input 元素的值,也就是提交到服务器的值 | | `checked` | checked | 规定此 input 元素首次加载时应当被选中 | | `maxlength` | 正整数 | 规定输入字段中的字符的最大长度 | - `name` 和 `value` 是每个表单元素都有的属性值,主要给后台人员使用 - `name` 表单元素的名字,要求:单选按钮和复选框要有相同的 name 值 - `checked` 属性主要针对于单选按钮和复选框,主要作用:打开页面时默认选中某个表单元素 - `maxlen...
Markdown
= self.w_network(x).view(batch_size, self.num_transformed, self.num_bins) #has shape (Nbatch, num_transformed, num_bins) heights = self.h_network(x).view(batch_size, self.num_transformed, self.num_bins) #has shape (Nbatch, num_transformed, num_bins) derivatives = self.d_network(x).view(batch_s...
Python
算出敌人与O点连线和X轴正方向的夹角Θi,B炮和C炮可以计算出敌人所处弧形炮的半径Ri。现在有N个敌人,至少需要发射几次炮弹才能清理所有的外星人?(B、C联动只算发射一次) PS: (1) 假设Θi为角度制,范围1~179(单位:度) (2) 假设敌人出现的最大半径为1000 ## 输入 多组测试数据(组数不超过10),对于每组数据,输入N+1行,第一行输入一个正整数N,代表外星人的个数。接下来的N行,每行输入两个正整数,为对应的A炮计算出的Θi 和 B、C炮计算出的Ri。 ## 输出 对于每组数据,输出一行,代表发射的最少次数。 ## 输入样例 ``` 3 1 2 2 2 3 4 ``` ## 输出样例 ``...
Markdown
#ifndef _STLP_PTRS_SPECIALIZE_H # define _STLP_PTRS_SPECIALIZE_H // the following is a workaround for arrow operator problems # if defined ( _STLP_NO_ARROW_OPERATOR ) // User wants to disable proxy -> operators # define _STLP_DEFINE_ARROW_OPERATOR # define _STLP_ARROW_SPECIALIZE_WITH_PTRS(_Tp) # else // Compi...
C
<strong>120</strong> <span>Watched</span> </div> <div> <strong>78</strong> <span>Rated</span> </div> <div> <strong>34</strong> <span>Favorites</span> </div> </div> <di...
JavaScript
LE) { if (!actionAllowed) { // if block is inverted keep door open when not authorized (trap mode) level.scheduleTick(pos, state.getBlock(), 60); //schedule tick for the next close attempt (~3sec) return; } } else if (actionAllowed) { // when normal only keep door open for autho...
Java
2 .DWrap{width:586px;padding:1px;border:1px solid #7B828B;background:#fff;filter:progid:DXImageTransform.Microsoft.Shadow(color="#909090",Direction=135,Strength=4);-moz-box-shadow:2px 2px 5px #909090;-webkit-box-shadow:2px 2px 5px #909090}.D2 .pages{width:544px;margin:0 auto;padding:10px 5px 8px;border-bottom:1px dotte...
HTML
* 前端详情 */ @RequestMapping("/detail/{id}") public R detail(@PathVariable("id") Long id, HttpServletRequest request){ logger.debug("detail方法:,,Controller:{},,id:{}",this.getClass().getName(),id); FangchanCollectionEntity fangchanCollection = fangchanCollectionService.selectById(id); ...
Java
olean if a field has been set. func (o *NetworkInsightsReportGetRequest) HasSecret() bool { if o != nil && o.Secret != nil { return true } return false } // SetSecret gets a reference to the given string and assigns it to the Secret field. func (o *NetworkInsightsReportGetRequest) SetSecret(v string) { o.Secret...
Go
RedPoint(v.clickNode, isRed, 47, 47, 0) end end function SetSkillItemEnd() if (not isSetPassiveParent and #skillItems > 3) then isSetPassiveParent = 1 CSAPI.SetParent(skillItems[4].gameObject, skillGrids2) end -- red for k, v in ipairs(skillItems) do local isRed = false ...
Lua
dPhi)) + 360.0) % 360.0; }, toDeg: function(n:number) { return n * 180 / Math.PI; }, toRad: function(n:number) { return n * Math.PI / 180; } };/** * Project Lavenza * Copyright 2017-2019 Aigachu, All Rights Reserved * * License: https://github.com/Aigachu/Lavenza-II/blob/master/LICENSE */ // Modules. impor...
Typescript
inue; if (line.indexOf("</table") == 0) continue; line = line.replaceAll("<tr><td>", "||"); line = line.replaceAll("</td></tr>", "||"); line = line.replaceAll("</td><td>", "||"); line = line.replaceAll("</li>", ""); line = line.replaceAll("<li>", " * "); if (line.trim().indexOf("<ul>") == 0) cont...
Java
.075);--bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, .175);--bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, .075);--bs-focus-ring-width: .25rem;--bs-focus-ring-opacity: .25;--bs-focus-ring-color: rgba(13, 110, 253, .25);--bs-form-valid-color: #198754;--bs-form-valid-border-color: #198754;--bs-form-invalid-color: #d...
CSS
", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES // OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, // WHETHER IN AN ACTION OF CONTRA...
C#
d\":\"d3f:ApplicationHardening\",\"children\":[{\"@id\":\"d3f:ApplicationConfigurationHardening\",\"d3f:d3fend-id\":\"D3-ACH\",\"d3f:definition\":\"Modifying an application's configuration to reduce its attack surface.\",\"d3f:ref-count\":{\"@type\":\"http://www.w3.org/2001/XMLSchema#integer\",\"@value\":\"2\"},\"rdfs:...
HTML
# -*- coding: utf-8 -*- import re import sys from wheel.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
Python
frags >= 2 { let back_0 = RangeFragIx::new(num_out_frags - 1); let back_1 = RangeFragIx::new(num_out_frags - 2); if out_frags[back_0] == *frag && out_frag_metrics[back_0] == *frag_metrics { new_fix = Some(back_0); } else if out_frags[back_1] == *frag && out_frag_metrics[back_...
Rust
/// between [Parent] and [Child]. /// /// [parentAssociationGetter] is a function that returns list of association /// keys between [Parent] and [Child] given an instance of [Parent]. /// /// [childAssociationGetter] is a function that returns list of association /// keys between [Child] and [Parent] given ...
Dart
; const subGroups = row.createSubGroup(); const tr = document.createElement('tr'); tr.classList.add('subTable'); tr.appendChild(document.createElement('td')); const td = document.createElement('td'); td.colSpan = 3; for (c...
HTML
throw new RuntimeException("glCheckFramebufferStatusEXT returned unknown status:" + var1); case 36057: throw new RuntimeException("GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT"); case 36058: throw new RuntimeException("GL_FRAMEBUFFER_INCOMPLETE_FORMA...
Java
[机] 朴充电池, 辅助电池", "boosting of ocane rating":"[机] 提高辛烷值", "boosting site":"[机] 升压都位", "boosting voltage":"[机] 补充电势", "boosts":"n. 宣扬( boost的名词复数 ); 帮助\\nv. 促进( boost的第三人称单数 ); 增加; 吹捧; 向上推起", "boot":"n. 长靴, 踢, 解雇, 效用\\nvt. 使穿靴, 踢, 解雇, 有用\\n[计] 引导, 自举", "boot button":"[电] 启动程序按钮", "boot camp":"n. 新兵训练营; 劳教营", "boot cream"...
Typescript
var(--state-hover-opacity, 1); } .-state:active::before { background: var(--state-pressed-color, var(--state-color)); opacity: var(--state-pressed-opacity, .6); --tw-ring-color: var(--state-ring-color, currentColor); @apply -ring -duration-700; } .-state:focus-visible::b...
CSS
next_syn=first_syn->get_next(); IVP_Mindist *mdist = first_syn->get_mindist(); mm->recalc_exact_mindist( mdist ); } } void IVP_Real_Object::get_all_near_mindists() { IVP_Movement_Type temp_movement= (IVP_Movement_Type)physical_core->movement_state; physical_core->movement_state=IVP_...
C++
true; } void Strat::Content::putAppearanceTo( BufferString& str ) const { FileMultiString fms; fms += pattern_.type_; fms += pattern_.opt_; fms += color_.getStdStr(); str = fms; } const Strat::Content& Strat::Content::unspecified() { mDefineStaticLocalObject( Strat::Content, unspec, ("") );...
C++
t">true</code>. Otherwise, <code class="computeroutput"><a class="link" href="is_expr.html" title="Struct template is_expr">proto::is_expr</a>&lt;T&gt;::value</code> is <code class="computeroutput">false</code>. </p> </div> </div> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/...
HTML
<div class="a-column a-span10 a-spacing-none a-span-last"> <span lang="es-ES"> <span class="a-size-base a-color-base s-line-clamp-2"> knee pa...
HTML
= 0; i < NITER; i++) { nsz = nallocx(sz, MALLOCX_ALIGN(alignment) | MALLOCX_ZERO); assert_zu_ne(nsz, 0, "nallocx() error for alignment=%zu, " "size=%zu (%#zx)", alignment, sz, sz); ps[i] = mallocx(sz, MALLOCX_ALIGN(alignment) | MALLOCX_ZERO); assert_ptr_not_null(ps[i], ...
C
rn const char AUTHORITY_SIGNKEY_1[]; extern const char AUTHORITY_SIGNKEY_A_DIGEST[]; extern const char AUTHORITY_SIGNKEY_A_DIGEST256[]; extern const char AUTHORITY_CERT_2[]; extern const char AUTHORITY_SIGNKEY_2[]; extern const char AUTHORITY_SIGNKEY_B_DIGEST[]; extern const char AUTHORITY_SIGNKEY_B_DIGEST256[]; extern...
C
.disable-zen-mode--visible{opacity:1;pointer-events:var(--ui-pointerEvents);transition:visibility 0s linear .3s,opacity .5s;transition-delay:.8s;visibility:visible}.excalidraw .layer-ui__wrapper .footer-center>*,.excalidraw .layer-ui__wrapper .layer-ui__wrapper__footer-left>*,.excalidraw .layer-ui__wrapper .layer-ui__...
CSS
ecoderSingleByteMappings() { return Decoder.byteToCharTable; } public short[] getEncoderIndex1() { return Encoder.index1; } public String getEncoderIndex2() { return Encoder.index2; } private static class Decoder extends SingleByteDecoder { public Decoder(Cha...
Java
tricPrecision'%3e %3cpath d='M5.2%2c5.9L9%2c9.7l3.8-3.8l1.2%2c1.2l-4.9%2c5l-4.9-5L5.2%2c5.9z'/%3e %3c/g%3e %3c/svg%3e"},27646:n=>{n.exports="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' viewBox='0 0 18 18'%3e %3cg class='jp-icon3' fill='%23616161' shape-rendering='geometricPrecision'%3e %3cpa...
JavaScript
, "⚱️", "🧿", "🪬", "🗿", "🪧", "🪪",), R.drawable.icon_emojibar_symbols to listOf("🏧", "🚮", "🚰", "♿", "🚹", "🚺", "🚻", "🚼", "🚾", "🛂", "🛃", "🛄", "🛅", "⚠️", "🚸", "⛔", "🚫", "🚳", "🚭", "🚯", "🚱", "🚷", "📵", "🔞", "☢️", "☣️", "⬆️", "↗️", "➡️", "↘️", "⬇️", "↙️", "⬅️", "↖️", "↕️", "↔️", "↩️", "↪️",...
Kotlin
fault:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.printStyle=void 0;var n=i(19),s=o(n),r=i(6),a=o(r),h=i(8),d=o(h),l=i(0),u=o(l),c=i(1),p=o(c),f=i(2),m=!1,v=void 0,g="background: #FFeeee; color: #dd0000",y=function(){function t(){(0,u.default)(this,t)}return(0,p.default)(t,null,[{key:"validate",value:function...
JavaScript
/* * x86_64/AVX/AES-NI assembler implementation of Camellia * * Copyright © 2012-2013 Jussi Kivilinna <jussi.kivilinna@iki.fi> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either ver...
Assembly
[SSR_STATE_KEY] || {}; /** * Gets the stats for all of the measured services that ran when rendering the app on the server. */ // @ts-ignore TODO: fix noImplicitAny error here export const getSsrStats = () => window[SSR_STATS_KEY] || {}; /** * Private constant to make sure we don't need to keep calling Object.keys...
Typescript
result of FFT will be stored to this array. * @param[in] N: Number of complex elements in input array * * @return * - ESP_OK on success * - One of the error codes from DSP library */ esp_err_t dsps_bit_rev4r_fc32(float *data, int N); esp_err_t dsps_bit_rev4r_fc32_ae32(float *data, int N); esp_err_t dsps...
C
nt() val expectedMessages = setOf( LatexLogMessage("fontenc: Encoding file `15enc.def' not found. You might have misspelt the name of the encoding.", "/home/abby/texlive/2019/texmf-dist/tex/latex/base/fontenc.sty", 104, ERROR), LatexLogMessage("Font T1/cmr/m/n/10=ecrm1000 at 10.0pt not ...
Kotlin
u6A5F\ \u69CB\u306B\u4F9D\u5B58\u3057\u3066\u3044\u307E\u3059\u304C\u3001\u3088\u308AClojure\u3089\ \u3057\u3044\u65B9\u6CD5\u3067\u305D\u308C\u3089\u3092\u6D3B\u7528\u3059\u308B\u3053\ \u3068\u304C\u3067\u304D\u307E\u3059\u3002`clojure.tools.logging`\u306E\u4F7F\u7528\ \u65B9\u6CD5\u3092\u898B\u3066\u307F\u307...
Markdown
0,1);animation-timing-function:cubic-bezier(.14,0,0,1);opacity:1;-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{opacity:0;-webkit-transform:rotate(315deg);transform:rotate(315deg)}}@keyframes checkbox-indeterminate-checked-mixedmark{from{-webkit-animation-timing-function:cubic-bezier(.14,0,0,1);animation-timi...
HTML
message_create("\\#A0FFE0\\'/mq_server WallJump [on/off]'\\#FFFFFF\\ - Default is on") djui_chat_message_create("\\#A0FFE0\\'/mq_server Interact [on/off]'\\#FFFFFF\\ - Default is on") djui_chat_message_create("\\#A0FFE0\\'/mq_server AutoStrafe [on/off]'\\#FFFFFF\\ - Default is off") djui_chat_message_create("\...
Lua
kup_your_seed_phrase": "备份您的种子短语", "this_is_the_only_key_to_access_and_decrypt_your_vault": "这是访问和解密您保险库的唯一密钥", "backup": "备份", "recently_imported_items": "最近导入的项目", "recently_imported_items_desc": "您对最近的导入满意吗?如果不满意,您可以撤销更改。", "decide": "决定", "no_internet_connection": "无网络连接", "no_internet_connection_desc...
Dart
cpu_intr_2_329: setx 0x3d0011, %g1, %o0 ta T_SEND_THRD_INTR T2_asi_reg_rd_171: mov 0x32, %r14 .word 0xfadb8e40 ! 3983: LDXA_R ldxa [%r14, %r0] 0x72, %r29 .word 0xf8c521db ! 3985: LDSWA_I ldswa [%r20, + 0x01db] %asi, %r28 cpu_intr_2_330: setx 0x3e030f, %g1, %o0 ta T_SEND_THRD_INTR cpu_intr_2_331: setx 0x3d030f...
Assembly
rincipally because the SQL syntax makes * it impossible to have a pushed-down qual that refers to the inner relation * of a semijoin; so there is no strong need to distinguish join quals from * pushed-down quals. This is convenient because for almost all purposes, * quals attached to a semijoin can be treated the ...
C
sma:read_s32_fix0(30813), ac_cos_phi = sma:read_u32_fix3(30949), ac_p1_power = sma:read_s32_fix0(30777), ac_p2_power = sma:read_s32_fix0(30779), ac_p3_power = sma:read_s32_fix0(30781), ac_p1_voltage = sma:read_u32_fix2(30783), ac_p2_voltage = sma:read_u32_fix2(30785), ac_p3_voltage = sma:r...
Lua
r1, #0x4 bl Function_2245068 ldr r2, [pc, #0x24] @ [0x2244150] (=0x22533bc) mov r1, #0x3f str r0, [r2] ldr r0, [pc, #0x1c] @ [0x2244154] (=REG_BLDCNT) mov r2, #0x10 bl G2x_SetBlendBrightness_ ldr r0, [pc, #0x14] @ [0x2244158] (=REG_BLDCNT_SUB) mov r1, #0x3f mov r2, ...
Assembly
(): SlopeInfo? { return lastUphill } fun getLastDownhill(): SlopeInfo? { return lastDownhill } private fun getProjectionDist(x: Double, y: Double, fromx: Double, fromy: Double, tox: Double, toy: Double): Double { val mDist = (fromx - tox) * (fromx - tox) + (fromy - toy) * (fromy - toy) val projection = KM...
Kotlin
nction *__set; union _zend_function *__unset; union _zend_function *__isset; union _zend_function *__call; union _zend_function *__tostring; union _zend_function *serialize_func; union _zend_function *unserialize_func; zend_class_iterator_funcs iterator_funcs;// 迭代 /* 类句柄 */ zend_object_value (*creat...
Markdown
module core/pack */ export default class Pack { /** * */ // static packTo8BitsTexture(bits, channels, frame, textureSize, startVoxel, stopVoxel) { // let packed = { // textureType: null, // data: null // }; // let packIndex = 0; // let frameIndex = 0; // let inFrameIndex = 0; ...
JavaScript
} } // Copyright (c) 2015, 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. @TestOn('browser') library polymer.test.src.micro.attributes_test; import 'dart:html'; import 'da...
Dart
triu (A), "upper"); %! cl = chol (tril (A), "lower"); %! assert (cu, cl', eps); %!test %! cca = chol (Ac); %! %! ccal = chol (Ac, "lower"); %! ccal2 = chol (tril (Ac), "lower"); %! %! ccau = chol (Ac, "upper"); %! ccau2 = chol (triu (Ac), "upper"); %! %! assert (cca'*cca, Ac, eps); %! assert (ccau'*ccau, Ac,...
C++
@author genta @date Apr. 6, 2001 @date 2006.10.25 ryoji オプション文字列の大文字小文字を区別しない */ int CCommandLine::CheckCommandLine( LPWSTR str, //!< [in] 検証する文字列(先頭の-は含まない) WCHAR** arg, //!< [out] 引数がある場合はその先頭へのポインタ int* arglen //!< [out] 引数の長さ ) { /*! コマンドラインオプション解析用構造体配列 */ struct _CmdLineOpt { LPCWSTR opt; //!< オ...
C++
].Color AL.NewTimer(10000, function() iGameState = GAMESTATE_FINISH end) SetGlobalColorBright(tGameStats.Players[CGameMode.iWinnerID].Color, tConfig.Bright) end CGameMode.SnowBallMachine = function() AL.NewTimer(10, function() if iGameState ~= GAMESTATE_GAME then return nil; end ...
Lua
code length that was allowed to get this far is one bit) */ if (huff !== 0) { //table.op[next + huff] = 64; /* invalid code marker */ //table.bits[next + huff] = len - drop; //table.val[next + huff] = 0; table[next + huff] = ((len - drop) << 24) | (64 << 16) |0; } /* set return parame...
JavaScript
field_val = cur_field_val .. "\n" line_spacer = "" else cur_field_val = cur_field_val .. line_spacer .. strip_whitespace(line) line_spacer = " " end ------------------------------------------------------------------...
Lua
tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.7...
HTML
unsel but a formidable bulwark against dark forces.</li></ul><pre><code>print("Glorfindel") print("the") print("Balrog-Slayer") </code></pre><h2>The Essence of Elven Might</h2><h3>A Paragon of Strength</h3><p>While Legolas enchants with his feats, Glorfindel embodies the quintessential strength and dignity of the Eldar...
HTML
= earcutr::earcut(&vec![], &vec![], 2); println!("{:?}", indices); assert!(indices.len() == 0); } // file based tests #[test] fn test_building() { assert!(area_test("building", 13, 0e0)); } #[test] fn test_dude() { assert!(area_test("dude", 106, 0e0)); } #[test] fn test_water() { assert!(area_t...
Rust
s_firstStart=true; std::mutex JKQTMathText::s_mutex; // -------------------------------------------------------------------------------------------------- // -- implementation of the JKQTMathText methods // -------------------------------------------------------------------------------------------------- JKQTMathTe...
C++
emode, previous_gamemode, world_names: LengthPrefixedVec::new(world_names), dimension_codec: Nbt::new(dimension_codec), dimension: Nbt::new(dimension), world_name, hashed_seed, max_players, vi...
Rust
M8_BRK_IRQn TIM12_IRQn #define TIM8_UP_IRQn TIM13_IRQn #define TIM8_UP_TIM13_IRQn TIM13_IRQn #define TIM8_TRG_COM_IRQn TIM14_IRQn #define TIM8_TRG_COM_TIM14_IRQn TIM14_IRQn #define TIM9_IRQn TIM1_BRK_TIM15_IRQn #define TIM1_BRK_IRQn TIM1_BRK_TIM15_IRQn #define TIM...
C
truct sockaddr_in); xit_errno = recvfrom( xntp_this->xfdt_sockfd, (x_char_t *)&xnpt_pack, sizeof(xntp_pack_t), 0, (struct sockaddr *)&xin_addr, (socklen_t *)&xit_alen);...
C
throws UserDataException { ArrayList<Message> errorMsgs = new ArrayList<Message>(); Map<ServerDescriptor, AuthenticationData> servers = getUserData().getRemoteWithNoReplicationPort(); Map<?, ?> hm = (Map<?, ?>) qs.getFieldValue(FieldName.REMOTE_REPLICATION_PORT); Map<?, ?> hmSecure = ...
Java
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard. // #import <TouchRemote/TRDeviceSetupAction.h> @class NSArray, NSString; @interface TRDeviceSetupAuthenticateAction : TRDeviceSetupAction { } + (id)actionForCancelledRequestWithOrig...
C
> IResult<I::Item, I, S, M> { let ICont { ok: IOk { mut input, err, state, .. }, drop, .. } = cont; if cont.ok.cutted { drop() } let (index, pos) = (input.index(), input.pos()); match input.next() { None => Err(Eb::unexpected_eoi().at::<I>(index, pos, None...
Rust
0x206F) { return(4); }else if(ch >= 0xFB50 && ch <= 0xFC62) { return(presALink[ch-0xFB50]); } else if(ch >= 0xFE70 && ch <= 0xFEFC) { return(presBLink[ch-0xFE70]); }else { return(0); } } /* *Name : countSpaces *Function : Counts the number of spaces * a...
C++
8, [r1] vqrshrun.s16 d20, q10, #5 vqrshrun.s16 d21, q11, #5 vaddl.u8 q11, d4, d10 vld1.u32 {q0}, [r0]! @ Vector load from src[6_0] vrhadd.u8 q9, q9, q10 vld1.u32 d12, [r0], r2 @ Vector load from src[6_0] vaddl.u8 q10, d6, d8 vaddl.u8 q13, ...
Assembly
namespace Incoding.UnitTest.MSpecGroup { #region << Using >> using Incoding.Block.IoC; using Incoding.Block.Logging; using Incoding.MSpecContrib; using Incoding.Utilities; using Machine.Specifications; #endregion [Subject(typeof(IoCFactoryTestEx))] public class When_ioc_factory_s...
C#
ds[f], message) except AssertionError: raise AssertionError( 'Field "' + f + '" should have error, but does not' ) if ok is not None: for f in ok: try: self.test.assert_field_has_no_er...
Python
Relative(0.75f, 0.75f, 0.0f, false, false, 0.0f, -1.5f) horizontalLineToRelative(-0.1f) close() } } return _chat!! } private var _chat: ImageVector? = null package io.composeflow.util import org.junit.Test import kotlin.test.assertEquals import kotlin.te...
Kotlin
API(int) cvHaveImageWriter(const char* filename); /****************************************************************************************\ * Obsolete functions/synonyms * \*************************************************************************************...
C
very other crafter type, both CrafterLogic and GhostCrafter are on the same object. // Also for base upgrade console module, crafterLogic is nullified and never updated, so we use _logic instead for every crafter if (__instance._logic.TryGetIdOrWarn(out NitroxId crafterLogicId)) { R...
C#
area)().x(M).y1(E).y0(function(e){return e.base.y}),u.defined(A).curve(a),u(l)}return u="vertical"===o&&(0,p["default"])(r)?(0,T.area)().y(E).x1(M).x0(r):(0,p["default"])(r)?(0,T.area)().x(M).y1(E).y0(r):(0,T.line)().x(M).y(E),u.defined(A).curve(a),u(s)}},{key:"render",value:function(){var e=this.props,t=e.className,n=...
JavaScript
em>What are your favourite AV's and why?</em></p> <p>AVP has the best combination of heuristics and updates, which makes it the current best IMHO. Nothing gives more bang for the buck than f-prot though :-)</p> <p>Other ones I liked included Dr.Web and TBav (loved all the utilities that came with it). *sigh* The good o...
HTML
GMaps.staticMapURL({ size: [610, 350], lat: -12.043333, lng: -77.028333, styles: [{ featureType: "all", elementType: "all", stylers: [ { hue: '#FF0000' } ] }, { featureType: "landscape", elementType:...
HTML
{ segT gnustack; gnustack = subseg_new (".note.GNU-stack", 0); bfd_set_section_flags (gnustack, SEC_READONLY | (flag_execstack ? SEC_CODE : 0)); } #endif /* If we've been collecting dwarf2 .debug_line info, either for assembly debugging or on behalf of the compiler, emit it now...
C
backVer" to logbackVersion, ) } } dependencies { compileOnly(libs.kotlin.gradlePlugin) compileOnly(libs.ksp.plugin) } package eu.vendeli.rethis.codecs.hash import eu.vendeli.rethis.shared.decoders.aggregate.ArrayLongDecoder import eu.vendeli.rethis.shared.types.CommandRequest import eu.vendeli.ret...
Kotlin
nes/stock/markets/bonds/boards/TQCB/securities/RU000A0JVWJ6.json?iss.meta=off&iss.only=history&history.columns=SECID,TRADEDATE,VOLUME,NUMTRADES&limit=20&from=2024-11-19">https://iss.moex.com/iss/history/engines/stock/markets/bonds/boards/TQCB/securities/RU000A0JVWJ6.json?iss.meta=off&iss.only=history&history.columns=SE...
HTML
쪽 끝 지역에서 신호용 불꽃을 사용해 공중습격을 요청해야 합니다."}}, [25842] = {"화재 진압", nil, {"노르두에게 다가오지 못하도록 불의 심문관 5마리를 처치해야 합니다."}}, [25843] = {"토르톨라의 복수", nil, {"하이잘 산의 불타버린 평원에 있는 토르톨라와 대화해야 합니다."}}, [25844] = {"난폭한 야수 비위 맞추기", nil, {"돌발톱 산맥의 그림토템 초소에 있는 톤 윈드보우에게 고기 공물을 전해야 합니다."}}, [25845] = {"규약", nil, {"돌발톱 산맥의 북부감시 원정대 기지에 있는 전투사령관 발렌에...
Lua
many /// bytes to wait for before running consume again. virtual size_t get_bytes_needed() const { return 1; } /// Prepare a data message for writing /** * Performs validation, masking, compression, etc. will return an error if * there was an error, otherwise msg will be ready to...
C++
if (curlen + delta < 0) throw new AccessorResizeException("Accessor target size underflow."); Memory.memmove( ptr + ptr_offset, ptr + ptr_offset - delta, (ulong)(Length - (ptr + ptr_offset - delta - this.m_ptr))); ...
C#
0 movsd %xmm0, -16 * SIZE(Y) ALIGN_3 .L29: xorq %rax,%rax RESTOREREGISTERS ret ALIGN_3 #endif .L40: movq Y, YY movq M, %rax //If incx==0 || incy==0, avoid unloop. cmpq $0, INCX je .L46 cmpq $0, INCY je .L46 sarq $3, %rax jle .L45 ALIGN_3 .L41: movsd 0 * SIZE(X), %xmm0 addq INCX, X movhpd 0 ...
Assembly
vs2, vs10 // a2_r*b1_r, a2_i*b1_r, a1_r*b1_r, a1_i*b1_r xvmulsp vs45, vs2, vs11 // a2_r*b1_i, a2_i*b1_i, a1_r*b1_i, a1_i*b1_i xvmulsp vs46, vs3, vs10 // a3_r*b1_r, a3_i*b1_r, a1_r*b1_r, a1_i*b1_r xvmulsp vs47, vs3, vs11 // a3_r*b1_i, a3_i*b1_i, a1_r*b1_i, a1_i*b1_i #if defined(_AIX) ') #else .endm #endif ...
Assembly
v_cmpx_gt_u16 vcc, v255, v2 // CHECK: [0xff,0x05,0x78,0x7d] v_cmpx_gt_u16 vcc, s1, v2 // CHECK: [0x01,0x04,0x78,0x7d] v_cmpx_gt_u16 vcc, s101, v2 // CHECK: [0x65,0x04,0x78,0x7d] v_cmpx_gt_u16 vcc, flat_scratch_lo, v2 // CHECK: [0x66,0x04,0x78,0x7d] v_cmpx_gt_u16 vcc, flat_scratch_hi, v2 // CHECK: [0x67,0x04,0x78,0x...
Assembly
, renderer.getRightWallEvent(), dc); // left l3dre.setStart3D(context.dX, dStart, dZEnd); l3dre.setEnd3D(context.dX, dEnd, dZEnd); addLine3DEvent(l3dre, renderer.getLeftWallEvent(), dc); // right l3dre.setStart3D(dXEnd, dStart, dZ); l3dre.setEnd3D(dXEnd, dEnd, dZ); addLine3DEvent(l3dre, render...
Java
x, int s_size, int d_size) { if (s_size == d_size) return x; if (s_size == 2) { float fx = shortBitsToFloat(x); if (d_size == 4) return (long) ((int) fx); else if (d_size == 8) return (long) fx; } else if (s_size == 4) { float fx = Float.intBitsToFloat((int) x); if (d_size == 2) return (lo...
Java
/glew.h" 3 extern "C" { extern PFNGLWAITSYNCPROC __glewWaitSync; } # 11698 "/usr/include/GL/glew.h" 3 extern "C" { extern PFNGLTEXBUFFERARBPROC __glewTexBufferARB; } # 11700 "/usr/include/GL/glew.h" 3 extern "C" { extern PFNGLCOMPRESSEDTEXIMAGE1DARBPROC __glewCompressedTexImage1DARB; } # 11701 "/usr/include/GL/glew.h" ...
C++
noscill_default = true", "Lua", false, false ) Evermore_III_D_2 = effector.create_fx( "LIfx", "Evermore_III_D_2", "Syl", true, false, "#FFFFFF", "#848484", "#454545", "0", "0", "0", "l.start_time + 50li - 5f", "l.start_time + syl.start_time", "", "", "", "", "syl.center", "syl.middle", "", "", "5", "0", "fx.pos_x", "f...
Lua