content
stringlengths
2
6.21k
label
stringclasses
16 values
s or implied. * See the License for the specific language governing permissions and * limitations under the License. ************************************************************************/ package test.domainmapping.util; import java.util.ArrayList; import java.util.List; import test.domainmapping.resolutiondep...
Java
createBinding(A), bA2 = createBinding(A), bB1 = createBinding(B), bB2 = createBinding(B), bC1 = createBinding(C), bC2 = createBinding(C), bD1 = createBinding(D), bD2 = createBinding(D), bE1 = createBinding(E), b...
Typescript
px; color: #8CC63F; } .blog-card .content h3, .blog-card .content .h3 { font-size: 24px; margin-bottom: 8px; } .blog-card .content p { margin-bottom: 12px; } .blog-card .content .read-more-btn { color: #040404; } .blog-card .content .read-more-btn i { top: 3px; } /* News Letter Warp Style =================...
CSS
code = input.read_uleb128()?; if code == 0 { return Ok(None); } let tag = Self::parse_tag(input)?; let has_children = Self::parse_has_children(input)?; let attributes = Self::parse_attributes(input)?; let abbrev = Abbreviation::new(code, tag, has_children, a...
Rust
box-shadow: 0 0.25rem 0.375rem -0.0625rem rgba(20, 20, 20, 0.12), 0 0.125rem 0.25rem -0.0625rem rgba(20, 20, 20, 0.07); top: 1px; } .form-switch .form-check-input:checked:after { transform: translateX(21px); } .form-switch .form-check-input:checked { border-color: rgba(58, 65, 111, 0.95); backgr...
CSS
gth: 9, maxLength: 9, ), Country( name: "Saint Helena, Ascension and Tristan Da Cunha", nameTranslations: { "sk": "Svätá Helena", "se": "Saint Helena", "pl": "Wyspa Świętej Heleny", "no": "St. Helena", "ja": "セントヘレナ", "it": "Sant'Elena", "zh": "圣赫勒拿", "nl"...
Dart
} mergeAt(n); } } /** * Merges all runs on the stack until only one remains. This method is * called once, to complete the sort. */ private void mergeForceCollapse() { while (stackSize > 1) { int n = stackSize - 2; if (n > 0 && runLen[n - 1] < runLen[n + ...
Java
1.9rem; margin-bottom: 1.6842em; } .wp-caption, .gallery { margin-bottom: 1.6842em; } .widecolumn .mu_alert { margin-bottom: 1.6842em; } .widecolumn p { margin: 1.6842em 0; } .widecolumn p + h2 { margin-top: 1.641em; } .widecolumn #key, .widecolumn .mu_register #blog_title, .widecolumn .mu_...
CSS
_READ : PyBUF_WRITE); if (!ptr) { detail::fail("Could not allocate memoryview object!"); } return memoryview(object(ptr, detail::steal_t{})); } static memoryview from_memory(const void *mem, ssize_t size) { return memoryview::from_memory(const_cast<void *>(mem), size, ...
C++
uration.UI_MODE_NIGHT_YES, ) @Preview( name = "Phone", device = "spec:width=411dp,height=891dp,dpi=420", uiMode = Configuration.UI_MODE_NIGHT_YES, ) @Preview( name = "Foldable", device = "spec:width=673dp,height=841dp,dpi=420", uiMode = Configuration.UI_MODE_NIGHT_YES, ) @Preview( name = "Ta...
Kotlin
on.layer[i].negative[0].lemma.length; n++) { list[result.senticon.layer[i].negative[0].lemma[n]._] = result.senticon.layer[i].negative[0].lemma[n].$ } } }) const listTrimmed = {} for (const token in list) { listTrimmed[token.replace(/ /gi, '').replace(/_/gi, ' ')] = list[token] } console.log(listTrimmed...
JavaScript
AT|N|Speak with Swiftfingered Tynala.| C City of Drowned Friends|QID|56310|QO|3|M|71.55,41.94|N|Locate Merchant Renrotta and kill her.\n[color=FF0000]NOTE: [/color]Look up, way up.| T City of Drowned Friends|QID|56310|M|73.98,41.75|N|To First Arcanist Thalyssra.| A The Ever Drowning|QID|56312|PRE|56310|M|73.45,47.80|EL...
Lua
cv01: 1; cv02: 2; cv03: 3; cv04: 4; cv05: 5; cv06: 6; cv07: 7; cv08: 8; cv09: 9; cv10: 10; cv11: 11; cv12: 12; cv13: 13; alt-1: 1; /* Alternate one */ alt-3: 9; /* Flat-top three */ open-4: 2; /* Open four */ open-6: 3; /* Open six */ ...
CSS
} if (miniDumpWriteDump == 0) { return retValue; } StringStorage specFolder, dumpPath; if (!Environment::getSpecialFolderPath( Environment::APPLICATION_DATA_SPECIAL_FOLDER, &specFolder)) { return retValue; } dumpPath.format(_T("%s\\%s\\crash.dmp"), specFolder.getString(), ...
C++
p Fingerbobs Parallax Stars Bootsector Installer ",27,"q",13,10 dc.b 13,10 dc.b "Please insert disk to Groovify in Drive A",13,10 dc.b "and Press a key!",13,10,0 even out dc.b 13,10,13,10,"Writing Auto-Boot Disk Now!",0 even done dc.b 13,10,13,10,"Finished.......Press a key to exit. ",13,10,0 even buft...
Assembly
t {{Compat}} ## Siehe auch - [`Element.pseudo()`](/de/docs/Web/API/Element/pseudo) - [Web Animations API](/de/docs/Web/API/Web_Animations_API) - [`Element.animate()`](/de/docs/Web/API/Element/animate) --- title: AudioContext slug: Web/API/AudioContext l10n: sourceCommit: 32305cc3cf274fbfdcc73a296bbd400a26f38296 --...
Markdown
namespace BossMod.Endwalker.Alliance.A11Byregot; class ByregotStrikeJump(BossModule module) : Components.StandardAOEs(module, AID.ByregotStrikeJump, 8); class ByregotStrikeJumpCone(BossModule module) : Components.StandardAOEs(module, AID.ByregotStrikeJumpCone, 8); class ByregotStrikeKnockback(BossModule module) : Com...
C#
31, $00, $8d, $20, $20, $2c, $20, $20, $00, $2c, $38, $00, $8d, $1e, $1e, $2a, $1e .byte $1e, $00, $2a, $36, $00, $1e, $2a, $1e, $00, $85 @song0ref350: .byte $1c, $1c, $28, $1c, $1c, $00, $28, $34, $00, $1b, $27, $1b, $00, $81, $27, $00 .byte $41, $32 .word @song0ref316 .byte $41, $32 .word @song0ref316 .byte $4...
Assembly
t().getVersionIdPart()); assertEquals(true, p.getActive()); assertThat(p.getMeta().getTag()).hasSize(2); assertEquals("urn:foo", p.getMeta().getTag().get(0).getSystem()); assertThat(p.getMeta().getTag().get(0).getCode()) .satisfiesAnyOf( arg -> assertThat(arg).isEqualTo("bar"), arg -> assertThat(arg)...
Java
} fn device_name(&self) -> String { self.get_device_name() } fn source(&self) -> Source { if self.bpf_table().is_some() { Source::Distribution } else { Source::Counter } } } // error-pattern:explicit failure fn f() -> ! { fail } fn g() -...
Rust
from injector import inject, singleton from logging import getLogger from domain.entity.movie import Movie from usecase import Usecase from usecase.interface.i_movie_repo import IMovieRepo LOGGER = getLogger(__name__) @singleton class QueryMovieListUsecase(Usecase): @inject def __init__( self, ...
Python
if main.t_orderChars[main.t_selChars[row].order] == nil then main.t_orderChars[main.t_selChars[row].order] = {} end table.insert(main.t_orderChars[main.t_selChars[row].order], row - 1) --ordersurvival param local num = main.t_selChars[row].ordersurvival or 1 if main.t_orderSurvival[num] == nil then main...
Lua
cellalignpicker-body .edui-right{ background-position: -51px 0; } .edui-simple .edui-cellalignpicker-body td.edui-state-hover .edui-left{ background-position: -73px 0; } .edui-simple .edui-cellalignpicker-body td.edui-state-hover .edui-center{ background-position: -98px 0; } .edui-simple .edui-cellalignp...
CSS
il, errInvalidSystemInfosMetricCache } return manager.systemInfoMetrics, nil } // UpdateSystemInfoMetrics updates systemInfoMetrics by given info func (manager *MetricsCacheManager) UpdateSystemInfoMetrics(infos *milvuspb.GetMetricsResponse) { manager.systemInfoMetricsMtx.Lock() defer manager.systemInfoMetricsMtx...
Go
.7 0 13.7 6 13.7 13.7v54h54zM159.9 300.3h40.7V198.9c0-7.4 5.8-12.6 12-13.7h55.8v-40.3H159.9v155.4zm176.2-88.1H227.6v155.4h108.5V212.2z", 496, 512))}, {EFontAwesomeIcon.Brands_CreativeCommonsZero, new FontAwesomeInformation("Creative Commons CC0", EFontAwesomeStyle.Brands, "", new FontAwesomeSvgInformation("M247.6 8...
C#
.48-.3l.23-1.1h-.99a.75.75 0 0 1 0-1.5h1.29l.4-2H8.25a.75.75 0 0 1 0-1.5h1.49l.28-1.4c.08-.4.47-.67.88-.59ZM10.57 13h2.47l.4-2h-2.47l-.4 2Z\" fill=\"url(#paint1_linear_72095_8869)\"/><defs><linearGradient id=\"paint0_linear_72095_8869\" x1=\"7.39\" y1=\"3\" x2=\"17.26\" y2=\"21\" gradientUnits=\"userSpaceOnUse\"><stop ...
C#
, value: 'Waarde', selected: 'Geselecteerd', required: 'Vereist' }, form: { title: 'Eigenschappen formulier', menu: 'Eigenschappen formulier', action: 'Actie', method: 'Methode', encoding: 'Codering' }, hidden: { title: 'Eigenschappen verborgen veld', name: 'Naam', value: 'Waarde' }, select:...
JavaScript
Lun_5_usb_write_10 sd_mmc_mci_usb_write_10_0 #define Lun_5_mem_2_ram sd_mmc_mci_mem_2_ram_0 #define Lun_5_ram_2_mem sd_mmc_mci_ram_2_mem_0 #define LUN_5_NAME "\"SD/MMC Card over MCI Slot 0\"" //! @} /*! \name USB LUNs Def...
C
}); await queryRunner.delete('black_card', { text: `Do you want me to send you back to where you were, ____ in ____?`, draw: 0, pick: 2, watermark: `KHAOS` }); await queryRunner.delete('black_card', { text: `I see ____ people`, draw: 0, pick: 1, watermark: `KH...
Typescript
self.lv(&self.lv5, || vec![Alt]) } fn lv6(&self) -> Redirect { self.lv(&self.lv6, || vec![Alt, Shift]) } fn lv7(&self) -> Redirect { self.lv(&self.lv7, || vec![Control, Alt]) } fn lv8(&self) -> Redirect { self.lv(&self.lv8, || vec![Control, Alt, Shift]) } } impl Display for EightLevel...
Rust
(serialize_to_array_start:pos_rpc.HealthCheckRequest) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _i...
C++
idth:200px}#tmall-desc dl dt{color:#646464;font-size:16px;font-weight:700;text-align:left}#tmall-desc dl dd{text-align:left}#tmall-desc dl a{color:#8b8b8b;line-height:20px;height:20px;overflow:hidden;text-align:left;width:100px}#tmall-desc #mobile a{line-height:105px;height:105px;text-align:center;width:105px}#footer{b...
CSS
sts, Subst}; use rustc::hir; use rustc::hir::def_id::DefId; use crate::lowering::Lower; use crate::generic_types; /// Returns a predicate of the form /// `Implemented(ty: Trait) :- Implemented(nested: Trait)...` /// where `Trait` is specified by `trait_def_id`. fn builtin_impl_clause( tcx: TyCtxt<'tcx>, ty: Ty...
Rust
expected: "object" })) } }; ($json:expr => $($path:expr)=>+; as array) => { { let _x = json_nav!{ $json => $($path)=>+ }; _x.and_then(|x| x.as_array().ok_or($crate::JsonNavError::TypeMismatch { expected: "array" })) } }; ($json:expr => $($path:expr)=>+; as str) => { { ...
Rust
rnBolt background-size `#{$background-size}` to be in pixels."; $background-size: ($background-size + 0px); } //Initializing $background-image variable, for correct sass compiling $background-image: null ; // _____FACTORIO.US PATTERN @if $pattern == 'china-a' { $background-image: url("data:image/s...
CSS
nil || len(configData) == 0 { err = gerror.New(g.I18n().T(ctx, "{#sysUserPwCheckConfig}")) } var minimumLength int var complexity int var digit int var lowercaseLetter int var uppercaseLetter int for _, data := range configData { if strings.EqualFold(data.ConfigKey, consts.SysPasswordMinimumLength) { mini...
Go
ClientGlobals.re.RegisterModel("models/objects/laser/tris.md2"); ClientGlobals.re.RegisterModel("models/objects/grenade2/tris.md2"); ClientGlobals.re.RegisterModel("models/weapons/v_machn/tris.md2"); ClientGlobals.re.RegisterModel("models/weapons/v_handgr/tris.md2"); ClientGlobals...
Java
#!/usr/bin/env tarantool require('strict').on() _G.is_initialized = function() return false end local log = require('log') local errors = require('errors') local cartridge = require('cartridge') package.preload['customers-storage'] = function() return { role_name = 'customers-storage', init = fun...
Lua
versionUtil.UnitType) : DistanceRCState() } }/* * Copyright (c) 2018-2020 DJI * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without l...
Kotlin
84372088832u).createDigest() }, "0001020304050607ff7f3f1f0f0810204080fefcf8f0e0c0fdfbf7efdfbf55aa0b1113171d252a2b616263646566", "64746d78bc99007f6cbe6b3280da1113") testKatHex({ Algorithm.T1ha2_Stream128(70368744177664u).createDigest() }, "0001020304050607ff7f3f1f0f0810204080fefcf8f0e0c0fdfbf7efdfbf55aa0b1113171...
Kotlin
/* Copyright 2018-2018 University Corporation for Atmospheric Research/Unidata. */ #ifndef NCXML_H #define NCXML_H #ifdef DLL_NETCDF #ifdef DLL_EXPORT /* define when building the library */ #define DECLSPEC __declspec(dllexport) #else #define DECLSPEC __declspec(dllimport) #endif #else #define DECL...
C
destinationPath.isPresent } templateProjects.forEach { spec -> fs.sync { with(spec.copySpec) from(dokkaSourceDir.dir(spec.sourcePath)) from( spec.additionalPaths.get().map { additionalPath -> dokkaSourceDir.asFile.resolve(additionalPath) } ) ...
Kotlin
case 'f': { if (!strncmp(value + 1, "alse", 4)) { item->_type = JSON_FALSE; /* calloc prevents us needing item->_type = JSON_FALSE or valueInt = 0 here */ return value + 5; } break; } case 't': { if (!strncmp(value + 1, "rue", 3)) { item->_type = JSON_TRUE; item->_valueInt = 1; ...
C++
en error("failed to sync /plugin_configs: " .. err) end end function _M.plugin_configs() if not plugin_configs then return nil, nil end return plugin_configs.values, plugin_configs.conf_version end function _M.get(id) return plugin_configs:get(id) end function _M.merge(route_co...
Lua
tRuleObjV1ServiceDaoImpl extends BaseServiceDao implements IMarketRuleObjV1ServiceDao { private static Logger logger = LoggerFactory.getLogger(MarketRuleObjV1ServiceDaoImpl.class); /** * 保存营销对象信息 到 instance * @param info bId 信息 * @throws DAOException DAO异常 */ @Override public...
Java
= isAvoidSQLSourceNaming } func (v *standardFromRewriteAstVisitor) GetRewrittenQuery() string { return v.rewrittenQuery } func (v *standardFromRewriteAstVisitor) GetIndirectContexts() []drm.PreparedStatementCtx { return v.indirectContexts } //nolint:dupl,funlen,gocognit,gocyclo,cyclop,errcheck,gocritic,lll,exhaus...
Go
recentKeywordRepository .saveKeyword(currentSearchTerm) .onFailure { throwable -> Timber.w(throwable) _toastMessage.value = R.string.search_toast_recent_hearit_save_fail } } } } package com.daedan.festabook.p...
Kotlin
SDL_MOUSEBUTTONDOWN(1025), /// < Mouse button released SDL_MOUSEBUTTONUP(1026), /// < Mouse wheel motion SDL_MOUSEWHEEL(1027), /// < Joystick axis motion SDL_JOYAXISMOTION(1536), /// < Joystick trackball motion SDL_JOYBALLMOTION(1537), /// < Joystick hat position change SDL_JOYHATMOTION(1538...
Dart
, rdata, rdlen, &rdsize, rtype); } /*\ * This is a template for the callback function * The arguments are passed as specified in ARMCI_Gpc_exec * In addition, * rhsize specifies the actual size of reply header data returned * rdsize specifies the actual size of reply data returned \*/ int ...
C
------------------------------- .align 32 tgammaf_singularity: { .mfi nop.m 0 fmerge.s FR_X = f8,f8 mov GR_TAG = 262 // negative } { .mfb nop.m 0 frcpa.s0 f8,p0 = f0,f0 br.cond.sptk tgammaf_libm_err };; // x is negative noninteger with big absolut...
Assembly
207.25 0 00-58.75-144.81 155.35 155.35 0 00-17 27.4A176.16 176.16 0 01417.1 272c0 97.66-79.44 177.11-177.09 177.11a175.81 175.81 0 01-87.63-23.4c82.94-107.33 150.79-37.77 184.31-226.65 5.79-32.62 28-94.26 126.23-160.18 8.08-5.43 2.43-18.08-6.99-15.68ZM125 406.4A176.66 176.66 0 0162.9 272c0-97.66 79.45-177.1 177.1-177....
Dart
-color: theme('colors.slate.900'); --ifm-navbar-background-color: theme('colors.slate.900'); /* --ifm-navbar-background-color: initial; */ --ifm-toc-border-color: theme('colors.slate.50' / 6%); /* --ifm-navbar-background-color: rgb(15 23 42); */ /* background-color: rgb(15 23 42 / var(--tw-bg-opacity)); *...
CSS
action, hostParent, hostContainerInfo, context) { var domID = hostContainerInfo._idCounter++; this._domID = domID; this._hostParent = hostParent; this._hostContainerInfo = hostContainerInfo; var nodeValue = ' react-empty: ' + this._domID + ' '; if (transaction.useCreateElement) { ...
JavaScript
{ it[store.events.eventType] shouldBe "custom.com.cultureamp.eventsourcing.sample.PizzaCreated" } } } it("allows providing a custom event type resolver that supports aggregate-types") { val packageRemovingEventTypeResolver = PackageRemovingEventTypeResolver(mapOf(PizzaAggregate...
Kotlin
5px; } .cm-s-solarized .CodeMirror-guttermarker-subtle { color: #586e75; } .cm-s-solarized.cm-s-dark .CodeMirror-guttermarker { color: #ddd; } .cm-s-solarized.cm-s-light .CodeMirror-guttermarker { color: #cb4b16; } .cm-s-solarized .CodeMirror-gutter .CodeMirror-gutter-text { color: #586e75; } /* Cursor */ .cm-s-so...
CSS
from django.urls import path, include from . import views app_name = "api.department" # app_name will help us do a reverse look-up latter. urlpatterns = [ path('department/', views.DepartmentList.as_view()), ]
Python
child: T, reference: Node) => T) | null = null; function patchedAppendChild<T extends Node>(child: T): T { if (child[REHYDRATED]) { return child; } return oldAppendChild.call(this, child); }; function patchedInsertBefore<T extends Node>(child: T, reference: Node): T { if (child[REHYDRATED]) { return c...
Typescript
} @Override public void initializeDefaultPreferences() { IPreferenceStore store = prefs(); store.setDefault(TREEMAP_DRAW_CLUSTER_FRAME, true); store.setDefault(TREEMAP_LAYOUT_ALGORITHM, 1); store.setDefault(TREEMAP_MAX_DEPTH, 0); } public static int getMapDepth() { return prefs().getInt(TREEMAP_MAX_DEP...
Java
" << settings_.g.project_file << "." << std::endl; std::string str, line, var, val; std::stringstream ss; settingMode mSetting(unknownSetting); while (!dnaproj_file.eof()) { try { getline(dnaproj_file, line, '\n'); } catch (std::ifstream::failure& f) { if (dnaproj_file.eof()) break; ...
C++
}{c+2 a^{3}} \geq c-\frac{2 a c^{2 / 3}}{3} $$ Adding these three inequalities implies $$ \frac{a^{2}}{a+2 b^{2}}+\frac{b^{2}}{b+2 c^{2}}+\frac{c^{2}}{c+2 a^{2}} \geq(a+b+c)-\frac{2}{3}\left(b a^{2 / 3}+c b^{2 / 3}+a c^{2 / 3}\right) $$ So it is enough to prove that $$ (a+b+c)-\frac{2}{3}\left(b a^{2 / 3}+c b^{2 / 3}...
Markdown
rise = speed/moveres/1.2f; // extra smoothness when lifting up stairs if(pl->maxspeed-16.0f>0.5f) pl += 0xF0F0; } } bool collided = false; vec oldorigin = pl->o; if(!editfly) loopi(moveres) // discrete steps collision ...
C++
,3.72c0.08,0.17,0.26,0.28,0.45,0.28H29v3H7.5 c-0.23,0-0.43,0.16-0.49,0.38L4,25.94V6.5z M28.11,29.5H4.14l3.75-15h23.97L28.11,29.5z"/></g></svg>', upIcon: '<svg class="up-icon__svg" enable-background="new 0 0 23 33" viewBox="0 0 23 33" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="m21.6 20.4h-5.2v-...
JavaScript
29; dest:x31; op1val:0xb505; op2val:-0x20000001 TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb505, -0x20000001, x8, 10*XLEN/8, x9) inst_36: // rs2_val == -1073741825, // opcode: div ; op1:x30; op2:x29; dest:x31; op1val:0xb505; op2val:-0x40000001 TEST_RR_OP(div, x31, x30, x29, 0x0, 0xb505, -0x40000001, x8, 11*XLEN/8, x9) ...
Assembly
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 agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARR...
C++
d assertParsed(TemporalAccessor parsed, TemporalField field, Long value) { if (value == null) { assertEquals(parsed, null, "Parsed Value"); } else { assertEquals(parsed.isSupported(field), true, "isSupported: " + field); assertEquals(parsed.getLong(field), (long) valu...
Java
b", null ], [ "iic_write", "structds1307__handle__s.html#adca3ee7a793bbf510d5267daf0fcf1c5", null ], [ "inited", "structds1307__handle__s.html#a19bedf28d2b9748f6a62d9ae93f4e68f", null ] ] ], [ "ds1307_info_s", "structds1307__info__s.html", [ [ "chip_name", "structds1307__info__s.html#af890958c...
JavaScript
px; --vsi-tape-label-margin-left: 5px; --vsi-tape-label-offset-y: 2px; --vsi-tape-label-major-font-size: 18px; --vsi-tape-label-minor-font-size: 14px; /* VNAV target altitude display vars */ --vsi-vnavalt-display-width: 68px; --vsi-vnavalt-display-height: 23px; --vsi-vnavalt-display-font-size: 18px; ...
CSS
if (JS('bool', '!!(#.deltaMode)', this)) { return JS('int', '#.deltaMode', this); } // If not available then we're poly-filling and doing pixel scroll. return 0; } num get _wheelDelta => JS('num', '#.wheelDelta', this); num get _wheelDeltaX => JS('num', '#.wheelDeltaX', this); num get _d...
Dart
; ++i) { const int numRegisters = vshader->GetNumRegistersUsed(i); const float* data = parameters->GetConstant(i)->GetData(); int baseRegister = vshader->GetBaseRegister(profile, i); for (int j = 0; j < numRegisters; ++j) { glProgramLocalParameter4fvARB(GL_VERTEX_...
C++
var x = 0 /** * y坐标 */ val y: Int /** * 填充物 */ private val mFloorShader: BitmapShader fun draw(mCanvas: Canvas, mPaint: Paint) { if (-x > mGameWidth) { x %= mGameWidth } mCanvas.saveLayer(0f, 0f, mGameWidth.toFloat(), mGameHeight.toFloat(...
Kotlin
-small.ant-switch-checked:after{left:14px}.ant-switch-checked{border-color:#2db7f5;background-color:#2db7f5}.ant-switch-checked .ant-switch-inner{left:6px}.ant-switch-checked:after{left:22px}.ant-switch-disabled{cursor:not-allowed;background:#f4f4f4;border-color:#f4f4f4}.ant-switch-disabled:after{background:#ccc;cursor...
CSS
{ // create c := &WordCounter{ count: atomic.NewInt64(0), words: sync.Map{}, } expvar.Publish(statsPrefix+name, c) return c }, ) } func (w *WordCounter) Add(word string) { if _, loaded := w.words.LoadOrStore(xxhash.Sum64String(word), struct{}{}); !loaded { w.count.Add(1) } } func (w *WordC...
Go
f (remainingProgressLength > 1) { val secondSegmentLength = (circleLength / 2).coerceAtMost(remainingProgressLength) val secondSegmentAngle = 180F * (secondSegmentLength / (circleLength / 2)) canvas.drawArc(RectF(realWidth - progressHeight, strokeHalfWidth, realWidth - strokeHalfWidth, progressH...
Kotlin
// Copyright 2019 Google LLC // // 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 agreed to in ...
C
,0x01,0x61,0x01,0x00] v_add_f16_dpp v5, v1, v2 row_xmask:15 row_mask:0x0 bank_mask:0x0 // GFX10: encoding: [0xfa,0x04,0x0a,0x64,0x01,0x6f,0x01,0x00] v_sub_f16_e32 v5, v1, v2 // GFX10: encoding: [0x01,0x05,0x0a,0x66] v_sub_f16_e32 v255, v1, v2 // GFX10: encoding: [0x01,0x05,0xfe,0x67] v_sub_f16_e32 v5, v255, v2 // G...
Assembly
Clock::Pll, } } } impl From<TimClock> for U1 { fn from(other: TimClock) -> U1 { match other { TimClock::Pclk => U1::B0, TimClock::Pll => U1::B1, } } } macro_rules! impl_tim_clocksource { ($periph:path, $getter:ident, $setter:ident) => { impl Cloc...
Rust
합뉴스 충남 천안 구도심 건물에 그려진 유관순 열사 그래피티. 그래피티는 벽이나 그 밖의 화면에 낙서처럼 긁거나 스프레이 페인트를 이용해 그리는 그림이다. 시는 3·1운동과 대한민국 임시정부 수립 100주년을 맞아 문화적으로 도시재생사업을 추진하고자 그래피티를 제작했다 그래피티로 되살아난 유관순 열사(19.2.28) 연합뉴스 충남 천안 구도심 건물에 그려진 유관순 열사 그래피티. 그래피티는 벽이나 그 밖의 화면에 낙서처럼 긁거나 스프레이 페인트를 이용해 그리는 그림이다. 시는 3·1운동과 대한민국 임시정부 수립 100주년을 맞아 문화적으로 도시재생사업을 추진하고자 그...
Markdown
d: The usage record to aggregate func (p *LoggerPlugin) HandleUsage(ctx context.Context, record coreusage.Record) { if !statisticsEnabled.Load() { return } if p == nil || p.stats == nil { return } p.stats.Record(ctx, record) } // SetStatisticsEnabled toggles whether in-memory statistics are recorded. func Set...
Go
using System; using System.Collections.Generic; namespace VelocityGraph.Frontenac.Blueprints { /// <summary> /// An IIndexableGraph is a graph that supports the manual indexing of its elements. /// An index is typically some sort of tree structure that allows for the fast lookup of elements by key...
C#
Equal(t, actual, &tt.expected) // v1.Probe validation assert.Assert(t, actual.TimeoutSeconds >= 1) // Minimum value is 1. assert.Assert(t, actual.PeriodSeconds >= 1) // Minimum value is 1. assert.Assert(t, actual.SuccessThreshold == 1) // Must be 1 for liveness and startup. assert.Assert(t, actual.Failu...
Go
OT_SERVICES *bs = efi_systab->BootServices; struct net_device *netdev = efidev_get_drvdata ( efidev ); struct nii_nic *nii = netdev->priv; EFI_HANDLE device = efidev->device; /* Unregister network device */ unregister_netdev ( netdev ); /* Stop UNDI */ nii_stop_undi ( nii ); /* Close PCI I/O protocols */ ni...
C
ngs("unused") String resultString = results.getMapper().writeValueAsString(jsonResults); // ignore. } } } } /* * Copyright (c) 2010-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ package com.marklogic.client.test; import com.marklogic.cl...
Java
CGY-CTZFi7JdkhZ05nDpbSYJBTOo1Etckh7k0qcvnO0TBFAiEA1v1jKTwGn5LRRGSab1kNdgEqD6qL08bougoJUNY1A5MC * IGvtBFSNzhGvhQmdYYj5-XOd5P4ucVk6TmkV1Xu73Dvj","clientData":"eyJ0eXAiOiJuYXZpZ2F0b3IuaWQuZmluaXNoRW5y * b2xsbWVudCIsImNoYWxsZW5nZSI6IkdVNHVzdnBZZnZRX1JDTVNxbTgxOWdUWk1hMHFDZUxyMVhnMktidlcyVG...
Java
_paintBackground(canvas, size); } return; } final translation = model.translation; if (translation == null) { return; } ++options.paintCount; final renderer = TileRenderer( theme: options.theme, textPainterProvider: _cachingPainterProvider, tileState: ...
Dart
b[X + 4 >> 1] | 0, j, y) | 0; n = Z(b[F >> 1] | 0, B) | 0; if ((n | 0) == 1073741824) { c[y >> 2] = 1; n = 2147483647 } else n = n << 1; z = n << 1; b[ba >> 1] = ((z >> 1 | 0) == (n | 0) ? z : n >> 31 ^ 2147418112) >>> 16; ...
JavaScript
return (bundle!=null) && (bundle.getState()!=Bundle.UNINSTALLED); } /** * @return True if the resource can be deployed */ public boolean isDeployReady() { Bundle bundle = getBundle(); return bundle==null && obrResource!=null; } /** * @return True if the resource ca...
Java
/* SPDX-License-Identifier: GPL-2.0-or-later */ #include <acpi/acpi.h> #include <acpi/acpigen.h> #include <baseboard/gpio.h> #include <baseboard/variants.h> #include <device/device.h> #include <drivers/wwan/fm/chip.h> #include <ec/ec.h> #include <fw_config.h> #include <soc/ramstage.h> #include <static.h> #include <std...
C
otImplementedError) ) ]) def test_compressed_roundtrip(compression): if not Codec.is_available(compression): pytest.skip("{} support is not built".format(compression)) data = b"some test data\n" * 10 + b"eof\n" raw = pa.BufferOutputStream() with pa.CompressedOutputStream(raw, compression) a...
Python
(들) - ho rang i deur", "wolf": "늑대 - neuk dae", "wolves": "늑대(들) - neuk dae deur", "objects": "물건/물체 - mul geon mul che", "bathroom": "욕실 - yok sil", "bed": "침대 - chim dae", "bedroom": "침실 - chim sil", "ceiling": "천장 - cheon jang", "chair": "의자 - ui ja", "clothes": "옷 - ot", "coat": "코트 - ko teu", ...
Typescript
/* $NetBSD: mii_verbose.h,v 1.2 2010/06/06 18:58:22 pgoyette Exp $ */ /*- * Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation * by Jason R. Thorpe of the Numerical Aerospace Simulation Facility, * NA...
C
: 3px 3px 10px #888; } .highcharts-menu-item { padding: 0.5em 1em; background: none; color: #000; cursor: pointer; transition: background 250ms, color 250ms; } .highcharts-menu-item:hover { background: #335cad; color: #ffffff; } /* Drilldown module */ .highcharts-drilldown-point { cursor: pointer; } ...
CSS
/* * have_unused - Determine if we want or can support the unused attribute * * Copyright (C) 2004,2021 Landon Curt Noll * * Calc is open software; you can redistribute it and/or modify it under * the terms of the version 2.1 of the GNU Lesser General Public License * as published by the Free Software Foundatio...
C
visibility = 1, story_id = "", target_id_for_client = 0, id = 15757, target_num = 1, fix_task = 0, target_id = { 10101, 10102, 10103, 10104, 10201, 10202, 10203, 10204, 10301, 10302, 10303, 10304, 10401, 10402, 10403, 10404, 10501, 10502, 10503, 10...
Lua
@Deprecated('Use [spotify.player.queue()]') Future<Queue> queue() async => _player.queue(); // Add an object to the queue with a trackId. @Deprecated('Use [spotify.player.addToQueue()]') Future<void> addToQueue(String trackId) async => _player.addToQueue(trackId); /// Get tracks from the current user’s r...
Dart
null); } public synchronized void schedule() { long freq = _context.getProperty(PROP_FREQUENCY, DEFAULT_FREQUENCY); if (freq > 0) { List<Long> previous = _persister.load(); long now = _context.clock().now() + 15*1000; if (freq < MIN_FREQUENCY) ...
Java
Public License * along with dwarfs. If not, see <https://www.gnu.org/licenses/>. * * SPDX-License-Identifier: GPL-3.0-or-later */ #include <gmock/gmock.h> #include <archive.h> #include <archive_entry.h> #include <fmt/format.h> #include "test_tool_main_tester.h" using namespace dwarfs::test; using namespace d...
C++
-- vr_map_limb -- @short: Create a binding between a 3d object and a vrbridge limb -- @inargs: vid:bridge, vid:model, int:limbid -- @inargs: vid:bridge, vid:model, int:limbid, bool:position, bool:orientation -- @outargs: nil -- @longdescr: This function is used to bind the position and orientation of -- a 3D model to t...
Lua
ldr ip, [r4, #232] add r3, r4, #53248 ldr r0, [r4, #208] mov r5, #0 ldr r1, [r4, #172] ldr r2, [r4, #248] sub r0, r0, #1 sub r1, r1, #1 str r0, [r4, #208] str r1, [r4, #172] sub r2, r2, #1 str r5, [r4, #224] str r2, [r4, #248] strb ip, [r3, #369] ldr r1, [r4, #2364] cmp r1, r5 beq .L3725 ldr r0, [r4, #...
Assembly
(false, (5, 0, 0))); _objc_msgSend_xtuoz7(this.ref.pointer, _sel_setLeftBarButtonItems_, value?.ref.pointer ?? ffi.nullptr); } /// rightBarButtonItems objc.NSArray? get rightBarButtonItems { objc.checkOsVersionInternal('UINavigationItem.rightBarButtonItems', iOS: (false, (5, 0, 0))); final _ret = _o...
Dart
bfda706bd4919a71, "rze70uynk6e7", -2.257976852, 173.361697995}, {0xbf4ff3ccbddbd24f, "rx7z7m5xvg94", -2.915520485, 162.921314678}, {0x93bb3aa4f54eafa3, "kfxmp97p9uru", -30.050416291, 44.279107831}, {0xdbf38e68c6226ca2, "vgtswu6649qb", 65.502211626, 86.784212219}, {0xa884bfde7c826187, "p2...
Rust