content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
*
* @property {Boolean} keyIsPressed
* @readOnly
* @example
* <div>
* <code>
* function draw() {
* if (keyIsPressed === true) {
* fill(0);
* } else {
* fill(255);
* }
* rec... | JavaScript |
.rep(indent, lvl), qk(name, references)))
else
print(string.format("%s%s = {", string.rep(indent, lvl), qk(name, references), qv(t, references)))
--for k, v in pairs(t) do
for i, k in ipairs(keys) do
if skip_key_set[k] then
--print("skipping", k)
print(string.format("%s%s = <skipped>,", string... | Lua |
�选择。
## 一、背景知识与基本概念
### 1. 什么是TeX?
TeX是由著名的计算机科学家 [Donald E. Knuth](https://www-cs-faculty.stanford.edu/~knuth/)(高德纳)发明的排版系统,他在他的书的前言中曾提到「TeX旨在创造美丽的书籍,特别是那些包含很多数学公式的书」。(如果说TeX仅仅是为了更方便些数学方面的书而生的,那么它就不会像今天这么使用广泛了:事实上,TeX是一个很好的文字排版工具)。
Knuth是美国加州斯坦福大学计算机编程专业的名誉教授,他在1978年开发了第一个版本的TeX用来处理他的“计算机编程艺术”的修订。这个想法特别受欢迎,所以1982年他... | Markdown |
-1],[2, 2, 1]]],
[[[3, 4, -1],[1, 0, 1]], [[-3, 0, -1],[2, 2, 1]]]] <=
[[[[1, 2, 3], [3, 4, 5]], [[5, 6, 7], [7, 8, 9]]],
[[[0, -1, -2], [-3, -4, -5]], [[2, 0, 6], [3, -7, -8]]]])",
R"(astype([[[[0, 0, 1],[1, 1, 1]],[[1, 1, 1],[1, 1, 1]]],
[[[0, 0, 0],[0, ... | C++ |
import openai
import pandas as pd
import os
# 读取 OpenAI API Key
from utils import config_manager
config_manager = config_manager.ConfigManager()
api_key = config_manager.get_api_key("openai")
# 初始化 OpenAI 客户端
client = openai.OpenAI(api_key=api_key)
# **Fine-tuned Model (GPT-4o-mini)**
fine_tuned_model = "ft:gpt-4o-m... | Python |
#1
ldrneb r3, [r2]
orrne r0, r0, r3, lsl#8
moveq lr, pc @ call "read16"
ldreq pc, [r7, #0x44]
ldrsb r1, [r4], #1 ;@ fetch signed byte as word
mov r1, r1, lsl#16
mov r1, r1, lsr#16
mov r0, r0, lsl#16
orrs r0, r0, r1, lsl#16
mrs r2, cpsr @ NZCV
mov r9, r0, lsl#8
orr r9, r9, r2, lsr#28
mov r1, r0, lsr #1... | Assembly |
FCB *fcb
ll_Fcreate:
lv_init a6
lv_arg.w DOS_opcode
lv_arg.l Fcreate_path ;char *Fcreate_path
lv_arg.w Fcreate_mode ;int Fcreate_mode
;
;---;Add Fcreate code here
;
lv_exit a6
rts
;
;End of: ll_Fcreate
;----------------------------------------------------------------------------
;Function: ll_Fopen
;Entry state: ... | Assembly |
/**
* @brief Command's `psc' backend
*
* @file cmd_at.c
*/
/* -----------------------------------------------------------------------------
* Enduro/X Middleware Platform for Distributed Transaction Processing
* Copyright (C) 2009-2016, ATR Baltic, Ltd. All Rights Reserved.
* Copyright (C) 2017-2023, Mavimax, Lt... | C |
label: String? = null
// 描述
var desc: String? = null
// 值
var value: String? = null
var valueShell: String? = null
var valueFromShell: String? = null
var maxLength = -1 // input only
var type: String? = null
var max: Int = Int.MAX_VALUE // seekbar only
var min: Int = Int.MIN_V... | Kotlin |
raceLine(line) &&
!_discardBrowserStacktraceLine(line) &&
line.isNotEmpty,
)
.toList();
List<String> formatted = [];
int stackTraceLength = (methodCount != null
? min(lines.length, methodCount)
: lines.length);
for (
int cou... | Dart |
#!/usr/bin/env python3
import json
from datetime import date
from os import path
from sys import argv
import requests
# This script downloads the statistics of localization of the project from Transifex.
# To be able to use it, you need to provide your user account token
# and run `python3 scripts/load_tx_stats.py ... | Python |
nc {
expect(
SQLitePersistence.sDatabaseName(
'[DEFAULT]', DatabaseId.forProject('my-project')),
'firestore.%5BDEFAULT%5D.my-project.%28default%29');
expect(
SQLitePersistence.sDatabaseName(
'[DEFAULT]', DatabaseId.forDatabase('my-project', 'my-database')),
... | Dart |
<= tickOffset) {
if (tickOffset < noteEvent.getEndTick()) {
return noteList.get(i+1);
}
}
}
return null;
}
/**
* 指定したtickOffset位置の手前のNoteを検索します.
* @param tickOffset
* @return
*/
public MMLNoteEvent searchPrevNoteOnTickOffset(long tickOffset) {
MMLNoteEvent prevNote = null;
for (MMLN... | Java |
column.insert(infer(string));
}
}
}
// build schema from inference results
let fields = headers
.iter()
.zip(column_types.into_iter())
.map(|(field_name, mut possibilities)| {
// determine data type based on possible types
... | Rust |
el
import kotlin.Int
import kotlin.Long
import kotlin.Nothing
import kotlin.String
import kotlin.Suppress
import okio.ByteString
/**
* Enum names must be fully qualified in generated Kotlin
*/
public class MessageUsingMultipleEnums(
@field:WireField(
tag = 1,
adapter = "com.squareup.wire.protos.kotlin.Mess... | Kotlin |
ion,
Multiple Data) to accelerate the detection of matches in a haystack. Unlike
conventional algorithms, such as Aho-Corasick, SIMD algorithms for substring
search tend to do better with a small number of patterns, where as Aho-Corasick
generally maintains reasonably consistent performance regardless of the number
of ... | Rust |
li>
<li><strong><a href="../../Swift/KeyCache/Swift_KeyCache.html">Swift_KeyCache</a> $cache</strong>: </li>
<li><strong>string $charset</strong>: </li>
</ul>
<h4>Info</h4>
<ul>
<li><strong>access</strong> - public</li>
</ul>
</div>
<a name="methodaddBcc" id="methodaddBcc"><!-- --></a>
<div style="bac... | HTML |
坑,那么其实也不得不吐槽下第 10 条这个硬件页表遍历机构:
至少在笔者拿到的第一批 3A6000 板子上,这个功能估计被固件禁用了;
相应的 CPUCFG 标志位读出来是 0,内核实际也没用上。
不清楚前几天发售的量产批次还有没有这问题:
如果这些板子上这标志位也是 0,
那估计 3A6000 这个机构就是有什么坑,导致用不起来了。
不过也无伤大雅:其他方面的改进实在太大了,瑕不掩瑜——等下个批次或者下一代产品吧!
说回第 9 条,这个应该没坑了——也不一定;因为目前 Linux 内核并没有加入相关支持。
不过手册既然放出了,内核层面这个特性也能做到向后兼容,那么就期待接下来一两个周期它能得到支持吧。
最后是第 1 条这一套浮... | Markdown |
std::process::exit(1)
}
}<gh_stars>0
struct User {
username: String,
email: String,
sign_in_count: u64,
active: bool,
}
fn build_user(email: String, username: String) -> User {
User {
// Using the Field Init Shorthand when Variables and Fields Have the Same Name
email, //... | Rust |
, error("CheckSparkNameTx: can't be valid for more than 10 years"));
CAmount nameFee = consensusParams.nSparkNamesFee[sparkNameData.name.size()] * COIN * nYears;
CScript devPayoutScript = GetScriptForDestination(CBitcoinAddress(consensusParams.stage3DevelopmentFundAddress).Get());
bool payoutFound = false;... | C++ |
=> 4,
LessEq => 4,
Greater => 4,
GreaterEq => 4,
Equality => 4,
NotEq => 4,
And => 3,
Or => 2,
}
}
fn parse_identifier(ctx: &mut ParsingContext, ident: String) -> Expr {
let t = lookup_symbol(&ident, ctx);
Expr::new(ExprKind::Identifier(ident), t)
}... | Rust |
/// @see gtc_type_precision
typedef mat<3, 4, f64, defaultp> f64mat3x4;
/// Double-qualifier floating-point 4x2 matrix.
/// @see gtc_type_precision
typedef mat<4, 2, f64, defaultp> f64mat4x2;
/// Double-qualifier floating-point 4x3 matrix.
/// @see gtc_type_precision
typedef mat<4, 3, f64, defaultp> f64mat4x3... | C++ |
This ;
if (file==NULL)
return UNZ_PARAMERROR;
s=(unz_s*)file;
uReadThis = uSizeBuf;
if (uReadThis>s->gi.size_comment)
uReadThis = s->gi.size_comment;
if (zfile_fseek(s->file,s->central_pos+22,SEEK_SET)!=0)
return UNZ_ERRNO;
if (uReadThis>0)
{
*szComment='\0';
if (zfile_fread(szComment,(uInt)... | C++ |
pplication(_ application: UIApplication, willFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil) -> Bool {
migration
.performUpdate {
print("Migrate update occurred.")
}
.perform(forVersion: "1.0") {
print("M... | Markdown |
: CompoundTag): KryptonCompassMeta = KryptonCompassMeta(data)
override fun withLodestone(dimension: ResourceKey<World>, position: Vec3i): KryptonCompassMeta =
copy(data.putBoolean(TRACKED_TAG, true).putString(DIMENSION_TAG, dimension.location.asString()).putBlockPos(POS_TAG, position))
override fun wi... | Kotlin |
imer = 13000;
else
uiHolyFireTimer = urand(9000, 12000);
} else uiHolyFireTimer -= uiDiff;
if (uiHolySmiteTimer <= uiDiff)
{
if (Unit* pTarget = SelectTarget(SELECT_TARGET_RANDOM, 0, 250, true))
{
... | C++ |
title"] = flatRate.title;
tmpShippingLinesObj["method_id"] = flatRate.methodId;
tmpShippingLinesObj["total"] = cost;
break;
case "free_shipping":
FreeShipping freeShipping = (object as FreeShipping);
tmpShippingLinesObj["method_title"] = freeShipping.title;
... | Dart |
�行索引命令后,确保在 `output` 目录下能找到关键的 `graph.graphml` 文件,这是许多可视化工具支持的标准文件格式。
## GraphML 文件格式
GraphML (Graph Markup Language) 是一种基于 XML 的通用图形描述格式,旨在表示结构化的图形数据,包括节点、边及其属性关系。它支持多种图类型,如有向图、无向图和混合图,并允许用户自定义属性,比如节点的权重和边的类型。GraphML 提供了一种灵活、可扩展的格式,在图论、网络分析和数据可视化等领域有着广泛的应用。
GraphML 文件以 XML 声明开头,核心标签嵌套关系如下:
```xml
<?xml version="1.... | Markdown |
here to run on Funbox hardware:
https://github.com/amcerbu/DaisySTFT
The noise reduction logic was obtained from the noise-reduction STFT example in this blog post:
https://forum.cockos.com/showthread.php?t=225955
## Controls
| Control | Description | Comment |
| --- | --- | --- |
| Ctrl 1 | Reduction Factor | Amou... | Markdown |
orts: [RouterModule], // y exportamos Router module para que todas las paginas tengan acceso a el ya que esta en la raiz
})
export class AppRoutingModule {}
import { RouteConfig } from 'vue-router'
import projectConfig from '@/project.config'
import { firstLowerCase } from '@/utils'
const views = projectConfig.views
/... | Typescript |
s: 4px;
border-bottom-left-radius: 4px;
padding: 2px;
z-index: 100;
display: none;
}
.textViewFind.show {
top: 0;
right: 40px;
transition: top 0.3s ease-out;
-ms-transition: top 0.3s ease-out;
-moz-transition: top 0.3s ease-out;
-webkit-transition: top 0.3s ease-out;
-o-transition: top 0.3s ease-out;
displ... | CSS |
from twitter.jeetbuzz_twitter_bot import JeetBuzzTwitterBot
import time
# This class contains test cases to automate Telegram actions
class JeetBuzzTwitterAutomation:
def __init__(self):
# Create an instance of the TelegramBot class
self.jeetbuzz_twitter_bot = JeetBuzzTwitterBot()
# Method to r... | Python |
x35\xe1\x59\x92\x60\x61\x30\x25\x2f\xcc\x3d\x79\xcf\x45\x7a\x05\x27\xae\xe0\xb8\xc8\x4a\xc5\x32\xff\xa7\xd5\xa2\xdc\x19\xd8\xf0\xed\x77\x4f\xdc\xc4\x98\xfa\x18\x85\xfb\xf0\xff\x07\x00\x00\xff\xff\x25\x0e\x74\x67\xff\x16\x01\x00")
func configCrdBasesGatewayKuskIo_envoyfleetYamlBytes() ([]byte, error) {
return bindataR... | Go |
/**************************************************************************\
*
* Copyright (c) 1998-2001, Microsoft Corp. All Rights Reserved.
*
* Module Name:
*
* Gdiplus.h
*
* Abstract:
*
* GDI+ public header file
*
\**************************************************************************/
#ifndef _GDIPLUS_H
... | C |
940] = "Gants en crochet",
[3941] = "Pantalon en crochet",
[3942] = "Protège-épaules en crochet",
[3943] = "Gilet en crochet",
[3944] = "Ceinture sergée",
[3945] = "Bottes sergées",
[3946] = "Brassards sergés",
[3947] = "Cape sergée",
[3948] = "Gants sergés",
[3949] = "Pantalon sergé",
[3950] = "Protège-épaules sergés"... | Lua |
#563
'gA' // 5c8-5cf
'z21R' // 5d0-5ea #563
'cA' // 5eb-5ee
'e21R' // 5ef-5f4 #563
'jA' // 5f5-5ff
'd4W' // 600-604 #126
'263A' // 605 #6838
'e4W' // 606-60b #126
'50M' // 60c #1312
'm4W' // 60d-61a #126
'50M' // 61b #... | Dart |
url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAMAAACelLz8AAAAJ1BMVEVmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmaP/QSjAAAADHRSTlMAAgMJC0uWpKa6wMxMdjkoAAAANUlEQVR4AeXJyQEAERAAsNl7Hf3X6xt0QL6JpZWq30pdvdadme+0PMdzvHm8YThHcT1H7K0BtOMDniZhWOgAAAAASUVORK5CYII=);
background-size: 13px;
background-repea... | CSS |
: `${ this.downloadEndpoint }?lang=${ result.lang_code }&v=${ id }&fmt=${ this.format }`,
format: this.format
}
}
let englishLanguage = this.findLanguage( [ 'en', 'en-US', 'en-UK' ], subtitles );
let original = ( englishLanguage || subtitles[ 0 ] ).lang_code;
... | Typescript |
سى",
"commune_id": 584,
"commune_name": "المرسى",
"daira_name": "الدار البيضاء",
"wilaya_code": "16",
"wilaya_name": "الجزائر"
},
{
"post_code": "16207",
"post_name": "الإقامة الجامعية باب الزوار 5",
"post_address": "الإقامة الجامعية باب الزوار، الجزائر",
"commune_id": 558,
"... | Dart |
空间或虚拟地址空间的信息,所打开文件的列表和所使用的 I/O 设备信息。
**CPU 相关信息:**
- CPU 中各个寄存器的值,当进程被切换时,CPU 的状态信息都会被保存在相应的 PCB 中,以便进程重新执行时,能从断点处继续执行。
可见,PCB 包含信息还是比较多的。
> 每个 PCB 是如何组织的呢?
通常是通过**链表**的方式进行组织,把具有**相同状态的进程链在一起,组成各种队列**。比如:
- 将所有处于就绪状态的进程链在一起,称为**就绪队列**;
- 把所有因等待某事件而处于等待状态的进程链在一起就组成各种**阻塞队列**;
- 另外,对于运行队列在单核 CPU 系统中则只有一个运行指针了,因为单核... | Markdown |
neue Zusatzfelder in der Datenbank und weitere Verbesserungen." property="og:description" />
<!--googleon: all--><!--googleoff: all-->
<meta content="InterRed V15.4.1, http://www.interred.de/, InterRed GmbH" name="generator" />
<!--googleon: all-->
<script src="//cdn.optimizely.com/js/2310910166.js"><... | HTML |
Беатан Огневар","Продавец алкогольных напитков"},
[44300] = {"Интендант Дернак","Потребительские товары"},
[44301] = {"Роджер Штернбах","Хозяйственные товары"},
[44302] = {"Интендант Винфред","Потребительские товары"},
[44303] = {"Интендант Разерфорд","Потребительские товары"},
[44304] = {"Интендант Хиггинс","Потребите... | Lua |
er == null) {
return null;
}
return pointer.PointerCamera;
}
}
/// Event mask used to determine which objects will receive events.
public int finalEventMask {
get {
return (eventCamera != null) ? eventCamera.cullingMask & eventMask : NO_EVENT_MASK_SET;
}
}
/// Layer ma... | C# |
shapf_qrfgebl)
CALL(b_uo_sbag_qrfgebl)
CALL(b_uo_bg_ine_trg_nkvf_pbhag)
CALL(b_uo_bg_ine_abeznyvmr_inevngvbaf)
CALL(b_uo_bg_ine_abeznyvmr_pbbeqf)
CALL(b_uo_bg_ine_anzrq_vafgnapr_trg_qrfvta_pbbeqf)
CALL(b_hfpevcg_trgFubegAnzr_naqebvq)
CALL(b_uo_fpevcg_sebz_fgevat)
CALL(b_h_trgVagCebcreglZnkInyhr_naqebvq)
CALL(b_uo_havpb... | Assembly |
light] .hljs-name, [theme=base16-edge-light] .hljs-number, [theme=base16-edge-light] .hljs-selector-tag, [theme=base16-edge-light] .hljs-symbol, [theme=base16-edge-light] .hljs-template-variable, [theme=base16-edge-light] .hljs-variable, [theme=base16-edge-light] .hljs-variable.constant_ {
color: #db7070;
}
[theme=ba... | CSS |
"androidx.lifecycle:lifecycle-viewmodel-ktx:${Versions.ktx_LifecycleViewModel}"
const val ktx_ReactiveStreams =
"androidx.lifecycle:lifecycle-reactivestreams-ktx:${Versions.ktx_ReactiveStreams}"
// Firebase
const val firebase_Core = "com.google.firebase:firebase-core:${Versions.deps_Firebase}"
... | Kotlin |
– a numerical identifier of the tag.</li>
* <li>{@code tagSize} – the number of bytes of data to attach to the object.</li>
* <li>{@code pTag} – an array of {@code tagSize} bytes containing the data to be associated with the object.</li>
* </ul>
*
* <h3>Layout</h3>
*
* <pre><code>
* struct Vk... | Kotlin |
int vertexShader =
ShaderUtil.loadGLShader(
TAG, context, GLES20.GL_VERTEX_SHADER, "shaders/cpu_screenquad.vert");
int fragmentShader =
ShaderUtil.loadGLShader(
TAG, context, GLES20.GL_FRAGMENT_SHADER, "shaders/cpu_screenquad.frag");
quadProgram = GLES20.glCreateProgram(... | Java |
equest_id(
{
"status": "success",
"message": "Status retrieved",
"robot_state": "active" if robot_state.is_active else "inactive",
"battery_percentage": battery_percentage,
"last_command": robot_state.last_command,
... | Python |
to find inside the tree.
* @method find
* @member
* @public
* @returns {BTreeNode<T> | null} Returns the first matched tree node, if not found, returns null.
* @example
*/
find(item: T): BTreeNode<T> | null;
/**
* Returns index value from given path.
* @param {Array<'U'|'... | Typescript |
varying(self, dataset_group_index):
if dataset_group_index is None:
return True
if dataset_group_index < 0:
return True
if not self.layer or not self.layer.dataProvider():
return True
return self.layer.dataProvider().datasetCount(dataset_group_index... | Python |
ACCESS_ENDED_AT"))
assert(is_nil(ctx, "KONG_ACCESS_TIME"))
assert(is_nil(ctx, "KONG_BALANCER_START"))
assert(is_nil(ctx, "KONG_BALANCER_ENDED_AT"))
assert(is_nil(ctx, "KONG_BALANCER_TIME"))
assert(is_nil(ctx, "KONG_RESPONSE_START"))
assert(is_nil(ctx, "KONG_RESPONSE_ENDED_AT"))
assert(is_nil(ctx, "KONG_RE... | Lua |
891: "EMsg_ClientEmailChangeResponse",
892: "EMsg_ClientSecretQAChangeResponse",
896: "EMsg_ClientDRMBlobRequest",
897: "EMsg_ClientDRMBlobResponse",
898: "EMsg_ClientLookupKey",
899: "EMsg_ClientLookupKeyResponse",
900: "EMsg_BaseGameServer",
901: "EMsg_GSDisconnectNotice",
903: "EMsg_GSSta... | Go |
stributed 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.
import 'package:over_react/over_react.dart';
import '../store.dart';
par... | Dart |
require 'laia.ClassWithOptions'
require 'imgdistort'
require 'pl'
local ImageDistorter, Parent = torch.class('laia.ImageDistorter',
'laia.ClassWithOptions')
function ImageDistorter:__init()
Parent.__init(self, {
-- Scale parameters. Scaling is applied at the center of the image.
-- Log-normal distri... | Lua |
of the following
// conditions hold:
// . our current occupancy exceeds the configured initiating occupancy
// for this generation, or
// . we recently needed to expand this space and have not, since that
// expansion, done a collection of this generation, or
// . the underlying space believes that it may be a goo... | C++ |
sureSpec.EXACTLY);
heightMeasureSpec = MeasureSpec.makeMeasureSpec(getMeasuredHeight() - getPaddingTop() - getPaddingBottom(), MeasureSpec.EXACTLY);
mTarget.measure(widthMeasureSpec, heightMeasureSpec);
mRefreshView.measure(widthMeasureSpec, MeasureSpec
.makeMeasureSpec(0, Measur... | Java |
is DictionaryContextData || !workspaceData.containsKey(ciWorkSpaceKey.split(".")[1])) {
contextValues.expressionValues[workSpaceKey]
?: throw ContextNotFoundException("$workSpaceKey/$ciWorkSpaceKey")
} else {
workspaceData[ciWorkSpaceKey.split(".")[1]]
... | Kotlin |
.mysql.com/doc/refman/8.0/en/keywords.html">MySQL
/// 8.0</a>.
/// </li>
/// </ul>
/// <b>PostgreSQL</b>
///
/// The name of the database to create when the Lightsail database resource is
/// created. If this parameter isn't specified, a database named
/// <code>postgres</code> is created in the databas... | Dart |
;
}
.pods-edit-pod-manage-field .pods-pick-values li.pods-zebra-even {
display: block;
width: 50%;
float: left;
clear: none;
}
.pods-edit-pod-manage-field .pods-pick-values .regular-text {
max-width: 95%;
}
.pods-edit-pod-manage-field li > .pods-field.pods-boolean:hover {
background: #f5f5f5;
}
.pods-edit-pod... | CSS |
优于其他模型。
> 相关链接:[Discord讨论](https://discord.com/channels/1091220969173028894/1195014798837043240/1421914062031243334)
---
#### **工具与平台更新**
##### Windsurf推出Code Supernova 1M并集成Claude Sonnet 4.5
Windsurf发布Code Supernova 1M(1M上下文窗口,限时免费),同时集成Claude Sonnet 4.5,加速Cascade Agent的并行工具执行。
> 相关链接:[Code Supernova公告]... | Markdown |
-- Size: Ord Status
n24x_equities_memo_sbe_v1_13.ord_status.size = 1
-- Display: Ord Status
n24x_equities_memo_sbe_v1_13.ord_status.display = function(value)
-- Check if field has value
if value == nil or value == 0 then
return "Ord Status: No Value"
end
if value == "0" then
return "Ord Status: New (0... | Lua |
chars
splitter.splitGraphemes("뎌쉐"); // returns ["뎌","쉐"]
// Hindi text with combining marks, 8 JavaScript chars
splitter.splitGraphemes("अनुच्छेद"); // returns ["अ","नु","च्","छे","द"]
// demonic multiple combining marks, 75 JavaScript chars
splitter.splitGraphemes("Z͑ͫ̓ͪ̂ͫ̽͏̴̙̤̞͉͚̯̞̠͍A̴̵̜̰͔ͫ͗͢L̠ͨͧͩ͘G̴̻͈͍͔̹̑͗̎̅͛́Ǫ̵̹... | Markdown |
calls $0x2,16288 <__sprint>
1724e: f0
1724f: d5 50 tstl r0
17251: 13 03 beql 17256 <__vfprintf+0xd6c>
17253: 31 87 fa brw 16cdd <__vfprintf+0x7f3>
17256: 9e cd b8 fe movab 0xfffffeb8(fp),r10
1725a: 5a
1725b: 31 5b f9 brw 16bb9 <__vfprintf+0x6cf>
1725e: 9f cd 08 fe pusha... | Assembly |
= nil
file_event_proto_depIdxs = nil
}
// Copyright 2021 Google LLC
//
// 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 require... | Go |
61: // U+0061 LATIN SMALL LETTER A character
case 0x62: // U+0062 LATIN SMALL LETTER B character
case 0x63: // U+0063 LATIN SMALL LETTER C character
case 0x64: // U+0064 LATIN SMALL LETTER D character
case 0x65: // U+0065 LATIN SMALL LETTER E character
case 0x66: // U+0... | Dart |
r?$B$BEste \"Ironpatch\" fica bem ao lado de Firallon em um dos três navios em Wild Shore. Desafie-o para a batalha e traga-me sua cabeça!$B$BBangue e trovão, vitória ou morte.",
["O"] = "Leve a Cabeça de Ironpatch de volta para Sark Blacktooth.",
["T"] = "O rancor de Sark",
},
[40356] = {
["D"] = "Olá,... | Lua |
ій перегляд для кадрованого зображення"
},
"nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);");
OC.L10N.register(
... | JavaScript |
68: 3 fonts: Cypriot₆₁₃, Linear A₆₄₄, Linear B₆₄₅.
'23p1ea,'
// #1869: 1 font: Imperial Aramaic₆₂₉.
'24f,'
// #1870: 1 font: Inscriptional Pahlavi₆₃₁.
'24h,'
// #1871: 1 font: Inscriptional Parthian₆₃₂.
'24i,'
// #1872: 1 font: Kaithi₆₃₄.
'24k,'
// #1873: 1 font: Kayah Li₆₃₆.
... | Dart |
c-container ul li.ez-toc-heading-level-5:nth-child(2),
#ez-toc-container ul li.insert-heading-level-5:nth-child(2) {
display: list-item;
}
#ez-toc-container ul li.ez-toc-heading-level-6:nth-child(2),
#ez-toc-container ul li.insert-heading-level-6:nth-child(2) {
display: list-item;
}
... | HTML |
entsmall", "Macronsmall", "figuredash", "hypheninferior",
"Ogoneksmall", "Ringsmall", "Cedillasmall", "questiondownsmall",
"oneeighth", "threeeighths", "fiveeighths", "seveneighths",
"onethird", "twothirds", "zerosuperior", "foursuperior",
"fivesuperior", "sixsuperior", "sevensuperior", ... | Java |
A0 34018000 */ ori $at, $zero, 0x8000 ## $at = 00008000
/* 00654 80ADE3A4 3C0A80AE */ lui $t2, %hi(func_80ADF894) ## $t2 = 80AE0000
/* 00658 80ADE3A8 240900C8 */ addiu $t1, $zero, 0x00C8 ## $t1 = 000000C8
/* 0065C 80ADE3AC 254AF894 */ addiu $t2, $t2, %lo(func_80ADF894) ## $t2 = 80ADF8... | Assembly |
/*
* Copyright (c) 1999 - 2005 NetGroup, Politecnico di Torino (Italy)
* Copyright (c) 2005 - 2006 CACE Technologies, Davis (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:
*... | C |
import pyglet
from pyglet.gl import glEnable, GL_DEPTH_TEST, GL_CULL_FACE
from pyglet.math import Mat4, Vec3
window = pyglet.window.Window(resizable=True)
batch = pyglet.graphics.Batch()
time = 0
@window.event
def on_resize(width, height):
window.viewport = (0, 0, width, height)
window.projection = Mat4.p... | Python |
in(self.queue[q],surplus)
```
每次不充分调度后,没有把原先调度队列排除在外。
v2突发需要对突发队列进行检验
```
elif self.burst['b'][0]['type'] == 'v2':
if times>=self.burst['b'][0]['data'][0] and times<self.burst['b'][0]['data'][1] :
bcome = 1.5 * np.random.normal(loc=1, scale=0.2, size=None) / len(self.burst['b'][0]['data'][2:])
el... | Markdown |
{
"$:/themes/tiddlywiki/vanilla/themetweaks": {
"title": "$:/themes/tiddlywiki/vanilla/themetweaks",
"tags": "$:/tags/ControlPanel/Appearance",
"caption": "{{$:/language/ThemeTweaks/ThemeTweaks}}",
... | HTML |
56.283-32.003 c1.416-0.806,2.285-2.306,2.285-3.934C167.694,126.368,166.816,124.869,165.399,124.063z",
}),
_.createElement("path", {
_: "M238.069,40.646H214.25h-28.82h-28.82h-28.458h-0.36H99.333H70.536H41.727h-23.82c-3.184,0-5.773,2.59-5.773,5.772v23.856 v120.441v18.867c0,3.184,2.589,5.77... | JavaScript |
5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNCAyMyI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTAgMjAuNTAyTDExLjQ2OSA5LjAzNmwyLjQzMyAyLjQzMkwyLjQzMyAyMi45MzYgMCAyMC41MDJ6bTExLjQ2OS02LjYwMUwwIDIuNDMzIDIuNDMzIDBsMTEuNDY5IDExLjQ2OS0yLjQzMyAyLjQzM3YtLjAwMXoiLz48L3N2Zz4=');
}
}
button.btn,
button.expand-btn,
a.fake-btn,
a.cta-btn {
-webkit... | CSS |
/* { dg-do run } */
/* { dg-require-effective-target hwaddress_exec } */
/* { dg-additional-options "--param hwasan-random-frame-tag=1" } */
/* { dg-skip-if "" { *-*-* } { "-flto" } { "" } } */
#include <alloca.h>
/* This testcase checks that `alloca` calls ensure the `__hwasan_generate_tag`
function is called to i... | C |
T_SDK_DC_STATUS_NOT_ACTIVATED = 17, //豸δ
NET_SDK_DC_STATUS_USER_NOT_EXIST = 18, //û
NET_SDK_DC_STATUS_IPC_UNREGISTERED = 19, //IPͨӦ豸δע(GB28181Э)
NET_SDK_DC_STATUS_POE_PORT_DETECTING = 20, //POEͨ
NET_SDK_DC_STATUS_RESOURCE_EXCEED = 21, /* IPCֱʣʳ*/
NET_SDK_DC_STATUS_NEED... | C |
v6做限制
* ip6tables - 针对ipv6
### 原理
OSI参考模型(七层模型) 从逻辑理论上做分层
Iptables主要工作在: 表示层 会话层 传输层
```
应用层(Application layer)
功能 - 与实现通信功能的软件应用程序进行交互
协议数据单元 - Data
表示层(Presentation layer)
功能 - 网络服务和应用程序之间的数据转换:字符编码(character encoding),数据压缩(data compression),加密解密(encryption decryption)
协议数据单元 - Data
会话层(Session layer)
功能 - 管... | Markdown |
/*
* Copyright (c) 1991-2013 Kawahara Lab., Kyoto University
* Copyright (c) 2000-2005 Shikano Lab., Nara Institute of Science and Technology
* Copyright (c) 2005-2013 Julius project team, Nagoya Institute of Technology
* All rights reserved
*/
#include <sent/stddefs.h>
#include <sent/vocabulary.h>
#include <sent... | C |
VXLAN 和 Geneve 已经完成,但可以启用 Linux 支持的所有封装格式。
何时使用此模式:此模式具有最小的基础架构和集成要求。它几乎适用于任何网络基础架构,唯一的要求是主机之间可以通过 IP 连接。
- **本机路由**:使用 Linux 主机的常规路由表。网络必须能够路由应用程序容器的 IP 地址。
何时使用此模式:此模式适用于高级用户,需要了解底层网络基础结构。此模式适用于:
- 本地 IPv6 网络
- 与云网络路由器配合使用
- 如果你已经在运行路由守护进程
### 负载均衡
Cilium 为应用容器之间的流量和外部服务实现了分布式负载均衡,能够完全取代 kube-proxy 等... | Markdown |
e
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied. See the License for the specific language governing
permissions and limitations under the License.
See th... | C++ |
PROTO_0:
GETUPVAL R0 0
NAMECALL R0 R0 K0 ["operation"]
CALL R0 1 1
GETUPVAL R1 1
DUPTABLE R2 K4 [{"Operation", "Paused", "Progress"}]
SETTABLEKS R0 R2 K1 ["Operation"]
NAMECALL R3 R0 K5 ["isPaused"]
CALL R3 1 1
SETTABLEKS R3 R2 K2 ["Paused"]
NAMECALL R3 R0 K6 ["getProgress"]
CALL R3 1 1
SETTABLE... | Assembly |
x Finley, 2006
//
// This function expects the passed-in values to be on a scale
// of 0 to 1, and uses that same scale for the return values.
//
// See description/examples at alienryderflex.com/hsp.html
void RGBtoHSP(
double R, double G, double B,
double *H, double *S, double *P) {
// Calculate the Perceiv... | Java |
rstCount times
* after this a callback is done every aMillisSecondRate milliseconds
*/
void BDButton::setButtonAutorepeatTiming(uint16_t aMillisFirstDelay, uint16_t aMillisFirstRate, uint16_t aFirstCount,
uint16_t aMillisSecondRate) {
#if defined(SUPPORT_LOCAL_DISPLAY)
// In this case, timing must also be... | C++ |
755505,1970440035&fm=253&fmt=auto&app=120&f=JPEG?w=398&h=584"></div><div><div style="color:#999;text-align:center;">(图片来源网络,侵删)</div></div><p>4、悠久的兽医学传统:爱丁堡大学的兽医学院拥有悠久的历史和优良的教学传统,是全球顶尖的兽医学院之一。前沿的研究成果:学校在兽医学领域的研究水平和科研成果备受认可。</p><p>5、动物医学研究生院校排名如下:动物医学考研学校排名是中国农业大学、华中农业大学动物医学专业、华南农业大学。中国农业大学是一所位于北京市的综合性农业类大学,是中国农业教育和农业科研... | HTML |
answer: '20'
},
];import { GPUAdapter, GPUDevice, GPU } from "../src/framework/gpu/interface.js";
class MyRenderer {
gpu: GPU;
rendering: boolean;
adapter: GPUAdapter | null;
device: GPUDevice | null;
constructor(gpu: GPU) {
this.gpu = gpu;
this.rendering = false;
this.adapter = ... | Typescript |
landscape mode is the same as the width in portrait mode */
left: calc((100vw - (100vh + 20px)) / 2);
right: calc((100vw - (100vh + 20px)) / 2);
bottom: calc(21px + 12px);
bottom: calc(var(--iphonex-safe-area-inset-bottom-landscape) + 12px); /* bottom safe area + 12 pt (extra bottom margin) */
}
}
/*... | CSS |
a href="http://docs.python-guide.org/en/latest/dev/env/">Python 漫游指南</a> 上有一页专门讲述开发环境的内容。</p>
</li>
<li>
<p><a href="http://pedrokroger.net/choosing-best-python-ide/">选择最佳 Python IDE</a> 是一篇针对六个 IDE 的评测文章。这篇文章认为 PyCharm、Wing IDE 和 PyDev 优于另外三个。 </p>
</li>
<li>
<p><a href="http://nafiulis.me/pycharm-the-good-parts-i.htm... | HTML |
{
// we'll check for callbacks every 10ms
// thread quantum granularity might hose us,
// but it should wake often enough to handle callbacks within a single thread
callbackMgr.RunWaitCallbacks( TimeSpan.FromMilliseconds( 10 ) );
if ( DateTime.Now >= nex... | C# |
0xcb,0xef,0xbe,0xad,0xde]
punpckhqdq 0xdeadbeef(%ebx,%ecx,8),%xmm5
// CHECK: punpckhqdq 69, %xmm5
// CHECK: encoding: [0x66,0x0f,0x6d,0x2d,0x45,0x00,0x00,0x00]
punpckhqdq 0x45,%xmm5
// CHECK: punpckhqdq 32493, %xmm5
// CHECK: encoding: [0x66,0x0f,0x6d,0x2d,0xed,0x7e,0x00,0x00]
punpckhqdq ... | Assembly |
void 0,ba=void 0,S=void 0,$=void 0,X=void 0,V=void 0,
za=void 0,ga=void 0,ha=void 0,ia=void 0,Ea=void 0,aa=void 0,da=void 0,ya=void 0,U=void 0,ca=void 0,W=void 0,Ba=void 0,Aa=void 0,la=void 0,ma=void 0,oa=void 0,ra=void 0,ua=void 0,va=void 0,ja=void 0,Fa=void 0,Da=void 0,Ga=void 0,Ya=void 0,qa=void 0,Ka=void 0,xa=void ... | JavaScript |
# 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, software
# d... | Python |
(res) {
tabController.clear();
}
return res;
}
}
}
import 'dart:convert';
import 'package:file_picker/file_picker.dart';
import 'package:flutter/material.dart';
import 'package:flutter_hbb/common.dart';
import 'package:flutter_hbb/desktop/widgets/tabbar_widget.dart';
import 'package:flutter_h... | Dart |
} means to stop using previous color and change to default color of text (default color must be given in RGB format).
Accepted tags:
{end} - Stop previous tag and start using default_color
{red} - Red color
{blue} - Blue color
{green} - Green color
{purple} - Purple color
{orange} - Orange c... | Lua |
unsafe function" href="#"><sup>⚠</sup></a></td><td class="docblock-short"><span class="stab unstable" title="">Experimental</span><span class="stab portability" title="This is supported with target feature `avx512bw,avx512vl` only"><code>avx512bw,avx512vl</code></span><p>将 a 中的包装无符号 8 位整数与 b 中的包装有符号 8 位整数相乘,生成中间有符号的 16... | HTML |
PM Pedro", "PM Andres")
var newManager = manager("Alberto", 314)
newManager.hierarchy = managerHierarchy
//Project Manager
var projectMagaerHierarchy = listOf("Dev Carlos", "Dev Sergio", "Dev Sandra")
var newProjectManager = projectManager("Juan", 480)
newProjectManager.hierarchy = projectMagaer... | Kotlin |
if (ClientVersion.RemovedInVersion(ClientVersionBuild.V8_2_5_31921))
packet.ReadBit("NoHandler"); // not accessed in handler
packet.ReadBit("TrialBoostEnabled");
packet.ReadBit("TokenBalanceEnabled");
packet.ReadBit("LiveRegionCharacterListEnabled");
pack... | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.