content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
6] = "风暴大师头盔",
[32087] = "欺诈者面具",
[32088] = "野性怒火兜帽",
[32089] = "魔法束缚罩帽",
[32090] = "纳鲁祝福兜帽",
[32091] = "Alex's Test Beatdown Mace",
[32092] = "哈拉迈德之眼",
[32093] = "幕僚长的鬼纹手套",
[32094] = "幕僚长的鬼纹罩帽",
[32095] = "幕僚长的鬼纹护腿",
[32096] = "幕僚长的鬼纹衬肩",
[32097] = "幕僚长的鬼纹长袍",
[32098] = "幕僚长的月布罩帽",
[32099] = "幕僚长的月布护腿",
[32100] = "幕僚... | Lua |
</a>* handle, <a class="code" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> regAddr, <a class="code" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a>* data, <a class="code" href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a> datasize, <a class="code" href="types_8h.html#afaa6299... | HTML |
ncluded in API response")
return True
else:
print(f"\n[ISSUE] No ML fields in response")
return False
else:
print(f"\n[ISSUE] Result is not a dict: {result}")
return False
except Exception as e:
print(f... | Python |
.global _sys_strcpy
.text;.align 4
_sys_strcpy:
mov r5, r1
mov r4, r0
mov.l r3, @-r15
mov.l r4, @-r15
mov #3, r3
mov r0, r4
and r3, r4
and r1, r3
or r4, r3
tst r3, r3
bt XLONG
mov r0, r4
mov.b @r1+, r0
... | Assembly |
", i));
if(!workspaceDirectory.exists())
break;
i++;
}
if(!workspaceDirectory.mkdir()) {
throw new WorkspaceOpenException("Could not create directory: " + workspaceDirectory.getPath());
}
try {
writeNameFile(workspaceDirectory, workspaceName);
} catch (IOException e) {
throw new WorkspaceO... | Java |
ed ${set1.length}, actual ${set2.length}.';
}
for (dynamic element in set1) {
if (!set2.contains(element)) {
throw 'Element $element not found. Expected $set1, actual $set2.';
}
}
if (set1.runtimeType.toString() != set2.runtimeType.toString()) {
throw "Runtime time difference: "
"${set... | Dart |
eUpdateMemory called")
// Parse request
var req UpdateMemoryRequest
if err := json.Unmarshal(params, &req); err != nil {
h.logger.Error().Err(err).Msg("failed to parse update memory request")
return UpdateMemoryResponse{
Success: false,
Error: fmt.Sprintf("invalid request format: %v", err),
}, nil
}
... | Go |
/\s/g,'-'))+'-'+(spellType.toLowerCase())+'+'+MIrowID,
base = shapeSpellbook( charCS, 'MI' )[1].base,
altSpellTable = getLvlTable( charCS, fieldGroups.ALTWIZ, fields.MIspellLevel );
{ // Block created to restrict scope of spellRCobj
// let spellRCobj = attrLookup( charCS, [attrName,null] );
let spellRC... | JavaScript |
FFD8 '.. .' - bnez $t9, <a href="#loc_883E5540">loc_883E5540</a>
<a name="0x883E55E0"></a> 0x883E55E0: 0x00000000 '....' - nop
<a name="loc_883E55E4">loc_883E55E4:</a>
; Refs: <a href="#0x883E55C4">0x883E55C4</a>
<a name="0x883E55E4"></a> 0x883E55E4: 0x8E110000 '....' - lw $s1, 0x0($s0)
<a nam... | HTML |
ble = if (ekfVar < BaseWidgetDiagnostic.GOOD_VARIANCE_THRESHOLD) okFlagDrawable
else if (ekfVar < BaseWidgetDiagnostic.WARNING_VARIANCE_THRESHOLD) warningFlagDrawable
else badFlagDrawable
ekfStatusView?.setCompoundDrawablesWithIntrinsicBounds(null, statusDrawable, null, null)
}
overrid... | Kotlin |
iosBundleId: 'co.lacoro.consumerFlutterApp',
);
static const FirebaseOptions macos = FirebaseOptions(
apiKey: 'AIzaSyC-Rk-X86WmvV4wUkg_JlFxh8mjM0Giopw',
appId: '1:781838696530:ios:240cf45d4b8e66be721f8b',
messagingSenderId: '781838696530',
projectId: 'lacoro-80c3a',
databaseURL: 'https://la... | Dart |
p.putBytes(b)
}
func (p *packer) encodeBytes(code byte, b []byte) {
p.putByte(code)
if i := bytes.IndexByte(b, 0x00); i >= 0 {
p.putBytesNil(b, i)
} else {
p.putBytes(b)
}
p.putByte(0x00)
}
func (p *packer) encodeUint(i uint64) {
if i == 0 {
p.putByte(intZeroCode)
return
}
n := bisectLeft(i)
var s... | Go |
32
add.d a0, t5, t4
endfunc_x264
/* int x264_pixel_satd_16x16_lasx(pixel *pix1, intptr_t i_pix1,
* pixel *pix2, intptr_t i_pix2)
*/
function_x264 pixel_satd_16x16_lasx
slli.d t2, a1, 1
slli.d t3, a3, 1
slli.d t4, ... | Assembly |
def give_sum(n,d,m):
s = n//d*m
r = n%d
if r==0:
return s
elif r <=6:
return s+15
elif r <=8:
return s+20
elif r <=10:
return s+25
def main():
t = int(input())
for i in range(t):
n = int(input())
if n <= 6:
print(15)
e... | Python |
transform: translate(-50%, -50%);
`};
transition: transform 0.3s ease-in-out;
@media (max-width: 700px) {
width: 400px;
height: 400px;
padding: 2rem;
border: 20px solid #000;
div {
width: 120px;
height: 120px;
top: calc(50% - 55px);
left: calc(50% -... | Typescript |
else {
rulerTop = height;
rulerBottom = screenCoord.y;
}
const float halfWidth = lineWidth * 0.5f;
const float x0 = trunc(cards[i].detailLineOffset.x + screenCoord.x - halfWidth);
const float... | Rust |
Q$ZRFcUZ]X0#Kk[0'(5(6v[&뾻KDt*RZӯ}/-4jiz湜i5(lͲ0IxqA H0'Z7gM_N>7_I%k=vo:
~!ilﮝ絖fYSHWI&3wשSZ۫.}' F483lom.G]>o#%n|/2:4nD 2pU/i}YlM֖F~e:Vbg>Z{4Ň/l%h:F1=B
--gF&ѧ([;iE4)O}mh_4[}GGKʰ L͉VIb8g`XUY}S=ڱikymo^d:_h/DpŠOoKv67Ó@pU.U/Eum"gWF˫Iy_~ vK
R-{"9|ok{y M`CH0sz(ݗektRYwMmd99[k}ggH... | HTML |
div class=\"elementor-element elementor-element-8f5de72 elementor-align-center form-4 elementor-widget elementor-widget-button\" data-id=\"8f5de72\" data-element_type=\"widget\" data-widget_type=\"button.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-button-wrapper\">\n... | HTML |
That(result.getRel()).isEqualTo(LinkRelation.of("something"));
assertThat(result.getAffordances()).hasSize(0);
});
}
}
/*
* Copyright 2015-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the Lice... | Java |
Nh\n" +
"1UQ/UmkcxK6uU/VALdpq4HFjr+mM09v1404iUrD9jweTLVKhq4p29ZCEWQKBgQCO\n" +
"mD+a7+OFUC4XAPRb/eJ2nN+VBTstk24k9fVss8zLSUb/A/siiy8bJlHtuok+53GH\n" +
"CVQg2qt/9cZb/K8CYmu5EAnFWTHP7nmyLuq1d6ZWjoo7XfmYK4zfbZJv9CvgHfMk\n" +
"AdFIA4savGJkkn8QP764O1rBHdG9ykf6EMQbRXackQKBgH4Gyg... | Java |
_owner.task);
let addr = map_memory(&ctx, UserAddress::default(), *PAGE_SIZE);
ctx.task
.mm
.write_memory(addr, &[0u8; std::mem::size_of::<sigset_t>() * 2])
.expect("failed to clear struct");
let original_mask = Signal::SIGTRAP.mask();
{
*... | Rust |
口
String mapper = null;
if (properties != null) {
mapper = properties.getProperty("mappers");
}
if (StringUtils.isNotEmpty(mapper)) {
String[] mappers = mapper.split(",");
for (String mapperClass : mappers) {
if (mapperClass.length() > 0) {
registerMapper(mapperClass);
}
}
}
}
/**
... | Java |
0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
... | C++ |
pan CreateNotSampledSpan(string spanName)
{
return Span.StartSpan(
notSampledSpanContext,
recordSpanOptions,
spanName,
parentSpanId,
false,
TraceParams.Default,
startEndHandler,
... | C# |
code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied... | Kotlin |
678483 10.6056918,11.2396221 11.635721,10.5548889 L11.9705886,10.2770833 L11.9705886,10.2770833 L12.2480957,10.0377527 C12.706222,9.62673358 12.8911905,9.34769302 12.8911905,8.85963235 C12.8911905,8.04075527 12.1915777,7.39438546 11.0681508,7.39438546 C10.0914956,7.40252002 9.16857926,7.84272811 8.54762795,8.59661201 L... | HTML |
]];
if(map_[str[right]] >=0)
{
--all;
}
```
当`all==0`时,即说明已经在`s`中全部遇到了`t`中的字符。`all==0`说明 **以当前 `L` 位置开始的子串中**,满足包含`t`中所有字符的最短字串就是`[L,R]`区间。
下一步操作是`L++`,即在 `[L,R]` 区间寻找以 `R` 结束的字串中满足条件的更短的字串`[L',R]`。在 `L` 右移动的过程中,需要 `map_[t[L]]++` ,表示将当前`L`字符移出`[L.R]`范围。一直移动到 `map_[t[L']] ==0`,此时`s[L]`肯定是`t`中的一个字... | Markdown |
AuditType {
switch category {
case "business":
return []AuditType{BusinessResourceType, DynamicGroupType}
case "resource":
return []AuditType{BusinessType, BizSetType, ProjectType, ModelInstanceType, CloudResourceType, KubeType}
case "host":
return []AuditType{HostType}
case "other":
return []AuditType{Mod... | Go |
place", "name": "Tamanrasset", "namepar": null, "namealt": null, "diffascii": 0, "nameascii": "Tamanrasset", "adm0cap": 0.0, "capalt": 0.0, "capin": null, "worldcity": 0.0, "megacity": 0, "sov0name": "Algeria", "sov_a3": "DZA", "adm0name": "Algeria", "adm0_a3": "DZA", "adm1name": "Tamanghasset", "iso_a2": "DZ", "note"... | JavaScript |
div></div><div class="col-md-3 col-sm-6 speaker-column"><div class="speaker"><div class="image-holder"><a class="anchor" id="mathias-wunderlich2581"></a> <img onerror='this.onerror=null,this.src="images/avatar.png"' data-original="images/speakers/573b1980-4e05-4a5f-b0a4-335af8ed9f44.jpg" class="lazy background-image" a... | HTML |
cs.iotvideo.IoTVideoSdk.nativeSha1WithBase256
com.tencentcs.iotvideo.IoTVideoSdk.nativeSha256WithHex
com.tencentcs.iotvideo.IoTVideoSdk.nativeStartDetectDevNetwork
com.tencentcs.iotvideo.IoTVideoSdk.nativeUnregister
com.tencentcs.iotvideo.IoTVideoSdk.nativeUpdateToken
com.tencentcs.iotvideo.IoTVideoSdk.nGetDidFromTid
c... | Markdown |
sidl_rmi_Ticket.hxx"
#endif
#ifndef included_sidl_rmi_InstanceHandle_hxx
#include "sidl_rmi_InstanceHandle.hxx"
#endif
#include "sidl_String.h"
#include "sidl_rmi_ConnectRegistry.h"
//
// Includes for all method dependencies.
//
#ifndef included_sidl_BaseInterface_hxx
#include "sidl_BaseInterface.hxx"
#endif
#ifndef ... | C++ |
pMn//8BYNMwmSp/+pFJkgyBDoMkkgODpOSuQOE5M/KgIOCsmfz/JknPhMyof5n+Ss/wzMhn4OBk1+smQLoWTn/mHAM/+VJz4KBwhZBEYJ/CkM8yZVBAAQxBCgP/A="))};
const V2_X_STEP = 26;
const V2_Y_STEP = 34;
const V2_TIME_Y_OFFSET = 8;
const V2_HX = 36;
const V2_HY = 0 + V2_TIME_Y_OFFSET;
const V2_MX = 10;
const V2_MY = 51 + V2_TIME_Y_OFFSET;
const ... | JavaScript |
namespace Chloe.Query
{
/// <summary>
/// lambda 表达式树中的变量插槽
/// </summary>
public abstract class VariableSlot
{
protected VariableSlot(int index)
{
this.Index = index;
}
public int Index { get; private set; }
}
public class VariableSlot<TVariab... | C# |
e() + f2.clone()) +
prime_field::fmul(
fri_eval_point_divbyx_squared, f0.clone() + (m_prime.clone() - f2.clone())
);
let mut f4 = ctx[evals_on_coset_idx + 4].clone();
let fri_eval_point_div_by_x2 = prime_field::fmul( fri_eval_point_divbyx.clone(), ctx[fri_half_inv_group_idx + 4].clone() );
let f5 = ctx[ev... | Rust |
ocusIn>", lambda event: onclick_entry(event, "Nama Lengkap"))
nama.bind("<FocusOut>", lambda event: onleave_entry(event, "Nama Lengkap"))
frame2 = tk.Frame(register_frame, width=295, height=2, bg="#eaebf1").pack(pady=(5, 20))
# Input email
email = tk.Entry(register_frame, width=36, fg="#eaebf1", border... | Python |
.href=baseRef + 'class-summary.html';saveClassListScrollTop();" style="color:black">
Classes
</a>
<span id="cls_searchspan" style="display:none">
<input type="text" id="cls_searchbox" onfocus="clsSearchBoxOnFocus();" onblur="clsSearchBoxOnBlur()" onkeyup="clsSearchOnKeyUp();">
<spa... | HTML |
if (key == 'strokeWidth') {
svgAttrName = 'stroke-width';
} else if (key == 'strokeLinecap') {
svgAttrName = 'stroke-linecap';
} else if (key == 'strokeLinejoin') {
svgAttrName = 'stroke-linejoin';
} else if (key == 'fillRule') {
svgAttrName = 'fill-r... | Dart |
int32_t pack_num_pages = get_compile_time_arg_val(5);
constexpr uint32_t pack_num_pages_last_col = get_compile_time_arg_val(6);
constexpr uint32_t pack_num_pages_last_row = get_compile_time_arg_val(7);
constexpr uint32_t pack_num_pages_last_row_col = get_compile_time_arg_val(8);
// In order to support f... | C++ |
.cos_p14 * cosphi * coslon;
ksp = 1;
if ((g > 0) || (Math.abs(g) <= EPSLN)) {
x = this.a * ksp * cosphi * Math.sin(dlon);
y = this.y0 + this.a * ksp * (this.cos_p14 * sinphi - this.sin_p14 * cosphi * coslon);
}
p.x = x;
p.y = y;
return p;
}
function inverse$25(p) {
var rh; /* height... | HTML |
=["Chỉ số Chứng khoán có Vốn hóa của Đài Loan"],t.exports["#QSE:GNRI-symbol-description"]=["Chỉ số QE"],t.exports["#BME:IBC-symbol-description"]=["Chỉ số IBEX 35"],t.exports["#NZX:NZ50G-symbol-description"]=["Tổng Chỉ số S&P / NZX 50"],t.exports["#SIX:SMI-symbol-description"]=["Chỉ số Thị trường Thuỵ Sĩ"],t.exports["#S... | JavaScript |
n.io/team/AngularMaterial/pen/RrbXyW" target="_blank">Start with a blank CodePen Material Application</a></li>\n' +
' <li style="margin-bottom: 30px;"><a href="https://github.com/angular/material-start" target="_blank"\n' +
' title="Link opens in a new window">Use the Github Starter Project</a>... | JavaScript |
t", closedOrders[8].OrderType.Value);
// Assert.AreEqual("Sell", closedOrders[8].OrderSide.Value);
// Assert.AreEqual("Complete", closedOrders[8].Status.Value);
// //------------------------------------------------------------------------
// //------------------- Trades ----... | C# |
in.User.Id);
memberships.Content.Value.Members[0].IsOwner.Should().BeTrue();
}
[Fact]
public async Task WhenRegisterMachineByAuthenticatedUserInSharedOrg_ThenRegistersMachineAsMember()
{
var login = await LoginUserAsync();
var organization = await Api.PostAsync(new CreateOrganiz... | C# |
num.append(20)
high_num.append(10)
low_num.append(10)
overall_num.append(20)
high_num.append(10)
low_num.append(10)
overall_num.append(20)
high_num.append(10)
low_num.append(10)
acc_close = acc_high_near + acc_high_far
acc_far = acc_low_near + acc_low_far
test_dat = pd.DataFrame([name, acc_overall, acc_close, acc_fa... | Python |
90px){#onetrust-banner-sdk.ot-buttons-fw:not(.ot-iab-2) #onetrust-button-group-parent{padding-left:3%;padding-right:4%;margin-left:0}#onetrust-banner-sdk.ot-buttons-fw:not(.ot-iab-2) #onetrust-button-group{margin-right:0;margin-top:1.25em;width:100%}#onetrust-banner-sdk.ot-buttons-fw:not(.ot-iab-2) #onetrust-button-gro... | HTML |
100%);
qproperty-AxisSelectedBasePenColor_y: rgba(223,74,22,100%);
qproperty-Axis2SelectedBasePenColor_y: rgba(223,74,22,100%);
qproperty-AxisSelectedTickPenColor_x: rgba(223,74,22,100%);
qproperty-Axis2SelectedTickPenColor_x: rgba(223,74,22,100%);
qproperty-AxisSelectedTickPenColor_y: rgba(223,74,2... | CSS |
speedScl = Mathf.lerpDelta(speedScl, Mathf.num(valid), 0.05f);
time += edelta() * speedScl * boost() * state.rules.unitBuildSpeed(team);
}
}
}
package subvoyage.type.block.storage.core;
import arc.Core;
import arc.audio.Music;
import arc.func.Boolp;
import arc.graphics.Color;
import arc.graphic... | Java |
w0, ls
str w24, [x19, 236]
ldr x0, [x20, 2312]
bl HEVC_ue_v
cmp w0, 3
str w0, [x19, 136]
bhi .L2218
ldr x1, .LC555
ldr x0, [x20, 2312]
bl HEVC_ue_v
cmp w0, 3
str w0, [x19, 144]
bhi .L2219
ldr w1, [x19, 136]
add w1, w1, 3
str w1, [x19, 140]
add w0, w0, w1
str w0, [x19, 148]
sub w2, w0, #4
cmp w2, 2
b... | Assembly |
.paneControls-2RChU0rC.forceHidden-2RChU0rC {
height: 0;
line-height: 0;
margin: 0;
padding: 0;
width: 0;
}
.button-2RChU0rC {
align-items: center;
display: flex;
flex: 0 0 auto;
height: 19px;
justify-content: center;
overflow: hidden;
position: relative;
width: 19px;
}
.button-2RChU0rC:not(:... | CSS |
; e_phnum
dw 0 ; e_shentsize
dw 0 ; e_shnum
dw 0 ; e_shstrndx
ehdrsize equ $ - ehdr
phdr: ; Elf32_Phdr
dd 1 ; p_type = PT_LOAD
dd 0 ... | Assembly |
/service/addrVotes.js";
import { SocketAddress } from "../../../src/util/ip.js";
describe("AddrVotes", () => {
let addVotes: AddrVotes;
beforeEach(() => {
addVotes = new AddrVotes(3);
});
it("should return winning vote after 3 same votes", () => {
const addr: SocketAddress = { ip: { type: 4, octets: ... | Typescript |
}
return parsedTx, nil
}
func assertEqual(orig *ethtypes.Transaction, cpy *ethtypes.Transaction) error {
// compare nonce, price, gaslimit, recipient, amount, payload, V, R, S
if want, got := orig.Hash(), cpy.Hash(); want != got {
return fmt.Errorf("parsed tx differs from original tx, want %v, got %v", want, go... | Go |
(source);
}
});
// configure appsink
appsink.set_emit_signals(true);
appsink.set_caps(Some(&audio_caps));
let data_weak = Arc::downgrade(&data);
appsink.connect_new_sample(move |_| {
let data = match data_weak.upgrade() {
Some(data) => data,
None => retu... | Rust |
size="1">t</font></sub>(B,C,D) = (B AND C) OR ((NOT B)
AND D) ( 0 <= t <= 19)
<br><br>
</dd><dd>f<sub><font size="1">t</font></sub>(B,C,D) = B XOR C XOR D
(20 <= t <= 39)
<br><br>
</dd><dd>f<sub><font size="1">t</font></sub>(B,C,D) = (B AND C) OR (B AND
D)
OR... | HTML |
HP1fbKZ3tOFNvpnxOr9vvKUSClkDgLQo7NAp/EwiCNX5CcRZ7iAQJi1QXjzVCZpSVBJdAF46IkT5sF4ePiqJRGYGChIWGjn2usrO0tXYFBjQGBbQFZrxQSiK5ggYykyGVJpjJj8udIcQ7xiWjIQdmB2upIwfEBtq2Hoyz1rPM59DlyLTk4u8pEQAh+QQJCgAAACwAAAAANgA2AAAEzBDISau9OOvNu/9gKI5kaZ5oqgLCMAirKRA0AcfjUBMDnu89X2hWuwkRCVoCoWm9hBLFjqaAdhDTGrPkNH6SWUKCu/N2wrWSrhb8oGlqYAicHZO... | CSS |
);
}
const source1 = traversal.traverse(sources[1]);
const off = node.findExpressionAfterToken("OFFSET");
if (off) {
options.push("offset: " + traversal.traverse(off));
}
const cnt = node.findExpressionAfterToken("COUNT");
if (cnt) {
options.push("count: " + traversal.traverse(... | Typescript |
Add(-13 * time.Hour), Through: ts.Add(-1 * time.Hour)}, // inherited from the chunk
},
},
},
},
},
},
}
for name, tc := range testCases {
t.Run(name, func(t *testing.T) {
result := partitionRequest(tc.inp)
require.Equal(t, tc.exp, result)
// Run each partition through the same ... | Go |
)
expect(service.isValidDigit(-90, Direction.Latitude)).toBe(true)
expect(service.isValidDigit(91, Direction.Latitude)).toBe(false)
expect(service.isValidDigit(-91, Direction.Latitude)).toBe(false)
})
})
})
import {
isAccountNumberPattern,
isAccountTypeOtherPattern,
isAlphaNumericPattern,
... | Typescript |
_shared"></a>R.22: 使用 `make_shared()` 创建 `shared_ptr`
##### 理由
`make_shared` 为构造提供了更精炼的语句。
它也提供了一个机会,通过把 `shared_ptr` 的使用计数和对象相邻放置,来消除为引用计数进行独立的内存分配操作。
##### 示例
考虑:
shared_ptr<X> p1 { new X{2} }; // 不好
auto p = make_shared<X>(2); // 好
`make_shared()` 版本仅提到一次 `X`,因而它通常比显式的 `new` 方式要更简短(而且更快)。
##### 强制实... | Markdown |
cum_spectra_.Y2[ch][k] / accum_spectra_.E2[ch][k];
is_erle_updated[k] = true;
}
}
if (use_onset_detection_) {
for (size_t k = 1; k < kFftLengthBy2; ++k) {
if (is_erle_updated[k] && !accum_spectra_.low_render_energy[ch][k]) {
if (coming_onset_[ch][k]) {
coming_o... | C++ |
from scapy.all import *
from typing import Dict, Any
import ipaddress
from datetime import datetime
def extract_packet_info(packet) -> Dict[str, Any]:
"""
Extract relevant information from a packet.
Args:
packet: Scapy packet object
Returns:
dict: Dictionary containing packet ... | Python |
.99-58.51-8.946-14.484-5.956-26.57-14.31-36.28-25.039-9.712-10.728-17.632-24.092-23.762-40.114z"/></svg>';
static const String ecere =
'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="512" height="512" preserveAspectRatio="xMidYMid meet" viewBox="0 0 512 512"><path fill... | Dart |
ex!(MoveOutIndex, "mo");
}
pub use self::indexes::MovePathIndex;
pub use self::indexes::MoveOutIndex;
impl self::indexes::MoveOutIndex {
pub fn move_path_index(&self, move_data: &MoveData) -> MovePathIndex {
move_data.moves[*self].path
}
}
/// `MovePath` is a canonicalized representation of a path th... | Rust |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.EntityFrameworkCore.Query.Associations.ComplexProperties;
namespace Microsoft.EntityFrameworkCore.Query.Associations.ComplexJson;
public abstract class ComplexJsonB... | C# |
name="seed">Optional seed used to generate a deterministic serial numbers (like the host name, its IP address, etc...). If <see langword="null"/>, a randomly generated seed will be used instead.</param>
/// <returns>A string where all '#' and '?' in the <paramref name="pattern"/> have been replaced.</returns>
///... | C# |
已经查出的有3人由于“张冠李戴”而捕错(他们本身也有较轻的罪行),有21人是可捕可不捕的。已经分别采取释放或管制的办法,及时做了纠正。
</p>
<p>
五、在逮捕的案犯中,现在还有3100多件尚未审清,我们已根据中央指示的“既合法、又敏捷”的精神,由公安,检察、法院三个部门组成预审起诉的联合办公室,并增调了审讯干部,加强了预审、起诉、审判工作。计划对1955年逮捕的犯人,在1956年4月底以前全部审清。为此,我们准备在明年第一季度集中力量清理积案,并且对反革命分子进行摸底排队,做好明年镇压反革命的准备工作。
</p>
<p>
六、一年来镇压反革命工作虽然取得了成绩,但是现在敌情还是很严重的,不少干部对这... | HTML |
.NewTypedParamValueLlong(0)},
{Field: "iothread.1.poll-max-ns", Value: *golibvirt.NewTypedParamValueLlong(32769)},
{Field: "iothread.1.poll-grow", Value: *golibvirt.NewTypedParamValueLlong(0)},
{Field: "iothread.1.poll-shrink", Value: *golibvirt.NewTypedParamValueLlong(0)},
},
},
}
dirtyrateStats = ... | Go |
hp')
gdf = get_alloc_pred()
gdf = gdf[gdf.Alloc_type == alloc]
gdf['Com_abs'] = gdf['Commodity'].apply(lambda x: x.split('_')[1])
gdf = gdf[gdf.Com_abs.isin(['Copper', 'Nickel', 'Zinc'])]
# Spatial join
w_regions = gpd.sjoin(w_regions, gdf, how='inner', predicate='intersects')
# ... | Python |
.44074411278126,-7.008428622070581,-5.82937260887614,-5.473264354467576,-6.952836296107263,-8.082429203514357,-8.797861636130923,-6.773576984007495,-7.594699828261504,-6.590837188629106,-9.171947363854656,-7.406412617491679,-6.906510467805557,-5.912544220796916,-9.267386938157014,-6.513890176673126,-5.7000396030316445,... | HTML |
t-goods-right[data-v-7aec4deb]{margin-left:16px;color:#595959}.he-matter .select-goods-right[data-v-7aec4deb] .el-table__row{height:73px}.he-matter .select-goods-right .goods__pic[data-v-7aec4deb]{width:48px;height:48px}.he-matter .select-goods .goods__info[data-v-7aec4deb]{margin-left:10px}.he-matter .select-goods .go... | CSS |
; Bool)
-> (Responses i -> Responses i -> Bool)
-> (Responses i -> Responses i -> Bool)
-> (Responses i -> Responses i -> Bool)
-> (Responses i -> Responses i -> Responses i)
-> (Responses i -> Responses i -> Responses i)
-> Ord (Responses i)
Responses i -> Responses i... | HTML |
uint(6, 5, 2)],
},
], // 5.9 Format 9: load/store with immediate offset
mov: [
{
base: "00100---________",
regex: /(r[0-7]),(#[0-9]+)$/,
args: [reg(8), uint(0, 8, 0)],
}, // move/compare/subtract immediate
{
base: "0001110000---___... | Typescript |
ate/Time]
- **Context File**: `memory/context/current-task.md`
### Session Information
- **Session Started**: [Date/Time]
- **Last Action**: [What you just did]
- **Next Action**: [What you plan to do next]
- **Blockers**: [Any issues preventing progress]
### Session Objectives
- **Primary Goal**: [What you're trying... | Markdown |
},
})
);
}
public setTitle({ title }: { title: string }): void {
this.websocket.send(
JSON.stringify({
event: "setTitle",
context: this.context,
payload: {
title,
target: DestinationEnum.HARDWARE_AND_SOFTWARE,
},
})
);
}
}
... | Typescript |
State
});
};
export const useToggleInject = () => {
const toggleContext = inject<ToggleContext>(ToggleSymbol);
if (!toggleContext) {
throw new Error("useToggleInject must be used after useToggleProvide");
}
return toggleContext;
};
import { IState } from "../../Reducers";
import { connect ... | Typescript |
e AngelScript needs to guarantee validity of pointers at all times, it doesn't always pass references to the true object to the function parameter. Instead it creates a copy of the object, whose reference is passed to the function, and if the reference is marked to return a value, the clone is copied back to the origin... | HTML |
r. This text is
* also used to select the stock item if gtk_button_set_use_stock()
* is used.
*
* This will also clear any previously set labels. */
set(value) {
gtk_button_set_label(self, value)
}
var relief: GtkReliefStyle
/**
* Ret... | Kotlin |
gle.scss */
.x-item-disabled .x-toggle .x-thumb:after {
background: #7e7e7e;
}
/* line 57, /home/teamcity/buildAgent/work/b52f9c8a2f79967b/touch/resources/themes/stylesheets/sencha-touch/windows/src/slider/_Toggle.scss */
.x-item-disabled .x-toggle .x-toggle-inner {
background-color: #383838;
}
/**
* @class Ext.t... | CSS |
果核",
"果盒",
"果酱",
"果胶",
"果酒",
"果决",
"果壳",
"果料",
"果林",
"果岭",
"果木",
"果农",
"果盘",
"果皮",
"果品",
"果然",
"果仁",
"果肉",
"果实",
"果树",
"果酸",
"果穗",
"果糖",
"果味",
"果乡",
"果心",
"果蝇",
"果园",
"果真",
"果汁",
"果枝",
"果子",
"蜾蠃",
"裹脚",
"裹乱",
"裹腿",
"裹胁",
"裹挟",
"裹扎",
"裹住",
"裹足",
"过半",
"过磅",
"过饱",
"过长",
"过场",
"过程",
"过秤",
"过从",
"过错",
"过大",
"过当",
"过道",
"过电... | JavaScript |
/* Multiple versions of vectorized exp10, vector length is 2.
Copyright (C) 2021-2024 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published ... | C |
nt, index('jis0208'));
if (pointer === null) {
return encoderError(code_point);
}
var lead = div(pointer, 94) + 0xA1;
var trail = pointer % 94 + 0xA1;
return output_byte_stream.emit(lead, trail);
};
}
/** @param {{fatal: boolean}} options */
name_to_encoding['euc-jp'].ge... | JavaScript |
prism-previewer-time circle {
stroke: hsl(230, 8%, 24%);
stroke-opacity: 1;
}
/* Stroke colours of the handle, direction point, and vector itself */
.prism-previewer-easing.prism-previewer-easing circle,
.prism-previewer-easing.prism-previewer-easing path,
.prism-previewer-easing.prism-previewer-easing line {
strok... | CSS |
} else {
val options =
RequestOptions().set(OkHttpModelLoader.sourceOriginOption, item.origin)
ImageLoader.load(context, item.image).apply(options).apply {
if (callBack.isGridLayout) {
placeholder(R.drawable.image_rss_articl... | Kotlin |
aste `EntityID` information in the `Identifier (Entity ID)` field.
* Paste `Location` link in `Reply URL (Assertion Consumer Service URL)` field.
* For the `Sign on URL` field, add URL `https://cloud.redis.io/#/login/?idpId=` where you need to add the ID from the Reply URL ID, for example, `https://cloud... | Markdown |
"},"P90 | Shallow Grave (Battle-Scarred)":{"buff":36185,"uu":48002,"c5":"321812131"},"P90 | Shallow Grave (Factory New)":{"buff":36186,"uu":5589,"c5":"295893118"},"P90 | Shallow Grave (Field-Tested)":{"buff":36187,"uu":1872,"c5":"298313551"},"P90 | Shallow Grave (Minimal Wear)":{"buff":36188,"uu":44485,"c5":"291352620"... | JavaScript |
, [%r20 + 0x006c]
cpu_intr_3_209:
setx 0x300009, %g1, %o0
ta T_SEND_THRD_INTR
cpu_intr_3_210:
setx 0x330320, %g1, %o0
ta T_SEND_THRD_INTR
cpu_intr_3_211:
setx 0x310227, %g1, %o0
ta T_SEND_THRD_INTR
setx data_start_6, %g1, %r21
ta T_CHANGE_HPRIV
mov 0x38, %g1
stxa %r18, [%g1] 0x58
.word 0x81983d98 ! 2611: WR... | Assembly |
import 'spell_checking_utils.dart' as spell;
import 'testing_utils.dart' show checkEnvironment;
void main([List<String> arguments = const []]) =>
runMe(arguments, createContext, configurationPath: "../testing.json");
Future<SpellContext> createContext(
Chain suite, Map<String, String> environment) async {
... | Dart |
# NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=x86-64 -iterations=500 -timeline -timeline-max-iterations=3 < %s | FileCheck %s
add %eax, %eax
pinsrw $0, %eax, %xmm0
pinsrw $1, %eax, %xmm0
# CHECK: Iterations: 500
# CHECK-... | Assembly |
e>0</code> indicates that it
is immediately adjacent to numbers.
<code>CHAR_MAX</code> in the C locale.
</p>
</dd>
<dt><code>char p_sign_posn</code></dt>
<dd><p>Controls the position of the <em>positive</em> sign for
numbers representing money. <code>0</code> means parentheses surround the
number; <code>1</code> mean... | HTML |
384, "experience_bottle", new ItemExpBottle().setUnlocalizedName("expBottle"));
Item.registerItem(385, "fire_charge", new ItemFireball().setUnlocalizedName("fireball"));
Item.registerItem(386, "writable_book", new ItemWritableBook().setUnlocalizedName("writingBook").setCreativeTab(CreativeTabs.tabMisc))... | Java |
18.1C18 24 17.9 23.9 17.8 23.8L17.6 22.5C17.3 22.4 17 22.2 16.8 22L15.6 22.5C15.5 22.5 15.4 22.5 15.3 22.4L14.3 20.7C14.2 20.6 14.3 20.5 14.4 20.4L15.5 19.6V18.6L14.4 17.8C14.3 17.7 14.3 17.6 14.3 17.5L15.3 15.8C15.4 15.7 15.5 15.7 15.6 15.7L16.8 16.2C17.1 16 17.3 15.9 17.6 15.7L17.8 14.4C17.8 14.3 17.9 14.2 18.1 14.2H... | JavaScript |
c = "The last calibration operation completed to meet 1% accuracy"]
#[inline(always)]
pub fn sysctl_pioscstat_crpass(self) -> &'a mut W {
self.variant(SYSCTL_PIOSCSTAT_CRW::SYSCTL_PIOSCSTAT_CRPASS)
}
#[doc = "The last calibration operation failed to meet 1% accuracy"]
#[inline(always)]
p... | Rust |
�를 전달하여 파이프라인을 실행하거나, 파이프라인 구조가 동일한 경우 사전 학습된 가중치를 로드할 수 있습니다.
```py
from diffusers import DDPMScheduler, UNet2DModel
scheduler = DDPMScheduler()
unet = UNet2DModel()
pipeline = UnetSchedulerOneForwardPipeline(unet=unet, scheduler=scheduler)
output = pipeline()
# load pretrained weights
pipeline = UnetSchedulerOneFo... | Markdown |
clone());
match avg_fixed.clone() {
Some(ref version) => {
if let Some(ref v) = a.fixed {
let cmp = alpm::vercmp(version.to_string(), v.to_string());
if let Ordering::Greater = cmp {
avg_fixed = ... | Rust |
*/ lwz r12, 0x18(r12)
/* 803A91AC 003A60EC 7D 89 03 A6 */ mtctr r12
/* 803A91B0 003A60F0 4E 80 04 21 */ bctrl
/* 803A91B4 003A60F4 90 61 00 E4 */ stw r3, 0xe4(r1)
/* 803A91B8 003A60F8 48 00 00 58 */ b .L_803A9210
.L_803A91BC:
/* 803A91BC 003A60FC 80 61 00 E8 */ lwz r3, 0xe8(r1)
/* 803A91C0 003A6100 80 81 00 E4 ... | Assembly |
, List<String> interfaces) {
this.access = access;
this.name = name;
this.superName = superName;
this.interfaces = interfaces;
this.fields = new ArrayList<>();
this.methods = new ArrayList<>();
}
@Override
public String toString() {
return "ClassEntit... | Java |
4x<0*128 + 0*32>], load0A0;
--:-:-:-:0 IADD track0A0.CC, track0A0, 2x<16>;
--:-:-:-:1 STS [writeAs + 4x<1*128 + 0*32>], load0A1;
--:-:-:-:1 STS [writeAs + 4x<2*128 + 0*32>], load0A2;
--:-:-:-:4 STS [writeAs + 4x<3*128 + 0*32>], load0A3;
--:-:-:-:0 IADD.X track0A1, track0A1, RZ;
02:-:-:-... | CSS |
ATYPE_BITS: SCATYPE_OBJECT = SCATYPE_BITS_INTERNAL;
export function checkType(byte: number, type: SCATYPE_KEY): boolean {
const ref = SCATYPE[type];
return (byte & SCATYPE_BITS[type]) === ref;
}
export enum SCATYPE {
CONST = 0x00,
UNDEFINED = 0x00,
TRUE = 0x01,
FALSE = 0x03,
NULL = 0x02,
... | Typescript |
配置工具
#### 3. 表→链→规则的分层结构
##### (1) 表
**filter表**:包过滤,有INPUT、FORWARD、OUTPUT三个链
**nat表**:地址转换,修改数据包的IP地址和端口号,有PREROUTING、POSTROUTING、OUTPUT三个链
**mangle表**:包重构,用于修改包的服务类型、生存周期以及为数据包设置Mark标记,以实现Qos(服务质量)、策略路由和网络流量整形等特殊应用。含PREROUTING、POSTROUTING、INPUT、OUTPUT和FORWARD五个链
**raw表**:数据跟踪,数据包是否被状态跟踪机制处理,有PREROUTING、OUTPUT两个... | Markdown |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.