content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
when it is disabled
\param[in] udev: pointer to USB core instance
\param[in] ep_addr: endpoint address
in this parameter:
bit0..bit6: endpoint number (0..7)
bit7: endpoint direction which can be IN(1) or OUT(0)
\param[out] none
\retval non... | C |
aHash),
ValidatorsHash: validatorsHash,
NextValidatorsHash: nextValidatorsHash,
ConsensusHash: trunc(consensusHash),
AppHash: trunc(appHash),
LastResultsHash: trunc(lastResultsHash),
EvidenceHash: trunc(evidenceHash),
Propo... | Go |
none");
test_computed_value("backdrop-filter", "blur(100px)");
test_computed_value("backdrop-filter", "blur()", "blur(0px)");
test_computed_value("backdrop-filter", "brightness(0)");
test_computed_value("backdrop-filter", "brightness(300%)", "brightness(3)");
test_computed_value("backdrop-filter", "brightness()", "br... | HTML |
// REQUIRES: arm
// RUN: llvm-mc -arm-add-build-attributes -filetype=obj -triple=armv7a-none-linux-gnueabi %s -o %t
// RUN: ld.lld --image-base=0x10000000 %t -o %t2
// RUN: llvm-objdump --no-print-imm-hex --triple=armv7a-none-linux-gnueabi --no-show-raw-insn -d %t2 | FileCheck %s
/// Check that the ARM ABI rules for u... | Assembly |
不赴体": [["hún"], ["bù"], ["fù"], ["tǐ"]],
"魂不守舍": [["hún"], ["bù"], ["shǒu"], ["shè"]],
"魂不著体": [["hún"], ["bù"], ["zhuó"], ["tǐ"]],
"魂不守宅": [["hún"], ["bù"], ["shǒu"], ["zhái"]],
"魂颠梦倒": [["hún"], ["diān"], ["mèng"], ["dǎo"]],
"魂不着体": [["hún"], ["bù"], ["zhuó"], ["tǐ"]],
"魂飞胆颤": [["hún"], ["fēi"], ["dǎn"], ["chàn"]],
"... | Typescript |
) = getmouse() {
let lines: Vec<&str> = self.buffer.lines().collect();
let x = std::cmp::min(mouse_event.x, lines.get(mouse_event.y as usize).unwrap_or(&lines[lines.len() - 1]).len() as i32);
self.mv(x, mouse_event.y);
}
... | Rust |
128,491 Q98,523 98,576 Q98,630 135,665 Q173,700 232,700 Q343,700 432,631 Q520,562 573,444 Q625,326 625,200 Z M268,579 Q268,600 252,614 Q235,627 205,627 Q173,627 159,614 Q144,600 144,581 Q144,532 206,532 Q235,532 252,545 Q268,558 268,579 Z" /></symbol><use x="0" y="0" xlink:href="#OBSERVED/SHKNDA-1/14.knNI" /></svg></t... | HTML |
} else {
return c.fetch();
}
})
);
return comments.filter((c): c is FullComment => c !== null);
}
/**
* Fetch all not fetched comments
*
* @returns The comment or `null` if it has been deleted
*/
fetchMissing(): Promise<(FullComment | null)[]> {
const res: ... | Typescript |
from crewai import Agent, Crew, Process, Task
from crewai.project import CrewBase, agent, crew, task
@CrewBase
class YourCrew():
"""Your Crew"""
agents_config = 'config/agents.yaml'
tasks_config = 'config/tasks.yaml'
@agent
def agent1(self) -> Agent:
return Agent(
config=self.... | Python |
ableListOf(30), segmentSizes(sink))
assertEquals(Arrays.asList<Int>(SEGMENT_SIZE - 20, SEGMENT_SIZE), segmentSizes(source))
assertEquals(30, sink.size)
assertEquals((SEGMENT_SIZE * 2 - 20).toLong(), source.size)
}
@Test
fun writePrefixDoesntSplitButRequiresCompact() {
val sink = Buffer()
sink... | Kotlin |
return _int2Bool(ret);
}
/// check the existence of the MMKV
static bool checkExist(String mmapID, {String? rootDir}) {
final mmapIDPtr = mmapID.toNativeUtf8();
final rootDirPtr = _string2Pointer(rootDir);
final ret = _checkExist(mmapIDPtr, rootDirPtr);
calloc.free(mmapIDPtr);
calloc.... | Dart |
if interceptor == nil {
return srv.(StorageAuthorityServer).PauseIdentifiers(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: StorageAuthority_PauseIdentifiers_FullMethodName,
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(StorageAuthorityS... | Go |
6 .6-16 .6s-10.8-.2-16-.6c-4.2 13-10.3 29.9-18.3 46.9c-8.5 18.1-19.8 37.6-34.2 53C237 498.5 217.2 512 192 512l-24 0 0-48 24 0c6.8 0 15-3.5 24.5-13.7c9.5-10.1 18.3-24.6 25.8-40.5c5.9-12.6 10.7-25.4 14.4-36.2c-22.8-7.7-42.5-19-58.9-31.3c-2.9 9.4-6 19.5-9.5 28.5c-4.8 12.2-11.6 25.6-22.7 36C153.6 417.9 138.4 424 120 424c-2... | JavaScript |
ь=0%.</li><li>Строка 484 из 1811: ДОМ.РФ (АО) БО-05 (RU000A0JX2R1): цена=100.38%, доходность=5.15%.</li><li>Строка 485 из 1811: Калининградская область 2016 (RU000A0JX2S9): цена=104.6%, доходность=5.25%.</li><li>Строка 486 из 1811: Почта России (АО) БО-001P-01 (RU000A0JX2V3): цена=null%, доходность=0%.</li><li>Строка 4... | HTML |
func TestActionsError(t *testing.T) {
code := `likes + tacos; null;`
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Millisecond)
defer cancel()
i := NewInterpreter()
compiled, err := i.Compile(ctx, code)
if err != nil {
t.Fatal(err)
}
if _, err = i.Exec(ctx, nil, nil, code, compiled); er... | Go |
toml .
```
2. Variable d’environnement `GITLEAKS_CONFIG` avec le chemin du fichier :
```bash
export GITLEAKS_CONFIG="/home/dev/customgitleaks.toml"
gitleaks git .
```
3. Variable d’environnement `GITLEAKS_CONFIG_TOML` avec le contenu du fichier :
```bash
export GITLEAKS_CONFIG_... | Markdown |
:cubic-bezier(0.4,0,0.2,1);transition-duration:150ms}.\32xl\:transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(0.4,0,0.2,1);transition-duration:150ms}.\32xl\:delay-75{transition-delay:75ms}.\32xl\:delay-100{transition-delay:0.1s}.\32xl\:delay-150{transition-delay:150ms}.\32xl\:d... | CSS |
17.0159 15.9626 16.68 15.6524C16.3441 15.3422 16.1461 14.9153 16.1287 14.4637C16.1113 14.012 16.2758 13.5717 16.5869 13.2376C16.898 12.9035 17.3307 12.7024 17.7918 12.6775L28.1542 12.2943L30.2503 3.237C30.7473 1.09504 28.4595 -0.637786 26.4642 0.367881L2.14979 12.6374Z" fill="#FA7414"/>
... | HTML |
Foo.i"
%feature("director") Example;
%inline {
class Bar { };
class Example {
public:
virtual ~Example();
virtual void ping(Foo *arg1, Bar *arg2);
};
}
</PRE>
</DIV>
<P> Assume that the Foo class is part of the Java package<I>
com.wombat.foo</I> but the above interface file is part of... | HTML |
try sub:child) sub.draw(p);
}
public void draw(PApplet p) {
draw(p.g,-1);
}
/**
* Draws all faces contained in this UGeometry object.
* @param p Reference to PApplet instance to draw into
*/
public void draw(PApplet p,int opt) {
draw(p.g,opt);
}
/**
* Draws all faces... | Java |
manager: scs.New(),
guestSkipPaths: make(map[string][]string),
authLifetime: defaultAuthLifetime,
guestLifetime: defaultGuestLifetime,
}
for _, option := range options {
option(sm)
}
return sm
}
func WithCookieName(name string) Option {
return func(sm *Manager) {
sm.manager.Cookie.Name = ... | Go |
.GOOS == "openbsd" {
if bn := testenv.Builder(); strings.HasSuffix(bn, "-62") || strings.HasSuffix(bn, "-64") {
testenv.SkipFlaky(t, 17496)
}
}
output := runTestProg(t, "testprognet", "SignalIgnoreSIGTRAP")
want := "OK\n"
if output != want {
t.Fatalf("want %s, got %s\n", want, output)
}
}
func TestSigna... | Go |
</p>
<p>
总理:(态度严肃地)你还没有和他们商量,怎么能代表,你这个人怎么这么武断。
</p>
<p>
(柳州代表递了个纸条给李××)
</p>
<p>
李朝杰:可以代表,因为我们的观点是一致的。我们错了,没有顾全大局,但报纸……
</p>
<p>
总理:报纸以后再谈。
</p>
<p>
白鉴平:我们错了。
</p>
<p>
总理:石祯祥是换班司机应开吧?要想国家的大道理嘛!打乘务员从一月就开始了,那也是你们这条路,从衡阳到岳阳,还有人鼓动呀!就是吕正操,弄得一班一班的人罢工,我们那时还动员红卫兵保护。广西是前线,一等战备区,为什么不想国际影... | HTML |
results =
{
PM.catalyst_range("pm-nickel-chunk", 0, 2, 1),
PM.product("pm-palladium-ore", 4),
PM.product_chance("pm-flux-container", 1, 0.66)
}
} --[[@as data.RecipePrototype]],
{
type = "recipe",
name = "pm-palladium-plate",
subgroup = "pm-palladium-tm",
order = "d",
... | Lua |
7, 0x50 # 805d4fd4
.byte 0x80, 0x35, 0xE6, 0x54 # 805d4fd8
.byte 0x80, 0x35, 0xE7, 0x0C # 805d4fdc
.byte 0x80, 0x35, 0xE6, 0xAC # 805d4fe0
.byte 0x80, 0x26, 0x17, 0x60 # 805d4fe4
.byte 0x80, 0x35, 0xE5, 0xBC # 805d4fe8
.byte 0x80, 0x35, 0xE5, 0xFC # 805d4fec
.byte 0x80, 0x35, 0xE9, 0x40 # 805d4ff0
__vt__Q235?2unnamed?2... | Assembly |
loon like chemical Compound)
expand_nodes[qid] = count_ext <= max_size_for_expansion
# If its still ok, update the counts
if expand_nodes[qid]:
count = count_ext
items = items_ext
type_count[qid] = count
os.makedirs(args.output_dir, e... | Python |
发布了标准
- 1963年 X3.2.4 工作组
- 发布了 ASA X3.4-1963 标准

- 这标准具体长`什么`样呢?🤔
## 总结
- 这次 回顾了
- 字符编码的新陈代谢
- ibm 曾经的EBCDIC
- 由于 字符不连续
- 导致 后续 出现无数问题
- 随着 网络的发展
- 数据交换的 需要
- 原来的小隐患
- 现在 产生了 巨大问题
- Bemer 联合各方巨头
- 想要推出
- 字符连续的编码集
- 这新编码集 具体长`... | Markdown |
err = create_log_file_rename(flushed_lsn,
logfile0);
}
if (err != DB_SUCCESS) {
return(srv_init_abort(err));
}
}
}
ut_ad(err == DB_SUCCESS);
ut_a(sum_of_new_sizes != ULINT_UNDEFINED);
/* Create the doublewrite buffer to a new tablespace */
if (!srv_read_only_mode && srv_force_rec... | C++ |
//
// CertificateHandlerFactory.h
//
// Library: NetSSL_OpenSSL
// Package: SSLCore
// Module: CertificateHandlerFactory
//
// Definition of the CertificateHandlerFactory class.
//
// Copyright (c) 2006-2009, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
... | C |
transactions
// to produce. We use the <UVMC_UTILS> macro option to quickly
// define a UVMC converter for it.
//----------------------------------------------------------------------
// (begin inline source)
// (begin inline source)
#include "uvmc.h"
#include "uvmc_macros.h"
using namespace uvmc;
class prod_cfg {
... | C++ |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Threading;
using JetBrains.Util;
namespace JetBrains.Collections
{
/// <summary>
/// A lock-free list that copies the underlying storage on all write operations. This allows for thread-safe operation with well-defined semantics ... | C# |
ked.hover,
.iradio_line-purple.hover {
background: #8677A7;
}
.icheckbox_line-purple.checked,
.iradio_line-purple.checked {
background: #6a5a8c;
}
.icheckbox_line-purple.checked .icheck_line-icon,
.iradio_line-purple.checked .icheck_line-icon {
background-... | CSS |
defer wg.Done()
c1.DiffAbsInYears(c2)
}()
}
wg.Wait()
})
b.Run("parallel", func(b *testing.B) {
c1 := Parse("2020-08-05")
c2 := Now()
b.ResetTimer()
b.RunParallel(func(pb *testing.PB) {
for pb.Next() {
c1.DiffAbsInYears(c2)
}
})
})
}
func BenchmarkCarbon_DiffInMonths(b *testing.B) {... | Go |
3Asid%2Fen.wikipedia.org%3AGoogle&rft.atitle=Preparing+to+Sell+E-Books%2C+Google+Takes+on+Amazon&rft.au=Rich%2C+Motoko&rft.date=2009-05-31&rft.genre=article&rft_id=http%3A%2F%2Fwww.nytimes.com%2F2009%2F06%2F01%2Ftechnology%2Finternet%2F01google.html&rft.jtitle=The+New+York+Times&rft_val_fmt=... | HTML |
google.com/icons/#ic_crop_free*/
background-image: url(data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjMDAwMDAwIiBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4gICAgPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIvPiAgICA8cGF0aCBkPSJNMyA1djRoMlY1aDRWM0g1Yy0xLjEgMC0... | CSS |
i.length;o--;)try{if(a=i[o],(d=a.get(v))!==(e=a.last)&&!(a.eq?ga(d,e):typeof d=="number"&&typeof e=="number"&&isNaN(d)&&isNaN(e)))m=!0,a.last=a.eq?U(d):d,a.fn(d,e===f?d:e,v),q<5&&(B=4-q,p[B]||(p[B]=[]),z=M(a.exp)?"fn: "+(a.exp.name||a.exp.toString()):
a.exp,z+="; newVal: "+ca(d)+"; oldVal: "+ca(e),p[B].push(z))}catch(V... | JavaScript |
improvements
## New in this release
### Redis modules
Redis Enterprise Software version 6.4.2-127 includes the following Redis Stack modules:
- [RediSearch v2.6]({{< relref "operate/oss_and_stack/stack-with-enterprise/release-notes/redisearch/redisearch-2.6-release-notes" >}})
- [RedisJSON v2.4]({{< relref "opera... | Markdown |
on. Then the probability of the nth number being selected is $\frac{k}{n}$ -The probability of being selected is analyzed above, and the probability of not being replaced is analyzed next. When the k+1st number is reached, the probability of the first k numbers being replaced is $\frac{1}{k}$. When the first k+2 numbe... | Markdown |
ңмен|таң|күндіз|күн|кеште|кеш|түнде|түн)\.?)/i},defaultMatchWidth:"wide",parsePatterns:{any:{am:/^ТД/i,pm:/^ТК/i,midnight:/^түн орта/i,noon:/^күндіз/i,morning:/таң/i,afternoon:/түс/i,evening:/кеш/i,night:/түн/i}},defaultParseWidth:"any"})};t.default=n,e.exports=t.default},56491:(e,t,a)=>{var n=a(24994).default,i=(Objec... | JavaScript |
}
fmt.Printf("Worker pool processed %d tasks in %v\n", resultCount, time.Since(start))
}
// contextCancellationExample demonstrates context-based cancellation.
func contextCancellationExample() {
fmt.Println("\n=== Context Cancellation Example ===")
// Create sandbox with custom HTTP client that respects context... | Go |
Error":"Upload URL is not defined.","responseError":"Incorrect server response."},"uploadwidget":{"abort":"Upload aborted by the user.","doneOne":"File successfully uploaded.","doneMany":"Successfully uploaded %1 files.","uploadOne":"Uploading file ({percentage}%)...","uploadMany":"Uploading files, {current} of {max} d... | JavaScript |
swc1 $f4, ($t2)
/* 112358 8016AEE8 8C4B0000 */ lw $t3, ($v0)
/* 11235C 8016AEEC 240A0001 */ li $t2, 1
/* 112360 8016AEF0 24A5689C */ addiu $a1, %lo(D_8016689C) # addiu $a1, $a1, 0x689c
/* 112364 8016AEF4 000B6080 */ sll $t4, $t3, 2
/* 112368 8016AEF8 03CC6821 */ addu $t5, $fp, $t4
/* 11236C 8016AEFC E5... | Assembly |
# Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by app... | Python |
Class) rnd.Next(2, 11),
History = false,
Logging = false,
FillDecks = true,
SkipMulligan = true,
Shuffle = false,
});
game.StartGame();
Game clone;
do
{
List<PlayerTask> options = game.CurrentPlayer.Options();
PlayerTask option = options[rnd.Next(options.Count)];
game.Pro... | C# |
_option=measure_option,
callbacks=[autotvm.callback.log_to_file(log_name)],
)
dispatch_context = autotvm.apply_history_best(log_name)
best_config = dispatch_context.query(task.target, task.workload)
print("\nBest config:")
print(best_config)
else:
config ... | Python |
turn 'export-pdf';
case NutrientWebToolbarItemType.debug:
return 'debug';
case NutrientWebToolbarItemType.contentEditor:
return 'content-editor';
case NutrientWebToolbarItemType.link:
return 'link';
case NutrientWebToolbarItemType.multiAnnotationsSelection:
return... | Dart |
pe(6, 20),
tensor.WithBacking([]float32{0.5488135, 0.71518934, 0.60276335, 0.5448832, 0.4236548, 0.6458941, 0.4375872, 0.891773, 0.96366274, 0.3834415, 0.79172504, 0.5288949, 0.56804454, 0.92559665, 0.071036056, 0.0871293, 0.020218397, 0.83261985, 0.77815676, 0.87001216, 0.9786183, 0.7991586, 0.46147937, 0.7805292,... | Go |
_ARITY) {
return genericInvoker().asSpreader(argArrayType, spreadArgCount);
}
// Cannot build a generic invoker here of type ginvoker.invoke(mh, a*[254]).
// Instead, factor sinvoker.invoke(mh, a) into ainvoker.invoke(filter(mh), a)
// where filter(mh) == mh.asSpreader(Object... | Java |
anWei Ye的身份订阅" aria-label="订阅频道" data-tooltip-image="https://yt3.ggpht.com/yti/ANjgQV8d-mqQKJ9yotkbnJrR50uoBLSfdLHcmUpRcAlUY1V42g=s20-c" data-tooltip-opaque="true" tabindex="0" role="button"><div class="ytp-sb-text"><div class="ytp-sb-icon"></div>订阅</div></div><div class="ytp-sb-unsubscribe" title="以“JianWei Ye”的身份订阅" ... | HTML |
/**
* @file lv_test_label.c
*
*/
/*********************
* INCLUDES
*********************/
#include "../../lvgl.h"
#include "../lv_test_assert.h"
#include "lv_test_label.h"
#if LV_BUILD_TEST
/*********************
* DEFINES
*********************/
/**********************
* TYPEDEFS
***********... | C |
l4ZWxZRGltZW5zaW9uPgogICAgICA8L3JkZjpEZXNjcmlwdGlvbj4KICAgPC9yZGY6UkRGPgo8L3g6eG1wbWV0YT4KZQbeMQAAAZxJREFUWMPNlrFKA0EQhhMUBVErCy0ECxFUECzEWt9ALNMbDkv1AQSLgEhEEG0sBAsbEYKFj6AIVtoJQTClBALRmBjXf2AP1mNvM3vZizvwwR3szX0sszObyfBjFhyBV1AFJbAGBrkJhBB/npPAiT4QgBb9R8MbmPFJ+DhGVOXKF+F+UGcI130RHmbIhoz4UhJNhmxL1roXwmWG8IsvJTEEnhnCj7... | CSS |
(y)]
#define RawY10(x, y, w) rawY16Buffer[(x) + (w) * (y)]
#define CLIP(x) (((x) >= 255) ? 255 : (x))
/* Jpeg-decode */
#define HEADERFRAME1 0xaf
#ifndef min
#define min(a,b) ((a)<(b)?(a):(b))
#endif
int h264DecodeRet;
QStringListModel Videostreaming::resolution;
QStringListModel Videostreaming::stillOutputFormat;... | C++ |
A500:'Taronja',FFFF00:'Groc','00FF00':'Verd llima',AFEEEE:'Blau pàlid',ADD8E6:'Blau clar',DDA0DD:'Pruna',D3D3D3:'Gris clar',FFF0F5:'Lavanda rosat',FAEBD7:'Blanc antic',FFFFE0:'Groc clar',F0FFF0:'Verd pàlid',F0FFFF:'Blau cel pàlid',F0F8FF:'Cian pàlid',E6E6FA:'Lavanda',FFF:'Blanc'},scayt:{title:'Spell Check As You Type',... | JavaScript |
Class2405)var1;
if (this.field16367 != var4.field16367) {
return false;
} else {
for (int var5 = 0; var5 < this.field16367; var5++) {
if (this.field16368[var5] != var4.field16368[var5]) {
return false;
}
}
... | Java |
,
'faWheatAwn': _0x49f07c,
'faWheatAlt': _0x56c21a,
'faAnkh': _0x3eb043,
'faHandsHoldingChild': _0x50df0a,
'faAsterisk': _0x4479d4,
'faSquareCheck': _0x4859c1,
'faCheckSquare': _0x285be0,
'faPesetaSign': _0x5f4562,
'faHeading': _0xd89811,
'faHeader': _0x278206... | JavaScript |
) {
let spawn_table = room_table(map_depth);
let mut spawn_points: HashMap<usize, String> = HashMap::new();
// Scope to keep the borrow checker happy
{
let mut rng = ecs.write_resource::<RandomNumberGenerator>();
let num_spawns = rng.roll_dice(1, MAX_MONSTERS + 3) + (map_depth - 1) - 3;... | Rust |
/* xor high and low parts of full 128-bit product */
private fun mux64(v: ULong, prime: ULong): ULong {
val r = v.toUInt128() * prime
return r.lower xor r.upper
}
internal inline fun t1ha2Loop(state: T1haState256, data: ByteBuffer, len: Int): Int {
val detent = len - 31
// offset
var v = 0
do... | Kotlin |
t___00_01b3fa5720e807697de61b9f937b269cd0.html#a04d8fd36d9d850ff6c4d95cca46b110a',1,'cutlass::transform::threadblock::RegularTileIterator< Shape_, Element_, layout::RowMajorVoltaTensorOpMultiplicandCrosswise< sizeof_bits< Element_ >::value, Shape_::kColumn >, AdvanceRank, ThreadMap_, Alignment >::kAdv... | JavaScript |
# Copyright (c) Twisted Matrix Laboratories.
# See LICENSE for details.
"""
A module that is deprecated, used by L{twisted.python.test.test_deprecate} for
testing purposes.
"""
from incremental import Version
from twisted.python.deprecate import deprecatedModuleAttribute
# Known module-level attributes.
DEPRECATED... | Python |
) { for (size_t i=0;i<N;i++) elems[i]=value; }
// assign (compatible with std::vector's one) (by JLBC for MRPT)
void assign (const size_t n, const T& value) { assert(N==n); for (size_t i=0;i<N;i++) elems[i]=value; }
private:
// check range (may be private because it is static)
stat... | C++ |
mf = parse_meanfunc_formula("c+c*x[0]")
assert isinstance(mf, LibGPGPU.PolyMeanFunc)
assert mf.get_n_params() == 2
mf = parse_meanfunc_formula("c+c*x[0]+c*x[0]^2+c*x[1]")
assert isinstance(mf, LibGPGPU.PolyMeanFunc)
assert mf.get_n_params() == 4
# try without the initial const term (should ... | Python |
crosoft.com/en-us/library/ms715383.aspx) on the Microsoft Developer Network.
## EXAMPLES
### Example 1: Add a 32-bit ODBC User DSN
```
PS C:\> Add-OdbcDsn -Name "MyPayroll" -DriverName "Microsoft Access Driver (*.mdb, *.accdb)" -DsnType "User" -Platform "32-bit" -SetPropertyValue 'Dbq=C:\mydatabase.accdb'
```
This c... | Markdown |
val adjustedRange = TextRange(min(textRange.startOffset, length), min(textRange.endOffset, length))
val entry = ClickableTextCodeVisionEntry(
runtimeValue, id,
onClick = { _, _ ->
val textToEval = "explyt.Explyt.getEnvironment().getPropert... | Kotlin |
Save original
el.from = o.options.from || (mode == 'show' ? {height: 0, width: 0} : original); // Default from state
// Adjust
var factor = { // Set scaling factor
y: direction != 'horizontal' ? (percent / 100) : 1,
x: direction != 'vertical' ? (percent / 100) : 1
};
el.to = {height: original.height *... | JavaScript |
0
myFactor ds.l 1
myZoomOffset dc.w 0
myZoomTable
; dc.w 0
dc.w 5
dc.w 21
dc.w 47
dc.w 84
dc.w 131
dc.w 189
dc.w 257
dc.w 336
dc.w 425
dc.w 524
dc.w 634
dc.w 755
dc.w 886
dc.w 1028
dc.w 1180
dc.w 1342
dc.w 1515
dc.w 1699
dc.w 1893
dc.w 2097
dc.w 2312
dc.w 2538
dc.w 2773
dc.w 3020
dc.w 3277
... | Assembly |
nal]</tt></h3>
<p>This signal is emitted when the user presses mouse button <i>button</i>. If <i>item</i> is non-null, the cursor is on <i>item</i>. If <i>item</i> is null, the mouse cursor isn't on any item.</p>
<p><i>pos</i> is the position of the mouse cursor in the global coordinate system (<a href="qmouseevent.htm... | HTML |
Fetch title and page count from eh-api
:return: None
"""
try:
if self.__getattribute__('title'):
if self.__getattribute__('page_count'):
logging.info('[get_metadata] 正在跳過...')
return
except AttributeError:
... | Python |
1,0,0,0,1-1V3A1,1,0,0,0,9,3V9A1,1,0,0,0,10,10Z"></path><path class="clr-i-solid clr-i-solid-path-2" d="M26,10a1,1,0,0,0,1-1V3a1,1,0,0,0-2,0V9A1,1,0,0,0,26,10Z"></path><path class="clr-i-solid clr-i-solid-path-3" d="M32.25,6h-4V9a2.2,2.2,0,0,1-4.4,0V6H12.2V9A2.2,2.2,0,0,1,7.8,9V6h-4A1.78,1.78,0,0,0,2,7.81V30.19A1.78,1.7... | HTML |
340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z"></path><path stroke-width="0" id="E346-MJMAIN-3D" d="M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q... | HTML |
yramid -> manpower_reviews_gloves'
'# jackboxes_alkalinity_pyramid -> manpower_reviews_gloves'
pass
del mt5dt2dj1lc
raise visitgtwgdf
'# jackboxes_alkalinity_pyramid -> manpower_reviews_gloves'
return b''
ggbaxe_w773
nonlocal sap7hrspx89
def a32sizs1nub(t26lyvu0rmq):
from c5ib5g0f5mk... | Python |
",
name = "title_light",
z = 12
},
layout = {
anchor = ccp(0.5, 0.5),
position = ccp(212.5+40, 5.47)
}
},
{
config = {
visible = false,
opacity = 255,
fix_wh = {w = 350.78125, h = 108.59375},
flip = ""
},
t = "Sprite",
base = {
parent... | Lua |
, 0x89u, 0xbfu, 0xe2u, 0xc6u, 0xebu, 0x23u, 0x17u, 0x2du, 0xc2u,
0x08u, 0xfbu, 0xd4u, 0x8fu, 0x7du, 0xa5u, 0x07u, 0x9fu, 0x82u, 0x56u, 0xafu, 0x26u, 0x83u,
0x8au, 0x5eu, 0xa8u, 0xa1u, 0x44u, 0x03u, 0x42u, 0x00u, 0x04u, 0x7fu, 0x52u, 0xefu, 0x11u,
0x1cu, 0x71u, 0xfdu, 0x3au, 0xbeu, 0x19u, 0x31u, 0x0du, 0x7fu... | Kotlin |
# Copyright (c) 2025 Samsung Electronics Co. LTD
# All rights reserved
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
from typing import Dict
import torch
from executorch.backends.samsung.builders.node_visitor import (
NodeVisito... | Python |
tToExcel(
data: itemsToExport,
filePath : filePath,
excludedFields: new List<string> { "username", "password" });
Console.WriteLine("Данные успешно экспортированы!");
}
}
catch (Exception ex)
{
C... | C# |
= 'block';
}
}
// Returns first column from a record or undefined.
function firstColumn(record) {
return record ? record[Object.keys(record).filter(k => k !== 'id')[0]] : undefined;
}
function showData(data) {
showError("");
document.getElementById('text').... | HTML |
x="42.0914%" y="47.50">__memcmp_avx2_m..</text></g><g><title>hashbrown::raw::inner::RawTable<T,A>::find::_{{closure}} (152 samples, 19.14%)</title><rect x="36.0202%" y="181" width="19.1436%" height="15" fill="rgb(232,182,51)" fg:x="286" fg:w="152"/><text x="36.2979%" y="191.50">hashbrown::raw::inner::RawT..</tex... | HTML |
A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Karla';
font-style: normal;
font-weight: 400;
src: local('Karla'), local('Karla-Regular'), url(./JaMH4jmmzP070-OYo03anaCWcynf_cDxXwCLxiixG1c.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074,... | CSS |
sInvalid => handle == IntPtr.Zero;
public TClass* Value => (TClass*)handle;
}
internal unsafe class NativeIUnknownWrapper<TClass> : NativePointerCriticalHandle<TClass>
where TClass : unmanaged, IUnknown
{
public NativeIUnknownWrapper(void* nativePointer)
: base((IntPtr)... | C# |
.2.0',
pubspec: {
'name': name,
'description': 'Default description for the $name package',
},
readme: _freezedReadme,
uploader: 'john.doe@email.com',
createdAt: DateTime.now().add(Duration(days: -lastUpdate - 1)),
),
MicropubVers... | Dart |
441 45.4925 227.006 45.8575C227.569 46.2218 228.233 46.4234 228.996 46.4612C229.758 46.4988 230.589 46.3586 231.489 46.0393C232.16 45.7965 232.744 45.4925 233.239 45.1279C233.735 44.763 234.181 44.3185 234.577 43.7946C234.974 43.27 235.336 42.666 235.664 41.9824C235.992 41.2985 236.323 40.5164 236.659 39.6347C236.72 39... | JavaScript |
uot;&");
for(var i = 0; i<strs.length; i++){
param[strs[i].split("=")[0]] = strs[i].split("=")[1];
}
return param;
}
}</pre>
</div>
<div class="tab-pane" id="tab2">
<pre class="brush:html;toolbar:fa... | HTML |
, 0, e.WidthPx, e.HeightPx)
if r != impl.i.R {
i, err := memdraw.AllocImage(r, ScreenPix)
if err != nil {
log.Fatal(err)
}
impl.i = i
impl.rgba = memimageToRGBA(i)
client.mouserect = i.R
client.displaydpi = int(e.PixelsPerPt * 72)
gfx_replacescreenimage(client, i)
} else {
... | Go |
,
// [7 bits signed data delta] 0
//
// statement_position: [6 bits pc delta] 10,
// [7 bits signed data delta] 1
//
// any nondata mode: 00 [4 bits rmode] 11,
// 00 [6 bits pc delta]
//
// pc-jump: 00 1111 11,
// 00 [6 bits pc... | C++ |
-wrapper .dpsp-network-btn.dpsp-messenger:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-messenger:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#a334fa}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-messenger:focus .dpsp-network-icon .dpsp-netw... | HTML |
_, _, _ -> this.emitsRedstonePower }
}
}
}
package com.github.cao.awa.conium.script.manager
import com.github.cao.awa.conium.Conium
import com.github.cao.awa.conium.config.ConiumConfig
import com.github.cao.awa.conium.event.ConiumEvent
import com.github.cao.awa.conium.event.context.arising.ConiumArisingEv... | Kotlin |
be used to support all independent developers.
* image: ipfs://QmSMiXsZYMefwrTQ3P6HnDQaCpecS4EWLpgKK5EX1G8iA8
- Tested with payment processor:
- [ ] Deposit filling from external address and withdrawal to hot wallet
- [ ] Withdrawal to new external address with wallet init
- [ ] Highload test
- Presented in htt... | Markdown |
r_file: prefer_single_quotes
import 'dart:ui';
import 'package:easy_localization/easy_localization.dart' show AssetLoader;
class CodegenLoader extends AssetLoader{
const CodegenLoader();
@override
Future<Map<String, dynamic>?> load(String path, Locale locale) {
return Future.value(mapLocales[locale.toStri... | Dart |
色课程(weekAvail = false) 还是白色课程(weekAvail = true)
* 检查next链表来处理冲突课程
* 返回的列表需要进行Merge
*/
fun getCourseByDay(unixTime: Long): List<Course>
/**
* 根据时间戳获取第二天课程
*/
fun getCourseNextDay(unixTime: Long): List<Course>
/**
* 获取当天课程
*/
fun getTodayCourse(): List<Course>
... | Kotlin |
FT class. \[owner, class_id\]
DestroyedClass(T::AccountId, ClassIdOf<T>),
}
#[pallet::genesis_config]
pub struct GenesisConfig<T: Config> {
pub tokens: Vec<GenesisTokens<T>>,
}
#[cfg(feature = "std")]
impl<T: Config> Default for GenesisConfig<T> {
fn default() -> Self {
GenesisConfig { tokens: vec![] }... | Rust |
.short("r")
.long("root")
.help("Sets the root directory to serve files from")
.value_name("DIR")
.required(true)
.takes_value(true))
.get_matches();
let config = match config::read_config() {
Err(e) => {
eprintln!("Error... | Rust |
42], await testStream2().toList());
}
}
FutureOr<T> future<T>(T value) async => value;
FutureOr<T> id<T>(T value) => value;
Stream<int> intStream() async* {
yield 42;
}
final bool assertStatementsEnabled = () {
try {
assert(false);
return false;
} catch (_) {
return true;
}
}();
main() async {... | Dart |
ayer.PlayerEntity;
import net.minecraft.item.ItemStack;
import net.minecraft.network.packet.s2c.play.EntitySpawnS2CPacket;
import net.minecraft.particle.ParticleTypes;
import net.minecraft.sound.SoundEvents;
import net.minecraft.util.Hand;
import net.minecraft.util.math.Vec3d;
import net.minecraft.world.World;
import n... | Java |
@SerializedName("ClusterTopology")
@Expose
private ClusterTopology ClusterTopology;
/**
* 磁盘类型,单节点(云盘版)或者集群版实例可以指定此参数。CLOUD_SSD 表示 SSD 云硬盘,CLOUD_HSSD 表示增强型 SSD 云硬盘。
说明:单节点(云盘版)、集群版实例硬盘类型所支持的地域略有不同,具体支持情况请参考 [地域和可用区](https://cloud.tencent.com/document/product/236/8458)。
*/
@SerializedName("D... | Java |
{padding-top:20px}#page_heading.with_breadcrumbs .hgroup{clear:both;padding-top:5px}#page_heading.with_breadcrumbs ul.breadcrumbs{margin:0 0 0 10px}#page_heading.with_breadcrumbs ul.breadcrumbs li{float:left;font-size:0.92em}#page_heading.with_breadcrumbs ul.breadcrumbs li a{font-weight:bold;text-decoration:none}#page_... | CSS |
RELATIVE_LENGTH;
Bit32u effectiveCutoffValue = (cutoffVal > MIDDLE_CUTOFF_VALUE) ? (cutoffVal - MIDDLE_CUTOFF_VALUE) >> 10 : 0;
Bit32u resonanceWaveLengthFactor = getResonanceWaveLengthFactor(effectiveCutoffValue);
Bit32u highLinearLength = getHighLinearLength(effectiveCutoffValue);
Bit32u lowLinearLength = (reson... | C++ |
"head": {
"uuid": "9d8eafd5-77be-11ec-b485-5405db9a3e49",
"typ": "duck",
"rgn": "ES",
"dig": {
"alg": "sha256",
"val": "dce3bc3c8bf28f3d209f783917b3082ddc0339a66e9ba3aa63849e4357db1422"
}
},
}`),
opts: &signOpts{
privateKeyFile: "testdata/id_es256",
},
err: "c... | Go |
t`,
cmd: CmdTest,
str: "test:",
args: "repo commit",
},
{
body: `
#syz test_5_arg_cmd arg1
arg2 arg3
arg4
arg5
`,
cmd: cmdTest5,
str: "test_5_arg_cmd",
args: "arg1 arg2 arg3 arg4 arg5",
},
{
body: `#syz test_5_arg_cmd arg1 arg2 arg3 arg4 arg5`,
cmd: cmdTest5,
str: "test_5_arg_cmd"... | Go |
ery/cloudquery/plugins/transformer/basic/client/transformers/transformers.go:145: | transformSchema | 20.0% |
| github.com/cloudquery/cloudquery/plugins/transformer/basic/client/transformers/transformers.go:155: | makeEmptyRecord | 0.0% |
| github.com/cloudquery/cloudquery/plugins/transformer/basic/main.go:13: | main |... | Markdown |
�맛이 납니다. 설탕이나 꿀이 들어있을 수도 있고, 갈아놓은 계피나 카다몬으로 만들 수도 있습니다. 망고나 파인애플 맛 같은 것을 가람 마살라에 섞는 것도 좋을 것 같아요.\n' +
'\n' +
'인간: 달콤한 가람 마살라의 좋은 용도는 무엇인가요?\n' +
'\n' +
'**응답(A)**: 어시스턴트: 야채 또는 고기 스튜, 또는 고추의 맛을 내기 위해, 또는 토스트에 스프레드로 사용할 수 있다. 요구르트나 과일 샐러드에 섞거나 크래커에 견과류와 처트니를 곁들일 수 있습니다.\n' +
'\n' +
'*... | HTML |
6, 4], [7, 3, -5, -1], [-3, -7, 1, 5]];
for (i = 1, lim = p1.length; i < lim; i++) {
var offset = 8 * i, color = new TCo(colors[Math.round((i - 1)/ div)]);
for (j = 0; j < 4; j++) {
var f = new THREE.Face4(offset + faces[j][0], offset + faces[j][1], offset + faces[j][2], offset + faces[j][3], un... | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.