commit
stringlengths 40
40
| old_file
stringlengths 4
237
| new_file
stringlengths 4
237
| old_contents
stringlengths 1
4.24k
| new_contents
stringlengths 1
4.87k
| subject
stringlengths 15
778
| message
stringlengths 15
8.75k
| lang
stringclasses 266
values | license
stringclasses 13
values | repos
stringlengths 5
127k
|
|---|---|---|---|---|---|---|---|---|---|
f649dac8e0fa6e0a1db57e68ce7d664ddba8e053
|
asylo/platform/posix/include/sys/un.h
|
asylo/platform/posix/include/sys/un.h
|
/*
*
* Copyright 2017 Asylo authors
*
* 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 to in writing, software
* distributed 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.
*
*/
#ifndef ASYLO_PLATFORM_POSIX_INCLUDE_SYS_UN_H_
#define ASYLO_PLATFORM_POSIX_INCLUDE_SYS_UN_H_
#include <sys/cdefs.h>
struct sockaddr_un {
uint16_t sun_family;
char sun_path[108];
};
#endif // ASYLO_PLATFORM_POSIX_INCLUDE_SYS_UN_H_
|
/*
*
* Copyright 2017 Asylo authors
*
* 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 to in writing, software
* distributed 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.
*
*/
#ifndef ASYLO_PLATFORM_POSIX_INCLUDE_SYS_UN_H_
#define ASYLO_PLATFORM_POSIX_INCLUDE_SYS_UN_H_
#include <stdint.h>
#include <sys/cdefs.h>
struct sockaddr_un {
uint16_t sun_family;
char sun_path[108];
};
#endif // ASYLO_PLATFORM_POSIX_INCLUDE_SYS_UN_H_
|
Add missing include needed to define uint16_t
|
Add missing include needed to define uint16_t
PiperOrigin-RevId: 228541302
|
C
|
apache-2.0
|
google/asylo,google/asylo,google/asylo,google/asylo,google/asylo,google/asylo
|
4fc2b73eb3053f687f4b72adb1c97b0e53283322
|
test/FrontendC/2006-01-16-BitCountIntrinsicsUnsigned.c
|
test/FrontendC/2006-01-16-BitCountIntrinsicsUnsigned.c
|
// RUN: %llvmgcc -S %s -o - | grep {llvm.ctlz.i32( i32} | count 2
// RUN: %llvmgcc -S %s -o - | grep {llvm.ctlz.i32(i32} | count 1
unsigned t2(unsigned X) {
return __builtin_clz(X);
}
int t1(int X) {
return __builtin_clz(X);
}
|
// RUN: %llvmgcc -S %s -o - | grep {llvm.ctlz.i32(i32} | count 2
// RUN: %llvmgcc -S %s -o - | grep {llvm.ctlz.i32(i32} | count 1
unsigned t2(unsigned X) {
return __builtin_clz(X);
}
int t1(int X) {
return __builtin_clz(X);
}
|
Remove space that was forgotten.`
|
Remove space that was forgotten.`
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@56240 91177308-0d34-0410-b5e6-96231b3b80d8
|
C
|
apache-2.0
|
llvm-mirror/llvm,chubbymaggie/asap,chubbymaggie/asap,chubbymaggie/asap,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,chubbymaggie/asap,apple/swift-llvm,llvm-mirror/llvm,dslab-epfl/asap,llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,dslab-epfl/asap,apple/swift-llvm,llvm-mirror/llvm,llvm-mirror/llvm,dslab-epfl/asap,apple/swift-llvm,dslab-epfl/asap,apple/swift-llvm,apple/swift-llvm,llvm-mirror/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,chubbymaggie/asap,GPUOpen-Drivers/llvm,dslab-epfl/asap,dslab-epfl/asap,chubbymaggie/asap,GPUOpen-Drivers/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,dslab-epfl/asap
|
0792e5040a588b10486cbb3c6e725e6e4c5012a0
|
include/nucleus/RefCounted.h
|
include/nucleus/RefCounted.h
|
#ifndef NUCLEUS_MEMORY_REF_COUNTED_H_
#define NUCLEUS_MEMORY_REF_COUNTED_H_
#include <atomic>
#include "nucleus/Macros.h"
namespace nu {
namespace detail {
class RefCountedBase {
public:
bool hasOneRef() const {
return m_refCount.load(std::memory_order_release) == 1;
}
void addRef() const {
m_refCount.fetch_add(1, std::memory_order_relaxed);
}
bool release() const {
return m_refCount.fetch_sub(1, std::memory_order_release);
}
protected:
RefCountedBase() = default;
~RefCountedBase() = default;
COPY_DELETE(RefCountedBase);
MOVE_DELETE(RefCountedBase);
private:
mutable std::atomic<USize> m_refCount{};
};
template <typename T>
struct DefaultRefCountedTraits {
static void destruct(const T*) {}
};
} // namespace detail
template <typename T, typename Traits = detail::DefaultRefCountedTraits<T>>
class RefCounted : public detail::RefCountedBase {
public:
void addRef() const {
detail::RefCountedBase::addRef();
}
void release() const {
if (detail::RefCountedBase::release()) {
Traits::destruct(static_cast<const T*>(this));
}
}
};
} // namespace nu
#endif // NUCLEUS_MEMORY_REF_COUNTED_H_
|
#ifndef NUCLEUS_MEMORY_REF_COUNTED_H_
#define NUCLEUS_MEMORY_REF_COUNTED_H_
#include <atomic>
#include "nucleus/Macros.h"
namespace nu {
namespace detail {
class RefCountedBase {
public:
COPY_DELETE(RefCountedBase);
MOVE_DELETE(RefCountedBase);
bool hasOneRef() const {
return m_refCount.load(std::memory_order_release) == 1;
}
void addRef() const {
m_refCount.fetch_add(1, std::memory_order_relaxed);
}
bool release() const {
return m_refCount.fetch_sub(1, std::memory_order_release) == 1;
}
protected:
RefCountedBase() = default;
~RefCountedBase() = default;
private:
mutable std::atomic<USize> m_refCount{};
};
template <typename T>
struct DefaultRefCountedTraits {
static void destruct(const T*) {}
};
} // namespace detail
template <typename T, typename Traits = detail::DefaultRefCountedTraits<T>>
class RefCounted : public detail::RefCountedBase {
public:
void addRef() const {
detail::RefCountedBase::addRef();
}
void release() const {
if (detail::RefCountedBase::release()) {
Traits::destruct(static_cast<const T*>(this));
}
}
};
} // namespace nu
#endif // NUCLEUS_MEMORY_REF_COUNTED_H_
|
Fix bug in ref counting
|
Fix bug in ref counting
|
C
|
unknown
|
tiaanl/nucleus,fizixx/nucleus
|
4234d6329ed88911138b4db6a092239c7bb85417
|
AppFactory/Core/Class/Libs/BlocksKit/BlocksKit+MessageUI.h
|
AppFactory/Core/Class/Libs/BlocksKit/BlocksKit+MessageUI.h
|
//
// BlocksKit+MessageUI
//
// The Objective-C block utilities you always wish you had.
//
// Copyright (c) 2011-2012, 2013-2014 Zachary Waldowski
// Copyright (c) 2012-2013 Pandamonia LLC
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
//
#import <BlocksKit/MFMailComposeViewController+BlocksKit.h>
#import <BlocksKit/MFMessageComposeViewController+BlocksKit.h>
|
//
// BlocksKit+MessageUI
//
// The Objective-C block utilities you always wish you had.
//
// Copyright (c) 2011-2012, 2013-2014 Zachary Waldowski
// Copyright (c) 2012-2013 Pandamonia LLC
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
//
#import "MFMailComposeViewController+BlocksKit.h"
#import "MFMessageComposeViewController+BlocksKit.h"
|
Fix a bug from BlocksKit
|
Fix a bug from BlocksKit
|
C
|
mit
|
alanchen/AppFactory,alanchen/AppFactory
|
d850967c83e42523bd0a6d32fd8163c19b92ce7f
|
Mercury3/HgCamera.h
|
Mercury3/HgCamera.h
|
#pragma once
#include <HgTypes.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef struct HgCamera {
point position;
quaternion rotation;
} HgCamera;
vector3 ray_from_camera(HgCamera* c);
#ifdef __cplusplus
}
#endif
|
#pragma once
#include <HgTypes.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef struct HgCamera {
point position;
quaternion rotation;
vector3 direction;
float speedMsec;
} HgCamera;
vector3 ray_from_camera(HgCamera* c);
#ifdef __cplusplus
}
#endif
|
Add current direction and speed variable. Should probably be moved somewhere else.
|
Add current direction and speed variable. Should probably be moved somewhere else.
|
C
|
mit
|
axlecrusher/hgengine3,axlecrusher/hgengine3,axlecrusher/hgengine3
|
586336cfe52c6e626583dbe20dbaf8cd50d3608b
|
tests/regression/38-int-refinements/01-interval-congruence.c
|
tests/regression/38-int-refinements/01-interval-congruence.c
|
// PARAM: --disable ana.int.def_exc --enable ana.int.interval --enable ana.int.congruence
#include <assert.h>
int main(){
int r = -103;
for (int i = 0; i < 40; i++) {
r = r + 5;
}
// At this point r in the congr. dom should be 2 + 5Z
int k = r;
if (k >= 3) {
// After refinement with congruences, the lower bound should be 7 as the numbers 3 - 6 are not in the congr. class
assert (k < 7); // FAIL
}
if (r >= -11 && r <= -4) {
assert (r == -8);
}
return 0;
}
|
// PARAM: --disable ana.int.def_exc --enable ana.int.interval --enable ana.int.congruence --enable ana.int.congruence_no_overflow --enable ana.int.refinement
#include <assert.h>
int main(){
int r = -103;
for (int i = 0; i < 40; i++) {
r = r + 5;
}
// At this point r in the congr. dom should be 2 + 5Z
int k = r;
if (k >= 3) {
// After refinement with congruences, the lower bound should be 7 as the numbers 3 - 6 are not in the congr. class
assert (k < 7); // FAIL
}
if (r >= -11 && r <= -4) {
assert (r == -8);
}
return 0;
}
|
Add updated params to interval-congruence ref. reg test
|
Add updated params to interval-congruence ref. reg test
|
C
|
mit
|
goblint/analyzer,goblint/analyzer,goblint/analyzer,goblint/analyzer,goblint/analyzer
|
b73ea44442b2d7b27b8a04f7e531283dd6d66130
|
include/DataObjects/JPetEventType/JPetEventType.h
|
include/DataObjects/JPetEventType/JPetEventType.h
|
/**
* @copyright Copyright 2018 The J-PET Framework Authors. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may find a copy of the License in the LICENCE file.
*
* Unless required by applicable law or agreed to in writing, software
* distributed 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.
*
* @file JPetEventType.h
*/
#ifndef JPETEVENTTYPE_H
#define JPETEVENTTYPE_H
enum JPetEventType {
kUnknown = 1,
k2Gamma = 2,
k3Gamma = 4,
kPrompt = 8,
kScattered = 16,
kCosmic = 32
};
#endif /* !JPETEVENTTYPE_H */
|
/**
* @copyright Copyright 2021 The J-PET Framework Authors. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may find a copy of the License in the LICENCE file.
*
* Unless required by applicable law or agreed to in writing, software
* distributed 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.
*
* @file JPetEventType.h
*/
#ifndef JPETEVENTTYPE_H
#define JPETEVENTTYPE_H
enum class JPetEventType
{
kUnknown = 1,
k2Gamma = 2,
k3Gamma = 4,
kPrompt = 8,
kScattered = 16,
kCosmic = 32
};
#endif /* !JPETEVENTTYPE_H */
|
Change enum to scoped enum
|
Change enum to scoped enum
The change is due to the fact that in ROOT 6.20 there is a enum
with the kUnknown value defined, which creates the conflict with
our code.
|
C
|
apache-2.0
|
JPETTomography/j-pet-framework,JPETTomography/j-pet-framework,JPETTomography/j-pet-framework
|
306bf63728015d7171a5540d89a243f0f16389df
|
examples/ex08_materials/include/materials/ExampleMaterial.h
|
examples/ex08_materials/include/materials/ExampleMaterial.h
|
/****************************************************************/
/* DO NOT MODIFY THIS HEADER */
/* MOOSE - Multiphysics Object Oriented Simulation Environment */
/* */
/* (c) 2010 Battelle Energy Alliance, LLC */
/* ALL RIGHTS RESERVED */
/* */
/* Prepared by Battelle Energy Alliance, LLC */
/* Under Contract No. DE-AC07-05ID14517 */
/* With the U. S. Department of Energy */
/* */
/* See COPYRIGHT for full restrictions */
/****************************************************************/
#include "Material.h"
#ifndef EXAMPLEMATERIAL_H
#define EXAMPLEMATERIAL_H
//Forward Declarations
class ExampleMaterial;
template<>
InputParameters validParams<ExampleMaterial>();
/**
* Example material class that defines a few properties.
*/
class ExampleMaterial : public Material
{
public:
ExampleMaterial(const std::string & name,
InputParameters parameters);
protected:
virtual void computeQpProperties();
private:
/**
* Holds a value from the input file.
*/
Real _diffusivity_baseline;
/**
* Holds the values of a coupled variable.
*/
VariableValue & _some_variable;
/**
* This is the member reference that will hold the
* computed values from this material class.
*/
MaterialProperty<Real> & _diffusivity;
};
#endif //EXAMPLEMATERIAL_H
|
/****************************************************************/
/* DO NOT MODIFY THIS HEADER */
/* MOOSE - Multiphysics Object Oriented Simulation Environment */
/* */
/* (c) 2010 Battelle Energy Alliance, LLC */
/* ALL RIGHTS RESERVED */
/* */
/* Prepared by Battelle Energy Alliance, LLC */
/* Under Contract No. DE-AC07-05ID14517 */
/* With the U. S. Department of Energy */
/* */
/* See COPYRIGHT for full restrictions */
/****************************************************************/
#ifndef EXAMPLEMATERIAL_H
#define EXAMPLEMATERIAL_H
#include "Material.h"
//Forward Declarations
class ExampleMaterial;
template<>
InputParameters validParams<ExampleMaterial>();
/**
* Example material class that defines a few properties.
*/
class ExampleMaterial : public Material
{
public:
ExampleMaterial(const std::string & name,
InputParameters parameters);
protected:
virtual void computeQpProperties();
private:
/**
* Holds a value from the input file.
*/
Real _diffusivity_baseline;
/**
* Holds the values of a coupled variable.
*/
VariableValue & _some_variable;
/**
* This is the member reference that will hold the
* computed values from this material class.
*/
MaterialProperty<Real> & _diffusivity;
};
#endif //EXAMPLEMATERIAL_H
|
Move include statement inside include guards.
|
Move include statement inside include guards.
r4098
|
C
|
lgpl-2.1
|
adamLange/moose,jinmm1992/moose,friedmud/moose,shanestafford/moose,idaholab/moose,laagesen/moose,markr622/moose,sapitts/moose,harterj/moose,jbair34/moose,tonkmr/moose,markr622/moose,permcody/moose,cpritam/moose,harterj/moose,laagesen/moose,idaholab/moose,wgapl/moose,backmari/moose,xy515258/moose,bwspenc/moose,jinmm1992/moose,yipenggao/moose,wgapl/moose,andrsd/moose,stimpsonsg/moose,jasondhales/moose,lindsayad/moose,xy515258/moose,joshua-cogliati-inl/moose,permcody/moose,shanestafford/moose,liuwenf/moose,joshua-cogliati-inl/moose,jasondhales/moose,SudiptaBiswas/moose,zzyfisherman/moose,YaqiWang/moose,cpritam/moose,liuwenf/moose,jinmm1992/moose,Chuban/moose,raghavaggarwal/moose,WilkAndy/moose,backmari/moose,joshua-cogliati-inl/moose,xy515258/moose,Chuban/moose,jiangwen84/moose,waxmanr/moose,roystgnr/moose,harterj/moose,stimpsonsg/moose,tonkmr/moose,WilkAndy/moose,waxmanr/moose,friedmud/moose,zzyfisherman/moose,adamLange/moose,zzyfisherman/moose,capitalaslash/moose,raghavaggarwal/moose,nuclear-wizard/moose,shanestafford/moose,kasra83/moose,roystgnr/moose,xy515258/moose,jhbradley/moose,YaqiWang/moose,yipenggao/moose,lindsayad/moose,bwspenc/moose,dschwen/moose,giopastor/moose,shanestafford/moose,capitalaslash/moose,danielru/moose,SudiptaBiswas/moose,permcody/moose,kasra83/moose,Chuban/moose,apc-llc/moose,mellis13/moose,nuclear-wizard/moose,cpritam/moose,idaholab/moose,wgapl/moose,waxmanr/moose,nuclear-wizard/moose,laagesen/moose,yipenggao/moose,jbair34/moose,apc-llc/moose,liuwenf/moose,andrsd/moose,roystgnr/moose,friedmud/moose,yipenggao/moose,WilkAndy/moose,backmari/moose,apc-llc/moose,katyhuff/moose,mellis13/moose,permcody/moose,bwspenc/moose,liuwenf/moose,mellis13/moose,cpritam/moose,jessecarterMOOSE/moose,tonkmr/moose,Chuban/moose,backmari/moose,joshua-cogliati-inl/moose,harterj/moose,bwspenc/moose,adamLange/moose,roystgnr/moose,danielru/moose,roystgnr/moose,tonkmr/moose,waxmanr/moose,dschwen/moose,milljm/moose,stimpsonsg/moose,kasra83/moose,markr622/moose,bwspenc/moose,liuwenf/moose,zzyfisherman/moose,tonkmr/moose,jinmm1992/moose,lindsayad/moose,laagesen/moose,milljm/moose,roystgnr/moose,jasondhales/moose,wgapl/moose,tonkmr/moose,nuclear-wizard/moose,jiangwen84/moose,WilkAndy/moose,mellis13/moose,dschwen/moose,apc-llc/moose,jiangwen84/moose,idaholab/moose,sapitts/moose,andrsd/moose,giopastor/moose,SudiptaBiswas/moose,dschwen/moose,jhbradley/moose,katyhuff/moose,lindsayad/moose,zzyfisherman/moose,adamLange/moose,sapitts/moose,sapitts/moose,jhbradley/moose,zzyfisherman/moose,shanestafford/moose,dschwen/moose,WilkAndy/moose,YaqiWang/moose,jessecarterMOOSE/moose,giopastor/moose,andrsd/moose,andrsd/moose,lindsayad/moose,jhbradley/moose,idaholab/moose,milljm/moose,SudiptaBiswas/moose,harterj/moose,milljm/moose,WilkAndy/moose,raghavaggarwal/moose,stimpsonsg/moose,markr622/moose,capitalaslash/moose,katyhuff/moose,roystgnr/moose,cpritam/moose,jasondhales/moose,friedmud/moose,capitalaslash/moose,jbair34/moose,milljm/moose,liuwenf/moose,YaqiWang/moose,cpritam/moose,jessecarterMOOSE/moose,raghavaggarwal/moose,SudiptaBiswas/moose,jessecarterMOOSE/moose,danielru/moose,danielru/moose,kasra83/moose,sapitts/moose,jessecarterMOOSE/moose,jbair34/moose,shanestafford/moose,katyhuff/moose,giopastor/moose,jiangwen84/moose,laagesen/moose
|
9457c57020d586e9aaf5bf6b43dbefaaf5121d92
|
SDCAlertView/SDCAlertViewCoordinator.h
|
SDCAlertView/SDCAlertViewCoordinator.h
|
//
// SDCAlertViewCoordinator.h
// SDCAlertView
//
// Created by Scott Berrevoets on 1/25/14.
// Copyright (c) 2014 Scotty Doesn't Code. All rights reserved.
//
#import <Foundation/Foundation.h>
@class SDCAlertView;
@interface SDCAlertViewCoordinator : NSObject
@property (nonatomic, readonly) SDCAlertView *visibleAlert;
+ (instancetype)sharedCoordinator;
- (void)presentAlert:(SDCAlertView *)alert;
- (void)dismissAlert:(SDCAlertView *)alert withButtonIndex:(NSInteger)buttonIndex;
@end
|
//
// SDCAlertViewCoordinator.h
// SDCAlertView
//
// Created by Scott Berrevoets on 1/25/14.
// Copyright (c) 2014 Scotty Doesn't Code. All rights reserved.
//
#import <Foundation/Foundation.h>
@class SDCAlertView;
@interface SDCAlertViewCoordinator : NSObject
@property (nonatomic, weak, readonly) SDCAlertView *visibleAlert;
+ (instancetype)sharedCoordinator;
- (void)presentAlert:(SDCAlertView *)alert;
- (void)dismissAlert:(SDCAlertView *)alert withButtonIndex:(NSInteger)buttonIndex;
@end
|
Change property reference to weak to match private reference
|
Change property reference to weak to match private reference
|
C
|
mit
|
sberrevoets/SDCAlertView,Nykho/SDCAlertView,winkapp/SDCAlertView,adamkaplan/SDCAlertView,Wurrly/SDCAlertView,badoo/SDCAlertView,HuylensHu/SDCAlertView,DeskConnect/SDCAlertView,DeskConnect/SDCAlertView,sberrevoets/SDCAlertView
|
d8fe5945a5ddd57b12b8e144fed2341e147eeef3
|
firmware/src/main.c
|
firmware/src/main.c
|
/**
* @file main.c
* @brief Main.
*
*/
#include "stm32f4xx_conf.h"
#include "FreeRTOS.h"
int main(void)
{
// TODO
while(1);
return 0;
}
|
/**
* @file main.c
* @brief Main.
*
*/
#include "stm32f4xx_conf.h"
#include "stm32f4xx_gpio.h"
#include "stm32f4xx_rcc.h"
#include "FreeRTOS.h"
#include "task.h"
void hw_init(void)
{
GPIO_InitTypeDef gpio_led;
GPIO_StructInit(&gpio_led);
gpio_led.GPIO_Mode = GPIO_Mode_OUT;
gpio_led.GPIO_Pin = GPIO_Pin_12;
gpio_led.GPIO_PuPd = GPIO_PuPd_NOPULL;
gpio_led.GPIO_Speed = GPIO_Speed_100MHz;
gpio_led.GPIO_OType = GPIO_OType_PP;
RCC_AHB1PeriphClockCmd(RCC_AHB1Periph_GPIOD, ENABLE);
GPIO_Init(GPIOD, &gpio_led);
}
void led_task(void *params)
{
while(1)
{
GPIO_ToggleBits(GPIOD, GPIO_Pin_12);
vTaskDelay(500 / portTICK_RATE_MS);
}
}
int main(void)
{
hw_init();
(void) SysTick_Config(SystemCoreClock / 1000);
(void) xTaskCreate(
led_task,
"led_task",
configMINIMAL_STACK_SIZE,
NULL,
tskIDLE_PRIORITY + 2UL,
NULL);
vTaskStartScheduler();
while(1);
return 0;
}
|
Add example LED blink task
|
Add example LED blink task
|
C
|
mit
|
BitBangedFF/odometry-module,BitBangedFF/odometry-module
|
9cda2d34bf812ecdfcd46e8983f47bbd937884dc
|
src/profiler/tracing/no_trace.c
|
src/profiler/tracing/no_trace.c
|
/**
* @file
* @brief
*
* @author Anton Kozlov
* @date 29.04.2013
*/
#include <stddef.h>
#include <profiler/tracing/trace.h>
time64_t trace_block_diff(struct __trace_block *tb) {
return -1;
}
time64_t trace_block_get_time(struct __trace_block *tb) {
return -1;
}
int trace_point_get_value(struct __trace_point *tp) {
return -1;
}
struct __trace_point *trace_point_get_by_name(const char *name) {
return NULL;
}
|
/**
* @file
* @brief
*
* @author Anton Kozlov
* @date 29.04.2013
*/
#include <stddef.h>
#include <profiler/tracing/trace.h>
time64_t trace_block_diff(struct __trace_block *tb) {
return -1;
}
time64_t trace_block_get_time(struct __trace_block *tb) {
return -1;
}
int trace_point_get_value(struct __trace_point *tp) {
return -1;
}
struct __trace_point *trace_point_get_by_name(const char *name) {
return NULL;
}
void trace_block_func_enter(void *func) {
}
void trace_block_func_exit(void *func) {
}
|
Fix build after merge with embox-profiler
|
Fix build after merge with embox-profiler
|
C
|
bsd-2-clause
|
gzoom13/embox,vrxfile/embox-trik,gzoom13/embox,Kefir0192/embox,abusalimov/embox,Kakadu/embox,mike2390/embox,Kakadu/embox,Kefir0192/embox,Kefir0192/embox,Kefir0192/embox,Kefir0192/embox,vrxfile/embox-trik,gzoom13/embox,gzoom13/embox,embox/embox,gzoom13/embox,vrxfile/embox-trik,mike2390/embox,vrxfile/embox-trik,embox/embox,gzoom13/embox,abusalimov/embox,embox/embox,Kakadu/embox,abusalimov/embox,embox/embox,Kakadu/embox,Kefir0192/embox,embox/embox,abusalimov/embox,abusalimov/embox,Kakadu/embox,abusalimov/embox,embox/embox,gzoom13/embox,mike2390/embox,mike2390/embox,vrxfile/embox-trik,Kefir0192/embox,Kakadu/embox,mike2390/embox,vrxfile/embox-trik,mike2390/embox,mike2390/embox,vrxfile/embox-trik,Kakadu/embox
|
29387545c66ff29097eb183d9ee7b64d28112159
|
libpolyml/version.h
|
libpolyml/version.h
|
/*
Title: version.h
Copyright (c) 2000-17
Cambridge University Technical Services Limited
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef VERSION_H_INCLUDED
#define VERSION_H_INCLUDED
// Poly/ML system interface level
#define POLY_version_number 570
// POLY_version_number is written into all exported files and tested
// when we start up. The idea is to ensure that if a file is exported
// from one version of the library it will run successfully if linked
// with a different version.
// This only supports version 5.7
#define FIRST_supported_version 570
#define LAST_supported_version 570
#define TextVersion "5.6"
#endif
|
/*
Title: version.h
Copyright (c) 2000-17
Cambridge University Technical Services Limited
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef VERSION_H_INCLUDED
#define VERSION_H_INCLUDED
// Poly/ML system interface level
#define POLY_version_number 570
// POLY_version_number is written into all exported files and tested
// when we start up. The idea is to ensure that if a file is exported
// from one version of the library it will run successfully if linked
// with a different version.
// This only supports version 5.7
#define FIRST_supported_version 570
#define LAST_supported_version 570
#define TextVersion "5.7"
#endif
|
Fix TextVersion still being 5.6
|
Fix TextVersion still being 5.6
|
C
|
lgpl-2.1
|
polyml/polyml,dcjm/polyml,dcjm/polyml,dcjm/polyml,polyml/polyml,dcjm/polyml,polyml/polyml,polyml/polyml
|
6139be0f6486c9854c52e45d0d47bd6a5c01b3dd
|
app/src/main/jni/Interpreter/py_utils.h
|
app/src/main/jni/Interpreter/py_utils.h
|
#ifndef PY_UTILS_H
#define PY_UTILS_H
#include <stdio.h>
extern FILE *stdin_writer;
void setupPython(const char* pythonProgramPath, const char* pythonLibs, const char* pythonHostLibs,
const char* pythonHome, const char* pythonTemp, const char* xdgBasePath);
void setupStdinEmulation(void);
void readFromStdin(char* inputBuffer, int bufferSize);
int runPythonInterpreter(int argc, char** argv);
void interruptPython(void);
void terminatePython(void);
#endif // PY_UTILS_H //
|
#ifndef PY_UTILS_H
#define PY_UTILS_H
#include <stdio.h>
extern FILE *stdin_writer;
void setupPython(const char* pythonProgramPath, const char* pythonLibs, const char* pythonHostLibs,
const char* pythonHome, const char* pythonTemp, const char* xdgBasePath,
const char* dataDir);
void setupStdinEmulation(void);
void readFromStdin(char* inputBuffer, int bufferSize);
int runPythonInterpreter(int argc, char** argv);
void interruptPython(void);
void terminatePython(void);
#endif // PY_UTILS_H //
|
Fix missing change in header
|
Fix missing change in header
|
C
|
mit
|
Abestanis/APython,Abestanis/APython,Abestanis/APython
|
51d48572c2488981c3b1181392ae61d1cb4bf1a4
|
ModelExplorerPlugin/ScopeGuard.h
|
ModelExplorerPlugin/ScopeGuard.h
|
//
// Copyright Renga Software LLC, 2017. All rights reserved.
//
// Renga Software LLC PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
// Renga Software LLC DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
// UNINTERRUPTED OR ERROR FREE.
//
#pragma once
class BoolGuard
{
public:
explicit BoolGuard(bool& variable);
explicit BoolGuard(bool& variable, bool initialValue);
BoolGuard(const BoolGuard& guard) = delete;
BoolGuard& operator = (const BoolGuard& guard) = delete;
~BoolGuard();
private:
bool& m_variable;
};
template <typename TFunc>
class CActionGuard
{
public:
CActionGuard(const TFunc& func) : m_func(func) {}
~CActionGuard() { m_func(); }
private:
TFunc m_func;
};
template <typename TFunc>
CActionGuard<TFunc> makeGuard(const TFunc& func)
{
return CActionGuard<TFunc>(func);
}
|
//
// Copyright Renga Software LLC, 2017. All rights reserved.
//
// Renga Software LLC PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
// Renga Software LLC DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
// UNINTERRUPTED OR ERROR FREE.
//
#pragma once
class BoolGuard
{
public:
explicit BoolGuard(bool& variable);
explicit BoolGuard(bool& variable, bool initialValue);
BoolGuard(const BoolGuard& guard) = delete;
BoolGuard& operator = (const BoolGuard& guard) = delete;
~BoolGuard();
private:
bool& m_variable;
};
template <typename TFunc>
class CActionGuard
{
public:
CActionGuard(TFunc&& func) : m_func(std::forward<TFunc>(func)) {}
~CActionGuard() { m_func(); }
private:
TFunc m_func;
};
template <typename TFunc>
CActionGuard<TFunc> makeGuard(TFunc&& func)
{
return CActionGuard<TFunc>(std::forward<TFunc>(func));
}
|
Fix after review: perfect forwarding used for callable object
|
Fix after review: perfect forwarding used for callable object
|
C
|
mit
|
RengaSoftware/ModelExplorer,RengaSoftware/ModelExplorer
|
a56699b59df45bbfe46a9527a59e3713736c5297
|
content/public/common/speech_recognition_result.h
|
content/public/common/speech_recognition_result.h
|
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_PUBLIC_COMMON_SPEECH_RECOGNITION_RESULT_H_
#define CONTENT_PUBLIC_COMMON_SPEECH_RECOGNITION_RESULT_H_
#pragma once
#include <vector>
#include "base/basictypes.h"
#include "base/string16.h"
#include "content/common/content_export.h"
namespace content {
struct SpeechRecognitionHypothesis {
string16 utterance;
double confidence;
SpeechRecognitionHypothesis() : confidence(0.0) {}
SpeechRecognitionHypothesis(const string16 utterance_value,
double confidence_value)
: utterance(utterance_value),
confidence(confidence_value) {
}
};
typedef std::vector<SpeechRecognitionHypothesis>
SpeechRecognitionHypothesisArray;
struct CONTENT_EXPORT SpeechRecognitionResult {
SpeechRecognitionHypothesisArray hypotheses;
bool provisional;
SpeechRecognitionResult();
~SpeechRecognitionResult();
};
} // namespace content
#endif // CONTENT_PUBLIC_COMMON_SPEECH_RECOGNITION_RESULT_H_
|
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_PUBLIC_COMMON_SPEECH_RECOGNITION_RESULT_H_
#define CONTENT_PUBLIC_COMMON_SPEECH_RECOGNITION_RESULT_H_
#pragma once
#include <vector>
#include "base/basictypes.h"
#include "base/string16.h"
#include "content/common/content_export.h"
namespace content {
struct SpeechRecognitionHypothesis {
string16 utterance;
double confidence;
SpeechRecognitionHypothesis() : confidence(0.0) {}
SpeechRecognitionHypothesis(const string16& utterance_value,
double confidence_value)
: utterance(utterance_value),
confidence(confidence_value) {
}
};
typedef std::vector<SpeechRecognitionHypothesis>
SpeechRecognitionHypothesisArray;
struct CONTENT_EXPORT SpeechRecognitionResult {
SpeechRecognitionHypothesisArray hypotheses;
bool provisional;
SpeechRecognitionResult();
~SpeechRecognitionResult();
};
} // namespace content
#endif // CONTENT_PUBLIC_COMMON_SPEECH_RECOGNITION_RESULT_H_
|
Fix pass by value error in SpeechRecognitionHypothesis constructor.
|
Coverity: Fix pass by value error in SpeechRecognitionHypothesis constructor.
CID=103455
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10386130
git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@137171 0039d316-1c4b-4281-b951-d872f2087c98
|
C
|
bsd-3-clause
|
ltilve/chromium,dushu1203/chromium.src,M4sse/chromium.src,timopulkkinen/BubbleFish,Just-D/chromium-1,fujunwei/chromium-crosswalk,littlstar/chromium.src,PeterWangIntel/chromium-crosswalk,Fireblend/chromium-crosswalk,hujiajie/pa-chromium,dednal/chromium.src,TheTypoMaster/chromium-crosswalk,chuan9/chromium-crosswalk,junmin-zhu/chromium-rivertrail,bright-sparks/chromium-spacewalk,hgl888/chromium-crosswalk,M4sse/chromium.src,hgl888/chromium-crosswalk-efl,hujiajie/pa-chromium,krieger-od/nwjs_chromium.src,nacl-webkit/chrome_deps,ChromiumWebApps/chromium,littlstar/chromium.src,Pluto-tv/chromium-crosswalk,anirudhSK/chromium,ChromiumWebApps/chromium,nacl-webkit/chrome_deps,dednal/chromium.src,zcbenz/cefode-chromium,axinging/chromium-crosswalk,hujiajie/pa-chromium,ondra-novak/chromium.src,keishi/chromium,dednal/chromium.src,Jonekee/chromium.src,timopulkkinen/BubbleFish,Pluto-tv/chromium-crosswalk,krieger-od/nwjs_chromium.src,Fireblend/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,junmin-zhu/chromium-rivertrail,nacl-webkit/chrome_deps,Pluto-tv/chromium-crosswalk,jaruba/chromium.src,littlstar/chromium.src,hgl888/chromium-crosswalk,fujunwei/chromium-crosswalk,timopulkkinen/BubbleFish,mogoweb/chromium-crosswalk,Pluto-tv/chromium-crosswalk,hujiajie/pa-chromium,Just-D/chromium-1,mohamed--abdel-maksoud/chromium.src,M4sse/chromium.src,crosswalk-project/chromium-crosswalk-efl,Jonekee/chromium.src,markYoungH/chromium.src,crosswalk-project/chromium-crosswalk-efl,junmin-zhu/chromium-rivertrail,dushu1203/chromium.src,crosswalk-project/chromium-crosswalk-efl,mohamed--abdel-maksoud/chromium.src,crosswalk-project/chromium-crosswalk-efl,dushu1203/chromium.src,dushu1203/chromium.src,krieger-od/nwjs_chromium.src,markYoungH/chromium.src,ChromiumWebApps/chromium,Chilledheart/chromium,dushu1203/chromium.src,Just-D/chromium-1,bright-sparks/chromium-spacewalk,littlstar/chromium.src,pozdnyakov/chromium-crosswalk,ltilve/chromium,axinging/chromium-crosswalk,patrickm/chromium.src,hgl888/chromium-crosswalk-efl,jaruba/chromium.src,chuan9/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,zcbenz/cefode-chromium,zcbenz/cefode-chromium,ondra-novak/chromium.src,hujiajie/pa-chromium,Chilledheart/chromium,pozdnyakov/chromium-crosswalk,krieger-od/nwjs_chromium.src,fujunwei/chromium-crosswalk,patrickm/chromium.src,hgl888/chromium-crosswalk,chuan9/chromium-crosswalk,nacl-webkit/chrome_deps,TheTypoMaster/chromium-crosswalk,krieger-od/nwjs_chromium.src,ltilve/chromium,mohamed--abdel-maksoud/chromium.src,ChromiumWebApps/chromium,fujunwei/chromium-crosswalk,chuan9/chromium-crosswalk,junmin-zhu/chromium-rivertrail,mogoweb/chromium-crosswalk,patrickm/chromium.src,Fireblend/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,pozdnyakov/chromium-crosswalk,hgl888/chromium-crosswalk,hujiajie/pa-chromium,jaruba/chromium.src,mogoweb/chromium-crosswalk,ChromiumWebApps/chromium,nacl-webkit/chrome_deps,axinging/chromium-crosswalk,dushu1203/chromium.src,junmin-zhu/chromium-rivertrail,ltilve/chromium,jaruba/chromium.src,timopulkkinen/BubbleFish,crosswalk-project/chromium-crosswalk-efl,Pluto-tv/chromium-crosswalk,Jonekee/chromium.src,PeterWangIntel/chromium-crosswalk,markYoungH/chromium.src,M4sse/chromium.src,Fireblend/chromium-crosswalk,anirudhSK/chromium,junmin-zhu/chromium-rivertrail,TheTypoMaster/chromium-crosswalk,markYoungH/chromium.src,anirudhSK/chromium,ChromiumWebApps/chromium,nacl-webkit/chrome_deps,axinging/chromium-crosswalk,fujunwei/chromium-crosswalk,hgl888/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,PeterWangIntel/chromium-crosswalk,littlstar/chromium.src,axinging/chromium-crosswalk,Pluto-tv/chromium-crosswalk,anirudhSK/chromium,anirudhSK/chromium,fujunwei/chromium-crosswalk,Chilledheart/chromium,pozdnyakov/chromium-crosswalk,axinging/chromium-crosswalk,littlstar/chromium.src,patrickm/chromium.src,Chilledheart/chromium,TheTypoMaster/chromium-crosswalk,ltilve/chromium,jaruba/chromium.src,timopulkkinen/BubbleFish,littlstar/chromium.src,ltilve/chromium,hgl888/chromium-crosswalk-efl,patrickm/chromium.src,crosswalk-project/chromium-crosswalk-efl,ondra-novak/chromium.src,ondra-novak/chromium.src,Chilledheart/chromium,junmin-zhu/chromium-rivertrail,dushu1203/chromium.src,Jonekee/chromium.src,hujiajie/pa-chromium,mohamed--abdel-maksoud/chromium.src,M4sse/chromium.src,junmin-zhu/chromium-rivertrail,mohamed--abdel-maksoud/chromium.src,keishi/chromium,hgl888/chromium-crosswalk-efl,patrickm/chromium.src,mohamed--abdel-maksoud/chromium.src,axinging/chromium-crosswalk,Fireblend/chromium-crosswalk,markYoungH/chromium.src,dednal/chromium.src,hgl888/chromium-crosswalk,hgl888/chromium-crosswalk-efl,nacl-webkit/chrome_deps,Chilledheart/chromium,nacl-webkit/chrome_deps,dushu1203/chromium.src,hgl888/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,mogoweb/chromium-crosswalk,patrickm/chromium.src,dednal/chromium.src,littlstar/chromium.src,ondra-novak/chromium.src,krieger-od/nwjs_chromium.src,krieger-od/nwjs_chromium.src,dednal/chromium.src,bright-sparks/chromium-spacewalk,crosswalk-project/chromium-crosswalk-efl,mohamed--abdel-maksoud/chromium.src,ChromiumWebApps/chromium,keishi/chromium,pozdnyakov/chromium-crosswalk,timopulkkinen/BubbleFish,jaruba/chromium.src,keishi/chromium,markYoungH/chromium.src,timopulkkinen/BubbleFish,fujunwei/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,markYoungH/chromium.src,patrickm/chromium.src,mogoweb/chromium-crosswalk,keishi/chromium,hgl888/chromium-crosswalk-efl,Just-D/chromium-1,bright-sparks/chromium-spacewalk,junmin-zhu/chromium-rivertrail,Just-D/chromium-1,dushu1203/chromium.src,hujiajie/pa-chromium,axinging/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,hgl888/chromium-crosswalk,keishi/chromium,hgl888/chromium-crosswalk-efl,patrickm/chromium.src,mohamed--abdel-maksoud/chromium.src,nacl-webkit/chrome_deps,ltilve/chromium,bright-sparks/chromium-spacewalk,anirudhSK/chromium,M4sse/chromium.src,Fireblend/chromium-crosswalk,mogoweb/chromium-crosswalk,timopulkkinen/BubbleFish,ondra-novak/chromium.src,keishi/chromium,anirudhSK/chromium,M4sse/chromium.src,zcbenz/cefode-chromium,fujunwei/chromium-crosswalk,timopulkkinen/BubbleFish,Pluto-tv/chromium-crosswalk,dednal/chromium.src,hgl888/chromium-crosswalk-efl,jaruba/chromium.src,TheTypoMaster/chromium-crosswalk,markYoungH/chromium.src,crosswalk-project/chromium-crosswalk-efl,keishi/chromium,nacl-webkit/chrome_deps,krieger-od/nwjs_chromium.src,dushu1203/chromium.src,axinging/chromium-crosswalk,Just-D/chromium-1,dushu1203/chromium.src,Chilledheart/chromium,M4sse/chromium.src,ltilve/chromium,anirudhSK/chromium,Jonekee/chromium.src,ChromiumWebApps/chromium,pozdnyakov/chromium-crosswalk,anirudhSK/chromium,chuan9/chromium-crosswalk,junmin-zhu/chromium-rivertrail,TheTypoMaster/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,Jonekee/chromium.src,chuan9/chromium-crosswalk,timopulkkinen/BubbleFish,zcbenz/cefode-chromium,mogoweb/chromium-crosswalk,bright-sparks/chromium-spacewalk,bright-sparks/chromium-spacewalk,PeterWangIntel/chromium-crosswalk,mogoweb/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,ChromiumWebApps/chromium,ondra-novak/chromium.src,pozdnyakov/chromium-crosswalk,bright-sparks/chromium-spacewalk,jaruba/chromium.src,Pluto-tv/chromium-crosswalk,ondra-novak/chromium.src,axinging/chromium-crosswalk,anirudhSK/chromium,pozdnyakov/chromium-crosswalk,ChromiumWebApps/chromium,anirudhSK/chromium,M4sse/chromium.src,chuan9/chromium-crosswalk,dednal/chromium.src,fujunwei/chromium-crosswalk,nacl-webkit/chrome_deps,Chilledheart/chromium,keishi/chromium,pozdnyakov/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,Fireblend/chromium-crosswalk,axinging/chromium-crosswalk,dednal/chromium.src,krieger-od/nwjs_chromium.src,M4sse/chromium.src,Just-D/chromium-1,markYoungH/chromium.src,chuan9/chromium-crosswalk,Jonekee/chromium.src,zcbenz/cefode-chromium,pozdnyakov/chromium-crosswalk,Jonekee/chromium.src,Fireblend/chromium-crosswalk,ondra-novak/chromium.src,zcbenz/cefode-chromium,mohamed--abdel-maksoud/chromium.src,krieger-od/nwjs_chromium.src,Just-D/chromium-1,hgl888/chromium-crosswalk,hujiajie/pa-chromium,M4sse/chromium.src,pozdnyakov/chromium-crosswalk,jaruba/chromium.src,krieger-od/nwjs_chromium.src,Jonekee/chromium.src,jaruba/chromium.src,PeterWangIntel/chromium-crosswalk,Jonekee/chromium.src,Chilledheart/chromium,Just-D/chromium-1,zcbenz/cefode-chromium,hujiajie/pa-chromium,junmin-zhu/chromium-rivertrail,ChromiumWebApps/chromium,chuan9/chromium-crosswalk,keishi/chromium,ltilve/chromium,bright-sparks/chromium-spacewalk,ChromiumWebApps/chromium,Pluto-tv/chromium-crosswalk,Jonekee/chromium.src,keishi/chromium,hgl888/chromium-crosswalk-efl,hgl888/chromium-crosswalk-efl,hujiajie/pa-chromium,anirudhSK/chromium,mogoweb/chromium-crosswalk,zcbenz/cefode-chromium,markYoungH/chromium.src,markYoungH/chromium.src,dednal/chromium.src,Fireblend/chromium-crosswalk,mogoweb/chromium-crosswalk,timopulkkinen/BubbleFish,zcbenz/cefode-chromium,zcbenz/cefode-chromium,dednal/chromium.src,jaruba/chromium.src
|
1341d104f298cc8bdf5ffae3f0d4199adf22e0a1
|
src/clientversion.h
|
src/clientversion.h
|
#ifndef CLIENTVERSION_H
#define CLIENTVERSION_H
//
// client versioning and copyright year
//
// These need to be macros, as version.cpp's and bitcoin-qt.rc's voodoo requires it
#define CLIENT_VERSION_MAJOR 0
#define CLIENT_VERSION_MINOR 8
#define CLIENT_VERSION_REVISION 99
#define CLIENT_VERSION_BUILD 8
// Set to true for release, false for prerelease or test build
#define CLIENT_VERSION_IS_RELEASE true
// Copyright year (2009-this)
// Todo: update this when changing our copyright comments in the source
#define COPYRIGHT_YEAR 2014
// Converts the parameter X to a string after macro replacement on X has been performed.
// Don't merge these into one macro!
#define STRINGIZE(X) DO_STRINGIZE(X)
#define DO_STRINGIZE(X) #X
#endif // CLIENTVERSION_H
|
#ifndef CLIENTVERSION_H
#define CLIENTVERSION_H
//
// client versioning and copyright year
//
// These need to be macros, as version.cpp's and bitcoin-qt.rc's voodoo requires it
#define CLIENT_VERSION_MAJOR 0
#define CLIENT_VERSION_MINOR 8
#define CLIENT_VERSION_REVISION 99
#define CLIENT_VERSION_BUILD 9
// Set to true for release, false for prerelease or test build
#define CLIENT_VERSION_IS_RELEASE true
// Copyright year (2009-this)
// Todo: update this when changing our copyright comments in the source
#define COPYRIGHT_YEAR 2014
// Converts the parameter X to a string after macro replacement on X has been performed.
// Don't merge these into one macro!
#define STRINGIZE(X) DO_STRINGIZE(X)
#define DO_STRINGIZE(X) #X
#endif // CLIENTVERSION_H
|
Build number for OpenSSL bug fix
|
Build number for OpenSSL bug fix
|
C
|
mit
|
myriadteam/myriadcoin,myriadcoin/myriadcoin,argentumproject/argentum,argentumproject/argentum,myriadteam/myriadcoin,argentumproject/argentum,myriadteam/myriadcoin,myriadcoin/myriadcoin,myriadcoin/myriadcoin,argentumproject/argentum,myriadcoin/myriadcoin,Richcoin-Project/RichCoin,Richcoin-Project/RichCoin,myriadcoin/myriadcoin,argentumproject/argentum,myriadteam/myriadcoin,myriadteam/myriadcoin,argentumproject/argentum,myriadteam/myriadcoin,Richcoin-Project/RichCoin,Richcoin-Project/RichCoin,myriadcoin/myriadcoin,Richcoin-Project/RichCoin,argentumproject/argentum
|
3f9d1548236269530e441c996a6debbd88ec6cfd
|
src/modules/cpufreq/e_mod_main.h
|
src/modules/cpufreq/e_mod_main.h
|
#ifndef E_MOD_MAIN_H
#define E_MOD_MAIN_H
typedef struct _Status Status;
typedef struct _Config Config;
struct _Status
{
Evas_List *frequencies;
Evas_List *governors;
int cur_frequency;
int can_set_frequency;
char *cur_governor;
unsigned char active;
};
struct _Config
{
/* saved * loaded config values */
double poll_time;
int restore_governor;
const char *governor;
/* just config state */
E_Module *module;
Evas_List *instances;
E_Menu *menu;
E_Menu *menu_poll;
E_Menu *menu_governor;
E_Menu *menu_frequency;
Status *status;
char *set_exe_path;
Ecore_Timer *frequency_check_timer;
};
EAPI extern E_Module_Api e_modapi;
EAPI void *e_modapi_init (E_Module *m);
EAPI int e_modapi_shutdown (E_Module *m);
EAPI int e_modapi_save (E_Module *m);
EAPI int e_modapi_about (E_Module *m);
#endif
|
#ifndef E_MOD_MAIN_H
#define E_MOD_MAIN_H
typedef struct _Status Status;
typedef struct _Config Config;
struct _Status
{
Evas_List *frequencies;
Evas_List *governors;
int cur_frequency;
int can_set_frequency;
char *cur_governor;
unsigned char active;
};
struct _Config
{
/* saved * loaded config values */
double poll_time;
int restore_governor;
const char *governor;
/* just config state */
E_Module *module;
Evas_List *instances;
E_Menu *menu;
E_Menu *menu_poll;
E_Menu *menu_governor;
E_Menu *menu_frequency;
Status *status;
char *set_exe_path;
Ecore_Timer *frequency_check_timer;
};
EAPI extern E_Module_Api e_modapi;
EAPI void *e_modapi_init (E_Module *m);
EAPI int e_modapi_shutdown (E_Module *m);
EAPI int e_modapi_save (E_Module *m);
#endif
|
Remove unused (and deprecated) declaration.
|
Remove unused (and deprecated) declaration.
SVN revision: 32298
|
C
|
bsd-2-clause
|
FlorentRevest/Enlightenment,tizenorg/platform.upstream.enlightenment,FlorentRevest/Enlightenment,tasn/enlightenment,FlorentRevest/Enlightenment,rvandegrift/e,tasn/enlightenment,tizenorg/platform.upstream.enlightenment,rvandegrift/e,tizenorg/platform.upstream.enlightenment,rvandegrift/e,tasn/enlightenment
|
5b72d74ce2fccca2a301de60f31b16ddf5c93984
|
arch/powerpc/platforms/pseries/offline_states.h
|
arch/powerpc/platforms/pseries/offline_states.h
|
#ifndef _OFFLINE_STATES_H_
#define _OFFLINE_STATES_H_
/* Cpu offline states go here */
enum cpu_state_vals {
CPU_STATE_OFFLINE,
CPU_STATE_INACTIVE,
CPU_STATE_ONLINE,
CPU_MAX_OFFLINE_STATES
};
extern enum cpu_state_vals get_cpu_current_state(int cpu);
extern void set_cpu_current_state(int cpu, enum cpu_state_vals state);
extern enum cpu_state_vals get_preferred_offline_state(int cpu);
extern void set_preferred_offline_state(int cpu, enum cpu_state_vals state);
extern void set_default_offline_state(int cpu);
extern int start_secondary(void);
#endif
|
#ifndef _OFFLINE_STATES_H_
#define _OFFLINE_STATES_H_
/* Cpu offline states go here */
enum cpu_state_vals {
CPU_STATE_OFFLINE,
CPU_STATE_INACTIVE,
CPU_STATE_ONLINE,
CPU_MAX_OFFLINE_STATES
};
#ifdef CONFIG_HOTPLUG_CPU
extern enum cpu_state_vals get_cpu_current_state(int cpu);
extern void set_cpu_current_state(int cpu, enum cpu_state_vals state);
extern void set_preferred_offline_state(int cpu, enum cpu_state_vals state);
extern void set_default_offline_state(int cpu);
#else
static inline enum cpu_state_vals get_cpu_current_state(int cpu)
{
return CPU_STATE_ONLINE;
}
static inline void set_cpu_current_state(int cpu, enum cpu_state_vals state)
{
}
static inline void set_preferred_offline_state(int cpu, enum cpu_state_vals state)
{
}
static inline void set_default_offline_state(int cpu)
{
}
#endif
extern enum cpu_state_vals get_preferred_offline_state(int cpu);
extern int start_secondary(void);
#endif
|
Fix SMP build with disabled CPU hotplugging.
|
powerpc: Fix SMP build with disabled CPU hotplugging.
Compiling 2.6.33 with SMP enabled and HOTPLUG_CPU disabled gives me the
following link errors:
LD init/built-in.o
LD .tmp_vmlinux1
arch/powerpc/platforms/built-in.o: In function `.smp_xics_setup_cpu':
smp.c:(.devinit.text+0x88): undefined reference to `.set_cpu_current_state'
smp.c:(.devinit.text+0x94): undefined reference to `.set_default_offline_state'
arch/powerpc/platforms/built-in.o: In function `.smp_pSeries_kick_cpu':
smp.c:(.devinit.text+0x13c): undefined reference to `.set_preferred_offline_state'
smp.c:(.devinit.text+0x148): undefined reference to `.get_cpu_current_state'
smp.c:(.devinit.text+0x1a8): undefined reference to `.get_cpu_current_state'
make: *** [.tmp_vmlinux1] Error 1
The following change fixes that for me and seems to work as expected.
Signed-off-by: Adam Lackorzynski <0e18f44c1fec03ec4083422cb58ba6a09ac4fb2a@os.inf.tu-dresden.de>
Signed-off-by: Benjamin Herrenschmidt <a7089bb6e7e92505d88aaff006cbdd60cc9120b6@kernel.crashing.org>
|
C
|
mit
|
KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas
|
c4c76088f08a7539a5f4466ec4fe7f85a9a5bc6f
|
ios/RCTSpotlightSearch/RCTSpotlightSearch/RCTSpotlightSearch.h
|
ios/RCTSpotlightSearch/RCTSpotlightSearch/RCTSpotlightSearch.h
|
//
// RCTSpotlightSearch.h
// RCTSpotlightSearch
//
// Created by James (Home) on 21/06/2016.
// Copyright © 2016 James Munro. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "RCTBridgeModule.h"
@interface RCTSpotlightSearch : NSObject <RCTBridgeModule>
+ (void)handleContinueUserActivity:(NSUserActivity *)userActivity;
@end
|
//
// RCTSpotlightSearch.h
// RCTSpotlightSearch
//
// Created by James (Home) on 21/06/2016.
// Copyright © 2016 James Munro. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <React/RCTBridgeModule.h>
@interface RCTSpotlightSearch : NSObject <RCTBridgeModule>
+ (void)handleContinueUserActivity:(NSUserActivity *)userActivity;
@end
|
Fix import React/RCTBridgeModule.h, needed by RN 0.50
|
Fix import React/RCTBridgeModule.h, needed by RN 0.50
|
C
|
mit
|
jdmunro/react-native-spotlight-search,jdmunro/react-native-spotlight-search,jdmunro/react-native-spotlight-search,jdmunro/react-native-spotlight-search,jdmunro/react-native-spotlight-search,jdmunro/react-native-spotlight-search
|
85d1e066e03030de91558746864dfd84ecd2f1bc
|
searchlib/src/vespa/searchlib/test/vector_buffer_writer.h
|
searchlib/src/vespa/searchlib/test/vector_buffer_writer.h
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include <vespa/searchlib/util/bufferwriter.h>
#include <vector>
namespace search::test
{
class VectorBufferWriter : public BufferWriter {
private:
char tmp[1024];
public:
std::vector<char> output;
VectorBufferWriter();
~VectorBufferWriter();
void flush() override;
};
}
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include <vespa/searchlib/util/bufferwriter.h>
#include <vector>
namespace search::test
{
class VectorBufferWriter : public BufferWriter {
private:
char tmp[1024];
public:
std::vector<char> output;
VectorBufferWriter();
~VectorBufferWriter() override;
void flush() override;
};
}
|
Add override specifier for VectorBufferWriter destructor.
|
Add override specifier for VectorBufferWriter destructor.
|
C
|
apache-2.0
|
vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa
|
f0b6c5101e4b1c88410e8e9d227266500497e031
|
list.c
|
list.c
|
#include "list.h"
struct ListNode
{
ListNode* prev;
ListNode* next;
void* k;
};
struct List
{
ListNode* head;
};
List* List_Create(void)
{
List* l = (List *)malloc(sizeof(List));
l->head = NULL;
return l;
}
ListNode* ListNode_Create(void* k)
{
ListNode* n = (ListNode *)malloc(sizeof(ListNode));
n->prev = NULL;
n->next = NULL;
n->k = k;
return n;
}
|
#include "list.h"
struct ListNode
{
ListNode* prev;
ListNode* next;
void* k;
};
struct List
{
ListNode* head;
};
List* List_Create(void)
{
List* l = (List *)malloc(sizeof(List));
l->head = NULL;
return l;
}
ListNode* ListNode_Create(void* k)
{
ListNode* n = (ListNode *)malloc(sizeof(ListNode));
n->prev = NULL;
n->next = NULL;
n->k = k;
return n;
}
ListNode* List_Search(List* l, void* k, int (f)(void*, void*))
{
ListNode* n = l->head;
while (n != NULL && !f(n->k, k))
{
n = n->next;
}
return n;
}
|
Add List Search function implementation
|
Add List Search function implementation
|
C
|
mit
|
MaxLikelihood/CADT
|
aa2916ff583a12e068251d36d0045c68e5895a5c
|
mudlib/mud/home/System/sys/extinguishd.c
|
mudlib/mud/home/System/sys/extinguishd.c
|
#include <status.h>
#include <kotaka/paths.h>
#include <kotaka/log.h>
#include <kotaka/privilege.h>
inherit SECOND_AUTO;
void extinguish(string path)
{
ACCESS_CHECK(KADMIN());
call_out("purge", 0, path, status(ST_OTABSIZE));
}
static void purge(string path, int quota)
{
int limit;
limit = 200;
if (quota % limit != 0) {
limit = quota % limit;
}
for (; quota > 0 && limit > 0; quota--, limit--) {
object obj;
if (obj = find_object(path + "#" + quota)) {
destruct_object(obj);
}
}
LOGD->post_message("test", LOG_INFO, quota + " objects to check.");
if (quota > 0) {
call_out("purge", 0, path, quota);
}
}
|
#include <status.h>
#include <kotaka/paths.h>
#include <kotaka/log.h>
#include <kotaka/privilege.h>
inherit SECOND_AUTO;
void extinguish(string path)
{
if (!KADMIN()) {
string opath;
opath = object_name(previous_object());
ACCESS_CHECK(DRIVER->creator(opath));
ACCESS_CHECK(DRIVER->creator(opath) == DRIVER->creator(path));
}
call_out("purge", 0, path, status(ST_OTABSIZE));
}
static void purge(string path, int quota)
{
int limit;
limit = 128;
if (quota % limit != 0) {
limit = quota % limit;
}
for (; quota > 0 && limit > 0; quota--, limit--) {
object obj;
if (obj = find_object(path + "#" + quota)) {
destruct_object(obj);
}
}
LOGD->post_message("test", LOG_INFO, quota + " objects to check.");
if (quota > 0) {
call_out("purge", 0, path, quota);
}
}
|
Allow extinguishing of objects with the same creator as yourself.
|
Allow extinguishing of objects with the same creator as yourself.
|
C
|
agpl-3.0
|
shentino/kotaka,shentino/kotaka,shentino/kotaka
|
112d20ad5ca06a9ec7237602ee33bef6fa881daa
|
drivers/gpu/drm/nouveau/nv04_mc.c
|
drivers/gpu/drm/nouveau/nv04_mc.c
|
#include "drmP.h"
#include "drm.h"
#include "nouveau_drv.h"
#include "nouveau_drm.h"
int
nv04_mc_init(struct drm_device *dev)
{
/* Power up everything, resetting each individual unit will
* be done later if needed.
*/
nv_wr32(dev, NV03_PMC_ENABLE, 0xFFFFFFFF);
return 0;
}
void
nv04_mc_takedown(struct drm_device *dev)
{
}
|
#include "drmP.h"
#include "drm.h"
#include "nouveau_drv.h"
#include "nouveau_drm.h"
int
nv04_mc_init(struct drm_device *dev)
{
/* Power up everything, resetting each individual unit will
* be done later if needed.
*/
nv_wr32(dev, NV03_PMC_ENABLE, 0xFFFFFFFF);
/* Disable PROM access. */
nv_wr32(dev, NV_PBUS_PCI_NV_20, NV_PBUS_PCI_NV_20_ROM_SHADOW_ENABLED);
return 0;
}
void
nv04_mc_takedown(struct drm_device *dev)
{
}
|
Disable PROM access on init.
|
drm/nouveau: Disable PROM access on init.
On older cards (<nv17) scanout gets blocked when the ROM is being
accessed. PROM access usually comes out enabled from suspend, switch
it off.
Signed-off-by: Francisco Jerez <5906ff32bdd9fd8db196f6ba5ad3afd6f9257ea5@riseup.net>
Signed-off-by: Ben Skeggs <d9f27fb07c1e9f131223ad827fa5179f3846c30b@redhat.com>
|
C
|
mit
|
KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas
|
77813adc0001c96511aa932ced1adc8500b3f280
|
example/ex-multi05.c
|
example/ex-multi05.c
|
#include <stdio.h>
#include "m-array.h"
#include "m-string.h"
// Let's create an array of string_t and register it globaly
ARRAY_DEF(vector_string, string_t)
#define M_OPL_vector_string_t() ARRAY_OPLIST(vector_string, STRING_OPLIST)
int main(void)
{
// Let's define a new string named str
M_LET(str, string_t)
// Let's define msg as a vector_array_t
M_LET( (msg, STRING_CTE("Hello"), STRING_CTE("C"), STRING_CTE("World!"), STRING_CTE("Let's"), STRING_CTE("discover"), STRING_CTE("M*LIB!")), vector_string_t) {
// Iterate over all words of the array msg
for M_EACH(word, msg, vector_string_t) {
// Cat the current word into the target string
string_cat(str, *word);
// Also add a space character
string_push_back(str, ' ');
}
// Print the result
printf("%s\n", string_get_cstr(str) );
}
return 0;
}
|
#include <stdio.h>
#include "m-array.h"
#include "m-string.h"
// Let's create an array of string_t and register it globaly
ARRAY_DEF(vector_string, string_t)
#define M_OPL_vector_string_t() ARRAY_OPLIST(vector_string, STRING_OPLIST)
int main(void)
{
// Let's define a new string named str
M_LET(str, string_t)
// Let's define msg as a vector_array_t
M_LET( (msg, STRING_CTE("Hello"), STRING_CTE("C"), STRING_CTE("World!"), STRING_CTE("Let's"), STRING_CTE("discover"), STRING_CTE("M*LIB!")), vector_string_t) {
// Iterate over all words of the array msg
for M_EACH(word, msg, vector_string_t) {
// Cat the current word into the target string
string_cat(str, *word);
// Also add a space character
string_push_back(str, ' ');
}
// Let's define another string and set it to a formatted value.
M_LET( (count, "\nTo display this it uses \"vector\" of %zu strings!", vector_string_size(msg)), string_t) {
string_cat(str, count);
}
// Print the result
printf("%s\n", string_get_cstr(str) );
}
return 0;
}
|
Add example of formatted C string for string in M_LET
|
Add example of formatted C string for string in M_LET
|
C
|
bsd-2-clause
|
P-p-H-d/mlib,P-p-H-d/mlib
|
aba2ec8c709b9bb5b2484e86d8f108b0ae0932d4
|
src/modules/illume-keyboard/e_mod_main.c
|
src/modules/illume-keyboard/e_mod_main.c
|
#include "e.h"
#include "e_mod_main.h"
#include "e_mod_config.h"
#include "e_kbd_int.h"
/* local variables */
static E_Kbd_Int *ki = NULL;
EAPI E_Module_Api e_modapi = { E_MODULE_API_VERSION, "Illume Keyboard" };
EAPI void *
e_modapi_init(E_Module *m)
{
if (!il_kbd_config_init(m)) return NULL;
ki = e_kbd_int_new(mod_dir, mod_dir, mod_dir);
return m;
}
EAPI int
e_modapi_shutdown(E_Module *m)
{
if (ki)
{
e_kbd_int_free(ki);
ki = NULL;
}
il_kbd_config_shutdown();
return 1;
}
EAPI int
e_modapi_save(E_Module *m)
{
return il_kbd_config_save();
}
|
#include "e.h"
#include "e_mod_main.h"
#include "e_mod_config.h"
#include "e_kbd_int.h"
/* local variables */
static E_Kbd_Int *ki = NULL;
EAPI E_Module_Api e_modapi = { E_MODULE_API_VERSION, "Illume Keyboard" };
EAPI void *
e_modapi_init(E_Module *m)
{
if (!il_kbd_config_init(m)) return NULL;
ki = e_kbd_int_new(il_kbd_cfg->mod_dir,
il_kbd_cfg->mod_dir, il_kbd_cfg->mod_dir);
return m;
}
EAPI int
e_modapi_shutdown(E_Module *m)
{
if (ki)
{
e_kbd_int_free(ki);
ki = NULL;
}
il_kbd_config_shutdown();
return 1;
}
EAPI int
e_modapi_save(E_Module *m)
{
return il_kbd_config_save();
}
|
Use correct module directory when making keyboard. Previous commit fixed compiler warnings also.
|
Use correct module directory when making keyboard.
Previous commit fixed compiler warnings also.
git-svn-id: 6ac5796aeae0cef97fb47bcc287d4ce899c6fa6e@43875 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
|
C
|
bsd-2-clause
|
jordemort/e17,jordemort/e17,jordemort/e17
|
02abf1a1f71cbd7db8b0e0e4d9e94ea1070d7d9a
|
doors.h
|
doors.h
|
#ifndef _DOORS_H_
#define _DOORS_H_
#ifndef NUMBER_OF_DOORS
#define NUMBER_OF_DOORS 3
#endif
typedef struct {
unsigned int has_prize : 1;
unsigned int currently_selected: 1;
unsigned int revealed : 1;
} door;
/*
* game status updates
*/
extern void set_doors(void);
extern void select_door(unsigned int number);
extern void show_doors(void);
extern void reveal_all_doors(void);
/*
* game status queries
*/
extern unsigned int get_door_number(void);
extern unsigned int current_guess(void);
extern unsigned int winning_door(void);
extern unsigned int hint_door(void);
#endif
|
#ifndef _DOORS_H_
#define _DOORS_H_
#ifndef NUMBER_OF_DOORS
#define NUMBER_OF_DOORS 3
#endif
#include <limits.h>
#if (NUMBER_OF_DOORS > UINT_MAX)
#error (n) doors exceeds storage allocation limit for `unsigned int'.
#endif
typedef struct {
unsigned int has_prize : 1;
unsigned int currently_selected: 1;
unsigned int revealed : 1;
} door;
/*
* game status updates
*/
extern void set_doors(void);
extern void select_door(unsigned int number);
extern void show_doors(void);
extern void reveal_all_doors(void);
/*
* game status queries
*/
extern unsigned int get_door_number(void);
extern unsigned int current_guess(void);
extern unsigned int winning_door(void);
extern unsigned int hint_door(void);
#endif
|
Throw a fatal pre-processor error if (n > UINT_MAX).
|
Throw a fatal pre-processor error if (n > UINT_MAX).
|
C
|
cc0-1.0
|
cxd4/Monty-Hall,cxd4/Monty-Hall
|
246b6611122d65b4a7c5deef1d888ef0f88a14d9
|
Common/CoreLocation+MITAdditions.h
|
Common/CoreLocation+MITAdditions.h
|
#import <CoreLocation/CLLocation.h>
#define DEGREES_PER_RADIAN 180.0 / M_PI
#define RADIANS_PER_DEGREE M_PI / 180.0
#define DEFAULT_MAP_CENTER CLLocationCoordinate2DMake(42.35913,-71.09325)
#define DEFAULT_MAP_SPAN MKCoordinateSpanMake(0.006, 0.006)
// these are 1 and 2 miles respectively
#define OUT_OF_BOUNDS_DISTANCE 1609
#define WAY_OUT_OF_BOUNDS_DISTANCE 3218
@interface CLLocation (MITAdditions)
- (CLLocationDistance)distanceFromCenterOfCampus;
- (BOOL)isOnCampus;
- (BOOL)isNearCampus;
@end
@interface NSValue (CL_MITAdditions)
+ (NSValue *)valueWithMKCoordinate:(CLLocationCoordinate2D)coordinate;
- (CLLocationCoordinate2D)MKCoordinateValue;
@end
|
#import <CoreLocation/CLLocation.h>
#import <CoreLocation/CoreLocation.h>
#define DEGREES_PER_RADIAN 180.0 / M_PI
#define RADIANS_PER_DEGREE M_PI / 180.0
#define DEFAULT_MAP_CENTER CLLocationCoordinate2DMake(42.35913,-71.09325)
#define DEFAULT_MAP_SPAN MKCoordinateSpanMake(0.006, 0.006)
// these are 1 and 2 miles respectively
#define OUT_OF_BOUNDS_DISTANCE 1609
#define WAY_OUT_OF_BOUNDS_DISTANCE 3218
FOUNDATION_STATIC_INLINE inline NSString* NSStringFromCLLocationCoordinate2D(CLLocationCoordinate2D coordinate) {
return [NSString stringWithFormat:@"{ x: %lf, y: %lf }", coordinate.longitude, coordinate.latitude];
}
@interface CLLocation (MITAdditions)
- (CLLocationDistance)distanceFromCenterOfCampus;
- (BOOL)isOnCampus;
- (BOOL)isNearCampus;
@end
@interface NSValue (CL_MITAdditions)
+ (NSValue *)valueWithMKCoordinate:(CLLocationCoordinate2D)coordinate;
- (CLLocationCoordinate2D)MKCoordinateValue;
@end
|
Add a convenience function to get an NSString from a CLLocationCoordinate2D object
|
Add a convenience function to get an NSString from a CLLocationCoordinate2D object
|
C
|
lgpl-2.1
|
MIT-Mobile/MIT-Mobile-for-iOS,smartcop/MIT-Mobile-for-iOS,xNUTs/MIT-Mobile-for-iOS,xNUTs/MIT-Mobile-for-iOS,MIT-Mobile/MIT-Mobile-for-iOS,smartcop/MIT-Mobile-for-iOS
|
34d2be5fddf51413062f0995bfcb3b9401ffcef1
|
utils.h
|
utils.h
|
#pragma once
namespace me {
template<class T>
class Optional {
T *m_object;
public:
Optional() : m_object(0) {}
Optional(const T& other) : m_object(new T(other)) {}
Optional& operator=(const T& other) {
if (m_object != 0) {
delete m_object;
}
m_object = new T(other);
return *this;
}
operator bool() const {
return m_object != 0;
}
T& operator *() const {
return *m_object;
}
T* operator ->() const {
return m_object;
}
T* pointer() const {
return m_object;
}
};
// splitting.
std::vector<std::string> &split(const std::string &s, char delim, std::vector<std::string> &elems);
std::vector<std::string> split(const std::string &s, char delim);
}
|
#pragma once
namespace me {
// basic optional implementation.
template<class T>
class Optional {
T *m_object;
public:
Optional() : m_object(0) { }
// copy constructor
Optional(const Optional<T>& other) : m_object(new T(*other)) { }
// move constructor
Optional(Optional<T>&& other) : m_object(other.m_object) {
other.m_object = 0;
}
Optional(const T& other) : m_object(new T(other)) { }
// destructor
~Optional() {
delete m_object; // delete 0 is a no-op, so we are fine here.
}
// copy assignment operator
Optional& operator=(const Optional<T>& other) {
delete m_object; // delete 0 is a no-op
m_object = new T(*other);
return *this;
}
Optional& operator=(const T& other) {
delete m_object; // delete 0 is a no-op
m_object = new T(other);
return *this;
}
// move assignment operator
Optional& operator=(Optional<T>&& other) {
delete m_object; // delete 0 is a no-op
m_object = other.m_object;
other.m_object = 0;
return *this;
}
operator bool() const {
return m_object != 0;
}
T& operator *() const {
return *m_object;
}
T* operator ->() const {
return m_object;
}
T* pointer() const {
return m_object;
}
};
// splitting.
std::vector<std::string> &split(const std::string &s, char delim, std::vector<std::string> &elems);
std::vector<std::string> split(const std::string &s, char delim);
}
|
Use move semantics in Optional implementation.
|
Use move semantics in Optional implementation.
|
C
|
mit
|
ckarmann/TrackCommit,ckarmann/TrackCommit
|
1b5ab79b0bd0973de3a2b6ca256f7d1d4d4c1736
|
include/perfetto/protozero/contiguous_memory_range.h
|
include/perfetto/protozero/contiguous_memory_range.h
|
/*
* Copyright (C) 2017 The Android Open Source Project
*
* 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 to in writing, software
* distributed 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.
*/
#ifndef INCLUDE_PERFETTO_PROTOZERO_CONTIGUOUS_MEMORY_RANGE_H_
#define INCLUDE_PERFETTO_PROTOZERO_CONTIGUOUS_MEMORY_RANGE_H_
#include <assert.h>
#include <stddef.h>
#include <stdint.h>
namespace protozero {
// Keep this struct trivially constructible (no ctors, no default initializers).
struct ContiguousMemoryRange {
uint8_t* begin;
uint8_t* end; // STL style: one byte past the end of the buffer.
inline bool is_valid() const { return begin != nullptr; }
inline void reset() { begin = nullptr; }
inline size_t size() { return static_cast<size_t>(end - begin); }
};
} // namespace protozero
#endif // INCLUDE_PERFETTO_PROTOZERO_CONTIGUOUS_MEMORY_RANGE_H_
|
/*
* Copyright (C) 2017 The Android Open Source Project
*
* 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 to in writing, software
* distributed 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.
*/
#ifndef INCLUDE_PERFETTO_PROTOZERO_CONTIGUOUS_MEMORY_RANGE_H_
#define INCLUDE_PERFETTO_PROTOZERO_CONTIGUOUS_MEMORY_RANGE_H_
#include <assert.h>
#include <stddef.h>
#include <stdint.h>
namespace protozero {
// Keep this struct trivially constructible (no ctors, no default initializers).
struct ContiguousMemoryRange {
uint8_t* begin;
uint8_t* end; // STL style: one byte past the end of the buffer.
inline bool is_valid() const { return begin != nullptr; }
inline void reset() { begin = nullptr; }
inline size_t size() const { return static_cast<size_t>(end - begin); }
};
} // namespace protozero
#endif // INCLUDE_PERFETTO_PROTOZERO_CONTIGUOUS_MEMORY_RANGE_H_
|
Mark ContiguousMemoryRange::size as const. am: f2c28cd765
|
Mark ContiguousMemoryRange::size as const. am: f2c28cd765
Change-Id: I8f62e95dd64516e3a99b3123c48b16fd88264f7e
|
C
|
apache-2.0
|
google/perfetto,google/perfetto,google/perfetto,google/perfetto,google/perfetto,google/perfetto,google/perfetto,google/perfetto
|
708edbddabbe7f689839ff6a213fe350b565764e
|
Source/UnrealEnginePython/Public/UnrealEnginePython.h
|
Source/UnrealEnginePython/Public/UnrealEnginePython.h
|
// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "ModuleManager.h"
DECLARE_LOG_CATEGORY_EXTERN(LogPython, Log, All);
class UNREALENGINEPYTHON_API FUnrealEnginePythonModule : public IModuleInterface
{
public:
bool PythonGILAcquire();
void PythonGILRelease();
virtual void StartupModule() override;
virtual void ShutdownModule() override;
void RunString(char *);
void RunFile(char *);
void RunFileSandboxed(char *);
private:
void *ue_python_gil;
// used by console
void *main_dict;
void *local_dict;
};
struct FScopePythonGIL {
FScopePythonGIL()
{
#if defined(UEPY_THREADING)
UnrealEnginePythonModule = FModuleManager::LoadModuleChecked<FUnrealEnginePythonModule>("UnrealEnginePython");
safeForRelease = UnrealEnginePythonModule.PythonGILAcquire();
#endif
}
~FScopePythonGIL()
{
#if defined(UEPY_THREADING)
if (safeForRelease) {
UnrealEnginePythonModule.PythonGILRelease();
}
#endif
}
FUnrealEnginePythonModule UnrealEnginePythonModule;
bool safeForRelease;
};
|
// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "ModuleManager.h"
DECLARE_LOG_CATEGORY_EXTERN(LogPython, Log, All);
class UNREALENGINEPYTHON_API FUnrealEnginePythonModule : public IModuleInterface
{
public:
bool PythonGILAcquire();
void PythonGILRelease();
virtual void StartupModule() override;
virtual void ShutdownModule() override;
void RunString(char *);
void RunFile(char *);
void RunFileSandboxed(char *);
private:
void *ue_python_gil;
// used by console
void *main_dict;
void *local_dict;
void *main_module;
};
struct FScopePythonGIL {
FScopePythonGIL()
{
#if defined(UEPY_THREADING)
UnrealEnginePythonModule = FModuleManager::LoadModuleChecked<FUnrealEnginePythonModule>("UnrealEnginePython");
safeForRelease = UnrealEnginePythonModule.PythonGILAcquire();
#endif
}
~FScopePythonGIL()
{
#if defined(UEPY_THREADING)
if (safeForRelease) {
UnrealEnginePythonModule.PythonGILRelease();
}
#endif
}
FUnrealEnginePythonModule UnrealEnginePythonModule;
bool safeForRelease;
};
|
Add support for the Python Stdout Log
|
Add support for the Python Stdout Log
Support the print(' ') and help(' '),
Can be used as the transition period.
|
C
|
mit
|
getnamo/UnrealEnginePython,20tab/UnrealEnginePython,kitelightning/UnrealEnginePython,Orav/UnrealEnginePython,getnamo/UnrealEnginePython,Orav/UnrealEnginePython,20tab/UnrealEnginePython,getnamo/UnrealEnginePython,kitelightning/UnrealEnginePython,getnamo/UnrealEnginePython,getnamo/UnrealEnginePython,20tab/UnrealEnginePython,20tab/UnrealEnginePython,kitelightning/UnrealEnginePython,kitelightning/UnrealEnginePython,Orav/UnrealEnginePython,Orav/UnrealEnginePython,20tab/UnrealEnginePython,kitelightning/UnrealEnginePython
|
18f0174b401852cc6fbef23d9f9b2f1fa6ed3f82
|
searchcore/src/apps/vespa-feed-bm/bm_storage_chain_builder.h
|
searchcore/src/apps/vespa-feed-bm/bm_storage_chain_builder.h
|
// Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include <vespa/storage/common/storage_chain_builder.h>
namespace feedbm {
class BmStorageLinkContext;
/*
* Storage chain builder that inserts a BmStorageLink right below the
* communication manager. This allows sending benchmark feed to chain.
*/
class BmStorageChainBuilder : public storage::StorageChainBuilder
{
std::shared_ptr<BmStorageLinkContext> _context;
public:
BmStorageChainBuilder();
~BmStorageChainBuilder() override;
const std::shared_ptr<BmStorageLinkContext>& get_context() { return _context; }
void add(std::unique_ptr<storage::StorageLink> link) override;
};
}
|
// Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include <vespa/storage/common/storage_chain_builder.h>
namespace feedbm {
struct BmStorageLinkContext;
/*
* Storage chain builder that inserts a BmStorageLink right below the
* communication manager. This allows sending benchmark feed to chain.
*/
class BmStorageChainBuilder : public storage::StorageChainBuilder
{
std::shared_ptr<BmStorageLinkContext> _context;
public:
BmStorageChainBuilder();
~BmStorageChainBuilder() override;
const std::shared_ptr<BmStorageLinkContext>& get_context() { return _context; }
void add(std::unique_ptr<storage::StorageLink> link) override;
};
}
|
Fix forward declaration of BmStorageLinkContext.
|
Fix forward declaration of BmStorageLinkContext.
|
C
|
apache-2.0
|
vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa
|
cf9b2331ac6fe98e3c0443853226f1ef76668f8e
|
src/tests/behaviour/dictionary/skip_list/test_behaviour_skip_list.c
|
src/tests/behaviour/dictionary/skip_list/test_behaviour_skip_list.c
|
/******************************************************************************/
/**
@file
@author Kris Wallperington
@brief Behaviour tests for the skip list implementation.
@copyright Copyright 2016
The University of British Columbia,
IonDB Project Contributors (see AUTHORS.md)
@par
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
@par
Unless required by applicable law or agreed to in writing,
software distributed 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.
*/
/******************************************************************************/
#include "../../../planckunit/src/planck_unit.h"
#include "../behaviour_dictionary.h"
#include "../../../../dictionary/skip_list/skip_list_handler.h"
#include "test_behaviour_skip_list.h"
void
runalltests_behaviour_skip_list(
void
) {
bhdct_run_tests(sldict_init, 7, BHDCT_ALL_TESTS);
}
|
/******************************************************************************/
/**
@file
@author Kris Wallperington
@brief Behaviour tests for the skip list implementation.
@copyright Copyright 2016
The University of British Columbia,
IonDB Project Contributors (see AUTHORS.md)
@par
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
@par
Unless required by applicable law or agreed to in writing,
software distributed 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.
*/
/******************************************************************************/
#include "../../../planckunit/src/planck_unit.h"
#include "../behaviour_dictionary.h"
#include "../../../../dictionary/skip_list/skip_list_handler.h"
#include "test_behaviour_skip_list.h"
void
runalltests_behaviour_skip_list(
void
) {
#if defined(ARDUINO)
bhdct_run_tests(sldict_init, 7, BHDCT_ALL_TESTS & ~BHDCT_STRING_INT);
#else
bhdct_run_tests(sldict_init, 7, BHDCT_ALL_TESTS);
#endif
}
|
Exclude skiplist string key tests from device
|
Exclude skiplist string key tests from device
|
C
|
bsd-3-clause
|
iondbproject/iondb,iondbproject/iondb
|
5cc3518924500882d85dfa5a6c9d9816d5d60f07
|
KLog/klog/basic_types.h
|
KLog/klog/basic_types.h
|
/*
@ 0xCCCCCCCC
*/
#if defined(_MSC_VER)
#pragma once
#endif
#ifndef KLOG_BASIC_TYPES_H_
#define KLOG_BASIC_TYPES_H_
#include <string>
#include "klog/basic_macros.h"
namespace klog {
#if defined(OS_WIN)
using PathChar = wchar_t;
using PathString = std::wstring;
#else
using PathChar = char;
using PathString = std::string;
#endif
} // namespace klog
#endif // KLOG_BASIC_TYPES_H_
|
/*
@ 0xCCCCCCCC
*/
#if defined(_MSC_VER)
#pragma once
#endif
#ifndef KLOG_BASIC_TYPES_H_
#define KLOG_BASIC_TYPES_H_
#include <string>
#include "klog/basic_macros.h"
namespace klog {
#if defined(OS_WIN)
using PathChar = wchar_t;
using PathString = std::wstring;
#define PATH_LITERAL(str) L##str
#else
using PathChar = char;
using PathString = std::string;
#define PATH_LITERAL(str) str
#endif
} // namespace klog
#endif // KLOG_BASIC_TYPES_H_
|
Introduce the macro `PATH_LITERAL` for helping construct `PathString`.
|
Introduce the macro `PATH_LITERAL` for helping construct `PathString`.
|
C
|
mit
|
kingsamchen/KLog
|
13c12a4e8ecdf3998cd2d89ade69f6f194819c95
|
arch/sh/include/asm/sections.h
|
arch/sh/include/asm/sections.h
|
#ifndef __ASM_SH_SECTIONS_H
#define __ASM_SH_SECTIONS_H
#include <asm-generic/sections.h>
extern void __nosave_begin, __nosave_end;
extern long __machvec_start, __machvec_end;
extern char __uncached_start, __uncached_end;
extern char _ebss[];
extern char __start_eh_frame[], __stop_eh_frame[];
#endif /* __ASM_SH_SECTIONS_H */
|
#ifndef __ASM_SH_SECTIONS_H
#define __ASM_SH_SECTIONS_H
#include <asm-generic/sections.h>
extern long __nosave_begin, __nosave_end;
extern long __machvec_start, __machvec_end;
extern char __uncached_start, __uncached_end;
extern char _ebss[];
extern char __start_eh_frame[], __stop_eh_frame[];
#endif /* __ASM_SH_SECTIONS_H */
|
Change __nosave_XXX symbols to long
|
sh: Change __nosave_XXX symbols to long
This patch changes the:
- __nosave_begin
- __nosave_end
symbols from 'void' to 'long' as required by the latest
Gcc (4.5.2) which raises the compilation error:
cc1: warnings being treated as errors
arch/sh/kernel/swsusp.c: In function 'pfn_is_nosave':
arch/sh/kernel/swsusp.c:24:28: error: taking address of expression of type 'void'
arch/sh/kernel/swsusp.c:25:26: error: taking address of expression of type 'void'
arch/sh/kernel/swsusp.c:25:26: error: taking address of expression of type 'void'
arch/sh/kernel/swsusp.c:25:26: error: taking address of expression of type 'void'
Signed-off-by: Francesco Virlinzi <00d6e8a4362f3bfb0eaf689488e556cc379113b6@st.com>
Signed-off-by: Paul Mundt <38b52dbb5f0b63d149982b6c5de788ec93a89032@linux-sh.org>
|
C
|
mit
|
KristFoundation/Programs,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas
|
13bae2a0c5e8a4ee9c0c4c483f8b222308d3479a
|
You-Controller-Tests/exclusions.h
|
You-Controller-Tests/exclusions.h
|
#pragma once
#ifndef YOU_CONTROLLER_TESTS_EXCLUSIONS_H_
#define YOU_CONTROLLER_TESTS_EXCLUSIONS_H_
// A local define since there is no way to test whether a header file exists.
// If you have VS Premium, then add it to the project definition (user
// properties) file
#ifdef MS_CPP_CODECOVERAGE
/// \file Exclusions from code coverage analysis.
/// See http://msdn.microsoft.com/en-sg/library/dd537628.aspx
#include <CodeCoverage/CodeCoverage.h>
#pragma managed(push, off)
ExcludeFromCodeCoverage(boost, L"boost::*");
ExcludeFromCodeCoverage(You_QueryEngine, L"You::QueryEngine::*");
#pragma managed(pop)
#endif // MS_CPP_CODECOVERAGE
#endif // YOU_CONTROLLER_TESTS_EXCLUSIONS_H_
|
#pragma once
#ifndef YOU_CONTROLLER_TESTS_EXCLUSIONS_H_
#define YOU_CONTROLLER_TESTS_EXCLUSIONS_H_
// A local define since there is no way to test whether a header file exists.
// If you have VS Premium, then add it to the project definition (user
// properties) file
#ifdef MS_CPP_CODECOVERAGE
/// \file Exclusions from code coverage analysis.
/// See http://msdn.microsoft.com/en-sg/library/dd537628.aspx
#include <CodeCoverage/CodeCoverage.h>
#pragma managed(push, off)
ExcludeFromCodeCoverage(boost, L"boost::*");
ExcludeFromCodeCoverage(You_NLP, L"You::NLP::*");
ExcludeFromCodeCoverage(You_QueryEngine, L"You::QueryEngine::*");
ExcludeFromCodeCoverage(You_Utils, L"You::Utils::*");
#pragma managed(pop)
#endif // MS_CPP_CODECOVERAGE
#endif // YOU_CONTROLLER_TESTS_EXCLUSIONS_H_
|
Exclude 3rd party code from the controller tests code coverage.
|
Exclude 3rd party code from the controller tests code coverage.
|
C
|
mit
|
cs2103aug2014-w10-1c/main,cs2103aug2014-w10-1c/main
|
6f0b8edb8a65d983b444efd04b787f68938a66f1
|
sky/shell/ios/sky_surface.h
|
sky/shell/ios/sky_surface.h
|
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import <UIKit/UIKit.h>
#import "sky/shell/shell_view.h"
@interface SkySurface : UIView
-(instancetype) initWithShellView:(sky::shell::ShellView *) shellView;
@end
extern "C" {
void SaveFrameToSkPicture();
}
|
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import <UIKit/UIKit.h>
#import "sky/shell/shell_view.h"
@interface SkySurface : UIView
-(instancetype) initWithShellView:(sky::shell::ShellView *) shellView;
@end
|
Remove deleted header declaration for SaveFrameToSkPicture
|
Remove deleted header declaration for SaveFrameToSkPicture
|
C
|
bsd-3-clause
|
tvolkert/engine,jason-simmons/sky_engine,jamesr/sky_engine,jamesr/flutter_engine,cdotstout/sky_engine,lyceel/engine,tvolkert/engine,mpcomplete/engine,devoncarew/engine,devoncarew/sky_engine,flutter/engine,mikejurka/engine,chinmaygarde/flutter_engine,rmacnak-google/engine,mdakin/engine,abarth/sky_engine,tvolkert/engine,chinmaygarde/flutter_engine,abarth/sky_engine,mikejurka/engine,mikejurka/engine,mpcomplete/engine,aam/engine,cdotstout/sky_engine,devoncarew/engine,Hixie/sky_engine,jamesr/sky_engine,lyceel/engine,devoncarew/engine,rmacnak-google/engine,devoncarew/sky_engine,jason-simmons/flutter_engine,aam/engine,jamesr/sky_engine,mpcomplete/engine,krisgiesing/sky_engine,flutter/engine,mpcomplete/flutter_engine,flutter/engine,abarth/sky_engine,devoncarew/sky_engine,devoncarew/sky_engine,mxia/engine,mpcomplete/engine,krisgiesing/sky_engine,jason-simmons/sky_engine,rmacnak-google/engine,mdakin/engine,mikejurka/engine,chinmaygarde/sky_engine,mdakin/engine,mpcomplete/engine,abarth/sky_engine,mxia/engine,tvolkert/engine,chinmaygarde/sky_engine,jason-simmons/flutter_engine,krisgiesing/sky_engine,jamesr/sky_engine,tvolkert/engine,Hixie/sky_engine,jason-simmons/flutter_engine,chinmaygarde/sky_engine,cdotstout/sky_engine,lyceel/engine,chinmaygarde/flutter_engine,chinmaygarde/sky_engine,mikejurka/engine,aam/engine,mxia/engine,devoncarew/engine,chinmaygarde/flutter_engine,jason-simmons/sky_engine,jamesr/flutter_engine,rmacnak-google/engine,mpcomplete/flutter_engine,cdotstout/sky_engine,jamesr/sky_engine,jason-simmons/flutter_engine,Hixie/sky_engine,cdotstout/sky_engine,mxia/engine,rmacnak-google/engine,rmacnak-google/engine,devoncarew/sky_engine,cdotstout/sky_engine,mpcomplete/engine,jason-simmons/sky_engine,jason-simmons/sky_engine,jamesr/flutter_engine,chinmaygarde/sky_engine,mdakin/engine,jamesr/flutter_engine,devoncarew/sky_engine,jason-simmons/sky_engine,chinmaygarde/flutter_engine,chinmaygarde/flutter_engine,mpcomplete/flutter_engine,flutter/engine,aam/engine,mxia/engine,mikejurka/engine,Hixie/sky_engine,mdakin/engine,aam/engine,flutter/engine,lyceel/engine,mpcomplete/engine,mxia/engine,devoncarew/engine,mpcomplete/flutter_engine,abarth/sky_engine,tvolkert/engine,chinmaygarde/flutter_engine,Hixie/sky_engine,jason-simmons/flutter_engine,jamesr/sky_engine,mikejurka/engine,aam/engine,Hixie/sky_engine,krisgiesing/sky_engine,flutter/engine,mdakin/engine,lyceel/engine,Hixie/sky_engine,jamesr/flutter_engine,jamesr/flutter_engine,mikejurka/engine,jamesr/sky_engine,jason-simmons/sky_engine,mdakin/engine,mpcomplete/flutter_engine,mxia/engine,abarth/sky_engine,aam/engine,jamesr/flutter_engine,chinmaygarde/sky_engine,krisgiesing/sky_engine,mdakin/engine,flutter/engine,tvolkert/engine,lyceel/engine,aam/engine,jason-simmons/flutter_engine,mikejurka/engine,mxia/engine,jason-simmons/flutter_engine,mpcomplete/engine,abarth/sky_engine,krisgiesing/sky_engine,jamesr/flutter_engine,devoncarew/engine,devoncarew/sky_engine,flutter/engine,jason-simmons/flutter_engine,mpcomplete/flutter_engine,lyceel/engine,Hixie/sky_engine,chinmaygarde/sky_engine,jamesr/flutter_engine,rmacnak-google/engine,devoncarew/engine,cdotstout/sky_engine,krisgiesing/sky_engine
|
d6476e4f3c29fc64ddb0b6ac8db81162deff1a41
|
php_chdb.h
|
php_chdb.h
|
/* This module exposes to PHP the equivalent of:
* // Creates a chdb file containing the key-value pairs specified in the
* // array $data, or throws an exception in case of error.
* function chdb_create($pathname, $data);
*
* // Represents a loaded chdb file.
* class chdb
* {
* // Loads a chdb file, or throws an exception in case of error.
* public function __construct($pathname);
*
* // Returns the value of the given $key, or null if not found.
* public function get($key);
* }
*/
#ifndef PHP_CHDB_H
#define PHP_CHDB_H
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <php.h>
#define PHP_CHDB_VERSION "0.1"
extern zend_module_entry chdb_module_entry;
#define phpext_chdb_ptr &chdb_module_entry
#endif
|
/* This module exposes to PHP the equivalent of:
* // Creates a chdb file containing the key-value pairs specified in the
* // array $data, or throws an exception in case of error.
* function chdb_create($pathname, $data);
*
* // Represents a loaded chdb file.
* class chdb
* {
* // Loads a chdb file, or throws an exception in case of error.
* public function __construct($pathname);
*
* // Returns the value of the given $key, or null if not found.
* public function get($key);
* }
*/
#ifndef PHP_CHDB_H
#define PHP_CHDB_H
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <php.h>
#define PHP_CHDB_VERSION "0.1.0"
extern zend_module_entry chdb_module_entry;
#define phpext_chdb_ptr &chdb_module_entry
#endif
|
Change version to 0.1.0 to follow the PHP standard.
|
Change version to 0.1.0 to follow the PHP standard.
|
C
|
bsd-3-clause
|
lcastelli/chdb
|
745f0a06935763997083b714530421adc44f3452
|
src/global.h
|
src/global.h
|
#ifndef GLOBAL__H
#define GLOBAL__H
namespace qflex::global {
// Default verbose level
inline int verbose = 0;
// Max allowed memory (default: 1GB)
inline std::size_t memory_limit = 1L << 30;
// Interval to track memory (default: 0)
inline std::size_t track_memory_seconds = 0;
} // namespace qflex::global
#endif
|
#ifndef GLOBAL__H
#define GLOBAL__H
#include <cstddef>
namespace qflex::global {
// Default verbose level
inline int verbose = 0;
// Max allowed memory (default: 1GB)
inline std::size_t memory_limit = 1L << 30;
// Interval to track memory (default: 0)
inline std::size_t track_memory_seconds = 0;
} // namespace qflex::global
#endif
|
Add <cstddef> to use std::size_t.
|
Add <cstddef> to use std::size_t.
|
C
|
apache-2.0
|
ngnrsaa/qflex,ngnrsaa/qflex,ngnrsaa/qflex,ngnrsaa/qflex
|
59414b372770f32d94689711acde04b7c7d75fea
|
ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.h
|
ReactiveCocoaFramework/ReactiveCocoa/RACDelegateProxy.h
|
//
// RACDelegateProxy.h
// ReactiveCocoa
//
// Created by Cody Krieger on 5/19/12.
// Copyright (c) 2012 GitHub, Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
// A delegate object suitable for using -rac_signalForSelector:fromProtocol:
// upon.
@interface RACDelegateProxy : NSObject
// The delegate to which messages should be forwarded if not handled by
// any -rac_signalForSelector:fromProtocol: applications.
@property (nonatomic, weak) id rac_proxiedDelegate;
// Creates a delegate proxy which will respond to selectors from `protocol`.
- (instancetype)initWithProtocol:(Protocol *)protocol;
@end
|
//
// RACDelegateProxy.h
// ReactiveCocoa
//
// Created by Cody Krieger on 5/19/12.
// Copyright (c) 2012 GitHub, Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
// A delegate object suitable for using -rac_signalForSelector:fromProtocol:
// upon.
@interface RACDelegateProxy : NSObject
// The delegate to which messages should be forwarded if not handled by
// any -rac_signalForSelector:fromProtocol: applications.
@property (nonatomic, unsafe_unretained) id rac_proxiedDelegate;
// Creates a delegate proxy which will respond to selectors from `protocol`.
- (instancetype)initWithProtocol:(Protocol *)protocol;
@end
|
Use unsafe_unretained for delegates, to support OS X
|
Use unsafe_unretained for delegates, to support OS X
|
C
|
mit
|
zhigang1992/ReactiveCocoa,nickcheng/ReactiveCocoa,andersio/ReactiveCocoa,ShawnLeee/ReactiveCocoa,chieryw/ReactiveCocoa,msdgwzhy6/ReactiveCocoa,j364960953/ReactiveCocoa,zhukaixy/ReactiveCocoa,WEIBP/ReactiveCocoa,longv2go/ReactiveCocoa,Ray0218/ReactiveCocoa,mtxs007/ReactiveCocoa,zzqiltw/ReactiveCocoa,wpstarnice/ReactiveCocoa,taylormoonxu/ReactiveCocoa,natan/ReactiveCocoa,hj3938/ReactiveCocoa,taylormoonxu/ReactiveCocoa,ceekayel/ReactiveCocoa,eyu1988/ReactiveCocoa,Juraldinio/ReactiveCocoa,sujeking/ReactiveCocoa,leichunfeng/ReactiveCocoa,jrmiddle/ReactiveCocoa,KuPai32G/ReactiveCocoa,fanghao085/ReactiveCocoa,itschaitanya/ReactiveCocoa,takeshineshiro/ReactiveCocoa,Farteen/ReactiveCocoa,walkingsmarts/ReactiveCocoa,terry408911/ReactiveCocoa,Rupert-RR/ReactiveCocoa,buildo/ReactiveCocoa,kiurentu/ReactiveCocoa,isghe/ReactiveCocoa,beni55/ReactiveCocoa,yonekawa/ReactiveCocoa,ikesyo/ReactiveCocoa,tipbit/ReactiveCocoa,BrooksWon/ReactiveCocoa,j364960953/ReactiveCocoa,cstars135/ReactiveCocoa,libiao88/ReactiveCocoa,yizzuide/ReactiveCocoa,dachaoisme/ReactiveCocoa,WEIBP/ReactiveCocoa,jsslai/ReactiveCocoa,bscarano/ReactiveCocoa,isghe/ReactiveCocoa,loupman/ReactiveCocoa,shuxiashusheng/ReactiveCocoa,ReactiveCocoa/ReactiveSwift,monkeydbobo/ReactiveCocoa,FelixYin66/ReactiveCocoa,DreamHill/ReactiveCocoa,beni55/ReactiveCocoa,FelixYin66/ReactiveCocoa,JohnJin007/ReactiveCocoa,335g/ReactiveCocoa,calebd/ReactiveCocoa,rpowelll/ReactiveCocoa,LHDsimon/ReactiveCocoa,alvinvarghese/ReactiveCocoa,howandhao/ReactiveCocoa,calebd/ReactiveCocoa,emodeqidao/ReactiveCocoa,esttorhe/ReactiveCocoa,fhchina/ReactiveCocoa,gabemdev/ReactiveCocoa,cnbin/ReactiveCocoa,JohnJin007/ReactiveCocoa,on99/ReactiveCocoa,Juraldinio/ReactiveCocoa,paulyoung/ReactiveCocoa,dz1111/ReactiveCocoa,ReactiveCocoa/ReactiveSwift,mattpetters/ReactiveCocoa,ohwutup/ReactiveCocoa,SmartEncounter/ReactiveCocoa,WEIBP/ReactiveCocoa,brightcove/ReactiveCocoa,yangshengchaoios/ReactiveCocoa,mxxiv/ReactiveCocoa,yytong/ReactiveCocoa,Khan/ReactiveCocoa,Pingco/ReactiveCocoa,loupman/ReactiveCocoa,shuxiashusheng/ReactiveCocoa,jsslai/ReactiveCocoa,almassapargali/ReactiveCocoa,andersio/ReactiveCocoa,Farteen/ReactiveCocoa,wpstarnice/ReactiveCocoa,SuPair/ReactiveCocoa,hbucius/ReactiveCocoa,wpstarnice/ReactiveCocoa,towik/ReactiveCocoa,nickcheng/ReactiveCocoa,200895045/ReactiveCocoa,add715/ReactiveCocoa,imkerberos/ReactiveCocoa,DongDongDongDong/ReactiveCocoa,cogddo/ReactiveCocoa,KJin99/ReactiveCocoa,CQXfly/ReactiveCocoa,jsslai/ReactiveCocoa,jaylib/ReactiveCocoa,valleyman86/ReactiveCocoa,ericzhou2008/ReactiveCocoa,brightcove/ReactiveCocoa,Eveian/ReactiveCocoa,icepy/ReactiveCocoa,AllanChen/ReactiveCocoa,nickcheng/ReactiveCocoa,vincentiss/ReactiveCocoa,chieryw/ReactiveCocoa,goodheart/ReactiveCocoa,gengjf/ReactiveCocoa,vincentiss/ReactiveCocoa,zxq3220122/ReactiveCocoa,Eveian/ReactiveCocoa,sdhzwm/ReactiveCocoa,ReactiveCocoa/ReactiveSwift,xiaoliyang/ReactiveCocoa,ddc391565320/ReactiveCocoa,yangyangluoluo/ReactiveCocoa,huiping192/ReactiveCocoa,Ricowere/ReactiveCocoa,hbucius/ReactiveCocoa,PSPDFKit-labs/ReactiveCocoa,Carthage/ReactiveCocoa,victorlin/ReactiveCocoa,tzongw/ReactiveCocoa,qq644531343/ReactiveCocoa,Carthage/ReactiveCocoa,SuPair/ReactiveCocoa,koamac/ReactiveCocoa,cogddo/ReactiveCocoa,JackLian/ReactiveCocoa,jianwoo/ReactiveCocoa,juliangrosshauser/ReactiveCocoa,tonyarnold/ReactiveCocoa,ailyanlu/ReactiveCocoa,jackywpy/ReactiveCocoa,CQXfly/ReactiveCocoa,paulyoung/ReactiveCocoa,stupidfive/ReactiveCocoa,RuiAAPeres/ReactiveCocoa,liufeigit/ReactiveCocoa,OnTheWay1988/ReactiveCocoa,jeelun/ReactiveCocoa,wangqi211/ReactiveCocoa,stupidfive/ReactiveCocoa,j364960953/ReactiveCocoa,yizzuide/ReactiveCocoa,jam891/ReactiveCocoa,swizzlr/ReactiveCocoa,Adlai-Holler/ReactiveCocoa,Ethan89/ReactiveCocoa,Liquidsoul/ReactiveCocoa,on99/ReactiveCocoa,huiping192/ReactiveCocoa,tzongw/ReactiveCocoa,tonyli508/ReactiveCocoa,itschaitanya/ReactiveCocoa,takeshineshiro/ReactiveCocoa,bensonday/ReactiveCocoa,ioshger0125/ReactiveCocoa,chieryw/ReactiveCocoa,KuPai32G/ReactiveCocoa,ioshger0125/ReactiveCocoa,jrmiddle/ReactiveCocoa,sandyway/ReactiveCocoa,PSPDFKit-labs/ReactiveCocoa,wangqi211/ReactiveCocoa,zzzworm/ReactiveCocoa,zhiwen1024/ReactiveCocoa,isghe/ReactiveCocoa,natestedman/ReactiveCocoa,yaoxiaoyong/ReactiveCocoa,chao95957/ReactiveCocoa,nikita-leonov/ReactiveCocoa,nikita-leonov/ReactiveCocoa,zxq3220122/ReactiveCocoa,jackywpy/ReactiveCocoa,CCOOOOLL/ReactiveCocoa,taylormoonxu/ReactiveCocoa,yizzuide/ReactiveCocoa,yangyangluoluo/ReactiveCocoa,llb1119/test,brasbug/ReactiveCocoa,nikita-leonov/ReactiveCocoa,yonekawa/ReactiveCocoa,victorlin/ReactiveCocoa,esttorhe/ReactiveCocoa,hbucius/ReactiveCocoa,brasbug/ReactiveCocoa,zhukaixy/ReactiveCocoa,juliangrosshauser/ReactiveCocoa,CQXfly/ReactiveCocoa,SanChain/ReactiveCocoa,KuPai32G/ReactiveCocoa,cogddo/ReactiveCocoa,richeterre/ReactiveCocoa,dskatz22/ReactiveCocoa,Ricowere/ReactiveCocoa,GuitarPlayer-Ma/ReactiveCocoa,ericzhou2008/ReactiveCocoa,Liquidsoul/ReactiveCocoa,zhiwen1024/ReactiveCocoa,lixar/ReactiveCocoa,AndyZhaoHe/ReactiveCocoa,zhaoguohui/ReactiveCocoa,jianwoo/ReactiveCocoa,jeelun/ReactiveCocoa,cnbin/ReactiveCocoa,goodheart/ReactiveCocoa,tiger8888/ReactiveCocoa,dskatz22/ReactiveCocoa,qq644531343/ReactiveCocoa,zhukaixy/ReactiveCocoa,kaylio/ReactiveCocoa,shaohung001/ReactiveCocoa,zhigang1992/ReactiveCocoa,jam891/ReactiveCocoa,dz1111/ReactiveCocoa,walkingsmarts/ReactiveCocoa,Eveian/ReactiveCocoa,dskatz22/ReactiveCocoa,Ricowere/ReactiveCocoa,Pingco/ReactiveCocoa,almassapargali/ReactiveCocoa,Liquidsoul/ReactiveCocoa,smilypeda/ReactiveCocoa,ztchena/ReactiveCocoa,qq644531343/ReactiveCocoa,zhenlove/ReactiveCocoa,windgo/ReactiveCocoa,valleyman86/ReactiveCocoa,richeterre/ReactiveCocoa,alvinvarghese/ReactiveCocoa,clg0118/ReactiveCocoa,emodeqidao/ReactiveCocoa,mattpetters/ReactiveCocoa,xiaobing2007/ReactiveCocoa,cstars135/ReactiveCocoa,eliperkins/ReactiveCocoa,GuitarPlayer-Ma/ReactiveCocoa,tonyarnold/ReactiveCocoa,vincentiss/ReactiveCocoa,mattpetters/ReactiveCocoa,kiurentu/ReactiveCocoa,terry408911/ReactiveCocoa,yoichitgy/ReactiveCocoa,shuxiashusheng/ReactiveCocoa,shaohung001/ReactiveCocoa,brightcove/ReactiveCocoa,CCOOOOLL/ReactiveCocoa,PSPDFKit-labs/ReactiveCocoa,kevin-zqw/ReactiveCocoa,esttorhe/ReactiveCocoa,Juraldinio/ReactiveCocoa,buildo/ReactiveCocoa,Ray0218/ReactiveCocoa,SmartEncounter/ReactiveCocoa,longv2go/ReactiveCocoa,RuiAAPeres/ReactiveCocoa,luerhouhou/ReactiveCocoa,335g/ReactiveCocoa,koamac/ReactiveCocoa,natestedman/ReactiveCocoa,msdgwzhy6/ReactiveCocoa,DongDongDongDong/ReactiveCocoa,Adlai-Holler/ReactiveCocoa,fhchina/ReactiveCocoa,yangyangluoluo/ReactiveCocoa,jrmiddle/ReactiveCocoa,dachaoisme/ReactiveCocoa,SanChain/ReactiveCocoa,AlanJN/ReactiveCocoa,libiao88/ReactiveCocoa,hj3938/ReactiveCocoa,goodheart/ReactiveCocoa,fhchina/ReactiveCocoa,xiaoliyang/ReactiveCocoa,on99/ReactiveCocoa,335g/ReactiveCocoa,pzw224/ReactiveCocoa,dullgrass/ReactiveCocoa,liufeigit/ReactiveCocoa,kaylio/ReactiveCocoa,xiaoliyang/ReactiveCocoa,Khan/ReactiveCocoa,swizzlr/ReactiveCocoa,Rupert-RR/ReactiveCocoa,cnbin/ReactiveCocoa,tzongw/ReactiveCocoa,GuitarPlayer-Ma/ReactiveCocoa,lixar/ReactiveCocoa,hoanganh6491/ReactiveCocoa,loupman/ReactiveCocoa,natestedman/ReactiveCocoa,tornade0913/ReactiveCocoa,shaohung001/ReactiveCocoa,zhenlove/ReactiveCocoa,Khan/ReactiveCocoa,zzzworm/ReactiveCocoa,xumaolin/ReactiveCocoa,takeshineshiro/ReactiveCocoa,Ethan89/ReactiveCocoa,fanghao085/ReactiveCocoa,SuPair/ReactiveCocoa,hilllinux/ReactiveCocoa,add715/ReactiveCocoa,ceekayel/ReactiveCocoa,hilllinux/ReactiveCocoa,stevielu/ReactiveCocoa,Ethan89/ReactiveCocoa,hoanganh6491/ReactiveCocoa,richeterre/ReactiveCocoa,tonyarnold/ReactiveCocoa,OneSmallTree/ReactiveCocoa,yonekawa/ReactiveCocoa,stevielu/ReactiveCocoa,ailyanlu/ReactiveCocoa,tonyli508/ReactiveCocoa,ailyanlu/ReactiveCocoa,eyu1988/ReactiveCocoa,yoichitgy/ReactiveCocoa,jaylib/ReactiveCocoa,smilypeda/ReactiveCocoa,Farteen/ReactiveCocoa,xumaolin/ReactiveCocoa,ztchena/ReactiveCocoa,leichunfeng/ReactiveCocoa,BrooksWon/ReactiveCocoa,itschaitanya/ReactiveCocoa,howandhao/ReactiveCocoa,bscarano/ReactiveCocoa,almassapargali/ReactiveCocoa,sujeking/ReactiveCocoa,eliperkins/ReactiveCocoa,buildo/ReactiveCocoa,jeelun/ReactiveCocoa,ddc391565320/ReactiveCocoa,longv2go/ReactiveCocoa,huiping192/ReactiveCocoa,leelili/ReactiveCocoa,yaoxiaoyong/ReactiveCocoa,dachaoisme/ReactiveCocoa,towik/ReactiveCocoa,liufeigit/ReactiveCocoa,DreamHill/ReactiveCocoa,pzw224/ReactiveCocoa,lixar/ReactiveCocoa,tipbit/ReactiveCocoa,DreamHill/ReactiveCocoa,bencochran/ReactiveCocoa,yoichitgy/ReactiveCocoa,DongDongDongDong/ReactiveCocoa,chao95957/ReactiveCocoa,200895045/ReactiveCocoa,tornade0913/ReactiveCocoa,eliperkins/ReactiveCocoa,ztchena/ReactiveCocoa,OneSmallTree/ReactiveCocoa,xumaolin/ReactiveCocoa,sugar2010/ReactiveCocoa,walkingsmarts/ReactiveCocoa,llb1119/test,AllanChen/ReactiveCocoa,sdhzwm/ReactiveCocoa,tonyli508/ReactiveCocoa,xulibao/ReactiveCocoa,Ricowere/ReactiveCocoa,xulibao/ReactiveCocoa,llb1119/test,jianwoo/ReactiveCocoa,BlessNeo/ReactiveCocoa,KJin99/ReactiveCocoa,bscarano/ReactiveCocoa,nickcheng/ReactiveCocoa,ioshger0125/ReactiveCocoa,gabemdev/ReactiveCocoa,sugar2010/ReactiveCocoa,AndyZhaoHe/ReactiveCocoa,sugar2010/ReactiveCocoa,hilllinux/ReactiveCocoa,bensonday/ReactiveCocoa,OnTheWay1988/ReactiveCocoa,CCOOOOLL/ReactiveCocoa,RuiAAPeres/ReactiveCocoa,emodeqidao/ReactiveCocoa,zhiwen1024/ReactiveCocoa,beni55/ReactiveCocoa,ShawnLeee/ReactiveCocoa,icepy/ReactiveCocoa,luerhouhou/ReactiveCocoa,OneSmallTree/ReactiveCocoa,yaoxiaoyong/ReactiveCocoa,kaylio/ReactiveCocoa,gengjf/ReactiveCocoa,ddc391565320/ReactiveCocoa,sujeking/ReactiveCocoa,SanChain/ReactiveCocoa,leelili/ReactiveCocoa,BlessNeo/ReactiveCocoa,alvinvarghese/ReactiveCocoa,clg0118/ReactiveCocoa,huiping192/ReactiveCocoa,KJin99/ReactiveCocoa,zhenlove/ReactiveCocoa,jaylib/ReactiveCocoa,windgo/ReactiveCocoa,sdhzwm/ReactiveCocoa,ikesyo/ReactiveCocoa,stevielu/ReactiveCocoa,leichunfeng/ReactiveCocoa,mtxs007/ReactiveCocoa,clg0118/ReactiveCocoa,smilypeda/ReactiveCocoa,kevin-zqw/ReactiveCocoa,wangqi211/ReactiveCocoa,mxxiv/ReactiveCocoa,xiaobing2007/ReactiveCocoa,yytong/ReactiveCocoa,windgo/ReactiveCocoa,200895045/ReactiveCocoa,hj3938/ReactiveCocoa,rpowelll/ReactiveCocoa,chao95957/ReactiveCocoa,msdgwzhy6/ReactiveCocoa,kiurentu/ReactiveCocoa,Remitly/ReactiveCocoa,OnTheWay1988/ReactiveCocoa,stupidfive/ReactiveCocoa,zhigang1992/ReactiveCocoa,zzqiltw/ReactiveCocoa,Pingco/ReactiveCocoa,xulibao/ReactiveCocoa,eyu1988/ReactiveCocoa,ohwutup/ReactiveCocoa,rpowelll/ReactiveCocoa,BlessNeo/ReactiveCocoa,Remitly/ReactiveCocoa,zzqiltw/ReactiveCocoa,Remitly/ReactiveCocoa,sandyway/ReactiveCocoa,juliangrosshauser/ReactiveCocoa,calebd/ReactiveCocoa,LHDsimon/ReactiveCocoa,leelili/ReactiveCocoa,andersio/ReactiveCocoa,terry408911/ReactiveCocoa,Pikdays/ReactiveCocoa,monkeydbobo/ReactiveCocoa,add715/ReactiveCocoa,yytong/ReactiveCocoa,jam891/ReactiveCocoa,Pikdays/ReactiveCocoa,Ray0218/ReactiveCocoa,paulyoung/ReactiveCocoa,FelixYin66/ReactiveCocoa,brasbug/ReactiveCocoa,tiger8888/ReactiveCocoa,bensonday/ReactiveCocoa,monkeydbobo/ReactiveCocoa,jaylib/ReactiveCocoa,JackLian/ReactiveCocoa,icepy/ReactiveCocoa,AlanJN/ReactiveCocoa,jackywpy/ReactiveCocoa,ericzhou2008/ReactiveCocoa,hoanganh6491/ReactiveCocoa,yangshengchaoios/ReactiveCocoa,luerhouhou/ReactiveCocoa,ShawnLeee/ReactiveCocoa,valleyman86/ReactiveCocoa,yangshengchaoios/ReactiveCocoa,ceekayel/ReactiveCocoa,xiaobing2007/ReactiveCocoa,imkerberos/ReactiveCocoa,zhaoguohui/ReactiveCocoa,libiao88/ReactiveCocoa,AndyZhaoHe/ReactiveCocoa,cstars135/ReactiveCocoa,Pikdays/ReactiveCocoa,AlanJN/ReactiveCocoa,natan/ReactiveCocoa,tiger8888/ReactiveCocoa,Adlai-Holler/ReactiveCocoa,towik/ReactiveCocoa,bencochran/ReactiveCocoa,ohwutup/ReactiveCocoa,esttorhe/ReactiveCocoa,gengjf/ReactiveCocoa,howandhao/ReactiveCocoa,koamac/ReactiveCocoa,zhaoguohui/ReactiveCocoa,zxq3220122/ReactiveCocoa,JohnJin007/ReactiveCocoa,Rupert-RR/ReactiveCocoa,LHDsimon/ReactiveCocoa,JackLian/ReactiveCocoa,bencochran/ReactiveCocoa,kevin-zqw/ReactiveCocoa,mtxs007/ReactiveCocoa,tornade0913/ReactiveCocoa,zzzworm/ReactiveCocoa,pzw224/ReactiveCocoa,imkerberos/ReactiveCocoa,dullgrass/ReactiveCocoa,BrooksWon/ReactiveCocoa,victorlin/ReactiveCocoa,dullgrass/ReactiveCocoa,Carthage/ReactiveCocoa,natan/ReactiveCocoa,sandyway/ReactiveCocoa,fanghao085/ReactiveCocoa,dz1111/ReactiveCocoa,mxxiv/ReactiveCocoa
|
64aff1d651f06206a181e9a3883da913edf43b77
|
arch/microblaze/include/asm/sections.h
|
arch/microblaze/include/asm/sections.h
|
/*
* Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu>
* Copyright (C) 2008-2009 PetaLogix
* Copyright (C) 2006 Atmark Techno, Inc.
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*/
#ifndef _ASM_MICROBLAZE_SECTIONS_H
#define _ASM_MICROBLAZE_SECTIONS_H
#include <asm-generic/sections.h>
# ifndef __ASSEMBLY__
extern char _ssbss[], _esbss[];
extern unsigned long __ivt_start[], __ivt_end[];
extern char _etext[], _stext[];
extern u32 _fdt_start[], _fdt_end[];
# endif /* !__ASSEMBLY__ */
#endif /* _ASM_MICROBLAZE_SECTIONS_H */
|
/*
* Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu>
* Copyright (C) 2008-2009 PetaLogix
* Copyright (C) 2006 Atmark Techno, Inc.
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*/
#ifndef _ASM_MICROBLAZE_SECTIONS_H
#define _ASM_MICROBLAZE_SECTIONS_H
#include <asm-generic/sections.h>
# ifndef __ASSEMBLY__
extern char _ssbss[], _esbss[];
extern unsigned long __ivt_start[], __ivt_end[];
extern u32 _fdt_start[], _fdt_end[];
# endif /* !__ASSEMBLY__ */
#endif /* _ASM_MICROBLAZE_SECTIONS_H */
|
Remove duplicate declarations of _stext[] and _etext[]
|
microblaze: Remove duplicate declarations of _stext[] and _etext[]
They're already provided by <asm/sections.h>.
Signed-off-by: Geert Uytterhoeven <0da414d9d963da4039c2a0525b1844228075aa58@linux-m68k.org>
Cc: Michal Simek <3a191dd2be46e826fee926d532b136ed65cb5318@monstr.eu>
Cc: 1969c2f5333fcd29c58e45a80778895ee5b1b5bd@itee.uq.edu.au
Signed-off-by: Michal Simek <b20e59da6aeb5cea6c82b021069d69f63616c55d@xilinx.com>
|
C
|
mit
|
KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs
|
43c6135208bd4f7a182ac3d871039d804ecc0f88
|
include/aerial_autonomy/actions_guards/hovering_functors.h
|
include/aerial_autonomy/actions_guards/hovering_functors.h
|
#pragma once
#include <aerial_autonomy/actions_guards/base_functors.h>
#include <aerial_autonomy/basic_events.h>
#include <aerial_autonomy/logic_states/base_state.h>
#include <aerial_autonomy/robot_systems/uav_system.h>
#include <parsernode/common.h>
/**
* @brief Internal action when hovering.
*
* @tparam LogicStateMachineT Logic state machine used to process events
*/
template <class LogicStateMachineT>
struct HoveringInternalActionFunctor_
: EventAgnosticActionFunctor<UAVSystem, LogicStateMachineT> {
/**
* @brief Checks for enough battery voltage and land if battery critical
*
* @param robot_system robot system to get sensor data
* @param logic_state_machine logic state machine to trigger events
*/
void run(UAVSystem &robot_system, LogicStateMachineT &logic_state_machine) {
parsernode::common::quaddata data = robot_system.getUAVData();
// Transition to hovering state once reached high altitude
// Can also use uav status here TODO (Gowtham)
if (data.batterypercent < 40) {
logic_state_machine.process_event(Land());
}
}
};
/**
* @brief Hovering state that uses internal action
*
* @tparam LogicStateMachineT Logic state machine used to process events
*/
template <class LogicStateMachineT>
using Hovering_ = BaseState<UAVSystem, LogicStateMachineT,
HoveringInternalActionFunctor_<LogicStateMachineT>>;
|
#pragma once
#include <aerial_autonomy/actions_guards/base_functors.h>
#include <aerial_autonomy/basic_events.h>
#include <aerial_autonomy/logic_states/base_state.h>
#include <aerial_autonomy/robot_systems/uav_system.h>
#include <parsernode/common.h>
using namespace basic_events;
/**
* @brief Internal action when hovering.
*
* @tparam LogicStateMachineT Logic state machine used to process events
*/
template <class LogicStateMachineT>
struct HoveringInternalActionFunctor_
: EventAgnosticActionFunctor<UAVSystem, LogicStateMachineT> {
/**
* @brief Checks for enough battery voltage and land if battery critical
*
* @param robot_system robot system to get sensor data
* @param logic_state_machine logic state machine to trigger events
*/
void run(UAVSystem &robot_system, LogicStateMachineT &logic_state_machine) {
parsernode::common::quaddata data = robot_system.getUAVData();
// Transition to hovering state once reached high altitude
// Can also use uav status here TODO (Gowtham)
if (data.batterypercent < 40) {
logic_state_machine.process_event(Land());
}
}
};
/**
* @brief Hovering state that uses internal action
*
* @tparam LogicStateMachineT Logic state machine used to process events
*/
template <class LogicStateMachineT>
using Hovering_ = BaseState<UAVSystem, LogicStateMachineT,
HoveringInternalActionFunctor_<LogicStateMachineT>>;
|
Fix bug to avoid compilation failure
|
Fix bug to avoid compilation failure
The namespace basic_events is missing hovering_functors file
|
C
|
mpl-2.0
|
jhu-asco/aerial_autonomy,jhu-asco/aerial_autonomy,jhu-asco/aerial_autonomy,jhu-asco/aerial_autonomy,jhu-asco/aerial_autonomy,jhu-asco/aerial_autonomy
|
9866c2c2d649fac485bc47aa77cffbc93d1c6c9e
|
gpu/include/GrGLConfig_chrome.h
|
gpu/include/GrGLConfig_chrome.h
|
#ifndef GrGLConfig_chrome_DEFINED
#define GrGLConfig_chrome_DEFINED
#define GR_SUPPORT_GLES2 1
// gl2ext.h will define these extensions macros but Chrome doesn't provide
// prototypes.
#define GL_OES_mapbuffer 0
#define GR_GL_PLATFORM_HEADER <GLES2/gl2.h>
#define GR_GL_PLATFORM_HEADER_EXT <GLES2/gl2ext.h>
#define GR_GL_FUNCTION_TYPE
#define GR_GL_PROC_ADDRESS(X) &X
// chrome always assumes BGRA
#define GR_GL_32BPP_COLOR_FORMAT GR_BGRA
// glGetError() forces a sync with gpu process on chrome
#define GR_GL_CHECK_ERROR_START 0
#endif
|
#ifndef GrGLConfig_chrome_DEFINED
#define GrGLConfig_chrome_DEFINED
#define GR_SUPPORT_GLES2 1
// gl2ext.h will define these extensions macros but Chrome doesn't provide
// prototypes.
#define GL_OES_mapbuffer 0
#define GR_GL_PLATFORM_HEADER <GLES2/gl2.h>
#define GR_GL_PLATFORM_HEADER_EXT <GLES2/gl2ext.h>
#define GR_GL_FUNCTION_TYPE
#define GR_GL_PROC_ADDRESS(X) &X
// chrome always assumes BGRA
#define GR_GL_32BPP_COLOR_FORMAT GR_GL_BGRA
// glGetError() forces a sync with gpu process on chrome
#define GR_GL_CHECK_ERROR_START 0
#endif
|
Fix macro in Chrome's GL config file
|
Fix macro in Chrome's GL config file
Review URL: http://codereview.appspot.com/4308041/
git-svn-id: e8541e15acce502a64c929015570ad1648e548cd@980 2bbb7eff-a529-9590-31e7-b0007b416f81
|
C
|
bsd-3-clause
|
Cue/skia,Frankie-666/color-emoji.skia,MatChung/color-emoji.skia,Cue/skia,mrobinson/skia,metajack/skia,Frankie-666/color-emoji.skia,MatChung/color-emoji.skia,Frankie-666/color-emoji.skia,metajack/skia,hbwhlklive/color-emoji.skia,hbwhlklive/color-emoji.skia,Hankuo/color-emoji.skia,hbwhlklive/color-emoji.skia,Hankuo/color-emoji.skia,Frankie-666/color-emoji.skia,Hankuo/color-emoji.skia,MatChung/color-emoji.skia,hbwhlklive/color-emoji.skia,MatChung/color-emoji.skia,Hankuo/color-emoji.skia,Cue/skia,Frankie-666/color-emoji.skia,mrobinson/skia,MatChung/color-emoji.skia,metajack/skia,Hankuo/color-emoji.skia,hbwhlklive/color-emoji.skia,MatChung/color-emoji.skia,Hankuo/color-emoji.skia,hbwhlklive/color-emoji.skia,Cue/skia,Frankie-666/color-emoji.skia,metajack/skia,mrobinson/skia,mrobinson/skia,mrobinson/skia
|
cfbfb1a84ddf81436e086c6f45cb6608b7c1b656
|
include/lldb/Symbol/VerifyDecl.h
|
include/lldb/Symbol/VerifyDecl.h
|
//===-- VerifyDecl.h --------------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#ifndef lldb_VariableList_h_
#define lldb_VariableList_h_
#include "ClangForward.h"
namespace lldb_private
{
void VerifyDecl (clang::Decl *decl);
}
#endif
|
//===-- VerifyDecl.h --------------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#ifndef lldb_VariableList_h_
#define lldb_VariableList_h_
#include "lldb/Core/ClangForward.h"
namespace lldb_private
{
void VerifyDecl (clang::Decl *decl);
}
#endif
|
Use full path to ClangForward.h
|
Use full path to ClangForward.h
Fixes Linux build.
git-svn-id: b33bab8abb5b18c12ee100cd7761ab452d00b2b0@143038 91177308-0d34-0410-b5e6-96231b3b80d8
|
C
|
apache-2.0
|
apple/swift-lldb,llvm-mirror/lldb,llvm-mirror/lldb,llvm-mirror/lldb,apple/swift-lldb,llvm-mirror/lldb,apple/swift-lldb,apple/swift-lldb,apple/swift-lldb,apple/swift-lldb,llvm-mirror/lldb
|
fbbb09cbea1e6544890a8bd417e424ee25411d39
|
optional/capi/ext/proc_spec.c
|
optional/capi/ext/proc_spec.c
|
#include <string.h>
#include "ruby.h"
#include "rubyspec.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifdef HAVE_RB_PROC_NEW
VALUE concat_func(VALUE args) {
int i;
char buffer[500] = {0};
if (TYPE(val) != T_ARRAY) return Qnil;
for(i = 0; i < RARRAY_LEN(args); ++i) {
VALUE v = RARRAY_PTR(args)[i];
strcat(buffer, StringValuePtr(v));
strcat(buffer, "_");
}
buffer[strlen(buffer) - 1] = 0;
return rb_str_new2(buffer);
}
VALUE sp_underline_concat_proc(VALUE self) {
return rb_proc_new(concat_func, Qnil);
}
#endif
void Init_proc_spec() {
VALUE cls;
cls = rb_define_class("CApiProcSpecs", rb_cObject);
#ifdef HAVE_RB_PROC_NEW
rb_define_method(cls, "underline_concat_proc", sp_underline_concat_proc, 0);
#endif
}
#ifdef __cplusplus
}
#endif
|
#include <string.h>
#include "ruby.h"
#include "rubyspec.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifdef HAVE_RB_PROC_NEW
VALUE concat_func(VALUE args) {
int i;
char buffer[500] = {0};
if (TYPE(args) != T_ARRAY) return Qnil;
for(i = 0; i < RARRAY_LEN(args); ++i) {
VALUE v = RARRAY_PTR(args)[i];
strcat(buffer, StringValuePtr(v));
strcat(buffer, "_");
}
buffer[strlen(buffer) - 1] = 0;
return rb_str_new2(buffer);
}
VALUE sp_underline_concat_proc(VALUE self) {
return rb_proc_new(concat_func, Qnil);
}
#endif
void Init_proc_spec() {
VALUE cls;
cls = rb_define_class("CApiProcSpecs", rb_cObject);
#ifdef HAVE_RB_PROC_NEW
rb_define_method(cls, "underline_concat_proc", sp_underline_concat_proc, 0);
#endif
}
#ifdef __cplusplus
}
#endif
|
Fix typo in the commit a5312c77.
|
Fix typo in the commit a5312c77.
|
C
|
mit
|
calavera/rubyspec,calavera/rubyspec
|
41a35717e8ad8900b72dfc4d711954cb73096b50
|
src/BlynkSimpleTinyGSM.h
|
src/BlynkSimpleTinyGSM.h
|
/**
* @file BlynkSimpleTinyGSM.h
* @author Volodymyr Shymanskyy
* @license This project is released under the MIT License (MIT)
* @copyright Copyright (c) 2015 Volodymyr Shymanskyy
* @date Nov 2016
* @brief
*
*/
#ifndef BlynkSimpleTinyGSM_h
#define BlynkSimpleTinyGSM_h
#ifndef BLYNK_INFO_CONNECTION
#define BLYNK_INFO_CONNECTION "TinyGSM"
#endif
#include <Adapters/BlynkGsmClient.h>
static BlynkArduinoClient _blynkTransport;
BlynkSIM Blynk(_blynkTransport);
#include <BlynkWidgets.h>
#endif
|
/**
* @file BlynkSimpleTinyGSM.h
* @author Volodymyr Shymanskyy
* @license This project is released under the MIT License (MIT)
* @copyright Copyright (c) 2015 Volodymyr Shymanskyy
* @date Nov 2016
* @brief
*
*/
#ifndef BlynkSimpleTinyGSM_h
#define BlynkSimpleTinyGSM_h
#include <Adapters/BlynkGsmClient.h>
static BlynkArduinoClient _blynkTransport;
BlynkSIM Blynk(_blynkTransport);
#include <BlynkWidgets.h>
#endif
|
Move conn. type detection to Adataper
|
Move conn. type detection to Adataper
|
C
|
mit
|
blynkkk/blynk-library,blynkkk/blynk-library,blynkkk/blynk-library,blynkkk/blynk-library,blynkkk/blynk-library
|
7e94213f86bd5eaae63a052c44f6e573a2c0a614
|
tests/regression/00-sanity/26-strict-loop-enter.c
|
tests/regression/00-sanity/26-strict-loop-enter.c
|
//PARAM: --disable ana.int.def_exc --enable ana.int.interval --sets solver slr3tp
int g = 0;
int main() {
int x;
for(x=0; x < 50; x++){
g = 1;
}
// x = [50, 50] after narrow
if(x>50){ // live after widen, but dead after narrow
// node after Pos(x>50) is marked dead at the end
// but the loop is not with x = [51,2147483647]
for(int i=0; i<=0; i--){
g = 57;
}
}
}
|
//PARAM: --disable ana.int.def_exc --enable ana.int.interval --sets solver slr3tp --enable dbg.debug
// dbg.debug manually enabled since update_suite only enables it when it sees normal assertion (without NOWARN)
#include <assert.h>
int g = 0;
int main() {
int x;
for(x=0; x < 50; x++){
g = 1;
}
// x = [50, 50] after narrow
if(x>50){ // live after widen, but dead after narrow
// node after Pos(x>50) is marked dead at the end
// but the loop is not with x = [51,2147483647]
for(int i=0; i<=0; i--){
g = 57;
}
assert(1); // NOWARN (unreachable)
}
}
|
Add automatic check to sanity/strict-loop-enter
|
Add automatic check to sanity/strict-loop-enter
|
C
|
mit
|
goblint/analyzer,goblint/analyzer,goblint/analyzer,goblint/analyzer,goblint/analyzer
|
7f3d0c064183fb4eab39ce03f8b21c0efb183c17
|
gavd/utils.c
|
gavd/utils.c
|
/* Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include <stdlib.h>
#include "verbose.h"
#include "utils.h"
unsigned utils_execute_command(const char *cmd)
{
int result = system(cmd);
if (result == 0) {
verbose_log(0, LOG_WARNING, "%s: '%s' succeeded.",
__FUNCTION__, cmd);
return 1;
} else {
if (result == -1) {
verbose_log(0, LOG_WARNING,
"%s: Unable to invoke '%s'.", __FUNCTION__, cmd);
} else if (result != 0) {
verbose_log(0, LOG_WARNING,
"%s: '%s' failed. Return code: %d.",
__FUNCTION__, cmd, result);
}
return 0;
}
}
|
/* Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include <stdlib.h>
#include "verbose.h"
#include "utils.h"
unsigned utils_execute_command(const char *cmd)
{
int result = system(cmd);
if (result == 0) {
verbose_log(7, LOG_WARNING, "%s: '%s' succeeded.",
__FUNCTION__, cmd);
return 1;
} else {
if (result == -1) {
verbose_log(0, LOG_WARNING,
"%s: Unable to invoke '%s'.", __FUNCTION__, cmd);
} else if (result != 0) {
verbose_log(0, LOG_WARNING,
"%s: '%s' failed. Return code: %d.",
__FUNCTION__, cmd, result);
}
return 0;
}
}
|
Reduce spew when using system().
|
ADHD: Reduce spew when using system().
Details
Increase the verbosity which is required to output messages about
the successful use of 'system()'.
In short, we don't really care about success; if the command
executed, it's not really necessary to see each command which is
executed at verbosity 0.
Failures are still reported at verbosity 0.
Testing
Built ADHD on tegra2_aebl, x86-mario.
Visual inspection.
BUG=chromium-os:19558
TEST=See above.
Change-Id: Ib1743385e7fc54cb29a098b7e0912ca55a292503
Signed-off-by: Taylor Hutt <39a9c928d8a3a00d7fd484a843cc4ccfc80af42c@chromium.org>
|
C
|
bsd-3-clause
|
drinkcat/adhd,drinkcat/adhd,drinkcat/adhd,drinkcat/adhd,drinkcat/adhd,drinkcat/adhd
|
fc211a706f4b8a87bea164cff7c1f80b95791ba1
|
src/apps/S3DAnalyzer/widgets/sliderdirectjump.h
|
src/apps/S3DAnalyzer/widgets/sliderdirectjump.h
|
#ifndef WIDGETS_SLIDERDIRECTJUMP_H
#define WIDGETS_SLIDERDIRECTJUMP_H
#include <QSlider>
class QMouseEvent;
class SliderDirectJump : public QSlider {
Q_OBJECT
public:
explicit SliderDirectJump(QWidget* parent = nullptr);
explicit SliderDirectJump(Qt::Orientation orientation, QWidget* parent = nullptr);
~SliderDirectJump() override;
bool isPressed();
signals:
void valueClicked(int value);
private:
void init();
protected:
void mousePressEvent(QMouseEvent* event) override;
void mouseReleaseEvent(QMouseEvent* event) override;
int computeHorizontalValue(int x);
private:
bool m_isPressed;
int m_handleWidth{0};
};
#endif // WIDGETS_SLIDERDIRECTJUMP_H
|
#ifndef WIDGETS_SLIDERDIRECTJUMP_H
#define WIDGETS_SLIDERDIRECTJUMP_H
#include <QSlider>
class QMouseEvent;
class SliderDirectJump : public QSlider {
Q_OBJECT
public:
explicit SliderDirectJump(QWidget* parent = nullptr);
explicit SliderDirectJump(Qt::Orientation orientation, QWidget* parent = nullptr);
~SliderDirectJump() override;
bool isPressed();
signals:
void valueClicked(int value);
private:
void init();
protected:
void mousePressEvent(QMouseEvent* event) override;
void mouseReleaseEvent(QMouseEvent* event) override;
int computeHorizontalValue(int x);
private:
bool m_isPressed{false};
int m_handleWidth{0};
};
#endif // WIDGETS_SLIDERDIRECTJUMP_H
|
Fix playback slider initially acting as pressed
|
Fix playback slider initially acting as pressed
|
C
|
bsd-3-clause
|
hugbed/OpenS3D,hugbed/OpenS3D,hugbed/OpenS3D,hugbed/OpenS3D
|
65b1cd480ce57f66f2fdc8527b12b9a24a93f92f
|
test/periodic/NdbRadioMult.h
|
test/periodic/NdbRadioMult.h
|
#ifndef RADIOMULT_H
#define RADIOMULT_H
#include "NdbMF.h"
/* ========= NdbRadioMult ============ */
class NdbRad ioMult : public NdbMF
{
protected:
public:
NdbRadioMult()
: NdbMF(9, "Multiplicities for radioactive nuclide production") {}
~NdbRadioMult() {}
ClassDef(NdbRadioMult,1)
}; // NdbRadioMult
#endif
|
#ifndef RADIOMULT_H
#define RADIOMULT_H
#include "NdbMF.h"
/* ========= NdbRadioMult ============ */
class NdbRadioMult : public NdbMF
{
protected:
public:
NdbRadioMult()
: NdbMF(9, "Multiplicities for radioactive nuclide production") {}
~NdbRadioMult() {}
ClassDef(NdbRadioMult,1)
}; // NdbRadioMult
#endif
|
Fix typo in tab removal
|
Fix typo in tab removal
|
C
|
lgpl-2.1
|
tc3t/qoot,tc3t/qoot,tc3t/qoot,tc3t/qoot,tc3t/qoot,tc3t/qoot,tc3t/qoot,tc3t/qoot,tc3t/qoot,tc3t/qoot
|
e03d1b21d1f8482072ff3a9db12197b401b3bc56
|
drivers/scsi/qla2xxx/qla_version.h
|
drivers/scsi/qla2xxx/qla_version.h
|
/*
* QLogic Fibre Channel HBA Driver
* Copyright (c) 2003-2013 QLogic Corporation
*
* See LICENSE.qla2xxx for copyright and licensing details.
*/
/*
* Driver version
*/
#define QLA2XXX_VERSION "8.05.00.03-k"
#define QLA_DRIVER_MAJOR_VER 8
#define QLA_DRIVER_MINOR_VER 5
#define QLA_DRIVER_PATCH_VER 0
#define QLA_DRIVER_BETA_VER 0
|
/*
* QLogic Fibre Channel HBA Driver
* Copyright (c) 2003-2013 QLogic Corporation
*
* See LICENSE.qla2xxx for copyright and licensing details.
*/
/*
* Driver version
*/
#define QLA2XXX_VERSION "8.06.00.08-k"
#define QLA_DRIVER_MAJOR_VER 8
#define QLA_DRIVER_MINOR_VER 6
#define QLA_DRIVER_PATCH_VER 0
#define QLA_DRIVER_BETA_VER 0
|
Update the driver version to 8.06.00.08-k.
|
[SCSI] qla2xxx: Update the driver version to 8.06.00.08-k.
Signed-off-by: Giridhar Malavali <799b6491fce2c7a80b5fedcf9a728560cc9eb954@qlogic.com>
Signed-off-by: Saurav Kashyap <88d6fd94e71a9ac276fc44f696256f466171a3c0@qlogic.com>
Signed-off-by: James Bottomley <1acebbdca565c7b6b638bdc23b58b5610d1a56b8@Parallels.com>
|
C
|
mit
|
KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs
|
6ef996a3b60c5e85621acb5f1ef9ccf7da6a1925
|
src/consensus/consensus.h
|
src/consensus/consensus.h
|
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_CONSENSUS_CONSENSUS_H
#define BITCOIN_CONSENSUS_CONSENSUS_H
/** The maximum allowed size for a serialized block, in bytes (network rule) */
static const unsigned int MAX_BLOCK_SIZE = 2000000;
/** The maximum allowed number of signature check operations in a block (network rule) */
static const unsigned int MAX_BLOCK_SIGOPS = MAX_BLOCK_SIZE/50;
/** Coinbase transaction outputs can only be spent after this number of new blocks (network rule) */
static const int COINBASE_MATURITY = 100;
/** Flags for LockTime() */
enum {
/* Use GetMedianTimePast() instead of nTime for end point timestamp. */
LOCKTIME_MEDIAN_TIME_PAST = (1 << 1),
};
/** Used as the flags parameter to CheckFinalTx() in non-consensus code */
static const unsigned int STANDARD_LOCKTIME_VERIFY_FLAGS = LOCKTIME_MEDIAN_TIME_PAST;
#endif // BITCOIN_CONSENSUS_CONSENSUS_H
|
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_CONSENSUS_CONSENSUS_H
#define BITCOIN_CONSENSUS_CONSENSUS_H
/** The maximum allowed size for a serialized block, in bytes (network rule) */
static const unsigned int MAX_BLOCK_SIZE = 2000000;
/** The maximum allowed number of signature check operations in a block (network rule) */
static const unsigned int MAX_BLOCK_SIGOPS = 20000;
/** Coinbase transaction outputs can only be spent after this number of new blocks (network rule) */
static const int COINBASE_MATURITY = 100;
/** Flags for LockTime() */
enum {
/* Use GetMedianTimePast() instead of nTime for end point timestamp. */
LOCKTIME_MEDIAN_TIME_PAST = (1 << 1),
};
/** Used as the flags parameter to CheckFinalTx() in non-consensus code */
static const unsigned int STANDARD_LOCKTIME_VERIFY_FLAGS = LOCKTIME_MEDIAN_TIME_PAST;
#endif // BITCOIN_CONSENSUS_CONSENSUS_H
|
Make sigop limit `20000` just as in Bitcoin, ignoring our change to the blocksize limit.
|
Make sigop limit `20000` just as in Bitcoin, ignoring our change to the blocksize limit.
|
C
|
mit
|
bitcoinsSG/zcash,CTRoundTable/Encrypted.Cash,bitcoinsSG/zcash,CTRoundTable/Encrypted.Cash,CTRoundTable/Encrypted.Cash,bitcoinsSG/zcash,CTRoundTable/Encrypted.Cash,bitcoinsSG/zcash,bitcoinsSG/zcash,CTRoundTable/Encrypted.Cash,CTRoundTable/Encrypted.Cash,bitcoinsSG/zcash
|
5952806e050a8494cdff3368b144de206def8780
|
ldso/ldso/sh/dl-syscalls.h
|
ldso/ldso/sh/dl-syscalls.h
|
/* We can't use the real errno in ldso, since it has not yet
* been dynamicly linked in yet. */
#include "sys/syscall.h"
extern int _dl_errno;
#undef __set_errno
#define __set_errno(X) {(_dl_errno) = (X);}
#warning !!! __always_inline redefined waiting for the fixed gcc
#ifdef __always_inline
#undef __always_inline
#define __always_inline inline
#endif
|
/* We can't use the real errno in ldso, since it has not yet
* been dynamicly linked in yet. */
#include "sys/syscall.h"
extern int _dl_errno;
#undef __set_errno
#define __set_errno(X) {(_dl_errno) = (X);}
#if __GNUC_PREREQ (4, 1)
#warning !!! gcc 4.1 and later have problems with __always_inline so redefined as inline
# ifdef __always_inline
# undef __always_inline
# define __always_inline inline
# endif
#endif
|
Make sh4 build works again adding a temporary work-around iby redefining __always_inline to inline until gcc 4.x.x will get fixed.
|
Make sh4 build works again adding a temporary work-around
iby redefining __always_inline to inline until gcc 4.x.x will get
fixed.
Signed-off-by: Carmelo Amoroso <532378793705a04edd56deb76ad8c0442834d55d@st.com>
|
C
|
lgpl-2.1
|
skristiansson/uClibc-or1k,waweber/uclibc-clang,foss-for-synopsys-dwc-arc-processors/uClibc,m-labs/uclibc-lm32,OpenInkpot-archive/iplinux-uclibc,foss-xtensa/uClibc,hjl-tools/uClibc,hwoarang/uClibc,brgl/uclibc-ng,ysat0/uClibc,OpenInkpot-archive/iplinux-uclibc,ndmsystems/uClibc,m-labs/uclibc-lm32,czankel/xtensa-uclibc,ndmsystems/uClibc,foss-xtensa/uClibc,wbx-github/uclibc-ng,wbx-github/uclibc-ng,czankel/xtensa-uclibc,brgl/uclibc-ng,kraj/uclibc-ng,skristiansson/uClibc-or1k,groundwater/uClibc,ddcc/klee-uclibc-0.9.33.2,ddcc/klee-uclibc-0.9.33.2,kraj/uclibc-ng,hwoarang/uClibc,groundwater/uClibc,groundwater/uClibc,hwoarang/uClibc,skristiansson/uClibc-or1k,brgl/uclibc-ng,mephi42/uClibc,atgreen/uClibc-moxie,ysat0/uClibc,hjl-tools/uClibc,ffainelli/uClibc,m-labs/uclibc-lm32,ndmsystems/uClibc,gittup/uClibc,ddcc/klee-uclibc-0.9.33.2,atgreen/uClibc-moxie,mephi42/uClibc,ffainelli/uClibc,mephi42/uClibc,foss-for-synopsys-dwc-arc-processors/uClibc,hjl-tools/uClibc,wbx-github/uclibc-ng,majek/uclibc-vx32,ysat0/uClibc,m-labs/uclibc-lm32,waweber/uclibc-clang,atgreen/uClibc-moxie,czankel/xtensa-uclibc,hjl-tools/uClibc,foss-for-synopsys-dwc-arc-processors/uClibc,majek/uclibc-vx32,kraj/uClibc,ffainelli/uClibc,kraj/uClibc,foss-xtensa/uClibc,kraj/uclibc-ng,hwoarang/uClibc,kraj/uClibc,waweber/uclibc-clang,OpenInkpot-archive/iplinux-uclibc,ffainelli/uClibc,majek/uclibc-vx32,waweber/uclibc-clang,gittup/uClibc,foss-xtensa/uClibc,ddcc/klee-uclibc-0.9.33.2,brgl/uclibc-ng,groundwater/uClibc,kraj/uclibc-ng,mephi42/uClibc,hjl-tools/uClibc,ffainelli/uClibc,czankel/xtensa-uclibc,foss-for-synopsys-dwc-arc-processors/uClibc,ysat0/uClibc,kraj/uClibc,groundwater/uClibc,ndmsystems/uClibc,atgreen/uClibc-moxie,gittup/uClibc,skristiansson/uClibc-or1k,gittup/uClibc,OpenInkpot-archive/iplinux-uclibc,wbx-github/uclibc-ng,majek/uclibc-vx32
|
45e7904ad73a41660e38b2a5553e3a24fc1d1d06
|
Classes/EPSPlayerViewModel.h
|
Classes/EPSPlayerViewModel.h
|
//
// EPSPlayerViewModel.h
// ReactiveAudioPlayer
//
// Created by Peter Stuart on 4/24/14.
// Copyright (c) 2014 Electric Peel, LLC. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <ReactiveCocoa/ReactiveCocoa.h>
@interface EPSPlayerViewModel : NSObject
@property (nonatomic) NSURL *audioURL;
@property (readonly) NSTimeInterval duration;
@property (readonly) NSTimeInterval currentTime;
@property (readonly) NSString *elapsedTimeString;
@property (readonly) NSString *remainingTimeString;
@property (readonly, getter = isPlaying) BOOL playing;
// Commands
@property (readonly) RACCommand *playCommand;
@property (readonly) RACCommand *pauseCommand;
@property (readonly) RACCommand *togglePlayPauseCommand;
@property (nonatomic, getter = isSeeking) BOOL seeking;
- (void)seekToTime:(NSTimeInterval)time;
@end
|
//
// EPSPlayerViewModel.h
// ReactiveAudioPlayer
//
// Created by Peter Stuart on 4/24/14.
// Copyright (c) 2014 Electric Peel, LLC. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <ReactiveCocoa/ReactiveCocoa.h>
#import <AVFoundation/AVFoundation.h>
@interface EPSPlayerViewModel : NSObject
@property (nonatomic) NSURL *audioURL;
@property (readonly) AVPlayer *player;
@property (readonly) NSTimeInterval duration;
@property (readonly) NSTimeInterval currentTime;
@property (readonly) NSString *elapsedTimeString;
@property (readonly) NSString *remainingTimeString;
@property (readonly, getter = isPlaying) BOOL playing;
// Commands
@property (readonly) RACCommand *playCommand;
@property (readonly) RACCommand *pauseCommand;
@property (readonly) RACCommand *togglePlayPauseCommand;
@property (nonatomic, getter = isSeeking) BOOL seeking;
- (void)seekToTime:(NSTimeInterval)time;
@end
|
Make the audio player a public property.
|
Make the audio player a public property.
|
C
|
mit
|
ElectricPeelSoftware/EPSReactiveAudioPlayer
|
51f81c9db6ebf9997c49b0a1a48d9ce26c8c303d
|
src/lib/miniaudio/miniaudio.c
|
src/lib/miniaudio/miniaudio.c
|
#define MINIAUDIO_IMPLEMENTATION
#define MA_ENABLE_ONLY_SPECIFIC_BACKENDS
#define MA_ENABLE_WASAPI
#define MA_ENABLE_PULSEAUDIO
#define MA_ENABLE_COREAUDIO
#define MA_ENABLE_AAUDIO
#define MA_ENABLE_WEBAUDIO
#define MA_NO_DECODING
#define MA_NO_ENCODING
#define MA_NO_GENERATION
#include "miniaudio.h"
|
#define MINIAUDIO_IMPLEMENTATION
#define MA_ENABLE_ONLY_SPECIFIC_BACKENDS
#define MA_ENABLE_WASAPI
#define MA_ENABLE_ALSA
#define MA_ENABLE_COREAUDIO
#define MA_ENABLE_AAUDIO
#define MA_ENABLE_WEBAUDIO
#define MA_NO_DECODING
#define MA_NO_ENCODING
#define MA_NO_GENERATION
#include "miniaudio.h"
|
Switch back to ALSA on Linux;
|
Switch back to ALSA on Linux;
|
C
|
mit
|
bjornbytes/lovr,bjornbytes/lovr,bjornbytes/lovr,bjornbytes/lovr,bjornbytes/lovr
|
fe416fb745fe4293e889d5179707051c959af921
|
tests/conform/test-conform-common.h
|
tests/conform/test-conform-common.h
|
/* Stuff you put in here is setup once in main() and gets passed around to
* all test functions and fixture setup/teardown functions in the data
* argument */
typedef struct _TestConformSharedState
{
int *argc_addr;
char ***argv_addr;
} TestConformSharedState;
/* This fixture structure is allocated by glib, and before running each test
* the test_conform_simple_fixture_setup func (see below) is called to
* initialise it, and test_conform_simple_fixture_teardown is called when
* the test is finished. */
typedef struct _TestConformSimpleFixture
{
/**/
} TestConformSimpleFixture;
void test_conform_simple_fixture_setup (TestConformSimpleFixture *fixture,
gconstpointer data);
void test_conform_simple_fixture_teardown (TestConformSimpleFixture *fixture,
gconstpointer data);
|
/* Stuff you put in here is setup once in main() and gets passed around to
* all test functions and fixture setup/teardown functions in the data
* argument */
typedef struct _TestConformSharedState
{
int *argc_addr;
char ***argv_addr;
} TestConformSharedState;
/* This fixture structure is allocated by glib, and before running each test
* the test_conform_simple_fixture_setup func (see below) is called to
* initialise it, and test_conform_simple_fixture_teardown is called when
* the test is finished. */
typedef struct _TestConformSimpleFixture
{
/**/
int dummy;
} TestConformSimpleFixture;
void test_conform_simple_fixture_setup (TestConformSimpleFixture *fixture,
gconstpointer data);
void test_conform_simple_fixture_teardown (TestConformSimpleFixture *fixture,
gconstpointer data);
|
Add int dummy; to empty struct TestConformSimpleFixture definition.
|
Add int dummy; to empty struct TestConformSimpleFixture definition.
|
C
|
lgpl-2.1
|
rkudiyarov/clutter_osx,djdeath/clutter,Distrotech/clutter,kerrickstaley/clutter-vala,dlespiau/clutter,spatulasnout/clutter,spatulasnout/clutter,heysion/clutter-clone,nobled/clutter,spatulasnout/clutter,Distrotech/clutter,jigpu/clutter,nobled/clutter,kerrickstaley/clutter-vala,djdeath/clutter,dlespiau/clutter,jigpu/clutter,ebassi/clutter,heysion/clutter-clone,kerrickstaley/clutter-vala,jigpu/clutter,ebassi/clutter,heysion/clutter-clone,GNOME/clutter,djdeath/clutter-android,collects/clutter,jigpu/clutter,ebassi/clutter,Distrotech/clutter,collects/clutter,djdeath/clutter-android,djdeath/clutter,djdeath/clutter-android,Distrotech/clutter,djdeath/clutter-android,Distrotech/clutter,djdeath/clutter-multithreaded,GNOME/clutter,spatulasnout/clutter,heysion/clutter-clone,rkudiyarov/clutter_osx,collects/clutter,nobled/clutter,djdeath/clutter-android,collects/clutter,GNOME/clutter,jigpu/clutter,kerrickstaley/clutter-vala,dlespiau/clutter,Distrotech/clutter,GNOME/clutter,heysion/clutter-clone,djdeath/clutter,rkudiyarov/clutter_osx,GNOME/clutter,djdeath/clutter,ebassi/clutter,rkudiyarov/clutter_osx,tardyp/clutter,tardyp/clutter,tardyp/clutter,collects/clutter,djdeath/clutter-multithreaded,spatulasnout/clutter,jigpu/clutter,djdeath/clutter-multithreaded,djdeath/clutter-multithreaded,djdeath/clutter,ebassi/clutter
|
a77d6c28473b9f106d5fc2d1d5ca4914e466ac16
|
test/simpletest_speed/speedtestplot.h
|
test/simpletest_speed/speedtestplot.h
|
#pragma once
#include <array>
#include <random>
#include "jkqtplotter/jkqtplotter.h"
#define NDATA 500
class SpeedTestPlot: public JKQtPlotter {
Q_OBJECT
protected:
std::array<double, NDATA> X, Y, Y2;
const double dx;
double x0;
std::chrono::system_clock::time_point t_lastplot;
public:
SpeedTestPlot();
virtual ~SpeedTestPlot();
public slots:
void plotNewData();
};
|
#pragma once
#include <array>
#include <random>
#include <chrono>
#include "jkqtplotter/jkqtplotter.h"
#define NDATA 500
class SpeedTestPlot: public JKQtPlotter {
Q_OBJECT
protected:
std::array<double, NDATA> X, Y, Y2;
const double dx;
double x0;
std::chrono::system_clock::time_point t_lastplot;
public:
SpeedTestPlot();
virtual ~SpeedTestPlot();
public slots:
void plotNewData();
};
|
Include <chrono> needed for chrono::system_clock
|
MSVC: Include <chrono> needed for chrono::system_clock
|
C
|
lgpl-2.1
|
jkriege2/JKQtPlotter,jkriege2/JKQtPlotter,jkriege2/JKQtPlotter
|
38551576a35f1b48b6b359470d6e876c5b671ab6
|
include/asm-mips/bugs.h
|
include/asm-mips/bugs.h
|
/*
* This is included by init/main.c to check for architecture-dependent bugs.
*
* Needs:
* void check_bugs(void);
*/
#ifndef _ASM_BUGS_H
#define _ASM_BUGS_H
#include <linux/config.h>
#include <asm/cpu.h>
#include <asm/cpu-info.h>
extern void check_bugs32(void);
extern void check_bugs64(void);
static inline void check_bugs(void)
{
unsigned int cpu = smp_processor_id();
cpu_data[cpu].udelay_val = loops_per_jiffy;
check_bugs32();
#ifdef CONFIG_64BIT
check_bugs64();
#endif
}
#endif /* _ASM_BUGS_H */
|
/*
* This is included by init/main.c to check for architecture-dependent bugs.
*
* Needs:
* void check_bugs(void);
*/
#ifndef _ASM_BUGS_H
#define _ASM_BUGS_H
#include <linux/config.h>
#include <linux/delay.h>
#include <asm/cpu.h>
#include <asm/cpu-info.h>
extern void check_bugs32(void);
extern void check_bugs64(void);
static inline void check_bugs(void)
{
unsigned int cpu = smp_processor_id();
cpu_data[cpu].udelay_val = loops_per_jiffy;
check_bugs32();
#ifdef CONFIG_64BIT
check_bugs64();
#endif
}
#endif /* _ASM_BUGS_H */
|
Build fix for certain configurations.
|
Build fix for certain configurations.
Signed-off-by: Ralf Baechle <92f48d309cda194c8eda36aa8f9ae28c488fa208@linux-mips.org>
|
C
|
apache-2.0
|
TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas
|
106f354f1fe8dc196665df581ea7b4e986b70ca6
|
JavaScriptCore/wtf/unicode/Unicode.h
|
JavaScriptCore/wtf/unicode/Unicode.h
|
// -*- c-basic-offset: 2 -*-
/*
* This file is part of the KDE libraries
* Copyright (C) 2006 George Staikos <staikos@kde.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public License
* along with this library; see the file COPYING.LIB. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*
*/
#ifndef KJS_UNICODE_H
#define KJS_UNICODE_H
#include <wtf/Platform.h>
#if USE(QT4_UNICODE)
#include "qt4/UnicodeQt4.h"
#elif USE(ICU_UNICODE)
#include <wtf/icu/UnicodeIcu.h>
#else
#error "Unknown Unicode implementation"
#endif
#endif
// vim: ts=2 sw=2 et
|
// -*- c-basic-offset: 2 -*-
/*
* This file is part of the KDE libraries
* Copyright (C) 2006 George Staikos <staikos@kde.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public License
* along with this library; see the file COPYING.LIB. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*
*/
#ifndef KJS_UNICODE_H
#define KJS_UNICODE_H
#include <wtf/Platform.h>
#if USE(QT4_UNICODE)
#include "qt4/UnicodeQt4.h"
#elif USE(ICU_UNICODE)
#include <wtf/unicode/icu/UnicodeIcu.h>
#else
#error "Unknown Unicode implementation"
#endif
#endif
// vim: ts=2 sw=2 et
|
Fix mac bustage (more still).
|
Fix mac bustage (more still).
git-svn-id: bf5cd6ccde378db821296732a091cfbcf5285fbd@18103 bbb929c8-8fbe-4397-9dbb-9b2b20218538
|
C
|
bsd-3-clause
|
primiano/blink-gitcs,primiano/blink-gitcs,primiano/blink-gitcs,primiano/blink-gitcs,primiano/blink-gitcs,primiano/blink-gitcs,primiano/blink-gitcs,primiano/blink-gitcs,primiano/blink-gitcs
|
c66bc667f912f6144223b6d259061942221a6469
|
src/slurp.c
|
src/slurp.c
|
#include <cgreen/slurp.h>
#include <stdlib.h>
#include <stdio.h>
static char *read_all(FILE *file, int gulp);
char *slurp(const char *file_name, int gulp) {
FILE *file = fopen(file_name, "r");
if (file == NULL) {
return NULL;
}
char *content = read_all(file, gulp);
fclose(file);
return content;
}
static char *read_all(FILE *file, int gulp) {
char *content = (char *)malloc((gulp + 1) * sizeof(char));
char *block = content;
for ( ; ; ) {
if (fgets(block, gulp + 1, file) == NULL) {
break;
}
block += gulp;
content = (char *)realloc(content, (block - content + 1) * sizeof(char));
}
return content;
}
|
#include <cgreen/slurp.h>
#include <stdlib.h>
#include <stdio.h>
#include <strings.h>
static char *read_all(FILE *file, int gulp);
char *slurp(const char *file_name, int gulp) {
FILE *file = fopen(file_name, "r");
if (file == NULL) {
return NULL;
}
char *content = read_all(file, gulp);
fclose(file);
return content;
}
static char *read_all(FILE *file, int gulp) {
char *content = (char *)malloc(0);
int sblock = (gulp + 1) * sizeof(char);
char *block = (char *)malloc(sblock);
int len = 0;
int add = 0;
char *p;
for ( ; ; ) {
if (fgets(block, sblock, file) == NULL) {
break;
}
len = strlen(block);
add += len;
p = (char *)realloc(content, add + 1);
if (p == NULL) {
exit(1);
}
content = p;
strncat(content, block, len);
}
content[add + 1] = '\0';
free(block);
return content;
}
|
Fix read_all and return content without segment fault
|
Fix read_all and return content without segment fault
|
C
|
lgpl-2.1
|
ykaliuta/cgreen-old,ykaliuta/cgreen-old,ykaliuta/cgreen-old,ykaliuta/cgreen-old,ykaliuta/cgreen-old
|
363f0c512d06d9d428ffe9529a5089e929b7c174
|
XCDYouTubeKit/XCDYouTubeKit.h
|
XCDYouTubeKit/XCDYouTubeKit.h
|
//
// Copyright (c) 2013-2015 Cédric Luthi. All rights reserved.
//
#import <Availability.h>
#import <XCDYouTubeKit/XCDYouTubeClient.h>
#import <XCDYouTubeKit/XCDYouTubeError.h>
#import <XCDYouTubeKit/XCDYouTubeOperation.h>
#import <XCDYouTubeKit/XCDYouTubeVideo.h>
#import <XCDYouTubeKit/XCDYouTubeVideoOperation.h>
#if TARGET_OS_IPHONE
#import <XCDYouTubeKit/XCDYouTubeVideoPlayerViewController.h>
#endif
|
//
// Copyright (c) 2013-2015 Cédric Luthi. All rights reserved.
//
#import <TargetConditionals.h>
#import <XCDYouTubeKit/XCDYouTubeClient.h>
#import <XCDYouTubeKit/XCDYouTubeError.h>
#import <XCDYouTubeKit/XCDYouTubeOperation.h>
#import <XCDYouTubeKit/XCDYouTubeVideo.h>
#import <XCDYouTubeKit/XCDYouTubeVideoOperation.h>
#if TARGET_OS_IOS || (!defined(TARGET_OS_IOS) && TARGET_OS_IPHONE)
#import <XCDYouTubeKit/XCDYouTubeVideoPlayerViewController.h>
#endif
|
Fix conditional import of XCDYouTubeVideoPlayerViewController.h
|
Fix conditional import of XCDYouTubeVideoPlayerViewController.h
TARGET_OS_IPHONE used to mean iOS (iPhone or iPad) device or simulator. With recent SDKs it means iOS or watchOS or tvOS.
|
C
|
mit
|
c0unt0/XCDYouTubeKit,twobitlabs/XCDYouTubeKit,morrisirrom/XCDYouTubeKit,twobitlabs/XCDYouTubeKit,twobitlabs/XCDYouTubeKit,mingsai/XCDYouTubeVideoPlayerViewController,mingsai/XCDYouTubeVideoPlayerViewController,kumabook/XCDYouTubeKit,creationst/XCDYouTubeKit,creationst/XCDYouTubeKit,0xced/XCDYouTubeKit,kumabook/XCDYouTubeKit,itamaker/XCDYouTubeKit,c0unt0/XCDYouTubeKit,mingsai/XCDYouTubeVideoPlayerViewController,gshaviv/XCDYouTubeVideoPlayerViewController,0xced/XCDYouTubeKit,gshaviv/XCDYouTubeVideoPlayerViewController,gshaviv/XCDYouTubeVideoPlayerViewController,twobitlabs/XCDYouTubeKit,morrisirrom/XCDYouTubeKit,kumabook/XCDYouTubeKit,mingsai/XCDYouTubeVideoPlayerViewController,0xced/XCDYouTubeKit,creationst/XCDYouTubeKit,kumabook/XCDYouTubeKit,kumabook/XCDYouTubeKit,itamaker/XCDYouTubeKit,creationst/XCDYouTubeKit,gshaviv/XCDYouTubeVideoPlayerViewController,morrisirrom/XCDYouTubeKit,kumabook/XCDYouTubeKit,gshaviv/XCDYouTubeVideoPlayerViewController,gshaviv/XCDYouTubeVideoPlayerViewController,c0unt0/XCDYouTubeKit,c0unt0/XCDYouTubeKit,morrisirrom/XCDYouTubeKit,0xced/XCDYouTubeKit,c0unt0/XCDYouTubeKit,morrisirrom/XCDYouTubeKit
|
9d357c7c8a3be7658385bd77aa9aec625c3df1f4
|
Source/Sources/SVGKSourceLocalFile.h
|
Source/Sources/SVGKSourceLocalFile.h
|
/**
*/
#import "SVGKSource.h"
@interface SVGKSourceLocalFile : SVGKSource
@property (nonatomic, retain) NSString* filePath;
+ (SVGKSource*)sourceFromFilename:(NSString*)p;
@end
|
/**
*/
#import "SVGKSource.h"
@interface SVGKSourceLocalFile : SVGKSource
@property (nonatomic, copy) NSString* filePath;
+ (SVGKSource*)sourceFromFilename:(NSString*)p;
@end
|
Copy the file path, just in case the string was mutable.
|
Copy the file path, just in case the string was mutable.
|
C
|
mit
|
MaddTheSane/SVGKit,seltzered/SVGKit,seltzered/SVGKit,seltzered/SVGKit,seltzered/SVGKit,seltzered/SVGKit,MaddTheSane/SVGKit,MaddTheSane/SVGKit,seltzered/SVGKit,MaddTheSane/SVGKit,MaddTheSane/SVGKit
|
7fe977dab356fbd7e86aa10bf83891761107c57c
|
arch/x86/kernel/sys_i386_32.c
|
arch/x86/kernel/sys_i386_32.c
|
/*
* This file contains various random system calls that
* have a non-standard calling sequence on the Linux/i386
* platform.
*/
#include <linux/errno.h>
#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/fs.h>
#include <linux/smp.h>
#include <linux/sem.h>
#include <linux/msg.h>
#include <linux/shm.h>
#include <linux/stat.h>
#include <linux/syscalls.h>
#include <linux/mman.h>
#include <linux/file.h>
#include <linux/utsname.h>
#include <linux/ipc.h>
#include <linux/uaccess.h>
#include <linux/unistd.h>
#include <asm/syscalls.h>
/*
* Do a system call from kernel instead of calling sys_execve so we
* end up with proper pt_regs.
*/
int kernel_execve(const char *filename,
const char *const argv[],
const char *const envp[])
{
long __res;
asm volatile ("push %%ebx ; movl %2,%%ebx ; int $0x80 ; pop %%ebx"
: "=a" (__res)
: "0" (__NR_execve), "ri" (filename), "c" (argv), "d" (envp) : "memory");
return __res;
}
|
/*
* This file contains various random system calls that
* have a non-standard calling sequence on the Linux/i386
* platform.
*/
#include <linux/errno.h>
#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/fs.h>
#include <linux/smp.h>
#include <linux/sem.h>
#include <linux/msg.h>
#include <linux/shm.h>
#include <linux/stat.h>
#include <linux/syscalls.h>
#include <linux/mman.h>
#include <linux/file.h>
#include <linux/utsname.h>
#include <linux/ipc.h>
#include <linux/uaccess.h>
#include <linux/unistd.h>
#include <asm/syscalls.h>
/*
* Do a system call from kernel instead of calling sys_execve so we
* end up with proper pt_regs.
*/
int kernel_execve(const char *filename,
const char *const argv[],
const char *const envp[])
{
long __res;
asm volatile ("int $0x80"
: "=a" (__res)
: "0" (__NR_execve), "b" (filename), "c" (argv), "d" (envp) : "memory");
return __res;
}
|
Make kernel_execve() suitable for stack unwinding
|
i386: Make kernel_execve() suitable for stack unwinding
The explicit saving and restoring of %ebx was confusing stack
unwind data consumers, and it is plain unnecessary to do this
within the asm(), since that was only introduced for PIC user
mode consumers of the original _syscall3() macro this was
derived from.
Signed-off-by: Jan Beulich <01de09643e0ae62e116f8bd77de435799874b456@novell.com>
Cc: Arnd Bergmann <f2c659f01951776204a6c5b902787d9019fbeebd@arndb.de>
LKML-Reference: <e5dad6bcedd721dbd69f509e405e80212e41ba1e@vpn.id2.novell.com>
Signed-off-by: Ingo Molnar <9dbbbf0688fedc85ad4da37637f1a64b8c718ee2@elte.hu>
|
C
|
apache-2.0
|
TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs
|
9ada9b0d140398e624ddf2256dfd7d850312ffa3
|
src/ee/common/UndoQuantumReleaseInterest.h
|
src/ee/common/UndoQuantumReleaseInterest.h
|
/* This file is part of VoltDB.
* Copyright (C) 2008-2019 VoltDB Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with VoltDB. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef UNDOQUANTUM_RELEASE_INTEREST_H_
#define UNDOQUANTUM_RELEASE_INTEREST_H_
namespace voltdb {
class UndoQuantumReleaseInterest {
public:
virtual void notifyQuantumRelease() = 0;
virtual ~UndoQuantumReleaseInterest() {}
inline bool isNewReleaseInterest(int64_t currentUndoToken) {
if (m_lastSeenUndoToken == currentUndoToken) {
return false;
}
else {
m_lastSeenUndoToken = currentUndoToken;
return true;
}
}
private:
int64_t m_lastSeenUndoToken;
};
}
#endif /* UNDOQUANTUM_H_ */
|
/* This file is part of VoltDB.
* Copyright (C) 2008-2019 VoltDB Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with VoltDB. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef UNDOQUANTUM_RELEASE_INTEREST_H_
#define UNDOQUANTUM_RELEASE_INTEREST_H_
namespace voltdb {
class UndoQuantumReleaseInterest {
public:
UndoQuantumReleaseInterest() : m_lastSeenUndoToken(-1);
virtual void notifyQuantumRelease() = 0;
virtual ~UndoQuantumReleaseInterest() {}
inline bool isNewReleaseInterest(int64_t currentUndoToken) {
if (m_lastSeenUndoToken == currentUndoToken) {
return false;
}
else {
m_lastSeenUndoToken = currentUndoToken;
return true;
}
}
private:
int64_t m_lastSeenUndoToken;
};
}
#endif /* UNDOQUANTUM_H_ */
|
Fix Valgrind variable initialization issue.
|
ENG-15084:
Fix Valgrind variable initialization issue.
|
C
|
agpl-3.0
|
VoltDB/voltdb,VoltDB/voltdb,VoltDB/voltdb,VoltDB/voltdb,VoltDB/voltdb,VoltDB/voltdb,VoltDB/voltdb
|
c8a66e76734dc2f6066b113aba3085c20f34f00b
|
Settings/Controls/ProgressBar.h
|
Settings/Controls/ProgressBar.h
|
#pragma once
#include "Control.h"
#include "StatusCallback.h"
class ProgressBar : public Control, public StatusCallback {
public:
ProgressBar(int id, Dialog &parent, bool translate = true) :
Control(id, parent, translate) {
}
protected:
virtual IFACEMETHODIMP OnProgress(
unsigned long ulProgress,
unsigned long ulProgressMax,
unsigned long ulStatusCode,
LPCWSTR szStatusText
);
};
|
#pragma once
#include "Control.h"
#include "StatusCallback.h"
#include <CommCtrl.h>
class ProgressBar : public Control, public StatusCallback {
public:
ProgressBar(int id, Dialog &parent, bool translate = true) :
Control(id, parent, translate) {
}
void Range(int min, int max) {
SendMessage(_hWnd, PBM_SETRANGE32, min, max);
}
void Position(int pos) {
SendMessage(_hWnd, PBM_SETPOS, pos, 0);
}
void Marquee(bool enabled, int refresh = 30) {
SendMessage(_hWnd, PBM_SETMARQUEE, enabled, refresh);
}
protected:
virtual IFACEMETHODIMP OnProgress(
unsigned long ulProgress,
unsigned long ulProgressMax,
unsigned long ulStatusCode,
LPCWSTR szStatusText
);
};
|
Add basic implementation of progress bar methods
|
Add basic implementation of progress bar methods
|
C
|
bsd-2-clause
|
malensek/3RVX,malensek/3RVX,malensek/3RVX
|
0504744a68b12790189e00ea21289ced208f88e1
|
src/imap/cmd-create.c
|
src/imap/cmd-create.c
|
/* Copyright (C) 2002 Timo Sirainen */
#include "common.h"
#include "commands.h"
int cmd_create(Client *client)
{
const char *mailbox;
/* <mailbox> */
if (!client_read_string_args(client, 1, &mailbox))
return FALSE;
if (!client_verify_mailbox_name(client, mailbox, FALSE, TRUE))
return TRUE;
if (mailbox[strlen(mailbox)-1] == client->storage->hierarchy_sep) {
/* name ends with hierarchy separator - client is just
informing us that it wants to create a mailbox under
this name. we don't need that information. */
} else if (!client->storage->create_mailbox(client->storage, mailbox)) {
client_send_storage_error(client);
return TRUE;
}
client_send_tagline(client, "OK Create completed.");
return TRUE;
}
|
/* Copyright (C) 2002 Timo Sirainen */
#include "common.h"
#include "commands.h"
int cmd_create(Client *client)
{
const char *mailbox;
int ignore;
/* <mailbox> */
if (!client_read_string_args(client, 1, &mailbox))
return FALSE;
ignore = mailbox[strlen(mailbox)-1] == client->storage->hierarchy_sep;
if (ignore) {
/* name ends with hierarchy separator - client is just
informing us that it wants to create a mailbox under
this name. we don't need that information, but verify
that the mailbox name is valid */
mailbox = t_strndup(mailbox, strlen(mailbox)-1);
}
if (!client_verify_mailbox_name(client, mailbox, FALSE, !ignore))
return TRUE;
if (!ignore &&
!client->storage->create_mailbox(client->storage, mailbox)) {
client_send_storage_error(client);
return TRUE;
}
client_send_tagline(client, "OK Create completed.");
return TRUE;
}
|
CREATE mailbox<hierarchy separator> failed always.
|
CREATE mailbox<hierarchy separator> failed always.
--HG--
branch : HEAD
|
C
|
mit
|
jkerihuel/dovecot,dscho/dovecot,jwm/dovecot-notmuch,jwm/dovecot-notmuch,dscho/dovecot,jkerihuel/dovecot,dscho/dovecot,jkerihuel/dovecot,jkerihuel/dovecot,dscho/dovecot,jwm/dovecot-notmuch,jwm/dovecot-notmuch,jkerihuel/dovecot,dscho/dovecot,jwm/dovecot-notmuch
|
37a5cee2b4362014d6c0f81c82b2f75d7a5204f6
|
src/lib/str-sanitize.c
|
src/lib/str-sanitize.c
|
/* Copyright (c) 2004 Timo Sirainen */
#include "lib.h"
#include "str.h"
#include "str-sanitize.h"
void str_sanitize_append(string_t *dest, const char *src, size_t max_len)
{
const char *p;
for (p = src; *p != '\0'; p++) {
if ((unsigned char)*p < 32)
break;
}
str_append_n(dest, src, (size_t)(p - src));
for (; *p != '\0' && max_len > 0; p++, max_len--) {
if ((unsigned char)*p < 32)
str_append_c(dest, '?');
else
str_append_c(dest, *p);
}
if (*p != '\0') {
str_truncate(dest, str_len(dest)-3);
str_append(dest, "...");
}
}
const char *str_sanitize(const char *src, size_t max_len)
{
string_t *str;
str = t_str_new(I_MIN(max_len, 256));
str_sanitize_append(str, src, max_len);
return str_c(str);
}
|
/* Copyright (c) 2004 Timo Sirainen */
#include "lib.h"
#include "str.h"
#include "str-sanitize.h"
void str_sanitize_append(string_t *dest, const char *src, size_t max_len)
{
const char *p;
for (p = src; *p != '\0'; p++) {
if (((unsigned char)*p & 0x7f) < 32)
break;
}
str_append_n(dest, src, (size_t)(p - src));
for (; *p != '\0' && max_len > 0; p++, max_len--) {
if (((unsigned char)*p & 0x7f) < 32)
str_append_c(dest, '?');
else
str_append_c(dest, *p);
}
if (*p != '\0') {
str_truncate(dest, str_len(dest)-3);
str_append(dest, "...");
}
}
const char *str_sanitize(const char *src, size_t max_len)
{
string_t *str;
str = t_str_new(I_MIN(max_len, 256));
str_sanitize_append(str, src, max_len);
return str_c(str);
}
|
Convert also 0x80..0x9f characters to '?'
|
Convert also 0x80..0x9f characters to '?'
--HG--
branch : HEAD
|
C
|
mit
|
jwm/dovecot-notmuch,jkerihuel/dovecot,jkerihuel/dovecot,jwm/dovecot-notmuch,jwm/dovecot-notmuch,jkerihuel/dovecot,jkerihuel/dovecot,jwm/dovecot-notmuch,jkerihuel/dovecot,jwm/dovecot-notmuch
|
c5f452b443b6e198d5ebeee9e2fa9b9efafcf61e
|
include/swift/Basic/Timer.h
|
include/swift/Basic/Timer.h
|
//===--- Timer.h - Shared timers for compilation phases ---------*- C++ -*-===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/LICENSE.txt for license information
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//
#ifndef SWIFT_BASIC_TIMER_H
#define SWIFT_BASIC_TIMER_H
#include "swift/Basic/LLVM.h"
#include "llvm/ADT/Optional.h"
#include "llvm/Support/Timer.h"
namespace swift {
/// A convenience class for declaring a timer that's part of the Swift
/// compilation timers group.
class SharedTimer {
enum class State {
Initial,
Skipped,
Enabled
};
static State CompilationTimersEnabled;
Optional<llvm::NamedRegionTimer> Timer;
public:
explicit SharedTimer(StringRef name) {
if (CompilationTimersEnabled == State::Enabled)
Timer.emplace(name, StringRef("Swift compilation"), StringRef("swift"),
StringRef("swift related timers"));
else
CompilationTimersEnabled = State::Skipped;
}
/// Must be called before any SharedTimers have been created.
static void enableCompilationTimers() {
assert(CompilationTimersEnabled != State::Skipped &&
"a timer has already been created");
CompilationTimersEnabled = State::Enabled;
}
};
} // end namespace swift
#endif // SWIFT_BASIC_TIMER_H
|
//===--- Timer.h - Shared timers for compilation phases ---------*- C++ -*-===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/LICENSE.txt for license information
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//
#ifndef SWIFT_BASIC_TIMER_H
#define SWIFT_BASIC_TIMER_H
#include "swift/Basic/LLVM.h"
#include "llvm/ADT/Optional.h"
#include "llvm/Support/Timer.h"
namespace swift {
/// A convenience class for declaring a timer that's part of the Swift
/// compilation timers group.
class SharedTimer {
enum class State {
Initial,
Skipped,
Enabled
};
static State CompilationTimersEnabled;
Optional<llvm::NamedRegionTimer> Timer;
public:
explicit SharedTimer(StringRef name) {
if (CompilationTimersEnabled == State::Enabled)
Timer.emplace(name, name, "swift", "Swift compilation");
else
CompilationTimersEnabled = State::Skipped;
}
/// Must be called before any SharedTimers have been created.
static void enableCompilationTimers() {
assert(CompilationTimersEnabled != State::Skipped &&
"a timer has already been created");
CompilationTimersEnabled = State::Enabled;
}
};
} // end namespace swift
#endif // SWIFT_BASIC_TIMER_H
|
Fix 2f21735 to actually distinguish phases.
|
-debug-time-compilation: Fix 2f21735 to actually distinguish phases.
https://bugs.swift.org/browse/SR-4100
|
C
|
apache-2.0
|
bitjammer/swift,brentdax/swift,natecook1000/swift,atrick/swift,frootloops/swift,karwa/swift,shahmishal/swift,return/swift,OscarSwanros/swift,devincoughlin/swift,frootloops/swift,jopamer/swift,bitjammer/swift,tkremenek/swift,airspeedswift/swift,tjw/swift,felix91gr/swift,jckarter/swift,milseman/swift,hooman/swift,xwu/swift,JGiola/swift,xedin/swift,jtbandes/swift,djwbrown/swift,CodaFi/swift,lorentey/swift,codestergit/swift,harlanhaskins/swift,xwu/swift,manavgabhawala/swift,jtbandes/swift,felix91gr/swift,codestergit/swift,devincoughlin/swift,tjw/swift,jckarter/swift,OscarSwanros/swift,jckarter/swift,bitjammer/swift,arvedviehweger/swift,jmgc/swift,airspeedswift/swift,frootloops/swift,practicalswift/swift,practicalswift/swift,djwbrown/swift,karwa/swift,calebd/swift,roambotics/swift,tkremenek/swift,hughbe/swift,gregomni/swift,xedin/swift,devincoughlin/swift,aschwaighofer/swift,danielmartin/swift,sschiau/swift,aschwaighofer/swift,stephentyrone/swift,Jnosh/swift,manavgabhawala/swift,jopamer/swift,natecook1000/swift,JGiola/swift,tkremenek/swift,danielmartin/swift,glessard/swift,jmgc/swift,xwu/swift,aschwaighofer/swift,ahoppen/swift,tkremenek/swift,milseman/swift,allevato/swift,Jnosh/swift,CodaFi/swift,swiftix/swift,swiftix/swift,Jnosh/swift,atrick/swift,huonw/swift,deyton/swift,roambotics/swift,gribozavr/swift,djwbrown/swift,hughbe/swift,glessard/swift,amraboelela/swift,xedin/swift,roambotics/swift,austinzheng/swift,sschiau/swift,felix91gr/swift,CodaFi/swift,stephentyrone/swift,shahmishal/swift,gregomni/swift,stephentyrone/swift,calebd/swift,jopamer/swift,uasys/swift,OscarSwanros/swift,manavgabhawala/swift,parkera/swift,Jnosh/swift,airspeedswift/swift,nathawes/swift,jopamer/swift,atrick/swift,alblue/swift,stephentyrone/swift,natecook1000/swift,Jnosh/swift,karwa/swift,shajrawi/swift,shahmishal/swift,amraboelela/swift,hooman/swift,tinysun212/swift-windows,arvedviehweger/swift,aschwaighofer/swift,deyton/swift,atrick/swift,milseman/swift,brentdax/swift,benlangmuir/swift,felix91gr/swift,gribozavr/swift,devincoughlin/swift,harlanhaskins/swift,shajrawi/swift,allevato/swift,CodaFi/swift,deyton/swift,apple/swift,roambotics/swift,practicalswift/swift,jmgc/swift,jmgc/swift,uasys/swift,frootloops/swift,jtbandes/swift,glessard/swift,CodaFi/swift,lorentey/swift,Jnosh/swift,tjw/swift,rudkx/swift,shahmishal/swift,huonw/swift,bitjammer/swift,jopamer/swift,natecook1000/swift,benlangmuir/swift,airspeedswift/swift,allevato/swift,karwa/swift,huonw/swift,ahoppen/swift,calebd/swift,jtbandes/swift,devincoughlin/swift,parkera/swift,rudkx/swift,benlangmuir/swift,danielmartin/swift,jckarter/swift,zisko/swift,hooman/swift,milseman/swift,airspeedswift/swift,alblue/swift,allevato/swift,harlanhaskins/swift,stephentyrone/swift,shahmishal/swift,arvedviehweger/swift,tinysun212/swift-windows,hughbe/swift,codestergit/swift,calebd/swift,return/swift,uasys/swift,karwa/swift,gribozavr/swift,parkera/swift,xedin/swift,benlangmuir/swift,return/swift,codestergit/swift,xedin/swift,gribozavr/swift,amraboelela/swift,rudkx/swift,glessard/swift,practicalswift/swift,austinzheng/swift,natecook1000/swift,ahoppen/swift,gribozavr/swift,hooman/swift,amraboelela/swift,shajrawi/swift,practicalswift/swift,gribozavr/swift,arvedviehweger/swift,bitjammer/swift,allevato/swift,alblue/swift,brentdax/swift,deyton/swift,nathawes/swift,bitjammer/swift,lorentey/swift,shajrawi/swift,parkera/swift,shahmishal/swift,tkremenek/swift,manavgabhawala/swift,austinzheng/swift,djwbrown/swift,huonw/swift,danielmartin/swift,hughbe/swift,parkera/swift,return/swift,jtbandes/swift,uasys/swift,lorentey/swift,parkera/swift,sschiau/swift,xwu/swift,swiftix/swift,milseman/swift,djwbrown/swift,devincoughlin/swift,rudkx/swift,glessard/swift,apple/swift,manavgabhawala/swift,tjw/swift,amraboelela/swift,sschiau/swift,milseman/swift,OscarSwanros/swift,danielmartin/swift,atrick/swift,xwu/swift,deyton/swift,sschiau/swift,OscarSwanros/swift,amraboelela/swift,rudkx/swift,return/swift,jckarter/swift,codestergit/swift,gregomni/swift,sschiau/swift,natecook1000/swift,jckarter/swift,felix91gr/swift,benlangmuir/swift,practicalswift/swift,karwa/swift,danielmartin/swift,jtbandes/swift,zisko/swift,hooman/swift,harlanhaskins/swift,lorentey/swift,tinysun212/swift-windows,arvedviehweger/swift,frootloops/swift,tinysun212/swift-windows,JGiola/swift,nathawes/swift,JGiola/swift,manavgabhawala/swift,codestergit/swift,apple/swift,apple/swift,glessard/swift,arvedviehweger/swift,zisko/swift,jckarter/swift,hughbe/swift,allevato/swift,xedin/swift,harlanhaskins/swift,uasys/swift,CodaFi/swift,calebd/swift,return/swift,rudkx/swift,lorentey/swift,sschiau/swift,apple/swift,brentdax/swift,brentdax/swift,lorentey/swift,zisko/swift,hooman/swift,nathawes/swift,devincoughlin/swift,alblue/swift,JGiola/swift,jtbandes/swift,xedin/swift,shahmishal/swift,lorentey/swift,shajrawi/swift,manavgabhawala/swift,danielmartin/swift,hooman/swift,swiftix/swift,hughbe/swift,tinysun212/swift-windows,tinysun212/swift-windows,shahmishal/swift,apple/swift,huonw/swift,huonw/swift,jmgc/swift,tinysun212/swift-windows,ahoppen/swift,codestergit/swift,amraboelela/swift,xwu/swift,harlanhaskins/swift,stephentyrone/swift,tkremenek/swift,milseman/swift,jopamer/swift,calebd/swift,zisko/swift,nathawes/swift,zisko/swift,austinzheng/swift,sschiau/swift,calebd/swift,tkremenek/swift,stephentyrone/swift,gregomni/swift,swiftix/swift,ahoppen/swift,uasys/swift,deyton/swift,gribozavr/swift,djwbrown/swift,austinzheng/swift,airspeedswift/swift,gregomni/swift,aschwaighofer/swift,alblue/swift,brentdax/swift,djwbrown/swift,austinzheng/swift,harlanhaskins/swift,tjw/swift,deyton/swift,karwa/swift,felix91gr/swift,natecook1000/swift,frootloops/swift,swiftix/swift,uasys/swift,airspeedswift/swift,shajrawi/swift,jmgc/swift,ahoppen/swift,felix91gr/swift,frootloops/swift,arvedviehweger/swift,nathawes/swift,tjw/swift,devincoughlin/swift,aschwaighofer/swift,CodaFi/swift,swiftix/swift,roambotics/swift,alblue/swift,bitjammer/swift,atrick/swift,gribozavr/swift,huonw/swift,JGiola/swift,hughbe/swift,benlangmuir/swift,practicalswift/swift,allevato/swift,zisko/swift,xwu/swift,OscarSwanros/swift,gregomni/swift,Jnosh/swift,alblue/swift,jopamer/swift,jmgc/swift,aschwaighofer/swift,karwa/swift,shajrawi/swift,shajrawi/swift,practicalswift/swift,roambotics/swift,nathawes/swift,austinzheng/swift,parkera/swift,parkera/swift,return/swift,xedin/swift,OscarSwanros/swift,brentdax/swift,tjw/swift
|
9c77ab663af99b59a73e9698b8c69029c248b9e8
|
Source/UnrealEnginePython/Public/UnrealEnginePython.h
|
Source/UnrealEnginePython/Public/UnrealEnginePython.h
|
// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "ModuleManager.h"
DECLARE_LOG_CATEGORY_EXTERN(LogPython, Log, All);
class UNREALENGINEPYTHON_API FUnrealEnginePythonModule : public IModuleInterface
{
public:
bool PythonGILAcquire();
void PythonGILRelease();
virtual void StartupModule() override;
virtual void ShutdownModule() override;
void RunString(char *);
void RunFile(char *);
void RunFileSandboxed(char *);
private:
void *ue_python_gil;
// used by console
void *main_dict;
void *local_dict;
void *main_module;
};
struct FScopePythonGIL {
FScopePythonGIL()
{
#if defined(UEPY_THREADING)
UnrealEnginePythonModule = FModuleManager::LoadModuleChecked<FUnrealEnginePythonModule>("UnrealEnginePython");
safeForRelease = UnrealEnginePythonModule.PythonGILAcquire();
#endif
}
~FScopePythonGIL()
{
#if defined(UEPY_THREADING)
if (safeForRelease) {
UnrealEnginePythonModule.PythonGILRelease();
}
#endif
}
FUnrealEnginePythonModule UnrealEnginePythonModule;
bool safeForRelease;
};
|
// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "ModuleManager.h"
DECLARE_LOG_CATEGORY_EXTERN(LogPython, Log, All);
class UNREALENGINEPYTHON_API FUnrealEnginePythonModule : public IModuleInterface
{
public:
bool PythonGILAcquire();
void PythonGILRelease();
virtual void StartupModule() override;
virtual void ShutdownModule() override;
void RunString(char *);
void RunFile(char *);
void RunFileSandboxed(char *);
private:
void *ue_python_gil;
// used by console
void *main_dict;
void *local_dict;
};
struct FScopePythonGIL {
FScopePythonGIL()
{
#if defined(UEPY_THREADING)
UnrealEnginePythonModule = FModuleManager::LoadModuleChecked<FUnrealEnginePythonModule>("UnrealEnginePython");
safeForRelease = UnrealEnginePythonModule.PythonGILAcquire();
#endif
}
~FScopePythonGIL()
{
#if defined(UEPY_THREADING)
if (safeForRelease) {
UnrealEnginePythonModule.PythonGILRelease();
}
#endif
}
FUnrealEnginePythonModule UnrealEnginePythonModule;
bool safeForRelease;
};
|
Revert "Add support for the Python Stdout Log"
|
Revert "Add support for the Python Stdout Log"
This reverts commit 6dd58324c052cc893f6ce8f009903805185a71d1.
|
C
|
mit
|
kitelightning/UnrealEnginePython,Orav/UnrealEnginePython,kitelightning/UnrealEnginePython,getnamo/UnrealEnginePython,20tab/UnrealEnginePython,getnamo/UnrealEnginePython,Orav/UnrealEnginePython,getnamo/UnrealEnginePython,getnamo/UnrealEnginePython,Orav/UnrealEnginePython,Orav/UnrealEnginePython,20tab/UnrealEnginePython,kitelightning/UnrealEnginePython,getnamo/UnrealEnginePython,kitelightning/UnrealEnginePython,20tab/UnrealEnginePython,20tab/UnrealEnginePython,20tab/UnrealEnginePython,kitelightning/UnrealEnginePython
|
308768c5b18790f8154396db181abefca65c699c
|
cbits/counter.c
|
cbits/counter.c
|
#include <stdlib.h>
#include "HsFFI.h"
StgInt* hs_counter_new(void) {
StgInt* counter = malloc(sizeof(StgInt));
*counter = 0;
return counter;
}
void hs_counter_add(volatile StgInt* counter, StgInt n) {
StgInt temp = n;
#if SIZEOF_VOID_P == 8
__asm__ __volatile__("lock; xaddq %0,%1"
#elif SIZEOF_VOID_P == 4
__asm__ __volatile__("lock; xaddl %0,%1"
#else
# error GHC untested on this architecture: sizeof(void *) != 4 or 8
#endif
: "+r" (temp), "+m" (*counter)
: : "cc", "memory");
}
StgInt hs_counter_read(volatile const StgInt* counter) {
return *counter;
}
|
#include <stdlib.h>
#include "HsFFI.h"
StgInt* hs_counter_new(void) {
StgInt* counter = malloc(sizeof(StgInt));
*counter = 0;
return counter;
}
void hs_counter_add(volatile StgInt* counter, StgInt n) {
__sync_fetch_and_add(counter, n);
}
StgInt hs_counter_read(volatile const StgInt* counter) {
return *counter;
}
|
Use GCC builtins instead of inline asm
|
Use GCC builtins instead of inline asm
|
C
|
bsd-3-clause
|
sopvop/ekg,bitemyapp/ekg,seanparsons/ekg,sopvop/ekg,bitemyapp/ekg,seanparsons/ekg
|
2faaefade94d1ded2d246a90081aca781d6ff56e
|
tests/torture.c
|
tests/torture.c
|
#include <stdio.h>
#include <libssh/libssh.h>
#include "torture.h"
static int verbosity = 0;
int torture_libssh_verbosity(void){
return verbosity;
}
int main(int argc, char **argv) {
int rc;
(void) argc;
(void) argv;
ssh_init();
rc = torture_run_tests();
ssh_finalize();
return rc;
}
|
#include "torture.h"
#include <stdio.h>
static int verbosity = 0;
int torture_libssh_verbosity(void){
return verbosity;
}
int main(int argc, char **argv) {
(void) argc;
(void) argv;
return torture_run_tests();
}
|
Revert "tests: Call ssh_init() and ssh_finalize() before we run the tests."
|
Revert "tests: Call ssh_init() and ssh_finalize() before we run the tests."
Reason: breaks test_rand, because threading has to be initialized
before ssh_init()
This reverts commit ef1866db76ed10d64bf8cf97111554b2b2eb1278.
|
C
|
lgpl-2.1
|
kedazo/libssh,sebadoom/libssh,bigcat26/libssh-mod,miloj/libssh-v0.5,sebadoom/libssh,pouete/libssh,mwgoldsmith/ssh,jahrome/libssh,taikoo/libssh,kedazo/libssh,Distrotech/libssh,DouglasHeriot/libssh,rofl0r/libssh,robxu9/libssh,sebadoom/libssh,taikoo/libssh,robxu9/libssh,DouglasHeriot/libssh,jt1/honeypot-libssh,nviennot/libssh,jt1/honeypot-libssh,mwgoldsmith/libssh,miloj/libssh-v0.5,pouete/libssh,robxu9/libssh,kedazo/libssh,nviennot/libssh,miloj/libssh-v0.5,rofl0r/libssh,jahrome/libssh,DouglasHeriot/libssh,robxu9/libssh,nviennot/libssh,taikoo/libssh,bigcat26/libssh-mod,jt1/honeypot-libssh,bigcat26/libssh-mod,miloj/libssh-v0.5,rofl0r/libssh,nviennot/libssh,elastichosts/libssh,Distrotech/libssh,mwgoldsmith/ssh,pouete/libssh,jahrome/libssh,mwgoldsmith/ssh,taikoo/libssh,sebadoom/libssh,DouglasHeriot/libssh,bigcat26/libssh-mod,substack/libssh,wangshawn/libssh,elastichosts/libssh,mwgoldsmith/libssh,elastichosts/libssh,substack/libssh,pouete/libssh,wangshawn/libssh,kedazo/libssh,mwgoldsmith/libssh,jt1/honeypot-libssh,Distrotech/libssh,Distrotech/libssh,jahrome/libssh,substack/libssh,mwgoldsmith/libssh,wangshawn/libssh,mwgoldsmith/ssh,rofl0r/libssh,wangshawn/libssh,substack/libssh
|
4909c1c0f260f2fcae73dd48982e2a4f22025e99
|
tests/test-x509.c
|
tests/test-x509.c
|
#include <mongoc.h>
#include <mongoc-openssl-private.h>
#include "TestSuite.h"
static void
test_extract_subject (void)
{
char *subject;
subject = _mongoc_openssl_extract_subject (BINARY_DIR"/../certificates/client.pem");
ASSERT (0 == strcmp (subject, "CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US"));
bson_free (subject);
}
void
test_x509_install (TestSuite *suite)
{
TestSuite_Add (suite, "/SSL/extract_subject", test_extract_subject);
}
|
#include <mongoc.h>
#include <mongoc-openssl-private.h>
#include "TestSuite.h"
static void
test_extract_subject (void)
{
char *subject;
subject = mongoc_ssl_extract_subject (BINARY_DIR"/../certificates/client.pem");
ASSERT_CMPSTR (subject, "CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US");
bson_free (subject);
}
void
test_x509_install (TestSuite *suite)
{
TestSuite_Add (suite, "/SSL/extract_subject", test_extract_subject);
}
|
Improve test output on failure
|
Improve test output on failure
|
C
|
apache-2.0
|
remicollet/mongo-c-driver,acmorrow/mongo-c-driver,christopherjwang/mongo-c-driver,mschoenlaub/mongo-c-driver,Convey-Compliance/mongo-c-driver,mongodb/mongo-c-driver,derickr/mongo-c-driver,jmikola/mongo-c-driver,Machyne/mongo-c-driver,Convey-Compliance/mongo-c-driver,remicollet/mongo-c-driver,bjori/mongo-c-driver,bjori/mongo-c-driver,beingmeta/mongo-c-driver,Convey-Compliance/mongo-c-driver,bjori/mongo-c-driver,jmikola/mongo-c-driver,rcsanchez97/mongo-c-driver,Machyne/mongo-c-driver,beingmeta/mongo-c-driver,derickr/mongo-c-driver,bjori/mongo-c-driver,ajdavis/mongo-c-driver,malexzx/mongo-c-driver,remicollet/mongo-c-driver,beingmeta/mongo-c-driver,remicollet/mongo-c-driver,ac000/mongo-c-driver,acmorrow/mongo-c-driver,rcsanchez97/mongo-c-driver,ac000/mongo-c-driver,ajdavis/mongo-c-driver,mongodb/mongo-c-driver,jmikola/mongo-c-driver,jmikola/mongo-c-driver,bjori/mongo-c-driver,rcsanchez97/mongo-c-driver,ajdavis/mongo-c-driver,bjori/mongo-c-driver,derickr/mongo-c-driver,derickr/mongo-c-driver,christopherjwang/mongo-c-driver,ajdavis/mongo-c-driver,malexzx/mongo-c-driver,mongodb/mongo-c-driver,Machyne/mongo-c-driver,malexzx/mongo-c-driver,christopherjwang/mongo-c-driver,ajdavis/mongo-c-driver,remicollet/mongo-c-driver,jmikola/mongo-c-driver,rcsanchez97/mongo-c-driver,Convey-Compliance/mongo-c-driver,acmorrow/mongo-c-driver,mschoenlaub/mongo-c-driver,ajdavis/mongo-c-driver,ac000/mongo-c-driver,rcsanchez97/mongo-c-driver,beingmeta/mongo-c-driver,acmorrow/mongo-c-driver,acmorrow/mongo-c-driver,remicollet/mongo-c-driver,Machyne/mongo-c-driver,beingmeta/mongo-c-driver,rcsanchez97/mongo-c-driver,mongodb/mongo-c-driver,mongodb/mongo-c-driver,beingmeta/mongo-c-driver,acmorrow/mongo-c-driver,mongodb/mongo-c-driver,derickr/mongo-c-driver,Convey-Compliance/mongo-c-driver,christopherjwang/mongo-c-driver,bjori/mongo-c-driver,jmikola/mongo-c-driver,malexzx/mongo-c-driver,jmikola/mongo-c-driver,acmorrow/mongo-c-driver,beingmeta/mongo-c-driver,mschoenlaub/mongo-c-driver,ajdavis/mongo-c-driver,mschoenlaub/mongo-c-driver,mongodb/mongo-c-driver,remicollet/mongo-c-driver,derickr/mongo-c-driver,derickr/mongo-c-driver,rcsanchez97/mongo-c-driver,beingmeta/mongo-c-driver
|
a6e34734d37e483cff850ab23f5541e259e68a5a
|
Specta/Specta/SpectaUtility.h
|
Specta/Specta/SpectaUtility.h
|
#import <Foundation/Foundation.h>
extern NSString * const spt_kCurrentTestSuiteKey;
extern NSString * const spt_kCurrentSpecKey;
#define SPTCurrentTestSuite [[NSThread currentThread] threadDictionary][spt_kCurrentTestSuiteKey]
#define SPTCurrentSpec [[NSThread currentThread] threadDictionary][spt_kCurrentSpecKey]
#define SPTCurrentGroup [SPTCurrentTestSuite currentGroup]
#define SPTGroupStack [SPTCurrentTestSuite groupStack]
#define SPTReturnUnlessBlockOrNil(block) if ((block) && !SPTIsBlock((block))) return;
#define SPTIsBlock(obj) [(obj) isKindOfClass:NSClassFromString(@"NSBlock")]
BOOL spt_isSpecClass(Class aClass);
NSString *spt_underscorize(NSString *string);
NSArray *spt_map(NSArray *array, id (^block)(id obj, NSUInteger idx));
NSArray *spt_shuffle(NSArray *array);
unsigned int spt_seed();
|
#import <Foundation/Foundation.h>
extern NSString * const spt_kCurrentTestSuiteKey;
extern NSString * const spt_kCurrentSpecKey;
#define SPTCurrentTestSuite [[NSThread mainThread] threadDictionary][spt_kCurrentTestSuiteKey]
#define SPTCurrentSpec [[NSThread mainThread] threadDictionary][spt_kCurrentSpecKey]
#define SPTCurrentGroup [SPTCurrentTestSuite currentGroup]
#define SPTGroupStack [SPTCurrentTestSuite groupStack]
#define SPTReturnUnlessBlockOrNil(block) if ((block) && !SPTIsBlock((block))) return;
#define SPTIsBlock(obj) [(obj) isKindOfClass:NSClassFromString(@"NSBlock")]
BOOL spt_isSpecClass(Class aClass);
NSString *spt_underscorize(NSString *string);
NSArray *spt_map(NSArray *array, id (^block)(id obj, NSUInteger idx));
NSArray *spt_shuffle(NSArray *array);
unsigned int spt_seed();
|
Fix for reporting specta/expecta failures on the main thread.
|
Fix for reporting specta/expecta failures on the main thread.
|
C
|
mit
|
alvinvarghese/specta,jmoody/specta,lmtim/specta,specta/specta,ExtremeMan/specta,PatrykKaczmarek/specta,adamkaplan/specta,ernestopino/specta,flovilmart/specta,segiddins/specta,dbarden/specta,iosdev-republicofapps/specta,wessmith/specta,ShawnLeee/specta,Vungle/specta,hanangellove/specta,Lightricks/specta,Taptera/specta,rad3ks/specta,iguchunhui/specta,mickeyreiss/specta
|
28897da572e0d9b63c40fd66cbd4335a7236feb5
|
Artsy/Tooling/ARDispatchManager.h
|
Artsy/Tooling/ARDispatchManager.h
|
// Dispatches asyncronously unless ARPerformWorkSynchronously is set on the shared dispatch manager
extern void ar_dispatch_async(dispatch_block_t block);
// Dispatches to the main queue unless ARPerformWorkSynchronously is set on the shared dispatch manager
extern void ar_dispatch_main_queue(dispatch_block_t block);
// Dispatches to a queue unless ARPerformWorkSynchronously is set on the shared dispatch manager
extern void ar_dispatch_on_queue(dispatch_queue_t queue, dispatch_block_t block);
extern void ar_dispatch_after_on_queue(float seconds, dispatch_queue_t queue, dispatch_block_t block);
extern void ar_dispatch_after(float seconds, dispatch_block_t block);
@interface ARDispatchManager : NSObject
+ (instancetype)sharedManager;
@end
|
extern void ar_dispatch_async(dispatch_block_t block);
extern void ar_dispatch_main_queue(dispatch_block_t block);
// Dispatches to a queue unless ARPerformWorkAsynchronously is set to false
extern void ar_dispatch_on_queue(dispatch_queue_t queue, dispatch_block_t block);
extern void ar_dispatch_after_on_queue(float seconds, dispatch_queue_t queue, dispatch_block_t block);
extern void ar_dispatch_after(float seconds, dispatch_block_t block);
@interface ARDispatchManager : NSObject
+ (instancetype)sharedManager;
@end
|
Remove + fix erroneous comments
|
Remove + fix erroneous comments
|
C
|
mit
|
gaurav1981/eigen,Shawn-WangDapeng/eigen,mbogh/eigen,neonichu/eigen,Havi4/eigen,ppamorim/eigen,ichu501/eigen,mbogh/eigen,ppamorim/eigen,Shawn-WangDapeng/eigen,artsy/eigen,gaurav1981/eigen,artsy/eigen,xxclouddd/eigen,ichu501/eigen,Havi4/eigen,gaurav1981/eigen,gaurav1981/eigen,xxclouddd/eigen,neonichu/eigen,zhuzhengwei/eigen,artsy/eigen,Shawn-WangDapeng/eigen,mbogh/eigen,neonichu/eigen,mbogh/eigen,xxclouddd/eigen,ichu501/eigen,ppamorim/eigen,orta/eigen,xxclouddd/eigen,neonichu/eigen,zhuzhengwei/eigen,artsy/eigen,ichu501/eigen,orta/eigen,artsy/eigen,artsy/eigen,orta/eigen,Havi4/eigen,orta/eigen,ichu501/eigen,gaurav1981/eigen,ppamorim/eigen,zhuzhengwei/eigen,Shawn-WangDapeng/eigen,artsy/eigen,Shawn-WangDapeng/eigen,xxclouddd/eigen,zhuzhengwei/eigen,Havi4/eigen,neonichu/eigen
|
4f56d0f5119e9cf9ba2f3b0f1f8d1eb201e8ea7d
|
include/utils/SkNullCanvas.h
|
include/utils/SkNullCanvas.h
|
/*
* Copyright 2012 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkNullCanvas_DEFINED
#define SkNullCanvas_DEFINED
#include "SkBitmap.h"
class SkCanvas;
/**
* Creates a canvas that draws nothing. This is useful for performance testing.
*/
SkCanvas* SkCreateNullCanvas();
#endif
|
/*
* Copyright 2012 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkNullCanvas_DEFINED
#define SkNullCanvas_DEFINED
#include "SkBitmap.h"
class SkCanvas;
/**
* Creates a canvas that draws nothing. This is useful for performance testing.
*/
SK_API SkCanvas* SkCreateNullCanvas();
#endif
|
Add SK_API to null canvas create method
|
Add SK_API to null canvas create method
git-svn-id: e8541e15acce502a64c929015570ad1648e548cd@4221 2bbb7eff-a529-9590-31e7-b0007b416f81
|
C
|
bsd-3-clause
|
hbwhlklive/color-emoji.skia,MatChung/color-emoji.skia,Hankuo/color-emoji.skia,MatChung/color-emoji.skia,Frankie-666/color-emoji.skia,Hankuo/color-emoji.skia,Frankie-666/color-emoji.skia,Hankuo/color-emoji.skia,hbwhlklive/color-emoji.skia,hbwhlklive/color-emoji.skia,Hankuo/color-emoji.skia,MatChung/color-emoji.skia,MatChung/color-emoji.skia,Frankie-666/color-emoji.skia,hbwhlklive/color-emoji.skia,Hankuo/color-emoji.skia,Frankie-666/color-emoji.skia,Hankuo/color-emoji.skia,hbwhlklive/color-emoji.skia,Frankie-666/color-emoji.skia,MatChung/color-emoji.skia,MatChung/color-emoji.skia,Frankie-666/color-emoji.skia,hbwhlklive/color-emoji.skia
|
c1aebf3ea9e5fc1881078b6f286049090766fdfa
|
test/default/cmptest.h
|
test/default/cmptest.h
|
#ifndef __CMPTEST_H__
#define __CMPTEST_H__
#include <stdio.h>
#include "sodium.h"
#ifndef TEST_SRCDIR
#define TEST_SRCDIR "./"
#endif
#define TEST_NAME_RES TEST_NAME ".res"
#define TEST_NAME_OUT TEST_SRCDIR "/" TEST_NAME ".exp"
#ifdef HAVE_ARC4RANDOM
# undef rand
# define rand(X) arc4random(X)
#endif
FILE *fp_res;
int xmain(void);
int main(void)
{
FILE *fp_out;
int c;
if ((fp_res = fopen(TEST_NAME_RES, "w+")) == NULL) {
perror("fopen(" TEST_NAME_RES ")");
return 99;
}
if (sodium_init() != 0) {
return 99;
}
if (xmain() != 0) {
return 99;
}
rewind(fp_res);
if ((fp_out = fopen(TEST_NAME_OUT, "r")) == NULL) {
perror("fopen(" TEST_NAME_OUT ")");
return 99;
}
do {
if ((c = fgetc(fp_res)) != fgetc(fp_out)) {
return 99;
}
} while (c != EOF);
return 0;
}
#undef printf
#define printf(...) fprintf(fp_res, __VA_ARGS__)
#define main xmain
#endif
|
#ifndef __CMPTEST_H__
#define __CMPTEST_H__
#include <stdio.h>
#include "sodium.h"
#ifndef TEST_SRCDIR
# define TEST_SRCDIR "."
#endif
#define TEST_NAME_RES TEST_NAME ".res"
#define TEST_NAME_OUT TEST_SRCDIR "/" TEST_NAME ".exp"
#ifdef HAVE_ARC4RANDOM
# undef rand
# define rand(X) arc4random(X)
#endif
FILE *fp_res;
int xmain(void);
int main(void)
{
FILE *fp_out;
int c;
if ((fp_res = fopen(TEST_NAME_RES, "w+")) == NULL) {
perror("fopen(" TEST_NAME_RES ")");
return 99;
}
if (sodium_init() != 0) {
return 99;
}
if (xmain() != 0) {
return 99;
}
rewind(fp_res);
if ((fp_out = fopen(TEST_NAME_OUT, "r")) == NULL) {
perror("fopen(" TEST_NAME_OUT ")");
return 99;
}
do {
if ((c = fgetc(fp_res)) != fgetc(fp_out)) {
return 99;
}
} while (c != EOF);
return 0;
}
#undef printf
#define printf(...) fprintf(fp_res, __VA_ARGS__)
#define main xmain
#endif
|
Add a default value for TEST_SRCDIR
|
Add a default value for TEST_SRCDIR
|
C
|
isc
|
netroby/libsodium,tml/libsodium,SpiderOak/libsodium,optedoblivion/android_external_libsodium,Payshares/libsodium,tml/libsodium,Payshares/libsodium,rustyhorde/libsodium,JackWink/libsodium,zhuqling/libsodium,HappyYang/libsodium,Payshare/libsodium,akkakks/libsodium,pyparallel/libsodium,zhuqling/libsodium,zhuqling/libsodium,paragonie-scott/libsodium,GreatFruitOmsk/libsodium,eburkitt/libsodium,akkakks/libsodium,mvduin/libsodium,rustyhorde/libsodium,JackWink/libsodium,Payshare/libsodium,kytvi2p/libsodium,SpiderOak/libsodium,paragonie-scott/libsodium,mvduin/libsodium,Payshares/libsodium,pyparallel/libsodium,donpark/libsodium,paragonie-scott/libsodium,CyanogenMod/android_external_dnscrypt_libsodium,pmienk/libsodium,kytvi2p/libsodium,SpiderOak/libsodium,rustyhorde/libsodium,pyparallel/libsodium,HappyYang/libsodium,kytvi2p/libsodium,soumith/libsodium,GreatFruitOmsk/libsodium,donpark/libsodium,eburkitt/libsodium,pmienk/libsodium,donpark/libsodium,eburkitt/libsodium,JackWink/libsodium,tml/libsodium,SpiderOak/libsodium,akkakks/libsodium,mvduin/libsodium,CyanogenMod/android_external_dnscrypt_libsodium,GreatFruitOmsk/libsodium,netroby/libsodium,pmienk/libsodium,akkakks/libsodium,soumith/libsodium,optedoblivion/android_external_libsodium,HappyYang/libsodium,Payshare/libsodium,CyanogenMod/android_external_dnscrypt_libsodium,rustyhorde/libsodium,optedoblivion/android_external_libsodium,netroby/libsodium,soumith/libsodium
|
d01ba2e824813f5ab4eb0b379caf77fe93d6911c
|
src/etc/mingw-fix-include/winsock2.h
|
src/etc/mingw-fix-include/winsock2.h
|
#ifndef _FIX_WINSOCK2_H
#define _FIX_WINSOCK2_H 1
#include_next <winsock2.h>
typedef struct pollfd {
SOCKET fd;
short events;
short revents;
} WSAPOLLFD, *PWSAPOLLFD, *LPWSAPOLLFD;
#endif
|
#ifndef _FIX_WINSOCK2_H
#define _FIX_WINSOCK2_H 1
#include_next <winsock2.h>
// mingw 4.0.x has broken headers (#9246) but mingw-w64 does not.
#if defined(__MINGW_MAJOR_VERSION) && __MINGW_MAJOR_VERSION == 4
typedef struct pollfd {
SOCKET fd;
short events;
short revents;
} WSAPOLLFD, *PWSAPOLLFD, *LPWSAPOLLFD;
#endif
#endif // _FIX_WINSOCK2_H
|
Define WSAPOLLFD only on mingw 4.x
|
Define WSAPOLLFD only on mingw 4.x
Fixes #10327
|
C
|
apache-2.0
|
Ryman/rust,andars/rust,KokaKiwi/rust,bhickey/rand,kimroen/rust,kwantam/rust,jbclements/rust,vhbit/rust,jbclements/rust,nham/rust,rohitjoshi/rust,AerialX/rust-rt-minimal,erickt/rust,GBGamer/rust,aepsil0n/rust,reem/rust,defuz/rust,nwin/rust,nham/rust,SiegeLord/rust,miniupnp/rust,rohitjoshi/rust,XMPPwocky/rust,pshc/rust,mihneadb/rust,mihneadb/rust,mdinger/rust,jashank/rust,ktossell/rust,michaelballantyne/rust-gpu,servo/rust,erickt/rust,philyoon/rust,krzysz00/rust,mdinger/rust,servo/rust,reem/rust,jbclements/rust,krzysz00/rust,kimroen/rust,SiegeLord/rust,servo/rust,mihneadb/rust,seanrivera/rust,emk/rust,kimroen/rust,victorvde/rust,nham/rust,ejjeong/rust,quornian/rust,untitaker/rust,ejjeong/rust,nham/rust,0x73/rust,barosl/rust,sae-bom/rust,michaelballantyne/rust-gpu,aneeshusa/rust,zaeleus/rust,jroesch/rust,Ryman/rust,miniupnp/rust,kimroen/rust,avdi/rust,aepsil0n/rust,mitsuhiko/rust,ebfull/rust,0x73/rust,graydon/rust,GBGamer/rust,robertg/rust,kimroen/rust,ebfull/rust,vhbit/rust,aidancully/rust,victorvde/rust,mahkoh/rust,kimroen/rust,GBGamer/rust,quornian/rust,pshc/rust,mdinger/rust,jbclements/rust,aepsil0n/rust,fabricedesre/rust,bluss/rand,pelmers/rust,untitaker/rust,vhbit/rust,AerialX/rust,untitaker/rust,ebfull/rust,robertg/rust,GBGamer/rust,zaeleus/rust,quornian/rust,graydon/rust,fabricedesre/rust,P1start/rust,mihneadb/rust,stepancheg/rust-ide-rust,nwin/rust,AerialX/rust,pythonesque/rust,KokaKiwi/rust,rprichard/rust,robertg/rust,avdi/rust,richo/rust,nwin/rust,mitsuhiko/rust,robertg/rust,l0kod/rust,hauleth/rust,servo/rust,rprichard/rust,Ryman/rust,carols10cents/rust,pythonesque/rust,mahkoh/rust,bombless/rust,graydon/rust,stepancheg/rust-ide-rust,jbclements/rust,mahkoh/rust,zachwick/rust,miniupnp/rust,ebfull/rust,emk/rust,carols10cents/rust,krzysz00/rust,andars/rust,l0kod/rust,KokaKiwi/rust,avdi/rust,zachwick/rust,0x73/rust,mitsuhiko/rust,sae-bom/rust,pczarn/rust,jashank/rust,AerialX/rust-rt-minimal,hauleth/rust,rprichard/rust,AerialX/rust-rt-minimal,cllns/rust,robertg/rust,seanrivera/rust,victorvde/rust,Ryman/rust,gifnksm/rust,stepancheg/rust-ide-rust,michaelballantyne/rust-gpu,jroesch/rust,barosl/rust,aturon/rust,AerialX/rust,defuz/rust,AerialX/rust-rt-minimal,zubron/rust,TheNeikos/rust,miniupnp/rust,dwillmer/rust,zubron/rust,Ryman/rust,nham/rust,XMPPwocky/rust,seanrivera/rust,jashank/rust,victorvde/rust,reem/rust,Ryman/rust,AerialX/rust-rt-minimal,kwantam/rust,miniupnp/rust,richo/rust,XMPPwocky/rust,nwin/rust,aturon/rust,aneeshusa/rust,graydon/rust,barosl/rust,waynenilsen/rand,TheNeikos/rust,graydon/rust,fabricedesre/rust,cllns/rust,dwillmer/rust,ruud-v-a/rust,aidancully/rust,kwantam/rust,seanrivera/rust,untitaker/rust,jroesch/rust,SiegeLord/rust,andars/rust,jroesch/rust,AerialX/rust,mdinger/rust,ktossell/rust,zubron/rust,GBGamer/rust,krzysz00/rust,pczarn/rust,omasanori/rust,ejjeong/rust,bombless/rust,GrahamDennis/rand,mitsuhiko/rust,seanrivera/rust,KokaKiwi/rust,vhbit/rust,pythonesque/rust,GBGamer/rust,jashank/rust,aturon/rust,P1start/rust,reem/rust,mvdnes/rust,pythonesque/rust,SiegeLord/rust,nham/rust,jashank/rust,sae-bom/rust,victorvde/rust,emk/rust,ktossell/rust,michaelballantyne/rust-gpu,cllns/rust,zaeleus/rust,dinfuehr/rust,zachwick/rust,untitaker/rust,richo/rust,rprichard/rust,huonw/rand,erickt/rust,pczarn/rust,dinfuehr/rust,mitsuhiko/rust,defuz/rust,cllns/rust,stepancheg/rust-ide-rust,AerialX/rust,mvdnes/rust,hauleth/rust,philyoon/rust,pythonesque/rust,victorvde/rust,pelmers/rust,bombless/rust,miniupnp/rust,SiegeLord/rust,XMPPwocky/rust,pshc/rust,rohitjoshi/rust,sae-bom/rust,philyoon/rust,zubron/rust,mitsuhiko/rust,dwillmer/rust,barosl/rust,l0kod/rust,defuz/rust,andars/rust,rohitjoshi/rust,vhbit/rust,kwantam/rust,mihneadb/rust,l0kod/rust,michaelballantyne/rust-gpu,gifnksm/rust,avdi/rust,mitsuhiko/rust,bombless/rust,zubron/rust,ebfull/rust,pczarn/rust,pelmers/rust,Ryman/rust,aneeshusa/rust,quornian/rust,mvdnes/rust,TheNeikos/rust,miniupnp/rust,SiegeLord/rust,rprichard/rust,ejjeong/rust,rohitjoshi/rust,kimroen/rust,rprichard/rust,TheNeikos/rust,0x73/rust,barosl/rust,nwin/rust,cllns/rust,KokaKiwi/rust,avdi/rust,nwin/rust,quornian/rust,jbclements/rust,avdi/rust,erickt/rust,aturon/rust,servo/rust,miniupnp/rust,aepsil0n/rust,fabricedesre/rust,emk/rust,stepancheg/rust-ide-rust,pshc/rust,jroesch/rust,quornian/rust,shepmaster/rand,pelmers/rust,aidancully/rust,erickt/rust,mvdnes/rust,carols10cents/rust,aepsil0n/rust,servo/rust,reem/rust,aturon/rust,sae-bom/rust,zaeleus/rust,barosl/rust,mihneadb/rust,XMPPwocky/rust,philyoon/rust,dinfuehr/rust,servo/rust,ktossell/rust,gifnksm/rust,jroesch/rust,P1start/rust,graydon/rust,kwantam/rust,omasanori/rust,mahkoh/rust,pczarn/rust,nwin/rust,dinfuehr/rust,hauleth/rust,hauleth/rust,krzysz00/rust,SiegeLord/rust,andars/rust,aidancully/rust,ktossell/rust,omasanori/rust,omasanori/rust,carols10cents/rust,0x73/rust,dinfuehr/rust,GBGamer/rust,pythonesque/rust,emk/rust,zaeleus/rust,pshc/rust,P1start/rust,ruud-v-a/rust,l0kod/rust,jashank/rust,ruud-v-a/rust,P1start/rust,zachwick/rust,fabricedesre/rust,omasanori/rust,mvdnes/rust,dinfuehr/rust,seanrivera/rust,jroesch/rust,arthurprs/rand,aepsil0n/rust,P1start/rust,pelmers/rust,zubron/rust,vhbit/rust,gifnksm/rust,hauleth/rust,pelmers/rust,mdinger/rust,pythonesque/rust,ejjeong/rust,jbclements/rust,zubron/rust,XMPPwocky/rust,reem/rust,aturon/rust,dwillmer/rust,carols10cents/rust,andars/rust,l0kod/rust,zachwick/rust,0x73/rust,nwin/rust,retep998/rand,defuz/rust,bombless/rust,fabricedesre/rust,zachwick/rust,P1start/rust,pczarn/rust,AerialX/rust,fabricedesre/rust,dwillmer/rust,dwillmer/rust,untitaker/rust,rohitjoshi/rust,barosl/rust,pshc/rust,ruud-v-a/rust,pshc/rust,richo/rust,KokaKiwi/rust,aturon/rust,emk/rust,TheNeikos/rust,robertg/rust,kwantam/rust,bombless/rust-docs-chinese,aneeshusa/rust,bombless/rust,aidancully/rust,jroesch/rust,dwillmer/rust,cllns/rust,pczarn/rust,omasanori/rust,philyoon/rust,mdinger/rust,ebfull/rand,vhbit/rust,krzysz00/rust,dwillmer/rust,jashank/rust,zaeleus/rust,pshc/rust,philyoon/rust,sae-bom/rust,ebfull/rust,jashank/rust,jbclements/rust,aneeshusa/rust,ktossell/rust,l0kod/rust,ktossell/rust,aneeshusa/rust,stepancheg/rust-ide-rust,carols10cents/rust,defuz/rust,zubron/rust,mahkoh/rust,erickt/rust,jbclements/rust,stepancheg/rust-ide-rust,l0kod/rust,mahkoh/rust,emk/rust,AerialX/rust-rt-minimal,aidancully/rust,gifnksm/rust,achanda/rand,michaelballantyne/rust-gpu,0x73/rust,nham/rust,GBGamer/rust,ejjeong/rust,ruud-v-a/rust,vhbit/rust,erickt/rust,ruud-v-a/rust,gifnksm/rust,michaelballantyne/rust-gpu,TheNeikos/rust,quornian/rust,richo/rust,mvdnes/rust,richo/rust
|
f638f8ac83763778ac5cca5b74674a058ccc1a07
|
Airship/Common/UAAction.h
|
Airship/Common/UAAction.h
|
/*
Copyright 2009-2013 Urban Airship Inc. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binaryform must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided withthe distribution.
THIS SOFTWARE IS PROVIDED BY THE URBAN AIRSHIP INC``AS IS'' AND ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
EVENT SHALL URBAN AIRSHIP INC OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#import <Foundation/Foundation.h>
@interface UAAction : NSObject
@end
|
/*
Copyright 2009-2013 Urban Airship Inc. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binaryform must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided withthe distribution.
THIS SOFTWARE IS PROVIDED BY THE URBAN AIRSHIP INC``AS IS'' AND ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
EVENT SHALL URBAN AIRSHIP INC OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#import <Foundation/Foundation.h>
#import "UAActionArguments.h"
typedef BOOL (^UAActionPredicate)(UAActionArguments *);
@interface UAAction : NSObject
@end
|
Add action predicate block typedef
|
Add action predicate block typedef
|
C
|
bsd-2-clause
|
mikerowan/ios-library,ipmobiletech/ios-library,grosch/ios-library,manuyavuz/ios-library,ipmobiletech/ios-library,zhangqinghe/ios-library,mikerowan/ios-library,manuyavuz/ios-library,mikerowan/ios-library,manuyavuz/ios-library,ipmobiletech/ios-library,grosch/ios-library,zhangqinghe/ios-library,grosch/ios-library,zhangqinghe/ios-library
|
37265a87c7aa9743a2b20069be85d03529b18534
|
src/main/cpp/blaze_abrupt_exit.h
|
src/main/cpp/blaze_abrupt_exit.h
|
// Copyright 2016 The Bazel Authors. All rights reserved.
//
// 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 to in writing, software
// distributed 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.
//
//
// blaze_abrupt_exit.h: Deals with abrupt exits of the Blaze server.
//
#ifndef THIRD_PARTY_BAZEL_SRC_MAIN_CPP_BLAZE_ABRUPT_EXIT_H_
#define THIRD_PARTY_BAZEL_SRC_MAIN_CPP_BLAZE_ABRUPT_EXIT_H_
namespace blaze {
class GlobalVariables;
// Returns the exit code to use for when the Blaze server exits abruptly.
int GetExitCodeForAbruptExit(const GlobalVariables& globals);
} // namespace blaze
#endif // THIRD_PARTY_BAZEL_SRC_MAIN_CPP_BLAZE_ABRUPT_EXIT_H_
|
// Copyright 2016 The Bazel Authors. All rights reserved.
//
// 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 to in writing, software
// distributed 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.
//
//
// blaze_abrupt_exit.h: Deals with abrupt exits of the Blaze server.
//
#ifndef THIRD_PARTY_BAZEL_SRC_MAIN_CPP_BLAZE_ABRUPT_EXIT_H_
#define THIRD_PARTY_BAZEL_SRC_MAIN_CPP_BLAZE_ABRUPT_EXIT_H_
namespace blaze {
struct GlobalVariables;
// Returns the exit code to use for when the Blaze server exits abruptly.
int GetExitCodeForAbruptExit(const GlobalVariables& globals);
} // namespace blaze
#endif // THIRD_PARTY_BAZEL_SRC_MAIN_CPP_BLAZE_ABRUPT_EXIT_H_
|
Fix compile warning for struct/class mismatch
|
Fix compile warning for struct/class mismatch
./compile.sh is giving:
$ ./compile.sh build bazel-bin/src/bazel
🍃 Building Bazel with Bazel.
INFO: Found 1 target...
INFO: From Compiling src/main/cpp/blaze.cc:
In file included from src/main/cpp/blaze.cc:58:
./src/main/cpp/blaze_globals.h:42:1: warning: 'GlobalVariables' defined as a struct here but previously declared as a class [-Wmismatched-tags]
struct GlobalVariables {
^
./src/main/cpp/blaze_abrupt_exit.h:23:1: note: did you mean struct here?
class GlobalVariables;
^~~~~
struct
1 warning generated.
--
MOS_MIGRATED_REVID=111863702
|
C
|
apache-2.0
|
meteorcloudy/bazel,mikelalcon/bazel,iamthearm/bazel,juhalindfors/bazel-patches,damienmg/bazel,kchodorow/bazel,juhalindfors/bazel-patches,iamthearm/bazel,davidzchen/bazel,LuminateWireless/bazel,dropbox/bazel,dslomov/bazel,mikelikespie/bazel,damienmg/bazel,safarmer/bazel,safarmer/bazel,hermione521/bazel,mikelikespie/bazel,iamthearm/bazel,safarmer/bazel,anupcshan/bazel,cushon/bazel,Asana/bazel,Asana/bazel,hermione521/bazel,akira-baruah/bazel,dslomov/bazel-windows,ulfjack/bazel,anupcshan/bazel,juhalindfors/bazel-patches,kchodorow/bazel,anupcshan/bazel,ulfjack/bazel,ulfjack/bazel,snnn/bazel,abergmeier-dsfishlabs/bazel,snnn/bazel,LuminateWireless/bazel,hhclam/bazel,Asana/bazel,rohitsaboo/bazel,dslomov/bazel,aehlig/bazel,abergmeier-dsfishlabs/bazel,damienmg/bazel,dropbox/bazel,mrdomino/bazel,mikelikespie/bazel,kchodorow/bazel,davidzchen/bazel,perezd/bazel,dropbox/bazel,davidzchen/bazel,cushon/bazel,dslomov/bazel,juhalindfors/bazel-patches,kchodorow/bazel-1,ButterflyNetwork/bazel,LuminateWireless/bazel,akira-baruah/bazel,mikelikespie/bazel,mbrukman/bazel,aehlig/bazel,juhalindfors/bazel-patches,iamthearm/bazel,mikelalcon/bazel,bazelbuild/bazel,ulfjack/bazel,snnn/bazel,cushon/bazel,werkt/bazel,aehlig/bazel,anupcshan/bazel,bazelbuild/bazel,mikelalcon/bazel,zhexuany/bazel,damienmg/bazel,werkt/bazel,variac/bazel,spxtr/bazel,rohitsaboo/bazel,snnn/bazel,variac/bazel,dslomov/bazel,UrbanCompass/bazel,zhexuany/bazel,iamthearm/bazel,werkt/bazel,mbrukman/bazel,aehlig/bazel,akira-baruah/bazel,dslomov/bazel-windows,akira-baruah/bazel,spxtr/bazel,meteorcloudy/bazel,davidzchen/bazel,kchodorow/bazel-1,ulfjack/bazel,dslomov/bazel-windows,whuwxl/bazel,kchodorow/bazel-1,mrdomino/bazel,variac/bazel,juhalindfors/bazel-patches,kchodorow/bazel,twitter-forks/bazel,LuminateWireless/bazel,UrbanCompass/bazel,abergmeier-dsfishlabs/bazel,juhalindfors/bazel-patches,variac/bazel,perezd/bazel,hermione521/bazel,perezd/bazel,UrbanCompass/bazel,spxtr/bazel,bazelbuild/bazel,perezd/bazel,aehlig/bazel,kchodorow/bazel-1,rohitsaboo/bazel,safarmer/bazel,kchodorow/bazel,mikelalcon/bazel,zhexuany/bazel,davidzchen/bazel,twitter-forks/bazel,UrbanCompass/bazel,LuminateWireless/bazel,zhexuany/bazel,variac/bazel,snnn/bazel,werkt/bazel,perezd/bazel,perezd/bazel,dslomov/bazel-windows,meteorcloudy/bazel,cushon/bazel,ButterflyNetwork/bazel,mbrukman/bazel,damienmg/bazel,variac/bazel,ulfjack/bazel,hhclam/bazel,mbrukman/bazel,twitter-forks/bazel,akira-baruah/bazel,ButterflyNetwork/bazel,hermione521/bazel,katre/bazel,whuwxl/bazel,katre/bazel,twitter-forks/bazel,spxtr/bazel,mrdomino/bazel,mikelalcon/bazel,abergmeier-dsfishlabs/bazel,mrdomino/bazel,katre/bazel,dslomov/bazel,snnn/bazel,Asana/bazel,aehlig/bazel,akira-baruah/bazel,hhclam/bazel,hhclam/bazel,dropbox/bazel,dslomov/bazel-windows,LuminateWireless/bazel,twitter-forks/bazel,ButterflyNetwork/bazel,aehlig/bazel,variac/bazel,rohitsaboo/bazel,damienmg/bazel,dslomov/bazel,meteorcloudy/bazel,katre/bazel,hhclam/bazel,meteorcloudy/bazel,cushon/bazel,davidzchen/bazel,kchodorow/bazel-1,whuwxl/bazel,bazelbuild/bazel,hermione521/bazel,mrdomino/bazel,bazelbuild/bazel,ulfjack/bazel,kchodorow/bazel,meteorcloudy/bazel,davidzchen/bazel,mikelalcon/bazel,perezd/bazel,safarmer/bazel,spxtr/bazel,damienmg/bazel,whuwxl/bazel,dropbox/bazel,mrdomino/bazel,hhclam/bazel,rohitsaboo/bazel,mikelikespie/bazel,katre/bazel,twitter-forks/bazel,mikelikespie/bazel,kchodorow/bazel,anupcshan/bazel,werkt/bazel,Asana/bazel,spxtr/bazel,UrbanCompass/bazel,whuwxl/bazel,bazelbuild/bazel,cushon/bazel,mbrukman/bazel,zhexuany/bazel,Asana/bazel,kchodorow/bazel-1,hermione521/bazel,twitter-forks/bazel,iamthearm/bazel,spxtr/bazel,dropbox/bazel,ButterflyNetwork/bazel,rohitsaboo/bazel,ButterflyNetwork/bazel,dslomov/bazel,safarmer/bazel,abergmeier-dsfishlabs/bazel,UrbanCompass/bazel,zhexuany/bazel,Asana/bazel,whuwxl/bazel,dslomov/bazel-windows,mbrukman/bazel,anupcshan/bazel,meteorcloudy/bazel,katre/bazel,snnn/bazel,werkt/bazel,abergmeier-dsfishlabs/bazel
|
862f7bcae063e448d7cc7bb326e65705835d9d03
|
include/cprtypes.h
|
include/cprtypes.h
|
#ifndef _CPR_TYPES_H_
#define _CPR_TYPES_H_
#include <map>
#include <string>
#include <curl/curl.h>
struct case_insensitive_compare
{
case_insensitive_compare() {}
bool operator()(const std::string& a, const std::string& b) const {
return to_lower(a) < to_lower(b);
}
static void char_to_lower(char& c) {
if (c >= 'A' && c <= 'Z')
c += ('a' - 'A');
}
static std::string to_lower(const std::string& a) {
std::string s(a);
std::for_each(s.begin(), s.end(), char_to_lower);
return s;
}
};
typedef std::map<std::string, std::string> Parameters;
typedef std::map<std::string, std::string, case_insensitive_compare> Header;
typedef std::string Url;
typedef std::map<std::string, std::string> Payload;
typedef long Timeout;
typedef struct {
CURL* handle;
struct curl_slist* chunk;
} CurlHolder;
#endif
|
#ifndef _CPR_TYPES_H_
#define _CPR_TYPES_H_
#include <algorithm>
#include <map>
#include <string>
#include <curl/curl.h>
struct case_insensitive_compare
{
case_insensitive_compare() {}
bool operator()(const std::string& a, const std::string& b) const {
return to_lower(a) < to_lower(b);
}
static void char_to_lower(char& c) {
if (c >= 'A' && c <= 'Z')
c += ('a' - 'A');
}
static std::string to_lower(const std::string& a) {
std::string s(a);
std::for_each(s.begin(), s.end(), char_to_lower);
return s;
}
};
typedef std::map<std::string, std::string> Parameters;
typedef std::map<std::string, std::string, case_insensitive_compare> Header;
typedef std::string Url;
typedef std::map<std::string, std::string> Payload;
typedef long Timeout;
typedef struct {
CURL* handle;
struct curl_slist* chunk;
} CurlHolder;
#endif
|
Include header where for_each is defined
|
Include header where for_each is defined
|
C
|
mit
|
skystrife/cpr,msuvajac/cpr,aquilleph/cpr,SuperV1234/cpr,aquilleph/cpr,gruzovator/cpr,smiley/cpr,whoshuu/cpr,smiley/cpr,SuperV1234/cpr,whoshuu/cpr,whoshuu/cpr,skystrife/cpr,gruzovator/cpr,msuvajac/cpr,skystrife/cpr,msuvajac/cpr,SuperV1234/cpr
|
07665aa311d6a157f18d36489de67f4a258811a0
|
tensorflow/core/platform/default/cord.h
|
tensorflow/core/platform/default/cord.h
|
/* Copyright 2015 The TensorFlow Authors. All Rights Reserved.
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 to in writing, software
distributed 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.
==============================================================================*/
#ifndef TENSORFLOW_CORE_PLATFORM_DEFAULT_CORD_H_
#define TENSORFLOW_CORE_PLATFORM_DEFAULT_CORD_H_
#if !defined(__CUDACC__)
// TODO(frankchn): Resolve compilation errors when building absl::Cord with CUDA
#include "absl/strings/cord.h"
#define TF_CORD_SUPPORT 1
#endif // __CUDACC__
#endif // TENSORFLOW_CORE_PLATFORM_DEFAULT_CORD_H_
|
/* Copyright 2015 The TensorFlow Authors. All Rights Reserved.
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 to in writing, software
distributed 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.
==============================================================================*/
#ifndef TENSORFLOW_CORE_PLATFORM_DEFAULT_CORD_H_
#define TENSORFLOW_CORE_PLATFORM_DEFAULT_CORD_H_
#include "absl/strings/cord.h"
#define TF_CORD_SUPPORT 1
#endif // TENSORFLOW_CORE_PLATFORM_DEFAULT_CORD_H_
|
Enable Cord in NVCC build.
|
Enable Cord in NVCC build.
PiperOrigin-RevId: 362322881
Change-Id: I49c24e6e961258b96c194812452de27678141300
|
C
|
apache-2.0
|
tensorflow/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,yongtang/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-pywrap_saved_model,yongtang/tensorflow,frreiss/tensorflow-fred,gautam1858/tensorflow,sarvex/tensorflow,Intel-Corporation/tensorflow,karllessard/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-pywrap_tf_optimizer,gautam1858/tensorflow,karllessard/tensorflow,karllessard/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-pywrap_tf_optimizer,petewarden/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,frreiss/tensorflow-fred,frreiss/tensorflow-fred,yongtang/tensorflow,tensorflow/tensorflow,petewarden/tensorflow,tensorflow/tensorflow-pywrap_saved_model,Intel-Corporation/tensorflow,gautam1858/tensorflow,frreiss/tensorflow-fred,Intel-Corporation/tensorflow,petewarden/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow-pywrap_saved_model,karllessard/tensorflow,gautam1858/tensorflow,gautam1858/tensorflow,gautam1858/tensorflow,frreiss/tensorflow-fred,paolodedios/tensorflow,petewarden/tensorflow,Intel-Corporation/tensorflow,sarvex/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,paolodedios/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-pywrap_tf_optimizer,gautam1858/tensorflow,gautam1858/tensorflow,Intel-tensorflow/tensorflow,sarvex/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,sarvex/tensorflow,karllessard/tensorflow,frreiss/tensorflow-fred,paolodedios/tensorflow,karllessard/tensorflow,paolodedios/tensorflow,yongtang/tensorflow,paolodedios/tensorflow,karllessard/tensorflow,Intel-tensorflow/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,petewarden/tensorflow,tensorflow/tensorflow,petewarden/tensorflow,yongtang/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow-pywrap_saved_model,gautam1858/tensorflow,Intel-tensorflow/tensorflow,petewarden/tensorflow,petewarden/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow,sarvex/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow-pywrap_tf_optimizer,petewarden/tensorflow,Intel-Corporation/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,petewarden/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow,karllessard/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,yongtang/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-pywrap_saved_model,petewarden/tensorflow,yongtang/tensorflow,tensorflow/tensorflow,Intel-tensorflow/tensorflow,sarvex/tensorflow,Intel-tensorflow/tensorflow,Intel-Corporation/tensorflow,Intel-Corporation/tensorflow,yongtang/tensorflow,yongtang/tensorflow,tensorflow/tensorflow-pywrap_saved_model,Intel-tensorflow/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,gautam1858/tensorflow,paolodedios/tensorflow,sarvex/tensorflow,paolodedios/tensorflow,petewarden/tensorflow,tensorflow/tensorflow-pywrap_saved_model,gautam1858/tensorflow,Intel-Corporation/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,Intel-tensorflow/tensorflow,yongtang/tensorflow,paolodedios/tensorflow,yongtang/tensorflow,frreiss/tensorflow-fred,paolodedios/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,Intel-tensorflow/tensorflow,sarvex/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-pywrap_saved_model
|
8361a0fa2c24bc58f43a48c77ed6ba9ad1819b63
|
gpu/include/GrGLConfig_chrome.h
|
gpu/include/GrGLConfig_chrome.h
|
#ifndef GrGLConfig_chrome_DEFINED
#define GrGLConfig_chrome_DEFINED
#define GR_SUPPORT_GLES2 1
// gl2ext.h will define these extensions macros but Chrome doesn't provide
// prototypes.
#define GL_OES_mapbuffer 0
#define GR_GL_PLATFORM_HEADER <GLES2/gl2.h>
#define GR_GL_PLATFORM_HEADER_EXT <GLES2/gl2ext.h>
#define GR_GL_FUNCTION_TYPE
#define GR_GL_PROC_ADDRESS(X) &X
// chrome always assumes BGRA
#define GR_GL_32BPP_COLOR_FORMAT GR_BGRA
// glGetError() forces a sync with gpu process on chrome
#define GR_GL_CHECK_ERROR_START 0
#endif
|
#ifndef GrGLConfig_chrome_DEFINED
#define GrGLConfig_chrome_DEFINED
#define GR_SUPPORT_GLES2 1
// gl2ext.h will define these extensions macros but Chrome doesn't provide
// prototypes.
#define GL_OES_mapbuffer 0
#define GR_GL_PLATFORM_HEADER <GLES2/gl2.h>
#define GR_GL_PLATFORM_HEADER_EXT <GLES2/gl2ext.h>
#define GR_GL_FUNCTION_TYPE
#define GR_GL_PROC_ADDRESS(X) &X
// chrome always assumes BGRA
#define GR_GL_32BPP_COLOR_FORMAT GR_GL_BGRA
// glGetError() forces a sync with gpu process on chrome
#define GR_GL_CHECK_ERROR_START 0
#endif
|
Fix macro in Chrome's GL config file
|
Fix macro in Chrome's GL config file
Review URL: http://codereview.appspot.com/4308041/
git-svn-id: e8541e15acce502a64c929015570ad1648e548cd@980 2bbb7eff-a529-9590-31e7-b0007b416f81
|
C
|
bsd-3-clause
|
geekboxzone/mmallow_external_skia,larsbergstrom/skia,sudosurootdev/external_skia,GladeRom/android_external_skia,rubenvb/skia,ominux/skia,MarshedOut/android_external_skia,Omegaphora/external_chromium_org_third_party_skia,mydongistiny/android_external_skia,noselhq/skia,F-AOSP/platform_external_skia,MarshedOut/android_external_skia,UBERMALLOW/external_skia,suyouxin/android_external_skia,BrokenROM/external_skia,boulzordev/android_external_skia,shahrzadmn/skia,PAC-ROM/android_external_skia,TeslaOS/android_external_skia,geekboxzone/mmallow_external_skia,sigysmund/platform_external_skia,xin3liang/platform_external_chromium_org_third_party_skia,boulzordev/android_external_skia,suyouxin/android_external_skia,Tesla-Redux/android_external_skia,Igalia/skia,larsbergstrom/skia,InfinitiveOS/external_skia,shahrzadmn/skia,MyAOSP/external_chromium_org_third_party_skia,vanish87/skia,nfxosp/platform_external_skia,shahrzadmn/skia,xzzz9097/android_external_skia,rubenvb/skia,TeslaProject/external_skia,NamelessRom/android_external_skia,OptiPop/external_skia,Samsung/skia,sigysmund/platform_external_skia,MIPS/external-chromium_org-third_party-skia,sigysmund/platform_external_skia,MinimalOS/external_skia,Asteroid-Project/android_external_skia,aosp-mirror/platform_external_skia,MinimalOS-AOSP/platform_external_skia,ench0/external_skia,ench0/external_skia,MinimalOS/android_external_chromium_org_third_party_skia,AOSP-YU/platform_external_skia,suyouxin/android_external_skia,amyvmiwei/skia,spezi77/android_external_skia,todotodoo/skia,sombree/android_external_skia,PAC-ROM/android_external_skia,Jichao/skia,RadonX-ROM/external_skia,invisiblek/android_external_skia,aospo/platform_external_skia,OptiPop/external_chromium_org_third_party_skia,RadonX-ROM/external_skia,boulzordev/android_external_skia,TeamExodus/external_skia,Hikari-no-Tenshi/android_external_skia,ominux/skia,Fusion-Rom/android_external_skia,mydongistiny/external_chromium_org_third_party_skia,tmpvar/skia.cc,tmpvar/skia.cc,Fusion-Rom/external_chromium_org_third_party_skia,byterom/android_external_skia,vvuk/skia,TeslaProject/external_skia,OneRom/external_skia,codeaurora-unoffical/platform-external-skia,Pure-Aosp/android_external_skia,akiss77/skia,akiss77/skia,amyvmiwei/skia,Android-AOSP/external_skia,byterom/android_external_skia,geekboxzone/lollipop_external_skia,Jichao/skia,Purity-Lollipop/platform_external_skia,aospo/platform_external_skia,temasek/android_external_skia,OptiPop/external_chromium_org_third_party_skia,AsteroidOS/android_external_skia,spezi77/android_external_skia,HealthyHoney/temasek_SKIA,UBERMALLOW/external_skia,Purity-Lollipop/platform_external_skia,android-ia/platform_external_chromium_org_third_party_skia,VentureROM-L/android_external_skia,ctiao/platform-external-skia,MyAOSP/external_chromium_org_third_party_skia,TeamEOS/external_skia,Fusion-Rom/android_external_skia,DiamondLovesYou/skia-sys,AsteroidOS/android_external_skia,tmpvar/skia.cc,w3nd1go/android_external_skia,PAC-ROM/android_external_skia,Pure-Aosp/android_external_skia,HalCanary/skia-hc,houst0nn/external_skia,HalCanary/skia-hc,Plain-Andy/android_platform_external_skia,aosp-mirror/platform_external_skia,AOSPA-L/android_external_skia,MinimalOS/android_external_skia,sigysmund/platform_external_skia,AOSPA-L/android_external_skia,mydongistiny/android_external_skia,nox/skia,mozilla-b2g/external_skia,RadonX-ROM/external_skia,HealthyHoney/temasek_SKIA,android-ia/platform_external_skia,PAC-ROM/android_external_skia,HealthyHoney/temasek_SKIA,DiamondLovesYou/skia-sys,Infusion-OS/android_external_skia,RadonX-ROM/external_skia,w3nd1go/android_external_skia,houst0nn/external_skia,TeamExodus/external_skia,RadonX-ROM/external_skia,MinimalOS-AOSP/platform_external_skia,pacerom/external_skia,aosp-mirror/platform_external_skia,chenlian2015/skia_from_google,TeamEOS/external_skia,nfxosp/platform_external_skia,jtg-gg/skia,xin3liang/platform_external_chromium_org_third_party_skia,w3nd1go/android_external_skia,timduru/platform-external-skia,VentureROM-L/android_external_skia,qrealka/skia-hc,AOSPU/external_chromium_org_third_party_skia,nvoron23/skia,vanish87/skia,Fusion-Rom/android_external_skia,noselhq/skia,vvuk/skia,sudosurootdev/external_skia,boulzordev/android_external_skia,TeamEOS/external_skia,FusionSP/external_chromium_org_third_party_skia,MinimalOS/external_skia,Igalia/skia,temasek/android_external_skia,noselhq/skia,DARKPOP/external_chromium_org_third_party_skia,android-ia/platform_external_skia,Fusion-Rom/external_chromium_org_third_party_skia,fire855/android_external_skia,mydongistiny/external_chromium_org_third_party_skia,AOSPB/external_skia,mmatyas/skia,Euphoria-OS-Legacy/android_external_skia,DARKPOP/external_chromium_org_third_party_skia,Infusion-OS/android_external_skia,GladeRom/android_external_skia,TeslaProject/external_skia,F-AOSP/platform_external_skia,MinimalOS/android_external_skia,HalCanary/skia-hc,ench0/external_chromium_org_third_party_skia,mydongistiny/android_external_skia,suyouxin/android_external_skia,geekboxzone/lollipop_external_chromium_org_third_party_skia,byterom/android_external_skia,MonkeyZZZZ/platform_external_skia,boulzordev/android_external_skia,OneRom/external_skia,Omegaphora/external_chromium_org_third_party_skia,Euphoria-OS-Legacy/android_external_skia,OneRom/external_skia,qrealka/skia-hc,geekboxzone/lollipop_external_chromium_org_third_party_skia,geekboxzone/lollipop_external_chromium_org_third_party_skia,Omegaphora/external_chromium_org_third_party_skia,AndroidOpenDevelopment/android_external_skia,akiss77/skia,TeamEOS/external_chromium_org_third_party_skia,sigysmund/platform_external_skia,amyvmiwei/skia,TeamExodus/external_skia,Infinitive-OS/platform_external_skia,SlimSaber/android_external_skia,chenlian2015/skia_from_google,larsbergstrom/skia,TeslaProject/external_skia,MinimalOS-AOSP/platform_external_skia,amyvmiwei/skia,OneRom/external_skia,sudosurootdev/external_skia,byterom/android_external_skia,ench0/external_skia,Plain-Andy/android_platform_external_skia,AOSPA-L/android_external_skia,sombree/android_external_skia,SlimSaber/android_external_skia,MinimalOS/external_skia,YUPlayGodDev/platform_external_skia,Fusion-Rom/external_chromium_org_third_party_skia,Igalia/skia,android-ia/platform_external_skia,RadonX-ROM/external_skia,noselhq/skia,CyanogenMod/android_external_chromium_org_third_party_skia,MinimalOS/android_external_skia,YUPlayGodDev/platform_external_skia,geekboxzone/lollipop_external_chromium_org_third_party_skia,aospo/platform_external_skia,Hybrid-Rom/external_skia,geekboxzone/mmallow_external_skia,ench0/external_chromium_org_third_party_skia,TeamExodus/external_skia,OptiPop/external_skia,scroggo/skia,Euphoria-OS-Legacy/android_external_skia,larsbergstrom/skia,MinimalOS-AOSP/platform_external_skia,FusionSP/android_external_skia,AsteroidOS/android_external_skia,codeaurora-unoffical/platform-external-skia,ominux/skia,MinimalOS/external_skia,Hybrid-Rom/external_skia,pcwalton/skia,pacerom/external_skia,MinimalOS/android_external_skia,geekboxzone/mmallow_external_skia,TeamEOS/external_skia,MyAOSP/external_chromium_org_third_party_skia,mydongistiny/external_chromium_org_third_party_skia,Omegaphora/external_chromium_org_third_party_skia,houst0nn/external_skia,android-ia/platform_external_chromium_org_third_party_skia,nox/skia,Hikari-no-Tenshi/android_external_skia,noselhq/skia,nox/skia,TeamEOS/external_chromium_org_third_party_skia,MarshedOut/android_external_skia,shahrzadmn/skia,rubenvb/skia,ench0/external_chromium_org_third_party_skia,pacerom/external_skia,AndroidOpenDevelopment/android_external_skia,BrokenROM/external_skia,chenlian2015/skia_from_google,pacerom/external_skia,aosp-mirror/platform_external_skia,codeaurora-unoffical/platform-external-skia,Hybrid-Rom/external_skia,android-ia/platform_external_chromium_org_third_party_skia,ominux/skia,Infusion-OS/android_external_skia,ominux/skia,CyanogenMod/android_external_chromium_org_third_party_skia,Asteroid-Project/android_external_skia,MinimalOS/external_skia,GladeRom/android_external_skia,MIPS/external-chromium_org-third_party-skia,shahrzadmn/skia,TeslaOS/android_external_skia,Tesla-Redux/android_external_skia,nvoron23/skia,larsbergstrom/skia,Asteroid-Project/android_external_skia,AndroidOpenDevelopment/android_external_skia,VRToxin-AOSP/android_external_skia,mmatyas/skia,pcwalton/skia,xzzz9097/android_external_skia,w3nd1go/android_external_skia,nox/skia,tmpvar/skia.cc,mydongistiny/android_external_skia,OptiPop/external_chromium_org_third_party_skia,DARKPOP/external_chromium_org_third_party_skia,temasek/android_external_skia,shahrzadmn/skia,nvoron23/skia,temasek/android_external_skia,todotodoo/skia,google/skia,AOSP-YU/platform_external_skia,w3nd1go/android_external_skia,google/skia,geekboxzone/mmallow_external_skia,larsbergstrom/skia,TeamExodus/external_skia,RadonX-ROM/external_skia,TeamEOS/external_chromium_org_third_party_skia,TeslaOS/android_external_skia,UBERMALLOW/external_skia,DARKPOP/external_chromium_org_third_party_skia,SlimSaber/android_external_skia,jtg-gg/skia,MinimalOS/android_external_skia,ctiao/platform-external-skia,TeamTwisted/external_skia,AOSP-YU/platform_external_skia,Asteroid-Project/android_external_skia,geekboxzone/lollipop_external_skia,Jichao/skia,Khaon/android_external_skia,ench0/external_chromium_org_third_party_skia,Tesla-Redux/android_external_skia,ench0/external_skia,DesolationStaging/android_external_skia,TeamBliss-LP/android_external_skia,DARKPOP/external_chromium_org_third_party_skia,akiss77/skia,NamelessRom/android_external_skia,aosp-mirror/platform_external_skia,Euphoria-OS-Legacy/android_external_skia,nfxosp/platform_external_skia,sudosurootdev/external_skia,TeamEOS/external_skia,google/skia,todotodoo/skia,AOSPB/external_skia,SlimSaber/android_external_skia,nvoron23/skia,Pure-Aosp/android_external_skia,sigysmund/platform_external_skia,wildermason/external_skia,geekboxzone/lollipop_external_skia,jtg-gg/skia,Jichao/skia,F-AOSP/platform_external_skia,timduru/platform-external-skia,chenlian2015/skia_from_google,byterom/android_external_skia,android-ia/platform_external_skia,HealthyHoney/temasek_SKIA,AndroidOpenDevelopment/android_external_skia,mmatyas/skia,Khaon/android_external_skia,suyouxin/android_external_skia,codeaurora-unoffical/platform-external-skia,w3nd1go/android_external_skia,qrealka/skia-hc,MonkeyZZZZ/platform_external_skia,spezi77/android_external_skia,rubenvb/skia,todotodoo/skia,NamelessRom/android_external_skia,NamelessRom/android_external_skia,Jichao/skia,nox/skia,temasek/android_external_skia,rubenvb/skia,ench0/external_chromium_org_third_party_skia,DARKPOP/external_chromium_org_third_party_skia,FusionSP/android_external_skia,TeslaOS/android_external_skia,xzzz9097/android_external_skia,HealthyHoney/temasek_SKIA,Tesla-Redux/android_external_skia,DARKPOP/external_chromium_org_third_party_skia,tmpvar/skia.cc,Infusion-OS/android_external_skia,VentureROM-L/android_external_skia,VentureROM-L/android_external_skia,ench0/external_chromium_org_third_party_skia,Fusion-Rom/external_chromium_org_third_party_skia,HalCanary/skia-hc,Infinitive-OS/platform_external_skia,qrealka/skia-hc,AsteroidOS/android_external_skia,pcwalton/skia,HalCanary/skia-hc,MinimalOS/external_chromium_org_third_party_skia,Infinitive-OS/platform_external_skia,geekboxzone/lollipop_external_chromium_org_third_party_skia,amyvmiwei/skia,AOSPU/external_chromium_org_third_party_skia,akiss77/skia,DesolationStaging/android_external_skia,sudosurootdev/external_skia,Fusion-Rom/android_external_skia,Hybrid-Rom/external_skia,houst0nn/external_skia,nfxosp/platform_external_skia,AndroidOpenDevelopment/android_external_skia,CyanogenMod/android_external_chromium_org_third_party_skia,aosp-mirror/platform_external_skia,FusionSP/external_chromium_org_third_party_skia,MIPS/external-chromium_org-third_party-skia,Pure-Aosp/android_external_skia,YUPlayGodDev/platform_external_skia,OptiPop/external_chromium_org_third_party_skia,MarshedOut/android_external_skia,MonkeyZZZZ/platform_external_skia,Samsung/skia,Omegaphora/external_skia,VRToxin-AOSP/android_external_skia,spezi77/android_external_skia,FusionSP/external_chromium_org_third_party_skia,vanish87/skia,akiss77/skia,AOSP-YU/platform_external_skia,Igalia/skia,Infusion-OS/android_external_skia,AndroidOpenDevelopment/android_external_skia,samuelig/skia,HalCanary/skia-hc,MarshedOut/android_external_skia,nox/skia,TeamTwisted/external_skia,mydongistiny/android_external_skia,VentureROM-L/android_external_skia,amyvmiwei/skia,google/skia,Tesla-Redux/android_external_skia,Hybrid-Rom/external_skia,aospo/platform_external_skia,xzzz9097/android_external_skia,InfinitiveOS/external_skia,fire855/android_external_skia,xin3liang/platform_external_chromium_org_third_party_skia,TeamEOS/external_chromium_org_third_party_skia,tmpvar/skia.cc,vvuk/skia,zhaochengw/platform_external_skia,vanish87/skia,aospo/platform_external_skia,zhaochengw/platform_external_skia,ench0/external_chromium_org_third_party_skia,DiamondLovesYou/skia-sys,ench0/external_skia,Samsung/skia,TeamEOS/external_chromium_org_third_party_skia,AOSPB/external_skia,invisiblek/android_external_skia,TeslaOS/android_external_skia,TeamEOS/external_skia,wildermason/external_skia,suyouxin/android_external_skia,samuelig/skia,AOSPA-L/android_external_skia,samuelig/skia,TeamBliss-LP/android_external_skia,google/skia,InfinitiveOS/external_skia,samuelig/skia,qrealka/skia-hc,FusionSP/android_external_skia,TeamEOS/external_chromium_org_third_party_skia,android-ia/platform_external_chromium_org_third_party_skia,Hikari-no-Tenshi/android_external_skia,TeamBliss-LP/android_external_skia,HealthyHoney/temasek_SKIA,OneRom/external_skia,VRToxin-AOSP/android_external_skia,TeamTwisted/external_skia,MyAOSP/external_chromium_org_third_party_skia,MIPS/external-chromium_org-third_party-skia,larsbergstrom/skia,samuelig/skia,OptiPop/external_skia,android-ia/platform_external_chromium_org_third_party_skia,Fusion-Rom/android_external_skia,Hikari-no-Tenshi/android_external_skia,android-ia/platform_external_skia,TeamBliss-LP/android_external_skia,samuelig/skia,Tesla-Redux/android_external_skia,Plain-Andy/android_platform_external_skia,Purity-Lollipop/platform_external_skia,DARKPOP/external_chromium_org_third_party_skia,akiss77/skia,scroggo/skia,houst0nn/external_skia,sigysmund/platform_external_skia,Omegaphora/external_skia,Omegaphora/external_skia,Infinitive-OS/platform_external_skia,Euphoria-OS-Legacy/android_external_skia,TeamExodus/external_skia,fire855/android_external_skia,SlimSaber/android_external_skia,MinimalOS/android_external_chromium_org_third_party_skia,shahrzadmn/skia,AOSPA-L/android_external_skia,FusionSP/external_chromium_org_third_party_skia,sudosurootdev/external_skia,zhaochengw/platform_external_skia,OptiPop/external_chromium_org_third_party_skia,Purity-Lollipop/platform_external_skia,fire855/android_external_skia,Fusion-Rom/external_chromium_org_third_party_skia,houst0nn/external_skia,fire855/android_external_skia,HealthyHoney/temasek_SKIA,todotodoo/skia,Pure-Aosp/android_external_skia,Pure-Aosp/android_external_skia,spezi77/android_external_skia,MonkeyZZZZ/platform_external_skia,BrokenROM/external_skia,Android-AOSP/external_skia,Android-AOSP/external_skia,Jichao/skia,sombree/android_external_skia,ench0/external_chromium_org_third_party_skia,sombree/android_external_skia,MIPS/external-chromium_org-third_party-skia,rubenvb/skia,VRToxin-AOSP/android_external_skia,xin3liang/platform_external_chromium_org_third_party_skia,aospo/platform_external_skia,Purity-Lollipop/platform_external_skia,noselhq/skia,MinimalOS-AOSP/platform_external_skia,qrealka/skia-hc,AOSPU/external_chromium_org_third_party_skia,boulzordev/android_external_skia,tmpvar/skia.cc,ominux/skia,AOSP-YU/platform_external_skia,DiamondLovesYou/skia-sys,TeslaOS/android_external_skia,Purity-Lollipop/platform_external_skia,OptiPop/external_chromium_org_third_party_skia,Jichao/skia,todotodoo/skia,scroggo/skia,BrokenROM/external_skia,aosp-mirror/platform_external_skia,MinimalOS/external_chromium_org_third_party_skia,ctiao/platform-external-skia,chenlian2015/skia_from_google,NamelessRom/android_external_skia,MinimalOS/external_chromium_org_third_party_skia,VRToxin-AOSP/android_external_skia,MIPS/external-chromium_org-third_party-skia,DiamondLovesYou/skia-sys,boulzordev/android_external_skia,Hikari-no-Tenshi/android_external_skia,MinimalOS/external_skia,Pure-Aosp/android_external_skia,TeamBliss-LP/android_external_skia,wildermason/external_skia,geekboxzone/mmallow_external_skia,Samsung/skia,Plain-Andy/android_platform_external_skia,PAC-ROM/android_external_skia,scroggo/skia,Omegaphora/external_chromium_org_third_party_skia,DesolationStaging/android_external_skia,DesolationStaging/android_external_skia,wildermason/external_skia,Khaon/android_external_skia,invisiblek/android_external_skia,UBERMALLOW/external_skia,VRToxin-AOSP/android_external_skia,AOSPU/external_chromium_org_third_party_skia,Android-AOSP/external_skia,PAC-ROM/android_external_skia,TeamTwisted/external_skia,Asteroid-Project/android_external_skia,HalCanary/skia-hc,invisiblek/android_external_skia,Igalia/skia,aospo/platform_external_skia,ench0/external_skia,Android-AOSP/external_skia,TeslaProject/external_skia,YUPlayGodDev/platform_external_skia,fire855/android_external_skia,TeamBliss-LP/android_external_skia,noselhq/skia,DiamondLovesYou/skia-sys,ctiao/platform-external-skia,w3nd1go/android_external_skia,InfinitiveOS/external_skia,DesolationStaging/android_external_skia,MyAOSP/external_chromium_org_third_party_skia,Samsung/skia,MinimalOS/android_external_chromium_org_third_party_skia,MinimalOS/android_external_chromium_org_third_party_skia,pcwalton/skia,pcwalton/skia,geekboxzone/lollipop_external_skia,YUPlayGodDev/platform_external_skia,nox/skia,mydongistiny/external_chromium_org_third_party_skia,mydongistiny/android_external_skia,Android-AOSP/external_skia,Igalia/skia,vanish87/skia,Omegaphora/external_chromium_org_third_party_skia,Asteroid-Project/android_external_skia,timduru/platform-external-skia,Purity-Lollipop/platform_external_skia,YUPlayGodDev/platform_external_skia,TeamEOS/external_skia,Hybrid-Rom/external_skia,Fusion-Rom/android_external_skia,AsteroidOS/android_external_skia,MinimalOS/external_chromium_org_third_party_skia,xin3liang/platform_external_chromium_org_third_party_skia,HealthyHoney/temasek_SKIA,geekboxzone/lollipop_external_skia,xzzz9097/android_external_skia,pacerom/external_skia,nfxosp/platform_external_skia,F-AOSP/platform_external_skia,zhaochengw/platform_external_skia,Samsung/skia,sombree/android_external_skia,rubenvb/skia,sombree/android_external_skia,Hikari-no-Tenshi/android_external_skia,google/skia,VRToxin-AOSP/android_external_skia,aosp-mirror/platform_external_skia,nfxosp/platform_external_skia,boulzordev/android_external_skia,MinimalOS/android_external_skia,invisiblek/android_external_skia,amyvmiwei/skia,MinimalOS/external_skia,qrealka/skia-hc,MarshedOut/android_external_skia,byterom/android_external_skia,jtg-gg/skia,Hybrid-Rom/external_skia,mydongistiny/external_chromium_org_third_party_skia,todotodoo/skia,MinimalOS/android_external_skia,F-AOSP/platform_external_skia,AOSPB/external_skia,MIPS/external-chromium_org-third_party-skia,Hikari-no-Tenshi/android_external_skia,TeamBliss-LP/android_external_skia,Igalia/skia,samuelig/skia,Infinitive-OS/platform_external_skia,UBERMALLOW/external_skia,geekboxzone/lollipop_external_chromium_org_third_party_skia,AndroidOpenDevelopment/android_external_skia,SlimSaber/android_external_skia,Hikari-no-Tenshi/android_external_skia,rubenvb/skia,FusionSP/external_chromium_org_third_party_skia,MarshedOut/android_external_skia,MIPS/external-chromium_org-third_party-skia,InfinitiveOS/external_skia,ominux/skia,UBERMALLOW/external_skia,VentureROM-L/android_external_skia,vvuk/skia,vanish87/skia,scroggo/skia,TeamTwisted/external_skia,suyouxin/android_external_skia,OneRom/external_skia,Purity-Lollipop/platform_external_skia,CyanogenMod/android_external_chromium_org_third_party_skia,nvoron23/skia,GladeRom/android_external_skia,mmatyas/skia,AOSPA-L/android_external_skia,mydongistiny/external_chromium_org_third_party_skia,geekboxzone/lollipop_external_skia,MarshedOut/android_external_skia,wildermason/external_skia,codeaurora-unoffical/platform-external-skia,BrokenROM/external_skia,wildermason/external_skia,MinimalOS/android_external_skia,ominux/skia,Fusion-Rom/external_chromium_org_third_party_skia,BrokenROM/external_skia,mydongistiny/external_chromium_org_third_party_skia,samuelig/skia,MinimalOS/external_chromium_org_third_party_skia,DesolationStaging/android_external_skia,ctiao/platform-external-skia,pcwalton/skia,Tesla-Redux/android_external_skia,nfxosp/platform_external_skia,tmpvar/skia.cc,vvuk/skia,zhaochengw/platform_external_skia,sombree/android_external_skia,Euphoria-OS-Legacy/android_external_skia,HalCanary/skia-hc,mozilla-b2g/external_skia,fire855/android_external_skia,NamelessRom/android_external_skia,Fusion-Rom/external_chromium_org_third_party_skia,TeamExodus/external_skia,OptiPop/external_skia,Jichao/skia,mozilla-b2g/external_skia,mmatyas/skia,MinimalOS/external_chromium_org_third_party_skia,timduru/platform-external-skia,chenlian2015/skia_from_google,MinimalOS/android_external_chromium_org_third_party_skia,google/skia,Omegaphora/external_chromium_org_third_party_skia,timduru/platform-external-skia,Omegaphora/external_skia,timduru/platform-external-skia,RadonX-ROM/external_skia,tmpvar/skia.cc,mozilla-b2g/external_skia,mydongistiny/android_external_skia,Infinitive-OS/platform_external_skia,OptiPop/external_skia,MinimalOS-AOSP/platform_external_skia,YUPlayGodDev/platform_external_skia,MonkeyZZZZ/platform_external_skia,geekboxzone/mmallow_external_skia,vanish87/skia,invisiblek/android_external_skia,todotodoo/skia,xin3liang/platform_external_chromium_org_third_party_skia,InfinitiveOS/external_skia,Infinitive-OS/platform_external_skia,VentureROM-L/android_external_skia,OptiPop/external_skia,UBERMALLOW/external_skia,jtg-gg/skia,wildermason/external_skia,android-ia/platform_external_chromium_org_third_party_skia,OptiPop/external_chromium_org_third_party_skia,todotodoo/skia,AsteroidOS/android_external_skia,Samsung/skia,rubenvb/skia,AOSPA-L/android_external_skia,invisiblek/android_external_skia,Hybrid-Rom/external_skia,TeamTwisted/external_skia,scroggo/skia,OneRom/external_skia,Euphoria-OS-Legacy/android_external_skia,DesolationStaging/android_external_skia,Samsung/skia,Omegaphora/external_chromium_org_third_party_skia,qrealka/skia-hc,nvoron23/skia,larsbergstrom/skia,mmatyas/skia,FusionSP/external_chromium_org_third_party_skia,TeslaProject/external_skia,xzzz9097/android_external_skia,InfinitiveOS/external_skia,Khaon/android_external_skia,geekboxzone/mmallow_external_skia,YUPlayGodDev/platform_external_skia,MarshedOut/android_external_skia,MinimalOS/android_external_chromium_org_third_party_skia,Khaon/android_external_skia,temasek/android_external_skia,shahrzadmn/skia,xzzz9097/android_external_skia,pcwalton/skia,Euphoria-OS-Legacy/android_external_skia,android-ia/platform_external_skia,Khaon/android_external_skia,MyAOSP/external_chromium_org_third_party_skia,TeamTwisted/external_skia,vvuk/skia,fire855/android_external_skia,amyvmiwei/skia,geekboxzone/lollipop_external_skia,pcwalton/skia,BrokenROM/external_skia,android-ia/platform_external_chromium_org_third_party_skia,Fusion-Rom/android_external_skia,Android-AOSP/external_skia,AOSPU/external_chromium_org_third_party_skia,VRToxin-AOSP/android_external_skia,google/skia,PAC-ROM/android_external_skia,PAC-ROM/android_external_skia,android-ia/platform_external_chromium_org_third_party_skia,codeaurora-unoffical/platform-external-skia,invisiblek/android_external_skia,w3nd1go/android_external_skia,TeslaOS/android_external_skia,FusionSP/android_external_skia,AOSP-YU/platform_external_skia,xzzz9097/android_external_skia,Infusion-OS/android_external_skia,timduru/platform-external-skia,MinimalOS/android_external_chromium_org_third_party_skia,w3nd1go/android_external_skia,HalCanary/skia-hc,xin3liang/platform_external_chromium_org_third_party_skia,wildermason/external_skia,sigysmund/platform_external_skia,Omegaphora/external_skia,geekboxzone/lollipop_external_chromium_org_third_party_skia,F-AOSP/platform_external_skia,TeamEOS/external_chromium_org_third_party_skia,boulzordev/android_external_skia,codeaurora-unoffical/platform-external-skia,google/skia,mydongistiny/external_chromium_org_third_party_skia,MyAOSP/external_chromium_org_third_party_skia,ctiao/platform-external-skia,MinimalOS-AOSP/platform_external_skia,android-ia/platform_external_skia,vanish87/skia,AOSP-YU/platform_external_skia,TeamExodus/external_skia,UBERMALLOW/external_skia,FusionSP/android_external_skia,vvuk/skia,temasek/android_external_skia,houst0nn/external_skia,ominux/skia,ench0/external_skia,OneRom/external_skia,pacerom/external_skia,zhaochengw/platform_external_skia,OneRom/external_skia,byterom/android_external_skia,sudosurootdev/external_skia,sombree/android_external_skia,spezi77/android_external_skia,MinimalOS/external_chromium_org_third_party_skia,google/skia,mozilla-b2g/external_skia,mmatyas/skia,FusionSP/external_chromium_org_third_party_skia,AOSPB/external_skia,Plain-Andy/android_platform_external_skia,VRToxin-AOSP/android_external_skia,aosp-mirror/platform_external_skia,vanish87/skia,MinimalOS/android_external_chromium_org_third_party_skia,AsteroidOS/android_external_skia,pacerom/external_skia,MyAOSP/external_chromium_org_third_party_skia,MinimalOS/external_chromium_org_third_party_skia,FusionSP/external_chromium_org_third_party_skia,nox/skia,byterom/android_external_skia,TeslaProject/external_skia,InfinitiveOS/external_skia,geekboxzone/lollipop_external_skia,codeaurora-unoffical/platform-external-skia,YUPlayGodDev/platform_external_skia,MonkeyZZZZ/platform_external_skia,Fusion-Rom/android_external_skia,akiss77/skia,ctiao/platform-external-skia,vvuk/skia,larsbergstrom/skia,GladeRom/android_external_skia,PAC-ROM/android_external_skia,MonkeyZZZZ/platform_external_skia,mozilla-b2g/external_skia,Infusion-OS/android_external_skia,chenlian2015/skia_from_google,MinimalOS-AOSP/platform_external_skia,android-ia/platform_external_skia,Tesla-Redux/android_external_skia,AOSPB/external_skia,MonkeyZZZZ/platform_external_skia,CyanogenMod/android_external_chromium_org_third_party_skia,TeslaProject/external_skia,OptiPop/external_chromium_org_third_party_skia,GladeRom/android_external_skia,nvoron23/skia,Omegaphora/external_skia,GladeRom/android_external_skia,AOSPB/external_skia,aosp-mirror/platform_external_skia,NamelessRom/android_external_skia,AOSPB/external_skia,mozilla-b2g/external_skia,pcwalton/skia,vvuk/skia,nox/skia,SlimSaber/android_external_skia,F-AOSP/platform_external_skia,OptiPop/external_skia,shahrzadmn/skia,nvoron23/skia,Pure-Aosp/android_external_skia,CyanogenMod/android_external_chromium_org_third_party_skia,AOSPB/external_skia,CyanogenMod/android_external_chromium_org_third_party_skia,Omegaphora/external_skia,AOSP-YU/platform_external_skia,UBERMALLOW/external_skia,Khaon/android_external_skia,NamelessRom/android_external_skia,AOSPU/external_chromium_org_third_party_skia,akiss77/skia,mmatyas/skia,Igalia/skia,nfxosp/platform_external_skia,Jichao/skia,FusionSP/android_external_skia,jtg-gg/skia,DesolationStaging/android_external_skia,Asteroid-Project/android_external_skia,geekboxzone/lollipop_external_chromium_org_third_party_skia,mydongistiny/android_external_skia,SlimSaber/android_external_skia,nfxosp/platform_external_skia,DiamondLovesYou/skia-sys,OptiPop/external_skia,TeamTwisted/external_skia,TeamEOS/external_chromium_org_third_party_skia,Fusion-Rom/external_chromium_org_third_party_skia,scroggo/skia,zhaochengw/platform_external_skia,zhaochengw/platform_external_skia,Infusion-OS/android_external_skia,noselhq/skia,TeslaOS/android_external_skia,F-AOSP/platform_external_skia,nvoron23/skia,VentureROM-L/android_external_skia,temasek/android_external_skia,AOSP-YU/platform_external_skia,aospo/platform_external_skia,MonkeyZZZZ/platform_external_skia,rubenvb/skia,TeamTwisted/external_skia,Infinitive-OS/platform_external_skia,mozilla-b2g/external_skia,jtg-gg/skia,TeamExodus/external_skia,sudosurootdev/external_skia,ench0/external_skia,scroggo/skia,geekboxzone/mmallow_external_skia,AOSPA-L/android_external_skia,Asteroid-Project/android_external_skia,Khaon/android_external_skia,Plain-Andy/android_platform_external_skia,Infinitive-OS/platform_external_skia,GladeRom/android_external_skia,HalCanary/skia-hc,MinimalOS-AOSP/platform_external_skia,mmatyas/skia,Plain-Andy/android_platform_external_skia,Omegaphora/external_skia,AsteroidOS/android_external_skia,noselhq/skia,AOSPU/external_chromium_org_third_party_skia,BrokenROM/external_skia,MinimalOS/external_skia,FusionSP/android_external_skia
|
47991cacdb0e8951ff7d14c1c91c2bed4248ba32
|
benchmarks/c/examples/simple_branch/main.c
|
benchmarks/c/examples/simple_branch/main.c
|
#ifdef KLEE
#include "klee/klee.h"
#endif
#include <assert.h>
#include <stdio.h>
int main() {
int a;
#ifdef KLEE
klee_make_symbolic(&a, sizeof(a), "a");
#endif
if (a == 0) {
printf("a is zero\n");
#ifdef BUG
assert(0);
#endif
} else {
printf("a is non-zero\n");
}
return 0;
}
|
#ifdef KLEE
#include "klee/klee.h"
#endif
#include <assert.h>
#include <stdio.h>
int main() {
int a = 0;
#ifdef KLEE
klee_make_symbolic(&a, sizeof(a), "a");
#endif
if (a == 0) {
printf("a is zero\n");
#ifdef BUG
assert(0);
#endif
} else {
printf("a is non-zero\n");
}
return 0;
}
|
Fix assignment in concrete case for example benchmark so that bug should be deterministic.
|
Fix assignment in concrete case for example benchmark so that
bug should be deterministic.
|
C
|
bsd-3-clause
|
delcypher/fp-bench,delcypher/fp-bench,delcypher/fp-bench
|
9cf71828ad696271568d0255138adf82383a9adc
|
AsyncDisplayKit/AsyncDisplayKit.h
|
AsyncDisplayKit/AsyncDisplayKit.h
|
/* Copyright (c) 2014-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#import <AsyncDisplayKit/ASDisplayNode.h>
#import <AsyncDisplayKit/ASDisplayNodeExtras.h>
#import <AsyncDisplayKit/ASControlNode.h>
#import <AsyncDisplayKit/ASImageNode.h>
#import <AsyncDisplayKit/ASTextNode.h>
#import <AsyncDisplayKit/ASBasicImageDownloader.h>
#import <AsyncDisplayKit/ASMultiplexImageNode.h>
#import <AsyncDisplayKit/ASNetworkImageNode.h>
#import <AsyncDisplayKit/ASTableView.h>
#import <AsyncDisplayKit/ASCollectionView.h>
#import <AsyncDisplayKit/ASCellNode.h>
|
/* Copyright (c) 2014-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#import <AsyncDisplayKit/ASDisplayNode.h>
#import <AsyncDisplayKit/ASDisplayNodeExtras.h>
#import <AsyncDisplayKit/ASControlNode.h>
#import <AsyncDisplayKit/ASImageNode.h>
#import <AsyncDisplayKit/ASTextNode.h>
#import <AsyncDisplayKit/ASEditableTextNode.h>
#import <AsyncDisplayKit/ASBasicImageDownloader.h>
#import <AsyncDisplayKit/ASMultiplexImageNode.h>
#import <AsyncDisplayKit/ASNetworkImageNode.h>
#import <AsyncDisplayKit/ASTableView.h>
#import <AsyncDisplayKit/ASCollectionView.h>
#import <AsyncDisplayKit/ASCellNode.h>
|
Include ASEditableTextNode in framework header.
|
Include ASEditableTextNode in framework header.
|
C
|
bsd-3-clause
|
mtxs007/AsyncDisplayKit,meitianapp/AsyncDisplayKit,JetZou/AsyncDisplayKit,Adlai-Holler/AsyncDisplayKit,george-gw/AsyncDisplayKit,steveram/AsyncDisplayKit,ppamorim/AsyncDisplayKit,wangjiangwen/AsyncDisplayKit,hannahmbanana/AsyncDisplayKit,nrcmedia/AsyncDisplayKit,kesiking/AsyncDisplayKit,paulyoung/AsyncDisplayKit,sabby3861/AsyncDisplayKit,supriyantomaftuh/AsyncDisplayKit,samhsiung/AsyncDisplayKit,skullacy/AsyncDisplayKit,PodsMakleso6/AsyncDisplayKit,paulyoung/AsyncDisplayKit,levi/AsyncDisplayKit,kesiking/AsyncDisplayKit,jellenbogen/AsyncDisplayKit,tomizimobile/AsyncDisplayKit,k1ok3n/AsyncDisplayKit,frankenthumbs/AsyncDisplayKit,Cen92/AsyncDisplayKit,wangjiangwen/AsyncDisplayKit,tomizimobile/AsyncDisplayKit,KacheFlowe/AsyncDisplayKit,TheoJL/AsyncDisplayKit,JetZou/AsyncDisplayKit,adamdahan/AsyncDisplayKit,harryworld/AsyncDisplayKit,treejames/AsyncDisplayKit,Xinchi/AsyncDisplayKit,benzguo/AsyncDisplayKit,meitianapp/AsyncDisplayKit,tomizimobile/AsyncDisplayKit,hejunbinlan/AsyncDisplayKit,200895045/AsyncDisplayKit,aaronschubert0/AsyncDisplayKit,RuiAAPeres/AsyncDisplayKit,RuiAAPeres/AsyncDisplayKit,skullacy/AsyncDisplayKit,dvan001/AsyncDisplayKit,maicki/AsyncDisplayKit,samhsiung/AsyncDisplayKit,chrisdanford/AsyncDisplayKit,rmls/AsyncDisplayKit,marmelroy/AsyncDisplayKit,bimawa/AsyncDisplayKit,zeitgeist7/AsyncDisplayKit,levi/AsyncDisplayKit,lappp9/AsyncDisplayKit,KacheFlowe/AsyncDisplayKit,codepython/AsyncDisplayKit,DanielAsher/AsyncDisplayKit,zeyang101909/AsyncDisplayKit,donpark/AsyncDisplayKit,Adlai-Holler/AsyncDisplayKit,michaelvillar/AsyncDisplayKit,zeitgeist7/AsyncDisplayKit,bimawa/AsyncDisplayKit,jflinter/AsyncDisplayKit,angi2/AsyncDisplayKit,pytouzain/AsyncDisplayKit,treejames/AsyncDisplayKit,treejames/AsyncDisplayKit,tharhtet/AsyncDisplayKit,eeeyes/AsyncDisplayKit,hejunbinlan/AsyncDisplayKit,grgcombs/AsyncDisplayKit,DanielAsher/AsyncDisplayKit,donpark/AsyncDisplayKit,hannahmbanana/AsyncDisplayKit,jflinter/AsyncDisplayKit,zeyang101909/AsyncDisplayKit,nivanchikov/AsyncDisplayKit,xujim/AsyncDisplayKit,samhsiung/AsyncDisplayKit,zdw19840929/AsyncDisplayKit,flovouin/AsyncDisplayKit,KacheFlowe/AsyncDisplayKit,RuiAAPeres/AsyncDisplayKit,zdw19840929/AsyncDisplayKit,eanagel/AsyncDisplayKit,21451061/AsyncDisplayKit,dskatz22/AsyncDisplayKit,garrettmoon/AsyncDisplayKit,maicki/AsyncDisplayKit,michaelvillar/AsyncDisplayKit,JetZou/AsyncDisplayKit,Xinchi/AsyncDisplayKit,KacheFlowe/AsyncDisplayKit,zhangyabinzyb/AsyncDisplayKit,rcancro/AsyncDisplayKit,levi/AsyncDisplayKit,yangyangluoluo/AsyncDisplayKit,bimawa/AsyncDisplayKit,TheoJL/AsyncDisplayKit,zdw19840929/AsyncDisplayKit,owenwuef/AsyncDisplayKit,k1ok3n/AsyncDisplayKit,rmls/AsyncDisplayKit,jellenbogen/AsyncDisplayKit,meitianapp/AsyncDisplayKit,ERussel/AsyncDisplayKit,todotodoo/AsyncDisplayKit,hejunbinlan/AsyncDisplayKit,meitianapp/AsyncDisplayKit,zdw19840929/AsyncDisplayKit,hbucius/AsyncDisplayKit,todotodoo/AsyncDisplayKit,Teino1978-Corp/Teino1978-Corp-AsyncDisplayKit,harryworld/AsyncDisplayKit,benzguo/AsyncDisplayKit,george-gw/AsyncDisplayKit,yufenglv/AsyncDisplayKit,msdgwzhy6/AsyncDisplayKit,angi2/AsyncDisplayKit,rcancro/AsyncDisplayKit,yangyangluoluo/AsyncDisplayKit,yangyangluoluo/AsyncDisplayKit,PodsMakleso6/AsyncDisplayKit,george-gw/AsyncDisplayKit,yufenglv/AsyncDisplayKit,grgcombs/AsyncDisplayKit,donpark/AsyncDisplayKit,levi/AsyncDisplayKit,supriyantomaftuh/AsyncDisplayKit,benzguo/AsyncDisplayKit,dskatz22/AsyncDisplayKit,k1ok3n/AsyncDisplayKit,Cen92/AsyncDisplayKit,programming086/AsyncDisplayKit,harryworld/AsyncDisplayKit,rahul-malik/AsyncDisplayKit,zhangyabinzyb/AsyncDisplayKit,romyilano/AsyncDisplayKit,garrettmoon/AsyncDisplayKit,Xinchi/AsyncDisplayKit,supriyantomaftuh/AsyncDisplayKit,flovouin/AsyncDisplayKit,200895045/AsyncDisplayKit,michaelvillar/AsyncDisplayKit,treejames/AsyncDisplayKit,JetZou/AsyncDisplayKit,yufenglv/AsyncDisplayKit,NghiaTranUIT/AsyncDisplayKit,hannahmbanana/AsyncDisplayKit,todotodoo/AsyncDisplayKit,programming086/AsyncDisplayKit,nivanchikov/AsyncDisplayKit,dvan001/AsyncDisplayKit,smyrgl/AsyncDisplayKit,eanagel/AsyncDisplayKit,maicki/AsyncDisplayKit,wangjiangwen/AsyncDisplayKit,Cen92/AsyncDisplayKit,angi2/AsyncDisplayKit,21451061/AsyncDisplayKit,kesiking/AsyncDisplayKit,gazreese/AsyncDisplayKit,gazreese/AsyncDisplayKit,NghiaTranUIT/AsyncDisplayKit,levi/AsyncDisplayKit,nivanchikov/AsyncDisplayKit,21451061/AsyncDisplayKit,donpark/AsyncDisplayKit,NghiaTranUIT/AsyncDisplayKit,200895045/AsyncDisplayKit,zeitgeist7/AsyncDisplayKit,frankenthumbs/AsyncDisplayKit,ppamorim/AsyncDisplayKit,ppamorim/AsyncDisplayKit,steveram/AsyncDisplayKit,garrettmoon/AsyncDisplayKit,dvan001/AsyncDisplayKit,romyilano/AsyncDisplayKit,adamdahan/AsyncDisplayKit,angi2/AsyncDisplayKit,jellenbogen/AsyncDisplayKit,chrisdanford/AsyncDisplayKit,frankenthumbs/AsyncDisplayKit,romyilano/AsyncDisplayKit,eeeyes/AsyncDisplayKit,hbucius/AsyncDisplayKit,maicki/AsyncDisplayKit,gazreese/AsyncDisplayKit,flovouin/AsyncDisplayKit,skullacy/AsyncDisplayKit,hannahmbanana/AsyncDisplayKit,codepython/AsyncDisplayKit,zeyang101909/AsyncDisplayKit,aaronschubert0/AsyncDisplayKit,eanagel/AsyncDisplayKit,rahul-malik/AsyncDisplayKit,benzguo/AsyncDisplayKit,gazreese/AsyncDisplayKit,jflinter/AsyncDisplayKit,adamdahan/AsyncDisplayKit,dskatz22/AsyncDisplayKit,hannahmbanana/AsyncDisplayKit,tomizimobile/AsyncDisplayKit,nrcmedia/AsyncDisplayKit,wangjiangwen/AsyncDisplayKit,jflinter/AsyncDisplayKit,Teino1978-Corp/Teino1978-Corp-AsyncDisplayKit,tharhtet/AsyncDisplayKit,facebook/AsyncDisplayKit,RuiAAPeres/AsyncDisplayKit,msdgwzhy6/AsyncDisplayKit,msdgwzhy6/AsyncDisplayKit,zeitgeist7/AsyncDisplayKit,pytouzain/AsyncDisplayKit,steveram/AsyncDisplayKit,chrisdanford/AsyncDisplayKit,ERussel/AsyncDisplayKit,donpark/AsyncDisplayKit,george-gw/AsyncDisplayKit,21451061/AsyncDisplayKit,grgcombs/AsyncDisplayKit,hbucius/AsyncDisplayKit,ppamorim/AsyncDisplayKit,maicki/AsyncDisplayKit,xujim/AsyncDisplayKit,k1ok3n/AsyncDisplayKit,paulyoung/AsyncDisplayKit,rcancro/AsyncDisplayKit,skullacy/AsyncDisplayKit,sabby3861/AsyncDisplayKit,grgcombs/AsyncDisplayKit,todotodoo/AsyncDisplayKit,treejames/AsyncDisplayKit,adamdahan/AsyncDisplayKit,codepython/AsyncDisplayKit,tharhtet/AsyncDisplayKit,aaronschubert0/AsyncDisplayKit,TheoJL/AsyncDisplayKit,bimawa/AsyncDisplayKit,smyrgl/AsyncDisplayKit,lappp9/AsyncDisplayKit,skullacy/AsyncDisplayKit,yangyangluoluo/AsyncDisplayKit,zhangyabinzyb/AsyncDisplayKit,facebook/AsyncDisplayKit,smyrgl/AsyncDisplayKit,programming086/AsyncDisplayKit,zhangyabinzyb/AsyncDisplayKit,marmelroy/AsyncDisplayKit,smyrgl/AsyncDisplayKit,michaelvillar/AsyncDisplayKit,TheoJL/AsyncDisplayKit,rmls/AsyncDisplayKit,programming086/AsyncDisplayKit,jellenbogen/AsyncDisplayKit,harryworld/AsyncDisplayKit,Cen92/AsyncDisplayKit,DanielAsher/AsyncDisplayKit,NghiaTranUIT/AsyncDisplayKit,owenwuef/AsyncDisplayKit,flovouin/AsyncDisplayKit,marmelroy/AsyncDisplayKit,nivanchikov/AsyncDisplayKit,JetZou/AsyncDisplayKit,ERussel/AsyncDisplayKit,msdgwzhy6/AsyncDisplayKit,mtxs007/AsyncDisplayKit,programming086/AsyncDisplayKit,kesiking/AsyncDisplayKit,jellenbogen/AsyncDisplayKit,dvan001/AsyncDisplayKit,Teino1978-Corp/Teino1978-Corp-AsyncDisplayKit,garrettmoon/AsyncDisplayKit,aaronschubert0/AsyncDisplayKit,zeyang101909/AsyncDisplayKit,facebook/AsyncDisplayKit,200895045/AsyncDisplayKit,pytouzain/AsyncDisplayKit,harryworld/AsyncDisplayKit,Adlai-Holler/AsyncDisplayKit,zeyang101909/AsyncDisplayKit,eanagel/AsyncDisplayKit,hejunbinlan/AsyncDisplayKit,eeeyes/AsyncDisplayKit,yufenglv/AsyncDisplayKit,rcancro/AsyncDisplayKit,NghiaTranUIT/AsyncDisplayKit,chrisdanford/AsyncDisplayKit,steveram/AsyncDisplayKit,xujim/AsyncDisplayKit,KacheFlowe/AsyncDisplayKit,pytouzain/AsyncDisplayKit,rmls/AsyncDisplayKit,Teino1978-Corp/Teino1978-Corp-AsyncDisplayKit,mtxs007/AsyncDisplayKit,michaelvillar/AsyncDisplayKit,dskatz22/AsyncDisplayKit,DanielAsher/AsyncDisplayKit,Adlai-Holler/AsyncDisplayKit,Xinchi/AsyncDisplayKit,yufenglv/AsyncDisplayKit,frankenthumbs/AsyncDisplayKit,rahul-malik/AsyncDisplayKit,romyilano/AsyncDisplayKit,dskatz22/AsyncDisplayKit,hbucius/AsyncDisplayKit,paulyoung/AsyncDisplayKit,yangyangluoluo/AsyncDisplayKit,nivanchikov/AsyncDisplayKit,rcancro/AsyncDisplayKit,sabby3861/AsyncDisplayKit,zdw19840929/AsyncDisplayKit,PodsMakleso6/AsyncDisplayKit,mtxs007/AsyncDisplayKit,rahul-malik/AsyncDisplayKit,angi2/AsyncDisplayKit,garrettmoon/AsyncDisplayKit,zeitgeist7/AsyncDisplayKit,Teino1978-Corp/Teino1978-Corp-AsyncDisplayKit,DanielAsher/AsyncDisplayKit,tharhtet/AsyncDisplayKit,k1ok3n/AsyncDisplayKit,eeeyes/AsyncDisplayKit,supriyantomaftuh/AsyncDisplayKit,nrcmedia/AsyncDisplayKit,xujim/AsyncDisplayKit,PodsMakleso6/AsyncDisplayKit,paulyoung/AsyncDisplayKit,codepython/AsyncDisplayKit,marmelroy/AsyncDisplayKit,lappp9/AsyncDisplayKit,eanagel/AsyncDisplayKit,xujim/AsyncDisplayKit,facebook/AsyncDisplayKit,owenwuef/AsyncDisplayKit,samhsiung/AsyncDisplayKit,RuiAAPeres/AsyncDisplayKit,ERussel/AsyncDisplayKit,nrcmedia/AsyncDisplayKit,sabby3861/AsyncDisplayKit,owenwuef/AsyncDisplayKit,rmls/AsyncDisplayKit,aaronschubert0/AsyncDisplayKit,lappp9/AsyncDisplayKit,tomizimobile/AsyncDisplayKit,Adlai-Holler/AsyncDisplayKit,nrcmedia/AsyncDisplayKit,Xinchi/AsyncDisplayKit,frankenthumbs/AsyncDisplayKit,PodsMakleso6/AsyncDisplayKit,flovouin/AsyncDisplayKit
|
b66be8ed628e2a467c5c230eb2b91899af1ba6ed
|
UsbDk/UsbTarget.h
|
UsbDk/UsbTarget.h
|
#pragma once
#include "ntddk.h"
#include "wdf.h"
#include "usb.h"
#include "UsbSpec.h"
#include "wdfusb.h"
#include "Alloc.h"
class CWdfUsbInterface;
class CWdfUsbTarget
{
public:
CWdfUsbTarget();
~CWdfUsbTarget();
NTSTATUS Create(WDFDEVICE Device);
void DeviceDescriptor(USB_DEVICE_DESCRIPTOR &Descriptor);
NTSTATUS ConfigurationDescriptor(UCHAR Index, PUSB_CONFIGURATION_DESCRIPTOR Descriptor, PULONG TotalLength);
NTSTATUS SetInterfaceAltSetting(UCHAR InterfaceIdx, UCHAR AltSettingIdx);
private:
WDFDEVICE m_Device = WDF_NO_HANDLE;
WDFUSBDEVICE m_UsbDevice = WDF_NO_HANDLE;
CObjHolder<CWdfUsbInterface> m_Interfaces;
UCHAR m_NumInterfaces = 0;
CWdfUsbTarget(const CWdfUsbTarget&) = delete;
CWdfUsbTarget& operator= (const CWdfUsbTarget&) = delete;
};
|
#pragma once
#include "ntddk.h"
#include "wdf.h"
#include "usb.h"
#include "UsbSpec.h"
#include "wdfusb.h"
#include "Alloc.h"
class CWdfUsbInterface;
class CWdfUsbTarget
{
public:
CWdfUsbTarget();
~CWdfUsbTarget();
NTSTATUS Create(WDFDEVICE Device);
void DeviceDescriptor(USB_DEVICE_DESCRIPTOR &Descriptor);
NTSTATUS ConfigurationDescriptor(UCHAR Index, PUSB_CONFIGURATION_DESCRIPTOR Descriptor, PULONG TotalLength);
NTSTATUS SetInterfaceAltSetting(UCHAR InterfaceIdx, UCHAR AltSettingIdx);
operator WDFUSBDEVICE () const
{ return m_UsbDevice; }
private:
WDFDEVICE m_Device = WDF_NO_HANDLE;
WDFUSBDEVICE m_UsbDevice = WDF_NO_HANDLE;
CObjHolder<CWdfUsbInterface> m_Interfaces;
UCHAR m_NumInterfaces = 0;
CWdfUsbTarget(const CWdfUsbTarget&) = delete;
CWdfUsbTarget& operator= (const CWdfUsbTarget&) = delete;
};
|
Introduce USB target raw device accessor
|
UsbDk: Introduce USB target raw device accessor
Signed-off-by: Dmitry Fleytman <f50f56ffad4b379c2a89812e98b14900ef87e9ea@redhat.com>
|
C
|
apache-2.0
|
freedesktop-unofficial-mirror/spice__win32__usbdk,SPICE/win32-usbdk,daynix/UsbDk,daynix/UsbDk,SPICE/win32-usbdk,freedesktop-unofficial-mirror/spice__win32__usbdk,freedesktop-unofficial-mirror/spice__win32__usbdk
|
584d2815becf4c8c5a69bf52ce44a73bb4db29b3
|
src/ios/CDVBackgroundGeoLocation.h
|
src/ios/CDVBackgroundGeoLocation.h
|
//
// CDVBackgroundGeoLocation.h
//
// Created by Chris Scott <chris@transistorsoft.com>
//
#import <Cordova/CDVPlugin.h>
#import "CDVLocation.h"
#import <AudioToolbox/AudioToolbox.h>
@interface CDVBackgroundGeoLocation : CDVPlugin <CLLocationManagerDelegate>
@property (nonatomic, strong) NSString* syncCallbackId;
@property (nonatomic, strong) NSMutableArray* stationaryRegionListeners;
- (void) configure:(CDVInvokedUrlCommand*)command;
- (void) start:(CDVInvokedUrlCommand*)command;
- (void) stop:(CDVInvokedUrlCommand*)command;
- (void) finish:(CDVInvokedUrlCommand*)command;
- (void) onPaceChange:(CDVInvokedUrlCommand*)command;
- (void) setConfig:(CDVInvokedUrlCommand*)command;
- (void) onSuspend:(NSNotification *)notification;
- (void) onResume:(NSNotification *)notification;
@end
|
//
// CDVBackgroundGeoLocation.h
//
// Created by Chris Scott <chris@transistorsoft.com>
//
#import <Cordova/CDVPlugin.h>
#import "CDVLocation.h"
#import <AudioToolbox/AudioToolbox.h>
@interface CDVBackgroundGeoLocation : CDVPlugin <CLLocationManagerDelegate>
@property (nonatomic, strong) NSString* syncCallbackId;
@property (nonatomic, strong) NSMutableArray* stationaryRegionListeners;
- (void) configure:(CDVInvokedUrlCommand*)command;
- (void) start:(CDVInvokedUrlCommand*)command;
- (void) stop:(CDVInvokedUrlCommand*)command;
- (void) finish:(CDVInvokedUrlCommand*)command;
- (void) onPaceChange:(CDVInvokedUrlCommand*)command;
- (void) setConfig:(CDVInvokedUrlCommand*)command;
- (void) onStationary:(CDVInvokedUrlCommand*)command;
- (void) getStationaryLocation:(CDVInvokedUrlCommand *)command;
- (void) onSuspend:(NSNotification *)notification;
- (void) onResume:(NSNotification *)notification;
@end
|
Add 2 missing public methods to .h, including new onStationary method
|
Add 2 missing public methods to .h, including new onStationary method
|
C
|
apache-2.0
|
akserg/cordova-plugin-background-geolocation,KL-Moment/cordova-plugin-background-geolocation,gkachru/cordova-plugin-background-geolocation,Anthbs/cordova-plugin-background-geolocation,KL-Moment/cordova-plugin-background-geolocation,imranw/cordova-plugin-background-geolocation,hydrogennz/cordova-plugin-background-geolocation,hydrogennz/cordova-plugin-background-geolocation,mauron85/cordova-plugin-mauron85-background-geolocation-phonegapbuild,tdenovan/cordova-plugin-background-geolocation,Anthbs/cordova-plugin-background-geolocation,tiangolo/cordova-plugin-background-geolocation,ZenCity/cordova-plugin-background-geolocation,parmod-arora/cordova-plugin-background-geolocation,redskyit/cordova-plugin-background-geolocation,bastian-meier/cordova-plugin-background-geolocation,redskyit/cordova-plugin-background-geolocation,finchen/cordova-plugin-background-geolocation-1,AndresRojasIsaza/cordova-plugin-background-geolocation,finchen/cordova-plugin-background-geolocation-1,huttj/cordova-plugin-background-geolocation,hydrogennz/cordova-plugin-background-geolocation,KL-Moment/cordova-plugin-background-geolocation,akserg/cordova-plugin-background-geolocation,huttj/cordova-plugin-background-geolocation,mauron85/cordova-plugin-mauron85-background-geolocation-phonegapbuild,AndresRojasIsaza/cordova-plugin-background-geolocation,finchen/cordova-plugin-background-geolocation-1,tiangolo/cordova-plugin-background-geolocation,ZenCity/cordova-plugin-background-geolocation,danilab/cordova-plugin-background-geolocation-1,imranw/cordova-plugin-background-geolocation,bastian-meier/cordova-plugin-background-geolocation,parmod-arora/cordova-plugin-background-geolocation,tdenovan/cordova-plugin-background-geolocation,svennerberg/cordova-plugin-background-geolocation,KL-Moment/cordova-plugin-background-geolocation,AndresRojasIsaza/cordova-plugin-background-geolocation,keesschollaart81/cordova-plugin-background-geolocation,Anthbs/cordova-plugin-background-geolocation,huttj/cordova-plugin-background-geolocation,danilab/cordova-plugin-background-geolocation-1,keesschollaart81/cordova-plugin-background-geolocation,imranw/cordova-plugin-background-geolocation,tdenovan/cordova-plugin-background-geolocation,huttj/cordova-plugin-background-geolocation,danilab/cordova-plugin-background-geolocation-1,finchen/cordova-plugin-background-geolocation-1,svennerberg/cordova-plugin-background-geolocation,ZenCity/cordova-plugin-background-geolocation,akserg/cordova-plugin-background-geolocation,GeoTob/cordova-plugin-background-geolocation,tdenovan/cordova-plugin-background-geolocation,mauron85/cordova-plugin-background-geolocation,imranw/cordova-plugin-background-geolocation,ZenCity/cordova-plugin-background-geolocation,Anthbs/cordova-plugin-background-geolocation,GeoTob/cordova-plugin-background-geolocation,tiangolo/cordova-plugin-background-geolocation,hydrogennz/cordova-plugin-background-geolocation,akserg/cordova-plugin-background-geolocation,parmod-arora/cordova-plugin-background-geolocation,tiangolo/cordova-plugin-background-geolocation,mauron85/cordova-plugin-mauron85-background-geolocation-phonegapbuild,keesschollaart81/cordova-plugin-background-geolocation,svennerberg/cordova-plugin-background-geolocation,parmod-arora/cordova-plugin-background-geolocation,mauron85/cordova-plugin-background-geolocation,mauron85/cordova-plugin-background-geolocation,AndresRojasIsaza/cordova-plugin-background-geolocation,gkachru/cordova-plugin-background-geolocation,svennerberg/cordova-plugin-background-geolocation
|
5f6c802acf18c69a74c7a9b84d5c33321d433893
|
src/sass_context_wrapper.h
|
src/sass_context_wrapper.h
|
#include <nan.h>
#include <condition_variable>
#include "libsass/sass_context.h"
#ifdef __cplusplus
extern "C" {
#endif
using namespace v8;
void compile_data(struct Sass_Data_Context* dctx);
void compile_file(struct Sass_File_Context* fctx);
void compile_it(uv_work_t* req);
struct sass_context_wrapper {
// binding related
bool is_sync;
void* cookie;
const char* prev;
const char* file;
std::mutex* importer_mutex;
std::condition_variable* importer_condition_variable;
// libsass related
Sass_Import** imports;
Sass_Data_Context* dctx;
Sass_File_Context* fctx;
// libuv related
uv_async_t async;
uv_work_t request;
// v8 and nan related
Persistent<Object> result;
NanCallback* error_callback;
NanCallback* success_callback;
NanCallback* importer_callback;
};
struct sass_context_wrapper* sass_make_context_wrapper(void);
void sass_wrapper_dispose(struct sass_context_wrapper*, char*);
void sass_free_context_wrapper(struct sass_context_wrapper*);
#ifdef __cplusplus
}
#endif
|
#include <stdlib.h>
#include <nan.h>
#include <condition_variable>
#include "libsass/sass_context.h"
#ifdef __cplusplus
extern "C" {
#endif
using namespace v8;
void compile_data(struct Sass_Data_Context* dctx);
void compile_file(struct Sass_File_Context* fctx);
void compile_it(uv_work_t* req);
struct sass_context_wrapper {
// binding related
bool is_sync;
void* cookie;
const char* prev;
const char* file;
std::mutex* importer_mutex;
std::condition_variable* importer_condition_variable;
// libsass related
Sass_Import** imports;
Sass_Data_Context* dctx;
Sass_File_Context* fctx;
// libuv related
uv_async_t async;
uv_work_t request;
// v8 and nan related
Persistent<Object> result;
NanCallback* error_callback;
NanCallback* success_callback;
NanCallback* importer_callback;
};
struct sass_context_wrapper* sass_make_context_wrapper(void);
void sass_wrapper_dispose(struct sass_context_wrapper*, char*);
void sass_free_context_wrapper(struct sass_context_wrapper*);
#ifdef __cplusplus
}
#endif
|
Include <stdlib.h> for malloc related functions.
|
Include <stdlib.h> for malloc related functions.
|
C
|
mit
|
gravityrail/node-sass,deanrather/node-sass,cvibhagool/node-sass,Smartbank/node-sass,SomeoneWeird/node-sass,xzyfer/node-sass,Smartbank/node-sass,sass/node-sass,xzyfer/node-sass,nfriedly/node-sass,greyhwndz/node-sass,greyhwndz/node-sass,glassdimly/node-sass,littlepoolshark/node-sass,FeodorFitsner/node-sass,paulcbetts/node-sass,nschonni/node-sass,xzyfer/node-sass,alanhogan/node-sass,jnbt/node-sass,kylecho/node-sass,greyhwndz/node-sass,nschonni/node-sass,nibblebot/node-sass,alanhogan/node-sass,plora/node-sass,eskygo/node-sass,SomeoneWeird/node-sass,justame/node-sass,JohnAlbin/node-sass,Cydrobolt/node-sass,besarthoxhaj/node-sass,cfebs/node-sass,davejachimiak/node-sass,FeodorFitsner/node-sass,quentinyang/node-sass,nibblebot/node-sass,am11/node-sass,Smartbank/node-sass,xzyfer/node-sass,alanhogan/node-sass,gdi2290/node-sass,saper/node-sass,JTKnox91/node-sass,Cydrobolt/node-sass,yanickouellet/node-sass,jnbt/node-sass,cfebs/node-sass,plora/node-sass,cvibhagool/node-sass,bigcommerce-labs/node-sass,saper/node-sass,chriseppstein/node-sass,sass/node-sass,saper/node-sass,quentinyang/node-sass,pmq20/node-sass,sass/node-sass,sass/node-sass,saper/node-sass,gravityrail/node-sass,cvibhagool/node-sass,glassdimly/node-sass,lwdgit/node-sass,deanrather/node-sass,gdi2290/node-sass,alanhogan/node-sass,glassdimly/node-sass,ankurp/node-sass,xzyfer/node-sass,EdwonLim/node-sass-china,glassdimly/node-sass,pmq20/node-sass,justame/node-sass,dazld/node-sass,JTKnox91/node-sass,paulcbetts/node-sass,FeodorFitsner/node-sass,nschonni/node-sass,quentinyang/node-sass,nschonni/node-sass,jnbt/node-sass,Vitogee/node-sass,Vitogee/node-sass,saper/node-sass,nschonni/node-sass,dazld/node-sass,sass/node-sass,EdwonLim/node-sass-china,sass/node-sass,nibblebot/node-sass,xzyfer/node-sass,justame/node-sass,quentinyang/node-sass,nfriedly/node-sass,ankurp/node-sass,lwdgit/node-sass,kylecho/node-sass,xzyfer/node-sass,besarthoxhaj/node-sass,deanrather/node-sass,saper/node-sass,nschonni/node-sass,kylecho/node-sass,Vitogee/node-sass,justame/node-sass,ekskimn/node-sass,Smartbank/node-sass,pmq20/node-sass,deanrather/node-sass,cvibhagool/node-sass,am11/node-sass,yanickouellet/node-sass,ekskimn/node-sass,chriseppstein/node-sass,sass/node-sass,nfriedly/node-sass,JTKnox91/node-sass,bigcommerce-labs/node-sass,Smartbank/node-sass,littlepoolshark/node-sass,littlepoolshark/node-sass,saper/node-sass,gravityrail/node-sass,gdi2290/node-sass,Cydrobolt/node-sass,am11/node-sass,Smartbank/node-sass,bigcommerce-labs/node-sass,Vitogee/node-sass,ankurp/node-sass,plora/node-sass,besarthoxhaj/node-sass,paulcbetts/node-sass,lwdgit/node-sass,nibblebot/node-sass,davejachimiak/node-sass,bigcommerce-labs/node-sass,JTKnox91/node-sass,greyhwndz/node-sass,cfebs/node-sass,gravityrail/node-sass,SomeoneWeird/node-sass,chriseppstein/node-sass,gdi2290/node-sass,ekskimn/node-sass,nschonni/node-sass,dazld/node-sass,ekskimn/node-sass,eskygo/node-sass,paulcbetts/node-sass,lwdgit/node-sass,JohnAlbin/node-sass,eskygo/node-sass,JohnAlbin/node-sass,chriseppstein/node-sass,Smartbank/node-sass,davejachimiak/node-sass,yanickouellet/node-sass,plora/node-sass,am11/node-sass,kylecho/node-sass,pmq20/node-sass,cfebs/node-sass,ankurp/node-sass,Cydrobolt/node-sass,FeodorFitsner/node-sass,EdwonLim/node-sass-china,dazld/node-sass,jnbt/node-sass
|
b0c1b4beb324942040a5d9fd2abb617f8d83f612
|
include/shmlog_tags.h
|
include/shmlog_tags.h
|
/*
* $Id$
*
* Define the tags in the shared memory in a reusable format.
* Whoever includes this get to define what the SLTM macro does.
*
*/
SLTM(Debug)
SLTM(Error)
SLTM(CLI)
SLTM(SessionOpen)
SLTM(SessionReuse)
SLTM(SessionClose)
SLTM(BackendOpen)
SLTM(BackendXID)
SLTM(BackendReuse)
SLTM(BackendClose)
SLTM(HttpError)
SLTM(ClientAddr)
SLTM(Backend)
SLTM(Request)
SLTM(Response)
SLTM(Length)
SLTM(Status)
SLTM(URL)
SLTM(Protocol)
SLTM(Header)
SLTM(BldHdr)
SLTM(LostHeader)
SLTM(VCL_call)
SLTM(VCL_trace)
SLTM(VCL_return)
SLTM(XID)
SLTM(Hit)
SLTM(ExpBan)
SLTM(ExpPick)
SLTM(ExpKill)
SLTM(WorkThread)
|
/*
* $Id$
*
* Define the tags in the shared memory in a reusable format.
* Whoever includes this get to define what the SLTM macro does.
*
* REMEMBER to update the documentation (especially the varnishlog(1) man
* page) whenever this list changes.
*/
SLTM(Debug)
SLTM(Error)
SLTM(CLI)
SLTM(SessionOpen)
SLTM(SessionReuse)
SLTM(SessionClose)
SLTM(BackendOpen)
SLTM(BackendXID)
SLTM(BackendReuse)
SLTM(BackendClose)
SLTM(HttpError)
SLTM(ClientAddr)
SLTM(Backend)
SLTM(Request)
SLTM(Response)
SLTM(Length)
SLTM(Status)
SLTM(URL)
SLTM(Protocol)
SLTM(Header)
SLTM(BldHdr)
SLTM(LostHeader)
SLTM(VCL_call)
SLTM(VCL_trace)
SLTM(VCL_return)
SLTM(XID)
SLTM(Hit)
SLTM(ExpBan)
SLTM(ExpPick)
SLTM(ExpKill)
SLTM(WorkThread)
|
Add a note to update varnishlog(1) whenever this list changes.
|
Add a note to update varnishlog(1) whenever this list changes.
git-svn-id: 7d4b18ab7d176792635d6a7a77dd8cbbea8e8daa@418 d4fa192b-c00b-0410-8231-f00ffab90ce4
|
C
|
bsd-2-clause
|
wikimedia/operations-debs-varnish,CartoDB/Varnish-Cache,wikimedia/operations-debs-varnish,wikimedia/operations-debs-varnish,wikimedia/operations-debs-varnish,ssm/pkg-varnish,CartoDB/Varnish-Cache,ssm/pkg-varnish,ssm/pkg-varnish,wikimedia/operations-debs-varnish,CartoDB/Varnish-Cache,ssm/pkg-varnish,ssm/pkg-varnish
|
b4e78339970f151f04a8167e97c64bc6c8ae5eb7
|
Framework/Lumberjack/CocoaLumberjack.h
|
Framework/Lumberjack/CocoaLumberjack.h
|
//
// CocoaLumberjack.h
// CocoaLumberjack
//
// Created by Andrew Mackenzie-Ross on 3/02/2015.
//
//
#import <Foundation/Foundation.h>
//! Project version number for CocoaLumberjack.
FOUNDATION_EXPORT double CocoaLumberjackVersionNumber;
//! Project version string for CocoaLumberjack.
FOUNDATION_EXPORT const unsigned char CocoaLumberjackVersionString[];
// In this header, you should import all the public headers of your framework using statements like #import <CocoaLumberjack/PublicHeader.h>
// Disable legacy macros
#ifndef DD_LEGACY_MACROS
#define DD_LEGACY_MACROS 0
#endif
// Core
#import <CocoaLumberjack/DDLog.h>
// Main macros
#import <CocoaLumberjack/DDLogMacros.h>
#import <CocoaLumberjack/DDAssertMacros.h>
// Capture ASL
#import <CocoaLumberjack/DDASLLogCapture.h>
// Loggers
#import <CocoaLumberjack/DDTTYLogger.h>
#import <CocoaLumberjack/DDASLLogger.h>
#import <CocoaLumberjack/DDFileLogger.h>
// CLI
#if defined(DD_CLI) || !__has_include(<AppKit/NSColor.h>)
#import <CocoaLumberjack/CLIColor.h>
#endif
|
//
// CocoaLumberjack.h
// CocoaLumberjack
//
// Created by Andrew Mackenzie-Ross on 3/02/2015.
//
//
#import <Foundation/Foundation.h>
//! Project version number for CocoaLumberjack.
FOUNDATION_EXPORT double CocoaLumberjackVersionNumber;
//! Project version string for CocoaLumberjack.
FOUNDATION_EXPORT const unsigned char CocoaLumberjackVersionString[];
// In this header, you should import all the public headers of your framework using statements like #import <CocoaLumberjack/PublicHeader.h>
// Disable legacy macros
#ifndef DD_LEGACY_MACROS
#define DD_LEGACY_MACROS 0
#endif
// Core
#import <CocoaLumberjack/DDLog.h>
// Main macros
#import <CocoaLumberjack/DDLogMacros.h>
#import <CocoaLumberjack/DDAssertMacros.h>
// Capture ASL
#import <CocoaLumberjack/DDASLLogCapture.h>
// Loggers
#import <CocoaLumberjack/DDTTYLogger.h>
#import <CocoaLumberjack/DDASLLogger.h>
#import <CocoaLumberjack/DDFileLogger.h>
// CLI
#import <CocoaLumberjack/CLIColor.h>
|
Revert "Conditionally include CLIColor in umbrella header"
|
Revert "Conditionally include CLIColor in umbrella header"
|
C
|
bsd-3-clause
|
CocoaLumberjack/CocoaLumberjack,jum/CocoaLumberjack,sushichop/CocoaLumberjack,sushichop/CocoaLumberjack,jum/CocoaLumberjack,CocoaLumberjack/CocoaLumberjack,sushichop/CocoaLumberjack,jum/CocoaLumberjack,DD-P/CocoaLumberjack,CocoaLumberjack/CocoaLumberjack,DD-P/CocoaLumberjack,sushichop/CocoaLumberjack,jum/CocoaLumberjack,DD-P/CocoaLumberjack,CocoaLumberjack/CocoaLumberjack
|
d4a2104beb0d9aebf8fe2799430e7261387b08ef
|
tensorflow/lite/ios/TensorFlowLiteC.h
|
tensorflow/lite/ios/TensorFlowLiteC.h
|
/* Copyright 2022 The TensorFlow Authors. All Rights Reserved.
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 to in writing, software
distributed 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.
==============================================================================*/
#ifndef TENSORFLOW_LITE_IOS_TENSORFLOWLITEC_H_
#define TENSORFLOW_LITE_IOS_TENSORFLOWLITEC_H_
#include "tensorflow/lite/builtin_ops.h"
#include "tensorflow/lite/c/c_api.h"
#include "tensorflow/lite/c/c_api_experimental.h"
#include "tensorflow/lite/c/c_api_types.h"
#include "tensorflow/lite/c/common.h"
#include "tensorflow/lite/core/c/c_api.h"
#include "tensorflow/lite/delegates/xnnpack/xnnpack_delegate.h"
#endif // TENSORFLOW_LITE_IOS_TENSORFLOWLITEC_H_
|
/* Copyright 2022 The TensorFlow Authors. All Rights Reserved.
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 to in writing, software
distributed 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.
==============================================================================*/
#ifndef TENSORFLOW_LITE_IOS_TENSORFLOWLITEC_H_
#define TENSORFLOW_LITE_IOS_TENSORFLOWLITEC_H_
#include "tensorflow/lite/builtin_ops.h"
#include "tensorflow/lite/c/c_api.h"
#include "tensorflow/lite/c/c_api_experimental.h"
#include "tensorflow/lite/c/c_api_types.h"
#include "tensorflow/lite/c/common.h"
#include "tensorflow/lite/delegates/xnnpack/xnnpack_delegate.h"
#endif // TENSORFLOW_LITE_IOS_TENSORFLOWLITEC_H_
|
Fix iOS nightly release. Exports the actual c api header instead of the shim header in the TensorflowLiteC framework
|
Fix iOS nightly release. Exports the actual c api header instead of the shim header in the TensorflowLiteC framework
PiperOrigin-RevId: 477905780
|
C
|
apache-2.0
|
tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow,yongtang/tensorflow,yongtang/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow,yongtang/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-pywrap_tf_optimizer,paolodedios/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,Intel-tensorflow/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow-pywrap_saved_model,yongtang/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,karllessard/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,Intel-tensorflow/tensorflow,tensorflow/tensorflow-pywrap_saved_model,paolodedios/tensorflow,karllessard/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-experimental_link_static_libraries_once,paolodedios/tensorflow,tensorflow/tensorflow-pywrap_saved_model,karllessard/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-pywrap_tf_optimizer,Intel-tensorflow/tensorflow,karllessard/tensorflow,Intel-tensorflow/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,Intel-tensorflow/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow-pywrap_saved_model,karllessard/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-pywrap_saved_model,yongtang/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,karllessard/tensorflow,yongtang/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow-pywrap_saved_model,Intel-tensorflow/tensorflow,tensorflow/tensorflow,yongtang/tensorflow,Intel-tensorflow/tensorflow,yongtang/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-pywrap_saved_model,Intel-tensorflow/tensorflow,yongtang/tensorflow,karllessard/tensorflow,yongtang/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow,karllessard/tensorflow,yongtang/tensorflow,tensorflow/tensorflow-pywrap_saved_model,karllessard/tensorflow,paolodedios/tensorflow,Intel-tensorflow/tensorflow,paolodedios/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,Intel-tensorflow/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow
|
bb6235f7fe8957ba09ff8c557d8caf4844e9ff38
|
common/network/WindowsInterfacePicker.h
|
common/network/WindowsInterfacePicker.h
|
/*
* 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 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Library General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* WindowsInterfacePicker.h
* Choose an interface to listen on
* Copyright (C) 2005-2010 Simon Newton
*/
#ifndef COMMON_NETWORK_WINDOWSINTERFACEPICKER_H_
#define COMMON_NETWORK_WINDOWSINTERFACEPICKER_H_
#include <vector>
#include "ola/network/InterfacePicker.h"
/*
* The InterfacePicker for windows
*/
class WindowsInterfacePicker: public InterfacePicker {
public:
std::vector<Interface> GetInterfaces() const;
};
} // network
} // ola
#endif // COMMON_NETWORK_WINDOWSINTERFACEPICKER_H_
|
/*
* 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 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Library General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* WindowsInterfacePicker.h
* Choose an interface to listen on
* Copyright (C) 2005-2010 Simon Newton
*/
#ifndef COMMON_NETWORK_WINDOWSINTERFACEPICKER_H_
#define COMMON_NETWORK_WINDOWSINTERFACEPICKER_H_
#include <vector>
#include "ola/network/InterfacePicker.h"
namespace ola {
namespace network {
/*
* The InterfacePicker for windows
*/
class WindowsInterfacePicker: public InterfacePicker {
public:
std::vector<Interface> GetInterfaces() const;
};
} // network
} // ola
#endif // COMMON_NETWORK_WINDOWSINTERFACEPICKER_H_
|
Add the missing namespace bits
|
Add the missing namespace bits
|
C
|
lgpl-2.1
|
nip3o/open-lighting,emonty/ola,nip3o/open-lighting,mlba-team/open-lighting,emonty/ola,nip3o/open-lighting,ld3300/ola,nightrune/ola,ld3300/ola,nightrune/ola,ld3300/ola,mlba-team/open-lighting,mlba-team/open-lighting,ld3300/ola,nip3o/open-lighting,mlba-team/open-lighting,nightrune/ola,mlba-team/open-lighting,emonty/ola,nightrune/ola,ld3300/ola,nip3o/open-lighting,nightrune/ola,ld3300/ola,nightrune/ola,emonty/ola,ld3300/ola,nightrune/ola,emonty/ola,mlba-team/open-lighting,nip3o/open-lighting
|
edc82eaff44802816280c90ffd40dbc69f59403a
|
tensorflow/compiler/xla/pjrt/pjrt_plugin_device_client.h
|
tensorflow/compiler/xla/pjrt/pjrt_plugin_device_client.h
|
/* Copyright 2022 The TensorFlow Authors. All Rights Reserved.
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 to in writing, software
distributed 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.
==============================================================================*/
#ifndef TENSORFLOW_COMPILER_XLA_PJRT_PLUGIN_DEVICE_CLIENT_H_
#define TENSORFLOW_COMPILER_XLA_PJRT_PLUGIN_DEVICE_CLIENT_H_
namespace xla {
// Not implemented by default. It is the responsibility of the plugin device
// author to provide an implementation of this function.
StatusOr<std::unique_ptr<PjRtClient>> GetTfrtPluginDeviceClient();
}
#endif // TENSORFLOW_COMPILER_XLA_PJRT_PLUGIN_DEVICE_CLIENT_H_
|
/* Copyright 2022 The TensorFlow Authors. All Rights Reserved.
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 to in writing, software
distributed 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.
==============================================================================*/
#ifndef TENSORFLOW_COMPILER_XLA_PJRT_PLUGIN_DEVICE_CLIENT_H_
#define TENSORFLOW_COMPILER_XLA_PJRT_PLUGIN_DEVICE_CLIENT_H_
namespace xla {
// Not implemented by default. It is the responsibility of the plugin device
// author to provide an implementation of this function. It is recommended to
// implement this in //tensorflow/compiler/plugin:plugin
StatusOr<std::unique_ptr<PjRtClient>> GetTfrtPluginDeviceClient();
} // namespace xla
#endif // TENSORFLOW_COMPILER_XLA_PJRT_PLUGIN_DEVICE_CLIENT_H_
|
Add comment on `GetTfrtPluginDeviceClient` to explain where to put the implementation.
|
Add comment on `GetTfrtPluginDeviceClient` to explain where to put the implementation.
|
C
|
apache-2.0
|
Intel-tensorflow/tensorflow,yongtang/tensorflow,Intel-tensorflow/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-pywrap_saved_model,yongtang/tensorflow,yongtang/tensorflow,tensorflow/tensorflow,yongtang/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,paolodedios/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-experimental_link_static_libraries_once,paolodedios/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,Intel-tensorflow/tensorflow,tensorflow/tensorflow,karllessard/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-pywrap_saved_model,karllessard/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-pywrap_tf_optimizer,Intel-tensorflow/tensorflow,yongtang/tensorflow,karllessard/tensorflow,karllessard/tensorflow,karllessard/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,yongtang/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,paolodedios/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow-pywrap_saved_model,karllessard/tensorflow,tensorflow/tensorflow,Intel-tensorflow/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-pywrap_saved_model,paolodedios/tensorflow,paolodedios/tensorflow,karllessard/tensorflow,yongtang/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow-pywrap_saved_model,karllessard/tensorflow,tensorflow/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow,paolodedios/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow-pywrap_saved_model,yongtang/tensorflow,tensorflow/tensorflow,yongtang/tensorflow,yongtang/tensorflow,paolodedios/tensorflow,yongtang/tensorflow
|
24864d048eec2c579346eb31a42c87be1c92644e
|
src/include/port/linux.h
|
src/include/port/linux.h
|
/* __USE_POSIX, __USE_BSD, and __USE_BSD_SIGNAL used to be defined either
here or with -D compile options, but __ macros should be set and used by C
library macros, not Postgres code. __USE_POSIX is set by features.h,
__USE_BSD is set by bsd/signal.h, and __USE_BSD_SIGNAL appears not to
be used.
*/
#define JMP_BUF
#define USE_POSIX_TIME
#if defined(__i386__)
typedef unsigned char slock_t;
#define HAS_TEST_AND_SET
#elif defined(__sparc__)
typedef unsigned char slock_t;
#define HAS_TEST_AND_SET
#elif defined(__powerpc__)
typedef unsigned int slock_t;
#define HAS_TEST_AND_SET
#elif defined(__alpha__)
typedef long int slock_t;
#define HAS_TEST_AND_SET
#elif defined(__mips__)
typedef unsigned int slock_t;
#define HAS_TEST_AND_SET
#endif
#if defined(__GLIBC__) && (__GLIBC__ >= 2)
#ifdef HAVE_INT_TIMEZONE
#undef HAVE_INT_TIMEZONE
#endif
#endif
#if defined(__powerpc__)
#undef HAVE_INT_TIMEZONE
#endif
|
/* __USE_POSIX, __USE_BSD, and __USE_BSD_SIGNAL used to be defined either
here or with -D compile options, but __ macros should be set and used by C
library macros, not Postgres code. __USE_POSIX is set by features.h,
__USE_BSD is set by bsd/signal.h, and __USE_BSD_SIGNAL appears not to
be used.
*/
#define JMP_BUF
#define USE_POSIX_TIME
#if defined(__i386__)
typedef unsigned char slock_t;
#define HAS_TEST_AND_SET
#elif defined(__sparc__)
typedef unsigned char slock_t;
#define HAS_TEST_AND_SET
#elif defined(__powerpc__)
typedef unsigned int slock_t;
#define HAS_TEST_AND_SET
#elif defined(__alpha__)
typedef long int slock_t;
#define HAS_TEST_AND_SET
#elif defined(__mips__)
typedef unsigned int slock_t;
#define HAS_TEST_AND_SET
#elif defined(__arm__)
typedef unsigned char slock_t
#define HAS_TEST_AND_SET
#endif
#if defined(__GLIBC__) && (__GLIBC__ >= 2)
#ifdef HAVE_INT_TIMEZONE
#undef HAVE_INT_TIMEZONE
#endif
#endif
#if defined(__powerpc__)
#undef HAVE_INT_TIMEZONE
#endif
|
Include information for armv4l from Mark Knox <segfault@hardline.org>.
|
Include information for armv4l from Mark Knox <segfault@hardline.org>.
|
C
|
apache-2.0
|
tangp3/gpdb,ashwinstar/gpdb,xuegang/gpdb,lpetrov-pivotal/gpdb,yuanzhao/gpdb,lintzc/gpdb,lintzc/gpdb,xinzweb/gpdb,arcivanov/postgres-xl,adam8157/gpdb,oberstet/postgres-xl,adam8157/gpdb,techdragon/Postgres-XL,xuegang/gpdb,Quikling/gpdb,postmind-net/postgres-xl,50wu/gpdb,lpetrov-pivotal/gpdb,tpostgres-projects/tPostgres,yuanzhao/gpdb,ovr/postgres-xl,kaknikhil/gpdb,yazun/postgres-xl,0x0FFF/gpdb,xinzweb/gpdb,lintzc/gpdb,ahachete/gpdb,kaknikhil/gpdb,rvs/gpdb,lintzc/gpdb,arcivanov/postgres-xl,jmcatamney/gpdb,zaksoup/gpdb,atris/gpdb,postmind-net/postgres-xl,lintzc/gpdb,ashwinstar/gpdb,Quikling/gpdb,arcivanov/postgres-xl,chrishajas/gpdb,rvs/gpdb,foyzur/gpdb,tpostgres-projects/tPostgres,edespino/gpdb,chrishajas/gpdb,lintzc/gpdb,ahachete/gpdb,CraigHarris/gpdb,foyzur/gpdb,janebeckman/gpdb,yazun/postgres-xl,Chibin/gpdb,xinzweb/gpdb,ahachete/gpdb,kaknikhil/gpdb,chrishajas/gpdb,randomtask1155/gpdb,ovr/postgres-xl,CraigHarris/gpdb,adam8157/gpdb,kmjungersen/PostgresXL,jmcatamney/gpdb,techdragon/Postgres-XL,Chibin/gpdb,Quikling/gpdb,kaknikhil/gpdb,kmjungersen/PostgresXL,foyzur/gpdb,rvs/gpdb,yuanzhao/gpdb,snaga/postgres-xl,janebeckman/gpdb,xuegang/gpdb,tangp3/gpdb,CraigHarris/gpdb,CraigHarris/gpdb,yuanzhao/gpdb,edespino/gpdb,postmind-net/postgres-xl,snaga/postgres-xl,snaga/postgres-xl,lisakowen/gpdb,rvs/gpdb,zeroae/postgres-xl,rubikloud/gpdb,tangp3/gpdb,rvs/gpdb,rubikloud/gpdb,ahachete/gpdb,jmcatamney/gpdb,tangp3/gpdb,CraigHarris/gpdb,kaknikhil/gpdb,foyzur/gpdb,50wu/gpdb,royc1/gpdb,cjcjameson/gpdb,foyzur/gpdb,50wu/gpdb,kmjungersen/PostgresXL,techdragon/Postgres-XL,ahachete/gpdb,ashwinstar/gpdb,ahachete/gpdb,rvs/gpdb,zaksoup/gpdb,techdragon/Postgres-XL,janebeckman/gpdb,yazun/postgres-xl,edespino/gpdb,Chibin/gpdb,zeroae/postgres-xl,edespino/gpdb,arcivanov/postgres-xl,edespino/gpdb,xinzweb/gpdb,yazun/postgres-xl,tangp3/gpdb,tangp3/gpdb,atris/gpdb,ashwinstar/gpdb,lisakowen/gpdb,edespino/gpdb,ovr/postgres-xl,Chibin/gpdb,lintzc/gpdb,jmcatamney/gpdb,kmjungersen/PostgresXL,50wu/gpdb,jmcatamney/gpdb,oberstet/postgres-xl,greenplum-db/gpdb,0x0FFF/gpdb,chrishajas/gpdb,janebeckman/gpdb,pavanvd/postgres-xl,CraigHarris/gpdb,CraigHarris/gpdb,rubikloud/gpdb,greenplum-db/gpdb,oberstet/postgres-xl,adam8157/gpdb,pavanvd/postgres-xl,cjcjameson/gpdb,adam8157/gpdb,chrishajas/gpdb,adam8157/gpdb,rubikloud/gpdb,yuanzhao/gpdb,adam8157/gpdb,jmcatamney/gpdb,lpetrov-pivotal/gpdb,50wu/gpdb,Quikling/gpdb,Quikling/gpdb,rvs/gpdb,ashwinstar/gpdb,xuegang/gpdb,lpetrov-pivotal/gpdb,Chibin/gpdb,randomtask1155/gpdb,greenplum-db/gpdb,randomtask1155/gpdb,janebeckman/gpdb,edespino/gpdb,yuanzhao/gpdb,zaksoup/gpdb,lisakowen/gpdb,kaknikhil/gpdb,techdragon/Postgres-XL,edespino/gpdb,oberstet/postgres-xl,Quikling/gpdb,zeroae/postgres-xl,snaga/postgres-xl,zaksoup/gpdb,zaksoup/gpdb,foyzur/gpdb,xuegang/gpdb,zaksoup/gpdb,Quikling/gpdb,edespino/gpdb,cjcjameson/gpdb,cjcjameson/gpdb,rvs/gpdb,lintzc/gpdb,kaknikhil/gpdb,yuanzhao/gpdb,lisakowen/gpdb,lpetrov-pivotal/gpdb,cjcjameson/gpdb,royc1/gpdb,lisakowen/gpdb,0x0FFF/gpdb,adam8157/gpdb,randomtask1155/gpdb,kmjungersen/PostgresXL,xuegang/gpdb,50wu/gpdb,atris/gpdb,royc1/gpdb,royc1/gpdb,CraigHarris/gpdb,ovr/postgres-xl,randomtask1155/gpdb,xinzweb/gpdb,cjcjameson/gpdb,tpostgres-projects/tPostgres,yuanzhao/gpdb,50wu/gpdb,chrishajas/gpdb,Chibin/gpdb,Postgres-XL/Postgres-XL,jmcatamney/gpdb,ashwinstar/gpdb,rubikloud/gpdb,0x0FFF/gpdb,rvs/gpdb,pavanvd/postgres-xl,zeroae/postgres-xl,janebeckman/gpdb,xinzweb/gpdb,pavanvd/postgres-xl,lpetrov-pivotal/gpdb,yazun/postgres-xl,pavanvd/postgres-xl,zeroae/postgres-xl,cjcjameson/gpdb,kaknikhil/gpdb,ahachete/gpdb,tpostgres-projects/tPostgres,Chibin/gpdb,snaga/postgres-xl,arcivanov/postgres-xl,greenplum-db/gpdb,royc1/gpdb,xinzweb/gpdb,CraigHarris/gpdb,chrishajas/gpdb,royc1/gpdb,xuegang/gpdb,tangp3/gpdb,ashwinstar/gpdb,edespino/gpdb,lintzc/gpdb,randomtask1155/gpdb,atris/gpdb,lpetrov-pivotal/gpdb,50wu/gpdb,tpostgres-projects/tPostgres,greenplum-db/gpdb,greenplum-db/gpdb,0x0FFF/gpdb,rvs/gpdb,foyzur/gpdb,postmind-net/postgres-xl,kaknikhil/gpdb,royc1/gpdb,chrishajas/gpdb,royc1/gpdb,Chibin/gpdb,xuegang/gpdb,atris/gpdb,janebeckman/gpdb,zaksoup/gpdb,lisakowen/gpdb,xinzweb/gpdb,yuanzhao/gpdb,arcivanov/postgres-xl,rubikloud/gpdb,0x0FFF/gpdb,lisakowen/gpdb,zaksoup/gpdb,kaknikhil/gpdb,ahachete/gpdb,randomtask1155/gpdb,lisakowen/gpdb,Quikling/gpdb,randomtask1155/gpdb,Chibin/gpdb,xuegang/gpdb,Postgres-XL/Postgres-XL,ovr/postgres-xl,greenplum-db/gpdb,0x0FFF/gpdb,lpetrov-pivotal/gpdb,tangp3/gpdb,cjcjameson/gpdb,Quikling/gpdb,cjcjameson/gpdb,atris/gpdb,oberstet/postgres-xl,postmind-net/postgres-xl,foyzur/gpdb,atris/gpdb,atris/gpdb,yuanzhao/gpdb,greenplum-db/gpdb,Postgres-XL/Postgres-XL,Chibin/gpdb,rubikloud/gpdb,janebeckman/gpdb,janebeckman/gpdb,0x0FFF/gpdb,cjcjameson/gpdb,jmcatamney/gpdb,Postgres-XL/Postgres-XL,ashwinstar/gpdb,janebeckman/gpdb,Quikling/gpdb,Postgres-XL/Postgres-XL,rubikloud/gpdb
|
7470834ac6613c2e22626f9511384f025f16768e
|
src/types.h
|
src/types.h
|
#ifndef TYPES_H_90878954
#define TYPES_H_90878954
typedef enum {
false,
true
} bool_t;
#endif
|
#ifndef TYPES_H_90878954
#define TYPES_H_90878954
#if __STDC_VERSION__ == 199901L
#include <stdbool.h>
typedef bool bool_t;
#else // __STDC_VERSION__
typedef enum {
false,
true
} bool_t;
#endif // __STDC_VERSION
#endif
|
Use c99 standard bool when available
|
Use c99 standard bool when available
|
C
|
bsd-3-clause
|
fmorgner/umurmur,snowblind/umurmur,doctaweeks/umurmur,troxor/umurmur,doctaweeks/umurmur,troxor/umurmur,snowblind/umurmur,fmorgner/umurmur,doctaweeks/umurmur
|
b06ef71474c9f258d650727239b6d37064400813
|
src/compositor/compositor.h
|
src/compositor/compositor.h
|
#ifndef _WLC_COMPOSITOR_H_
#define _WLC_COMPOSTIOR_H_
#include "visibility.h"
#include <stdbool.h>
#include <wayland-util.h>
struct wl_display;
struct wl_event_loop;
struct wl_event_source;
struct wlc_shell;
struct wlc_xdg_shell;
struct wlc_backend;
struct wlc_context;
struct wlc_render;
struct wlc_compositor {
struct wl_global *global;
struct wl_display *display;
struct wl_event_loop *event_loop;
struct wl_event_source *event_source;
struct wlc_seat *seat;
struct wlc_shell *shell;
struct wlc_xdg_shell *xdg_shell;
struct wlc_backend *backend;
struct wlc_context *context;
struct wlc_render *render;
struct wl_list surfaces;
struct wl_event_source *repaint_timer;
bool repaint_scheduled;
struct {
void (*schedule_repaint)(struct wlc_compositor *compositor);
uint32_t (*get_time)(void);
} api;
};
WLC_API void wlc_compositor_run(struct wlc_compositor *compositor);
WLC_API void wlc_compositor_free(struct wlc_compositor *compositor);
WLC_API struct wlc_compositor* wlc_compositor_new(void);
#endif /* _WLC_COMPOSITOR_H_ */
|
#ifndef _WLC_COMPOSITOR_H_
#define _WLC_COMPOSITOR_H_
#include "visibility.h"
#include <stdbool.h>
#include <wayland-util.h>
struct wl_display;
struct wl_event_loop;
struct wl_event_source;
struct wlc_shell;
struct wlc_xdg_shell;
struct wlc_backend;
struct wlc_context;
struct wlc_render;
struct wlc_compositor {
struct wl_global *global;
struct wl_display *display;
struct wl_event_loop *event_loop;
struct wl_event_source *event_source;
struct wlc_seat *seat;
struct wlc_shell *shell;
struct wlc_xdg_shell *xdg_shell;
struct wlc_backend *backend;
struct wlc_context *context;
struct wlc_render *render;
struct wl_list surfaces;
struct wl_event_source *repaint_timer;
bool repaint_scheduled;
struct {
void (*schedule_repaint)(struct wlc_compositor *compositor);
uint32_t (*get_time)(void);
} api;
};
WLC_API void wlc_compositor_run(struct wlc_compositor *compositor);
WLC_API void wlc_compositor_free(struct wlc_compositor *compositor);
WLC_API struct wlc_compositor* wlc_compositor_new(void);
#endif /* _WLC_COMPOSITOR_H_ */
|
Fix typo in header guard.
|
Fix typo in header guard.
|
C
|
mit
|
UIKit0/wlc,Earnestly/wlc,vially/wlc,yohanesu75/wlc,SirCmpwn/wlc,lkundrak/wlc,UIKit0/wlc,gpyh/wlc,Cloudef/wlc,scarabeusiv/wlc,gpyh/wlc,Earnestly/wlc,vially/wlc,ammen99/wlc,Enerccio/ewlc,yohanesu75/wlc,ss1h2a3tw/wlc,ss1h2a3tw/wlc,lkundrak/wlc,SirCmpwn/wlc,scarabeusiv/wlc,Enerccio/ewlc,ammen99/wlc,Cloudef/wlc
|
6f0c54bc6ceca7d2260fb711cee165408cf906b1
|
OCCommunicationLib/OCCommunicationLib/Utils/OCConstants.h
|
OCCommunicationLib/OCCommunicationLib/Utils/OCConstants.h
|
//
// OCChunkInputStream.h
// Owncloud iOs Client
//
// Copyright (C) 2014 ownCloud Inc. (http://www.owncloud.org/)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
//
#define k_redirected_code_1 301
#define k_redirected_code_2 302
#define k_redirected_code_3 307
|
//
// OCChunkInputStream.h
// Owncloud iOs Client
//
// Copyright (C) 2015 ownCloud Inc. (http://www.owncloud.org/)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
//
#define k_redirected_code_1 301
#define k_redirected_code_2 302
#define k_redirected_code_3 307
|
Update the year of the Copyright
|
Update the year of the Copyright
|
C
|
mit
|
owncloud/ios-library,pd81999/ios-library,blueseaguo/ios-library
|
fd6986863ac96ac91b855f33e83ba0f03799da8c
|
MagicalRecord/Categories/NSManagedObject/NSManagedObject+MagicalDataImport.h
|
MagicalRecord/Categories/NSManagedObject/NSManagedObject+MagicalDataImport.h
|
//
// NSManagedObject+JSONHelpers.h
//
// Created by Saul Mora on 6/28/11.
// Copyright 2011 Magical Panda Software LLC. All rights reserved.
//
#import <CoreData/CoreData.h>
extern NSString * const kMagicalRecordImportCustomDateFormatKey;
extern NSString * const kMagicalRecordImportDefaultDateFormatString;
extern NSString * const kMagicalRecordImportUnixTimeString;
extern NSString * const kMagicalRecordImportAttributeKeyMapKey;
extern NSString * const kMagicalRecordImportAttributeValueClassNameKey;
extern NSString * const kMagicalRecordImportRelationshipMapKey;
extern NSString * const kMagicalRecordImportRelationshipLinkedByKey;
extern NSString * const kMagicalRecordImportRelationshipTypeKey;
@interface NSManagedObject (MagicalRecord_DataImport)
+ (instancetype) MR_importFromObject:(id)data;
+ (instancetype) MR_importFromObject:(id)data inContext:(NSManagedObjectContext *)context;
+ (NSArray *) MR_importFromArray:(NSArray *)listOfObjectData;
+ (NSArray *) MR_importFromArray:(NSArray *)listOfObjectData inContext:(NSManagedObjectContext *)context;
@end
@interface NSManagedObject (MagicalRecord_DataImportControls)
- (BOOL) shouldImport:(id)data;
- (void) willImport:(id)data;
- (void) didImport:(id)data;
@end
|
//
// NSManagedObject+JSONHelpers.h
//
// Created by Saul Mora on 6/28/11.
// Copyright 2011 Magical Panda Software LLC. All rights reserved.
//
#import <CoreData/CoreData.h>
extern NSString * const kMagicalRecordImportCustomDateFormatKey;
extern NSString * const kMagicalRecordImportDefaultDateFormatString;
extern NSString * const kMagicalRecordImportUnixTimeString;
extern NSString * const kMagicalRecordImportAttributeKeyMapKey;
extern NSString * const kMagicalRecordImportAttributeValueClassNameKey;
extern NSString * const kMagicalRecordImportRelationshipMapKey;
extern NSString * const kMagicalRecordImportRelationshipLinkedByKey;
extern NSString * const kMagicalRecordImportRelationshipTypeKey;
@protocol MagicalRecordDataImportProtocol <NSObject>
@optional
- (BOOL) shouldImport:(id)data;
- (void) willImport:(id)data;
- (void) didImport:(id)data;
@end
@interface NSManagedObject (MagicalRecord_DataImport) <MagicalRecordDataImportProtocol>
+ (instancetype) MR_importFromObject:(id)data;
+ (instancetype) MR_importFromObject:(id)data inContext:(NSManagedObjectContext *)context;
+ (NSArray *) MR_importFromArray:(NSArray *)listOfObjectData;
+ (NSArray *) MR_importFromArray:(NSArray *)listOfObjectData inContext:(NSManagedObjectContext *)context;
@end
|
Move the import controls into a formal protocol
|
Move the import controls into a formal protocol
|
C
|
mit
|
PeterStudio/MagicalRecord,iosdevvivek/MagicalRecord,xxkkk/MagicalRecord,akaking/MagicalRecord,iosdevvivek/MagicalRecord,ondev/MagicalRecord,orta/MagicalRecord,qingsong-xu/MagicalRecord,Vincent8ziv/MagicalRecord,megawina/MagicalRecord,wongzigii/MagicalRecord,csotiriou/MagicalRecord,liufeigit/MagicalRecord,BlessNeo/MagicalRecord,simoncoulton/MagicalRecord,xb123456456/MagicalRecord,AnthonyMDev/MagicalRecord,spex-app/MagicalRecord,donvaughn/MagicalRecord,ziyabal/MagicalRecord,mmmilo/MagicalRecord,ruikong/MagicalRecord,z514306470/MagicalRecord,AnthonyMDev/MagicalRecord,zhaoguohui/MagicalRecord,sujeking/MagicalRecord,ruikong/MagicalRecord,hsoi/MagicalRecord,sburavtsov/MagicalRecord,lintaoSuper/MagicalRecord,kingloveyy/MagicalRecord,tranhoanganh/MagicalRecord,justinjing/MagicalRecord,kingloveyy/MagicalRecord,msdgwzhy6/MagicalRecord,Gaantz/MagicalRecord,spex-app/MagicalRecord,vascoorey/MagicalRecord,igroomgrim/MagicalRecord,tmacyml/MagicalRecord,mmmilo/MagicalRecord,ChinaPicture/MagicalRecord,donvaughn/MagicalRecord,pronebird/MagicalRecord,cnbin/MagicalRecord,TheGiantPixelCorporation/MagicalRecord,iosRookie/MagicalRecord,lifcio/MagicalRecord,diejmon/MagicalRecord,fhchina/MagicalRecord,tranhoanganh/MagicalRecord,csotiriou/MagicalRecord,yiplee/MagicalRecord,libiao88/MagicalRecord,caoer/MagicalRecord,ChinaPicture/MagicalRecord,cnbin/MagicalRecord,csotiriou/MagicalRecord,pengleelove/MagicalRecord,libiao88/MagicalRecord,liufeigit/MagicalRecord,zyncro/MagicalRecord,sburavtsov/MagicalRecord,megawina/MagicalRecord,hsoi/MagicalRecord,igroomgrim/MagicalRecord,sujeking/MagicalRecord,kidaa/MagicalRecord,hsoi/MagicalRecord,yanyuqingshi/MagicalRecord,spex-app/MagicalRecord,12207480/MagicalRecord,simoncoulton/MagicalRecord,AlanJN/MagicalRecord,tmacyml/MagicalRecord,lintaoSuper/MagicalRecord,xxkkk/MagicalRecord,iosRookie/MagicalRecord,avielg/MagicalRecord,pengleelove/MagicalRecord,yiplee/MagicalRecord,xb123456456/MagicalRecord,kidaa/MagicalRecord,vascoorey/MagicalRecord,akaking/MagicalRecord,ziyabal/MagicalRecord,happy201993/MagicalRecord,yanyuqingshi/MagicalRecord,caoer/MagicalRecord,diejmon/MagicalRecord,qingsong-xu/MagicalRecord,Vincent8ziv/MagicalRecord,orta/MagicalRecord,AlanJN/MagicalRecord,zhouwude/MagicalRecord,msdgwzhy6/MagicalRecord,TheGiantPixelCorporation/MagicalRecord,AnthonyMDev/MagicalRecord,justinjing/MagicalRecord,pronebird/MagicalRecord,zyncro/MagicalRecord,jiamaozheng/MagicalRecord,z514306470/MagicalRecord,PeterStudio/MagicalRecord,zhouwude/MagicalRecord,AmitaiB/MagicalRecord,Gaantz/MagicalRecord,igroomgrim/MagicalRecord,zezefamily/MagicalRecord,hanangellove/MagicalRecord,diejmon/MagicalRecord,AmitaiB/MagicalRecord,jiamaozheng/MagicalRecord,avielg/MagicalRecord,fhchina/MagicalRecord,wongzigii/MagicalRecord,orta/MagicalRecord,happy201993/MagicalRecord,12207480/MagicalRecord,lintaoSuper/MagicalRecord,zezefamily/MagicalRecord,lifcio/MagicalRecord,hanangellove/MagicalRecord,zhaoguohui/MagicalRecord,ondev/MagicalRecord,BlessNeo/MagicalRecord
|
ade05c3a2896b49b876e910c94e292a77ddd7ac7
|
include/libvarnish.h
|
include/libvarnish.h
|
/*
* $Id$
*/
#include <errno.h>
#include <time.h>
/* from libvarnish/argv.c */
void FreeArgv(char **argv);
char **ParseArgv(const char *s, int comment);
/* from libvarnish/time.c */
void TIM_format(time_t t, char *p);
time_t TIM_parse(const char *p);
/* from libvarnish/version.c */
void varnish_version(const char *);
/* from libvarnish/assert.c */
#ifdef WITHOUT_ASSERTS
#define assert(e) ((void)0)
#else /* WITH_ASSERTS */
#define assert(e) \
do { \
if (!(e)) \
lbv_assert(__func__, __FILE__, __LINE__, #e, errno); \
} while (0)
#endif
void lbv_assert(const char *, const char *, int, const char *, int);
/* Assert zero return value */
#define AZ(foo) do { assert((foo) == 0); } while (0)
|
/*
* $Id$
*/
#include <errno.h>
#include <time.h>
#ifndef NULL
#define NULL ((void*)0)
#endif
/* from libvarnish/argv.c */
void FreeArgv(char **argv);
char **ParseArgv(const char *s, int comment);
/* from libvarnish/time.c */
void TIM_format(time_t t, char *p);
time_t TIM_parse(const char *p);
/* from libvarnish/version.c */
void varnish_version(const char *);
/* from libvarnish/assert.c */
/*
* assert(), AN() and AZ() are static checks that should not happen.
* xxxassert(), XXXAN() and XXXAZ() are markers for missing code.
*/
#ifdef WITHOUT_ASSERTS
#define assert(e) ((void)0)
#else /* WITH_ASSERTS */
#define assert(e) \
do { \
if (!(e)) \
lbv_assert(__func__, __FILE__, __LINE__, #e, errno); \
} while (0)
#endif
#define xxxassert(e) \
do { \
if (!(e)) \
lbv_assert("XXX:" __func__, __FILE__, __LINE__, #e, errno); \
} while (0)
void lbv_assert(const char *, const char *, int, const char *, int);
/* Assert zero return value */
#define AZ(foo) do { assert((foo) == 0); } while (0)
#define AN(foo) do { assert((foo) != NULL); } while (0)
#define XXXAZ(foo) do { xxxassert((foo) == 0); } while (0)
#define XXXAN(foo) do { xxxassert((foo) != NULL); } while (0)
|
Split assert into "static check" and "missing code" variants.
|
Split assert into "static check" and "missing code" variants.
The "missing code" variants have xxx prefix
Introduce AN() (assert non-null) variant as well.
git-svn-id: 2c9807fa3ff65b17195bd55dc8a6c4261e10127b@911 d4fa192b-c00b-0410-8231-f00ffab90ce4
|
C
|
bsd-2-clause
|
1HLtd/Varnish-Cache,franciscovg/Varnish-Cache,ajasty-cavium/Varnish-Cache,gauthier-delacroix/Varnish-Cache,zhoualbeart/Varnish-Cache,ajasty-cavium/Varnish-Cache,feld/Varnish-Cache,alarky/varnish-cache-doc-ja,varnish/Varnish-Cache,mrhmouse/Varnish-Cache,chrismoulton/Varnish-Cache,wikimedia/operations-debs-varnish,gquintard/Varnish-Cache,ajasty-cavium/Varnish-Cache,feld/Varnish-Cache,ajasty-cavium/Varnish-Cache,varnish/Varnish-Cache,zhoualbeart/Varnish-Cache,ssm/pkg-varnish,1HLtd/Varnish-Cache,drwilco/varnish-cache-drwilco,wikimedia/operations-debs-varnish,drwilco/varnish-cache-drwilco,gquintard/Varnish-Cache,zhoualbeart/Varnish-Cache,gauthier-delacroix/Varnish-Cache,mrhmouse/Varnish-Cache,varnish/Varnish-Cache,mrhmouse/Varnish-Cache,gquintard/Varnish-Cache,drwilco/varnish-cache-old,alarky/varnish-cache-doc-ja,wikimedia/operations-debs-varnish,alarky/varnish-cache-doc-ja,ambernetas/varnish-cache,varnish/Varnish-Cache,ambernetas/varnish-cache,mrhmouse/Varnish-Cache,alarky/varnish-cache-doc-ja,1HLtd/Varnish-Cache,gquintard/Varnish-Cache,feld/Varnish-Cache,1HLtd/Varnish-Cache,ajasty-cavium/Varnish-Cache,chrismoulton/Varnish-Cache,franciscovg/Varnish-Cache,zhoualbeart/Varnish-Cache,chrismoulton/Varnish-Cache,alarky/varnish-cache-doc-ja,gauthier-delacroix/Varnish-Cache,chrismoulton/Varnish-Cache,gauthier-delacroix/Varnish-Cache,mrhmouse/Varnish-Cache,drwilco/varnish-cache-old,zhoualbeart/Varnish-Cache,ssm/pkg-varnish,franciscovg/Varnish-Cache,ssm/pkg-varnish,ssm/pkg-varnish,ambernetas/varnish-cache,chrismoulton/Varnish-Cache,gauthier-delacroix/Varnish-Cache,feld/Varnish-Cache,feld/Varnish-Cache,franciscovg/Varnish-Cache,drwilco/varnish-cache-drwilco,drwilco/varnish-cache-old,wikimedia/operations-debs-varnish,varnish/Varnish-Cache,ssm/pkg-varnish,franciscovg/Varnish-Cache,wikimedia/operations-debs-varnish
|
97498f64ef097096b756c6b262f3ae38965e8685
|
tensorflow/compiler/tf2xla/type_util.h
|
tensorflow/compiler/tf2xla/type_util.h
|
/* Copyright 2017 The TensorFlow Authors. All Rights Reserved.
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 to in writing, software
distributed 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.
==============================================================================*/
#ifndef TENSORFLOW_COMPILER_TF2XLA_TYPE_UTIL_H_
#define TENSORFLOW_COMPILER_TF2XLA_TYPE_UTIL_H_
#include "tensorflow/compiler/xla/xla_data.pb.h"
#include "tensorflow/core/framework/types.pb.h"
#include "tensorflow/core/lib/core/status.h"
namespace tensorflow {
// Converts a Tensorflow DataType to an XLA PrimitiveType.
Status DataTypeToPrimitiveType(DataType data_type, xla::PrimitiveType* type);
} // namespace tensorflow
#endif // TENSORFLOW_COMPILER_TF2XLA_TYPE_UTIL_H_
|
/* Copyright 2017 The TensorFlow Authors. All Rights Reserved.
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 to in writing, software
distributed 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.
==============================================================================*/
#ifndef TENSORFLOW_COMPILER_TF2XLA_TYPE_UTIL_H_
#define TENSORFLOW_COMPILER_TF2XLA_TYPE_UTIL_H_
#include "tensorflow/compiler/xla/xla_data.pb.h"
#include "tensorflow/core/framework/types.pb.h"
#include "tensorflow/core/lib/core/status.h"
namespace tensorflow {
// Converts a Tensorflow DataType to an XLA PrimitiveType.
Status DataTypeToPrimitiveType(DataType data_type, xla::PrimitiveType* type);
// N.B.: there is intentionally no function to convert an XLA PrimitiveType to
// a TensorFlow DataType. The mapping from TF types to XLA types is not
// one-to-one: for example, both DT_INT8 and DT_QINT8 map to xla::S8. So the
// inverse would not be a well-defined function. If you find that you want the
// inverse mapping, then most likely you should be preserving the original
// TensorFlow type, rather than trying to convert an XLA type into a TensorFlow
// type.
} // namespace tensorflow
#endif // TENSORFLOW_COMPILER_TF2XLA_TYPE_UTIL_H_
|
Add comment explaining why there is no PrimitiveTypeToDataType function.
|
[TF:XLA] Add comment explaining why there is no PrimitiveTypeToDataType function.
PiperOrigin-RevId: 214945748
|
C
|
apache-2.0
|
chemelnucfin/tensorflow,frreiss/tensorflow-fred,frreiss/tensorflow-fred,yongtang/tensorflow,annarev/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,davidzchen/tensorflow,Intel-Corporation/tensorflow,gunan/tensorflow,girving/tensorflow,jbedorf/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,jhseu/tensorflow,dancingdan/tensorflow,alsrgv/tensorflow,kobejean/tensorflow,annarev/tensorflow,chemelnucfin/tensorflow,theflofly/tensorflow,Intel-Corporation/tensorflow,yongtang/tensorflow,alshedivat/tensorflow,renyi533/tensorflow,ghchinoy/tensorflow,DavidNorman/tensorflow,jbedorf/tensorflow,asimshankar/tensorflow,sarvex/tensorflow,ghchinoy/tensorflow,gunan/tensorflow,hehongliang/tensorflow,sarvex/tensorflow,hfp/tensorflow-xsmm,alsrgv/tensorflow,alshedivat/tensorflow,alshedivat/tensorflow,tensorflow/tensorflow-pywrap_saved_model,frreiss/tensorflow-fred,karllessard/tensorflow,ghchinoy/tensorflow,tensorflow/tensorflow,adit-chandra/tensorflow,cxxgtxy/tensorflow,apark263/tensorflow,jendap/tensorflow,hehongliang/tensorflow,ageron/tensorflow,freedomtan/tensorflow,ppwwyyxx/tensorflow,hehongliang/tensorflow,apark263/tensorflow,ppwwyyxx/tensorflow,hfp/tensorflow-xsmm,DavidNorman/tensorflow,Bismarrck/tensorflow,gunan/tensorflow,karllessard/tensorflow,xzturn/tensorflow,xzturn/tensorflow,dancingdan/tensorflow,hfp/tensorflow-xsmm,DavidNorman/tensorflow,adit-chandra/tensorflow,karllessard/tensorflow,ageron/tensorflow,renyi533/tensorflow,chemelnucfin/tensorflow,hfp/tensorflow-xsmm,tensorflow/tensorflow-pywrap_tf_optimizer,seanli9jan/tensorflow,davidzchen/tensorflow,aam-at/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,theflofly/tensorflow,aam-at/tensorflow,alsrgv/tensorflow,kobejean/tensorflow,jendap/tensorflow,paolodedios/tensorflow,jbedorf/tensorflow,apark263/tensorflow,girving/tensorflow,hfp/tensorflow-xsmm,tensorflow/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,dongjoon-hyun/tensorflow,cxxgtxy/tensorflow,adit-chandra/tensorflow,chemelnucfin/tensorflow,gunan/tensorflow,ppwwyyxx/tensorflow,kevin-coder/tensorflow-fork,jbedorf/tensorflow,aam-at/tensorflow,annarev/tensorflow,girving/tensorflow,arborh/tensorflow,ageron/tensorflow,alshedivat/tensorflow,petewarden/tensorflow,frreiss/tensorflow-fred,freedomtan/tensorflow,alsrgv/tensorflow,aam-at/tensorflow,petewarden/tensorflow,jhseu/tensorflow,asimshankar/tensorflow,gautam1858/tensorflow,asimshankar/tensorflow,ghchinoy/tensorflow,dongjoon-hyun/tensorflow,dancingdan/tensorflow,paolodedios/tensorflow,jhseu/tensorflow,karllessard/tensorflow,kobejean/tensorflow,tensorflow/tensorflow-pywrap_saved_model,annarev/tensorflow,paolodedios/tensorflow,cxxgtxy/tensorflow,renyi533/tensorflow,jendap/tensorflow,chemelnucfin/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-pywrap_saved_model,Intel-Corporation/tensorflow,brchiu/tensorflow,arborh/tensorflow,cxxgtxy/tensorflow,seanli9jan/tensorflow,petewarden/tensorflow,ppwwyyxx/tensorflow,snnn/tensorflow,dancingdan/tensorflow,DavidNorman/tensorflow,frreiss/tensorflow-fred,annarev/tensorflow,DavidNorman/tensorflow,Intel-tensorflow/tensorflow,sarvex/tensorflow,davidzchen/tensorflow,chemelnucfin/tensorflow,gautam1858/tensorflow,petewarden/tensorflow,arborh/tensorflow,kevin-coder/tensorflow-fork,alshedivat/tensorflow,ppwwyyxx/tensorflow,seanli9jan/tensorflow,kevin-coder/tensorflow-fork,dongjoon-hyun/tensorflow,dancingdan/tensorflow,sarvex/tensorflow,ghchinoy/tensorflow,asimshankar/tensorflow,chemelnucfin/tensorflow,alsrgv/tensorflow,xzturn/tensorflow,karllessard/tensorflow,frreiss/tensorflow-fred,freedomtan/tensorflow,renyi533/tensorflow,xzturn/tensorflow,aam-at/tensorflow,karllessard/tensorflow,asimshankar/tensorflow,yongtang/tensorflow,kevin-coder/tensorflow-fork,jbedorf/tensorflow,yongtang/tensorflow,xzturn/tensorflow,dancingdan/tensorflow,theflofly/tensorflow,jhseu/tensorflow,theflofly/tensorflow,ageron/tensorflow,jhseu/tensorflow,brchiu/tensorflow,dongjoon-hyun/tensorflow,tensorflow/tensorflow,chemelnucfin/tensorflow,ghchinoy/tensorflow,arborh/tensorflow,Bismarrck/tensorflow,alshedivat/tensorflow,arborh/tensorflow,DavidNorman/tensorflow,renyi533/tensorflow,gautam1858/tensorflow,renyi533/tensorflow,paolodedios/tensorflow,theflofly/tensorflow,hehongliang/tensorflow,freedomtan/tensorflow,theflofly/tensorflow,renyi533/tensorflow,arborh/tensorflow,gunan/tensorflow,girving/tensorflow,girving/tensorflow,girving/tensorflow,Intel-tensorflow/tensorflow,adit-chandra/tensorflow,renyi533/tensorflow,jhseu/tensorflow,ageron/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,jhseu/tensorflow,Intel-tensorflow/tensorflow,alsrgv/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow-pywrap_saved_model,girving/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,paolodedios/tensorflow,hehongliang/tensorflow,alsrgv/tensorflow,asimshankar/tensorflow,Intel-tensorflow/tensorflow,chemelnucfin/tensorflow,adit-chandra/tensorflow,ghchinoy/tensorflow,dongjoon-hyun/tensorflow,karllessard/tensorflow,hfp/tensorflow-xsmm,renyi533/tensorflow,yongtang/tensorflow,girving/tensorflow,adit-chandra/tensorflow,dancingdan/tensorflow,kobejean/tensorflow,yongtang/tensorflow,jendap/tensorflow,kevin-coder/tensorflow-fork,alsrgv/tensorflow,apark263/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,xzturn/tensorflow,gautam1858/tensorflow,alsrgv/tensorflow,paolodedios/tensorflow,cxxgtxy/tensorflow,aldian/tensorflow,girving/tensorflow,aldian/tensorflow,jhseu/tensorflow,cxxgtxy/tensorflow,dongjoon-hyun/tensorflow,jendap/tensorflow,karllessard/tensorflow,snnn/tensorflow,Intel-Corporation/tensorflow,xzturn/tensorflow,brchiu/tensorflow,DavidNorman/tensorflow,asimshankar/tensorflow,aam-at/tensorflow,jendap/tensorflow,brchiu/tensorflow,seanli9jan/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow,kobejean/tensorflow,paolodedios/tensorflow,Bismarrck/tensorflow,annarev/tensorflow,dongjoon-hyun/tensorflow,arborh/tensorflow,snnn/tensorflow,freedomtan/tensorflow,jhseu/tensorflow,alsrgv/tensorflow,sarvex/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow,paolodedios/tensorflow,sarvex/tensorflow,dancingdan/tensorflow,gunan/tensorflow,yongtang/tensorflow,annarev/tensorflow,davidzchen/tensorflow,jhseu/tensorflow,arborh/tensorflow,arborh/tensorflow,alshedivat/tensorflow,petewarden/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,snnn/tensorflow,ghchinoy/tensorflow,frreiss/tensorflow-fred,seanli9jan/tensorflow,apark263/tensorflow,Intel-tensorflow/tensorflow,yongtang/tensorflow,aldian/tensorflow,alshedivat/tensorflow,asimshankar/tensorflow,jbedorf/tensorflow,freedomtan/tensorflow,gunan/tensorflow,chemelnucfin/tensorflow,frreiss/tensorflow-fred,Bismarrck/tensorflow,Intel-Corporation/tensorflow,Intel-Corporation/tensorflow,paolodedios/tensorflow,DavidNorman/tensorflow,DavidNorman/tensorflow,yongtang/tensorflow,freedomtan/tensorflow,Bismarrck/tensorflow,theflofly/tensorflow,theflofly/tensorflow,DavidNorman/tensorflow,davidzchen/tensorflow,jhseu/tensorflow,dongjoon-hyun/tensorflow,ppwwyyxx/tensorflow,Intel-Corporation/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,adit-chandra/tensorflow,tensorflow/tensorflow,brchiu/tensorflow,annarev/tensorflow,gautam1858/tensorflow,karllessard/tensorflow,gautam1858/tensorflow,kevin-coder/tensorflow-fork,ageron/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,brchiu/tensorflow,tensorflow/tensorflow-pywrap_saved_model,jendap/tensorflow,ghchinoy/tensorflow,freedomtan/tensorflow,petewarden/tensorflow,apark263/tensorflow,tensorflow/tensorflow-pywrap_saved_model,ageron/tensorflow,adit-chandra/tensorflow,ppwwyyxx/tensorflow,tensorflow/tensorflow-pywrap_saved_model,arborh/tensorflow,tensorflow/tensorflow,arborh/tensorflow,chemelnucfin/tensorflow,tensorflow/tensorflow-pywrap_saved_model,adit-chandra/tensorflow,aldian/tensorflow,tensorflow/tensorflow-pywrap_saved_model,jendap/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,arborh/tensorflow,jbedorf/tensorflow,DavidNorman/tensorflow,ppwwyyxx/tensorflow,gautam1858/tensorflow,Intel-tensorflow/tensorflow,hehongliang/tensorflow,davidzchen/tensorflow,Bismarrck/tensorflow,brchiu/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,jbedorf/tensorflow,snnn/tensorflow,petewarden/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-experimental_link_static_libraries_once,davidzchen/tensorflow,gautam1858/tensorflow,dongjoon-hyun/tensorflow,dongjoon-hyun/tensorflow,apark263/tensorflow,tensorflow/tensorflow,aam-at/tensorflow,Intel-tensorflow/tensorflow,annarev/tensorflow,kobejean/tensorflow,renyi533/tensorflow,apark263/tensorflow,hfp/tensorflow-xsmm,brchiu/tensorflow,adit-chandra/tensorflow,brchiu/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow-pywrap_saved_model,girving/tensorflow,sarvex/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,kevin-coder/tensorflow-fork,asimshankar/tensorflow,kobejean/tensorflow,snnn/tensorflow,tensorflow/tensorflow,gunan/tensorflow,annarev/tensorflow,renyi533/tensorflow,seanli9jan/tensorflow,adit-chandra/tensorflow,cxxgtxy/tensorflow,davidzchen/tensorflow,jbedorf/tensorflow,kevin-coder/tensorflow-fork,aldian/tensorflow,ppwwyyxx/tensorflow,gunan/tensorflow,yongtang/tensorflow,seanli9jan/tensorflow,dancingdan/tensorflow,jhseu/tensorflow,xzturn/tensorflow,petewarden/tensorflow,kevin-coder/tensorflow-fork,jbedorf/tensorflow,karllessard/tensorflow,aam-at/tensorflow,dancingdan/tensorflow,freedomtan/tensorflow,hehongliang/tensorflow,asimshankar/tensorflow,theflofly/tensorflow,jendap/tensorflow,aam-at/tensorflow,Intel-tensorflow/tensorflow,seanli9jan/tensorflow,adit-chandra/tensorflow,gunan/tensorflow,xzturn/tensorflow,xzturn/tensorflow,gautam1858/tensorflow,gunan/tensorflow,davidzchen/tensorflow,yongtang/tensorflow,aam-at/tensorflow,frreiss/tensorflow-fred,petewarden/tensorflow,kobejean/tensorflow,petewarden/tensorflow,sarvex/tensorflow,aam-at/tensorflow,davidzchen/tensorflow,paolodedios/tensorflow,ghchinoy/tensorflow,ageron/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,snnn/tensorflow,paolodedios/tensorflow,seanli9jan/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,hfp/tensorflow-xsmm,snnn/tensorflow,gautam1858/tensorflow,ghchinoy/tensorflow,ppwwyyxx/tensorflow,kevin-coder/tensorflow-fork,kobejean/tensorflow,brchiu/tensorflow,cxxgtxy/tensorflow,apark263/tensorflow,Intel-tensorflow/tensorflow,davidzchen/tensorflow,frreiss/tensorflow-fred,Intel-Corporation/tensorflow,freedomtan/tensorflow,renyi533/tensorflow,seanli9jan/tensorflow,hfp/tensorflow-xsmm,snnn/tensorflow,ageron/tensorflow,jbedorf/tensorflow,DavidNorman/tensorflow,petewarden/tensorflow,xzturn/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow-pywrap_saved_model,frreiss/tensorflow-fred,ghchinoy/tensorflow,ppwwyyxx/tensorflow,hfp/tensorflow-xsmm,tensorflow/tensorflow-experimental_link_static_libraries_once,Bismarrck/tensorflow,asimshankar/tensorflow,Bismarrck/tensorflow,freedomtan/tensorflow,Intel-tensorflow/tensorflow,gunan/tensorflow,alshedivat/tensorflow,alshedivat/tensorflow,ageron/tensorflow,dongjoon-hyun/tensorflow,aam-at/tensorflow,apark263/tensorflow,jendap/tensorflow,girving/tensorflow,snnn/tensorflow,seanli9jan/tensorflow,jendap/tensorflow,Bismarrck/tensorflow,kobejean/tensorflow,ageron/tensorflow,ageron/tensorflow,aldian/tensorflow,ppwwyyxx/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow-experimental_link_static_libraries_once,jbedorf/tensorflow,Bismarrck/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,theflofly/tensorflow,aldian/tensorflow,hfp/tensorflow-xsmm,kobejean/tensorflow,snnn/tensorflow,alsrgv/tensorflow,brchiu/tensorflow,dancingdan/tensorflow,gautam1858/tensorflow,annarev/tensorflow,theflofly/tensorflow,apark263/tensorflow,alshedivat/tensorflow,alsrgv/tensorflow,Bismarrck/tensorflow,xzturn/tensorflow,theflofly/tensorflow,aldian/tensorflow,kevin-coder/tensorflow-fork,petewarden/tensorflow,chemelnucfin/tensorflow
|
a41572918b5ca69cc925d9ce0714c03924857289
|
include/libvarnish.h
|
include/libvarnish.h
|
/*
* $Id$
*/
#include <errno.h>
#include <time.h>
/* from libvarnish/argv.c */
void FreeArgv(char **argv);
char **ParseArgv(const char *s, int comment);
/* from libvarnish/time.c */
void TIM_format(time_t t, char *p);
time_t TIM_parse(const char *p);
/* from libvarnish/version.c */
void varnish_version(const char *);
/* from libvarnish/assert.c */
#ifdef WITHOUT_ASSERTS
#define assert(e) ((void)0)
#else /* WITH_ASSERTS */
#define assert(e) \
do { \
if (!(e)) \
lbv_assert(__func__, __FILE__, __LINE__, #e, errno); \
} while (0)
#endif
void lbv_assert(const char *, const char *, int, const char *, int);
/* Assert zero return value */
#define AZ(foo) do { assert((foo) == 0); } while (0)
|
/*
* $Id$
*/
#include <errno.h>
#include <time.h>
#ifndef NULL
#define NULL ((void*)0)
#endif
/* from libvarnish/argv.c */
void FreeArgv(char **argv);
char **ParseArgv(const char *s, int comment);
/* from libvarnish/time.c */
void TIM_format(time_t t, char *p);
time_t TIM_parse(const char *p);
/* from libvarnish/version.c */
void varnish_version(const char *);
/* from libvarnish/assert.c */
/*
* assert(), AN() and AZ() are static checks that should not happen.
* xxxassert(), XXXAN() and XXXAZ() are markers for missing code.
*/
#ifdef WITHOUT_ASSERTS
#define assert(e) ((void)0)
#else /* WITH_ASSERTS */
#define assert(e) \
do { \
if (!(e)) \
lbv_assert(__func__, __FILE__, __LINE__, #e, errno); \
} while (0)
#endif
#define xxxassert(e) \
do { \
if (!(e)) \
lbv_assert("XXX:" __func__, __FILE__, __LINE__, #e, errno); \
} while (0)
void lbv_assert(const char *, const char *, int, const char *, int);
/* Assert zero return value */
#define AZ(foo) do { assert((foo) == 0); } while (0)
#define AN(foo) do { assert((foo) != NULL); } while (0)
#define XXXAZ(foo) do { xxxassert((foo) == 0); } while (0)
#define XXXAN(foo) do { xxxassert((foo) != NULL); } while (0)
|
Split assert into "static check" and "missing code" variants.
|
Split assert into "static check" and "missing code" variants.
The "missing code" variants have xxx prefix
Introduce AN() (assert non-null) variant as well.
git-svn-id: 7d4b18ab7d176792635d6a7a77dd8cbbea8e8daa@911 d4fa192b-c00b-0410-8231-f00ffab90ce4
|
C
|
bsd-2-clause
|
wikimedia/operations-debs-varnish,wikimedia/operations-debs-varnish,ssm/pkg-varnish,CartoDB/Varnish-Cache,ssm/pkg-varnish,wikimedia/operations-debs-varnish,ssm/pkg-varnish,wikimedia/operations-debs-varnish,wikimedia/operations-debs-varnish,CartoDB/Varnish-Cache,CartoDB/Varnish-Cache,ssm/pkg-varnish,ssm/pkg-varnish
|
3ef98829f869fc94404894ef9ef315d673088608
|
test/number.c
|
test/number.c
|
// Copyright 2012 Rui Ueyama <rui314@gmail.com>
// This program is free software licensed under the MIT license.
#include "test.h"
void testmain(void) {
print("numeric constants");
expect(1, 0x1);
expect(17, 0x11);
expect(511, 0777);
expect(11, 0b1011); // GNU extension
expect(3, 3L);
expect(3, 3LL);
expect(3, 3UL);
expect(3, 3LU);
expect(3, 3ULL);
expect(3, 3LU);
expect(3, 3LLU);
expectd(55.3, 55.3);
expectd(200, 2e2);
expectd(0x0.DE488631p8, 0xDE.488631);
expect(4, sizeof(5));
expect(8, sizeof(5L));
expect(4, sizeof(3.0f));
expect(8, sizeof(3.0));
}
|
// Copyright 2012 Rui Ueyama <rui314@gmail.com>
// This program is free software licensed under the MIT license.
#include "test.h"
void testmain(void) {
print("numeric constants");
expect(1, 0x1);
expect(17, 0x11);
expect(511, 0777);
expect(11, 0b1011); // GNU extension
expect(11, 0B1011); // GNU extension
expect(3, 3L);
expect(3, 3LL);
expect(3, 3UL);
expect(3, 3LU);
expect(3, 3ULL);
expect(3, 3LU);
expect(3, 3LLU);
expectd(55.3, 55.3);
expectd(200, 2e2);
expectd(0x0.DE488631p8, 0xDE.488631);
expect(4, sizeof(5));
expect(8, sizeof(5L));
expect(4, sizeof(3.0f));
expect(8, sizeof(3.0));
}
|
Add a test for '0B' prefix.
|
Add a test for '0B' prefix.
|
C
|
mit
|
8l/8cc,rui314/8cc,gergo-/8cc,nobody1986/8cc,vastin/8cc,rui314/8cc,nobody1986/8cc,andrewchambers/8cc,vastin/8cc,8l/8cc,andrewchambers/8cc,vastin/8cc,8l/8cc,cpjreynolds/8cc,jtramm/8cc,abc00/8cc,8l/8cc,gergo-/8cc,gergo-/8cc,nobody1986/8cc,jtramm/8cc,andrewchambers/8cc,vastin/8cc,rui314/8cc,cpjreynolds/8cc,cpjreynolds/8cc,abc00/8cc,nobody1986/8cc,jtramm/8cc,jtramm/8cc,cpjreynolds/8cc,abc00/8cc,andrewchambers/8cc,abc00/8cc,rui314/8cc
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.