content
stringlengths
2
6.21k
label
stringclasses
16 values
= li.querySelectorAll<HTMLLIElement>('ul>li'); lisEx.forEach((li, index) => { let url = li.querySelector('a').href; let name = li.textContent; let id = index + 201; SpActivities.push({url, name, id}); }) } getEXActi...
Typescript
[38488] = "Monster - Polearm, Epic D 02 Glow Red Low", [38489] = "QA Test -50% Interrupt Duration Ring", [38490] = "Monster - Polearm, Epic D 03 Glow Purple Low", [38491] = "Monster - Polearm, Epic D Glow Yellow Low", [38492] = "QA Test Gem Slot Vest", [38493] = "QA Test Gem Pants", [38494] = "QA Test Gem Shoulderpads...
Lua
][j] ~= matrix2[i][j] then return false end end end return true end function imageHash(imageData) local hash = 0 local width, height = imageData:getDimensions() for y = 0, height - 1 do for x = 0, width - 1 do local r, g, b, a = imageData:get...
Lua
Change, onIsUsingCompactModeChange = viewModel::onIsUsingCompactModeChange, onIsCharacterFollowingChange = viewModel::onIsCharacterFollowingChange, onIsScrollZoomInvertedChange = viewModel::onIsScrollZoomInvertedChange, onIsAlwaysShowingSystemsChange = viewModel::onIsAlwa...
Kotlin
get peptide list csv file %s" % filename) reader = csv.reader(open(filename), dialect ='excel-tab') v= [ row[0] for row in reader if row ] print("...done.") return v def removeModifications(peptides) : peptide_output = [] for peptide in peptides : while peptide.find('[') ...
Python
e /// </summary> [XmlElement("OldSize")] public int OldSize { get; set; } /// <summary> /// Gets or sets new size /// </summary> [XmlElement("NewSize")] public int NewSize { get; set; } #region IItemView Interface /// <summary> /...
C#
%, rgba(246, 246, 246, 1) 80%, rgba(246, 246, 246, 0) 90%); } /* @keyframes heartRateIn { 0% { width: 100%; } 50% { width: 0; } 100% { width: 0; } } @keyframes heartRateOut { 0% { left: -120%; } 30% { left: -120%; } 100% { left: 0; ...
CSS
cells/v5/common/proto/options/orm" ) type tagExtractor struct { pgs.Visitor pgs.DebuggerCommon pgsgo.Context tags map[string]map[string]*structtag.Tags } func newTagExtractor(d pgs.DebuggerCommon, ctx pgsgo.Context) *tagExtractor { v := &tagExtractor{DebuggerCommon: d, Context: ctx} v.Visitor = pgs.PassThrough...
Go
#ifndef MODS_MAPGENERATOR_H #define MODS_MAPGENERATOR_H #include "types.h" enum MapGeneratorMode { /* Map generation stopped. */ MAP_GENERATOR_STOP, /* Try the test seed. On failure, stop. */ MAP_GENERATOR_TRY_TEST_ELSE_STOP, /* Try the test seed. On failure, try a random seed later. */ MAP_GENERATOR_TRY_TE...
C
ygons, ColorOutputIterator fc_out, const char* vertex_indices_tag, std::enable_if_t<CGAL::is_iterator<ColorOutputIterator>::value>* = nullptr) { typedef CGAL::IO::Color Color_rgb; bool has_colors = false; std::string rtag...
C
="width: 100%; height: 100%; overflow: hidden; border-top: #d0d0d0 1px solid; background-color: #d4d0c8; z-index: 995; position: absolute;"> </div>&nbsp; </td> </tr> </table> <script src="taskbar.js"></script> <script src="common.js"></script> <script src="popup_panel.js"></script> <script> function B...
HTML
s0%3A%E6%9D%B1%E6%96%B9%E5%91%BD%E9%9B%A8%E6%BB%B4_%EF%BD%9E_Unification_of_the_Artful_Rain%2E%2F%E9%9F%B3%E4%B9%90.html --> Τeam_αlternative_Σnding | 使用了翻译表的页面 ## Music Room <table><tbody><tr class="tt-header" id="Music_Room-1" data-pos="&#91;&quot;Music Room&quot;,1&#93;"><td id="标题画面曲" class="tt-category" lang="...
Markdown
# Copyright 2021 The Bellman Contributors # # 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...
Python
// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using NUnit.Framework; using System.Collections.Generic; public class FungusConversationParseTests { private const st...
C#
from aiogram.types import BotCommand base_commands = [ BotCommand(command='/start', description='Запуск бота'), BotCommand(command='/show_items', description='Показать предметы'), ]
Python
i][j]), end="\t") print() end_count = 0 for i in range(19): for j in range(15): if field[i][j] == "*": if output_field[i - 1][j - 1] == chr(128681): end_count += 1 if win: print("Вы разминировали поле.") ...
Python
1c-.075.15-.227.256-.418.325-.484.177-1.255.1-1.951-.26C1.493 5.024.878 4.111 1.159 3.553c.141-.277.497-.437.979-.437.436 0 .929.133 1.392.372.723.373 1.236.947 1.369 1.45.052.198.051.385-.028.543zM3.575 12.57c-.982.511-2.132.474-2.409-.057-.293-.562.32-1.486 1.34-2.017.469-.244.973-.379 1.418-.379.231 0 .434.038.598.1...
Dart
, 0x01, 0x01, 0x0d}; // From RFC 5912: // // ecdsa-with-SHA1 OBJECT IDENTIFIER ::= { // iso(1) member-body(2) us(840) ansi-X9-62(10045) // signatures(4) 1 } // // In dotted notation: 1.2.840.10045.4.1 const uint8_t kOidEcdsaWithSha1[] = {0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x01}; // From RFC 5912: // //...
C++
using UnityEngine; public class OrbitCamera : MonoBehaviour { public GameObject Target; public float distance = 5.0f; public float xSpeed = 120.0f; public float ySpeed = 120.0f; public float yMinLimit = -20f; public float yMaxLimit = 80f; public float distanceMin = .5f; public float...
C#
-41.2 15.6-86.2 18.1-128.8 7L121.7 289.8c-11.1-2.9-21.2-8.7-29.3-16.9L9.5 189.4c-5.9-6-9.3-14.1-9.3-22.5zM32 448l576 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 512c-17.7 0-32-14.3-32-32s14.3-32 32-32zm96-80a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm128-16a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"],"cowbell-circle-plus":[576,512,["co...
JavaScript
nge_unrestricted` extension, please disable `Relaxed ZCull Sync`"); else if (items["zcull_status"] is "Disabled") notes.Add("⚠️ `ZCull Occlusion Queries` is disabled, which can result in visual artifacts"); else if (items["relaxed_zcull"] is string relaxedZcull) { if (rel...
C#
map_div .fastqc-heatmap-no-samples').remove(); $('#fastqc_seq_heatmap_div .hc-plot-wrapper').show(); if(num_samples == 0){ $('#fastqc_seq_heatmap_div .hc-plot-wrapper').hide(); $('#fastqc_seq_heatmap_div').prepend('<p class="fastqc-heatmap-no-samples text-muted">No samples found.</p>'); } ...
HTML
> num_symbols");for(var U=0;U<D;U++)o[p+U]=x;p+=D,0!==x&&(k-=D<<15-x)}}if(0!==k)throw new Error("[ReadHuffmanCodeLengths] space = "+k);for(;p<i;p++)o[p]=0}(R,r,y,u)}if(0===(p=_(i,o,8,y,r)))throw new Error("[ReadHuffmanCode] BuildHuffmanTable failed: ");return p}function ReadBlockLength(r,i,o){var u,p;return u=ReadSymb...
JavaScript
/ f1 - s or w[2 * j + 1] // a11 - ia // a12 - m // a13 - ia pointer // a14 - m pointer // f6 - re_temp // f7 - im_temp // a15 - debug // This instruction are not working. Have to be fixed!!! // For now theres no solution... // l32r a4, dsps_fft_w_table_fc32_ae32 // Load shift register with 1 ...
Assembly
LDA ram_0003 STA ram_0001 JMP loc_E6D7 sub_E719 LDA ram_mountain_current AND #$1F TAX LDA #$F9 bra_E720_loop CLC ADC #$07 DEX BPL bra_E720_loop bra_E726_RTS RTS tbl_E727 db $D3 ; 00 db $8C ; 08 db $CD ; 10 db $8F ; 18 sub_E72B LDA ram_mountain_current TAX AND #$0...
Assembly
rentChildren.length - 1; i >= 0; i-- ) { root.add( parentChildren[ i ], parent.getIndex() ); } parent.remove(); } Style.convertStyleToPx( element ); }, 'tr': function( element ) { // Attribues are moved to 'td' elements. element.attributes = {}; }, 'td': functi...
JavaScript
Destroyed, isDuplexNodeStream, isFinished, isReadable, isReadableNodeStream, isReadableEnded, isReadableFinished, isNodeStream, isWritable, isWritableNodeStream, isWritableEnded, isWritableFinished, isServerRequest, isServerResponse, willEmitClose, }; export { isClosed, isDestroyed, is...
JavaScript
p", iban = "DE89370400440532013000", bic = null, reference = "Large project payment", amount = BigDecimal("999999.99") ) val result = generator.format(invoice) assertTrue(result.isSuccessful, "SEPA generation should succeed") assertNotNull...
Kotlin
os = *best_position(&map); println!("{:?}", detected_asteroids(&map, &pos).len()); let vaporized200th = vaporize(map, &pos, 200); println!("{:?}", vaporized200th.x * 100 + vaporized200th.y); } #[derive(Debug)] pub struct Point { pub x: u32, pub y: u32, } impl Point { pub fn get_points<const N:...
Rust
code point 0x0), NL line feed // (code point 0xA) or carriage return (code point 0xD) characters. Name *wrappers.StringValue `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // The status of the ad group. Status enums.AdGroupStatusEnum_AdGroupStatus `protobuf:"varint,5,opt,name=status,proto3,enum=goo...
Go
match (self.vertex_count, self.face_count) { (_, Some(f)) => f, (Some(v), None) => 2 * v, (None, None) => 0, } } } /// Returns `true` if both given types are the same type, `false` otherwise. /// /// The types are required to be `'static` because comparing lifeti...
Rust
add_553648276(result_553648885, ul_553648889); } }; return result_553648885; } function search() { function wrapper_553649217() { var elem_553649218 = document.getElementById("searchInput"); var value_553649219 = elem_553649218.value; if (!((((value_553649219) == null ?...
JavaScript
v2 :: v_dual_fmaak_f32 v6, -1, v3, 0xaf123456 // GFX11: encoding: [0xfd,0x04,0xc2,0xca,0xc1,0x06,0x06,0xff,0x56,0x34,0x12,0xaf] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction requires wavesize=32 v_dual_min_f32 v255, 0.5, v3 :: v_dual_fmaak_f32 v6, 0.5, v2, 0xaf123456 // GFX11: encoding: [0xf0,0x06,0xc2,0xca,...
Assembly
L { d, s1, s2 } => I::r(0b0110011, d, 0b101, s1, s2, 0b0000000), SRA { d, s1, s2 } => I::r(0b0110011, d, 0b101, s1, s2, 0b0100000), OR { d, s1, s2 } => I::r(0b0110011, d, 0b110, s1, s2, 0b0000000), AND { d, s1, s2 } => I::r(0b0110011, d, 0b111, s1, s2, 0b0000000), ECALL {...
Rust
>element_type()->IsString()); } // Lookup a table that doesn't exist, ensuring we get null and don't crash. TEST(TestCatalogTest, FailedLookup) { zetasql::EnumerableCatalog* test_catalog = GetSpangresTestSpannerUserCatalog(); ASSERT_NE(test_catalog, nullptr); const zetasql::Table* no_table; ASSERT_EQ(tes...
C++
cmpl $ 5, %r15d jle 10f vmovsd 5*64(%r12), %xmm0 vmovsd %xmm0, 40(%r14) cmpl $ 6, %r15d jle 10f vmovsd 6*64(%r12), %xmm0 vmovsd %xmm0, 48(%r14) cmpl $ 7, %r15d jle 10f vmovsd 7*64(%r12), %xmm0 vmovsd %xmm0, 56(%r14) 10: subl $ 1, %r10d addq $ 8, %r12 addq $ 64, %r14 cmpl $ 0, %r10d jg 2b 0...
Assembly
McCormick and Nick Ryan. (2019, July 22). BERT Fine-Tuning Tutorial with PyTorch. Retrieved from https://mccormickml.com/2019/07/22/BERT-fine-tuning/ # 📱 移动端使用指南 本指南将详细介绍如何在移动设备上使用AI Terminal,享受完整的AI助手体验。 ## 📖 概述 AI Terminal专为移动设备进行了全面优化,提供与桌面端相同强大的功能,同时针对触屏操作和移动场景进行了特殊设计。无论您使用手机还是平板电脑,都能获得流畅的使用体验。 ## 🎯 移动端特色功...
Markdown
xport function isLoggedIn() { if (document.cookie.indexOf('token=') === -1) { return false } else { return true } } import { Api, PREFIX } from '../api'; import axios from 'axios'; jest.mock('axios'); describe('api', () => { let api: Api; let postMock: jest.Mock; let putMock: jest.Mock; let getM...
Typescript
pr); break; } unsigned last_access = i + 1; tree virtual_origin; if (chain_p && addr_tokens[i + 2]->type == ACCESS_METHOD && addr_tokens[i + 2]->u.access_kind == ACCESS_INDEXED_ARRAY) { /* !!! This seems wrong for ACCESS_POINTER_OFFSET. */ consume_tokens = 3; chain_p = omp_acce...
C++
mSlash/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/codec" cdctypes "github.com/cosmos/cosmos-sdk/codec/types" "github.com/cosmos/cosmos-sdk/types/module" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" ) // ConsensusVersion defines the current x/symSlash module consensus v...
Go
of the UI being created. Can not included spaces or special punctuation * (used in CSS class names). * * @param {color} [$ui-border-color=$progress-border-color] * The border-color of the ProgressBar * * @param {color} [$ui-background-color=$progress-background-color] * The background-color of the ProgressBar *...
CSS
6af4, U+6afd-6aff, U+6b01, U+6b06-6b07, U+6b14, U+6b1b-6b1c, U+6b24, U+6b26, U+6b29-6b2b, U+6b2e, U+6b30, U+6b44, U+6b4f, U+6b58, U+6b5d, U+6b6b-6b6c, U+6b6e, U+6b70-6b71, U+6b75, U+6b7d, U+6b85, U+6b90, U+6b9c-6b9d, U+6ba8-6ba9, U+6bac, U+6bb8-6bb9, U+6bbe, U+6be5, U+6be9, U+6bed, U+6bf1, U+6c0e, U+6c12, U+6c3c, U+6c4...
CSS
import sys, os sys.path.insert(1, os.path.join("..","..","..")) import h2o from tests import pyunit_utils from h2o.estimators.deeplearning import H2ODeepLearningEstimator def deeplearning_multi(): print("Test checks if Deep Learning works fine with a categorical dataset") # print(locate("smalldata/logreg/protsta...
Python
rsCheck(v, p) { return true } } return ti.occursCheck(v, t.returnType) case *GenericType: for _, arg := range t.typeArgs { if ti.occursCheck(v, arg) { return true } } return false default: return false } } // resolveUnboundTypeVariable resolves an unbound type variable // In Hindley-M...
Go
769h-72V548.82H255.94v-72h218.85V257.16h72v219.66H768z" fill="#4386F5" ></path></symbol><symbol id="icon-rectangle121group5rectangle1400rectangle1400" viewBox="0 0 1024 1024"><path d="M458.146578 340.678909 245.344196 553.481291C224.417816 574.407668 190.557584 574.4758 169.387878 553.306096 148.364741 532.282959 148.6...
JavaScript
, %l7 ! first bit in new nibble stx %l7, [%l1+0x290] nop deccc %g2 bne loop_reg1 ! repeat till all ch done nop ! DRAM Err Injection Register, clear setx 0x0000000000000000, %l0, %l2 stx %l2, [%l1+0x290] nop ! Enable the L2,L1. ! NOTE : the dram registers (error/etc) a...
Assembly
) 'DailyAutomaticBackupStartTime': dailyAutomaticBackupStartTime, if (deploymentType != null) 'DeploymentType': deploymentType.value, if (diskIopsConfiguration != null) 'DiskIopsConfiguration': diskIopsConfiguration, if (endpointIpAddress != null) 'EndpointIpAddress': endpointIpAddress...
Dart
their |cRXP_LOOT_Hooves|r .complete 845,1 --Zhevra Hooves (4) .mob Zhevra Runner step #label XroadsTurnins3 >>|Tinterface/worldmap/chatbubble_64grey.blp:20|tTalk to |cRXP_FRIENDLY_Thork|r and |cRXP_FRIENDLY_Sergra|r .turnin 5041 >>Turn in Supplies for the Crossroads .turnin 872 >>Turn in The Dis...
Lua
determine_link(i, e, indexes); None } Expr::Expand(i, e, f) => { if let Some(f) = f { assign_links(i, f, indexes); } assign_links(i, e, indexes); Some(i.clone()) } Expr::Not(e) => determine_link(root_index, e, i...
Rust
ge-image { user-select: none; -webkit-user-select: none; -webkit-user-drag: none; cursor: pointer; cursor: grab; cursor: -webkit-grab; } .h5p-collage-grabbed { cursor: move; cursor: -webkit-grabbing; } .h5p-collage-editor-layout-selector { overflow: hidden; margin-bottom: 0.5em; } .h5p-collage-edit...
CSS
ent(linker, "/export:HrStreamSeekBegin=\"C:\\Windows\\SysWOW64\\msoert2.HrStreamSeekBegin\"") #pragma comment(linker, "/export:HrStreamSeekCur=\"C:\\Windows\\SysWOW64\\msoert2.HrStreamSeekCur\"") #pragma comment(linker, "/export:HrStreamSeekEnd=\"C:\\Windows\\SysWOW64\\msoert2.HrStreamSeekEnd\"") #pragma comment(linker...
C++
(SceneView.lastActiveSceneView != null) SceneView.lastActiveSceneView.SetSceneViewFiltering(false); } [MenuItem("Window/2D/Tile Palette", false, 2)] public static void OpenTilemapPalette() { GridPaintPaletteWindow w = GetWindow<GridPaintPaletteWindow>(); ...
C#
((item) => item.type === 'login'); if (loginConfigVersion) { return (custom || { id: 'login', packageName: '$wd_system', uuid: '$wd_system/login', type: 'login', }); } } let _AUTH_CACHE_MAP = {}; export async function getAccessPermission(appId, pac...
JavaScript
: "note-important", Description: "This is a note", LocationID: child.Location.ID, } // Append Parent ID _, err := tRepos.Items.UpdateByGroup(context.Background(), tGroup.ID, update) require.NoError(t, err) // Check Parent ID updated, err := tRepos.Items.GetOne(context.Background(), child.ID)...
Go
mat3 m ) {\n\tmat3 tmp;\n\ttmp[ 0 ] = vec3( m[ 0 ].x, m[ 1 ].x, m[ 2 ].x );\n\ttmp[ 1 ] = vec3( m[ 0 ].y, m[ 1 ].y, m[ 2 ].y );\n\ttmp[ 2 ] = vec3( m[ 0 ].z, m[ 1 ].z, m[ 2 ].z );\n\treturn tmp;\n}\nfloat linearToRelativeLuminance( const in vec3 color ) {\n\tvec3 weights = vec3( 0.2126, 0.7152, 0.0722 );\n\treturn dot...
HTML
t...) } else { ts := time.Duration(0) if ival := v.mostRecentInterval(); ival != nil { ts = l.Timestamp.Sub(*ival.start) } prec := 1 sec := ts.Seconds() if sec < 10 { prec = 3 } else if sec < 100 { prec = 2 } v.logs = append(v.logs, []byte(fmt.Sprintf("#%d %s %s", v...
Go
<select ng-model="html" id="html" ng-options="value for value in htmlOptions" ng-change="setDefaultHtml()"></select> </li> </ul> <p>Alter an option and then click through the demo again. Check out <a href="https://github.com/matowens/ng-notify#configuration">the repo</a> for an ex...
HTML
; RES 1,(IXY+d),H Z80_illeg_xDCB_8D: +Z80_RES1_VIA_IXY_d_REGn REG_L ; RES 1,(IXY+d),L lda [PTR_IXY_d],z and #%11111101 sta REG_L ; FALLTROUGH Z80_common_res_0123: sta [PTR_IXY_d],z jmp ZVM_next Z80_illeg_xDCB_90: +Z80_RES2_VIA_IXY_d_REGn REG_B ...
Assembly
#!/usr/bin/env python3 # DepGen.py - produce a make dependencies file for Scintilla # Copyright 2019 by Neil Hodgson <neilh@scintilla.org> # The License.txt file describes the conditions under which this software may be distributed. # Requires Python 3.6 or later import sys sys.path.append("..") from scripts import ...
Python
)](https://www.youtube.com/watch?v=Cpwqf83UX5E&list=PLNsYSXaDLA88-3c-3laTSJlyPcue3ukdH)、[日本各岗位阶层人士的一天(YouTube)](https://www.youtube.com/playlist?list=PLcpuu5BzmasC7cI-B713EY3xdpWrLhDdH)。 5、需要推荐书的同学,我建议利用难得的悠长假期,读[《枪炮、病菌与钢铁》](https://book.douban.com/subject/1813841/)、[《独裁者手册》](https://book.douban.com/subject/25881102/)...
Markdown
not the owner hence minting should fail await expect(query.owner()).to.have.output(sender.address) await expect(contract.tx.mint(bnArg(0), 1)).to.eventually.be.fulfilled // Act & Assert - Alice can mint a token await expect(fromSigner(contract, alice.address).tx.mint(bnArg(0), 100)).to.eventually.be.r...
Typescript
esolver: OpcodeResolver, result: Instruction | null } const resolvers: Resolver[] = state.program.instructions.map(r => ({resolver: r, result: null})) let lastLabels, newLabels, i = 0 do { let used: MapInfo[] = [] assert(i < 10, 'Compiling more than 10 passes?') lastLabels = newLabels cons...
Typescript
n pstr.tran(); //繁体变为简体 }; function initCustomStr(){ let customStrPath = files.cwd() + "/custom.txt"; console.log(customStrPath); if(!files.exists(customStrPath)){ throw "自定义文本文件不存在!"; } let customFile = open(customStrPath); let customStrs = []; try { while (true) { ...
JavaScript
fn input_count(&self) -> usize { 0 } fn output_count(&self) -> usize { 0 } fn input_id(&self, _ch_id: ReceiverChannelId) -> Option<(ChannelId, SenderName)> { None } fn input_channel_pos(&self, _ch_id: ReceiverChannelId) -> ChannelPosition { ChannelPosition(0) } fn output_channel_pos(&self, _ch_id: Sende...
Rust
software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHO...
JavaScript
StoreFile).toString(); const payloads = data.split(/\r?\n/); payloads.map((item: string) => { let obj = null; if (item.length > 0) { try { obj = JSON.parse(item); events.push(obj); } catch (e) { ...
Typescript
�� Delete all data | `/reset` | ## 🛠️ Technology Stack <div align="center"> <table> <tr> <th>Category</th> <th>Technologies</th> </tr> <tr> <td><strong>🐍 Language</strong></td> <td>Python 3.12+ with full typing</td> </tr> <tr> <td><strong>🤖 Telegram</strong></td>...
Markdown
/* SPDX-License-Identifier: GPL-2.0-only */ #ifndef _DRAMC_COMMON_MT8183_H_ #define _DRAMC_COMMON_MT8183_H_ enum { DRAM_DFS_SHUFFLE_1 = 0, DRAM_DFS_SHUFFLE_2, DRAM_DFS_SHUFFLE_3, DRAM_DFS_SHUFFLE_MAX }; enum { CHANNEL_A = 0, CHANNEL_B, CHANNEL_MAX }; enum { RANK_0 = 0, RANK_1, RANK_MAX }; enum dram_odt_t...
C
return true; } public static void remove(Player player, Item[] required) { Item wepon = player.equipment.getWeapon(); boolean refresh = false; player.inventory.setFiringEvents(false); for (Item item : required) { MagicRune rune = forMainId(item.getId()); if (rune == null) continue; if (wepon !...
Java
bits defined for DMAMUX Req ID.</li> <li>Protect Vector table modification following SRAM or FLASH preprocessor directive by a generic preprocessor directive : USER_VECT_TAB_ADDRESS.</li> <li>Add new atomic register access macros in stm32g0xx.h file.</li> <li>Add LSI maximum startup time datasheet value: LSI_STARTUP_TI...
HTML
#0x1f bl _ll_mul mov r2, #2 mov r3, #0 lsl r2, r2, #0xa add r2, r0, r2 adc r1, r3 lsl r0, r1, #0x14 lsr r1, r2, #0xc orr r1, r0 asr r7, r1, #0xc lsl r0, r7, #1 mov r1, #0x15 bl _s32_div_f add r0, r0, #1 lsl r0, r0, #1 mov r1, #0xb4 sub r2, r1, r0 ldr r0, _02011FF4 ; =0x0000FFFF add r1, #0xb4 mul r0...
Assembly
.Stub{ OperationName: "CreateFunction", Input: &lambda.CreateFunctionInput{ FunctionName: aws.String(funcName), Code: &types.FunctionCode{ZipFile: zipBytes}, Role: aws.String(roleArn), Handler: aws.String(handler), Publish: publish, Runtime: runtime, }, Output: &...
Go
raid_times = { '1': (60, 45), '2': (60, 45), '3': (60, 45), '4': (60, 45), '5': (60, 45), '6': (60, 45), "EX": (None, 45), '7': (60, 45) } egg_images = { '1': 'https://raw.githubusercontent.com/ZeChrales/PogoAssets/master/static_assets/png/ic_raid_egg_normal.png', '2': 'https://...
Python
�ერესო თქვენ კავშირების საიტზე.</p> <p class="bold">ჩვენი ელ-ფოსტა: <strong><a href="mailto:<?= $bb_cfg['abuse_email']; ?>" class="gen"><?= $bb_cfg['abuse_email']; ?></a></strong></p> <p>გაფრთხილება!</p> <p>ა) ჩვენ ვიტოვებთ უფლებას, გამოაქვეყნოს საიტზე ნებისმიერი ინფორმაცია, გაგზავნილი ჩვენს მიერ ფოსტა <strong><a hr...
HTML
8H208c-26.5 0-48-21.5-48-48V48c0-26.5 21.5-48 48-48zM48 128h80v64H64V448H256V416h64v48c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V176c0-26.5 21.5-48 48-48z' /%3E %3C/svg%3E") } .fa-copyright:before { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath ...
CSS
answer" : "不能。每家公司的总投资预算都一样,赢利部分不能增加既定的总投资预算,但是会增加公司的累计赢利。" }, { "title" : "为什么上阶段预算和本阶段的实际报告有出入?", "answer" : "每阶段输入的预算为预计费用,阶段末的实际费用支出受以下因素影响:1 经销商实际进货量 X 经销商进货折扣率=给经销商的实际让利 2 零售商实际销售量 X 额外的零售终端让利 = 给零售商的实际让利, 另外剩余预算会根据每阶段的通货膨胀率按比...
Typescript
ssage: String) { Log.w(TAG, message) } private fun stringify(value: Any?): String { val sanitized = sanitize(value) ?: return "null" return when (sanitized) { is String -> sanitized is Number, is Boolean -> sanitized.toString() is Map<*, *> -> JSONObj...
Kotlin
m RGB to BGR, or vice versa. Note that this will trigger a conversion of `image` to a NumPy array if it's a PIL Image. Args: image (`PIL.Image.Image` or `np.ndarray` or `torch.Tensor`): The image whose color channels to flip. If `np.ndarray` or `torch.Tensor`, the channel di...
Python
s fmul v26.4s, v26.4s, v4.4s fmul v15.4s, v15.4s, v5.4s fmul v19.4s, v19.4s, v5.4s fmul v23.4s, v23.4s, v5.4s fmul v27.4s, v27.4s, v5.4s # Add bias. fadd v12.4s, v12.4s, v6.4s fadd v16.4s, v16.4s, v6.4s fadd v20.4s, v20.4s, v6.4s fadd v24.4s, v24.4s, v6.4s ...
Assembly
TION_FEATURE_DISABLE_UNIQUE_HANDLES_EXT = 6, } } enumeration! { /// [VkIndirectCommandsTokenTypeNV](https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkIndirectCommandsTokenTypeNV.html) VkIndirectCommandsTokenTypeNV { VK_INDIRECT_COMMANDS_TOKEN_TYPE_SHADER_GROUP_NV = 0, VK_INDIRECT_CO...
Rust
return ((encodedValue[2] & 0x40) == 0x40); } set { if (value) encodedValue[2] |= 0x40; else encodedValue[2] &= 0xbf; } } public byte[] GetEncodedValue() { retu...
C#
expr int test_exp = boost::math::ccmath::ilogb(T(123.45)); static_assert(test_exp == 6); } #if !defined(BOOST_MATH_NO_CONSTEXPR_DETECTION) && !defined(BOOST_MATH_USING_BUILTIN_CONSTANT_P) int main() { test<float>(); test<double>(); #ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS test<long double>...
C++
and stores them in a map. * * @param jsonMap The map to store the key-value pairs. * @param message The log message. * @param params The parameters for the log message. */ protected void extractKeyValuesFromMessage(final Map<String, String> jsonMap, final String message, final Object[] pa...
Java
lver.toStringAugmented(), equals(toStringAugmented)); }); test('Making sure that objects comparison works properly.', () { final lu = LUSolver( matrix: RealMatrix.fromData( rows: 2, columns: 2, data: const [ [1, 2], [3, 4], ], ...
Dart
} getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < watchingUser_.size(); i++) { size += com.google.protobuf.CodedOutputStream ...
Java
IF_FAILED_GOTO( oMFSampleData.m_pvSubSampleMapping.Clear() ); IF_NULL_GOTO( oMFSampleData.m_pvSubSampleMapping.caul.pElems = (ULONG*)CoTaskMemAlloc( 2 * sizeof( DWORD ) ), E_OUTOFMEMORY ); oMFSampleData.m_pvSubSampleMapping.caul.cElems = 2; oMFSampleData.m_pvSubSampleMapping.vt = VT_VECTOR | VT_...
C++
.2 17 12.1V3C17 2.5 16.5 2 16 2M15 11H5.2L4 12.2V4H15V11M17 14H19V17H22V19H19V22H17V19H14V17H17V14Z", MaterialIconKind.ForumRemove => "M21 6H19V12.1C20.2 12.3 21.2 12.8 22 13.5V7C22 6.5 21.5 6 21 6M6 17C6 17.5 6.5 18 7 18H12C12 16.9 12.3 15.9 12.8 15H6V17M16 2H3C2.5 2 2 2.5 2 3V17L6 13H14.7C15.4 12.5 16.2 12.2 ...
C#
using System; using Server.Mobiles; using Server.Spells.Ninjitsu; namespace Server.Items; /// <summary> /// Perfect for the foot-soldier, the Dismount special attack can unseat a mounted opponent. /// The fighter using this ability must be on his own two feet and not in the saddle of a steed /// (with one...
C#
artsy/emission/pull/2036) ([@renovate-bot](https://github.com/renovate-bot)) - [MX-135] - Null checks for optional show.kind metadata [#2031](https://github.com/artsy/emission/pull/2031) ([@pepopowitz](https://github.com/pepopowitz)) - Installs Node 12 on deploy build #trivial [#2034](https://github.com/artsy/emission/...
Markdown
xxxxxxx` */ "DBInstanceId": string; /** * 实例的可维护时间段。格式:<i>HH:mm</i>Z-<i>HH:mm</i>Z(UTC时间)。 * @example `22:00Z-02:00Z ` */ "MaintainTime": string; "OwnerId"?: number; /** * 用于保证请求的幂等性,防止重复提交请求。由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符,且该参数值中不能包含非ASCII字符。 ...
Typescript
length, 1, 'element'); element.trigger('mouseenter'); equals(element.hasClass('hover'), true, 'hasClass hover'); element.trigger('mouseleave'); equals(element.hasClass('hover'), false, '!hasClass hover'); element = $('#quit' + id); equals(element.length, 1, 'element'); element.trigger('mouseenter'); equ...
JavaScript
e moveq #3,d1 and.b -3(a0),d1 or.b d0,d1 ror.b #3,d1 move.l mt_finetune(a1),a5 pointeur sur le FineTune move.w (a5,d1.w),d0 periode de la note atteindre beq mt_no_instr move.w d0,mt_port_per(a1) stocke la periode dbf d4,mt_loop_playvoice bra mt_end_playvoice ***************************************** * R...
Assembly
opacity=0)}.modal-backdrop.in{opacity:0.5;filter:alpha(opacity=50)}.modal-header{padding:15px;border-bottom:1px solid transparent}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.846}.modal-body{position:relative;padding:15px}.modal-footer{padding:15px;text-align:right;border-top:1px solid trans...
CSS
type": "keyword", "text": "SELECT", "name": "SELECT" }, "options": [], "columns": { "type": "list_expr", "items": [ { "type": "alias", "expr": { "type": "paren_expr", "expr": { ...
Markdown
connection_settings( &mut object_2229, var_2228, )?; object_2229.finish(); } if let Some(var_2230) = &input.cross_zone_load_balancing { let mut object_2231 = object.key("CrossZoneLoadBalancing").start_object(); crate::json_ser::serialize_structure_crate_mo...
Rust
) vim.api.nvim_echo({ { "Git commit message generator enabled", "Title" } }, true, {}) wk.add({ { "<C-m>", group = "AI (Model)" }, { "<C-m>g", ":Model commit<cr>", desc = "Generate git message" }, }) end, }) -- Override elixir-tools :M...
Lua
, '5': 14, '6': '.bilibili.app.dynamic.v2.DynVisibilityStatus', '10': 'desiredVisibilityStatus' }, ], '3': [Extend_HistoryReportEntry$json], }; @$core.Deprecated('Use extendDescriptor instead') const Extend_HistoryReportEntry$json = { '1': 'HistoryReportEntry', '2': [ {'1': 'key', '3'...
Dart
class=md-source data-md-component=source> <div class="md-source__icon md-icon"> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 448 512"><!-- Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Cop...
HTML
7 ; movelis r15, 0x1234 } { seqh r5, r6, r7 ; sb r15, r16 } { seqh r5, r6, r7 ; shrib r15, r16, 5 } { seqh r5, r6, r7 ; sne r15, r16, r17 } { seqh r5, r6, r7 ; xori r15, r16, 5 } { seqi r15, r16, 5 ; addi r5, r6, 5 ; prefetch r25 } { seqi r15, r16, 5 ; and r5, r6, r7 ; sw r25, r26 } { seqi r15, r16, 5 ; bitx r5,...
Assembly
"Object0"); List<String> keys = new ArrayList(1); keys.add("Object0"); ensureAllInvalidsPresent(vm2, keys); LogWriterUtils.getLogWriter() .info("***************** clear cache and register interest on four keys"); clearLocalCache(vm2); keys = new ArrayList(4); for (int i = 0; i < 4;...
Java