content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
);
go.AddOrGet<RocketProcessConditionDisplayTarget>();
go.AddOrGet<RocketLaunchConditionVisualizer>();
go.AddOrGet<CharacterOverlay>().shouldShowName = true;
Storage storage1 = go.AddComponent<Storage>();
storage1.showInUI = false;
storage1.capacityKg = 10f;
storage1.SetDefaultStoredItemModifiers(S... | C# |
// having thread-local storage.
if(nCount)
{
if(pData[nCount] == 0) // If already 0-terminated...
{
#if EASTDC_OUTPUTDEBUGSTRING_ENABLED
OutputDebugStringA(pData);
#else
fputs(pData, stdout);
#if defined(EA_PLATFORM_MOBILE)
fflush(stdout); // Mobile platforms need this because o... | C++ |
/* Ensure the message is visible when it contains text */
.message.show {
display: block;
}
.cout h3{
text-align: center;
font-size: 2rem;
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}.cesium-lighter .cesium-button{co... | CSS |
?v=T8X7VDmJkz4) (features discussion of Cedar and a demo)
- [The Cedar Language and Policy Based Authorization with Emina Torlak](https://authorizationinsoftware.auth0.com/public/49/Authorization-in-Software-f9b69587/55f50479)
- [Enforcing Consent Conformance in Your Authz Logic with a Fine-Grained Perms Model (Identiv... | Markdown |
).map { it.split(',') })
// Plugin Dependencies. Uses `platformPlugins` property from the gradle.properties file for plugin from JetBrains Marketplace.
plugins(properties("platformPlugins").map { it.split(',') })
// Module Dependencies. Uses `platformBundledModules` property from the gradle.properties file ... | Kotlin |
/*-------------------------------------------------------------------------
*
* pqsignal.h
* Backend signal(2) support (see also src/port/pqsignal.c)
*
* Portions Copyright (c) 1996-2015, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* src/include... | C |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using Silk.NET.Core.Attributes;
#pragma warning disable 1591
namespace Silk.NET.Core.Win32Extras
{
[Flags]
[NativeName("Name", "tagPOINTERINACTIVE")]
pub... | C# |
fun getWith():Float
/**
*
* @return Sprite height
*/
fun getHeight():Float
/**
*
* @return active model
*/
fun getModel():Model
}/**
* Copyright (C) 2020 Moncef YABI
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of t... | Kotlin |
, [rbp + 8]
%endif
; .endif # end NASM- and win64-specific block
;# zero 32-bit iteration counters
mov eax, 0
mov [rsp + nb104_nouter], eax
mov [rsp + nb104_ninner], eax
mov edi, [rdi]
mov [rsp + nb104_nri], edi
mov [rsp + nb104_iinr], rsi
mov [rsp + nb104_jindex], rdx
mov [rsp + nb104_jjnr], rcx
mov [rs... | Assembly |
struct keyframe
{
r32 tEnd;
r32 Value;
};
struct animation
{
r32 t;
r32 tEnd;
u32 xKeyframeCount;
keyframe* xKeyframes;
u32 yKeyframeCount;
keyframe* yKeyframes;
u32 zKeyframeCount;
keyframe* zKeyframes;
};
r32
Interpolate(animation* Animation, keyframe* Keyframes, u32 KeyframeCount)
{
r32 ... | C |
illMode:"none"}]],textRect:{left:0,top:"=V.it",right:"=V.ir",bottom:"=V.ib"}},rightArrow:{variables:{adj1:5e4,adj2:5e4,ss:i,maxAdj2:"=100000 * width / V.ss",a1:"=MIN(MAX(0, V.adj1), 100000)",a2:"=MIN(MAX(0, V.adj2), V.maxAdj2)",dx1:"=V.ss * V.a2 / 100000",r:V,x1:"=width - V.dx1",dy1:"=height * V.a1 / 200000",vc:f,y1:"=... | JavaScript |
a
d @ s d dl Z d dlZd dlT d dlZeejZG dd deZG dd deZ G dd dZ
eejd D ](Z
d
e
Zeee
e jfde
ie e< |