content
stringlengths
2
6.21k
label
stringclasses
16 values
_list().count(); ++idx) { if (!last_print_flag) { DO_IF_SUCC(databuff_printf(info, INFO_MAX_LEN, pos, new_list.get_addr_list()[idx])); last_print_flag = true; } else { DO_IF_SUCC({ret = databuff_printf(info, INFO_MAX_LEN, pos, ", "); OB_SUCCESS != ret ? : ret = da...
C++
6: 6000, 7: 7000, 8: 8000, 9: 9000 } /** * Switches off of the hearoes * race increases or decreases * their skills depending on * that. */ export const checkRace = (hero: Hero) => { switch (hero.race) { case RaceOptions.human: hero.skills.persuade +=2; hero.skills.intelligence++; h...
Typescript
a href="http://www.aqniu.com/wp-content/uploads/2016/09/step3.png"><img class="aligncenter size-full wp-image-19717" src="http://www.aqniu.com/wp-content/uploads/2016/09/step3.png" alt="step3" width="215" height="381" srcset="http://www.aqniu.com/wp-content/uploads/2016/09/step3.png 215w, http://www.aqniu.com/wp-conten...
HTML
Int8)] """ return list(self.values()) @overload def to_frame(self, *, eager: Literal[False] = ...) -> LazyFrame: ... @overload def to_frame(self, *, eager: Literal[True]) -> DataFrame: ... def to_frame(self, *, eager: bool = True) -> DataFrame | LazyFrame: """ Crea...
Python
B}', r'\acute{a}', r'\vec{F}', r'\Overrightarrow{AB}', r'\bar{y}', r'\overleftarrow{AB}', r'\overrightarrow{AB}', r'\breve{a}', r'\underleftarrow{AB}', r'\underrightarrow{AB}', r'\check{a}', r'\overleftharpoon{ac}', r'\overrightharpoon{ac}', ...
Dart
ImmutableArray<string> autoVerifiedAttributes, string creationDate, string customDomain, string deletionProtection, ImmutableArray<Outputs.GetUserPoolDeviceConfigurationResult> deviceConfigurations, string domain, ImmutableArray<Outputs.Ge...
C#
ter (sometimes called the command-line interpreter or <span class="sc">cli</span>) and the machine interface interpreter (or <span class="sc">gdb/mi</span>). This manual describes both of these interfaces in great detail. <p>By default, <span class="sc">gdb</span> will start with the console interpreter. However,...
HTML
.6886675" fill="var(--pub-primary-color)" : #EA042C></path><g id="Group-26" transform="translate(0.000000, 0.209905)"><mask id="mask-4" fill="white"><use xlink:href="#path-3"></use></mask><g id="Clip-25"></g><path id="Fill-24" d="M115.033195,118.388455 L91.2071627,96.5364574 L79.5364703,85.8308501 L115.10434,51.1510285...
HTML
lan"], ['缇'] = ["ti"], ['缈'] = ["miao"], ['缉'] = ["ji", "qi"], ['缊'] = ["wen", "yun"], ['缋'] = ["hui"], ['缌'] = ["si"], ['缍'] = ["duo"], ['缎'] = ["duan"], ['缏'] = ["bian", "pian"], ['缐'] = ["xian"], ['缑'] = ["gou"], ['缒'] = ...
C#
/* * Copyright 2019-2022 Diligent Graphics LLC * Copyright 2015-2019 Egor Yusov * * 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....
C
----------------------------------- -- Area: Port San d'Oria -- NPC: Nogelle -- Starts Lufet's Lake Salt ----------------------------------- local ID = require("scripts/zones/Port_San_dOria/IDs") require("scripts/globals/settings") require("scripts/globals/quests") require("scripts/globals/titles") -------------------...
Lua
{ constructor(h: number, m: number) { } tick() { console.log("tick tock"); } } let digital = createClock(DigitalClock, 12, 17); let analog = createClock(AnalogClock, 7, 32);class PriorityQueue { public values: any[]; constructor() { this.values = []; } enqueue(val: any, priority: any) { th...
Typescript
events_duration = { [1] = 3.0235, [2] = 1.702917, }, randomize_indexes = {}, }, veteran_gang_metropolitan_aeldari_c = { randomize_indexes_n = 0, sound_events_n = 1, sound_events = { [1] = "loc_veteran_male_c__veteran_gang_metropolitan_aeldari_c_01", }, sound_events_duration = { [1] = 4.91058...
Lua
s.Password = &plan.Password } } if _, err := client.CreateOrUpdate(ctx, id.ResourceGroup, id.WorkspaceName, id.Name, dc); err != nil { return fmt.Errorf("updating %s: %+v", id, err) } return nil }, } } func (r DataConnectorThreatIntelligenceTAXIIResource) Delete() sdk.ResourceFunc { return sd...
Go
bsp; rowLength = GL_PACK_ROW_LENGTH<br> <br> if (<span style="font-style: italic;">format</span> == GL_RGB) {<br> &nbsp;&nbsp;&nbsp; for (i = 0; i &lt; <span style="font-style: italic;">height</span>; i++) {<br> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; for (j = 0; j &lt; <span style="font-style: italic;">width</span>; j+...
HTML
_circular_gauge_current_angle; gauge -> gx_circular_gauge_angle_increment = GX_FIXED_VAL_MAKE(gauge -> gx_circular_gauge_target_angle - gauge -> gx_circular_gauge_current_angle); gauge -> gx_circular_gauge_animation_step = 0; /* Devide total increments by ...
C
ja xmm_scrypt_core_loop2 # re-shuffle 1st block back movl 60(%esp), %edx movl 44(%esp), %ecx movl 28(%esp), %ebx movl 12(%esp), %eax movl %edx, 12(%edi) movl %ecx, 28(%edi) movl %ebx, 44(%edi) movl %eax, 60(%edi) movl 40(%esp), %ecx movl 24(%esp), %ebx movl 8(%esp), %eax movl 56(%esp), %edx movl %ecx, 8...
Assembly
65\u7684\u6237\u6570\u8fbe\u5230\u519c\u6237\u768460\uff05\uff0c\u5e38\u5e74\u4e92\u52a9\u7ec4\u5e94\u5360\u5230\u4e92\u52a9\u7ec4\u768410\uff05\uff0c\u5728\u63d0\u9ad8\u4ea7\u91cf\u4e0a\uff0c\u852c\u83dc\u6bcf\u4ea9\u4ea7\u91cf\u8981\u6bd4\u53bb\u5e74\u63d0\u9ad88\uff05\uff0c\u68c9\u82b1\u6bcf\u4ea9\u63d0\u9ad84\uff05...
HTML
arams, pipelinev1.Param{ Name: gitresolution.RevisionParam, Value: *pipelinev1.NewStructuredValues(args.revision), }) } if args.serverURL != "" { rr.Spec.Params = append(rr.Spec.Params, pipelinev1.Param{ Name: gitresolution.ServerURLParam, Value: *pipelinev1.NewStructuredValues(args.serverURL), }...
Go
e_than TARGET, 70, AI_CV_Confuse_End if_random_less_than 128, AI_CV_Confuse2 score -1 AI_CV_Confuse2: @ 81DB351 if_hp_more_than TARGET, 50, AI_CV_Confuse_End score -1 if_hp_more_than TARGET, 30, AI_CV_Confuse_End score -1 AI_CV_Confuse_End: @ 81DB363 end AI_CV_Reflect: @ 81DB364 if_hp_less_than USER, 50, AI_...
Assembly
(traceModes == TraceModesEnum.ONLY_COPY) { traceModes = TraceModesEnum.NOT_TRACEABLE; return traceModes; } traceModes = TraceModesEnum.SEVERAL_VALUES_ONLY; break; case ONE_VALUE_OR_COPY: case SEVERAL_VALUES_OR_COPY: if (traceModes == TraceModesEnum.ONE_VALUE_ONLY) { trac...
Java
.put(`${this.url}/api/products/${id}`, JSON.stringify(prd),options); return res; } deleteData(id:number): Observable<Response> { res = this.http.delete(`${this.url}/api/products/${id}`); return res; } }import Result from '../src/Result/Result'; describe("Result.ok", () => {...
Typescript
e elements: 1) the loss 2) the sample size, which is used as the denominator for the gradient 3) logging outputs to display while training """ net_output = model(**sample["net_input"]) logits = model.get_logits(net_output, sample=sample, **self.kwargs) # some mode...
Python
f NTSTATUS (NTAPI *PBASEP_APPCERT_PLUGIN_FUNC)( IN LPWSTR ApplicationName, IN ULONG CertFlag ); typedef NTSTATUS (NTAPI *PBASEP_APPCERT_EMBEDDED_FUNC)( IN LPWSTR ApplicationName ); typedef NTSTATUS (NTAPI *PSAFER_REPLACE_PROCESS_THREAD_TOKENS)( IN HANDLE Token, IN HANDLE Process, IN HANDLE Thr...
C
, 0, 0.984808f, 0, RESPAWN_IMMEDIATELY) // banners (alliance) || !AddObject(BG_EY_OBJECT_A_BANNER_FEL_REAVER_CENTER, BG_OBJECT_A_BANNER_EY_ENTRY, 2057.46f, 1735.07f, 1187.91f, -0.925024f, 0, 0, 0.446198f, -0.894934f, RESPAWN_ONE_DAY) || !AddObject(BG_EY_OBJECT_A_BANNER_FEL_REAVER_LEFT, BG_OBJECT...
C++
resno Area, ThreadEx, 86.5<br>Los Angeles Airport Area, ThreadEx, 71.7<br>Long Beach Area, ThreadEx, 75.2<br>Redding Area, ThreadEx, 85.7<br>Sacramento Area, ThreadEx, 78.4<br>San Diego Area, ThreadEx, 73.0<br>Stockton Area, ThreadEx, 80.4<br>San Francisco Airport Area, ThreadEx, 64.3<br>Santa Maria Area, ThreadEx, 64....
HTML
do * ((k) + l1 * (4))].i = ca.i + cb.i; ch[(0) + ido * ((k) + l1 * (7))].r = ca.r - cb.r; ch[(0) + ido * ((k) + l1 * (7))].i = ca.i - cb.i; } } { let mut ca: cmplx = cmplx { r: 0.0, i: 0.0 }; let mut cb: cmpl...
Rust
tus<300||Ke.status===0)&&Ke.response!==null){let ut=Ke.response;if(W.type==="json")try{ut=JSON.parse(Ke.response)}catch(Lt){return void pe(Lt)}fe({data:ut,cacheControl:Ke.getResponseHeader("Cache-Control"),expires:Ke.getResponseHeader("Expires")})}else{let ut=new Blob([Ke.response],{type:Ke.getResponseHeader("Content-T...
HTML
png", "a1.png")); EXPECT_EQ(-1, compare_filenames("a1-1.png", "a1-2.png")); EXPECT_EQ(-1, compare_filenames("a1-2.png", "a1-10.png")); EXPECT_EQ(-1, compare_filenames("a1-64-2.png", "a1-64-10.png")); EXPECT_EQ(-1, compare_filenames("a32.txt", "a32l.txt")); EXPECT_EQ(-1, compare_filenames("a", "aa")); EXPEC...
C++
#pragma once #include <cstddef> #include <cstdint> #include <glad/glad.h> #include <memory> #include <misc/assert.h> #include <misc/misc.h> #include <render/OpenGL/bufferopengl.h> #include <render/OpenGL/renderinstanceopengl.h> #include <render/OpenGL/scopedbindgl.h> #include <render/renderinstance.h> #include <render/...
C
const url = `${this.BASE_ENDPOINT}/${userId}`; const user: DiscordUser = await this.discordApiService.executeBotRequest( url, { method: "GET", } ); let avatarUrl: string | null = null; if (user.avatar) { let extension = ".png"; if (user.avatar.startsWith("a_"...
Typescript
WeightedAddress{ { URL: urlParse("http://0"), }, }, }, "bar": { Key: "bar", Addresses: []WeightedAddress{ { URL: urlParse("http://1"), }, }, }, "baz": { Key: "baz", Addresses: []WeightedAddress{ { URL: urlParse("http://2"),...
Go
PERFORMANCE OF THIS SOFTWARE. */ package resize import "image" func floatToUint8(x float32) uint8 { // Nearest-neighbor values are always // positive no need to check lower-bound. if x > 0xfe { return 0xff } return uint8(x) } func floatToUint16(x float32) uint16 { if x > 0xfffe { return 0xffff } return...
Go
groups",label:"\u5206\u7EC4","min-width":"100"},{default:e(({row:n})=>[t(x,{value:n.groups,options:[{name:"\u9ED8\u8BA4",value:"default"},{name:"\u7CFB\u7EDF",value:"system"}]},null,8,["value"])]),_:1}),t(u,{prop:"command",label:"\u8C03\u7528\u76EE\u6807\u5B57\u7B26\u4E32","min-width":"100"}),t(u,{prop:"rules",label:"c...
JavaScript
0: RunQueryRequest_QueryType.notSet }; static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'RunQueryRequest', package: const $pb.PackageName( _omitMessageNames ? '' : 'google.datastore.v1beta3'), createEmptyInstance: create) ..oo(0, [3, 7]) ..aOM<ReadO...
Dart
Roleに追加するには、次のラベルの一つ以上でClusterRoleを作成します。 ```yaml metadata: labels: rbac.authorization.k8s.io/aggregate-to-admin: "true" rbac.authorization.k8s.io/aggregate-to-edit: "true" rbac.authorization.k8s.io/aggregate-to-view: "true" ``` <table> <colgroup><col width="25%"><col width="25%"><col></colgroup> <tr> ...
Markdown
return lookup_table[object] end local new_table = {} lookup_table[object] = new_table for index, value in pairs(object) do new_table[_copy(index)] = _copy(value) end return setmetatable(new_table, getmetatable(object)) end return _copy(object) end -- ...
Lua
er" target="_blank" title="那些炒作过度的技术和概念">过渡炒作的技术</a>),不过因为超大规模以及高并发的纯动态型网站日渐成为主流,而SNS类网站在数据存取过程中有着实时性等刚性需求,这使得目前NoSQL数据库慢慢成了人们所关注的焦点,并大有成为取代关系型数据库而成为未来主流数据存储模式的趋势。当前NoSQL数据库很多,大部分都是开源的,其中比较知名的有:MemcacheDB、Redis、Tokyo Cabinet(升级版为Kyoto Cabinet)、Flare、MongoDB、CouchDB、Cassandra、Voldemort等。</li> </ul> <p>写了那么多,回顾一下,觉得自己相当的...
HTML
o_self.o_ws = new WebSocket(s_url, 'sip'); o_self.o_ws.binaryType = "arraybuffer"; o_self.o_ws.o_transport = o_self; o_self.o_ws.onopen = __tsip_transport_ws_onopen; o_self.o_ws.onclose = __tsip_transport_ws_onclose; o_self.o_ws.onmessage = __tsip_transport_ws_onmessage; o_self.o_ws.onerror = __...
JavaScript
), equals(path), ); }, ); }, ); } import 'dart:async'; import 'dart:io'; import 'package:fs_service/log/log.dart'; import 'package:fs_service/os/close_app.dart'; void setupOsSignals() { if (Platform.isLinux || Platform.isWindows || Platform.isMacOS) { try {...
Dart
System.out.println("Bob wins"); return true; } for (Integer x : nextWord) { System.out.print(x); } System.out.println(); if(isTie(nextWord)) { System.out.println("Tie"); return true; } sequence.add(nextW...
Java
, 40959], [42125, 42191], [42238, 42239], [42509, 42511], [42540, 42559], [42592, 42593], [42607, 42622], [42648, 42655], [42736, 42774], [42784, 42785], [42889, 42890], [42893, 43002], [43043, 43055], [43062, 43071], [43124, 43137], [43188, 43215], [43226, 43249], [43256, 43258], [43260, 432...
JavaScript
4_RRR16__ba_mreb_funerqRi: nop .data .globl b__MGPA7naqebvq8uneqjner7qrgnvyf21PyvragPbhagrePnyyonpxR0_AF_4uvqy7znantre4I1_215VPyvragPnyyonpxR .type b__MGPA7naqebvq8uneqjner7qrgnvyf21PyvragPbhagrePnyyonpxR0_AF_4uvqy7znantre4I1_215VPyvragPnyyonpxR,%object b__MGPA7naqebvq8uneqjner7qrgnvyf21PyvragPbhagrePnyyonpxR0_AF_4uvqy...
Assembly
CW_USEDEFAULT, rc.right - rc.left, rc.bottom - rc.top, NULL, NULL, m_hInstance, (void*)this); if (!m_hWnd) return -1; ::ShowWindow(m_hWnd, SW_SHOW); ::UpdateWindow(m_hWnd); ::SetFocus(m_hWnd); #elif defined(__linux__) m_dis...
C++
content when autoresizing.</td></tr><tr name="rowLink" runtime="Flash::9.0.28.0##AIR::1.0##" product="Flash::CS3##"><td class="idxrow" colspan="2"><a target="_self" href="fl/video/VideoPlayer.html#registrationWidth" onclick="javascript:loadClassListFrame('fl/video/class-list.html');">registrationWidth</a> &mdash; Prop...
HTML
IX', '0x05c3617cbf1304b9260aa61ec960f115d67becea'], ['CBM', '0x95efd1fe6099f65a7ed524def487483221094947'], ['CBT', '0x076c97e1c869072ee22f8c91978c99b4bcb02591'], ['CC3', '0xc166038705ffbab3794185b3a9d925632a1df37d'], ['CCC', '0xbe11eeb186e624b8f26a5045575a1340e4054552'], ['CCC (CryptoCrashCourse)', '0x28577a6...
JavaScript
import torch import torch.nn.functional as F class Optimization(): def __init__(self, train_loader, device): self.train_loader = train_loader self.device = device def cdw_feature_distance(self, old_model, old_classifier, new_model): """cosine distance weight (cdw): calculate feature d...
Python
,2.507-5.6,5.6-5.6c3.093,0,5.6,2.507,5.6,5.6H15.564z M19,12c0-3.866-3.134-7-7-7c-3.866,0-7,3.134-7,7c0,3.866,3.134,7,7,7v2.333c-5.155,0-9.333-4.179-9.333-9.333 c0-5.155,4.179-9.333,9.333-9.333c5.155,0,9.333,4.179,9.333,9.333H19z" /> </svg> {{- else if (eq $icon_name "printables") -}} <svg xmlns="http://www.w3.org/2000/...
HTML
Group, uint nCmdID, uint nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) { ThreadHelper.ThrowIfNotOnUIThread(); return Next.Exec(pguidCmdGroup, nCmdID, nCmdexecopt, pvaIn, pvaOut); } public override int QueryStatus(ref Guid pguidCmdGroup, uint cCmds, OLECMD[] prgCmds, IntPtr ...
C#
NABLE_INTERRUPTS(r.7) beq cr.0, ..KiDispatchApc // jif not DPC interrupt beq cr.7, ..KiDispatchDpcOnly // jif DPC and old IRQL APC LEV. b ..KiDispatchDpc // DPC int, old IRQL < APC LEV. ExitEnabled: ENABLE_INTERRUPTS(r.7) blr ...
Assembly
using System; using System.Xml; using System.Xml.Linq; namespace XMPP_API.Classes.Network.XML.Messages.XEP_0198 { public class SMFailedMessage: AbstractMessage { //--------------------------------------------------------Attributes:-----------------------------------------------------------------\\ ...
C#
isAlignment: CrossAxisAlignment.start, children: [ Text( tr.greetings, style: CustomStyle.textStyle24.copyWith( color: Colors.white, fontWeight: FontWeight.w300, ), ), const SizedBox(height: 8), Consumer( builder: (con...
Dart
arg14, int arg15, int arg16, double arg17, int[] arg18, double[] arg19, double[] arg20, int arg21, double[] arg22, int[] arg23, int[] arg24) { return openblas.LAPACKE_dsbgvx_work(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,arg15,arg16,arg17,arg18,arg19,arg20,arg21,arg22,ar...
Java
your web app is installed on a user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/ --> <!-- <link rel="manifest" href="%PUBLIC_URL%/manifest.json" /> --> <!-- Notice the use of %PUBLIC_URL% in the tags above. It will be replaced with the URL of...
HTML
from flet.core.matplotlib_chart import MatplotlibChart
Python
# Perform stepweight decay if p.dtype in {torch.float16, torch.bfloat16}: p_fp32.data.mul_(1 - step_size * weight_decay) else: p.data.mul_(1 - step_size * weight_decay) # p = p - lr * grad / denom...
Python
the transaction pool after being re-orged out of the blockchain:", txn.ID()) } } } // Try to get the transactions into a block. _, err = tpt.miner.AddBlock() if err != nil { t.Fatal(err) } if len(tpt.tpool.TransactionList()) != 0 { t.Error("Does not seem that the transactions were added to the transact...
Go
.psi.ParadoxScriptBlock import icu.windea.pls.script.psi.ParadoxScriptBoolean import icu.windea.pls.script.psi.ParadoxScriptDefinitionElement import icu.windea.pls.script.psi.ParadoxScriptElementFactory import icu.windea.pls.script.psi.ParadoxScriptElementTypes import icu.windea.pls.script.psi.ParadoxScriptExpressionEl...
Kotlin
eld = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.Report; reader.readMessage(value,proto.Report.deserializeBinaryFromReader); msg.setReport(value); break; case 2: var value = new proto.Query; reader.readMessage(value,proto.Query.deserializeBina...
JavaScript
f Name for the binding /// /// Name for the binding. This is used to derive the runtime configuration /// variable names. Must be overwritten. The name cannot contain spaces /// or special characters. virtual const char* service_tag() const = 0; /// \brief Create and setup a derived AnnotationB...
C
@override int get hashcode { int result = 17; result = 37 * result + (this.isVisible?.hashCode ?? 0); result = 37 * result + (this.text?.hashCode ?? 0); return result; } } class VectorData extends Data { VectorData({isVisible}) : super(isVisible: isVisible); @override bool operator ==(o) => ...
Dart
_MEAL"; public static final String EXTRA_ACTUAL_LIMIT = "EXTRA_ACTUAL_LIMIT"; public static final String EXTRA_MEAL_DETAILS = "EXTRA_MEAL_DETAILS"; public static final String EXTRA_LIMIT = "EXTRA_LIMIT"; public static final String REQUEST_CODE_ADD_EDIT_MEAL = "REQUEST_CODE_ADD_EDIT_MEAL"; public sta...
Java
* 提供客服相关网络数据源 * * @param customerServiceService 客服服务接口 * @return 客服网络数据源实现 */ @Provides @Singleton fun provideCustomerServiceNetworkDataSource(customerServiceService: CustomerServiceService): CustomerServiceNetworkDataSource { return CustomerServiceNetworkDataSourceImpl(customer...
Kotlin
($q.clone()); $crate::conj!($($g),*).iter().map(move |s| s.reify(&var)) }}; (@ $n:expr, $q:ident, $($g:expr),* $(,)?) => {{ let $q = $crate::prelude::Var::new(stringify!($q)); let var = $crate::prelude::Value::var($q.clone()); $crate::conj!($($g),*).run($n).map(move |s| s.reify(...
Rust
.com/yts/imgbin/www-hitchhiker-vflEXP50f.png) -47px -836px; } html[layout^="hitchhiker"]:not([layout^="hitchhiker-2013"]):not([layout^="hitchhiker-2014"]) [state="creator-studio"] .watch7-sub-icon { background: no-repeat url(https://s.ytimg.com/yts/imgbin/www-hitchhiker-vflEXP50f.png) 0 -852px; height: 15px; } htm...
CSS
: types.OptionalBoolTrue, } loginOptions := auth.LoginOptions{ Username: registry.User, Password: registry.Password, AuthFile: authFilePath, Stdin: os.Stdin, Stdout: os.Stdout, } err = auth.Login(bt.conn, &sys, &loginOptions, []string{imageRep}) Expect(err).ToNot(HaveOccurred()) // Tag ...
Go
P(newInt64Value(value, p), name, shorthand, usage) } // Int64 defines an int64 flag with specified name, default value, and usage string. // The return value is the address of an int64 variable that stores the value of the flag. func (f *FlagSet) Int64(name string, value int64, usage string) *int64 { p := new(int64) ...
Go
ect. // assertEquals(65536, file.length()); logger.info("Ran in " + ((System.nanoTime() - start) / 1000000) + "ms.") } @Test fun testFailedAdd() { var queueFile = newQueueFile() queueFile.add(values[253]) queueFile.close() val braf = BrokenRandomAccessFile(file, "rwd") queueFile = ne...
Kotlin
com.lowagie.text.pdf.PdfWriter; /** * * Get page break events from iText. * * @version $Id: PDFPageBreak.java,v 1.2 2009/07/30 14:43:36 kpf Exp $ * @author <a href="mailto:junior@aryjr.com">Ary Junior</a> * */ public class PDFPageBreak extends PdfPageEventHelper { private Tag headTag; private Tag footTag...
Java
cd\u8fd0\u52a8\u6587\u4ef6\u6c47\u7f16\u300b\uff0c\u5317\u4eac\uff1a\u4eba\u6c11\u51fa\u7248\u793e\uff0c1953\u5e74\u4e00\u6708\u7b2c\u4e00\u7248\u3002", "type": "paragraph"}]} </script> <p> <a href="index.htm"> [返回索引页面] </a> </p> <h1> 叶剑英在“广州市各界人民展开五反斗争大会”上的讲话 </h1> <p> 日期:1952-4-7 作者:广州市人民政...
HTML
false, yyDollar[3].exprsUnion(), yyDollar[8].str) if err != nil { yylex.Error(err.Error()) goto ret1 } yyLOCAL = val } yyVAL.union = yyLOCAL case 1548: yyDollar = yyS[yypt-7 : yypt+1] var yyLOCAL tree.Expr //line mysql_sql.y:10056 { val, err := tree.NewSamplePercentFuncExpression1(yyDoll...
Go
blobSize":"7.63 KB","deleteTooltip":"You must be signed in to make or propose changes","editTooltip":"You must be signed in to make or propose changes","ghDesktopPath":"https://desktop.github.com","isGitLfs":false,"onBranch":true,"shortPath":"87b8e37","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Fchro...
HTML
} if (rwi & DEBUGMEM_WRITE) { rwi |= DEBUGMEM_WRITE_NOCACHEFLUSH; dm->flags |= DEBUGMEM_WRITE_NOCACHEFLUSH; } if ((rwi & DEBUGMEM_FETCH) && (state & DEBUGMEM_WRITE)) state &= ~(DEBUGMEM_WRITE | DEBUGMEM_WRITE_NOCACHEFLUSH); if ((state | rwi) != state) { //console_out_f(_T("addr %08x %d/%d (%02x -...
C++
'President Lincoln abolished slavery in the US', transcription: '[əbɑ́liʃ]', wordTranslate: 'отменить', textMeaningTranslate: 'Отменить что-то - значит положить конец этому, например, систему или закон', textExampleTranslate: 'Президент Линкольн отменил рабство в США', id: 3501, }, { word: ...
Typescript
' | 'text-l' | 'text-m' | 'text-xs'; export default interface IBaseItemTemplateOptions { highlightOnHover?: boolean; cursor?: TCursor; marker?: boolean; itemActionsClass?: string; checkboxReadOnly?: boolean; backgroundColorStyle?: string; markerClassName?: TMarkerClassName; } /** * Интерфейс для...
Typescript
encoding: [0x62,0xf1,0xed,0x5a,0x5f,0x12] vmaxpd (%edx){1to8}, %zmm2, %zmm2 {%k2} // CHECK: vmaxpd (%edx){1to8}, %zmm2, %zmm2 {%k2} {z} // CHECK: encoding: [0x62,0xf1,0xed,0xda,0x5f,0x12] vmaxpd (%edx){1to8}, %zmm2, %zmm2 {%k2} {z} // CHECK: vmaxpd (%edx), %zmm2, %zmm2 // CHECK: encoding: [0x62,0xf1,0xed...
Assembly
_isTesting = false; public get customClassName(): string { return this._isTesting ? "tested-class" : ""; } public get children(): Array<NodeComponent<any>> { return this._children; } private _title = INNER_TEXT; public get title(): string { return this._title; } constructor() { supe...
Typescript
if(""===d&&e.substr(p).match(/^(eq)?ref\s*\{/)){var y=RegExp["$&"].length;h<p-1&&l.push(g(t,e.slice(h,p-1),s)),d="}",h=p-1,p+=y}else"("===(o=e.charAt(p++))&&""===d?(h<p-2&&l.push(g(t,e.slice(h,p-2),s)),d=")",h=p):")"===o&&")"===d&&0===f?(i=t.create("node","TeXAtom",[new c.default(e.slice(h,p-2),{},t.configuration).mml(...
HTML
) as ConnectableObservable<any>; stream$ .pipe(map((AFTER_SHARE1) => AFTER_SHARE1)) .subscribe(((x) => console.log('sub1:', x))); stream$ .pipe(map((AFTER_SHARE2) => AFTER_SHARE2)) .subscribe(((x) => console.log('sub2:', x))); stream$.connect(); }; /** * An object that looks like a `T`, but ev...
Typescript
_00_0132_00_01int8__8ebae0cbdf333fddfe5c24d35ebe8e02.html#a7b9bc96139177e113193192e29f2ecfb">FragmentC</a> <span class="keyword">const</span> &amp;c</div><div class="line"><a name="l00457"></a><span class="lineno"> 457</span>&#160; )<span class="keyword"> const </span>{</div><div class="line"><a name="l00458"></a><sp...
HTML
w/ gradle-api when we have source registering API available. compileOnly("com.android.tools.build:gradle:$agpBaseVersion") compileOnly(gradleApi()) compileOnly(project(":kotlin-analysis-api")) // Ensure stdlib version is not inconsistent due to kotlin plugin version. compileOnly(kotlin("stdlib", ve...
Kotlin
2516db3021c20a1b7483", }, checkFp: &fspb.Fingerprint{ Method: fspb.Fingerprint_SHA256, Value: "5669df6b2f003ca61714b1b9830c41cf3a2ebe644abb2516db3021c20a1b7484", }, wantErr: true, }, { desc: "fail with different fingerprinting methods", goodFp: &fspb.Fingerprint{ Method: fspb.Fingerprin...
Go
甲", [63915] = "视象侵染之靴", [63916] = "神秘变节束带", [63917] = "真相破坏者之盾", [63918] = "侦查员的肩铠", [63919] = "腐化探寻胸甲", [63920] = "启示之靴", [63921] = "真理探寻者腰带", [63922] = "敬畏护腕", [63923] = "冲击胸甲", [63924] = "闪避束带", [63925] = "食腐者腕甲", [63926] = "重塑胸甲", [63927] = "机械联结束带", [64300] = "疾风软杖", [64301] = "被盗的铁木炸药", [64302] = "将军的进攻计划书", [643...
Lua
from words import words from tkinter import * import random from tkinter import messagebox def slider(): global count,sliderwords text='Welcome to Typing Speed Calculator!!' if count>= len(text): count =0 sliderwords ='' sliderwords += text[count] count +=1 fontlabel.configure(...
Python
ртеж: монокль ремесленника", [4416] = "Чертеж: гоблинская противопехотная мина", [4417] = "Чертеж: большой сефориевый заряд", [4419] = "Свиток интеллекта III", [4421] = "Охранный свиток III", [4422] = "Свиток выносливости III", [4424] = "Свиток духа III", [4425] = "Свиток ловкости III", [4426] = "Свиток силы III", [442...
Lua
NTRACT, / NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION / WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. / / Except as contained in this notice, the name of a copyright holder / shall not be used in advertising or otherwise to promote the sale, use / or other dealings in this Software without pri...
Assembly
f not possible, we're simply adding 'tailwind.css' to the 'angular.json' */ export function updateProjectRootStyles( projectName: string, getWorkspace: ( tree: Tree, path?: string ) => Promise<workspaces.WorkspaceDefinition>, updateWorkspace: (workspace: workspaces.WorkspaceDefinition) => Rule ): Rule ...
Typescript
/logerr/v2/kverrors" "github.com/go-logr/logr" "github.com/openshift/elasticsearch-operator/internal/manifests/secret" v1 "k8s.io/api/core/v1" apierrors "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/utils/strings/slices" "sigs.k8s.io/controller-runtime/pkg/client" ) ...
Go
0; EX = new Style$Unit$4_0; PT = new Style$Unit$5_0; PC = new Style$Unit$6_0; IN = new Style$Unit$7_0; CM = new Style$Unit$8_0; MM = new Style$Unit$9_0; $VALUES = initValues(_3Lcom_google_gwt_dom_client_Style$Unit_2_classLit, makeCastMap([Q$Serializable]), Q$Style$Unit, [PX, PCT, EM, EX, PT, PC, IN, CM, M...
HTML
G", "Togo"], "🇹🇭": ["TH", "Thailand"], "🇹🇯": ["TJ", "Tajikistan"], "🇹🇰": ["TK", "Tokelau"], "🇹🇱": ["TL", "East Timor", "Timor-Leste"], "🇹🇲": ["TM", "Turkmenistan"], "🇹🇳": ["TN", "Tunisia"], "🇹🇴": ["TO", "Tonga"], "🇹🇷": ["TR", "Turkey", "Tür...
Python
yframes placeholder-glow { 50% { opacity: 0.2; } } .placeholder-wave { -webkit-mask-image: linear-gradient(130deg, #000 55%, rgba(0, 0, 0, 0.8) 75%, #000 95%); mask-image: linear-gradient(130deg, #000 55%, rgba(0, 0, 0, 0.8) 75%, #000 95%); -webkit-mask-size: 200% 100%; mask-size: 200% 100%; animatio...
CSS
.165.067-1.05-.18-.732.077-.061-.083.114-.25-.11-.08-.225.175-.048.267-.157.122.332.526-.345-.052-.186.163.165.475z" class="local-planning-authority PropTech_Software"><title>London Borough of Lewisham</title></path></a> <a href="#E60000197"><path id="E60000197" d="m3.805 3359.08-.032.795-.095.194-.135.165-.195-....
HTML
c interface IUnityObjectOwnable { UnityObject owner { get; set; } } }
C#
from fastapi import APIRouter from lib.api import * router_it = APIRouter() @router_it.get("/italy/fixtures-ids") async def get_fixtures_ids(date:str): league = "italy" league_id = 135 season = 2023 return fixtures_ids(league, league_id, season, date) @router_it.get("/italy/fixtures") async def get_f...
Python
__x_ABI_CWindows_CSystem_CThreading_CCore_CISignalNotifierStatics_INTERFACE_DEFINED__) */ #endif // WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 /* * * Class Windows.System.Threading.Core.PreallocatedWorkItem * * Introduced to Windows.Foundation.UniversalApiContract in version 1.0 * * RuntimeClass ...
C
uthCertKeypair}, CipherSuites: []uint16{ tlcp.ECC_SM4_GCM_SM3, tlcp.ECC_SM4_CBC_SM3, }, } conn, err := tlcp.Dial("tcp", "127.0.0.1:8450", config) if err != nil { panic(err) } defer conn.Close() _, err = conn.Write([]byte("Hello Go TLCP!")) if err != nil { panic(err) } buff := make([]byte, 512) ...
Go
shufps $0, 485498096, %xmm6, %xmm6 // CHECK: vshufps $0, 485498096, %ymm7, %ymm7 // CHECK: encoding: [0xc5,0xc4,0xc6,0x3c,0x25,0xf0,0x1c,0xf0,0x1c,0x00] vshufps $0, 485498096, %ymm7, %ymm7 // CHECK: vshufps $0, 485498096, %ymm9, %ymm9 // CHECK: encoding: [0xc5,0x34,0xc6,0x0c,0x25,0xf0,0x1c,0xf0,0x1c,0x00] ...
Assembly
art:</p> <blockquote> <p><i>I'm submitting because I love Cloudflare and how it has made my life easier as a web developer … I've had to learn a lot more about routing and patent law today, and spent several hours looking at documents, scholarly journals, etc.</i></p> </blockquote> <p>Even though this was his fir...
HTML
VROMPAGE( byChrBank + 3 ); PPUBANK[ 4 ] = VROMPAGE( byChrBank + 4 ); PPUBANK[ 5 ] = VROMPAGE( byChrBank + 5 ); PPUBANK[ 6 ] = VROMPAGE( byChrBank + 6 ); PPUBANK[ 7 ] = VROMPAGE( byChrBank + 7 ); InfoNES_SetupChr(); break; } } /*=====================================================...
C++
fun getActualId(unitId: Int): Int? /** * 获取卡池角色(一星去除御三家) * @param type 1、2、3: 常驻1、2、3星 ;4:限定; */ @SkipQueryVerification @Query( """ SELECT a.unit_id, b.unit_name, b.is_limited, b.rarity FROM unit_profile AS ...
Kotlin