content
stringlengths
2
6.21k
label
stringclasses
16 values
errno = EINVAL; return -1; } } /* ** SM_STDIOGETINFO -- get info for this open file ** ** Parameters: ** fp -- the file pointer ** what -- type of information request ** valp -- memory location to place info ** ** Return: ** Failure: -1 and sets errno ** Success: none (currently). */ /* ARGSUSED2 */ int sm_...
C
.546875 53.03125 Q 34.328125 53.03125 38.59375 51.09375 Q 42.875 49.171875 45.625 45.671875 Q 48.390625 42.1875 49.953125 37.25 Q 51.515625 32.328125 51.515625 26.703125 Q 51.515625 13.375 44.921875 6.09375 Q 38.328125 -1.171875 29.109375 -1.171875 Q 19.921875 -1.171875 14.703125 6.5 z M 14.59375 26.3125 Q 14....
HTML
.ft01{font-size:11px;font-family:Times;color:#0860a8;} .ft02{font-size:11px;font-family:Times;color:#000000;} .ft03{font-size:14px;font-family:Times;color:#0860a8;} .ft04{font-size:11px;line-height:16px;font-family:Times;color:#000000;} .ft05{font-size:11px;line-height:24px;font-family:Times;color:#000000;} .ft0...
HTML
_EXPECT(&snippets); } }; BEAST_DEFINE_TESTSUITE(beast,doc,doc_websocket); } // (anon) #ifdef BOOST_MSVC #pragma warning(pop) #endif // // Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco at gmail dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0...
C++
; ---------------------------------------------------------------- ; Common drive code ; ---------------------------------------------------------------- ; The BASIC extension and fast format call into this. .include "../core/kernal.i" ; from wrapper .import disable_rom_jmp_error ; from basic .import set_drive .glo...
Assembly
e in the last layer, store the original layers if i != len(self.layers) - 1: feats = feats_down xyz = xyz_down offset = offset_down return feats.squeeze(-1) def forward_seg_feat(self, xyz, feats=None, offset=None, batch=None, neighbor_idx=None): ...
Python
nfo.bb_all & ~evalInfo.bb_b_queens); evalInfo.attackedBy[Constants.PID_B_BISHOP] |= bb_moves; evalInfo.attacksByFieldID[fieldID] = bb_moves; // King attack if((bb_moves & evalInfo.attackZone[Figures.COLOUR_BLACK]) != 0) { evalInfo.attackCount[Figures.COLOUR_BLACK]++; evalInfo....
Java
да создать взрывчатку.$B$BНу вот, готово. $B$BА теперь, $N, я дам тебе особое задание. Возьми взрывчатку и подорви ветролет в Бейл Модане.$B$BЭта машина не просто играет ключевую роль в снабжении раскопок, она служит и для военных целей. И что еще важнее – она воплощение мощи дворфов и оскорбление памяти моего племени....
Lua
use arch::arch_builder::x86::*; use arch::DetailsArchInsn; use capstone_sys::{x86_op_mem, x86_op_type, cs_x86, cs_x86_op}; use instruction::{RegId, RegIdInt}; use std::convert::From; use std::{cmp, fmt, slice}; pub use capstone_sys::x86_insn_group as X86InsnGroup; pub use capstone_sys::x86_insn as X86Insn; pub use ca...
Rust
行代码) * 作为一个数据库,它包括了字符串处理、数学计算、日期处理等一系列内容 * 它能够在绑定 CPU 的情况下进行负载测试 此外,作者和贡献者们已经进行了多年的性能优化工作,因此我能确定他们没有错过任何有显著效果的优化。 #### 配置 我做了两份[源码][2]拷贝,并且正常编译其中一份。而对于另一份拷贝,我插入了这个特殊的预处理代码段,将 `const` 变成一个空操作: ``` #define const ``` (GNU) `sed` 可以将一些东西添加到每个文件的顶端,比如 `sed -i '1i#define const' *.c *.h`。 在编译期间使用脚本生成 `Sqlite` 代码稍微有点复杂。幸...
Markdown
paragraphMatches[i]; final paragraphEnd = (i == paragraphMatches.length - 1) ? htmlString.length : paragraphMatches[i + 1].start; final matchedTag = htmlString.substring(match.start, match.end); final paragraphString = htmlString .substring(match.start + ma...
Dart
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* TDA10021/TDA10023 - Single Chip Cable Channel Receiver driver module used on the Siemens DVB-C cards Copyright (C) 1999 Convergence Integrated Media GmbH <ralph@convergence.de> Copyright (C) 2004 Markus Schulz <msc@antzsystem.de> Support for TDA1...
C
, } impl<'a> SPRD_W<'a> { #[doc = r"Writes raw bits to the field"] #[inline(always)] pub unsafe fn bits(self, value: u32) -> &'a mut W { self.w.bits = (self.w.bits & !0x00ff_ffff) | ((value as u32) & 0x00ff_ffff); self.w } } #[doc = "Reader of field `SPRDM`"] pub type SPRDM_R = crate::R<...
Rust
for _ in 0..n { out.push(b); } } Node::Nop => {} }); out.shrink_to_fit(); Ok(out) } #[cfg(test)] mod test { use super::encode; #[test] fn encode_test() { let mut data = vec![]; data.push(4); data.push(3); ...
Rust
l,i,o),S=d.getImageData(0,0,E.size,E.size),A=D(e);try{for(A.s();!(b=A.n()).done;){var M=b.value;if(h){var I=String.fromCharCode(parseInt(M.replace("&#x","").replace(";",""),16)),C=E.draw(I);$(C,S)}else $(E.draw(M),S);d.putImageData(S,m[M].x,m[M].y)}}catch(L){A.e(L)}finally{A.f()}}else{var P,R=D(e);try{for(R.s();!(P=R.n...
JavaScript
AudioNext -- @tfield[opt="⏹"] string XF86AudioStop widget.labels = { Control = "Ctrl", Mod1 = "Alt", ISO_Level3_Shift = "Alt Gr", Mod4 = "Super", Insert = "Ins", Delete = "Del", Next = "PgDn", Prior = "PgUp", ...
Lua
Ok(arms) => arms, Err(e) => return e.to_compile_error().into(), }; let assertion = Ident::new( &format!("_ErrorDeriveAssertBoundsFor{}", name), Span::call_site(), ); let predicates: TokenStream = where_clause .iter() .flat_map(|w| w.predicates.iter()) .map(|p| quote!(#p,)) .chain(Some( quote!(#na...
Rust
side = float(input("enter square side:")) print("area =", side * side) # side = float(input("enter square side:")) # print("area =", side ** 2)
Python
e.printStackTrace() message.subject = subject } // 邮件内容 val contentPart = MimeMultipart("mixed") // 邮件正文 val textBodyPart = MimeBodyPart() textBodyPart.setContent(body, "text/html;charset=UTF-8") contentPart.addBodyPart(textBodyPart) // 邮件附...
Kotlin
.h(a,s) p=s while(!0){if(!(p>b&&d.$2(r.h(a,p-1),q)>0))break o=p-1 r.l(a,p,r.h(a,o)) p=o}r.l(a,p,q)}}, v7(a3,a4,a5,a6){var s,r,q,p,o,n,m,l,k,j,i=B.b.K(a5-a4+1,6),h=a4+i,g=a5-i,f=B.b.K(a4+a5,2),e=f-i,d=f+i,c=J.T(a3),b=c.h(a3,h),a=c.h(a3,e),a0=c.h(a3,f),a1=c.h(a3,d),a2=c.h(a3,g) if(a6.$2(b,a)>0){s=a a=b b=s}if(a6.$2(a1,a2...
JavaScript
// Get the size in bytes for each index type func getIndexSize(indexType VkIndexType) (uint32, error) { switch indexType { case VkIndexType_VK_INDEX_TYPE_UINT8_EXT: return 1, nil case VkIndexType_VK_INDEX_TYPE_UINT16: return 2, nil case VkIndexType_VK_INDEX_TYPE_UINT32: return 4, nil default: return 0, fmt...
Go
euronext_optiq_orderentrygateway_sbe_v4_13.account_number.size + euronext_optiq_orderentrygateway_sbe_v4_13.technical_origin.size + euronext_optiq_orderentrygateway_sbe_v4_13.open_close.size + euronext_optiq_orderentrygateway_sbe_v4_13.clearing_instruction.size + euronext_optiq_orderentrygateway_sbe_v4_13.a...
Lua
fromUserAction: action.fromUserAction, }), ); return mergedState; case SET_CHALLENGE_BROWSE_MAP_BOUNDS: mergedState = _cloneDeep(state); _set( mergedState, `${action.searchName}.mapBounds`, Object.assign({}, state[action.searchName]?.mapBounds, { ...
JavaScript
<=10.0 ; f++ ){\nfloat power=pow( 2.0,f );\nt+=abs( pnoise( vec3( power*p ),vec3( 10.0,10.0,10.0 ) )/power );\n}\nreturn t;\n}\nvoid main(void) {\n#include<instancesVertex>\n#include<bonesVertex>\n#ifdef NORMAL\n\nnoise=10.0*-.10*turbulence( .5*normal+time*1.15 );\n\nfloat b=lowFrequencySpeed*5.0*pnoise( 0.05*position ...
JavaScript
LDR R3, = Stack_Mem BX LR ALIGN ENDIF END ;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE*****
Assembly
st::LVT, Hst::LVT, Hst::LVT, Hst::LVT, Hst::LVT, Hst::LVT, Hst::LVT, Hst::LVT, Hst::LVT, Hst::LVT, Hst::LVT, Hst::LVT, Hst::LVT, Hst::LVT, Hst::LVT, Hst::LVT, Hst::LVT, Hst::LVT, Hst::LVT, Hst::LVT, Hst::LVT, Hst::LV, Hst::LVT, Hst::LVT, Hst::LVT, Hst::LVT, Hst::LVT, Hst::LVT, Hst::LVT, ...
Rust
vreplvei.w VX3, VM0, 3 VFMAXA VM1, VX0, VX1 VFMAXA VM2, VX2, VX3 VFMAXA VM0, VM1, VM2 #endif .align 3 .L23: //INCX!=1 and N<8 andi I, N, 7 bge $r0, I, .L999 .align 3 .L24: LD $f1, X, 0 addi.d I, I, -1 add.d X, X, INCX FMAXA $f0, $f0, $f1 bnez I, .L24 ...
Assembly
<br>1 = Flash/Speed/Aperture <br>2 = Flash/Aperture <br>3 = Flash Only</span></td></tr> <tr> <td class=r title='14 = 0xe'>14.1</td> <td>Func1Button</td> <td class=c>int8u</td> <td><span class=s>[val &amp; 0x3f] <br>0 = None <br>1 = Preview <br>2 = FV Lock <br>3 = AE/AF Lock <br>4 = AE Lock Only <br>5 ...
HTML
e: exc_info = (type(e), e, e.__traceback__) logger.error(f"Fatal error during processing {character_name}: {e}", exc_info=exc_info) def main() -> None: """Main entry point.""" args = parse_args() logger.setLevel(args.log_level) args.out_path.mkdir(parents=True, exist_ok=True) logg...
Python
", "Wt", "Śr", "Cz", "Pt", "So"], longhand: [ "Niedziela", "Poniedziałek", "Wtorek", "Środa", "Czwartek", "Piątek", "Sobota", ], }, months: { shorthand: [ ...
JavaScript
/www.thevintagemixer.com\/wp-json\/wp-recipe-maker\/v1\/analytics"},"settings":{"features_comment_ratings":true,"template_color_comment_rating":"#343434","instruction_media_toggle_default":"on","video_force_ratio":false,"analytics_enabled":false,"print_new_tab":true},"post_id":"79123","home_url":"https:\/\/www.thevinta...
HTML
# Python bytecode 2.7 (decompiled from Python 2.7) # Embedded file name: scripts/client/gui/impl/gen/view_models/views/battle_royale/battle_results/leaderboard/leaderboard_model.py from frameworks.wulf import Array from frameworks.wulf import ViewModel from gui.impl.gen.view_models.views.battle_royale.battle_results.le...
Python
. /// Object? example; /// /// Please note: This property should have been non-nullable! Since the specification file /// does not include a default value (using the "default:" property), however, the generated /// source code must fall back to having a nullable type. /// Consider adding a "default:" pro...
Dart
act="weibo"> <div id="i_info_counts_box_weibo" class="{$iicb}" linkto="{:U('w3g/Index/weibo','uid='.$profile['uid'])}"> <div class="i_info_counts_title">微博</div> <div class="i_info_counts_num">{$profile.count_info.feed_count}</div> </div> <div id="i_info_counts_box_guanzhu" class="{$iicb}" uid="{$prof...
HTML
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 * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KI...
Kotlin
6,6,0,0,0,54,48Z'/>"," <path fill='#FFF' d='M102,48a6,6,0,0,0-6,6v48a6,6,0,0,0,12,0V54A6,6,0,0,0,102,48Z'/>"," </g>","</svg>"].join("")}}});var HL=ye((nir,eue)=>{"use strict";var VL=32;eue.exports={CIRCLE_SIDES:VL,i000:0,i090:VL/4,i180:VL/2,i270:VL/4*3,cos45:Math.cos(Math.PI/4),sin45:Math.sin(Math.PI/4),SQRT2:Math.sqr...
HTML
:xlink='http://www.w3.org/1999/xlink' fill-rule='evenodd'%3E%3Cdefs%3E%3Cpath id='a' d='M11.5 2.25c5.105 0 9.25 4.145 9.25 9.25s-4.145 9.25-9.25 9.25-9.25-4.145-9.25-9.25 4.145-9.25 9.25-9.25zM6.997 15.983c-.051-.338-.828-5.802 2.233-8.873a4.395 4.395 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42.91.9 1.42 2.12 1.42 3.39 0 1....
CSS
} else { Err(ArgumentError::with_message("invalid encoding (non UTF-8)").into()) } } pub fn union<T>(interp: &mut Artichoke, patterns: T) -> Result<Self, Error> where T: IntoIterator<Item = Value>, { fn extract_pattern(interp: &mut Artichoke, value: &mut Value) ...
Rust
type = SocialTypeEnum.GITEE.getType(); String code = "tudou"; String state = "yuanma"; // mock 方法 SocialUserDO socialUser = randomPojo(SocialUserDO.class).setType(type).setCode(code).setState(state); socialUserMapper.insert(socialUser); // 调用 SocialUserDO result...
Java
{ //to avoid bug with different level domain and spellbook spells var spells_map = new Dictionary<string, int>(); for (int i = 1; i <= max_level; i++) { foreach (var s in base_spell_list.SpellsByLevel[i].Spells) { ...
C#
ing.components.LegendEntry import com.github.mikephil.charting.data.* import com.github.mikephil.charting.formatter.ValueFormatter import io.github.wulkanowy.R import io.github.wulkanowy.data.db.entities.GradePartialStatistics import io.github.wulkanowy.data.db.entities.GradePointsStatistics import io.github.wulkanowy....
Kotlin
(j = 0; j < detailX; j++){ a = i * sliceCount + j + offset; b = i * sliceCount + j + 1 + offset; c = (i + 1)* sliceCount + j + 1 + offset; d = (i + 1)* sliceCount + j + offset; uva = [j/detailX, i/detailY]; uvb = [(j + 1)/ detailX, i/detailY]; uvc = [(j + 1)/ detailX, (i + 1)/...
JavaScript
*DynamoDBUserIdentity `json:"userIdentity,omitempty"` } type DynamoDBUserIdentity struct { Type string `json:"type"` PrincipalID string `json:"principalId"` } // DynamoDBStreamRecord represents a description of a single data modification that was performed on an item // in a DynamoDB table. type DynamoDBStre...
Go
if you need additional information or have any * questions. */ package nsk.jvmti.GetMethodModifiers; import java.io.PrintStream; public class methmod001 { final static int JCK_STATUS_BASE = 95; static { try { System.loadLibrary("methmod001"); } catch (UnsatisfiedLinkError ule...
Java
, -- It is an oddly shaped stone monument. A shining stone is embedded in it, but cannot be removed... ALREADY_OBTAINED_FRAG = 7666, -- You have already obtained this monument's <keyitem>. Try searching for another. FOUND_ALL_FRAGS = 7667, -- You have obtained all of the fragments. Yo...
Lua
只有这样才可以揭穿他在中国学术界设下的骗局。 </p> <h3> (一) </h3> <p> 胡适的实验主义方法是从美国杜威那里搬来的。我们批判胡适出反科学的思想方法时,一方面要注重批判他的关於方法的“理论”,一方面也要注重检查他关於方法的运用。这样分进合击,才容易把它的余毒扑灭。 </p> <p> 有些科学研究工作者曾有过这样的疑问:实验主义的方法是主观唯心论的不符合客观事实的思想方法,这是大家所公认的,那末胡适在一些枝枝节节的问题上也得到了一些符合客观事实的微不足道的结论。他所用的是什么方法?是不是说实验主义的思想方法有时对於研究一些枝枝节节的问题也还有效?在旧中国的科学界,胡适正是靠了...
HTML
(); toPrint.append(" - "); const toPrintTags = $("<span style='display:inline-block;'></span>"); sortedTags.forEach((tag) => { const color = tagColorMap.get(tag) if (color == null) { return; } toPrintTags.append( $("<span>") .css('background', ta...
Typescript
t: 40px; } /* Customize container */ .container { max-width: 990px; } </style> <title>d3-flame-graph</title> <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5sh...
HTML
like this: ```shell truck (7): 77.7936% | start point: (0,138) | end point: (90, 332) truck (7): 55.9773% | start point: (696,174) | end point: (799, 314) car (2): 53.1286% | start point: (696,184) | end point: (799, 319) car (2): 98.0222% | start point: (262,189) | end point: (424, 330) car (2...
Markdown
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Threading.Tasks; using Avalonia.Platform.Storage; namespace Consolonia.Core.Controls { [DebuggerDisplay("Folder: {Name}")] internal sealed class SystemStorageFolder(DirectoryInfo directoryInfo, bool isParent...
C#
() // initWidgets(); } private fun initFragmentList() { titleList.clear() fragmentlist.clear() titleList.add("服药记录") titleList.add("服药提醒") titleList.add("更多") fragmentlist.add(DoseRecordFragment.newInstance()) fragmentlist.add(DoseNotifyFragment.n...
Kotlin
<!-- Special case for the 'Continue' interaction. --> <button mat-button *ngIf="interactionId === 'Continue'" (click)="submit.emit()" class="oppia-learner-confirm-button e2e-test-continue-button e2e-test-next-card-button oppia-autofocus" oppiaFocusOn="...
HTML
1) in the layout vp = grid.viewport(**{'layout.pos.col':1, 'layout.pos.row': 1}) # create a (unit) rectangle in that viewport grid.rect(vp = vp).draw() vp = grid.viewport(**{'layout.pos.col':2, 'layout.pos.row': 2}) # create text in the viewport at (1,2) grid.text("foo", vp = vp).draw() vp = grid.viewport(**{'layout....
Python
= NULL_NODE); int A = iA; if (m_child1[A] == NULL_NODE || m_height[A] < 2) { return iA; } int iB = m_child1[A]; int iC = m_child2[A]; assert (0 <= iB && iB < m_nodeCapacity); assert (0 <= iC && iC < m_nodeCapacity); int B = iB; int C = iC; int balance = m_height[C] - m_...
Java
********************************************* * CONTROLS *********************************************/ @keyframes bounce-right { 0%, 10%, 25%, 40%, 50% {transform: translateX(0);} 20% {transform: translateX(10px);} 30% {transform: translateX(-5px);} } @keyframes bounce-left { 0%, 10%, 25%, 40%, 50% {transform:...
CSS
sets.tile`myTile6`)) { tiles.setTilemap(tilemap`level2`) pause(100) me.setPosition(108, 22) game.showLongText("2 keys done 1 to go", DialogLayout.Bottom) mySprite.destroy() mySprite3.destroy() mySprite2.destroy() } if (true) { } }) controller.A.o...
Typescript
> 68 ? "68px" : true)}#permalink .ratings h5{margin-top:2px;font-size:1.1em;padding:0}#taxon_detail #main>.section>.article>.meta.learn_more p{line-height:200%}#taxon_detail #main>.section>.article>.copy{padding-bottom:15px}#taxon_detail #main>.section>.article>.copy.link{padding-bottom:0px}#taxon_detail .rating h5{fl...
CSS
plit("\"); if ($AdfsAdministratorAccountSplit.Length -ne 2) { Write-error "Specify the AdfsAdministratorAccount identifier in 'domain\username' format" exit 1 } ####################################### ## Verify AD module is installed ####################################### $m = "ActiveDirectory" if (Get-Module | Whe...
Markdown
platform-engine:$spekVersion") { exclude(group = "org.jetbrains.kotlin") exclude(group = "org.junit.platform") } implementation("org.jetbrains.spek:spek-subject-extension:$spekVersion") { exclude(group = "org.jetbrains.kotlin") exclude(group = "org.junit.platform") } } package com.aemtools.common....
Kotlin
/ (difficultyNum + 1) denominator := new(big.Int).Add(difficultyNum, bigOne) return new(big.Int).Div(oneLsh256, denominator) } package sync import ( "github.com/michain/dotcoin/protocol" "github.com/michain/dotcoin/peer" "github.com/michain/dotcoin/chain" "github.com/michain/dotcoin/mempool" "github.com/michai...
Go
%rsp,%rbp 805e050: 48 81 ec 60 00 00 00 sub $0x60,%rsp 805e057: 48 89 7d f8 mov %rdi,-0x8(%rbp) 805e05b: b8 00 00 00 00 mov $0x0,%eax 805e060: 8b 4d f8 mov -0x8(%rbp),%ecx 805e063: 48 29 c8 sub %rcx,%rax 805e066: 83 c0 01 add $0x1,%eax 80...
Assembly
/serialization" ib77c81ae8501035869703744ba13b6f711366c9348e33eae916d2aea3d8b34ba "github.com/co-native-ab/pimctl/internal/generated/msgraphsdk/models" ) type WhoisBaseRecord struct { ib77c81ae8501035869703744ba13b6f711366c9348e33eae916d2aea3d8b34ba.Entity // The contact information for the abuse contact. ...
Go
All("youtube", '')).then( (value) { if (value != null) { final List<MediaItemModel> songs = ytmMapList2MediaItemList(value['songs']); emit( AlbumLoaded( album: album.copyWith( songs: List<MediaItemM...
Dart
float m33, float m34, float m41, float m42, float m43, float m44, float m51, float m52, float m53, float m54 ) { _11 = m11; _12 = m12; _13 = m13; _14 = m14; _21 = m21; _22 = m22; _23 = m23; ...
C#
@* @* PicoDrive @* (C) notaz, 2010 @* (C) kub, 2019 @* @* This work is licensed under the terms of MAME license. @* See COPYING file in the top-level directory. @* #include <pico/arm_features.h> #include <pico/pico_int_offs.h> .extern Pico32x .extern Pico .equiv P32XV_PRI, (1<< 7) .text .align 2 PIC_LDR_INIT(...
Assembly
(ps, self.numClocks as _, self.numBaseVoltages as _)).collect::<Result<_, _>>()?, overvolt: self.voltages[..self.numVoltages as usize].iter().map(RawConversion::convert_raw).collect::<Result<_, _>>()?, }) } } impl RawConversion for pstate::NV_GPU_PERF_PSTATE20_BASE_VOLTAGE_ENTRY_V1 { type T...
Rust
class="news-item keen-slider__slide" data-matching-tags="5" title="Aufbau, Umbruch, (System-)Umstellung - Feldhofers Status quo bei Rapid:"> <span class="time">vor 1 Woche</span> <a href="/de/red/fussball/bundesliga/hintergrund/feldhofers-rapid-aufbau---umbruch---system---reibungen-sind-gut-/" class="related-news-link...
HTML
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. */ #include "config.h" #include "RenderView.h" #include "Document.h" #include "Element.h" #include "FloatQuad.h" #include "FloatingObjects.h" #include "FlowThreadController.h" #include "Frame.h" #include "FrameSelec...
C++
y>; /** * Filter representation enum: * * * `default` filtration through column filters and external plugins. * * `row` filtration through header row filter and external plugins. */ export declare type FilterStateUnit = 'default' | 'row'; export declare class FilterState { /** * Object that contains filter v...
Typescript
if cursor < len(s) and s[cursor] == ')': return ExpressionNode("operator", op_name, children, position=i), cursor+1 continue child, cursor = parse_expression(s, cursor) children.append(child) cursor = _skip_ws(s, cursor) if cursor < len...
Python
, #0x65 lsl r0, r0, #2 str r4, [sp, #4] sub r0, r0, #4 ldr r0, [r5, r0] add r2, r7, #0 mov r3, #0x10 bl SpriteSystem_Init mov r1, #0x19 lsl r1, r1, #4 ldr r0, [r5, r1] add r1, r1, #4 ldr r1, [r5, r1] add r2, r4, #0 bl SpriteSystem_InitSprites mov r1, #0x19 lsl r1, r1, #4 ldr r0, [r5, r1] add r1, r1, #...
Assembly
Vector3 relativeVelocity) { if (relativeVelocity == Vector3.zero) { Rigidbody thisRigidbody = GetComponent<Rigidbody>(); if (c.attachedRigidbody != null && thisRigidbody != null) { // TODO: should directions be compared? maybe project vectors? relativeVel...
C#
XGI_FORMAT_R16G16_SINT: err = LoadDDS_DX10_R16G16(pFile, pDDSD, pMipSet); break; case DXGI_FORMAT_R32_TYPELESS: case DXGI_FORMAT_R32_UINT: case DXGI_FORMAT_R32_SINT: err = LoadDDS_DX10_R32(pFile, pDDSD, pMipSet); break; case DXGI_FORMAT_R8G8_TYPELESS: case DXGI_FORM...
C++
/** * 根据标示获取系统内容模板关系并结合主题 * @param sign * @return */ public abstract TemplatesetT findTemplatesetTBysign(String sign); /** * 根据状态获取模板和模板关系 * @param status * @return */ public abstract List<TemplatesetT>findTemplatesetTBystatus(String status); } package com.jshop.dao; import java.util.List; import ...
Java
from threading import Lock from typing import Any, Self, Tuple, Dict, TypeVar, Generic, Type T = TypeVar("T", bound=Type[Dict[str, Any]]) class SingletonMixin(Generic[T]): _instances: Dict[str, Any] = {} _lock: Dict[str, Lock] = {} _init_args: Dict[str, Tuple[Any, ...]] = {} _init_kwargs: Dict[str, D...
Python
:param kernel: THe kernel size of rotation convolution layer. :param padding: The padding for convolution. :return: Object of nn.Modulelist. """ if self.rot: branch_fea = RotationConvLayer(dim_in, dim_out, kernel, stride=1, padding=padding,bias=False) else: ...
Python
BigDecimal = run(mathContext::round) fun Double.round(precision: Int = 1, roundingMode: RoundingMode = RoundingMode.HALF_UP): BigDecimal = round(MathContext(precision, roundingMode)) fun Float.round(precision: Int = 1, roundingMode: RoundingMode = RoundingMode.HALF_UP): BigDecimal = round(MathContext(precision, round...
Kotlin
-2432489304D5}", ["num"] = 5, }, }, ["tasks"] = { [1] = 11, }, }, }, ["tasks"] = { }, ["unitType"] = "CH_JAS39C", } return unitPayloads
Lua
)</h4></div></div></div><div class="caution" title="Caution"><p>Note: This property is <a class="ulink" href="../userguide/feature_lifecycle.html" target="_top">incubating</a> and may change in a future version of Gradle.</p></div><p>The <a class="ulink" href="../javadoc/org/gradle/nativeplatform/platform/NativePlatfor...
HTML
// [WriteFile Name=EditKmlGroundOverlay, Category=EditData] // [Legal] // Copyright 2019 Esri. // // 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....
C
.Set(func(_ context.Context, msg *message.Message, target insolar.Reference) (ch1 <-chan *message.Message, f1 func()) { search := payload.SearchIndex{} err := search.Unmarshal(msg.Payload) require.NoError(t, err) require.Equal(t, lookupID, search.ObjectID) require.Equal(t, reason.GetLocal().Pulse(), sear...
Go
fetchData = mutableStateOf(true) init { viewModelScope.launch { while (!savedStationsDB.savedStations.value.isNullOrEmpty()) { Log.d( "DEBUG", "Waiting 30 seconds to fetch data" ) updateRadioList() delay(30 * 1000) } } viewModelScope.launch...
Kotlin
(result.Object == null) goto END1; if (result.Object.GetType() != objType) goto END1; // 补上 if (this.DragStartObject == null) this.DragStartObject = result.Object...
C#
LogoWrapper-sc-h30m1t-10 gSNhPD"><span> <svg width="120" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="Layer_1" x="0px" y="0px" viewBox="0 0 1332 150"> <g> <g> <path fill="#FFFFFF" d="M1287.36,107.23c-3.85,3.54-7.38,7.08-13.69,7.08c-12.92,0-13.84-17.38-13.84-25.85 c0-11.54,0.61-28...
HTML
�বং ওদেরকে ঐ পদ্ধতিতে প্রশিক্ষণ দাও, যা আল্লাহ তোমাদেরকে শিক্ষা দিয়েছেন। এমন শিকারী জন্তু যে শিকারকে তোমাদের জন্যে ধরে রাখে, তা খাও এবং তার উপর আল্লাহর নাম উচ্চারণ কর। আল্লাহকে ভয় করতে থাক। নিশ্চয় আল্লাহ সত্ত্বর হিসাব গ্রহণকারী।" }, { "surah_number": 5, "verse_number": 5, "content": "আজ তোমাদ...
Dart
oslItemFade // this.oslItemFade.Divisor = 10; this.oslItemFade.Location = new System.Drawing.Point(249, 113); this.oslItemFade.Maximum = 15; this.oslItemFade.Minimum = 1; this.oslItemFade.Name = "oslItemFade"; this.oslItemFade.Size = new System.Drawing.Size(216, 67); thi...
C#
: String, tag: String = "*") = ".//$tag[contains(@text, '$text')]" fun xDesc(text: String, tag: String = "*") = ".//$tag[@content-desc='$text']" val String.xParent get() = "$this/.." fun String.xAncestor(tag: String = "*", index: Int = 1) = "$this/ancestor::$tag[$index]" fun String.xSiblingPrev(index: Int, tag: Strin...
Kotlin
ENCODING_PCM_16BIT}, {@link C#ENCODING_PCM_24BIT} and {@link C#ENCODING_PCM_32BIT}. If * the bit depth is unsupported then {@link C#ENCODING_INVALID} is returned. */ public static @C.PcmEncoding int getPcmEncoding(int bitDepth) { switch (bitDepth) { case 8: return C.ENCODING_PCM_8BIT; ...
Java
image: redis:7-alpine command: redis-server --appendonly yes volumes: - redis_data:/data restart: unless-stopped volumes: postgres_data: redis_data: ``` ### 数据库初始化 #### 生产环境手动初始化(推荐) 在生产环境中,建议手动初始化数据库表结构以确保安全性和可控性: **步骤 1: 创建数据库** ```bash # 仅启动数据库服务 docker-compose u...
Markdown
granular claim typecode. (Strength=Example)</title>ExampleClaimSubTypeCodes</a>?? »</text><text x="366.0" y="98.0" id="n479" fill="black" class="diagram-class-detail"><a id="n480" xlink:href="claim-definitions.html#Claim.use"><title>A code to indicate whether the nature of the request is: to request adjudication of pr...
HTML
_wrap->sizeValue( ) | rpl::start_with_next([=](QSize size) { updateControlsGeometry(size); }, _wrap->lifetime()); _wrap->geometryValue( ) | rpl::start_with_next([=](QRect rect) { updateOuterGeometry(rect); }, _wrap->lifetime()); _wrap->paintRequest( ) | rpl::start_with_next([=](QRect clip) { paintBackgr...
C++
etail.invertedMock != nil { // tt.GivenDetail.invertedMock(obj) // } // invertedFactoryNewCallCount++ // }) // vectorFactoryNewCallCount := 0 // mockVectorFactory := vectorindex.NewFactory(func(obj *mock.Mock) { // if tt.GivenDetail.vectorMock != nil { // tt.GivenDetail.vectorMock(obj) //...
Go
1</span> </td> <td data-sort-value="No" style="background: #FFE3E3; vertical-align: middle; text-align: center;" class="table-no2"><img alt="No" src="//upload.wikimedia.org/wikipedia/commons/thumb/4/48/Dark_Red_x.svg/13px-Dark_Red_x.svg.png" decoding="async" title="No" width="13" height="13" srcset="//upload.wikimedia....
HTML
Configuration(); register.registerScanner(); return register; } @Bean @ConditionalOnMissingBean @Role(BeanDefinition.ROLE_INFRASTRUCTURE) public ForestBeanProcessor forestBeanProcessor() { return new ForestBeanProcessor(); } } package com.easy.query.test.duckdb; import...
Java
hite","linecolor":"white","showbackground":true,"ticks":"","zerolinecolor":"white","gridwidth":2},"yaxis":{"backgroundcolor":"#E5ECF6","gridcolor":"white","linecolor":"white","showbackground":true,"ticks":"","zerolinecolor":"white","gridwidth":2},"zaxis":{"backgroundcolor":"#E5ECF6","gridcolor":"white","linecolor":"whi...
HTML
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Confab.Modules.Agendas.Application.Agendas.DTO; using Confab.Modules.Agendas.Application.Agendas.Queries; using Confab.Modules.Agendas.Domain.Agendas.Entities; using Confab.Modules.Agendas.Infrastructure.EF.Mappings; using Confab....
C#
from flask import Flask from flask_sqlalchemy import SQLAlchemy db = SQLAlchemy() def create_app(): app = Flask(__name__) # Configuración de la base de datos app.config['SECRET_KEY'] = 'superclave-secreta-angel-2025' app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///dataflow.db' app.config['SQLA...
Python
t > 0 ) { height = file._info.height * height; } image.resize( width, height ); }); image.once( 'complete', function() { var blob, size; // 移动端 UC / qq 浏览器的无图模式下 ...
JavaScript
message),(void*)(FXival)pos); } return 1; } return 0; } // Released Left button long FXSlider::onLeftBtnRelease(FXObject*,FXSelector,void* ptr){ FXuint flgs=flags; if(isEnabled()){ ungrab(); getApp()->removeTimeout(this,ID_AUTOSLIDE); setValue(pos); ...
C++
"\u069a", "\ufbb0"], ["\u0633", "\u06cd", "\u06d2"], ["\u06cc", "\u064a", "\u06d2"], ["\u0628", "\u067e", "\u06ba"], ["\u0644", "\u0623", "\u06b7"], ["\u0627", "\u0622", "\u0671"], ["\u062a", "\u067c", "\u0679"], ["\u0646", "\u06bc", "<"], ["\u0645", "\u0629", ">"], ["\u06a9", ":", "\u0643"], ["\u06af", "\u061b", "\u0...
JavaScript