content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
#pragma once
#include <gtk/gtk.h>
#include "services/configuration-service.h"
#include "services/battery-service.h"
#include "services/clock-service.h"
#include "services/brightness-service.h"
#include "services/workspace-service.h"
#include "services/audio-service.h"
#include "services/network-service.h"
#include "se... | C |
Only")]`
NestedMeta::Meta(NameValue(nv)) if nv.path == ACCESS_CONTROL => {
if let Ok(path) = parse_lit_into_path(ctx, ACCESS_CONTROL, &nv.lit) {
access_control.set(&nv.path, quote! { #path });
}
}
// Parse `#... | Rust |
cport->do_prli_nvme || \
NVME_ONLY_TARGET(fcport)) \
#define PRLI_PHASE(_cls) \
((_cls == DSC_LS_PRLI_PEND) || (_cls == DSC_LS_PRLI_COMP))
enum ql_vnd_host_stat_action {
QLA_STOP = 0,
QLA_START,
QLA_CLEAR,
};
struct ql_vnd_mng_host_stats_param {
u32 stat_type;
enum ql_vnd_host_stat_action action;
} __packed;
... | C |
.runc.options]
BinaryName = "/usr/bin/runc"
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.untrusted]
runtime_type = "io.containerd.runc.v2"
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.untrusted.options]
BinaryName = "/usr/bin/runc"
[plugins."io.containerd.grpc.v1.cri"... | Go |
using Microsoft.Xrm.Sdk;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PowerApps.Samples
{
internal class EntityDataToCsvHelper
{
private DataTable dataStore;
// Not all types are handled here a... | C# |
2.913 4.075-2.879 9.774.068 13.821.094.13.196.254.292.367.27.306.543.59.782.82.18.165.386.345.615.517.416.337.866.63 1.343.873-.429-.2-.834-.401-1.177-.58-.075-.036-.139-.077-.207-.112-.22-.11-.422-.228-.616-.339a5.47 5.47 0 01-.747-.527c-.153 1.044-.754 1.895-1.792 2-.975.096-.954 1.383 0 1.5 2.647.33 5.45.648 8.22.64... | Dart |
t></p>
<p> dns name or ip address</p>
<h3 class="typedecl"><a name="type-interval">interval()</a></h3>
<p><tt>interval() = 1..4294967</tt></p>
<h3 class="typedecl"><a name="type-ping_failure">ping_failure()</a></h3>
<p><tt>ping_failure() = fun((Name::<a href="#type-hostname">hostname()</a>, IP::<a href="/home/george... | HTML |
str(" | LOCK_TIME: ");
if self.lock_time >= 0.0 {
buf.push_str(&self.lock_time.to_string());
} else {
buf.push_str("?");
}
buf.push_str(&format!(" | COUNT: {}", count.to_string()));
buf.push_str(&format!("\n{}\n", self.query));
buf
}
}
// Co... | Rust |
/* --------------------------------------------------------------- */
/* create the permutation matrix to gather expanded coarse matrix */
/* PE has same number of rows as Ac but it has many more columns */
/* --------------------------------------------------------------- */
int ierr, *rowSi... | C++ |
0;font-size:9pt;color:#4eb0f8}.foot a{color:#add8e6}pre{background:#3498db;color:#fff;padding:15px 20px;margin:25px -15px -15px;line-height:1.4em;font-size:14px;text-align:left;word-break:break-all;white-space:pre-wrap}</style>
</head>
<body>
<p class="title">Server Error</p>
<div class="box">
<h2><b>500</b> - Inter... | HTML |
S"></a>
Table to store collected transaction fees for each validator already exists.
<pre><code><b>const</b> <a href="stake.md#0x1_stake_EFEES_TABLE_ALREADY_EXISTS">EFEES_TABLE_ALREADY_EXISTS</a>: u64 = 19;
</code></pre>
<a id="0x1_stake_EINELIGIBLE_VALIDATOR"></a>
Validator is not defined in the ACL of entities... | Markdown |
tive-menu,.contents ul,.sidebar{list-style-type:none;margin:0;padding:0}.page-title,.page-title li{padding-left:15px}.contents-wrapper #versions,.contents-wrapper .versions,.sidebar-wrapper #versions,.sidebar-wrapper .versions{position:absolute;right:5px;top:7px}.page-title{font-size:14px}.page-title.active,.page-title... | CSS |
ter 22"]
pub mod pcr22;
#[doc = "Pin Control Register 23\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.... | Rust |
double decimalYear = DateTimeUtils.getDecimalYear(calendar);
MoonDistance apogee = moon.getApogee();
double apogeeJd = getApogee(julianDate, decimalYear);
apogee.setDate(DateTimeUtils.toCalendar(apogeeJd, zone, locale));
apogee.setDistance(getDistance(apogeeJd));
MoonDis... | Java |
目してCSoJを選択することを目的とするため、通年データを解析対象とした。
類似度計算に先立ち、CSoJと非CSoJの主観(視覚)ラベリングを実施した(図2)。まず著者らが全SLP図(14,612枚)からCSoJ候補(839枚)を選択し、同数の非CSoJ候補をCSoJ候補を除く全SLP図から乱数で抽出した(第1段階: Round 1)。次に5名の専門家に独立にCSoJ候補と非CSoJ候補を判定してもらい、3名以上がCSoJ(または非CSoJ)と認定した図をそれぞれCSoJ(328枚)・非CSoJ(788枚)とした(第2段階: Round 2)。第2段階で採択された図は著者による第1段階(予備選定)に比べ主観バイアスが小さい。なお、... | Markdown |
�的角色:- [宇佐见莲子](./宇佐见莲子.md)- 十六夜咲夜 (未找到链接)- [爱丽丝·玛格特洛依德](./爱丽丝·玛格特洛依德.md)- [八云紫](./八云紫.md)- [藤原妹红](./藤原妹红.md)- [稗田阿求](./稗田阿求.md)
---
此文档由 [THBWiki-Markdown-Builder](https://github.com/Delsin-Yu/THBWiki-Markdown-Builder) 构建。
文档中的所有内容除特殊注明外,均在 [**知识共享(Creative Commons) 署名-非商业性使用-相同方式共享 3.0 协议**](https://creativecom... | Markdown |
content.Context
import android.graphics.Bitmap
import android.media.MediaMetadataRetriever
import android.net.Uri
import com.twidere.twiderex.extensions.toUri
import com.twidere.twiderex.model.enums.MediaType
import com.twidere.twiderex.model.ui.UiMediaInsert
import kotlinx.coroutines.coroutineScope
actual class Media... | Kotlin |
# coding: utf8
__metaclass__ = type
import web
from models.model import *
from models.comment_model import *
from models.post_thanks_model import *
from config.config import *
class post_model(model):
def __init__(self):
super(post_model, self).__init__('post')
self.form = web.form.Form(
... | Python |
B0 03 00 A0 */ sth r0, 0xa0(r3)
/* 802B0B98 002AC7F8 88 1F 09 11 */ lbz r0, 0x911(r31)
/* 802B0B9C 002AC7FC 2C 00 00 00 */ cmpwi r0, 0
/* 802B0BA0 002AC800 40 82 00 24 */ bne lbl_802B0BC4
/* 802B0BA4 002AC804 38 00 00 01 */ li r0, 1
/* 802B0BA8 002AC808 98 1F 09 11 */ stb r0, 0x911(r31)
/* 802B0BAC 002AC80C 88 03... | Assembly |
"r" (op3) );
return(result);
}
__attribute__( ( always_inline ) ) __STATIC_INLINE uint32_t __SMLSDX (uint32_t op1, uint32_t op2, uint32_t op3)
{
uint32_t result;
__ASM volatile ("smlsdx %0, %1, %2, %3" : "=r" (result) : "r" (op1), "r" (op2), "r" (op3) );
return(result);
}
#define __SMLSLD(ARG1,ARG2,ARG3) ... | C |
82] = "상급 별의 정수",
[11083] = "영혼 가루",
[11084] = "희미하게 빛나는 큰 결정",
[11085] = "단골 손님의 금고 열쇠",
[11086] = "보호의 장트라제",
[11098] = "주문식: 망토 마법부여 - 하급 암흑 저항",
[11099] = "검은무쇠 광석",
[11101] = "주문식: 손목보호구 마법부여 - 하급 힘",
[11102] = "부화하지 않은 화살요정용 알",
[11103] = "씨앗 교환권",
[11104] = "큰 나침반",
[11105] = "두루마리 지도",
[11106] = "사자머리 열쇠",
[111... | Lua |
0 64 14.3 64 32v96h64V32c0-17.7-14.3-32-32-32zM288 0c-17.7 0-32 14.3-32 32v96h64V32c0-17.7-14.3-32-32-32zM32 160c-17.7 0-32 14.3-32 32s14.3 32 32 32v32c0 77.4 55 142 128 156.8V480c0 17.7 14.3 32 32 32s32-14.3 32-32V412.8c12.3-2.5 24.1-6.4 35.1-11.5c-2.1-10.8-3.1-21.9-3.1-33.3c0-80.3 53.8-148 127.3-169.2c.5-2.2 .7-4.5 ... | JavaScript |
ins = "0" + mins;
}
return hrs + ":" + mins;
}
function summaryFormatter(value, rowIdx, cell, sing, plur){
var str;
if(rowIdx >= 0){
return value;
}
if(rowIdx == -1){
str = "Total (${numItems} ${displayName}):";
}else{
str = "${numItems} ${displayName}";
}
return dojo.strin... | HTML |
uf] .theme_search-label[data-v-3f7abdde]{background:rgba(255,255,255,.1)}#app[skin=ROG] .theme_active.router-link-exact-active.software-item[data-v-3f7abdde],#app[skin=rog] .theme_active.router-link-exact-active.software-item[data-v-3f7abdde]{background-color:rgba(0,0,0,.5);border-radius:12px 12px 0 0}#app[skin=ROG] .t... | CSS |
ctions to the MPU
* equivalents. */
#define xStreamBufferSend MPU_xStreamBufferSend
#define xStreamBufferReceive MPU_xStreamBufferReceive
#define xStreamBufferNextMessageLengthBytes MPU_xStreamBufferNextMessageLengthBytes
#define vStreamBufferDe... | C |
false, nil
}
func calcTokenAssetsKey(addr string) []byte {
return []byte(fmt.Sprintf(tokenAssetsPrefix+"%s", addr))
}
func getTokenAssetsKey(addr string, db dbm.KVDB) (*types.ReplyStrings, error) {
key := calcTokenAssetsKey(addr)
value, err := db.Get(key)
if err != nil && err != types.ErrNotFound {
tokenlog.Er... | Go |
Addr = R.selectStream( "inpAddr", tmp, 0 )
inpAddr = G.FIFO{128}(inpAddr)
inpAddr = G.Index{0}(inpAddr)
inpData = R.selectStream( "inpData", tmp, 1 )
inpData = G.FIFO{128}(inpData)
inpData = G.Index{1}(inpData)
else
inp = R.input( R.HandshakeTuple{types.uint(32),writeType} )
inpAddr = R.s... | Lua |
2-input::placeholder,.swal2-modal .swal2-textarea::placeholder{color:#e6e6e6}.swal2-modal .swal2-range input{float:left;width:80%}.swal2-modal .swal2-range output{float:right;width:20%;font-size:20px;font-weight:600;text-align:center}.swal2-modal .swal2-range input,.swal2-modal .swal2-range output{height:43px;line-heig... | CSS |
= load i32, ptr [[UIR]], align 4
// SIMD-ONLY0-NEXT: [[TOBOOL3815:%.*]] = icmp ne i32 [[TMP2648]], 0
// SIMD-ONLY0-NEXT: br i1 [[TOBOOL3815]], label [[IF_THEN3816:%.*]], label [[IF_END3817:%.*]]
// SIMD-ONLY0: if.then3816:
// SIMD-ONLY0-NEXT: [[TMP2649:%.*]] = load i32, ptr [[UID]], align 4
// SIMD-ONLY0... | C++ |
程,类似于` LockSupport `的 ` park ` /`unpark`。我们还希望获得纤程的堆栈跟踪,以便监控/调试以及它的状态(挂起/运行)等。简而言之,因为纤程是一个线程,它将拥有与重量级线程(由'`Thread `类表示)非常相似的API。关于Java内存模型,纤程的行为将完全像当前的 Thread 实现。虽然纤程将使用jvm管理的continuation来实现,但我们也可能希望它们与OS的continuation兼容,比如Google的用户态调度内核线程。
纤程还有一些独特的功能:我们想要一个纤程有一个可插拔的调度调度器(固定在纤程的结构,或者在它暂停的时候可以被更换,例如有需要调度器作为参数`unpark`方法... | Markdown |
, WorkflowAction> actions);
/// <summary>
/// Lets the workflow model modify the screen of the <see cref="WorkflowState.MainScreen"/> of the current
/// <paramref name="context"/> (or initialy set the screen, if the <see cref="WorkflowState.MainScreen"/> property isn't
/// set in the current state).
... | C# |
StorageArea.storeItem(computer1);
let computerIndex2:number=computersStorageArea.storeItem(computer2);
let computerIndex3:number=computersStorageArea.storeItem(computer3);
// склад автомобилей
let carsStorageArea=new StorageArea<Car>();
let car1:Car=new Car;
let car2:Car=new Car;
let car3:Car=new Car;
// сохраним... | Typescript |
> 운영체제에서 실행되는 프로세스를 격리(Isolation)하여 별도의 실행 환경을 제공해주며, 해당 프로세스는 운영체제 상에서 실행되는 유일한 프로세스인 것처럼 작동하는 기술
2. 도커란 무엇입니까? (100자 이내로 요약)
<br>
> 독립된 환경을 만들어서 하드웨어를 효율적으로 활용하는 기술
3. 도커 파일, 도커 이미지, 도커 컨테이너의 개념은 무엇이고, 서로 어떤 관계입니까?
<br>
> 도커 파일 : 컨테이너를 생성하는 데 사용되는 스크립트 파일
<br>
> 도커 이미지 : 도커에서 서비스 운영에 필요한 서버 프로그램, 소스코드 및 라이브러리, 컴파일... | Markdown |
</b></td>
<td>specifies which sound object to link to</td>
</tr>
<tr>
<td><b>start</b></td>
<td>selects the starting point of the time-range to draw</td>
</tr>
<tr>
<td><b>stipple</b></td>
<td>works as for ordinary Tk canvas items</td>
</tr>
<tr>
<td><b>subsample</b></td>
<td>useful for large sounds... | HTML |
推荐|您能推荐一部最近上映的好看电影吗?|
|旅游咨询|请问在泰国旅游应该注意哪些事项?|
|新闻分类|关于环保领域的新闻有哪些最近报道的?|
|烹饪指导|我想学做意大利面,请问有什么简单易学的食谱吗?|
|历史解析|请问二战期间美国起草的《大西洋宪章》有哪些具体内容?|
|医学解答|请问伤寒与流感有何区别?如何应对这两种疾病?|
|产品比较|iPhone 12和iPhone 13有哪些不同之处?|
|游戏攻略|请问怎么在我的世界中制作陷阱?|
|体育分析|请问NBA季后赛中湖人队的优势在哪里?|
|文学作品分析|请问《1984》这本书的主题是什么?|
| 医疗保健 | 解释什么是私人医疗保险? |
| 历史学 | 阐述拿破仑战争的... | Markdown |
etInt16(0), equals(1023));
expect(bd.getInt16(0, Endian.big), equals(1023));
expect(bd.getInt16(0, Endian.little), equals(-253));
expect(bd.getUint16(0), equals(1023));
expect(bd.getUint16(0, Endian.big), equals(1023));
expect(bd.getUint16(0, Endian.little), equals(0xFF03));
bd.setInt16(2, -1)... | Dart |
local schema_def = require "kong.plugins.jwt.schema"
local v = require("spec.helpers").validate_plugin_config_schema
describe("Plugin: jwt (schema)", function()
it("validates 'maximum_expiration'", function()
local ok, err = v({
maximum_expiration = 60,
claims_to_verify = { "exp", "nbf" },
}, sc... | Lua |
D_DOMAIN_STORE_FACTORY_CLASS),
GcsDomainStoreFactory.class.getName());
assertEquals(System.getProperty(CloudZmsSyncer.SYNC_PROP_STATEFILE_BUILDER_FACTORY_CLASS),
GcsStateFileBuilderFactory.class.getName());
// Test when properties are already set
... | Java |
! getprocessor() - determine processor type Author: Kees J. Bot
! 26 Jan 1994
.sect .text; .sect .rom; .sect .data; .sect .bss
.sect .text
! int getprocessor(void);
! Return 386, 486, 586, ...
.define _getprocessor
_getprocessor:
push ebp
mov ebp, esp
and esp, 0xFFFFFFFC ! Align stack to avoid AC fault
m... | Assembly |
: String = "shared_image",
)
suspend fun cacheImage(
image: I,
imageInfo: ImageInfo,
name: String = "shared_image"
): String?
suspend fun shareImages(
uris: List<String>,
imageLoader: suspend (String) -> Pair<I, ImageInfo>?,
onProgressChange: (Int) -> Un... | Kotlin |
n3D::New();
mitk::Point3D point;
point[0] = i * 20;
point[1] = i * 30;
point[2] = i * -50;
pointset->InsertPoint(i, point);
textAnnotation3D->SetText("A Point");
// The Position is set to the point coordinate to create an annotation to the point in the PointSet.
textAnnotation3D->SetPos... | C++ |
간이 걸렸어. 하!—미친 사람이 이렇게 현명했을까? 그리고 내 머리가 방 안에 충분히 들어갔을 때, 나는 등불을 조심스럽게—오, 아주 조심스럽게—조심스럽게 (경첩이 삐걱거렸거든)—아주 조금만 풀었어. 딱 독수리 눈에 가느다란 한 줄기 빛이 떨어질 만큼만 말이야. 그리고 이 일을 일곱 밤 내내—매일 밤 자정쯤—계속했어. 하지만 그 눈은 항상 감겨 있었지. 그래서 그 일을 할 수가 없었어. 나를 괴롭힌 건 노인 자신이 아니라, 그의 사악한 눈이었거든. 그리고 매일 아침, 날이 밝으면 나는 대담하게 방으로 들어가서, 정다운 목소리로 그의 이름을 부르며 어젯밤을 어떻게 보냈... | Markdown |
atic com.eveningoutpost.dexdrip.utils.DexCollectionType.NSFollow;
import static com.eveningoutpost.dexdrip.xdrip.gs;
/**
* jamorham
*
* Nightscout follower collection service
*
* Handles Android wake up and polling schedule, decoupled from data transport
*
* Extended by Asbjørn Aarrestad - asbjorn@aarrestad.com... | Java |
other)) return true;
return other is Data &&
listEquals(other.cabinetBoxInfoList, cabinetBoxInfoList) &&
listEquals(other.cabinetBoxPortInfoList, cabinetBoxPortInfoList) &&
other.cabinetDeviceId == cabinetDeviceId &&
other.cabinetDid == cabinetDid &&
other.cabinetName == ca... | Dart |
from datasets import load_dataset
import torch
import re
from tqdm import tqdm
import numpy as np
import torch.nn.functional as F
import clap.encoders
def Google_Command_Eval(speech_encoder, phone_encoder, tokenizer, processor, text=False):
G = load_dataset("speech_commands", "v0.01", split='test',cache_dir='... | Python |
]string
}
func (r RemoteArchive) FetchTo(dest string) error {
d, err := filepath.Abs(dest)
if err != nil {
return err
}
ws, err := workspace.New()
if err != nil {
return err
}
defer ws.Cleanup()
if err := URL(r.URL, ws.Path("archive")); err != nil {
return err
}
if err := fileutil.Verify(ws.Path("ar... | Go |
},
checkStatuForResize: function (firstTime) {
var $body = $('body');
var $openCloseBar = $('.navbar .navbar-header .bars');
var width = $body.width();
if (firstTime) {
$body.find('.content, .sidebar').addClass('no-animate').delay(1000).queue(function () {
... | JavaScript |
��전을 용이하게 합니다.
## 기타 참조
최신 vSphere, Packer 및 Packer Plugin for vSphere을 사용하여 Rocky Linux 및 다른 운영 체제를 최신화하는 자세한 프로젝트 정보를 보려면 [이 프로젝트](https://github.com/vmware-samples/packer-examples-for-vsphere) 사이트를 방문하십시오.
---
title: Команди dump та restore
author: tianci li
contributors: Steven Spencer
tested_with: 8.10
tags:
... | Markdown |
": [
"NN"
],
"Beulah": [
"NNP"
],
"Evry": [
"NNP"
],
"mend": [
"VB"
],
"telegrams": [
"NNS",
"VBZ"
],
"Belated": [
"JJ"
],
"quasi-religious": [
"JJ"
],
"fellow-countryman": [
"NN"
... | JavaScript |
) Ǔ+TFƻ7%>SsDBBjvh_6oǂ=z;9|7hbǹtCFm#Ҩy/8`Z|N\f-(b#8R|@L5PiO)3vE2JQ+lJk{2[E?\f\v?0iy=|ϵh;u)/i[C|O`A?z@x\fMþv5>X|78^6~μ9p^>`r7KNgp-W[ /?9_]l?%fOx<j7Oz4`3˖If\vlj49?^B³t˷Vo`n~Z^(dg4`%rvë!=#q(qT*), -#Lk-,Ɛ1-}xfME8|l*t*V_EM~]\f^}>siQm<׀ 7)<_'xRq.DYGM7@4W~W]Y\fo<b... | JavaScript |
you need to commit the package.json?'
warn(`${message} - <i>${idea}</i>`)
}
// Request changes to src also include changes to tests.
const hasSrcChanges = allFiles.some((p) => includes(p, '.tsx'))
const hasStoriesChanges = allFiles.some((p) => includes(p, '.stories.'))
if (hasSrcChanges && !hasStoriesChanges) {
... | Typescript |
败:" + err.Error())
return
}
// 建立TLS连接并返回给源
i.SslReceiveSend()
}
// 设置请求头
func (i *ProxyHttp) SetRequest(request *http.Request) *http.Request {
request.Header.Set("Connection", "false")
request.URL.Host = request.Host
request.URL.Scheme = "https"
return request
}
// tls数据接收发送
func (i *ProxyHttp) SslReceiveSe... | Go |
s authenticated",
"user_email": current_user.get("email"),
"user_id": current_user.get("id")
}
else:
return {
"status": "anonymous",
"message": "No authentication provided",
"user": None
}
@router.post("/supabase/manual-token-test... | Python |
t the end of the lines or empty lines may be
present between the subtitle lines because of double-sized teletext characters.
Default value is 1.
</p></dd>
<dt><samp class="option">txt_duration</samp></dt>
<dd><p>Sets the display duration of the decoded teletext pages or subtitles in
milliseconds. Default value is -1 wh... | HTML |
namespace Reginald.Core.IO.Hooks
{
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
using static Reginald.Core.IO.Hooks.NativeMethods;
public sealed class KeyboardHook : Hook
{
private readonly LowLevelKeyboardProc _proc;
public KeyboardHook()
... | C# |
;
iGoodsZhanLi += GetGoodsWashProps(gd, ExtPropIndexes.AddAttack) / CombatForceInfo.AddAttack;
iGoodsZhanLi += GetGoodsWashProps(gd, ExtPropIndexes.AddDefense) / CombatForceInfo.AddDefense;
// 荧光宝石属性
// 火系伤害(固定值)
if (equipFields_1[ExtPropI... | Typescript |
mc_resume_host(mmc);
return 0;
}
#else
#define sdricoh_pcmcia_suspend NULL
#define sdricoh_pcmcia_resume NULL
#endif
static struct pcmcia_driver sdricoh_driver = {
.name = DRIVER_NAME,
.probe = sdricoh_pcmcia_probe,
.remove = sdricoh_pcmcia_detach,
.id_table = pcmcia_ids,
.suspend = sdricoh_pcmcia_suspend,
.res... | C |
sigdecode_strings(rs_strings, order):
(r_str, s_str) = rs_strings
l = orderlen(order)
assert len(r_str) == l, (len(r_str), l)
assert len(s_str) == l, (len(s_str), l)
r = string_to_number_fixedlen(r_str, order)
s = string_to_number_fixedlen(s_str, order)
return r, s
def sigdecode_der(sig_de... | Python |
visitor).visitExplicitVariadicValueTokens(this);
else return visitor.visitChildren(this);
}
}
public final VariadicValueTokensContext variadicValueTokens() throws RecognitionException {
VariadicValueTokensContext _localctx = new VariadicValueTokensContext(_ctx, getState());
enterRule(_localctx, 206, RULE_va... | Java |
Doctor</a> for the show's 50th anniversary in 2013. The 11th Doctor, <a href="//en.wikipedia.org/wiki/Matt_Smith_(actor)" title="Matt Smith (actor)">Matt Smith</a>, stated that he would love Eccleston to return.<sup id="cite_ref-18" class="reference"><a href="#cite_note-18"><span>[</span>18<span>]</span></a></sup> How... | HTML |
;
// Recompute the face normal
v_normal = normalize(vec3(inverseTranspose * normal));
// Set the color
v_color = color;
}`;
// Fragment shader
var fshader = `
precision mediump float;
uniform vec3 lightColor;
uniform vec3 lightPosition;
uniform vec3 ambientLight;
varying vec3 v_normal;
varying vec3 v_pos... | HTML |
의 회전을 정의하는 2D 벡터와 투영점에서의 중심선에 접하는 단위 접선 벡터 사이의 오일러각 \\(\\theta_{t}\\in(-\\pi,\\pi]\\)은 벽접촉을 나타내는 2차원 플래그를 갖는다. 3.) N 샘플링된 곡률 측정치 (\\(w_{t}=1\\)는 벽접촉을 나타낸다. 4.) N 샘플링된 곡률 측정치 (\\mathbf{c}_{t}\\in\\mathbbb{R}^{N}\\).\n' +
'\n' +
'또한, [1]:5.) 차량의 현재 헤딩의 코사인 및 사인, \\(\\cos(\\psi)\\) 및 \\(\\sin(\\psi)\\).6.) 차량의... | HTML |
ne-text-6" id="text-2-2-3-3-4">
<p>
Will raise error if given too few arguments:
</p>
<div class="org-src-container">
<pre class="src src-lisp">(parse-argv '(x y) '(<span style="color: #9E9E9E;">"x"</span>))
<span style="color: #DADADA;">;; </span><span style="color: #616161;">=> Error: Too few input arguments. </s... | HTML |
NotFound(internalName))
val cacheType = types[internalId]
TypeResolver[this] = internalId
if (cacheType == null) {
return err(CacheTypeDoesNotExit)
}
val merged = VarpTypeBuilder.merge(this, cacheType)
if (merged != cacheType) {
return update(Ca... | Kotlin |
깨덮개",
[63748] = "관문파괴자의 어깨보호대",
[63749] = "연기불꽃 가슴보호대",
[63750] = "건물폭파 팔보호구",
[63751] = "연기 신호 어깨덧대",
[63752] = "기록자의 갑옷",
[63753] = "타오르는 불길 팔보호구",
[63754] = "황혼의 최후 허리보호대",
[63755] = "잃어버린 고독의 두건",
[63756] = "마지막 추억의 팔보호구",
[63757] = "고룡사냥꾼 어깨덮개",
[63758] = "밤비늘 요대",
[63759] = "용날개 다리보호구",
[63760] = "붉은용군단 망토",
[637... | Lua |
ervation(j->rv);
virtmemUnlock();
}
break;
case JitType_CodeMemory:
rc = svcControlCodeMemory(j->handle, CodeMapOperation_UnmapOwner, j->rw_addr, j->size, 0);
if (R_SUCCEEDED(rc)) {
rc = svcControlCodeMemory(j->handle, CodeMapOperation_UnmapSlave, j->rx_addr... | C |
ue,
)
return MethodExitVisitor(
eMv,
Runtime::onObjectWaitDone,
access,
name,
descriptor,
loadThis = true,
loadArgs = false,
addFinalBlock = true,
thisType = className)
}
return mv
}
}
package org.pastala... | Kotlin |
/*
* Copyright (c) 2018-2025 Tencent. 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 by a... | C# |
: rgba(55, 125, 255, 0.5);
}
.custom-checkbox .custom-control-input:disabled:indeterminate ~ .custom-control-label::before {
background-color: rgba(55, 125, 255, 0.5);
}
.custom-radio .custom-control-label::before {
border-radius: 50%;
}
.custom-radio .custom-control-input:checked ~ .custom-control-label::after ... | CSS |
fun uiResourceOf(width: Int, height: Int): RadianceIconUIResource {
return RadianceIconUIResource(radiance_menu(width, height))
}
/**
* Returns a factory that returns instances of this icon on demand.
*
* @return Factory that returns instances of this icon on dem... | Kotlin |
kinds := make([]string, 0, len(messageObjMap))
for kind := range messageObjMap {
kinds = append(kinds, kind)
}
sort.Strings(kinds)
// Aggregate messages for each object kind.
for _, kind := range kinds {
kindPlural := flect.Pluralize(kind)
messageObjMapForKind := messageObjMap[kind]
// compute the order... | Go |
0 containers skipped ]
[ 2 containers started ]
[ 0 containers aborted ]
[ 2 containers successful ]
[ 0 containers failed ]
[ 3 tests found ]
[ 1 tests skipped ]
[ 2 tests started ]
... | Kotlin |
Flattened = false;
InvokedCount = 0;
}
}
internal static class Helpers
{
public static int PartitioningThreshold = new SpaceServerOptions().PartitioningThreshold;
public static StoreTuple<T> WithDefaultStore<T>(this T tuple) where T : ISp | C# |
't need to search the MBB table when both indexes
// belong to proper instructions.
MachineBasicBlock *MBB1 = Indexes->getMBBFromIndex(Start);
MachineBasicBlock *MBB2 = Indexes->getMBBFromIndex(Stop);
return MBB1 == MBB2 ? MBB1 : nullptr;
}
bool
LiveIntervals::hasPHIKill(const LiveInterval &LI, const VNInfo *V... | C++ |
r2, #0x0
.hword 0x1c49 @ add r1, r1, #0x1
strb r1, [r0, #0x0]
ldr r0, [r5]
mov r1, r4
bl StartMovementScriptHandler
mov r0, #0x0
pop {r4-r6,pc}
thumb_func_end ScriptCmd_ApplyMovement
thumb_func_start ScriptCmd_ApplyMovement2
ScriptCmd_ApplyMovement2: @ 2040dd8 :thumb
push {r... | Assembly |
//www.geeksforgeeks.org/overlapping-subproblems-property-in-dynamic-programming-dp-1/)和[最优子结构](https://www.geeksforgeeks.org/optimal-substructure-property-in-dynamic-programming-dp-2/)。因此,为了优化,需要基于以下观察执行[动态编程](https://www.geeksforgeeks.org/dynamic-programming/):
* 考虑到 **dp[i]** 将表示 **i** 的方式总数存储为位于范围**【1,K】**内的整数之和,... | Markdown |
expect(Character.isWhitespace(' '.codeUnitAt(0)), isTrue);
expect(Character.isWhitespace('\n'.codeUnitAt(0)), isTrue);
expect(Character.isWhitespace('\r'.codeUnitAt(0)), isTrue);
expect(Character.isWhitespace('.'.codeUnitAt(0)), isFalse);
expect(Character.isWhitespace('0'.codeUnitAt(0)), i... | Dart |
3px 4px rgba(61,74,108,.15)}.dx-pivotgrid-fields-container .dx-area-field.dx-area-box{color:#21293b;background-color:rgba(229,237,255,.4);border-radius:6px;border:1px solid #e5e8f0;font-size:14px;font-weight:400;line-height:20px}.dx-pivotgrid-fields-container .dx-area-field.dx-area-box .dx-header-filter{color:#5486ff}... | CSS |
;
break;
}
case SPT_ELECTRICITY_SPARKS:
{
UBYTE ubRndH = UBYTE( 180+afStarsPositions[ int(iSpray+tmStarted*10)%CT_MAX_PARTICLES_TABLE][0]*16);
UBYTE ubRndS = UBYTE( 32+(afStarsPositions[ int(iSpray+tmStarted*10)%CT_MAX_PARTICLES_TABLE][1]+0.5)*16);
UBYTE ubRndV = UBYTE( 192+(afStarsP... | C++ |
5);
} catch (error) {
throw new Error(`Provided country string (${countryName}) is not valid...`);
}
}
/**
* Set map
* @param map leaflet map object
*/
onMapReady(map: Map) {
this.map = map;
}
/**
* Return country which is requested by name
... | Typescript |
$episode, source: $source)';
}
}
/// @nodoc
abstract mixin class _$EigaSourceContextCopyWith<$Res> implements $EigaSourceContextCopyWith<$Res> {
factory _$EigaSourceContextCopyWith(_EigaSourceContext value, $Res Function(_EigaSourceContext) _then) = __$EigaSourceContextCopyWithImpl;
@override @useResult
$Res call... | Dart |
y; if not, see
<https://www.gnu.org/licenses/>. */
/* wcpcpy non-multiarch build is split into two files,
wcpcpy-generic.c and wcpcpy.S. The wcpcpy-generic.c build is
for ISA level <= 1 and just uses multiarch/wcpcpy-generic.c.
This must be split into two files because we cannot include C
code from ass... | Assembly |
t(val)).toEqual(false);
});
});
});
describe('validateRutList', () => {
it('Should validate a list of rut-like strings', () => {
const validRuts = ['7775735-k', '18585543-0', '18348353-6'];
const validResult = validateRutList(validRuts);
validRuts.forEach((r) => {
expect(validResult.get(r)).... | Typescript |
#include <config.h>
#include <asm/regdef.h>
#include <asm/mipsregs.h>
#include <rt_mmap.h>
#include <sysdefs.h>
#include <ArchDefs.h>
#include <launch.h>
#define CODE_ALIGN .align 2
#define LEAF(name)\
.##text;\
.##globl name;\
.##ent name;\
name:
#define END(name)\
.##size name,.-name;\
... | Assembly |
lowered": "#007C00",
"minecraft:purple_terracotta": "#7A4958",
"minecraft:verdant_froglight": "#7FA796",
"minecraft:clay": "#A4A8B8",
"minecraft:orange_terracotta": "#9F5224",
"minecraft:lime_terracotta": "#677535",
"minecraft:raw_iron_block": "#D8AF93"
}
};
const blockPalette = [
{
"ind... | Dart |
e {
padding: 24px;
background: var(--card-bg);
border-radius: 12px;
box-shadow: var(--card-shadow);
}
.career-timeline h2 {
font-size: 1.6rem;
color: var(--text-primary);
margin-bottom: 16px;
}
.vertical-timeline-element--work .vertical-timeline-element-icon {
box-shadow: 0 0 0 4px var... | CSS |
, Argument.ARGUMENT_REQUIRED)),
'Required arguments cannot come after optional'),
);
test(
'Has unique options',
t => expectError(t,
() => new Command('test')
.addOption(new Option('opt1'))
.addOption(new Option('opt1')),
'Option --opt1 already exists'
)
);
test(
'Does not accept missi... | Typescript |
诸葛军、邓井发召集各组织负责人刘清德、蒋乃强、路达先、黎华生、蒋国桂、张双喜、梁海斌等人在专署大楼会议室开会,策划夺地委的权。会上邓井发说:“夺权重要,我们几个总部观点一致,旗帜鲜明,从目前看夺权应及时,否则会落于保守派手里,前有教训。因此,今晚会议很及时,应夺:‘1、宣传工具;2、行政权;三、夺文革(小组)的(权)’”。25日清晨,“地专造反大军”在诸葛军、邓井发的带领下,先将王祝光、李云亭、吴新中、孙荣檄(常委、副专员)、李裕平(常委、秘书长)软禁在地委大门口传达室,然后邓井发宣布《桂林地专无产阶级革命造反大军夺权行动委员会夺权通令》,《通令》声称:“原地委、专署党、政、财政、工会、青年团的一切权力机关由夺权行动委员会进驻监督工... | HTML |
local BOAT_PHYSICS_SLEEP_DELAY = 1
local BoatDrifter = Class(function(self, inst)
self.inst = inst
self.is_moving = false
self.is_drifting = false
end)
function BoatDrifter:OnRemoveEntity()
self:StopWakeTests()
if self.stop_boat_physics_task then
self.stop_boat_physics_task:Cancel()
... | Lua |
1 ]", true, true, 1},
{"$[last +1]", false, false, 1},
{"$[0 to 1]", true, false, 1},
{"$[last to 0]", true, false, 1},
{"$[last - 1 to 1]", true, false, 1},
{"$[last -2 to last -3]", false, false, 1},
{"$[last -3 to last -2]", true, false, 1},
{"$[0to1]", false, false, 1},
{"$[0 to1", false, false, 1}... | Go |
viewModel.toggleFavorite()
}
}
private fun setupMenu() {
requireActivity().addMenuProvider(object : MenuProvider {
override fun onCreateMenu(menu: Menu, menuInflater: MenuInflater) {
menuInflater.inflate(R.menu.prompt_view_menu, menu)
deleteMenuItem =... | Kotlin |
meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:url" content="https://arstechnica.com/information-technology/2015/04/just-released-minecraft-exploit-makes-it-easy-to-crash-game-servers/" />
<meta name="twitter:title" content="Just-released Minecraft exploit makes it easy to... | HTML |
using System;
using System.Collections.Concurrent;
namespace Hystrix.Dotnet
{
internal class CircularArray<T>
{
public int MaximumSize { get; }
public int Length => internalQueue.Count;
private readonly ConcurrentQueue<T> internalQueue = new ConcurrentQueue<T>();
public Circ... | C# |
mWebRequest(this.Request);
if (user == null) return this.Redirect("~/login");
if (!user.IsModerator) return this.NotFound();
GriefReportEntity? report = await this.Database.Reports
.Include(r => r.ReportingPlayer)
.FirstOrDefaultAsync(r => r.ReportId == reportId);
... | C# |
/* Copyright (C) CZ.NIC, z.s.p.o. and contributors
* SPDX-License-Identifier: GPL-2.0-or-later
* For more information, see <https://www.knot-dns.cz/>
*/
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <tap/basic.h>
#include <tap/files.h>
#include "knot/zone/timers.h"
#include "libknot/db/db... | C |
rkdwnV + 10 * vte))) {
double vdTemp = -(vd + tBrkdwnV);
vdTemp = MOSUtils.pnjLimit(vdTemp, -voltageStates.get(0) + tBrkdwnV, vte, tVcrit, check);
vd = -(vdTemp + tBrkdwnV);
} else {
vd = MOSUtils.pnjLimit(vd, voltageStates.... | Java |
\"^7.0.0\"\n },\n \"peerDependencies\": {\n \"bare-url\": \"*\"\n },\n \"peerDependenciesMeta\": {\n \"bare-url\": {\n \"optional\": true\n }\n },\n \"react-native\": {\n \"constants\": \"constants-browserify\",\n \"crypto\": \"react-native-crypto\",\n \"path\": \"path-browserify\",\n \... | JavaScript |
fr2
movf fr2,-(sp)
movf fr1,-(sp)
movf fr0,-(sp)
jmp divide
1:
movf fr1,-(sp)
movf fr0,-(sp)
jmp *(r4)+ | Assembly |
over{color:#ba8b00!important}.text-danger{color:#dc3545!important}a.text-danger:focus,a.text-danger:hover{color:#a71d2a!important}.text-light{color:#f8f9fa!important}a.text-light:focus,a.text-light:hover{color:#cbd3da!important}.text-dark{color:#343a40!important}a.text-dark:focus,a.text-dark:hover{color:#121416!importa... | CSS |
/-45.1|-45/-900|0/-900:.01:45:-90:.1
</pre></div>
</li><li>2:1 compression starting at -6dB:
<div class="example">
<pre class="example-preformatted">compand=points=-80/-80|-6/-6|0/-3.8|20/3.5
</pre></div>
</li><li>2:1 compression starting at -9dB:
<div class="example">
<pre class="example-preformatted">compand=points... | HTML |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.