content
stringlengths
2
6.21k
label
stringclasses
16 values
�销售净利润率 ,a.UNSOLD_SALESPROFIT_Y_4 -- 拿地年份T-4年前未售销售净利润 ,a.UNSOLD_SALESPROFIT_RATE_Y_4 -- 拿地年份T-4年前未售销售净利润率 ,a.UNSOLD_COST_Y -- 本年未售成本 ,a.UNSOLD_COSTPROFIT_RATE_Y -- 本年未售成本利润率 ,a.UNSOLD_COSTPROFIT_RATE_Y2Y -- 本年未售成本利润率同比 ,a.UNSOLD_TOTAL_Y -- 本年未售总货值 , DATE_FORMAT(CURRENT_TIMESTAMP, 'yyyy-MM-dd HH:mm:ss') ETL_IN_...
Kotlin
p, [%o0+0] /* caller's stack pointer and return pc */ st %fp, [%o0+8] /* store caller's frame pointer */ retl clr %o0 ! return 0 ENTRY(_longjmp) addcc %o1, %g0, %g6 ! compute v ? v : 1 in a global register be,a 0f mov 1, %g6 0: mov %o0, %g1 ! save a in another global register ld [%g1+8], %g7 /* get caller's...
Assembly
global sInstance__Q27NrvTico12TicoNrvBlue1 .global sInstance__Q27NrvTico11TicoNrvRed0 .global sInstance__Q27NrvTico11TicoNrvRed1 .global sInstance__Q27NrvTico11TicoNrvRed2 .global sInstance__Q27NrvTico12TicoNrvSpin0 .global sInstance__Q27NrvTico13TicoNrvGuide0 .global sInstance__Q27NrvTico13TicoNrvGuide1 .global sInsta...
Assembly
ae75tLFWRBfE8Wfep0dSjL751m2yzvzZTc6uZ" + "RTcUiipvl42DaY8Z5eG2b6xPVhvXshMORvHzwhJhPkHSbnwXX5K" ) ) ) } @Test fun shouldTrimStatusWithLength667() { assertTrue( shouldTrimStatus( SpannableStringBuilder( ...
Kotlin
itor = null; // Test with null expect(() => configObfuscate(testConfig)).not.toThrow(); }); }); import globals from '../../../globals.js'; import { getTaskCustomPropertyValues, isCustomPropertyValueSet } from '../../../qrs_util/task_cp_util.js'; import getAppOwner from '../../../qrs_util/get_app_owner.js';...
JavaScript
from __future__ import annotations from typing import Any, Dict, Union from langchain_core.retrievers import ( BaseRetriever, RetrieverOutput, ) from langchain_core.runnables import Runnable, RunnablePassthrough def create_retrieval_chain( retriever: Union[BaseRetriever, Runnable[dict, RetrieverOutput]]...
Python
e), changesQueue: make(chan changeWork), }, nil } // AwaitDeltas awaits for deltas and applies them. func (ds *Datastore) AwaitDeltas() error { if len(ds.changes) != 0 { return fmt.Errorf("changes already pending") } _, _, deltas, err := ds.manager.dropbox.await([]*Datastore{ds}, "") if err != nil { return ...
Go
// // lorgnette-structs.h // liblorgnette // // Created by Dmitry Rodionov on 9/26/14. // Copyright (c) 2014 rodionovd. All rights reserved. // #pragma once struct dyld_image_info_32 { uint32_t imageLoadAddress; uint32_t imageFilePath; uint32_t imageFileModDate; }; struct load_command_with_segname { ...
C
'width': 2667 } ], 'is_favorite': false, 'last_read': null, 'parent_comments': '53', 'passed_time': '2019年12月04日', 'post_id': 59844569, 'published_at': '2019-12-04 00:14:45', 'recommend': true, 'recom_type': '', 'rewardable': true, 'rewa...
Dart
from .views import ProductViewSet from django.urls import path from rest_framework import routers router = routers.SimpleRouter() router.register(r"", ProductViewSet, basename="Product") urlpatterns = [] + router.urls
Python
hOps.ToArrayReverse(); public readonly RedBlackTree<T, T, DefaultKeyExtractor<T>>.Enumerator GetEnumerator() => WithOps.GetEnumerator(); public readonly RedBlackTree<T, T, DefaultKeyExtractor<T>>.Enumerator Reverse() => WithOps.Reverse(); public bool AddCopy(in T value) => WithOps.AddCopy(in value); pub...
C#
woff2') format('woff2'); unicode-range: U+2E407,U+2E413,U+2E425-2E426,U+2E429,U+2E42E,U+2E439,U+2E43B-2E43C,U+2E44A,U+2E45A-2E45D,U+2E460,U+2E476,U+2E47C,U+2E48B,U+2E490,U+2E494,U+2E497-2E49C,U+2E4A8,U+2E4AB,U+2E4B9,U+2E4BF-2E4C0,U+2E4C8,U+2E4CB,U+2E4D6-2E4DC,U+2E4DE,U+2E4E0-2E4E3,U+2E4E5-2E4E6,U+2E4EF-2E4F1,U+2E4F5,...
CSS
==autoLoadId ) { // Start timer for next update: setTimeout( ()=>{ autoLoad( aU ) }, CONFIG.cacheAutoLoadPeriod ) // skip this turn, if autoLoad from last trigger is still being executed (avoid multiple updates in parallel): if( loading ) { console.info( 'Skipping autoLoad cycle' ); return }; // else, s...
Typescript
(4));if(f<84){h=f*2;n=A5d.charCodeAt(h);m=A5d.charCodeAt(h+1);YQd(k,n,m)}else{h=(f-84)*2;YQd(k,eQd[h],eQd[h+1])}i=aQd[f];A7(i,'Specials')&&YQd(k,65520,65533);if(A7(i,y5d)){YQd(k,983040,1048573);YQd(k,1048576,1114109)}kab(bQd,i,k);kab(cQd,i,dRd(k));j=d.a.length;0<j?(d.a=d.a.substr(0,0)):0>j&&(d.a+=T7(tz(CA,eUd,23,-j,15,...
JavaScript
# run.py - American Truck Simulator "Rape" Mod Utility import time import json import random from pathlib import Path # Simulated path to ATS telemetry data (not real) TELEMETRY_FILE = Path("C:/Users/YourUser/Documents/ATS/telemetry_data.json") def load_telemetry(): """ Simulate loading telemetry data from A...
Python
德。” “大德!又,止者以何为义,以何为功德耶?” “阿难!止者以乐为义,以乐为功德。” “大德!又,乐者以何为义,以何为功德耶?” “阿难!乐者以定为义,以定为功德。” “大德!又,定者以何为义,以何为功德耶?” “阿难!定者以如实智见为义,以如实智见为功德。” “大德!又,如实智见者以何为义,以何为功德耶?” “阿难!如实智见者以厌患为义,以厌患为功德。” “大德!又,厌患者以何为义,以何为功德耶?” “阿难!厌患者以离贪为义,以离贪为功德。” “大德!又,离贪者以何为义,以何为功德耶?” “阿难!离贪者以解脱智见为义,以解脱智见为功德。 阿难!如是,善戒者以不悔为义,以不悔为功德;不悔者以欢悦为义,以...
Markdown
⠀⠀⠀⢸⢘⠉⡂⠀⠀⣀⡈⣀⡀⠀⢰⠂⢢⡇⠰⡁⠀⠀⠀⢀⠠⠊⠀ ⠀⠀⢀⠔⡩⠛⠒⠒⢤⠀⠀⠀⠀⠀⠈⠒⠑⢣⠀⠡⠀⠀⡎⠀⠀⠀⠀ ⠀⠀⡎⡎⡄⠀⠀⠁⣨⡇⠀⠠⠀⢀⠔⠒⠲⢄⡃⢀⣀⣀⣠⠀⠀⠀⠀ ⠀⠀⠑⢧⣛⣥⣤⣾⣿⠁⠀⠀⠀⡿⡇⠀⠐⠄⠱⡌⣆⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⢨⠉⠉⠀⠉⠁⠀⠀⠀⠀⣿⣿⣶⣿⣶⣶⠏⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠈⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠉⠉⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠘⡄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡰⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⢰⣁⠽⠂⠒⠒⠀⠐⠒⠠⠄⡀⠠⡔⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠘⠴⠵⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ """.trimIndent() } val pik...
Kotlin
#ifndef MN_PLUGIN_CAL_CALCULATE_GROUP_H_ #define MN_PLUGIN_CAL_CALCULATE_GROUP_H_ #include <map> #include "calculate_item.h" namespace mn { class CGNode { public: CGNode(CalculateItem* content); ~CGNode(); static void RemoveContent(std::vector<std::shared_ptr<CGNode>>& nodes, CalculateItem* content); ...
C
} } } } } this.affectedBlockPositions.addAll(set); float f3 = this.explosionSize * 2.0F; int k1 = MathHelper.floor_double(this.explosionX - (double)f3 - 1.0D); int l1 = MathHelper.floor_double(this.explosionX + (double)f3 + 1.0D); ...
Java
[bookId]); } Future<Null> addBooks(List<Book> bks) async { var dbClient = await db1; var batch = dbClient.batch(); for (Book book in bks) { batch.insert("$_tableName1", { "book_id": book.Id, "name": book.Name, "cname": book.CName, "author": book.Author, ...
Dart
odule = opts.args if module == '' then M.toggle_debug_mode() else M.toggle_module_debug(module) end end, { nargs = '?', complete = function() return vim.tbl_keys(M.config.modules) end, desc = 'Toggle debug mode for notification modules' }) end -- Initialize the no...
Lua
'5': 14, '6': '.bilibili.app.dynamic.v2.CampusReqFromType', '10': 'fromType' }, ], }; /// Descriptor for `OfficialAccountsReq`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List officialAccountsReqDescriptor = $convert.base64Decode( 'ChNPZmZpY2lhbEFjY291bnRzUmVxEhsKC...
Dart
(0, 0, w, h); // Resize viewer viewport viewer->ResizeViewport(0, 0, w, h); // Resize scene viewport scene->SetViewport(viewer->Viewport()); // Remember window size GLUTwindow_width = w; GLUTwindow_height = h; // Redraw glutPostRedisplay(); } void GLUTMotion(int x, int y) { // Invert y coord...
C++
y-visible-phone{display:none !important}.pojo-a11y-visible-tablet{display:none !important}.pojo-a11y-hidden-desktop{display:none !important}.pojo-a11y-visible-desktop{display:inherit !important}@media (min-width:768px) and (max-width:1024px){.pojo-a11y-hidden-desktop{display:inherit !important}.pojo-a11y-visible-deskto...
CSS
algorithm()).toEitherNel() return decodedJWT.flatMap { verify(it, secret, validator) } } fun interface HMACSecretProvider { operator fun invoke(keyID: JWTKeyID): Option<String> } fun <T: JWSHMACAlgorithm>verify(decodedJWT: DecodedJWT<T>, secretProvider: HMACSecretProvider, validator: ClaimsValidator): ClaimsVal...
Kotlin
etRandomVec2() local Point={} local Vec2=self._.ZoneGROUP:GetVec2() local angle=math.random()*math.pi*2; Point.x=Vec2.x+math.cos(angle)*math.random()*self:GetRadius(); Point.y=Vec2.y+math.sin(angle)*math.random()*self:GetRadius(); return Point end function ZONE_GROUP:GetRandomPointVec2(inner,outer) local PointVec2=COOR...
Lua
) /* 194214 801E61C4 306F0001 */ andi $t7, $v1, 1 /* 194218 801E61C8 00034080 */ sll $t0, $v1, 2 /* 19421C 801E61CC 33190001 */ andi $t9, $t8, 1 /* 194220 801E61D0 15F90005 */ bne $t7, $t9, .L801E61E8_ovl9 /* 194224 801E61D4 3C09800E */ lui $t1, 0x800e /* 194228 801E61D8 0C079778 */ jal func_801E5DE0_ovl9 ...
Assembly
first_,last_,f_ > begin; typedef aux::transform_iter< last_,last_,f_ > end; }; BOOST_MPL_AUX_NA_SPEC(2, transform_view) }} #endif // BOOST_MPL_TRANSFORM_VIEW_HPP_INCLUDED #ifndef BOOST_MPL_NOT_HPP_INCLUDED #define BOOST_MPL_NOT_HPP_INCLUDED // Copyright Aleksey Gurtovoy 2000-2004 // // Distributed under the B...
C++
Timing.Repeat.frequency_max:type_name -> google.fhir.r5.core.PositiveInt 27, // 1078: google.fhir.r5.core.Timing.Repeat.period:type_name -> google.fhir.r5.core.Decimal 27, // 1079: google.fhir.r5.core.Timing.Repeat.period_max:type_name -> google.fhir.r5.core.Decimal 146, // 1080: google.fhir.r5.core.Timing.Repe...
Go
#!/usr/bin/python # -*- coding: UTF-8 -*- # @author:anning # @email:anningforchina@gmail.com # @time:2024/04/06 11:33 # @file:load_config.py import json import os import yaml from aiofiles import os as aio_os import aiofiles # 自用配置文件路径 local_config_path = "local_config.yaml" # 公共配置文件路径 public_config_path = "config.yaml...
Python
-G-x-E-[LIVM]-[KQ]-[SA]-[LIVMA]", "[AC]-G-L-x-F-P-V", "[KR]-E-[LIVM]-[EQ]-T-x(2)-[KR]-x-[LIVM](2)-x-[PAG]-[DE]-L-x-[KR]-H-A-[LIVM" "]-[STA]-E-G", "K-A-P-R-K-[QH]-[LI]", "P-F-x-[RA]-L-[VA]-[KRQ]-[DEG]-[IV]", "G-A-K-R-H", "[FI]-S-[KR]-K-C-x-[EK]-R-W-K-T-[MV]", "[AT]-x(1,2)-[RK](2)-[...
C++
.join(" "),tiles:["https://tiles.stadiamaps.com/tiles/stamen_watercolor/{z}/{x}/{y}.jpg?api_key="],tileSize:256}},layers:[{id:"plotly-stamen-watercolor",type:"raster",source:"plotly-stamen-watercolor",minzoom:0,maxzoom:22}],glyphs:"https://fonts.openmaptiles.org/{fontstack}/{range}.pbf"}},u=n(l);t.exports={requiredVers...
JavaScript
slider.slider-disabled .slider-track{background-color:#e7e7e7;background-image:-moz-linear-gradient(top, #E5E5E5, #E9E9E9);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#E5E5E5), to(#E9E9E9));background-image:-webkit-linear-gradient(top, #E5E5E5, #E9E9E9);background-image:-o-linear-gradient(top, #E5E5E5, ...
CSS
/%s", mdmDevice.UUID), nil, http.StatusOK, &hostByIdentifierResp) require.Equal(t, hwModel, hostByIdentifierResp.Host.HardwareModel) require.Equal(t, "ipados", hostByIdentifierResp.Host.Platform) require.False(t, hostByIdentifierResp.Host.RefetchRequested) hostID := hostByIdentifierResp.Host.ID triggerRefetchCron...
Go
#ifndef __IP_LOOKUP_H__ #define __IP_LOOKUP_H__ #if defined(__STDC__) || defined(__GNUC__) || defined(_AIX51) # define SIOCLOOKUPADDTABLE _IOWR('r', 60, struct iplookupop) # define SIOCLOOKUPDELTABLE _IOWR('r', 61, struct iplookupop) # define SIOCLOOKUPSTAT _IOWR('r', 64, struct iplookupop) # define SIOCLOOKUPSTATW ...
C
// ------------------------------------------------------------ // The code in this repository code was written by Lee Campbell, as a // derived work from the original Java by Gil Tene of Azul Systems and // Michael Barker, and released to the public domain, as explained // at http://creativecommons.org/publicdomain/ze...
C#
/* * * Copyright 2021-2025 Software Radio Systems Limited * * This file is part of srsRAN. * * srsRAN is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of * the License, or (at y...
C
movne r0, #0 add sp, sp, #4 ldmia sp!, {r3, r4, pc} arm_func_end ov38_02221468 arm_func_start ov38_02221494 ov38_02221494: ; 0x02221494 stmdb sp!, {r3, r4, r5, r6, r7, r8, sb, sl, fp, lr} sub sp, sp, #0x18 ldr r2, [r1, #0x14] str r1, [sp] mov r1, #0xb0 mul r1, r2, r1 mov r4, r0 ldr r0, [sp] mov r2, #0 ld...
Assembly
те установку приложения](../../settings/app-installation/installation-finish.md) {% endnote %} ## Куда встраивается виджет #| || **Код встройки** | **Место** || || `CALENDAR_GRIDVIEW` | Пункт в списке видов отображения календаря || |# ## Что получает обработчик Данные передаются в виде POST-запроса {.b24-info} ``...
Markdown
val jsonMacro = JsonObject() jsonMacro.addProperty("key", k) jsonMacro.addProperty("command", v) jsonMacros.add(jsonMacro) } jsonObject.add("macros", jsonMacros) val jsonFeatures = JsonObject() jsonFeatures.addProperty("AntiForge", AntiForge.enabled) ...
Kotlin
// See the addToHistory() function for the list of valid args properties. initialState = createState(initialHref, args, initialHash); }; //FIXME: Make these doc comments not be awful. At least they're not wrong. //FIXME: Would like to support arbitrary back/forward jumps. Have to rework iframeLoaded among other ...
JavaScript
#!/usr/bin/env python import inspect, os, sys # From http://stackoverflow.com/questions/279237/python-import-a-module-from-a-folder cmd_subfolder = os.path.realpath(os.path.abspath(os.path.join(os.path.split(inspect.getfile( inspect.currentframe() ))[0],".."))) if cmd_subfolder not in sys.path: sys.path.insert(0, ...
Python
* 获取控件 * * @param view 视图 * @param id 控件id * @param <T> * @return */ public static <T extends View> T getView(View view, int id) { return (T) view.findViewById(id); } /** * 设置控件的点击事件 * * @param activity Activity * @param id 控件id * @para...
Java
return UnaryOperator.Not; case "~": return UnaryOperator.Negate; case "+": return UnaryOperator.Plus; default: throw new Exception(); } } private CompoundAssignmentOperator GetCompoundAssignmentOperator(string oper) { switch (oper) { case "+=": return CompoundAssign...
C#
* Gets the currently used time correction value. * * @return number of minutes by which this device is behind the correct time. */ public int getTimeCorrectionMinutes() { synchronized (mLock) { if (mCachedCorrectionMinutes == null) { try { mCach...
Java
min-width:700px; height:40px; .dh-logo{ color:white; /*width: 150px;*/ height: 30px; float: left; line-height: 40px; font-weight: bold; font-size: 20px!important; } a.dh-logo{ margin:3px; border:2px solid white; } .header-menu{ color:white; #navul{ >li { backgrou...
CSS
onal password for external access. */ @PropertyInfo( i18nKey = "plugins.datatransfer.external.upload.enabled", tooltip = "plugins.datatransfer.external.upload.enabled.info" ) @get:Column(length = 100, name = "external_upload_enabled") override var externalUploadEnabled: Boolean? = null val externa...
Kotlin
。 特别是在调用多个局部变量的构造函数,或者是构造复杂对象的一部分时, 基于错误码的资源清理会变得相当复杂。 - 通过值返回的方式,会搞得很复杂或者代价高昂, 例如:要同时返回一个值和一个错误标识(比如`pair`; §13.4.3), 可能需要采用传出参数、非局部的错误状态标识,或者什么其它弯弯绕儿。 - 错误必须沿整个调用路径传达到“最终调用者”。 反复检查错误码就很繁冗、代价高昂,还容易出错。 - 修复该错误的方案取决于多个函数调用的结果, 需要在多个函数调用之间维护某个局部状态,还需要复杂的控制结构。 - 出错的函数是个回调函数(作为参数的函数), 以至于直接调用者甚至...
Markdown
toByte(), // INS - Código da instrução 0x00.toByte(), // P1 - Parâmetro 1 0x0c.toByte(), // P2 - Parâmetro 2 0x02.toByte(), // Número de bytes no campo de dados 0xE1.toByte(), 0x04.toByte() // Identificador do arquivo NDEF ) // Arquivo de capacidade d...
Kotlin
Score) { result.Score = Result.MaxScore; } else { result.Score += _userSelectedRecord.GetSelectedCount(result) + priorityScore; ...
C#
LANCHOR2 mov w2, w22 adrp x0, .LC131 add x0, x0, :lo12:.LC131 ldr w1, [x24, 1716] bl printk mov w0, 1 str w0, [x23, 424] .L2213: mov w0, 0 ldp x19, x20, [sp, 16] ldp x21, x22, [sp, 32] ldp x23, x24, [sp, 48] ldp x25, x26, [sp, 64] ldp x27, x28, [sp, 80] ldp x29, x30, [sp], 96 ret .L2218: cmp w0, 1 beq ...
Assembly
}}' ); }); }); describe('anonymous queries', () => { const props = { a: 1, b: 'b prop', c: () => { return; }, d: new Map() }; it('returns md5 hashed query with anonymous identifier', () => { const queryKeyA = buildQueryKey(() => {}); const qu...
Typescript
// RUN: rm -rf %t* // RUN: 3c -base-dir=%S -alltypes -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK" %s // RUN: 3c -base-dir=%S -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_NOALL","CHECK" %s // RUN: 3c -base-dir=%S -addcr %s -- | %clang -c -fcheckedc-extension -x c -o...
C
() { let input = "\ something 5, 10, abc // a comment after instruction "; let parsing_result = KabaAsmParser::parse(Rule::instruction_line, input); assert!(parsing_result.is_ok()); } #[test] fn parse_identifier() { let inputs = ["a12bcd_ef", "__", "_1...
Rust
ep->xfer_buff += ep->xfer_count; } } #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) hpcd->DataOutStageCallback(hpcd, (uint8_t)epnum); #else HAL_PCD_DataOutStageCallback(hpcd, (uint8_t)epnum); #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ } } else { /* ... */ } ...
C
24/audiowagon/issues/24 ) private var behaviour = AudioFocusSetting.PAUSE var audioFocusChangeListener: AudioFocusChangeCallback? = null fun request(): AudioFocusRequestResult { logger.debug(TAG, "request()") if (audioFocusChangeListener == null) { throw RuntimeException("Audio ...
Kotlin
int32_t Dictionary_2_get_Count_m5872BC43117B310319C83B09F904FC7B215F176F (Dictionary_2_tEB34CAE1B4D0E725777A5B9D419AF51BE918C30C * __this, const RuntimeMethod* method) { return (( int32_t (*) (Dictionary_2_tEB34CAE1B4D0E725777A5B9D419AF51BE918C30C *, const RuntimeMethod*))Dictionary_2_get_Count_mBE16BFDE94C35EAD824C...
C++
final value = buttonSqueezeAnimation.value; return Container( width: value, height: 60.0, child: Material( elevation: 5.0, clipBehavior: Clip.antiAlias, shadowColor: Theme.of(context).accentColor, borderRadius: BorderRadius....
Dart
invert(); ECFieldElement square(); ECFieldElement sqrt(); } /// An elliptic curve point abstract class ECPoint { ECCurve get curve; ECFieldElement get x; ECFieldElement get y; bool get isCompressed; bool get isInfinity; bool operator ==(other); Uint8List getEncoded([bool compressed = true]);...
Dart
/*- * Copyright (c) 2003-2015 Tim Kientzle * 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 copyright * notice, this list of c...
C
local dfs=false -- just a spacer for better readability print() --- parse arguments for o, a in getopt.getopt(args, 'hrmi:do:c:') do -- display help if o == "h" then return help(); end -- read tag from PM3 if o == "r" then inTAG=readFromPM3() end -- input file if o == "i" then inTAG=...
Lua
ng]interface{}", }, }, }) d.MethodName = fmt.Sprintf("UpdateBy%s", strings.Join(argsCamelNames, "And")) d.Args = args return nil } func (h *DAOUserIDPlugin) UpdateBy(p *types.UpdateParam) []Code { if !h.isUserClass(p.Class) { return h.DataStore.UpdateBy(p) } p.Args.Members = h.newMembers(p.Args.Members) ...
Go
colorAttachmentCount = targets.size.toUInt() } actual fun resolveAttachments(block: AttachmentReferencesBuilder.() -> Unit) { val targets = AttachmentReferencesBuilder().apply(block).targets target.pResolveAttachments = targets.mapToStackArray(::AttachmentReferenceBuilder) target.colorAttachmentCount = targets...
Kotlin
n3", "獭", " ta3", "狪", " tong2", "狨", " rong2", "玸", " fu2", "牚", " cheng1", "牤", " mang1", "牣", " ren4", "牢", " lao2", "牡", " mu3", "牠", " ta1", "薡", " ding3", "牞", " jiu1", "牝", " pin4", "牜", " niu", "牛", " niu2", "牙", " ya2", "牦", " mao2", "牘", " du2", "牗", " you", "牖", " you3...
Go
, *[class*=\/], *[class*=\'], *[class*=\;], *[class*=\:], *[class*=\?], *[class*=\>], *[class*=\<], *[class*=\[], *[class*=\]], *[class*=\{], *[class*=\}], *[class*=\|], *[class*=\`], *[id*=\~], *[id*=\!], *[id*=\@], *[id*=\$], *[id*=\%], *[id*=\^], *[id*=\&], *[id*=\*], *[id*=\(], *[id*=\)], *[id*=\=], *[id*=\,], *[id...
CSS
in-bottom: 10px;"> <a href="https://api.aliyun.com/terraform?resource=alicloud_cloud_storage_gateway_gateway&exampleId=c72b5954-f4f8-33f9-c4bc-b4016d22ceebc8beb4f1&activeTab=example&spm=docs.r.cloud_storage_gateway_gateway.0.c72b5954f4&intl_lang=EN_US" target="_blank"> <img alt="Open in AliCloud" src="https://img...
Markdown
ason.dart'; final mainBundle = MasonBundle.fromJson(<String, dynamic>{ "files": [ { "path": "lib/gen/{{name.snakeCase()}}/{{name.snakeCase()}}_generator.dart", "data": "aW1wb3J0ICJwYWNrYWdlOmRnaHViX2dlbmVyYXRvci9kZ2h1Yl9nZW5lcmF0b3IuZGFydCI7CgpAREdIdWJHZW5lcmF0b3IoKQpjbGFzcyB7e25h...
Dart
import importlib.util import pytest import redis from packaging.version import Version REDIS_VERSION = Version(redis.__version__) def key_val_dict(size=100): return {f"key:{i}".encode(): f"val:{i}".encode() for i in range(size)} def raw_command(r: redis.Redis, *args): """Like execute_command, but does not...
Python
_set); let mut graphic_l = Graphic::load_from(Cursor::new(&include_bytes!("../block_l")[..])).unwrap().textured(texture_creator); graphic_l.update_texture(&tile_set); let mut graphic_o = Graphic::load_from(Cursor::new(&include_bytes!("../block_o")[..])).unwrap().textured(texture_creator); ...
Rust
n "^:${1:target}"\n\nsnippet zupfnoter.goto\n "^@${1:target}@${2:distance}"\n\nsnippet zupfnoter.annotationref\n "^#${1:target}"\n\nsnippet zupfnoter.annotation\n "^!${1:text}@${2:x_offset},${3:y_offset}"\n\n\n',t.scope="abc"}); (function() { ace.require(["ace/snippets/abc"], function...
JavaScript
text-align: right; color: lighten($late-color, 10%); } } &のinfo { margin: 1em auto 0; > tbody > tr { > th { text-align: right; } > td { text-align: center; } > td.is-number { text-align: right; padding-left: 0.3em; padding-rig...
CSS
sourceIdentifierName(before); ArrayParameter beforeArray = getResponseBodyHigherLevelArray(before); ArrayParameter afterArray = getResponseBodyHigherLevelArray(after); if (beforeArray != null && afterArray != null && resourceIdentifierName != null && beforeArray.getElements().si...
Java
import pickle from requests_html import HTMLSession import time session = HTMLSession() base = "http://leginfo.legislature.ca.gov/faces/billTextClient.xhtml?bill_id=201520160" data = [] try: for i in range(1, 1482): try: if i % 10 == 0: print(i, len(data)) time.sleep(5) url = base + "SB{}".forma...
Python
Item) { const baseA = getBase(a); const baseB = getBase(b); return ( // Same object order as uniques EQUIPMENT_TYPES.indexOf(baseA.type) - EQUIPMENT_TYPES.indexOf(baseB.type) || // Highest tier first baseB.qlevel - baseA.qlevel || // Most sockets first (b.sockets ?? 0) - (a.sockets ?? 0) ...
Typescript
aka-project/shaka-player/commit/68f7a0eb2a8574645592e069c63813e0c97c5e66)) * Parses a PRFT Box, with a loss of precision beyond 53 bits ([#5354](https://github.com/shaka-project/shaka-player/issues/5354)) ([a797651](https://github.com/shaka-project/shaka-player/commit/a797651db4e636bd00cba3715686dc35057eb9de)) * Parses...
Markdown
ation: 0.3s; transition-duration: 0.3s; -webkit-transition-property: width, height; transition-property: width, height; } .hvr-curl-bottom-right:hover:before, .hvr-curl-bottom-right:focus:before, .hvr-curl-bottom-right:active:before { width: 25px; height: 25px; } /* Curl Bottom Left */ .hvr-curl-bottom-left ...
CSS
ound_events = { [1] = "loc_veteran_male_b__oval_world_conversation_universal_hestia_fourteen_a_01", }, sound_events_duration = { [1] = 6.226917, }, randomize_indexes = {}, }, oval_world_conversation_universal_hestia_fourteen_c = { randomize_indexes_n = 0, sound_events_n = 1, sound_events = { [1...
Lua
gc.gridx = 1; gc.gridy = 0; gc.weightx = 1; gc.ipadx = customIpadx; gc.ipady = customIpady; gc.insets = fieldInsets; jtf = new TextField(); frame.add(jtf, gc); frame.pack(); frame.setVisible(true); Robot robot; try { ...
Java
errUsupportType' : 'این نوع فایل پشتیبانی نمی شود.', 'errNotUTF8Content' : 'فایل "$1" به صورت UTF-8 ذخیره نشده و امکان ویرایش آن وجود ندارد.', 'errNetMount' : 'امکان اتصال "$1" وجود ندارد.', 'errNetMountNoDriver' : 'این پروتکل پشتیبانی نمی شود.', 'errNetMountFailed' : 'اتصال ناموفق بود....
JavaScript
packet. */ void __stdcall RecalculateUDPChecksum( PINTERMEDIATE_BUFFER pPacket ) { CNdisApi::RecalculateUDPChecksum(pPacket); } /* $Id: SPI.cpp 1163 2011-06-08 03:40:56Z bhagman $ || || @author Hernando Barragan <b@wiring.org.co> || @url http://wiring.org.co/ || @contribution Brett Hagman...
C++
ource code is governed by a // BSD-style license that can be found in the LICENSE file. // @dart=2.16 // ignore_for_file: unused_local_variable import 'dart:ffi'; class MyFinalizable implements Finalizable {} int doSomething() => 3; Iterable<int> useFinalizableSyncStar(Finalizable finalizable) sync* { // _in::r...
Dart
namespace PersistValuesInAsyncFlowUsingAsyncLocalInCSharp; public static class AsyncLocalNotifyExample { public static readonly AsyncLocal<string> AsyncLocalString = new(AsyncLocalValueChangedAction); static Action<AsyncLocalValueChangedArgs<string>> AsyncLocalValueChangedAction => asyncLocalValueCha...
C#
n the above formula can run in O(n). ``` 我们可以优化以上公式。 ``` We now know , f(n) = n + f(n-1) Expanding f(n-1) and so on we have , f(n) = n + n-1 + n-2 + ...... + 1 + f(0) which gives, f(n) = (n*(n+1))/2 + 1 ``` 因此,通过这种优化,我们可以回答 O(1)中的所有查询。 以下是上述思路的实现: ## C++ ``` // A C++ program to find the solution to // The Laz...
Markdown
build integration // Copyright (C) 2025 CardinalHQ, Inc // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as // published by the Free Software Foundation, version 3. // // This program is distributed in the hope that it will be use...
Go
) { // remove --max_old_space_size from execArgv const execArgv = process.execArgv.slice(); let maxOldSpaceSizeArg = getMaxOldSpaceSizeArg(execArgv); while (maxOldSpaceSizeArg) { execArgv.splice(maxOldSpaceSizeArg.index, maxOldSpaceSizeArg.size); maxOldSpaceSizeArg = getMaxOldSpaceSizeArg(ex...
Typescript
ONE, OpAssertion.PackedDoubleFloatToIntAssertion, CPUFeature.SSE4_1); public static final SSEMRIOp PEXTRQ = new SSEMRIOp("PEXTRQ", true, P_0F3A, true, 0x16, PreferredNDS.NONE, OpAssertion.PackedDoubleFloatToIntAssertion, CPUFeature.SSE4_1); // @formatter:on private final PreferredNDS preferr...
Java
cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 p90 LE0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|", "Asia/Beirut|EET EEST|-20 -30|01010101010101010101010101010101010...
JavaScript
_SHOW; lpExecInfo.hInstApp = (HINSTANCE) SE_ERR_DDEFAIL; strcpy(dir, "/C \""); strcat(dir, winName); strcat(dir, " "); strcat(dir, comline); strcat(dir, " & echo( & echo The command execution is completed. & pause\""); ...
C++
str; } return str.slice(0, maxLength - 3) + '...'; } function mouseClicked() { // Save the canvas content as an image file if (mouseX < 50 && mouseY < 50) { const now = new Date(); const strDate = now.getFullYear() + String(now.getMonth()+1).padStart(2, '0') + String(now.getDate())....
JavaScript
= cm.parseCoordinateX("2345", fmt); assert.equal(value, 2.345); //assert.throws(() => cm.parseCoordinateX("123456", fmt)) fmt = new CoordinateFormatSpec(CoordinateSkipZeros.LEADING, CoordinateType.ABSOLUTE, 2, 3, 2, 3); value = cm.parseCoordinateX("-12345", fmt); assert.equal(v...
Typescript
der({ // required String orderId, // }) async { // final uri = _buildUri(endpoint: "track", params: {"trx": orderId}); // // try { // final jsonObject = await _makeGetRequest(uri); // final json = Map<String, dynamic>.from(jsonObject as Map); // // if (json.length == 2) { // retu...
Dart
ri.kore.features.predicates.predicate import io.github.ayfri.kore.features.predicates.sub.components import io.github.ayfri.kore.generated.Dialogs import io.github.ayfri.kore.generated.Items import io.github.ayfri.kore.utils.pretty import io.github.ayfri.kore.utils.set fun chatComponentsTests() { val simplePlainText ...
Kotlin
our_reveal(&self) -> Reveal { let mut reveal = [0u8; 32*REWINDS]; for (o,i) in reveal.chunks_mut(32).zip(&self.stage.R_me) { o.copy_from_slice(i.as_bytes()); } Reveal(reveal) } // TODO: Permit `add_their_reveal` and `add_trusted` in `CommitStage` // using const ...
Rust
); if (response.ok) { const shows = await response.json(); for (const show of shows) { const castList = await scraper.fetchShowCast(show); show.cast = scraper.parseCast(castList); await new ShowModel(show).save() .then(() => logger.log(`Show "${show.name}" saved`)) ...
Typescript
1003601366814468, 0.0026668080127258743, 11.254674196173838, -1.9664047444091393, -1.0130165452395714, 0.3232914097955279, -0.004567352264200977, -0.01952828587966154, 0.014876391434338877, 2.4348867544972195, 2.2608063313594657, 0.002191502327608446, 12.74896721202979, 13.612110724751076, -0.009791726836215413, -0.812...
Java
nt) img[src*=\#blur],:is(.typora-export #write,.v-pic-in-pic,.v-fig-content) svg[data-inject-url*=\#blur]{filter:blur(10px)}content>#write .md-image[data-src*=\#blur],:is(.typora-export #write,.v-pic-in-pic,.v-fig-content) .v-blur{border-radius:var(--v-r-b)var(--v-r-b-xc);display:inline-table;overflow:hidden}content>#w...
CSS
11CC 8002A02C 00809825 */ move $s3, $a0 /* AA11D0 8002A030 AFBF005C */ sw $ra, 0x5c($sp) /* AA11D4 8002A034 26D659A4 */ addiu $s6, %lo(D_801159A4) # addiu $s6, $s6, 0x59a4 /* AA11D8 8002A038 26B55920 */ addiu $s5, %lo(D_80115920) # addiu $s5, $s5, 0x5920 /* AA11DC 8002A03C 2610592C */ addiu $s0, %lo(D_8011592C...
Assembly
nHandStack.item !is BlockItem) { return@run } if (delayStart && needToWait) { needToWait = false waitTicks(2) return@run } clicker.click { KeyBinding.onKeyPressed(mc.options.useKey.boundKey)...
Kotlin
right:24px;align-items:center;background-color:var(--green);display:flex;height:56px}@media (min-width: 0px) and (max-width: 991px){.title-bar{padding-left:16px;padding-right:16px}}@media (min-width: 992px){.title-bar{box-shadow:0 1px 3px rgba(0,0,0,0.1)}}.title-bar .title-bar__title{color:var(--grey-dark);font-family:...
CSS
ING D RESULT S 10 VARYING D VAR S 10 INZ('X') C *ENTRY PLIST C PARM P1 C PARM RESULT C EVAL VAR = %TRIM(VAR) + P1 C ...
Kotlin