content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
return MoveToNextCompatibleHandler();
}
private int? MoveToNextCompatibleHandler()
{
_currentHandlerIndex++;
while (CurrentHandler is not null)
{
switch (CurrentHandler.HandlerType)
{
case CilExceptionHandl... | C# |
) ) )* ) ) ) ) | (kw= '4' ( ( ( ( ({...}? => ( ({...}? => (kw= 'a' ) ) ) ) | ({...}? => ( ({...}? => (kw= 'b' ) ) ) ) )+ {...}?) ) ) ) | (kw= '5' ( ( ( ( ({...}? => ( ({...}? => (kw= 'a' ) ) ) ) | ({...}? => ( ({...}? => (kw= 'b' ) ) ) ) )+ {...}?) ) ) ) | (kw= '6' ( ( ( ( ({...}? => ( ({...}? => (kw= 'a' ) )+ ) ) | (... | Java |
疆地区分散,加工工厂必须分散办。流动加工厂,轧花、面粉、榨油、化肥,这个办法可以在地广人稀的地方应用。二万五千元可以搞一个流动汽车加工厂。水多的地区可以搞船上流动加工厂。
</p>
<p>
不要以为天下太平。不太平是正常现象,也不过是个把指头。但不能任其泛滥,不及早注意就会传染,一变二,二变三,发展下去就会天下大乱。
</p>
<p>
(当谈到民族主义者希望出匈牙利事件时)实质就在这里,三中全会议题之一是反民族主义,过去我们反对大汉族主义,现在就主动了。报告中提出这个问题,引起辩论。
</p>
<p>
许多人过去看不清楚,如李世农过去就未看出来。山东八个地委,两个反对省委,两个拥护,四个中间... | HTML |
pgEBPuR0jQIBALyDQvZUlAQIEpgICPeV2jAABAr2AQPdWlgQIEJgKCPSU2zECBAj0AgLdW1kSIEBgKiDQU27HCBAg0AsIdG9lSYAAgamAQE+5HSNAgEAvINC9lSUBAgSmAgI95XaMAAECvYBA91aWBAgQmAoI9JTbMQIECPQCAt1bWRIgQGAqINBTbscIECDQCwh0b2VJgACBqYBAT7kdI0CAQC8g0L2VJQECBKYCAj3ldowAAQK9gED3VpYECBCYCgj0lNsxAgQI9AIC3VtZEiBAYCog0FNuxwgQINALCHRvZUmAAIGpgEBPuR0jQIB... | JavaScript |
<meta http-equiv="x-pjax-version" content="b805c57bcd4a4792f92a9370aedc7faf674492be33c21a5834edd1e32a635c5a" data-turbo-track="reload... | HTML |
#ifndef DataFormats_FWLite_interface_OutputFiles_h
#define DataFormats_FWLite_interface_OutputFiles_h
#include <vector>
#include <string>
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/Utilities/interface/Exception.h"
/**
\class OutputFiles OutputFiles.h "DataFormats/FWLite/interface/Ou... | C |
19</b> - DocBlock would be page-level, but precedes class "Swift_Events_TransportChangeEvent", use another DocBlock to document the file<br>
<a name="TransportChangeListener.php"></a>
<h1>TransportChangeListener.php</h1>
<h2>Warnings:</h2><br>
<b>Warning on line 22</b> - DocBlock would be page-level, but precedes class... | HTML |
C/' + args.model + '.ckpt'
restore_path = './models/' + args.model + '.ckpt'
logs_path = './logs'
tf.reset_default_graph()
CAE = ConvAE(n_input=n_input, n_hidden=n_hidden, reg_constant1=reg1, re_constant2=reg2, \
kernel_size=kernel_size, batch_size=batch_size, model_path=model_path, res... | Python |
the-job)
- [팔로우 하려면](#팔로우-하려면)
- [당신은 충분히 똑똑합니다](#당신은-충분히-똑똑합니다)
- [구글에 대해](#구글에-대해)
- [영상 자료에 관하여](#영상-자료에-관하여)
- [인터뷰 과정 & 전반적인 인터뷰 준비 과정](#인터뷰-과정--전반적인-인터뷰-준비-과정)
- [인터뷰를 위한 언어 고르기](#인터뷰를-위한-언어-고르기)
- [도서 목록](#도서-목록)
- [시작하기 전에](#시작하기-전에)
- [다루지 않을 것](#다루지-않을-것)
- [선수 과목](#선수-과목)
- [하루 하루의 계획](#하루-하루의-계획)
- [알고리즘 복잡... | Markdown |
"Rover's GraphQL linter package does not seem to be located here:\n{}",
&npm_lint_directory
));
}
Ok(Self {
runner,
npm_installer_package_directory,
npm_lint_directory,
})
}
/// prepares our npm installer pac... | Rust |
already provides a valid text_end, so this is merely to handle direct calls.
wrapWidth: Float = 0f, cpuFineClip: Boolean = false) {
var textEnd = textEnd_
// Align to be pixel perfect
var (x, y) = pos(floor(pos.x), floor(pos.y))
if (y > clipRect.w) return
v... | Kotlin |
#!/usr/bin/env python
# This file is part of VoltDB.
# Copyright (C) 2008-2010 VoltDB L.L.C.
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limita... | Python |
MED_TARGET_COL]\\n\\n # Handle cases where training data becomes empty after processing (e.g., very early folds)\\n if X_train_model.empty or y_train_model.empty:\\n print(\\"Warning: Training data is empty after preprocessing. Returning fallback predictions (all zeros).\\")\\n predictions_df = pd.D... | HTML |
mt *ast.AssignStmt
binaryExpr *ast.BinaryExpr
callExpr *ast.CallExpr
compositeLit *ast.CompositeLit
exprStmt *ast.ExprStmt
field *ast.Field
funcDecl *ast.FuncDecl
funcLit *ast.FuncLit
genDecl *ast.GenDecl
interfaceType *ast.InterfaceType
rangeStmt *ast.RangeStmt
... | Go |
https://twitter.com/stephantual/status/711874685156376576) de _Code is Law_. Comme beaucoup d'autres, le CCO d'EF a vu l'avenir radieux promis par "Build Unstoppable Applications", en effet, c'est lui qui a décidé d'utiliser ce terme pour promouvoir le projet Ethereum.
En novembre 2015, le désormais ancien CCO s'est a... | Markdown |
-----------------------------------
-- Area: Norg
-- NPC: Parlemaille
-----------------------------------
---@type TNpcEntity
local entity = {}
local pathNodes =
{
{ x = -20.369047, y = 1.097733, z = -24.847025 },
{ x = -20.327482, z = -25.914215 },
{ x = -20.272402, z = -27.108938 },
{ x = -20.094927... | Lua |
krXFwvXWA7XG4gICAgfVxuICAgIGVsc2Uge1xuICAgICAgICAoMCwgYXNzZXJ0XzEuYXNzZXJ0KShjaGFyYWN0ZXJTZXQgPT09ICdiYXNlNjR1cmwnKTtcbiAgICAgICAgbGV0dGVycyA9IFN0cmluZy5yYXcgYFstX0EtWmEtejAtOV1gO1xuICAgIH1cbiAgICBsZXQgcmU7XG4gICAgaWYgKHBhZGRpbmdSZXF1aXJlZCkge1xuICAgICAgICByZSA9IG5ldyBSZWdFeHAoYF4oPzoke2xldHRlcnN9ezR9KSooPzoke2xldHRlcn... | JavaScript |
from src.core.models import Issue, WorkflowState
from src.core.platform import AutonomyPlatform, BaseWorkflow
from src.planning.config import PlanningConfig
class DummyWorkflow(BaseWorkflow):
def _build_graph(self):
return {"step": self.do_step}
def do_step(self, state):
state["done"] = True
... | Python |
isSelected: true
})
}
return entity;
});
}
private static removeEntityFromSelection(state: any[], action: Action) {
return state.map((entity: any) => {
if (entity === action.payload) {
return updateImmutable(entity, {
isSelected: false
})
... | Typescript |
DC 00419E1C 7C 7C 1B 79 */ or. r28, r3, r3
/* 8041CEE0 00419E20 41 82 00 0C */ beq .L_8041CEEC
/* 8041CEE4 00419E24 48 00 11 71 */ bl __ct__Q23Sys7OBBTreeFv
/* 8041CEE8 00419E28 7C 7C 1B 78 */ mr r28, r3
.L_8041CEEC:
/* 8041CEEC 00419E2C 80 1E 00 1C */ lwz r0, 0x1c(r30)
/* 8041CEF0 00419E30 38 60 00 50 */ li r3, ... | Assembly |
Commits
def uncommittedChangesMessage(self) -> str:
""" Can be overridden """
summaryText = _("Working Directory") + " "
# Append change count if available
numChanges = self.repoModel.numUncommittedChanges
if numChanges == 0:
summaryText += _("(Clean)")
e... | Python |
/*
* lib/ptk/src/linux/ime.c: -- The input method engine support for linux.
*
* Copyright (c) 2018-2025, Liu chao <lc-soft@live.cn> All rights reserved.
*
* SPDX-License-Identifier: MIT
*
* This file is part of LCUI, distributed under the MIT License found in the
* LICENSE.TXT file in the root directory of thi... | C |
card"><img src="https://blog.cloudflare.com/content/images/2023/03/image3-4.png" class="kg-image" alt="" loading="lazy"></figure>
<h3 id="cloudflare-">Cloudflare 人生</h3>
<p>进一步了解我们如何培育社区,包括通过 Womenflare 这样的员工资源小组,欢迎访问我们的<a href="https://www.cloudflare.com/careers/life-at-cloudflare">招聘页</a>——并查看我们的<a href="https://ww... | HTML |
write!(f, " [")?;
if self.castle_rights[0] {
write!(f, "K")?;
}
if self.castle_rights[1] {
write!(f, "Q")?;
}
if self.castle_rights[2] {
write!(f, "k")?;
}
if self.castle_rights[3] {
... | Rust |
容涉及。但在有些时候,新方法明显优于老方法。此时,我会明显偏向于新方法,通常教给大家更好的方法,而完全忽略老方法。然而,有的新方法要以老方法为基础,所以不可避免地要从老方法入手。这一特点尤以AWT为甚,因为那儿不仅存在数量众多的老式Java 1.0代码,有的平台仍然只支持Java 1.0。我会尽量指出哪些特性是哪个版本特有的。
大家会注意到我并未使用子版本号,比如1.1.1。至本书完稿为止,Sun公司发布的最后一个1.0版是1.02;而1.1的最后版本是1.1.5(Java 1.2仍在做β测试)。在这本书中,我只会提到Java 1.0,Java 1.1及Java 1.2,避免由于子版本编号过多造成的键入和印刷错误。
#### 1... | Markdown |
] = build_async_required_kwargs(
required_arg_names=self.arg_names,
logger=self.logger,
request=request,
response=response,
next_keys_required=False,
)
await self.func(**kwargs)</code></pre>
</details>
<h3>Ancestors</h3>
<ul class="hlist">
<li>... | HTML |
);
assert_eq!(just_str, "hi");
let just_num = Builder::default().number(254).to_string();
assert_eq!(just_num, "254");
let a = Builder::default()
.string("hello, world!")
.number(200)
.to_string();
assert_eq!(a, "hello, world! 200");
let b = Builder::default()
... | Rust |
olumn: 1/2;
}
.pf-c-progress__description.pf-m-truncate {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.pf-c-progress__status {
grid-column: 2/3;
grid-row: 1/2;
text-align: right;
word-break: break-word;
}
.pf-c-progress__status-icon {
margin-left: var(--pf-c-progress__status-icon... | CSS |
CapDigital, DigitalLogical: 23},
&embd.PinDesc{ID: "P1_18", Aliases: []string{"24", "GPIO_24"}, Caps: embd.CapDigital, DigitalLogical: 24},
&embd.PinDesc{ID: "P1_19", Aliases: []string{"10", "GPIO_10", "MOSI", "SPI0_MOSI"}, Caps: embd.CapDigital | embd.CapSPI, DigitalLogical: 10},
&embd.PinDesc{ID: "P1_21", Aliases:... | Go |
nodeids[fk] = append(nodeids[fk], nodes[i])
}
if len(ids) == 0 {
return nil
}
query.Where(process.IDIn(ids...))
neighbors, err := query.All(ctx)
if err != nil {
return err
}
for _, n := range neighbors {
nodes, ok := nodeids[n.ID]
if !ok {
return fmt.Errorf(`unexpected foreign-key "proc_id" returne... | Go |
local ai = require("ai")
local providers = {
groq = {
opts = {
base_url = "https://api.groq.com/openai/v1",
api_key = vim.fn.getenv("GROQ_API_KEY"),
},
data = require("spec.data.groq"),
},
copilot = {
opts = {
base_url = "https://api.githubcopilot.com",
copilot = true,
... | Lua |
import gzip
default_path = '.'
with gzip.open(default_path + "sumdata/train/train.article.txt.gz", "rb") as gz:
with open(default_path + "sumdata/train/train.article.txt", "wb") as out:
out.write(gz.read())
with gzip.open(default_path + "sumdata/train/train.title.txt.gz", "rb") as gz:
with open(defau... | Python |
ual lists are organized by return type.
/// Proto is a list of DartTypes whose first element is the type of the
/// DartType of the receiver (DartType.VOID if none). The remaining elements are
/// DartTypes of the parameters. The second element is DartType.VOID if there
/// are no parameters.
class DartLib {
final St... | Dart |
elf.a.mul(&f3);
self.b.copy(&f1); self.b.mul(&f3);
self.c.copy(&f2); self.c.mul(&f3);
}
/* self=self^p using Frobenius */
pub fn frob(&mut self,f: &FP2,n:isize) {
let mut f2=FP2::new_copy(f);
let mut f3=FP2::new_copy(f);
f2.sqr();
f3.mul(&f2);
f3.mul_ip(); f3.norm();
for _i in 0..n {
self.a.fr... | Rust |
<input type="checkbox" id="pairs"
{{ if allow_pairs == "true": }}
checked
{{ pass }}
onchange="updateCourse(this,'allow_pairs')">
</div>
<div class="settingsbox">
<label for="pairs">Enable Compare Me Button</label>
... | HTML |
gs::archive::init(&lua)?;
bindings::crypto::init(&lua)?;
bindings::string::init(&lua)?;
bindings::system::init(&lua)?;
bindings::text::init(&lua)?;
bindings::web::init(&lua)?;
bindings::number::init(&lua)?;
bindings::net::init(&lua)?;
lua.context(|lua| -> ... | Rust |
错误的正确的重构方式,最终得到有效的、长期可运行的代码程序,而不是去遵循那句古老的工程谚语:“如果它还可以运行,就不要动它。”
**重构再度升级**
《重构》自 1999 年面世以来,已经经过 21 年了。软件行业里新的编程语言不断涌现,老的编程语言也加快迭代,而函数式编程和面向对象一样成了主流编程语言的标配。不仅软件开发技术发生了很多重要的变化,各种软件开发工具也日益现代化,对开发的更好支持也已成为主流编程语言新的核心竞争力。
而现在,“重构”这一理念已被读者广泛接纳,作为一种经千锤百炼形成的有条不紊的程序整理方法,能够最大限度地减小整理过程中引入错误的概率,成为编程的词汇表中不可或缺的部分,《重构》一书至今依旧被无数程序员... | Markdown |
.0f;
float V_4 = 0.0f;
bool V_5 = false;
TerrainMap_t8D09DC412F632DAB9EA8FB7A11A34EB7464D547C * V_6 = NULL;
bool V_7 = false;
bool V_8 = false;
int32_t G_B4_0 = 0;
{
U3CU3Ec__DisplayClass4_0_t0F8BF12DC466A9414D9AF02F686C301DBAFED002 * L_0 = (U3CU3Ec__DisplayClass4_0_t0F8BF12DC466A9414D9AF02F686C301DBAFED002 *)... | C++ |
mSeconds(1))
{
++this.accumulator;
return false;
}
else
{
this.MillisecondsPerFrame = this.timer.TotalMilliseconds / this.accumulator;
this.FramesPerSecond = this.accumulator;
this.timer = Ti... | C# |
� Aşağıdaki programda bir tam sayının bitlerini yazdıran bir fonksiyon nasıl olabileceği incelenebilir.
```C
#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <limits.h>
#include "nutility.h"
void bitprint(unsigned int x)
{
// 'CHAR_BIT' object-like makrosu 'limits.h' başlık dosyasında bulunan ve siste... | Markdown |
618 L 94.0079,133.217 L 94.2139,133.8 L 94.4686,134.363 L 94.7702,134.903 L 95.1165,135.415 L 95.505,135.896 L 95.9329,136.343 L 96.3971,136.751 L 96.8943,137.119 L 97.4209,137.443 L 97.9731,137.722 L 98.5469,137.952 L 99.1382,138.134 L 99.7427,138.264 L 100.356,138.342 L 100.974,138.369 L 100.974,131.083 Z' style='fil... | HTML |
行业或一个厂服务的要归该行业(如修理纺织机应归纺织行业,这也包括必要的手工业户,下同)。
</p>
<p>
乙、为一个行业或一个厂服务占70%左右的,其余30%左右的服务对象在归口后能兼顾的,可归口,不能兼顾的,要慎重考虑归口。
</p>
<p>
丙、为两个行业服务各占50%左右的,不归口,但要继续保持原来的协作关系。
</p>
<p>
丁、磨制食品仍按原来决定归口商业部门(已组织起来的则暂时不动)。
</p>
<p>
⑦机械工业方面存在突出的问题,修配任务多,目前不能完成任务。解决办法:
</p>
<p>
甲、第一工业局必须尽快地指定一些厂留出一定力量,负担全行... | HTML |
\n fun loop ([], []) = EQUAL\n | loop ([], _) = LESS\n | loop (_, []) = GREATER\n | loop (x :: xs, y :: ys) =\n (case compare (x, y) of\n EQUAL => loop (xs, ys)\n | unequal => unequal)\n in\n loop\n end\n\n end (* structure List *)\n\n',
'sqf':
'/***\n Arma Scripting File\n Ed... | Dart |
].firstMatch("ax{1234}x{4321}x{3412}x{3421}b "), 979);
assertNull(res[476].firstMatch("*** Failers"), 980);
assertToStringEquals("ax{1234}b,x{1234}", res[476].firstMatch("ax{1234}b "), 981);
assertToStringEquals("ax{1234}xyb,x{1234}xy", res[477].firstMatch("ax{1234}xyb "), 982);
assertToStringEquals("ax{1234}x{... | Dart |
v class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.bitand_assign-22" class="method trait-impl has-srclink"><h4 class="code-header">pub fn <a href="../ops/trait.BitAndAssign.html#tymethod.bitand_assign" class="fnname">bitand_assign</a>(&mut self, other: &<a class="st... | HTML |
>\n<path class='atom-1' d='M 51.6 50.0\nQ 51.6 47.9, 52.6 46.8\nQ 53.6 45.6, 55.5 45.6\nQ 57.4 45.6, 58.4 46.8\nQ 59.4 47.9, 59.4 50.0\nQ 59.4 52.0, 58.4 53.2\nQ 57.4 54.4, 55.5 54.4\nQ 53.7 54.4, 52.6 53.2\nQ 51.6 52.0, 51.6 50.0\nM 55.5 53.4\nQ 56.8 53.4, 57.5 52.5\nQ 58.2 51.7, 58.2 50.0\nQ 58.2 48.3, 57.5 47.4\nQ 5... | HTML |
xbe,0xad,0xde,0xce,0x7a]
sbbw $0x7ace,0xdeadbeef(%ebx,%ecx,8)
// CHECK: sbbw $31438, 69
// CHECK: encoding: [0x66,0x81,0x1d,0x45,0x00,0x00,0x00,0xce,0x7a]
sbbw $0x7ace,0x45
// CHECK: sbbw $31438, 32493
// CHECK: encoding: [0x66,0x81,0x1d,0xed,0x7e,0x00,0x00,0xce,0x7a]
sbbw $0x7ace,0x7eed
... | Assembly |
,"風暴之子"},
[64404] = {"小鱆",nil},
[64405] = {"狂熱蟲",nil},
[64406] = {"Bernau Test Dummy 1",nil},
[64407] = {"Bernau Test Dummy 2",nil},
[64408] = {"Bernau Test Dummy 3",nil},
[64409] = {"Bernau Test Dummy 4",nil},
[64410] = {"Bernau Test Dummy 5",nil},
[64411] = {"贊達拉翼手龍",nil},
[64412] = {"贊達拉恐怖騎士",nil},
[64413] = {"扎姆‧巴康... | Lua |
()) {
RplFullValidTask task = fullValidTask.get();
ReplicaFullValidProgressInfo info = new ReplicaFullValidProgressInfo();
info.setDbName(task.getDstLogicalDb());
info.setTbName(task.getDstLogicalTable());
info.setStage(... | Java |
/net", "git"},
"oauth2": {"https://go.googlesource.com/oauth2", "git"},
"playground": {"https://go.googlesource.com/playground", "git"},
"review": {"https://go.googlesource.com/review", "git"},
"sys": {"https://go.googlesource.com/sys", "git"},
"talks": {"https://go.googlesource.com/talks", "gi... | Go |
ONT_ENTER_L23_AFTER_PME_ACK_MASK;
if (def != data)
WREG32_PCIE(smnPCIE_LC_CNTL3, data);
#endif
}
const struct amdgpu_nbio_funcs nbio_v7_4_funcs = {
.get_hdp_flush_req_offset = nbio_v7_4_get_hdp_flush_req_offset,
.get_hdp_flush_done_offset = nbio_v7_4_get_hdp_flush_done_offset,
.get_pcie_index_offset = nbio_v7_4_... | C |
.HaveNameEndingWith("CommandHandler")
.GetResult();
result.Should().BeSuccessful();
}
[Fact]
public void QueryHandlers_ShouldHaveCorrectSuffix()
{
var types = Types
.InAssembly(ApplicationAssembly)
.That()
.ResideInNames... | C# |
tch (error) {
console.log(error);
}
});
module WebDemo {
export class Subscriber {
private session: ISession;
private subscribed: { [type: string]: { (message: IMessage); }[] };
constructor(session: ISession) {
this.session = session;
}
Publish(t... | Typescript |
话整理的,机管局的情况是丁如康汇报的,另外还有两条意见是夏振龙笔记本上的。
</p>
<p>
(5)七六年第十八期,《部分机关干部对批邓,联系实际的一些思想反映》
</p>
<p>
这期主要内容:民兵指挥部的人提出,邓在下面是否有代表人物?防空办有人议论:“邓小平既然是大走资派,是总后台、总代表,下面必然有小的、分的、副的,对周荣鑫、廖志高、胡乔木、张爱萍等人不点名批判,感到想不通。”
</p>
<p>
2、属于小报告性质的有三期
</p>
<p>
(1)七五年第十四期,《调查组等单位少数同志在学习中央23号文件时暴露的一些思想》。(何宇生批:手抄一份绝密报王秀珍)
</p... | HTML |
ublic Iterator getPropertyIterator() { return properties.values().iterator(); }
/**
* Gets the name.
*
* @return the name
*/
public String getName() { return name; }
/**
* Sets the name.
*
* @param name
* the new name
*/
public void setName(final String name) { this.name = name; }
/... | Java |
Path::new("FOO/bar/baz.qux")
);
assert_eq!(
modify_path(Path::new("foo/bar/baz.qux"), "_/BAR/_"),
Path::new("foo/BAR/baz.qux")
);
assert_eq!(
modify_path(Path::new("foo/bar/baz.qux"), "_/_/BAZ"),
Path::new("foo/bar/BAZ")
... | Rust |
*/
@java.lang.Override
public java.util.List<emu.grasscutter.net.proto.EvtBeingHitInfoOuterClass.EvtBeingHitInfo> getEvtBeingHitInfoListList() {
return evtBeingHitInfoList_;
}
/**
* <code>repeated .EvtBeingHitInfo evt_being_hit_info_list = 4;</code>
*/
@java.lang.Override
publi... | Java |
oundingClientRect();
const nextPopperRect = getBoundingClientRect(popper);
if (
prevReferenceRect.x !== nextReferenceRect.x ||
prevReferenceRect.y !== nextReferenceRect.y ||
prevReferenceRect.width !== nextReferenceRect.width ||
prevReferenceRect.height !== nextReferenceRec... | Typescript |
td></tr><tr style="background:lightgreen;"><td></td><td>Critique of Pure Reason</td><td>Kant / ()</td><td>PDF</td><td><b style="color:red;">2014-06-20</b></td><td><a href="http://goo.gl/QP7xFu" target="_blank" rel="nofollow"></a></td></tr><tr style="background:lightgreen;"><td≯̸</td><td>Discourse on the Method</td><td... | Markdown |
MENU")
ComboBox1.add("AR_MENU_HOLD")
ComboBox1.add("AR_VUP")
ComboBox1.add("AR_VUP_HOLD")
ComboBox1.add("AR_VDOWN")
ComboBox1.add("AR_VDOWN_HOLD")
ComboBox1.add("POWER")
ComboBox1.add("MENU")
ComboBox1.add("PLAY")
ComboBox1.add("PAUSE")
ComboBox1.add("PLAYPAUSE")
ComboBox1.add("STOP")
ComboBox1.... | Java |
width:35.5em){[class*=customify-grid-]>:not([class*=_xs-0]),[class*=customify-grid_]>:not([class*=_xs-0]),[class~=customify-grid]>:not([class*=_xs-0]){display:block}[class*=customify-grid-]>[class*=_xs-0],[class*=customify-grid_]>[class*=_xs-0],[class~=customify-grid]>[class*=_xs-0]{display:none}}body{color:#686868;fon... | CSS |
PT29ERCRKSmpNza3MTCxOTm5Pz+/CwuLJyenNTS1Ozu7JSSlOTi5Pz6/FRWVMTGxP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAV/4CVe1AQx5nSM7LS8hvEuE3tFylsw8mtRowdiohAwGgeGxXJQ1CIOAOLIalByi0MAAKg0bJeGAEbgFsCiwUuQkEgiaJLCgDJMgOhDjAF5MeJqCwIugl82YjAHMxSGIlZYKwZMRQMUFAMCkwaOVzMxM0w2hAufMHkGRhMCBisjIQAh+QQJBgAWACwAAAAAEAAQAIQkJiScmpzMzszs6uy0trTc3... | CSS |
import numpy as np
x = np.array([1, 2, 3])
y = np.array([4, 5, 6])
# Dot product
print(np.dot(x, y))
#addition
print(x + y) # [5 7 9]
#substraction
print(x - y) # [-3 -3 -3]
#multiplication
print(x * y) # [4 10 18]
#division
print(x / y) # [0.25 0.4 0.5 ]
#exponent
print(x ** 2)
print("********... | Python |
movaps %xmm1, 4 * SIZE(BO)
movaps %xmm2, 8 * SIZE(BO)
movaps %xmm3, 12 * SIZE(BO)
movaps %xmm4, 16 * SIZE(BO)
movaps %xmm5, 20 * SIZE(BO)
movaps %xmm6, 24 * SIZE(BO)
movaps %xmm7, 28 * SIZE(BO)
prefetcht1 128 * SIZE(BO)
prefetcht0 112 * SIZE(B)
addq $16 * SIZE, B
addq $32 * SIZE, BO
decq %rax
jne .L02
... | Assembly |
OfN = Messages.HandleThirdTab_strMaxBitlengthOfN;
rttc.txtNWarning.setText(MessageFormat.format(strMaxBitlengthOfN, maxBitLimit));
showControl(rttc.txtNWarning);
rttc.cmbN.setBackground(wrong);
return;
}*/
if(nAsNum.compareTo(limitUpAttacks) > 0) {
String pattern2 = Messages.HandleThirdTab_6;
... | Java |
super(
StatsStreamFeesRoute.name,
initialChildren: children,
);
static const String name = 'StatsStreamFeesRoute';
static _i41.PageInfo page = _i41.PageInfo(
name,
builder: (data) {
return const _i33.StatsStreamFeesPage();
},
);
}
/// generated route for
/// [_i34... | Dart |
<!--{/if}-->
<!--{if $_G['setting']['creditstransextra'][5] != -1 && $trade['costcredit'] > 0}-->
<del><!--{if $trade['costprice'] > 0}-->{lang trade_additional} <!--{/if}-->$trade[costcredit] {$_G[setting][extcredits][$_G['setting']['cr... | HTML |
AR_DEFAULT;
fValue[Month] = MONTH_DEFAULT;
fValue[Day] = DAY_DEFAULT;
getTime();
validateDateTime();
normalize();
fHasTime = true;
}
//
// {---DD}[TimeZone]
// 01234
//
void XMLDateTime::parseDay()
{
if (!initParser())
ThrowXMLwithMemMgr1(SchemaDateTimeException
... | C++ |
;
}
}
parameterMetadataList.unshift(parameterMetadata);
metadataList.set(propertyKey, parameterMetadataList);
Reflect.defineMetadata(
METADATA_KEY.controllerParameter,
metadataList,
target.constructor
);
};
}
import { EventEmitter, Injectable, Output, Directive } from "@ang... | Typescript |
file-where-the-default-settings-will-be-applied">[string] The path to the settings JSON file where the default settings will be applied.<a class="headerlink" href="#string-the-path-to-the-settings-json-file-where-the-default-settings-will-be-applied" title="Permanent link">¶</a></h3>
<h2 id="outputs">OUTPUTS<a cla... | HTML |
og.cloudflare.com/#how-to-enable-google-webmaster-tools-via-cloudflare" aria-hidden="true" class="relative sm:absolute sm:-left-5">
<svg width="16" height="16" viewBox="0 0 24 24">
<path fill="currentcolor" d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 0 0-1.42-1.42l-3.88 ... | HTML |
20: '\'nci',
50: '\'nci',
3: '\'üncü',
4: '\'üncü',
100: '\'üncü',
6: '\'ncı',
9: '\'uncu',
10: '\'uncu',
30: '\'uncu',
60: '\'ıncı',
90: '\'ıncı'
};
var tr = moment.defineLocale('tr', {
months : 'Ocak_Şubat_Mart_Nisan_Ma... | JavaScript |
</option>
<option value="7">Impuesto (7%)</option>
<option value="21">Impuesto (21%)</option>
<option value="45">Impuesto (45%)</option>
<option value="60">Impuesto (60%)</option>
<option value="77">Impuesto (77%)</option>
<option value="93">Impuesto (93%)</option>
<option valu... | HTML |
{
background-color: $gray-200;
}
.o-mail-Discuss-content {
.o-mail-Thread {
flex-grow: 1;
}
}
.o-mail-Discuss-inspector {
flex-basis: $o-mail-Discuss-inspector;
flex-shrink: 0;
}
.o-mail-Discuss-selfAvatar {
height: $o-mail-Avatar-sizeSmall;
width: $o-mail-Avatar-sizeSmall;
}
.o-... | CSS |
'sanje') {
return hour + 12;
}
},
meridiem: function (hour, minute, isLower) {
if (hour < 4) {
return 'rati';
} else if (hour < 12) {
return 'sokallim';
} else if (hour < 16) {
return 'donpar... | JavaScript |
我们默认使用了a到f这六个字母来分别表示10到15这六个数。也就是说,十进制数10对应的十六进制数是a, 十进制数26对应的十六进制数是1a. 在大部分计算机术语中,我们通常用`0x`开头表示十六进制,用`0`开头表示八进制,而没有前缀来表示十进制。因此,比如说以下的汇编代码(并不需要理解实际含义)
```armasm
sub sp, sp, #0x1a
```
与
```armasm
sub sp, sp, #26
```
的效果相同。
十进制数与十六进制数的转化可以在搜索引擎上找到,这里不再赘述。而八进制,十六进制数与二进制数的转换则十分简单。一个八进制数的一位代表一个二进制数的三位,比如说八进制数的一位`... | Markdown |
using Alias;
using CommandLine;
public static class CommandRunner
{
public static IEnumerable<Error> RunCommand(Invoke invoke, params string[] args)
{
var arguments = Parser.Default.ParseArguments<Options>(args);
if (arguments is NotParsed<Options> errors)
{
return errors.... | C# |
currentSubNodes.clear()
}
"StringList" -> {
val subNodeName = parser.getAttributeValue(null, "name")
val subNodeArgs = parser.getAttributeValue(null, "args") ?: ""
... | Kotlin |
oincrement=False, nullable=False))
else:
op.add_column('attendee', sa.Column('requested_any_dept', sa.BOOLEAN(), server_default=sa.text('false'), autoincrement=False, nullable=False))
connection = op.get_bind()
requests_for_any = connection.execute(dept_membership_request_table.select().where(
... | Python |
#include <linux/errno.h>
#include <linux/linkage.h>
#include <asm/asm-offsets.h>
#include <asm/assembler.h>
.text
/*
* Implementation of MPIDR_EL1 hash algorithm through shifting
* and OR'ing.
*
* @dst: register containing hash result
* @rs0: register containing affinity level 0 bit shift
* @rs1: register conta... | Assembly |
t inode *ecryptfs_inode = mapping->host;
struct ecryptfs_crypt_stat *crypt_stat =
&ecryptfs_inode_to_private(ecryptfs_inode)->crypt_stat;
int rc;
ecryptfs_printk(KERN_DEBUG, "Calling fill_zeros_to_end_of_page"
"(page w/ index = [0x%.16lx], to = [%d])\n", index, to);
if (!(crypt_stat->flags & ECRYPTFS_ENCRYPTE... | C |
#pragma once
/*
* Copyright 2016 Nu-book Inc.
* Copyright 2016 ZXing authors
*
* 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 req... | C |
))
{
NS_ASSERTION(mEvent->mClass == ePointerEventClass,
"event type mismatch ePointerEventClass");
WidgetMouseEvent* mouseEvent = mEvent->AsMouseEvent();
if (aEvent) {
mEventIsInternal = false;
} else {
mEventIsInternal = true;
mEvent->mTime = PR_Now();
mEvent->mRefPoint = Layout... | C++ |
dart:ffi';
import 'package:ffi/ffi.dart';
import 'package:flutter/material.dart';
import 'package:flutter_hbb/plugin/ui_manager.dart';
import 'package:flutter_hbb/plugin/utils/dialogs.dart';
abstract class NativeHandler {
bool onEvent(Map<String, dynamic> evt);
}
typedef OnSelectPeersCallback = Bool Function(Int r... | Dart |
ctx context.Context) bool {
node, ready := getLocalTestNode(ctx, f)
return ready && CountSampleDeviceCapacity(node) <= 0
}, 5*time.Minute, framework.Poll).Should(gomega.BeTrueBecause("expected devices to be unavailable on local node"))
ginkgo.By("devices now unavailable on the local node")
})
// sim... | Go |
RT
bne t0, t1, 3f
call main
tail exit
.globl abort
abort:
li a0, -1
.globl exit
exit:
beqz a0, _pass
mv t3, a0
_fail:
lui t0, 0x4
li t1, 0x3333
slli a0, a0, 0x10
add a0, a0, t1
sw a0, 0(t0) # 4000
1:
j 1b // loop (0x8000128
_pass:
fence
lui t0, 0x4
li t1, 0x5555
sw t1, 0(t0) // 400... | Assembly |
select,
.pico summary,
.pico textarea,
.pico [tabindex] {
-ms-touch-action: manipulation;
}
.pico [dir=rtl] {
direction: rtl;
}
/**
* Reduce Motion Features
*/
@media (prefers-reduced-motion: reduce) {
.pico *:not([aria-busy=true]),
.pico :not([aria-busy=true])::before,
.pico :not([aria-busy=true])::afte... | CSS |
n100()
{
var laptopBattery = new LaptopBattery();
laptopBattery.Charge(50);
var exceptedPercentage = 100;
Assert.AreEqual(exceptedPercentage, laptopBattery.Percentage);
}
[TestMethod]
public void TestOnNegativeInputValueShouldReturnZero()
... | C# |
取一个整型变量
public bool ProtobufReadVarint<_Ty>(_Ty value)
{
return false;
}
// 功能:读取一个PB对象
public bool ProtobufRead<_Ty>(_Ty value, int nFiledIndex, PB_ZipType keyZipType)
{
return false;
}
// 功能:写入一个PB对象
public void ProtobufWrite<_Ty>(_Ty value, int nFieldIndex, PB_Zi... | C# |
e.key.keyLabel;
if (label == LogicalKeyboardKey.space.keyLabel) {
label = 'Space';
}
if (e.shift) {
label = 'Shift + $label';
}
if (e.control) {
label = 'Ctrl + $label';... | Dart |
drawPath(path2, Color.Red)
path2.translate(Offset(40.dp.toPx(), 40.dp.toPx()))
drawPath(path2, Color.Green)
}
}
// 变换操作
Text("变换操作", fontSize = 16.sp, fontWeight = FontWeight.Bold)
Row(horizontalArrangement = Arrangement.spacedBy(5.dp)) {
CanvasExample("rot... | Kotlin |
config = LdapAuthProviderModule.parse_config(config)
else:
config = LdapAuthProviderModule.parse_config(
{
"enabled": True,
"uri": "ldap://localhost:%d" % server.listener.getHost().port,
"base": "ou=people,dc=example,dc=org",
"a... | Python |
ment.Call("createElement", tag)
document.Get("body").Call("appendChild", elem)
cw.Elements[ptr] = elem
return elem
}
// SetElementGeom sets the geometry of the given element.
func (cw *ComposerWeb) SetElementGeom(elem js.Value, pos, size image.Point) {
if !elem.Get("width").IsUndefined() {
if elem.Get("width").I... | Go |
一次,底层就会一直保持其监听事件,直到上层逻辑对其监听的事件做出修改
# 第3章 线程、进程以及Actor模型
## 3.1 游戏架构概述
1. 无服务端游戏除了单机游戏之外,还有一种无服务端游戏架构——P2P架构
2. 单进程CS架构
3. 多进程CS架构
## 3.2 框架瓶颈
1. 滚服游戏:可以认为是一种平行空间的游戏方式,因为一 个游戏世界容纳不了太多人,过一段时间就新开一个服务器,每个服务器的世 界都一样。因为不断地增加新的服务器,用“滚服”来形容非常贴切。这类游戏技术的实现较为简单,只需要多开服务端,用简单的单进程CS架 构就可以实现。但它有一个缺点,玩家承载是有限的;合服是滚服游戏一定要考虑的问题,一开... | Markdown |
adratic>,
pub bboxes: Vec<Rect>,
pub lut: Vec<(usize, usize)>,
pub face: &'a Face<'a>,
}
#[derive(Debug)]
pub struct Outline {
pub ctrl_pts: Vec<(f32, f32)>,
pub bbox: Rect,
}
impl<'a> Atlas<'a> {
/// Create a new font atlas from a given font face.
/// This is a relatively expensive operat... | Rust |
, pairingCode: String? = null): ChannelRelayed? {
val requestId = generateRequestId()
val deferred = CompletableDeferred<ChannelRelayed>()
val channel = ChannelRelayed(this, _localKeyPair, publicKey.base64ToByteArray().toBase64(), true)
_onNewChannel?.invoke(this, channel)
_pendi... | Kotlin |
_misprint_mod and card.ability.set == "Joker" then
if not override then
override = {}
end
override.min = override.min or G.GAME.modifiers.cry_misprint_min or 1
override.max = override.max or G.GAME.modifiers.cry_misprint_max or 1
override.min = override.min * G.GAME.modifiers.cry_jkr_misprint_mod
... | Lua |
)
.round()
.toString();
}
break;
case 'base64encode':
if (parameters.isNotEmpty) {
result = _base64Encode(parameters[0]);
}
break;
case 'base64decode':
if (parameters.isNotEmpty) {
result ... | Dart |
dcode
0.07 pclntab=284969 bytes, funcdata total 49800 bytes
0.07 dodata
0.08 symsize = 0
0.08 symsize = 0
0.08 reloc
0.09 reloc
0.09 asmb
0.09 codeblk
0.09 datblk
0.09 dwarf
0.09 sym
0.09 headr
host link: clang -m64 -gdwarf-2 -Wl,-no_pie,-pagezero_size,4000000 -o hello -Qunused-arguments /var/folders/v8/xdj... | HTML |
t, CLtL does not even say whether punctuation characters are<P>
part of the string. eg, is "foo" or "/foo" the directory component for<P>
a unix <A REL=DEFINITION HREF="../Body/a_pn.htm#pathname"><B>pathname</B></A> "/foo/bar.lisp". Similarly, is "[FOO]" or "FOO"... | HTML |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.