content
stringlengths
2
6.21k
label
stringclasses
16 values
.addHeader("X-Requested-With", Constants.REQUEST_WIDTH) .addHeader("X-Sdk-Int", "33") .addHeader("X-Sdk-Locale", "zh-CN") .addHeader("X-App-Id", Constants.APP_ID) .addHeader("X-App-Token", CookieUtil.token) .addHeader("...
Kotlin
80273E84 0026F3C4 7C 08 02 A6 */ mflr r0 /* 80273E88 0026F3C8 90 01 00 14 */ stw r0, 0x14(r1) /* 80273E8C 0026F3CC 93 E1 00 0C */ stw r31, 0xc(r1) /* 80273E90 0026F3D0 7C 7F 1B 78 */ mr r31, r3 /* 80273E94 0026F3D4 48 16 88 59 */ bl func_803DC6EC /* 80273E98 0026F3D8 2C 03 00 00 */ cmpwi r3, 0 /* 80273E9C 0026F3D...
Assembly
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/AccountsDaemon.framework/AccountsDaemon */ @interface ACDAuthenticationDialogManager : NSObject <ACDAuthenticationDialogManagerProtocol> { NSString * _activeAccountID; NSXPCListener * _authenticationDialogListener; ACDQueueDictiona...
C
using System; using System.IO; using System.Windows.Forms; using eft_where_am_i.Classes; namespace eft_where_am_i { public partial class SettingPage : UserControl { private readonly SettingsHandler settingsHandler; // SettingsHandler 인스턴스 private AppSettings appSettings; // AppSettings 참조 ...
C#
/* ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio 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 ap...
Assembly
), tooltip: t.markdown.markdownSyntax, ), if (widget.showPreview) IconButton( onPressed: _showPreview, icon: const Icon(Icons.preview), tooltip: t.common.preview, ), ], ), ...
Dart
(0xFFFF7FFF & 0xFFFF) # ori $at, $at, 0x7fff /* ADAC40 80063AA0 00A17027 */ nor $t6, $a1, $at /* ADAC44 80063AA4 15C00003 */ bnez $t6, .L80063AB4 /* ADAC48 80063AA8 2401BFFF */ li $at, -16385 /* ADAC4C 80063AAC 10000007 */ b .L80063ACC /* ADAC50 80063AB0 24030064 */ li $v1, 100 .L80063AB4: /* ADAC54...
Assembly
200464 15.790450263467324 C39.5602705338271 11.24592625787622, 42.47190869086112 9.464809918029692, 48.40232446689968 0.33509375004644193 M35.71465577732266 19.53874008385645 C40.73708344115341 10.85566145890061, 45.482896607587946 7.736500742249913, 51.1114572467965 2.9405134356845815 M40.82478369841264 16.54042434212...
JavaScript
elsClient Models => new ModelsClient(HttpClient, authorizations: Authorizations) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, }; /// <summary> /// Creates a new instance of the OllamaApiClient. /// If no ht...
C#
1.l = -0.3 # x2.l = -0.39 # x3.l = 0.3 # x4.l = -0.344 # x5.l = -1.2 # x6.l = 2.69 # x7.l = 1.59 # x8.l = -1.5 # Initial point (Variant 3) x1.l = -0.041 x2.l = -0.775 x3.l = 0.03 x4.l = -0.047 x5.l = -2.565 x6.l = 2.565 x7.l = -0.754 x8.l = 0.754 ...
Python
toPoint::random(&mut OsRng)); assert_eq!( set.iter() .verify(&gens, &mut t.clone(), &proof) .unwrap_err(), ProofError::VerificationFailed ); set.push(RistrettoPoint::random(&mut OsRng)); assert_eq!( set.iter() ...
Rust
tatic void lpc288x_set_flash_clk(struct flash_bank *bank); static uint32_t lpc288x_system_ready(struct flash_bank *bank); static uint32_t lpc288x_wait_status_busy(struct flash_bank *bank, int timeout) { uint32_t status; struct target *target = bank->target; do { alive_sleep(1); timeout--; target_read_u32(targ...
C
maxLines: 1, overflow: TextOverflow.ellipsis, element.title ?? '', style: textStyle, ); return Padding( padding: const EdgeInsets.symmetric(horizontal: 6.0), child: Container( key: innerKey, padding: const EdgeInsets.all(5), ...
Dart
local awful = require("awful") local wibox = require("wibox") local gears = require("gears") local beautiful = require("beautiful") local dpi = beautiful.xresources.apply_dpi local margins = dpi(0) if beautiful.pfp == beautiful.calla then margins = dpi(10) end local profile = wibox.widget { { { { { { ...
Lua
der-bottom:5px solid #2196F3;border-bottom-color:rgba(255,255,255,0.4);} body #list_type_list{ background:none;} body #main_title{ background:rgba(234,234,234,0.1);border-bottom:1px solid rgba(234,234,234,0.15);box-shadow:0px 5px 5px rgba(0,0,0,0.05);} body #main_title .this{ background:rgba(234,234,234,0.16);} body #m...
CSS
Mary"), B("had"), B("a little lamb")]); /// /// let x: Vec<_> = b"".splitn_str(3, "X").collect(); /// assert_eq!(x, vec![b""]); /// /// let x: Vec<_> = b"lionXXtigerXleopard".splitn_str(3, "X").collect(); /// assert_eq!(x, vec![B("lion"), B(""), B("tigerXleopard")]); /// /// let x: Vec<_...
Rust
(SSOToken token) { if (SystemProperties.isServerMode()) { if (auditor == null) { auditor = InjectorHolder.getInstance(AuthenticationProcessEventAuditor.class); } auditor.auditLogout(token); } } /** * Gets the ZPL configuration for the giv...
Java
mV2ZW50LnBy ZXZlbnREZWZhdWx0KCl9ZnVuY3Rpb24geCgpe2Zvcih2YXIgbix0PVZvLmV2ZW50 O249dC5zb3VyY2VFdmVudDspdD1uO3JldHVybiB0fWZ1bmN0aW9uIE0obil7Zm9y KHZhciB0PW5ldyBkLGU9MCxyPWFyZ3VtZW50cy5sZW5ndGg7KytlPHI7KXRbYXJn dW1lbnRzW2VdXT1tKHQpO3JldHVybiB0Lm9mPWZ1bmN0aW9uKGUscil7cmV0dXJu IGZ1bmN0aW9uKHUpe3RyeXt2YXIgaT11LnNvdXJjZUV2ZW50...
HTML
dyState === 4) { beforeResp(retryXhr); var retryStatus = retryXhr.status; if (retryStatus >= 200 && retryStatus < 400) { handleRespSucc(retryXhr); } else { handleRespErr(retryXhr, res); window.WX_BJ_REPORT && window.WX_BJ_REPORT.B...
HTML
ion.getURL().getPath(); httpResponser.port = urlConnection.getURL().getPort(); httpResponser.protocol = urlConnection.getURL().getProtocol(); httpResponser.query = urlConnection.getURL().getQuery(); httpResponser.ref = urlConnection.getURL().getRef(); httpResp...
Java
gitbox/summary/docs/.vuepress/.temp/pages/algorithm/tree/index.html.js").then(({ data }) => data), // path: /algorithm/%E5%8A%A8%E6%80%81%E8%A7%84%E5%88%92/33.html "v-76f66267": () => import(/* webpackChunkName: "v-76f66267" */"/Users/jiangbojian/Documents/gitbox/summary/docs/.vuepress/.temp/pages/algorithm/动态规划/33...
JavaScript
.host=o[4],r.port=parseInt(o[5],10),r.path=o[6]||"",r.query=o[7],r.fragment=o[8],isNaN(r.port)&&(r.port=o[5])):(r.scheme=o[1]||void 0,r.userinfo=-1!==t.indexOf("@")?o[3]:void 0,r.host=-1!==t.indexOf("//")?o[4]:void 0,r.port=parseInt(o[5],10),r.path=o[6]||"",r.query=-1!==t.indexOf("?")?o[7]:void 0,r.fragment=-1!==t.inde...
JavaScript
.slideshare.net/tmatyashovsky/from-cache-to-in-memory-data-grid-introduction-to-hazelcast>Source: From cache to in-memory data grid</a></i> </p> 期限切れよりも前に、直近でアクセスされた全てのキャッシュエントリを自動的に更新するように設定することができます。 もしどのアイテムが将来必要になるのかを正確に予測することができるのならば、リードスルーよりもレイテンシーを削減することができます。 ##### 欠点: リフレッシュアヘッド * どのアイテムが必要になるかの予測が正確でない場合に...
Markdown
666; BYTE $0x05 // pinsrb xmm8, byte [rsi + r13 + 23], 5 QUAD $0x170e44203a0f4466; BYTE $0x06 // pinsrb xmm8, byte [rsi + rcx + 23], 6 QUAD $0x173e44203a0f4466; BYTE $0x07 // pinsrb xmm8, byte [rsi + rdi + 23], 7 QUAD $0x173644203a0f4666; BYTE $0x08 // pinsrb xmm8, byte [rsi + r14...
Assembly
UNKNOWN) { property, oldValue, newValue -> if (newValue != oldValue && getRange() > 0) { when { (oldValue == PositionType.FIRST && newValue == PositionType.MIDDLE) || (oldValue == PositionType.MIDDLE && newValue == PositionType.FIRST) || ...
Kotlin
0423&fm=253&fmt=auto&app=138&f=JPEG?w=1152&h=384"></div><div><div style="color:#999;text-align:center;">(图片来源网络,侵删)</div></div><h3 id="id2">农业银行杨寨支行周六上班吗?</h3><p>无法确定<br>因为不同地区的农业银行杨寨支行的上班时间可能会有差异。<br><a href="http://www.to3158.cn/tags-y-b6581515b07104.html" target="_blank" class="relatedlink">一般</a>而言,银行的工作时间是按照当地政府<a...
HTML
cks.go文件中的rewriteTarget结构体对这些语句进行重写,以减少调度错误的可能性。 具体地说,rewriteTarget结构体包含了以下信息: - 原始语句:需要重写的语句的AST表示。 - 重写语句:重写后的语句的AST表示。 - 待重写: 是否需要对该语句进行重写。 通过重写前后语句的AST表示,可以实现语法转换、插入、删除等操作,使得程序确保在循环执行中的流水线最优化,最大限度地发挥CPU的处理能力。 因此,rewriteTarget结构体的作用是优化循环中可能造成调度错误的语句,提高程序性能和可靠性。 ### rewrite 在go/src/cmd/目录下的loopreschedchecks.g...
Markdown
ページを用意し、コードを分割することでレガシーブラウザに対応させたそうです。しかし、メンテナンスの手間が増えてしまうので良い方法とも言えません。@LuckOfWise さんは「レガシーブラウザ対応は断りましょう。」と話されました。 ## Okayama.rb #11 に参加してきた! ### イワタ Okayama.rb に初めて参加し、そこで感じた楽しさをイワタさんが発表されました。Okayama.rb はプログラミングが好きな人たちが岡山市のファミリーレストランに集まってワイワイ話したり、コーディングをしたりするコミュニティです。イワタさんは Ruby 初心者ですが、Ruby の開発環境を整えるところから話しを聞くことができた...
Markdown
0.0, 1.0, 2.0, 3.0, 4.0, 5.0 ).reshape(3, 1, 2) val copy = m.copy() val replacement = F64Array.full(m.shape[1], m.shape[2], init = 42.0) copy.V[0] = replacement assertEquals(replacement, copy.V[0]) for (d in 1 until m.shape[0]) { ...
Kotlin
local XUiPanelRewardSmall = XClass() function XUiPanelRewardSmall:Ctor(ui,parent) self.GameObject = ui.gameObject self.Transform = ui.transform self.Parent = parent XTool.InitUiObject(self) self:InitAutoScript() self.GridList = {} self.GridMissionCommonA.gameObject:SetActive(false) end --设...
Lua
format = vsp1_entity_get_pad_format(&rwpf->entity, cfg, RWPF_PAD_SINK, sel->which); sel->r.left = 0; sel->r.top = 0; sel->r.width = format->width; sel->r.height = format->height; break; default: return -EINVAL; } return 0; } int vsp1_rwpf_set_selection(struct v4l2_subdev *subdev, str...
C
endif namespace lgfx { inline namespace v1 { //---------------------------------------------------------------------------- static constexpr char LIBRARY_NAME[] = "LovyanGFX"; namespace m5stack { static constexpr int32_t i2c_freq = 400000; static constexpr int_fast16_t aw9523_i2c_addr = 0x58; // AW...
C++
* based on [the tutorial](http://www.html5rocks.com/en/tutorials/dnd/basics/) * from HTML5Rocks. * * [Drag and drop specification] * (http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#dnd) * from WHATWG. */ @DomName('Element.ondragleave') @DocsEditable() ElementStream<MouseEve...
Dart
ှေ့တီမော အချိန်3အ" + "ီစတာကျွန်းအချိန်Bအီစတာကျွန်းစံတော်ချိန်Hအီစတာကျွန်းနွေရာသီအချိန်+အီကွေ" + "ဒေါ အချိန်?ဥရောပအလယ်ပိုင်းအချိန်Pဥရောပ အလယ်ပိုင်း စံတော်ချိန်Wဥရောပ အလ" + "ယ်ပိုင်း နွေရာသီ အချိန်1အရှေ့ဥရောပ အချိန်@အရှေ့ဥရောပ စံတော်ချိန်Gအရှေ့" + "ဥရောပ နွေရာသီ အချိန်Wထပ်တိုးအရှေ့ပိုင်းဥရောပအချိန်4အနောက်ဥရောပ အချိန်...
Go
er: W) -> BufferWriter<W> { BufferWriter { inner, buf: Vec::with_capacity(capacity), written: 0, } } pub fn get_ref(&self) -> &W { &self.inner } pub fn get_mut(&mut self) -> &mut W { &mut self.inner } fn get_pin_mut(self: Pin...
Rust
lassFactory:init(generator, properties) self.generator = generator self.properties = properties self.fieldAccess = false end --- -- Creates an object from generator. -- @param ... arguments of generator -- @return object function ClassFactory:newInstance(...) local obj = self.generator(...) return ...
Lua
atus(self, mode): ''' Set remote control status. Input: mode(int) : 0 : "Local and locked", 1 : "Remote and locked", 2 : "Local and unlocked", 3 : "Remote and unlocked", Output: None ''' status = { ...
Python
导出成功", f"表格内容已保存到 {file_path}") def load_param_json(self): file_path, _ = QFileDialog.getOpenFileName(self, "选择参数库JSON", "", "JSON Files (*.json)") if not file_path: return with open(file_path, "r", encoding="utf-8") as f: data = json.load(f) self.param_li...
Python
* @param[in] aChannel The radio channel on which to receive. * @param[in] aStart The receive window start time, in microseconds. * @param[in] aDuration The receive window duration, in microseconds. * * @retval kErrorNone Successfully scheduled receive window. * @retval kErrorFai...
C++
const tokenTypes = []; const tokens = tokenizePathString(in_absolutePath, tokenTypes); let path = ""; for (let i = 0; i < tokenTypes.length; i++) { const tokenType = tokenTypes[i]; switch (tokenType) { case TOKEN_TYPES.PATH_ROOT_TOKEN: // Skip the leading '/' break; case TOKEN_TYPES.RAI...
Typescript
时我们会用宽度来检测当前的用户设备,这样我们就可以根据设备来处理对应的内容。这种场景,我们也可以封装成一个 hook,代码如下:</p> <div class="ay1code"> <pre class="brush:js;">import { ref, onMounted, onUnmounted } from 'vue'; export const MOBILE = 'MOBILE' export const TABLET = 'TABLET' export const DESKTOP = 'DESKTOP' export const useViewport = (config = {}) =&gt; { cons...
HTML
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #ifndef MMAP_TX_H #define MMAP_TX_H #include <rofl_datapath.h> #include <string> #include <errno.h> #include <u...
C
ulcast codec for preference codec setted if (codec == null && codecs.isNotEmpty) { await updatePublishingLayers(track, codecs[0].qualities); return []; } subscribedCodecs = codecs; final List<String> newCodecs = []; for (var codec in codecs) { if (this.codec?.toLowerCase() == co...
Dart
}, true, nil}, {[]rideType{rideInt(1)}, true, nil}, {[]rideType{}, true, nil}, } { r, err := dropBytes(nil, test.args...) if test.fail { assert.Error(t, err) } else { require.NoError(t, err) assert.Equal(t, test.r, r) } } } func TestConcatBytes(t *testing.T) { te := &mockRideEnvironment{checkMe...
Go
brush = bigLogosGradient, style = if (isAmbient) bigStroke else Fill ) drawCircle( brush = bigLogosGradient, blendMode = BlendMode.SrcIn ) } } private val kotlinDarkBg = Color(0xFF1B1B1B) private val kotlinBlue = Color(0xFF7F52FF) private val...
Kotlin
configuration file name -echo[NUM] TEXT Echo text to stdout or stderr -execute[NUM] Execute multiple commands on one line -srcfile FMT Set different source file name -stay_open FLAG Keep reading -@ argfile even after EOF</pre> <p> </p> <h...
HTML
omessage'), textAlign: TextAlign.center, style: const TextStyle(fontSize: 10), ), ], ), ), ), ), ], ), ), ); } } // This source code is a pa...
Dart
static const int kBlockSizes[]; static const int kBlockSizeCount; }; const int IoTest::kBlockSizes[] = {-1, 1, 2, 5, 7, 10, 23, 64}; const int IoTest::kBlockSizeCount = GOOGLE_ARRAYSIZE(IoTest::kBlockSizes); bool IoTest::WriteToOutput(ZeroCopyOutputStream* output, const void* data, in...
C++
/// Server URL /// </summary> [JsonProperty("urls")] public Uri Urls { get; } /// <summary> /// Create a new IceServer /// </summary> /// <param name="credential">Ice Server credential</param> /// <param name="username">Server username</param> ...
C#
se-bf3-body #header-navigation-extra > li.active > a, ul.base-section-menu > li.active > a{color: #4F708F;} .premium-index-upcomingitem > a{transition: background 0.5s ease, box-shadow 0.5s ease;-moz-transition: background 0.5s ease, box-shadow 0.5s ease;-webkit-transition: background 0.5s ease, box-shadow 0.5s ease;} ...
CSS
ses"], ["Helmet-shrikes"], ["Ioras"], ["Boatbills"], [], [], [], [], [], [], [], [], [], [], ["Monarchs"], ["Chats and Old World flycatchers"], [], [], [], ["Crombecs"], [], ["Leaf-Warblers, Bush-Warblers and Long-tailed Tits"], ["Swallows and martins"], ["Bulbuls and Tetrakas"], [], [], ["Nuthatches and Wallcreeper"],...
JavaScript
(0);var RQ=Jz;var RO=(((RQ)+1)&4294967295);Jz=RO;var RM=agv;abT=RM;var RK=(((RM))>>>0)<=255;if(RK){U0=278}else{U0=274}$iswupper_exit200$$bb1_i193$393:do{if(U0==278){var Ro=tM(RM);E2=Ro;ag4=Ro;var Rm=(((Ro))|0)!=0;if(Rm){U0=279;break $iswupper_exit200$$bb1_i193$393}else{U0=308;break $iswupper_exit200$$bb1_i193$393}}else...
JavaScript
th <code>pub</code> to ensure they're accessible outside the module.</p> <p>Let's also add a helper function which will convert a string to a keyword or identifier; this is because when lexing, we may be unsure if a string is a keyword or not. This will prioritise the keyword so they do not be overwritten by an identif...
HTML
Page:defaultCurrentPage, majorLib_majorResult:{}, }); export default function majorLibMainState(state = initialState, action) { switch (action.type) { case actionTypes.MERGE_SUBJ_CLASSIFICATION: return state.merge(action.mergedState); case actionTypes.MERGE_SUBJ_CATEGORIES: ...
Typescript
} } public boolean jdk2(){ return true; } } /* This file is part of the db4o object database http://www.db4o.com Copyright (C) 2004 - 2011 Versant Corporation http://www.versant.com db4o is free software; you can redistribute it and/or modify it under the terms of version 3 of the GNU General Public License...
Java
j[0], &argp1,SWIGTYPE_p_ArrowArrayStream, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ArrowArrayStream_GetSchema" "', argument " "1"" of type '" "ArrowArrayStream *""'"); } arg1 = reinterpret_cast< ArrowArrayStream * >(argp1); { if ( bUseExceptions ) { ...
C++
�体上进行。和前面一样,我们用`$G_i$`表示个体`$i$`的性别,男性取值为1, 女性取值为0;`$X_i$`是个体 `$i$`在 1963 年 9 月的体重。由于这两个变量都发生在接受处理(在食堂进餐与否)之前,它们都可以看成是协变量,不受处理的影响。我们采用潜在结果模型,定义 `$\{ Y_i(1), Y_i(0) \} $`是个体 $i$ 在食堂进餐和不在食堂进餐下于 1964 年六月体重的潜在结果。 如果用`$T$`表示在食堂进餐与否的变量,那么每个学生都是`$T=1$`。当写下潜在结果之后,我们就发现问题的根源之一,是整个研究根本不存在对照组(全体学生其实都在食堂进餐),每个个体在 1964 年 6 月都取值`$Y(...
Markdown
} override fun getTitle(player: Player?): String { return "Gacha" } override fun getButtons(player: Player): MutableMap<Int, Button> { val buttonMap = mutableMapOf<Int, Button>() (0 .. 8).forEach { if (it == 4) { buttonMap...
Kotlin
using BlockParser; namespace MAPIInspector.Parsers { /// <summary> /// [MS-OXCFOLD] 2.2.1.13 RopGetHierarchyTable ROP /// The RopGetHierarchyTable ROP ([MS-OXCROPS] section 2.2.4.13) is used to retrieve the hierarchy table for a folder. /// </summary> public class RopGetHierarchyTableRequest : Bloc...
C#
egion //region Accent color dependent part private fun LottieAnimationView.updateAccentColorDependentColors(accentColor: LocalSettings.AccentColor, position: Int) { val palette = context.getPaletteFor(accentColor) val pathsToColor = getPathsToColorFromPalette(palette) colorPaths(pathsTo...
Kotlin
odes with slope estimation methods //! * `SlopeMethod`: Enum for slope estimation methods //! * `Akima`: Akima's method to estimate slopes ([Akima (1970)](https://dl.acm.org/doi/abs/10.1145/321607.321609)) //! * `Quadratic`: Using quadratic interpolation to estimate slopes //! //! ## Usage //! //! ```rust //!...
Rust
// Copyright 2020 Intel Corporation #pragma once #include <memory> #include <string> #include <unordered_map> #include <vector> #include "mlir/IR/BuiltinOps.h" #include "mlir/IR/BuiltinTypes.h" #include "pmlc/util/buffer.h" namespace mlir { class OpPassManager; } // namespace mlir namespace pmlc::compiler { stru...
C
from 'url'; // TODO(aomarks) Add to DefinitelyTyped. interface TestWithTeardown extends Test { teardown(fn: () => void): void; } /** * Run lit-localize end-to-end using input and golden files from the filesystem. * * Data files will be read from the "<repo root>/testdata/<name>/" directory, * which should cont...
Typescript
import numpy as np a = np.arange(49).reshape(7,7) # Use fancy indexing to specify rows and columns desired. ridx = [0, 2, 4] cidx = [1, 3, 5] result = a[ridx, cidx] print('result.shape', result.shape) print('result ', result)
Python
旨为教育应由本国人自办,宗教应与教 育分离不许外国在中国制造教民的教会学校存在,致丧失了主权,破坏了教育。……十四年五卅惨案发生,独教会学校不许学生自由参与爱国运动,使收回教育权的 主张在事实上更感必要,无论何人必要来推进这个运动了。……推进这种运动的人自然不只我们,不过发动这个运动的是我们,继续不断的参加这个运动的是我,以 事要彻底完成这个运动的,那就希望不只是我们。”(《近代国家主义运动史》)<br><br>就连现今的西人自己也对精神鸦片有所提防:<br>2004 年2月10日,法国国民大会以压倒性攻势通过了“严禁在公共场所佩戴明显的宗教标志,包括伊斯兰的头巾,基督徒的大型十字架等等,学生违反此法的,可被学 校开除”的法案。在土...
Markdown
using System; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace PayrollManagementSys.Data.Migrations { /// <inheritdoc /> public partial class mig10 : Migration { /// <inheritdoc /> protected override void Up(MigrationBuilder migrationBuilder) { ...
C#
title_duplicate: false, }; return HttpResponse::build(StatusCode::OK).json(response); } let result = connection.transaction::<_, Error, _>(|| { let insert_file = InsertFile { uploader_id: auth.user_id, t...
Rust
# -*- coding: utf-8 -*- import unittest import os from pprint import pprint from itertools import cycle from .fixtures import Memo, PublicKey, PrivateKey from graphenebase.memo import get_shared_secret, _pad, _unpad, encode_memo, decode_memo test_cases = [ { "from": "GPH7FPzbN7hnRk24T3Nh9MYM1xBaF5xyRYu8Wty...
Python
), ScratchData)) self.assertTrue(isinstance(self.nwbfile.scratch['test'], ScratchData)) self.assertEqual(self.nwbfile.scratch['test'].data, [1, 2, 3, 4]) def test_get_scratch_df_convert_false(self): data = pd.DataFrame(data={'col1': [1, 2, 3, 4], 'col2': ['a', 'b', 'c', 'd']}) self....
Python
{r4-r7,lr} add sp, #-0x1c mov r6, r2 mov r5, r1 mov r1, r3 add r7, sp, #0x10 mov r2, #0x0 str r2, [r7, #0x0] ldr r3, [sp, #0x30] str r2, [r7, #0x4] ldr r4, [sp, #0x38] str r2, [r7, #0x8] cmp r3, #0x5 bhi branch_2223d7e add r3, r3, r3 add r3, pc...
Assembly
("\uD83E\uDD1D_\uDFFF_\uDFFE", "\uD83E\uDEF1\uD83C\uDFFF\u200D\uD83E\uDEF2\uD83C\uDFFE" /* 🫱🏿‍🫲🏾 */), Pair("\uD83D\uDC8F_\uDFFB", "\uD83D\uDC8F\uD83C\uDFFB" /* 💏🏻 */), Pair("\uD83D\uDC8F_\uDFFC", "\uD83D\uDC8F\uD83C\uDFFC" /* 💏🏼 */), Pair("\uD83D\uDC8F_\uDFFD", "\uD83D\uDC8F\uD83C\uDFFD" /* 💏🏽 */), Pa...
Kotlin
pUrlCtrl; } CButtonCtrl* CPanel::AddButton(int nID, LPCTSTR sButtonText, ButtonPressedHandler* buttonPressedHandler, void* pContext, int nParameter) { CButtonCtrl* pButtonCtrl = new CButtonCtrl(this, sButtonText, buttonPressedHandler, pContext, nParameter); m_controls[nID] = pButtonCtrl; return pButtonCtrl; } CBu...
C++
e 4.0"> <meta name="description" content="Citizens for Limited Taxation &amp; Government, Citizens for Limited Taxation, CLT&amp;G, CLT, Taxpayer organization located in Massachusetts"> <meta name="keywords" content="CLT&amp;G, CLT, tax, taxes, taxpayer, taxpayers, tax cut, limited government, education, Barbara Anders...
HTML
--================================================================ suites = { { -- suite_id = 0, -- description = , monsters = { 1196, 1197, 1199, 1200, 1201, 1202, 1203, 1204, 1205, 1206, 1207, 1208, 1209, 1210, 1211, 1212 }, gadgets = { 30
Lua
t { framework.L.Warn().Msg("Received 504 Gateway Timeout again. This may be due to the Vault DON not being ready yet. Retrying 2nd time in 30 seconds...") time.Sleep(30 * time.Second) statusCode, _ = sendVaultRequestToGateway(t, gatewayURL, requestBody) } } require.Equal(t, http.StatusOK, statusCode, "Gate...
Go
stderr.writeln(r'No $GEMINI_API_KEY environment variable'); exit(1); } final embeddingModel = GenerativeModel( apiKey: apiKey, model: 'gemini-embedding-001', ); final queryEmbeddings = await embeddingModel .embedContent(Content.text(javaSnippet)) .then((embedContent) ...
Dart
<label class="toggle" for="toggle-top-s{{ loop.index }}"> <input type="checkbox" name="toggle" id="toggle-top-s{{ loop.index }}" class="toggle-input" tabindex="-1" /> <span class="toggle-display"></span> </label> {% endfor %} <label class="toggle middle" for="to...
HTML
ra #searchParams div.ember-view > div { min-height: 38px; clear: both; } .mura #searchParams .mura-control { height: 38px; } .mura .mura-control-group input.radio:focus, .mura .mura-control-group input.checkbox:focus, .mura .mura-control-group input[type=radio]:focus, .mura .mura-control-group input[type=checkbox...
CSS
nbsp;</div> <div class="col-first odd-row-color"><code>static final <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div> <div class="col-second odd-row-color"><code><a href="#SQLG_SCHEMA_PARTITI...
HTML
> div > div.st-emotion-cache-0.e1f1d6gn0 > div > div > div:nth-child(1) > div.st-emotion-cache-115gedg.e1f1d6gn3 > div > div > div > div.st-emotion-cache-ocqkz7.e1f1d6gn5 > div { background-color: black; border-radius: 10px; padding: 5%; display: flex; justify-content: center; align-it...
CSS
0">getPIParamValueFloat</a>(int32_t controlID);</div><div class="line"><a name="l00312"></a><span class="lineno"> 312</span>&#160;</div><div class="line"><a name="l00314"></a><span class="lineno"> 314</span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_plugin_base.html#a203f5f9db02566afaf...
HTML
ring, } #[derive(Serialize, Deserialize, Clone, Debug, Default)] struct BigStruct { id: String, name: String, comment: String, objects: Vec<Obj>, hi: String, counter: u32, } impl TryFrom for BigStruct { type TryFrom = BigStruct; } fn build_big() -> BigStruct { let mut objects = Vec::new(); for i in...
Rust
H1Ml3sBCgNu.aF4;_ylu=X3oDMTE2OTFkNXQxBHBvcwMxBHNlYwN5bi1yLWItbGVmdARzbGsDZXYtdS5zLnR1cm5z" class="showtt" rel=":nm:20100831:bs_nm:us_usa_china_currency_4"> U.S. turns down China currency probes in two cases </a> <cit...
HTML
name + " - %s" % instance self.submit_job( context, payload, instances=[instance], deadline=AVALON_DEADLINE ) else: # Submit a single job self.submit_job( conte...
Python
e: String, alphabetical: Boolean = false, divAtTop: Boolean = true, block: StructureDir<R>.() -> Unit ): StructureDir<R> { return StructureDir<R>(name, alphabetical, divAtTop).apply(block) }package org.simbrain.util import org.simbrain.util.SimpleIdManager.SimpleId import java.util.concurrent.atomic.At...
Kotlin
static Struct_1A35E gnome_ages = new Struct_1A35E(new SubStruct_1A35E[] { new SubStruct_1A35E( 0x12C, 3, 0xC), new SubStruct_1A35E( 0, 0, 0), new SubStruct_1A35E( 0x3C, 5, 4), new SubStruct_1A35E( 0, 0, 0), new SubStruct_1A35E( 0, 0, 0), new SubStruct_1A35E( 100, 2, 0x0C), new SubStruct_1A...
C#
pace() { word_list.push({ let mut internal_annotations: Vec<InternalWordAnnotation> = vec![]; if config.srt_config.timestamp_linking { internal_annotations.push(InternalWordAnnotation::SRTUrlSuffix( SRTWordListGe...
Rust
; ; Dcompactage d'une image DEGAS compacte dans les 3 rsolutions. ; Appel du Basic : CALL Depac (L Source, L Objet, Plan%) ; ; Programmation : Pierre-Jean Goulier. ; move.l 4(sp),a0 ; Adresse source. add #34,a0 ; + l'en-tte => A0. move.l 8(sp),a1 ; Adresse objet => A1. move 12(sp),d3 ; Nb de plans => D3. ...
Assembly
%E8%8C%B6%E4%BC%9A%EF%BC%89#7" title="梦(疯帽子茶会)">童心流转・啓夢</a></b> &#91;04:35&#93;<dl><dd><a href="./梦(疯帽子茶会).md" title="梦(疯帽子茶会)">梦</a> (2020-12-26)<br>翻唱:<a href="./Darkxixin.md" title="Darkxixin">Darkxixin</a><br>作词:<a href="./铃音舞希.md" title="铃音舞希">铃音舞希</a><br></dd></dl></td></tr></tbody></table> - 歌词语言:日文- 歌词翻译:[煙霞](...
Markdown
// Copyright (C) 2014-2025 CEA, EDF // // This 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 Foundation; either // version 2.1 of the License, or (at your option) any later version. // // This library ...
C
================================================================= # Disable supplies, close plots, log files, and FPGA on exit # ============================================================================= finally: dut.FrameController.end_blitz() print("Finished blitzing histograms") ...
Python
cular, make sure the space bar doesn't scroll the main window. if (typeof e.stopPropagation === 'function') { e.stopPropagation(); e.preventDefault(); } else if (window.event && window.event.hasOwnProperty('cancelBubble')) { window.event.cancelBubble = true; } }; exports.hasClass = hasClass; exports....
JavaScript
entry: 'src/index.ts', }) ``` ### 构建多个输出 `tsdown` 还支持从配置文件返回一个**配置数组**。这允许您在一次运行中使用不同的设置构建多个输出。例如: ```ts [tsdown.config.ts] import { defineConfig } from 'tsdown/config' export default defineConfig([ { entry: 'src/entry1.ts', platform: 'node', }, { entry: 'src/entry2.ts', platform: 'browser',...
Markdown
executive::Executive<Runtime, Block, ChainContext<Runtime>, Runtime, AllPallets>; pub type ClassId = u32; pub type InstanceId = u32; pub type OctopusAssetId = u32; pub type OctopusAssetBalance = u128; pub struct OctopusAppCrypto; /// Opaque types. These are used by the CLI to instantiate machinery that don't need to ...
Rust
SIZE_DIALOG -> textView.textSize = when (textSizePref) { Preferences.TEXT_SIZE_SMALL -> 16f Preferences.TEXT_SIZE_NORMAL -> 18f Preferences.TEXT_SIZE_LARGE -> 20f Preferences.TEXT_SIZE_LARGER -> 24f Preferences.TEXT_SIZE_SUPER...
Kotlin
) == '\n'); } /* * find the index of the boundary, if exists, or optionally the next end of line * also returns how many bytes to skip */ static int index_of(ceph::bufferlist& bl, uint64_t max_len, const std::string& str, const bool check_crlf, ...
C++
bg-gray-100 px-4 py-2 text-sm font-medium text-gray-700"> General </a> </li> <li> <details class="group [&_summary::-webkit-details-marker]:hidden"> <summary class="flex cursor-pointer items-center justify-between rounded-lg px-4 py-2 text-gray-500 hover:bg-gray-100 hover:text-gray-700...
HTML
n: string; role: string; name: string; status?: string; constructor(user?: User) { if(user) Object.assign(this, user); } }import mongoose, { Schema, Document } from 'mongoose' import bcrypt from 'bcryptjs' /** * @description user model */ interface IUser extends Document { ...
Typescript
ndsGuard.CAN_I_GO_ON_THE_QUEST); } else if (opt3 == 1) { legendsGuardDialogue(player, n, LegendsGuard.WHAT_KIND_OF_QUEST_IS_IT); } break; case LegendsGuard.ITS_OK_THANKS: npcsay(player, n, player.getText("LegendsQuestGuildGuardVeryWell")); break; case LegendsGuard.CAN_I_GO_ON_THE_...
Java
/* The kernel call that is implemented in this file: * m_type: SYS_SPROFILE * * The parameters for this kernel call are: * m7_i1: PROF_ACTION (start/stop profiling) * m7_i2: PROF_MEM_SIZE (available memory for data) * m7_i3: PROF_FREQ (requested sample frequency) * m7_...
C