content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
(a4)-[:R {weight: 2.0}]->(a1)," + //Negative Cycle 1 a1-a3-a4
" (a2)-[:R {weight: -100.0}]->(a5)," +
" (a5)-[:R {weight: 5.0}]->(a6)," +
" (a6)-[:R {weight: 6.0}]->(a2)"; //Negative Cycle 2 a2-a5-a6
@Inject
private TestGraph graph;
@Test
... | Java |
-- =========================================
if lvim.builtin.fancy_statusline.active then
require("user.lualine").config()
end
-- Debugging
-- =========================================
if lvim.builtin.dap.active then
require("user.dap").config()
end
-- Language Specific
-- ========================================... | Lua |
then
sendStatsOnRopedToMoon()
elseif ropedToMoon == 0 then
sendStatsOnRetry()
end
end
function setFoundDeviceVisual()
--WriteLnToConsole("status: "..status.fruit01.." - "..status.fruit02)
if status.moon01 then
vgear = AddVisualGear(1116, 848, vgtBeeTrace, 0, false)
if status.moon02 then
vgear = AddVisu... | Lua |
"""RF-DETR Nano (Roboflow Inference) — minimal example with visualization."""
from PIL import Image
import matplotlib.pyplot as plt
import matplotlib.patches as patches
from inference import get_model
# Load RF-DETR Nano model
model = get_model("rfdetr-nano/1")
# Input image path
image_path = "test_image.jpg"
image ... | Python |
袁'},
{'78508', '袁始天尊', '袁始天尊'},
{'78509', '阎王搞错平了', '阎王搞错平了'},
{'78510', '全拔了,饿死这些傻逼', '全拔了,饿死这些傻逼'},
{'78511', '[^復學]習(豬|x1F437)|^習(豬|x1F437)', '[^復學]習(豬|x1F437)|^習(豬|x1F437)'},
{'78512', '[^复学]习(猪|x1F437)|^习(猪|x1F437)', '[^复学]习(猪|x1F437)|^习(猪|x1F437)'},
{'78513', 'musclehunks.com', 'musclehunks.com'},
{'78514', '共産黨簡... | Lua |
margin: 0 auto;
padding: 7px 16px;
display: grid;
grid-auto-flow: row;
grid-template-columns: 114px 1fr;
grid-template-rows: 68px;
grid-template-areas: "logo title";
grid-column-gap: 15px;
box-sizing: border-box;
}
@media screen and (max-width: 700px) {
._3VhPz9bkSXYdTyrsNHyclF .XKrAaB35oi_F1FfPvgM... | CSS |
// random test
public static void main(String[] args) {
Random rnd = new Random(1);
for (int step = 0; step < 100000; step++) {
int n = rnd.nextInt(100);
StringBuilder s = rnd.ints(n, 0, 10).collect(
StringBuilder::new, (sb, i) -> sb.append((char) ('a' + i)),... | Java |
ray1[6] = {0, 1, 2, 3, 0, 1};
// int(*src_active)[6] = &array1;
// int array2[6] = {4, 4, 4, 4, 1, 2};
// int(*dst_active)[6] = &array2;
int array1[6] = {0, 1, 1, 1, 2, 3};
int(*src_active)[6] = &array1;
int array2[6] = {4, 2, 2, 3, 3, 4};
int(*dst_active)[6] = ... | C |
local au = require('utils').au
local ag = require('utils').ag
local M = {}
--- toggle float terminal
M.toggleterm = function()
if vim.api.nvim_win_is_valid(M.win or -1) then
vim.api.nvim_win_hide(M.win)
return
end
if not vim.api.nvim_buf_is_valid(M.buf or -1) then
M.buf = vim.api.nvim_create_buf(fa... | Lua |
/* SPDX-License-Identifier: GPL-2.0-only */
#include <boardid.h>
#include <bootmode.h>
#include <console/console.h>
#include <device/device.h>
#include <device/mmio.h>
#include <ec/google/chromeec/ec.h>
#include <gpio.h>
#include <soc/bl31.h>
#include <soc/display.h>
#include <soc/dpm_v1.h>
#include <soc/i2c.h>
#inclu... | C |
TestDataHolder.builder()
.sourceType("numeric")
.airbyteType(JsonSchemaType.NUMBER)
.addInsertValues("'99999'", "null")
.addExpectedValues("99999", null)
.createTablePatternSql(CREATE_TABLE_SQL)
.build());
addDataTypeTestData(
TestData... | Java |
= "Barrio del Comercio",
[98351] = "Barrio de la Magia",
[98354] = "Barrio del Comercio",
[100028] = "Santuario chamán",
[101748] = "Santuario chamán",
[101749] = "Santuario chamán",
[101750] = "Santuario chamán",
[101751] = "Santuario chamán",
[102413] = "Puño de Verigan",
[102414] = "Foco de hechizo de la cascada del... | Lua |
}, { Stats.SpellDamage, }, false, } -- s24998
L["aumenta el daño y la sanación de los hechizos mágicos y los efectos hasta en %s p. también aumenta el índice de golpe crítico con hechizos en %s p"] = { { Stats.SpellPower, }, { Stats.SpellCritRating, }, } -- s25113
L["restaura %s p. de maná cada %s s. y aumenta la sanac... | Lua |
# RUN: %PYTHON %s %config_flag
import absl.testing
import numpy
import test_util
import urllib.request
from PIL import Image
model_path = "https://github.com/tensorflow/tflite-micro/raw/aeac6f39e5c7475cea20c54e86d41e3a38312546/tensorflow/lite/micro/models/person_detect.tflite"
class PersonDetectTest(test_util.TFLit... | Python |
updateMemberBillingRecord.setId(dbMemberBillingRecord.getId());
updateMemberBillingRecord.setIsReturn(true);
memberBillingRecordService.updateByPrimaryKeySelective(updateMemberBillingRecord);
}
}
} else if (param.getStatus() ==... | Java |
POLYVINYL_BUTYRAL 132
#define NIST_COMPOUND_POLYVINYL_CHLORIDE 133
#define NIST_COMPOUND_POLYVINYLIDENE_CHLORIDE_SARAN 134
#define NIST_COMPOUND_POLYVINYLIDENE_FLUORIDE 135
#define NIST_COMPOUND_POLYVINYL_PYRROLIDONE 136
#define NIST_COMPOUND_POTASSIUM_IODIDE 137
#define NIST_COMPOUND_POTASSIUM_OXIDE 138
#define NIST_C... | C |
-color:#7eadd9;
}
.x-form-invalid, textarea.x-form-invalid{
background-color:#fff;
background-image:url(../images/default/grid/invalid_line.gif);
border-color:#c30;
}
.ext-webkit .x-form-invalid{
background-color:#fee;
border-color:#ff7870;
}
.x-form-inner-invalid, textarea.x-form-inner-invalid{
backgrou... | CSS |
self.m_missionListView:InitEventFunc()
end
end
function CollectionSimpleMainView:OnViewModelUpdate(data)
if data == nil or not data.isSimpleMode or data.simpleMainModel == nil then
return
end
local model = data.simpleMainModel
self:_RenderMissionList(model)
self:_RenderRewardView(model)
self:_Rende... | Lua |
/**
* Copyright 2020 Huawei Technologies Co., Ltd
*
* 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 ... | C |
}
syncFinisher.start();
}
log.info("读取文件内容花费:" + DateUtil.formatBetween(SystemClock.now() - start));
}
@Test
public void testMerge() throws IOException {
long start = SystemClock.now();
File[] files = partDir.listFiles();
long start2 = SystemClock... | Java |
件分发给父级,默认为 true
scrollEasing = { currentOffset, newOffset -> // 自定义滚动缓动函数
parabolaScrollEasing(currentOffset, newOffset, p = 25f, density = LocalDensity.current.density)
},
springStiff = 200f, // 回弹动画的弹簧刚度,默认为 200f
springDamp = 1f, // 回弹动画的弹簧阻尼,默认为 1f
isEnabled = { p... | Markdown |
>
<table align="center">
<tr>
<th width="300px">Tecnologia/Metodologia</th>
<th width="300px">Classificação</th>
</tr>
<tr>
<td>React</td>
<td>★★★★★</td>
</tr>
<tr>
<td>Java</td>
<td>★☆☆☆☆</td>
</tr>
<tr>
<td>JavaScript</td>
<td>★★★★★</td>
... | Markdown |
from sqlalchemy.orm import DeclarativeBase
from sqlalchemy import (Column, Integer, String,
ForeignKey, LargeBinary,
Date, BLOB)
from django.contrib.auth.hashers import check_password
"""
# SECTION - ================== Файл с моделями нашей системы ==================
В... | Python |
// append
loci = this.currentLoci().map(str => Locus.fromLocusString(str));
for (let l of [l1, l2]) {
if (!loci.some(locus => {
return locus.contains(l)
})) {
// add flanking
l.start = Math.max(0, l.start - flanking);
l.end += flanking;
loci.pus... | Java |
3: 320,
4: 366,
5: 417
}
for i in range(3):
if i > 0:
# 下一页
T_ACTION_QUEUE_TIMER.add_click_to_queue(handle=handle, x=878, y=458)
time.sleep(0.5)
# 点击每一个... | Python |
Inversion of Control )即控制反转/反转控制。它是一种思想不是一个技术实现。描述的是:Java 开发领域对象的创建以及管理的问题。
例如:现有类 A 依赖于类 B
- **传统的开发方式** :往往是在类 A 中手动通过 new 关键字来 new 一个 B 的对象出来
- **使用 IoC 思想的开发方式** :不通过 new 关键字来创建对象,而是通过 IoC 容器(Spring 框架) 来帮助我们实例化对象。我们需要哪个对象,直接从 IoC 容器里面去取即可。
从以上两种开发方式的对比来看:我们 “丧失了一个权力” (创建、管理对象的权力),从而也得到了一个好处(不用再考虑对象的创建、管理等一系列的事情... | Markdown |
--[[ $%BEGINLICENSE%$
Copyright (c) 2008, 2009, Oracle and/or its affiliates. All rights reserved.
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; version 2 of the
License.
This program is dis... | Lua |
s include \ref GLFW_NOT_INITIALIZED.
*
* \thread_safety This function may be called from any thread. Reading of the
* internal timer offset is not atomic.
*
* @see \ref time
*
* @since Added in version 1.0.
*
* \ingroup input
*/
public static native double glfwGetTime();
/** \brief Sets the GLFW timer.... | Java |
/*
* Copyright 2015, Michael Neuling, IBM Corp.
* Licensed under GPLv2.
* Original: Michael Neuling 19/7/2013
* Edited: Rashmica Gupta 01/12/2015
*
* Do some transactions, see if the tar is corrupted.
* If the transaction is aborted, the TAR should be rolled back to the
* checkpointed value before the transacti... | C |
점을 점령하여 전투를 승리로 이끈 다음 보급품을 가지고 돌아오도록!"}, {"아라시 분지 전투를 승리로 이끌고 아라시 보급품 상자를 구해 해머폴에 있는 죽음의추적자 몰티스에게 가져가야 합니다."}},
[8300] = {nil, nil, nil},
[8301] = {"정의의 길", {"노즈도르무 혈족은 절대 약한 종족을 신뢰하지 않습니다. 그대가 영웅이라는 것을 제가 알고 있다 해도 저의 주인께 다시 한 번 증명해야 할 것입니다.","하이브아쉬, 하이브조라, 하이브레갈에서 실리시드 떼가 극성을 부리며 우리의 생존을 위협하고 있습니다. 그리로 가서 실리시드를 해치우고, ... | Lua |
rt java.io.Serializable;
import java.math.BigDecimal;
import java.util.HashMap;
import java.util.Map;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
* Projected Balances of a Margin Account
*/
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public cla... | Java |
vim.list_extend(environments, vim.fs.find(root_files, { type = 'file', upward = true, limit = math.huge }))
for _, depot_path in ipairs(depot_paths) do
local depot_env = vim.fs.joinpath(vim.fs.normalize(depot_path), 'environments')
vim.list_extend(
environments,
vim.fs.find(function(... | Lua |
s
### 2.4.3 *Mar 2014*
* Update behaviour of `newBroadcastTChanIO` to match
`newBroadcastTChan` in causing an error on a read from the
broadcast channel
* Add `mkWeakTVar`
* Add `isFullTBQueue`
* Fix `TChan` created via `newBroadcastTChanIO` to throw same
exception on a `readTChan` as when cre... | Markdown |
local VorpCore = {}
TriggerEvent("getCore",function(core)
VorpCore = core
end)
-- RegisterCommand('dv', function(source, args, rawCommand)
-- local _source = source
-- local Character = VorpCore.getUser(_source).getUsedCharacter
-- local group = Character.group
-- if group == 'admin' then
-- ... | Lua |
local this = class("moduleHeroData", require("ui.pages.HeroPanel.moduleHeroBase"))
local _charDataTpl = L_GameTpl:getCharDataTpl()
local _charVoiceTpl = L_GameTpl:getCharVoiceTpl()
local _charStoryTpl = L_GameTpl:getCharStoryTpl()
local _speciesTpl = L_GameTpl:getSpeciesTpl()
local _nationsTpl = L_GameTpl:getGroupsTpl(... | Lua |
Tag + "&", "&");
ret = ret.replaceAll(ignoreCaseTag + "\\[l\\]", styleLeft);
ret = ret.replaceAll(ignoreCaseTag + "\\[/l\\]", endDiv);
// ret = ret.replaceAll("\\[L\\]", styleLeft);
// ret = ret.replaceAll("\\[/L\\]", endDiv);
ret = ret.replaceAll(ignoreCaseTag + "\\[r\\]", ... | Java |
バックアップするには以下を実行します(これは実行ファイルですのでmongoシェルではなく、ターミナルウィンドウでコマンドを実行します):
~~~ {.bash}
mongodump --db learn --out backup
~~~
`unicorns`コレクションのみをリストアするにはこの様に実行します:
~~~ {.bash}
mongorestore --db learn --collection unicorns backup/learn/unicorns.bson
~~~
`mongoexport`と`mongoimport`という2つの実行ファイルはJSONまたはCSV形式でエクスポートとインポートできること... | Markdown |
It helps in a situation where
1. Phone needs internet connection.
2. PC has internet connection but doesn't have wifi/hotspot capability.
3. You have a USB cable to connect phone to pc.
4. You want to use pc's internet in your phone.
You can simply follow the steps below to get a working internet connection on your ... | Markdown |
'
q_p1.value.id = '1_2'
measurement_key_map = v2.program_pb2.MeasurementKeyMapping()
meas_p1 = measurement_key_map.entries.add()
meas_p1.key.string_key = 'm'
meas_p1.value.string_key = 'results'
arg_map = v2.program_pb2.ArgMapping()
arg_p1 = arg_map.entries.add()
arg_p1.key.arg_value.s... | Python |
st);
return "egovframework/com/sym/cal/EgovNormalWeekCalendar";
}
/**
* 일반달력 월간
*
* @param restde
* @param model
* @return "egovframework/com/sym/cal/EgovNormalMonthCalendar"
* @throws Exception
*/
@RequestMapping(value = "/sym/cal/EgovNormalMonthCalendar.do")
public String selectNormalMonthCalen... | Java |
th_write;
GLubyte zbdt = zb->depth_test;
GLint tw = zb->xsize;
GLint th = zb->ysize;
GLfloat pzoomx = c->pzoomx;
GLfloat pzoomy = c->pzoomy;
GLint zz = c->rasterpos_zz;
#if TGL_HAS(BLEND_DRAW_PIXELS)
TGL_BLEND_VARS
#endif
#if TGL_HAS(BLEND)
#if TGL_HAS(BLEND_DRAW_PIXELS)
GLuint zbeb = z... | C |
box-shadow: none;
}
.off {
opacity: 0.3;
box-shadow:
0.1rem 0.1rem .3rem 0 var(--shadow) inset,
0rem 0rem .1rem 0 var(--card) inset;
/* Preserve button appearance */
color: var(--text);
background-color: var(--card);
border-radius: 0.15rem;
font-size: .9rem;
font-fa... | CSS |
== false then
config.joystick = 1
nextJoystick()
end
end
function loadHighscores()
if love.filesystem.exists("highscores") then
local data = love.filesystem.read("highscores")
local file = TSerial.unpack(data)
for i=1,3 do
if file[i] then
highscores[i] = file[i]
end
end
end
end
function save... | Lua |
, text_to_insert)
end
end
---@private
local Printer = {}
---@private
Printer._normal_print_below = function()
local text = get_text_from_textobject()
if text then
input_below(text)
end
end
---@private
Printer._normal_print_yank = function()
local text = get_text_from_textobject()
if t... | Lua |
//===--- FasterStrsplitDelimiterCheck.h - clang-tidy-------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | C |
"""
Python mapping for the QuartzCore framework.
This module does not contain docstrings for the wrapped code, check Apple's
documentation for details on how to use these functions and classes.
"""
import sys
import objc
import Foundation
from Quartz.QuartzCore import _metadata
import Quartz.QuartzCore._quartzcore
#... | Python |
ts(List<Payment> payments) {
this.payments = payments;
}
public List<Invoice> getInvoices() {
return invoices;
}
public void setInvoices(List<Invoice> invoices) {
this.invoices = invoices;
}
@Override
public String toString() {
return "--- Journal[ id=" + ... | Java |
//
// ZZMasonryAttribute.h
// ZZUIHelper
//
// Created by 李伯坤 on 2017/3/12.
// Copyright © 2017年 李伯坤. All rights reserved.
//
#import <Foundation/Foundation.h>
typedef NS_ENUM(NSInteger, ZZLayoutRelation) {
ZZLayoutRelationEqual = 0,
ZZLayoutRelationLessThanEqual,
ZZLayoutRelationGreaterThanEqual,
};
... | C |
.sax.SAXParseException;
public class CompositeCheatSheetParser implements IStatusContainer {
private IStatus status;
private int nextTaskId = 0;
/**
* Gets the status of the last call to parseGuide
*/
public IStatus getStatus() {
return status;
}
@Override
public void addStatus(int severity, String... | Java |
iable-number-slider
default: 0.25
min: 0
max: 1
step: 0.05
-
id: custom-markdown-page-background-color
title: custom markdown page background color
title.zh: 自定义笔记背景颜色
description.zh: 当背景色选择为custom时起作用。
type: variable-themed-color
opacity: true
format: hex
default-light... | CSS |
-align:middle;float:left}.pma-table th.headerSortUp .sorticon{background-image:url("../img/s_desc.png")}.pma-table th.headerSortDown:hover .sorticon{background-image:url("../img/s_desc.png")}.pma-table th.headerSortDown .sorticon{background-image:url("../img/s_asc.png")}.pma-table th.headerSortUp:hover .sorticon{backgr... | CSS |
padding-left: 55px;
font-size: 1.6rem;
}
.special-quote+h1::before,
.special-quote+h2::before,
.special-quote+h3::before,
.special-quote+h4::before,
.special-quote+h5::before {
display: none;
}
.special-quote+blockquote,
.special-quote+h1+blockquote,
.special-quote+h2+blockquote,
.special-quote+h3+blockqu... | CSS |
name = Pattern_remove(button_name)
reaper.ImGui_Button(ctx, button_name .. "##" .. i .. v)
reaper.ImGui_SameLine(ctx)
-- IF BUTTON IS DRAGGED START DRAG AND DROP
if reaper.ImGui_BeginDragDropSource(ctx) then
... | Lua |
unction send(from, to, reply_to, subject, body, server, secure)
local _from = from:match("^.*<(.*)>");
local msg = {
headers = {
["Content-Type"] = "text/html; charset=UTF-8",
["from"] = from,
["to"] = to,
["reply-to"] = reply_to,
["subject"] = subject
},
body = body
};
local mail = {
from =... | Lua |
boolean Returns nil if player does not have item, returns number of items if they have it
hasItem = function(itemName, count, metadata, slot)
count = count or 1
if slot then
local inventoryItems = lib.inventory.getItems()
local found = 0
for k,v in pairs(inventoryItems) do
... | Lua |
x) ;; esac)",
DOLLAR, LEFT_PAREN, CASE_KEYWORD, WHITESPACE, WORD, WHITESPACE, WORD, WHITESPACE, WORD, RIGHT_PAREN, WHITESPACE, CASE_END, WHITESPACE, ESAC_KEYWORD, RIGHT_PAREN);
testTokenization("(case x in x) ;; esac)",
LEFT_PAREN, CASE_KEYWORD, WHITESPACE, WORD, WHITESPACE, WOR... | Java |
pullquote--border-color: var(--global--color-primary);
--pullquote--color-foreground: var(--global--color-primary);
--pullquote--color-background: var(--global--color-background);
--quote--font-family: var(--global--font-secondary);
--quote--font-size: var(--global--font-size-md);
--quote--font-size-large: var(--g... | CSS |
tion = maxPos;
startPositionAddress = startPosAddress;
this.threadID = threadID;
started = false;
flushOnEnd = false;
this.valid = valid;
notified = false;
// event may not exceed size for a padded integer
maxEventSize = (1 << 28) -1;
}
private st... | Java |
return {
{
"echasnovski/mini.icons",
opts = {
filetype = {
-- replace some icons that render too big
sh = { glyph = "" },
yaml = { glyph = "" },
}
},
},
{
"zenbones-theme/zenbones.nvim",
-- I dont want lush
--dependencies = "rktjmp/lush.nvim",
prio... | Lua |
n", function(owner, debuff)
if self.small_hots[debuff] == nil then
self.small_hots[debuff] = true
self.inst:ListenForEvent("onremove", self._onremovesmallhots, debuff)
end
end, owner)
self.inst:ListenForEvent("stopsmallhealthregen", function(owner, debuff)
if self... | Lua |
form:translateY(-6px) rotate(45deg)}body.nav-open .nav-menu:hover .nav-menu__hamburger{background:rgba(0,0,0,0)}body.nav-open .nav-menu:hover .nav-menu__hamburger:after,body.nav-open .nav-menu:hover .nav-menu__hamburger:before{background:#c00}.onboarding-link,.pg .zn.t-light .cd.onboarding-link{z-index:2;position:relat... | CSS |
buted under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package io.evitadb.api.query.order;
import io.evitadb.api.query.Con... | Java |
"(|c.-|H.-|h.-|h|r)(%S)", "%1 %2")
-- https://example.com
newMsg, found = gsub(newMsg, "([A-z][A-z0-9+-%.]+://%S+)", tempReplaceURL)
x = x + found
-- www.example.com
newMsg, found = gsub(newMsg, "(www%.[A-z0-9-]+%.%S+)", tempReplaceURL)
x = x + found
-- example@example.com
newMsg, found = gsub(newMsg, "(%S+@[... | Lua |
Config = {}
Config.MenuPos = "left" -- 2 options: "right" or "left"
Config.SellShops = {
[1] = { name = 'Rhodes Fence', sprite = 90287351, x= 1320.9952392578, y = -1142.3826904297, z = 82.334190368652 , blip = false}, --[1] is shopid
[2] = { name = 'Wapiti Fence', sprite = 90287351, x= 432.06576538086, y = 21... | Lua |
sumCoeff.mutableAdd(coeff[ii], toAdd.get(ii));
}
kpSimple.mutableAdd(toAdd.get(i));
kpCoeff.mutableAdd(coeff[i], toAdd.get(i));
for(Vec v : toTest)
{
double expectedSimple = d.dist(sumSimple, v);
double expectedCoef... | Java |
ertProp ( prop )
mouseX = 0
mouseY = 0
priority = 5
function pointerCallback ( x, y )
local oldX = mouseX
local oldY = mouseY
mouseX, mouseY = layer:wndToWorld ( x, y )
if pick then
pick:addLoc ( mouseX - oldX, mouseY - oldY )
end
end
function clickCallback ( down )
if down then
pick = partitio... | Lua |
public void setTitle(String title) {
this.title = title;
}
/**
* 多言語設定情報を取得します。
* @return リスト
*/
public List<LocalizedStringDefinition> getLocalizedTitleList() {
return localizedTitleList;
}
/**
* 多言語設定情報を設定します。
* @param リスト
*/
public void setLocalizedTitleList(List<LocalizedStringDefinition> l... | Java |
f then
f = CreateFrame("Frame", fname, display)
local t = f:CreateTexture(nil, "BACKGROUND")
t:SetSize(size, size)
t:SetTexCoord(0.1, 0.9, 0.1, 0.9)
f.icon = t
t = f:CreateTexture(nil, "BACKGROUND")
t:SetSize(size, size)
t:SetTexture([[Interface\Icons\Spell_Holy_AuraMas... | Lua |
x to search with "prev" method
suffix_next = 'n', -- Suffix to search with "next" method
},
-- Number of lines within which surrounding is searched
n_lines = 20,
-- Whether to respect selection type:
-- - Place surroundings on separate lines in linewise mode.
-- - Place surroundings on each line in bl... | Lua |
] = "Colete Encadeado Enferrujado",
[2387] = "Cinto Encadeado Enferrujado",
[2388] = "Perneiras Encadeadas Enferrujadas",
[2389] = "Botas Encadeadas Enferrujadas",
[2390] = "Braçadeiras Encadeadas Enferrujadas",
[2391] = "Luvas Encadeadas Enferrujadas",
[2392] = "Armadura de Malha Leve",
[2393] = "Cinto de Malha Leve",... | Lua |
tas ?: %{value}!',
invalid = 'Neteisinga sintaks?, teisinga sintaks?: time <valanda> <minut?>!',
invalidc = 'Neteisinga sintaks?. Naudokite /time <valanda> <minut?>!',
access = 'Komandos /time prieiga neleidžiama.',
},
blackout = {
enabled = 'Užtemimas ?jungtas.',
enabled... | Lua |
ote:</b>
* <ul>
* <li>
* An example of how to use solvePnP for planar augmented reality can be found at
* opencv_source_code/samples/python/plane_ar.py
* </li>
* <li>
* If you are using Python:
* <ul>
* <li>
* Numpy array slices ... | Java |
Parent = game.Players.LocalPlayer.PlayerGui
droplbl = Instance.new("TextLabel")
droplbl.Text = "Drop the delete tool to initialize commands"
droplbl.BackgroundTransparency = 1
droplbl.Parent = drop
droplbl.TextColor3 = Color3.new(200,0,0)
droplbl.TextScaled = true
droplbl.Size = UDim2.n... | Lua |
ytes(StandardCharsets.UTF_8).length;
if (byteCount + charBytes > 200) {
break;
}
byteCount += charBytes;
}
return clean.substring(0, i) + "...";
}
// 过滤非法文件名字符
private String sanitizeFileName(String name) {
return name.replaceAll("[\\\\/:*?\"<>|]", "_").trim();
}
/**
... | Java |
.5, levelRequirement = 81, statInterpolation = { }, },
[35] = { 467, 727, -20, 1900, cooldown = 6.5, levelRequirement = 82, statInterpolation = { }, },
},
}
skills["SeaWitchWave"] = {
name = "Wave",
hidden = true,
color = 4,
skillTypes = { [2] = true, [10] = true, [26] = true, },
castTime = 1.5,
baseFlags = {
... | Lua |
壹部説話|穿上衣服多見外|射牛嬭|b91見|二弟吐了|咬.0,1分開|精精有味', '借壹部説話|穿上衣服多見外|射牛嬭|b91見|二弟吐了|咬.0,1分開|精精有味'},
{'73418', '母子丼|子母丼|姐妹丼', '母子丼|子母丼|姐妹丼'},
{'73419', 'jm帝國', 'jm帝國'},
{'73420', '艺睾', '艺睾'},
{'73421', '藝睪', '藝睪'},
{'73422', '樓鳳', '樓鳳'},
{'73423', '(?i)as*pP*s*rs*pP*s*ss*pP*s*m', '(?i)as*pP*s*rs*pP*s*ss*pP*s*m'},
{'73424', '(?i)as*p... | Lua |
aderRaw != null) {
Log.d(TAG, "imageReaderRaw: " + imageReaderRaw.toString());
Log.d(TAG, "imageReaderRaw surface: " + imageReaderRaw.getSurface().toString());
} else {
Log.d(TAG, "imageReader: " + imageReader.toString());
Log.d(TAG, "imageReader surface: " + imageReader.... | Java |
setValue("10.5438/7rxd-s8a3");
id.setNormalized(new TransientNonEmptyString("10.5438/7rxd-s8a3"));
ExternalID id2 = new ExternalID();
id2.setType("doi");
id2.setValue("10.6084/m9.figshare.5821578.v1");
id2.setNormalized(new TransientNonEmptyString("10.6084/m9.figshare.5821578.v1"... | Java |
param g
*/
void rectTest(Graphics g) {
g.setColor(geomColor);
// Draw using graphics routines
g.drawRect(100, 100, 99, 99);
g.fillRect(100, 250, 99, 99);
g.drawRoundRect(250, 100, 99, 99, 10);
g.fillRoundRect(250, 250, 99, 99, 10);
// Draw using shape routines
Rectangle rect = new Rectangle... | Java |
F0FFA5FF;
font-family: 'LXGW WenKai GB Screen', 'Times New Roman', serif;
margin: 1rem 0 1rem 2rem;
position: relative;
font-size: 1em;
border-inline-start: 0.25rem solid #f0b752;
}
.markdown-source-view.mod-cm6.is-live-preview .HyperMD-quote:before, .markdown-source-view.mod-cm6 .cm-blockquote-bord... | CSS |
-----------------------------------------------------------------------
local function do_docs()
local src_prompt_font = "CaskaydiaCoveNerdFontMono-Regular.woff2"
local dst_prompt_font = "CaskaydiaCoveNerdFontMono-Regular-Subset.woff2"
local tmp_path = ".build/docs/clink_tmp"
out_path = ".build/docs/cli... | Lua |
*/
{
bw.write("\t<!-- 通用查询结果列 -->\n");
bw.write("\t<sql id=\"" + BASE_COLUMN_LIST + "\">\n");
StringBuilder columnBuilder = new StringBuilder();
for (FieldInfo fieldInfo : tableInfo.getFieldList()) {
columnBuilder.append(fieldInfo.getFieldName()).append(",");
}
String columnBuild... | Java |
modifier_earth_spirit_stone_remnant_lua" )
if remnant then
-- destroy remnant
remnant:Destroy()
-- roll further
ProjectileManager:UpdateLinearProjectileDirection( iHandle, self.direction*rock_speed, rock_distance )
self.modifier:Upgrade()
self.upgrade = true
return false
end
-- unit filter
local fil... | Lua |
display:block}.cc-banner .cc-icon{height:1.846em;width:1.846em}.cc-banner .cc-text{margin-left:.5em;margin-right:1.5em}.cc-banner .cc-link{color:#0067b8}.cc-banner .cc-link:hover,.cc-banner .cc-link:focus{text-decoration:underline}.cc-banner .cc-link:focus{outline:0;background:#dae6ef;background:content-box rgba(0,120,... | CSS |
umBuffers, size, data,
MessageTypes.INTEGER_ARRAY, MessageTypes.INTEGER);
List<Object> result = (List<Object>) inMessage.getDeserializedData();
for (int i = 0; i < result.size(); i++) {
Tuple exp = (Tuple) result.get(i);
Tuple d = (Tuple) data.get(i);
Assert.assertEquals((int) exp.get... | Java |
IGHT * 0.6261682242990654, IMAGE_WIDTH * 0.5093457943925234, IMAGE_HEIGHT * 0.6121495327102804);
POINTER.curveTo(IMAGE_WIDTH * 0.5046728971962616, IMAGE_HEIGHT * 0.5981308411214953, IMAGE_WIDTH * 0.5, IMAGE_HEIGHT * 0.29906542056074764, IMAGE_WIDTH * 0.5, IMAGE_HEIGHT * 0.29906542056074764);
... | Java |
l String PHO_MIX_NS = "http://www.pentaho.org/jcr/mix/2.0"; //$NON-NLS-1$
private static final String PHO_MIX_VERSIONABLE = "pentahoVersionable"; //$NON-NLS-1$
private static final String PHO_NT_PENTAHOFILE = "pentahoFile"; //$NON-NLS-1$
private static final String PHO_NT_PENTAHOFOLDER = "pentahoFolder"; //$NO... | Java |
�计接口
local mgr = self.team.fightMgr
num = math.floor(num * mgr.nTPCastRate)
mgr:DamageStat(killer, -num)
LogDebugEx("GetBossHP", mgr:GetBossHP())
end
local tisdeath, shield2, num, abnormalities = FightCardServer.AddHpNoShield(self, num, killer, bNotDeathEvent, isFromAddHp)
... | Lua |
ue(line, false)) > 0l;
}
} else if (line.hasOption(DBToolOptions.PURGE_PROBAND_JOURNAL)) {
job = DBToolOptions.getTaskAndLockProcess(DBToolOptions.PURGE_PROBAND_JOURNAL);
dbTool.initJob(line).printPrelude(job);
if (dbTool.testForced(line, "DB will be modified - records will be deleted!")) {
... | Java |
:-3px;}.yui-resize-knob .yui-resize-handle-br{right:-3px;bottom:-3px;}.yui-resize-knob .yui-resize-handle-t{left:45%;top:-3px;}.yui-resize-knob .yui-resize-handle-r{right:-3px;top:45%;}.yui-resize-knob .yui-resize-handle-l{left:-3px;top:45%;}.yui-resize-knob .yui-resize-handle-b{left:45%;bottom:-3px;}.yui-resize-status... | CSS |
ndle:write(format(" [%q] =\n", k))
render_node(v, handle, 4)
end
end
end
--- @export
return { to_ast = to_ast,
render = render,
insert_attribute = insert_attribute,
copy_attributes = copy_attributes,
new_attributes = new_attributes,
new_node = new_node,
... | Lua |
ncounters <code>null</code> values in the
* <code>Constraints</code> object of a given component,
* it replaces them with suitable defaults.
*
* @param x the spring value for the <code>x</code> property
* @param y the spring value for the <code>y</code> property
* @para... | Java |
JBQW1CLEVBQUMsS0FBQztFQUNyQiwwQkFBMEIsRUFBQyxRQUFDO0NRMEwzQjs7QUF2Q0YsQUFzQkUsb0JBdEJrQixDQUVuQix3QkFBd0IsQ0FvQnZCLENBQUMsQ0FBQztFQUNELE1BQU0sRUFBRSxDQUFDO0NBQ1Q7O0FBeEJILEFBMEJFLG9CQTFCa0IsQ0FFbkIsd0JBQXdCLENBd0J2QixDQUFDLENBQUM7RUFDRCxLQUFLLEVBQUUsT0FBTztDQUtkOztBQWhDSCxBQTZCRyxvQkE3QmlCLENBRW5CLHdCQUF3QixDQXdCdkIsQ0... | CSS |
ContainerSprite.gif") repeat-x scroll 0pt -50px;
border-left: 1px solid #ccc;
border-right: 1px solid #ccc;
}
.nihilo .dojoxExpandoClosed .dojoxExpandoTitle {
background: none;
background-color: #fafafa;
border: none;
}
.nihilo .dojoxExpandoClosed {
background: none;
background-color: #fafafa;
b... | CSS |
;
if hero._name == "Knight" then --warroir
if hero:getWeaponID() == 0 then
weaponTexture = "knight_w_1.png"
else
weaponTexture = "knight_w_0.png"
end
if hero:getArmourID() == 0 then
armourTexture = "knight_a_1.png"
else
armourTexture = "... | Lua |
crisa=makeCrisArray(null);
ArrayList<HashThread> alht=new ArrayList<HashThread>(THREADS);
for(int i=0; i<THREADS; i++){alht.add(new HashThread(true, (absorbContainment|findOverlaps), absorbMatch, false, false));}
for(HashThread ht : alht){ht.start();}
for(HashThread ht : alht){
while(ht.getState()!=Thread... | Java |
kground: -ms-linear-gradient(top, #000 0%, rgba(0,0,0,0.9) 100%) no-repeat;
background: -o-linear-gradient(top, #000 0%, rgba(0,0,0,0.9) 100%) no-repeat;
background: linear-gradient(top, #000 0%, rgba(0,0,0,0.9) 100%) no-repeat;
*background-color: #000;
color: #fff;
-moz-border-radius: 15px;
-webkit-border-... | CSS |
checkFn=HintChecks.citizenIncapacitatedNoDoctor,
},
{
name='NoPower',
lineCode='HINTSX050TEXT',
checkFn=HintChecks.noPower,
},
{
name='UnmetPowerNeeds',
lineCode='HINTSX051TEXT',
checkFn=HintChecks.lowPower,
},
{
name='AirlockNoLocker',
lineCode='... | Lua |
embers_description { width: auto; }
.listing_lines { display: none; }
}
@media print {
table.navigation {
visibility: collapse;
display: none;
}
div.titlepage table.navigation {
visibility: visible;
display: table;
background: #e2e2e2;
border: solid 1px #babdb6;
margin-top: 0;
ma... | CSS |
shakeInfo)
local tab = nil;
if shakeInfo then
tab = {};
for k, v in ipairs(shakeInfo) do
local info = {};
info.type = v.type;
info.shakeObj = shakeObjs[v.type];
info.time = v.time;
info.force = v.force;
info.interval = v.interval;
table.insert(tab, info);
end
end
return tab;
end
function... | Lua |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.