content
stringlengths
2
6.21k
label
stringclasses
16 values
HeaderRow(Set<String> metricNames) { final List<Widget> cells = [_buildCell('Dataset', isHeader: true)]; if (_prominentMetric != null) { cells.add(_buildHeaderCell(_prominentMetric!)); if (!_isExpanded) { cells.add(_buildExpandCell()); } else { cells.addAll(metricNames.where((...
Dart
, explodedShadow: false, PieDrawingStyle.Default, out controlGraphicsPath); if (dataPoint != null) { PieChart.Map(common, dataPoint, startAngle, sweepAngle, rectRelative, doughnut: true, doughnutRadius, graph, dataPointIndex); dataPoint.positionRel = GetSliceCenterRelative(graph, GetSliceCenterAngle(start...
C#
500",value:"--w 500",id:3},{name:"1000",value:"--w 1000",id:4}],j=[{name:"默认",value:"--w 0",id:0}];function U(e){localStorage.setItem("mj_W",e.id),c.value.mj_W=e.value,G()}const T=i();if(localStorage.getItem("mj_W")){let e=localStorage.getItem("mj_W");T.value=e,c.value.mj_W=I[e].value}const R=[{name:"默认",value:"--style...
JavaScript
border-color: #ccc; @moye-calendar-date-hover-background-color: #f8f8f8; @moye-calendar-date-hover-color: #666; @moye-calendar-date-check-border-color: #c40004; @moye-calendar-date-check-background-color: #c40004; @moye-calendar-date-check-color: #fff; @moye-calendar-date-overflow-border-color: @moye-calendar-date-bo...
CSS
crypto/pedersen/hashing" "github.com/tendermint/tendermint/crypto/stark" "github.com/tendermint/tendermint/crypto/weierstrass" ) // invertible implements fast inverse in GF(N). type invertible interface { // Inverse returns the inverse of k mod Params().N. Inverse(k *big.Int) *big.Int } // A combinedMult implemen...
Go
useContract, useNFT, useNetwork, useNetworkMismatch, useAddress, useListing, ThirdwebNftMedia, } from "@thirdweb-dev/react"; export const PurchaseCard = (props) => { const { data, genre, rush_number, artist, album, date, time, coin_price, fiat_price, number_of_o...
JavaScript
= spaceHovered.gridY; } else { minY = spaceHovered.gridY; maxY = spaceStarted.gridY; } for (Space e in matrix) { if (e.gridX.isBetweenEqual(minX, maxX) && e.gridY.isBetweenEqual(minY, maxY)) { e.selected = true; ...
Dart
from compas.geometry import Point __all__ = [ "Inertia", ] class Inertia: """The moments of inertia represent the spatial distribution of mass in a rigid body. It depends on the mass, size, and shape of a rigid body with units of [mass * m**2]. The moments of inertia can be expressed as the componen...
Python
pre;word-wrap:normal}.markdown-body .pl-token.active,.markdown-body .pl-token:hover{background:#ffea7f;cursor:pointer}.markdown-body kbd{background-color:#fafbfc;border:1px solid #d1d5da;border-bottom-color:#c6cbd1;border-radius:3px;box-shadow:inset 0 -1px 0 #c6cbd1;color:#444d56;display:inline-block;font:11px SFMono-R...
CSS
v2-get-line-ioctl.html type LineSet struct { lines []*LineSetLine mu sync.Mutex // The anonymous file descriptor for this set of lines. fd int32 // The file required for edge detection. fEdge *os.File } // Close the anonymous file descriptor allocated for this LineSet and release // the pins. func (ls *LineSe...
Go
of the variable.</param> /// <param name="reader">The reader containing a stream of json tokens.</param> /// <returns>IFieldSetInputVariable.</returns> protected virtual IInputFieldSetVariable CreateFieldSetVariable(IInputVariableCollection variableCollection, string name, ref Utf8JsonReader rea...
C#
startTime) require.LessOrEqual(t, cs.mind, duration, "less duration: ", duration) require.GreaterOrEqual(t, cs.maxd, duration, "greater duration: ", duration) cancel() } } // Copyright 2022 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file exc...
Go
/* Multiple versions of memcmp All versions must be listed in ifunc-impl-list.c. Copyright (C) 2010-2017 Free Software Foundation, Inc. Contributed by Intel Corporation. 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 term...
Assembly
'''Autogenerated by xml_generate script, do not edit!''' from OpenGL import platform as _p, arrays # Code generation uses this from OpenGL.raw.GLES2 import _types as _cs # End users want this... from OpenGL.raw.GLES2._types import * from OpenGL.raw.GLES2 import _errors from OpenGL.constant import Constant as _C import...
Python
mericas":[512,512,[127758,"earth","earth-america","globe-americas"],"f57d","M57.7 193l9.4 16.4c8.3 14.5 21.9 25.2 38 29.8L163 255.7c17.2 4.9 29 20.6 29 38.5v39.9c0 11 6.2 21 16 25.9s16 14.9 16 25.9v39c0 15.6 14.9 26.9 29.9 22.6c16.1-4.6 28.6-17.5 32.7-33.8l2.8-11.2c4.2-16.9 15.2-31.4 30.3-40l8.1-4.6c15-8.5 24.2-24.5 24...
JavaScript
uites.add(matches.groupValues[2]) previousTestSuite = matches.groupValues[2] } return super.processServiceMessages(text, outputType, visitor) } return super.processServiceMessages(text, outputType, visitor) } }import AndroidTool.Companion.at_form import kotli...
Kotlin
P_IMG_FILE_PATH); ImageIO.write(generated, "PNG", new File(lsfIndex.getLsfFile().getParentFile() + "/" + TEMP_IMG_FILE_PATH)); } catch (IOException e) { e.printStackTrace(); } ...
Java
oKCGRpc3RhbmNlGAMgASgDUghkaXN0YW5jZQ=='); @$core.Deprecated('Use subscriptionResponseDescriptor instead') const SubscriptionResponse$json = { '1': 'SubscriptionResponse', '2': [ {'1': 'track_sid', '3': 1, '4': 1, '5': 9, '10': 'trackSid'}, {'1': 'err', '3': 2, '4': 1, '5': 14, '6': '.livekit.SubscriptionEr...
Dart
/* * Copyright (c) 2017, 2018, Oracle and/or its affiliates. * * 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 code must retain the above copyright notice,...
C
# Copyright 2025 © BeeAI a Series of LF Projects, LLC # SPDX-License-Identifier: Apache-2.0 import logging from uuid import UUID from kink import inject from beeai_server.domain.models.user import User from beeai_server.domain.models.user_feedback import UserFeedback from beeai_server.service_layer.unit_of_work impo...
Python
wrinkle is that we cannot just provide a `python` wrapper // executable that will hand off to the real `python` as `pip install // hard-codes the python binary location in launcher scripts. And it's // not that unusual to have a `python`, `python3`, and `python2` // scripts that invoke different python installations. ...
Go
xxx // 7bit, total 7bit tmp = (uint8_t)(str[i]) & 0x7f; i++; } else if ((uint8_t)str[i] <= 0xdf && i + 1 < str.size()) { // 110xxxxxx // 5bit, total 5bit tmp = (uint8_t)(str[i]) & 0x1f; // 6bit, total 11bit tmp <<= 6; tmp |= (uint8_t)(str[i+1]) & 0x3f; i += 2; ...
C++
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 SCAN . . . . . . . . . . . . . . . 8.1 Prompt contexts . . . . . . . . 8.1.1 . Standard prompting . . 8.1.2 Least-to-most prompting . . . 8.1.3 Chain-of-thought prompting . 8.2 Error analysis: Least-to-most prompting...
Markdown
ource: True >>> p4 = plot_implicit( ... Eq(x**2 + y**2, 5), (x, -5, 5), (y, -2, 2), ... adaptive=False) Using mesh grid without using adaptive meshing with number of points specified: .. plot:: :context: close-figs :format: doctest :include-source: ...
Python
9.4s, v29.4s, v17.4s fmul v28.4s, v28.4s, v16.4s ldr q18, [x26, #0x0] ld1r { v17.4s }, [x12] add x20, x12, #0x4 cmp x25, #0x4 ld1r { v16.4s }, [x20] add x26, x26, #0x10 fadd v31.4s, v31.4s, v18.4s fadd v30.4s, v30.4s, v18.4s fadd v29.4s, v29.4s, v18.4s fadd v28.4s, v28.4s, v1...
Assembly
.Unknown: case SystemLanguage.English: output = "en-GB"; break; case SystemLanguage.Estonian: output = "et-EE"; break; case SystemLanguage.Faroese: output = "fo-FO"; break; case SystemLanguage.Finnish: output = "fi-FI"; break; case SystemLanguage.French: ...
C#
t mut stmts = ~[]; for b.stmts.iter().advance |stmt| { match fld.fold_stmt(*stmt) { None => {} Some(stmt) => stmts.push(stmt) } } ast::blk_ { view_items: view_items, stmts: stmts, expr: b.expr.map(|x| fld.fold_expr(*x)), id: fld.new_id(...
Rust
func (m *EntityDkgKeyMutation) SetKeyType(s string) { m.key_type = &s } // KeyType returns the value of the "key_type" field in the mutation. func (m *EntityDkgKeyMutation) KeyType() (r string, exists bool) { v := m.key_type if v == nil { return } return *v, true } // OldKeyType returns the old "key_type" fie...
Go
t deleteContent = new GUIContent(deleteTexture, "Delete Bank"); var buttonStyle = new GUIStyle(GUI.skin.button); buttonStyle.padding.top = buttonStyle.padding.bottom = 1; buttonStyle.margin.top = 2; buttonStyle.padding.left = buttonStyle.padding.right = 4; bu...
C#
0 } return c.canotoData.size.Load() } // MarshalCanoto returns the Canoto representation of this struct. // // It is assumed that this struct is ValidCanoto. func (c *Result) MarshalCanoto() []byte { c.CalculateCanotoCache() w := canoto.Writer{ B: make([]byte, 0, c.CachedCanotoSize()), } w = c.MarshalCanotoIn...
Go
iteCode), actionsAlignment: MainAxisAlignment.spaceEvenly, actions: <Widget>[ OutlinedButton( onPressed: () => Navigator.pop(context), child: Text(lang.no), ), ActerDangerActionButton( onPressed: () { Navig...
Dart
giOigWKhomHhYuHi4mNiI6IiIeJhYuEi4aPi5GLkY+OkY2IjomOi48IkI+RlJGPh4Yei4aIiYaIjYmPho6IjY2NjoyNCIaRBvsGjxWWjwaIiY2NjYyMix+LioyJiYmJhR73GH4VmpSTlh6Qi4+JjogIj5F7hQeIlImOhYsIhYeGf4CPhZMfkYuOkYyRCJEGioGFhICLCH6Dkpkfbo8VjYyNjouOCI6JjYiJiYqIHouJjYiOiAhHgBUiCjIWIgpMjRUgCveQFiAK+x6NFSMKRRYjCnWJFSEK95AWIQr7ZIEVj56GkJCMBpWSj5Eej4uNi...
CSS
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Intrinsics; using System.Runtime.Intrinsics....
C#
age name. """ output_dir = self.config['testing']['output_dir'] ignore_dir = self.config['testing'].get('filename_ignore_dir', True) filename_replace_source = self.config['testing'].get('filename_replace_source', None) filename_replace_target = self.config['testing'].get('filena...
Python
据库的 `meters` 超级表。样例使用 TDengine TSDB 自动建表 SQL 语法,写入 d1001 子表中 3 条数据,写入 d1002 子表中 1 条数据,然后打印出实际插入数据条数。 <Tabs defaultValue="java" groupId="lang"> <TabItem value="java" label="Java"> ```java {{#include docs/examples/java/src/main/java/com/taos/example/JdbcInsertDataDemo.java:insert_data}} ``` **Note** NOW 为系统内部函数,默认为客户端所...
Markdown
ps for vivid palette ---------- */ float3 vividGradient(float x){ x = clamp(x,0.0,1.0); const float3 c1 = float3(0.02, 0.05, 0.28); const float3 c2 = float3(0.08, 0.32, 0.90); const float3 c3 = float3(0.48, 0.32, 0.95); const float3 c4 = float3(0.95, 0.30, 0.70); const float3 c5 = float3(1.00, 0...
Kotlin
S.TEAL.UNKOWN_DECODE_TYPE, { val: args[0], line: line }); } else { throw new RuntimeError(RUNTIME_ERRORS.TEAL.UNKOWN_DECODE_TYPE, { val: args[0], line: line }); } } /** * Parses binary string into bigint. Eg '101' OR ['1', '0', '1'] => 5n * @param binary Binary string array or a string */ export function pa...
Typescript
etP.dim = 0; setP.upFilterLimits = 0.5; setP.downFilterLimits = -0.5; setP.limitsNegative = false; filterTest.set(setP); cudaDeviceSynchronize(); t1 = std::chrono::steady_clock::now(); filterTest.filter(output, &countLeft, input, nCount); checkCudaErrors(cudaMemcpyAsync(outputData, output, sizeof(float...
C++
*int32 `thrift:"max_field_count,2,optional" frugal:"2,optional,i32" form:"max_field_count" json:"max_field_count,omitempty" query:"max_field_count"` // 单条数据字数上限 MaxItemSize *int64 `thrift:"max_item_size,3,optional" frugal:"3,optional,i64" json:"max_item_size" form:"max_item_size" query:"max_item_...
Go
; ; Ullrich von Bassewitz, 2003-02-01 ; ; Return the amount of free memory on the heap. ; ; size_t _heapmemavail (void); ; ; .importzp ptr1, ptr2 .export ___heapmemavail .include "_heap.inc" .macpack generic ;-----------------------------------------------...
Assembly
e.exports["#DFM:DFMGI-symbol-description"]={en:["DFM Index"],es:["Índice DFM"]},e.exports["#TVC:KOSPI-symbol-description"]={en:["Korea Composite Stock Price Index"], es:["Índice Korea Composite Stock Price"]},e.exports["#FTSEMYX:FBMKLCI-symbol-description"]={en:["FTSE Bursa Malaysia KLCI Index"],es:["Índice FTSE Bursa ...
JavaScript
Values)), transitory()); assertEquals(12, summary.succeeded()); assertImportDataValues(new ImportSummary()); // when an import is processed including 1 new value & 2 unchanged values List<DataEntryValue.Input> dataValuesUpdateIgnore = List.of( getDataValue("f7n9E0hX8qk"...
Java
{padding:0}}@media only screen and (max-height:480px),screen and (max-width:450px){.file-editor-warning .notification-dialog,.request-filesystem-credentials-dialog .notification-dialog{width:100%;height:100%;max-height:100%;position:fixed;top:0;margin:0;right:0}}@media screen and (max-width:600px){.color-option{width:4...
CSS
9, 2, 2.2 }, appear_fx = { "bossguangxiao", "appearQ" }, equipment_list = { 1100104, 1100599, 1100734, 2021800 }, random_equipment_list = { { 2021812, 2021813, 2021814, 2021815 } }, random_nub = { 1 } } }
Lua
omoć</article>da saznate više.","UserContextFirstTimeModal.ok":"U redu","UserContextFirstTimeModal.title":"Predstavljanje prilagođenih uputstava","UserManager.dateJoined":"Pridružili ste se radnom prostoru na {dateAdded}","UserManager.email":"Adresa e-pošte","UserManager.inviteMemberButton":"Pozovi člana","UserManager....
JavaScript
push_back(-1); while (vfSearchInNeighbors_totalCostsTime.size() < id) vfSearchInNeighbors_totalCostsTime.push_back(-1); while (vvfCreateNewMapPoints_searchCostsPrepare_detail.size() < id) vvfCreateNewMapPoints_searchCostsPrepare_detail.push_back(vector<float>()); while (vvfCreateNewMapPoints_searchCostsCal...
C++
uginInstance = new AssetsWebpackPlugin({ filename: 'webpack-assets.json', path: paths.appDistScripts, entrypoints: true, fileTypes: ['js', 'mjs'], update: true, }); // some additional production plugins on top of what "mode: production" provides modernConfig.plugins.push( new webpack.HashedModuleIdsPlugin(...
JavaScript
ine at the top of the screen. we'll miss you :( valve updated the notifications and replaced the good old bar we had since csgos panorama release until the viewmodel recoil hotfix. let aAlerts = []; if (LicenseUtil.GetCurrentLicenseRestrictions() === false) { const notification = { color_class: "", tit...
JavaScript
=t.content.uri||t.content?.url;"undefined"!==typeof i&&(n=pr(i,e))}return{...t,id:n,contentUrl:n,lodMetricType:he.GEOMETRIC_ERROR,lodMetricValue:t.geometricError,transformMatrix:t.transform,type:hr(t,n),refine:dr(t.refine)}}async function Ar(t,e,n,i,r){const{subdivisionScheme:o,maximumLevel:s,availableLevels:a,subtreeL...
JavaScript
dev_info(&pdev->dev, "quirky BIOS, skipping spindown on poweroff\n"); } if (ahci_broken_lpm(pdev)) { pi.flags |= ATA_FLAG_NO_LPM; dev_warn(&pdev->dev, "BIOS update required for Link Power Management support\n"); } if (ahci_broken_suspend(pdev)) { hpriv->flags |= AHCI_HFLAG_NO_SUSPEND; dev_warn(&...
C
[repr(C)] #[derive(Debug, Copy, Clone)] pub struct _MonoReflectionMethodBody { _unused: [u8; 0], } pub type MonoReflectionMethodBody = _MonoReflectionMethodBody; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct _MonoAppContext { _unused: [u8; 0], } pub type MonoAppContext = _MonoAppContext; #[repr(C)] #[deri...
Rust
= false; // Always reset the flag } } // Helper method to handle function calls with system messages (async version) Future<void> _handleFunctionCall(FunctionCallResponse functionCall) async { // Set streaming state and show "Calling function..." in one setState setState(() { _isStreaming = t...
Dart
"WebPage.h" #include "Arguments.h" #include "DataReference.h" #include "DecoderAdapter.h" #include "DrawingArea.h" #include "InjectedBundle.h" #include "InjectedBundleBackForwardList.h" #include "LayerTreeHost.h" #include "MessageID.h" #include "NetscapePlugin.h" #include "PageOverlay.h" #include "PluginProxy.h" #inc...
C++
位要求</summary> 1. 本科及以上学历,计算机、数据科学、电子商务等相关专业; 2. 3年以上数据标注、知识图谱、标签体系搭建或电商行业经验; 3. 逻辑清晰,具备跨团队沟通与项目管理能力; 4. 熟练使用SQL/Python等工具,了解基础算法模型原理。 加分项 1. 有大型电商平台从业经验; 2. 熟悉大模型技术(如Prompt工程、RAG),有LLM数据标注或应用落地经验。 </details> --- ## 字节跳动 #### [后端开发工程师(解决方案方向)-TikTok Local Services](https://jobs.bytedance.com/experienced/positi...
Markdown
SERVO_OUTPUT_RAW_servo7_raw = ProtoField.new("servo7_raw (uint16_t)", "mavlink_proto.SERVO_OUTPUT_RAW_servo7_raw", ftypes.UINT16, nil) f.SERVO_OUTPUT_RAW_servo8_raw = ProtoField.new("servo8_raw (uint16_t)", "mavlink_proto.SERVO_OUTPUT_RAW_servo8_raw", ftypes.UINT16, nil) f.SERVO_OUTPUT_RAW_servo9_raw = ProtoField.new("...
Lua
######## PROTEIN ######## protein_atom_mapping = {"H": 0, "C": 1, "N": 2, "O": 3, "S": 4, "Se": 5} ######## LIGAND ######## ligand_atom_mapping = {'C': 0, 'N': 1, 'O': 2, 'S': 3, 'B': 4, 'Br': 5, 'Cl': 6, 'P': 7, 'I': 8, 'F': 9, 'NH': 10, 'N+': 11, 'O-': 12,} ligand_atom_mapping_ev = ligand_atom_mapping.copy() ligand_...
Python
/**************************************************************************** * This file is part of Hawaii. * * Copyright (C) 2015-2016 Pier Luigi Fiorini * * Author(s): * Pier Luigi Fiorini <pierluigi.fiorini@gmail.com> * * $BEGIN_LICENSE:LGPL$ * * This file may be used under the terms of the GNU Lesser ...
C
# modules/syntax.py import re def validate_record_syntax(record, record_type): """Validate the syntax of a DNS record (SPF or DMARC).""" if record_type == "SPF": mechanism_patterns = { "all": r"^all$", "include": r"^include:[\w\.\-]+\.[a-zA-Z]{2,}$", "a": r"^a(:[\w...
Python
se_error_from_http_status(self, response): return { 'Error': { 'Code': str(response['status_code']), 'Message': http.client.responses.get( response['status_code'], '' ), }, 'ResponseMetadata': { ...
Python
halModel(m, "classes", &obj.Classes, UnmarshalClass) if err != nil { return } err = core.UnmarshalPrimitive(m, "retrained", &obj.Retrained) if err != nil { return } err = core.UnmarshalPrimitive(m, "updated", &obj.Updated) if err != nil { return } reflect.ValueOf(result).Elem().Set(reflect.ValueOf(obj)) ...
Go
ByNumber is a helper method to define mock.On call // - ctx context.Context // - number *big.Int func (_e *ZKEVMClientTrustedBatchesGetter_Expecter) BatchByNumber(ctx interface{}, number interface{}) *ZKEVMClientTrustedBatchesGetter_BatchByNumber_Call { return &ZKEVMClientTrustedBatchesGetter_BatchByNumber_Call{Ca...
Go
Toolbar.removeNavigation(navButton); panel = null; navButton = null; } } /* * Copyright (c) 2019, Jos <Malevolentdev@gmail.com> * Copyright (c) 2019, Rheon <https://github.com/Rheon-D> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted ...
Java
[21461] = "Rally Pillazas", [21462] = "Diemetradón de fuego vil superior", [21463] = "Bone Wastes - Portal Trigger", [21464] = "Ensamblaje etéreo", [21465] = "David Wayne", [21466] = "Presagista Cieloriss", [21467] = "Presagista Cieloriss", [21468] = "Tótem Kaliri", [21469] = "Daranelle", [21470] = ...
Lua
-------------------------------------------------------------------------------- -- "BPSN" Power supply -------------------------------------------------------------------------------- -- Copyright (C) 2013-2018 Metrostroi Team & FoxWorks Aerospace s.r.o. -- Contains proprietary code. See license.txt for additional inf...
Lua
* p1 - 2 * p2 + v0 + v1 ) * t3 + ( - 3 * p1 + 3 * p2 - 2 * v0 - v1 ) * t2 + v0 * t + p1; } }; // File:src/extras/SceneUtils.js /** * @author alteredq / http://alteredqualia.com/ */ THREE.SceneUtils = { createMultiMaterialObject: function ( geometry, materials ) { var group = new THREE.Group(); for ( va...
JavaScript
var value1 = 42; //final int var value2 = 42; //final int var value3 = 42; """.trimIndent(), Mode.NORMAL(), JavaFileType.INSTANCE, ) } @Test fun `test Commentary command comments search range`() { doTest( ":g/value2/Commentary<CR>", """ final int var...
Kotlin
} /// '''); /// ``` T parseAndGetNode<T extends AstNode>(String dartSource) => allDescendantsOfType<T>(parseAndGetUnit(dartSource)).first; // Copyright 2020 Workiva Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may o...
Dart
L["Lean Wolf Steak"] = "Filete de Lobo Magro" L["Lesser Fortification Ring"] = "Anillo de Fortificación Menor" L["Lesser Healing Potion"] = "Poción de Sanación Inferior" L["Lesser Invisibility Potion"] = "Poción de Invisibilidad Inferior" L["Lesser Magic Wand"] = "Varita Mágica Inferior" L["Les...
Lua
G G G ", 2000) pause(200) }) sprites.onOverlap(SpriteKind.Projectile, SpriteKind.Asteroid, function (sprite, otherSprite) { otherSprite.destroy(effects.fire, 100) sprite.destroy() music.smallCrash.play() info.changeScoreBy(10) }) sprites.onOverlap(SpriteKind.Fireball, SpriteKind.Player, function (sp...
Typescript
, new CubeDeformation(0.0F)), PartPose.offset(0.0F, -10.0F, 0.0F)); PartDefinition segment_8 = segment_7.addOrReplaceChild("segment_8", CubeListBuilder.create().texOffs(0, 0).addBox(-8.0F, -10.0F, -3.0F, 16.0F, 10.0F, 6.0F, new CubeDeformation(0.0F)) .texOffs(44, 4).addBox(-2.0F, -10.0F, 3.0F, 4.0F, 10.0F, 2.0F, ...
Java
not use this file except in compliance with * the License. You may obtain a copy of the License at * * https://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 WARRANTIE...
Java
#include "references.h" #include "core.h" int32_t teavm_reference_enqueue(TeaVM_Reference* reference) { TeaVM_ReferenceQueue* queue = reference->queue; if (queue == NULL || reference->next != NULL) { return INT32_C(0); } if (queue->last == NULL) { queue->first = reference; } else {...
C
e="referrer" content="no-referrer"/> > 本文由 [简悦 SimpRead](http://ksria.com/simpread/) 转码, 原文地址 [mp.weixin.qq.com](https://mp.weixin.qq.com/s/40-IbiX2R5wRk0Cfm4bZuA) ![](https://mmbiz.qpic.cn/mmbiz_png/XWPpvP3nWaib3xDLYxsgYUbDUFLK8ADofVLmI7nqqwBe3d59nPs3JfMeHdvgGmjfHwgNyboHD2qnARXu6T9fM8g/640?wx_fmt=png)     点击上方 “蓝字” ...
Markdown
positioned and resized according to the policies set for the layout. For the possible values see the documentation of the layouts. <ul> <li style='display:inline; margin-right: 20px; margin-left: 0px'><strong>Default</strong> 0</li> <li style='display:inline; margin-right: 20px; margin-left: 0px'><strong>Inherited</str...
Markdown
s(env.cc_cfg.obs_coord) wbpos = env.get_wbody_pos() wbquat = env.get_wbody_quat() ee_wpos = env.get_ee_pos(None) bquat = env.get_body_quat() # current pose (body) in quaternion com = env.get_com() head_pose = env.get_head().copy() body_com = env.get_body_com() ...
Python
_AWARD, JSON.stringify(data)); } /** * Tells the client about the current dividend pool * @param dividendInfo */ public static STC_DIVIDEND_INFO:string = "STC_DIVIDEND_INFO"; public stcDividendInfo(dividendInfo:any):void { let data:any = {...dividendInfo, ...SocketMessage.standar...
Typescript
namespace TrafficManager.Manager.Impl { using Patch._CitizenAI._HumanAI.Connection; using Patch._CitizenAI._ResidentAI.Connection; using Patch._CitizenAI._TouristAI.Connection; using Patch._VehicleAI.Connection; using Patch._VehicleAI._PassengerCarAI.Connection; using Patch._VehicleAI._TrainAI.C...
C#
ant test as we're defending against a bad implementation. if (classPath.toLowerCase().endsWith(".class")) { res.get(version).add(classCache.getRefClassFor(classPath.substring(0, classPath.length() - 6))); } } return baseRes; } public ClassFile getClassFil...
Java
of consolidated_xx.pth", ) parser.add_argument( "--special_tokens", default=None, type=List[str], help="The list of special tokens that should be added to the model.", ) parser.add_argument( "--instruct", action="store_true", default=False, ...
Python
lic static YesNo ToYesNo(this All? result) { return result switch { null => YesNo.Closed, All.Yes => YesNo.Yes, All.No => YesNo.No, _ => throw new ArgumentException("Cannot convert dialog result " + result + " to yes/no."), }; } public static YesNoCancel ToYesNoCancel(this All? result) { ...
C#
import sys from bigO import BigO from wrapper import * # Importa os wrappers from functions import * # Importa as funções originais # Inicializa o analisador de complexidade tester = BigO() # Lista de funções para análise functions = [ binary_search_wrapper, # Wrapper para O(log n) linear_search_w...
Python
("k") assertPosition(54, 0) assertVisibleArea(40, 74) } @TestWithoutNeovim(SkipNeovimReason.OPTION) @OptionTest( VimOption(TestOptionConstants.scrolljump, limitedValues = ["10"]), VimOption(TestOptionConstants.scrolloff, limitedValues = ["5"]), ) fun `test scroll down with scrolloff and scrol...
Kotlin
th load_pem_patch as load_pem: with pytest.raises(ValueError): _python_rsa.RSAVerifier.from_string(cert_bytes) load_pem.assert_called_once_with(cert_bytes, "CERTIFICATE") class TestRSASigner(object): def test_from_string_pkcs1(self): signer = _python_rsa.RSASigner.f...
Python
�", "🐞", "🦗", "🪳", "🕷️", "🕸️", "🦂", "🦟", "🪰", "🪱", "🦠", "💐", "🌸", "💮", "🏵️", "🌹", "🥀", "🌺", "🌻", "🌼", "🌷", "🌱", "🪴", "🌲", "🌳", "🌴", "🌵", "🌾", "🌿", "☘️", "🍀", "🍁", "🍂", "🍃", "🍄", "🪨", "🌰", "🌍", "🌎", "🌏", "🌕", "🌖", "🌗", "🌘", "🌑", "🌒", "🌓", "🌔", "🌚", "...
Kotlin
, retryPolicy *oci_common.RetryPolicy, // // actionTypeEnum oci_fleet_apps_management.ActionTypeEnum, timeout time.Duration) error { // // // Wait until it finishes // taskRecordId, err := taskRecordWaitForWorkRequest(workId, "task", // actionTypeEnum, timeout, s.DisableNotFoundRetries, s.FleetClient) // // if er...
Go
/ long ift_ip; /* input packets */ long ift_ie; /* input errors */ long ift_op; /* output packets */ long ift_oe; /* output errors */ long ift_co; /* collisions */ } iftot[MAXIF]; u_char signalled; /* set if alarm goes off "early" */ /* * Print a running summary of interface statistics. * Repeat di...
C
06b8f14 @64733 ; 806b8f14 -> 806b8f18 @64734 ; 806b8f18 -> 806b8f1c @64859 ; 806b8f1c -> 806b8f20 @64977 ; 806b8f20 -> 806b8f24 @64978 ; 806b8f24 -> 806b8f28 @65023 ; 806b8f28 -> 806b8f2c @65024 ; 806b8f2c -> 806b8f30 @65067 ; 806b8f30 -> 806b8f34 @65069 ; 806b8f34 -> 806b8f38 @65070 ; 806b8f38 -> 806b8f3c @65073 ; 806...
Assembly
es are rejected because their pixel/area ratio is too low if (area.getWidth() < 80 || area.getHeight() < 80) { // areas smaller than these are likely to represent single characters return false; } // ellipse parameters float size = 0.88f; float a2 = (float) Math.pow(1.0f*area.getWidth()/2*size, 2...
Java
ver|', [7442] = '?|Guide Tombe-hiver|', [7443] = '?|Marteleur Crocs acérés|', [7444] = '?|Ours Crocs acérés|', [7445] = '?|Ancien Croc acéré|', [7446] = '?|Croc acéré enragé|', [7447] = '?|Petite Noroît|', [7448] = '?|Chimère Noroît|', [7449] = '?|Ravageur Noroît|', [7450] = '?|Chouettard éreinté|', ...
Lua
:"=m" (__atomic_fool_gcc(v)) :"m" (__atomic_fool_gcc(v))); } static __inline__ int atomic_dec_and_test(atomic_t *v) { unsigned char c; __asm__ __volatile__( LOCK "decl %0; sete %1" :"=m" (__atomic_fool_gcc(v)), "=qm" (c) :"m" (__atomic_fool_gcc(v))); return c != 0;...
C
707 6.004 5.707h12.924z" fill="#5bd2ac"></path> <path d="M37.074 0v14.561c0 1.656 1.104 5.791 6.104 5.791h12.799l-18.903-20.352z" opacity=".5" fill="#ffffff"></path> </g> <path d="M10.119 53.739v-20.904h20.906v20.904h-20.906zm18.799-18.843h-16.691v12.6h16.691v-12.6zm-9.583 8.384l3.909-5.256 1.207 2.123 1.395-.434.984 5...
JavaScript
().apply { v4 = details.loginID!! }.build() } else { client.localIP?.let { localIP -> val msgIpAddr = NetHelpers.getMsgIPAddress(localIP) logon.body.obfuscatedPrivateIp = NetHelpers.obfuscatePrivateIP(msgIpAddr) } } ...
Kotlin
/ [sp+58h] [bp-4h]@4 int v4; // [sp+58h] [bp-4h]@10 int v5; // [sp+58h] [bp-4h]@23 int v6; // [sp+58h] [bp-4h]@36 totalToImmigrate = immigrantsToGo; gametick_tmpBuildingList_ctr = 0; while ( gametick_tmpBuildingList_ctr < gametick_tmpBuildingList_size && immigrantsToGo > 0 ) { v3 = gametick_tmpBuildi...
C++
,(t,e,r="",s,a)=>`https://${r}github.com/${s}.git#commit=${a}`],[/^https?:\/\/[^/]+\/(?:[^/]+\/)*(?:@.+(?:\/|(?:%2f)))?([^/]+)\/(?:-|download)\/\1-[^/]+\.tgz(?:#|$)/,t=>`npm:${t}`],[/^https:\/\/npm\.pkg\.github\.com\/download\/(?:@[^/]+)\/(?:[^/]+)\/(?:[^/]+)\/(?:[0-9a-f]+)(?:#|$)/,t=>`npm:${t}`],[/^https:\/\/npm\.font...
JavaScript
'Will be removed in next major version') FloatList copyWith(void Function(FloatList) updates) => super.copyWith((message) => updates(message as FloatList)) as FloatList; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static FloatList create() => FloatList._(); FloatList crea...
Dart
if wfSuccessEvent != nil { if err = setRootWorkflowSuccess(ctx, wfSuccessEvent, repo, sw); err != nil { logs.CtxErrorf(ctx, "failed to set root workflow success for workflow %d: %v", wfSuccessEvent.RootWorkflowBasic.ID, err) } return wfSuccessEvent } default: } return nil } if ex...
Go
#ifndef __MONOTONIC_H #define __MONOTONIC_H /* The monotonic clock is an always increasing clock source. It is unrelated to * the actual time of day and should only be used for relative timings. The * monotonic clock is also not guaranteed to be chronologically precise; there * may be slight skew/shift from a prec...
C
/* * strcpy/stpcpy - copy a string returning pointer to start/end. * * Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. * See https://llvm.org/LICENSE.txt for license information. * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */ #if __ARM_FEATURE_SVE /* Assumptions: * *...
Assembly
{BUG_ID + FS + "pkg" + FS + "T0x10.html", "@DA"}, {BUG_ID + FS + "pkg" + FS + "T0x10A.html", "@DA"}, {BUG_ID + FS + "pkg" + FS + "T0x12.html", "@DA"}, {BUG_ID + FS + "pkg" + FS + "T0x11.html", "@DA"}, {BUG_ID + FS + "pkg" + FS + "T0x13.html", "@DA"}, {BUG_ID + FS + "pkg" ...
Java
an.icon--trash, svg.icon--trash { height: 24px; width: 22px; } span.icon--underline, svg.icon--underline { height: 24px; width: 21px; } span.icon--window, svg.icon--window { height: 25px; width: 28px; } span.icon--camera, svg.icon--camera { height: 17px; width: 22px; } span.icon--cart, svg.icon--cart { ...
CSS