content
stringlengths
2
6.21k
label
stringclasses
16 values
u.String()) } e.Attachments = strings.Join(fixed, sep) } package model import ( xtime "go-common/library/time" ) // Log Module Field defination const ( // report business = 12 WLogModuleChallenge = 1 WLogModuleTag = 2 WLogModuleControl = 3 WLogModuleGroup = 4 WLogModuleReply ...
Go
# -*- coding: utf-8 -*- import graphene import graphene.relay as relay from app.customfields.models import CustomField from app.customfields.schema import CustomFieldType from app.customfields.scalars import CustomPropScalar from app.authorization.fields import AuthConnectionField from app.authorization.permissions i...
Python
, 'Ruso': 154000000, 'Japonés': 128000000, 'Lahnda': 119000000 } resultado = idiomas_mas_hablados() print(resultado) # 23 Países más poblados def paises_mas_poblados(): return { 'China': 1439323776, 'India': 1380004385, 'Estados Unidos': 331002651, 'Indon...
Python
tOffsetDec, endOffsetDec, sizeDec); } } export class FileOffsetSegment extends Segment { constructor( startOffsetDec: number, endOffsetDec: number, sizeDec: number, public readonly fileOffset: string ) { super(startOffsetDec, endOffsetDec, sizeDec); } } export class RvaSegme...
Typescript
"unitMeasurement": "GRAM"}, {"name": "onion", "quantity": 200, "unitMeasurement": "GRAM"}, {"name": "reblochon AOP", "quantity": 1, "unitMeasurement": "UNIT"}, { "name": "tablespoon of oil", "quantity": 2, "unitMeasurement": "UNIT", }, {"name"...
Markdown
local module = class("modulePamiTalkListCell", G_UIModuleBase) function module.bind() return { groupNameText = "", favorabilityText = "", heroHeadIcon = "" } end function module.methods() return { onClick_cell = function(self) local pamiLetterGroupTpl = L_GameTpl:getPamiLetterGroupTpl() ...
Lua
rojeto desenvolvido junto com equipe do devemdobro, onde desenvolvemos um código com a junção de css,html e js, essa combinação resultando em uma pagina de visualização com tema do x-men. no projeto temos o HTML, temos também css que estiliza e edita.Já representando boa parte do...
HTML
date-content td,.layui-laydate-content th{width:36px;height:30px;padding:5px;text-align:center}.layui-laydate-content td{position:relative;cursor:pointer}.laydate-day-mark{position:absolute;left:0;top:0;width:100%;height:100%;line-height:30px;font-size:12px;overflow:hidden}.laydate-day-mark::after{position:absolute;con...
CSS
400;line-height:100%"><ix:nonFraction unitRef="shares" contextRef="i665a8107071c4fdd93062441abf07776_D20210201-20220130" decimals="-6" name="us-gaap:WeightedAverageNumberOfDilutedSharesOutstanding" format="ixt:num-dot-decimal" scale="6" id="id3VybDovL2RvY3MudjEvZG9jOjhjZTVjMjViOTM4NDQ1YjFiZWM4MzU3NzdkNmNlY2U5L3NlYzo4Y2...
HTML
r) { r.NoError(err) r.Len(s.Targets, 1) target := s.Targets[0] r.Equal("foo", target.Name) r.Len(target.Recipe, 2) arg := target.Recipe[0] r.NotNil(arg.Command) r.Equal("ARG", arg.Command.Name) r.Equal([]string{"foo", "=", "$ ( foo )"}, arg.Command.Args) env := target.Recipe[1] ...
Go
bstFileName), substEncoding)); String line = null; while ((line=substs.readLine())!=null) { line = line.trim(); if (line.startsWith("#")) continue; else if (line.length()>0) { char split=line.charAt(0); String[] fields = line.split("\\x"+Integer.toHexString(s...
Java
should be defined in c++26" # endif # if __cpp_lib_atomic_ref != 201806L # error "__cpp_lib_atomic_ref should have the value 201806L in c++26" # endif # else // _LIBCPP_VERSION # ifdef __cpp_lib_atomic_ref # error "__cpp_lib_atomic_ref should not be defined because it is unimplemented in libc++!" # e...
C++
临床表现为多尿、烦渴与多饮,起病常较急,一般起病日期明确,24小时尿量可多达5~10L,一般不超过18L,尿比重常在1.005以下,尿渗透压常为50~200mOsm/kg,尿色淡如清水。 禁飲试验: 1. 尿比重正常为饮水过多。禁水实验后尿比重1.018为正常,说明不是ADH引起 2. 尿比重低为尿崩症 精氨酸升压素试验 1. 尿比重升高为中枢性尿崩 2. 尿比重不变为肾性尿崩 ## 并发症 ## 治疗 内分泌功能减退疾病 替代治疗→生理剂量 症状治疗→药理剂量 --- > 中年男性患者,实验室检查:血TC3.8mmol/L(正常值<5.20mmol/L),LDL-C2.0mmol/L(正常值≦3.4mmol/L),TG5.9...
Markdown
's option [#14](../../pull/14) ## Version notes 1.7.1 - launch4j's `abeille` dependency was excluded [#11](../../pull/11) - versions of several plugins were updated [#11](../../pull/11) - tabs were converted to spaces [#11](../../pull/11) ## Version notes 1.7 - uses the latest version of Launch4j (3.5.0) - contains s...
Markdown
走势如何? | | 文本生成 | 给定一个标题:“如何更好地学习编程”,请使用GPT-3.5生成一篇500字的文章。 | | 图像分类 | 给定一张图片,请判断其中物体的种类和数量。| | 情感分析 | 请对下面这段文本进行情感分析:“我在考试中挂科了,感觉非常失落。” | | 语言翻译 | 将下面这句话翻译成西班牙语:“今天天气很好,心情也很愉快。” | | 自动摘要 | 给定一篇新闻文章,请使用GPT-3.5自动生成一篇不超过200字的摘要。| | 文本校对 | 请修改下面这段文本中的错误:“昨天我去了图书館,但是它关门了。” | | 语音识别 | 对于下面这段录音,请将其转换为文本:“明天下午三点,我们在咖啡厅见。” | | ...
Markdown
-width : @largestMobileScreen) { .ui.modal > .header { padding: @mobileHeaderPadding !important; padding-right: @closeHitbox !important; } .ui.modal > .content { display: block; padding: @mobileContentPadding !important; } .ui.modal > .close { top: @mobileCloseTop !important; right: @...
CSS
g_GenerationPromotedSizes[1], g_GenerationSizes[2], g_GenerationPromotedSizes[2], g_GenerationSizes[3], g_GenerationPromotedSizes[3])); #endif //SIMPLE_DPRINTF FIRE_EVENT(GCHeapStats_V2, g_GenerationSizes[0], g_GenerationPromotedSizes[0], g_GenerationSizes[1], g_GenerationPromotedS...
C++
conv_args=self.conv_args, expansion=self.expansion, use_res=self.use_res )) return nn.Sequential(*layers) def forward_cls_feat(self, p0, f0=None): if hasattr(p0, 'keys'): p0, f0 = p0['pos'], p0.ge...
Python
{ return Arguments.FromT(Enumerable.Empty<T>(), Enumerable.Empty<string>()); } public static INamedEnumerable<object> Empty() { return Empty<object>(); } static INamedEnumerable<T> FromDictionary<T>(IDictionary<string, T> args) { return Arguments.Fro...
C#
asm(".syntax unified \n\ \n\ .balign 4, 0 \n\ \n\ thumb_func_start func_0803e908 \n\ /* 0803e908 */ PUSH {R4, LR} \n\ /* 0803e90a */ SUB SP, 0xC \n\ /* 0803e90c */ LDR R4, =gCurrentEngineData \n\ /* 0803e90e */ LDR R0, [R4] \n\ /* 0803e910 */ MOVS R2, 0xE7 @ Set R2 to 0xE7 \n\ /* 0803e912 */ LSLS R2, R2, 0x2 \n\ /* 080...
Assembly
'' | for i in alphabet | let result .= i . i | endfor | echo result """.trimIndent(), ), ) assertExOutput("aabbccddeeff") } @Test fun `test iterating over list`() { configureByText("\n") typeText( commandToKeys( """ let result = '' | ...
Kotlin
681279174),f,r,d[n+0],11,-358537222),m,f,d[n+3],16,-722521979),i,m,d[n+6],23,76029189),r=md5_hh(r,i=md5_hh(i,m=md5_hh(m,f,r,i,d[n+9],4,-640364487),f,r,d[n+12],11,-421815835),m,f,d[n+15],16,530742520),i,m,d[n+2],23,-995338651),r=md5_ii(r,i=md5_ii(i,m=md5_ii(m,f,r,i,d[n+0],6,-198630844),f,r,d[n+7],10,1126891415),m,f,d[n+...
HTML
我查了一下,它早就是国际上的行业第一了,估值达到[400亿美元](https://medium.com/@backscoop/canva-hits-40b-valuation-now-the-fifth-most-valua-f19b0c0013da),排在全世界未上市的独角兽的第5位。 根据[报道](https://www.pingwest.com/a/273024),它也是大型互联网公司里面唯一一家女性创办和主管的公司。 ![](https://cdn.beekka.com/blogimg/asset/202211/bg2022112302.webp) > Melanie Perkins 并不是技术出身,她曾就读于西澳大...
Markdown
.WithObject(objectName); _ = await minio.StatObjectAsync(statObjectArgs).ConfigureAwait(false); // Get object content starting at byte position 1024 and length of 4096 var getObjectArgs = new GetObjectArgs() .WithBucket(bucketName) .WithObjec...
C#
t39jcpeapj", value: 29853562, ) ], ); final tx2 = Transaction( txid: "dffa9543852197f9fb90f8adafaab8a0b9b4925e9ada8c6bdcaf00bf2e9f60d7", confirmedStatus: true, confirmations: 150, txType: "Sent", amount: 988567, fees: 11433, height: 629695, address: "nc1qraffwaq3cxngwp609e03ynwsx8ykgjnjve9f...
Dart
PRE> <DL> <DD><B>Deprecated.</B>&nbsp;<DD>Creates a new thread safe connection manager. <P> <DL> <DT><B>Parameters:</B><DD><CODE>schreg</CODE> - the scheme registry.</DL> </DL> <HR> <A NAME="ThreadSafeClientConnManager()"><!-- --></A><H3> ThreadSafeClientConnManager</H3> <PRE> public <B>ThreadSafeClientConnManager</B>...
HTML
opertyID: common.BKUpdatedAt, PropertyName: "更新时间", IsOnly: false, IsEditable: false, IsRequired: false, IsPre: true, PropertyType: common.FieldTypeTime, Creator: common.CCSystemOperatorUserName, Option: "", }, { PropertyID: common.BKUpdatedBy, PropertyName: "更新人", ...
Go
/* * * (C) Copyright 2000-2003 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. * * Copyright (C) 2004-2007 Freescale Semiconductor, Inc. * TsiChung Liew (Tsi-Chung.Liew@freescale.com) * * See file CREDITS for list of people who contributed to this * project. * * This program is free software; you can...
C
/* $OpenBSD: invtrig.c,v 1.1 2008/12/09 20:00:35 martynas Exp $ */ /*- * Copyright (c) 2008 David Schultz <das@FreeBSD.ORG> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistribu...
C
custom method. type SummarizeMaintenancesResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // The resulting summaries. Maintenances []*MaintenanceSummary `protobuf:"bytes,10509,rep,name=maintenances,proto3" json:"maintenances,omitempty"...
Go
, card := range deck.Cards { if i == 0 && j < 2 { // Make two cards in the first deck studied today card.LastReviewed = today deck.Cards[j] = card studiedToday++ } } store.Decks[i] = deck } actualCount := getCardsStudiedToday(store) if actualCount != studiedToday { t.Errorf("Expected cards ...
Go
="July 1, 2025 08:12:07 UTC">July 1, 2025 08:12:07</span> </span> <span class=md-source-file__fact> <span class=md-icon title=Created> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 24 24"><path d="M14.47 15.08 11 13V7h1.5v5.25l3.08 1.83c-.41.28-.79.62-1.11 1m-1.39 4.84c-.36.05-.71.08-1.08.08-4.42 0-8-3.58-8-8s3.58...
HTML
ification, * are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * * Redistributions in binary form must reproduce the above copyright notice, * this list of condition...
Typescript
ontConfig fontConfig = new ImFontConfig(); boolean wantRebuild = true; float[] fontsMultiply = new float[] {1.0f}; int[] fontsPadding = new int[] {1}; ImInt fontsFlags = new ImInt(0); int[] oversampleH = new int[] {0}; int[] oversampleV = new int[] {0}; ImBoolean pixelSnapH = new ImBoolean(false); ...
Java
#include <stdbool.h> #include "c/ModioC.h" #include <stdio.h> void onGetMod(void *object, ModioResponse response, ModioMod mod) { bool *wait = object; printf("On mod get response: %i\n", response.code); if (response.code == 200) { printf("Id: %i\n", mod.id); printf("Name: %s\n", mod.name); printf("...
C
iner 12/00 internal class LZWEncoder( private val imgW: Int, private val imgH: Int, private val pixAry: ByteArray?, color_depth: Int ) { private val initCodeSize: Int private var remaining = 0 private var curPixel = 0 // GIF Image compression - modified 'compress' // // Based on: compress.c - File ...
Kotlin
from enum import Enum from typing import Union, Literal from pydantic import BaseModel class TransactionLogEntryType(str, Enum): tfsm_pull = "TFSM_PULL" tfsm_delete = "TFSM_DELETE" tfsm_push = "TFSM_PUSH" unvrsl_tmp_push = "UNVRSL_PUSH" unvrsl_tmp_delete = "UNVRSL_DELETE" echo = "ECHO" in...
Python
etwork.py` | Controls online/offline state and triggers message sending | کنترل وضعیت شبکه و ارسال پیام‌ها در حالت آنلاین | | `message.py` | Represents a single message object with serialization support | تعریف ساختار پیام و تبدیل به/از دیکشنری برای ذخیره‌سازی | | `storage_manager.py` | Manages saving/loading of draft ...
Markdown
OMAPCONF_ERR_ARG * OMAPCONF_ERR_UNEXPECTED * @param[in,out] fp: XML import file descriptor * @param[in] id: CM module ID * @DESCRIPTION import OMAP CM registers from XML file, * generated with lib54xx_export(). *------------------------------------------------------------------------ */ int cm54xx_import(FI...
C
s}async function _s({fs:e,gitdir:t,author:r,committer:n,commit:i}){let a=Math.floor(Date.now()/1e3),s={name:await ml({fs:e,gitdir:t,path:"user.name"}),email:await ml({fs:e,gitdir:t,path:"user.email"})||"",timestamp:a,timezoneOffset:new Date(a*1e3).getTimezoneOffset()},o=f2({},s,i?i.committer:void 0,r,n);if(o.name!==vo...
JavaScript
aw the table, defaults to true but for bulk operations this * can be set to false and then followed by a call to the {@link FooTable.Table#draw} method. */ F.Rows.prototype.update = function(indexOrRow, data, redraw){ var len = this.ft.rows.all.length, row = indexOrRow; if (F.is.number(indexOrRow) && index...
JavaScript
mlin.driver.ser.GraphSONMessageSerializerV3d0, config: { ioRegistries: [org.apache.tinkerpop.gremlin.orientdb.io.OrientIoRegistry] }} # application/json processors: - { className: org.apache.tinkerpop.gremlin.server.op.session.SessionOpProcessor, config: { sessionTimeout: 28800000 }} - { className: org.apac...
Markdown
); })); EXPECT_CALL(os_sys_calls, shutdown(_, _)) .Times(AnyNumber()) .WillRepeatedly(Invoke( [this](os_fd_t sockfd, int how) { return os_sys_calls_actual_.shutdown(sockfd, how); })); EXPECT_CALL(os_sys_calls, close(_)).Times(AnyNumber()).WillRepeatedly(Invoke([this](os_fd_t fd) { ...
C++
().c_str()) - 1; max_ypos = atoi(items.back().c_str()); } } const size_t x = translate_x(min_xpos + (rand()%(max_xpos-min_xpos))); const size_t y = translate_y(min_ypos + (rand()%(max_ypos-min_ypos))); int chamber_size = ch["size"].to_int(3); int jagged_edges = ch["jagged"]; chamber new_chamber; ...
C++
.ndarray4D */ @JvmName("ndarray4D") public inline fun <reified T : Number> Multik.ndarray(arg: List<List<List<List<T>>>>): D4Array<T> = ndarrayCommon4D(arg) /** * Creates the 4-dimension array from [arg] of Complex type. * * @param arg elements. * @return [D4Array]. * @sample samples.NDArrayTest.ndarray4D */ @J...
Kotlin
f.r = q__1.r; ff.i = q__1.i; // , expr subst } r__1 = gs.r / g2s; r__2 = -r_imag(&gs) / g2s; q__2.r = r__1; q__2.i = r__2; // , expr subst q__1.r = ff.r * q__2.r - ff.i * q__2.i; q__1.i = ff.r * q__2.i + ff.i * q__2.r; // , expr subst sn->r = q...
C
MongoDB Atlas, suivront prochainement !</p> <h2 id="concentrez-vous-davantage-sur-le-code-et-moins-sur-la-configuration">Concentrez-vous davantage sur le code, et moins sur la configuration</h2> <p>D1, notre base de données SQL serverless, été lancée en version alpha ouverte l'année dernière ; nous continuons à inve...
HTML
import requests import json def test_fetch_travel_data(): url = "http://localhost:5000/api/fetch-travel-data" payload = { "departure_id": "PEK", "arrival_id": "AUS", "outbound_date": "2024-05-15", "return_date": "2024-05-22", "hotel_query": "Hotels in Austin" } ...
Python
d08cbac11b3844d721668f" title="Function that serves the user&amp;#39;s reads.">NPF_Read</a>( <a name="l00742"></a>00742 IN PDEVICE_OBJECT DeviceObject, <a name="l00743"></a>00743 IN PIRP Irp <a name="l00744"></a>00744 ); <a name="l00745"></a>00745 <a name="l00751"></a>00751 NTSTATUS <a name="l00752"></a>00...
HTML
25291] = "Antorcha de nobleza", [25292] = "Mecanovarita", [25293] = "Varita de draenetista", [25294] = "Varita de dragontina", [25295] = "Varita perfecta", [25296] = "Daga de absorción", [25297] = "Cuchillo de afinar", [25298] = "Daga de combustión", [25299] = "Daga de succión", [25300] = "Daga de ray...
Lua
const viewportOffset = GetViewportSize(document); boundingClientRect.bottom = viewportOffset.height - boundingClientRect.top - targetEl.offsetHeight; boundingClientRect.right = viewportOffset.width - boundingClientRect.left - targetEl.offsetWidth; // 页面文档真实高度 最小为屏幕高度 const documentHeight = document.bod...
Typescript
} func (sa *TIPCServiceRange) tipcAddrtype() uint8 { return TIPC_SERVICE_RANGE } func (sa *TIPCServiceName) tipcAddr() [12]byte { var out [12]byte copy(out[:], (*(*[unsafe.Sizeof(TIPCServiceName{})]byte)(unsafe.Pointer(sa)))[:]) return out } func (sa *TIPCServiceName) tipcAddrtype() uint8 { return TIPC_SERVICE_AD...
Go
":if(o=Zn({key:r,value:e,valueSpec:n.source_geojson,style:i,styleSpec:n,validateSpec:a,objectElementValidators:oi}),e.cluster)for(let t in e.clusterProperties){let[n,i]=e.clusterProperties[t],s="string"==typeof n?[n,["accumulated"],["get",t]]:n;o.push(...Kn({key:`${r}.${t}.map`,value:i,validateSpec:a,expressionContext:...
JavaScript
class GPolyDecoder(object): def decode(self, encodedString): index = 0 length = len(encodedString) lat = 0 lng = 0 poly_lines = [] while index < length: b = 0 shift = 0 result = 0 while True: char = enco...
Python
-- Copyright 2016 Google Inc, NYU. -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agree...
Lua
eturn this; } /** * Register the stat into StatList. */ public StatBase registerStat() { if (StatList.oneShotStats.containsKey(this.statId)) { throw new RuntimeException("Duplicate stat id: \"" + ((StatBase)StatList.oneShotStats.get(this.statId)).statName + "\" and...
Java
// Copyright 2010-2021, Google Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of condit...
C
Index)*/ indexAfter(i, $info?) { throw 'unsupported method Swift.(file).Set.index(after:Set<Element>.Index) in ' + this.constructor.name } /*Swift.(file).Set.formIndex(after:Set<Element>.Index)*/ /*Swift.(file).Collection.formIndex(after:Self.Index)*/ formIndexAfter(i$inout, $info?) { let _this = this; let i = i$inout....
Typescript
/ Endpoints for Clones pub struct ClonesGroup<'a> { pub(crate) esi: &'a Esi, } #[derive(Debug, Deserialize)] #[allow(missing_docs)] pub struct CloneHome { pub location_id: u64, pub location_type: String, } #[derive(Debug, Deserialize)] #[allow(missing_docs)] pub struct JumpClone { pub implants: Vec<u6...
Rust
Itse asiassa tällaisia päivityksiä on tapahtunut (ja suunnitellaan tapahtuvan) useita kertoja Moneron historiassa.\nAlkuperäisen RingCT-protokollan etäisyystodistukset olivat mittavia ja hitaita; ne päivitettiin myöhemmin <a class=\"next-link\" target=\"_blank\" rel=\"noopener nofollow\" href=\"https://eprint.iacr.org/...
Dart
// +listType=map // +listMapKey=type // +kubebuilder:validation:MaxItems=100 // +kubebuilder:validation:MinItems=1 // +optional Conditions []metav1.Condition `json:"conditions,omitempty"` // name is the required name of the gatherer. // It must contain at least 5 characters and may not exceed 256 characters. /...
Go
/* $OpenBSD: endian.h,v 1.8 1997/11/10 10:42:48 niklas Exp $ */ /*- * Copyright (c) 1997 Niklas Hallqvist. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source co...
C
able-based unique, therefore does NOT sort. Returns ------- Series Unique values for each of the grouped values. See Also -------- Series.unique : Return unique values of Series object. Examples -------- >>> df = pd.DataFrame([('Chih...
Python
: #{$value}; } } .fuchsia-accent { --nsw-brand-accent: #{palette.$fuchsia-02}; --nsw-brand-accent-rgb: #{functions.to-rgb(palette.$fuchsia-02)}; } @use 'sass:color'; @use '../base/functions' as functions; @use '../settings/palette' as palette; // Brown Theme Colours $brown-dark: palette.$brown-01 !default; $bro...
CSS
O$da$Ip$f5$kZ$aahM$c5$aa$88$9f$gL$rZ$efC$a9$82O$k$60$b4KV$a1NE$80$b6$Q$a0$d5$B$83$a9$f6h$3b$7d$e0$60$84$j$8e$N$adn$e3$91$dd$s$b2Ku$84$d0$cd$c3$89H$bbEjS1$d2$ce$b6$a6$3a$f3$f2J$d1$VJ$a2KO$84R$8f$d5$3dq$5d$d1$e3$EM$S$b4$9b$a0$ea$cf$e8$iN$s$ee$93TS$5b$efa$5b$V$3d$v$bd$8a$ed$df$p$a5$ab$S$a3$ab$b1To$fe6$3a$e4qG$ed$b8$93d$5c...
Markdown
orum, committeeSize, networkSize, ownerFee, ownerDeposit, oracleRewardFund, refundRecipient, hash) return nil } func calculateOwnerDeposit(committeeSize, networkSize uint64) *big.Int { return big.NewInt(0).Mul(minOracleReward(int(networkSize)), big.NewInt(int64(committeeSize))) } func minOracleReward(networkSize in...
Go
<!-- Select Style Two --> <div> <label for="choose-country" class="mb-2.5 block text-base font-medium text-dark dark:text-white" > Choose Country </label> <div class="relative"> <select n...
HTML
.next().children()[1].children()[0])); assert_eq!(id, id.children()[0].children()[0].max_tile(&id.next())); assert_eq!(id, id.children()[0].children()[0].children()[0].max_tile(&id.next())); // Check that the tile size is decreased when necessary. ...
Rust
, &stride, &offset); ctx->IASetIndexBuffer(bd->pIB, sizeof(ImDrawIdx) == 2 ? DXGI_FORMAT_R16_UINT : DXGI_FORMAT_R32_UINT, 0); ctx->IASetPrimitiveTopology(D3D10_PRIMITIVE_TOPOLOGY_TRIANGLELIST); ctx->VSSetShader(bd->pVertexShader); ctx->VSSetConstantBuffers(0, 1, &bd->pVertexConstantBuffer); ctx->PSS...
C++
end return end API_Database:insert("INSERT INTO ncs_players_characters (player_identifier, identity, skin, job, job_grade, metadata) VALUES (@player_identifier, @identity, @skin, @job, @job_grade, \"[]\")", { ["player_identifier"] = identifier, ["identity"] = json.encode(identity), ...
Lua
1) { debug("ESC [ ? " + DCEvars[0] + " r"); } /* DEC Mode reset */ for (int i = 0; i <= DCEvar; i++) { switch (DCEvars[i]) { case 3: /* 80 columns */ setScreenSize(80, height, true); break; case 4: /* scrolling mode, smooth */ ...
Java
onClick = { NotificationService.startPermissionActivity(ctx) }, isRequired = false ) ) } else { // Xposed模式下添加Xposed框架权限 add( PermItem( iconRes = R...
Kotlin
connect.sidecar_image // to something like: "custom/envoy:${NOMAD_envoy_version}". ImageFormat = "docker.io/envoyproxy/envoy:v" + VersionVar // VersionVar will be replaced with the Envoy version string when // used in the meta.connect.sidecar_image variable. VersionVar = "${NOMAD_envoy_version}" // DefaultConne...
Go
"baz_buzz_test") Eventually(session).Should(gexec.Exit(0)) output := session.Out.Contents() Ω(output).Should(ContainSubstring("baz_buzz_test.go")) content, err := ioutil.ReadFile(filepath.Join(pkgPath, "baz_buzz_test.go")) Ω(err).ShouldNot(HaveOccurred()) Ω(content).Should(ContainSubstring(`v...
Go
offset, or to access a single area of memory that is greater than 64K in size. Since a selector value is an index into a table which contains the actual memory addresses, addition or subtraction of different selector values is meaningless and gives no useful results. (There exist special cases where contiguous selecto...
HTML
arrow_stream) { assert(!wide_stream); narrow_stream->write(reinterpret_cast<const char*>(data), static_cast<std::streamsize>(size)); } else { assert(wide_stream); assert(size % sizeof(wchar_t) == 0); wide_stream->write(reinterpret_cast<const wchar_t*>(data), static_cast<std::streamsize>(size / s...
C++
ppend(branch2, historyEvents) } branchVersionHistory2 = s.eventBatchesToVersionHistory(branchVersionHistory2, branch2) var branch3 []*historypb.History branchVersionHistory3 := versionhistory.CopyVersionHistory(baseVersionHistory) branchGenerator3 := baseGenerator.DeepCopy() branchGenerator3.SetVersion(bra...
Go
ends { minusEqual: infer F } ? { minusEqual: F } : {} }[StartsWith<Stack, [Node46, Node23, Node24]>] ) & ( { 0: {} 1: Fluent<Prepend<Node47, Tail<Tail<Stack>>>>extends { minusEqual: infer F } ? { minusEqual: F } : {} }[StartsWith<Stack, [Node46, Node23, Node25]>] ) & ( { 0: {} 1: Fluent<Prepend<...
Typescript
) if err != nil { return } _, _, e1 := syscall_syscall(libc_stat_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0) if e1 != 0 { err = errnoErr(e1) } return } var libc_stat_trampoline_addr uintptr //go:cgo_import_dynamic libc_stat stat "/usr/lib/libSystem.B.dylib" // THIS FILE...
Go
bool get wantKeepAlive => true; } import 'dart:async'; import 'package:custed2/ui/theme.dart'; import 'package:custed2/data/providers/schedule_provider.dart'; import 'package:custed2/locator.dart'; import 'package:custed2/core/util/utils.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider....
Dart
.getRadioScore() + examAddForm.getMultiCount() * examAddForm.getMultiScore() + examAddForm.getJudgeCount() * examAddForm.getJudgeScore() + examAddForm.getSaqCount() * examAddForm.getSaqScore(); exam.setGrossScore(grossScore); // 添加考试信息到考试表 int exam...
Java
ee_walker_iter_descendants(self): """Test use CreateTreeWalker inside iter_descendants method""" with mock.patch.object(IUIA().iuia, 'CreateTreeWalker', wraps=IUIA().iuia.CreateTreeWalker) as mock_create: UIAElementInfo.use_raw_view_walker = False next(self.ctrl.i...
Python
SUCH DAMAGE. * * * welsDecoderExt.cpp * * Abstract * Cisco OpenH264 decoder extension utilization * * History * 3/12/2009 Created * * ************************************************************************/ //#include <assert.h> #include "welsDecoderExt.h" #include "welsCodecTrace.h" #include...
C++
码: ```go pipelineName := "go_test" sourcekey := "01.mp4" target := &api.ThumbnailTarget{} target.KeyPrefix = "taget_key_prefix_test_delogo3" delogo := &api.Area{} delogo.X = 20 delogo.Y = 20 delogo.Height = 50 delogo.Width = 80 createJobResponse, err := MEDIA_CLIENT.CreateThumbnailJob(pipelineName, sourcekey, TargetO...
Markdown
, span, match_type: Type::infer().kind.spanned(span) } } #[cfg(test)] pub fn with_type(self, ty: Type) -> Pattern { Pattern { kind: self, span: Span::empty(), match_type: ty } } pub fn with(self, span: Span, ty: Type) -> Pattern { Pattern { kind: self, span, match_type: ty.kind.spanned(span) } } } #[derive...
Rust
edCpuResources{ CpuShares: 2000, ReservedCores: []uint16{1, 2}, }, }, "poststop-task": { Cpu: AllocatedCpuResources{ CpuShares: 1000, }, }, }, } // Reserved core resources are claimed throughout the lifespan of the allocation, // but the prestart and poststop task can reuse...
Go
Event()` on the // passed event object instead of returning a boolean value from // the handler itself. // node: // id or reference to the element to get or set the attribute on // name: // the name of the attribute to get or set. // value: // The value to set for the attribute // returns: // ...
JavaScript
HashBin total_begin = v.get_bin_range().begin_; HashBin interval = kHashMaxBins[v.get_level()]; for (uint16_t i = 0; i < kHashIntermediatePageFanout; ++i) { DualPagePointer pointer = v.get_pointer(i); if (pointer.is_both_null()) { continue; } o << std::endl << " <Pointer index=\"" << stati...
C++
ed License", "spdx_id": "BSD-3-Clause", "url": "https://api.github.com/licenses/bsd-3-clause", "node_id": "MDc6TGljZW5zZTU=" }, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": [ "c-plus-plus" ], "visibility": "public", ...
Dart
of the code in this library was adapted from /// `package:analyzer/src/generated/collection_utilities.dart`. // TODO(sigmund): move this into a shared place, like quiver? library dart2js_info.src.graph; import 'dart:math' as math; abstract class Graph<N> { Iterable<N> get nodes; bool get isEmpty; int get nodeC...
Dart
e to Encoder */ ret = drm_bridge_attach(&meson_encoder_dsi->encoder, &meson_encoder_dsi->bridge, NULL, 0); if (ret) { dev_err(priv->dev, "Failed to attach bridge: %d\n", ret); return ret; } /* * We should have now in place: * encoder->[dsi encoder bridge]->[dw-mipi-dsi bridge]->[panel bridge]->[panel] */...
C
Nine = { Owl = 46915, }, Tem = { Bleeds = 46916, }, Eleven = { Basin = 46917, }, Twelve = { Boss = 46918, Bragrumol = 46919, Mozradek = 46920, Xogixath = 46921, }, Thirteen = { Fafnar = 46922, Lyre = 46923, Presente = 46924, }, Fo...
Lua
IRUGO, dfs_parent, NULL, &mtip_device_status_fops); if (IS_ERR_OR_NULL(dfs_device_status)) { pr_err("Error creating device_status node\n"); dfs_device_status = NULL; } } /* Register our PCI operations. */ error = pci_register_driver(&mtip_pci_driver); if (error) { debugfs_remove(dfs_parent); unr...
C
argument is ignored. Otherwise, Microsoft Excel routes the workbook according to the value of this parameter. If set to **True** , the workbook is sent to the next recipient. If set to **False** , the workbook is not sent. If omitted, the user is asked whether the workbook should be sent.| ## Remarks Closing a work...
Markdown
::historical_root(proof.session).is_some()); assert!(Session::current_index() > proof.session); // proof-checking in the next session is also OK. assert!(Historical::check_proof((DUMMY, &encoded_key_1[..]), proof.clone()).is_some()); set_next_validators(vec![1, 2, 5]); force_new_session(); System::...
Rust
😦 ### 1132235216178642954 ### [Replying to 1131790633980411915](#1131790633980411915) ## ziga (ziga7285) 07/22/2023 08:58 > ill be back just not for a while ### 1132235288144531538 ## ziga (ziga7285) 07/22/2023 08:58 > u guys think i can setup crowd funding XD ### 1139167320640602153 ### [Replying to 1131654322...
Markdown
okup overrides @override I18nErrorLookup createErrorLookup() => AppI18nErrorLookup(); @override I18nFieldLookup createFieldLookup() => AppI18nFieldLookup(); @override I18nFeatureNotificationsLookup createFeatureNotificationsLookup() => AppI18nNotificationsLookup(); @override I18nFeatureProfile...
Dart
an><table class=cols><tr> <td>0 = Off <br>1 = Auto <br>2 = Movie <br>3 = Portrait <br>4 = Scenery <br>5 = Portrait with Scenery <br>6 = Children <br>7 = Sports <br>8 = Candlelight Portrait <br>9 = Party <br>10 = Pet <br>11 = Flower <br>12 = Natural Green</td><td>&nbsp;&nbsp;</td> <td>13 = Au...
HTML
[_firstVertexIndex + 2] = destinationVertices[_firstVertexIndex + 2] - _topRightShift; destinationVertices[_firstVertexIndex + 3] = destinationVertices[_firstVertexIndex + 3] - _bottomRightShift; _meshInfo.mesh.verti
C#
c: 00280821 addu at,at,t0 bfc0d920: ac2ab540 sw t2,-19136(at) bfc0d924: 3c010001 lui at,0x1 bfc0d928: 00280821 addu at,at,t0 bfc0d92c: a429b540 sh t1,-19136(at) bfc0d930: 25040004 addiu a0,t0,4 bfc0d934: 2505fffc addiu a1,t0,-4 bfc0d938: 3c010001 lui at,0x1 bfc0d93c: 00240821 addu at,at,a0 bfc0d940: ac24b540 ...
Assembly