content
stringlengths
2
6.21k
label
stringclasses
16 values
,只有当任务还在等待队列中才能被取消,如果一个任务正在被线程处理,则无法取消了。我们先看一下Libuv中是如何实现取消任务的。Libuv提供了uv__work_cancel函数支持用户取消提交的任务。我们看一下它的逻辑。 ```cpp static int uv__work_cancel(uv_loop_t* loop, uv_req_t* req, struct uv__work* w) { int cancelled; // 加锁,为了把节点移出队列 uv_mutex_lock(&mutex); // 加锁,为了判断w->wq是否为空 u...
Markdown
func (grpcAdaptor *GrpcAdaptorMock) UpdateNode(grpcHost string, node *v1.Node) *ReturnCode { grpcAdaptor.node = node grpcAdaptor.grpcHost = grpcHost return grpcAdaptor.returnCodeFunc(grpcAdaptor) } // DeleteNode is to invoke grpc func of DeleteNode func (grpcAdaptor *GrpcAdaptorMock) DeleteNode(grpcHost string, nod...
Go
-1c3.4-15.6 6-26.4 15.7-36.1s20.5-12.3 36.1-15.7l1-.2c14.9-3.2 34.2-7.4 50.9-24.1s20.9-36 24.1-50.9l.2-1c3.4-15.6 6-26.4 15.7-36.1c9.2-9.2 18-10.8 32.7-13.4l.9-.2c15.6-2.8 34.9-6.9 54.4-26.4c6.2-6.2 6.2-16.4 0-22.6zM191.2 479.2l288-288L495 207c10.9 10.9 17 25.6 17 41s-6.1 30.1-17 41L289 495c-10.9 10.9-25.6 17-41 17s-30...
JavaScript
rantKycTransactionBody { body := &services.TokenGrantKycTransactionBody{} if tx.tokenID != nil { body.Token = tx.tokenID._ToProtobuf() } if tx.accountID != nil { body.Account = tx.accountID._ToProtobuf() } return body } func (tx TokenGrantKycTransaction) getMethod(channel *_Channel) _Method { return _Meth...
Go
-- Ordered dictionary. -- -- The collection tracks the order in which the items are added -- and provides odict.pairs() function to get them in this order. -- -- The ordered dictionary is a usual Lua table with a specific -- metatable. All the table operations are applicable. -- -- It is similar to Python's collections...
Lua
], "电线杆": [["diàn"], ["xiàn"], ["gān"]], "电压表": [["diàn"], ["yā"], ["biǎo"]], "电压放大器": [["diàn"], ["yā"], ["fàng"], ["dà"], ["qì"]], "电压互感器": [["diàn"], ["yā"], ["hù"], ["gǎn"], ["qì"]], "电压计": [["diàn"], ["yā"], ["jì"]], "电影摄影机": [["diàn"], ["yǐng"], ["shè"], ["yǐng"], ["jī"]], "电熨斗": [["diàn"], ["yùn"], ["dǒu"]], "电照...
Typescript
} func TestUseTwoQuoteTypes(t *testing.T) { setUp() source = " \"e69de29bb2d1d6434b8b29ae775ad8c2e48c5391' " char = nextChar() _, error := Token() if error == nil { t.Errorf("should throw error with literal using two quote types") } } func assertToken(t *testing.T, expected uint8, found uint8) { if expecte...
Go
x::new(e)), )(i) } #[cfg(test)] mod tests { use super::{factor, AtomicExpression, Factor, UnaryOperator}; use crate::syntax::types::Atom; #[test] fn test_atom_factor() { let (rest, f) = factor(" 48").unwrap(); assert_eq!(rest, ""); assert_eq!( f, Fac...
Rust
f Title" private const val POPULAR_ITEMS_PER_PAGE = 30 private const val SEARCH_ITEMS_PER_PAGE = 12 private const val LATEST_ITEMS_PER_PAGE = 24 private const val PREF_LATEST_KIND_KEY = "preferred_latest_kind" private const val PREF_LATEST_KIND_DEFAULT = "Movies" privat...
Kotlin
# Get total GPU hours gpu_hours_stmt = select(fine_tuned_models_table.c.gpu_hours_consumed).where( fine_tuned_models_table.c.gpu_hours_consumed.isnot(None) ) gpu_hours_result = await db.execute(gpu_hours_stmt) total_gpu_hours = sum(row[0] for row in gpu_hour...
Python
+8CB8, U+8CBC, U+8CBF-8CC0, U+8CC2-8CC4, U+8CC8, U+8CD3, U+8CDE, U+8CE0, U+8CE2, U+8CED, U+8CFA, U+8CFD, U+8D08, U+8D0A, U+8D0F, U+8D1B, U+8D95, U+8D99, U+8DE1, U+8E8D, U+8ECB-8ECD, U+8EF8, U+8F14, U+8F1B, U+8F1D, U+8F29, U+8F3B, U+8F3F, U+8F44, U+8F4E, U+8F5F, U+8FAD, U+8FAF, U+8FB2, U+9055, U+9059, U+905C...
CSS
"ElemType", param.create_element_ast_type(*this)); Vector<const ast::Expression*, 4> args; for (uint32_t i = 0; i < param.columns; i++) { auto vec_type = ty.vec(ty.Of(elem_type_alias), param.rows); args.Push(Call(vec_type)); } ast::Type matrix_type = param.create_mat_ast_type(*this); ...
C++
; } return json_validate(text); } const char *pr_json_type_name(unsigned int json_type) { const char *name; switch (json_type) { case PR_JSON_TYPE_BOOL: name = "boolean"; break; case PR_JSON_TYPE_NUMBER: name = "number"; break; case PR_JSON_TYPE_NULL: name = "null"...
C
# otherwise the track's height value is fine. # We are assuming this title is some weird aspect ratio so most # likely a movie or HD source, so it's most likely widescreen so # 16:9 canvas makes the most sense. resolution = int(primary_video_track...
Python
[13928] = "Кальмар-гриль", [13930] = "Филе краснобородки", [13931] = "Суп из ночного луциана", [13932] = "Вареный солнечный лосось", [13935] = "Печеный лосось", [13936] = "Deprecated Dreadmaster\'s Shroud", [13937] = "Трость ректора", [13940] = "Рецепт: мощь-рыба в кляре", [13941] = "Рецепт: филе красно...
Lua
6.8c.4.3 1 .3 1.4 0L584 235c.4-.3.7-.7.7-1.2v-13.6c0-.5-.3-1-.7-1.2l-11.8-6.8c-.4-.3-1-.3-1.4 0L559 219zm-254.2 43.5v-70.4c0-2.6-1.6-5.1-3.9-6.4l-61.1-35.2c-2.1-1.2-5-1.4-7.4 0l-61.1 35.2c-2.3 1.3-3.9 3.7-3.9 6.4v70.4c0 2.8 1.9 5.2 4 6.4l61.2 35.2c2.4 1.4 5.2 1.3 7.4 0l61-35.2c1.8-1 3.1-2.7 3.6-4.7.1-.5.2-1.1.2-1.7zm-...
JavaScript
0 1.414-1.414L7.757 12l-1.414 1.414L4.93 12Zm8.485 0 4.243 4.242L21.899 12l-4.242-4.243L13.414 12Zm4.243-1.414L16.243 12l1.414 1.414L19.07 12l-1.414-1.414Zm-9.9 7.071L12 13.414l4.242 4.243L12 21.899l-4.243-4.242Zm2.829 0L12 16.243l1.414 1.414L12 19.07l-1.414-1.414Z" clip-rule="evenodd"/></svg>'; static const String ...
Dart
{ if k != v { t.Fatalf("Evict values not equal (%v!=%v) , time = %v", k, v, expirationTime) } evictCounter++ } l, err := NewLFU(128, onEvicted) if err != nil { t.Fatalf("err: %v", err) } for i := 0; i < 256; i++ { l.Add(i, i, initTime) for c := 0; c < i; c++ { l.Get(i) } } if l.Len() != 12...
Go
if (departureTime_ == null) { DepartureTime = new global::Google.Maps.Routing.V2.LocalizedTime(); } input.ReadMessage(DepartureTime); break; } } } } #endif } } #endregion } #...
C#
.org/licenses/>. */ package com.waicool20.mr2tachiyomi import com.waicool20.mr2tachiyomi.converters.Converter import com.waicool20.mr2tachiyomi.converters.CsvConverter import com.waicool20.mr2tachiyomi.converters.JsonConverter import com.waicool20.mr2tachiyomi.util.ABUtils import com.waicool20.mr2tachiyomi.util.TarH...
Kotlin
ype = bytes.readShort(); if (this.type == KFDropType.KF_BOSS) { this.kfBossData(bytes); } else if (this.type == KFDropType.DEVILDOM) { this.devildomData(bytes); } } /*跨服boss数据*/ private kfBossData(bytes: GameByteArray): void { this.time = bytes.readInt(); this.roleId = bytes.readInt(); this.serv...
Typescript
// RUN: llvm-mc < %s -triple=armv7-linux-gnueabi -filetype=obj -o %t -g -fdebug-compilation-dir=/tmp // RUN: llvm-dwarfdump -a %t | FileCheck -check-prefix DWARF %s // RUN: llvm-objdump -r %t | FileCheck --check-prefix=RELOC %s .section foo, "ax" b: mov r1, r1 // DWARF: .debug_abbrev contents: // DWARF: Abbrev ta...
Assembly
EV_HAS_GEAR_MODE|DEV_NEED_PHY_INIT_FIX|DEV_NEED_MSI_FIX, }, { /* MCP79 Ethernet Controller */ PCI_DEVICE(0x10DE, 0x0AB3), .driver_data = DEV_NEED_LINKTIMER|DEV_HAS_LARGEDESC|DEV_HAS_CHECKSUM|DEV_HAS_HIGH_DMA|DEV_HAS_MSI|DEV_HAS_POWER_CNTRL|DEV_HAS_PAUSEFRAME_TX_V3|DEV_HAS_STATISTICS_V123|DEV_HAS_TEST_EXTENDED|DEV...
C
const type = CaseType.CUSTODY const requestedOtherRestrictions = 'The accused should stay home.' // Act const r = formatRequestedCustodyRestrictions( type, undefined, requestedOtherRestrictions, ) // Assert expect(r).toEqual('The accused should stay home.') }) }) descr...
Typescript
item--material__subtitle">Description</div> </div> <div class="list-item__right list-item--material__right"> <i style="color:#ccc" class="list-item__icon list-item--material__icon zmdi zmdi-comment"></i> </div> </li> <li class="list-item list-item--material"> <div...
CSS
"--train-mode=whole", "--eval-datasets=" + eval_dataset, "--devices", str(config["devices"][0]) ] subprocess.run(cmd) # evaluate if config['evaluate']: # not useful now stop_task = len(dataset) if "exclude_sun397" in config and config[...
Python
end ChoGGi_Funcs.Common.OpenInListChoice{ callback = CallBackFunc, items = item_list, title = T(302535920000850--[[Change Resupply Settings]]), hint = T(302535920001094--[["Shows a list of all cargo and allows you to change the price, weight taken up, if it's locked from view, and how many per click."]])...
Lua
(move |_| Msg::ToggleModalFormDisplay(true, Some(contribution.clone()))) > { EDIT_BUTTON } </a> </div> <div class="control"> <a ...
Rust
onlinePlayers @Deprecated("设计过于傻逼,令人智熄", ReplaceWith("int(id)")) fun <T> CommandContext<T>.int(offset: Int): Int { return argument(offset).toInt() } @Deprecated("设计过于傻逼,令人智熄", ReplaceWith("int(id)")) fun <T> CommandContext<T>.intAt(index: Int): Int { return get(index).toInt() } @Deprecated("设计过于傻逼,令人智熄", Rep...
Kotlin
/**************************************************************************** * Driver for Solarflare Solarstorm network controllers and boards * Copyright 2005-2010 Solarflare Communications Inc. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Publi...
C
} } } } } } /// 处理用户脚本 fn process_user_script(&mut self, script: String) { if let Err(e) = self.exec_script(&script) { let err_lines = Lines::fmt_err(e.to_string()); for err_line in err_lines.into_vec() { ...
Rust
aemy-management.kms.eu-frankfurt-1.oraclecloud.com", "cryptoEndpoint": "entaftlvaaemy-crypto.kms.eu-frankfurt-1.oraclecloud.com", "signingKeyPem": "-----BEGIN PRIVATE KEY-----\n\n-----END PRIVATE KEY-----\n" }, "id": "ocid1.key.oc1....
Kotlin
012C /* 803C00FC 003BB63C 38 61 00 08 */ addi r3, r1, 8 /* 803C0100 003BB640 38 81 00 2C */ addi r4, r1, 0x2c /* 803C0104 003BB644 4B C5 8A 89 */ bl func_80018B8C /* 803C0108 003BB648 FC 20 F8 90 */ fmr f1, f31 /* 803C010C 003BB64C 38 61 00 08 */ addi r3, r1, 8 /* 803C0110 003BB650 4B C5 FC 5D */ bl func_8001FD6C...
Assembly
input: False Accept wildcard characters: False ``` ### -ThrottleLimit Specifies the maximum number of concurrent operations that can be established to run the cmdlet. If this parameter is omitted or a value of `0` is entered, then Windows PowerShell® calculates an optimum throttle limit for the cmdlet based on the nu...
Markdown
, {'70272', '保健按摩', '保健按摩'}, {'70273', '裸体视频', '裸体视频'}, {'70274', '聊天室性爱', '聊天室性爱'}, {'70275', '小姐哪里便宜', '小姐哪里便宜'}, {'70276', '官人我要', '官人我要'}, {'70277', '找女人代孕', '找女人代孕'}, {'70278', '哪里找小姐', '哪里找小姐'}, {'70279', '找色女', '找色女'}, {'70280', '哪里有洋妞', '哪里有洋妞'}, {'70281', '骚妹视频', '骚妹视频'}, {'70282', '激情qq', '激情qq'}, {'70283', '...
Lua
idateLayout( true, true ); if ( pCtrl->type == O_CATEGORY ) { pCtrl->pPrompt->SetFont( pScheme->GetFont( "HudFontSmallBold", true ) ); pCtrl->pPrompt->SetFgColor( pScheme->GetColor( "TanLight", Color(255,0,0,255) ) ); } else { pCtrl->pPrompt->SetFgColor( tanDark ); } } pCtrl->pScrObj...
C++
dst.getRegister() == Register.RAX && getBitness() < 64 && src.isDisplacementOnly()) not supported by this CodeAssembler bitness } /* else */ testAssembler(c -> c.mov(rdx, mem_ptr(0x0L).base(rsi)), Instruction.create(Code.MOV_R64_RM64, ICRegisters.rdx, new MemoryOperand(ICRegisters.rsi, ICRegister.NONE, 1, 0x0L, 0, fa...
Java
/**************************************************************************** ** ** Copyright (C) 2017 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the Qt Network Auth module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:BSD$ ** Commercial License Usage ** Licensees holding valid...
C
-app>main .command"); expect(commandBox).toBeNull(); done(); }); }); }); }); describe("when logged in as admin (boostrap_token)", function () { beforeEach(becomeAdmin); it("displays the server version", function (done) { createElement((ele) =...
JavaScript
child: Text( "Bắt đầu đánh giá ngôn ngữ.\nBa mẹ hãy đọc lại những câu trên màn hình đi ạ", style: TextStyle( fontFamily: 'Sriracha', fontSize: 40, color: Color(0xff8EB5FF), ), ), ), Padding( ...
Dart
if (cookieHeader != null) { var match = CookieRegex.Match(cookieHeader); var fields = match.Groups["cookie_name"].Captures; var values = match.Groups["cookie_value"].Captures; for (var i = 0; i < fields.Count; i++) { ...
C#
/ES") then 5 else if (GetSymbol() == "/NQ") then 12.5 else ATR(); def entryPrice = entryPrice(); def high_ref = if IsNaN(entryPrice[1]) then entryPrice() else if !IsNaN(entryPrice[0]) then Max(high, high_ref[1]) else entryPrice(); def low_ref = if IsNaN(entryPrice[1]) then entryPrice() else if !IsNaN(entryPr...
Typescript
+8317, U+8338, U+834a, U+83d3, U+8401, U+8469, U+849e, U+854a, U+8559, U+865e, U+86e4, U+8700, U+8759, U+8760, U+8778, U+8782, U+879e, U+87d1, U+880d, U+8836, U+8944, U+89c8, U+8aac, U+8b74, U+8ba2, U+8ba4, U+8bae, U+8bfb, U+8c4e, U+8cb3, U+8cb6, U+8d16, U+8d28, U+8e44, U+8f3b, U+8f3f, U+8f91, U+8fb9, U+8fc4, U+8fde, U...
CSS
verride fun reset() { isClosed = false markedPosition?.let { currentPosition = it markedPosition = null } } override fun readInt(): Int { return if (!exhausted()) { source[currentPosition++].toInt() and 0xff } else { -1 ...
Kotlin
(structurePermissionList.containsList("VENDOR")) structurePermissionList.dropList("VENDOR"); } if (!staticObject && getBaseMaintenanceRate() != 0 && !isTurret() && !isMinefield() && !isScanner()) { //Decay is 4 weeks. maxCondition = getBaseMaintenanceRate() * 24 * 7 * 4; scheduleMaintenanceExpirationEvent...
C++
/* ARM64 mul_1 -- Multiply a limb vector with a limb and store the result in * a second limb vector. * * Copyright (C) 2013 Jussi Kivilinna <jussi.kivilinna@iki.fi> * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify * it under the terms ...
Assembly
have any * questions. */ /* * @test * @summary run CTW for all classes from jdk.jdeps module * * @library /test/lib / /testlibrary/ctw/src * @modules java.base/jdk.internal.access * java.base/jdk.internal.jimage * java.base/jdk.internal.misc * java.base/jdk.internal.reflect * @mod...
Java
Tab } @Action public Login(userInfo: { username: string; password: string }) { const { username, password } = userInfo return new Promise(resolve => { this.SET_TOKEN(new Date().getTime().toString()) Cookies.set('userName', username.trim()) setToken(new Date().getTime().toString()) ...
Typescript
n = getMin(tccImag); cout << "Max. TCC Imag Value: " << max << endl; writeFloatArrayToPNGWithContinuousColor(tccSize, tccSize, tccImag, "./out/tcc_i.png", min, max); // Calculate optical image in Fourier domain cout << endl << "------------------------------------" << endl; cout << "Starting calcImage..." <<...
C++
.data .global page6c page6c : .xword 0x6c6c6c6c6c6c6c6c .xword 0x0a0a0a0a9abcdef0 .xword 0x6c6c6c6c6c6c6c6c .xword 0x0a0a0a0a76547654 .xword 0x6c6c6c6c6c6c6c6c .xword 0x0a0a0a0a9abcdef0 .xword 0x6c6c6c...
Assembly
// that use SLF4J 2, so we need to force it to use Log4J2 InternalLoggerFactory.setDefaultFactory(Log4J2LoggerFactory.INSTANCE); // delegate all Vert.x logging to Log4J2 System.setProperty(VERTX_LOGGER_FACTORY, Log4j2LogDelegateFactory::class.java.canonicalName) } /** * Configur...
Kotlin
, B #endif #ifdef RN addl $1, KK #endif #ifdef RT subl $1, KK #endif decl J # j -- jg .L01 .L999: movl OLD_STACK, %esp EMMS popl %ebx popl %esi popl %edi popl %ebp ret EPILOGUE
Assembly
T("furnace_minecart"), EGG("egg"), COMPASS("compass"), FISHING_ROD("fishing_rod"), CLOCK("clock"), GLOWSTONE_DUST("glowstone_dust"), COD("cod"), SALMON("salmon"), TROPICAL_FISH("tropical_fish"), PUFFERFISH("pufferfish"), COOKED_COD("cooked_cod"), COOKED_SALMON("coo...
Java
tiplier_value .type update_multiplier_value, %function update_multiplier_value: and w6, w0, 65535 adrp x0, .LANCHOR2 mov x7, 0 adrp x8, .LANCHOR12 ldrh w10, [x0, #:lo12:.LANCHOR2] adrp x0, .LANCHOR18 mov w5, 0 add x8, x8, :lo12:.LANCHOR12 ldrh w11, [x0, #:lo12:.LANCHOR18] cmp w10, w7, uxth bhi .L173 cbz w5...
Assembly
/* * Copyright (c) 2009-2011 Atheros Communications Inc. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" A...
C
Collection<List<E>> delegate() { // return delegate; // } // // @Override // public boolean equals(@Nullable Object object) { // // Warning: this is broken if size() == 0, so it is critical that we // // substitute an empty ImmutableSet to the user in place of this // if (object instanceof...
Java
se any winding order. Since there may * be many vertices, they are allocated using Alloc. Connectivity information is used to create * smooth collisions. WARNING The chain will not collide properly if there are self-intersections. * * @author Daniel */ class ChainShape : Shape(ShapeType.CHAIN) { var m_vertices: ...
Kotlin
fps.Subjects() assert.NoError(err) assert.NotNil(s) assert.Len(s, 6) assertSubject(assert, s, "intoto_test.go", path.Join(".", "intoto_test.go")) assertSubject(assert, s, "intoto.go", path.Join(".", "intoto.go")) assertSubject(assert, s, "subjects_test.go", path.Join(".", "subjects_test.go")) assertSubject(ass...
Go
beKilledNumListMemoizedSerializedSize = dataSize; } if (retcode_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(15, retcode_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Over...
Java
"flask-empty-minus-outline": F123B, "flask-empty-off": F13F4, "flask-empty-off-outline": F13F5, "flask-empty-outline": F0095, "flask-empty-plus": F123C, "flask-empty-plus-outline": F123D, "flask-empty-remove": F123E, "flask-empty-remove-outline": F123F, "flask-minus": F1240, "flask-minus-outline": F...
CSS
}); } else { chrome.storage.local.set({hookJson: true}, function () { }); } }); $("#BhookXhr").click((e) => { // 获取复选框的选中状态 var isChecked = $("#hookXhr").prop('checked'); if (isChecked) { chrome.storage.local.set({hookXhr: false}, function () { }); } else { ...
JavaScript
n3 /** * The radius of the occluder. * @see <a href="https://cesium.com/docs/cesiumjs-ref-doc/Occluder.html#radius">Online Documentation</a> */ var radius: Double /** * Determines whether or not a point, the `occludee`, is hidden from view by the occluder. * ``` * const camer...
Kotlin
&str) -> Result<Option<Circuit>, CircuitStoreError>; } /// An iterator over circuits, with a well-known count of values. pub struct CircuitIter { inner: Box<dyn Iterator<Item = Circuit> + Send>, total: u64, } impl CircuitIter { /// Construct the new iterator with the given total and an inner iterator. ...
Rust
1, userRole2, userDomainsResultList) } postTest() } func TestWildcardOwnAccess4(t *testing.T) { preTest() obj := domainObjectTest{ CreatorDomains: nil, } req, _ := http.NewRequest(http.MethodGet, "https://10.1.1.1/v1/group/12345", nil) // method can be ignored because we use different op for testing later u...
Go
1, chrLatch0: _chrLatch0, chrLatch1: _chrLatch1, mirroring: _mirroring, ); @override set state(covariant MMC2State state) { _prgBank = state.prgBank; _chrBank0[0] = state.chrBank0[0]; _chrBank0[1] = state.chrBank0[1]; _chrBank1[0] = state.chrBank1[0]; _chrBank1[1] = state.chrBan...
Dart
イクルが延々と続きます。</p>\n\n<p> PoW 変更前のハード フォークの主な例は、2017 年の RingCT の組み込みです。これは、Monero のプライバシーを何桁も増加させた Monero への最大の変更であると言えます。私たちは、特にトリプティクやレランタスなどのエキサイティングな新しいプライバシー技術が開発されているため、プロトコルを硬直化するのは時期尚早だと考えています。とはいえ、私たちは開発、研究などを可能な限り分散化するために懸命に取り組んでいます。 <a class=\"next-link\" href=\"/knowledge/why-monero-is-open-source-and-decentr...
Dart
_b32 s5, vcc_hi // CHECK: [0x6b,0x2e,0x85,0xbe] s_movrels_b32 s5, tba_lo // CHECK: [0x6c,0x2e,0x85,0xbe] s_movrels_b32 s5, tba_hi // CHECK: [0x6d,0x2e,0x85,0xbe] s_movrels_b32 s5, tma_lo // CHECK: [0x6e,0x2e,0x85,0xbe] s_movrels_b32 s5, tma_hi // CHECK: [0x6f,0x2e,0x85,0xbe] s_movrels_b32 s5, ttmp11 // CHECK: [0x7...
Assembly
// // ClassDump By HuangBai Private // Copyright (C) 1997-2019 Steve Nygard. Updated HuangBai-2024 // #import <UIKit/UIView.h> @class MMLiveControlItem, NSString, UIImageView, UILabel; @protocol WCFinderLiveControlItemCellDelegate; @interface WCFinderLiveControlItemCell : UIView { _Bool _isActionDisabled; ...
C
.x.baseVal.value; point.y = MinRect.y.baseVal.value; points.appendItem(point); } else { var point = this.S.GetSVGPoint(); point.x = (MinRect.width.baseVal.value / 1.3) + MinRect.x.baseVal.value; point.y = MinRect.y.baseVal.value...
Typescript
566 v -15.452 l 7.8444949,2.628449 5.656854,-2.65165 4.24264,3.005204 5.833631,-3.237437 3.712311,3.944543 z" style="fill:url(#linearGradient3448);stroke:#888a85" />\n <path d="m 30.383464,12.110514 c 4.108,0.159 7.304,-0.978 8.867,1.446 0.304,-3.9679998 -7.254,-8.8279998 -9.285,-8.4979998 0.813,0.498 0.418,7.05199...
JavaScript
)}},{key:"toString",value:function(){return"<Size#"+this.width+"x"+this.height+">"}}]),t}(),LEe=function(){function t(e,r){B6(this,t),this.unit=e,this.value=r}return Nk(t,[{key:"fromJS",value:function(r){r(this.unit,this.value)}},{key:"toString",value:function(){switch(this.unit){case nu.UNIT_POINT:return String(this.v...
JavaScript
; $input-border-focus: #104888 !default; $brand-success-font: #2f7432 !default; $brand-info-font: #1a6c7a !default; $brand-warning-font: #9d6106 !default; $brand-danger-font: #ac2a2a !default; $base-font: #000 !default; $shadow: #000 !default; $skin-name: 'bootstrap-dark' !default; $theme-name: 'bootstrap-dark' !defaul...
CSS
movs r2, #0x82 lsls r2, r2, #5 adds r0, r2, #0 strh r0, [r1] ldr r0, _080A3FB8 @ =sub_80A40A0 movs r2, #0x80 lsls r2, r2, #1 ldr r1, _080A3FBC @ =sub_80A43DC str r1, [sp] movs r1, #0x94 movs r3, #0 bl TaskCreate ldrh r4, [r0, #6] movs r0, #0xc0 lsls r0, r0, #0x12 adds r4, r4, r0 movs r1, #0xa0 lsls r1,...
Assembly
","̈" }, ["ӝ"]={ "ж","̈" }, ["Ӟ"]={ "З","̈" }, ["ӟ"]={ "з","̈" }, ["Ӣ"]={ "И","̄" }, ["ӣ"]={ "и","̄" }, ["Ӥ"]={ "И","̈" }, ["ӥ"]={ "и","̈" }, ["Ӧ"]={ "О","̈" }, ["ӧ"]={ "о","̈" }, ["Ӫ"]={ "Ө","̈" }, ["ӫ"]={ "ө","̈" }, ["Ӭ"]={ "Э","̈" }, ["ӭ"]={ "э","̈" }, ["Ӯ"]={ "У","̄" }, ["ӯ"]={ "у","̄" }, ["Ӱ"]={ "У...
Lua
); let ref_cpu = &mut cpu; c.bench_function("test_Cpu_ora_zero_page", |b| b.iter(|| test_cpu_ora_zero_page(ref_cpu))); c.bench_function("test_Cpu_ora_zero_page2", |b| b.iter(|| test_cpu_ora_zero_page2(ref_cpu))); } criterion_group!(benches, criterion_benchmark, criterion_benchmark2, criterion_benchmark3); ...
Rust
), msg); return 0; } /* * Get controller status information. */ static int wtstatus(struct wt_softc *sc) { bus_space_tag_t iot = sc->sc_iot; bus_space_handle_t ioh = sc->sc_ioh; char *p; int s; s = splbio(); wtsoft(sc, sc->regs.BUSY | sc->regs.NOEXCEP, sc->regs.BUSY | sc->regs.NOEXCEP); /* ready? */ ...
C
"readium-navigator-web-internals" // // include(":readium:navigators:web:reflowable") // project(":readium:navigators:web:reflowable") // .name = "readium-navigator-web-reflowable" // // include(":readium:navigators:web:fixedlayout") // project(":readium:navigators:web:fixedlayout") // .name = "readium-navigat...
Kotlin
else{ Valid.pindah(evt, BtnCari, NamaPasien); } }//GEN-LAST:event_BtnAllKeyPressed private void tbObatMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_tbObatMouseClicked if(tabMode.getRowCount()!=0){ try { getData(); } catch (java.la...
Java
eeee; } /* line 50, ../../../../shared/bundle/ruby/1.9.1/gems/compass-0.10.6/frameworks/blueprint/stylesheets/blueprint/_scaffolding.scss */ body.bp hr { background: #dddddd; color: #dddddd; clear: both; float: none; width: 100%; height: 0.1em; margin: 0 0 1.45em; border: none; } /* line 52, ../../../.....
CSS
; 쿏; 쿏; 쿏; 쿏; ) HANGUL SYLLABLE KYOLB CFD0;CFD0;110F 116D 11B3;CFD0;110F 116D 11B3; # (쿐; 쿐; 쿐; 쿐; 쿐; ) HANGUL SYLLABLE KYOLS CFD1;CFD1;110F 116D 11B4;CFD1;110F 116D 11B4; # (쿑; 쿑; 쿑; 쿑; 쿑; ) HANGUL SYLLABLE KYOLT CFD2;CFD2;110F 116D 11B5;CFD2;110F 116D 11B5; # (쿒; 쿒; 쿒; 쿒; 쿒; ) HANGUL SYLLABLE KYOLP CFD3;CFD3;110F 116...
Kotlin
{$prefix}code-color: #{$code-color-dark}; --#{$prefix}highlight-color: #{$mark-color-dark}; --#{$prefix}highlight-bg: #{$mark-bg-dark}; --#{$prefix}border-color: #{$border-color-dark}; --#{$prefix}border-color-translucent: #{$border-color-translucent-dark}; --#{$prefix}form-valid-color: #{$form-va...
CSS
-- MIRROR SPHERE material_props(1, 0) -- mirror shade_albedo(1, 1, 1); -- white sphere = primitive_sphere(0, 0, 0,
Lua
return {} endtry endif mark ' while level if searchpair(openpat, middlepat, closepat, a:spflag, skip) < 1 call s:CleanUp(restore_options, a:mode, startpos) return {} endif let level = level - 1 endwhile ...
Kotlin
continue; } if (0 == strncmp ("--redup-delim=", *argv, 14)) { g_redup_delim = atoi (&((*argv) [14])); continue; } if (0 == strncmp ("--pref-fsm=", *argv, 11)) { g_pInPrefFsmFile = &((*argv) [11]); continue; } if (0 == strncmp ("--pref-delim=", *argv, 13)) { ...
C++
Labels.aicommands["wMsgJ_RAD_DL_SET_FREQ_3"], enabled = true } }, { "wMsgJ_RAD_DL_SET_FREQ_4" , new CommandInfo { uniqueid = 23448, name = "wMsgJ_RAD_DL_SET_FREQ_4", displayname = Labels.aicommands["wMsgJ_RAD_DL_SET_FREQ_4"], enabled = true } }, { "wMsgJ_RAD_DL_...
C#
veStructuralCrossSection(); bool matStiffSymmFlag = cs->isCharacteristicMtrxSymmetric(rMode); answer.clear(); if ( !this->isActivated(tStep) ) { return; } FloatMatrix temp; FloatMatrix *m = & answer; if ( this->giveInterpolation() && this->giveInterpolation()->hasSubPatchFormulatio...
C
local utils = require 'malo.utils' local augroup = utils.augroup local keymaps = utils.keymaps -- Add some aliases for Neovim Lua API local o = vim.o local wo = vim.wo local g = vim.g local cmd = vim.cmd -- TODO -------------------------------------------------------------------------------------------- -- - Flesh o...
Lua
].attrib_desc), descriptors[0].attrib_desc.align, ) } /// Set the vertex component OpenGL pointers regarding the index of the component and the vertex /// stride. fn set_component_format( ctx: &mut glow::Context, stride: usize, off: usize, desc: &VertexBufferDesc, ) { unsafe { l...
Rust
间 //0未知,正数引号内,负数引号外。 //如果相邻的两个标记都为+1,那么需要增加1个引号。 //引号内不进行断句 val mod = IntArray(str.length) var waitClose = false for (i in str.indices) { val c = str[i] if (match(MARK_QUOTATION, c)) { val size = arrayQuote.size // ...
Kotlin
usize; // Clear data fn clear(&mut self); // Export analysis info - needed inputs fn info(width : usize) -> String; // Brief info for analysis fn brief_info() -> String; // export form for summary file (explaination of each column in summary file) fn export_form(width : usize) -> St...
Rust
oft_block_indent(), FormatBodyStatement::new(&body?) ] ) } } <filename>research/gaia/gremlin/gremlin_core/src/structure/filter/codec.rs // //! Copyright 2020 Alibaba Group Holding Limited. //! //! Licensed under the Apache License, Version 2.0 (the "License"); //! you may not us...
Rust
EE, /// <summary> /// Remove a user from current channel. /// </summary> RemoveUserFromChannel = 0x3EF, /// <summary> /// Send a message putting generic conference name at top when player leaves a channel. /// </summary> LeaveChannel = 0x3F0, //...
C#
forward:focus-visible::after, .plyr__menu__container .plyr__control--forward[data-focus]::after, .plyr__menu__container .plyr__control--forward:hover::after { border-left-color: currentColor; } .plyr__menu__container .plyr__control--back { font-weight: var(--plyr-font-weight-regular, 400); margin: calc(var(--ply...
CSS
lhz(chr1, 0, str1); } if (stride2 == 1) { lbz(chr2, 0, str2); } else { lhz(chr2, 0, str2); } subf_(result, chr2, chr1); // result = chr1 - chr2 bne(CCR0, Ldone); addi(str1, str1, stride1); addi(str2, str2, stride2); bdnz(Lloop); // If strings are equal up to min length, return the length difference. bi...
C++
/* wigToBed - Convert wig to bed format using a threshold. A primitive peak caller.. */ /* Copyright (C) 2011 The Regents of the University of California * See README in this or parent directory for licensing information. */ #include "common.h" #include "linefile.h" #include "hash.h" #include "options.h" #include "...
C
A_MODE // Set camera zoom. Camera must respond with a CAMERA_SETTINGS message (on success). MAV_CMD_SET_CAMERA_ZOOM MAV_CMD = common.MAV_CMD_SET_CAMERA_ZOOM // Set camera focus. Camera must respond with a CAMERA_SETTINGS message (on success). MAV_CMD_SET_CAMERA_FOCUS MAV_CMD = common.MAV_CMD_SET_CAMERA_FOCUS // Se...
Go
ter channel */ typedef volatile struct _Ifx_INT_ICU { Ifx_INT_ICU_LWSR LWSR; /**< \brief 0, Latest Winning Service Request Register */ Ifx_INT_ICU_LASR LASR; /**< \brief 4, Last Acknowledged Service Request Register */ Ifx_INT_ICU_ECR ECR; /**< \brief 8, ...
C
plugin on a prior call to get_identity_token. * @param exception (out) A SecurityException object. */ virtual bool return_identity_token(IdentityToken* token, SecurityException& exception) = 0; /*! * @brief Returns the Handshakehandle object to the plugin so i...
C
import numpy as np import torch from hiss.tasks.task import Task class VectorTask(Task): def __init__(self, filter_input=False, filter_cutoff=0.03) -> None: super().__init__("VectorTask") self.filter_input = filter_input self.metrics = [ "mse", "err", "...
Python
chapter1-5/) 연습 문제 출처 : [홍정모 교수님 블로그](https://blog.naver.com/atelierjpro/221413483005) {: .notice--warning} <br> ## 🙋 Q1. 무한 반복 사운드를 pause & resume 해보세요. ```cpp #include "fmod.hpp" #include <iostream> #include <conio.h> using namespace std; int main() { cout << "FMOD cpp conext example" << endl; FMOD::Sys...
Markdown