content
stringlengths
2
6.21k
label
stringclasses
16 values
/* Test exception in current environment. Copyright (C) 2022-2024 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software...
C
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* lib/krb5/rcache/t_memrcache.c - memory replay cache tests */ /* * Copyright (C) 2019 by the Massachusetts Institute of Technology. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are per...
C
.DELETE(RouteItem, h.delete) admin.PATCH(RouteItem, h.patch) admin.POST(RouteCollection, h.create) admin.PATCH(RouteCollection, h.batchPatchIdentities) admin.PUT(RouteItem, h.update) admin.DELETE(RouteCredentialItem, h.deleteIdentityCredentials) } // Paginated Identity List Response // // swagger:response listI...
Go
0 + (((componentViewport?.height || 200) - 0 - 569.2) / 2 + 288 + 39) + 0 + 0 + 0 + 202.2, }, }, baseVariant, gestureVariant, )} > <SmartComp...
JavaScript
ect()); Expect.equals(1, testArgument()); Expect.equals(1, testReturn()); Expect.equals(1, testField()); Expect.equals(1, testAnyFunction()); } } main() { TypeTest.testMain(); } // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use o...
Dart
--- Equality operation -- If either `a` or `b` are not of type `AABB`, always return `false`. -- @function __eq -- @tparam AABB a -- @tparam AABB b -- @treturn bool __eq = function(a, b) return ffi_istype(AABB, a) and ffi_istype(AABB, b) and a.position == b.position and a.size == b.size end, })
Lua
p> `, numberOfCharges: 5, uniqueStarters: [ { type: 'Gem', name: 'Warding Stone', expansion: 'LOG', id: 'WardingStone', cost: 0, effect: ` <p> Gain 1 <span class="aether">&AElig;</span>.<br/> The next time you focus or o...
Typescript
cPolicy_PortTrafficPolicy{}, }, { config: &Ingress{ LoadBalance: &LoadBalanceConfig{ cookie: &consistentHashByCookie{ name: "test", path: "/", age: &duration.Duration{ Seconds: 100, }, }, }, }, input: &networking.TrafficPolicy_PortTrafficPolicy{}, expect:...
Go
val_expect), flags, grouping && *grouping, grouping); #else _RWSTD_UNUSED (bufend); _RWSTD_UNUSED (err_expect); _RWSTD_UNUSED (val_expect); #endif // NO_NUM_GET } /**************************************************************************/ template <class charT> struct ...
C++
e - an indispensable productivity tool, a DOS compatible FAT file system, and our tiny thread aware UDP/IP stack. http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate. Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS. http://www.OpenRTOS.com - Real Time Eng...
Assembly
from flask import Flask, jsonify, request, send_from_directory import os import json #from convertmodel import convert_usdz_to_usd, convert_usd_to_gltf, fix_material_bindings app = Flask(__name__) @app.route('/') def home(): return "Hello, Flask!" @app.route('/get/convertusdz', methods=['GET']) def get_convertu...
Python
62:5)\n at startTests (file:///home/runner/work/RSSHub/RSSHub/node_modules/.pnpm/@vitest+runner@2.1.9/node_modules/@vitest/runner/dist/index.js:1271:3)\n at file:///home/runner/work/RSSHub/RSSHub/node_modules/.pnpm/vitest@2.1.9_@types+node@24.7.0_jsdom@27.0.0_bufferutil@4.0.9_postcss@8.5.6_utf-8-valid_7a9f9ab30ae...
Markdown
#if defined(__arm__) .text .align 3 methods: .space 16 .align 2 Lm_0: m_Locale__ctor: _m_0: .byte 13,192,160,225,128,64,45,233,13,112,160,225,0,89,45,233,8,208,77,226,13,176,160,225,0,0,139,229,8,208,139,226 .byte 0,9,189,232,8,112,157,229,0,160,157,232 Lme_0: .align 2 Lm_1: m_Locale_GetText_string: _m_1: .by...
Assembly
String IHOOK_DISPATCHER_INTERNAL_NAME = "rocks/inspectit/agent/java/hooking/IHookDispatcher"; /** * {@link Throwable} internal name. */ String THROWABLE_INTERNAL_NAME = Type.getInternalName(Throwable.class); /** * {@link Throwable} type. */ Type THROWABLE_TYPE = Type.getType(Throwable.class); /** * ...
Java
04917499 24.091883092036785 A 5 5 0 0 1 13.384776310850237 22.627416997969522 L 20.627416997969522 22.627416997969522 A 2 2 0 0 0 22.627416997969522 20.627416997969522 L 22.627416997969522 13.384776310850237 A 5 5 0 0 1 24.091883092036785 9.849242404917499 L 23.091883092036785 9.849242404917499 L 9.849242404917499 23.0...
CSS
/* Copyright 2016 Google Inc. All Rights Reserved. Distributed under MIT license. See file LICENSE for detail or copy at https://opensource.org/licenses/MIT */ /* Version definition. */ #ifndef BROTLI_COMMON_VERSION_H_ #define BROTLI_COMMON_VERSION_H_ /* Compose 3 components into a single number. In a hexadec...
C
* B3:B0 ;;; Clobbers: __tmp_reg__ DEFUN __mulohisi3 XCALL __muluhisi3 ;; One-extend R27:R26 (A1:A0) sub C2, B0 sbc C3, B1 ret ENDF __mulohisi3 #endif /* L_mulshisi3 */ #if defined (L_muluhisi3) ;;; R25:R22 = (unsigned long) R27:R26 * R21:R18 ;;; (C3:C0) = (unsigned long) A1:A0 * B3:B0 ;...
Assembly
nese localization by: {C:green}ChromaPIE", "Japanese localization by: {C:green}koukichi_kkc", }, } } }, misc = { dictionary = { jdis_enabled = "Aktiviert", jdis_hide_by_default = "Standartmäßig Versteckt", jdis_hide_empty = "Leere Verstecken", jdis_shift_to_hide = "Shift + Rechtsklick zum ...
Lua
); const last = (array: string[]) => array.slice(-1)[0]; console.log(last(animals));import prisma from "../../../prisma/prismaClient"; import PropertyHandlers from "./interfaces"; /** * PUT /properties/{id} * @summary Update one property * @tags properties * @param {string} id.path - id of wanted property * @par...
Typescript
potifyHttpException" import SpotifyApiService from "../../services/network/SpotifyApiService" import SpotifyEndpoints from "../../services/network/SpotifyEndpoints" interface Props { id: string } const useSavedTrack = ({ id }: Props) => { const [isSaved, setIsSaved] = useState<boolean | undefined>(undefined) u...
Typescript
-moz-box-shadow: inset 0 0px 0px transparent; box-shadow: inset 0 0px 0px transparent; } .devpreview .demo .box, .devpreview .demo .row-fluid { padding-top: 0; background: none; } .devpreview .demo .column { padding-top: 19px; padding-bottom: 19px; } #download-layout { display: none; } #editorModal te...
CSS
,73), ox = 24, oy = 72, func = comboAttack1, delay = f(4) }, --combo2.2 { q = q(256,560,60,72), ox = 28, oy = 71 }, --combo2.3 { q = q(256,560,60,72), ox = 28, oy = 71, delay = f(2) }, --combo2.3 delay = f(3) }, combo3 = { { q = q(2,640,86,65), ox = 59, oy...
Lua
func (p *WorkInfo) GetProfileMemory() (v string) { if !p.IsSetProfileMemory() { return WorkInfo_ProfileMemory_DEFAULT } return *p.ProfileMemory } var WorkInfo_TableInfo_DEFAULT string func (p *WorkInfo) GetTableInfo() (v string) { if !p.IsSetTableInfo() { return WorkInfo_TableInfo_DEFAULT } return *p.TableI...
Go
// clang-format off // Auto-generated file. Do not edit! // Template: src/qs8-igemm/4x16-aarch64-neon-mlal-lane-ld64.S.in // Generator: tools/xngen // // Copyright 2021 Google LLC // // This source code is licensed under the BSD-style license found in the // LICENSE file in the root directory of this source tree. ...
Assembly
ox:checked:active+label::before { transform: none; transition: none; } // radio button icon .radio:checked+label::before { background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cg class='nc-icon-wrapper' fill='%23ffffff'%3E%3Ccircle cx='8' cy='8'...
CSS
11, pc} 3: stmfd sp!, {r4, lr} ldrsh r4, [r0, #0] @ r4 = block[0] mov r12, #0 strh r12, [r0, #0] @ block[0] = 0 strh r12, [r0, #126] @ block[63] = 0 add r4, r4, #64 mov r4, r4, asr #7 @ r4 = DC mov r4, r4, lsl #16 @ spread to 2 halfwords ...
Assembly
# Copyright 2025 Matheus Vilano # SPDX-License-Identifier: Apache-2.0 from pywwise.descriptors import WwiseProperty from pywwise.enums import ERecorderAmbisonicsChannelOrdering, ERecorderFormat from pywwise.objects.abc import WwiseObject class WwiseRecorder(WwiseObject): """ https://www.audiokinetic.com/en/l...
Python
arams.x, params.y); this.layout = new TiledLayout( scene, LayoutDirection.Vertical, 20, false, this.scene.sys.canvas.height); let backgroundSprite = scene.make.sprite({ x: -90, y: -120, key: 'blank' }); backgroundSprite.setOrigin(0...
Typescript
using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("StructLinq.BCL.net472.x86.Tests")] [assembly: InternalsVisibleTo("StructLinq.BCL.net48.x86.Tests")] [assembly: InternalsVisibleTo("StructLinq.BCL.net21.x86.Tests")] [assembly: InternalsVisibleTo("StructLinq.BCL.net30.x86.Tests")] [assembly: Interna...
C#
Menu(menu); this.menuListener(menu); } } ] }); /** * @license * Copyright 2018 The FOAM Authors. All Rights Reserved. * http://www.apache.org/licenses/LICENSE-2.0 */ foam.CLASS({ package: 'foam.nanos.logger', name: 'NotificationLogMessageDAO', extends: 'foam.dao.ProxyDAO', documentatio...
JavaScript
, new ANTLRStringStream("c")); result = engine.scan("A"); assertEquals(result.getType(), Atype); } @Test public void testSingleRuleRef() throws Exception { Grammar g = new Grammar( "lexer grammar t;\n"+ "A : 'a' B 'c' ;\n" + "B : 'b' ;\n"); final in...
Java
void): void; /** * Replaces the node `oldChild` with the node `newChild`. */ replaceChild(newChild: Titanium.XML.Node, oldChild: Titanium.XML.Node): Titanium.XML.Node; } } } /** * A Constraint decides if a tile satisfies a condition defined by the class. */ interface IConstraint { allows(posit...
Typescript
assertThat(result).isEqualTo("Found: false, Count: 3"); } @Test public void shouldUpdateNamespaceVariableWithTheSameDataType() { String template = "{% set ns = namespace(found=false) %}" + "{% set ns.found=true %}" + "Result: {{ns.found}}"; String result = interpreter.render(templa...
Java
// immediately enclosing using directive, if any. while (startNode != null) { if (startNode is UsingDirectiveSyntax) { startNode = startNode.Parent!.Parent!; break; } startNode = startNode.Pa...
C#
data dictated by the parent component /// /// > [state] is an internal storage of the component that can't be accessed by the parent. /// /// > When [state] is changed, the component will re-render. /// /// It's a common practice to store the application data in the [state] of the root `Component`. It will re-render /...
Dart
fn destroy_shader_module(&self, _: ()) {} unsafe fn destroy_render_pass(&self, _: ()) {} unsafe fn destroy_pipeline_layout(&self, _: ()) {} unsafe fn destroy_graphics_pipeline(&self, _: ()) {} unsafe fn destroy_compute_pipeline(&self, _: ()) {} unsafe fn destroy_framebuffer(&self, _: ()) {} ...
Rust
<BigDecimal>.sum(): BigDecimal { var sum = BigDecimal.ZERO for (element in this) { sum += element } return sum } /** * BigDecimal 컬렉션의 평균을 구합니다. */ @JvmName("averageOfBigDecimal") fun Iterable<BigDecimal>.average(): Double { var sum = BigDecimal.ZERO var count = 0 for (element in ...
Kotlin
0 /*0x3318*/ bgt jump_32fe /*0x331a*/ pop {r4, r5, pc} .thumb_func call_331c: /*0x331c*/ mov r3, r0 /*0x331e*/ orrs r3, r1 /*0x3320*/ lsls r3, r3, #0x1e /*0x3322*/ beq jump_332c /*0x3324*/ b jump_333a jump_3326: /*0x3326*/ ldm r1!, {r3} /*0x33...
Assembly
-- LuaTools需要PROJECT和VERSION这两个信息 PROJECT = "demo_fs_test" VERSION = "1.0.0" -- 通过屏蔽变量来控制测试对应FS路径,默认打开LFS local PATH_LFS = "/" --local PATH_RAM = "/ram/" --local PATH_LUADB = "/luadb/" -- 通过屏蔽module来开关不同测试,默认不打开part3压力测试 require "fs_test_part1" require "fs_test_part2" --require "fs_test_part3" -- test_run函数接受一个table...
Lua
local knockback_dummy_loc = enemy:GetAbsOrigin() + direction * 150 local knockback_dummy = CreateUnitByName("npc_dummy_unit", knockback_dummy_loc, false, caster, caster, caster:GetTeamNumber()) -- Set up knockback parameters knockback_param = { should_stun = 1, knockback_duration = force_duration, ...
Lua
using System; using System.Collections.Generic; using System.Linq; using System.Text; using MinerWars.AppCode.Game.Utils.VertexFormats; using MinerWars.AppCode.Game.Render; using MinerWars.AppCode.Game.Effects; using SharpDX.Direct3D9; using SharpDX.Toolkit.Graphics; namespace MinerWars.AppCode.Game.Utils { usi...
C#
url("images/bitrate plus_passiv.png"); } #btUp:hover { background-image: url("images/bitrate plus_aktiv.png"); } p { padding : 0; margin : 0; margin-bottom : 15px; } #info_area { position : absolute; top : 110px; left: 50px; color: #eee; } .big { font-size: 24px; }/*! * Angular...
CSS
dom.LoadXml("<table />"); DomUtil.SetAttr(dom.DocumentElement, "name", "state"); DomUtil.SetAttr(dom.DocumentElement, "dbname", ""); dom.DocumentElement.InnerText = Global.MakeListString(book_states, ","); strBookStatesXml = dom.DocumentElement.OuterXml; /...
C#
>numteammates != numteammates || bs->flagstatuschanged || bs->forceorders) { bs->teamgiveorders_time = FloatTime(); bs->numteammates = numteammates; bs->flagstatuschanged = qfalse; bs->forceorders = qfalse; } // if it's time to give orders if (bs->teamgiveorders_time && bs->t...
C
= resultado[0] else: pc_nivel_6 = 0 return jsonify({"pc_nivel_6": pc_nivel_6}) @app.route('/pc_nivel_7/<uf>', methods=['GET']) def calcular_pc_nivel_7(uf): conn = get_connection() cur = conn.cursor() with conn.cursor() as cur: cur.execute('SELECT AVG ("PC_NIVEL_7") FROM escola WH...
Python
息,这里的数据同步通过 synchronized 和 final 关键字来保障。 ## <a name="41">重要的生产者参数</a><a style="float:right;text-decoration:none;" href="#index">[Top]</a> 在 KafkaProducer 中,除了第3节提及的3个默认的客户端参数,大部分的参数都有合理的默认值,一般不需要修改它们。不过了解这些参数可以让我们更合理地使用生产者客户端,其中还有一些重要的参数涉及程序的可用性和性能,如果能够熟练掌握它们,也可以让我们在编写相关的程序时能够更好地进行性能调优与故障排查。下面挑选一些重要的参数进行讲解。 ### <a...
Markdown
GattCharacteristic, GattCharacteristicProperties, GattClientCharacteristicConfigurationDescriptorValue, GattCommunicationStatus, GattDeviceService, GattDeviceServicesResult, GattValueChangedEventArgs, } windows::devices::bluetooth::advertisement::* windows::...
Rust
AKEALLPROMPT0, "Подтвердив это действие, вы примете все вложения и золото из писем от игроков, за исключением писем, отправленных наложенным платежом. Вы уверены, что хотите продолжить?", 0) SAS(SI_MAILCATEGORY_CONFIRMTAKEALLPROMPT1, "Подтвердив это действие, вы примете все вложения и золото из системных сообщений, за ...
Lua
ROM + 0x0000, 0, 1)) return 1; if (BurnLoadRom(DrvZ80ROM + 0x1000, 1, 1)) return 1; if (BurnLoadRom(DrvZ80ROM + 0x4000, 2, 1)) return 1; if (BurnLoadRom(DrvZ80ROM + 0x5000, 3, 1)) return 1; if (BurnLoadRom(DrvZ80ROM + 0x6000, 4, 1)) return 1; if (BurnLoadRom(DrvGfxROM + 0x0000, 5, 1)) return 1; ...
C++
"], 'open_hands': ["👐"], 'open_mouth': ["😮"], 'open_umbrella': ["☂"], 'opening hours': ["🈺"], 'ophiuchus': ["⛎"], 'orange': ["🍊","🥕"], 'orange-circle': ["🉑"], 'orange-square': ["📴","📳","🈶","🈚","🈸","🈺","🈷️","✴️","🆚","🚼"], 'orange_book': ["📙"], 'orange_circle': ["🟠"], 'orange_heart'...
Dart
""" AI Helper module for WhatsApp Job Alert Bot Integrates DeepSeek Reasoner AI for enhanced user interactions """ import os import logging from openai import OpenAI from typing import Dict, Any, List, Optional from dotenv import load_dotenv import hashlib import json import re import time import threading from queue ...
Python
6.88 2-6.88a1.59 1.59 0 0 0-2.38-.11 11.2 11.2 0 0 0-1.84 2.44c-.86 1.42-1.84 2.95-2.67 4a38.6 38.6 0 0 1-4.66 5.17l-.42-.21c-15.16 11.83-28.86 7.38-30.19 6.91v-3.11c-12.08-9.74-24.6-7.22-24.6-7.22-17.11 0-19.12 7.22-19.12 7.22l.1 3.64-1-.57S82.1 175 66.14 162.56l-.42.21a38.6 38.6 0 0 1-4.66-5.17c-.82-1.09-1.81-2.62-2....
CSS
Qzxl4iCfvB7KDWw.40.woff2) format("woff2"); unicode-range: U+bd03, U+bd06, U+bd08, U+bd0a-bd0f, U+bd11-bd22, U+bd25-bd47, U+bd49-bd58, U+bd5a-bd7f, U+bd82-bd83, U+bd85-bd87, U+bd8a-bd8f, U+bd91-bd92, U+bd94, U+bd96-bd98, U+bd9a-bdaf; } /* [41] */ @font-face { font-family: "Noto Serif KR"; font-styl...
CSS
eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNi5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL34vY29yZS1qcy9tb2R1bGVzL19kZXNjcmlwdG9ycy5qcz84MmJhIl0sInNvdXJjZXNDb250ZW50IjpbIi8vIFRoYW5rJ3MgSUU4IGZvciBoaXMgZnVubnkgZGVmaW5lUHJvcGVydHlcbm1vZHVsZS5leHBvcnRzID0gIXJlcXVpcmUoJy4vX2ZhaWxzJykoZnVuY3Rpb24oKXtcbiAgcmV0dXJuIE9iamVjdC5kZWZpbmVQcm9wZXJ0eSh7...
JavaScript
, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package replay_test import ( "bytes" "context" "fmt" "testing" "github.com/google/gapid/core/assert" "github.com/google/gapid/co...
Go
_text.system()), // ); } } pub mod json; pub mod ldap; use std::error::Error; use serde_derive::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Clone, Copy, FromFormField, PartialEq)] pub enum Outcome { Success, Revoked, Unknown, } #[derive(Serialize, Deserialize, Clone, P...
Rust
3类型,音效用wav或者mp3类型(如果打包为app,音效只能用wav格式)。 * 详细教程及声音格式请参考:http://ldc2.layabox.com/doc/?nav=ch-as-1-7-0 */ class SoundManager extends laya.media.SoundManager {} /** * @private */ class SoundNode extends laya.media.SoundNode {} /** * @private web audio api方式播放声音 */ class WebAudioSound ...
Typescript
t4, __fn_dyn4, __fn_float5, __fn_dyn5, __fn_float6, __fn_dyn6))) ); } } public java.lang.Object __hx_invoke5_o(double __fn_float1, java.lang.Object __fn_dyn1, double __fn_float2, java.lang.Object __fn_dyn2, double __fn_float3, java.lang.Object __fn_dyn3, double __fn_float4, java.lang.Object __fn_dyn4, double...
Java
/** The design set for iCalendar (rfc5545/rfc7265) components. * @static */ declare let icalendar: design.designSet /** Can be set to false to make the parser more lenient. * @static * @default true */ declare let strict: boolean /** The design set for vCard (rfc6350/rfc...
Typescript
: std::as_const(project->mLayers)) { debug << "\n name=" << layer->name() << " visible=" << layer->isVisible() << " opacity=" << layer->opacity() << " image=" << *layer->image(); } return debug.space(); } /* Copyright 2023, Mitch Curtis This file is ...
C++
UIOp>(u)) { toReplace.push_back(ext); continue; } if (auto ext = dyn_cast<arith::ExtSIOp>(u)) { toReplace.push_back(ext); continue; } } for (auto e : toReplace) rewriter.replaceOpWithNewOp<arith::IndexCastUIOp>( e, e->getResultTypes()[0], res); ...
C++
::equal(hits.begin(), hits.end(), actual_find_locations.begin())) { ts->printf(cvtest::TS::SUMMARY, "Found locations are not equal (see detect function)\n"); ts->set_failed_test_info(cvtest::TS::FAIL_BAD_ACCURACY); ts->set_gtest_status(); failed = true; return; } ...
C++
ME, 'filter', 1, 8], [TokenType.PUNCTUATION, '(', 1, 14], [TokenType.NAME, 'v', 1, 15], [TokenType.WHITESPACE, ' ', 1, 16], [TokenType.ARROW, '=>', 1, 17], [TokenType.WHITESPACE, ' ', 1, 19], [TokenType.NAME, 'v', 1, 20], [TokenType.WHI...
Typescript
quickly-action-container > .types-container > .values-container > div .type-item { cursor: pointer; padding: 0 4px; border-radius: 6px; color: #d2d1cd; } .theme-dark div[data-type='memos_view'] .search-bar-container > .quickly-action-wrapper > .quickly-action-container > .types-container > .values-container > d...
CSS
.GL_ARRAY_BUFFER, puppet.DrawList.Vertices.Length * VtxDataHelper.Size, new IntPtr(ptr), GlApi.GL_DYNAMIC_DRAW); _gl.BindBuffer(GlApi.GL_ELEMENT_ARRAY_BUFFER, _buffers[1]); fixed (void* ptr = puppet.DrawList.Indices) _gl.BufferData(GlApi.GL_ELEMENT_ARRAY_BUFFER, puppet.DrawList.Indices.Lengt...
C#
10, 64) if err != nil { logrus.Errorf("parse oid failed,%v", err) return data } oid, err := strconv.ParseUint(p.Sdk.Identity.OrgID, 10, 64) if err != nil { logrus.Errorf("parse oid failed,%v", err) return data } appIds := make([]uint64, 0) appIdToName := make(map[uint64]string) allApps, err...
Go
/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const _default = new gcp.organizations.Folder("default", { * displayName: "some-folder-name", * parent: "organizations/123456789", * }); * const basic = new gcp.logging.FolderBucketConfig("basic", { * folder: _default.name, * location: "global...
Typescript
.from_now).limit(50) builds_with_artifacts_that_expire_in_a_week.find_each do |build| puts "Build with id #{build.id} has artifacts that expire at #{build.artifacts_expire_at} and belongs to project #{build.project.full_path}" end ``` ### List projects by total size of job artifacts stored List the top 20 projects,...
Markdown
buff: Buff) {} override fun createLoot(): Item = wand.apply { level(0) random() // never be cursed cursed = false cursedKnown = true } // immovable override fun getCloser(target: Int): Boolean = true override fun getFurther(target: Int): Boolean = true ...
Kotlin
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (c) International Business Machines Corp., 2004 * Copyright (c) Linux Test Project, 2004-2020 */ /* * DESCRIPTION * hugeshmctl02 - check for EACCES, EFAULT and EINVAL errors * * ALGORITHM * create a large shared memory segment without read or write p...
C
content-body video[data-mce-selected]{outline:3px solid #b4d7ff}.mce-content-body hr[data-mce-selected]{outline:3px solid #b4d7ff;outline-offset:1px}.mce-content-body [contentEditable=false] [contentEditable=true]:focus{outline:3px solid #b4d7ff}.mce-content-body [contentEditable=false] [contentEditable=true]:hover{out...
CSS
, char to) { this.characterArbitrary = this.characterArbitrary.range(from, to); return this; } @Override public StringArbitrary ascii() { this.characterArbitrary = characterArbitrary.ascii(); return this; } @Override public StringArbitrary alpha() { this.characterArbitrary = this.characterArbitrary.al...
Java
TabInLine,throwError(i,"tab characters must not be used in indentation")),45===m)&&is_WS_OR_EOL(i.input.charCodeAt(i.position+1));)if(M=!0,i.position++,skipSeparationSpace(i,!0,-1)&&i.lineIndent<=s)j.push(null),m=i.input.charCodeAt(i.position);else if(u=i.line,composeNode(i,s,Wr,!1,!0),j.push(i.result),skipSeparationSp...
JavaScript
s: none; border-left-color: #5a9ec2; -moz-border-left-colors: #5a9ec2; } .rtl.no-skin .sidebar.menu-min .nav-list > li.active > a > .menu-text { border-left-color: transparent; border-right-color: #83b6d1; } .rtl.no-skin .sidebar.menu-min .sidebar-shortcuts-large { -webkit-box-shadow: -2px 1px 2px 0 rgba(0,0,0,0.1...
CSS
Updates() { return this.queueChunkUpdates.isEmpty() && this.queueChunkUploads.isEmpty(); } public void pauseChunkUpdates() { while (this.listPausedBuilders.size() != this.countRenderBuilders) { try { this.runChunkUploads(Long.MAX_VALUE); ...
Java
// Crest Ocean System // This file is subject to the MIT License as seen in the root of this folder structure (LICENSE) using UnityEngine; namespace Crest { /// <summary> /// Samples water surface shape - displacement, height, normal, velocity. /// </summary> public class QueryDisplacements : QueryB...
C#
// Report exit code os.Exit(code) } /* Copyright 2020 The Kubernetes Authors. 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 ...
Go
INC C JR 2$ 1$: LD A, (HL+) LD (DE), A INC DE LD A, (HL+) LD (DE), A INC DE 2$: DEC C JR NZ,1$ DEC B JR NZ,1$ 4$: RET .display_off:: _display_off:: ;; Check if ...
Assembly
x| x.name == "role").count() { 0 => return Err(Error::InvalidProject), 1 => (), _ => return Err(Error::MultipleRoles), } let sprites = surely(room.get(&["role", "project", "stage", "sprites"]))?; for sprite in sprites.children.iter() { parse_sprite(&mut program, sprite)?; ...
Rust
[0], ENABLE_VIRTUAL_TERMINAL_PROCESSING)) if result == 0 then -- SetConsoleMode failed: Command Prompt on older Windows if CLUTTEX_VERBOSITY >= 3 then local err = GetLastError() -- Typical error code: ERROR_INVALID_PARAMETER (0x57) ...
Lua
c,d){var e=this;b.call(this,c,d),this.cache=new a.Utils.Cache(function(a){return e._measureCharacterNotFromCache(a)},a.Utils.Methods.objEq)}return e(c,b),c.prototype._measureCharacterNotFromCache=function(a){return b.prototype._measureCharacter.call(this,a)},c.prototype._measureCharacter=function(a){return this.cache.g...
JavaScript
| 支持 | 支持 | | 参数管理 | 对系统动态配置常用参数 | 支持 | 支持 | | 通知公告 | 系统通知公告信息发布维护 | 支持 | 支持 | | 操作日志 | 系统正常操作日志记录和查询 系统异常信息日志记录和查询 | 支持 | 支持 ...
Markdown
size) \ stack_align_type buffer_##type##_##power_of_two##_##memory_size[power_of_two + memory_size]; \ type *aligned_##type##_##power_of_two##_##memory_size = (type *) align_pointer(buffer_##type##_##power_of_two##_##memory_size, power_of_two); \ ASSERT_TRUE(aligned_##type##_##power_of_two##_##memory_size); \ A...
C++
/\w\S*/g, txt => txt.charAt(0).toUpperCase() + txt.substr(1).toLowerCase() ); } export function getFirstDayOfMonth(date: Date, _months) { return new Date( `1 ${_months.long[date.getMonth()]}, ${date.getFullYear()}` ).getDay(); } export function getNumberOfDaysInMonth(date: Date) { const year = da...
Typescript
型的压缩,在读取压缩后的数据时,一些压缩编解码器可以推测压缩类型 - 可分割: ```python 选择一个输出压缩编解码器可能会对这些数据以后的用户产生巨大影响,对于像 Spark 这样的分布式系统,我们通常会尝试从多个不同机器上一起读入数据 要实现这种情况,每个工作节点都必须能够找到一条新记录的开端 有些压缩格式会使这变得不可能,而必须要单个节点来读入所有数据,这就很容易产生性能瓶颈,可以很容易地从多个节点上并行读取的格式被称为“可分割”的格式 ``` ## 文件系统 ### 本地 / 常规文件系统 - Spark 支持从本地文件系统中读取文件,不过它要求文件在集群中所有节点的相同...
Markdown
diferente.","Certifique-se de que elas ainda continuam acesas nos Reinos do Leste. Elas estão nas cercanias de Dun Modr, no Pantanal; ao lado do Vilarejo Lenhardente, na Floresta de Pinhaprata; nos penhascos acima do farol, em Cerro Oeste; e na torre em ruínas no Contraforte de Eira dos Montes."}, {"Visite as fogueira...
Lua
GoogleFactcheckingFactchecktoolsV1alpha1Publisher(od); }); }, ); unittest.group('obj-schema-GoogleProtobufEmpty', () { unittest.test('to-json--from-json', () async { final o = buildGoogleProtobufEmpty(); final oJson = convert.jsonDecode(convert.jsonEncode(o)); final od = api.GoogleP...
Dart
/C++ fastcall. // Clang reference: lib/CodeGen/TargetInfo.cpp // See X86_32ABIInfo::shouldPrimitiveUseInReg(), X86_32ABIInfo::updateFreeRegs() // IsSoftFloatABI is only set to true on ARM platforms, // which in turn can't be x86? let mut free_regs = 2; for arg in &mut...
Rust
ez l'appel"), content: Container( child: Text( "Êtes vous tombés d'accord avec le conducteur avant la fin de l'appel pour qu'il vienne vous conduire à votre destination ?"), ), actions: [ Center( widthFactor: 2, child: Col...
Dart
/********************************************************************* * * Copyright (C) 2002, University of New South Wales * * File path: arch/powerpc64/asm.h * Created: 23/07/2002 17:48:20 by Simon Winwood (sjw) * Description: Assembler macros etc. * ...
C
/// <param name="id">The unique provider ID of the resource to lookup.</param> /// <param name="options">A bag of options that control this resource's behavior</param> public static WebAppDiagnosticLogsConfigurationSlot Get(string name, Input<string> id, CustomResourceOptions? options = null) { ...
C#
r.byteAt(pos) if (c == Opcode.INVOKEINTERFACE || c == Opcode.INVOKESPECIAL || c == Opcode.INVOKESTATIC || c == Opcode.INVOKEVIRTUAL ) { val index = iterator.u16bitAt(pos + 1) val cname = constPool.eqMember( ...
Kotlin
() {}; /** * A URL for an icon that corresponds to the type of vehicle used on this line. * @type {string} */ google.maps.TransitVehicle.prototype.icon; /** * A URL for an icon that corresponds to the type of vehicle used in this region * instead of the more general icon. * @type {string} */ google.maps.Transi...
JavaScript
} constructor() { this._meeple = this.initMeeple(6) } } export default Player import { Game } from './game.js'; import { Render } from './render.js'; export class Paddle { constructor() { let modulo = Render.ins.modulo this.height = modulo * 2; this.width = m...
Typescript
stamp: time.Now(), } // Validate message type switch messageData.Type { case types.WebSocketMessageTypeText, types.WebSocketMessageTypeBinary, types.WebSocketMessageTypePing, types.WebSocketMessageTypePong: // Valid types default: c.JSON(http.StatusBadRequest, gin.H{ "error": "Invalid message type. M...
Go
angle-parser($image, $first-val, $prefix, $suffix); } @else { $gradients: ( webkit-image: -webkit- + $image, spec-image: $image ); } @return $gradients; } @mixin breakpoint($query:$feature $value $columns, $total-columns: $grid-columns) { @warn "The breakpoint() mixin was renamed to medi...
CSS
4E0 800CE340 C7A00044 */ lwc1 $f0, 0x44($sp) .L800CE344: /* B454E4 800CE344 44802000 */ mtc1 $zero, $f4 /* B454E8 800CE348 8FA40030 */ lw $a0, 0x30($sp) /* B454EC 800CE34C 46040032 */ c.eq.s $f0, $f4 /* B454F0 800CE350 00000000 */ nop /* B454F4 800CE354 4501000B */ bc1t .L800CE384 /* B454F8 800CE358 0000...
Assembly
8C_hornet" }, { Name = "Hawk" }, { Name = "I-16" }, { Name = "L-39C" }, { Name = "M-2000C" }, { Name = "MB-339A" }, { Name = "MB-339APAN" }, { Name = "MiG-19P" }, { Name = "MiG-29 Fulcrum" }, { Name = "Mirage-F1CE" }, { Name = "Mi...
Lua
'اسم فونت', strikethrough: 'Strike', size: 'اندازه ی فونت' }, image: { image: 'تصویر', insert: 'وارد کردن تصویر', resizeFull: 'تغییر به اندازه ی کامل', resizeHalf: 'تغییر به اندازه نصف', resizeQuarter: 'تغییر به اندازه یک چهارم', floatLeft: 'چ...
JavaScript
.mce-open.mce-active{background-color:#dbdbdb;outline:1px solid #ccc}.mce-splitbtn.mce-btn-small .mce-open{padding:0 3px 0 3px}.mce-rtl .mce-splitbtn{direction:rtl;text-align:right}.mce-rtl .mce-splitbtn button{padding-right:4px;padding-left:4px}.mce-rtl .mce-splitbtn .mce-open{border-left:0}.mce-stack-layout-item{dis...
CSS