content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
ia.org/wikipedia/en/a/a1/The_Two_Towers_cover.gif',
quotes: [
{
id: '1',
categories: [categoriesMock[4], categoriesMock[5]],
quote: 'There is some good in this world, and it’s worth fighting for'
},
{
id: '2',
categories: [categoriesMock[5], categoriesMock[6]],
quote: 'War must be, wh... | Typescript |
result = append(result, &dtos.UserLookupDTO{
UserID: u.UserId,
Login: u.Login,
AvatarURL: u.AvatarUrl,
})
}
return response.JSON(200, result)
}
func isOrgAdminFolderAdminOrTeamAdmin(c *models.ReqContext) (bool, error) {
if c.OrgRole == models.ROLE_ADMIN {
return true, nil
}
hasAdminPermissio... | Go |
(b: Number) = div(Vec4(), this, b.f, b.f, b.f, b.f)
operator fun div(b: Vec4t<out Number>) = div(Vec4(), this, b._x.f, b._y.f, b._z.f, b._w.f)
fun div(bX: Number, bY: Number, bZ: Number, bW: Number, res: Vec4 = Vec4()) = div(res, this, bX.f, bY.f, bZ.f, bW.f)
fun div(b: Number, res: Vec4 = Vec4()) = div(re... | Kotlin |
Run the following command to load these assets. It may take a few minutes.
```bash
./filebeat setup -e -E 'cloud.id=YOUR_DEPLOYMENT_CLOUD_ID' -E 'cloud.auth=elastic:YOUR_SUPER_SECRET_PASS' <1>
```
1. Substitute your Cloud ID and an administrator’s `username:password` in this command. To find your Cloud ID, click on ... | Markdown |
f())
.filter(|&x| !x.is_empty())
.map(|x| x.to_string())
.collect();
println!("bingo {:#?}", zz);
*/
self.board = line
.split_terminator([',', ' ', '\r', '\n'].as_ref())
.filter(|&x| !x.is_empty())
.map(|x| x.to_string().pa... | Rust |
RT_SMOB (Grob, smob, 1);
SCM ret = scm_c_make_vector (3, SCM_EOL);
extract_grob_set (me, "elements", elts);
for (int dir = 0; dir <= 2; dir++)
{
bool visible = false;
for (vsize i = 0; i < elts.size (); i++)
{
SCM vis = get_property (elts[i], "break-visibility");
if (sc... | C++ |
PUBLIC);
}
// fall through
case 99: break;
case 49:
{ return j0.scan(parser.RETURN);
}
// fall through
case 100: break;
case 50:
{ return j0.scan(parser.STATIC);
}
// fall through
... | Java |
Ptr())[index] = res;
}
break;
case GaussianSplatAsset.SHFormat.Norm6:
{
GaussianSplatAsset.SHTableItemNorm6 res;
res.sh1 = EncodeFloat3ToNorm565(splat.sh1);
res.sh2... | C# |
bili.com/video/BV1XK411c7i6/) | [Find Center of Star Graph](https://helloacm.com/teaching-kids-programming-find-center-of-star-graph/) | 2021-03-27 |
| Introduction to Graph Data Structure | 数据结构之图的简介 | [Youtube](https://youtu.be/HZUdZ-KObyI) - [B站](https://www.bilibili.com/video/BV1z54y1x7FA/) | [Introduction to Graph... | Markdown |
过这些例子,开发者可以更好地理解和熟悉`io`包的使用方式,并可以用于测试和验证自己的代码。
关于`EOF`这个变量:
`EOF`是一个常量,它用来表示读取操作结束的错误模拟。在`io`包中,当读取操作到达文件末尾时,会返回一个`io.EOF`错误。该错误用来告知调用者已经无法再从输入源继续读取数据。在`io.go`文件中,`EOF`被定义为`errors`包中的一个变量,用于模拟标准库中的`io.EOF`。
# File: tools/go/types/typeutil/ui.go
在Golang的Tools项目中,tools/go/types/typeutil/ui.go文件的作用是提供用于将Go类型与字符串表示形式之间转... | Markdown |
.fa-arrow-down-up-lock {
--fa: "\e4b0";
}
.fa-arrow-right-to-city {
--fa: "\e4b3";
}
.fa-arrow-up-from-ground-water {
--fa: "\e4b5";
}
.fa-arrow-up-from-water-pump {
--fa: "\e4b6";
}
.fa-arrow-up-right-dots {
--fa: "\e4b7";
}
.fa-arrows-down-to-line {
--fa: "\e4b8";
}
.fa-arrows-down-to-people {
-... | CSS |
values.toList()[1] as List;
deleteCommandsOrigin[lastCommandValues.length] = operationInputIndex++;
break;
case keyUpdate:
if (updateCommand.isEmpty) {
updateCommand = command;
updateCommandsOrigin[0] = operationInputIndex++;
return;
}
lastComm... | Dart |
12 // find instances, volumes, auto-scaling groups, etc...
13 });
14 }
1
2
3
4
5
6
7
8
9
10
11
12
13
14
2.9. Distribution summaries(分布汇总)
distribution summary用于跟踪分布式的事件。它在结构上类似于计时器,但是记录的值不代表时间单位。例如,记录http服务器上的请求的响应大小。
1 DistributionSummary summary = registry.summary("response.size");
1
2.10. Histograms an... | Markdown |
, 'double harmonic'),
byzantine([0, 1, 4, 5, 7, 8, 11]),
chahargah([0, 1, 4, 5, 7, 8, 11]),
marva([0, 1, 4, 6, 7, 9, 11]),
enigmatic([0, 1, 4, 6, 8, 10, 11]),
hungarianMinor([0, 2, 3, 6, 7, 8, 11], 'hungarian minor'),
hungarianMajor([0, 3, 4, 6, 7, 9, 10], 'hungarian major'),
algerian1([0, 2, 3, 6, 7, 8, ... | Dart |
y}
helperText={errAddr && !!errAddr.dirty ? errAddr.errMsg : ''}
/>
{spinner ? <InputLoading /> : null}
<TextField
disabled={spinner}
type='text'
fullWidth
required
label={t('PROP_WITHDRAWAMOUNT')}
name='amountToWithdraw'
value={amountToWithdraw || ''}
... | JavaScript |
/* Copyright Joyent, Inc. and other Node contributors. All rights reserved.
*
* 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 limitation the
* righ... | C |
/ogen-go/ogen"}
}
}
{
{
s.HTMLURL = url.URL{Scheme: "https", Host: "github.com", Path: "/ogen-go/ogen"}
}
}
{
{
s.NodeID = "string"
}
}
{
{
s.Number = int(0)
}
}
{
{
s.UpdatedAt = time.Now()
}
}
{
{
s.URL = url.URL{Scheme: "https", Host: "github.com", Path: "/ogen-go/ogen"}
... | Go |
00"],
["2020-02-20T00:00:00+1300", "2020-02-20T00:00:02+1300", "2020-02-20T00:00:01+1300"],
["2020-02-20T10:00:00+1300", "2021-11-05T01:00:00+1300", "2020-09-01T09:00:00+1300"],
])(
"expect timeIsWithinRange to return true for arguments %s, %s, %s",
(start, end, time) => {
expect(activityController.timeIsWi... | Typescript |
###############################################################
#
# Lab: Basic server-side template injection (code context)
#
# Hack Steps:
# 1. Fetch the login page
# 2. Extract the csrf token and session cookie to login
# 3. Login as wiener
# 4. Fetch wiener's profile
# 5. Set the preferred ... | Python |
[i].outChannels == (SInt16)inNumberChannels)
return true;
}
return false;
}
//_____________________________________________________________________________
//
bool AUPannerBase::ChannelLayoutTagIsSupported( AudioUnitScope inScope,
AudioUnitElement inElement,
AudioChannelLayoutTag ... | C++ |
create a unique name, spawn.
let name_base = screeps::game::time();
let mut additional = 0;
// set the role of the creep on spawn
let mem = memory::MemoryReference::new();
mem.set("role", BasicBuilder::role());
let opts = SpawnOptions::new().memory(mem);
// loo... | Rust |
(
"encoding/json"
)
// ETFsHoldings struct for ETFsHoldings
type ETFsHoldings struct {
// ETF symbol.
Symbol *string `json:"symbol,omitempty"`
// Holdings update date.
AtDate *string `json:"atDate,omitempty"`
// Number of holdings.
NumberOfHoldings *int64 `json:"numberOfHoldings,omitempty"`
// Array of holdin... | Go |
_assert!(state == REGISTERING || state == FULL || state == WAKING);
}
}
}
}
impl Default for AtomicWaker {
fn default() -> Self {
Self {
state: AtomicU8::new(WAITING),
waker: UnsafeCell::new(dummy_waker()),
}
}
}
const NOOP_WAKER_VTABLE: RawWaker... | Rust |
t);
rgb[4 * i + 2] = PREMULTIPLY(rgb[4 * i + 2], mult);
}
}
rgba += stride;
}
}
#undef MULTIPLIER
#undef PREMULTIPLY
// rgbA4444
#define MULTIPLIER(a) ((a) * 0x1111) // 0x1111 ~= (1 << 16) / 15
static WEBP_INLINE uint8_t dither_hi(uint8_t x) {
return (x & 0xf0) | (x >> 4);
}
static WEB... | C |
using System;
using System.Buffers;
namespace NetFabric.Hyperlinq
{
public static partial class ArrayExtensions
{
[GeneratorIgnore]
static LargeArrayBuilder<TSource> ToArrayBuilder<TSource, TPredicate>(ReadOnlySpan<TSource> source, ArrayPool<TSource> arrayPool, bool clearOnDispose, TPredicate... | C# |
delete(outputPath, true);
} else {
LOG.error("Output file '" + outputPath
+ "' exists and overwrite flag is not set");
return false;
}
}
}
return true;
}
public static boolean isWildcard(Path path) {
return path.toString().indexOf('*') != -1
|| path.toString().indexOf('?') != -1... | Java |
eys)
require2.Equal(t, expectedValues, actualValues)
require2.Equal(t, expectedChildren, actualChildren)
})
}
for i := 0; i < maxKVs+1; i++ {
check(byte(i*2+1), byte(i*4+1))
}
}
func TestRange(t *testing.T) {
tree := newBtree[uint16, int](compare[uint16])
for i := 0; i < 128; i++ {
tree.Put(uint16(i... | Go |
() {
if (isAll) {
return '<all>';
} else if (_constraints.isEmpty) {
return '<none>';
} else {
return '<${_constraints.map((c) => c.cls).join(',')}>';
}
}
}
class StrongModeConstraint {
final ClassEntity cls;
final ClassRelation relation;
factory StrongModeConstraint(CommonEl... | Dart |
# 如果得分是浮点数,保留4位小数
if isinstance(score, float):
score_str = f"{score:.4f}"
else:
score_str = str(score)
rows.append(f"| {metric} | {score_str} |")
table = "\n".join([header, separator] + rows)
return table
def log(sel... | Python |
import c302
import sys
import importlib
def setup(
parameter_set,
generate=False,
duration=2000,
dt=0.05,
target_directory="examples",
data_reader=c302.DEFAULT_DATA_READER,
param_overrides={},
verbose=True,
):
ParameterisedModel = getattr(
importlib.import_module("c302.par... | Python |
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.
*/
package dev.teogor.ceres.ui.spectrum.palettes
import androidx.compose.ui.graphics.Color
import d... | Kotlin |
), noteWidth.value.toPx(),
tmpArr[0], if (isInRange) obj[0] else null, onRangeChangeValue, onTimeChange
)
if (drag != null) {
!drag(drag.id) {
calcDrag(
it.position.x + scrollState.value - offsetX... | Kotlin |
up_queues[group_id]
break
except queue.Empty:
# 检查是否超时
current_time = time.time()
if current_time - last_activity_time > timeout_seconds:
logger.warning(f"事件组[{group_id}]超过{timeout_seconds}秒无活动,自动... | Python |
})
})
.collect::<Result<ArrayVec<_, 10>, _>>()?
.into_inner()
.map(|data| State { energy: data })
.map_err(|_| anyhow::anyhow!("incorrect number of lines"))
}
}
impl Debug for State {
fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
... | Rust |
_CORE_ASSET_I_VERSION: VersionT = VersionT {
major: 1u32,
minor: 0u32,
patch: 0u32,
};
pub const TM_ASSET_DATABASE_API_VERSION: VersionT = VersionT {
major: 1u32,
minor: 0u32,
patch: 0u32,
};
pub const TM_TASK_SYSTEM_API_VERSION: VersionT = VersionT {
major: 1u32,
minor: 0u32,
patch:... | Rust |
lir. Gönderilemiyor.
- *Ücretli(Paid):* Öğe eklenemez veya kaldırılamaz. Sevk edilebilir.
- *Gönderildi(Shipped):* Bitti. Daha fazla değişiklik kabul edilmedi.
Bu durumlar önemlidir ve işlem yapmadan önce beklenen durumda olduğunuzu ve bulunduğunuz yerden sadece yasal bir duruma geçtiğinizi kontrol etmeniz gerekir. Kı... | Markdown |
sion & Strategic plans
- Financial reports & payments
- Communications & emials
'''
data_agent='''
- Self Performance
- Project
- SOP & learnings
... | Python |
recursiveCalls")
val nMinus1 = inner(n - 1)
counters.increment("additions")
delay(10)
return nMinus2 + nMinus1
}
return@timeSuspending inner(n)
}
suspend fun fiboFast(n: Int): Int = fiboFastStats.timeSuspending { counters ->
var nMinus2 = 0
var nMinus1 ... | Kotlin |
class TaskFamily:
@staticmethod
def get_tasks() -> dict[str, dict]:
return {
"1": {"topic": "time"},
"2": {"topic": "love"}
}
@staticmethod
def get_instructions(t: dict) -> str:
return f"""Your task is to generate two creative metaphors and two creative s... | Python |
1,
3
},
{
4,
5,
0,
0
}
},
ChallengeHeroDungeonFreshTimer = 305,
ChallengeHeroDungeonMailId = 1403,
DungeonOutTime = 600,
CameraFocusRecycleView = {1, 10},
CameraFocusMixologyView = {1, 10},
VehicleCollideCheckHeight = 1,
RotationStickGroundData = {
0.65,
... | Lua |
Y_tile的形状:(n_train,n_train),每一行都包含着相同的训练输出
Y_tile = np.tile(y_train, (n_train, 1))
# keys的形状:('n_train','n_train'-1)
keys = d2l.reshape(X_tile[(1 - d2l.eye(n_train)).astype('bool')],
(n_train, -1))
# values的形状:('n_train','n_train'-1)
values = d2l.reshape(Y_tile[(1 - d2l.eye(n_train)).astype('bool')]... | Markdown |
union and set upper bounds of ab.left with rel.right
if !found
union the upper bounds of rel.left with rel.right
for each lb in LowerBounds of rel.left
add all SubC(lb, rel.right) to Constriants
}
'Case3
If rel is (left: ConcreteType, right: TypeVariable) and
LowerBound of rel.right do... | Typescript |
#include "textflag.h"
TEXT ·lowPassDownsampleComplexFilterAsm(SB), NOSPLIT, $0
MOVW fi+0(FP), R3
MOVW 0(R3), R8 // fi.Downsample
MOVW 12(R3), R7 // fi.prevIndex
MOVW samples_len+8(FP), R2
MOVW samples_data+4(FP), R5 // input
MOVW R5, R6 // output
MOVF 4(R3), F0 ... | Assembly |
at, %hi(g_Camera + 0x30)
/* 358E450 8007CE88 006E22AC */ sw $v0, %lo(g_Camera + 0x30)($at)
.Llevel_40_8007CE8C:
/* 358E454 8007CE8C 3800B027 */ addiu $s0, $sp, 0x38
/* 358E458 8007CE90 21200002 */ addu $a0, $s0, $zero
/* 358E45C 8007CE94 0780053C */ lui $a1, %hi(D_800777E8 + 0x68)
/* 358E4... | Assembly |
r15
movq %rsp,%r10
leaq -63(%rdx),%rcx
andq $-64,%rsp
subq %rsp,%rcx
negq %rcx
andq $0x3c0,%rcx
subq %rcx,%rsp
subq $32,%rsp
movq %rsi,16(%rsp)
movq %r10,24(%rsp)
L$enc_prologue:
movq %rdx,%r15
movl 240(%r15),%r13d
movl 0(%rdi),%eax
movl 4(%rdi),%ebx
movl 8(%rdi),%ecx
movl 12(%rdi),%edx
shll $4,%... | Assembly |
we just encountered a new run; wrap up last run
if currentLevel >= 0 { // only wrap it up if there was a run
allRuns = append(allRuns, run)
run = nil
}
// Start new run
currentLevel = p.resultLevels[i]
}
run = append(run, i)
}
}
// Wrap up the final run, if any
if len(run) > 0 {
a... | Go |
},
cx = { 1, 0.39, 0.38, 0.236, 1.31 },
display_name = "AN-M57",
display_name_short = "M57",
mass = 123.5,
model = "AN-M57",
name = "AN_M57",
server = {
Ag = -1.23,
Cx = 0.00035,
Reflection = 0.025,
SAD = {
vane_rev_threshold = { 160, 160 }
},
VyHold = -100,
_file = "./CoreMods/WWII Units/Weapon... | Lua |
ard4 c4Index = 0; c4Index < 3000; c4Index++)
mbufTest.CopyIn(ac1Data, 7, c4Index * 7);
mdigTest.StartNew();
mdigTest.DigestBuf(mbufTest);
TMD5Hash mhashTest2;
mdigTest.Complete(mhashTest2);
if (mhashTest1 != mhashTest2)
{
strmOut << TFWCurLn << L"... | C++ |
fiels as string so Validator can be used
let { name, email, password, password2 } = data;
name = isEmpty(name) ? '' : name + '';
email = isEmpty(email) ? '' : email + '';
password = isEmpty(password) ? '' : password + '';
password2 = isEmpty(password2) ? '' : password2 + '';
// Check fields
if (Validato... | Typescript |
(matrix);
mPSStream.println("[" + (float)matrix[0]
+ " " + (float)matrix[1]
+ " " + (float)matrix[2]
+ " " + (float)matrix[3]
+ " " + (float)matrix[4]
... | Java |
ityCalculationHashesEmpty>(),
);
});
test('should handle mixed phone/email contacts', () async {
when(
mockRepository.register(
tokenInformation: testToken,
),
).thenAnswer(
(_) async => const FederationRegisterResponse(token: 'valid_token'),
);
w... | Dart |
i3 !! 42
or %i4,%g4,%g4
add %l7,%l2,%l2 !!
xor %g4,%o5,%o5
srlx %o5,31,%g4
add %o5,%o5,%o5
and %g4,%g2,%g4
andn %o5,%g2,%o5
srl %l3,27,%i4 !!
or %g4,%o5,%o5
srlx %o5,32,%g4
add %i3,%l2,%l2 !!
and %l0,%l4,%i3
add %i4,%l2,%l2
sll %l4,30,%i5
or %l0,%l4,%i4
srl %l4,2,%l4
and %l1,%i4,%i4
add %g4,%l2,%l... | Assembly |
eletedWithPandoraWait(ctx, snapc,
*volumeSnapshot.Status.BoundVolumeSnapshotContentName, pandoraSyncWaitTime)
gomega.Expect(err).NotTo(gomega.HaveOccurred())
}
}()
ginkgo.By("Restore volume snapshot and create pod using it")
pvclaim2, persistentVolumes2, pod2 := verifyVolumeRestoreOperation(ctx, clie... | Go |
#8,D1
movea.l ft_voladd,A2 ; Get start of volumetable
movea.l ft_voladd,A3
adda.l D0,A2 ; Calculate adress of volumetable
adda.l D1,A3
move.w ft_sampoint_b,D5 ; Get realpart of samcounter
move.w ft_sampoin... | Assembly |
override fun clear() {
table.fill(null)
size = 0
modCount++
// Clear all links to help GC
val header = header
var e = header.next
while (e !== header) {
val next = e!!.next
e.prev = null
e.next = null
e = next
}
header.prev = header
header.next = header.p... | Kotlin |
raulic reserve leak",
mm = 0,
mmint = 1,
prob = 100
}, {
enable = false,
hh = 0,
id = "Tail Rotor",
label = "Tail rotor gearbox",
mm = 0,
mmint = 1,
prob = 100
}, {
enable = false,
hh = 0,
id = "Engine Oil",
label = "Engine oil tank leak",
mm = 0,
mmint = 1,
prob =... | Lua |
x(&self, _t0: f64, _t1: f64) -> Option<BoundingBox> {
Some(BoundingBox::AabbF(AabbF {
minimum: self.pmin,
maximum: self.pmax,
}))
}
fn hitter_fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
self.inner_fmt(f)
}
}
impl std::fmt::Display for C... | Rust |
th = file_elem.get("path", None)
if path:
file_elem.set("path", os.path.normpath(os.path.join(target_dir, os.path.split(path)[1])))
# Store repository info in the table tag set for trace-ability.
self.generate_repository_info_elem_from_reposito... | Python |
ng/en_US.json", true);
customCrafting.saveResource("lang/de_DE.json", true);
customCrafting.saveResource("lang/zh_CN.json", true);
customCrafting.saveResource("lang/ru_RU.json", true);
//The default language to use and to which it falls back if a key is not found in the active language
... | Java |
erwise we have the danger of
# malicious clients requesting the same range again and again
last_range = None
for range_val in old_ranges:
# ensure ascending order
if last_range is not None and range_val.start <= last_range.stop:
range_val = Range(min(last_... | Python |
inished to edit a string
*/
void colorEditingFinished(const QColor& color);
void showAlphaChanged(bool showAlpha);
void previewColorChanged(bool previewColor);
protected:
void dragEnterEvent(QDragEnterEvent *event) Q_DECL_OVERRIDE;
void dropEvent(QDropEvent * event) Q_DECL_OVERRIDE;
void ... | C++ |
after some time", async function() {
await sleep(manager.options.lockStale + 1);
// expected to succeeded because lock is considered stale
const pluginSourcePath = path.join(__dirname, "my-basic-plugin");
await manager.installFromPath(pluginSourcePath);
});
});
});
describe("sandbox", function... | Typescript |
await this.authService.blacklist(token?.slice(7));
return responseMessage['7'];
}
}import { Team } from '../team';
import { Match } from '../match';
export class UserTournament {
userTournamentId: string;
userTournamentTeam: Team;
userTournamentMatchesWins: number;
userTournamentMatchesLos... | Typescript |
oat, scale)
AlembicProcedural();
~AlembicProcedural();
/* Populates the Cycles scene with Nodes for every contained AlembicObject on the first
* invocation, and updates the data on subsequent invocations if the frame changed. */
void generate(Scene *scene, Progress &progress);
/* Tag for an update only ... | C |
th:after,
.fad.fa-tooth:after {
content: "\f5c9\f5c9"
}
.fa-duotone.fa-toothbrush:after,
.fad.fa-toothbrush:after {
content: "\f635\f635"
}
.fa-duotone.fa-torii-gate:after,
.fad.fa-torii-gate:after {
content: "\f6a1\f6a1"
}
.fa-duotone.fa-tornado:after,
.fad.fa-tornado:after {
content: "\f76f\f76f"
}... | CSS |
IsPlaying() then
flare2:SetPoint("LEFT", self.Bar, "LEFT", offset, 0);
flare2.FlareAnim:Play();
end
end
local barFlare = self.FullBarFlare1;
if barFlare.FlareAnim:IsPlaying() then
barFlare = self.FullBarFlare2;
if barFlare.FlareAnim:IsPlaying() then
return;
end
end
barFlare.FlareAnim:Play();
end... | Lua |
row's columns.
Returns:
list: A list of tuples containing the standard 7 DB API fields:
https://peps.python.org/pep-0249/#description
"""
def strip_prefix(s: str):
if s.startswith("DB_TYPE_"):
return s[8:]
else:
... | Python |
out_proxy = mode.tracer.create_proxy(
"call_function", graphsafe_run_with_rng_state, proxy_args, proxy_kwargs
)
return track_tensor_tree(out, out_proxy, constant=None, tracer=mode.tracer)
@graphsafe_run_with_rng_state.py_functionalize_impl
def impl_functional(ctx, op, *args, rng_st... | Python |
BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LI... | Java |
ge/png,%89PNG%0D%0A%1A%0A%00%00%00%0DIHDR%00%00%00%03%00%00%00%06%08%06%00%00%00%06%E5%24%0C%00%00%009IDATx%DA5%CA%C1%09%000%08%03%C0%AC*(%3E%04%C1%0D%BA%B1%23%A4Uh%E0%20%81%C0%CC%F8%82%81%AA%A2%AArGfr%88%08%11%11%1C%DD%7D%E0%EE%5B%F6%F6%CB%B8%05Q%2F%E9tai%D9%00%00%00%00IEND%AEB%60%82");
}
.ace_fold-widget:hover {
... | CSS |
21904290}, {-0.36652973, 0.69426954}, {-0.33133319, 0.08845083}, {-0.50980401, -0.95925194}, {0.10240951, -0.85816729}, {-0.41835687, 0.58436954}, {-0.69164079, 0.00285917}, {0.89845592, -0.65351576}, {0.64310026, -0.36043200}, {0.83871394, -0.41302100}, {0.82096338, -0.93648010}, {0.60771257, 0.81430751}, {0.37919036,... | Lua |
e org.bimserver.models.ifc4.Ifc4Package#getIfcDimensionalExponents_ThermodynamicTemperatureExponent()
* @model
* @generated
*/
long getThermodynamicTemperatureExponent();
/**
* Sets the value of the '{@link org.bimserver.models.ifc4.IfcDimensionalExponents#getThermodynamicTemperatureExponent <em>Thermodynami... | Java |
rom the given <see cref="DNSLookupRecordInfo" /> collection.
/// </summary>
/// <param name="collection">Objects as <see cref="IReadOnlyList{DNSLookupRecordInfo}" /> to export.</param>
/// <param name="filePath">Path to the export file.</param>
private static void CreateXml(IEnumerable<D... | C# |
mg1.qunliao.info/fastdfs7/M00/8F/42/180x135/crop/-/rBUBsmgqEjyAAmLeABfH1z0Z1Sw336.gif | /fastdfs7/M00/8F/42/rBUBsmgqEjyAAmLeABfH1z0Z1Sw336.gif | dongqiudi:///news/5104948 | | 53877629 |
| 5104947 | 镜头给到场边,勒夫看台观战 | 15 | True | https://img1.qunliao.info/fastdfs7/M00/93/66/180x135/crop/-/rBUC6GgqEhGAeL4DAB9zLhhG-nA619.gi... | Markdown |
=> unreachable!(),
};
t.inner_mut().content = Content::App(f.clone(), a.clone());
*f = IDENTITY.clone();
*a = Arguments::positionals(&[t.clone().into()]);
return true;
}
}
unsafe impl Send for Thunk {}
unsafe impl Sync for Thunk {}
#[derive(Debug, Eq, PartialEq)]
#[repr... | Rust |
if some != nil {
f0 = 1
v1, v2, v3 := lower_Scheme(*some)
f1 = (uint32)(v1)
f2 = (*uint8)(v2)
f3 = (uint32)(v3)
}
return
}
func lower_OptionDuration(v cm.Option[Duration]) (f0 uint32, f1 uint64) {
some := v.Some()
if some != nil {
f0 = 1
v1 := (uint64)(*some)
f1 = (uint64)(v1)
}
return
}
// Er... | Go |
initPainter_c1426_0(QPainter *painter) const
{
QProgressBar::initPainter(painter);
}
virtual void initPainter(QPainter *painter) const
{
if (cb_initPainter_c1426_0.can_issue()) {
cb_initPainter_c1426_0.issue<QProgressBar_Adaptor, QPainter *>(&QProgressBar_Adaptor::cbs_initPainter_c1426_0, painter... | C++ |
with the secure gateway veneer specified at a same address but .gnu.sgstubs at a higher address.
// RUN: not ld.lld --cmse-implib --section-start .gnu.sgstubs=0x11000 1.o -o 3 --out-implib=3.lib --in-implib=1.lib 2>&1 | FileCheck %s --check-prefixes=ERR_ADDR
/// Create a new import library with the secure gateway venee... | Assembly |
(&mut w);
self.register.set(w.bits);
}
}
#[doc = r" Value of the field"]
pub struct DbgTim2StopR {
bits: u8,
}
impl DbgTim2StopR {
#[doc = r" Value of the field as raw bits"]
#[inline(always)]
pub fn bits(&self) -> u8 {
self.bits
}
}
#[doc = r" Value of the field"]
pub struct Dbg... | Rust |
iety_hint}
Villain A: {a.label()} — powers: {', '.join(a.powers) or '—'}
Villain B: {b.label()} — powers: {', '.join(b.powers) or '—'}
Return:
1) ARENA_SIGNATURE (3–6 bullets).
2) PROP_CATALOG (~12 items). Each: name, category, status_start, mass, interaction_hooks, uniqueness_rule, round_weight 1–3.
3) ENV_EVENTS (2... | Python |
num_units)
V2 = tf.layers.dense(y_enc, pm.num_units)
net = tf.matmul(Q2, tf.transpose(K2, [0, 2, 1]))
net = tf.matmul(net, V2)
net = tf.nn.relu(net)
net += V2
yhat = tf.layers.dense(net, pm.Ty)
loss = tf.reduce_mean(tf.abs(y - yhat), name = 'loss')
lr = tf.train.exponential_decay(0.1, 20000, 100, 0.96, staircase=True)
... | Python |
ine-wavy": F18E9,
"format-vertical-align-bottom": F0621,
"format-vertical-align-center": F0622,
"format-vertical-align-top": F0623,
"format-wrap-inline": F0288,
"format-wrap-square": F0289,
"format-wrap-tight": F028A,
"format-wrap-top-bottom": F028B,
"forum": F028C,
"forum-outline": F0822,
"forward"... | CSS |
tMessage("ui_buttonTitle") || chrome.i18n.getMessage("contextMenuTitle") || "Streamer Card";
const iconUrl = chrome.runtime.getURL('images/logo.png');
console.log("Icon URL:", iconUrl);
button.innerHTML = `<img src="${iconUrl}" alt="Firefly Card" onerror="console.error('F... | JavaScript |
alignment(-1.0, .5);
set_tooltip (name_label, Gtkmm2ext::markup_escape_text (_route->name()));
set_tooltip (*level_meter, Gtkmm2ext::markup_escape_text (_route->name()));
number_label.set_corner_radius(2);
number_label.set_elements((ArdourButton::Element)(ArdourButton::Edge|ArdourButton::Body|ArdourButton::Text|Ar... | C++ |
#ifndef EXP_MAT_H
#define EXP_MAT_H
#include <math.h>
#include <Eigen/Core>
#include <opencv2/core.hpp>
// #include <common_lib.h>
#define SKEW_SYM_MATRX(v) 0.0,-v[2],v[1],v[2],0.0,-v[0],-v[1],v[0],0.0
template<typename T>
Eigen::Matrix<T, 3, 3> Exp(const Eigen::Matrix<T, 3, 1> &&ang)
{
T ang_norm = ang.norm();
... | C |
[nn.Linear(in_features, 1) for i in range(self.num_experts)])
self.bias = paddle.nn.ParameterList([
paddle.create_parameter(
shape=[in_features, 1],
dtype='float32',
default_initializer=paddle.nn.initializer.Constant(value=0.0))
for ... | Python |
local UIManager = require("ui/uimanager")
local InputDialog = require("ui/widget/inputdialog")
local RenderImage = require("ui/renderimage")
local ImageViewer = require("ui/widget/imageviewer")
local logger = require("logger")
local dbg = require("dbg")
local MessageBox = require("Legado/MessageBox")
local Backend = r... | Lua |
\ r] r rV r r r
test_multiply s
zTestPoint.test_multiplyc
C sX d\}}}}}}t | j||}t | j||}|| } | | | | | | dS ):We expect that on curve c, (x1,y1) + (x2, y2 ) = (x3, y3).)rX r r( r Nr_
r5 rZ r[ Zx2y2r... | Python |
g:\u0026#34;true\u0026#34;user.roles.retrieve.strategy:\u0026#34;LOAD_ROLES_BY_MEMBERSHIP_ATTRIBUTE\u0026#34;AddUserFederation\r#\r\rAdds a user federation to the realm\nParameters\r#\r\r realm: String, optional name: String, mandatory providerId: String, mandatory providerType: String, optional, default = \u0026ldquo;... | JavaScript |
_units.sort_by(|a, b| {
a.fitness()
.partial_cmp(&b.fitness())
.unwrap_or(Ordering::Equal)
});
empty_units
}
/// Register a callback to be run at the end of each epoch
pub fn register_callback(&mut self, cb: Box<EpochCb>) -> &mut Self {
se... | Rust |
ells().get(i, j).getInterior().setColor(Color.GetGray());
list.addAll(dependents);
}
}
}
}
}
}
}
package com.grapecity.documents.excel.examples.features.filtering.datefiltering;
import java.util.Date;
import... | Java |
cmp r3, #1
bne .L912
mov r5, r7
b .L889
.L958:
mov r2, #188
mov r1, r9
mov r0, r8
bl memcpy
ldr r2, .L959+12
ldr r3, [r4, #364]
ldr ip, [r2]
bic r3, r3, #7
str r3, [r4, #364]
cmp ip, #0
bne .L945
b .L946
.L954:
ldr r3, .L959+12
ldr r2, [fp, #-80]
ldr ip, [r3]
str r2, [r4, #364]
cmp ip, #0
beq .L905... | Assembly |
rk on different distribution types, but overall Zeta appears to have good color depth.
Both schedulers have a linear drift that goes from high to low x.
## String Nodes
### Advanced Text Switch

Take the text switch node, and use built-in multiline textboxes i... | Markdown |
/d3.v5.min.js\"></script>\n"
// + "<script
// src=\"https://cdnjs.cloudflare.com/ajax/libs/d3-graphviz/3.0.5/d3-graphviz.min.js\"></script>\n"
// + "<script
// src=\"https://unpkg.com/@hpcc-js/wasm@0.3.11/dist/index.min.js\"><... | Java |
PastEvents(event, options)
}
}
export const valueToBigNumber = (input: BigNumber.Value) => new BigNumber(input)
export const valueToString = (input: BigNumber.Value) => valueToBigNumber(input).toFixed()
export const valueToFixidityString = (input: BigNumber.Value) =>
toFixed(valueToBigNumber(input)).toFixed()
e... | Typescript |
ION DATA
Y_TABLE
OXO SET 0
REPT 240
DC.L OXO
OXO SET OXO+768
ENDR
COORD INCBIN F:TUNNEL.INL
SECTION BSS
TUNNEL_TAB DS.B 40000
OLD_CACR DS.L 1
SCREEN_ADD DS.L 1
COMPT DS.W 1
OLD_VBL DS.L 1
OLD_A09 DS.B 1
CURVE_COMPT DS.W 1
AFFECR: DS.L 1
WORKECR: DS.L 1
OLDXBIOS2: DS.L 1
OLDMODECODE DS.W 1
CLR DS.L 17
... | Assembly |
intToCheck%2 == 0;
}
/**
* Checks if provided number is a prime number. This method is currently unused. Could be implemented more efficiently.
*
* @param intToCheck
*/
private isPrime(intToCheck:number): boolean {
for (let i = 1; i < intToCheck; i++) {
if(intToCheck%i == 0) {
retu... | Typescript |
mov r5, #0x0
.arm
branch_223ad60: @ 223ad60 :arm
ldr r0, [r4, #0x4]
add r0, r0, r5, lsl #2
ldr r0, [r0, #0x10]
cmp r0, #0x0
beq branch_223ad78
bl Function_2243b3c
.arm
branch_223ad78: @ 223ad78 :arm
add r5, r5, #0x1
cmp r5, #0x3
bcc branch_223ad60
bl Function_222b... | Assembly |
** | Full-Time - One Infant - Graduate Hospital | Philadelphia, PA, United States | [apply](https://www.skillsire.com/job/jobs-enlisting/all-jobs?query=Intern&loc=Worldwide&type=world&lat=0&lng=0&utm_source=github&utm_medium=skillsiregithubinternrepo&utm_campaign=githubrepo&utm_content=github&dp=pm&jobId=bf932fd3470632... | Markdown |
* Returns fabric.Text instance from an object representation
* @static
* @memberOf fabric.Text
* @param {Object} object Object to create an instance from
* @param {Function} [callback] Callback to invoke when an fabric.Text instance is created
* @param {Boolean} [forceAsync] Force an async behaviour ... | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.