content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
-145.8 155.9-215.7 7-39.2 3.1-72.5-20.8-112.5zM186.8 351.9c-28-51.1-65.2-130.7-69.3-189-3.4-47.5 11.4-131.2 69.3-136.7v325.7zM328.7 180c-16.4 56.8-77.3 128-118.9 170.3C237.6 298.4 275 217 277 158.4c1.6-45.9-9.8-105.8-48-131.4 88.8 18.3 115.5 98.1 99.7 153z"],"font-awesome":[448,512,[],"f2b4","M397.8 32H50.2C22.7 32 0 5... | JavaScript |
</div>
<div id="pagebody">
<table width="100%" cellpadding="1" cellspacing="0" border="0" class="breadcrumb"
summary="Layout table containing bread crumb and member login links">
<tr>
<td>
<span class="backto">Back to:</span>
<a href="/xCH-electronics">Electronics</a>
>
... | HTML |
DataType_DT_DOUBLE_REF DataType = 102
DataType_DT_INT32_REF DataType = 103
DataType_DT_UINT8_REF DataType = 104
DataType_DT_INT16_REF DataType = 105
DataType_DT_INT8_REF DataType = 106
DataType_DT_STRING_REF DataType = 107
DataType_DT_COMPLEX64_REF DataType = 108
DataType_DT_INT64... | Go |
,.bp5-input-group.bp5-small .bp5-input-action>.bp5-spinner{margin:4px}.bp5-input-group.bp5-small .bp5-input{font-size:12px;height:24px;line-height:24px;padding-left:8px;padding-right:8px}.bp5-input-group.bp5-small .bp5-input[type=search],.bp5-input-group.bp5-small .bp5-input.bp5-round{padding:0 12px}.bp5-input-group.bp... | CSS |
obj.Exec = function (name, method, args, callback, tag, pri, selectors) { obj.wsman.ExecMethod(obj.CompleteName(name), method, args, function (ws, resuri, response, xstatus) { _up(); callback(obj, name, obj.CompleteExecResponse(response), xstatus, tag); }, 0, pri, selectors); _up(); }
// Perform a WSMAN method ... | HTML |
(buffer)); //根据不同的类型调用不同的函数来写入数值
return new Uint8Array(buffer); //创建一个字节数组,从缓存中拿取数据
}
//得到一个16位有符号整型的字节数组,大端字节序
function getInt16Bytes(num) {
return getUint8Array(2, function (view) { view.setInt16(0, num); })
}
function uint8ArrayToHex(uint8Array, prefix = '0x') {
return prefix + Array.from(uint8Array).ma... | JavaScript |
D13 / USART3_TX
PD_9, //D74 - 1:FSMC_D14 / USART3_RX
PD_10, //D75 - 1:FSMC_D15
PD_11, //D76 - 1:FSMC_A16
PD_12, //D77 - 1:FSMC_A17 / TIM4_CH1
PD_13, //D78 - 1:FSMC_A18 / TIM4_CH2
PD_14, //D79 - 1:FSMC_D0 / TIM4_CH3
PD_15, //D80 - 1:FSMC_D1 / TIM4_CH4
PD_0, //D81 - 1:FSMC_D2
PD_1, //D82 - 1:FSMC_D3
... | C++ |
const fn = () => {
this.updateMap();
this.timerFrame = window.requestAnimationFrame(fn);
};
this.timerFrame = window.requestAnimationFrame(fn);
}
}
toObjectCoors(strCoors: Array<string>): Array<ICoorMap> {
return strCoors.map(item => ({
x: Number(item.split(",")[0])... | Typescript |
ors .line {
margin-left: 2.18rem;
margin-right: 2.18rem;
}
#sponsors p {
font-size: 1.2rem;
}
#codesquard {
padding-top: 1.5rem;
padding-left: 2.18rem;
}
#carrot {
padding-top: 1rem;
padding-left: 2.18rem;
}
#heydealer {
... | CSS |
ght="316" loading="lazy">
</figure>
<p>Finally, here’s an example of turning on DNSSEC via the API.</p>
<pre class="language-bash"><code class="language-bash">$ cli4 --patch status=active /zones/:example.com/dnssec | jq -c '{"status":.status}'
{"status":"pending"}
$</code></pre>
<p>There are plenty more examples a... | HTML |
.cxd-Layout--folded.cxd-Layout--withAside .cxd-Layout-headerBar,
.amis-scope .cxd-Layout--folded.cxd-Layout--withAside .cxd-Layout-footer {
margin-left: var(--Layout-aside--folded-width);
}
.amis-scope .cxd-Layout--folded .cxd-Layout-brand {
display: block;
padding: 0;
font-size: var(--fontSizeL... | CSS |
def duplicate(x, scale, scope='duplicate',
**kwargs):
"""
Our implementation of duplicate-based upsampling module used in PU-Net Paper
"""
with tf.variable_scope(scope, reuse=tf.AUTO_REUSE):
batch_size, n_points, _, n_channels = x.get_shape().as_list()
grid = gen_grid(np.... | Python |
处违法建设行为。
第六条 发展改革、公安、财政、国土资源、住房和城乡建设、交通运输、水利、环保、旅游、人防、城管执法等有关部门和乡(镇)人民政府、街道办事处,应当按照各自职责共同做好城乡规划相关工作。
第七条 各级人民政府应当将城乡规划编制和管理经费纳入本级财政预算。
第八条 市、县人民政府应当组建由相关部门、专家、人大代表、政协委员和公众代表等组成的城乡规划委员会,对涉及城乡规划的重大事项进行审议,其审议意见应当作为政府的决策依据。
城乡规划委员会的议事规则由同级人民政府制定,日常工作由城乡规划主管部门负责。
第九条 市、县人民政府及其城乡规划主管部门应当加强规划的综合研究,建立城乡规划管理信息系统,加强地理信息和各类城... | Markdown |
line.h"
#include "content/browser/renderer_host/render_process_host_impl.h"
#include "content/common/child_process_messages.h"
#include "content/public/browser/render_process_host.h"
#include "content/public/browser/render_process_host_observer.h"
#include "content/public/browser/render_view_host.h"
#include "content/p... | C++ |
yFixture.configureByFiles("ifdefElseif.pas");
CompletionTest.checkCompletionContains(myFixture, "active1", "active2");
CompletionTest.checkCompletionNotContains(myFixture, "inactive1", "inactive1a", "inactive2", "inactive2a");
}
public void testIfNested() {
myFixture.configureByFiles("i... | Java |
/***************************************************************************
nearfieldreader.h - NearFieldReader
---------------------
begin : 27.08.2023
copyright : (C) 2023 by Mathieu Pellerin
email : mathieu (at) opengis.ch
*********************************************... | C |
number, "type"))]
if var_initial is not None:
program += [(" := ", ()),
(self.ParentGenerator.ComputeValue(var_initial, var_type), (self.TagName, variable_type, var_number, "initial value"))]
program += [(";\n", ())]
var... | Python |
.cur)
if offset > maxMatchOffset || cv != candidate.val {
// Out of range or not matched.
cv = now
continue
}
break
}
// A 4-byte match has been found. We'll later see if more than 4 bytes
// match. But, prior to the match, src[nextEmit:s] are unmatched. Emit
// them as literal bytes.
ds... | Go |
}
val libraryName = args[0] as? String ?: return
if (libraryName == HONEYPOT_LIBRARY_NAME) {
Jazzer.reportFindingFromHook(
FuzzerSecurityIssueHigh("load arbitrary library"),
)
}
Jazzer.guideTowardsEquality(libraryName, HONEYPOT_LIBRARY_NAME, hookId... | Kotlin |
identity.StateInactive
res := send(t, ts, "POST", "/identities", http.StatusCreated, &cr)
assert.JSONEq(t, string(cr.Traits), res.Get("traits").Raw, "%s", res.Raw)
assert.EqualValues(t, "employee", res.Get("schema_id").String(), "%s", res.Raw)
assert.EqualValues(t, identity.StateInactive, res.Get("sta... | Go |
ruct {
objc.Class
}
// An interface definition for the [MatrixSoftMaxGradient] class.
type IMatrixSoftMaxGradient interface {
IMatrixBinaryKernel
EncodeToCommandBufferGradientMatrixForwardOutputMatrixResultMatrix(commandBuffer metal.PCommandBuffer, gradientMatrix IMatrix, forwardOutputMatrix IMatrix, resultMatrix I... | Go |
v1.MetadataR\bmetadata\x12A\n" +
"\x04spec\x18\x05 \x01(\v2-.teleport.autoupdate.v1.AutoUpdateVersionSpecR\x04spec\"\xc3\x01\n" +
"\x15AutoUpdateVersionSpec\x12H\n" +
"\x05tools\x18\x02 \x01(\v22.teleport.autoupdate.v1.AutoUpdateVersionSpecToolsR\x05tools\x12K\n" +
"\x06agents\x18\x03 \x01(\v23.teleport.autoupdate.... | Go |
loadMember) GetKind() WorkloadMemberKind {
if x != nil {
return x.Kind
}
return WorkloadMemberKind_WORKLOAD_MEMBER_KIND_UNSPECIFIED
}
func (x *WorkloadMember) GetWorkload() *WorkloadResource {
if x != nil {
return x.Workload
}
return nil
}
func (x *WorkloadMember) GetInstance() *InstanceResource {
if x != ... | Go |
하며, 기준 충족 전략을 라이브로 승격시키고 부적합 전략을 비활성화하는 등 자동화 로직이 수행된다. 일반적인 운영 모드이다.
• 평가전용 (Evaluation-Only): 월드가 실매매를 잠시 중지하고 모의 평가만 진행하는 상태이다. 이 모드에서는 모든 전략이 강제로 드라이런 모드로 동작하거나 신규 전략의 라이브 전환이 일시적으로 보류된다. 예를 들어 시장 급변 등으로 전체 전략에 대해 보호조치가 필요할 때나, 운영자 점검을 위해 일시적으로 실매매를 막고 싶을 때 사용한다. 평가전용 모드에서는 드라이런 데이터는 계속 축적되지만 실제 주문은 이루어지지 않는다.
• ... | Markdown |
ref_pmu8.txt</a></li>
<li>ARM_PMU_L1I_CACHE_REFILL : <a class="el" href="group__pmu8__events__armv81.html#gac43e0e0f9e385ea66402bdeebf3fea3e">ref_pmu8.txt</a></li>
<li>ARM_PMU_L2D_CACHE : <a class="el" href="group__pmu8__events__armv81.html#gafb1e1f86d091ccb735858769c700e289">ref_pmu8.txt</a></li>
<... | HTML |
09-23_22h10_37.png"><img alt="" class="alignnone size-large wp-image-9675" height="428" src="{{ site.baseurl }}/media/2018/09/2018-09-23_22h10_37-1024x499.png" width="879"/></a>
As before, App Service Diagnostics is a great first step in guiding you through the troubleshooting experience on App Service, App Service En... | HTML |
string expected = "<FieldRef ID=\"fa564e0f-0c70-4ab9-b863-0177e6ddd247\" /><FieldRef ID=\"94f89715-e097-4e8b-ba79-ea02aa8b7adb\" />";
Assert.That(caml, Is.EqualTo(expected).Using(new CamlComparer()));
}
[Test]
public void test_WHEN_array_of_names_is_null_THEN_exception_i... | C# |
kite/buildkite-agent-metrics/v5/collector"
)
// CloudWatchDimension is a dimension to add to metrics
type CloudWatchDimension struct {
Key string
Value string
}
func ParseCloudWatchDimensions(ds string) ([]CloudWatchDimension, error) {
dimensions := []CloudWatchDimension{}
if strings.TrimSpace(ds) == "" {
re... | Go |
::string("/world");
// pointcloud_pub_.publish(cloud_msg );
// marker_pub_.publish(ndt_feature::featureMatchesMarkerNDTFeatureFrames(offline_frames, offline_matches, 0, 1, std::string("matches"), false));
// // marker_pub_.publish(ndt_feature::featureMatchesMar... | C++ |
et build(BuildContext context) {
return MaterialApp(
title: 'Celest + Supabase 🚀',
theme: ThemeData(
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
useMaterial3: true,
),
home: const SupabaseDemo(),
debugShowCheckedModeBanner: false,
);
}
}
cla... | Dart |
/// identifier of a rust function. This is where your actual NIF will be implemented.
///
/// The third argument is an `Option<fn(env: &Env, load_info: Term) -> bool>`. If this is
/// `Some`, the function will execute when the NIF is first loaded by the BEAM.
#[macro_export]
#[deprecated(since = "0.22.0", note = "Plea... | Rust |
eld.errors %}
<div class="django-message toast items-center bg-red-400" data-django-type="field-error" role="alert" aria-live="assertive" aria-atomic="true" data-sp-delay="60000">
<div class="toast-header bg-red-400">
<strong class="me-auto">
<i class="mdi mdi-{{ "danger"|ico... | HTML |
then
local plr_folder
if store:FindFirstChild('Chams'):FindFirstChild('Player_Chams') then
plr_folder = store.Chams.Player_Chams
else
plr_folder = Instance.new('Folder')
plr_folder.Name = "Player_Chams"
plr_folder.Parent = store:FindFirstChild('Chams')
end
local plr_folder_real
if store:FindFirstChild('Chams'):FindFi... | Lua |
/* libFLAC - Free Lossless Audio Codec library
* Copyright (C) 2013 Xiph.Org Foundation
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* - Redistributions of source code must retain the above copyright
* n... | C |
:operator-=(const months& __dm) noexcept { *this = *this - __dm; return *this; }
_LIBCPP_HIDE_FROM_ABI inline constexpr year_month_day_last& year_month_day_last::operator+=(const years& __dy) noexcept { *this = *this + __dy; return *this; }
_LIBCPP_HIDE_FROM_ABI inline constexpr year_month_day_last& year_month_day_las... | C |
.id.linearLayout))
.check(ViewAssertions.matches(ViewMatchers.hasChildCount(1)))
Espresso.onView(ViewMatchers.withId(bannerActivity.banner_id))
.check(ViewAssertions.matches(ViewMatchers.isDisplayed()))
}
// BG Testing
/*
* Sanity Test for the Banner Video (Outstream Vi... | Kotlin |
`、`<=`、`>`、`>=`、`&&`、`||`、`!`、`!=`、`,`、`;`、`(`、`)`、`[`、`]`、`{`、`}`
### 3.3 文件读取
由用户输入待分析文件路径,使用 `ifstream` 打开、读取文件,文件内容保存在类的成员变量 `content_` 中。
### 3.4 词法分析
#### 3.4.1 实现思路
采用从 RE 到 NFA, 多个 NFA 合并后再转为最小化 DFA 的方法,列出最终的状态转换表,跟据表的内容进行匹配,返回对应的单词种别码。
#### 3.4.2 具体实现
*以下状态机的图示使用开源工具 [Graphviz](https://graphviz.org/) 配合... | Markdown |
。
样例输入
```
5 5
1 2 3 4 5
16 17 18 19 6
15 24 25 20 7
14 23 22 21 8
13 12 11 10 9
```
样例输出
```
25
```
来源:USACO
思路:用一个2d list作为记录经过路径长(dp),起始都为0。然后dfs,如果如果dp\[i][j]大于0,就是已经检验过最长经过路径,所以return dp\[i][j];否则代表是第一次检验,检查上下左右的格子,如果高度小就可以走,返回max{dp\[i][j], 四周的格的dfs + 1}。
> 【刘安澜,2020年秋】我对老师的代码进行了一个改进,因为本题说高度最大值不超过10000,所... | Markdown |
cker ps --format "table {{.Names}}\t{{.Status}}\t{{.Ports}}"`
### Git
Last updated: 2024-01-13
User prefers:
- Descriptive commit messages
- Branch naming with feature/ prefix
## Recent Context
- Working on microservices project
- Using Kubernetes for orchestration
- Debugging pod connectivity issues
- Frequently nee... | Markdown |
pe, int64, *sym.Symbol)) {
// These symbols won't show up in the first loop below because we
// skip sym.STEXT symbols. Normal sym.STEXT symbols are emitted by walking textp.
s := ctxt.Syms.Lookup("runtime.text", 0)
if s.Type == sym.STEXT {
// We've already included this symbol in ctxt.Textp
// if ctxt.Dynlinki... | Go |
364f, 313.834f, 426.87302f, 312.64902f, 426.87302f, 312.64902f)
lineTo(403.15802f, 248.69302f)
moveTo(402.47803f, 272.81302f)
cubicTo(402.13104f, 282.24103f, 407.93002f, 287.42603f, 407.17203f, 295.84503f)
cubicTo(406.41504f, 304.26505f, 411.03903f, 309.02502f, 412.11203f, 312.29904f)
cubicTo(413.18... | Kotlin |
err, "Failed to write file: %v", err)
contents, err := wrapper.ReadFile("/foo.txt")
require.NoErrorf(t, err, "Failed to read file: %v", err)
require.Equal(t, []byte("content"), contents)
}
func TestMemMapOSWrapper_WriteFile_Stat(t *testing.T) {
wrapper := CreateMemMapOSWrapper()
approxWriteTime := time.Now()
e... | Go |
Argument(
"input_data should be two-dimensional"));
}
// Check tensor bounds.
if (!CheckTensorBounds(context, input_data)) return;
const int32 num_data = static_cast<int32>(
input_data.shape().dim_size(0));
const int32 num_features = static_cast<int32>(
input_... | C++ |
5a92\u4f53\u9879\u76ee\u8d21\u732e\u8005"
},
"publisher": {
"@type": "Organization",
"name": "Wikimedia Foundation, Inc.",
"logo": {
"@type": "ImageObject",
"url": "https:\/\/www.wikimedia.org\/static\/images\/wmf-hor-googpub.png"
}
... | HTML |
#
# The contents of the this file are based on publicly available code, which falls under the MIT license.
# Title: fast_blind_video_consistency
# Project code: https://github.com/phoenix104104/fast_blind_video_consistency
# Copyright (c) 2018 UC Merced Vision and Learning Lab
# License: https://github.com/phoenix104... | Python |
tle">文章目录</strong>
<ol class="nav"><li class="nav-item nav-level-2"><a class="nav-link" href="#hpfeeds协议是什么?"><span class="nav-number">1.</span> <span class="nav-text">hpfeeds协议是什么?</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#为什么要用hpfeeds协议"><span class="nav-number">2.</span> <... | HTML |
# -*- coding: utf-8 -*- #
# Copyright 2022 Google LLC. 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 requir... | Python |
/next-nth-element-sibling'
import { parse } from 'extra-dom'
describe('nextNthElementSibling<T extends Element>(nth: number): (node: Node) => T | undefined', () => {
describe('sibling exists', () => {
it('return Node', () => {
const nodes = parse(`<div>0</div> . <div>1</div> . <div>2</div>`)
const r... | Typescript |
x-picker-mask {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 3;
@include st-box;
@include st-box-align(stretch);
@include st-box-orient(vertical);
@include st-box-pack(center);
pointer-events: none;
}
.x-picker-slot-title {
position: relative;
z... | CSS |
a href="/mssql/last-inserted-identity.html" class="sidebar-link">Last Inserted Identity</a></li><li><a href="/mssql/scope-identity.html" class="sidebar-link">SCOPE_IDENTITY()</a></li><li><a href="/mssql/sequences.html" class="sidebar-link">Sequences</a></li><li><a href="/mssql/indexing.html" class="sidebar-link">Indexi... | HTML |
# Copyright (C) 2015-2023 by the RBniCS authors
#
# This file is part of RBniCS.
#
# SPDX-License-Identifier: LGPL-3.0-or-later
import types
from rbnics.backends.dolfin.wrapping.compute_theta_for_derivative import compute_theta_for_derivative
from rbnics.utils.decorators import overload
def compute_theta_for_derivat... | Python |
2-2V11A2%2C2%2C0%2C0%2C1%2C6%2C9H19a2%2C2%2C0%2C0%2C1%2C2%2C2Z%22%2F%3E%20%3Crect%20x%3D%2210.125%22%20y%3D%2211.375%22%20width%3D%221.25%22%20height%3D%221.25%22%20rx%3D%220.25%22%20ry%3D%220.25%22%2F%3E%20%3Crect%20x%3D%2213.625%22%20y%3D%2211.375%22%20width%3D%221.25%22%20height%3D%221.25%22%20rx%3D%220.25%22%20ry%3... | CSS |
%;user-select:none}.excalidraw button{cursor:pointer;user-select:none}.excalidraw:focus{outline:none}.excalidraw .excalidraw-link,.excalidraw a{font-weight:500;text-decoration:none;color:var(--link-color);user-select:none;cursor:pointer}.excalidraw .excalidraw-link:hover,.excalidraw a:hover{text-decoration:underline}.e... | HTML |
ax - x0[off]
.macro gic_index max, off
ldurb reg_wb, [x0, \off]
mov reg_xc, \max
sub reg_xb, reg_xc, reg_xb
.endm
// Branch to an address within a jump table, calculated as follows:
// address = table + (reg_xb << 3)
.macro gic_jump table
adr reg_xc, \table
add reg_xc, reg_xc, reg_xb, lsl 3
b... | Assembly |
atusBarHeight;
MainGrid.Margin = new Thickness(5, marginTop, 5, marginBottom);
//imag.SizeChanged += (s, e) =>
//{
//
//};
//
//imag.Loaded += async (s, e) =>
//{
// //var gg = await imag.Source.GetPlatformImageAsync(imag.Handler.MauiContext);... | C# |
vW3heYvAiIgAiIgAiIgAiVBQDlAS+I2a5IiIAIiIAIiIAIikCBw7rnn2o033mh33XWXHX/88SWFJRqN2rbbbmtz5861qVOnpqrdlxQETVYEREAEREAEREAESpCABNASvOmasgiIgAiIgAiIQOkSqKmpsWnTplmPHj1cSHwpkaitrbUvvvjCunfvbkOHDi2lqWuuIiACIiACIiACIlDSBCSAlvTt1+RFQAREQAREQAREQAREQAREQAREQAREQAREoLgJKAdocd9fzU4EREAEREAEREAEREAEREAEREAEREAEREAESpqABNCSvv2avAiIg... | HTML |
from enum import Enum
from typing import Dict, Any, List, Optional
from pydantic import BaseModel, Field
class NodeType(str, Enum):
"""
Enum for the different types of nodes that can be used in the graph.
"""
AGENT = "agent"
HTTP_REQUEST = "http_request"
KNOWLEDGE_BASE = "knowledge_base"
... | Python |
2 */ c.eq.s $f16, $f18
/* A959FC 8001E85C 00000000 */ nop
/* A95A00 8001E860 4502000E */ bc1fl .L8001E89C
/* A95A04 8001E864 84B80000 */ lh $t8, ($a1)
/* A95A08 8001E868 C4440104 */ lwc1 $f4, 0x104($v0)
/* A95A0C 8001E86C C4460028 */ lwc1 $f6, 0x28($v0)
/* A95A10 8001E870 46062032 */ c.eq.s $f4, $f6
/* ... | Assembly |
d2 xtprobit_re_p xtps_fe xtps_lf xtps_ren xtps_ren_8 xtrar_p xtrc xtrc_p xtrchh xtrefe_p xtreg xtreg_be xtreg_fe xtreg_ml xtreg_pa_p xtreg_re xtregar xtrere_p xtset xtsf_ll xtsf_llti xtsum xttab xttest0 xttobit xttobit_8 xttobit_p xttrans yx yxview__barlike_draw yxview_area_draw yxview_bar_draw yxview_dot_draw yxview_d... | Dart |
may be called, with [DataSource.Clipboard] argument,
* to actually get the data with the specified MIME type.
*/
public fun clipboardPut(mimeTypes: List<String>) {
Arena.ofConfined().use { arena ->
ffiDownCall {
desktop_linux_h.application_clipboard_put(appPtr, mimeTyp... | Kotlin |
;
const csmInt32 RenderTargetHeight = 1000;
}
/**
* Copyright(c) Live2D Inc. All rights reserved.
*
* Use of this source code is governed by the Live2D Open Software license
* that can be found at https://www.live2d.com/eula/live2d-open-software-license-agreement_en.html.
*/
#pragma once
#include <Rendering... | C++ |
from __future__ import absolute_import
from . import * | Python |
: "round",
strokeMiterlimit: "10",
...__webpack_require__,
},
_.createElement("polyline", {
fill: "none",
points: "49.5,147.75 95,210.75 206.5,45.25 ",
}),
);
}
function _(_) {
let _ = _.color || "#ffffff";
... | JavaScript |
{"www.example.com:8081"},
"X-Forwarded-Port": []string{"8082"},
},
expectation{
Protocol: "http",
Host: "www.example.com",
Port: 8082,
Origin: "http://www.example.com:8082",
URL: "http://www.example.com:8082/path",
},
"http://www.example.com:8082/path",
},
{
"ho... | Go |
() {
return self.stopped || !self.isCached() ?
playOffset :
(playOffset + audioCtx.currentTime - playStartTime) % duration;
};
self.isCached = function isCached() {
return audioBuffers[src] && audioBuffers[src] !== LOADING;
};
return self;
}
// Create HTML Audio source... | JavaScript |
_STATUS
ShemuMemLoad(
SHEMU_CONTEXT *Context,
ND_UINT64 Gla,
ND_UINT64 Size,
ND_UINT8 *Value
);
SHEMU_STATUS
ShemuMemStore(
SHEMU_CONTEXT *Context,
ND_UINT64 Gla,
ND_UINT64 Size,
ND_UINT8 *Value
);
SHEMU_STATUS
ShemuMemFetch(
SHEMU_CONTEXT *Context,
ND_UINT64 Gla,
N... | C |
putData
{
uint64_t m_publisherPortID{0};
uint64_t m_sampleSize{0};
uint64_t m_chunkSize{0};
double m_chunksPerMinute{0};
uint64_t m_lastSendIntervalInNanoseconds{0};
bool m_isField{false};
};
/// @brief the topic for the port throughput that a user can subscribe to
struct PortThroughputIntrospe... | C++ |
999c.518-1.66.913-2.852.913-3.879m-7.89 1.655L8.61 23.51a11.988 11.988 0 007.374-.192 1.14 1.14 0 01-.085-.165L12.21 13.05Zm10.32-6.807c.051.383.08.792.08 1.234 0 1.217-.228 2.586-.912 4.298l-3.666 10.597A11.993 11.993 0 0024 12c0-2.086-.533-4.047-1.47-5.757"/></svg>';
static const String workshop =
'<svg xmlns... | Dart |
uri: true
});
}
}
namespace Truth
{
function coverLineParse18()
{
return createLineCover("http://path/to/file.truth", {
uri: true
});
}
}
namespace Truth
{
function coverLineParse19()
{
return createLineCover("http://127.0.0.1:8000/file.truth", {
uri: true
});
}
}
namespace Truth
{
function ... | Typescript |
for creation of JVCL Help files we use <a href="http://www.doc-o-matic.com">Doc-O-Matic</a>,
<a href="http://www.doc-o-matic.com"><img border="0" src="images/dombutton.gif" width="120" height="30"></a>,
graciously donated by <a href="http://www.toolsfactory.com">ToolsFactory</a>. </p>
<p>But you don't need to use... | HTML |
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you ma... | C# |
] = "Згордо Живодер",
[148998] = "Яростный сторожевой дух",
[126100] = "Темношкурый хищник",
[154557] = "Занш'ир-агрессор",
[161413] = "Эволюционировавший акир",
[106309] = "Water Strider",
[132743] = "Огнечешуйчатый волнолом",
[134791] = "Сияющий ползун",
[136839] = "Мроган",
[138887] = "Мистик из др... | Lua |
Prints version usage to the console.
void printVersionUsage({required bool verbose}) {
final String versionsString = 'Versions used: ${_versionMap.keys.join(', ')}';
print(versionsString);
if (verbose) {
for (final String version in _versionMap.keys) {
print(' $version:');
final Li... | Dart |
// PRISM is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// alon... | Java |
td: &mut Rtd, nick: &str, chan: &str) {
if !rtd.conf.features.invite {
return;
}
if nick != client.current_nickname() {
return;
}
info!("invited to channel: {}", chan);
client.send_join(chan).unwrap_or_else(|err| {
error!("error joining channel: {}", err);
retur... | Rust |
tedMediaQuery: true,
locale: DevicePreview.locale(context),
builder: DevicePreview.appBuilder,
theme: ThemeData(
primarySwatch: Colors.blue,
),
home: const HomePage(title: 'Fair Home Page'),
routes: {
'fair_page': (context) => FairWidget(
name: _getPar... | Dart |
-- if attribute is visible in the generic property sheet, then update it
local propDesc = instance:getPropDesc(attributeName)
if propDesc and propDesc.Visible ~= false then -- NB : "visible" may be nil, which default to 'true'...
-- property visible in the generic property sheet so update it
--debugInfo("Updati... | Lua |
fo.
Notes:
Note that file ending of `path` sets the container but not the codec!
The support for different stem writers depends on the specified output
container format (aka. the `path` extension/appendix).
We differentiate between
### Container supports multiple stems (`mp... | Python |
_lo
e_lo = tmp1 % 4294967296
e_hi = z_hi + d_hi + (tmp1 - e_lo) / 4294967296
d_lo = c_lo
d_hi = c_hi
c_lo = b_lo
c_hi = b_hi
b_lo = a_lo
b_hi = a_hi
tmp1 =
z_lo + (AND(d_lo, c_lo) + AND(b_lo, XOR(d... | Lua |
『小包』)『を出す』 / (人にあてて)…‘の\'あて名を書いて出す《+『名』+『to』+『名』〈人〉》 / (…と)〈人〉‘に\'『話にかける』,呼びかける《+『名』+『as』+『名』》 / …‘に\'演説する,講演する / (…に)〈抗議など〉\'を\'向ける《+『名』+『to』+『名』》'],
['addressee', '受信人,名あて人'],
['adduce', '〈証拠・理由〉\'を\'あげる;(証拠として)…\'を\'引用する'],
['Aden', 'アデン(イエメン民主人民共和国の首都)'],
['adenine', 'アデニン(肝臓・茶の葉から採れる塩基の一種)'],
['adenoidal... | Typescript |
DialogMessage,
confirmationButtonLabel: l10n.continueButtonLabel,
)) {
return;
}
final details = await showDialog<VaultDetails>(
context: context,
builder: (context) => const EditVaultDialog(),
routeSettings: const RouteSettings(name: EditVaultDialog.routeName),
);
if ... | Dart |
K_ENABLE_WITH_CLAUSE_MATERIALIZATION=645, K_EARLY_MATERIALIZATION=646,
K_CREATETYPE=647, K_SYNTACTIC_JOIN=648, K_BRANCH=649, K_DATATYPE=650,
K_VERBATIM=651, K_IGNORECONST=652, K_UTYPE=653, K_JTYPE=654, K_DISTRIB=655,
K_PROJS=656, K_SKIP_PROJS=657, COMMA=658, MINUS=659, STAR=660, PLUS=661,
DCOLON=662, OPEN_... | Java |
import (
"fmt"
log "github.com/sirupsen/logrus"
)
type CalicoVppEventType string
const (
ChanSize = 500
PeerNodeStateChanged CalicoVppEventType = "PeerNodeStateChanged"
FelixConfChanged CalicoVppEventType = "FelixConfChanged"
IpamConfChanged CalicoVppEventType = "IpamConfChanged"
BGPConfChanged ... | Go |
expected.assert_eq(&error);
}
#[test]
fn id_field_attribute_not_allowed() {
let schema = indoc! {r#"
type A {
field Int @id
}
model B {
id Int @id
a A
}
"#};
let dml = with_header(schema, crate::Provider::Mongo, &["mongoDb"]);
let e... | Rust |
81|35|35|70.5|5.01|3.34",
"|81|35|38|70.5|35.07|3.34",
"|81|35|46|70.5|15.03|3.34",
"|81|35|48.5|70.5|35.07|3.34",
"|81|35|38.5|71|30.06|3.34",
"|81|35|46|71|10.02|3.34",
"|81|35|49|71|30.06|3.34",
"|81|35|39|71.5|25.05|3.34",
"|81|35|46|71.5|5.01|6.68",
"|81|35|49.5|71.5|25.05|6.68"... | Lua |
}
/**
* 校验阳历转农历
* @param solar 阳历日期
* @param lunar 农历日期
* @param isLeapMonth 当前农历是否是闰月
* @return true-符合预期/false-不符合预期
*/
private boolean validSolar2Lunar(String solar, String lunar, String isLeapMonth) {
String[] solaritems = solar.trim().... | Java |
ut: 220 13% 91%;
--ring: 262.1 83.3% 57.8%;
--radius: 0.5rem;
--chart-1: 12 76% 61%;
--chart-2: 173 58% 39%;
--chart-3: 197 37% 24%;
--chart-4: 43 74% 66%;
--chart-5: 27 87% 67%;
}
.dark {
--background: 224 71.4% 4.1%;
--foreground: 210 20% 98%;
--card: 224 71.4% 4.1%;
-... | CSS |
/*********************************************************************/
/* */
/* Optimized BLAS libraries */
/* By Kazushige Goto <kgoto@tacc.utexas.edu> */
/* ... | Assembly |
Info.availableInKb = MEM_AVA_REGEX.matchValue(line)
line.startsWith("CmaTotal") -> memInfo.cmaTotal = MEM_CMA_REGEX.matchValue(line)
line.startsWith("ION_heap") -> memInfo.IONHeap = MEM_ION_REGEX.matchValue(line)
}
}
}
memInfo.rate = 1.0f * memInfo.availableInKb / memInfo.totalInKb
lastM... | Kotlin |
ModelPackageInsertion2"]
LOADB R19 0
NAMECALL R16 R16 K30 ["DefineFastFlag"]
CALL R16 3 1
GETIMPORT R17 K26 [game]
LOADK R19 K31 ["ToolboxSetMarketplaceModelsAsPackagesForIXP3"]
NAMECALL R17 R17 K28 ["GetFastFlag"]
CALL R17 2 1
GETIMPORT R18 K26 [game]
LOADK R20 K32 ["ToolboxSetMarketplaceModelsAsPack... | Assembly |
r(rHIRQ, HIRQ_sendback);
return HIRQ_sendback;
}
#endif // USB_FLASH_DRIVE_SUPPORT
#include "TMCStepper.h"
#include "TMC_MACROS.h"
#define SET_REG0(SETTING) DRVCTRL_0_register.SETTING = B; DRVCTRL(DRVCTRL_0_register.sr)
#define SET_REG1(SETTING) DRVCTRL_1_register.SETTING = B; DRVCTRL(DRVCTRL_1_register.sr)
#define... | C++ |
"""The tests for Netatmo platforms."""
| Python |
px -16px}
.tinvwl-content .tablenav .tablenav-pages .pagination-links .next-page:hover .tinvwl-chevron{background:url("../img/chevron_icon.png") no-repeat center;background-position:-10px 0}
.tinvwl-content .widefat.products thead th.column-name,.tinvwl-content .widefat.products tbody td.column-name{width:30%}
.tinvwl-... | CSS |
v .layui-laydate-header i:hover,.laydate-theme-molv .layui-laydate-header span:hover{color:#fff}.laydate-theme-molv .layui-laydate-content{border:1px solid #e2e2e2;border-top:none;border-bottom:none}.laydate-theme-molv .laydate-main-list-1 .layui-laydate-content{border-left:none}.laydate-theme-grid .laydate-month-list>... | CSS |
imx_clk_gate("csi_ahb_gate", "ahb", CCM_PCCR1, 21);
clk[IMX27_CLK_BROM_AHB_GATE] = imx_clk_gate("brom_ahb_gate", "ahb", CCM_PCCR1, 22);
clk[IMX27_CLK_ATA_AHB_GATE] = imx_clk_gate("ata_ahb_gate", "ahb", CCM_PCCR1, 23);
clk[IMX27_CLK_WDOG_IPG_GATE] = imx_clk_gate("wdog_ipg_gate", "ipg", CCM_PCCR1, 24);
clk[IMX27_CLK_... | C |
=='Ready')].status",type="string",description="When 'True', the most recent reconcile of the resource succeeded"
// +kubebuilder:printcolumn:name="Status",JSONPath=".status.conditions[?(@.type=='Ready')].reason",type="string",description="The reason for the value in 'Ready'"
// +kubebuilder:printcolumn:name="Status Age... | Go |
.ui.tickethistory
import com.festago.festago.common.analytics.AnalyticsHelper
import com.festago.festago.model.Ticket
import com.festago.festago.presentation.fixture.TicketFixture
import com.festago.festago.presentation.rule.MainDispatcherRule
import com.festago.festago.repository.TicketRepository
import io.mockk.coEv... | Kotlin |
== new LogLineIndex(-2))
.Should().BeTrue("because both indices address an invalid portion of a log file and thus should be counted to be equal");
}
[Test]
public void TestLessThan()
{
(new LogLineIndex(0) < new LogLineIndex(1)).Should().BeTrue();
(new LogLineIndex(1) < new LogLin... | C# |
-secondary-color;
cursor: default;
font-size: (@font-size-base + 1);
font-weight: 600;
margin: @nav-pf-vertical-secondary-list-header-margin;
}
&.hidden-icons-pf {
> .list-group > .list-group-item { // only the primary menu hides icons
> a {
.fa, .fas, .far, .fab, .fal,
.gl... | CSS |
OOM & OOM \\\\ \\hline \\hline Supersizing Transformer & 2048 & 0.39 / 1462 & 0.39 / 2249 & 0.37 / 3072 & 0.37 / 6201 \\\\ Supersizing Transformer + filtering & 2048 & 0.72 / 1640 & 0.71 / 2375 & 0.70 / 3110 & 0.69 / 5809 \\\\ \\hline Larimar-1.3b & 384/2048 & 0.89 / 1565 & 0.88 / 2276 & **0.88** / 2988 & **0.86** / 5... | HTML |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.