content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
perf_maps: bool,
polling_delay: u64,
polling_thread_policy: Option<SchedulingPolicy>,
}
impl<'a> Clone for ProgramVersion<'a> {
fn clone(&self) -> Self {
Self {
programs: self.programs.clone(),
ev_names: self.ev_names.clone(),
array_maps: self.array_maps.clone(),... | Rust |
IONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.kryptonmc.krypton.util.collection
import java.util.Spliterator
import java.util.function.Predicate
import java.util.stream.Stream
/**
* A highly specia... | Kotlin |
# Test copying transmitter over through the receivers
# Create a workspace
new_workspace = Workspace.create(Path(tmp_path) / r"testGTEM_copy.geoh5")
receivers_rec = receivers.copy(new_workspace)
receivers_rec.tx_id_property
compare_entities(
receivers, receivers_re... | Python |
its_left -= depth;
return ret_value;
}
/*
* get_value() - takes first (numeric) string and converts into number,
* using the bit-depth to fill up a byte (0Ah -> AAh)
*/
png_uint_32 get_value (FILE *pnm_file, int depth)
{
static png_uint_32 mask = 0;
png_byte token[16];
unsigned long ul_ret_value;
... | C |
for more details.
*
* You should have received a copy of the Sonar Source-Available License
* along with this program; if not, see https://sonarsource.com/license/ssal/
*/
namespace SonarAnalyzer.CFG.Roslyn;
/// <summary>
/// Copy of Microsoft.CodeAnalysis.FlowAnalysis.ControlFlowBranchSemantics.
/// </summary>
p... | C# |
] = 0; }
// 遍历每一件物品
for (int tn = 1; tn < N + 1; tn++) {
// 背包容量有多大就还要计算多少次
for (int rw = 1; rw < W + 1; rw++) {
dp[tn][rw] = dp[tn-1][rw];
// 如果可以放入,则尝试放入第tn件物品
if (w[tn] <= rw) {
dp[tn][rw] = Math.max(dp[tn][rw], dp[tn][rw-w[tn]] + v[tn]);
}
}
}
return d... | Markdown |
CopyOnWriteArrayList;
import java.util.concurrent.TimeUnit;
import javax.servlet.ServletContext;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import kieker.monitoring.core.controller.ISamplingController;
import kieker.... | Java |
: number; y: number;}>();
store.registerComponents({
pos: posComp,
vel: velComp,
});
const canvas = document.createElement('canvas');
const ctx = canvas.getContext('2d')!;
canvas.width = 800;
canvas.height = 600;
document.body.appendChild(canvas);
function update() {
const entity = store.create();
entity.s... | Typescript |
st_bounds = Bounds { row_offset: 2, max_row: 3, .. bounds };
gal.add_term_opt(&olmc.arst, &arst_bounds)?;
let aprst_bounds = Bounds { row_offset: 3, max_row: 4, .. bounds };
gal.add_term_opt(&olmc.aprst, &aprst_bounds)?;
if olmc.clock.is_none() {
return ... | Rust |
Des */
public static getDesByID(value:number):string;
/** Height */
public static getHeightByID(value:number):number;
}
/**
*
* 根据 excel 配置 文件自动生成的代码
*
* 【**不可手动修改此类**】,
*
* 【任何修改都将被生成工具覆盖,如需修改请直接修改具体的excel文件】
*
* @author liuyang.AutoCreater
*
*/
//【cs_stronger.xls】 ----> petCommand
... | Typescript |
type":"italic"}],"value":"actually work","nodeType":"text"},{"data":{},"marks":[],"value":"? What does the code look like?","nodeType":"text"}],"nodeType":"paragraph"},{"data":{},"content":[{"data":{},"marks":[],"value":"In this post, we’ll be looking at a concrete example with code samples: ML ingest with ","nodeType"... | HTML |
() string
// Init inits the workload(start informer or sth.).
Init(*imageLoader) error
// LoadImageBeforeUpdate is called when the corresponding workload instance being updated.
LoadImageBeforeUpdate(v1beta1.AdmissionReview) *v1beta1.AdmissionResponse
// JobDoneHook is called when image-load job is done(either suc... | Go |
| 数据清理 | 在进行文本挖掘时,如何处理缺失值和异常值? |
| 对话式AI | 如何训练一个简单的对话式AI模型来回答常见问题? ... | Markdown |
Provider
wantValidatedCache []GitHubValidatedAPICacheKey
}{
{
name: "no GitHubIdentityProviders",
wantResultingCache: []*upstreamgithub.ProviderConfig{},
wantResultingUpstreams: []idpv1alpha1.GitHubIdentityProvider{},
wantLogs: []string{},
},
{
name: ... | Go |
n = "closed channel"
)
func (s *quitReason) String() string { return string(*s) }
func (bc *BaseBatchPipe[T, B]) mergeWorker(ctx context.Context) {
defer bc.mergeStopWg.Done()
bufByNames := make(map[string]ItemBuffer[T, B])
batchbuf := new(bytes.Buffer)
registry := newReminderRegistry()
quitMsg := quitUnknown
d... | Go |
e UI Symbol",
sans-serif;
text-shadow: none;
}
body .published-container .markdown-rendered h6 {
color: light-dark(rgb(15, 15, 15), rgb(209, 209, 209));
font-family:
ui-sans-serif,
-apple-system,
"system-ui",
system-ui,
"Segoe UI",
Roboto,
Inter,
"Apple Color Emoji",
"Segoe... | CSS |
"curve",
"Cryptography"
],
"license": "MIT",
"main": "lib/elliptic.js",
"name": "elliptic",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/indutny/elliptic.git"
},
"scripts": {
"jscs": "jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js",
"jshint": ... | Go |
b
.if \need_right
add x3, x8, x2, lsl #1 // in + center_w
sub x3, x3, #2 // in + center_w - 1
add x12, x6, x4, lsl #1 // dst + left_ext
ld1r {v0.8h}, [x3]
add x12, x12, x2, lsl #1 // out = dst + left_... | Assembly |
0x6c.html#index_l"><span>l</span></a></li>
<li class="current"><a href="globals_func_0x70.html#index_p"><span>p</span></a></li>
<li><a href="globals_func_0x72.html#index_r"><span>r</span></a></li>
<li><a href="globals_func_0x73.html#index_s"><span>s</span></a></li>
<li><a href="globals_func_0x74... | HTML |
e(g)
}
private val colorBack = RetroColors.black01
private val colorInk = RetroColors.white01
private val colorBold = RetroColors.red01
private fun draw(c: Canvas, d: Dimension) {
c.clear(colorBack)
val satellite = Circle(790f, 220f, 50f)
c.drawCircle(satellite, fillOf(colorBold))
val sun = Circle(d... | Kotlin |
上一步查询结果
* @param set 查询结果集
* @return List
* @throws Exception 异常
*/
<T extends Privilege> List<T> privileges(DataRuntime runtime, int index, boolean create, List<T> previous, Privilege query, DataSet<DataRow> set) throws Exception;
/**
* privilege[结果集封装]<br/>
* 根据查询结果集构造 Trigger
* @param runtime 运行环境主要... | Java |
applyLabel="_#(Restore)"
[resetVisible]="smallDevice"
(applyClicked)="recoverEntry()"
(resetClicked)="cancel.emit()"
(unsavedChanges)="unsavedChanges.emit($event)">
<mat-tab-group color="accent">
<mat-tab label="_#(Auto Saved Asset Info)">
<em-auto-save-recycle-bin [mod... | HTML |
which will override some properties of a packaged theme.</p>
<p>Create a new css file and include it in your page. Inside the file, declare your customized rules like this:</p>
<pre class="prettyprint lang-css">
/* This is how you would create a custom secondary theme on top of tooltipster-noir: */
.too... | HTML |
d===r){for(var ak in ad){am[ak]=ad[ak]}}if(Z&&typeof Z===r){for(var ai in Z){if(typeof am.flashvars!=D){am.flashvars+="&"+ai+"="+Z[ai]}else{am.flashvars=ai+"="+Z[ai]}}}if(F(Y)){var an=u(aj,am,ah);if(aj.id==ah){w(ah,true)}X.success=true;X.ref=an}else{if(aa&&A()){aj.data=aa;P(aj,am,ah,ac);return}else{w(ah,true)}}if(ac){a... | JavaScript |
3Cpath d=%22M590 750.26v68.046l58.997 34.026v-68.046L590 750.26ZM648.997 852.332 708 818.306V750.26l-59.003 34.026v68.046Z%22 stroke-width=%22.78666%22%2F%3E%3Cpath d=%22m590 750.26 58.997-34.02L708 750.26l-59.003 34.026L590 750.26Z%22 stroke-width=%22.78666%22%2F%3E%3C%2Fg%3E%3Cg fill-rule=%22evenodd%22%3E%3Cpath d=%2... | CSS |
uttonPressed : IE_ButtonReleased, m_nLastSampleTick, toggleCode, toggleCode );
}
}
}
break;
case WM_KEYUP:
case WM_SYSKEYUP:
{
// Don't handle key ups if the key's already up. This can happen when we alt-tab back to the engine.
ButtonCode_t virtualCode = ButtonCode_VirtualKeyToButtonCode( wParam )... | C++ |
pessoa = ('zero', 'um', 'dois', 'três', 'quatro', 'cinco', 'seis', 'sete', 'oito', 'nove', 'dez',
'onze', 'doze', 'treze', 'quatorze', 'quinze', 'dezesseis', 'dezessete', 'dezoito', 'dezenove', 'vinte')
while True:
n = int(input('Digite um número entre 0 e 20: '))
if 0 <= n <=20:
print(f'{pesso... | Python |
o", (0, 0)),
("to", (0, 0)),
("prod", (0, 0)),
("NotLeft", (0, 0)),
("orig", (0, 0)),
("frac15", (0, 0)),
("xv", (0, 0)),
("DoubleCont", (0, 0)),
("LeftUpVecto", (0, 0)),
("imath;", (305, 0)),
("uHa", (0, 0)),
("Uacute;", (218, 0)),... | Rust |
{
return nil
}
out := new(DefaultRouteTableStatus)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *DefaultSecurityGroup) DeepCopyInto(out *DefaultSecurityGroup) {
*out = *in
out.TypeMeta = in.TypeMet... | Go |
var manifestResourceName = Assembly.GetExecutingAssembly()
.GetManifestResourceNames().FirstOrDefault(x => x.EndsWith(resourceName));
if (string.IsNullOrEmpty(manifestResourceName))
throw new InvalidOperationException($"Did not find required resource ending in '{resourceName}' in asse... | C# |
51 Q175,551 205,561 Q235,570 250,591 Q266,612 266,651 Q266,691 240,715 Q214,739 173,739 Q145,739 122,727 Q100,715 88,693 Q112,693 126,681 Q141,669 141,650 Q141,627 126,614 Q111,602 85,602 Q53,602 35,624 Q18,646 18,681 Q18,732 62,770 Q106,808 178,808 Q254,808 301,762 Q347,715 347,640 Q347,593 329,559 Q312,525 278,504 Q3... | HTML |
试用免费梯子分享来满足小伙伴的需求。
## 小飞侠SSR 2025稳定便宜机场首选
[直达官网注册](https://www.xfxssr.me/)
* 主打稳定便宜的Clash机场,同时支持Surge、Stash、Shadowrocket、QuantumultX
* 支付方式灵活:月付、季付、半年付、年付、两年付、**按流量付费**
* 价格:¥5.4元/月起, 您可以根据每个月需要的流量来决定购买不同的等级
* 流媒体 :4K不卡顿,港台新节点解锁奈飞Netflix/Disney+/HULU/HBO/TVB/动画疯等国外流媒体视频
* 机场优点 :隧道节点现已可正常使用,采用移动+CMI2G带宽。
## 皮卡丘VPN 20... | Markdown |
y = ifloor(pos / width);\n int x = pos - y * width; // pos % width\n\n return texture2D(sampler, (vec2(x, y) + 0.5) / vec2(size));\n}\n\nvoid calulateCrossings(vec2 p0, vec2 p1, vec2 p2, out vec2 C1, out vec2 C2) {\n\n // get the coefficients of the quadratic in t\n vec2 a = p0 - p1 * 2.0 + p2;\n vec2 b = p0 - p... | JavaScript |
怎么培养安全感?www.zhihu.com/question/29141214/answer/1764795653?utm_psn=1734508394059440128](https://www.zhihu.com/question/29141214/answer/1764795653?utm_psn=1734508394059440128)
我们只讲一个对女性来说额外需要注意的问题:
根除“我无法独立生存,我一定要依赖别人”的念头。
从一开始就建立“我可以建立自己的生态,可以在这个生态里独立生存”的基本认知。
女性最大的恐惧根源,就是被人灌输的一种“柔弱”感、无能感,从一开始就被人欺骗去相信“我不行”“我做不到”,一定... | Markdown |
Y(0);
transition: opacity 0.2s cubic-bezier(0.64, 0.09, 0.08, 1), transform 0.2s cubic-bezier(0.64, 0.09, 0.08, 1);
}
.o-tooltip--left:hover:after {
display: block;
opacity: 1;
visibility: visible;
transform: translateX(-100%) translateY(0);
transition: opacity 0.2s cubic-bezier(0.64, 0.09, 0.0... | CSS |
color: $blip;\n }\n}\n\
/* last comment, top level again --\n \
compare the indentation! */\n\n\
div {\n\n\
f: g;\n \
empty {\n span {\n a: b;\n }\n }\n \
empty_with_comment {\n /* hey now */\n \
span {\n c: ... | Rust |
ec2::new(x as f32, y as f32) / (self.resolution as f32 - 1.0);
let point_on_unit_cube: Vec3 = local_up
+ (percent.x - 0.5) * 2.0 * axis_a
+ (percent.y - 0.5) * 2.0 * axis_b;
let point_on_unit_sphere = point_on_unit_cube.normalize()... | Rust |
2
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### -UniqueId
Specifies the unique ID of the virtual disk to modify.
```yaml
Type: String
Parameter Sets: ByUniqueId, ByUniqueIdAttributes
Aliases: Id
Required: Tru... | Markdown |
ert {node.simplex.elements for node in trie.cofaces((1,))} == {
(1,),
(1, 2),
(1, 3),
(1, 4),
(1, 2, 3),
(1, 2, 4),
}
assert {node.simplex.elements for node in trie.cofaces((2,))} == {
(2,),
(1, 2),
... | Python |
e.Error) {
bucketName, _ := c.url2BucketAndObject()
if bucketName == "" {
return nil, probe.NewError(BucketNameEmpty{})
}
corsCfg, err := c.api.GetBucketCors(ctx, bucketName)
if err != nil {
return nil, probe.NewError(err)
}
return corsCfg, nil
}
// DeleteBucketCors - Delete bucket cors configuration.
fun... | Go |
ern","Bewahrerin des Erbes der Sha'tari"},
[21906] = {"Kelara","Bewahrerin des Erbes der Sha'tari"},
[21907] = {"Initiand der Kabale",nil},
[21908] = {"Verzauberte Terrorwache",nil},
[21909] = {"Arkanoskorp",nil},
[21910] = {"Ride the Lightning Kill Credit Trigger",nil},
[21911] = {"Seelenrufer von Skettis",nil},
[2191... | Lua |
v-912c39f8],.render-form .el-form-item--large .el-form-item__label[data-v-912c39f8]{height:44px!important}.form-widget-canvas .el-form-item--default .el-form-item__label[data-v-912c39f8],.render-form .el-form-item--default .el-form-item__label[data-v-912c39f8]{height:36px!important}.form-widget-canvas .el-card[data-v-9... | CSS |
PACKET_REGTYPE_F
| (UINT32)MCI_ADOMUTE0),
bADOMute0);
McDevIf_AddPacket((MCDRV_PACKET_TYPE_FORCE_WRITE
| MCDRV_PACKET_REGTYPE_F
| (UINT32)MCI_ADOMUTE1),
bADOMute1);
McDevIf_AddPacket((MCDRV_PACKET_TYPE_FORCE_WRITE
| MCDRV_PACKET_REGTYPE_F
| (UINT32)MCI_ADOMUTE2),
MCB_AD... | C |
onds
val SESSION_TIMEOUT_5_MIN = 5.minutes.inWholeMilliseconds
val SESSION_TIMEOUT_10_MIN = 10.minutes.inWholeMilliseconds
val SESSION_TIMEOUT_DEFAULT = SESSION_TIMEOUT_5_MIN
}
@OptIn(ExperimentalStdlibApi::class)
override suspend fun getCipherKey(): String {
val preferences = dataStore.data.first()
retu... | Kotlin |
', () async {
expect(
() => runner.runOrThrow(['fvm', 'install', '3.19.0@invalidchannel']),
throwsA(isA<Exception>()),
);
});
});
group('Install command help and usage:', () {
test('Install help shows correct usage', () async {
// Help commands should ret... | Dart |
www.to3158.cn/tags-z-l65d174b290250.html" target="_blank" class="relatedlink">周龄</a>时给予,第二针在12周龄时给予,最后一针在16周龄时给予。在完成第三针疫苗之后,猫咪一般会在一年后再次<a href="http://www.to3158.cn/tags-j-z6605742048a56.html" target="_blank" class="relatedlink">接种</a>。</p><p>3、猫咪的疫苗分为基础疫苗和加强疫苗两类,基础疫苗通常包括三针。第一针在猫咪<a href="http://www.to3158.cn/tags-c-s6... | HTML |
/*
* Copyright (C) 2019 The Android Open Source Project
*
* 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 app... | C |
} else if (response[0] == _constants.channelIDs.ticker) {
if (response[1] != 'hb') {
this.makeTickerResponse(response[1]);
}
}
}
}
subscribeExchange(exchange) {
let {
_constants,
connectionFlag,
} = this.state;
_constants.selectedExchange = exchange;
... | JavaScript |
/detail/bounds/upper1.hpp>
# define BOOST_PP_ITERATION_FLAGS_1() 0
# undef BOOST_PP_ITERATION_LIMITS
# elif defined(BOOST_PP_ITERATION_PARAMS_1)
# define BOOST_PP_VALUE BOOST_PP_ARRAY_ELEM(0, BOOST_PP_ITERATION_PARAMS_1)
# include <boost/preprocessor/iteration/detail/bounds/lower1.hpp>
# define BOOST_PP_... | C++ |
: Row(
crossAxisAlignment: CrossAxisAlignment.center,
mainAxisAlignment: MainAxisAlignment.spaceBetween,
mainAxisSize: MainAxisSize.max,
children: [
Flexible(child: _buildMnemonicColumn(section1WithIndex)),
... | Dart |
FileInfo("../../artifacts/handlebars/test.js.map");
Assert.IsTrue(js.Exists, "Output file doesn't exist");
Assert.IsFalse(min.Exists, "Min file exists");
Assert.IsTrue(map.Exists, "Map file doesn't exist");
Assert.IsTrue(js.Length > 5);
Assert.IsTrue(map.Leng... | C# |
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "ITS-Container"
* found in "ITS-Container.asn"
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
*/
#ifndef _HumanPresenceOnTheRoadSubCauseCodeV1_H_
#define _HumanPresenceOnTheRoadSubCauseCodeV1_H_
#include "asn_applic... | C |
#include "../../lv_examples.h"
#if LV_USE_CALENDAR && LV_BUILD_EXAMPLES
static void event_handler(lv_event_t * e)
{
lv_event_code_t code = lv_event_get_code(e);
lv_obj_t * obj = lv_event_get_current_target(e);
if(code == LV_EVENT_VALUE_CHANGED) {
lv_calendar_date_t date;
if(lv_calendar_get... | C |
a mixin.
/// Test that it is not an error to mix in a mixin class from a 3.0 non core
/// library exported through a pre 3.0 library.
class C with legacy.Class {}
/// Test mixing in things from a pre 3.0 library.
/// Test that it is not an error to mix in a class from a 3.0 non core library,
/// when it would have ... | Dart |
s en UniqueFontID HarmonyOS Sans SC Medium Version 1.0
Windows en FullFontName HarmonyOS Sans SC Medium
Windows en VersionString Version 1.0
Windows en PostScriptFontName HarmonyOS_Sans_SC_Medium
Windows en ManufacturerName Hanyi Fonts
Windows en DesignerName Huawei Device Co., Ltd & Hanyi Fonts
Windows en TypographicF... | CSS |
/*
* linux/ipc/util.c
* Copyright (C) 1992 Krishna Balasubramanian
*/
#include <linux/config.h>
#include <linux/errno.h>
#include <asm/segment.h>
#include <linux/sched.h>
#include <linux/sem.h>
#include <linux/msg.h>
#include <linux/shm.h>
#include <linux/stat.h>
void ipc_init (void);
asmlinkage int sys_ipc (uint ... | C |
using LLamaStack.Core.Common;
using LLamaStack.Core.Config;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace LLamaStack.WebApi.Models
{
public record CreateRequest : InferRequestBase, ISessionConfig
{
[Required]
[DefaultValue("WizardLM-7B")]
public st... | C# |
"a green apple", "green");
}
probe.ExpectComplete();
probe.ExpectNoMsg(TimeSpan.FromMilliseconds(500));
}
[Fact]
public virtual void ReadJournal_query_CurrentEventsByTag_should_include_timestamp_in_EventEnvelope()
{
if (ReadJourna... | C# |
ng="0" background="images/fnd_stitre.jpg" height="40">
<tr>
<td width="23"> </td>
<td width="294"><font face="Verdana, Arial, Helvetica, sans-serif" color="#FFCC00"><font face="Verdana, Arial, Helvetica, sans-serif" color="#FFCC00"><font color="#CCCCCC" size="2">COMMANDES
LINUX DE BASE (2/2)</fon... | HTML |
, 3]],
[[4, 3], [3, 1]], // 4
[[2, 3], [2, 3]],
[[4, 3], [4, 3]], // 6
[[1, 1]]];
it ('ignores collapsed arcs', function() {
var arcs = new api.internal.ArcCollection(coords);
var lyr = {
geometry_type: "polygon",
shapes: [[[1, 0]], [[2, 5, 3, -2]]]
}... | JavaScript |
21.84,459.369)">
<path d="M0.159,-0.509L0.174,-0.509L0.187,-0.407C0.195,-0.422 0.205,-0.436 0.216,-0.448C0.228,-0.461 0.241,-0.471 0.255,-0.48C0.269,-0.49 0.284,-0.497 0.3,-0.502C0.316,-0.507 0.332,-0.509 0.348,-0.509C0.363,-0.509 0.377,-0.507 0.391,-0.503C0.406,-0.5 0.419,-0.493 0.431,-0.485L0.4,-0... | HTML |
two armies met was by Allah’s Will, so that He might distinguish the ]true˺ believers"
},
{
"surah_number": 3,
"verse_number": 167,
"content":
"and expose the hypocrites. When it was said to them, “Come fight in the cause of Allah or ]at least˺ defend yourselves,” they replied, “If we had known... | Dart |
fraction = [];
while (isDigit(codePoints[c])) {
fraction.push(codePoints[c++]);
}
var fracd = fraction.length;
var frac = fracd ? parseInt(fromCodePoint$1.apply(void 0, fraction), 10) : 0;
if (codePoints[c] === E || codePoints[c] === e) {
c++;
}
var expsign... | JavaScript |
/// The path where configuration and db files will be generated.
#[structopt(long, short = "a")]
pub artifacts_dir: PathBuf,
}
impl RunDev {
fn artifact_path(&self, artifact_name: &str) -> PathBuf {
let mut path = self.artifacts_dir.clone();
path.push(artifact_name);
path
}
... | Rust |
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under MIT X11 license (for details please see \doc\license.txt)
using System;
using System.IO;
namespace ICSharpCode.NRefactory.VB.Ast
{
public class TryStatement : Statement
{
publi... | C# |
/*!
\file gd32f1x0_dbg.c
\brief DBG driver
*/
/*
Copyright (C) 2017 GigaDevice
2014-12-26, V1.0.0, platform GD32F1x0(x=3,5)
2016-01-15, V2.0.0, platform GD32F1x0(x=3,5,7,9)
2016-04-30, V3.0.0, firmware update for GD32F1x0(x=3,5,7,9)
2017-06-19, V3.1.0, firmware update for GD32F1x0(x=3,5,7... | C |
G7b((Idi[c] = YJi + jhi, this.d), new IOd(this));
Wv((Idi[c] = YJi + Bgi, this.k), x9c());
Fec((Idi[c] = YJi + Udi, this.b), this.e.br());
Idi[c] = YJi + Wdi;
if (Xzd()) {
c9b((Idi[c] = YJi + bfi, this.j), LHc(Vzd()));
b = new (Idi[c] = YJi + Xdi, Jad)();
Yzd((Idi[c] = YJi + Ydi, b));
Dad((Id... | JavaScript |
77 0 0 0 12 12a7.077 7.077 0 0 0-2.05-5l1.485-1.5zM7.97 9a4.251 4.251 0 0 1 1.23 3 4.25 4.25 0 0 1-1.23 3L5 12l2.97-3z'/%3E%3C/svg%3E")}62%{-webkit-mask-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E %3Cpath fill='%2307C160' d='M14.9 2... | HTML |
92.168.20.0/24 --gateway 192.168.20.1 -o parent=eth0.20 macvlan20
#Creation of containers on separate MACVLAN networks
$ docker run -itd --name c1--net macvlan10 --ip 192.168.10.2 busybox sh
$ docker run -it --name c2--net macvlan20 --ip 192.168.20.2 busybox sh
```
在上面的配置中,我们使用 `macvlan` 驱动程序创建了两个独立的网络,这些驱动程序配置为使用子接口... | Markdown |
{
return (EReference)supplierMetadataEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public EEnum getComponentType() {
return componentTypeEEnum;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/... | Java |
, IMG_XPATH)
} catch (e: XpathException) {
throw HostException(e)
} ?: throw HostException(
String.format(
"Xpath '%s' cannot be found in '%s'",
IMG_XPATH,
context.imageEntity.url
)
)
return try {
... | Kotlin |
sToCompare",void 0),(0,r.Z)(this,"_propsToExtract",void 0),(0,r.Z)(this,"_requiredProps",void 0);const{compare:e,extract:i,required:n}=t;this._propsToCompare=e,this._propsToExtract=i||e,this._requiredProps=n}arePropsEqual(t,e){for(const i of this._propsToCompare)if(!(i in t)||!(i in e)||!(0,P.fS)(t[i],e[i]))return!1;re... | JavaScript |
" alt="Yemen: Displaced in Sanaa’s Old City" title="Yemen: Displaced in Sanaa’s Old City"></a><div class="container">
<div class="carousel-caption"><a href="/indepth/inpictures/yemen-displaced-sanaas-city-180213084012975.html"><h2>Yemen: Displaced in Sanaa’s Old City</h2></a><p>More than 10 percent of Y... | HTML |
clks, err = %d\n", ret);
return ret;
}
ret = clk_prepare_enable(plat->rmii_internal_clk);
if (ret) {
dev_err(plat->dev, "failed to enable rmii internal clk, err = %d\n", ret);
return ret;
}
} else {
clk_disable_unprepare(plat->rmii_internal_clk);
clk_bulk_disable_unprepare(variant->num_clks, plat... | C |
y,
},
type: ActionTypes.SHOW_CONTEXT_MENU,
});
export const hideContextMenu = (): IReduxAction<ActionTypes.HIDE_CONTEXT_MENU, void> => ({
type: ActionTypes.HIDE_CONTEXT_MENU,
});
export type Actions =
| ReturnType<typeof showContextMenu>
| ReturnType<typeof hideContextMenu>
;
import { assertEquals } f... | Typescript |
deleteLine = true
)
},
Spanned.SPAN_EXCLUSIVE_EXCLUSIVE
)
.append("绕台海的大棋,从1949年算起已经下了70年,")
.append(
"g这场漫长g",
UniDecorSpan().apply {
align = TextAlign.BAS... | Kotlin |
ance(): MineFragment {
return MineFragment()
}
}
override fun getLayoutId(): Int {
return R.layout.mine_fragment
}
override fun initView() {
setOnClickListener(R.id.btn_mine_dialog, R.id.btn_mine_hint, R.id.btn_mine_login, R.id.btn_mine_register,
R.id.bt... | Kotlin |
-border-top td_block_template_1" data-td-block-uid="tdi_70">
<style>
/* custom css */
.tdi_70 .block-mega-child-cats:after{
border-width: 0 1px 0 0;
}.tdi_70 .block-mega-child-cats a{
padding: 2px 20px;
font-family:Poppins !important;
}.tdi_70 .block-mega-child-cats{
text-align: righ... | HTML |
Trans, channels_ * num, spatial_dim,
1. / (num * spatial_dim), bottom_data,
spatial_sum_multiplier_.cpu_data(), 0.,
num_by_chans_.mutable_cpu_data());
caffe_cpu_gemv<Dtype>(CblasTrans, num, channels_, 1.,
num_by_chans_.cpu_data(), batch_sum_multiplier_.cpu_data(), 0.,
mean_.m... | C++ |
fun `test negated boolean expr`() = doTest("""
fn main() {
let a = 4 == 2;
!a.if/*caret*/
}
""", """
fn main() {
let a = 4 == 2;
if !a {/*caret*/}
}
""")
fun `test simple eq expr`() = doTest("""
fn main() {
... | Kotlin |
",
"keep": "保留",
"undo": "撤銷",
"key": "金鑰",
"code": "代碼",
"trash_emptied": "垃圾桶已清空",
"very_weak": "非常弱",
"weak": "弱",
"good": "良好",
"strong": "強",
"failed_restoring_vault": "還原保險庫失敗",
"failed_decrypting_vault": "解密保險庫失敗",
"please_check_your_seed_phrase": "請檢查您的種子片語",
"restore_your_vault": "還原您... | Dart |
ValKind::ILLEGAL {
return v;
}
}
self.nil
}
/// Get the global at position `i`: if it has not been set (i.e. is `ValKind::ILLEGAL`) this
/// will return `Err(...)`.
pub fn get_legal_global(&self, i: usize) -> Result<Val, Box<VMError>> {
let v = self.g... | Rust |
IDF_CONTROLBUTTONSTEP_PNG;
m_downloads["/img/controlbuttonstop.png"] = IDF_CONTROLBUTTONSTOP_PNG;
m_downloads["/img/controlvolumebar.png"] = IDF_CONTROLVOLUMEBAR_PNG;
m_downloads["/img/controlvolumegrip.png"] = IDF_CONTROLVOLUMEGRIP_PNG;
m_downloads["/img/controlvolumeoff.png"] = IDF_CONTROLVOLUMEOFF_P... | C++ |
me, parent,
0, pll_10nm->phy_cmn_mmio +
REG_DSI_10nm_PHY_CMN_CLK_CFG0,
4, 4, CLK_DIVIDER_ONE_BASED,
&pll_10nm->postdiv_lock);
if (IS_ERR(hw)) {
ret = PTR_ERR(hw);
goto err_pclk_mux_hw;
}
pll_10nm->out_dsiclk_hw = hw;
hw_data->hws[DSI_PIXEL_PLL_CLK] = hw;
hw_data->num = NUM_PRO... | C |
etActive(showRedPoint)
else
self.ImgRedPoint.gameObject:SetActive(false)
end
else
self.ImgMask.gameObject:SetActive(true)
self.LevelPanel.gameObject:SetActive(false)
self.ImgRedPoint.gameObject:SetActive(false)
end
end
function XUiGridCharacterIcon:IsOwnChara... | Lua |
import os
from PIL import Image
import webdataset as wds
from thinkdiff.datasets.datasets.base_dataset import BaseDataset
import random
from torch.utils.data import DataLoader, DistributedSampler
import wids
import json
import tqdm
llava_brief_instructions = [
"Describe the image concisely.",
"Provide a brief ... | Python |
d>1.1 GB</td>
<td><a href="https://huggingface.co/rahulvk007/snowflake-artic-embed-l-v2.0-gguf/resolve/main/snowflake-arctic-embed-l-v2.0.gguf">Download</a></td>
</tr>
<tr>
<td>5</td>
<td><strong>Qwen2.5 Vl Diagrams2sql V2</stro... | HTML |
ic static bool ALL_NEQ_EPU16(v128 v, uint cmpVal, byte elements = 8)
{
switch (elements)
{
case 1: return IS_TRUE(v.UShort0 != cmpVal);
case 2: return IS_TRUE(v.UShort0 != cmpVal)
&& IS_TRUE(v.UShort1 != cmpVal);
case 3: return IS_TRUE(v.UShort0 != cmpVal)
&& IS_TRUE(v.UShor... | C# |
ット全体を繰り返し処理したり、ウェブサーバーで推論に使用したい場合は、専用の部分をチェックしてください。
[データセットでパイプラインを使用する](#using-pipeline-in-a-dataset)
[ウェブサーバーでパイプラインを使用する](./pipeline_webserver)
## パラメータ
[`pipeline`]は多くのパラメータをサポートしており、一部はタスク固有であり、一部はすべてのパイプラインに共通です。
一般的には、どこでもパラメータを指定できます:
```py
generator = pipeline(model="openai/whisper-large", my_parameter... | Markdown |
addEntity(key, value){\n if(value.indexOf(\"&\") !== -1){\n throw new Error(\"Entity value can't have '&'\")\n }else if(key.indexOf(\"&\") !== -1 || key.indexOf(\";\") !== -1){\n throw new Error(\"An entity must be set without '&' and ';'. Eg. use '#xD' for '
'\")\n }e... | JavaScript |
.076 0.0642,-4.033 7.22419,0.08"},"20061":{"name":"Geary, KS","path":"m 506.19774,285.96714 0.0553,-2.041 1.96829,0.05 -0.0481,3.033 4.80484,0.39 1.39777,0.02 0,0.678 -0.0321,4.026 -6.90863,-0.06 -1.23731,-6.092"},"20197":{"name":"Wabaunsee, KS","path":"m 522.56449,286.19214 0.0324,0.72729 1.61029,0.026 0.006,5.19469 0... | JavaScript |
xf9b9df6f, 0x8ebeeff9, 0x17b7be43, 0x60b08ed5,
0xd6d6a3e8, 0xa1d1937e, 0x38d8c2c4, 0x4fdff252,
0xd1bb67f1, 0xa6bc5767, 0x3fb506dd, 0x48b2364b,
0xd80d2bda, 0xaf0a1b4c, 0x36034af6, 0x41047a60,
0xdf60efc3, 0xa867df55, 0x316e8eef, 0x4669be79,
0xcb61b38c, 0xbc66831a, 0x256fd2a0, 0x526... | Java |
;background:none}body .ui-tree.ui-tree-horizontal .ui-treenode-content .ui-tree-toggler.ui-icon-plus:before{content:""}body .ui-tree.ui-tree-horizontal .ui-treenode-content .ui-treenode-icon{vertical-align:middle;margin-right:.5rem}body .ui-tree.ui-tree-horizontal .ui-treenode-content .ui-treenode-label{padding:0;vert... | CSS |
}, func() {}
}
// For safety, limit the number of returned points per timeseries.
// This is sufficient for 60s resolution for a week or 1h resolution for a year.
if end.Sub(start)/step > 11000 {
err := errors.New("exceeded maximum resolution of 11,000 points per timeseries. Try decreasing the query resolution (... | Go |
3Sk9QvFn9pGHChCa5y2VBcNMsYViS7ttsA7SY
// SIG // axwm5OvGLfy+w3RqHYTmvFmoULmKNg+3TXU6i3VuAfYo
// SIG // atwVggrRjxItDPeBASxwyoyjPgK2qO5jl7cCRhKZ+7BW
// SIG // iFfCMCras80o4AuGidg1q7tunqhqaHfkbfvLIDwblZol
// SIG // iwj9oE7QlPByzNyYWAQuCMJlIqAxzE6JOlwA0d6qV33l
// SIG // khkKU0/UZH5eEeetGWAWaw==
// SIG // End signature blo... | JavaScript |
"))
{
this.field_146599_h = "adventure";
}
else if (this.field_146599_h.equals("adventure"))
{
this.field_146599_h = "survival";
}
else
{
this.field_146599_h = "spectator";
}
... | Java |
* length
end
local function _get_days(seconds, use_short)
return _get_time(seconds, SECONDS_IN_A_DAY, "loc_text_util_time_left_days", "loc_text_util_time_left_1_day", "loc_text_short_day", use_short)
end
local function _get_hours(seconds, use_short)
return _get_time(seconds, SECONDS_IN_AN_HOUR, "loc_text_util_time... | Lua |
you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License version 2.1, as published by the Free Software
* Foundation. See file COPYING.
*
*/
#include <sstream>
#include <stdlib.h>
#include <limits.h>
#include "mon/Monitor.h"
#include "mon/ConfigKeyService.h"
#includ... | C++ |
export class Sender {
private socket: Socket;
private readonly port: Props['port'];
public readonly universe: Props['universe'];
private readonly multicastDest: string;
private sequence = 0;
#loopId: NodeJS.Timeout | undefined;
/**
* we keep track of the most recent value of every channel, so tha... | Typescript |
font-style:normal;font-weight:normal;text-anchor:end;" transform="rotate(-0, 33.84, 98.032777)" x="33.84" y="98.032777">0</text>
</g>
</g>
<g id="ytick_2">
<g id="line2d_8">
<path clip-path="url(#pb05c831d1b)" d="M 43.34 55.132585
L 558.72 55.132585
" style="fill:none;stroke:#ffffff;stroke-lin... | HTML |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.