content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
val kotlinVersion = KotlinVersion.CURRENT.toString()
val totalMemory = runtime.totalMemory() / mb
val freeMemory = runtime.freeMemory() / mb
val usedMemory = totalMemory - freeMemory
val maxMemory = runtime.maxMemory() / mb
val currentClusterName = currentCluster.name
... | Kotlin |
-img rc-anchor-logo-img-large"></div></div><div class="rc-anchor-pt"><a href="https://www.google.com/intl/en/policies/privacy/" target="_blank">Privacy</a><span aria-hidden="true" role="presentation"> - </span><a href="https://www.google.com/intl/en/policies/terms/" target="_blank">Terms</a></div></div><div class="rc-a... | HTML |
@$(BLUEPRINT_FILENAME).function_name("CreateChatBot")
@$(BLUEPRINT_FILENAME).route(route="chats/{chatID}", methods=["PUT"], auth_level=func.AuthLevel.$(AUTHLEVEL_INPUT))
@$(BLUEPRINT_FILENAME).assistant_create_output(arg_name="requests")
def create_chat_bot(req: func.HttpRequest, requests: func.Out[str]) -> func.HttpRe... | Python |
> spPropertyValue;
ARG_VALIDRETURNPOINTER(pValue);
IFC(GetComposableBase().As(&spThisAsDO));
IFC(spThisAsDO->GetValue(DatePickerFlyoutPresenterFactory::s_IsDefaultShadowEnabledProperty.Get(), &spValueAsII));
IFC(spValueAsII.As(&spPropertyValue));
IFC(spPropertyValue->GetBoolean(pValue... | C++ |
; i < N; ++i) {
const uint64_t v1 = rnd1->nextULong();
const uint64_t v2 = rnd2->nextULong();
assertTrue(v1 == v2);
}
rnd1->seed(rnd2);
for (int i = 0; i < N; ++i) {
const uint64_t v1 = rnd1->nextULong();
const uint64_t v2 = rnd2->nextULong();
assertTrue(v1 != v2);
}
}
// Simple benchmark based on t... | C++ |
writeFilePromise(o,t,{mode:493}),await ye.updateConfiguration(n,{yarnPath:l});let c=await ot.tryFind(n)||new ot;c.packageManager=`yarn@${e&&Ie.isTaggedYarnVersion(e)?e:await Jm(r,"stable")}`;let u={};c.exportTo(u);let g=x.join(n,ot.fileName),f=`${JSON.stringify(u,null,c.indent)}
`;await O.changeFilePromise(g,f,{automat... | JavaScript |
dl.show()
LOAD_ITEM_SCROLL_MODE -> loadScrollMode(msg.arg1, msg.obj as? Runnable?)
LOAD_SCROLL_MODE -> loadScrollMode()
LOAD_ITEM_IMAGES_INTO_LINE -> wv.get()?.lifecycleScope?.launch { loadImagesIntoLine(msg.arg1, msg.obj as? Runnable?) }
LOAD_IMAGES_INTO_LINE -> wv.get... | Kotlin |
that version. You can select the tag in the Github "Current Branch" menu or clone and check it out using git.
For example, the following commands will clone ofxMidi and switch to the OF 007 tagged version:
<pre>
git clone git://github.com/danomatika/ofxMidi.git
cd ofxPd
git checkout 007
</pre>
Midi Routing
---------... | Markdown |
-block-top-texture.webp") no-repeat,repeat top center,#fdf1dc}.ve-night-mode #pagecontent{background:#222 !important}[data-proficiency-dice-mode=dice] .rd__dc--rollable{color:#337ab7;cursor:pointer}[data-proficiency-dice-mode=dice] .rd__dc--rollable-text,[data-proficiency-dice-mode=dice] .rd__roller--roll-prof-bonus{di... | CSS |
H S SK Jr \" \5 rS/rS\S\\\\ 4 4S jr g)
get_logger!log_debug_info_for_expired_timersrun_idexpired_timersc @ U( a [ R SX5 g g )N!Timers expired for run:[%s] [%s].loggerinf... | Python |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
using System;
using System.Diagnostics;
namespace BombActor
{
class Program
{
static Random _random;
static void Main(string[] args)
{
Prot... | C# |
de language-text codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">http://127.0.0.1:9096/h2-console</span><br></span></code></pre></div></div>
<h3 class="anchor anchorWithStickyNavbar_L... | HTML |
➡️)
intArrayOf(0x1f9d1, 0x200d, 0x1f9bd), // person in manual wheelchair (🧑🦽)
intArrayOf(0x1f9d1, 0x200d, 0x1f9bd, 0x200d, 0x27a1, 0xfe0f), // person in manual wheelchair facing right (🧑🦽➡️)
intArrayOf(0x1f9d1, 0x200d, 0x1f9d1, 0x200d, 0x1f9d2), // family: adult, adult, child (🧑🧑🧒)
intArray... | Kotlin |
" : false,
"private" : false,
"flagged" : false,
"gear_id" : "b12345678912343",
"from_accepted_tag" : false,
"average_speed" : 4.385,
"max_speed" : 8.8,
"average_cadence" : 69.8,
"average_watts" : 200,
"weighted_average_watts" : 214,
"kilojoules" : 1080,
... | Kotlin |
3)
optimizer=SGD(lr=learning_rate)
#학습에 사용하는 변수
data_size=len(x)
max_iters=data_size//batch_size
total_loss=0
loss_count=0
loss_list=[]
for epoch in range(max_epoch):
#데이터 뒤섞기
idx=np.random.permutation(data_size)
x=x[idx]
t=t[idx]
for iters in range(max_iters):
batch_x=x[iters*batch_size:... | Python |
.Control(PollReadable)
if err != nil {
logger.Printf("NETPOLL: connection register failed: %v", err)
c.Close()
return Exception(ErrConnClosed, err.Error())
}
return nil
}
// isIdle implements gracefulExit.
func (c *connection) isIdle() (yes bool) {
return c.isUnlock(processing) &&
c.inputBuffer.IsEmpty() &... | Go |
na","host_name":"Briana","id":4258086,"is_superhost":true,"last_name":"prune_me","picture_url":"https://a2.muscache.com/im/users/4258086/profile_pic/1404155648/original.jpg?aki_policy=profile_x_medium","profile_path":"/users/show/4258086","profile_pic_path":"https://a2.muscache.com/im/users/4258086/profile_pic/14041556... | HTML |
toArray(payload);
if(!arr.length){ owStore.innerHTML='<em>No sensors stored.</em>'; return; }
let html='';
for(const rec of arr){
const addr=esc(rec?.addr ?? '');
const name=(rec?.name)?esc(rec.name):'<em style="color:#777">(no name)</em>';
html += `
<div class="ow-ro... | HTML |
i = palette->GetValueColor(30.);
</pre>
Then it is possible to retrieve the RGB components in the following way:
<pre>
TColor *c = gROOT->GetColor(ci);
float x,y,z;
c->GetRGB(x,y,z);
</pre>
This function is used by <tt>TPaletteAxis::GetBinColor()</tt>.
</li>
</ul>
<h4>TAxi... | HTML |
/**
* 使用flash资源封装的一些功能
* @namespace baidu.flash
*/
baidu.flash = baidu.flash || {};
/**
* 操作dom的方法
* @namespace baidu.dom
*/
baidu.dom = baidu.dom || {};
/**
* 从文档中获取指定的DOM元素
* @name baidu.dom.g
* @function
* @grammar baidu.dom.g(id)
* @param {string|HTMLElement} id 元素的id或DOM元素.
* @shortcut g,T.G
* @... | JavaScript |
fferFree(BtdrvCircularBuffer *c) {
if (c==NULL || !c->initialized) return false;
s32 read_offset = atomic_load_explicit(&c->read_offset, memory_order_acquire);
s32 write_offset = atomic_load_explicit(&c->write_offset, memory_order_acquire);
if (read_offset == write_offset) return false;
u8 *data_p... | C |
15),
color: Colors.white,
child: new CircleAvatar(
backgroundImage: new NetworkImage(userInfo.headImg),
radius: 30.0
),
),
Expanded(
child: Text(userInfo.ni... | Dart |
¶</a></dt>
<dd></dd></dl>
<dl class="staticmethod">
<dt id="scitools.Lumpy.Diagram.__new__">
<em class="property">static </em><tt class="descname">__new__</tt><big>(</big><em>S</em>, <em>...</em><big>)</big> → a new object with type S, a subtype of T<a class="headerlink" href="#scitools.Lumpy.Diagram.__new__" tit... | HTML |
return utxoList.fold(0, (sum, utxo) => sum + utxo.amount) - outputSum - requiredFee < dustLimit;
}
bool _handleTransactionWithSelfOutputs(
PaymentType type,
List<Utxo> utxoList,
List<TransactionAddress> newOutputList,
List<TransactionAddress> selfOutputs,
double newFeeRate,
double estimated... | Dart |
Guid accountId,
[NotNull] string withdrawalMethod,
decimal amount
) : base(id)
{
TenantId = tenantId;
AccountId = accountId;
WithdrawalMethod = withdrawalMethod;
Amount = amount;
}
public void Complete(DateTime ... | C# |
metal skillet filled with ground beef, tomatoes, sweet potatoes, southwest spices and topped with melted cheese and cilantro. Wooden serving spoon in the skillet." data-pin-nopin="1" sizes="(max-width: 600px) 164px, 164px" decoding="async" srcset="https://reciperunner.com/wp-content/uploads/2020/09/Southwest-Ground-Be... | HTML |
/*
*
* Copyright 2015 gRPC authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | C |
fpuqsgg90l4nz8zgc3wx7gggm04xtwq59vftm25emwp9mtvmvjg756dyzn2dm98qpakw4u8';
final decodedPaymentRequest = decodeLightningPaymentRequest(paymentRequest);
expect(decodedPaymentRequest.prefix, equals('lnbc'));
expect(decodedPaymentRequest.network, equals('mainnet'));
expect(decodedPaymentRequest.amount, e... | Dart |
= innerParseSerializedValue(v, handles, refs);
return result;
}
if (value.h !== undefined) {
if (handles === undefined)
throw new Error('Unexpected handle');
return handles[value.h];
}
throw new Error('Unexpected value');
}
export type HandleOrValue = { h: number } | { fallThrough: any };
ty... | Typescript |
0 x-0">
<li class="py-2"><a href="/free-nodes/2025-1-30-free-node-subscribe.htm">「1月30日」最高速度22.1M/S,2025年Singbox每天更新免费机场订阅节点链接</a></li>
<li class="py-2"><a href="/free-nodes/2025-1-29-today-sing-box-node.htm"... | HTML |
n(
CodegenExpression reference,
CodegenMethodScope codegenMethodScope,
ExprForgeCodegenSymbol exprSymbol,
CodegenClassScope codegenClassScope);
}
public class ProxyIntervalDeltaExprForge : IntervalDeltaExprForge
{
public Func<IntervalDeltaExprEvaluato... | C# |
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#ifndef GC_THREADS
# define GC_THREADS
#endif
#define GC_NO_THREAD_REDIRECTS 1
#include "gc.h"
#include <stdio.h>
#include <stdlib.h>
#if (!defined(GC_PTHREADS) || defined(GC_SOLARIS_THREADS) \
|| defined(__native_client__)) && !defined(SKIP_THREADKEY_TEST)
... | C |
n=="absolute"?(h.style.top=(T-O.parent.top)/n+"px",Of(h,(y-O.parent.left)/r)):(h.style.top=T/n+"px",Of(h,y/r)),d){let _=c.left+(g?m.x:-m.x)-(y+14-7);d.style.left=_/r+"px"}l.overlap!==!0&&s.push({left:y,top:T,right:k,bottom:T+$}),h.classList.toggle("cm-tooltip-above",X),h.classList.toggle("cm-tooltip-below",!X),l.positi... | JavaScript |
--saf-0: rgba(var(--sk_foreground_high_solid, 134, 134, 134), 1);
border: 1px solid var(--saf-0);
border-radius: 4px;
padding: 8px 2px 8px 8px;
position: relative;
}
[lang] .c-texty_input {
font-family: Slack-Lato, appleLogo, sans-serif;
}
[lang='ja-JP'] .c-texty_input {
font-family: NotoSansJP, Slack-... | CSS |
audioout 4 times. note <<9 instead of <<10, to prevent clipping, and to simulate that the filtered output normally has a somewhat lower amplitude than the driven one.
outputs[0][i] = ((((INT16)chip->audioout)-8)<<10)*chip->VSU1000_amp;
}
}
}
static DEVICE_START( s14001a )
{
S14001AChip *chip = get_safe_token(de... | C |
5 3.5.0 014.95.0.751.751.0 01-.018 1.042.751.751.0 01-1.042.018 1.998 1.998.0 00-2.83.0l-2.5 2.5a1.998 1.998.0 000 2.83z"/></svg></a></h2><p>输出包括一行第一行包括一个数,表示最小代价</p><h2 class=heading-element id=示例-1><span>4 示例 1</span>
<a href=#%e7%a4%ba%e4%be%8b-1 class=heading-mark><svg class="octicon octicon-link" viewBox="0 0 16 1... | HTML |
.byte 0,12,0x14,0,0,0,3,0
.long 0
.size .aes_p8_decrypt,.-.aes_p8_decrypt
.size aes_p8_decrypt,.-.aes_p8_decrypt
.globl aes_p8_cbc_encrypt
.type aes_p8_cbc_encrypt,@function
.section ".opd","aw"
.align 3
aes_p8_cbc_encrypt:
.quad .aes_p8_cbc_encrypt,.TOC.@tocbase,0
.previous
.align 5
.aes_p8_cbc_encrypt:
cmpldi 5,16
... | Assembly |
if err != nil {
t.Fatalf("failed to generate test key: %s", err)
}
tests := []struct {
name string
issuer *Certificate
err string
}{
{
name: "valid",
issuer: &Certificate{
Version: 3,
BasicConstraintsValid: true,
IsCA: true,
PublicKeyAlgorithm: E... | Go |
windows" {
t.Skip("Skipping in short mode") // takes up to 64 seconds
}
got := executeTest(t, cgoSignalDeadlockSource, nil)
want := "OK\n"
if got != want {
t.Fatalf("expected %q, but got %q", want, got)
}
}
func TestCgoTraceback(t *testing.T) {
got := executeTest(t, cgoTracebackSource, nil)
want := "OK\n"
... | Go |
.true;
});
it('should return true if the value is not a possibility anywhere else in the row', () => {
// Remove 5 as a possible value throughout the column
puzzleSolver.possibilityGrid.getRowCells(1).forEach(cell => {
if (cell.id === 1) {
return;
}
puzzleSolver.p... | Typescript |
ble } from 'rxjs';
import { map } from 'rxjs/operators';
import { Constants } from './../../../../constants';
import { environment } from './../../../environments/environment';
import {Exemple} from '../../shared/models/exemple.model';
/**
* Définit le content-type du header
*/
const httpOptions = {
headers: new... | Typescript |
emuloop
@ wait for timer 0
@ (do not wait if we missed the IRQ)
mov r0, #0
mov r1, #0x00000008
swi #0x40000
b frameloop
.ltorg
@ --- Addressing modes --------------------------------------------------------
.macro GetAddr_Imm dst=r0
Prefetch16 \dst
.endm
.macro GetOp_Imm dst=r0
Prefetch8 \dst... | Assembly |
height-super-header);
padding-bottom: 24px;
padding-bottom: var(--dvui-spacing-500);
padding-top: 24px;
padding-top: var(--dvui-spacing-500);
}
html:not([dir="rtl"]) .NsL8tJ.NsL8tJ.NsL8tJ {
padding-left: var(--dv-carousel-column-margin);
}
html[dir="rtl"] .NsL8tJ.NsL8tJ.NsL8tJ {
padding-right: var(--dv-caro... | CSS |
byte $41, $16
.word @song1ref449
.byte $34, $81, $21, $81, $34, $81, $32, $81, $21, $81
.byte $41, $20
.word @song1ref449
.byte $41, $16
.word @song1ref449
.byte $34, $81, $21, $81, $34, $81, $32, $81, $21, $81
.byte $41, $20
.word @song1ref449
.byte $41, $16
.word @song1ref449
.byte $34, $81, $21, $81, $34... | Assembly |
ags.StringVarP(flagSet, &cfg.TLSKey, prefix+"key", "", cfg.TLSKey, "Path to TLS PEM private key file", prefix)
flags.StringVarP(flagSet, &cfg.ClientCA, prefix+"client-ca", "", cfg.ClientCA, "Path to TLS PEM CA file with certificate authorities to verify clients with", prefix)
flags.StringVarP(flagSet, &cfg.BaseURL, p... | Go |
(identical(other.shopUrl, shopUrl) || other.shopUrl == shopUrl));
}
@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(
runtimeType, sellerNick, pictUrl, shopTitle, shopType, userId, shopUrl);
@override
String toString() {
return 'ShopIn... | Dart |
!parser.ignoreTbl[token] && parser.onKeyword) {
parser.onKeyword(token, depth, pos);
}
if(parser.variableTbl[token] && !parser.ignoreTbl[token] && parser.onVariable) {
// Get some input immediately before and after the token,
// for quickly testing regexp matches.
const chunkStart = Math.max(last - chunkSiz... | Typescript |
[allow(unused_mut)]
let mut scope_1206 = writer.prefix("Ipv6PrefixCount");
if let Some(var_1207) = &input.ipv6_prefix_count {
scope_1206.number(
#[allow(clippy::useless_conversion)]
aws_smithy_types::Number::NegInt((*var_1207).into()),
);
}
Ok(())
}
#[allow(unuse... | Rust |
ved a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma warning disable CS0108 // Member hides inherited member; missing new keyword
#pragma warning disable CS0626 // Method, operator, or accessor is marked external and has no attributes on it
/// <... | C# |
was JBE */
JB (.L7)
CMP_L (CONTENT(GLNAME(vgaWriteTop)),addrb)
JAE (.L10)
DEC_L (ECX)
JNZ (.writeloopS)
JMP (.allfinish)
.L10: PUSH_L (addrb)
CALL (GLNAME(vgaReadWriteNext))
MOV_L (tmp,addrb)
ADD_L (CONST(4),ESP)
DEC_L (ECX)
JNZ (.writeloopS)
JMP (.allfinish)
.L7: PUSH_L (addrb)
CALL (GLNAME(vgaReadWritePr... | Assembly |
olor: #815ba4; }
.cm-s-paraiso-dark span.cm-number { color: #815ba4; }
.cm-s-paraiso-dark span.cm-property, .cm-s-paraiso-dark span.cm-attribute { color: #48b685; }
.cm-s-paraiso-dark span.cm-keyword { color: #ef6155; }
.cm-s-paraiso-dark span.cm-string { color: #fec418; }
.cm-s-paraiso-dark span.cm-variable { color:... | CSS |
.include "asm/macros.inc"
.include "global.inc"
.extern gSystem
.section .rodata
.global UNK_020F9D28
UNK_020F9D28: ; 0x020F9D28
.byte 0x60, 0x68, 0x50, 0x58
.global UNK_020F9D2C
UNK_020F9D2C: ; 0x020F9D2C
.byte 0x04, 0x07, 0x0D, 0x0A
.global UNK_020F9D30
UNK_020F9D30: ; 0x020F9D30
.byte 0x03, 0x06, 0x0C,... | Assembly |
media screen and (min-width:768px){.entry h2:before{content:"\f101";font-family:'ticons';display:block;float:left;font-size:.8em;width:1.65em;height:1.65em;line-height:1.5em;text-align:center;color:#f8aea6;border:.1em solid #f8aea6;border-radius:100%;margin-right:8px;background-color:#e4f9f8}}@media screen and (min-wid... | HTML |
teStatus(status: string) {
return instance.put<UpdateStatusResponseType>('profile/status', {status: status})
},
savePhoto(photoFile: any) {
const formData = new FormData()
formData.append('image', photoFile)
return instance.put<SavePhotoResponseType>('profile/photo', formData, {
... | Typescript |
("GITHUB_REF")
val isGitHubBranchOrTag =
gitHubRef != null && (gitHubRef.startsWith("refs/heads/") || gitHubRef.startsWith("refs/tags/"))
if (isApachePolarisGitHub && isGitHubBranchOrTag) {
// Use the ASF's Develocity instance when running against the Apache Polaris repository against
// a branch or tag... | Kotlin |
param window the window of which to change the border state
/// \param bordered SDL_FALSE to remove border, SDL_TRUE to add border
///
/// \since This function is available since SDL 2.0.0.
///
/// \sa SDL_GetWindowFlags
void SDL_SetWindowBordered(
ffi.Pointer<SDL_Window> window,
SDL_bool bordered,
... | Dart |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ObjectBasedSourceCode.cs" company="https://github.com/StyleCop">
// MS-PL
// </copyright>
// <license>
// This source code is subject to terms and conditions of the Microsoft ... | C# |
oadAllMapJsonComplete(data):void{
var jsonObj:Object = JSON.parse(data);
var layers:Array<Object> = jsonObj["layers"];
layers.forEach(layer => {
if(layer["name"] == "background")
{
this.mapLayerData.parse(layer);
}
else if(layer["name"] == "builder")
{
this.builderLayerData.parse(laye... | Typescript |
gs=LOAD_LIBRARY_AS_DATAFILE,LPTSTR pszPathOut = NULL,size_t sizeInCharacters = 0 )
{
HMODULE hmod;
TCHAR driverpath[_MAX_PATH + 1], exepath[_MAX_PATH + 1];
LPTSTR p;
GetModuleFileName(GetModuleHandle(NULL), driverpath, _MAX_PATH);
// find path of tool
p = driverpath + _TCSNLEN(driverpath, ... | C++ |
axp-session-timeout__sessionTimeout__timeoutWarning___a7rt7 {
width: 95%;
max-width: 640px;
padding: 1rem
}
@media (min-width:768px) {
.axp-session-timeout__sessionTimeout__timeoutWarning___a7rt7 {
width: 640px;
padding: 1rem
}
}
.axp... | CSS |
Dialog.Language;
StringBuilder logBuilder = new();
if (isLevelSet)
logBuilder.Append("Level set ");
logBuilder.AppendFormat("Dialog ID \"{0}\" has no translation in {1}", dialogId, language.FilePath);
if (language != FallbackLanguage)
l... | C# |
dropdown .uk-nav-header{color:#999}.uk-nav-dropdown .uk-nav-divider{border-top:1px solid #ddd}.uk-nav-dropdown ul a{color:#07D}.uk-nav-dropdown ul a:hover{color:#059}.uk-nav-navbar>li>a{color:#444}.uk-nav-navbar>li>a:focus,.uk-nav-navbar>li>a:hover{background:#00a8e6;color:#fff;outline:0;box-shadow:inset 0 0 5px rgba(0... | CSS |
using UnityEngine;
namespace NaughtyAttributes.Test
{
public class FoldoutTest : MonoBehaviour
{
[Foldout("Integers")]
public int int0;
[Foldout("Integers")]
public int int1;
[Foldout("Floats")]
public float float0;
[Foldout("Floats")]
public fl... | C# |
alTile: TileElement,
captureOccured = false,
path: TileElement[] = [],
): TileElement[][] => {
const pathsArr: TileElement[][] = []
tiles[row][tile].stepped = true
/* Forward Movement */
if (tiles[row + rStep]?.[tile + tStep] && !tiles[row + rStep][tile + tStep][friend]) {
// if not friend
... | Typescript |
DF90 */ jal Math_Vec3f_Copy
## Vec3f_Copy
/* 1DD4C 8084FF5C 26050024 */ addiu $a1, $s0, 0x0024 ## $a1 = 00000024
/* 1DD50 8084FF60 10000001 */ beq $zero, $zero, .L8084FF68
/* 1DD54 8084FF64 00001025 */ or $v0, $zero, $zero ## $v0 = 00000000
.L8084FF68:
/* 1DD58 808... | Assembly |
ly used LoRAs will
be unloaded if the cache is above capacity."""
_manager_cls: type[LRUCacheLoRAModelManager] = LRUCacheLoRAModelManager
def create_lora_manager(
self,
model: torch.nn.Module,
) -> Any:
lora_manager = create_lora_manager(
model,
lora_man... | Python |
0-27.4-31.9-41.8-52.5-24.6L11.5 232c-15.3 12.8-15.3 36.4 0 49.1zM32 256.6L224 96v320L32 256.6z"],
"bacon": [576, 512, [], "f7e5", "M566.93 104.4L470.81 8.91a31 31 0 0 0-40.18-2.83c-13.64 10.1-25.15 14.39-41 20.3C247 79.52 209.26 191.29 200.65 214.11c-29.75 78.82-89.55 94.67-98.72 98.08-24.86 9.26-54.73 20.38-91.07 ... | JavaScript |
X", (int) '\u318F'));
// Populate char[] of whitespace characters.
int i = 0;
WHITESPACE_CHARS = new char[WHITESPACE_STRINGS.size()];
for (Char2ObjectMap.Entry<String> entry : WHITESPACE_TO_ESCAPE.char2ObjectEntrySet())
WHITESPACE_CHARS[i++] = entry.getCharKey();
}
}
package software.coley.recaf.path;
imp... | Java |
付宝网关地址(新)
*/
this.alipay_gateway_new = 'https://mapi.alipay.com/gateway.do?';
this.alipay_config = alipay_config;
}
/**
* 生成签名结果
* @param para_sort 已排序要签名的数组
* return 签名结果字符串
*/
AlipaySubmit.prototype.buildRequestMysign = function (para_sort) {
//把数组所有元素,按照“参数=参数值”的模式用“&”字符拼接成字符串
var prestr = ... | JavaScript |
TLD:
"\\.(([A-Za-z][A-Za-z0-9]+)|([A-Za-z0-9]+[A-Za-z])|([A-Za-z0-9]+[A-Za-z][A-Za-z0-9]+))$"
val WEBFINGER_ID_REGEX_PATTERN = Pattern.compile(WEBFINGER_ID_REGEX)
private val USERNAME_REGEX_SIMPLE: String = "^[_A-Za-z0-9-+]+(\\.[_A-Za-z0-9-]+)*$"
val USERNAME_REGEX_SIMPLE_PATTERN = Pattern.compile(... | Kotlin |
�试,跨平台系统对接等工作;
2、独立设计并实施高质量的测试方案,执行测试用例,分析并跟踪软件缺陷,推动问题闭环解决;
3、通过接口自动化测试、性能测试、稳定性测试等多种手段,识别潜在风险,提升整体产品质量;
4、参与测试工具、测试平台的设计与开发,推动测试工作的标准化和自动化;
5、与研发、产品团队紧密协作,提出流程优化建议,促进质量保障体系的持续改进。
</details>
<details>
<summary>职位要求</summary>
1、计算机相关专业本科及以上学历,3年以上软件测试或测试开发经验;
2、熟悉主流测试方法和测试流程,擅长接口测试、自动化测试、性能测试等技能;
3、精通Python或Java... | Markdown |
our
rights under this License (including the grants in Sections 2.1 and
2.2) will terminate immediately.</p>
<h2>4. Disclaimer of Warranty.</h2>
<p>THE WORK IS PROVIDED “AS IS” WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WARRANTIES OR CONDITIONS OF
MERCHANTABILITY, F... | HTML |
null,
true,
false,
user.CreatedOn,
System.DateTime.MinValue,
System.DateTime.MinValue,
System.DateTime.MinValue,
System.DateTime.MinValue)).ToList();
var collect... | C# |
%A8%E7%89%A9%E7%94%9F%E7%90%86%E5%AD%A6-%E5%91%A8%E6%99%BA%E6%84%9A/" class="md-nav__link">
动物生理学 周智愚
</a>
</li>
<li class="md-nav__item">
<a href="../%E6%99%AE%E9%80%9A%E5%8A%A8%E7%89%A9%E5%AD%A6-%E9%83%91%E5%85%B4/" class="md... | HTML |
"user.entered_place" -> USER_ENTERED_PLACE
"user.exited_place" -> USER_EXITED_PLACE
"user.entered_region_country" -> USER_ENTERED_REGION_COUNTRY
"user.exited_region_country" -> USER_EXITED_REGION_COUNTRY
"user.entered_region_dma" -> USER_ENTERED... | Kotlin |
f\u9ed1\u8bdd\u5f55\u300b\u3002", "type": "paragraph"}]}
</script>
<p>
<a href="index.htm">
[返回索引页面]
</a>
</p>
<h1>
刘少奇在济南的讲话
</h1>
<p>
日期:1964-7-10 作者:刘少奇
</p>
<em>
刘少奇
</em>
<p>
(一九六四年七月十日,中共中央华东局第一书记魏文伯、中共山东省委第一书记谭启龙等在座)
</p>
<p>
我今天想讲这么一个问题,就是这次中央工作会议提出的两种劳动制度两种教育制度的... | HTML |
tr><tr><td colspan="2" style="padding-left: 1em;"><div class="floatright"><a href="./文件-precious_-singing_beautiful_girls-封面.jpg.md" class="image" title="precious -singing beautiful girls-"><img alt="precious -singing beautiful girls-" src="https://upload.thwiki.cc/thumb/f/f5/precious_-singing_beautiful_girls-%E5%B0%81... | Markdown |
format!("redis://{}:{}@{}", self.username, self.password, self.host)
}
}
impl PostgresSettings {
pub fn with_db(&self) -> PgConnectOptions {
self.without_db().database(&self.database_name)
}
pub fn without_db(&self) -> PgConnectOptions {
let ssl_mode = if self.require_ssl {
... | Rust |
ons.ApiRequestError] if the API endpoint returned an
/// error.
///
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<GoogleSecuritySafebrowsingV4FindThreatMatchesResponse> find(
GoogleSecuritySafebrowsingV4FindTh... | Dart |
_CONFIG";
/* State errors. */
case MA_DEVICE_NOT_INITIALIZED: return "MA_DEVICE_NOT_INITIALIZED";
case MA_DEVICE_ALREADY_INITIALIZED: return "MA_DEVICE_ALREADY_INITIALIZED";
case MA_DEVICE_NOT_STARTED: return "MA_DEVICE_NOT_STARTED";
case MA_DEVICE_NOT_STOPPED: return "MA_DEVICE_NOT_STOPPED";
... | C++ |
../../js/vue.js" charset="utf-8"></script>
<script>
layui.use(['form', 'table', 'laydate', 'http'], function() {
var $ = layui.jquery;
var form = layui.form;
var table = layui.table;
var http = layui.http;
var laydate = layui.laydate;
... | HTML |
SP(30).toMM()
```
### [EasyFormatter](./docs/EasyFormatter.md)
> [点我查看完整使用文档](./docs/EasyFormatter.md)
> [点击下载组件源码文件进行使用](https://raw.githubusercontent.com/yjfnypeu/EasyAndroid/master/utils/src/main/java/com/haoge/easyandroid/easy/EasyFormatter.kt)
> 用于对任意类型数据,进行格式化输出排版,结合log打印组件使用,使log输出展示更清晰
- 支持对`Set/List/Map/J... | Markdown |
CreateStatsFeedbackTable = `CREATE TABLE IF NOT EXISTS mysql.stats_feedback (
table_id BIGINT(64) NOT NULL,
is_index TINYINT(2) NOT NULL,
hist_id BIGINT(64) NOT NULL,
feedback BLOB NOT NULL,
INDEX hist(table_id, is_index, hist_id)
);`
// CreateBindInfoTable stores the sql bind info which is used to u... | Go |
LDREG -1*REG_SZ(%sp), %r27
LDREG -2*REG_SZ(%sp), %r29
ldo -2*REG_SZ(%sp), %sp
callee_rest
#endif
LDREG -RP_OFFSET(%sp), %rp /* restore RP */
bv 0(%rp)
nop
# define PUSH_CR(r, where) mfctl r, %r1 ! STREG,ma %r1, REG_SZ(where)
# define POP_CR(r, where) LDREG,mb -REG_SZ(where), %r1 ! mtctl %r1, r
.text
save_c... | Assembly |
indowMask;
const LEAVE_WINDOW = xlib::LeaveWindowMask;
const POINTER_MOTION = xlib::PointerMotionMask;
const POINTER_MOTION_HINT = xlib::PointerMotionHintMask;
const BUTTON_1_MOTION = xlib::Button1MotionMask;
const BUTTON_2_MOTION = xlib::Button2MotionMask;
const BUTTON_3... | Rust |
a, 0));
Expect.equals("b", test_charat(a, 1));
Expect.equals("c", test_charat(a, 2));
Expect.throws(() => test_charat(a, 3));
Expect.equals("a", test_const_str(0));
for (var i = 0; i < 20; i++) test_const_str(0);
Expect.equals("a", test_const_str(0));
Expect.equals("b", test_const_str(1));
Expect.equal... | Dart |
uint32_t>> outputIndices = { 0 };
Initialize(kernelCreationContext, inputIndices, outputIndices);
std::vector<DML_TENSOR_DESC> outputDescs = GetDmlOutputDescs();
DML_FILL_VALUE_CONSTANT_OPERATOR_DESC operatorDesc = {};
operatorDesc.OutputTensor = outputDescs.data();
operatorDes... | C++ |
VK_PIPELINE_STAGE_DRAW_INDIRECT_BIT: 0x2,
VK_PIPELINE_STAGE_VERTEX_INPUT_BIT: 0x4,
VK_PIPELINE_STAGE_VERTEX_SHADER_BIT: 0x8,
VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT: 0x10,
VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT: 0x20,
VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT: 0x40,
VK_PIPELINE_STAGE_FRA... | HTML |
] = "ZM_OrangePollen.m2",
}, -- [2]
},
}, -- [13]
{
["value"] = "Road",
["text"] = "Road",
["children"] = {
{
["value"] = "ZangarWalkway01.m2",
["text"] = "ZangarWalkway01.m2",
}, -- [1]
{
... | Lua |
// Input:
// n -- number of items in the array to be sorted. n must be ≤ len(a)
// less -- a function that returns true if a[i] < a[j]
// Reference:
// [1] Press WH, Teukolsky SA, Vetterling WT, Flannery BP (2007) Numerical Recipes: The Art of
// Scientific Computing. Third Edition. Cambridge University Pre... | Go |
sult of calling comedi_auto_config() (0 on success, or
* a negative error number on failure).
*/
int comedi_pci_auto_config(struct pci_dev *pcidev,
struct comedi_driver *driver,
unsigned long context)
{
return comedi_auto_config(&pcidev->dev, driver, context);
}
EXPORT_SYMBOL_GPL(comedi_pci_auto_config);... | C |
TRY_FAILED = "LEGAL_LOG_DB_OPEN_CONNECTION_WITH_RETRY_FAILED";
extern const isc::log::MessageID LEGAL_LOG_LEASE4_NO_LEGAL_STORE = "LEGAL_LOG_LEASE4_NO_LEGAL_STORE";
extern const isc::log::MessageID LEGAL_LOG_LEASE4_WRITE_ERROR = "LEGAL_LOG_LEASE4_WRITE_ERROR";
extern const isc::log::MessageID LEGAL_LOG_LEASE6_NO_LEGAL_... | C++ |
a class="el" href="da/d2c/fftools__opt__common_8c.html#a1b212a540413b4bc35b1890d820c09bd">fftools_opt_common.c</a></li>
<li>show_help_children() : <a class="el" href="d7/dcc/fftools__cmdutils_8c.html#a0833f5d4481c5c8c2362b0e5d65af5f3">fftools_cmdutils.c</a>, <a class="el" href="d8/d4e/fftools__cmdutils_8h.htm... | HTML |
/* SPDX-License-Identifier: GPL-2.0-only */
#include <device/mmio.h>
#include <assert.h>
#include <soc/pll.h>
#include <types.h>
void pll_mux_set_sel(const struct mux *mux, u32 sel)
{
u32 mask = GENMASK(mux->mux_width - 1, 0);
u32 val = read32(mux->reg);
if (mux->set_reg && mux->clr_reg) {
write32(mux->clr_reg,... | C |
ize:13px;text-align:center}.is-dark-theme .blocks-gallery-caption{color:hsla(0,0%,100%,.65)}.wp-block-image figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-image figcaption{color:hsla(0,0%,100%,.65)}.wp-block-image{margin:0 0 1em}.wp-block-pullquote{border-top:4px solid;border-bottom:4px... | HTML |
.ValidationAccept
if received != tt.want {
t.Fatalf("Did not received wanted validation. Got %v, wanted %v", !tt.want, tt.want)
}
if tt.want && err != nil {
t.Errorf("Non nil error returned: %v", err)
}
if tt.want && m.ValidatorData == nil {
t.Error("Expected validator data to be set")
}
... | Go |
mce-open {
line-height: 20px;
}
.mce-toolbar .mce-btn:hover .mce-open,
.mce-toolbar .mce-btn:focus .mce-open,
.mce-toolbar .mce-btn.mce-active .mce-open {
border-right-color: #1d2327;
}
div.mce-notification {
right: 10% !important;
left: 10%;
}
.mce-notification button.mce-close {
left: 6px;
top: 3px;
font-we... | CSS |
int rangeEnd,
bool showColumnNo: false,
bool showDots: true,
String filePrefix,
String lambda: r'?'}) {
int index = -1;
int maxFileLength = 0;
int maxLineNoLength = 0;
int maxColumnNoLength = 0;
List... | Dart |
0 0 0 eth0
194.174.53.0 194.47.43.1 0.0.0.0 UG 1 0 0 eth0
</pre><p>
dans cet exemple :
<p>
la route (1) sera la route emprunte pour joindre le reseau 194.174.53.0 si la
passerelle est joignable, si la passerelle est injoingnable les paquets
passerons sur la route ... | HTML |
.93 2.68.99.14.12.11.37-.02.51-.13.15-1.05.36-1.34.4z"
fill="#6d4c41"
/>
<path
d="M89.65 93.53c.11-.04.22-.07.33-.09h7.33c.11.01.22.04.33.09.66.27 1.03.96.72 1.69-.31.73-1.77 2.79-4.71 2.79s-4.4-2.06-4.71-2.79c-.32-.73.05-1.42.71-1.69z"
fill="#c48e6a"
/>
<path
d="... | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.