Skip to content

Instantly share code, notes, and snippets.

VMware Workstation 17 Pro key 100% working for me:
MC60H-DWHD5-H80U9-6V85M-8280D---This key worked for me 100%
Also i'm not sure if those license keys below will work too.
4A4RR-813DK-M81A9-4U35H-06KND
NZ4RR-FTK5H-H81C1-Q30QH-1V2LA
4C21U-2KK9Q-M8130-4V2QH-CF810
4Y09U-AJK97-089Z0-A3054-83KLA
Have fun using VMware Workstation 17 Pro!
@Warpten
Warpten / vk.cpp
Created November 5, 2019 08:55
vk::DynamicLoader without pulling Windows.h everywhere
#include "vk.hpp"
#include <Windows.h>
namespace vk
{
DynamicLoader::DynamicLoader() : m_success(false)
{
#if defined(__linux__)
m_library = dlopen("libvulkan.so", RTLD_NOW | RTLD_LOCAL);
using System;
public interface Base {
int Property { get; }
void Mutate(int someValue);
}
public struct SuperA : Base {
public int Property { get; private set; }
diff --git a/src/BenchmarkDotNet.Disassembler.x64/Program.cs b/src/BenchmarkDotNet.Disassembler.x64/Program.cs
index c5b71018..5ccb567b 100644
--- a/src/BenchmarkDotNet.Disassembler.x64/Program.cs
+++ b/src/BenchmarkDotNet.Disassembler.x64/Program.cs
@@ -20,7 +20,7 @@ namespace BenchmarkDotNet.Disassembler
static readonly string[] CallSeparator = { "call" };
static readonly Dictionary<string, string[]> SourceFileCache = new Dictionary<string, string[]>();
- // the goals of the existence of this process:
+ // the goals of the existence of this process:
#include "box.hpp"
#include "object.hpp"
#include "predictor_corrector.hpp"
#include "calculator.hpp"
#include "extensions.hpp"
#include "logger.hpp"
#include <cassert>
#include <iostream>
#include <random>
#include "box.hpp"
#include "object.hpp"
#include "predictor_corrector.hpp"
#include "calculator.hpp"
#include "extensions.hpp"
#include "logger.hpp"
#include <cassert>
#include <iostream>
#include <random>
#include "box.hpp"
#include "object.hpp"
#include "predictor_corrector.hpp"
#include "calculator.hpp"
#include "extensions.hpp"
#include "logger.hpp"
#include <cassert>
#include <iostream>
#include <random>
MODULE CONSTANTS
IMPLICIT NONE
INTEGER, PARAMETER :: dp = SELECTED_REAL_KIND(16)
REAL(KIND = dp), PARAMETER :: PI = 3.1415926536_dp
REAL(KIND = dp), PARAMETER :: BOLTZMANN = 1.38064852E-23_dp ! J/K
REAL(KIND = dp), PARAMETER :: EPS = 1.65E-21_dp ! J
REAL(KIND = dp), PARAMETER :: M = 6.6335209E-26_dp ! kg
REAL(KIND = dp), PARAMETER :: SIGMA = 3.4E-10_dp ! m
<?php
class EAI
{
private $texts = array();
public function __construct($creatureId, $creatureName)
{
$this->creatureId = $creatureId;
$this->creatureName = $creatureName;
@@ -432,11 +432,12 @@ int32 SpellEffectInfo::CalcValue(Unit const* caster, int32 const* bp, Unit const
float basePointsPerLevel = RealPointsPerLevel;
int32 basePoints = bp ? *bp : BasePoints;
float comboDamage = PointsPerComboPoint;
// base amount modification based on spell lvl vs caster lvl
- if (ScalingMultiplier != 0.0f)
+ // Do not perform any scaling calculation if custom values were passed to us
+ if (ScalingMultiplier != 0.0f && !bp)
{