content
stringlengths
2
6.21k
label
stringclasses
16 values
ErosN'; static const String accept = 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9'; static const String acceptLanguage = 'zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6'; static const String baseUrl = 'https://nhentai...
Dart
ficient of the mix between 0 and 1 * @return the new mixed color */ private static Color getMixedColor( Color c1, float pct1, Color c2, float pct2) { float[] clr1 = c1.getCom...
Java
Address(); /// intialize shasta http provider to send and receive requests final rpc = TronProvider(TronHTTPProvider(url: "https://api.shasta.trongrid.io")); /// get chain paramets final chainParameters = await rpc.request(TronRequestGetChainParameters()); final bandWidthInSun = chainParameters.getTra...
Dart
ps[2]) } if rate1 := tm.Rate1(); 0.0 != rate1 { t.Errorf("tm.Rate1(): 0.0 != %v\n", rate1) } if rate5 := tm.Rate5(); 0.0 != rate5 { t.Errorf("tm.Rate5(): 0.0 != %v\n", rate5) } if rate15 := tm.Rate15(); 0.0 != rate15 { t.Errorf("tm.Rate15(): 0.0 != %v\n", rate15) } if rateMean := tm.RateMean(); 0.0 != ra...
Go
turns a Parsable when successful func CreateOnDemandExecutionOnlyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewOnDemandExecutionOnly(), nil } // GetFieldDese...
Go
", node.Connection.BaseURL) if err := enableAptosChainForNode(ctx, node.Connection.BaseURL, node.Credentials.Email, node.Credentials.Password, chainID, chainName, adminAddr, jdConfig.PublicKey); err != nil { log.Printf("Failed to enable Aptos chain for node %s: %v", node.Connection.BaseURL, err) continue ...
Go
til.List; import org.springframework.data.neo4j.repository.Neo4jRepository; import org.springframework.data.neo4j.repository.query.Query; import org.springframework.data.repository.query.Param; /** * @author Michael J. Simons */ public interface TableRepository extends Neo4jRepository<TableNode, Long> { @Query(""...
Java
read(i: &mut arg::Iter) -> Result<Self, arg::TypeMismatchError> { Ok(OrgFreedesktopLogin1ManagerSessionRemoved { arg0: i.read()?, arg1: i.read()?, }) } } impl dbus::message::SignalArgs for OrgFreedesktopLogin1ManagerSessionRemoved { const NAME: &'static str = "SessionRe...
Rust
Mut, ViewMut<Parent<MyTree>>, ViewMut<Child<MyTree>>), ViewMut<usize>)>().unwrap(); let mut hierarchy = (&mut hierarchy.0, &mut hierarchy.1, &mut hierarchy.2); let root = { let entities = &mut hierarchy.0; entities.add_entity((), ()) }; let e0 = hierarchy.attach_new(root); let e1 ...
Rust
_merge:V2HI (vec_duplicate:V2HI (truncate:HI (ashiftrt:SI (minus:SI (sign_extend:SI (vec_select:HI (match_operand:V2HI 1 "register_operand" " r") (parallel [(const_int 0)]))) (sign_extend:SI (vec_select:HI (match_operand:V2HI 2 "register_operand" " r") ...
Markdown
n timed out') def wrap_socket(sock, keyfile=None, certfile=None, server_side=False, cert_reqs=CERT_NONE, ssl_version=PROTOCOL_SSLv23, ca_certs=None, do_handshake_on_connect=True, suppress_ragged_eofs=True, ciphers=None): return SSLSoc...
Python
age data.transfer.ws2ws; import java.util.ArrayList; import java.util.Date; import java.util.HashSet; import java.util.List; import java.util.Set; import models.Stock; import models.StockBarcode; import models.StockCategory; import models.StockCostFactor; import models.StockCosting; import models.StockDepot; import m...
Java
l\x95\xd0 6\x9b6i\x9aU\xabV\xab\x09\x0d\x0e\ \x10\xe7\xc0\xdc8\xac\x87\x1aP\xd5\x18\xac8\xb8\x15\x1b\ \x16g`\xd9;\x05\xc8\x15\x8c@\xa4\x01c\x0c\x02c\ \x10\x06\x11\x02\x09a\x8c\x22\x82\x04\xcc\xd7\x0e\xf8\xc33\ \xe0\x19\xf0\x0cx\x06<\x03\x9e\x81c\x94\x01\xdfm\xcf\ \xc0\x9ca \x9bS[\x07\x95{6\x9a\xf3[\xb4\xa0\ \xb1\x9c\x1...
Python
; Currency::new("GBP", settlement) } fn sample_settlement(step: u32) -> RcDateRule { let calendar = RcCalendar::new(Arc::new(WeekdayCalendar::new())); RcDateRule::new(Arc::new(BusinessDays::new_step(calendar, step))) } fn sample_equity(currency: RcCurrency, step: u32) -> Equity { let settlement = samp...
Rust
-check-input[type="radio"],.ocean-customize-search-modal .form-check-input[type="radio"]{border-radius:50%}#ocean-wp-customize-search .form-check-input:active,.ocean-customize-search-modal .form-check-input:active{filter:brightness(90%)}#ocean-wp-customize-search .form-check-input:focus,.ocean-customize-search-modal .f...
CSS
se we check d = {6, 8}. * if steps is zero it defaults to its default value. * If k is non-zero then we don't check multiple values of k, otherwise we check steps values in [50, 2000]. * If f is zero, default value of 20 is used. * If accel is zero, default value of 1 is used. * * @return: size of dictionary stor...
C
::sync::Arc; use crossbeam_queue::SegQueue; use futures::future::BoxFuture; use log::warn; use crate::{ access::WriteStorage, component::Component, entity::{Builder, Entity}, system::SystemData, }; use super::World; /// Lazy updates can be used for world updates that need to borrow a lot of resource...
Rust
msg))) def recv(self): byte = self.sock.recv(1) if len(byte) == 0: raise EOFError byte = ord(byte) #if byte in Telnetd.cmds: # dbg("RECV " + str(Telnetd.cmds[byte])) #else: # dbg("RECV " + str(byte)) return byte def recv_line(self): line = "" while True: byte = self.recv() if byte == Te...
Python
-> T { a.wrapping_shl(b) } fn wrapping_shr<T: WrappingShr>(a: T, b: u32) -> T { a.wrapping_shr(b) } assert_eq!(wrapping_add(255, 1), 0u8); assert_eq!(wrapping_sub(0, 1), 255u8); assert_eq!(wrapping_mul(255, 2), 254u8); assert_eq!(wrapping_shl(255, 8), 255u8); assert_eq!(...
Rust
o_submarine = 0, land_based = "", num_3 = 1, is_ai = 0, map = 1000011, unlocklevel = 0, chapter_tag = 0, chapter_fx = "", uifx = "", ItemTransformPattern = "", name = "過負荷|~Overworked~", chapter_name = "D3", type = 2, act_id = 10026, enter_story = "", boss_refresh = 5, event_skip = 0, ...
Lua
EaR5icjZWy3jb8ZZPdfjQiakDHOiclbpjhvaR2icn265LYMpu3CmR1GoX707tWhAVsMJrrQ/640?wx_fmt=gif&wxfrom=5&wx_lazy=1 "") 戳 “阅读原文” 更多精彩内容! # 支付漏洞之拆分购买漏洞案例 原创 A1xxNy 猎洞时刻 2024-09-08 15:49 ![](https://mmbiz.qpic.cn/mmbiz_png/d6JIQYCSTH9evFcNH31Pjh0f83GEqsibSQsGS8uUrBPLU6VJbjw8CTibOgsYYOhqqKpaQHb9BicrJcCO...
Markdown
NU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. GanttProject is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PU...
Kotlin
/* * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
C
, nil, {"Требования:"}}, [8569] = {"Былые сражения в ущелье Песни Войны", nil, {"Требования:"}}, [8570] = {"Былые сражения в ущелье Песни Войны", nil, {"Требования:"}}, [8572] = {"Броня ветерана", nil, {"Принесите 7 боевых, 4 тыловых и 4 тактических знаков Кенария Варгусу из крепости Кенария в Силитусе. Требуется уваже...
Lua
ikardo', 'Ozuška', 'Ožanić', 'Ožuška', 'Ožvald', 'Ožvalt', 'Ožvatić', 'Pacanović', 'Pacek', 'Pacek Dokuš', 'Pacher', 'Pacić', 'Paciorek', 'Pacl', 'Pacovski', 'Pacovski Erhard', 'Pačar', 'Pačarek', 'Pačarić', 'PačarićKulešević', 'Paći', 'Padar', 'Padežanin', 'Padjen', 'Pad...
JavaScript
: "serviceID1", Monday: convert.Bool(true), Tuesday: convert.Bool(false), Wednesday: convert.Bool(false), Thursday: convert.Bool(false), Friday: convert.Bool(false), Saturday: convert.Bool(false), Sunday: convert.Bool(false), StartDate: convert.Date(time.Date(...
Go
主的国家,尤其是中国,实行的是国家兵役制度,就是仗着步兵成本低所以搞出大量的部队。但对训练补给则就良莠不齐,大部分都是欠缺训练和经验的的守备性的二三线部队,这也是造成“骑兵比步兵有优势”刻板印象的一大原因。 但还是那句话——真的走上拳台,博尔特不是泰森的对手,肯定不是。 # 文化传播 [为什么中华文化难以传播世界?](https://www.zhihu.com/question/611174250/answer/3185581177) > Author: #Anonymity > Last update: [编辑于 2023-08-28] > Link: > Category: #【答集】/04-社科答集 #【答集】/13-百年...
Markdown
tor!("path", "to", "file"), s); ``` */ #[macro_export] macro_rules! file_separator { ($($t:tt)*) => { $crate::backslash!($($t)*) }; } #[cfg(unix)] /** Concatenate multiple strings with `FILE_SEPARATOR`. It can also be used to get the literal `FILE_SEPARATOR`. ``` #[macro_use] extern crate slash_format...
Rust
NSDocumentDirectory import platform.Foundation.NSFileManager import platform.Foundation.NSURL import platform.Foundation.NSUserDomainMask actual fun createDataStore(context: Any?): DataStore<Preferences> { return CreateDataStore.getDataStore( producePath = { val documentDirectory: NSURL? = NSFi...
Kotlin
:Segoe UI,Segoe,Tahoma,Verdana,Arial,sans-serif;font-size:13px;left:88px;position:absolute;top:8px}#crs_break_title{display:inline-block}#crs_break_news,#crs_break_news a{color:#fff;text-decoration:none}#crs_break_title::first-letter{text-transform:capitalize}#vs_cont .vs_iotd_img img{height:100%;position:relative;widt...
CSS
address: super::super::Foundation::PWSTR, prelationship: *const DHCP_FAILOVER_RELATIONSHIP) -> u32; #[doc = "*Required features: 'Win32_NetworkManagement_Dhcp', 'Win32_Foundation'*"] #[cfg(feature = "Win32_Foundation")] pub fn DhcpV4FailoverDeleteRelationship(serveripaddress: super::super::Foundation::PWSTR...
Rust
imer(Duration delay) { log('AfterAdhanSubScreen: Starting fixed delay timer (${delay.inSeconds}s)'); _completionTimer = Timer(delay, () { log('AfterAdhanSubScreen: Fixed delay timer elapsed'); _completionTimer = null; _closeScreenSafely(); }); } void _closeScreenSafely() { if (_cl...
Dart
children are valid but additional * content is required to reach a valid ending state. * */ public int validate(QName[] children, int offset, int length) { if (DEBUG_VALIDATE_CONTENT) System.out.println("DFAContentModel#validateContent"); // // A DFA con...
Java
sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> { if let Some(v) = self.error.as_ref() { try!(os.write_string(1, v.as_slice())); }; for v in self.file.iter() { try!(os.write_tag(15, ::protobuf::wire_format::WireTypeLengthDelimited));...
Rust
&app.caller, []authTypes.AccountProcessor{ supplyTypes.AccountProcessor, }), slashing.NewAppModule(app.SlashingKeeper, app.StakingKeeper, &app.caller), chainmanager.NewAppModule(app.ChainKeeper, &app.caller), topup.NewAppModule(app.TopupKeeper, &app.caller), staking.NewAppModule(app.StakingKeeper, &app.c...
Go
the default one upon initialization outsideQuote = splitterState(iota) // We are inside double quotes and did not find the closing quote yet quoteOpen // We are inside double quotes, found the closing quote and we are yet to // decide whether it is the closing double quote or an escape sequence // (i.e. "", tw...
Go
qual(t, 2, len(groups)) } func TestUpdateBisectID(t *testing.T) { store, _ := setUp(t) ctx := context.Background() new_group_id, err := store.Create(ctx, "sub", "rev-abc", "domain-a", "benchmark-a", 100, 200, "REPORT") require.NoError(t, err) assert.NotEmpty(t, new_group_id) err = store.UpdateBisectID(ctx, new...
Go
r([]byte{}) binary.Write(bytesBuffer, binary.BigEndian, tmp) return bytesBuffer.Bytes() } func Int64ToBytes(n int64) []byte { tmp := int64(n) bytesBuffer := bytes.NewBuffer([]byte{}) binary.Write(bytesBuffer, binary.BigEndian, tmp) return bytesBuffer.Bytes() } func UintToBytes(n uint) []byte { tmp := uint(n) ...
Go
-action:hover{background-color:#eceff4}.ai-spinner{width:20px;aspect-ratio:1;border-radius:50%;border:3px solid rgba(0,0,0,.15);border-right-color:#000;animation:l2 1s infinite linear}[dir=rtl] .ai-spinner{border-right-color:currentcolor;border-left-color:#000}@keyframes l2{to{transform:rotate(1turn)}}.monsterinsights-...
CSS
ς γνωρίζει τον κοινό μυστικό αριθμό, όταν λαμβάνει τα χρήματα, απλώς διαιρεί με το 22 για να πάρει το πραγματικό ποσό που έστειλε η Αλίκη, 10. Η Αλίκη και ο Βασίλης ξέρουν και οι δύο πόσα στάλθηκαν και πόσα έλαβαν, όλο αυτό το διάστημα Σε όλους τους άλλους δίνεται ένας ψευδής αριθμός.</p>\n\n<p> Για άλλη μια φορά, αυτό...
Dart
順番で渡した場合、必ず同じ値**となります。 例えば、`getContents`関数はユーザーなどからの入力を結果として返すため、実行する度に違う結果を返す可能性があります。ユーザーは気まぐれなのです。 それからまだ紹介してませんが、乱数を取得する関数も、実行する度に結果が変わるので「純粋な計算」とはいえません。乱数もやっぱり気まぐれなのです。 結果的に「純粋な計算」は、**外から受けうる影響の範囲と、外に与えうる影響の範囲が、常に明瞭**となります。 「純粋な計算」は、関数や演算子に渡した値からしか影響を受けませんし、`let`で代入する変数以外に影響を与えることもありません。 このような...
Markdown
t_eq!( signers, Signers::Implicit(vec![ Signer::Placeholder, Signer::Root, Signer::Treasury, Signer::Placeholder, ]) ); assert_eq!(args, vec![ScriptArg::U8(1)]); let (signers, args) = prepare_fun...
Rust
countBandWidth >= BigInt.from(neededBandWidth) && !isEstimatedFeeFlow) { log('Account has more bandwidth than required'); neededBandWidth = 0; } if (neededEnergy < 0) { neededEnergy = 0; } final energyBurn = neededEnergy * energyInSun.toInt(); log('Energy Burn: $e...
Dart
yPlane/myPlane_0" + i + "_0" + j + ".png")); } } // ҷ1ŷɻӵ for (int i = 1; i <= 3; i++) { for (int j = 1; j <= 3; j++) { images.put("myPlane_missile_0" + i + "_0" + j, GameUtil .getImage(Constant.IMG_PRE + "missile/myPlane/myPlane_missile_0" + i + "_0" + j + ".png")); } } images.put("myPlane...
Java
rn(context) doReturn(mock(Future::class.java)).`when`(executorService).submit(any(Runnable::class.java)) picasso = mockPicasso(context) dispatcher = createDispatcher(service) } @Test fun shutdownStopsService() { val service = PicassoExecutorService() dispatcher = createDispatcher(service) d...
Kotlin
5900069856fe' }, { 'spaceTrack': { 'CCSDS_OMM_VERS': '2.0', 'COMMENT': 'GENERATED VIA SPACE-TRACK.ORG API', 'CREATION_DATE': '2020-06-21 10:06:09', 'ORIGINATOR': '18 SPCS', 'OBJECT_NAME': 'STARLINK-1130', 'OBJECT_ID': '2020-001U', 'CENTER_NAME': 'EARTH', 'REF_FRAM...
Dart
16px)}}.sa-commercial__text a{-webkit-text-decoration-skip:ink;color:#fff;color:var(--sjs2-color-fg-static-main-primary,#fff);font-family:Segoe UI,SegoeUI,Arial,sans-serif;font-family:var(--sjs2-font-family-semantic-default,"Segoe UI",SegoeUI,Arial,sans-serif);font-size:16px;font-size:var(--sjs2-font-size-semantic-defa...
CSS
r ruoyi */ public interface SysPostMapper { /** * 查询岗位数据集合 * * @param post 岗位信息 * @return 岗位数据集合 */ public List<SysPost> selectPostList(SysPost post); /** * 查询所有岗位 * * @return 岗位列表 */ public List<SysPost> selectPostAll(); /** * 通过岗位ID查询岗位信息 ...
Java
#Embedded file name: /Users/versonator/Jenkins/live/output/mac_64_static/Release/python-bundle/MIDI Remote Scripts/Tranzport/consts.py NOTE_OFF_STATUS = 128 NOTE_ON_STATUS = 144 CC_STATUS = 176 NUM_NOTES = 127 NUM_CC_NO = 127 NUM_CHANNELS = 15 NUM_PAGES = 4 PAGES_NAMES = (('P', 'o', 's', 'i', 't', 'i', 'o', 'n', ' ', '...
Python
recursiveGetChildById("xpGainRate") if not xpgainrate then return end local widget = xpgainrate:getChildById("value") if not widget then return end widget:setText(math.floor(expRateTotal) .. "%") local tooltip = string.format("Your current XP gain rate amounts to %d%%.", m...
Lua
rror.PasswordValidation.DumbStrings"] = [[Придумай более сложный пароль.]], ["Feature.AccountSecurityPrompt.Message.Error.PromptAssignments.Default"] = [[Произошла ошибка. Повтори попытку позже.]], ["Feature.AccountSettings.Heading.Tab.AccountInfo"] = [[Информация об аккаунте]], ["Feature.AccountSettings.Heading.Tab...
Lua
tus, body)), }) } ///////////// Rreq codec functions pub fn encode_rreq<W: Write + ?Sized>(writer: &mut W, frame: &Rmsg) -> io::Result<()> { let (status, body) = rmsg_status_body(frame); try!(writer.write_u8(status)); writer.write_all(body) } pub fn decode_rreq<R: Read>(mut reader: R) -> io::Result<R...
Rust
| 人工智能在医疗领域有哪些应用? | | 社会文化 | 当代青少年最感到困扰的社交问题是什么? | | 经济发展 | 如何解决中小企业面临的融资难问题? | | 政治法律 ...
Markdown
每天断电断网吗,几点开始断? - A26169: 不断 ## Q: 食堂价格贵吗,会吃出异物吗? - A26169: 贵,有异物 ## Q: 洗澡热水供应时间? - A26169: 一直有 ## Q: 校园内可以骑电瓶车吗,电池在哪能充电? - A26169: 可以 ## Q: 宿舍限电情况? - A26169: 不清楚 ## Q: 通宵自习有去处吗? - A26169: 没有 ## Q: 大一能带电脑吗? - A26169: 能 ## Q: 学校里面用什么卡,饭堂怎样消费? - A26169: 扫码 ## Q: 学校会给学生发银行卡吗? - A26169: 会 ## Q: 学校的超市怎么样? ...
Markdown
/** * \file * <!-- * This file is part of BeRTOS. * * Bertos 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 version 2 of the License, or * (at your option) any later version. * * This program...
C
.DataFetcher; import com.bumptech.glide.tests.Util; import com.bumptech.glide.util.Preconditions; import java.io.File; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mock; import org.mockito.MockitoAnnotations; import org.robolectric.RobolectricTestRunner; import org...
Java
**MQTT** 等协议。而这些网络协议都是开放的标准,他们很难控制。 对于数据的存储和处理,云计算厂商会提供基于分布式系统的高性能、可伸缩的**大数据**存储产品,还有各种数据处理产品,甚至**人工智能**算法平台等等。虽然这的确会导致设备厂商对云计算厂商有一定的依赖性,但是产品主要还是基于社区主导的开源软件来开发的。 因此,在设备厂商、技术标准组织、开源社区、云计算厂商和网络运营商等多方参与的物联网中,云计算厂商很难主导物联网标准的建立和发展。 ## 5.物联网和智能家居有什么关系? 随着云计算的发展,平台对海量数据的处理能力大幅提升。也许你在生活中最直接的感受就是,**智能家居**设备的功能越来越多,响应速度也越来越快...
Markdown
ter = createIteratorFromSteps(sharedIter, lengthToTest); ElemVariable var = createPseudoVarDecl(root, newIter, isGlobal); if(DIAGNOSE_MULTISTEPLIST) System.err.println("Created var: "+var.getName()+(isGlobal ? "(Global)" : "")); while(null != matchedPaths) { ExpressionOwner owner = matchedPaths.m_exprOwne...
Java
# Copyright 2023 chengli # # 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 applicable law or agreed to in writing, soft...
Python
""" if config is None: config = self.config credentials = config['GOOGLE_APPLICATION_CREDENTIALS'] os.environ['GOOGLE_APPLICATION_CREDENTIALS'] = credentials self.database = initialize_firebase() self.storage = config.get('FIREBASE_STORAGE_BUCKET') # TODO: ...
Python
-- Copyright (c) 2015-2025 Piotr Orzechowski [drzewo.org]. See LICENSE. -- vCard 2.1, 3.0 and 4.0 LPeg lexer. local lexer = require('lexer') local token, word_match = lexer.token, lexer.word_match local P, S = lpeg.P, lpeg.S local lex = lexer.new('vcard') -- Whitespace. lex:add_rule('whitespace', token(lexer.WHITESP...
Lua
= "0x74 - Fault Mode Status"] pub fms: FMS, #[doc = "0x78 - Input Capture Filter Control"] pub filter: FILTER, #[doc = "0x7c - Fault Control"] pub fltctrl: FLTCTRL, #[doc = "0x80 - Quadrature Decoder Control And Status"] pub qdctrl: QDCTRL, #[doc = "0x84 - Configuration"] pub conf: ...
Rust
((PIN_PA05B_AC_AIN1 << 16) | MUX_PA05B_AC_AIN1) #define PORT_PA05B_AC_AIN1 (1ul << 5) #define PIN_PA14G_AC_CMP0 14L /**< \brief AC signal: CMP0 on PA14 mux G */ #define MUX_PA14G_AC_CMP0 6L #define PINMUX_PA14G_AC_CMP0 ((PIN_PA14G_AC_CMP0 << 16) | MUX_PA14G_AC_CMP...
C
tDownloads = 2, required this.subtitles, }); void _log(String message) { if (kDebugMode) { log('[M3u8Downloader] $message'); } AppLogger.log(message); } void close() { _isolate?.kill(); _receivePort?.close(); } static _recreateClient() async { await RustLib.init(); h...
Dart
/// /// Returns `None` if the window doesn't use wayland (if it uses xlib for example). fn get_wayland_client_surface(&self) -> Option<&WlSurface>; /// Returns a pointer to the `WlDisplay` object of wayland that is used by this window. /// /// For use with the `wayland-client` crate. /// //...
Rust
override fun close() { if (!closedValueProperty.value) { tileGrid.close() closedValueProperty.value = true } } } package org.hexworks.zircon.api import org.hexworks.zircon.api.builder.component.colorTheme import org.hexworks.zircon.api.color.TileColor.Companion.transpare...
Kotlin
() } }) mEditText!!.setPasswordCompleteListener { text: String? -> ToastUtils.showShort(text!!) } } }package com.peakmain.basicui.activity.home.recylcer.activity import android.util.Log import androidx.recyclerview.widget.ItemTouchHelper import com.peakmain.basicui.BuildConfig import co...
Kotlin
self.available_vertical_space(); let max_pinned_cnt = (max_entry_cnt + 1) / 2; // Acquire read lock let group = self.group.read(true); // Set group name let counter = group.counter(); let content; if counter > 1 { content = format!("- [{}] {}", coun...
Rust
return PARSER; } @java.lang.Override public com.google.protobuf.Parser<BreakoutPhysicalObjectModifier> getParserForType() { return PARSER; } @java.lang.Override public emu.grasscutter.net.proto.BreakoutPhysicalObjectModifierOuterClass.BreakoutPhysicalObjectModifier getDefaultInstance...
Java
") } notReadyComponents := make([]string, 0) managedComponent := 0 err := reg.ForEach(func(component cr.ComponentHandler) error { cs, err := component.UpdateDSCStatus(ctx, rr) if err != nil { notReadyComponents = append(notReadyComponents, component.GetName()) return err } if !component.IsEnabled(i...
Go
import telebot from logik import Text2ImageAPI import time from config import TOKEN, API_KEY, SECRET_KEY bot = telebot.TeleBot(TOKEN) @bot.message_handler(func=lambda message: True) def hendle_message(message): prompt = message.text api = Text2ImageAPI('https://api-key.fusionbrain.ai/', API_KEY, SECRET_KEY) ...
Python
lysleek_uisemilight'; src: url('../fonts/weblysleek-ui/weblysleekuisl-webfont.woff2') format('woff2'), url('../fonts/weblysleek-ui/weblysleekuisl-webfont.woff') format('woff'); font-weight: normal; font-style: normal; } /* Generated by Font Squirrel (https://www.fontsquirrel.com) on September 24,...
CSS
efaultKeymap: kc = keycodes.KeyRestoreDefaultKeymap default: switch key & keycodes.QuantumMask { case keycodes.TypeRxxx, keycodes.TypeLxxxT, keycodes.TypeRxxxT: kc = key default: if key&keycodes.QuantumMask == 0 && key&keycodes.QuantumTypeMask != 0 { // keycodes.TpeLxxx kc = key } else { s...
Go
Verifier(); stft.flush(v); v.verify([]); stft ..stream([1], v) ..stream([2], v); v.verify([]); stft.run([3, 4], v); v.verify([ [1, 2, 0, 0], [3, 4, 0, 0], ]); }); test('STFT flush run stream', () { final stft = STFT(4); final v = Verifier(); stft.flu...
Dart
�能访问应用程序。应用程序逻辑的核心在基于 IBM Cloud 的后端服务中。此应用程序逻辑从 IBM Watson IoT Platform 拉取数据(通过使用受保护的 Watson IoT Platform API),分析数据,然后发送命令来控制设备。 ##### 保护处理 IoT 设备数据的 Web 和移动应用程序的方法 ![保护处理 IoT 设备数据的 Web 和移动应用程序的方法](../ibm_articles_img/iot-trs-secure-iot-solutions3_images_image001.png) 本文假设您知道如何开发和处理 IBM Cloud 应用程序。如果您还不熟悉 IBM Cloud,...
Markdown
Downloads', 'Downloaded tracks filename': 'Dateiname der heruntergeladenen Titel', 'Valid variables are': 'Gültige Variablen sind', 'Reset': 'Zurücksetzen', 'Clear': 'Löschen', 'Create folders for artist': 'Ordner für Künstler erstellen', 'Create folders for albums': 'Ordner für Alben erstellen...
Dart
ed 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 KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // use super::...
Rust
= "org.jitsi.videobridge.media.MIN_PORT_NUMBER"; /** * The minimum port number default value. */ public static final int MIN_PORT_DEFAULT_VALUE = 5000; /** * The maximum port number default value. */ public static final int MAX_PORT_DEFAULT_VALUE = 6000; /** * The n...
Java
should have received a copy of the GNU Lesser General Public License along with * this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, * Suite 330, Boston, MA 02111-1307 USA */ package pcgen.base.formula.function; import java.util.Arrays; import java.util.Optional; import pcgen.base...
Java
/** * Copyright (C) 2008-2014, Marvell International Ltd. * * This software file (the "File") is distributed by Marvell International * Ltd. under the terms of the GNU General Public License Version 2, June 1991 * (the "License"). You may use, redistribute and/or modify this File in * accordance with...
C
.NamedList; import org.codice.ddf.persistence.PersistenceException; import org.codice.ddf.persistence.PersistentItem; import org.codice.solr.factory.SolrClientFactory; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.ArgumentCaptor; import org.mockito.Captor; import or...
Java
𨓑 | 𨓒 | 𨓓 | 𨓔 | 𨓕 | 𨓖 | 𨓗 | 𨓘 | 𨓙 | 𨓚 | 𨓛 | 𨓜 | 𨓝 | 𨓞 | 𨓟 | | 284E0 | 𨓠 | 𨓡 | 𨓢 | 𨓣 | 𨓤 | 𨓥 | 𨓦 | 𨓧 | 𨓨 | 𨓩 | 𨓪 | 𨓫 | 𨓬 | 𨓭 | 𨓮 | 𨓯 | | 284F0 | 𨓰 | 𨓱 | 𨓲 | 𨓳 | 𨓴 | 𨓵 | 𨓶 | 𨓷 | 𨓸 | 𨓹 | 𨓺 | 𨓻 | 𨓼 | 𨓽 | 𨓾 | 𨓿 | | U+ | 0 | 1 ...
Markdown
ultists have allied with the naga to occupy these grounds. The cultists, led by Kelris, sacrifice innocents to Aku\'Mai for power.$b$bSlay Kelris and bring his head to Bashana in Thunder Bluff, $N, please.", ["O"] = "Bring the head of Twilight Lord Kelris to Bashana Runetotem in Thunder Bluff.", ["T"] = "검은심연의 ...
Lua
XUiPanelNewbieActive = XClass() local normalSize = CS.XGame.ClientConfig:GetInt("NewPlayerTaskSmallSize") local specialSize = CS.XGame.ClientConfig:GetInt("NewPlayerTaskBigSize") function XUiPanelNewbieActive:Ctor(ui, rootUi, index, stageInfo) self.GameObject = ui.gameObject self.Transform = ui.transform ...
Lua
iv(arg0, arg1, arg2, arg3, arg4); if (checkForErrors) { GLSupport.checkAndPrintGLError(gl); } } public void glGetMultisamplefv(int arg0, int arg1, float[] arg2, int arg3) { System.out.println( "glGetMultisamplefv(" + arg0 + "," + arg1 + "," + arg2 + "," + arg3 + ")");...
Java
de;+49(0)6440835019;+49(0)0164 82147;Fischerallee;9;47724;Uffenheim Edeltraut Heidrich;1986-03-20;aneureuther@googlemail.com;04694 459298;+49(0)3865862258;Alfonso-Seifert-Platz;13;52634;Lemgo Mary Gnatz;1971-10-23;hans-guenter00@hotmail.de;0249840054;+49(0)6873644282;Junckengasse;1/8;37233;Luckenwalde ...
Kotlin
} throw Exception('unreachable'); } @protected JSAny cst_encode_raw_string_item_enum_twin_normal( RawStringItemEnumTwinNormal raw) { // Codec=Cst (C-struct based), see doc to use other codecs if (raw is RawStringItemEnumTwinNormal_Regular) { return [0, cst_encode_String(raw.regular)...
Dart
.coroutines.withContext import mu.KotlinLogging import ren.natsuyuk1.comet.utils.file.absPath import ren.natsuyuk1.comet.utils.file.resolveDirectory import ren.natsuyuk1.comet.utils.file.touch import ren.natsuyuk1.comet.utils.ktor.defaultClient import ren.natsuyuk1.comet.utils.ktor.downloadFile import ren.natsuyuk1.com...
Kotlin
it migrator.create(Index.byDialect('a', statements('index'))); await migrator.create(OnCreateQuery.byDialect(statements('@'))); verify(executor.runCustom('trigger $dialect', [])); verify(executor.runCustom('index $dialect', [])); verify(executor.runCustom('@ $dialect', [])); }); ...
Dart
} } //设置常用倍速 setOnLongClickListener(itemView) { pos -> getData<Float>(pos)?.also { Pref.commonlyUsedVideoSpeed.saveData(it) ResourceUti...
Kotlin
} { value.push_str(", world!"); } Ok::<String, io::Error>(value) })); let value = SHARED.get()?; assert_eq!("Hello, world!", &*value); # Ok(()) # } ``` */ #[track_caller] pub fn try_new_catch_unwind<E>(f: impl FnOnce() -> Result<T, E>) -> Self ...
Rust
tion by `Style/IfUnlessModifier` when the modifier form expression has long comment. ([@nobuyo][]) * [#11649](https://github.com/rubocop/rubocop/issues/11649): Support `MinBranchesCount` config for `Style/CaseLikeIf` cop. ([@fatkodima][]) ## 1.47.0 (2023-03-01) ### New features * [#11475](https://github.com/rubocop/...
Markdown
, s = 0.1430937, h = 0.5714286 }, [30105] = { v = 0.1574499, s = 0.7785221, h = 0.5238873 }, [402] = 4021103, [101] = 0, [102] = 1021006, [103] = 1031001, [104] = 1041010, [20201] = 0.5, [20202] = 0.47, [20203] = 0.15, [20204] = 0.5, [20205] = false, [20206] = { v = 1...
Lua
회전 우회전 불가능한 지점이라면 : **dp[i - 1][j].down** - 아래를 바라보는 방향으로만 올 수도 있다.(직진) 우회전이 불가하기 때문에 오른쪽을 바라보는 방향에선 꺾어서 내려올 수가 없기 때문이다.(수평 방향이였는데 수직 방향으로 바꾸려는 시도니까) - 따라서 위쪽 지점에선 아래를 바라보는 방향의 경로 수만 물려받을 수 있다. {: .notice--warning} > 해당 지점까지 올 수 있는 경로의 수 👉 **dp[i][j].right + dp[i][j].down** 두 방향까지의 경로의 수를 더하면 된다....
Markdown
iam.Group) []AWSResourceConfig { // aws_iam_role_policy as a SubResource policyConfigs := make([]AWSResourceConfig, 0) if r.Policies != nil { for i, policy := range r.Policies { pc := IamGroupPolicyConfig{ Config: Config{ Name: policy.PolicyName, }, PolicyName: policy.PolicyName, } policy...
Go
1khAaI6OFbc4QkAwEG+FYSvC3afvgHh0ndLcJUaXg7/SHdsKDUFyfblm1Wzbmtgw4tlwmji2fiKpOL8WPpUC0bpcCjrAUo2ZKY9k0/yebIslmy0nYDGJ1KewuCXvP8SjgN8I8XPx6X8TJEXdz3nHwjo8D6cqC0KFNbB/AG7aZ47Cz7PkqYtiomGABeMMGH9pErJsDK2FzMkmKdKpTa3rsLKPSgfVXjLq0skv/C1tGuRhzjqXzAAAAAElFTkSuQmCC) 0 0 no-repeat!important;top:50%!important;margin:-10px 0 0 -1...
CSS
overshoot-ed shots * @param shots3 check shots * @param shots4 blunder shots * @param plots deleted plots (plan-profile pairs) * @param buffer data-block buffer (copy/cut and paste) * @note the choice of two separate lists of plots: plans and profiles is brittle */ UndeleteDialog( C...
Java
_BATCH_JOIN_MESSAGE = "¡%u jugadores nuevos se han unido en los últimos %u minutos! No olvides preguntar si tienes dudas."; NPEV2_CHAT_GUIDE_FRAME_ACHIEVEMENT_COUNT_EARNED = "%d logros ganados de:|n%s"; NPEV2_CHAT_GUIDE_FRAME_ACHIEVEMENT_EARNED = "Logro conseguido:|n%s"; NPEV2_CHAT_GUIDE_FRAME_BUTTON_APPLY = "Convertir...
Lua
error) { var ( protoReq ChangeServiceRequest metadata runtime.ServerMetadata err error ) if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && !errors.Is(err, io.EOF) { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } if req.Body != nil { _, _ = io.Copy(io...
Go
levaRecord> = seriesWordsKorolevaRecordMappingIteratorProvider.iterator(inputStream) assertNotNull(actualIterator) val seriesWordsKorolevaRecords: List<SeriesWordsKorolevaRecord> = actualIterator.readAll() assertTrue(seriesWordsKorolevaRecords.isNotEmpty()) assertEquals(3, se...
Kotlin