content
stringlengths
2
6.21k
label
stringclasses
16 values
1.4929078, 1.4969554, 1.5010141, 1.5050838, 1.5091645, 1.5132562, 1.517359, 1.5214729, 1.5255982, 1.5297345, 1.533882, 1.5380408, 1.5422108, 1.5463922, 1.5505849, 1.554789, 1.5590044, 1.5632313, 1.5674696, 1.5717194, 1.5759809, 1.5802537, 1.5845382, 1.5888345, 1.5931423, 1.5974616, 1.6017927, 1...
Rust
em;height:1em}.i-tabler\:sitemap-off{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M3 17a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2a2 2 0 0...
CSS
3 BA 14 */ add r3, r3, r23 /* 8001C0E8 00018EE8 38 C4 67 78 */ addi r6, r4, lbl_80496778@l /* 8001C0EC 00018EEC 7C 83 02 14 */ add r4, r3, r0 /* 8001C0F0 00018EF0 88 04 00 8A */ lbz r0, 0x8a(r4) /* 8001C0F4 00018EF4 7F C3 F3 78 */ mr r3, r30 /* 8001C0F8 00018EF8 7F E4 FB 78 */ mr r4, r31 /* 8001C0FC 00018EFC 7C 0...
Assembly
Diagnostics); TypeReflection* SpecializeType( TypeReflection* type, SpecializationArg* specializationArgs, SlangInt specializationArgCount, out ISlangBlob* outDiagnostics); TypeLayoutReflection* GetTypeLayout( TypeReflection* type, SlangInt targetIndex, ...
C#
: &'a f64, eth_price: &'a f64, coingecko_link: &'a str, ) -> TokenInfo { TokenInfo { contract_address: contract_address.to_string(), balance: *balance, usd_price: *usd_price, eth_price: *eth_price, usd_balance: balance * usd_price, ...
Rust
screen and (max-width: 600px) { .welcome-panel-header { padding: 32px 32px 64px; } .welcome-panel-header-image { display: none; } } @media screen and (max-width: 480px) { .welcome-panel-column { gap: 16px; } } @media screen and (max-width: 360px) { .welcome-panel-column { grid-template-columns: 1fr; ...
CSS
p[Seqno]Probe) map[Seqno]Probe { if x == nil { return nil } ret := make(map[Seqno]Probe, len(x)) for k, v := range x { kCopy := k.DeepCopy() vCopy := v.DeepCopy() ret[kCopy] = vCopy } return ret })(o.PostProbes), Tails: (func(x map[Seqno]LinkID) map[Seqno]LinkID { if x == nil { ...
Go
正菓級'}, {'62929', '正鍋級', '正鍋級'}, {'62930', '血浆经济', '血浆经济'}, {'62931', '卖血致富', '卖血致富'}, {'62932', '卖血救国', '卖血救国'}, {'62933', '献血致富', '献血致富'}, {'62934', '天朝血霍', '天朝血霍'}, {'62935', '中共血祸', '中共血祸'}, {'62936', '河南艾滋', '河南艾滋'}, {'62937', '艾滋卖血', '艾滋卖血'}, {'62938', '汐大劲萍', '汐大劲萍'}, {'62939', '汐jinP阴', '汐jinP阴'}, {'62940', 'xi经...
Lua
= descriptor.get var set = descriptor.set // wrap getter if (typeof get === 'function') { descriptor.get = function getter () { log.call(deprecate, message, site) return get.apply(this, arguments) } } // wrap setter if (typeof set === 'function') { descriptor.set = function setter ...
JavaScript
h class="cls-1" d="M101.12,36.93h0L43.27,137.21H159L101.13,36.94Zm0,88.7a7.71,7.71,0,1,1,7.71-7.71A7.71,7.71,0,0,1,101.12,125.63Zm7.71-50.13a7.56,7.56,0,0,1-.11,1.3l-3.8,22.49a3.86,3.86,0,0,1-7.61,0l-3.8-22.49a8,8,0,0,1-.11-1.3,7.71,7.71,0,1,1,15.43,0Z" ></path> </g> ...
HTML
] fn one_row() { let pt = PascalsTriangle::new(1); let expected: Vec<Vec<u32>> = vec![vec![1]]; assert_eq!(expected, pt.rows()); } #[test] #[ignore] fn two_rows() { let pt = PascalsTriangle::new(2); let expected: Vec<Vec<u32>> = vec![vec![1], vec![1, 1]]; assert_eq!(expected, pt.rows()); } #[t...
Rust
*************************************** subroutine get_scattered_array4(ivar,layer,src,dest,timediff,ahead) use Cdata, only:ldiagnos, iproc integer :: ivar,layer real, dimension(:,:) :: dest real, dimension(:,:), optional :: ahead type(scattered_array), pointer :: src real :: timediff ...
C
F20240615-091747.png) MAVEN_OPTS : -Xms256m -Xmx512m(``注意:可以不配置``) ![](https://javapub-common-oss.oss-cn-beijing.aliyuncs.com/javapub/2024%2F06%2F15%2F20240615-091740.jpeg) **2. 设置系统环境变量path** 在Path中追加: %MAVEN_HOME%\bin ![image-20200610223813357](https://javapub-common-oss.oss-cn-beijing.aliyuncs.com/javapub/2024%...
Markdown
using System; using System.Collections; using System.Runtime.InteropServices; using Common.Core.Mathematics; namespace Common.Core.LinearAlgebra { [StructLayout(LayoutKind.Sequential)] public struct Vector4i { public int x, y, z, w; /// <summary> /// The unit x vector. /// </summa...
C#
white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html?br/gov/jfrj/siga/base/package-summary.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<SCRIPT type="text/javascript"> <!-- if(window==top) { docume...
HTML
permissions and * limitations under the License. */ package com.paulrybitskyi.hiltbinder.sample.activity import com.paulrybitskyi.hiltbinder.sample.ksp.java.activity.KspJavaActivityDep1 import com.paulrybitskyi.hiltbinder.sample.ksp.java.activity.KspJavaActivityDep10 import com.paulrybitskyi.hiltbinder.sample.ksp....
Kotlin
0 bWludXM= 40191 IEplcmVtaWFo 40192 YXRhcnM= 40193 VGVycm9y 40194 IFRvcw== 40195 IFNoYXJtYQ== 40196 YXN0YQ== 40197 Y2F0Y2g= 40198 IHBsdW1iaW5n 40199 IFRpbWJlcnM= 40200 U2hhcg== 40201 SGFs 40202 IE9zYw== 40203 IGNvdXBsaW5n 40204 aHVtYW5z 40205 IHNwb25nZQ== 40206 IGlkb2xz 40207 IFNwYQ== 40208 IEFkdm9jYXRl 40209 IEJlYXRz ...
Kotlin
<h1> 张国华接见西藏“造总”代表时的讲话 </h1> <p> 日期:1968-5-7 作者:张国华 </p> <em> 张国华 </em> <h3> <em> 时间:一九六八年五月七日晚九时 </em> </h3> <h3> <em> 地点:京西宾馆 </em> </h3> <h3> <em> (记录稿,未经本人审阅) </em> </h3> <p> 今天了解同志们的意见,有些话和同志们讲一次,我还是西藏人嘛!把我个人的意见,观点对同志们讲讲,不是指示,是意见,供同志们考虑。 </p> ...
HTML
0",from:"coolGray",to:"gray"}),this.gray},get blueGray(){return qr({version:"v3.0",from:"blueGray",to:"slate"}),this.slate}}});function Hs(r,...e){for(let t of e){for(let i in t)r?.hasOwnProperty?.(i)||(r[i]=t[i]);for(let i of Object.getOwnPropertySymbols(t))r?.hasOwnProperty?.(i)||(r[i]=t[i])}return r}var Ef=P(()=>{u(...
CSS
*mut *mut u8, pcbpropertylistsize: *mut u32) -> u32; #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] pub fn ResUtilGetPrivateProperties(hkeyclusterkey: super::super::System::Registry::HKEY, poutpropertylist: *mut ::cor...
Rust
DO: `execCommand` is deprecated. Find a new solution. document.execCommand("insertText", false, text) } private fun checkKeyCommand(event: KeyboardEvent) { if (event.keyCode == Key.KEY_ENTER && event.commandKey || event.keyCode == Key.KEY_ESC) { dismiss() } } } /* * Cop...
Kotlin
DGInteger( dq->u_long_value2, TY_UINT_2 ); size += TARGET_SHORT; } break; case QDT_INT: case QDT_UINT: DGInteger( dq->u_long_value1, TY_INTEGER ); size += TARGET_INT; if( dq->flags & Q_2_INTS_IN_ONE ) { DGInteger( dq->u_long_value2, TY_INT...
C
l#.ConstructorOptions const cylinderEntity = new Cesium.Entity({ position: Cesium.Cartesian3.fromDegrees(-100, 30, 150), cylinder: { material: Cesium.Color.fromCssColorString("rgba(255,240,0, 0.35)"), length: 100, //圆柱体的长度 topRadius: 0, //顶部半径 bottomRadius: 30, } ...
HTML
glUniform4i(location: GLint, v0: GLint, v1: GLint, v2: GLint, v3: GLint) fun glUniform4iv(location: GLint, count: GLsizei, value: IntPtr) fun glUniformMatrix2fv(location: GLint, count: GLsizei, transpose: GLboolean, value: FloatPtr) fun glUniformMatrix3fv(location: GLint, count: GLsizei, transpose: GLboole...
Kotlin
{ panic!("socket creation should have failed"); } } } } <reponame>interchainio/tendermint-rs<gh_stars>10-100 //! CanonicalProposal use core::convert::{TryFrom, TryInto}; use tendermint_proto::{types::CanonicalProposal as RawCanonicalProposal, Protobuf}; use super::Type; use c...
Rust
"TestJidaoForm"; this.Text = "TestJidaoForm"; this.Load += new System.EventHandler(this.TestJidaoForm_Load); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); } #...
C#
W + 1): # dp[w] 取「前 i - 1 种物品装入载重为 w 的背包中的最大价值」与「前 i 种物品装入载重为 w - weight[i - 1] 的背包中,再装入 1 件第 i - 1 种物品所得的最大价值」两者中的最大值 dp[w] = max(dp[w], dp[w - weight_new[i - 1]] + value_new[i - 1]) return dp[W] ``` #### 思路 1:复杂度分析 - **时间复杂度**:$O(W \times \sum \l...
Markdown
0.size()); } }// Copyright (c) 2019-present, Facebook, Inc. // All rights reserved. // // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // import java.util. *; import java.util.stream.*; import java.lang.*; import javafx.util.Pair; public class M...
Java
x71\xf2\xf0\x36\x24\xfb\x74\x93\x0f\xd5\x1d\x79\x4b\x91\xc2\x8a\xa8\x2c\x3c\xd7\xaa\x24\x7f\x32\xba\xaa\xb8\x99\xaf\xaf\xb3\x45\xbe\x2a\xb2\xcb\x51\x9b\xef\x3c\x9b\x7e\x84\x00\x1b\x45\xba\x5c\xd2\x66\xd8\xf9\xd3\x2b\x30\xde\x8b\xfd\x59\x24\xcd\xb2\xe0\x50\xd2\xb3\x26\xae\x8a\x17\xdf\x1e\x22\xc6\x2a\x24\x8e\xcb\x23\x71\...
Go
, c.GetDefinition().FinalizerName(), classes)) targetclasses := controller.NewTargetClassesByOption(c, OPT_TARGET_CLASS, dns.CLASS_ANNOTATION, classes) slaves, err := reconcilers.NewSlaveAccessBySpec(c, NewSlaveAccessSpec(c, sourceType)) if err != nil { return nil, err } reconciler := &sourceReconciler{ ...
Go
, ol.plain ul, ol.plain ol, ul.inline, ol.inline, ul.collapse, ol.collapse { padding-left: 0; list-style-type: none; } /*Child lists*/ ul.plain ul, ul.plain ol, ol.plain ul, ol.plain ol, ul.inline ul, ul.inline ol, ol.inline ul, ol.inline ol, ul.collapse ul, ul.collapse ol, ol.collapse ul, ol.collapse ol { margin-t...
CSS
(new Binding(name[i], new ScriptExpression("row._outer." + name[i], dataType[i]))); } queryDefn.addSubquery(subQueryDefn); DataEngine myDataEngine = new DataEngineImpl( DataEngineContext.newInstance(DataEngineContext.DIRECT_PRESENTATION, null, null, null)); IResultIterator ri = myDataEngine.prepare(qu...
Java
int i = 0; i < numOfFields; i++) reader.readByte(): reader.read(), }; return Media( tmdbID: fields[0] as int, title: fields[1] as String, posterUrl: fields[2] as String, backdropUrl: fields[3] as String, voteAverage: fields[4] as double, releaseDate: fields[5] as String, ...
Dart
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/NearField.framework/NearField */ @interface NFContactlessPaymentEndEvent : NSObject <NSSecureCoding> { NSDecimalNumber * _amount; NFApplet * _applet; NSString * _appletIdentifier; unsigned short _command; NSString * _curre...
C
quire_3 = 3, profiles = "突如現れたセイレーン艦隊。戦うべき敵は違う信念を持つ者か、それともヒトに仇すモノか", difficulty = 5, avoid_ratio = 11, star_require_2 = 2, time = 43200, win_condition_display = "win_condition_display_qijian", submarine_num = 1, avoid_require = 106, scale = { 0.34, 0.53, 1.5 }, limitation = {}, property...
Lua
asObject is Parallelogram) { final skew = rect.width * 0.25; final path = Path() ..moveTo(rect.left + skew, rect.top) ..lineTo(rect.right, rect.top) ..lineTo(rect.right - skew, rect.bottom) ..lineTo(rect.left, rect.bottom) ..close(); ...
Dart
: String? = ... * assertThat(name).isNotNull().hasLength(4) * ``` */ fun <T : Any> Assert<T?>.isNotNull(): Assert<T> = transform { actual -> actual ?: expected("to not be null") } /** * Returns an assert that asserts on the given property of the value. * @param name The name of the property to show in failure...
Kotlin
# # (C) Copyright Cloudlab URV 2021 # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wr...
Python
75 0 .987-.009 1.358.049 1.676.26 2.15 1.485 2.279 2.273.06.37.043.982.043 1.357v9.14a.68.68 45 0 0 .68.68h.14a.68.68 45 0 1 .68.68v3.64a.68.68 135 0 1-.68.68h-.14a.68.68 135 0 0-.68.68v9.14c0 .375.017.988-.044 1.358-.13.787-.604 2.013-2.279 2.273-.37.057-.982.05-1.358.05H5.18c-.375 0-.987.007-1.358-.052-1.644-.264-2.1...
CSS
tViewPort.pointSize(area.width)).round(); _hitTestLinePoints.clear(); for ( int point = pointViewPort.startPoint.floor(); point <= pointViewPort.endPoint.ceil(); point++ ) { double? value = dataSource.getSeriesValue( point: point, key: graph.valueKey, ); i...
Dart
( 0 ) ); cookie_cart = this.storeCartService.query( "select obj from StoreCart obj where obj.cart_session_id=:cart_session_id and obj.sc_status=:sc_status", params, -1, -1 ); } for( StoreCart sc : user_cart ) { boolean sc_add = true; for( StoreCart sc1 : cart ) { if( sc1.getStore().getId().equals( sc....
Java
fetch(&id).await?; tokio::task::spawn_blocking(move || { database::get_global_connection().and_then(|conn| { conn.execute_named( include_str!("sql/youtube/add_video.sql"), &[ (":vid", &id), (":ts...
Rust
sDescriptor instead') const TestMaps_MSfixed32Entry$json = const { '1': 'MSfixed32Entry', '2': const [ const {'1': 'key', '3': 1, '4': 1, '5': 15, '10': 'key'}, const { '1': 'value', '3': 2, '4': 1, '5': 11, '6': '.protobuf_unittest.TestIntIntMap', '10': 'value' }, ...
Dart
kground */ gchar* filepath = meh_db_get_executable_resource_path(app->db, executable, "screenshot"); if (filepath == NULL) { /* try fanarts if no screenshots available */ meh_db_get_executable_resource_path(app->db, executable, "fanart"); } if (filepath != NULL) { data->background = meh_image_load_file(ap...
C
�生,深度参与AI内容生产与编辑工作,学习行业前沿的AIGC应用技能,并在实践中积累内容策划与多模态生产的实战经验; 能独立使用AI工具进行文字内容的生产和创作; 能独立完成AI生成内容的编辑、校对与优化,确保内容准确性、流畅性、逻辑性及场景适配性; 协助制定内容质量标准体系,根据标准审核AI生成内容并进行分级; 参与热点资讯、活动专题等内容策划,协助完成选题挖掘与素材整理; 探索AI工具(如ChatGPT、Deepseek、MidJourney等)的辅助创作能力,提升内容生产效率; 职位要求 本科及以上在读,中文、新闻、传播、广告等相关专业优先; 文字功底扎实,具备基础的内容创作和编辑能力; 对AI内容创作感兴趣,了解ChatGP...
Markdown
vuldb.com/?submit.591376<br>[5]https://www.tenda.com.cn/ | Total Results: 440, High Severity: 118, Timestamp: 2025-04-02 08:10:13 Start Date:now;End Date:2025-04-01 | No. | CVE ID | Base Score | Severity | Description | References | |-----|--------|------------|----------|-------------|------------| | 1 | CVE-2025-2138...
Markdown
float range[2]; float inv_resolution[2]; float uv_min[2]; float uv_max[2]; }; Push push = { { float(rect.x) / FB_WIDTH, float(rect.y) / FB_HEIGHT }, { float(rect.width) / FB_WIDTH, float(rect.height) / FB_HEIGHT }, { 1.0f / (FB_WIDTH * current_scale), 1.0f / (FB_HEIGHT * current_scale) }, {...
C++
> ]]-- native "TASK_STAY_IN_COVER" hash "0xE5DA8615A6180789" jhash (0xA27A9413) arguments { Ped "ped", } returns "void" --[[! <summary> x, y, z: offset in world coords from some entity. </summary> ]]-- native "ADD_VEHICLE_SUBTASK_ATTACK_COORD" hash "0x5CF0D8F9BBA0DD75" jhash (0x50779A2C) arguments { Ped "...
Lua
// The MIT License (MIT) // // Copyright (c) Microsoft Corporation // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to us...
C#
mongodb.client.model.DropIndexOptions; import com.mongodb.client.model.IndexModel; import com.mongodb.client.model.IndexOptions; import org.bson.Document; import org.bson.conversions.Bson; import java.io.Serializable; import java.util.ArrayList; import java.util.Collection; import java.util.List; import java.util.Map;...
Java
= append(output, line) line = string(c) continue } line = line + string(c) } return t.appendLast(output, line) } func (t text) Trim(value string) string { return strings.Trim(value, " \t\n\r") } func (t text) MeasureLines(r Renderer, lines []string, style Style) Box { style.WriteTextOptionsToRenderer(r...
Go
es). This provides a * fresh buffer of pixels to play with. Set the size of the buffer with the * width and height parameters. * <br><br> * .pixels gives access to an array containing the values for all the pixels * in the display window. * These values are numbers. This array is the size (including an appropriat...
JavaScript
k::AccessFlagBits::eTransferRead, vk::ImageLayout::eShaderReadOnlyOptimal, vk::ImageLayout::eTransferSrcOptimal, VK_QUEUE_FAMILY_IGNORED, VK_QUEUE_FAMILY_IGNORED, screenTexture[frameBufferingIndex].get(), vk::ImageSubresourceRange(vk::ImageAspectFlagBits::eColor, 0, 1, 0, 1) ), } ); // Clear swapc...
C++
["hé"], ["lùn"]], "危言高论": [["wēi"], ["yán"], ["gāo"], ["lùn"]], "危言覈论": [["wēi"], ["yán"], ["hé"], ["lùn"]], "危言竦论": [["wēi"], ["yán"], ["sǒng"], ["lùn"]], "危言正色": [["wēi"], ["yán"], ["zhèng"], ["sè"]], "危言危行": [["wēi"], ["yán"], ["wēi"], ["xíng"]], "危于累卵": [["wēi"], ["yú"], ["lěi"], ["luǎn"]], "威风八面": [["wēi"], ["fēng...
Typescript
Switch( value: isDarkMode, onChanged: (bool value) { Provider.of<AppThemeMode>(context, listen: false).toggleTheme(); }, ) ], ), ), body: Container( color: barBackgroundColor, child: Container( ...
Dart
аёт их методу `handle`. ```python from vkbottle import Bot, VKAPIError bot = Bot("token") @bot.error_handler.register_error_handler(RuntimeError) async def runtime_error_handler(e: RuntimeError): print("возникла ошибка runtime", e) @bot.error_handler.register_error_handler(VKAPIError[902]) async def unable_to...
Markdown
self.successes = [] def addSuccess(self, test): super(TextTestResultWithSuccesses, self).addSuccess(test) self.successes.append(test) class TextTestRunnerWithSingleResult(TextTestRunner): def __init__(self, *args, **kwargs): super(TextTestRunnerWithSingleResult, self).__init_...
Typescript
let _ = c.print_info(); let zero = TenBitExpFP::zero(); let six = TenBitExpFP::from(6.0); for i in 0..10000 { let (_, n1) = generate_random_number(&mut rng); let (s1, s2) = n1.share(&mut rng); let res_should_be_fp = if n1 <= zero { ze...
Rust
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #pragma once #include <json/json.h> // Disable dllimport for cpprest JSON in any downstream consumers #ifndef _NO_ASYNCRTIMP #define _NO_ASYNCRTIMP #endif #ifndef WINGET_DISABLE_FOR_FUZZING #include <cpprest/json.h> #endif #include <optional>...
C
Bloc), initialChildren: children, ); static const String name = 'CreateYourPasswordRoute'; static _i34.PageInfo page = _i34.PageInfo( name, builder: (data) { final args = data.argsAs<CreateYourPasswordRouteArgs>(); return _i10.CreateYourPasswordScreen( key: args.key, ...
Dart
RN CGError CGSSetWindowAnimationProgress(CGSAnimationObj animation, float progress); /*! DOCUMENTATION PENDING */ CG_EXTERN CGError CGSWindowAnimationChangeLevel(CGSAnimationObj animation, CGWindowLevel level); /*! DOCUMENTATION PENDING */ CG_EXTERN CGError CGSWindowAnimationSetParent(CGSAnimationObj animation, CGSWi...
C
s-invalid{padding-right:calc(1.5em + 0.75rem);background-position:top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem)}.was-validated .form-select:invalid,.form-select.is-invalid{border-color:#e74c3c}.was-validated .form-select:invalid:not([multiple]):not([size]),.was-validated .form-select:invalid:not([multip...
CSS
using MoveIt.Moveables; using MoveIt.Tool; using QCommonLib; using Unity.Entities; using Unity.Mathematics; namespace MoveIt.Overlays.Children { internal class OverlayControlPoint : Overlay { private static readonly EntityArchetype _Archetype = _MIT.EntityManager.CreateArchetype( new Compo...
C#
="string">'application/json;charset=UTF-8'</span></span><br><span class="line"> &#125;);</span><br><span class="line"> </span><br><span class="line"> res.write(<span class="built_in">JSON</span>.stringify(result.body))</span><br><span class="line"> res.end();</span><br><span class="line"> cb()</span><br...
HTML
# Copyright 2019 The Dreamer Authors. All rights reserved. # # 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 applicabl...
Python
: String? = null): Int { if (key == null) return -1 return if ((shareFlag and SHARE_KEYS) != 0) { stringKeyPool.getOrPut(key) { val pos: Int = buffer.writePosition buffer.put(key) buffer.put(ZeroByte) pos } } else { val pos: Int = buffer.writePosition ...
Kotlin
. */</p> <p> MINIX SOURCE CODE</p> <p> File: kernel/proc.c</p> <p> 475</p> <p> 2050 sender_ptr = caller_ptr-&gt;p_callerq;</p> <p> 2051 while (sender_ptr != NIL_PR0C) {</p> <p> 2052 sender = sender_ptr - proc - NFLJASKS;</p> <p> 2053 if (src == ANY || src == sender) {</p> ...
HTML
_REQ_NOTIFY = "LOGIN_REQ_NOTIFY" const val EXT_INIT_FROM_BOOT = "EXT_INIT_FROM_BOOT" const val EXT_MEDIA_PROJECTION_RES_INTENT = "MEDIA_PROJECTION_RES_INTENT" const val EXT_LOGIN_REQ_NOTIFY = "LOGIN_REQ_NOTIFY" // Activity requestCode const val REQ_INVOKE_PERMISSION_ACTIVITY_MEDIA_PROJECTION = 101 const val REQ_REQUES...
Kotlin
e === 1) { let setClass = ' ' + node.className + ' ' classNames.forEach((cl) => { setClass = setClass.replace(' ' + cl + ' ', ' ') }) const rtrim = /^\s+|\s+$/ node.className = setClass.replace(rtrim, '') } } /** * 将传入的配置项转成本地的对象 * @param config {Object} 传入的对...
JavaScript
VIC", 3216, "Primary School", "Williams Rd", "MOUNT DUNEED", "Multi-purpose room", "", "Main gate to school", -38.241, 144.32, 2111401, "Assisted", 768, 27, 2, 1}, PollingPlace{3, "VIC", "Corangamite", 207, 9, "Oberon", 3506, "Current", "Oberon Primary School", "28 Dorothy Ave", "", "", "BELMONT", "VIC", 3216, "Obero...
Go
</div> </form> </div> </div> {% endfor %} </tbody> </table> </div> <!-- add new student modal --> <!-- Modal --> <div class="modal fade" id="addnewstudentModal" tabindex="-1" aria-labelledby="a...
HTML
.signature!=null&&(i.signature=t.signature),t.userDefinedMetadata!=null&&(i.userDefinedMetadata=t.userDefinedMetadata),t.modelInitializer!=null&&(i.modelInitializer=t.modelInitializer);let o=window.URL.createObjectURL(new Blob([JSON.stringify(i)],{type:"application/json"})),s=this.jsonAnchor==null?document.createElemen...
JavaScript
if (typeof error.error === 'object' && "value" in error.error) { return chalk.red(error.error.value); } } else if ("message" in error) { return chalk.red(error.message); } return chalk.red(error); } export enum AlertType{ SUCCESS = 'alert-success', WARNING = 'ale...
Typescript
adius: containerRadius.topRight.x), bottomLeft: MoonSquircleRadius(cornerRadius: containerRadius.bottomLeft.x), bottomRight: MoonSquircleRadius(cornerRadius: containerRadius.bottomRight.x), ); canvas.drawRRect(containerRect, paint); paint.color = valueColor; void drawBa...
Dart
_local(p, t_context, nullptr, true); tb_function_attrib_variable(p->func, c.addr.node, nullptr, -1, "context", cg_debug_type(p->module, t_context)); c.kind = cgAddr_Context; // lb_emit_init_context(p, c); cg_push_context_onto_stack(p, c); // lb_add_debug_context_variable(p, c); return c; } gb_internal cgValue c...
C++
618}, {"period": "2009", "licensed": 3246, "sorned": 661}, {"period": "2008", "licensed": 3257, "sorned": 667}, {"period": "2007", "licensed": 3248, "sorned": 627}, {"period": "2006", "licensed": 3171, "sorned": 660}, {"period": "2005", "licensed": 3171, "sorned": 676}, {"period": "2004", "licensed": 3201, ...
HTML
------------- | ------------- *ANOTHERFAKE_API* | [**call123test_special_tags**](docs/ANOTHERFAKE_API.md#call123test_special_tags) | **Patch** /another-fake/dummy | To test special tags *FAKE_API* | [**create_xml_item**](docs/FAKE_API.md#create_xml_item) | **Post** /fake/create_xml_item | creates an XmlItem *FAKE_API*...
Markdown
pass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_ie.scss */ body.bp sub { vertical-align: text-bottom; } /* line 66, ../../../../../../Library/Ruby/Gems/1.8/gems/compass-0.11.5/frameworks/blueprint/stylesheets/blueprint/_ie.scss */ body.bp hr { margin: -8px auto 11px; } /* line 68, ../../../../../../Library/...
CSS
* * @copyright See AUTHORS.txt * @license The MIT License (MIT); see LICENSE.txt */ /** * Abstract base class for dialogs that allow to insert and edit MediaWiki transclusions, i.e. a * sequence of one or more template invocations that strictly belong to each other (e.g. because * they are unbalanced), possibly ...
JavaScript
} catch (IOException e) { Log.w("SavedState:", "writeToParcel(): Fail to save state to file."); } return state; } // Will be called after setup(), during AnalyzerActivity.onCreate()? @Override public void onRestoreInstanceState(Parcelable state) { if (state insta...
Java
'; if(file_exists($classPath)){ include_once $classPath; } } public function _register(){ //注册自动加载方法loadFunction spl_autoload_register('self::loadFunction'); //或者参数为数组,数组的第一个元素为类名,第二个为要注册的方法名 spl_autoload_register(array('loadClass',...
Markdown
isk.redis.testing.DockerRedisCluster import misk.redis.testing.RedisTestFlushModule import misk.testing.MiskTest import misk.testing.MiskTestModule import redis.clients.jedis.ConnectionPoolConfig import redis.clients.jedis.UnifiedJedis import wisp.deployment.TESTING /** * Provides test coverage/parity for pipelined o...
Kotlin
auxScrollFrame_Update(WhoListScrollFrame, numWhos, WHOS_TO_DISPLAY, FRIENDS_FRAME_WHO_HEIGHT ); PanelTemplates_SetTab(FriendsFrame, 2); ShowUIPanel(FriendsFrame); end function WhoFrameColumn_SetWidth(frame, width) frame:SetWidth(width); _G[frame:GetName().."Middle"]:SetWidth(width - 9); end function WhoFrameDrop...
Lua
" to 1) fun Project.configureAndroidModule( coreLibDesugDep: Provider<MinimalExternalModuleDependency> ) { val isAppModule = plugins.hasPlugin("com.android.application") assert( isAppModule || plugins.hasPlugin("com.android.library") ) { "${javaClass.simpleName} can only be applied to Android projects"...
Kotlin
"SUN", &ettarg, frname, abcorr, target, pos, &sunlt, (ftnlen)3, ( ftnlen)80, abcorr_len, target_len); /* Find the sub-solar point using the specified geometric definition. */ if (eqstr_(method, "Near point", method_len, (ftnlen)10)) { /* Locate the nearest point to the sun on the target. */ nea...
C
:std::coroutine_handle<> Task<T>::await_suspend( ::std::coroutine_handle<P> awaiter) noexcept { return await_suspend(awaiter, awaiter.promise().executor()); } template <typename T> inline ::std::coroutine_handle<> Task<T>::await_suspend( ::std::coroutine_handle<> awaiter) noexcept { return await_suspend(aw...
C
#this file is the riddle of the pere fouras import random import json import time def load_riddles(file): #this loads the json file with the clues and riddles and it puts those in a dicctionary for us to use later with open(file, "r") as f: riddles = json.load(f) return riddles def pere_fouras_gate...
Python
lter_); for ( int i = 0; i < items.Length; ++i ) { if ( (items[i] != null) && (items[i].Length > 0) ) { bool include = (items[i][0] != '-'); string toCompile; if ( items[i][0] == '+' ) { toCompile = items[i].Substring(1, items[i].Length - 1); } else if ( items[i][0] == '-' ) { ...
C#
etimes returns 1:</p> <blockquote> <pre class="code">child = pexpect.spawn('ls')<br>child.expect(pexpect.EOF)<br>print child.isalive()</pre> </blockquote> <p>But if there is any delay before the call to <span class="code">isalive()</span> then it will always return 0 as expected.</p> <blockquote> <pre class="code">...
HTML
PaBTSO", 218]], type : "wondrous item", rarity : "very rare", description : "As an action, I can command this granite sphere to expand to a 20-ft square, 30-ft high tower of adamantine. If it is empty, I can command it to shrink back down as an action. It has two floors and a roof with battlements, connected by lad...
JavaScript
id": "1", "surname": "عمر" }', headers: {'content-type': 'application/json; charset=utf-8'}, ); final familia = await container.familia.findOne(1); expect(familia, Familia(id: '1', surname: 'عمر')); }); test('dispose', () { container.familia.dispose(); expect(container.familia.isInitiali...
Dart
404294, -90.355337000, 4, 7, "US-MS J0.XXX", 30.348405, -89.200325625, 4, 9, "US-MS 000.XX", 34.982545, -90.115566875, 4, 12, "US-MS 700.XX", 31.349444, -89.454979500, 4, 7, "US-MS F00.XX", 32.405944, -88.817056000, 4, 7, "US-MS M00.XX", 34.275644, -88.806289625, 4, 6, "US-MS T00.XX", 33.433044, -91.113825375, 4, 10, "...
Dart
k; goto ret_d; } z = xa > xa0 ? *--xa : 0; w = xa > xa0 ? *--xa : 0; k -= Ebits + 16; d0 = Exp_1 | y << k + 16 | z << k | w >> 16 - k; y = xa > xa0 ? *--xa : 0; d1 = w << k + 16 | y << k; #endif ret_d: #ifdef VAX word0(&d) = d0 >> 16 | d0 << 16; word1(&d) = d1 >> 16 | d1 << 16; #else #undef d0 #undef d1 #...
C++
px-1 xl:px-5 w-full px-3 lg:px-0"><div class="mx-auto flex flex-1 gap-4 text-base md:gap-5 lg:gap-6 md:max-w-3xl lg:max-w-[40rem] xl:max-w-[48rem]"><div class="flex-shrink-0 flex flex-col relative items-end"><div><div class="pt-0"><div class="gizmo-bot-avatar flex h-8 w-8 items-center justify-center overflow-hidden rou...
HTML
kit/log/level" "github.com/golang/protobuf/proto" "github.com/jackal-xmpp/stravaganza" "github.com/jackal-xmpp/stravaganza/jid" resourcemanagerpb "github.com/ortuman/jackal/pkg/c2s/pb" "github.com/ortuman/jackal/pkg/cluster/instance" "github.com/ortuman/jackal/pkg/cluster/kv" kvtypes "github.com/ortuman/jackal/p...
Go
(lv_flex_align_t)v.num; } static inline lv_flex_align_t lv_obj_get_style_flex_cross_place(const lv_obj_t * obj, uint32_t part) { lv_style_value_t v = lv_obj_get_style_prop(obj, part, LV_STYLE_FLEX_CROSS_PLACE); return (lv_flex_align_t)v.num; } static inline lv_flex_align_t lv_obj_get_style_flex_track_place(co...
C
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file dm_alloc.h * @author GPM WBL Application Team * @brief Dynamic Memory Allocator ****************************************************************************** * @attention * * Co...
C
on, }), MouseMsg(MouseEvent{ X: 64, Y: 32, Type: MouseRelease, Button: MouseButtonNone, Action: MouseActionRelease, }), }, }, { "shift+tab", []byte{'\x1b', '[', 'Z'}, []Msg{ KeyMsg{ Type: KeyShiftTab, }, }, }, { "enter", []byte{'...
Go
粉丝破万,总盈利大概十万。 目前相对来说应该是人生的低谷,即将奔三,却方向未明,深夜难眠。 人生失败的三点思考。一,成功的时候要向上社交,不断破圈,结交更高层次更高维度的大佬。二,人一定要有野心,如果你觉得有点成绩沾沾自喜,去奢侈品点走一走,去更繁华的城市看一看,你会发现你啥也不是。三,选择大于努力,一定要选对方向,绝大多数人的成功,是成功在选择。 * * * 回归正题,目前我有 11 个抖音号,其中 2 个号未满千粉,因为效率低下搁置中。一个三万粉号,一个 6000 粉号,其他均在一千粉多一点点,这是上月的收入截图。 ![](img/1ab2075045fdc678612c57c593deab4f.png)![](i...
Markdown
ds StatelessWidget { final _tip = ''' 1.Baseline介绍 根据子项的基线对它们的位置进行定位的widget。Baseline基准线是指将他的子元素放在TextBaseline的基准线上,即子元素的TextBaseline的基准线到Baseline组件顶部的距离为baseline数值。 2.Baseline属性 - baseline:baseline数值,必要参数,从顶部算。 - baselineType:TextBaseline 必要参数,目前有两种类型,alphabetic对齐字符底部的水平线,ideographic对齐表意字符的水平线 - child: '''; Base...
Dart