content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
Temukar",
[61046] = "Fonteno",
[61048] = "Pequeno Rumorante Gelkis",
[61049] = "Filhote de Pataóssea",
[61050] = "Daron Guardião da Verdade",
[61051] = "Senador Ryedol",
[61052] = "Mally O\'flor",
[61053] = "Chen Malte do Trovão",
[61054] = "Plebeu de Ventobravo",
[61055] = "Plebeu de Orgrimmar",
[... | Lua |
chine type 0 だろ
## マクロの定義
```
#define KVM_CREATE_VM _IO(KVMIO, 0x01) /* returns a VM fd */
```
## ioctl(2) + KVM_CREATE_VM
`/dev/kvm` の fd に ioctl(2) + KVM_CREATE_VM して VM を割り当てる
```c
static long kvm_dev_ioctl(struct file *filp,
unsigned int ioctl, unsigned long arg)
{
long r = -EINVAL;
switc... | Markdown |
ORY_WAFER)
.output(RANDOM_ACCESS_MEMORY, 32).buildAndRegister();
CUTTER_RECIPES.recipeBuilder().duration(900).EUt(VA[EV]).input(QUBIT_CENTRAL_PROCESSING_UNIT_WAFER)
.output(QUBIT_CENTRAL_PROCESSING_UNIT, 4).cleanroom(CleanroomType.CLEANROOM).buildAndRegister();
CUTTER_REC... | Java |
;1112 116D 11C2;D6C3;1112 116D 11C2; # (훃; 훃; 훃; 훃; 훃; ) HANGUL SYLLABLE HYOH
D6C4;D6C4;1112 116E;D6C4;1112 116E; # (후; 후; 후; 후; 후; ) HANGUL SYLLABLE HU
D6C5;D6C5;1112 116E 11A8;D6C5;1112 116E 11A8; # (훅; 훅; 훅; 훅; 훅; ) HANGUL SYLLABLE HUG
D6C6;D6C6;1112 116E 11A9;D6C6;1112 116E 11A9; # (훆; 훆; 훆; 훆; 훆; ) HANGUL SYLLABLE... | Kotlin |
watch(goRouterProvider);
ref.watch(chatDbChangeMonitorProvider);
return MacosApp.router(
title: 'remember_that_text',
theme: MacosThemeData.light().copyWith(),
darkTheme: MacosThemeData.dark().copyWith(),
themeMode: ThemeMode.system,
routerConfig: router,
debugShowCheckedMod... | Dart |
28 15.3456 5.82618 15.1113 6.06049L12.4243 8.7475C12.19 8.98181 11.8101 8.98181 11.5757 8.7475Z" stroke="currentColor"/><path d="M17.9396 15.1113L15.2526 12.4243C15.0183 12.1899 15.0183 11.8101 15.2526 11.5757L17.9396 8.88873C18.174 8.65442 18.5539 8.65442 18.7882 8.88873L21.4752 11.5757C21.7095 11.8101 21.7095 12.1899... | CSS |
to a neighboring vertex [neighbor]:
for (T neighbor in graph.neighborsOf(vertex)) {
var neighborPreorderNumber = preorderNumbers[neighbor];
if (neighborPreorderNumber == null) {
// If the preorder number of [neighbor] has not yet been assigned,
// recursively search [neighbor];
... | Dart |
package org.rust.lang.core.resolve.ref
import com.intellij.openapi.paths.WebReference
import org.intellij.lang.annotations.Language
import org.rust.ProjectDescriptor
import org.rust.RsTestBase
import org.rust.StdlibLikeProjectDescriptor
class RsLiteralWebReferenceProviderTest : RsTestBase() {
fun `test single ... | Kotlin |
;
struct ath10k_pci_pipe pipe_info[CE_COUNT_MAX];
struct ath10k_hif_cb msg_callbacks_current;
/* Copy Engine used for Diagnostic Accesses */
struct ath10k_ce_pipe *ce_diag;
/* FIXME: document what this really protects */
spinlock_t ce_lock;
/* Map CE id to ce_state */
struct ath10k_ce_pipe ce_states[CE_COU... | C |
{
val tile1 = newTileMetadata(0..10)
val tile2 = newTileMetadata(11..20)
val tile3 = newTileMetadata(21..30)
val request1 = MogTilesRequest("http://url", listOf(tile1))
val request2 = MogTilesRequest("http://url", listOf(tile2))
val request3 = MogTilesRequest("http://url", listOf(tile3))
a... | Kotlin |
r,
style: TextStyle(
fontSize: 20.0,
fontFamily: "微软雅黑",
),
),
],
),
bottomNavigationBar: BottomNavigationBar(
items: [
BottomNavigationBarItem(
icon: Icon(Icons.cloud_upload), title: Text(uiVariables['update... | Dart |
ter use, by calling the [release] method.
factory CalledFromWorkerThreadException(
jni$_.JString? string,
) {
final _$string = string?.reference ?? jni$_.jNullReference;
return CalledFromWorkerThreadException.fromReference(
_new$(
_class.reference.pointer,
_id_new$ as jni$_.JMethod... | Dart |
/*
* Copyright 2012 Red Hat Inc.
*
* 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, publish, d... | C |
val firmwareVersion: String?,
val couldUpdate: Boolean, // this application contains a software load we _could_ install if you want
val shouldUpdate: Boolean, // this device has old firmware
val currentPacketId: Long,
val messageTimeoutMsec: Int,
val minAppVersion: Int,
v... | Kotlin |
# to pass in the functions for each.
if "upload_call_conversions" not in self._stubs:
self._stubs["upload_call_conversions"] = (
self._logged_channel.unary_unary(
"/google.ads.googleads.v20.services.ConversionUploadService/UploadCallConversions",
... | Python |
/**
* Copyright (c) 2024 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BAS... | C |
/* perf_mmap_close_bug.c */
/* By Vince Weaver <vincent.weaver at maine.edu> */
/* compile with "gcc -O2 -Wall -o perf_mmap_close_bug perf_mmap_close_bug.c */
/* This will reliably OOPS my core2 Linux 3.10-rc2 machine */
/* The problem exists as far bacl as 3.2. 3.0 may ... | C |
();
out.write_value(result, String.class);
return out;
}
case 20:
if (method.equals("passCorbaCMValueType"))
{
cmInfo arg0 = (cmInfo) in.read_value(cmInfo.class);
String result = target.pass... | Java |
__LINING_OFFSET_AS_STRING, newLiningOffsetAsString);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void unsetLiningOffsetAsString() {
eUnset(Ifc2x3tc1Package.Literals.IFC_DOOR_LINING_PROPERTIES__LINING_OFFSET_AS_STRING);
}
/**
* <!-- begin-user-doc -->
* <!-- end-us... | Java |
-- LSP Config with Mason and Mason-LSPConfig
return {
{
"williamboman/mason.nvim",
config = function()
require("mason").setup()
end
},
{
"williamboman/mason-lspconfig.nvim",
config = function()
require("mason-lspconfig").setup({
ensure_installed = {
"lua_ls", "htm... | Lua |
```
`document.createAttribute`方法的参数`name`,是属性的名称。
```js
var node = document.getElementById('div1');
var a = document.createAttribute('my_attrib');
a.value = 'newVal';
node.setAttributeNode(a);
// 或者
node.setAttribute('my_attrib', 'newVal');
```
上面代码为`div1`节点,插入一个值为`newVal`的`my_attrib`属性。
#### 3.12 document.cre... | Markdown |
# -*- coding: utf-8 -*-
"""
Spyder Editor
This is a temporary script file.
"""
distance = float(input("nhập độ dài đoạn đường đến trường(m): "))
if distance < 300:
print("đường đến trường quá gần. Thôi! Đi bộ")
elif distance > 1200:
print("Đường đến trường xa quá. Thôi! Đi xe máy")
elif distance >= 300 and dis... | Python |
ectiveCurveTo(9f, 11.45f, 9f, 11f)
verticalLineTo(8f)
curveTo(9f, 7.54f, 9.17f, 6f, 11f, 6f)
horizontalLineTo(14.41f)
lineTo(16.69f, 3.72f)
curveTo(17f, 3.43f, 17.18f, 3.6f, 17.29f, 3.71f)
lineTo(20.28f, 6.69f)
curveTo(20.57f, 7f, 20.4f... | Kotlin |
tokens or "goodbye" in tokens or "bye" in tokens:
self.save_data()
self.speak("Goodbye! Thank you for using Athena AI Assistant!")
self.is_running = False
else:
self.speak("I didn't understand that command. Say 'athena help' for available commands.")
... | Python |
,C=0,E=0,k=!1,N=!1,A=!1;return{getSources:function(){return s},addSource:F,setSourceContent:P,addName:w,addMapping:I,appendSourceMap:function(e,t,r,n,i,a){L.Debug.assert(x<=e,"generatedLine cannot backtrack"),L.Debug.assert(0<=t,"generatedCharacter cannot be negative"),y();for(var o,s=[],c=R(r.mappings),u=c.next();!u.d... | JavaScript |
processors.query.h2.IgniteH2Indexing;
import org.apache.ignite.internal.sql.optimizer.affinity.PartitionResolver;
/**
* Default partition resolver implementation which uses H2 to convert types appropriately.
*/
public class H2PartitionResolver implements PartitionResolver {
/** Indexing. */
private final Ign... | Java |
from typing import Any, Dict, Optional
from sahi.utils.file import import_model_class
MODEL_TYPE_TO_MODEL_CLASS_NAME = {
"yolov8": "Yolov8DetectionModel",
"mmdet": "MmdetDetectionModel",
"yolov5": "Yolov5DetectionModel",
"detectron2": "Detectron2DetectionModel",
"huggingface": "HuggingfaceDetectio... | Python |
/*--------------------------------------------------------------------
Copyright (c) 2021-2024 EMQ Technologies Co., Ltd. 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
ht... | C |
pantalones de cuero rúnico",
[15766] = "Gema de la serpiente",
[15767] = "Llave de Hameya",
[15768] = "Patrón: cinturón de cuero maligno",
[15769] = "Patrón: capa de escamas de Onyxia",
[15770] = "Patrón: sobrehombros de escamas de dragón negro",
[15771] = "Patrón: coraza viva",
[15772] = "Patrón: leotardos de demosaur... | Lua |
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | Python |
enters the battlefield tapped unless you control a Mountain.
* {T}: Add {R}.
* {R}, {T}, Exert Arena of Glory: Add {R}{R}. If that mana is spent on a creature spell, it gains haste until end of turn. (An exerted permanent won’t untap during your next untap step.)
*/
private static final String arena... | Java |
type = 'hash', parts = { box.schema.FIELD_MAX - 1, 'unsigned' }})
index = s:create_index('test', { type = 'hash', parts = { box.schema.FIELD_MAX + 90, 'unsigned' }})
index = s:create_index('test', { type = 'hash', parts = { box.schema.INDEX_FIELD_MAX + 1, 'unsigned' }})
index = s:create_index('t1', { type = 'hash', par... | Lua |
method`, `TLSv1` or later must be specified. If you have specified `vip` in `ssl_support_method`, only `SSLv3` or `TLSv1` can be specified. If you have specified `cloudfront_default_certificate`, `TLSv1` must be specified.
* `ssl_support_method` - How you want CloudFront to serve HTTPS requests. One of `vip`, `sni-only... | Markdown |
院尝试“脑脊接口”手术,来治疗瘫痪。

瘫痪的主要原因是,大脑和脊髓之间的连接中断,神经信号无法发给脊髓。
科研人员在大脑皮层植入电极,收集脑电波信号,然后将信号发送到脊髓神经,相当于在大脑和脊髓之间搭建了人工桥梁。
今年1月,他们成功实施了这个手术,使一名瘫痪患者在术后24小时内恢复站立和行走能力。
2、[无血型的人造血液](https://www.tokyoweekender.com/entertainment/tech-trends/japanese-scientists-develop... | Markdown |
amegor"] = "플레임고르",
["Majordomo Executus"] = "청지기 이그젝큐투스",
["Ragnaros"] = "라그나로스",
["Baron Geddon"] = "남작 게돈",
["Golemagg the Incinerator"] = "초열의 골레마그",
["Garr"] = "가르",
["Sulfuron Harbinger"] = "설퍼론 사자",
["Shazzrah"] = "샤즈라",
["Lucifron"] = "루시프론",
["Gehennas"] = "게헨나스",
["Magmadar"] = "마그마다르",
... | Lua |
re[i][k] = X.re[i][k] - T.re[i][j] * X.re[j][k]
+ T.im[i][j] * X.im[j][k];
X.im[i][k] = X.im[i][k] - T.re[i][j] * X.im[j][k]
- T.im[i][j] * X.re[j][k];
}
z = T.get0(i, i);
z.Minus(z, d);
... | Java |
= 1
params.ftpMod = { 1, 1, 1 }
params.str_wsc = 0.5
params.vit_wsc = 0.5
local damage, criticalHit, tpHits, extraHits = xi.weaponskills.doPhysicalWeaponskill(player, target, wsID, params, tp, action, primary, taChar)
-- Handle status effects.
local effects =
{
[1] = { xi.effect.... | Lua |
e.scope||t];if(i&&i[e.name]){delete i[e.name];var s=n[e.scope||t],o=s&&s.indexOf(e);o>=0&&s.splice(o,1)}}var n=this.snippetMap,r=this.snippetNameMap;e.content?i(e):Array.isArray(e)&&e.forEach(i)},e.prototype.parseSnippetFile=function(e){e=e.replace(/\r/g,"");var t=[],n={},r=/^#.*|^({[\s\S]*})\s*$|^(\S+) (.*)$|^((?:\n*\... | JavaScript |
BodySetLinearVel,
SetFreeHandler = CLIB.dSetFreeHandler,
QuadTreeSpaceCreate = CLIB.dQuadTreeSpaceCreate,
BodyGetLinearVel = CLIB.dBodyGetLinearVel,
BodySetMass = CLIB.dBodySetMass,
JointCreateLMotor = CLIB.dJointCreateLMotor,
Free = CLIB.dFree,
BodyDisable = CLIB.dBodyDisable,
SetValue = CLIB.dSetValue,
GeomT... | Lua |
/*
* Copyright (C) 1998, 2000-2007, 2010, 2011, 2012, 2013 SINTEF ICT,
* Applied Mathematics, Norway.
*
* Contact information: E-mail: tor.dokken@sintef.no
* SINTEF ICT, Department of Applied Mathematics,
* P.O. Box 124 Blindern, ... | C |
l:getSpellGroup(), caster, target)
-- printf("Duration : %u", duration)
-- printf("Potency : %u", potency)
local params = {}
params.diff = dMND
params.skillType = tpz.skill.ENFEEBLING_MAGIC
params.bonus = 0
params.effect = tpz.effect.PARALYSIS
local resist = applyResistanceEffect(caster... | Lua |
this._scrollIntoViewIfNeeded();
}
} else {
this._scrollIntoView();
}
}
/**
* Static factory designed to expose `mousewheel` events to event
* handlers that are not necessarily instances of [Element].
*
* See [EventStreamProvider] for usage information.
*/
@DomName('Ele... | Dart |
{
this.sky2VBO.bindBuffer();
GlStateManager.glEnableClientState(32884);
GlStateManager.glVertexPointer(3, 5126, 12, 0);
this.sky2VBO.drawArrays(7);
this.sky2VBO.unbindBuffer();
GlStateManager.glDisabl... | Java |
#pragma once
#include <torch/csrc/python_headers.h>
#include <stdexcept>
#include <string>
#include <torch/csrc/utils/object_ptr.h>
// Utilities for handling Python strings. Note that PyString, when defined, is
// the same as PyBytes.
// Returns true if obj is a bytes/str or unicode object
// As of Python 3.6, this ... | C |
# 택배 상하차 알바
# 택배가 내려오는 레일의 순서를 조작해 최소한의 무게만 들고싶다
# N개 레일
# N번째 레일의 택배무게 Ni
# 택배 바구니 무게 M
# 바구니 무게 초과하지 않게 담아서 이동하면 1번 일한거
# K번 일할 때 최소한의 무게로 일하도록
# N M K
# N1 N2 N3...
import sys
import itertools
N,M,K = map(int,sys.stdin.readline().split())
Nlist = list(map(int, input().split()))
def cal_weight(T):
current_su... | Python |
git.execute(cmd)
print(output)
```
### push 子命令
同样,我们需要在 `cli` 函数中添加一个用于解析 `push` 命令的子解析器 `push_parser`,并指定其对应的处理函数为 `handle_push`。
它同 `status` 子命令的实现方式一致:
```python
def cli():
...
# push
push_parser = subparsers.add_parser(
'push',
help='Update remote refs along with associated objects... | Markdown |
ow - Default: false
pdfDocument.setCenterWindow(true);
// Predominant reading order; determine the position of page when displayed side by side - Default: L2R
pdfDocument.setDirection(Direction.R2L);
// Specify whether window's title bar should display document title if false, title bar displays PDF file name -... | Java |
ive;width:100%}._e216z{height:510px;width:510px}._e216z{background-color:green;overflow:hidden}._e216z::after{content:"";display:block;padding-bottom:100%}._qhu1q,._smsi8{position:absolute}._qhu1q{height:100%;width:100%}._smsi8{-webkit-box-shadow:0 0 0 255px #000;border-radius:100%;bottom:0;box-shadow:0 0 0 255px #000;... | CSS |
0x08 - 0x0F
"\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017" + // 0x10 - 0x17
"\u0018\u0019\u001A\u001B\u001C\u001D\u001E\u001F" + // 0x18 - 0x1F
"\u0020\u0021\"\u0023\u0024\u0025\u0026\'" + // 0x20 - 0x27
"\u0028\u0029\u002A\u002B\u002C\u002D\u002E\u002F" ... | Java |
x) / k, (δy - point[1]) / k);
return point && [ point[0] * d3_degrees, point[1] * d3_degrees ];
}
projection.stream = function(output) {
if (stream) stream.valid = false;
stream = d3_geo_projectionRadians(preclip(rotate, projectResample(postclip(output))));
stream.valid = true;
ret... | JavaScript |
(int page, int pagesize) {
super.page(page, pagesize);
return this;
}
/// int count = LIMIT
@override
ArtistFilterBuilder top(int count) {
super.top(count);
return this;
}
/// close parentheses
@override
ArtistFilterBuilder get endBlock {
super.endBlock;
return this;
}
///... | Dart |
px 2px 0 rgba(34,36,38,.15),none;border-radius:0 0 .28571429rem .28571429rem}.ui[class*="bottom attached"].menu:last-child{margin-bottom:0}.ui.top.attached.menu>.item:first-child{border-radius:.28571429rem 0 0 0}.ui.bottom.attached.menu>.item:first-child{border-radius:0 0 0 .28571429rem}.ui.attached.menu:not(.tabular){... | CSS |
'rn',
2: 'de', 32: 'ru', 62: 'sd', 92: 'ny',
3: 'it', 33: 'zh', 63: 'bo', 93: 'mg',
4: 'nl', 34: 'nl-BE', 64: 'ne', 94: 'eo',
5: 'sv', 35: 'ga', 65: 'sa', 128: 'cy',
6: 'es', 36: 'sq', 66: 'mr', 129: 'eu',
7: 'da', 37: 'ro', 67: 'bn', 130: 'ca',
8: 'pt', 38: 'cz', 68: 'as', 131: 'la',
9: 'no', ... | JavaScript |
1].toQueryMap().entries)
'Tags.Tag.${i1 + 1}.${e3.key}': e3.value,
};
final $result = await _protocol.send(
$request,
action: 'AddTagsToResource',
version: '2015-02-02',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
resultWrapper: 'AddTagsT... | Dart |
这里必须要使用延迟设置,否则还是有一定几率会出现)
it.postDelayed({
if (!it.isShowing) {
return@postDelayed
}
it.setWindowAnimations(dialogAnim)
}, 100)
}
}
override fun onActivityPaused(activity: Act... | Kotlin |
}
@Nonnull
private static Optional<ResolvedFilteredPriceRecords> getNarrowedResolvedFilteredPriceRecords(
@Nonnull Bitmap narrowToEntityIds,
@Nonnull List<FilteredPriceRecords> filteredPriceRecords,
boolean requirePriceFound
) {
final int[] buffer = SharedBufferPool.INSTANCE.obtain();
try {
final Opt... | Java |
entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=MnwyNjQwNTF8MHwxfHNlYXJjaHw3Mnx8c2FkfGVufDB8fHx8MTYzMjkxMDY5NQ&ixlib=rb-1.2.1&q=80&w=1080",
"color": 2803116750
},
{
"tag": "sad",
"coverImage":
"https://images.unsplash.com/photo-1546707012-c46675f12716?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=MnwyNjQ... | Dart |
yRangeInfos']
as core.Map<core.String, core.dynamic>?)
?.map(
(key, value) => core.MapEntry(
key,
KeyRangeInfos.fromJson(
value as core.Map<core.String, core.dynamic>,
),
),
),
);
... | Dart |
'NullKind2$uniquePostfix', id: 1),
newEntity(null, 'NullKind2$uniquePostfix', id: 2),
newEntity('FooNamespace', 'FooKind$uniquePostfix', id: 1),
newEntity('FooNamespace', 'FooKind$uniquePostfix', id: 2),
newEntity('FooNamespace', 'FooKind2$uniquePostfix', id: 1),
newEntity('FooNamespace', 'FooKind2... | Dart |
intln(getIndex(num));
}
}
package algorithm.array;
import com.google.common.collect.Maps;
import com.google.common.collect.Sets;
import java.util.Map;
import java.util.Set;
/**
* @author hsfxuebao
* @date 2020/03/28
*
* 找出数组中重复的数字。
*
*
* 在一个长度为 n 的数组 nums 里的所有数字都在 0~n-1 的范围内。数组中某些数字是重复的,但不知道有几个数字重复了,
* 也不知道... | Java |
e: [exact=JSUInt31]*/ +=
4;
/*member: B.returnInt3:[subclass=JSUInt32]*/
returnInt3() => /*invoke: [exact=JSUInt31]*/
++new A() /*[exact=A]*/ /*update: [exact=A]*/ [0];
/*member: B.returnInt4:[subclass=JSUInt32]*/
returnInt4() => A() /*[exact=A]*/ /*update: [exact=A]*/ [
0] /*invoke: [ex... | Dart |
;
}
/* Unordered list nested in ordered list */
.section li ul {
margin-bottom: 12px !important;
}
/* Add margin-bottom to inheritance diagrams */
div.graphviz {
margin-bottom: 24px !important;
}
/*
* Remove bottom margin for the autosummary table in a directive:option::
* section
*/
.rst-content dl.rst t... | CSS |
]{1,12}$")) {
return errorBar(R.string.info_nickname_tips)
}
val params: MutableMap<String, Any> = mutableMapOf()
params["nickname"] = nickname
mViewModel.updateInfo(params)
}
}package com.vmloft.develop.library.data.api
import com.vmloft.develop.library.data.bean.*
impo... | Kotlin |
ishsaladItem", 1));
RM.Mixer .addRecipeX(T, 16, 16, ST.array(IL.Food_Onion_Sliced.get( 3), IL.Food_Pickle_Sliced .get( 3), aEvent.mStack), FL.make(tFluid, 50), NF, ST.make(MD.HaC, "summerradishsaladItem", 1));
}
}});
addListener("cropCabbage", new IOreDictListenerEvent() {@Override public void onOreReg... | Java |
11.849f, 4.313f, 11.849f)
horizontalLineTo(16.065f)
curveTo(16.286f, 11.849f, 16.397f, 11.849f, 16.486f, 11.879f)
curveTo(16.649f, 11.936f, 16.778f, 12.064f, 16.834f, 12.227f)
curveTo(16.865f, 12.316f, 16.865f, 12.427f, 16.865f, 12.649f)
c... | Kotlin |
gs=I2C_FLAG_READ
///
//----------------------------------------------------------------------
///
/// I2C device operation
///
/// The EFI_I2C_OPERATION describes a subset of an I2C transaction in which
/// the I2C controller is either sending or receiving bytes from the bus.
/// Some transactions will consist of a si... | C |
: 'Módulo PHP JSON não está instalado.',
'errNoVolumes' : 'Não existe nenhum volume legível disponivel.',
'errCmdParams' : 'Parâmetro inválido para o comando "$1".',
'errDataNotJSON' : 'Dados não estão no formato JSON.',
'errDataEmpty' : 'Dados vazios.',
'errCmdReq... | JavaScript |
$crumb-link-decor: underline;
// We use these to control the slash between breadcrumbs
// $crumb-slash-color: #aaa;
// $crumb-slash: "/";
//
// BUTTONS
//
// $include-html-button-classes: $include-html-classes;
// We use these to build padding for buttons.
// $button-tny: rem-calc(10);
// $button-sml: rem-calc(14)... | CSS |
+ gpp * 4);
}
return 0;
}
EXPORT_SYMBOL_GPL(intel_pinctrl_suspend_noirq);
static void intel_gpio_irq_init(struct intel_pinctrl *pctrl)
{
size_t i;
for (i = 0; i < pctrl->ncommunities; i++) {
const struct intel_community *community;
void __iomem *base;
unsigned int gpp;
community = &pctrl->communities[i... | C |
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
"""
Contains common test fixtures used to run unit tests.
"""
import sys
import boto3
import pytest
import os
script_dir = os.path.dirname(os.path.abspath(__file__))
sys.path.append(script_dir)
import iotsit... | Python |
auto;
-moz-hyphens: auto;
hyphens: auto;
word-wrap: break-word;
(removed by hpl)
*/
line-height: 1;
}
.reveal h1 { font-size: 2.8em; /* changed (by hpl) from 3.77em; */ }
.reveal h2 { font-size: 1.5em; /* changed (by hpl) from 2.11em; */ }
.reveal h3 { font-size: 1.4em; /* changed (by hpl) from 1.5... | CSS |
local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function onCreatureAppear(cid)
npcHandler:onCreatureAppear(cid)
end
function onCreatureDisappear(cid)
npcHandler:onCreatureDisappear(cid)
end
function onCreatureSay(cid, type, msg)
npc... | Lua |
upplied modelgrid
#
# In some cases it may be necessary to override the model's modelgrid instance with a seperate modelgrid. An example of this is if the model discretization is in feet and the user would like it projected in meters. Exporting can be accomplished by supplying a modelgrid as a `kwarg` in any of the `ex... | Python |
集7塊金屬碎塊。"}},
[734] = {"不祥的感覺", {"太好啦,太好啦。","<魯特維爾看了你一會兒,又去擺弄他的鐐銬了>","去找盧希恩吧,<name>。跟他說我需要一個5號齒輪。你能把它拿來給我嗎?"}, {"和荒蕪之地的盧希恩·槍穗談話。"}},
[735] = {"星,手,心", {"雅格因的筆記?你要它幹什麼?沒關係,我不該問這個。","我會幫你的,因為我這裡還有一本。我們得互相幫助,對不對?這樣我們才能各自獲利。","我需要三件寶物,把它們給我拿來,我就給你那本筆記。","我不會說出它們的名字,因為可能有人正在偷聽,不過我可以把這幾個名字寫下來。"}, {"找齊葛利·硬骨的便箋上列出的東西,然後把它們交給鐵爐堡... | Lua |
C2IMR2_PVM1IM (1 << 16) /* Bit 16: CPU2 PVM1 interrupt mask */
#define SYSCFG_C2IMR2_PVM3IM (1 << 18) /* Bit 18: CPU2 PVM3 interrupt mask */
#define SYSCFG_C2IMR2_PVDIM (1 << 20) /* Bit 20: CPU2 PVD interrupt mask */
#define SYSCFG_C2IMR2_TSCIM (1 << 21) /* Bit 21: CPU2 TSC interru... | C |
21.note.Note F>
{4.25} <music21.note.Note G>
{5.25} <music21.note.Note A>
{6.25} <music21.note.Note B>
{7.25} <music21.note.Note C>
...
'''
from music21 import audioSearch as audioSearchBase
freqFromAQList = audioSearchBase.getFrequenciesFromAudioFile(waveFilename=fileName)
detecte... | Python |
true)
}
override val reportAppCrashes: Preference<Boolean> by lazy {
BooleanPreference(KEY_OPT_IN_CRASH_REPORTING, true)
}
override val reportAnalytics: Preference<Boolean> by lazy {
BooleanPreference(KEY_OPT_IN_ANALYTICS_REPORTING, true)
}
override val developerHideArtwork: Preference<Boolean> by ... | Kotlin |
29) Fixed: Block widget blurred after a drop followed by an undo.
* [#13397](http://dev.ckeditor.com/ticket/13397): Fixed: Drag&drop of a widget inside its nested widget crashes the editor.
* [#13385](http://dev.ckeditor.com/ticket/13385): Fixed: [`editor.getSnapshot()`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-... | Markdown |
izedBox(
width: Get.width,
height: Get.height,
child: n.Column([
LabelRow(
title: 'device_name'.tr,
isLine: true,
isRight: true,
trailing: SizedBox(
child: Obx(() => Text(
deviceName.v... | Dart |
;
}
pre.twilight .StringRegexpSpecial {
color: #CF7D34;
}
pre.twilight .EmbeddedSourceBright {
background-color: #9C9EA4;
}
pre.twilight .InvalidIllegal {
background-color: #241A24;
color: #F8F8F8;
}
pre.twilight .SupportFunction {
color: #DAD085;
}
pre.twilight .CssAdditionalConstants {
color: #CA784... | CSS |
.thePlayer.inventory.currentItem
PacketUtils.sendPacketNoEvent(C09PacketHeldItemChange(if (slot < 8) slot + 1 else 0))
PacketUtils.sendPacketNoEvent(C09PacketHeldItemChange(slot))
}
}
}package net.minusmc.minusbounce.features.module.modules.movement.longjumps.mineplex
impor... | Kotlin |
import logging
import os
import sys
# Define a custom formatter for Nexion
class NexionFormatter(logging.Formatter):
"""Custom formatter with colored output for different log levels"""
COLORS = {
logging.DEBUG: "\033[36m", # Cyan
logging.INFO: "\033[32m", # Green
logging.WARNING: "\... | Python |
/////
public static interface Recorder {
/**
* Optionally, set an audio processor to apply to the recording before saving it.
*
* @param proc
* proc
*/
public void setAudioProcessor(AudioProcessor proc);
public void start();
public void stopRecording();
}
public static class Ab... | Java |
nterPoint, getPatternRadiusInner(radiusF).toFloat(), patternPaint)
restore()
}
}
private fun setLineAtIndex(arr: FloatArray, index: Int, line1: PointF, line2: PointF) {
arr[index] = line1.x
arr[index + 1] = line1.y
arr[index + 2] = line2.x
arr[index + 3] = li... | Kotlin |
lign: center; text-decoration: none !important; width: 50px;}.lg-toolbar .lg-icon:hover { color: #fff;}.lg-toolbar .lg-close::after { content: "";}.lg-toolbar .lg-download::after { content: "";}.lg-sub-html { background-color: rgba(0, 0, 0, 0.6); bottom: 0; color: #eee; font-size: 16px; ... | CSS |
resourceString = IOUtils.toString(nd4jOpDescriptorResourceStream, Charset.defaultCharset())
val descriptorListBuilder = OpNamespace.OpDescriptorList.newBuilder()
TextFormat.merge(resourceString,descriptorListBuilder)
val ret = descriptorListBuilder.build()
val mutableList = ArrayList(re... | Kotlin |
true);
b.setMigrated(false);
});
if (baseBranch == null) {
// if this is the first branch, make it the initial branch
branch.setInitial();
} else {
branch.setPreviousBranch(baseBranch);
}
// make the new branch the latest
if (setLatest || baseBranch == null) {
branch.setLatest();
}
Use... | Java |
f,
path_helper=self._path_helper,
extmethods=self._extmethods,
register_paths=True,
namespace="http://openconfig.net/yang/interfaces/ip",
defining_module="openconfig-if-ip",
yang_type="leafref",
is_config=False,
)
interface... | Python |
2",
["fa-youtube"] = "\\f167",
["fa-skyatlas"] = "\\f216",
["fa-firefox-browser"] = "\\e007",
["fa-replyd"] = "\\f3e6",
["fa-suse"] = "\\f7d6",
["fa-jenkins"] = "\\f3b6",
["fa-twitter"] = "\\f099",
["fa-rockrms"] = "\\f3e9",
["fa-pinterest"] = "\\f0d2",
["fa-buffer"] = "\\f837",
["fa-npm"] = "\\f3... | Lua |
/*
* Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com)
* Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>
*
* 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... | C |
152-1.272.323-1.902.091-.34-1.064.969-1.49 2.117-1.511zm14.113 3.758c-.352.051-.862.35-1.556 1.021-.141 1.78-4.603 2.426-.725 2.025 2.366 1.137 3.809-3.271 2.281-3.046zm21.49 8.728c-.87-.103-3.546 2.665-.209 3.77 3.04.926.122 5.477 4.79 4.252.325-2.224-4.93-5.715-4.604-6.793.401-.841.313-1.194.023-1.229zm-13.539.873c-1... | Dart |
be scaled
plt.quiver3d(x2v, y2v, z2v, dhdx, dhdy, dhdz, mode='arrow',
scale_mode='none', opacity=0.5)
# end draw 3D vector field with countours of 3D scalar field
# Save figures to files
plt.figure(1)
plt.savefig('images/simple_plot_mayavi.png')
plt.figure(2)
plt.savefig('images/simple_plot_colours_mayav... | Python |
private fun checkRoot(): Boolean {
return try {
val p = Runtime.getRuntime().exec("su")
val os = DataOutputStream(p.outputStream)
os.writeBytes("echo \"Do I have root?\" >/data/LandeRootCheck.txt\n")
os.writeBytes("exit\n")
os.flush()
p.waitFor()
p.exitValue() == 0
} ... | Kotlin |
ect_list = []
mock_request = create_mock_request(user=mock_user)
# Act
results = query_views.format_local_results(
results=mock_results, request=mock_request
)
# Assert
self.assertIsInstance(results, list)
@override_settings(INSTALLED_APPS=[])
def t... | Python |
net.minecraft.client.renderer.RenderType;
import net.minecraft.client.renderer.texture.TextureAtlas;
import net.minecraft.client.renderer.texture.TextureAtlasSprite;
import net.minecraft.client.resources.model.BakedModel;
import net.minecraft.client.resources.model.Material;
import net.minecraft.resources.ResourceLocat... | Java |
}
.ag-theme-balham-dark .ag-icon-tree-open::before {
content: "\f131";
}
.ag-theme-balham-dark .ag-icon-unlinked::before {
content: "\f132";
}
.ag-theme-balham-dark .ag-icon-row-drag::before {
content: "\f116";
}
.ag-theme-balham-dark .ag-left-arrow::before {
content: "\f119";
}
.ag-theme-balham-dark .ag-right-... | CSS |
n Callback<R,T1,T2,T3,T4,T5,T6> (impl);
}
/**@}*/
/**@}*/
} // namespace ns3
namespace ns3 {
/**
* \ingroup callback
* AttributeValue form of a Callback
*/
class CallbackValue : public AttributeValue
{
public:
CallbackValue ();
/**
* Copy constructor
* \param base Callback to copy
*/
CallbackValue... | C |
// Copyright 2020 The MACE 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 appl... | C |
5;
const int REGDB_E_READREGDB = -2147221168;
const int REGDB_E_WRITEREGDB = -2147221167;
const int REGDB_E_KEYMISSING = -2147221166;
const int REGDB_E_INVALIDVALUE = -2147221165;
const int REGDB_E_CLASSNOTREG = -2147221164;
const int REGDB_E_IIDNOTREG = -2147221163;
const int REGDB_E_BADTHREADINGMODEL = -214722... | Dart |
vc21vcw== 39972
IHByZXNjcmliaW5n 39973
IGNvbmZvcm1pdHk= 39974
b3Vyc2Vz 39975
IHBsZW50aWZ1bA== 39976
IGRpc2lsbHVzaW9u 39977
IEVjb2xvZ3k= 39978
aXR0YWw= 39979
IGZhbmM= 39980
IGFzc2Fzc2luYXRlZA== 39981
cmVnbmFuY3k= 39982
IHBlcmVubmlhbA== 39983
IEJ1bGxldHM= 39984
IHN0YWxl 39985
IGNhY2hlZA== 39986
IEp1ZGl0aA== 39987
IERpc2V... | Kotlin |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.