content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
i} Australia`;
mill.FarmIds = _.range((i - 1) * 20 + 1, i * 20 + 1);
this._millsService.addOrUpdate(mill);
}
}
private seedFarmsData(): void {
for (let i = 1; i <= 100; i++) {
const farm = new Farm();
farm.Id = i;
farm.Code = `Farm${i}`;
farm.Name = `Farm${i}`;
thi... | Typescript |
,f]}),t[17]=a,t[18]=d,t[19]=f,t[20]=m):m=t[20],t[21]!==o||t[22]!==m?(p=_.jsxs(Cx,{children:[o,m]}),t[21]=o,t[22]=m,t[23]=p):p=t[23],p},Dx=ns("rounded-full shadow-xsSolid border p-[5px] transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 [&>svg]:size-3 active:shadow-none bg-background",... | JavaScript |
)
.post((req: express.Request, res: express.Response) => {
const { username, password } = req.body;
const user = dbData.users.find(x => x.username === username && x.password === password);
if (!user) {
res.status(403).send('Username or password is incorrect');
... | Typescript |
his._storage;
set storage(List<XdrSCMapEntry>? value) => this._storage = value;
XdrSCContractInstance(this._executable, this._storage);
static void encode(
XdrDataOutputStream stream, XdrSCContractInstance encoded) {
XdrContractExecutable.encode(stream, encoded.executable);
if (encoded.storage == ... | Dart |
putExtra(EditorActivity.KEY_PREFERRED_TYPE, lyricsType.name)
putParcelableArrayListExtra(
Track.KEY_LYRICS, arrayListOf(lyrics)
)
}
... | Kotlin |
close()
moveTo(10.589f, 13.937f)
lineToRelative(-0.237f, 0.034f)
curveToRelative(-0.033f, 0.017f, -0.066f, 0.05f, -0.066f, 0.084f)
verticalLineToRelative(1.346f)
curveToRelative(0.0f, 0.034f, 0.033f, 0.067f, 0.066f, 0.05f)
... | Kotlin |
(devfn << 8) | offset;
qrtas_ibm_write_pci_config(s->alloc, s->buid, config_addr, 4, value);
}
#define SPAPR_PCI_BASE (1ULL << 45)
#define SPAPR_PCI_MMIO32_WIN_SIZE 0x80000000 /* 2 GiB */
#define SPAPR_PCI_IO_WIN_SIZE 0x10000
QPCIBus *qpci_init_spapr(QGuestAllocator *alloc)
{
QPCIBus... | C |
timeExpression);
if (match.find()) {
if (timeContext.getTunit()[3] >= 1 && timeContext.getTunit()[3] <= 11)
timeContext.getTunit()[3] += 12;
else if (timeContext.getTunit()[3] == 12)
timeContext.getTunit()[3] = 0;
else if (timeContext.getTunit(... | Java |
ject;
use crate::actor::Actor;
use crate::fut::{ActorFuture, ActorStream, IntoActorFuture};
pin_project! {
/// Stream for the [`fold`](super::ActorStreamExt::fold) method.
#[derive(Debug)]
#[must_use = "streams do nothing unless polled"]
pub struct Fold<S, F, Fut, T> {
#[pin]
stream: S... | Rust |
么……让巨型灯具砸在他对手的头上。他觉得不能再浪费时间了,不能等城市卫队来把他拖走。于是,他冲出了门。</p>
<p>他跑过一条又一条小巷,最后与一个浑身是血又怒气冲冲的莱西人面面相觑。</p>
<p>“要是你也是来和我碰运气的,那你马上就能和你的朋友们作伴!”莱西人咆哮着,指着他脚边的地上那一动不动的几堆东西。</p>
<p>认出那几团血淋淋的东西是什么时,佩拉鲁人惊讶地眨眨眼,踉跄了一步忙说:“不。”又补充道:“我得说,这震撼了我!不少于五个低等生物,其中一些还是武装了的——曾经是!但现在还有城市卫队跟在我尾巴后面,我宁愿保住我的皮。要是你也看重你的毛皮,那我建议你跟我一起走。通常没人会管这些低等生物,但当他们找不到我时,他们肯... | HTML |
it != 0 }
func (n *SelectorExpr) SetImplicit(b bool) { n.flags.set(miniExprImplicit, b) }
func (n *SelectorExpr) Offset() int64 { return n.Selection.Offset }
func (n *SelectorExpr) FuncName() *Name {
if n.Op() != OMETHEXPR {
panic(n.no("FuncName"))
}
fn := NewNameAt(n.Selection.Pos, MethodSym(n.X.Type(), n.S... | Go |
-- [49224]
"TOOLTIP_BATTLE_PET", -- [49225]
"TOOLTIP_BATTLE_PET_NAME", -- [49226]
"TOOLTIP_DEFAULT_BACKGROUND_COLOR", -- [49227]
"TOOLTIP_DEFAULT_BACKGROUND_COLOR_CODE", -- [49228]
"TOOLTIP_DEFAULT_COLOR", -- [49229]
"TOOLTIP_DEFAULT_COLOR_CODE", -- [49230]
"TOOLTIP_HONOR_POINTS", -- [49231]
"TOOLTIP_INDENT_OFF... | Lua |
0
l8:
dc.w list2-l8
dc.w 0
l8a:
dc.w Postit-l8a ; post proc
l9:
dc.w bpt-l9
la:
dc.w bxx-la
* -------------------------------------
#endif
dc.w -1 ; end
_qlflag:
dc.w 0
_qlwait:
dc.w 250
_d... | Assembly |
using System;
using System.Collections.Generic;
using System.IO;
using System.Net.Http;
using System.Threading.Tasks;
using Azure.Storage.Blobs;
using OctoshiftCLI.Services;
using Xunit;
using Xunit.Abstractions;
namespace OctoshiftCLI.IntegrationTests;
[Collection("Integration Tests")]
public sealed class BbsToGithu... | C# |
('[')
for v2, v3 := range in.Users {
if v2 > 0 {
out.RawByte(',')
}
if v3 == nil {
out.RawString("null")
} else {
(*v3).MarshalEasyJSON(out)
}
}
out.RawByte(']')
if !first {
out.RawByte(',')
}
first = false
out.RawString("\"topics\":")
if in.Topics == nil {
out.RawString("null")
} else {... | Go |
tHandler.html#getTextArea(java.util.EventObject)" class="member-name-link">getTextArea</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/EventObject.html" title="class or interface in java.util" class="external-link">EventObject</a> event)</code></div>
<div class="col-last ev... | HTML |
ipartFile;
import java.io.File;
import java.util.List;
/**
* <p>
* 服务实现类
* </p>
*
* @author perfree
* @since 2023-09-27
*/
@Service
public class PluginsServiceImpl extends ServiceImpl<PluginsMapper, Plugins> implements PluginsService {
private final static Logger LOGGER = LoggerFactory.getLogger(PluginsSe... | Java |
id=Arial-BoldMT-35 transform=scale(0.015625) d="M 284 1178
L 1159 1269
Q 1197 972 1381 798
Q 1566 625 1806 625
Q 2081 625 2272 848
Q 2463 1072 2463 1522
Q 2463 1944 2273 2155
Q 2084 2366 1781 2366
Q 1403 2366 1103 2031
L 391 2134
L 841 4519
L 3163 4519
L 3163 3697
L 1506 3697
L 1369 2919
Q 1663 3066 196... | HTML |
vehicleSort.orderId ~= nil then
xmlFile:setValue(key.."#UserOrder", self.spec_vehicleSort.orderId)
end
if VehicleSort:isParked(self.spec_vehicleSort.realId) then
xmlFile:setValue(key.."#isParked", true)
end
end
end
function VehicleSort:update()
-- Don't really like to add VeEx to update as it's not re... | Lua |
from fastapi.testclient import TestClient
from services.handle_mint.app import app
client = TestClient(app)
def test_issue_handle_success():
response = client.post(
"/handles",
json={
"desired_handle": "Möss.Curator__",
"did": "did:key:z6MkpQn9m5x4w3p8t7b2gV9hQWkY3u1rS8p... | Python |
,
],
f_shwith300: vec![
0.86, 0.86, 0.77, 0.74, 0.71, 0.66, 0.73, 0.83, 0.81, 0.84, 0.86, 0.87,
],
f_shwith500: vec![
0.63, 0.64, 0.6, 0.49, 0.43, 0.39, 0.47, 0.6, 0.62, 0.63, 0.67, 0.62,
],
},
SurfaceMonthlyRadi... | Rust |
}
self.VFXIndexMapMobile = {
[E.SettingVFXLevel.Off] = -1,
[E.SettingVFXLevel.Simple] = 0,
[E.SettingVFXLevel.Normal] = 1,
[E.SettingVFXLevel.Delicacy] = 3
}
self.SettingImageQuality2Effects = {
E.SettingID.EffSelf,
E.SettingID.EffEnemy,
E.SettingID.EffTeammate,
E.SettingID.EffOth... | Lua |
Lng(37.5853946, 127.02884),
LatLng(37.5854371, 127.0285315),
LatLng(37.5854626, 127.0284913),
LatLng(37.5858282, 127.0285261),
LatLng(37.5860003, 127.027979),
LatLng(37.5861491, 127.0279334),
LatLng(37.5864127, 127.0283464),
LatLng(37.5866465, 127.0286951),
LatLng(37.5873862, 127.0286576... | Kotlin |
bf7690cdae5a3e251818bed42443d0c6424d39e81a19d6c83bdb"
},
"ValidFrom": "2008-08-28 09:49:45",
"ValidTo": "2011-08-28 09:49:45",
"Version": 3
},
{
"CertificateType": "CA",
"IsCA": true,
"IsCertificateAuthority": true,
"IsCodeSigning": false,
"SerialNumber": "0... | Markdown |
-100.0, -100.0, -100.0
/// ],
/// normals: vec![
/// 1.0, 0.0, 0.0,
/// 1.0, 0.0, 0.0,
/// 1.0, 0.0, 0.0,
/// 0.0, 0.0, 1.0,
/// 0.0, 0.0, 1.0,
/// 0.0, 0.0, 1.0,
/// ],
/// texcoords: vec![
/// 0.0, 0.0,
/// 1.0, 1.0,
/// ... | Rust |
k"] .enhanced-footer,
[data-theme="dark"] .enhanced-footer * {
color: inherit !important;
}
/* ===== REMOVE THEME TOGGLE FROM MOBILE SIDEBAR AS THERE IS ONE ON THE NAVBAR ===== */
@media (max-width: 1200px) {
/* Aggressively hide theme toggle in mobile sidebar */
.navbar-sidebar__brand
button:not(.navbar-sid... | CSS |
.UTF_8, input, 0, false);
test("[^\\w]", "i", Encodings.UTF_8, input, 0, false);
test("[[^\\w]]", "i", Encodings.UTF_8, input, 0, false);
test("[^[^\\w]]", "i", Encodings.UTF_8, input, 0, true, 0, 1);
}
test("[\\w]", "i", Encodings.UTF_8, "\u212a", 0, false);
... | Java |
del.icio.us
- Greasemonkey
- SBM
- はてブ
- ニコニコ動画
---
ニコニコ動画の動画をはてなブックマークやdel.icio.usに登録するときに、
動画についているタグをそのまま使いたい場合はありませんか?
[NicoVideo Post to SBM with selected tags][1]は動画をSBM(Social BookMark)に登録するのを手助けするGreasemonkeyです。
インストールはこちらからしてください。
* [NicoVideo Post to SBM with selected tags][1]
設定方法は上のページにも詳... | Markdown |
void
fatal(short sig)
{
DEBUG(("'%s': fatal error: %d", get_curproc()->name, sig));
DEBUG(("'%s': fatal error, trying to clean up", get_curproc()->name ));
kthread_exit(0);
}
static void
sigterm(void)
{
DEBUG(("%s(%d:USB: ): sigterm received", get_curproc()->name, get_curproc()->pid));
DEBUG(("shutdown USB" ));... | C |
Got unexpected error setting permissions a non-existent file: {:?}",
e);
}
}
}
}
<gh_stars>1-10
use std::fs::File;
use std::io::Read;
use std::thread;
use chrono::Utc;
use http::StatusCode as HttpStatus;
use reqwest::header::{self, HeaderMap, HeaderValue};
use serde_json:... | Rust |
tate(gear, state)
return true
end
function AnimRemoveState(gear, state)
SetState(gear, band(GetState(gear), bnot(state)))
return true
end
function AnimGearWait(gear, time)
AnimWait(gear, time)
return true
end
function AnimUnWait()
if globalWait > 0 then
globalWait = globalWait - animSpeed
if glob... | Lua |
| 0;
c = c | 0;
var d = 0,
e = 0,
g = 0,
h = 0,
i = 0,
j = 0,
k = 0,
l = 0,
m = 0,
n = 0,
o = 0;
n = u;
u = (u + 16) | 0;
m = n;
d = Um(c, 0) | 0;
if (!d) {
f[a >> 2] = 0;
u = n;
... | JavaScript |
// square distance in pixels
},
_getTouchBarycenter: function(touchEvent){
// summary:
// returns the midpoint of the two first fingers (or the first finger location if only one)
// touchEvent: TouchEvent
// a touch event
// returns:
// the midpoint as an {x,y} object.
// tags:
// pri... | JavaScript |
/ Interval Utilities
export type Interval = [number, number];
const WHOLE = [-Infinity, Infinity] as Interval;
const EMPTY = [NaN, NaN] as Interval;
const HALF_PI = Math.PI / 2;
const TWO_PI = Math.PI * 2;
const int = (a: number, b: number) => [a - Number.EPSILON, b + Number.EPSILON] as Interval;
const range = (...a... | Typescript |
印件打印
</p>
<p>
<a href="index.htm">
[返回索引页面]
</a>
</p>
<hr/>
<p>
<img src="../../../../GFDL-logo-small.png"/>
<br/>
Copyright (C) 2024 Marxist-Leninist-Maoist.
<br/>
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation Li... | HTML |
intervals
ra := newRegalloc(df)
ra.alloc(sorted)
if is[x].result.id >= len(is) {
t.Error("x is an input, and would have a lifetime of the entire program")
}
if is[y].result.id >= len(is) {
t.Error("y is an input, and would have a lifetime of the entire program")
}
var onDev bool
switch z2.op.(type) {
c... | Go |
#include "narwhal/narwhal.h"
TEST_FIXTURE(sample_collection, NarwhalCollection *)
{
*sample_collection = narwhal_empty_collection();
CLEANUP_FIXTURE(sample_collection)
{
while ((*sample_collection)->count > 0)
{
narwhal_collection_pop(*sample_collection);
}
nar... | C |
eState: LoadState = this.loadMoreState,
errorMessage: TextString? = this.errorMessage,
): IMPL
}
/**
* type DATA is the type of the data to be loaded,
* type IMPL is the type of the implementation of the LoadableUiState.
*/
open class LoadableController<DATA, IMPL : LoadableUiState<DATA, IMPL>>(
pri... | Kotlin |
n = dict_to_markdown(inspect_assembly)
display_data = FileObject(
type="finding_summary",
metadata={"summary": summary_markdown},
)
finding = Finding(
category=FindingCategory.VULNERABILI... | Python |
[
AttributionWidget.defaultWidget(
source: "OpenStreetMap",
onSourceTapped: null,
),
],
children: [
TileLayer(
urlTemplate: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png',
userAgentPackageName: 'id42.cc',
),
],
);
}
//... | Dart |
y: -ms-flexbox;
display: flex;
-ms-flex-align: center;
align-items: center;
-ms-flex-direction: column;
flex-direction: column;
text-align: center; }
.page__title {
font-family: "PostGrotesk-Medium", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
font-size: 24px;
line-he... | CSS |
().Bytes())
switch p := p.(type) {
case *Whoareyou:
// WHOAREYOU packet.
printWhoareyou(p)
case *Ping:
fmt.Fprintf(o, "nonce = %#x\n", nonce[:])
fmt.Fprintf(o, "read-key = %#x\n", net.nodeA.c.sc.session(net.nodeB.id(), net.nodeB.addr()).writeKey)
fmt.Fprintf(o, "ping.req-id = %#x\n", p.ReqID)
fmt.Fprintf... | Go |
al_security_set_key(am_hal_security_locktype_t lockType, am_hal_security_128bkey_t *pKey);
//*****************************************************************************
//
//! @brief Get the current status of the specified lock
//!
//! @param lockType - The lock type to be operated upon
//! @param pbUnlockStatus ... | C |
;
}
.mate-panel-menu-bar #tasklist-button {
border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), currentColor 0%, transparent 0%) 0 0 0/0 0 0px;
}
.mate-panel-menu-bar #tasklist-button:checked {
border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), currentColor... | CSS |
Abigail &amp; Seth&#039;s hardcore scene">Behind the scenes look at Abigail & Seth's hardcore scene</a>
</span>
<span class="views"><var>71,523</var> views</span>
<div class="rating-container up">
<div class="main-sprite icon"></div>
<div class="value">54%</div>
</... | HTML |
= HSRP_PORT)
hsrp_print(ndo, cp, length);
else if (IS_SRC_OR_DST_PORT(LWRES_PORT))
lwres_print(ndo, cp, length);
else if (IS_SRC_OR_DST_PORT(LDP_PORT))
ldp_print(ndo, cp, length);
else if (IS_SRC_OR_DST_PORT(OLSR_PORT))
olsr_print(ndo, cp, length,
(IP_V(ip) == 6) ? 1 : 0);
else if (IS_SRC_OR_DS... | C |
'''
----------- Example_04 --------------
Load a turbine model and tune the controller
-------------------------------------
In this example:
- Read a .yaml file
- Load a turbine model from OpenFAST
- Tune a controller
- Write a controller input file
- Plot gain schedule
'''
# Python modules
import matplotli... | Python |
tStyle(color: Get.isDarkMode?dark_sub_text_Colors:light_sub_text_Colors)) ,
avatar: imageurl.isEmpty?GFAvatar(
child: Text(element.name[0],style: TextStyle(color: Get.isDarkMode?dark_text_Colors:light_text_Colors)),
shape: GFAvatarShape.standard
): CachedN... | Dart |
apibus, eu lacinia lectus dictum.
</p>
</article>
<article style="background-color: green; column-count: 2; border: solid">
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla vitae
fringilla mauris. Quisque commodo eget nisi sed pretium. Mauris luctus
... | HTML |
enderTargetCreateStaticTexture2DEditorOnly(RenderTarget: TextureRenderTarget2D, Name: String, CompressionSettings: String /* "TC_Default" | "TC_Normalmap" | "TC_Masks" | "TC_Grayscale" | "TC_Displacementmap" | "TC_VectorDisplacementmap" | "TC_HDR" | "TC_EditorIcon" | "TC_Alpha" | "TC_DistanceFieldFont" | "TC_HDR_Compre... | Kotlin |
0x9c| *
* ------------------------------------------------- *
* | x27 | x28 | FP | LR | *
* ------------------------------------------------- *
* ------------------------------------------------- *
* | 40 | 41 | 42 | 43 | | | *
* ---------------------... | Assembly |
valid distribution, because <span class="math inline">\(\kappa_{h,\boldsymbol{g}}(\boldsymbol{\theta})=\infty\)</span>. Using <code>reference=~Geometric</code> can be dangerous for this reason. This issue only arises with ERGMs that have an infinite sample space.</p>
</div>
<div id="valued-ergm-terms" class="section l... | HTML |
println!("Block size: {}", BLOCK_SIZE);
println!("Footer size: {}", FOOTER_SIZE);
}
let add = |vec: &mut Vec<usize>, size_class| {
let size_class = round_up_to_multiple_of(ATOM_SIZE, size_class);
if false {
println!("--Adding MarkedSpace size class: {}", size_class);
... | Rust |
Device("CUDA:0"))
->Unit(benchmark::kMillisecond);
BENCHMARK_CAPTURE(RemoveStatisticalOutliers,
CUDA[30],
core::Device("CUDA:0"),
30)
->Unit(benchmark::kMillisecond);
BENCHMARK_CAPTURE(ComputeBoundaryPoints,
CUDA Float32,
... | C++ |
param {Cartesian4} result The object onto which to store the result.
* @returns {Cartesian4} The modified result parameter.
*/
Matrix4.multiplyByVector = function(matrix, cartesian, result) {
var vX = cartesian.x;
var vY = cartesian.y;
var vZ = cartesian.z;
var vW ... | JavaScript |
p-padding-box">padding-box</a>.
<dt><dfn class="css dfn-paneled" data-dfn-for="background-attachment" data-dfn-type="value" data-export id="valdef-background-attachment-scroll">scroll</dfn>
<dd>The background is fixed with regard to the element itself and
does not scroll with its contents. (It is effectiv... | HTML |
Identifier(), JdkAggregators.TOTAL_BLOCKED_TIME);
BY_ADDRESS_HISTOGRAM.addColumn(MAX_DURATION, JdkAggregators.MAX_BLOCKED_TIME);
BY_ADDRESS_HISTOGRAM.addColumn(AVG_DURATION, JdkAggregators.AVG_BLOCKED_TIME);
BY_ADDRESS_HISTOGRAM.addColumn(STD_DEV_DURATION, JdkAggregators.STDDEV_BLOCKED_TIME);
BY_ADDRESS_HISTOGR... | Java |
.readdir(testDir);
expect(dirs).toContain('.claude');
expect(dirs.length).toBe(1); // Only .claude, no other dirs
// Verify config created
const config = JSON.parse(
await fs.readFile(path.join(testDir, '.claude/config.json'), 'utf8')
);
expect(config.variant).toBe('base');
});
... | Markdown |
leno:表示目录索引号。
- Reclen:表示目录条目的长度。
- Typ:表示目录条目类型,常见的目录条目类型有普通文件、目录、链接等。
- Namlen:表示目录条目名称的长度。
- Name:表示目录条目的名称。
使用Dirent结构体可以让开发者方便地读取目录中的条目信息,并对它们进行批量操作,如遍历目录中的所有文件和子目录等。具体使用方法可以参考Go语言中的syscall包文档。
### Fsid
在 DragonFly BSD 系统中,Fsid 是用于表示文件系统 ID 的结构体。该结构体定义如下:
```go
type Fsid struct {
Val [2]int32
}
```
其中,V... | Markdown |
f-wmscapabilitylayertreenode-header {
display: flex;
flex-wrap: wrap;
&:hover > span > .gmf-wmscapabilitylayertreenode-actions {
opacity: 1;
}
}
.gmf-wmscapabilitylayertreenode-no-icon {
font-size: 0.44rem;
vertical-align: middle;
}
.gmf-wmscapabilitylayertreenode-title {
flex: 2;
padding: 0 0.31... | CSS |
> div {
position: relative;
padding: 0.5em;
}
.tt-close {
align-self: flex-start;
appearance: none;
background: none;
border: 0;
margin-left: auto;
padding: 0.54em 0.4em 0.2em 0.4em;
font-size: 0.9em;
font-weight: 600;
color: #fff;
line-height: 1;
cursor: pointer;
transition: opacity 200ms... | CSS |
mentById('canvas');
if (canvas) {
canvas.addEventListener('click', event => {
const rect = canvas.getBoundingClientRect();
const x = event.clientX - rect.left;
const y = event.clientY - rect.top;
this.clicks.push(new Point(x, y));
});
}
}
update(engine: Engine, d... | Typescript |
ext returns the most recent token generated by a call to Scan
// as a newly allocated string holding its bytes.
func (b *Scanner) Text() string {
return string(b.Bytes())
}
func (b *Scanner) Err() error {
if len(b.tokens) > 0 {
return nil
}
if b.err == io.EOF {
return nil
}
return b.err
}
package canvas
imp... | Go |
putl(T&&... args) { ((cout << args << " "), ...); cout<<'\n';}
#define error(args...) { string _s = #args; replace(_s.begin(), _s.end(), ',', ' '); stringstream _ss(_s); istream_iterator<string> _it(_ss); err(_it, args); }
void err(istream_iterator<string> it) {}
template<typename T, typename... Args>
void err(istream... | C++ |
pagination block](https://wordpress.org/documentation/files/2023/10/image-11.png)The Typography settings enable you to customize the font and text appearance of the content within the *Comments Pagination* block. The settings have various options, such as font size, font style, font family, and letter spacing.
[Learn... | Markdown |
}
/// Generates a vertex
fn vertex(pos: [f32; 3]) -> glam::Vec3 {
glam::Vec3::from(pos)
}
use std::{collections::HashMap, fmt::Display, str::FromStr};
use simplexpr::{dynval::DynVal, SimplExpr};
use crate::{
error::{AstError, AstResult},
parser::{
ast::Ast,
ast_iterator::AstIterator,
... | Rust |
-border-radius:0 5px 0 0}.mura-site-map-tree li:first-child::after{border-radius:5px 0 0 0;-webkit-border-radius:5px 0 0 0;-moz-border-radius:5px 0 0 0}.mura-site-map-tree ul::before{content:'';position:absolute;top:0;left:50%;border-left:1px solid #ccc;width:0;height:20px}.mura-site-map-tree li a{border:1px solid #ccc... | CSS |
34 timer A vector
* MFP 68901 Addresses
iea equ $fffa07 interrupt enable A
ieb equ $fffa09 interrupt enable B
isra equ $fffa0f in service A
ima equ $fffa13 interrupt mask A
tacr equ $fffa19 timer A control
tadr equ $fffa1f timer A data
* Microwire constants for volume/tone
mw_data equ $ff8922 microwire data ... | Assembly |
e to the usage of an unknown name in the annotation:
`mod.py`:
```py
# Undeclared:
a = 1
# Implicitly declared with `Unknown`, due to the usage of an unknown name in the annotation:
b: SomeUnknownName = 1 # error: [unresolved-reference]
```
```py
from mod import a, b
reveal_type(a) # revealed: Unknown | Literal[... | Markdown |
source?.start?.line;
// const end = node.source?.end?.line;
// defs = start && end ? sources.slice(start, end - 1) : [];
// } else if (node.type === "decl") {
// return ["const", node.prop.replace(/^\$/, ""), "=", `"${node.value}";`].join(" ");
// }
// return [
// `const ${capitalize(name)} = ${s... | Typescript |
packageversion= "3.29"
packagedate = "2024-12-03"
fontloaderdate= "2023-12-28"
packagedesc = ""
module = "luaotfload"
ctanpkg = "luaotfload"
tdsroot = "luatex"
-- load my personal data for the ctan upload
local ok, mydata = pcall(require, "ulrikefischerdata.lua")
if not ok then
mydata = {
email = os.get... | Lua |
></tr>
<tr><td id="四季如歌室内乐团">风</td><td><a href="./四季如歌室内乐团.md" title="四季如歌室内乐团">四季如歌室内乐团</a></td><td><a rel="nofollow" class="external text" href="https://space.bilibili.com/17539722">哔哩哔哩</a><br><a rel="nofollow" class="external text" href="https://www.dizzylab.net/l/四季如歌室内乐团 ~ Orchestre de Chambre Cantabile Saisons./... | Markdown |
E0\u6CD5\u52A0\u8F7D",FirefoxCantLoadWebFont:"\u60A8\u5728\u4F7F\u7528\u706B\u72D0\u6D4F\u89C8\u5668\uFF0C\u5979\u4E0D\u652F\u6301\u4ECE\u8FDC\u7A0B\u4E3B\u673A\u4E0B\u8F7D\u4EFB\u4F55web\u5B57\u4F53",CantFindFontUsing:"\u65E0\u6CD5\u627E\u5230\u4F7F\u7528%1\u7684\u6709\u6548\u5B57\u4F53",WebFontsNotAvailable:"Web\u5B5... | JavaScript |
ildren = {
{
type = "InlineGroup",
layout = "flow",
title = L["New Custom Price Source"],
children = {
{
type = "Label",
relativeWidth = 1,
text = L["Custom price sources allow you to create more advanced custom prices throughout all of the TSM modules. Just as you can... | Lua |
"PolusShip" => MapType.Polus,
"Airship" => MapType.Airship,
"FungleShip" => MapType.Fungle,
_ => MapType.LevelImposter
};
if (mapType == MapType.LevelImposter)
return;
if (_loadedShips.Contains(mapType))
return;
_loadedShips.Pu... | C# |
h, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `atomic_xchg_acqrel` fn in crate `core`.">
<meta name="keywords" content="rust, rustlang, rust-lang, atomic_xchg_acqrel">
<title>core::intrinsics::atomic_xchg_acqrel - Rust<... | HTML |
WarpDest $c0 $01 $f $3
m_WarpDest $c0 $0d $f $3
group7WarpDestTable:
m_WarpDest $01 $01 $f $3
m_WarpDest $01 $0d $f $3
m_WarpDest $02 $a1 $9 $3
m_WarpDest $02 $0b $f $3
m_WarpDest $03 $0b $f $3
m_WarpDest $04 $a3 $9 $3
m_WarpDest $04 $0c $f $3
m_WarpDest $08 $01 $f $3
m_WarpDest $08 $0d $f $3
m_WarpDest $0a... | Assembly |
f S.ShadowBolt:IsReady() and (Player:BuffUp(S.NightfallBuff) and (Player:BuffStack(S.NightfallBuff) == 2 or Player:BuffRemains(S.NightfallBuff) < S.ShadowBolt:ExecuteTime() * 2) and Player:BuffStack(S.TormentedCrescendoBuff) < 2 and S.SoulRot:CooldownRemains() > 5 and (not S.VileTaint:IsAvailable() or S.VileTaint:Coold... | Lua |
',
b'6', b'4', b'6', b'5', b'6', b'6', b'6', b'7', b'6', b'8', b'6', b'9', b'7', b'0', b'7', b'1',
b'7', b'2', b'7', b'3', b'7', b'4', b'7', b'5', b'7', b'6', b'7', b'7', b'7', b'8', b'7', b'9',
b'8', b'0', b'8', b'1', b'8', b'2', b'8', b'3', b'8', b'4', b'8', b'5', b'8', b'6', b'8', b'7',
b'8', b'8', b... | Rust |
r)
for tup in node.ops:
self.buf.write(tup[0])
self.visit(tup[1])
def visitCallFunc(self, node, *args):
self.visit(node.node)
self.buf.write('(')
if len(node.args):
self.visit(node.args[0])
for a in ... | Python |
`# This file contains the result of Yarn building a package (${ka(Z)})
`;switch(rt.type){case 0:Te+=`# Script name: ${rt.script}
`;break;case 1:Te+=`# Script code: ${rt.script}
`;break}let Ne=null;if(!await ae.mktempPromise(async Ye=>{let Qe=K.join(Ye,"build.log"),{stdout:it,stderr:Ue}=this.configuration.getSubprocessS... | JavaScript |
;
Assert.AreEqual(50, this.histogram.GetAverageValue());
}
[Test]
public void EmptyHistogramsAreHandledCorrectly()
{
Assert.AreEqual(0, this.histogram.GetMaximumValue());
Assert.AreEqual(0, this.histogram.GetMinimumValue());
Assert.AreEqua... | C# |
nt
onigenc_single_byte_ascii_only_case_map(OnigCaseFoldType* flagP, const OnigUChar** pp,
const OnigUChar* end, OnigUChar* to, OnigUChar* to_end,
const struct OnigEncodingTypeST* enc)
{
OnigCodePoint code;
OnigUChar *to_start = to;
OnigCaseFoldType flags = *flagP;
while (*pp < end && to < to_end) {
... | C |
</div>
{{ end }}
</div>
<!-- /#blog-post -->
<!-- *** LEFT COLUMN END *** -->
<!-- *** RIGHT COLUMN *** -->
<div class="col-md-3">
<!-- *** MENUS AND WIDGETS *** -->
... | HTML |
#ifndef SAKITO_SERVER_FUNCS_H
#define SAKITO_SERVER_FUNCS_H
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#include <errno.h>
#include "os_check.h"
#define SERVER
#ifdef OS_WIN
#include <WS2tcpip.h>
#include <Windows.h>
#include <inttypes.h>
#include "windows/sakito_swin_types.h"
#pragm... | C |
mple.org/abcdef."),
},
affiliationAdmin: {
headerLabel: i18n.Local("Administrators"),
descriptionLabel: i18n.Local("A room administrator will automatically become a moderator when entering the room. They can't change the room configuration or destroy the room."),
dialogTitle: i18n.Local("Admin... | Go |
n>encoding</c-><c- p>,</c->
<c- n>State</c-><c- o>&</c-> <c- n>state</c-><c- p>,</c-> <c- n>ErrorHandler</c-><c- o>&&</c-> <c- n>error_handler</c-><c- p>);</c->
<c- k>template</c-> <c- o><</c-><c- k>typename</c-> <c- n>Input</c-><c- p>,</c->
<c- k>typename</c-> <c- n>Encoding</c-><c- p>,</c-> <c- k>t... | HTML |
_DATA).unwrap(),
false,
)
.unwrap();
let mut ibl = IndirectLightBuilder::new()
.unwrap()
.reflections(&ibl_texture)
.intensity(50000.0)
.rotation(&Mat3f::rotation(-90.0, Float3::new(0.0, 1.0, 0.0)))
.build(&mut engine)
... | Rust |
0 18.773-15.36 34.133-34.133 34.133h-358.4c-18.773 0-34.133-15.36-34.133-34.133V37.4c0-18.773 15.36-34.133 34.133-34.133H340.6V88.6c0 18.773 15.36 34.133 34.133 34.133z' style='fill:%23f2edda' transform='translate(5 1)'/%3E%3Cpath d='M460.067 122.733h-85.333c-18.773 0-34.133-15.36-34.133-34.133V3.267z' style='fill:%23f... | CSS |
// App
CustomTranslationKeys.appName: 'Ramazan 2024',
// Notification
CustomTranslationKeys.notificationBody: 'İftar vakti geldi, dualarınız kabul olsun!',
// Home
CustomTranslationKeys.successSignOutText: 'Çıkış Başarılı',
CustomTranslationKeys.errorSignOu... | Dart |
e(temporal_rs::ParsedZonedDateTime&&) noexcept = delete;
ParsedZonedDateTime operator=(const temporal_rs::ParsedZonedDateTime&) = delete;
ParsedZonedDateTime operator=(temporal_rs::ParsedZonedDateTime&&) noexcept = delete;
static void operator delete[](void*, size_t) = delete;
};
} // namespace
#endif // T... | C++ |
r > *:not(.row) {
@include medium-and-up {
max-width: 581px;
}
@include large-and-up {
max-width: 696px;
}
@include x-large-and-up {
max-width: 736px;
}
@include xx-large-and-up {
max-width: 856px;
}
}
h3 _-- {
margin-bottom: 20px;
@include medium... | CSS |
7u.TW55N)\n" +
" └─ Table\n" +
" ├─ name: E2I7U\n" +
" └─ columns: [id tw55n]\n" +
"",
ExpectedAnalysis: "Project\n" +
" ├─ columns: [(row_number() over ( order by e2i7u.id asc) - 1) as DICQO, e2i7u.TW55N]\n" +
" └─ Window(row_number() over ( order by e2i7u.id ASC), e2i7u.TW55N)\... | Go |
Position.X; ymin.Y = Verts[i].Position.Y; ymin.Z = Verts[i].Position.Z;
}
if (Verts[i].Position.Y > ymax.Y) {
ymax.X = Verts[i].Position.X; ymax.Y = Verts[i].Position.Y; ymax.Z = Verts[i].Position.Z;
}
if (Verts[i].Position.Z < zmin.Z) {
zmin.X = Verts[i].Position.X; zmin.Y = Verts[i].Position.Y; zmin.Z =... | C++ |
num.toJs()
assign(this, enumOptions)
} else if (number != null) {
val numberOptions = number.toJs()
assign(this, numberOptions)
} else if (regExp != null) {
jsSet("mask", regExp)
} else if (function != null) {
val functionOptions = obj<... | Kotlin |
'при продаже других джокеров.',
'{C:inactive}(сейчас {X:mult,C:white}X#2#{C:inactive} множ.)',
},
unlock={
'Продать в общей сложности',
'{C:attention,E:1}#1#{} карт джокера',
'{C:inactive}(#2#)',... | Lua |
SetMaskEnable = 3842,
Awake = 3834,
Init = 3835
},
ScrollTextWrap = {
Clear = 574,
Register = 571,
SetText = 572,
get_NotSensitive = 576,
get_Vertical = 577,
op_Equality = 575,
set_NotSensitive = 578,
set_Vertical = 579,
SetMaskEnable = 573
},
SdkUtil = {
Json2Dictionary = 3090,
Dictionary... | Lua |
potify.token = Some(token);
let playlists = spotify.current_user_playlists()
.take(50)
.filter_map(Result::ok)
.collect::<Vec<_>>();
if playlists.is_empty() {
return AppResponse::Redirect(Redirect::to("/"));
}
AppResponse::Json(json!(playlists))
}
#[get("/me")]
fn me(c... | Rust |
'package:haveno_app/views/screens/trade_timeline/seller_phases/phase_deposits_unlocked_seller.dart';
import 'package:haveno_app/views/screens/trade_timeline/seller_phases/phase_init_seller.dart';
import 'package:haveno_app/views/screens/trade_timeline/seller_phases/phase_payment_received_seller.dart';
import 'package:... | Dart |
05)}.layout .el-main .layout-body .layout-phone .layout-phone-header[data-v-30bf4255]{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;height:64px;width:100%;background:url(https://cdn2.weimob.com/saas/@assets/saas-fe-retail-web-stc/retail2/images/storeDesi... | CSS |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.