content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
/// nearest integer level.
///
/// Defaults to `false`.
final bool forceIntegerZoomLevel;
const FitCoordinates._({
required this.coordinates,
this.padding = EdgeInsets.zero,
this.maxZoom = double.infinity,
this.minZoom = 0,
this.forceIntegerZoomLevel = false,
});
/// Returns a new [M... | Dart |
=l;for(f=0;f<u;f++)r[f]=r[l+f]}for(;u+e>=l;){if(s=l-u,o.input_.read(r,u,s)<s)throw new Error("[CopyUncompressedBlockToOutput] not enough bytes");t.write(r,l),e-=s,u=0}if(o.input_.read(r,u,e)<e)throw new Error("[CopyUncompressedBlockToOutput] not enough bytes");o.reset()}}function N(t){var e=new r(t),n=new a(e);return E... | JavaScript |
/ultralytics/assets/releases/download/v8.3.0/yolov10x.pt",
description: "A powerful real-time object detection model (YOLOv10, X-large variant)."
},
{
id: "sam_vit_h",
name: "Segment Anything Model (ViT-H)",
filename: "sam_vit_h_4b8939.pth",
url: "https://dl.fbaipublicfil... | JavaScript |
err)
assert.Equal(t, api.Experiment_STORAGESTATE_AVAILABLE.String(), exp.StorageState)
runs, total_run_size, _, err = runStore.ListRuns(&common.FilterContext{ReferenceKey: &common.ReferenceKey{Type: common.Experiment, ID: fakeID}}, opts)
assert.Nil(t, err)
assert.Equal(t, total_run_size, 2)
assert.Equal(t, api.Ru... | Go |
/*
* Copyright 2009-2017 Alibaba Cloud 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | C |
class Solution:
def maxSubArray(self, nums: List[int]) -> int:
max_sum = float('-inf')
running_sum, prefix_sum = 0, 0
for i in range(len(nums)):
running_sum += nums[i]
if prefix_sum < 0:
running_sum -= prefix_sum
prefix_sum = 0
... | Python |
return 0
}
func (m *CMsgDOTARedeemEventPrizeResponse) GetRemainingPremiumPoints() uint32 {
if m != nil && m.RemainingPremiumPoints != nil {
return *m.RemainingPremiumPoints
}
return 0
}
func (m *CMsgDOTARedeemEventPrizeResponse) GetEventId() uint32 {
if m != nil && m.EventId != nil {
return *m.EventId
}
re... | Go |
定する場合、少なくとも1つの`apache::vhost`リソースを追加する必要があります。追加しなければ、Apacheは起動しません。デフォルトのバーチャルホストを設定するには、`apache`クラスで`default_vhost`を設定するか、[`apache::vhost`][]定義タイプを使用します。[`apache::vhost`][]定義タイプを用いて、追加の固有バーチャルホストを設定することもできます。
<a id="usage"></a>
## 使用方法
<a id="configuring-virtual-hosts"></a>
### バーチャルホストの設定
デフォルトの[`apache`][]クラスは、ポ... | Markdown |
NjZW50 IEppdQ== YXJuYWV2 IFF1YW4= IDQyOQ== IOCo TWFyaW8= Q29uc3RydWN0 IENpdGF0aW9u IFJhY2lhbA== IFJTQQ== IEZpZGVs IDM5NQ== UGVyc29uYWxseQ== Q2F1c2U= w7s= cmFkaWNhbA== aW5lbg== IHZlaGVtZW50bHk= IFBhcGE= IGludGVybnNoaXA= IGZsYWtlcw== IFJlY2s= THVja2lseQ== QnJh MjAyMA== cmF2aW5ncw== Uk4= V29uZGVy U2VyaW91c2x5 IHJldXNhYmxl... | JavaScript |
,24.341,99.677,117.147a180.862,180.862,0,0,0-10.988,73.544c1.733,29.543,14.717,52.97,24.09,80.3,17.2,50.161-28.1,92.743-66.662,117.582-46.806,30.2-36.319,39.857-8.428,41.858,23.378,1.68,44.478-4.548,65.265-15.045,9.2-4.647,40.687-18.931,45.13-28.588C135.9,413.388,111.122,459.5,126.621,488.9c19.1,36.229,67.112-31.77,76.... | JavaScript |
# -*- coding: utf-8 -*-
import os
ACTIVE_LISTS = ('german', 'french', 'italian', 'english', 'spanish')
class StopWords(object):
def __init__(self):
self.stop_words_lists = {}
self.language = None
stop_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'st... | Python |
= 77896
IGtlcGFkYQ== 77897
IENQUg== 77898
X0xTQg== 77899
CXZlcnRleA== 77900
INC/0LXRgNCy 77901
LCE= 77902
IGR1bHk= 77903
X1BBVENI 77904
RU5B 77905
CUND 77906
Y29tcG9zaXRpb24= 77907
X3N2 77908
TGJs 77909
amVq 77910
0YHRgtGA0L7QuQ== 77911
LkVkaXRWYWx1ZQ== 77912
5YW3 77913
YW50YXM= 77914
IGJyZWFkY3J1bWI= 77915
IFRlc3Rlcg=... | Kotlin |
ger.hasSystemFeature(PackageManager.FEATURE_PICTURE_IN_PICTURE)
private fun onBroadcastReceived(context: Context?, intent: Intent?) {
if (intent == null) return
if (intent.action == ACTION_PLAY_PAUSE) {
if (intent.getIntExtra("requestCode", REQUEST_CODE_PLAY) == REQUEST_CODE_PAUSE)
player.pause()
else
... | Kotlin |
xJQUNQLE9BQU87QUFBQSxNQUNMLEtBQUssS0FBSyxRQUFRLGtDQUFXLE9BQU87QUFBQSxJQUN0QztBQUFBLEVBQ0Y7QUFDRixFQUFFOyIsCiAgIm5hbWVzIjogW10KfQo=
// vite.config.ts
import { defineConfig } from "file:///C:/Users/trist/atomera/frontend/node_modules/vite/dist/node/index.js";
import react from "file:///C:/Users/trist/atomera/frontend/nod... | JavaScript |
Renderer(activity: Activity) : GLSurfaceView.Renderer, RenderAction {
private var mActivity: Activity = activity
var mSampleType = 0
init {
System.loadLibrary("ouyangpeng-opengles-lib")
}
////////////////////////////////// Native 方法///////////////////////////////////////
// 通用的
pri... | Kotlin |
), "thirst")
if HealthHud ~= nil and pHealth ~= nil then ExecuteWebJS(HealthHud, "SetHealth("..pHealth..", "..personalMenuIsOpen..");") end -- Fix robustesse
if ArmorHud ~= nil and pArmor ~= nil then ExecuteWebJS(ArmorHud, "SetArmor("..pArmor..", "..personalMenuIsOpen..");") end
if HungerFoodHud ~= nil and ... | Lua |
ommon/data/pairs/doubled-bytes/case73-73.txt"),
include_str!("common/data/pairs/doubled-bytes/case74-74.txt"),
include_str!("common/data/pairs/doubled-bytes/case75-75.txt"),
include_str!("common/data/pairs/doubled-bytes/case76-76.txt"),
include_str!("common/data/pairs/doubled-bytes/case77-77.txt"),
... | Rust |
"🍶",
["salt"] = "🧂",
["saluting_face"] = "🫡",
["sandwich"] = "🥪",
["sari"] = "🥻",
["satellite"] = "🛰",
["satellite_antenna"] = "📡",
["sauropod"] = "🦕",
["saxophone"] = "🎷",
["scarf"] = "🧣",
["school"] = "🏫",
["scientist"] = "🧑🔬",
["scientist_dark_skin_tone"]... | Lua |
rectory if it does not already exist (check out the [Default Gymfile](/build-reference/ios-builds#default-gymfile) section).
14. Run `fastlane gym` in the ios directory.
15. Deprecated: Run the `eas-build-pre-upload-artifacts` script from package.json if defined.
16. Store a cache of files and directories defined in th... | Markdown |
.log(e);
}
}
private regExpEsc(str: string) {
return str.replace(/[-/\\^$*+?.()|[\]{}]/g, '\\$&');
}
}
import { useEffect } from 'react';
/**
* Run effect only when component is first mounted.
*
* @param effect Effector to run on mount
*/
export function useMountEffect(effect: CallableFunction): voi... | Typescript |
* 获取所有usb驱动器(不包含HUD)
- **keyboardHook** 低级的键盘变化监听构造函数
- **mouseHook** 低级的鼠标变化监听构造函数
- **sendBasicKeys** 向系统发送标准的快捷键 例如 : ctrl+win+C
- **getColor** 获取指定位置的颜色
- **captureBmpToFile** 截图指定位置并且写入文件 (BMP)
- **sendKeyboard** 发送键盘事件
- **sendKeyboardSequence** 发送键盘事件序列
- **sendKeyT2CSync** 同步执行t2c 脚本 (一种快捷的 更加符合人类编写键鼠操作... | Markdown |
ult = whd_wifi_deregister_event_handler(csi_ifp, csi_ifp->event_reg_list[WHD_SCAN_EVENT_ENTRY]);
csi_ifp->event_reg_list[WHD_CSI_EVENT_ENTRY] = WHD_EVENT_NOT_REGISTERED;
}
if (result != CY_RSLT_SUCCESS) {
WPRINT_WHD_ERROR(("Error while deregistering the handler %ld \n",result));
}
whd_... | C |
|
| 图像识别技术 | 如何使用深度学习算法实现图像识别,例如人脸识别、车辆识别、动物识别等? |
| 数据挖掘 | 如何使用数据挖掘技术从大量数据中提取有价值的信息,例如趋势分析、异常检测等? ... | Markdown |
/*
* LibrePCB - Professional EDA for everyone!
* Copyright (C) 2013 LibrePCB Developers, see AUTHORS.md for contributors.
* https://librepcb.org/
*
* 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 Fou... | C |
f xxl {
siz = bq3
}
wid := float32(chests[i].slots) * (siz + 2)
x -= wid / 2
//CHECK IN SLOTS REC
checkslotsrec := rl.NewRectangle(x, y, wid, siz)
if rl.CheckCollisionPointRec(cursorV2cam, checkslotsrec) {
inchestslot = true
} else {
inchestslot = false
... | Go |
Duration(randSource.lastInt63) % ipv6.MaxDesyncFactor
effectiveMaxTempAddrPL := maxTempAddrPreferredLifetime - tempDesyncFactor
expectAutoGenAddrEventAsync := func(addr tcpip.AddressWithPrefix, eventType ndpAutoGenAddrEventType, timeout time.Duration) {
t.Helper()
clock.Advance(timeout)
expectAutoGenAddrEvent... | Go |
ublic String getCharsetName()
{
// Local Character Set
String charSetName = Ini.getCharset().name();
if (EmptyUtil.isBlank(charSetName))
{
charSetName = "iso-8859-1"; // WebEnv.ENCODING - alternative iso-8859-1
}
return charSetName;
}
/**
* @return true if email is valid and can be sent
*/
pu... | Java |
;
// 接收客服会话管理事件
router.rule().async(false).msgType(WxConsts.XmlMsgType.EVENT)
.event(WxMpEventConstants.CustomerService.KF_CREATE_SESSION)
.handler(kfSessionHandler).end();
router.rule().async(false).msgType(WxConsts.XmlMsgType.EVENT)
.event(WxMpE... | Java |
x = int(1) # x will be 1
y = int(2.8) # y will be 2
z = int("3") # z will be 3 | Python |
fName = prefix + ":" + fName + endStr;
}
}
}
fieldValue = com.redmoon.oa.visual.FormDAOMgr.getFieldValueOfOther(request, fdao, fName);
} ... | Java |
s));
renderPanorama(bitmaps, bitmap_width, bitmap_height, cumulative_transforms, align_x_values, dst_offset_x_values,
blend_hwidth, slice_width, offset_x, panorama, crop_x0, crop_y0, camera_angle, time_s);
if( MyDebug.LOG )
Log.d(TAG, "### time after rendering bitmaps: " + (S... | Java |
uctured"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/klog/v2"
"open-cluster-management.io/addon-framework/pkg/addonfactory"
"open-cluster-management.io/addon-framework/pkg/utils"
addonapiv1alpha1 "open-cluster-management.io/api/addon/v1alpha1"
)
// decorator mutate the unstructured and returns an unstructured.
typ... | Go |
mTxt {
color: #FFFFFF;
cursor: pointer;
float: left;
height: 36px;
line-height: 36px;
margin-top: 27px;
overflow: hidden;
width: 70px;
}
.taskMenuBox .taskItem {
background: url("../../assets/images/bg_task_group_m.png") no-repeat scroll 0 0 transparent;
height: 40px;
}
.ie6_0 .taskMenuBox .taskIt... | CSS |
20
? ((s = (E & S) | (~E & C)), (l = 1518500249))
: g < 40
? ((s = E ^ S ^ C), (l = 1859775393))
: g < 60
? ((s = (E & S) | (E & C) | (S & C)), (l = 2400959708))
: ((s = E ^ S ^ C), (l = 3395469782)),
(_ = (L(w... | JavaScript |
N BIGNUM *pBI_E,
IN BIGNUM *pBI_P,
OUT BIGNUM **pBI_Result)
{
BN_CTX *bnctx;
bnctx = BN_CTX_new();
if (*pBI_Result == NULL)
*pBI_Result = BN_new();
BN_mod_exp_mont(*pBI_Result, pBI_G, pBI_E, pBI_P, bnctx, NULL);
BN_CTX_free(bnctx);
}
VOID Bignum_Mod_Mul_Inverse(
IN BIGNUM *pBI,
IN BIGNUM *pBI_P,
OUT BI... | C |
Students.push(E.getTelefono());
Students.push(E.getCorreo_electronico());
Students.push(E.getFecha_creacion());
Students.push(E.getFecha_actu());
Students.push(E.getImg_url());
const Users: any[] = [];
Users.push(Euser.getUsuario());
Users.push(Euser.getContra());
Users.push(Euser.getFe... | Typescript |
g.attribute("value", p.value);
});
});
_clock_list.for_each([&] (Clock const &c) {
_model.clocks().apply(c.name, [&] (Driver::Clock &clock) {
g.node("clock", [&] () {
g.attribute("rate", clock.rate().value);
g.attribute("name", c.driver_name);
});
});
});
_pci_config_list.for_each([&]... | C++ |
rb = params['verb'] as String?;
final response =
await GetIt.I.get<RetrievesListOfEvents>().retrievesListOfEvents(
apiVersion: ApiNetwork.apiVersion,
createdAtMin: createdAtMin,
createdAtMax: createdAtMax,
limit: limit,
... | Dart |
}
dataStoreSpecProp, err := expandDialogflowCXToolDataStoreSpec(d.Get("data_store_spec"), d, config)
if err != nil {
return err
} else if v, ok := d.GetOkExists("data_store_spec"); !tpgresource.IsEmptyValue(reflect.ValueOf(dataStoreSpecProp)) && (ok || !reflect.DeepEqual(v, dataStoreSpecProp)) {
obj["dataStoreS... | Go |
hen
-- Handler can call get_cc_value() to fetch current values from gmem.
rfx.onccchange()
end
end
return track_changed
end
-- Returns true if the track has a valid and enabled RFX.
function rfx.Track:valid()
return self.fx ~= nil
end
function rfx.Track:get_cc_value(cc)
... | Lua |
子,看看沙普比克是不是被關在裡面。"}, {"檢查兩個枯木食人妖村落裡的籠子,然後向獅鷲獸管理員沙拉克·鷹斧回覆。"}},
[2989] = {"祖爾祭壇", {"沙普比克沒有和枯木食人妖在一起,那麼或許是邪枝食人妖帶走了他……到邪枝食人妖控制地區的西部邊緣去,在那裡的祖爾祭壇上找一找吧。"}, {"檢查祖爾祭壇的頂部,然後向獅鷲獸管理員沙拉克·鷹斧報告。"}},
[2990] = {"薩迪斯·格希德", {"把這根羽毛交給預言師薩迪斯·格希德。幾年前,他離開鷹巢山去尋求黑暗的知識,但他內心深處仍是一個不折不扣的蠻錘矮人!","也許他的智慧能幫助我們找到沙普比克。","這根羽毛是從它的巢穴裡拿出來的,如果你把它交給薩迪斯,那麼他也許... | Lua |
ratchet-salt';
final aesKey = Uint8List.fromList([
200,
244,
58,
72,
214,
245,
86,
82,
192,
127,
23,
153,
167,
172,
122,
234,
140,
70,
175,
74,
61,
11,
134,
58,
185,
102,
172,
17,
11,
6,
119,
... | Dart |
Notify_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.SalvagePreventSettleNotifyOuterClass.SalvagePreventSettleNotify.class, emu.grasscutter.net.proto.SalvagePreventSettleNotifyOuterClass.SalvagePreventSettleNotify.Builder.class);
}
public static final in... | Java |
{
this.baseElementSpec = baseElementSpec;
}
protected ContextPaletteModel contextPaletteModel;
@Override
public ContextPaletteModel getContextPaletteModel() {
if (contextPaletteModel == null) {
contextPaletteModel = PinContextModel.getContextPaletteModel(this);
}
... | Java |
-widget button:not(:disabled):active {
background-image: radial-gradient(circle, rgba(61, 137, 201, 0.16) 10%, transparent 0%);
}
/*********
* Pluma *
*********/
.pluma-window statusbar {
margin: 0 -10px;
padding: 0 4px;
border-top: 1px solid rgba(204, 204, 204, 0.12);
}
.pluma-window statusbar frame > bord... | CSS |
) => {
const x = icon.x === 0 ? '0' : `-${icon.x}px`;
const y = icon.y === 0 ? '0' : `-${icon.y}px`;
output += (
`\n` +
` // ${icon.fileName}\n` +
` &.${this.getClassName(classes.icon, index)} {\n` +
` background-position: ${x} ${y};\n` +
` }\n`
... | Typescript |
Editor_fileSizeGreaterThan => 'حجم فایل بیش از';
@override
String get ruleEditor_fileSizeLessThan => 'حجم فایل کمتر از';
@override
String get ruleEditor_fileExtensionIs => 'پسوند فایل برابر با';
@override
String get ruleEditor_downloadUrlContains => 'آدرس دانلود شامل';
@override
String get err_inval... | Dart |
,2.0;" x1="3134.375" x2="3227.0833" y1="3355.8024" y2="3355.8024"/><text fill="#000000" font-family="sans-serif" font-size="22.9167" lengthAdjust="spacingAndGlyphs" textLength="77.0833" x="3227.0833" y="3364.1378">Objects</text><line style="stroke: #A80036; stroke-width: 2.0833333333333335; stroke-dasharray: 1.0,2.0;" ... | Kotlin |
Vault server and writing a secret to it, using the Vault HTTP API, running a production Vault server, using the KVv2 secrets engine and the Userpass auth method, and Vault policies.
https://play.instruqt.com/hashicorp/tracks/vault-dynamic-database-credentials
Go through this track start to finish and make sure you u... | Markdown |
外,还有以下优点:
1. 让Web标准发展前景更为广阔
2. 内容能被更广泛的设备访问。
3. 更容易被搜索引擎了搜索。
4. 降低网站流量费用。
5. 易于维护。
6. 提高页面浏览速度。
### 3.2 Web标准的构成
| 标准 | 说明 |
| ---- | ------------------------------------------------------------ |
| 结构 | 结构对网页元素进行整理和分类,现阶段主要是HTML |
| 表现 | 表现用于设置网页... | Markdown |
ru Hayate
- 2025.05.26 [Commit#4d9d56b1](https://github.com/RVC-Boss/GPT-SoVITS/commit/4d9d56b19638dc434d6eefd9545e4d8639a3e072), [Commit#8c705784](https://github.com/RVC-Boss/GPT-SoVITS/commit/8c705784c50bf438c7b6d0be33a9e5e3cb90e6b2), [Commit#fafe4e7f](https://github.com/RVC-Boss/GPT-SoVITS/commit/fafe4e7f120fba56c5f... | Markdown |
_MOSFET_P3' : s + 'electrical.mosfets1.p-channel_mosfet_1;flipV=1',
'EE_MOSFET_P3_V2' : s + 'electrical.mosfets1.p-channel_mosfet_1;flipV=1',
'EE_MOSFET_N1' : s + 'electrical.mosfets1.mosfet_ic_n',
'EE_MOSFET_N1_V2' : s + 'electrical.mosfets1.mosfet_ic_n',
'EE_MOSFET_N2' : s + 'electrical.mosfets1.mosfet_n_... | JavaScript |
/*
* Copyright (c) 2006-Present, Redis Ltd.
* All rights reserved.
*
* Licensed under your choice of the Redis Source Available License 2.0
* (RSALv2); or (b) the Server Side Public License v1 (SSPLv1); or (c) the
* GNU Affero General Public License v3 (AGPLv3).
*/
#pragma once
#include "op.h"
#include "../exec... | C |
#include "../probe-modules.h"
#include "../../util-data/safe-string.h"
/*for internal x-ref*/
extern Probe LzrWaitProbe;
static unsigned lzr_wait_handle_response(unsigned th_idx, ProbeTarget *target,
const unsigned char *px,
unsigned s... | C |
ectMetadataRequest getObjectMetadataRequest = new GetObjectMetadataRequest(bucketName, key);
this.setEncryptionMetadata(getObjectMetadataRequest, new ObjectMetadata());
ObjectMetadata objectMetadata = null;
try {
objectMetadata = (ObjectMetadata) callCOSClientWithRetry(getObjectMetad... | Java |
com/license
*/
.cke_reset{margin:0;padding:0;border:0;background:transparent;text-decoration:none;width:auto;height:auto;vertical-align:baseline;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box}.cke_reset_all,.cke_reset_all *{margin:0;padding:0;border:0;background:transparent;text-decor... | CSS |
tings.loadWorldMapPref(context, 0, WorldMapWidgetSettings.PREF_KEY_WORLDMAP_MINORGRID, MAPTAG_LIGHTGRAPH, DEF_KEY_WORLDMAP_MINORGRID);
options.gridX_major_show = options.gridY_major_show = false;
options.sunPath_show_points = WorldMapWidgetSettings.loadWorldMapPref(context, 0, PREF_KEY_GRAPH_SHO... | Java |
rl 缓冲中获取检测数据,然后通过回调函数输出结果。
**结果演示**
运行工具然后在另一个终端中往 MySQL 写入数据,可以观测到工具输出:-
-
-
-
-
-
root@ubuntu:/tmp# python mgr_apply_data_packet.py``Tracing MySQL server mgr apply_data_packet function``SINCE_UP_TIME(s) PID THREAD``2165924 26387 27060``2165924 25810 27043``2165924 26962 27080`
**参考**
... | Markdown |
#!/usr/bin/python3
def roman_to_int(roman_string):
if not roman_string or type(roman_string) != str:
return 0
roman_values = {
'I': 1, 'V': 5, 'X': 10, 'L': 50,
'C': 100, 'D': 500, 'M': 1000
}
number = 0
prev_value = 0
for char in reversed(roman_string):
... | Python |
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* vim: set sw=4 ts=8 et tw=80 : */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */... | C |
True:
# Get user input
user_input = input("You: ")
# Exit the loop if the user types 'q'
if user_input.lower() == 'q':
print("Exiting conversation.")
break
# Check if the 'Esc' key is pressed to save the conversation
if user_input.lower() == 'atta... | Python |
org/docs/latest/charts/line.html#dataset-properties
- Bar chart: https://www.chartjs.org/docs/latest/charts/bar.html#dataset-properties
- Radar chart: https://www.chartjs.org/docs/latest/charts/radar.html#dataset-properties
- Doughnut & Pie: https://www.chartjs.org/docs/latest/charts/doughnut.html#dataset-p... | Markdown |
.g., "बै").
* @property full The full name of the month (e.g., "बैशाख").
*/
@Immutable
data class NepaliMonthName(val short: String, val full: String)
/**
* Represents the language used for Nepali date pickers.
*
* This enum provides language-specific text and lists of weekday and month names for English and Nepa... | Kotlin |
stuid=$uid;stoken=$stoken;mid=$mid",
"DS": getAuthDs.generated(url: api, content: "stuid=$uid;stoken=$stoken;mid=$mid"),
"User-Agent": "BoxCatTeam SRCat/${Application.packageInfo.version}.0"
};
String ticket = "";
/// 等待获取 ticket
await SCDioUtils.request(
method: Method.GET,
ur... | Dart |
float64, KODEout, Nout int, YRout, YIout []float64, NZ int, RLout, TOLout, ELIMout, ALIMout float64) {
var AA, AEZ, AK, AK1I, AK1R, ARG, ARM, ATOL,
AZ, BB, BK, CKI, CKR, CONEI, CONER, CS1I, CS1R, CS2I, CS2R, CZI,
CZR, DFNU, DKI, DKR, DNU2, EZI, EZR, FDN, PI, P1I,
P1R, RAZ, RTPI, RTR1, RZI, RZR, S, SGN, SQK, STI,... | Go |
;
final List<Object[]> result = qry.list();
if (LOGGER.isInfoEnabled())
LOGGER.info("Finished fetchMajorCodeAndApprovedAmount");
return result;
}
// For Consolidated Budget Report
public List<Object[]> fetchMajorCodeAndBENextYrApprovedForReport(final CFinancialYear financialYear,
final String fundType... | Java |
]
Fields might have a non-zero offset (except when [the C representation] is used); in that case the
bits starting at the offset of the fields are read
r[items.union.fields.validity]
It is the programmer's responsibility to make sure that the data is valid at the field's type. Failing
to do so results in [undefined be... | Markdown |
= fontSize,
style = MaterialTheme.typography.labelSmall,
color = textColor,
textAlign = TextAlign.End,
modifier = Modifier
.width(36.dp)
.padding(start = 4.dp, end = 4.dp)
)
Text(
text = "${message.timestamp} ${m... | Kotlin |
1.541.205 4.084c-.751 1.952 2.535 6.602 10.097 3.244l.004-.002a4.237 4.237 0 01-.133-.299zm1.387-.222.002-.001c4.271-1.897 3.674-5.191 2.569-5.614-1.487-.569-4.19 1.624-2.647 5.447.015.027.066.14.076.168zm7.853 4.165A5.567 5.567 0 0016.2 7.986a1.243 1.243 0 00-.423-.073c-.717 0-1.407.595-1.472 1.338-.109 1.239.137 2.5... | Dart |
adAsync(content)
end
-- Handle waiting threads.
local threads = waitingThreads[id]
threads.groups -= 1
if threads.groups > 0 then
continue
end
waitingThreads[id] = nil
for _, thread in ipairs(threads) do
task.spawn(thread)
end
end
active = false
end)
end
--@sec: Q... | Lua |
CountryInfo(isoCode = "TT", callingCode = "+1868"),
CountryInfo(isoCode = "TV", callingCode = "+688"),
CountryInfo(isoCode = "TW", callingCode = "+886"),
CountryInfo(isoCode = "TZ", callingCode = "+255"),
CountryInfo(isoCode = "UA", callingCode = "+380"),
CountryInfo(isoCo... | Kotlin |
/**
* @file mean_collision_data.h
* @brief data type to log interactions between stuff and agents that
* might be community standards violations
*
* $LicenseInfo:firstyear=2000&license=viewergpl$
*
* Copyright (c) 2000-2009, Linden Research, Inc.
*
* Second Life Viewer Source Code
* The source code in this... | C |
)
local update_all_content = function()
update_progress_bar()
update_time_progress()
update_time_duration()
update_title()
update_artist()
update_cover()
check_if_playing()
check_repeat_status()
check_random_status()
update_volume_slider()
end
-- Update progress bar and time every N seconds
gears.timer.sta... | Lua |
.segments[a].data[s.segments[a].data.length - 2])
&& equal(
segments[a].data[segments[a].data.length - 1],
s.segments[a].data[s.segments[a].data.length - 1])
&& equal(segments[a].realDistance,
s.segments[a].realDistance)) {
distance += segments[a].realDistance;
} else {
... | Java |
(prevPartyLeader)
}
private fun autoPartyTransfer(prevPartyLeader: String) {
HypixelCommands.partyTransfer(prevPartyLeader)
config.reversePT.message.takeIf { it.isNotBlank() }?.let {
HypixelCommands.partyChat(it)
}
}
@HandleEvent
fun onMessageSendToServer(event:... | Kotlin |
mensaje del usuario
addUserMessage(query);
saveToHistory("user", query);
// Limpiar input y deshabilitar mientras procesa
queryInput.value = "";
clearButton.style.display = "none";
isProcessingQuery = true;
// Añadir efecto de "escribiendo..." para el bot
const typingIndicator = addTy... | JavaScript |
@code s} of this regular expression. The
* match itself is at {@code s.substring(loc[0], loc[1])}.
*
* <p>A return value of null indicates no match.
*/
// This is visible for testing.
int[] findIndex(String s) {
int[] a = doExecute(MachineInput.fromUTF16(s), 0, UNANCHORED, 2);
if (a == null) {
... | Java |
ect dstPath %q to exist", dstPath)
}
if err := runDockerCp(c, srcPath, dstDir); err != nil {
c.Fatalf("unexpected error %T: %s", err, err)
}
if err := fileContentEquals(c, dstPath, "file1\n"); err != nil {
c.Fatal(err)
}
// Now try again but using a trailing path separator for dstDir.
if err := os.Remove... | Go |
CJwYXRoIiwiZW5jb2RlVVJJQ29tcG9uZW50IiwiTkVYVF9ERVBMT1lNRU5UX0lEIiwiX19uZXh0X2ltZ19kZWZhdWx0Il0sImlnbm9yZUxpc3QiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///(app-pages-browser)/./node_modules/next/dist/shared/lib/image-loader.js\n"));
/***/ }),
/***/ "(app-pages-browser)/./node_modules/next/dist/sha... | JavaScript |
be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name androidx.recyclerview:layout_constraintHorizontal_weight
*/
... | Java |
s": f10EgMulticastBytes,
"f10EgMulticastBytesCount": f10EgMulticastBytesCount,
"f10EgMulticastPacketCount": f10EgMulticastPacketCount,
"f10EgMulticastGreenMin": f10EgMulticastGreenMin,
"f10EgMulticastGreenMax": f10EgMulticastGreenMax,
"f10EgMulticastGreenDrop": f10EgMulticastGreenDrop... | Python |
// Copyright(c) 2015-present, Gabi Melman & spdlog contributors.
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
#pragma once
#include "dist_sink.h"
#include <spdlog/details/null_mutex.h>
#include <spdlog/details/log_msg.h>
#include <mutex>
#include <string>
#include <chrono>
// Duplicate ... | C |
gual analysis section should provide a plausible and insightful hypothetical finding about cultural differences in concept representation.",
"The language acquisition application should propose a creative and practical use of the system for language learners.",
"The response should address ethic... | Python |
e/threeD/index.htm
*
* @return true, if inversion succeeded, false otherwise (matrix remains unchanged)
*/
fun invert(eps: Float = 0f): Boolean {
val det = determinant()
if (det.isFuzzyZero(eps)) {
return false
}
val t00 = m11*m22 - m12*m21
val t01... | Kotlin |
j] = T.float16(0)
C_warp[vii, vjj, vi, vj] = C_warp[vii, vjj, vi, vj] + A_shared_warp[vii, vkk, vi, vk] * B_shared_warp[vjj, vkk, vj, vk]
for ax0, ax1 in T.grid(16, 16):
with T.block("C_warp"):
v0 = T.axis.spatial(1, 0)
v1 = T.axis.... | Python |
/* -*-c++-*-
* ----------------------------------------------------------------------------
*
* PlantGL: The Plant Graphic Library
*
* Copyright CIRAD/INRIA/INRA
*
* File author(s): F. Boudon (frederic.boudon@cirad.fr) et al.
*
* ------------------------------------------------------------... | C |
LinkInput.assets.0.link_mode missing', () {
final input = inputJson(hookType: 'link');
traverseJson<Map<String, Object?>>(input, [
'assets',
0,
'encoding',
]).remove('link_mode');
expect(
() => LinkInput(input).assets.code.first.linkMode,
throwsA(
predicate(
... | Dart |
C8844
#define mmDCORE0_EDMA0_QM_ARC_AUX_CFG_DCCM_TERMINATE_BRESP 0x41C8848
#define mmDCORE0_EDMA0_QM_ARC_AUX_CFG_DCCM_TERMINATE_RRESP 0x41C884C
#define mmDCORE0_EDMA0_QM_ARC_AUX_CFG_DCCM_TERMINATE_EN 0x41C8850
#define mmDCORE0_EDMA0_QM_ARC_AUX_CFG_DCCM_SECURE_REGION 0x41C8854
#define mmDCORE0_EDMA0_QM_ARC_AUX_ARC_... | C |
x7c4: 0x0e5a, 0x7c5: 0x06ee,
0x7c6: 0x08e2, 0x7c7: 0x162e, 0x7c8: 0x162e, 0x7c9: 0x0a0e, 0x7ca: 0x1462, 0x7cb: 0x0946,
0x7cc: 0x0a0a, 0x7cd: 0x0bf2, 0x7ce: 0x0fd2, 0x7cf: 0x1162, 0x7d0: 0x129a, 0x7d1: 0x12d6,
0x7d2: 0x130a, 0x7d3: 0x141e, 0x7d4: 0x0d76, 0x7d5: 0x0e02, 0x7d6: 0x0eae, 0x7d7: 0x0f46,
0x7d8: 0x1262, 0x... | Go |
lToNum(input));
}
// ѱ ڷ ٲٴ
public static long hangulToNum(String input) {
long result = 0; // ȯ ϱ
long tmpResult = 0; // ʹõ ϱ ӽú
long num = 0;
final String NUMBER = "̻ĥȱ";
final String UNIT = "ʹõ";
final long[] UNIT_NUM = {10,100,1000,10000,(long)1e8,(long)1e12};
StringToken... | Java |
'', '', '10%的概率额外行动'},
{'61002', '', '99930001', '2', '', '', '', '', 'Rand', '1800,20002', '2', '', '', '', '', '18%的概率额外行动'},
{'61003', '', '99930001', '2', '', '', '', '', 'Rand', '3000,20002', '2', '', '', '', '', '30%的概率额外行动'},
{'61004', '', '99930001', '2', '', '', '', '', 'Rand', '3000,91001', '2', '', '', '', '... | Lua |
O);
boolean expected = pwd!=null && pwd.startsWith(prefix) && pwd.length()>prefix.length();
assertTrue(getMessageExpectedStartsWith(SA_PREFIX+nomeSA,pwd, prefix),
expected);
// risposta
pwd = ConfigLoader.dbUtils.getServiziApplicativiPasswordRisp(NOME_SERVER_ASINCRNO_ASIMMETRICO);
assertEquals(getMess... | Java |
IED WARRANTIES, INCLUDING, BUT NOT
** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT... | Lua |
Data => _staticData;
}
/// Should have exactly *one* instance per *type*.
///
/// For example, all `std::sync::Arc<Apple>` objects should use one
/// `RustArcTypeInfo` object, while all `std::sync::Arc<Orange>`
/// objects should use another.
///
/// The [T] is just a marker type to remind the content type and has no ... | Dart |
--[[
****************************************************************
SCT Globalization Format Parser
Some of this code was directly taken from MarsMessageParser.lua
with permission from the author (as said in the file).
It used is being used by SCT simply to make sure all the
GlobalStrings.lua strings are... | Lua |
<R> = data as *mut _;
let data: &mut ReadData<R> = &mut *data;
if data.triggered_error.is_some() {
(*size) = 0;
return data.buffer.as_ptr() as *const libc::c_char;
}
match data.reader.read(&... | Rust |
olatedRoute = \"\" // did not satisfy all requirements\n ;\n // n.b. We ignore this error because we handle warning for this case in\n // development in the `<Link>` component directly.\n }\n return {\n params,\n result: interpolatedRoute\n };\n} //# sourceMappingURL=interpolate-as.j... | JavaScript |
4.3.13")
classpath("com.google.firebase:firebase-crashlytics-gradle:2.9.1")
}
}
allprojects {
repositories {
google()
mavenCentral()
maven { url = uri("https://www.jitpack.io") }
}
}
tasks {
register("clean", Delete::class) {
delete(rootProject.buildDir)
}
}... | Kotlin |
lRenderContext', {
value: FunctionalRenderContext
});
Vue.version = '2.5.16';
/* */
// these are reserved for web because they are directly compiled away
// during template compilation
var isReservedAttr = makeMap('style,class');
// attributes that should be using props for binding
var acceptValue = makeMap('inp... | JavaScript |
April, 5, 12, 0, 0, 0, time.UTC)
var testQueue PriorityQueue
if testQueue.Len() != 0 && !testQueue.Empty() {
t.Fatal("Expected the queue to be empty")
}
// Create elements with expiry of t0 + value * second.
for _, value := range array {
testQueue.Push(&testQueueItem{
Value: value,
Expiry: t0.Add(tim... | Go |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.