content
stringlengths
2
6.21k
label
stringclasses
16 values
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF ...
Java
"""add cascading deletion to datasets from experiments Revision ID: 0584bdc529eb Revises: f5a4f2784254 Create Date: 2024-11-11 15:27:53.189685 """ import sqlalchemy as sa from alembic import op from mlflow.exceptions import MlflowException from mlflow.store.tracking.dbmodels.models import SqlDataset, SqlExperiment ...
Python
tools__ffmpeg__opt_8c.html#a18d8c3bcec71d962707be76f1bb8f05e">fftools_ffmpeg_opt.c</a></li> <li>stdin_interaction&#160;:&#160;<a class="el" href="d7/db3/fftools__ffmpeg_8h.html#a48480a652b5966f72dc167d6bb44b061">fftools_ffmpeg.h</a>, <a class="el" href="da/d66/fftools__ffmpeg__opt_8c.html#a48480a652b5966f72dc167d6bb44b...
HTML
QVariant EventModel::data(const QModelIndex & index, int role) const { if (!index.isValid()) return QVariant(); if (role == TAG_ROLE) return m->columnValues.tagName.at(index.row()); if (role == VALUE_ROLE) return m->columnValues.value.at(index.row()); if (role == TIME_ROLE) return m->columnValues.time.at...
C++
System.out.println(solveEquation("2x=x")); System.out.println(solveEquation("2x+3x-6x=x+2")); System.out.println(solveEquation("x=x+2")); System.out.println(solveEquation("0x=0")); } } import java.util.*; /** * * Given an array nums of n integers and an integer target, are there elem...
Java
ret == LDB_SUCCESS) { ret = ldb_wait(req->handle, LDB_WAIT_ALL); } if (ret != LDB_SUCCESS) { return ret; } talloc_free(base); talloc_free(req); return ldb_next_init(module); } static const struct ldb_module_ops ldb_paged_searches_module_ops = { .name = "paged_searches", .search = ps_sea...
C
font-style: italic; display: table-cell; } .eb-container [class^="thr"] { text-align: right; padding-right: 1.5em; } .eb-container [class^="tc"] { display: table-cell; } .eb-container [class^="tcr"] { text-align: right; padding-right: 1.5em; } .eb-container [class^="mt"] { text-align: center; font...
CSS
夸作假强迫命令作风,处理了一批违法乱纪坏分子,初步改善了党群关系,紧接着贯彻了郑州会议和主席批转麻成经验, 再一次掀起鸣放高潮,彻底检查和纠正了“一平二调三收款”的错误,通过算帐兑现解决了大集体与小集体,小集体与社员的矛盾,广大干部群众进一步相信了基本队所有制和按劳取酬、的政策,在体制下放的基础,贯彻主席指示六条,通过制订生产计划,明确生产方针与任务,包产包购落实,(下缺) </p> <p> (前缺)与社员矛盾,调动群众积极性。 </p> <p> (3)认真贯彻了省委指示的“以思想为纲,以生产为中心以生活为条件”的工作方针。政治挂帅思想先行,调动生产积极性,组织生产高潮,同时注意安排社员生活,保证生产顺利...
HTML
ttps://adventofcode.com/2020/day/20 /// Copyright 2021 by <NAME> /// Note: It isn't mentioned in the problem statement, but every edge /// in the provided tile-set has a unique complementary pairing. /// This makes the problem *MUCH* easier to solve. use std::collections::HashMap; #[path = "common.rs"] mod...
Rust
/* ********************************************************************************************************* * uC/GUI * Universal graphic software for embedded applications * * (c) Copyright 2002, Micrium Inc., Weston, FL * ...
C
%E7%AC%A6%E3%80%8C%E4%B8%89%E8%BD%AE%E7%9A%84%E7%9A%BF%E9%A3%8E%E6%9A%B4%E3%80%8D%EF%BC%88%E5%87%AD%E4%BE%9D%E5%8D%8E%EF%BC%89.png" decoding="async" loading="lazy" width="300" height="169" srcset="https://upload.thwiki.cc/thumb/c/c3/%E9%A3%8E%E7%AC%A6%E3%80%8C%E4%B8%89%E8%BD%AE%E7%9A%84%E7%9A%BF%E9%A3%8E%E6%9A%B4%E3%80...
Markdown
local tooltip_id = button.tooltip_id if not tooltip_id then return end dispatcher.dispatch(h_tooltip_update_position, { bounding_box = (options and options.get_bounding_box or button.tooltip_get_bounding_box)(button), placement = options and options.placement, padding = options and options.padding, ...
Lua
.viewBox;if(a.bind(),o[0]<=n[0]&&n[0]<=o[2]&&o[1]<=n[1]&&n[1]<=o[3]){var l=s[0]+(n[0]-o[0])/(o[2]-o[0])*(s[2]-s[0]),c=s[1]+(n[1]-o[1])/(o[3]-o[1])*(s[3]-s[1]);t[0]&&a.drawLine(l,c,s[0],c,e[0],r[0]),t[1]&&a.drawLine(l,c,l,s[1],e[1],r[1]),t[2]&&a.drawLine(l,c,s[2],c,e[2],r[2]),t[3]&&a.drawLine(l,c,l,s[3],e[3],r[3])}},i.d...
HTML
visibility: visible; opacity: 1; top: 100% } .mobile_menu { position: absolute; right: 0px; width: 100%; z-index: 99 } .slider-height { height: 580px; background-repeat: no-repeat; background-position: center center; background-size: cover } @media only screen and (min-width: ...
CSS
.packageName == 'datadog_flutter_plugin') { if (!await _updateReadmeVersions(args, logger)) { return false; } if (!await _updateNativeSDKVersions(args, logger)) { return false; } } return true; } } class BumpVersionCommand extends Command { final VersionBumpType bu...
Dart
meout) } src.send_sync_packet(sync_uni, None).unwrap(); let received_result1: Vec<DMXData> = rx.recv().unwrap().unwrap(); let received_result2: Vec<DMXData> = rx.recv().unwrap().unwrap(); rcv_thread1.join().unwrap(); rcv_thread2.join().unwrap(); assert_eq!(received_result1.len(), 1); // ...
Rust
host"' sqlite_cursor.execute(sql) result = sqlite_cursor.fetchall() if len(result) != 0: # 若查询到有此表,才删除相应数据 sql = f"delete from tb_host where oid='{obj.oid}'" sqlite_cursor.execute(sql) # ★查询是否有名为'tb_host_include_credential_oid_list'的表★ 已废弃 # sql = 'SELECT...
Python
; m_rolling_size_mb = 0; // it is safe to set it as 0, if we set SIZE rolling, // it will be updated later } if (rolling_enabled == Log::ROLL_ON_SIZE_ONLY || rolling_enabled == Log::ROLL_ON_TIME_OR_SIZE || rolling_enabled == Log::ROLL_ON_TIME_AND_SIZE) { if ...
C++
()).hexString); output.write("},"); output.write('\n'); } output.write(tab + this.initializerEndMarker + "\n"); } } } output.flush(); } catch (IOException e) { throw new RuntimeException(e); } } @Override void reinitializeFromComputedValues(BufferedReader input, BufferedWriter outp...
Java
mod cache; mod cluster_admin; mod database; mod main_window; type CosmicVergeClient = basws_client::Client<api::Client>; use std::path::PathBuf; use clap::Clap; use tracing_subscriber::prelude::*; #[macro_use] extern crate tracing; #[cfg(debug_assertions)] const SERVER_URL: &str = "ws://localhost:7879/v1/ws"; #[cf...
Rust
rder-radius: 1em; -webkit-animation: 1s gear-rotate linear infinite; -moz-animation: 1s gear-rotate linear infinite; animation: 1s gear-rotate linear infinite; } .gear-rotate-left { margin-top: -2.2em; top: 50%; width: 2em; height: 2em; background: #f3ece5; position: absolute; -webkit-animation: 1s ...
CSS
src/utils/url'; test('Parsing an invalid URL returns null', () => { expect(parseLambdaUrl('http://example.com')).toBe(null); }); test('Parsing an invalid ARN URL returns null', () => { // The ARN as a typo in the 'function' segment expect(parseLambdaUrl('lambda://arn:aws:lambda:us-west-2:123456789012:func:user-...
Typescript
| | `deviceFlag` | integer | 否 | 设备标识 (1:APP, 2:WEB...) | | `clientTimestamp`| integer | 否 | 客户端13位毫秒时间戳 | **最小示例** ```json { "method": "connect", "params": { "uid": "testUser", "token": "testToken" }, "id": "req-conn-1" } ``` #### Connect Response 服务器对 `connect` 请求的响应。 **成功结...
Markdown
[Introduction] [Override] internal class TargetClass { [EventOnly] public event EventHandler? Event { [MethodOnly] [param: ParamOnly] [return: ReturnValueOnly] add { global::System.Console.WriteLine("This is the overridden add."); Console.WriteLine("This is the original add."); ...
C#
put: "red" console.log(secondColor); // Output: "green" ``` **Destructuring Objects:** **Syntax:** ```javascript const { property1, property2, ...rest } = object; ``` - `property1`, `property2`: These are variables where object properties are assigned. - `...rest` (rest operator): This gathers the remaining propert...
Markdown
("Opacity", this.field30881, 0.0F, 1.0F, "This setting sets the translucency of the shadow.")); var3.add( Class9439.method36286( "X distance", this.field30882, Float.MIN_VALUE, Float.MAX_VALUE, "This setting is the amount of pixels to offset the...
Java
g Trader Qualifier: Human (24)" end if value == 0xFF then return "Executing Trader Qualifier: No Value" end return "Executing Trader Qualifier: Unknown("..value..")" end -- Dissect: Executing Trader Qualifier eurex_cash_eti_t7_v11_0.executing_trader_qualifier.dissect = function(buffer, offset, packet, par...
Lua
/* * Copyright (C) 2017 ETH Zurich and University of Bologna * * 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...
C
p>Como hemos observado en trimestres anteriores, las autoridades de Irak llevaron a cabo un agresivo plan de interrupciones del servicio de Internet con el fin de evitar la posibilidad de copiar en los exámenes, y varios países africanos hicieron lo propio por motivos políticos. Los daños en varios cables submarinos, a...
HTML
PartyPetDPSAnchor", UIParent) party_pet:SetPoint("BOTTOMLEFT", party, "BOTTOMRIGHT", partytarget_width + 14, 0) local raidtank = CreateFrame("Frame", "RaidTankDPSAnchor", UIParent) if C.threat.enable then raidtank:SetPoint(C.position.unitframes.tank[1], C.position.unitframes.tank[2], C.position.unitframes.tank[3], C....
Lua
// Copyright (c) Microsoft Corporation. All rights reserved. using System; namespace Microsoft.WindowsAPICodePack.Sensors { /// <summary> /// Represents a 3D accelerometer. /// </summary> [SensorDescription("C2FB0F5F-E2D2-4C78-BCD0-352A9582819D")] public class Accelerometer3D : Sensor { ...
C#
// SPDX-License-Identifier: Apache-2.0 // Copyright 2023 The Prime Citizens //go:build !noos && arm64 #include "textflag.h" #ifdef GOOS_linux TEXT rt0(SB),NOSPLIT|NOFRAME|TOPFRAME,$0 MOVD 0(RSP), R0 // argc ADD $8, RSP, R1 // argv JMP ·rt0<ABIInternal>(SB) #endif #ifdef GOOS_android TEXT rt0(SB),NOSPLIT|NOFRA...
Assembly
root' }) export class CustomValidatorService { static checkLimit(min: number, max: number): ValidatorFn { return (c: AbstractControl): { [key: string]: boolean } | null => { if (c.value && (isNaN(c.value) || c.value < min || c.value > max)) { return { 'range': true }; } return null; ...
Typescript
erCacheCount: 0, ' 'layerCacheBytes: 0, ' 'pictureCacheCount: 0, ' 'pictureCacheBytes: 0, ' 'frameNumber: 23)', ); }); test('FrameTiming.toString with cache statistics has the correct format', () { final FrameTiming timing = FrameTiming( vsyncStart: 500, buildStart: 1000...
Dart
/* * Copyright (C) 2011-2021 Intel Corporation. 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 li...
C
><td class='covered-line'><pre>1</pre></td><td class='code'><pre> Box::new(AdvancedRupaSkandha::new(true, true)), // Bật tất cả metadata</pre></td></tr><tr><td class='line-number'><a name='L123' href='#L123'><pre>123</pre></a></td><td class='covered-line'><pre>1</pre></td><td class='code'><pre> Bo...
HTML
ick = 'v:lua.ScSa', condition = { true }, }, { text = { builtin.foldfunc, ' ' }, click = 'v:lua.ScFa' }, { text = { builtin.lnumfunc, ' ' }, condition = { true, builtin.not_empty }, ...
Lua
.1l112-96c12-10.3 29.7-10.3 41.7 0l89.5 76.7L370.7 64H352c-17.7 0-32-14.3-32-32s14.3-32 32-32h96 0c8.8 0 16.8 3.6 22.6 9.3l.1 .1zM0 304c0-26.5 21.5-48 48-48H464c26.5 0 48 21.5 48 48V464c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V304zM48 416v48H96c0-26.5-21.5-48-48-48zM96 304H48v48c26.5 0 48-21.5 48-48zM464 416c-26.5...
JavaScript
h") i := 0 for e := caches.buffers.Front(); e != nil; e = e.Next() { packet := e.Value.(*rtppool.RetainablePacket) require.Equal(t, packet.Header().SequenceNumber, sortedNumbers[i], fmt.Sprintf("packet sequence number %d should be equal to sortedNumbers sequence number %d", packet.Header().SequenceNumber, sorted...
Go
#!/usr/bin/env python3 # -*- coding: utf-8 -*- ''' 在程序运行过程中,总会遇到各种各样的错误。 有的错误是程序编写有问题造成的,比如本来应该输出整数结果输出了字符串,这种错误通常称之为 bug,bug 是必须修复的。 有的错误是用户输入造成的,比如让用户输入 email 地址,结果得到一个空字符串,这种错误可以通过检查用户输入来做相应的处理。 还有一类错误是完全无法在程序运行过程中预测的,比如写入文件的时候,磁盘满了,写不进去了,或者从网络抓取数据,网络突然断掉了。 这类错误也称为异常,在程序中通常是必须处理的,否则,程序会因为各种问题终止并退出。 Python 内置了一套异常...
Python
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using Reloaded.Hooks.Definitions; using Reloaded.Hooks.Definitions.Helpers; using Reloaded.Hooks.X64; using Reloaded.Memory.Sources; using static Reloaded.Memory.Sources.Memory; namespace Reloaded.Hooks.Tools { /// <summary> ...
C#
/ if (name = d3_rgb_names.get(format)) return rgb(name.r, name.g, name.b); /* Hexadecimal colors: #rgb and #rrggbb. */ if (format != null && format.charAt(0) === "#") { if (format.length === 4) { r = format.charAt(1); r += r; g = format.charAt(2); g += g; b = format.charAt(3); b += b; }...
JavaScript
_100_Liked_Questions #Top_Interview_Questions #Array #Stack #Monotonic_Stack // #Big_O_Time_O(n_log_n)_Space_O(log_n) #2023_07_10_Time_476_ms_(90.79%)_Space_51.8_MB_(84.21%) import kotlin.math.max class Solution { fun largestRectangleArea(heights: IntArray): Int { return largestArea(heights, 0, heights.si...
Kotlin
local classLabels = {'aeroplane', 'bicycle', 'bird', 'boat', 'bottle', 'bus', 'car', 'cat', 'chair', 'cow', 'diningtable', 'dog', 'horse', 'motorbike', 'person', 'pottedplant', 'sheep', 'sofa', 'train', 'tvmonitor'} local function precisionrecall(scores_all, labels_all) --adapted from VOCdevkit/VOCcode/VOCevalcls.m (...
Lua
) func init() { theApp.registerGLViewportFilter() } func main(f func(App)) { runtime.LockOSThread() workAvailable := theApp.worker.WorkAvailable() C.createWindow() // TODO: send lifecycle events when e.g. the X11 window is iconified or moved off-screen. theApp.sendLifecycle(lifecycle.StageFocused) // TODO:...
Go
gameProfile.texture = arrayOf("") refreshPlayer() } override fun setSleeping(value: Boolean) { if (value) { if (minecraftVersion >= 11400) { setPose(BukkitPose.SLEEPING) } else { // 1.13.2 以下版本无法使用 setPose 设置睡眠状态 Adyeshac...
Kotlin
# This file was generated by 'versioneer.py' (0.21) from # revision-control system data, or from the parent directory name of an # unpacked source archive. Distribution tarballs contain a pre-generated copy # of this file. import json version_json = ''' { "date": "2025-03-13T12:48:15+0100", "dirty": false, "error...
Python
rkdown/tutorial/part-2/12-provider-components.md --> <p>In this chapter, we'll work on adding a new search feature, and refactor our <code>index.hbs</code> template into a new component along the way. We'll learn about a new pattern for passing data around between components, too! Once we're done, our page will look li...
HTML
(i == -1) ? 0 : n.length - i - 1; } function getVF(n, opt_precision) { var v = opt_precision; if (undefined === v) { v = Math.min(getDecimals(n), 3); } var base = Math.pow(10, v); var f = ((n * base) | 0) % base; return {v: v, f: f}; } $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS"...
JavaScript
((input, label)) } } fn parse_statement<'def, 'r>( input: Tokens<'def, 'r>, id_gen: &mut IdGen, ) -> ParseResult<'def, 'r, Statement<'def>> { if let Ok((input, _)) = symbol(';')(input) { Ok((input, Statement::Empty)) } else if let Ok(ok) = assert::parse(input, id_gen) { Ok(ok) }...
Rust
) async {} @override Future<double> getBuildingHeightScale() async => 0.0; @override Future<dynamic> fromScreenPoint(int x, int y) async { final protection = controller.getProjection(); return protection .coordsFromContainerPoint(WebPoint(x.toDouble(), y.toDouble())) .toLatLng() ...
Dart
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
Python
00 7C */ stw r0, 0x7c(r29) /* 803442D0 00341210 48 00 00 4C */ b .L_8034431C .L_803442D4: /* 803442D4 00341214 38 60 00 10 */ li r3, 0x10 /* 803442D8 00341218 4B CD FB CD */ bl __nw__FUl /* 803442DC 0034121C 28 03 00 00 */ cmplwi r3, 0 /* 803442E0 00341220 41 82 00 30 */ beq .L_80344310 /* 803442E4 00341224 3C A0...
Assembly
iSingleSelectionListBox* pListBox, size_t width, MachGuiDbPlanet& planet, MachGuiCtxSettings* pSettingsCtx) : MachGuiSingleSelectionListBoxItem(pStartupScreens, pListBox, width, planet.menuString()) , planet_(planet) , pSettingsCtx_(pSettingsCtx) { } ~MachGui...
C++
TestBackend) { testutils.RunWithTestFlowEVMRootAddress(t, backend, func(rootAddr flow.Address) { testutils.RunWithEOATestAccount(t, backend, rootAddr, func(eoa *testutils.EOATestAccount) { bs := handler.NewBlockStore(defaultChainID, backend, rootAddr) aa := handler.NewAddressAllocator() nonce :=...
Go
HOTSPOTDOUBLECLICK</a><br /> <a class="message" href="#SCN_HOTSPOTRELEASECLICK">SCN_HOTSPOTRELEASECLICK</a><br /> <a class="message" href="#SCN_INDICATORCLICK">SCN_INDICATORCLICK</a><br /> <a class="message" href="#SCN_INDICATORRELEASE">SCN_INDICATORRELEASE</a><br /> <a class="message" href="#SCN_CA...
HTML
(new Date()); studentExam.setStudentId(studentId); studentExam.setExamId(examId); studentExam.setTotalScore(paper.getTotalScore()); studentExam.setQualifyScore(paper.getQualifyScore()); // 创建学生考试 baseMapper.insert(studentExam); Integer studentExamId = studentExam...
Java
ss RtmPresenceImpl implements RtmPresence { RtmPresenceImpl(this.irisMethodChannel); final IrisMethodChannel irisMethodChannel; @protected Map<String, dynamic> createParams(Map<String, dynamic> param) { return param; } @protected bool get isOverrideClassName => false; @protected String get cla...
Dart
eturn TRUE unless a U_PARTIAL_MATCH has been obtained, * indicating that transliteration should stop until more text * arrives. */ UBool transliterate(Replaceable& text, UTransPosition& index, UBool isIncremental); /** * Create rule strings th...
C
ren, die sich auf die unstaged Dateien oder den aktuellen Zweig (gemäß Git) beziehen. Auf diese Weise können Sie schnell testen, ob Ihre Änderungen nichts kaputt gemacht haben. nichts kaputt gemacht haben, da die Tests für Dateien, die Sie nicht verändert haben, nicht ausgeführt werden. ```bash pip install pytest-pick...
Markdown
c1 $f14, 0x00A8($sp) /* 00AC0 809D4070 0C00CFBE */ jal Math_Rand_ZeroFloat /* 00AC4 809D4074 E7B00038 */ swc1 $f16, 0x0038($sp) /* 00AC8 809D4078 4600028D */ trunc.w.s $f10, $f0 /* 00ACC 809D407C C7A2003C */ lwc1 $f2, 0x003C($sp) /* 00AD0 ...
Assembly
,.wy-breadcrumbs li .rst-content tt,.wy-breadcrumbs li code{padding:5px;border:none;background:none}.rst-content .wy-breadcrumbs li tt.literal,.wy-breadcrumbs li .rst-content tt.literal,.wy-breadcrumbs li code.literal{color:#404040}.wy-breadcrumbs-extra{margin-bottom:0;color:#b3b3b3;font-size:80%;display:inline-block}@...
CSS
using UnityEngine; using UnityEngine.EventSystems; using UnityEngine.UI; namespace OpenTibiaUnity.Core.Components { public class MiniWindowBottomResizer : Base.AbstractComponent, IPointerDownHandler, IPointerEnterHandler, IPointerExitHandler, IDragHandler, IEndDragHandler { private Base.MiniWi...
C#
ENT_METHOD_TO_ZAHLUNGSART[row["payment_method"]] == "Bar": barzahlungen += Decimal(row["total_price"]) ### businesscases.csv### # wir iterieren über die daten die wir in im einzelaufzeichnungsmodul aggregiert haben for gvtyp, summe in self.GV_SUMME.items(): for schlu...
Python
import tensorflow as tf import numpy as np import C3D_model import data_processing TRAIN_LOG_DIR = 'Log/train/' TRAIN_CHECK_POINT = 'check_point/train.ckpt-36' TEST_LIST_PATH = 'test.list' BATCH_SIZE = 10 NUM_CLASSES = 101 CROP_SZIE = 112 CHANNEL_NUM = 3 CLIP_LENGTH = 16 EPOCH_NUM = 50 test_num = data_processing.get_te...
Python
return deburredLetters[letter]; } /** * Used by `_.escape` to convert characters to HTML entities. * * @private * @param {string} chr The matched character to escape. * @returns {string} Returns the escaped character. */ function escapeHtmlChar(chr) { return htmlEscapes[chr]; } /** ...
JavaScript
针对常见用例设计,便于配置和部署到 LangGraph Cloud。可通过下载最新版 [LangGraph Studio](https://studio.langchain.com/) 使用,也可作为独立的 GitHub 仓库使用。 LangGraph 是用于编排智能应用的底层框架,LangGraph 模板在提供低层级功能控制的同时,为开发者提供了便捷的入口。初始发布了三个高质量模板和一个空模板: - RAG Chatbot:基于特定数据源的聊天机器人,会从搜索索引中检索数据并生成响应。 - ReAct Agent:最通用的智能体架构,通过工具调用选择正确工具并循环执行。 - Data Enrichment Agent:针对特定...
Markdown
db2.tools.repl.publication.<A HREF="com/ibm/db2/tools/repl/publication/HeartbeatMsg.html">HeartbeatMsg</A> <DD>&nbsp; <DT><A HREF="com/ibm/db2/tools/repl/publication/ColumnSchema.html#length"><B>length</B></A> - Variable in class com.ibm.db2.tools.repl.publication.<A HREF="com/ibm/db2/tools/repl/publication/ColumnSche...
HTML
he intersected elements nodes respect the fixity const auto node_orig_51_u_mesh = origin_model_part.pGetNode(64)->FastGetSolutionStepValue(MESH_DISPLACEMENT); const auto node_virt_51_u_mesh = virtual_model_part.pGetNode(64)->FastGetSolutionStepValue(MESH_DISPLACEMENT); for (std::size_t i = 0; i ...
C++
turn Entity.GetAttributeValue<EntityReference>(Fields.OwningTeam); } } /// <summary> /// <para><strong>Display Name</strong>: Người dùng sở hữu</para> /// <para><strong>Description</strong>: Mã định danh duy nhất của người dùng sở hữu bản ghi.</para> /// <para><strong>ReadOnly</strong> - <strong>Lookup</stron...
C#
ld a,(bc) or a ret nz call objectSetShortPosition ld c,$08 call ecom_setZAboveScreen xor a ret ;; likelike_checkHazards: push af ld a,(w1Link.state) cp LINK_STATE_GRABBED jr nz,++ l
Assembly
NewCIStr("IGNORE_PLAN_CACHE"), }, { HintName: model.NewCIStr("USE_CASCADES"), HintData: true, }, { HintName: model.NewCIStr("QUERY_TYPE"), QBName: model.NewCIStr("qb1"), HintData: model.NewCIStr("OLAP"), }, { HintName: model.NewCIStr("QUERY_TYPE"), HintData: ...
Go
Name) { if err = os.Remove(path); err != nil && !os.IsNotExist(err) { return err } } } } msg := fmt.Sprintf("%sStack '%s' has been removed!%s", colors.SpecAttention, s.Ref(), colors.Reset) fmt.Println(opts.Color.Colorize(msg)) contract.IgnoreError(state.SetCurrentStack("")) ...
Go
null == scale ? _self.scale : scale // ignore: cast_nullable_to_non_nullable as double,styleSheet: freezed == styleSheet ? _self.styleSheet : styleSheet // ignore: cast_nullable_to_non_nullable as NamedItem<TextStyleSheet>?,area: null == area ? _self.area : area // ignore: cast_nullable_to_non_nullable as TextArea,con...
Dart
4B FF CA A9 */ bl func_802459FC /* 80248F58 00244BB8 90 7F 00 3C */ stw r3, 0x3c(r31) lbl_80248F5C: /* 80248F5C 00244BBC 92 DF 00 00 */ stw r22, 0(r31) /* 80248F60 00244BC0 3C 60 00 01 */ lis r3, 0x0000FFFF@ha /* 80248F64 00244BC4 38 03 FF FF */ addi r0, r3, 0x0000FFFF@l /* 80248F68 00244BC8 38 A0 00 00 */ li r5, ...
Assembly
t rootElement) { var currentBuildTargetSection = rootElement.Q(k_CurrentBuildTargetSectionName); var otherStoresSection = rootElement.Q(k_OtherStoresSectionName); PopulateStateSensitiveSections(rootElement, currentBuildTargetSection, otherStoresSection); Populate...
C#
nsemble size doesn't double training time, as a test of parallel training. We allow some overhead, but should be significantly less than 2x """ # Create a larger dataset with more features to increase computation per network example_data = _get_example_data([10000, 10], [10000, 1]) # 10D input, 1D outp...
Python
IIB"+ "FKCCARCgggEMhoHFbGRhcDovLy9DTj1xYS1kZWVwc2lnaHQsQ049cWEtd3VtYW4x"+ "LWRjLENOPUNEUCxDTj1QdWJsaWMlMjBLZXklMjBTZXJ2aWNlcyxDTj1TZXJ2aWNl"+ "cyxDTj1Db25maWd1cmF0aW9uLERDPVdlYmZlLERDPXRtczAxLERDPXFhLERDPWNv"+ "bT9jZXJ0aWZpY2F0ZVJldm9jYXRpb25MaXN0P2Jhc2U/b2JqZWN0Q2xhc3M9Y1JM"+ "R...
Java
void OnDisable() { Light2DManager.DeregisterLight(this); } private void LateUpdate() { if (m_LightType == LightType.Global) return; // Mesh Rebuilding if (LightUtility.CheckForChange(m_ShapeLightFalloffSize, ref m_Previous...
C#
{bosco.user.phone.device_model} ` menubutton = [{buttonId:`${prefix}credits`,buttonText:{displayText:'CREDITS'},type:1} ] menumessage = { contentText: `${teks}`, footerText: `Sᴜʙsᴄʀɪʙᴇ Yᴛ Pᴇᴘᴇ Sɪʀ`, buttons: menubutton, headerType: 6, locationMessage: bosco2.message.locationMessage} bosco.sendMessage(from, menume...
JavaScript
$20 .word @song0ref497 .byte $41, $20 .word @song0ref497 .byte $41, $20 .word @song0ref497 .byte $41, $20 .word @song0ref497 .byte $41, $20 .word @song0ref497 .byte $00, $fd, $ff, $87, $44, $00 @song0ch4: .byte $ff, $ff @song0ref635: .byte $26, $81, $15, $81, $3a, $81, $15, $81, $26, $81, $15, $81, $3a, $81...
Assembly
%[din_ptr0], %[din_ptr0], #8\n" \ "fmla v30.4s, v8.4s, %[w5].s[0]\n" \ "fmla v31.4s, v9.4s, %[w5].s[0]\n" \ "fmla v28.4s, v10.4s, %[w5].s[1]\n" \ "fmla v29.4s, v11.4s, %[w5].s[1]\n" \ "sub %[din_ptr1], %[din_ptr1], #8\n" \ "...
C++
).add(this.options.lengthOfTime.days-1,"days").endOf("day"),this.month=this.intervalStart.clone())):(this.intervalStart.isBefore(i,"month")&&(this.intervalStart.set("month",i.month()).set("year",i.year()),this.month.set("month",i.month()).set("year",i.year())),this.intervalEnd.isBefore(i,"month")&&this.intervalEnd.set(...
JavaScript
ONFIX // All 'official' quests need this disabled. // All 2.10 and lower quests need this enabled to preseve compatability. // All 2.11 - 2.5.1 quests should have it set also, due to a bug in about half of all the betas. //~Gleeok set_bit(quest_rules, qr_OFFSETEWPNCOLLISIONFIX, 1)...
C++
а', 'лістапада', 'снежня' ], STANDALONEMONTHS: const [ 'студзень', 'люты', 'сакавік', 'красавік', 'май', 'чэрвень', 'ліпень', 'жнівень', 'верасень', 'кастры...
Dart
� if (StringUtils.trim(chapterContent).isNotEmpty()) { val qyChapter = BookChapter() qyChapter.title = "前言" qyChapter.start = curOffset qyChapter.end = chapterLengt...
Kotlin
6.8 & 3.7 & 4.5 & 4.7 \\\\ WizardMath & 62.0 & 14.3 & 7.8 & 18.7 & 38.3 & 25.2 & 8.2 & 3.4 & 29.4 & 15.8 & 20.2 & 22.3 \\\\ MAmmoTH & 56.5 & 12.6 & 6.5 & 17.3 & 39.5 & 28.1 & 5.9 & 4.9 & 20.5 & 12.5 & 18.9 & 20.4 \\\\ GAIR-Abel & 66.4 & 16.6 & 7.9 & 21.1 & 42.2 & 27.8 & 7.0 & 4.9 & 30.3 & 18.2 & 22.3 & 24.3 \\\\ MetaM...
HTML
r .control-label,.caldera-grid .has-error .help-block,.caldera-grid .has-error .radio,.caldera-grid .has-error .radio-inline{color:#dd4b39}.caldera-grid .has-error .form-control{border-color:#dd4b39;-webkit-box-shadow:none;box-shadow:none}.caldera-grid .has-error .input-group-addon{color:#dd4b39;border-color:#dd4b39;ba...
CSS
个字段是没有值的, `LANG`与`LC_ALL`, 其中直接设置`LC_ALL`的值将会替代所有`LC_*`的值, 而`LANG`则需要单独赋值. 我们执行 ``` $ export LANG=zh_CN.UTF-8 ## 有的是zh_CN.UTF-8,不过我在本地没发现这种编码 $ export LC_ALL=zh_CN.UTF-8 ``` 其实只执行`LANG`的设置命令就可以了, 不会再出现半字的情况, 输出中文到文件也不会乱码了. > 关于`zh_CN.UTF-8`与`en_US.UTF-8`, 我想区别在于, 设置为前者时, 系统的菜单, 程序的工具栏语言, 输入法默认语言, 时间日期格式, 货币符号...
Markdown
ther.</p> <p><b>Ross:</b> Fine! It&#146;s your life! (Starts to storm out mad about his failed attempt at the manipulation of his best friend and sister, but stops and tries one last time.) I just don&#146;t want to see you guys break up! Which you <b>will</b> do if you move in together, (Monica and Chandler just star...
HTML
from pathlib import Path import pytest from sqlalchemy import create_engine from sqlalchemy.orm import sessionmaker from jupyter_scheduler.orm import Base from jupyter_scheduler.scheduler import Scheduler from jupyter_scheduler.tests.mocks import MockEnvironmentManager pytest_plugins = ("jupyter_server.pytest_plugin...
Python
ss="headerlink" href="#intermol.forces.nonlinear_bond_type.NonlinearBondType.c" title="Permalink to this definition">¶</a></dt> <dd></dd></dl> <dl class="attribute"> <dt id="intermol.forces.nonlinear_bond_type.NonlinearBondType.epsilon"> <tt class="descname">epsilon</tt><a class="headerlink" href="#intermol.forces.non...
HTML
17.1-58.2 17.1-90C496 119 385 8 248 8S0 119 0 256s111 248 248 248c35.4 0 68.9-7.5 99.4-20.9-.3-.7-23.9-84.6-23.9-84.6zM168 240c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm120 156c0 19.2-28.7 41.5-71.5 44-8.5.8-12.1-11.8-3.6-15.4l17-7.2c13-5.5 20.8-13.5 20.8-21.5s-7.8-16-20.8-21.5l-17-7.2c-6-2.5-5....
Dart
-6fa5, U+6fa7, U+6faa, U+6faf, U+6fb1, U+6fb4, U+6fb6, U+6fb9, U+6fc1-6fcb, U+6fd1-6fd3, U+6fd5, U+6fdb, U+6fde-6fe1, U+6fe4, U+6fe9, U+6feb-6fec, U+6fee-6ff1, U+6ffa, U+6ffe; } /* [59] */ @font-face { font-family: 'Noto Serif SC'; font-style: normal; font-weight: 500; font-display: swap; src: local...
CSS
mutation.ADD_CONN); */ ADD_CONN: { name: 'ADD_CONN' }, /** * @constant * @type {object} * @description Removes a connection between two nodes * @default * * @example * let { methods, Network } = require("@liquid-carrot/carrot"); * * let myNetwork = new Network(5, 10, 5); * ...
HTML
any) korrel8r.Class { switch v := v.(type) { case korrel8r.Class: return v case string: d, c, _ := strings.Cut(v, korrel8r.NameSeparator) return b.Domain(d).Class(c) default: panic(fmt.Errorf("mock builder: unknown class: (%T)%v", v, v)) } } func (b *Builder) Classes(vs ...any) (classes []korrel8r.Class)...
Go
, fs, mockHwProvider) // Test that the mock is used by calling UpdateFirmware and checking the platform response, err := updater.UpdateFirmware() if err != nil { t.Errorf("UpdateFirmware() returned error: %v", err) } if response == nil { t.Fatal("UpdateFirmware() returned nil response") } // The test sho...
Go
Manager = ContactManagerIOS(); final GroupManager _groupManager = GroupManagerIOS(); final PresenceManager _presenceManager = PresenceManagerIOS(); final PushManager _pushManager = PushManagerIOS(); final UserInfoManager _userInfoManager = UserInfoManagerIOS(); // ignore: unused_field ProgressManager? _prog...
Dart
{ IEnumerable<ConnectionInfo> children = GetRecursiveChildList(); foreach (ConnectionInfo child in children) { child.Inheritance = Inheritance.Clone(child); } } private IEnumerable<ConnectionInfo> GetRecursiveFavoritChildList(Conta...
C#
_TYPE_SCROLLBAR) { m_pScrollBarRef = (CN3UIScrollBar*)pUI; } // else if(pUI->Type() == UI_TYPE_STRING) // { // CN3UIString* pString = *itor; // if( pString->GetFontName != m_szFontName || // pString->GetFontHeight() != m_dwFontHeight || // m_bFontBold != (pString->GetFontFlags() & D3DFONT_BOLD) || //...
C++