content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
.",
["O"] = "Nydiszanz nos Portões Presa do Dragão em Wetlands deseja libertar seu irmão Searistrasz de seu cativeiro pelos orcs Presa do Dragão no Retiro Presa do Dragão.",
["T"] = "A Ninhada Faucedraco",
},
[41752] = {
["D"] = "Eu fui um fraco toda a minha vida, não nasci como o guerreiro que minha mã... | Lua |
/*
* Descent 3
* Copyright (C) 2024 Parallax Software
*
* This program is free 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 progr... | C |
+) {
for (int j = 0; j != colSize; j++) {
res[i][j] = (int) (Math.random() * 2);
}
}
return res;
}
public static void printMatrix(int[][] matrix) {
for (int i = 0; i != matrix.length; i++) {
for (int j = 0; j != matrix[0].length; j++) {
System.out.print(matrix[i][j] + " ");
}
System.out.... | Java |
0x0000($v0) ## 00000000
/* 08C6C 808DF4DC 8FBF001C */ lw $ra, 0x001C($sp)
.L808DF4E0:
/* 08C70 808DF4E0 8FB00014 */ lw $s0, 0x0014($sp)
/* 08C74 808DF4E4 | Assembly |
-min .hljs-built_in,
.theme-base16-embers-min .hljs-doctag,
.theme-base16-embers-min .hljs-keyword.hljs-atrule,
.theme-base16-embers-min .hljs-quote,
.theme-base16-embers-min .hljs-regexp {
color: #576d82;
}
.theme-base16-embers-min .hljs-attribute,
.theme-base16-embers-min .hljs-function .hljs-title,
.theme-base16-em... | CSS |
/*
* Unix SMB/CIFS implementation.
* NetUserChangePassword query
* Copyright (C) Guenther Deschner 2008
*
* This program is free 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 Lic... | C |
prefs.setInt(key, value);
}
/// Saves a double [value] to persistent storage in the background.
///
/// Android doesn't support storing doubles, so it will be stored as a float.
Future<bool> setDouble(String key, double value) async {
return await _prefs.setDouble(key, value);
}
/// Saves a string [... | Dart |
ring(mRangeThumbDragStartValue, val);
// TODO: What should we do if SetValueInternal fails? (The allocation
// is small, so we should be fine here.)
SetValueInternal(val, TextControlState::eSetValue_BySetUserInput |
TextControlState::eSetValue_Notify);
nsRangeFrame* frame ... | C++ |
ector('#playBar');
let playBtn = playBar.getElementsByTagName('a')[0];
let showLabel = document.querySelector('#showLabel');
let ptsLabel = document.querySelector('#ptsLabel');
let coverToast = document.querySelector('#coverLayer');
let coverBtn = document.querySelec... | JavaScript |
ics(metrics: Storage<MutableList<MetricDatum>>) = route<GetMetricStatistics> {
if (it.Dimensions != null && it.Dimensions!!.size !in 1..30) {
return@route JsonError("invalid parameter value", "When specifying dimensions, you must specify between 1 and 30 dimensions. Found ${it.Dimensions!!.size}")
}
... | Kotlin |
Type.INFORMATION
)?.notify(project)
}
param.complete?.invoke()
}
MyFileUtil.reIndexPubspecFile(project)//重新索引
}
/**
* 重新索引
*/
private suspend fun resetIndex(param: DartPackageTaskParam = DartPackageTaskParam()) {
startWithAsync(para... | Kotlin |
);
}
}
}
//如果浏览记录超过1000条,清零.
String[] arr = list.split(",");
if(list!=""){
for(String s:arr){
if(Integer.parseInt(s)==bid){
flag=false;
}
}
}
if(flag){
list+=bid+",";
}
if(arr... | Java |
details about the implementation, refer to <a href="http://doc.asqatasun.org/en/90_Rules/accessiweb2.2/13.Consultation/Rule-13.10.1.html">the rule 13.10.1 design page.</a>
* @see <a href="http://www.accessiweb.org/index.php/accessiweb-22-english-version.html#test-13-10-1"> 13.10.1 rule specification</a>
*
* @author... | Java |
_template_done:
ldx help_cur_doc
lda help_cur_page
sec
sbc help_cumul_pages,x
; Page numbers are 1-based, but subtraction leaves carry set
adc #'0' ; Currently do not allow more than 9 pages per document
sta help_line_buffer+2
lda help_cumul_pages+1,x
sec
sbc help_cumul_pages,x
; Skip drawing ... | Assembly |
string.match(/^{(.*)}$/)
return matchBraces ? matchBraces[1] : substring
})
.join('')
.replace(/\\\{/g, '{')
.replace(/\\\}/g, '}')
// replace KaTeX and url placeholders with elems
let result = textWithStrippedBraces
for (const [uuid, elem] of Object.entries(uuidToElem)) {
result = resu... | Typescript |
, this list of conditions and the following disclaimer
// in the documentation and/or other materials provided with the
// distribution.
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permi... | Go |
ings.tabname.bulletphysics"] = "Bullet Physics"
////////// Bullet Physics
-- L["settings.tabname.bulletphysics.desc"] = "Adjust settings related to physical bullets."
-- L["settings.server.bulletphysics.bullet_physics.title"] = "Enable Physical Bullets"
-- L["settings.server.bulletphysics.bullet_physics.desc"] = "Wea... | Lua |
vcc row_shl:1 row_mask:0xa bank_mask:0x1 bound_ctrl:0
// NOSICI: error:
// NOVI: error:
// GFX9: v_subbrev_co_u32_dpp v1, vcc, v2, v3, vcc row_shl:1 row_mask:0xa bank_mask:0x1 bound_ctrl:0 ; encoding: [0xfa,0x06,0x02,0x3c,0x02,0x01,0x09,0xa1]
v_subbrev_co_u32 v1, vcc, v2, v3, vcc row_shl:1 row_mask:0xa bank_mask:0x1 ... | Assembly |
m_eWatchState", void 0),
(0, i.Cg)([s.sH], A.prototype, "m_strStateDescription", void 0),
(0, i.Cg)([s.XI], A.prototype, "SetState", null);
class k {
constructor(e) {
(this.m_steamIDBroadcast = ""),
(this.m_bInitialized = !1),
(this.m_strTitle = ""),
... | JavaScript |
# Copyright(C) 2017 Vincent A
#
# This file is part of a woob module.
#
# This woob module is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any... | Python |
0 )
{
tickRate = 0;
}
if ( m_iUpdateTickrate != tickRate )
{
Msg( "NextBot tickrate changed from %d (%.3fms) to %d (%.3fms)\n", m_iUpdateTickrate, TICKS_TO_TIME( m_iUpdateTickrate ), tickRate, TICKS_TO_TIME( tickRate ) );
m_iUpdateTickrate = tickRate;
}
int i = 0;
int nScheduled = 0;
int nNo... | C++ |
/**
* Shape is {@code [..., M, K]}.
*/
public final Operand<T> rhs;
/**
* Scalar tensor.
* <p>{@literal @}compatibility(numpy)<br>
* Equivalent to np.linalg.lstsq
* <br>{@literal @}end_compatibility
*/
public final Operand<TFloat64> l2Regularizer;
/**
* Th... | Java |
.6):
x_vsize = voxel_size[0]
y_vsize = voxel_size[1]
max_x = points[:, 0].max()
max_y = points[:, 1].max()
min_x = points[:, 0].min()
min_y = points[:, 1].min()
max_x = np.floor(max_x / (x_vsize * downsample) + 1) * (x_vsize * downsample)
max_y = np.floor(max_y / (y_vsize * downsample) +... | Python |
elif word == '<end>':
labels += [get_location_id(curr_loc, all_loc)] * len(curr_loc)
if_loc = False
else:
if if_loc:
curr_loc.append(word)
else:
labels.append(None)
samples.append(labels)
... | Python |
hands it over to "..pedName)
end
if exports.bank:takeBankMoney(client, itemPrice) then
exports.bank:addBankTransactionLog(getElementData(client, "dbid"), nil, itemPrice, 0, "Purchase", "Purchased "..itemName.." for "..itemPrice.."$ from "..getElementData(shopElement, "name"), nil, nil)
else
stor... | Lua |
}
case reflect.Slice: // E.g. Bytes type (e.g., []byte)
for _, key := range sm.MapKeys() {
val := sm.MapIndex(key)
val = reflect.ValueOf(append([]byte{}, val.Bytes()...))
dm.SetMapIndex(key, val)
}
default: // Basic type (e.g., string)
for _, key := range sm.MapKeys() {... | Go |
, %zmm27 {%k3} {z}
// CHECK: encoding: [0x62,0x02,0x9d,0x93,0x98,0xd9]
vfmadd132pd {rn-sae}, %zmm25, %zmm28, %zmm27 {%k3} {z}
// CHECK: vfmadd132pd -1032(%rdx){1to8}, %zmm20, %zmm24 {%k3} {z}
// CHECK: encoding: [0x62,0x62,0xdd,0xd3,0x98,0x82,0xf8,0xfb,0xff,0xff]
vfmadd132pd -1032(%rdx){1to8}, %zmm... | Assembly |
/*
* Date: 2018-10-21
*
* Description:
* Given an array, find the number of right rotations required to maximize
* sum(i*a[i])
*
* Approach:
* With simple mathematics equations, we can develop below recurrence relation:
* Ri = Ri-1 + array_sum - n*a[n - i]
* where Ri is sum(i*a[i]) after i rig... | C |
match $address >> (16 - 3) {
0b000 => {
$on_ram
},
0b001 => {
$on_ioreg_ppu
},
0b010 => {
if $address <= 0x401F {
$on_ioreg_other
} else {
$on_expansion_... | Rust |
0x0000B00E
_022169A8: .word 0x0000B015
thumb_func_start ov09_022169AC
ov09_022169AC: ; 0x022169AC
push {r3, r4, r5, lr}
sub sp, #0x18
add r5, r0, #0
ldr r0, [r5]
ldr r0, [r0, #8]
bl ov11_02230078
add r4, r0, #0
bl sub_020724C8
mov r1, #0x14
str r1, [sp]
str r0, [sp, #4]
mov r0, #0
str r0, [sp, #8]
mov r... | Assembly |
/// Provides the ideal harvest date based on planting date and time to maturity
fn planned_harvest_date(&self, conn: &Connection) -> NaiveDate {
let plant = Plant::get_plant_by_id(&conn, self.plant_id).unwrap();
self.date_planted + Duration::days(plant.days_to_maturity)
}
}
// Licensed to... | Rust |
behavior but ended up not very ergonomic when working with table configs.
---
## Version 2.0.0-next.7
### Major changes
**[feat(store,world): more granularity for onchain hooks (#1399)](https://github.com/latticexyz/mud/commit/c4d5eb4e4e4737112b981a795a9c347e3578cb15)** (@latticexyz/store, @latticexyz/world)
- Th... | Markdown |
// Copyright 2023 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | C |
n.status == SessionStatus.unread) {
_logger.d("new session add to the notice");
if (mounted) {
final notifier = context.read<BottomBarSessionNoticeCount>();
notifier.add(1);
}
}
_saveSession(newSession);
}
// move or add the new session to the top
_oth... | Dart |
(leftBag, rightBag),
metas = emptyMetaContainer()
)
}
}
/**
* Added: [PlannerPassResult]
* - PassResult gets renamed to [PlannerPassResult]. This is part of the experimental planner API.
*/
@Test
fun `PassResult (Renamed)`() {
fun `Example Usag... | Kotlin |
128_t t2 = wasmx_unpacklo_v8x16(x2, x3);
v128_t t3 = wasmx_unpackhi_v8x16(x2, x3);
x0 = wasmx_unpacklo_v16x8(t0, t2);
x1 = wasmx_unpackhi_v16x8(t0, t2);
x2 = wasmx_unpacklo_v16x8(t1, t3);
x3 = wasmx_unpackhi_v16x8(t1, t3);
}
SIMD_TARGET
inline v128_t unzigzag8(v128_t v)
{
v128_t xl = wasm_i8x16_neg(wasm_v128_an... | C++ |
K> = Pick<T, Exclude<keyof T, K>>;
/*
this is replacing personedit, and combines shared functions of
client and employeeId, like the adding and modifying buttons
*/
import {Component, OnInit, Input, Output, EventEmitter} from 'angular2/core';
import {Note} from "../../logic/objects/Note"
import {Person} from "../../... | Typescript |
-- mod-version:3
local syntax = require "core.syntax"
syntax.add {
name = "fstab",
files = { PATHSEP .. "fstab$" },
comment = '#',
patterns = {
-- Only lines that start with a # are comments; you can have #'s in fuse
-- filesystem strings that aren't comments, so shouldn't be highlighted as such.
... | Lua |
ورجائڻ کان بچندي هيٺ {%} لاءِ اندراج جاري رکو:",
4
],
memSummPrompt: [
1,
0,
2,
"# ڪهاڻي روڪيو ۽ اڳيون هدايتون نظرانداز ڪريو. ڏنل پيراگراف کي ھدايتون پورو ڪندي ھڪ تنگ ۽ مرکوز يادن جي عبارت ۾ خلاصو ڪريو:",
... | JavaScript |
# 📦 Import Library
import pandas as pd
import matplotlib.pyplot as plt
import yfinance as yf
# ⏱️ Ambil Data AAPL
data = yf.download("AAPL", start="2024-04-01", end="2024-07-01")
# 📊 Plot Harga Penutupan
plt.figure(figsize=(10, 4))
plt.plot(data['Close'], label='Close Price')
plt.title('Apple Stock Price (AAPL)')
p... | Python |
) {
if (menuItem.key == 'show_window') {
windowManager.show();
} else if (menuItem.key == 'config') {
_openConfigWindow();
} else if (menuItem.key == 'exit_app') {
trayManager.destroy();
windowManager.close();
}
}
void _openConfigWindow() async {
await windowManager.setA... | Dart |
#region License Information
/* HeuristicLab
* Copyright (C) Heuristic and Evolutionary Algorithms Laboratory (HEAL)
*
* This file is part of HeuristicLab.
*
* HeuristicLab is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Sof... | C# |
// Returns either a buffertoken and the corresponding index of the
/// virtqueue it is coming from. (Index in the TxQueues.vqs vector)
///
/// OR returns None, if no Buffertoken could be generated
fn get_tkn(&mut self, len: usize) -> Option<(BufferToken, usize)> {
// Check all ready token, for correct size.
// ... | Rust |
<hr />
<div class="release">
<h3>Soundcloud HUGE AND GOOD early hardcore playlists</h3>
<div class="release">
<iframe
width="100%"
height="450"
scrolling="no"
frameborder="no"
allow="autoplay"
src="https://w.soundcloud.com/player/?url... | Markdown |
import com.github.fierioziy.particlenativeapi.core.asm.ContextASM;
import com.github.fierioziy.particlenativeapi.core.asm.particle.type.v1_17.skeleton.ParticleTypeComplexSkeletonASM_1_17;
import com.github.fierioziy.particlenativeapi.core.asm.skeleton.ClassSkeleton;
import org.objectweb.asm.ClassWriter;
import org.obje... | Java |
r the specific language governing permissions and
limitations under the License.
****************************************************************************/
package edu.mines.jtk.interp;
import java.awt.*;
import javax.swing.*;
import junit.framework.TestCase;
import junit.framework.TestSuite;
import edu.mines.jtk... | Java |
# cours/urls.py
from django.urls import path
from . import views
urlpatterns = [
path('matieres/', views.liste_matieres, name='liste_matieres'),
path('matieres/ajouter/', views.ajouter_matiere, name='ajouter_matiere'),
path('matieres/modifier/<int:matiere_id>/', views.modifier_matiere, name='modifier_matie... | Python |
(enabled=false);}
.btn-function:hover,.btn-function:active,.btn-function.active,.btn-function.disabled,.btn-function[disabled]{background-color:#dddddd;*background-color:#ff0000; color:#333333;text-shadow:0 -1px 0 rgba(255, 255, 255, 0.25);}
.btn-function:active,.btn-function.active{background-color:#dddddd \9;}
/* Tom... | CSS |
.error;
}
}
export const deepAsync = <Response>(process: () => Promise<Response>) => {
const storage = deepStorage({
status: AsyncStatus.Created
});
return new DefaultDeepAsync(storage, process);
};
import { Injectable } from '@angular/core';
import { Observable } from 'rxjs';
import { AMapClass, Geocoder ... | Typescript |
json" },
name = "imageoptimizer.json",
url = "https://www.schemastore.org/imageoptimizer.json"
}, {
description = "Imgbot Configuration Files",
fileMatch = { ".imgbotconfig" },
name = ".imgbotconfig",
url = "https://www.schemastore.org/imgbotconfig.json"
}, {
descriptio... | Lua |
color: $empress;
}
.timeline-Tweet-text,
.SandboxRoot.env-bp-min .timeline-Tweet-text {
font-size: 1.1em !important;
line-height: 1.5;
padding-left: 58px;
margin-left: 0;
color: $coal;
}
.timeline-Tweet-action.timeline-ShareMenu,
.timeline-Tweet-brand,
.TweetAuthor-verifiedBadge {
display: none;
}
.timel... | CSS |
�件信息
```json
{}
```
### 插件详细设置
```json
{}
```
### 知识库信息
```json
{
"auto": true,
"knowledge_info": [],
"min_score": 0.5,
"search_strategy": 0,
"top_k": 3
}
```
### 工作流设置
```json
[]
```
### 工作流详细设置
```json
{}
```
## [聊天伙伴](https://www.coze.cn/store/bot/7342334205181018127)
### Prompt
```md
# 角色
你是一个可以陪用户聊天、玩游戏... | Markdown |
abel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.lblMarkupLabel.AutoSize = true;
this.lblMarkupLabel.Location = new System.Drawing.Point(153, 57);
this.lblMarkupLabel.Margin = new System.Windo... | C# |
*/
/**
* Check if the queue is empty.
* @return true if the queue is empty.
*/
bool IsEmpty();
/**
* Returns the amount of items in the queue.
* @return amount of items in the queue.
*/
SQInteger Count();
};
#endif /* SCRIPT_PRIORITYQUEUE_HPP */
/*
* This file is part of OpenTTD.
* OpenTTD is free... | C++ |
fdStepname.right = new FormAttachment( 100, 0 );
wStepname.setLayoutData( fdStepname );
// Number of clones line
wlnrClone = new Label( shell, SWT.RIGHT );
wlnrClone.setText( BaseMessages.getString( PKG, "CloneRowDialog.nrClone.Label" ) );
props.setLook( wlnrClone );
fdlnrClone = new FormData()... | Java |
状态之间切换,常用于计算机中的寄存器、计数器和数据存储设备等
- **缓存**是介于主存和寄存器之间的高速存储装置,比主存更快很多,两种缓存写入粗略:*write through*是直写,也就是同时写入缓存和主存,一种是*write back*是写回,就是只写入缓存,当满足一定条件后才写入主存
- 64位/32位处理器的这个位是2的位次方的address数的意思,意味着主存中可以有多少地址,一个地址中有8bit也就是1byte的信息存储
- **DRAM**(Dynamic Random Access Memory,动态随机存取存储器)使用电容存储数据,每个存储单元由一个电容和一个晶体管组成,电容的充电状态(... | Markdown |
%xmm1, %xmm1, %xmm1
// CHECK: encoding: [0x62,0xf1,0xf7,0x08,0x58,0xc9]
{evex} vaddsd %xmm1, %xmm1, %xmm1
// CHECK: vaddsd %xmm1, %xmm1, %xmm1 {%k2}
// CHECK: encoding: [0x62,0xf1,0xf7,0x0a,0x58,0xc9]
vaddsd %xmm1, %xmm1, %xmm1 {%k2}
// CHECK: vaddsd %xmm1, %xmm1, %xmm1 {%k2} {z}
// CHECK: encoding: [0x62,0xf1,0xf7,... | Assembly |
/*
* Copyright (C) Narf Industries <info@narfindustries.com>
*
* 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, cop... | C |
dc.w BPL2PTL,0
dc.w BPL2PTH,0
dc.w BPL3PTL,0
dc.w BPL3PTH,0
dc.w BPL4PTL,0
dc.w BPL4PTH,0
dc.w BPL5PTL,0
dc.w BPL | Assembly |
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface HomeRacingGallerySettleNotifyOrBuilder extends
// @@protoc_insertion_point(interface_extends:HomeRaci... | Java |
// ------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// --------------------------------------------------------... | C# |
AuthTemplate authTemplate) {
// 关联运输任务的司机作业单
DriverJobPageQueryDTO driverJobPageQueryDTO =
DriverJobPageQueryDTO.builder().page(1).pageSize(999).transportTaskId(transportTaskId).build();
PageResponse<DriverJobDTO> pageResponse = driverJobFeign.pageQuery(driverJobPageQueryDTO);
... | Java |
ierz obiekt",
["Select your language"] = "Wybierz jezyk",
["Sell"] = "Sprzedaj",
["Sell All"] = "Sprzedaj wszystko",
["Sell Now"] = "Sprzedaj Teraz",
["Sell Offers"] = "Oferty Sprzedazy",
["Seller Name"] = false,
["Send"] = "Wyslij",
["Send Message"] = "Wyslij Wiadomosc",
["Send auto... | Lua |
r14, %r0] 0x72, %r30
.word 0xbb359000 ! 1256: SRLX_R srlx %r22, %r0, %r29
.word 0xb9a48840 ! 1257: FADDd faddd %f18, %f0, %f28
iob_intr_1_101:
!$EV trig_pc_d(1,expr(@VA(.MAIN.iob_intr_1_101), 16, 16)) -> intp(1, 0, e)
.word 0xb1a00560 ! 1261: FSQRTq fsqrt
T1_asi_reg_wr_60:
mov 0xd, %r14
.word 0xfef389e0 ! 126... | Assembly |
_constraint->getMaxLength()));
nterm_cleavage_positions_->reserve(max_peptides);
peptide_lengths_->reserve(max_peptides);
cumulative_cleavages_->reserve(max_peptides);
num_cleavages_ = 0;
// prepare the iterator data structures
prepare();
}
/**
* Frees an allocated peptide_iterator object.
*/
ProteinP... | C++ |
// Copyright (c) Six Labors.
// Licensed under the Six Labors Split License.
using System.Numerics;
namespace SixLabors.Fonts.Tests.Issues;
public class Issues_446
{
private readonly FontFamily charisSIL = new FontCollection().Add(TestFonts.CharisSILRegular);
[Fact]
public void Issue_446_A()
{
... | C# |
Window.setBlurViewState(MacOSBlurViewState.active);
}
if (PlatformUtils.isWindows) {
Window.setEffect(effect: WindowEffect.mica, dark: isDark);
Window.setBlurViewState(MacOSBlurViewState.active);
}
}
}
Future<void> setSeedColor(Color color) async {
if (_seedColor != color... | Dart |
@override
$Res call({
Object? id = null,
Object? post = null,
}) {
return _then(_$GetUsersPostResponseDataImpl(
id: null == id
? _value.id
: id // ignore: cast_nullable_to_non_nullable
as String,
post: null == post
? _value.post
: post ... | Dart |
.js\",\n \"files\": [\n \"index.js\",\n \"lib\"\n ],\n \"browser\": {\n \"./lib/pass-through-decoder.js\": \"./lib/pass-through-decoder.js\",\n \"./lib/utf8-decoder.js\": \"./lib/utf8-decoder.js\",\n \"constants\": \"constants-browserify\",\n \"crypto\": \"react-native-crypto\",\n \"path\": \"pa... | JavaScript |
:
case JOIN:
case LET:
case LONG:
case NAMEOF:
case OBJECT:
case ON:
case ORDERBY:
case PARTIAL:
case READONLY:
case REF:
case REMOVE:
case SBYTE:
case SELECT:
case SET:
case SHORT:
case STRING:
case STRUCT:
case UINT:
case ULONG:
case UNMANAGED:
case USHOR... | C# |
img_byte_array, format="PNG")
img_byte_array = img_byte_array.getvalue()
image_base64 = base64.b64encode(img_byte_array).decode('utf-8')
ego_pose = cur_data['param']['metas']['ego_pos']
accel = cur_data['param']['metas']['accel']
rotation_rate = cur_data['param']['metas']['rota... | Python |
bp5-icon-large.bp5-intent-success{color:#72ca9b}.bp5-dark .bp5-tree .bp5-icon.bp5-intent-warning,.bp5-dark .bp5-tree .bp5-icon-standard.bp5-intent-warning,.bp5-dark .bp5-tree .bp5-icon-large.bp5-intent-warning{color:#fbb360}.bp5-dark .bp5-tree .bp5-icon.bp5-intent-danger,.bp5-dark .bp5-tree .bp5-icon-standard.bp5-inten... | CSS |
E5A0 0007B3A0 C0 3F 00 04 */ lfs f1, 4(r31)
/* 8007E5A4 0007B3A4 EC 45 00 2A */ fadds f2, f5, f0
/* 8007E5A8 0007B3A8 C0 7E 00 08 */ lfs f3, 8(r30)
/* 8007E5AC 0007B3AC C0 1F 00 08 */ lfs f0, 8(r31)
/* 8007E5B0 0007B3B0 EC 24 08 2A */ fadds f1, f4, f1
/* 8007E5B4 0007B3B4 D0 A7 80 00 */ stfs f5, 0xCC008000@l(r7)
... | Assembly |
ault()
cfg := config.Config{
Env: config.EnvLocal,
Databases: config.DatabaseList{
"default": {
Host: "127.0.0.1",
Port: "3306",
User: "root",
Pwd: "root",
Name: "godmin",
MaxIdleConns: 50,
MaxOpenConns: 150,
ConnMaxL... | Go |
L": "Holandsko",
"NO": "Nórsko",
"NP": "Nepál",
"NR": "Nauru",
"NU": "Niue",
"NZ": "Nový Zéland",
"OM": "Omán",
"OS": "Južné Osetsko",
"PA": "Panama",
"PE": "Peru",
"PF": "Francúzska Polynézia",
"PG": "Papua Nová Guinea",
"PH": "Filipíny",
"PK": "Pakistan",
"PL": "Poľsko",
"PM": "Saint Pie... | JavaScript |
er_A) * MI(f)*/
A("add %9,r0")
A("adc %2,r1")
A("adc %3,%0")
A("adc %4,%0") /* %4:%3:%2:%9 += LO(bezier_A) * MI(f)*/
A("mul %11,%6") /* r1:r0 = MI(bezier_A) * MI(f)*/
A("add %2,r0")
A("adc %3,r1")
A("adc %4,%0") /* %4:... | C++ |
�ꆼ,危呼高哉!
蜀道之难难于上青天。
蚕丛及鱼凫,开国何茫然。
尔来四万八千岁,始与秦塞通人烟。
西当太白有鸟道,可以横绝峨嵋巅。
地崩山摧壮士死,然后天梯石栈相钩连。
上有六龙回日之高标,下有冲波逆折之回川。
黄鹤之飞尚不得,猿猱欲度愁攀缘。
青泥何盘盘,百步九折萦岩峦。
扪参历井仰胁息,以手抚膺坐长叹。
问君西游何时还,畏途ꆼ岩不可攀。
但见悲鸟号古木,雄飞雌从绕林间。
又闻子规啼夜月,愁空山。
蜀道之难难于上青天,使人听此凋朱颜。
连峰去天不盈尺,枯松倒挂倚绝壁。
飞湍瀑流争喧ꆼ,石冰崖转石万壑雷。
其险也若此,嗟尔远道之人,胡为呼来哉。
剑阁峥嵘而崔嵬,一夫当关,万夫莫开。
所守或匪亲,化为狼与豺。
朝避猛虎,夕避长蛇。
... | Go |
|| _browserLang(1);
}
if (uLang) {
if (xsr.i18n.onLangChange) {
var fnOnLangChange = xsr.i18n.onLangChange,
nLang = (_isFn(fnOnLangChange))? fnOnLangChange.call(undefined, uLang, isAuto) : uLang;
uLang = (_isStr(nLang))? nLang : uLang;
}
$('html').attr('lang', uLan... | JavaScript |
*ids, int id, int cmd,
struct ipc64_perm *perm, int extra_perm);
#ifndef CONFIG_ARCH_WANT_IPC_PARSE_VERSION
/* On IA-64, we always use the "64-bit version" of the IPC structures. */
# define ipc_parse_version(cmd) IPC_64
#else
int ipc_parse_version(int *cmd);
#endif
extern void free_msg(struct msg_msg *ms... | C |
this command
* @param dst Destination address for request
* @param req Initiate Test Mode request structure
* @param callback Callback function that will be invoked later when the response is received
* @param arg Pointer to application data that will later be provided back to the callback function when invoked
* ... | C |
//
// Created by OuyangPeng on 2021/12/1.
//
#ifndef OPENGLESDEMO_FBOSAMPLE_H
#define OPENGLESDEMO_FBOSAMPLE_H
#include <GLBaseSample.h>
#define FBO_VERTEX_POS_INDX 0
#define FBO_TEXTURE_POS_INDX 1
#define FBO_VERTEX_POS_SIZE 3
#define FBO_TEXTURE_POS_SIZE 2
class FBOSample :public GLBaseSample{
public:
FB... | C |
->m_page = PAGE_NONE;
m->m_obj = OBJ_COLL;
m->m_def = "0";
m->m_flags = PF_NOAPI;//PF_DIFFBOT; no i want to saveToXml
m++;
m->m_cgi = "dbcrawlname";
m->m_xml = "diffbotCrawlName";
m->m_off = (char *)&cr.m_diffbotCrawlName - x;
m->m_type = TYPE_SAFEBUF;
m->m_page = PAGE_NONE;
m->m_obj = OBJ_COL... | C++ |
17CBE4 7C 79 1B 78 */ mr r25, r3
/* 80180F88 0017CBE8 41 82 00 64 */ beq lbl_80180FEC
/* 80180F8C 0017CBEC 28 00 01 D4 */ cmplwi r0, 0x1d4
/* 80180F90 0017CBF0 41 82 00 5C */ beq lbl_80180FEC
/* 80180F94 0017CBF4 41 82 00 58 */ beq lbl_80180FEC
/* 80180F98 0017CBF8 28 1E 00 01 */ cmplwi r30, 1
/* 80180F9C 0017CBF... | Assembly |
0], MARGIN = 2, FUN = median)
```
## Benchmarks
For formal benchmarking of matrixStats functions relative to
alternatives, see the [Benchmark reports].
## Design goals
The objectives of the **matrixStats** package is to perform operations
on matrices (i) as faster as possible, while (ii) not using
unnecessary amo... | Markdown |
k(ofFullCopy(COARSE_STONE.get())));
public static final DeferredBlock<Block> CRACKED_COARSE_STONE_BRICKS = REGISTER.register("cracked_coarse_stone_bricks", () -> new Block(ofFullCopy(COARSE_STONE.get())));
public static final DeferredBlock<Block> MOSSY_COARSE_STONE_BRICKS = REGISTER.register("mossy_coarse_stone_brick... | Java |
}
return null;
}
@override
Future<List<MediaStream>> getStreams(StreamExtractorOptions options, {String? externalLink, Map<String, String>? externalLinkHeaders}) async {
try {
if (externalLink == null || externalLink.isEmpty) {
throw Exception("External link is required for $_providerKey")... | Dart |
очередь до пятой точки маршрута (конец дорожки для человечков)
if (rotate > 5) break;
// Инициализируем человека в массиве
this.humans[human] = {};
// Записываем кадр и координаты отрисовыемого человека
this.humans[human].frame = frame;
this.humans[human].lastCoords = { ...lastCoords };
... | Typescript |
using Unity.Netcode;
public struct ServerAnimAndAudio : INetworkSerializable
{
public string animationString;
public NetworkObjectReference anim | C# |
{
//探测网卡所在网段
slog.Println(slog.INFO, "现在开始当前所在网段的B段网关存活性探测")
gatewayArr = makeInterfaceGatwayList()
gatewayArr = misc.RemoveDuplicateElement(gatewayArr)
//探测当前所在网段B段网关
gatewayArr = misc.RemoveDuplicateElement(gatewayArr, All...)
if len(gatewayArr) > 0 {
HostDiscoveryIcmpPool(gatewayArr)
All = appen... | Go |
#### `unshift(value)`
Adds value to the beginning of the array.
**Parameters:**
- `value` - Value to add (any type)
**Returns:** Nil
**Example:**
```quest
let arr = [2, 3, 4]
arr.unshift(1)
puts(arr) # [1, 2, 3, 4]
```
#### `reverse()`
Reverses the array in place.
**Returns:** Nil
**Example:**
```quest
let arr ... | Markdown |
added retaliation alerts";
const String feat2_9_0_2 = "Chaining: added retaliation section";
const String feat2_9_0_3 = "Fixed several reported issues";
v2_9_0.features.add(feat2_9_0_1);
v2_9_0.features.add(feat2_9_0_2);
v2_9_0.features.add(feat2_9_0_3);
// VERSION 2.8.9
final v2_8_9 = Cha... | Dart |
ment_5b0: @ 5b0
WalkUpFast 0x8
MoveRightFast 0x1
EndMovement 0x0
@ 5bc
Movement_5bc: @ 5bc
WalkDownFast 0x1
WalkRightFast 0x5
WalkUpFast 0x4
EndMovement 0x0
@ 5cc
Movement_5cc: @ 5cc
WalkUpFast 0x1
WalkRightFast 0x5
WalkUpFast 0x3
EndMovement 0x0
@ 5dc
Movement_5dc: @ 5dc
WalkUpFast 0x2
WalkRightFast 0x... | Assembly |
void checkGetPolicyOptions(api.GetPolicyOptions o) {
buildCounterGetPolicyOptions++;
if (buildCounterGetPolicyOptions < 3) {
unittest.expect(o.requestedPolicyVersion!, unittest.equals(42));
}
buildCounterGetPolicyOptions--;
}
core.List<core.String> buildUnnamed6() => ['foo', 'foo'];
void checkUnnamed6(c... | Dart |
ClassName(name: r'Custom$_Query$_Node$_ChatMessage')
},
typeNameField: ClassPropertyName(name: r'__typename'),
isInput: false),
ClassDefinition(
name: ClassName(name: r'Custom$_Query'),
properties: [
ClassProperty(
type:... | Dart |
0HS662nrtUgIe4voD8v7xElL2Kog9gtC45WU2m/wALtESy7JyLChOjT5Er8IfT2m0RE0w//9k=",
school = School(id = 1L, name = "연세대", imageUrl = ""),
artists = listOf(
Artist(
id = 1L,
name = "아이들",
imageUrl = "https://cdn.mediatoday.co.k... | Kotlin |
all-through code following a conditional branch be the likely target for a branch with a forward target"
// to hint static predictor.
cmpq $0, _libcuda_so_tramp_table+3920(%rip)
je 2f
1:
jmp *_libcuda_so_tramp_table+3920(%rip)
2:
pushq $490
.cfi_adjust_cfa_offset 8
call _libcuda_so_save_regs_and_resolve
... | Assembly |
_command_max_exit_latency_too_large_capability,
"Configure Endpoint Command Max Exit Latency Too Large Capability"
);
ro_bit!(
2,
force_save_context_capability,
"Force Save Context Capability"
);
ro_bit!(
3,
compliance_transition_capability,
"Compl... | Rust |
pairs[key] = value;
inputLine = Console.ReadLine();
}
var defaultValue = Console.ReadLine();
var notNullResult = pairs.Where(x => !x.Value.Equals("null")).OrderByDescending(x=>x.Value.Length);
var nullResult = pairs.Where(x => x.Value.Equals("null"));
... | C# |
id: b0d44251-adef-4a90-b5a3-dc36576169b9
ms.date: 12/05/2018
ms.keywords: GetServiceProviderNameW, GetServiceProviderNameW method [Microsoft TV Technologies], GetServiceProviderNameW method [Microsoft TV Technologies],IDvbServiceDescriptor2 interface, IDvbServiceDescriptor2 interface [Microsoft TV Technologies],GetServ... | Markdown |
;
switch (entry)
{
case 17906: //GARGOYLE
if (!FirstBossDead && (WaveCount == 1 || WaveCount == 3))
{//summon at tower
creature = me->SummonCreature(entry, SpawnPointSpecial[SPAWN_NEAR_TOWER][0]+irand(-20, 20), SpawnPointSpecial[SPAWN_NEAR_TOWE... | C++ |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.