This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$IA = New-Object PSObject -Property @{ | |
"ClassCode" = "" | |
"Semester" = "" | |
"DataStore" = "FASTDATASTORENAME" | |
"Cluster" = "IA Program" | |
"VIServer" = "VSPHERE-SERVER" | |
"IPBlock" = "10.0.1.0" | |
"SubnetMask" = "255.255.0.0" | |
"Connected" = $false | |
"ResourcePool" = "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Load our template xml to have something to work with | |
[xml]$out =[xml]@" | |
<?xml version="1.0"?> | |
<dhcpd> | |
<lan> | |
<enable/> | |
<range> | |
<from>192.168.1.100</from> | |
<to>192.168.1.199</to> | |
</range> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PKG_CHECK_MODULES([ICU_UC], [icu-uc], | |
[INCLUDES="$INCLUDES -DU_DISABLE_RENAMING=1 $ICU_UC_CFLAGS"; LIBS="$LIBS $ICU_UC_LIBS"], | |
AC_CHECK_LIB([icuuc],[ucnv_open_48], | |
[LIBS="$LIBS -licuuc"], | |
AC_MSG_ERROR($missing_library))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
/* | |
* Copyright (C) 2015 Team Kodi | |
* http://kodi.tv | |
* | |
* 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 2, or (at your option) | |
* any later version. | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class | |
{ | |
private: | |
int a{10}; | |
string b{"nice"}; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
refstr = " JuST Another\t\tTEst:\nWoRKs(Test 1 First) "; | |
varstr = " juST another\t\ttEst:\nwoRKs(test 1 first) "; | |
StringUtils::ToCapitalize(varstr); | |
EXPECT_STREQ(refstr.c_str(), varstr.c_str()); | |
refstr = " JuST Another\t\tTEst:\nWoRKs\"Test 1 First\" "; | |
varstr = " juST another\t\ttEst:\nwoRKs\"test 1 first\" "; | |
StringUtils::ToCapitalize(varstr); | |
EXPECT_STREQ(refstr.c_str(), varstr.c_str()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class CActivityLogManager | |
{ | |
public: | |
static CActivityLog& GetInstance() | |
{ | |
static CActivityLogManager s_instance; | |
return s_instance.GetActivityLog(); | |
} | |
private: | |
CActivityLog& GetActivityLog() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
char CURL::GetDirectorySeparator() const | |
{ | |
#ifndef TARGET_POSIX | |
if ( m_strProtocol.empty() ) | |
return '\\'; | |
else | |
#endif | |
return '/'; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Not Flagged 3360 0 Main Thread Main Thread Kodi.exe!XbmcThreads::ConditionVariable::wait Normal | |
ntdll.dll!_NtWaitForAlertByThreadId@8() | |
ntdll.dll!_RtlSleepConditionVariableCS@12() | |
KernelBase.dll!_SleepConditionVariableCS@12() | |
Kodi.exe!XbmcThreads::ConditionVariable::wait(CCriticalSection & lock, unsigned long milliseconds) Line 64 | |
Kodi.exe!XbmcThreads::TightConditionVariable<bool volatile &>::wait<CCriticalSection>(CCriticalSection & lock, unsigned long milliseconds) Line 65 | |
Kodi.exe!CEvent::WaitMSec(unsigned int milliSeconds) Line 86 | |
Kodi.exe!CThread::WaitForThreadExit(unsigned int milliseconds) Line 151 | |
Kodi.exe!CThread::StopThread(bool bWait) Line 169 | |
Kodi.exe!CDVDPlayer::CloseFile(bool reopen) Line 680 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Running 30s test @ http://192.168.0.82:8000 | |
8 threads and 32 connections | |
Thread Stats Avg Stdev Max +/- Stdev | |
Latency 5.39ms 6.39ms 68.40ms 90.05% | |
Req/Sec 32.27k 4.72k 93.77k 70.39% | |
Latency Distribution | |
50% 4.31ms | |
75% 6.79ms | |
90% 11.74ms | |
99% 0.00us |
OlderNewer