content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
置完所有属性后调用设置背景
*/
public void init() {
//获取view当前drawable--用于判断是否通过默认属性设置背景
Drawable mDrawable = mView.getBackground();
//判断是否使用自定义颜色值
boolean isSetBg = mBackgroundColor != Integer.MAX_VALUE
|| mBackgroundPressedColor != Integer.MAX_VALUE
|| mBackg... | Java |
bl_20
str r0,memmap_tbl_24
str r0,memmap_tbl_28
b flush
//*************************************************************************************
.extern asm_Mapper_Write //
Mapper_W:
//-------------------------------------------
stmfd sp!,{r3,lr} //LR Ĵջ
mov r1,r12
bl asm_Mapper_Write
ldmfd sp!,{r3,lr}
//... | Assembly |
1 = v1.x - o.x
val dy1 = v1.y - o.y
val dx2 = v2.x - o.x
val dy2 = v2.y - o.y
val cross = dx1 * dy2 - dy1 * dx2
val dot = dx1 * dx2 + dy1 * dy2
return atan2(cross, dot)
}
/**
* Determines if the [Segment2D] forms a straight line.
*
* If the given [... | Kotlin |
ch SPY in i X och Y
move.w 12+2(a0),14+2(a0) ; NP till PP
special_ny_slutpunkt:
move.w 14+2(a0),d6 ; d6 innehller PP
subq.w #1,d6 ; PP ligger ett steg fr hgt
muls.w #24,d6 ; Nrmaste 24 steg(12 word)
move.l fi_data_subl,a4
add.w (a4),a4 ; Pekar mot punkt_connection listan
add.w d6,a4 ; a4 pekar p den punkt... | Assembly |
padding-left: 0;
padding-right: 0;
}
.e-grid .e-ejinputtext.e-gridsearchbar {
}
.e-grid .e-dlgBtns .e-button {
font-family: Segoe UI, Helvetica Neue, Ubuntu, Arial;
font-weight: normal;
font-size: 14px;
}
.e-grid .e-gridpopup .e-content {
background-color: white;
border-color: #c8c8c8;
}
.e-grid .e-gr... | CSS |
} from 'bt/utils';
import { FilterablePlaylist, playlistToTimeComparable } from './playlist';
export type Semester = {
playlistId?: string;
year: string;
semester: string;
};
export type SemesterWithPlaylist = Semester & { playlistId: string };
/**
* Takes a list of playlist IDs and tries to convert it to a s... | Typescript |
ng.seed, 25214903917);
rng.set_seed(150123);
assert_eq!(rng.seed, 25215020038);
rng.set_seed(-500);
assert_eq!(rng.seed, 281449761806433);
}
#[wasm_bindgen_test]
fn rng_next_int() {
let mut rng: SimpleRandom = Default::default();
rng.set_seed(0);
assert_eq!(rng.next_int(), 1569741360);
... | Rust |
10px;
box-sizing: border-box;
border-radius: 4px;
}
.bandeau {
background-color: #333;
display: flex;
justify-content: space-around;
align-items: center;
height: 60px;
color: #fff;
z-index: 3;
}
.icone {
font-size: 24px;
margin: 0 15px;
text-decoration: none;
color: #fff;
}
.path-3 {
ani... | CSS |
Task.Concurrency != oldTask.Concurrency {
if !e.slotMgr.exchange(&newTask.TaskBase) {
e.logger.Info("task concurrency modified, but not enough slots, executor exit",
zap.Int("old", oldTask.Concurrency), zap.Int("new", newTask.Concurrency))
return
}
e.logger.Info("task concurrency modification appl... | Go |
ce group. The parent partner does not
// have access to this group.
func (c *InventorySourceGroupsDeleteCall) AdvertiserId(advertiserId int64) *InventorySourceGroupsDeleteCall {
c.urlParams_.Set("advertiserId", fmt.Sprint(advertiserId))
return c
}
// PartnerId sets the optional parameter "partnerId": The ID of the p... | Go |
'119V' // 2312 #3115
'b2M' // 2313-2315 #64
'F' // 2316 #5
'2M' // 2317 #64
'78A' // 2318 #2028
'M' // 2319 #12
'a2E' // 231a-231b #56
'c31W' // 231c-231f #828
'aM' // 2320-2321 #12
... | Dart |
[[MUL38:.+]] = mul i32 1, %[[DIV37]]
// IR-NEXT: %[[CONV39:.+]] = zext i32 %[[MUL38]] to i64
// IR-NEXT: %[[DIV40:.+]] = sdiv i64 %[[TMP35]], %[[CONV39]]
// IR-NEXT: %[[TMP37:.+]] = load i32, ptr %[[DOTCAPTURE_EXPR_10]], align 4
// IR-NEXT: %[[SUB41:.+]] = sub i32 %[[TMP37]], -1
// IR-NEXT: %[[DIV42:.+]]... | C++ |
2e58ee4, value); }
void SET_GAMEPLAY_HINT_BASE_ORBIT_PITCH_OFFSET(float value) { Call<void>(0xca3b2474e9e06439, value); }
void SET_GAMEPLAY_HINT_BASE_ORBIT_PITCH_OFFSET_f(float value) { FastCall<void>(0xca3b2474e9e06439, value); }
void SET_GAMEPLAY_HINT_CAMERA_RELATIVE_SIDE_OFFSET(float xOffset) { Call<void>(0x23a1b... | C++ |
img/channels/ktn.jpg'),
SuggestedChannelsCard(name: 'KTN News', channelProfilePicture: 'assets/img/channels/ktn-news.jpg'),
SuggestedChannelsCard(name: 'Lamborghini', channelProfilePicture: 'assets/img/channels/lamborghini.jpg'),
SuggestedChannelsCard(name: 'Lionel Messi', channelProfilePi... | Dart |
/*
This file was taken from https://github.com/codebude/QRCoder and is licensed under the MIT license.
---------------------
The MIT License (MIT)
Copyright (c) 2013-2015 Raffael Herrmann
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (... | C# |
) bytes from the File starting at byte offset off.
// It returns the number of bytes read and the error, if any.
// EOF is signaled by a zero count with err set to 0.
func (f *File) pread(b []byte, off int64) (n int, err error) {
f.l.Lock()
defer f.l.Unlock()
curoffset, e := syscall.Seek(f.fd, 0, io.SeekCurrent)
if... | Go |
ne{}
g.Expect(collections.HasAnnotationKey("foo")(m)).To(BeFalse())
})
}
func TestInFailureDomain(t *testing.T) {
t.Run("nil machine returns false", func(t *testing.T) {
g := NewWithT(t)
g.Expect(collections.InFailureDomains("test")(nil)).To(BeFalse())
})
t.Run("machine with given failure domain returns true... | Go |
画(positive) / 〈C〉版画'],
['print shop', '版画店 印刷所 プリントショップ'],
['printable', '印刷できる;出版に適した'],
['printed circuit', '(電子装置の)プリント配線路'],
['printed matter', '(郵送料割り引きになる)印刷物'],
['printed papers', '=print matter'],
['printed-paper', '印刷物の,公報の'],
['printer', '印刷する人(機械);印刷屋 / (コンピューターの)文字打ち出し機 プリンター'],
['printer\'s... | Typescript |
// 置顶
const val conversationUnread = "conversationUnread" // 会话未读
const val conversationMsgSendCount = "conversationMsgSendCount" // 会话消息发送数
const val conversationMsgReceiveCount = "conversationMsgReceiveCount" // 会话消息接收数
/**
* 消息扩展
*/
const val msgAttrExtType ... | Kotlin |
d critics on the whole crap I wrote are also
welcomed.
"If you give a man a crack he'll be hungry again
tomorrow, but if you teach him how to crack, he'll
never be hungry again"</PRE></P>
<!-- The following HTML tag is the external link tag. This tag is a hot link to the specific URL ... | HTML |
)。
1. 修改 `resolv.conf`,为容器配置 DNS。这里的 DNS 信息是从传给 CNI plugin 的参数中解析的。
以上过程完成之后,容器和宿主机(以及同宿主机的其他容器)之间的网络就通了,
CNI 插件会将结果以 JSON 返回给 kubelet。
### CNI 插件实现举例:Noop
再来看另一种**<mark>比较有趣的 CNI 插件</mark>**:`noop`。这个插件是 CNI 项目自带的,
代码见 [plugins/test/noop/main.go](https://github.com/containernetworking/cni/blob/v0.8.1/plugins/test/... | Markdown |
ringUtilRt.convertLineSeparators(file.readText().trimIndent())
)
else -> throw IllegalArgumentException(
"file extension must be one of [java, kt, kts], but it was `${file.extension}`."
)
}
}
/**
* @return a "virtual" Psi `KtFile` with the given [name] and
* [content]. This f... | Kotlin |
# Copyright 2024 Marimo. All rights reserved.
from __future__ import annotations
import abc
import io
from typing import NewType, Optional
from marimo._messaging.mimetypes import ConsoleMimeType
from marimo._types.ids import CellId_t
# A KernelMessage is a bytes object that contains a serialized MessageOperation.
Ke... | Python |
.to].exists = true;
expect.status = EVMC_ARGUMENT_OUT_OF_RANGE;
}
TEST_F(state_transition, extcall_cold_oog)
{
rev = EVMC_EXPERIMENTAL;
constexpr auto callee = 0xca11ee_address;
tx.to = To;
pre.insert(*tx.to, {
.code = eof_bytecode(extcall(callee) + OP_STOP, 4),
... | C++ |
block-opentable .OT_searchTimeField,.sqs-block-opentable .OT_searchDateField,.sqs-block-opentable .OT_searchPartyField{font-family:inherit;background:#fff url('/universal/images-v6/icons/opentable-icons.svg') no-repeat;color:#272727;font-weight:normal;margin:0;border:1px solid rgba(0,0,0,.12);width:100%;height:auto;fon... | CSS |
38</span>  <a class="code" href="structcutlass_1_1NumericConverter.html">NumericConverter<half_t, float, round_style></a> convert_;</div><div class="line"><a name="l00339"></a><span class="lineno"> 339</span>  result[0] = convert_(source[0]);</div><div class="line"><a name="l00340"></a><span ... | HTML |
FedAuth and rtFa cookies issued by ADFS when accessing claims aware applications.
// - or get the EdgeAccessCookie issued by the Web Application Proxy (WAP) when accessing non-claims aware applications (Kerberos).
IEnumerable<string> authCookies = null;
if (Regex.IsMatch(... | C# |
If {
DynamoDbConditionalGrammar.parse(expression).eval(
ItemWithSubstitutions(
this,
expressionAttributeNames ?: emptyMap(),
expressionAttributeValues ?: emptyMap()
)
) == true
}
}
fun Item.update(
expression: String?,
... | Kotlin |
IamPolicy(existing, incoming cai.Asset) cai.Asset {
existing.IAMPolicy = incoming.IAMPolicy
return existing
}
func MergeComputeBackendServiceIamBinding(existing, incoming cai.Asset) cai.Asset {
return cai.MergeIamAssets(existing, incoming, cai.MergeAuthoritativeBindings)
}
func MergeComputeBackendServiceIamBinding... | Go |
namespace edit_distance
namespace {
// The string representation of the values received in EqFailure() are already
// escaped. Split them on escaped '\n' boundaries. Leave all other escaped
// characters the same.
std::vector<std::string> SplitEscapedString(const std::string& str) {
std::vector<std::string> lines;... | C++ |
RT_LENGTH, &fwretract.settings.retract_recover_extra, ScreenHandler.DGUSLCD_SetFloatAsIntFromDisplay<1>, ScreenHandler.DGUSLCD_SendFloatAsIntValueToDisplay<1>),
VPHELPER(VP_FWRETRACT_RESTART_FEEDRATE, &fwretract.settings.retract_recover_feedrate_mm_s, ScreenHandler.DGUSLCD_SetFloatAsIntFromDisplay<1>, ScreenHandler.D... | C++ |
he margins to 1 to 72 make the following call: */
/* CALL NSPSLR ( 1, 72 ) */
/* To get back a NICEPR string that will be used for setting */
/* the style of page output. */
/* CALL NSPMRG ( MARGIN ) */
/* To get the numeric values (so you don't have to parse MARGIN) */
/* make the fol... | C |
SDescription>Set the given stroke-related attribute the given value for selected elements</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#SelectorManager.getOpacity" id=link231 onMouseOver="ShowTip(event, 'tt106', 'link231')" onMouseOut="HideTip('tt106')">getOpacity</a></td><td class=SDescription>Ret... | HTML |
using System;
using Unity.Burst;
using Unity.Collections;
using Unity.Jobs;
namespace Stackray.Collections {
#region Clear Native Containers
[BurstCompile]
struct ClearNativeList<T> : IJob where T : struct {
public NativeList<T> Source;
public int Capacity;
public void Execute() {
if (Capacit... | C# |
vl (%esi),%edx
rcrl $1,%edx
movl %ebp,(%edi)
leal -4(%esi),%esi /* use leal not to clobber carry */
leal -4(%edi),%edi
decl %ebx
jnz L(Loop2)
jmp L(L1)
L(Lend2):
addl %eax,%eax /* restore carry from eax */
L(L1): movl %edx,(%edi) /* store last limb */
movl $0,%eax
rcrl $1,%eax
popl %ebx
cfi_adjust_cf... | Assembly |
setterExpr = $"m_value.Set({GetTargetPropertyNameRef(typeDef, member)}, value)";
}
else if (member.Type.IsDateLike(allowNullables: true))
{
setterExpr = $"m_value.Set({GetTargetPropertyNameRef(typeDef, member)}, value)";
}
}
else if (member.Type.JsonType is not... | C# |
// ntoskrnl.exe PAGE:0x8fa47c, 0x1fe000 bytes
//
_m4(sdk::unknown_ptr) notify_session_power_request_deleted;
// [TtmNotifySessionPowerRequestPresent]
// Ldr = [ntoskrnl.exe, hal.dll]
// => Windows 10 v2004, Windows 11, Windows 10 v20H2
// ntoskrnl.exe PAGE:0x8fbf08, 0x1fe000 bytes
// nt... | C++ |
(nonLetterDigitDashesOrSpaceRegex, "")
// and leading and trailing spaces are removed
.trim()
.spacesToDash()
}
private val codeRegex = Regex("`(.*?)`")
internal fun String.transformInlineCode(transform: (String) -> String) =
codeRegex.findAll(this).fold(this) { acc, match ->
val in... | Kotlin |
efinition;
import org.dromara.northstar.common.model.core.Order;
import org.dromara.northstar.common.model.core.Tick;
import org.dromara.northstar.common.model.core.Trade;
import org.junit.jupiter.api.Test;
import xyz.redtorch.pb.CoreEnum.DirectionEnum;
import xyz.redtorch.pb.CoreEnum.OffsetFlagEnum;
class ModulePosi... | Java |
ducação Física I',
situacao: 'Aprovado',
etapa1: 8,
etapa2: 4,
rp_etapa1: 0,
rp_etapa2: 6,
data: jasmine.any(Date) as any
},
{
disciplina: 'Informática Básica',
situacao: 'Aprovado',
etapa1: 8.5,
etapa2: 7,
rp_etapa1: 0,
rp_etapa2: -1,
... | Typescript |
v10_022C04D8: ; 0x022C04D8
stmdb sp!, {r4, lr}
ldr r0, _022C0558 ; =ov10_022DC1C8
ldr r0, [r0]
cmp r0, #0
bne _022C0508
mov r0, #0x40
mov r1, #0xb
bl MemAlloc
ldr r2, _022C0558 ; =ov10_022DC1C8
mov r1, #0x40
str r0, [r2]
bl MemZero
_022C0508:
mov lr, #0
ldr r0, _022C0558 ; =ov10_022DC1C8
mvn r3, #0
mov ... | Assembly |
ri.Cvar_Set("lod_curve_4_slider", va("%f", LOD->curve[4].val / totalRange));
}
ri.Cvar_Set("lod_curve_0_val", va("%f", lod_curve_0_slider->value * totalRange));
ri.Cvar_Set("lod_curve_1_val", va("%f", lod_curve_1_slider->value * totalRange));
ri.Cvar_Set("lod_curve_2_val", va("%f", lod_curve_2_slider-... | C++ |
INotificationAsyncHandler<MovingNotification<IMediaType>>
{
private readonly IMediaTypeContainerService _mediaTypeContainerService;
/// <inheritdoc/>
public MediaTypeHandler(
ILogger<MediaTypeHandler> logger,
IEntityService entityService,
AppCaches appCaches,
IShortStri... | C# |
。<br />
[page:constant PCFSoftShadowMap] filters shadow maps using the Percentage-Closer Filtering (PCF) algorithm with better soft shadows especially when using low-resolution shadow maps.<br />
[page:constant VSMShadowMap] 使用Variance Shadow Map (VSM)算法来过滤阴影映射。当使用VSMShadowMap时,所有阴影接收者也将会投射阴影。
</p>
<h2>色调映射</h... | HTML |
Paint pPaint) {
final int charLength = pString.length();
int start = 0;
int tempWidth = 0;
final LinkedList<String> strList = new LinkedList<String>();
/* Break a String into String[] by the width & should wrap the word. */
for (int i = 1; i <= charLength; ++i) {
tempWidth = (int) Math.ceil(pPaint.meas... | Java |
"model": "A503 Optima"
},
{
"regex": "A551 Sky 4G",
"model": "A551 Sky 4G"
},
{
"regex": "A553 Power",
"model": "A553 Power"
},
{
"regex": "A555 Universe",
"model": "A555 Universe"
},
{
"regex": "ERGO[_ ]A55... | JavaScript |
62fe);
outline-offset: -2px;
}
.duo--Tab--flat .duo--Tab__icon[data-v-12ed33ba],
.duo--Tab--flat .duo--Tab__subtitle[data-v-12ed33ba] {
display: none;
}
.duo--Tab--flat.duo--Tab--disabled[data-v-12ed33ba] {
color: var(--cds-disabled-02, #c6c6c6);
cursor: not-allowed !important;
pointer-events: none;... | CSS |
{d}m(x)</annotation><annotation encoding="application/x-llamapun" id="S3.p4.10.m10.1d">roman_d italic_m ( italic_x )</annotation></semantics></math> instead (Equation <a class="ltx_ref" href="https://arxiv.org/html/2507.11127v1#S3.E2" title="In Definition 3.3 (Neurosymbolic Inference). ‣ 3 Towards Neurosymbolic Models ... | HTML |
the aggressivity each level. so ghost 4 is aggressive 4 in level 1, aggressive 3 in level 2, aggressive 2 in level 3 and so on.
if (aggressivity<0) aggressivity=0; // If we're going mad (aggressivity<0) let's keep the calm: lower aggressivity threshold is 0.
if (help.random(0,aggressivity)==0) { // ...... | HTML |
align:middle}
.peerFlag img,#netdbcountrylist img{margin-right:8px;padding:1px;text-align:center;font-size:70%;border-radius:2px;box-shadow:0 0 0 1px var(--border_badge)}
.peerFlag img{margin:0}
#netdbcountrylist a:hover img{transform:scale(1.1)}
#netdb td:not(.rif)>img[src^="/flags"]{margin-top:0;margin-bottom:0;borde... | CSS |
e.code, message: e.message);
} on MissingPluginException {
setStatus('not implemented');
}
}
Future<void> skipPrevious() async {
try {
await SpotifySdk.skipPrevious();
} on PlatformException catch (e) {
setStatus(e.code, message: e.message);
} on MissingPluginException {
... | Dart |
alize("NotepadMergeListingTest_X86", new ProgramModifierListener() {
@Override
public void modifyLatest(ProgramDB program) {
try {
Function func = getFunction(program, "0x100415a");
func.getParameter(2).getSymbol().setName("NewLatestName100415a",
SourceType.USER_DEFINED);
func = getFunc... | Java |
163, 230, 121, 235, 152, 188, 30, 79, 245, 193, 117, 147, 27, 176, 14, 117, 178, 157, 196, 118, 158, 30, 43, 177, 206, 124, 253, 156, 233, 160, 79, 249, 42, 82, 19, 85, 31, 64, 151, 168, 186, 147, 77, 142, 85, 103, 240, 179, 78, 157, 100, 38, 142, 104, 77, 76, 51, 42, 86, 91, 130, 6, 183, 55, 104, 201, 77, 233, 100, 5... | C# |
t { AppModule } from '../app.module';
import { Product } from '../list/list.component';
describe('DataService', () => {
let service: DataService;
beforeEach(() => {
TestBed.configureTestingModule({
imports: [
AppModule
]
});
service = TestBed.inject(DataService);
});
it('shoul... | Typescript |
derer.render_mesh(&points);
if cfg!(feature = "output") {
renderer.write_fb_ppm("target/point_ortho.ppm");
renderer.write_zb_ppm("target/point_ortho_z.ppm");
}
}
#[test]
#[cfg(any(feature = "all", all(feature = "point", feature = "perspective", feature = "nomsaa")))]
fn point_perspective() {
let p: Vec3 = Ve... | Rust |
qhasm: r1 ^= r1
# asm 1: xor <r1=int64#6,<r1=int64#6
# asm 2: xor <r1=%r9,<r1=%r9
xor %r9,%r9
# qhasm: r1 = *(uint8 *) (input_2 + 1)
# asm 1: movzbq 1(<input_2=int64#3),>r1=int64#6
# asm 2: movzbq 1(<input_2=%rdx),>r1=%r9
movzbq 1(%rdx),%r9
# qhasm: r2 ^= r2
# asm 1: xor <r2=int64#7,<r2=int64#7
# asm 2: xor <r... | Assembly |
-1v-.63h6v.63c0 .55.45 1 1 1 .56 0 1-.45 1-1v-.63h.72c1.811 0 3.28-1.46 3.28-3.269V8.73c0-1.8-1.469-3.259-3.28-3.259H19V2.7c0-.656-.528-1.2-1.19-1.2h-3.62Zm3.62 1c.098 0 .19.084.19.2V5h-4V2.7c0-.116.092-.2.19-.2h3.62ZM11 27c-.55 0-1-.45-1-1V9c0-.55.45-1 1-1s1 .45 1 1v17c0 .55-.44 1-1 1Zm5 0c-.55 0-1-.45-1-1V10.704l2 2V... | Dart |
&self, m: &'a Message) -> &'a Message {
match self.fns {
FieldAccessorFunctions::SingularHasGetSet {
get_set: SingularGetSet::Message(ref get),
..
} => get.get_message(message_down_cast(m)),
FieldAccessorFunctions::Optional(ref t) => {
... | Rust |
an be found in the corresponding regular expression as shown in title text visible by hovering over the red text.
</div>
</blockquote>
<div property="spdx:licenseText" class="license-text">
<p>
Permission to use, copy, modify, distribute, and sell this software and it... | HTML |
个序列的长度。
* @param arr 待排序数组
*/
private static void shellsort2(int[] arr) {
int gap = 1, i, j, len = arr.length;
int temp;
while (gap < len / 3){
// <O(n^(3/2)) by Knuth,1973>: 1, 4, 13, 40, 121, ...
gap = gap * 3 + 1;
}
for (; gap > 0; ... | Markdown |
RFS_IOC_GETFLAGS EXT2_IOC_GETFLAGS
#define REISERFS_IOC_SETFLAGS EXT2_IOC_SETFLAGS
#define REISERFS_IOC_GETVERSION EXT2_IOC_GETVERSION
#define REISERFS_IOC_SETVERSION EXT2_IOC_SETVERSION
/* Locking primitives */
/* Right now we are still falling back to (un)lock_kernel, but eventually that
would evolve into rea... | C |
e('#transform', () => {
it('transforms an empty input into null', () => {
expect(pipe.transform(null)).toBeNull();
expect(pipe.transform(undefined)).toBeNull();
});
it('transforms a string formatted according to the HTTP header specs into a DateTime', () => {
const result = pipe.transform... | Typescript |
0 04 */ lwz r3, 4(r3)
/* 800B7E50 000B3390 90 01 00 14 */ stw r0, 0x14(r1)
/* 800B7E54 000B3394 39 84 00 08 */ addi r12, r4, 8
/* 800B7E58 000B3398 48 45 F5 89 */ bl __ptmf_scall
/* 800B7E5C 000B339C 60 00 00 00 */ nop
/* 800B7E60 000B33A0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800B7E64 000B33A4 7C 08 03 A6 */ mtlr ... | Assembly |
>
<ul><li><a href="../DESCRIPTION">DESCRIPTION file</a>.</li>
<li><a href="../doc/index.html">User guides, package vignettes and other documentation.</a></li>
<li><a href="../NEWS">Package NEWS</a>.</li>
</ul>
<h2>Help Pages</h2>
<table style="width: 100%;">
<tr><td style="width: 25%;"><a href="as_glue.html">as_glu... | HTML |
u-dropdown-item` 组件 0和"" 无法区分的问题。
* 【修复】`u-modal` 在Vue3版本中使用了mask-close-able属性无效的问题
## 1.0.3(2021-12-20)
【优化】u-icon在微信小程序下可能会显示null字符串的问题
## 1.0.2(2021-12-09)
* 1、【优化】`u-button` 组件新增 `timerId` 属性
* 之前的效果是:所有按钮一定时间内只能点击1次(`共用计算时间`)导致点击按钮A后无法马上点击按钮B
* 优化的效果是:每个按钮一定时间内只能点击1次(`分开计算时间`)且支持设置相同的 timerId 来达到指定按钮 `共用计算时间`
## 1... | Markdown |
*/ \"(rsc)/./node_modules/graphql/jsutils/inspect.mjs\");\n/* harmony import */ var _jsutils_instanceOf_mjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../jsutils/instanceOf.mjs */ \"(rsc)/./node_modules/graphql/jsutils/instanceOf.mjs\");\n\n\n\n\n/**\n * A representation of source input to GraphQL. The `nam... | JavaScript |
wpdash_nav_area: area,
};
if ( rootItem ) {
properties.wpdash_nav_item_root = rootItem;
}
this.dispatchEvent( 'wpdash_nav_clicked', properties );
}
static trackScreenViewed( screenId, screenType = SCREEN_TYPES.TAB ) {
this.updateActivity();
const properties = {
wpdash_screen_id: screenId,
wpd... | JavaScript |
�无法查询出有效的仓库
val repoFromDb = dbContainer.repoRepository.getById(lastUsedRepoId)
//检查仓库是否为null,是否就绪且路径有效
if (repoFromDb == null || !isRepoReadyAndPathExist(repoFromDb)) { //进入这个分支可能是之前changelist页面使用的仓库被删除了,所以id无效了
needQueryRepoFromDb = true
... | Kotlin |
:40px}.editormd-preview-theme-dark{color:#777;background:#2C2827}.editormd-preview-theme-dark .editormd-preview-container{color:#888;background-color:#2C2827}.editormd-preview-theme-dark .editormd-preview-container pre.prettyprint{border:none}.editormd-preview-theme-dark .editormd-preview-container blockquote{color:#55... | CSS |
204f, 44.753f)
curveTo(56.882f, 54.124f, 48.998f, 65.827f, 39.029f, 69.311f)
curveTo(38.161f, 69.624f, 37.605f, 70.112f, 37.432f, 70.704f)
curveTo(37.293f, 71.261f, 37.466f, 71.923f, 38.022f, 72.55f)
curveTo(43.093f, 78.507f, 47.088f, 83.209f, 49.97f, 90.9... | Kotlin |
)
# Wait on EMM Information from MME
self._s1ap_wrapper._s1_util.receive_emm_info()
print("************************* Running UE detach")
# Now detach the UE
detach_req = s1ap_types.uedetachReq_t()
detach_req.ue_Id = ue_req.ue_id
detach_req.ueDetType = (
... | Python |
A primeira coisa que pensamos em fazer são [sprites][1] com todos estes ícones. O problema é que dependendo da sua necessidade, criar Sprites para todos os ícones pode se tornar algo realmente trabalhoso. Ainda mais quando estes ícones são utilizados em várias cores e tamanhos. Utilizar ícones em imagens separadas dá t... | Markdown |
.55.25.2.43.3.59.37.02-.2.1-.42.2-.61a2.01 2.01 0 0 1-.45-.31z" fill="#b45f00"/><path d="M304.31 226.84a.31.31 0 0 1-.24-.24.32.32 0 0 1 .24-.39c.54-.12.67-.6 1.22-1.33.1-.13.31-.16.45-.06s.16.31.06.45c-.16.2-.67 1.34-1.58 1.56-.05.03-.1.03-.15 0z" fill="#c88300"/><path d="M305.54 224.9c-.57.72-.7 1.19-1.23 1.32a.32.32... | HTML |
#50fefe; }
.cm-s-erlang-dark span.cm-number { color: #ffd0d0; }
.cm-s-erlang-dark span.cm-operator { color: #d55; }
.cm-s-erlang-dark span.cm-property { color: #ccc; }
.cm-s-erlang-dark span.cm-qualifier { color: #ccc; }
.cm-s-erlang-dark span.cm-quote { color: #ccc; }
.cm-s-erlang-dark span.cm-special ... | CSS |
(version), align_after(20), align_before(20))]
palette: PaletteV4,
#[br(args(version), parse_with = parse_sprites::<SpriteV4, _>)]
sprites: [ SpriteV4; NUM_SPRITES ],
}
impl From<FrameV4> for Frame {
fn from(old: FrameV4) -> Self {
Self {
script: old.script.into(),
sound... | Rust |
CHECK(re_test3.PartialMatch(utf8_string, &ss));
CHECK_EQ(ss, string("\xe6"));
RE re_test4("(.)", pcrecpp::UTF8());
CHECK(re_test4.PartialMatch(utf8_string, &ss));
CHECK_EQ(ss, string("\xe6\x97\xa5"));
// Check that string matches itself in either mode
RE re_test5(utf8_string);
CHECK(re_test... | C++ |
ContainerStatuses: []corev1.ContainerStatus{
{
Name: "container-1",
Ready: true,
},
},
},
},
dest: &corev1.Pod{},
},
want: &corev1.Pod{
Spec: corev1.PodSpec{
Containers: []corev1.Container{
{
Name: "container-1",
},
},
NodeNa... | Go |
\n for (var i = 0; i < cloned.length; i++) {\n invokeWithErrorHandling(cloned[i], null, arguments$1, vm, \"v-on handler\");\n }\n } else {\n // return handler return value for single handlers\n return invokeWithErrorHandling(fns, null, arguments, vm, \"v-on handler\")\n }\n }\n invoke... | JavaScript |
//System.out.println(s+" " +t);
//double val = sim.get(s,t);
double val = aligmat[s][t].getValue();
submat.set(s-quada_beg,t-quadb_beg,val);
}
}
// and perform a dp alignment again. (Note, that we fix the superposition).
//Alignable subali = getAlignableFromSimMatrix(submat,params);
... | Java |
ReportIntermediateFormat.Persistence.ObjectType.PrimitiveList, Token.Int32));
list.Add(new MemberInfo(MemberName.StyleAttributeValues, Microsoft.ReportingServices.ReportIntermediateFormat.Persistence.ObjectType.RIFObjectList, Microsoft.ReportingServices.ReportIntermediateFormat.Persistence.ObjectType.AttributeInfo))... | C# |
1010: 10,
}
# If we omit time samples, value requests for frames in between will get a linearly interpolated result.
double scale.timeSamples = {
1001: 2,
1005: 5.336076736450195,
1010: 10,
}
```
~~~admonish warning
Since an attribute can only have a single value source, we can't have a `default` value... | Markdown |
now();
} else {
messages.send(ListenMessage::new(
"Error while listening for new clients.", err)).unwrap();
return;
}
},
}
match shutdown_recv.try_recv() {
... | Rust |
tMute[i]]
}
})
if(!!startButton){
if(CollisionRect(startButton,{x:x/2,y:y/2,w,h})){
if(!INKEYIN){
zzfxX = new(window.AudioContext||webkitAudioContext);
Music()
INKEYIN=1
}
NewGame()
key1.r=0
}... | JavaScript |
RegisterLongName> BaseWriteableRegister<u16> for ReadWrite16C8B32<N> {
type Reg = N;
const REG_WIDTH: usize = 16usize;
#[inline]
fn base_set(&self, value: u16) {
let bytes: [u8; 2usize] = u16::to_be_bytes(value);
self.reg_p0.set(u8::from_be_bytes([bytes[0usize]]));
self.reg_p1.s... | Rust |
BranchPartitionSection section;
row = TranslateRow(row, out section);
if (row == -1)
{
args.UseDefaultCursors = true;
}
myInnerBranch.OnGiveFeedback(args, row, column);
}
void IBranch.OnQueryContinueDrag(QueryContinueDragEventArgs args, int row, int column)
{
BranchPartitionSect... | C# |
s erreurs.","Couleur d'arri\xE8re-plan du minimap.","Opacit\xE9 des \xE9l\xE9ments de premier plan rendus dans la minimap. Par exemple, \xAB #000000c0 \xBB affiche les \xE9l\xE9ments avec une opacit\xE9 de 75 %.","Couleur d'arri\xE8re-plan du curseur de minimap.","Couleur d'arri\xE8re-plan du curseur de minimap pendant... | JavaScript |
\\\ Daily Dialog (Li et al., 2017) & 7.9 & 1 & 114.7 & - & ✗ & Crowdsourcing \\\\ SODA (Kim et al., 2023) & 7.6 & 1 & 122.4 & - & ✗ & LLM-generated \\\\ MSC (Xu et al., 2022) (train; 1-4 sessions) & 53.3 & 4 & 1,225.9 & few days & ✗ & Crowdsourcing \\\\ Conversation Chronicles (Jang et al., 2023) & 58.5 & 5 & 1,054.7 &... | HTML |
.row';
import { DrawingsService } from '../drawings.service';
import {PuzzleService} from '../../puzzles-home/puzzle.service';
export class HouseController extends SymbolsPuzzleController {
constructor(drawingsService: DrawingsService, puzzleService: PuzzleService) {
super(drawingsService, puzzleService);
}
p... | Typescript |
.1.cmml">)</mo></mrow></mrow><mo id="S4.E25.m1.85.85.85.36.36.36" stretchy="false" xref="S4.E25.m1.89.89.1.1.1.cmml">)</mo></mrow><mo id="S4.E25.m1.92.92.4.91.40.40.40.1.3.1.2b" lspace="0.170em" xref="S4.E25.m1.89.89.1.1.1.cmml"></mo><mrow id="S4.E25.m1.92.92.4.91.40.40.40.1.3.1.5"><mo id="S4.E25.m1.86.86.86.37.37.37"... | HTML |
estate.com/activetcl/downloads">http://www.activestate.com/activetcl/downloads</a></li>
<li><b>Linux</b>: install the following packages: tcl8.6, tk8.6, tcllib, libsqlite3-tcl, libtk-img.
</ul>
<h2>Running DRAKON Editor</h2>
<p><b>Windows</b>: double click on the <i>drakon_editor.tcl</i> file.</p>
<p><b>Linux</b> an... | HTML |
/table></div></div></div></div></div></div><div class="flexParentInvisible flexElement overflowHidden defaultSectionContentInvisible" style="flex-basis:100%"><div class="flexParent flexElement overflowHidden defaultSectionContentInvisible"><div class="defaultSection overflowHidden " style="flex-basis:70%"><div class="d... | HTML |
TestCase.Query(21..28, "圓缺🌒"),
TestCase.Query(29..30, "🌒"),
TestCase.Query(6..12, "🌗月有"),
TestCase.Query(7..12, "🌗月有"),
TestCase.Query(8..12, "🌗月有"),
TestCase.Query(4..4, "5"),
TestCase.Query(5... | Kotlin |
t.Errorf("Wrong match. expect: ok, got: %v", err)
}
mockCache.EXPECT().TrunkGet(ctx, tt.trunk.ID).Return(nil, fmt.Errorf(""))
mockCache.EXPECT().TrunkSet(ctx, gomock.Any())
res, err := h.TrunkGet(ctx, tt.trunk.ID)
if err != nil {
t.Errorf("Wrong match. expect: ok, got: %v", err)
}
if ref... | Go |
.txt` tài liệu。
---
## Kịch bản áp dụng
- Lịch sử trò chuyện trên web xuất khẩu và sao lưu。
- Xem nội dung cuộc trò chuyện ngoại tuyến。
- Thuận tiện để chia sẻ hoặc lưu trữ văn bản trò chuyện。
---
## Những điều cần lưu ý
- Phụ thuộc vào cấu trúc trang,Yêu cầu nút tin nhắn để có `data-message-id` Và `data-message-... | Markdown |
(value3) || isNumber$1(value3) || isBoolean$1(value3))) {
list.push(toString(value3));
} else if (isArray$1(value3)) {
arr = true;
for (let i2 = 0, len = value3.length; i2 < len; i2 += 1) {
deepGet(value3[i2], path2, index2 + 1);
}
} else if (path2.length) {
... | JavaScript |
penGL manager class
Windows only
Copyright (c) 1995-2017 by Rebecca Ann Heineman <becky@burgerbecky.com>
It is released under an MIT Open Source license. Please see LICENSE for
license details. Yes, you can use it in a commercial title without paying
anything, just give me a credit.
Please? ... | C++ |
gradlePluginPortal()
google()
mavenCentral()
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
maven("https://maven.pkg.jetbrains.space/kotlin/p/wasm/experimental")
maven("https://repo.repsy.io/mvn/chrynan/public")
maven("https://repo.repsy.io/mvn/m... | Kotlin |
pawned process.
// Because this modifies cmd, it will only work with the process spawners
// and not effect the GExpect option method.
func SetSysProcAttr(args *syscall.SysProcAttr) Option {
return func(e *GExpect) Option {
prev := e.cmd.SysProcAttr
e.cmd.SysProcAttr = args
return SetSysProcAttr(prev)
}
}
// P... | Go |
net.IP{12, 1, 3, 0},
Mask: net.CIDRMask(24, 32),
},
},
},
{
{
RangeStart: net.IP{10, 1, 2, 9},
RangeEnd: net.IP{10, 1, 2, 20},
Gateway: net.IP{10, 1, 2, 30},
Subnet: types.IPNet{
IP: net.IP{10, 1, 2, 0},
Mask: net.CIDRMask(24, 32),
},
... | Go |
writeD(npcPlayer.getRunSpeed());
writeD(npcPlayer.getRunSpeed() / 2);
writeD(npcPlayer.getRunSpeed() / 3);
writeD(npcPlayer.getRunSpeed() / 3);
writeD(npcPlayer.getRunSpeed());
writeD(npcPlayer.getRunSpeed());
writeD(npcPlayer.getRunSpeed());
writeD(npcPlayer.getRunSpeed());
writeF(npcPlayer.getStat(... | Java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.