content
stringlengths
2
6.21k
label
stringclasses
16 values
/* * Copyright (c) 2024 PlayEveryWare * * 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 use, copy, modify, merge, publ...
C#
: 0px; } .tailwind .md\:text-left { text-align: left; } .tailwind .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; } .tailwind .md\:text-5xl { font-size: 3rem; line-height: 1; } .tailwind .md\:tracking-wider { letter-spacing: 0.05em; } .tailwind .md\:text-gray-80...
CSS
.x1, y0: result.y1, x1: result.x0, y1: result.y0 }; } else { best = dist; } } } } } else { best = geometry.distanceT...
JavaScript
// [BC] Allow users to tone down the intensity of the blood on the screen. cnt = (int)( cnt * blood_fade_scalar ); if (cnt) { if (cnt > maxpainblend) cnt = maxpainblend; V_AddBlend (painFlash.r / 255.f, painFlash.g / 255.f, painFlash.b / 255.f, cnt / 255.f, blend); } } // Unlike Doom, I did not h...
C++
watch); } public boolean watch(final Path path) { try { if (pathToKey.containsKey(path)) return true; final WatchKey key = path.register(watchService, ENTRY_CREATE, ENTRY_DELETE, ENTRY_MODIFY); watchedKeys.put(key, path); pathToKey.put(path, key); ...
Java
dr...) b = append(b, plte...) for j := 0; j < i; j++ { b = append(b, trns...) } b = append(b, idat...) b = append(b, iend...) var want color.Color m, err := Decode(bytes.NewReader(b)) switch i { case 0: if err != nil { t.Errorf("%d tRNS chunks: %v", i, err) continue } want = color...
Go
kdWxlIGtleU9mXG4gKi9cblxuLyoqXG4gKiBBbGxvd3MgZXh0cmFjdGlvbiBvZiBhIG1pbmlmaWVkIGtleS4gTGV0J3MgdGhlIGJ1aWxkIHN5c3RlbSBtaW5pZnkga2V5c1xuICogd2l0aG91dCBsb3NpbmcgdGhlIGFiaWxpdHkgdG8gZHluYW1pY2FsbHkgdXNlIGtleSBzdHJpbmdzIGFzIHZhbHVlc1xuICogdGhlbXNlbHZlcy4gUGFzcyBpbiBhbiBvYmplY3Qgd2l0aCBhIHNpbmdsZSBrZXkvdmFsIHBhaXIgYW5kIGl0IHd...
JavaScript
/* * FreeRTOS Kernel <DEVELOPMENT BRANCH> * Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * SPDX-License-Identifier: MIT * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to dea...
Assembly
" class="image" title="悠啼 YU-NARI"><img alt="悠啼 YU-NARI" src="https://upload.thwiki.cc/thumb/c/ca/%E6%82%A0%E5%95%BC_YU-NARI%E5%B0%81%E9%9D%A2.jpg/200px-%E6%82%A0%E5%95%BC_YU-NARI%E5%B0%81%E9%9D%A2.jpg" decoding="async" loading="lazy" width="200" height="200" srcset="https://upload.thwiki.cc/thumb/c/ca/%E6%82%A0%E5%95%...
Markdown
t, $f4 /* 1954FC 801E74AC 000A5880 */ sll $t3, $t2, 2 /* 195500 801E74B0 00CB6021 */ addu $t4, $a2, $t3 /* 195504 801E74B4 C5860000 */ lwc1 $f6, ($t4) /* 195508 801E74B8 3C040001 */ lui $a0, (0x000101F2 >> 16) # lui $a0, 1 /* 19550C 801E74BC 348401F2 */ ori $a0, (0x000101F2 & 0xFFFF) # ori $a0, $a0, 0x1f2 ...
Assembly
id uint32, formatCode int16, target any, depth int) ScanPlan { if depth > 8 { return &scanPlanFail{m: m, oid: oid, formatCode: formatCode} } switch target.(type) { case *string: return &scanPlanAnyToString{} case *[]byte: return &scanPlanJSONToByteSlice{} case BytesScanner: return &scanPlanBinaryBytesToB...
Go
rgumentOutOfRangeException>("bufferSize", () => CreateFileStream(handle, FileAccess.Read, -1)); } } [Fact] public void InvalidBufferSize_DoesNotCloseHandle() { using (var handle = File.OpenHandle(GetTestFilePath(), FileMode.Create, FileAccess.Write)) ...
C#
structcutlass_1_1gemm_1_1threadblock_1_1DefaultMmaCore_3_01Shape___00_01WarpShape___00_01GemmShab94a11a77dd0565102710907089acee0.html#aa0465a28382fbc55c793d4bf595a8a58"> 670</a></span>&#160; &gt;;</div><div class="line"><a name="l00671"></a><span class="lineno"> 671</span>&#160;</div><div class="line"><a name="l0067...
HTML
local mock = {} local l = require('lume') local font local fontSize = 16 local mockTilt function mock.load() font = love.graphics.newFont("Ubuntu-B.ttf", fontSize) mockTilt = {0, 0, 0} end function mock.process(s) if not s.tilt then return end local mx, my = love.mouse.getPosition() if love.keyboard.isDow...
Lua
aper.fromBuffer(issueResponse);</cite></p> <p>This statement processes the response from the <cite>issue</cite> transaction. The response needs to deserialized from a buffer into <cite>paper</cite>, a <cite>CommercialPaper</cite> object which can interpreted correctly by the application.</p> </li> </ul> <p>Feel free to...
HTML
T>> find({ Filter? filter, List<SortOrder>? sort, int? limit, int? offset, }) async { final records = await store.find( db, finder: Finder( filter: filter, sortOrders: sort, limit: limit, offset: offset, ), ); return records .map((r...
Dart
// @(#)root/graf2d:$Id$ // Author: Timur Pocheptsov 5/12/2011 /************************************************************************* * Copyright (C) 1995-2012, Rene Brun and Fons Rademakers. * * All rights reserved. * * ...
C
>(), \ asio::detail::lvref<const std::size_t>()), \ char(0))> ASIO_UNUSED_TYPEDEF #define ASIO_SHUTDOWN_HANDLER_CHECK( \ handler_type, handler) \ \ typedef ASIO_HANDLER_TYPE(handler_type, \ void(asio::error_code)) \ asio_true_handler_type; \ \ ASIO_HANDLER_TYPE_REQUIREMENTS_ASSE...
C++
{ "external_id": o.ExternalId, "role_arn": o.RoleArn, }) } // Type implements basetypes.ObjectValuable. func (o StsRole_SdkV2) Type(ctx context.Context) attr.Type { return types.ObjectType{ AttrTypes: map[string]attr.Type{ "external_id": types.StringType, "role_arn": types.StringType, }, } } ...
Go
начало координат в точки клика this.canvasObj.context.rotate(angle); // повернули все, относительно точки клика this.canvasObj.context.translate(-pointX, -pointY); // вернули начало координат в левый верхний угол + учет поворота, т.е. она сместилась на угол }; DrawCircle(...
Typescript
(&bzerr,b); } if(fp!=stdin && fp!=stdout){ fclose(fp); } } /*---------------------------------------------------*/ /*-- return last error code --*/ static const char *bzerrorstrings[] = { "OK" ,"SEQUENCE_ERROR" ,"PARAM_ERROR" ,"MEM_ERROR" ,"DATA_ERROR" ,"DATA_ER...
C
> XSLT &lt;xsl:with-param&gt; 元素</a> </div> <div class="next-design-link"><a href="http://www.runoob.com/xsl/func-current.html" rel="next"> XSLT current() 函数</a> <i style="font-size:16px;" class="fa fa-arrow-right" aria-hidden="true"></i></div> </div> <div class="article-body"> <div class="article-intro" i...
HTML
mers user interface. /// </summary> /// <param name="commands">The timer user interface commands.</param> public void Update(List<TextBillboardUserInterfaceCommand> commands) { this.textBillboards.Update( Enumerable.Range(0, commands.Count), cr...
C#
(int k = 0; k < 3; ++k) { int max_diff = _max(2, ((params->qt[k + 1].total_values + 0x20) >> 6)); for (int j = 0; j < 3; ++j) for (int i = 0; i < 5; ++i) { info->even[j].lossy_grads[k][i].value1 = max_diff; info->even[j].lossy_grads[k][i].value2 = 1; info->...
C++
;font-size:14px;letter-spacing:.25px;line-height:16px;background:#1a73e8;color:#fff;height:24px;padding:3px 12px 5px}.wvGCSb.HB1eCd-UMrnmb .tk3N6e-LgbsSe.tk3N6e-LgbsSe-JIbuQc.tk3N6e-LgbsSe-OWB6Me{background:#f8f9fa;color:#202124;opacity:.62;height:24px;padding:3px 12px 5px}.wvGCSb.HB1eCd-UMrnmb .tk3N6e-LgbsSe.tk3N6e-Lg...
HTML
phics.getBackBufferWidth(); if (Gdx.input.isTouched(i) && (x >= startX && x <= endX)) { return true; } } return false; } private void getTiles (int startX, int startY, int endX, int endY, Array<Rectangle> tiles) { TiledMapTileLayer layer = (TiledM...
Kotlin
""" Solution for "Binary Tree Zigzag Level Order Traversal" (Leetcode 103) We need to traverse a binary tree level by level, but: Odd levels (1st, 3rd, etc.) should be traversed left to right. Even levels (2nd, 4th, etc.) should be traversed right to left. Approach: BFS (Queue) We will use Breadth-First Search (BFS) ...
Python
= list() for column in range(1, self.mTableClasses.columnCount()): inames = list() for row in range(self.mTableClasses.rowCount()): size = self.relativeClassSizes[column - 1][row] w: QTableWidgetItem = self.mTableClasses.item(row, column) i...
Python
= i + 1; } } } } else { message = format!("{} subgoal(s) remaining:\n", fg.len()); let mut line = 3usize; for goal in fg.into_iter() { let (txt, mut cols, i) = goal_to_string(goal, line); messag...
Rust
All(List(dimension) { base }) fun <T> findAll( dimensions: List<Set<T>>, cardinalities: List<Int> = dimensions.map { it.size }, asList: List<List<T>> = dimensions.map { it.shuffled() } ): Sequence<List<T>> = all(cardinalities).map { (asList zip it).map { (l, i) -> l[i] } } fun all(i: List<Int>, l: List<Int> ...
Kotlin
from django.db import models from django.contrib.auth.models import User from django.forms import ValidationError import re from utils.validacpf import valida_cpf class Perfil(models.Model): class Meta: verbose_name = 'Perfil' verbose_name_plural = 'Perfis' usuario = (models.OneToOneField(Use...
Python
s="code" href="namespacecutlass_1_1gemm.html#a34338284023da7403c9ecbd3f406b2a6a30f767aa191cd5d261e767fd78393607">Operand::kA</a> || kOperand== <a class="code" href="namespacecutlass_1_1gemm.html#a34338284023da7403c9ecbd3f406b2a6a3e56c011b37f0bc78fb9eb175c1181c6">Operand::kB</a>,</div><div class="line"><a name="l00921">...
HTML
#ifndef ED_PROPERTY_KEY_DB_H_ #define ED_PROPERTY_KEY_DB_H_ #include "ed/types.h" #include "ed/property_key.h" #include "ed/property_info.h" #include <map> namespace ed { struct PropertyKeyDBEntry { PropertyKeyDBEntry() : info(nullptr) {} ~PropertyKeyDBEntry() { if (info) delete inf...
C
ecoration:none;color:#000;background-color:transparent">BIZ</span></th> <th class="tg-m0cw"><span style="font-weight:700;font-style:normal;text-decoration:none;color:#000;background-color:transparent">ENT</span></th> <th class="tg-m0cw"><span style="font-weight:700;font-style:normal;text-decoration:none;color:#...
HTML
() { if (bulkQueue.size() > elasticsearchTracingPlugin.getMaxBatchSize() && scheduler.getQueue().isEmpty()) { synchronized (this) { if (scheduler.getQueue().isEmpty()) { scheduler.schedule(spanFlushingRunnable, 0, TimeUnit.SECONDS); } } } } static String getTodaysIndexName() { return "stagem...
Java
} @Override void mixOnValidating() { synchronized (getTreeLock()) { if (mixingLog.isLoggable(PlatformLogger.Level.FINE)) { mixingLog.fine("this = " + this); } if (!isMixingNeeded()) { return; } if (hasHeav...
Java
Module *HostMod = RT->resolveHostModule(ModuleName); if (!HostMod) { ThrowError(ErrorCode::UnknownImport, "module not found"); } const auto &HostFuncs = HostMod->getHostFuntionList(); const uint32_t NumHostFuncs = HostMod->getNumHostFunctions(); uint32_t FoundIdx = NumHostFuncs; // Fast lookup, there ...
C++
', '', ''}, {'1031959', '', '但你从玛哈特的背影里看出了某种情绪——某种地球人拥有的情绪。', '', '', '', '', '', '', '', '', '', '', '', '', '1', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '1031960', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''}, {'1031960', '', '哎……?这位玛哈特小姐,她似乎很伤心呢,要去追吗?', '', '', '', '', '', '', '', ...
Lua
avg', '1d', '', '', '', '', 'memory') }} </div> </div> </div> <div style="clear: left;"></div> System Start: {{ basic.print('systemstart', 'env.system.start', 'short') }},&nbsp; SmartHomeNG Start: {{ basic.print('corestart', 'env.core.start', 'short') }}<br /> {{ lib.connection() }}<br /> <h2>{{ lang('sy...
HTML
return delegatorSharesBuilder_.getCount(); } } /** * <pre> * delegator_shares defines total shares issued to a validator's delegators. * </pre> * * <code>repeated .cosmos.base.v1beta1.DecCoin delegator_shares = 6 [json_name = "delegatorShares", (.gogoproto.nullable...
Java
parts = token_data.split(':') if len(parts) != 4: return False token_user_id, secret, timestamp, signature = parts # 檢查使用者 ID if token_user_id != user_id: ...
Python
[class*=disabledPointerEvents] svg[class^=activityIcon-], .theme-light [class*=disabledPointerEvents] svg[class^=activityIcon-] { color: #a5adcb; } .theme-dark [class*=disabledPointerEvents] [class*=tooltipBrand-] [class*=tooltipText-], .theme-light [class*=disabledPointerEvents] [class*=tooltipBrand-] [class*=toolt...
CSS
-- * Tencent is pleased to support the open source community by making Blueking Container Service available. -- Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. -- Licensed under the MIT License (the "License"); you may not use this file except -- in compliance with the License. You may obtai...
Lua
obe(usb_get_intf(intf), id, &card); if (err < 0) { usb_put_intf(intf); return err; } usb_set_intfdata(intf, card); return 0; } static void snd_us122l_disconnect(struct usb_interface *intf) { struct snd_card *card; struct us122l *us122l; struct list_head *p; card = usb_get_intfdata(intf); if (!card) re...
C
0 banim_frame_oam 0x8000, 0x0, 0xDB, -28, -30 banim_frame_oam 0x4000, 0x0, 0xBE, -4, -38 banim_frame_oam 0x0, 0x4000, 0xCD, -13, -17 banim_frame_oam 0x0, 0x8000, 0x15, -19, -15 banim_frame_oam 0x8000, 0x0, 0x19, 13, -15 banim_frame_oam 0x0, 0x0, 0x79, 13, 9 banim_frame_oam 0x0, 0x0, 0x59, -27, -7 banim_frame_oa...
Assembly
) => x >= 0 ? null : "error"); rxAge.Value.Is(13); rxAge.Value = 20; homuhomu.Child.Age.Is(20); rxAge.Value = -1; // validation error rxAge.Value.Is(-1); homuhomu.Child.Age.Is(20); rxAge.Value = 10; homuhomu.Child.Age.Is(10); } [TestMethod] ...
C#
/* ********************************************************************* * BOARD_DRAMINFO * * Return the address of the DRAM information table * * Input parameters: * nothing * * Return value: * v0 - DRAM info table, return 0 to use default table *******...
Assembly
/** * Copyright (C) 2017 Kamarudin (http://coding4ever.net/) * * 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 app...
C#
, ares.Offset, nread); nread = decoder.Read (rb.Buffer, rb.Offset, rb.Count); rb.Offset += nread; rb.Count -= nread; if (rb.Count == 0 || !decoder.WantMore || nread == 0) { no_more_data = !decoder.WantMore && nread == 0; ares.Count = rb.InitialCount - rb.Count; ares.Complete (); retu...
C#
<RowId>(Record2.Fk1Field.Field, r12), r23, r24); // now delete another parent record Assert.IsTrue(store.StartTransaction()); table1.Delete(r12); store.Commit(); Assert.AreEqual(0, table1.Rows.Count()); Assert.AreEqual(0, table2.Rows.Count()); this.AssertSelection(table1.Rows); this.AssertSele...
C#
<span id='ge.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='../../../../nom/lib/std/prelude/v1/v1/trait.Iterator.html#method.ge' class='fnname'>ge</a>&lt;I&gt;(self, other: I) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a> <span c...
HTML
initialState ? initialState.autoRun! : true; autoRunCheckBox.addEventListener('change', () => { saveState(); autoRun(); updateRunVisibility(); }); const manager = addUndoSupport(jsInput, autoRun); addTabIndentSupport(jsInput, (c) => { manager.content = c; autoRun(); }); updateRunVisib...
Typescript
条 地方国家档案馆包括具有公共性质的综合档案馆和专门档案馆。 综合档案馆是按行政区域设置的,收集和永久保管多种门类的档案并向社会提供利用的机构。 专门档案馆是收集和永久保管特定领域或者特殊载体的档案并向社会提供利用的机构。 第九条 部门档案馆是收集和长期保管本部门及其所属单位形成的档案并在一定范围内提供利用的机构。 第十条 综合档案馆的设置,由同级人民政府批准;专门档案馆和部门档案馆的设置,经市档案行政管理部门审核后,由市人民政府批准。 第十一条 乡、镇人民政府分管档案工作的机构管理本机关的档案,并对本乡、镇其他组织的档案工作实行监督和指导。 乡、镇人民政府应当配备工作人员从事档案工作。 第十二条 法人和其他组织的档案...
Markdown
fection_01', '4035001', '4035001', '', '', '蜜意投喂-星坠', '', '浪费食物可是不好的行为!要像我这样,一滴不剩地全~部吃下去!知道了吗?', '', '浪费食物可是不好的行为!要像我这样,一滴不剩地全~部吃下去!知道了吗?', '1', '', '1', '', ''}, {'6106302', 'Feeding_With_Affection_02', 'picture/Feeding_With_Affection.acb', 'Feeding_With_Affection_02', '4035001', '4035001', '', '', '蜜意投喂-星坠', '', '哦呀~...
Lua
.com/rustdesk/rustdesk/tree/master/src/server)**: Audio/Zwischenablage/Eingabe/Videodienste und Netzwerkverbindungen - **[src/client.rs](https://github.com/rustdesk/rustdesk/tree/master/src/client.rs)**: Starten einer Peer-Verbindung - **[src/rendezvous_mediator.rs](https://github.com/rustdesk/rustdesk/tree/master/src/...
Markdown
: true !global; @-o-keyframes #{$name} { @content; } } } @include disable-prefix-for-all(); $prefixNo: true !global; @keyframes #{$name} { @content; } $prefixForWebkit: $originalPrefixForWebkit !global; $prefixForMozilla: $originalPrefixForMozilla !global; $prefi...
CSS
of VM backup policy within backup configuration directory ```console [root@himalaya backup_config]# ls ghettoVCB-vm_backup_configuration_template scofield vCloudConnector ``` Backup policy for "scofield" (backup only 2 specific VMDKs) ```console [root@himalaya backup_config]# cat scofield VM_BACKUP_VOLUME=/vmfs/volu...
Markdown
43,55.34},{56.01,14.44},{63.74,49.63},{46.6,44.26},{58.01,20.9},{58.29,17.25},{36.34,45.78},{65.39,52.52},{58.78,15.69},{47.95,45.05},{60.65,33.72},{45.71,43.71},{45.6,43.99},{58.05,32.83},{63.35,38.36},{63.49,47.11},{30.95,47.02},{29.38,46.67},{58.33,27.23},{63.34,54.69},{65.38,43.3},{66.05,47.3},{67.38,44.62},{66.86,...
Lua
with(Sort.by(Sort.Direction.DESC, "createDate")); } else { String sortableProp = upload.getSortableProp(); Sort.Direction direction = Sort.Direction.ASC; if ("descending".equals(order)) { direction = Sort.Direction.DESC; } query.with(So...
Java
的。” CERN(Conseil Européen pour la Recherche Nucléaire) 即欧洲核子研究中心,是世界上最大的粒子物理学实验室,也是 万维网的发祥地。它成立于 1954 年 9 月 29 日,总部位于瑞士日 内瓦。 //更多关注 1916 年 4 月 30 日,克劳德·香农出生。 5-1 10 PRINT "Hello, World!" 20 END [ Coding ] 1964 年 5 月 1 日,第一个 BASIC 程序跑通。 BASIC 是 Beginner’s All-purpose Symbolic Instruction Code 的简称,即初学者通用符号指令代码,由托马斯·卡茨...
Typescript
export const ReducerAuth = sliceAuth.reducer; export const ActionAuth = sliceAuth.actions; /// <reference path="../index.d.ts" /> declare namespace x_44813_usasoc_cst { export interface IRuleCacheItem { building?: string; location?: string; department?: string; business_unit?: str...
Typescript
ムの改良が必要 直和の性質を利用したい。 版面を上手く分割したいけど、この場合はどうやって分けたらいいか? それか 値を分割して求める方法とか <details><summary>実行結果</summary> ``` ./exp2 実験を実行する最大のNを入力してください (3の倍数): 15 --- 3 x 3 の盤面を計算中... --- N = 3 の計算が完了しました。 --- 3 x 6 の盤面を計算中... --- N = 6 の計算が完了しました。 --- 3 x 9 の盤面を計算中... --- N = 9 の計算が完了しました。 --- 3 x 12 の盤面を計算中... --- N = 12 の計...
Markdown
#include "f2c.h" #include "fio.h" #ifdef KR_headers c_due(a) cilist *a; #else c_due(cilist *a) #endif { if(!f__init) f_init(); f__sequential=f__formatted=f__recpos=0; f__external=1; f__curunit = &f__units[a->ciunit]; if(a->ciunit>=MXUNIT || a->ciunit<0) err(a->cierr,101,"startio"); f__elist=a; if(f__curunit->...
C
by 0.8 on top of CLIP. The 2D positional coding (share-by-row&col) also improves the average performance by 0.6. However, share-by-row impairs the performance of the model, probably because row sharing corrupts the position information of the visual coder itself. The experimental results validate our conjecture that it...
HTML
unsigned FFC0_0000? jae pagingMaybe xorl %eax,%eax / if not, no paging ret pagingMaybe: movw %cs,%ax / if return addr high, cs is a selector cmpw $0x58,%ax / selectors 58-6F are nonpaging jb pagingYes cmpw $0x6F,%ax / selectors 58-6F are nonpaging ja pagingYes xorl %eax,%eax / no paging ret pagingYes: ...
Assembly
fix with 0b * @note the resulting string is NOT zero-terminated. * @note it is ok to call this with an empty or too-small buffer; * no writes will occur, and the required size will be returned * @return the number of characters required for the buffer. */ template<class T> C4_ALWAYS_INLINE size_t write_bin(substr b...
C++
Python, Ruby, Elang, ga ... </p> <p> Traditioneel talen: Java, C, C ++, C #, ActionScript, VBScript ... </p> <p> Andere: markdown, shell, sql, lua, xml, YAML ... </p> </div> </div> <div class="intro-right"> <div class="tips green"> <h1> <span>sneltoets Actie</span> </h1> <pre> Veel gebruikte snelkoppelingen: ctrl + ...
HTML
SepLine.Height = ScrollPrograms.ScrollHeight - 2 SepLine.Background = Color.Red SepLine.Width = 2 SepLine.X = ((CInt(Format(Now, "hh")) * 480) + (CInt(Format(Now, "nn")) * 8)) ScrollPrograms.ScrollX = SepLine.X - (ScrollPrograms.Width / 2) 'LblInfo.text = ("Guide contains ") & CStr(rResChannel....
Java
시작할 때 GPU 메모리가 비어 있는지 확인해 봅시다: ```py >>> print_gpu_utilization() GPU memory occupied: 0 MB. ``` 좋습니다. 모델을 로드하기 전에는 예상대로 GPU 메모리가 점유되지 않았습니다. 그렇지 않다면 사용자의 기기에서 GPU 메모리를 사용하는 모든 프로세스를 중단해야 합니다. 그러나 사용자는 모든 여유 GPU 메모리를 사용할 수는 없습니다. 모델이 GPU에 로드될 때 커널도 로드되므로 1-2GB의 메모리를 차지할 수 있습니다. 얼마나 되는지 확인하기 위해 GPU에 작은 텐서를 로드하여 커널이 로드...
Markdown
return Stream.of( "this := @this: CastingInNumTypes", "l1 = 1", "l2 = 2", "l3 = 3", "l4 = 4551598461L", "l6 = 5.4F", "l7 = 4.5515954846546467E39", "$stack11 = <java.lang.System: java.io.PrintStream out>", "vi...
Java
'Ao utilizar este aplicativo, você não concorda com os termos e condições de uso do Deezer', 'Play next': 'Reproduzir à seguir', 'Add to queue': 'Adicionar à fila', 'Add track to favorites': 'Adicionar faixa aos favoritos', 'Add to playlist': 'Adicionar à playlist', 'Select playlist': 'Sele...
Dart
les-text-page-title-tag-height - (2 * @cmp-examples-text-page-title-tag-border-width); .cmp-examples-text--page-title { .cmp-text { position: relative; font-size: @cmp-examples-font-size-h1; font-weight: @cmp-examples-font-weight-bold; line-height: @cmp-examples-line-height-heading...
CSS
n, bVert); } else if (bDynamic && (m_dwStyle & CBRS_FLOATING)) SizeToolBar(pData, nCount, m_nMRUWidth); else SizeToolBar(pData, nCount, (dwMode & LM_HORZ) ? 32767 : 0); } sizeResult = CalcSize(pData, nCount); if (dwMode & LM_COMMIT) { _AFX_CONTROLPOS* pControl = NULL; int nControlCount ...
C++
AbstractObject.OBJECT_NETWORK: return Activator.getImageDescriptor("icons/network.png"); //$NON-NLS-1$ case AbstractObject.OBJECT_SERVICEROOT: return Activator.getImageDescriptor("icons/service_root.png"); //$NON-NLS-1$ case AbstractObject.OBJECT_CONTAINER: return Activator.getImageDescriptor("icons/...
Java
</tbody> </table> <div>Powered by FSharp.Domain.Validation.Fable</div> <pre>.</pre> <!-- emoji favicon --> <script language="javascript"> const faviconHref = emoji => `data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%22256%22 height=%2225...
HTML
/* * Copyright 2020 Brendan Shanks for CodeWeavers * * 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. * ...
C
import os, sys, telebot # 上传文件 def upload_file(tb, chat_id, file_dir): doc = open(file_dir, 'rb') tb.send_document(chat_id, doc) # 上传文件夹内的文件 def upload_folder(tb, chat_id, folder_dir): file_list = sorted(os.listdir(folder_dir)) for file in file_list: path = os.path.join(folder_dir, file) ...
Python
eAsset).GetDefaultFrameSettings(FrameSettingsRenderType.CustomOrBakedReflection); case HDRenderPipelineUI.SelectedFrameSettings.RealtimeReflection: return ref (obj as HDRenderPipelineAsset).GetDefaultFrameSettings(FrameSettingsRenderType.RealtimeReflection); ...
C#
Type: postType ?? this.postType, timestamp: timestamp ?? this.timestamp, ); } Map<String, dynamic> toMap() { return <String, dynamic>{ 'status': status, 'postId': postId, 'postType': postType, 'timestamp': timestamp, }; } factory SubmitModel.fromMap(Map<String, dynami...
Dart
id="__RefHeading__1418732_253892949"/><a id="attribute-table_use-regular-expressions"/>table:use-regular-expressions</h2><p class="Text_20_body">The <span class="Attribute">table:use-regular-expressions</span> attribute specifies whether regular expressions are enabled for character string comparisons and when searchi...
HTML
-h4-font-size: 1em; --typography-h4-font-weight: bold; --typography-h5-margin: 1.67em 0 1.67em 00; --typography-h5-font-size: 0.83em; --typography-h5-font-weight: bold; --typography-h6-margin: 2.33em 0 2.33em 0; --typography-h6-font-size: 0.67em; --typography-h6-font-weight: bold; --typo...
CSS
form* method.");r&&n&&l3.log([t+" has both a *transform* and *calcTransform* methods.","Please note that all *transform* methods are executed","before all *calcTransform* methods."].join(" ")),Vrt(e.attributes)||l3.log(t+" registered without an *attributes* object."),typeof e.supplyDefaults!="function"&&l3.log(t+" regi...
HTML
sha": "ab9432141e3656b52b60ce9b58776c924095c476", "date": "2025-08-08T09:44:47", "provider": "gemini", "error_accuracy": 0.6806, "warning_accuracy": 0.6, "info_accuracy": 0.8333, "total_accuracy": 0.7046, "num_cases": 9, "duration_seconds": 201.31, "input_tokens": 110992, "output_tokens": 11386, "total_tokens": 151917,...
HTML
gUrl = SP.epg private lateinit var imageHelper: ImageHelper val sources = Sources() private val _channelsOk = MutableLiveData<Boolean>() val channelsOk: LiveData<Boolean> get() = _channelsOk fun setDisplaySeconds(displaySeconds: Boolean) { timeFormat = if (displaySeconds) "HH:mm:...
Kotlin
rr[%+v]", location, bid, rpc.DetectStatusCode(err), err) errMsg := err.Error() if strings.Contains(errMsg, "Timeout") || strings.Contains(errMsg, "timeout") { err = errcode.ErrPutShardTimeout } } return } // Copyright 2022 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License...
Go
say = "... ...", typewriter = { speed = 0.05, speedUp = 0.01 }, painting = { alpha = 0.3, time = 1 } }, { expression = 2, nameColor = "#ff0000", side = 1, dir = 1, actor = 304050, say = "Come, Kaga, if you still consider me your rival. You have yet to best me even a sin...
Lua
; import java.util.concurrent.CountDownLatch; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import io.fabric8.kubernetes.client.dsl.ExecListener; /** * * @author Jakub Cechacek */ public class DatabaseInitListener implements ExecListener { private static final Logger LOGGER = LoggerFactory.getLogg...
Java
4ButAes(aesKey, fieldValue) } else { fieldValue } sensitiveConfDao.create( dslContext = dslContext, userId = userId, id = UUIDUtil.generate(), storeCode = storeCode, storeType = storeType.type.toByte(), fieldName...
Kotlin
2.执行主机命令(需要等待30秒) 3.更新别控端列表(需等待30秒) 2 请输入note地址:BpLnfgDsc3WD9F3qNfHK6a95jjJkwz 请输入notekey:BpLnfgDsc3WD9F3qNfHK6a95jjJkwz 请输入shell命令:whoami 请等待30秒 jpass ``` **工具下载地址:** 网盘链接:https://pan.quark.cn/s/ba73cec0ef82<meta name="referrer" content="no-referrer"/> > 本文由 [简悦 SimpRead](http://ksria.com/simpread/) 转码, 原文地址 [mp....
Markdown
cute steamunk elephant. & \\multicolumn{1}{c}{} & \\multicolumn{1}{c}{} \\\\ \\hline A bull dog wearing a black pirate hat. & \\multicolumn{1}{c}{} & \\multicolumn{1}{c}{} \\\\ \\hline An astronaut riding a horse. & \\multicolumn{1}{c}{} & \\multicolumn{1}{c}{} \\\\ \\hline Medieval House, grass, medieval, & \\multico...
HTML
from abc import ABC, abstractmethod from datetime import datetime from typing import Literal class FileRepository(ABC): @abstractmethod async def add(self, name: str, size: int, updated_at: datetime, x: float, y: float) -> None: raise NotImplementedError @abstractmethod async def update(self,...
Python
ch}.cke_resizer{width:0;height:0;overflow:hidden;width:0;height:0;overflow:hidden;border-width:10px 10px 0 0;border-color:transparent #666 transparent transparent;border-style:dashed solid dashed dashed;font-size:0;vertical-align:bottom;margin-top:6px;margin-bottom:2px;box-shadow:0 1px 0 rgba(255,255,255,.3)}.cke_hc .c...
CSS
) continue; trigger.type = 'function'; trigger.activations = [{ text: res, index: -1 }]; } if (criteria instanceof RegExp) { const res: RegExpMatchArray[] = Array.from(message.content.matchAll(criteria)); if (res.length < 1) continu...
Typescript
ock) { if (block is BlockSlime) { if (isSneaking()) { motionY = 0.0 } else if (motionY < 0.0) { motionY = -motionY } } else { motionY = 0.0 } } fun isSneaking(): Boolean { return movementInput.sneak ...
Kotlin
override val layoutId: Int? = null override val viewClass: Class<*>? = null val rvNotes = KRecyclerView { withId(R.id.rv_notes) } } ``` Если мы напишем такой код, то у нас возникнут ошибки. Дело в том, что если вы тестируете `RecyclerView`, то предполагается, что проверять вы будете элементы списка, а не к...
Markdown
to the VirtualHost.</p> </td> </tr> <tr> <td style="white-space:nowrap"> <code>rateLimitPolicy</code> <br> <em> <a href="#projectcontour.io/v1.RateLimitPolicy"> RateLimitPolicy </a> </em> </td> <td> <em>(Optional)</em> <p>The policy for rate limiting on the virtual host.</p> </td> </tr> </tbody> </table> <hr/> <h2 id=...
HTML
n.isNull("access_token")){ res = json.getString("access_token"); // ti.tokenExpireTime = json.getLong("expires_in"); osv.set("weixin_accesstoken", res); osv.set("weixin_accesstoken_time", DateUtil.format(new Date(), "yyyy-MM-dd HH:mm:ss")); osv.save(); } } } ...
Java
ies] [--kinds=<kinds>...] [--since=<since>] [--until=<until>] [--limit=<limit>] noscl inbox [--verbose] [--json] [--onlyreplies] [--noreplies] [--since=<since>] [--until=<until>] [--limit=<limit>] noscl setprivate <key> noscl sign <event-json> noscl verify <event-json> noscl public noscl publish [--referenc...
Go
ot ); // mark all unserialized elements as done unserializing, and call Resolve() for ( DmElementDictHandle_t h = m_ElementDict.FirstElement(); h != ELEMENT_DICT_HANDLE_INVALID; h = m_ElementDict.NextElement( h ) ) { CDmElement *pElement = m_ElementDict.GetElement( h ); if ( !pElement ) continue; CDme...
C++
, [17898] = "憎惡體", [17899] = "幽暗的死靈法師", [17900] = "艾斯炎", [17901] = "奇里斯", [17902] = "骷髏入侵者", [17903] = "骷髏法師", [17904] = "費德萊恩·迅矛", [17905] = "女妖", [17906] = "石像鬼", [17907] = "冰霜巨龍", [17908] = "巨型煉獄火", [17909] = "羅安娜·薩威爾", [17910] = "『大司法官』格里高", [17911] = "『追尋者』卡斯拉", [17912] = "『仲裁者』尼瑪斯", ...
Lua