content
stringlengths
2
6.21k
label
stringclasses
16 values
Geofence import com.google.android.gms.location.GeofencingRequest import com.google.android.gms.location.LocationServices import com.google.android.gms.maps.model.LatLng import org.koin.core.KoinComponent import org.koin.core.inject import playground.develop.socialnote.database.local.notes.Note import playground.develo...
Kotlin
""" Access control utilities for core_main_app. """ import logging from core_main_app.access_control.exceptions import AccessControlError from core_main_app.components.group import api as group_api from core_main_app.permissions import api as permissions_api, rights logger = logging.getLogger(__name__) def check_ha...
Python
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation \\/ M anipulation | --------...
C
e5;--color-scale-purple-6: #6e40c9;--color-scale-purple-7: #553098;--color-scale-purple-8: #3c1e70;--color-scale-purple-9: #271052;--color-scale-pink-0: #ffdaec;--color-scale-pink-1: #ffbedd;--color-scale-pink-2: #ff9bce;--color-scale-pink-3: #f778ba;--color-scale-pink-4: #db61a2;--color-scale-pink-5: #bf4b8a;--color-s...
CSS
er" id="Level_11-32" data-pos="&#91;&quot;Level 11&quot;,32&#93;"><td colspan="2" id="姬海棠的评价" class="tt-header" lang="zh"><div class="poem">姬海棠果的评价</div></td></tr><tr class="tt-content" id="Level_11-33" data-pos="&#91;&quot;Level 11&quot;,33&#93;"><td class="tt-ja" lang="ja"><div class="poem">へー、お祭りって良いね!<br>アレでしょう? 無礼...
Markdown
wing * 0.5F; float f2 = 0.08F + limbSwingAmount * 0.4F; this.field_239115_a_.rotateAngleZ = (-(float)Math.PI / 6F) - MathHelper.cos(f1 * 1.2F) * f2; this.field_239116_b_.rotateAngleZ = ((float)Math.PI / 6F) + MathHelper.cos(f1) * f2; if (entityIn instanceof AbstractPiglinEntity) ...
Java
'package:angular_components/model/a11y/keyboard_handler_mixin.dart'; import 'package:angular_components/utils/browser/dom_service/dom_service.dart'; import 'package:angular_components/utils/disposer/disposer.dart'; import 'package:angular_components/utils/id_generator/id_generator.dart'; /// A styled container followi...
Dart
""" Author: Reuben Ferrante Date: 10/05/2017 Description: General scripts for graphing instead of notebook. """ from evaluation_scripts.plotting_trajectory import * def plot_single_trajectories(res): # Low Disc x_planned = np.load('C://Users//REUBS_LEN//PycharmProjects//RocketLanding//control_and_ai//evalu...
Python
// s3 s.s3Endpoint.val = p.s3Endpoint.val; s.s3AccessKey.val = p.s3AccessKey.val; s.s3SecretKey.val = p.s3SecretKey.val; s.s3Bucket.val = p.s3Bucket.val; s.s3Port.val = p.s3Port.val; s.s3Region.val = p.s3Region.val; s.s3SessionToken.val = p.s3SessionToken.val; s.s3UseSsl.val = p.s3Use...
Dart
// Copyright 2024 Ant Group Co., Ltd. // // 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 agree...
C
f, 571.3f, 685.7f, 591.4f, 667.3f) curveTo(611.4f, 648.5f, 621.2f, 622.1f, 621.2f, 588.4f) curveTo(621.2f, 512.0f, 566.6f, 469.3f, 457.4f, 458.7f) close() } } return _beta!! } private var _beta: ImageVector? = null package com.dede.sonimei...
Kotlin
Addr, sslConf, needClientAuth); // assume same ssl port for all datanodes InetSocketAddress datanodeSslPort = NetUtils.createSocketAddr(conf.get( "dfs.datanode.https.address", infoHostIp + ":" + 50475)); this.infoServer.setAttribute("datanode.https.port", datanodeSslPort .getPort()...
Java
/* * Copyright (c) 1989, 1993 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyr...
C
dNotifications(); o.passConstraints = buildPassConstraints(); o.rotatingBarcode = buildRotatingBarcode(); o.saveRestrictions = buildSaveRestrictions(); o.smartTapRedemptionValue = 'foo'; o.state = 'foo'; o.subheader = buildLocalizedString(); o.textModulesData = buildUnnamed48(); o.validT...
Dart
es below extern grs_canvas _canv_editor_game; //the game on the editor screen //these are pointers to our canvases extern grs_canvas *Canv_editor; //the editor screen extern grs_canvas *Canv_editor_game; //the game on the editor screen extern struct window *Pad_info; // Keypad text //where the editor is looking ...
C
moz-selection, code[class*="language-"] ::-moz-selection { text-shadow: none; background: #b3d4fc; } pre[class*="language-"]::selection, pre[class*="language-"] ::selection, code[class*="language-"]::selection, code[class*="language-"] ::selection { text-shadow: none; background: #b3d4fc; } @media print { code[c...
CSS
egular youtube.com domain" { sanitizer.matchesDomain("https://youtube.com/") shouldBe false } } "invoke" should { "convert music.youtube.com domain to youtube.com" { sanitizer( "https://music.youtube.com/playlist?list=RDCLAK5uy_mPolD_J22gS1SKxufARW" + "cTZd1UrAH_0ZI", ) shoul...
Kotlin
queueSkill(id, lvl, 0); } private void queueSkill(int id, int lvl, int nextSkillTime) { getOwner().queueSkill(id, lvl, nextSkillTime); } private boolean isCrazedModor() { return getNpcId() == 234691; // Crazed Modor (Infernal Danuar Reliquary) } private void addPlatformLocations() { platformLocations....
Java
Stop() log.write("[DATIS]", log.DEBUG, "Stopping") local status, err = pcall(datis_stop) if not status then log.write("[DATIS]", log.ERROR, "Stop Error: " .. tostring(err)) end isStarted = false end function handler.onSimulationPause() log.write("[DATIS]", log.DEBUG, "Pausing") ...
Lua
文本,请将其翻译成英文。 | | 分类 | 给我列举一下目前市面上主流的游戏类型有哪些? | | 定义 | 什么是太阳系? | | 比较 | 请比较一下Python和Java的优缺点。 | | 描述 | 你能描述一下《红楼梦》的故事情节吗? | | 推理 | 如果地球不断靠近太阳,会发生什么事情? | | 生成 | 能否帮我写一篇关于环保的文章? | | 辩证 | 介绍一下资本主义和社会主义的区别和联系。 | | 解析 | 怎样才能合理安排时间? | | 应用 | 如何使用Pho...
Markdown
""" Google Search Example for Langflow Agents This example demonstrates how to use the Google Search tool with Langflow agents in a production environment. """ import os import logging import sys # Add the project root to the Python path sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) #...
Python
"]=0,["spc"]={},["sd"]={"0.6% of Physical Attack Damage Leeched as Life","10% increased Life Leeched per second"},["g"]=331,["o"]=2,["oidx"]=8,["sa"]=0,["da"]=0,["ia"]=0,["out"]={[0]=22356}},{["id"]=37800,["icon"]="Art/2DArt/SkillIcons/passives/lifegainpertarget.png",["ks"]=false,["not"]=false,["dn"]="Life Leech",["m"]...
Lua
snapshotMs, System.currentTimeMillis(), reusableBitmap)) } } /* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ package com.facebook.hermes.helpers....
Kotlin
inBasicAtomTypeId.DOUBLE) { OpCode.GEF64 } else if (dt1 === PuffinBasicAtomTypeId.INT64 || dt2 === PuffinBasicAtomTypeId.INT64) { OpCode.GEI64 } else if (dt1 === PuffinBasicAtomTypeId.FLOAT || dt2 === PuffinBasicAtomTypeId.FLOAT) { ...
Kotlin
' : 'Ridimensione', 'crop' : 'Ritaglia', 'rotate' : 'Ruota', 'rotate-cw' : 'Ruota di 90° in senso orario', 'rotate-ccw' : 'Ruota di 90° in senso antiorario', 'degree' : 'Gradi', 'netMountDialogTitle' : 'Monta disco di rete', // added 18.04.2012 'prot...
JavaScript
#include <stdlib.h> #include <stdio.h> #include <assert.h> #include "multiboot.h" #include "allocator.h" DECL_MEMPOOL_TYPE(buddy_region_t); DECL_MALLOC_ALLOCATOR(stdalloc, POOL_PAGE_T(buddy_region_t)); //MEMPOOL_IMPL(buddy_region_t); POOL_T(buddy_region_t) buddy_pool = POOL_INITIALIZER(buddy_region_t); DECL_POOL_ALL...
C
-- dump('b1') return (e1P2 + e2P1) * 0.5 elseif e1Xnorm >= 0 and (e1Xnorm - 1) * e1P2:distance(e1P1) <= e1R2 and e2Xnorm * e2P1:distance(e2P2) >= -e2R1 and e2Xnorm <= 1 then -- intersection is within the (radius augmented at P2) e1 and e2 segments -- dump('b2', 'e1Xnorm = ', e1Xno...
Lua
sitionChange = (Math.random() * text.length).toInt() } while (lettersChanged.any() { it == positionChange }) newText[positionChange] = newCharacters.random() lettersChanged[i] = positionChange } return newText.joinToString("") } val abc = listOf( 'a', 'b', 'c', 'd', 'e', 'f', ...
Kotlin
from __future__ import annotations import asyncio from typing import Callable, Generic, TypeVar, Awaitable from .channel import Channel from .core import Effect from .context import Context from .stream import StreamE from .queue import Queue, QueueClosed A = TypeVar('A'); B = TypeVar('B') class Stage(Generic[A,B]): ...
Python
攻坚总结表彰大会# ​ - 1.6万讨论 1.6亿阅读 1. [#快手前副总裁赵丹阳受贿被逮捕#](https://s.weibo.com/weibo?q=%23%E5%BF%AB%E6%89%8B%E5%89%8D%E5%89%AF%E6%80%BB%E8%A3%81%E8%B5%B5%E4%B8%B9%E9%98%B3%E5%8F%97%E8%B4%BF%E8%A2%AB%E9%80%AE%E6%8D%95%23) - 快手前副总裁、社区内容研究院负责人赵丹阳因收受贿赂,“数额特别巨大”,在离职之后被逮捕。 赵丹阳于2015年2月加入快手,此前担任快手公司副总裁职位。这也是快手涉及职位最高的廉正反腐案。 ...
Markdown
.00228333831* 6681.2248533996*Math.sin( 4.10544022266 + 6681.2248533996 * t); mars_z_0+=-Math.pow(t,0.0)* 0.00659516885* 0.0*Math.sin( 0.0 + 0.0 * t); mars_z_0+=-Math.pow(t,0.0)* 0.04901205639* 3340.6124266998*Math.sin( 3.76712324293 + ...
Kotlin
= room:askForPlayerChosen(player, targets2, "xuanfeng-damage") local damage = sgs.DamageStruct() damage.from = player damage.to = target room:damage(damage) end end end end end return false end } --[[ 技能名:眩惑 相关武将:一将成名·法正 描述:摸牌阶段开始时,你可以放弃摸牌,改为令一名其他角色摸两张牌,然后令其对其攻击范围内你...
Lua
Gender type; String? faceIcon; String? skillCutin; int skillCutinOffsetX; int skillCutinOffsetY; String? commandSpellCutin; int commandSpellCutinOffsetX; int commandSpellCutinOffsetY; String? resultImage; List<CommonRelease> releaseConditions; BattleMasterImage({ required this.id, this.ty...
Dart
Ref(Mean($close, 15), 225) Ref(Mean($close, 15), 465) Ref(Mean($close, 15), 705) # instrument datetime # SH600519 2021-05-31 241.769897 243.077942 244.712997 # 2021-06-01 244....
Python
k GmbH find details in the "Readme" file. * * See the Licence for the specific language governing permissions and limitations under the Licence. * * ******* * * For additional notes and disclaimer from gematik and in case of changes by gematik find details in the "Readme" file. */ package de.gematik.ti.erp.app....
Kotlin
/* Copyright (c) 2013 Nordic Semiconductor. All Rights Reserved. * * The information contained herein is property of Nordic Semiconductor ASA. * Terms and conditions of usage are described in detail in NORDIC * SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT. * * Licensees are granted free, non-transferable use...
C
ed.fu.search', function onSearchCanceled (e, value) { self.$element.trigger('canceled.fu.repeater', value); self.render({ clearInfinite: true, pageIncrement: null }); }); this.$secondaryPaging.on('blur.fu.repeater', function onSecondaryPagingBlur () { self.pageInputChange(self.$secondaryPaging....
JavaScript
#ifndef Py_INTERNAL_GENOBJECT_H #define Py_INTERNAL_GENOBJECT_H #ifdef __cplusplus extern "C" { #endif #ifndef Py_BUILD_CORE # error "this header requires Py_BUILD_CORE define" #endif extern PyObject *_PyGen_yf(PyGenObject *); extern PyObject *_PyCoro_GetAwaitableIter(PyObject *o); extern PyObject *_PyAsyncGenValueW...
C
unfocusedContainerColor = primaryColor ?: AppTheme.colors.primary, focusedContainerColor = primaryColor ?: AppTheme.colors.primary, unfocusedIndicatorColor = onPrimaryColor ?: AppTheme.colors.onPrimary, focusedIndicatorColor = onPrimaryColor ?: AppTheme.colors.onPrimary,...
Kotlin
modifier-success: ; --background-modifier-success-rgb: ; --background-modifier-message: ; --background-modifier-form-field: ; /* # Interactive Colors */ --interactive-normal: ; /*bg for standard interactive elements */ --interactive-hover: ; --interactive-accent: ; /*bg for accented int. el */ --interac...
CSS
/* zran.h -- example of deflated stream indexing and random access * Copyright (C) 2005, 2012, 2018, 2023 Mark Adler * For conditions of distribution and use, see copyright notice in zlib.h * Version 1.3 18 Feb 2023 Mark Adler */ #include <stdio.h> #include "zlib.h" // Access point. typedef struct point { of...
C
// This is required for expo-splash-screen. setTheme(R.style.AppTheme); super.onCreate(null) } /** * Returns the name of the main component registered from JavaScript. This is used to schedule * rendering of the component. */ override fun getMainComponentName(): String = "main" /** * R...
Kotlin
2C_REG(CAT_EXIF, 0x20, 4) #define EXIF_INFO_EBV_DE I2C_REG(CAT_EXIF, 0x24, 4) #define EXIF_INFO_ISO I2C_REG(CAT_EXIF, 0x28, 2) #define EXIF_INFO_FLASH I2C_REG(CAT_EXIF, 0x2a, 2) #define EXIF_INFO_SDR I2C_REG(CAT_EXIF, 0x2c, 2) #define EXIF_INFO_QVAL I2C_REG(CAT_EXIF, 0x2e, 2) /* * Category 9 - Face Detection */ ...
C
lumnsSelectionDsl.cols]` }` * * `// same as `[`all`][ColumnsSelectionDsl.all]`()` * * `df.`[`select`][DataFrame.select]` { `[`cols`][ColumnsSelectionDsl.cols]`() }` * * {@include [LineBreak]} * * @see [ColumnsSelectionDsl.all\] */ private interface ColumnsSelectionDslC...
Kotlin
layed = v.played _handname = k end end selected_hand = _handname end return { vars = { localize(selected_hand, "poker_hands") } } end function tw_blind:collection_loc_vars() return { vars = { localize("ph_most_played") } } end function tw_blind:set_blind(reset, silent) if reset then return end -- ...
Lua
-color: #4271AE;\ border-color: #4D4D4C\ }\ .ace-tomorrow .ace_entity.ace_name.ace_function,\ .ace-tomorrow .ace_support.ace_function,\ .ace-tomorrow .ace_variable {\ color: #4271AE\ }\ .ace-tomorrow .ace_support.ace_class,\ .ace-tomorrow .ace_support.ace_type {\ color: #C99E00\ }\ .ace-tomorrow .ace_heading,\ .ace-tom...
JavaScript
columnKeyDecryptionNonce] = collection.keyDecryptionNonce; // ignore: deprecated_member_use_from_same_package row[columnName] = collection.name; row[columnEncryptedName] = collection.encryptedName; row[columnNameDecryptionNonce] = collection.nameDecryptionNonce; row[columnType] = typeToString(collec...
Dart
< 1; ++index) { cards[index] = new TheCoin(); } Card theCard = currentPlayer.getHand().get(0); HearthTreeNode res; res = theCard.useOn(PlayerSide.CURRENT_PLAYER, CharacterIndex.HERO, board); assertNotNull(res); assertEquals(currentPlayer.getHand().size(), 0...
Java
t BazelBspRustProjectTest : BazelBspTestBaseScenario() { private val testClient = createTestkitClient() @JvmStatic fun main(args: Array<String>) = executeScenario() override fun scenarioSteps(): List<BazelBspTestScenarioStep> = listOf( workspaceBuildTargets(), rustWorkspaceResults(), ) private fu...
Kotlin
হাজাৰ"], ["654321", "৬.৫ লাখ", "৬.৫ লাখ"], ["7654321", "৭.৭ নিযুত", "৭.৭ নিযুত"], ["87654321", "৮৮ নিযুত", "৮৮ নিযুত"], ["987654321", "৯৮৮ নিঃ", "৯৮৮ নিযুত"], ["1087654321", "১.১ শঃ কোঃ", "১.১ শত কোটি"], ["11987654321", "১২ শঃ কোঃ", "১২ শত কোটি"], ["129987654321", "১৩০ শঃ কঃ", "১৩০ শত কোটি"...
Dart
lOrListParent((View) view.getParent()); }catch(Exception e){ return null; } } else { return view; } } /** * Returns views from the shown DecorViews. * * @param onlySufficientlyVisible if only sufficiently visible views should be returned * @return all the views contained in the DecorViews ...
Java
/****************************************************************************** * Copyright 2018 The Apollo Authors. All Rights Reserved. * * 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 ...
C
t ~= nil then _match_0 = true print("成功", result) end end if not _match_0 then local _match_1 = false if _tab_0 then if false == _exp_0.success then _match_1 = true print("失败", result) end end if not _match_1 then print("无效值") end end local _exp_0 = tb local _type_0 = type(_exp_0) local _tab_0 = "...
Lua
56259);var h=r()(s());h.i(a.Z);h.i(l.Z);h.i(d.Z);h.i(c.Z);h.push([e.id,"/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n| Distributed under the terms of the Modified BSD License.\n|---------------------------------------------------------------...
JavaScript
unction () { return __awaiter(this, void 0, void 0, function() { var _this = this; return __generator(this, function(_a) { console.log('加载插件'); _this.addCommand({ id: 'internal-link', name: '[[链接]]语法', callbac...
JavaScript
', '', '1022008', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''}, {'1022008', '', '抱歉,我会检讨的。', '', '', '', '', '', '', '', '', '', '100000', '', '1', '1', '1', '%s', '', '', '', '', '', '', '', '', '', '', '', '', '1022009', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''}, {'1022009', '...
Lua
lf_ra, old_parent_ra, (unsigned long)parent_ra_addr, fp); /* * If fails when getting the stack address of the non-leaf function's * ra, stop function graph tracer and return */ if (parent_ra_addr == 0) goto out; #endif /* *parent_ra_addr = return_hooker; */ safe_store_stack(return_hooker, parent_ra_addr,...
C
if(sc_data[SC_ASSNCROS].timer!=-1 ) status_change_end(bl,SC_ASSNCROS,-1); if(sc_data[SC_TRUESIGHT].timer!=-1 ) /* gD[TCg */ status_change_end(bl,SC_TRUESIGHT,-1); if(sc_data[SC_WINDWALK].timer!=-1 ) /* EChEH[N */ status_change_end(bl,SC_WINDWALK,-1); if(sc_data[SC_CARTBOOST].timer!=-1 ) /* J[gu[Xg...
C
in()} | Terminal 50 is switched on: ${get_kl_50_ein()} | Keyless Go terminal control active: ${get_kg_kl_akt()} | Remote triggering of the MSS alarm: ${get_fern_alarm()} | Panic alarm by key on: ${get_pnk_alm_ein()} | Panic alarm by key off: ${get_pnk_alm_aus()} | Do not send application IDs, only NM IDs: $...
Kotlin
anAdjustPage.actionTypePayback) { if (_amountDebit > balanceAUSD) { String balance = Fmt.token(balanceAUSD, decimals); return '${assetDic['amount.low']}(${assetDic['balance']}: $balance)'; } BigInt debitLeft = loan.debits - _amountDebit; if (debitLeft > BigInt.zero && l...
Dart
=> throw ArgumentError( '`$source` is not one of the supported values: ' '${enumValues.values.join(', ')}', ), ) .key; T _$badNumberFormat<T extends num>( String source, String type, String argName, ) => throw FormatException( 'Cannot parse "$source" i...
Dart
this.collectionName = collectionName; } public Boolean getDesc() { return this.desc; } public void setDesc(Boolean desc) { this.desc = desc; } public Long getPageIndex() { return this.pageIndex; } public void setPageIndex(Long pageIndex) { this.pageIndex = pageIndex; } public Long getPageSize() { ...
Java
// SPDX-License-Identifier: GPL-2.0+ /* * APM X-Gene PCIe Driver * * Copyright (c) 2014 Applied Micro Circuits Corporation. * * Author: Tanmay Inamdar <tinamdar@apm.com>. */ #include <linux/clk.h> #include <linux/delay.h> #include <linux/io.h> #include <linux/jiffies.h> #include <linux/memblock.h> #include <linux...
C
getString("SQLError.63")); sqlStateMessages.put(SQL_STATE_GENERAL_ERROR, Messages.getString("SQLError.64")); sqlStateMessages.put(SQL_STATE_MEMORY_ALLOCATION_FAILURE, Messages.getString("SQLError.65")); sqlStateMessages.put(SQL_STATE_INVALID_COLUMN_NUMBER, Messages.getString("SQLError.66")); ...
Java
async { await pumpActivitySpaceCoreActionsContainerWidget(tester); // Find the pencil icon final pencilIcon = find.byIcon(PhosphorIconsRegular.pencilSimpleLine); expect(pencilIcon, findsOneWidget); // Find the Stack widget that contains the avatar and overlay expect(find.byType(St...
Dart
Group); } /// Returns the ObjectBox model definition for this project for use with /// [obx.Store.new]. obx_int.ModelDefinition getObjectBoxModel() { final model = obx_int.ModelInfo( entities: _entities, lastEntityId: const obx_int.IdUid(8, 5309797750345703025), lastIndexId: const obx_int.IdUid(11,...
Dart
zu senden. Maximal 65536 Zeichen. $appName verschlüsselt und speichert Chat-Nachrichten für 180 Tage zu Schlichtungszwecken.'; } @override String chat250Sbinput8722Sbtip8722Sbshort(Object appName) { return '$appName verschlüsselt und speichert Chat-Nachrichten für 180 Tage zu Streitschlichtungszwecken.'; }...
Dart
enhancer.unshift( middleware: middleware, viewMiddleware: viewMiddleware, effectMiddleware: effectMiddleware, adapterMiddleware: adapterMiddleware, ); } void append({ List<Middleware<T>> middleware, List<ViewMiddleware<T>> viewMiddleware, List<EffectMiddleware<T>> effect...
Dart
String displayValue = ''; @override @Input() set value(newValue) { displayValue = _numberNameRenderer(newValue); } } @Component( selector: 'example-label-renderer', template: r''' <span> <material-icon icon="experiment" baseline></material-icon> {{displayValue}} </s...
Dart
.isChecked, wednesday.isChecked, thursday.isChecked, friday.isChecked, saturday.isChecked, sunday.isChecked ) private fun FragmentAlarmsBinding.toastAlarm() { var toastText = "${hour.text}:${minute.text}" if (monday.isChecked) toas...
Kotlin
OffWorkSec()).isEqualTo(32460); assertThat(checkinTime.getLatestOffWorkSec()).isEqualTo(107940); assertThat(checkinTime.getNoNeedCheckon()).isFalse(); assertThat(checkinTime.getNoNeedCheckoff()).isFalse(); System.out.println("Successfully parsed late_rule and new checkintime fields:"); System.o...
Java
iot4_generic_write ( &nbiot4, &ctrl_z, 1 ); // Read response error_flag = nbiot4_rsp_check( RESPONSE_URC ); func_error |= error_flag; nbiot4_error_check( error_flag ); log_printf( &logger, "\r\n" ); // Close UDP socket nbiot4_send_cmd( &nbiot4, NBIOT4_CMD_CIPCLOSE ); error_flag...
C
.child(new EnumRowBuilder<>(CoverPump.PumpMode.class) .value(pumpMode) .overlay(GTGuiTextures.CONVEYOR_MODE_OVERLAY) .lang("cover.pump.mode") .build()); } @Override public void writeToNBT(NBTTagCo...
Java
p_vw_wallart_07a", [-1221006233] = "prop_trev_sec_id", [-2061890453] = "ba_prop_battle_handbag", [2029292617] = "sum_mp_h_acc_vase_flowers_04", [-2011944650] = "v_res_r_bublbath", [-1552478834] = "v_16_high_plan_over_normal", [656278478] = "xs_prop_arena_pipe_track_s_01b", [-1376081264] = "bkr_prop_biker_jump_m"...
Lua
Dns.plaintextDns( id = "digitalcourage", ips = listOf("46.182.19.48", "5.9.164.112"), label = "Digitalcourage" ), Dns.plaintextDns( id = "dismail", ips = listOf("80.241.218.68", "159.69.114.157", "2a02:c205:3001:4558::1", "2a01:4f8:c17...
Kotlin
oduleConfig.module_name[u32Idx]) == 0) { // scene_mode snprintf(szIniPath, SCENE_MAX_FILE_PATH_LENGTH, "%s/%s", (pszDirname == NULL) ? "." : pszDirname, cfgModuleConfig.module_cfgpath[u32Idx]); if (SCENE_ParseConfigSceneMode(szIniPath, pstVideoMode) != CVI_SUCCESS) { printf("SCENE_ParseConfigSceneMode ...
C
思想,要好好学习毛主席著作。你们现在批评吧,我的话说完了,就欢迎你们批评、辩论。 众:邱会作反毛泽东思想的言行是否要批判? 伯达同志:你们可以继续写墙报、大字报,也可以写信送来。 众:我们批判他是否能到会? 伯达同志:他可以到会,也可以不到会。他身体不好,你们不要动不动就下命令,这样不对。 众:邱会作的病是假的,他欺骗了军委,假造了病历。 伯达同志:你们过半年就知道他有病没有,我检查没有检查出病来,但我要算是有病的。你们有揪邱会作的权力,徐向前有保邱会作的权力。 众:徐向前的讲话是违背毛泽东思想的。 伯达同志:你们批评是可以的,我也是保徐向前和邱会作的,思想对就保对了,思想错就保错了。我不赞成用这个“揪”字,我力气不...
Markdown
ɗarin gurbatattun tsabar kudi kuma yana tabbatar da amana</h6>\n<p> Kamar yadda Monero ke da fungible (1 XMR daidai yake da 1 XMR, ko da menene), mahalarta cikin tattalin arzikin madauwari ba sa buƙatar damuwa game da kuɗin da suke aikawa ko karɓa. Duk wani Monero da suka aika ba za a iya komawa zuwa ga sauran ma\'amal...
Dart
TVL_A1, 16, 1) != 0 /** Sets steering column to the rear (towards the driver) **/ fun set_ls_zurueck_ll(f: CanFrame, p: Boolean) { checkFrame(f) CanBusNative.setFrameParameter(f, 16, 1, if(p) 1 else 0) } /** Gets memory front left **/ fun get_mvl_p1_en() : Boolean = CanBusNative.getECUParameterB(CanBAddrs....
Kotlin
.261-21.921 1.143-44.329-.25-67.566-1.02-17.007-6.09-25.525-15.766-25.525-10.612 0-26.445 15.833-65.778 38.833-25.664 15.007-49.814 17.042-60.846 3.208-4.619-5.792-8.675-9.009-13.012-9.009-10.01 0-15.516 10.51-16.517 31.53-1 21.021-1.501 36.203-1.501 45.545-35.851 15.464-47.458 48.893-36.79 89.56 5.636 21.489 15.66 53....
Dart
* analyzer.appendOrderBy(chain); * chain.finalize(); * * If only_types = true set, does not execute subqueries in the relevant parts of the query. The actions got this way * shouldn't be executed, they are only needed to get a list of columns with their types. */ /// Before ag...
C
t in pairs(config.spheres) do local sphere = Game.createMonster("Magical Sphere", sphereSpot, false, true) if sphere then boss:setStorageValue(3, math.max(0, boss:getStorageValue(3)) + 1) end end addEvent(moveSphere, 4 * 1000) end return true end local earl_osam_transform = CreatureEvent("earl_osa...
Lua
shadow.btn-dark,.btn-shadow.btn-dark.focus,.btn-shadow.btn-dark:focus,.btn-shadow.btn-outline-dark,.btn-shadow.btn-outline-dark.focus,.btn-shadow.btn-outline-dark:focus{-webkit-box-shadow:3px 3px 0 #191a2d,2px 2px 0 #191a2d,1px 1px 0 #191a2d;box-shadow:3px 3px 0 #191a2d,2px 2px 0 #191a2d,1px 1px 0 #191a2d}.btn-shadow.b...
CSS
e bigger z-index than the selected link. */ text-decoration: none; box-shadow: none; } .vertical-tabs__menu-link:hover { text-decoration: none; color: #003cc5; } /* This pseudo element provides the background for the hover state. */ .vertical-tabs__menu-link::before { position: absolute; z-index: 0; /* T...
CSS
con-9 span:first-child:before { font-family: 'Billion Web Font' } h2.bd-postheader-2 a { line-height: 28.57px; color: #f60; font-size: 20px } @media (max-width: 1199px) { .bd-postheader-2 { margin-left: 0 } } @media (max-width: 991px) { h2.bd-postheader-2 a { line-height: 18....
CSS
other) { if (other == cool.scx.live_room_watcher.impl.tiktok_hack.proto_entity.webcast.data.LiveMessageSEI.getDefaultInstance()) return this; if (other.hasUniqueId()) { mergeUniqueId(other.getUniqueId()); } if (!other.getTimestamp().isEmpty()) { timestamp_ = other.timestamp_; ...
Java
) ``` Returns: [`~pipelines.ImagePipelineOutput`] or `tuple`: If `return_dict` is `True`, [`~pipelines.ImagePipelineOutput`] is returned, otherwise a `tuple` is returned where the first element is a list with the generated images """ # Sample...
Python
3] L8_2 = L4_2 L9_2 = A0_2[5] L9_2 = L9_2[3] L6_2 = L6_2(L7_2, L8_2, L9_2) L7_2 = L3_2 L8_2 = L5_2 L9_2 = L6_2 L7_2(L8_2, L9_2) L8_2 = A0_2 L7_2 = A0_2.FE80C558D61923D9A L7_2 = L7_2(L8_2) if L7_2 then L8_2 = A0_2 L7_2 = A0_2.F8A7E99...
Lua
: $button-energized-text !default; $badge-royal-bg: $button-royal-bg !default; $badge-royal-text: $button-royal-text !default; $badge-dark-bg: $button-dark-bg !default; $badge-dark-text: $button-dark-text !default; $badge-default-bg: ...
CSS
f(isinstance(outputs1, tuple) or isinstance(outputs1, list)): outputs1 = outputs1[0] p_argmax = torch.argmax(outputs1, dim = 1, keepdim = True) p_soft = get_soft_label(p_argmax, class_num, self.tensor_type) p_soft, y = reshape_prediction_and_ground_truth(p_soft, y)...
Python
- true_const != -1) { if (false_const - true_const == 1) { EMIT(CPOS(s, MIR_UnaryAcc.create(IA32_NEG, result.copyRO()))); } else { EMIT(CPOS(s, MIR_BinaryAcc.create(IA32_AND, result.copyRO(), IC(false_const - true_const)))); } } ...
Java
font></td> * </tr> * <tr valign="top"> * <td width="120"><font size="-1"> * * <b>Content type</b></font></td> * <td><font size="-1"> string</font></td> * * </tr> * </tbody> * </table> * * @param paymentNotes Additional instructions to explain a payment policy....
Java
llbackManagerForChainRun, ) -> List[Document]: """Get docs.""" return self.retriever.invoke( question, config={"callbacks": run_manager.get_child()} ) async def _aget_docs( self, question: str, *, run_manager: AsyncCallbackManagerForChainRun, ...
Python
_amt; i++) { for (j = 0; j < 56; j++) payload[j] = 'A' + ((char)(j % 26)); tcp = libnet_build_tcp( src_prt = libnet_get_prand(LIBNET_PRu16), dst_prt, libnet_get_prand(LIBNET_PRu32), libnet_get_prand(LIBNET_PRu32), ...
C
Menu_recording_options', {label = 'Quit Session', description = 'Quit the current session before opening the rockstar editor, this can prevent some issues with the editor', args = {'quit_session'}, checked = checked, close = false}, selected) end end, options = menuOptions }, function(_,...
Lua
2*i+1]*w_val1; sum30 += v3[2*i] *w_val0; sum31 += v3[2*i+1]*w_val1; } w += 2*len2; v0 += 2*len2; v1 += 2*len2; v2 += 2*len2; v3 += 2*len2; for ( i = 0; i < len; i++ ) { w_val0 = w[i]; sum00 += v0[i]*w_val0; sum10 += v1[i]*w_val0; sum20 += v2[i]*w_val0; sum30 += v3[i]*w_val0; ...
C
#include <stdio.h> #define v 5 /*We will be creating: B -- C / / | A / | \ / | D -- E */ //Initialise the array with 0's void init(int a[v][v]){ for(int i=0;i<v;i++) for(int j=0;j<v;j++) a[i][j]=0; } //A function to print the vertices void printVert...
C
52cf83bfe58f7d5ba37ec5d"); // A.4 assertStringEquals(hex(new Des3DkCrypto().stringToKey("passwordATHENA.MIT.EDUraeburn".toCharArray())), "850bb51358548cd05e86768c313e3bfef7511937dcf72c3e"); assertStringEquals(hex(new Des3DkCrypto().stringToKey("potatoeWHITEHOUSE.GOVdanny".toCharArray())), "dfcd...
Java
[0-3][0-9]T[0-2][0-9]:[0-5][0-9]:[0-5][0-9]\\.[0-9] [+\\-][0-9]{1,2}:[0-9]{2}", "yyyy-MM-dd'T'HH:mm:ss.S xxx", "-?[0-9]{4}-[01][0-9]-[0-3][0-9]T[0-2][0-9]:[0-5][0-9]:[0-5][0-9]\\.[0-9] [+\\-][0-9]{3,4}", "yyyy-MM-dd'T'HH:mm:ss.S xx", "-?[0-9]{4}-[01][0-9]-[0-3][0-9]T[0-2]...
Java
��조크에게 가야 합니다."}}, [6322] = {"마이클 가레트", {"공동묘지에서 사용할 장비를 이 상자에 넣어 두었습니다. 공동묘지에 있는 박쥐 조련사를 만나 봤다면 다시 그리로 갈 수 있을 것입니다.","언더시티 박쥐 조련사인 마이클 가레트를 만나 보십시오. 그 친구가 공동묘지로 돌아갈 박쥐를 제공해 줄 것입니다."}, {"고든의 상자를 마이클 가레트에게 가져가야 합니다."}}, [6323] = {"언더시티로 이동", {"내 박쥐가 저렴한 가격으로 언더시티에 데려다 줄 것이니 준비가 되면 날 다시 찾아와서 어느 놈을 탈지 결정하도록 하지.","고든 웬드헴은 ...
Lua