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 |
|---|---|---|---|---|---|---|---|---|---|
f8fec98ebb2a755583d53edf7c6326e55d5264ab | include/debug.h | include/debug.h | #ifndef __DEBUG_H__
#define __DEBUG_H__
// Not using extern, define your own static dbflags in each file
// extern unsigned int dbflags;
/*
* Bit flags for DEBUG()
*/
#define DB_PLIO 0x001
#define DB_TIMER 0x002
#define DB_USER_INPUT 0x004
#define DB_TRAIN_CTRL 0x008
// #define DB_THREADS 0x010
/... | #ifndef __DEBUG_H__
#define __DEBUG_H__
// Not using extern, define your own static dbflags in each file
// extern unsigned int dbflags;
/*
* Bit flags for DEBUG()
*/
#define DB_IO 0x001
#define DB_TIMER 0x002
#define DB_USER_INPUT 0x004
#define DB_TRAIN_CTRL 0x008
// #define DB_THREADS 0x010
// ... | Rename DB_PLIO to DB_IO, indicate general IO Debugging | Rename DB_PLIO to DB_IO, indicate general IO Debugging
| C | mit | gregwym/PollingTrainControlPanel,gregwym/PollingTrainControlPanel,gregwym/PollingTrainControlPanel |
99ad1572b7ed82443816c5aa8025e8a41332dae9 | src/math.c | src/math.c | /*------------------------------------------------------------------------------
| NuCTex | math.c
| Author | Benjamin A - Nullsrc
| Created | 30 December, 2015
| Changed | 31 December, 2015
|-------------------------------------------------------------------------------
| Overview | Implementation of various mathemati... | /*------------------------------------------------------------------------------
| NuCTex | math.c
| Author | Benjamin A - Nullsrc
| Created | 30 December, 2015
| Changed | 31 December, 2015
|-------------------------------------------------------------------------------
| Overview | Implementation of various mathemati... | Add RNG to running away. | Add RNG to running away.
| C | mit | Nullsrc/nuctex,Nullsrc/nuctex |
b8c1ebc0155baeb183779aa0ff09133eff3f9d1a | 2018/clone/clone-vm-sample.c | 2018/clone/clone-vm-sample.c | #define _GNU_SOURCE
#include <sched.h>
#include <sys/syscall.h>
#include <sys/wait.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
static int child_func(void* arg) {
char* buf = (char*)arg;
strcpy(buf, "hello");
return 0;
}
int main(int argc, char** argv) {
// Stack for child... | // We have to define the _GNU_SOURCE to get access to clone(2) and the CLONE_*
// flags from sched.h
#define _GNU_SOURCE
#include <sched.h>
#include <sys/syscall.h>
#include <sys/wait.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
static int child_func(void* arg) {
char* buf = (cha... | Clean up and simplify sample | Clean up and simplify sample
| C | unlicense | eliben/code-for-blog,eliben/code-for-blog,eliben/code-for-blog,eliben/code-for-blog,eliben/code-for-blog,eliben/code-for-blog,eliben/code-for-blog,eliben/code-for-blog,eliben/code-for-blog,eliben/code-for-blog,eliben/code-for-blog |
f9a4ae765c2d0f2b20b8520119610ae3b97f342f | entry_main.c | entry_main.c | /**
* Win32 UTF-8 wrapper
*
* ----
*
* main() entry point.
* Compile or #include this file as part of your sources
* if your program runs in the console subsystem.
*/
#include "src/entry.h"
#undef main
int __cdecl main(void)
{
return win32_utf8_entry(win32_utf8_main);
}
| /**
* Win32 UTF-8 wrapper
*
* ----
*
* main() entry point.
* Compile or #include this file as part of your sources
* if your program runs in the console subsystem.
*/
#include "src/entry.h"
#undef main
int __cdecl wmain(void)
{
return win32_utf8_entry(win32_utf8_main);
}
// If both main() and wmain(... | Define wmain() in addition to main(). | Define wmain() in addition to main().
Saving those precious nanoseconds that the C runtime would otherwise
waste with needlessly converting the command line from UTF-16 to the
ANSI codepage. Y'know, I figured it might raise questions if I omit
this, and maybe you don't want to have that feel of tainting your build
wit... | C | unlicense | thpatch/win32_utf8 |
83a9513518fe6b2f3009961e00da454d286ec503 | journald.c | journald.c | #include <Python.h>
#include <systemd/sd-journal.h>
#ifndef journaldpython
#define journaldpython
static PyObject *
journald_send(PyObject *self, PyObject *args)
{
//const char *command;
//int sts;
//if (!PyArg_ParseTuple(args, "s", &command))
// return NULL;
//sts = system(command);
//ret... | #include <Python.h>
#include <systemd/sd-journal.h>
#ifndef journaldpython
#define journaldpython
static PyObject *
journald_send(PyObject *self, PyObject *args)
{
//const char *command;
//int sts;
//if (!PyArg_ParseTuple(args, "s", &command))
// return NULL;
//sts = system(command);
//ret... | Use sd_journal_print() instead of send. | Use sd_journal_print() instead of send.
| C | lgpl-2.1 | keszybz/python-systemd,glittershark/python-systemd,systemd/python-systemd,again4you/python-systemd,keszybz/python-systemd,glittershark/python-systemd,Awesense/python-systemd,systemd/python-systemd,again4you/python-systemd,Awesense/python-systemd,davidstrauss/python-systemd,davidstrauss/python-systemd,Awesense/python-sy... |
08cd66d0c280fc5c89c40e13156bb298f7f3a49d | src/imap/cmd-create.c | src/imap/cmd-create.c | /* Copyright (C) 2002 Timo Sirainen */
#include "common.h"
#include "mail-namespace.h"
#include "commands.h"
bool cmd_create(struct client_command_context *cmd)
{
struct mail_namespace *ns;
const char *mailbox, *full_mailbox;
bool directory;
size_t len;
/* <mailbox> */
if (!client_read_string_args(cmd, 1, &mai... | /* Copyright (C) 2002 Timo Sirainen */
#include "common.h"
#include "mail-namespace.h"
#include "commands.h"
bool cmd_create(struct client_command_context *cmd)
{
struct mail_namespace *ns;
const char *mailbox, *full_mailbox;
bool directory;
size_t len;
/* <mailbox> */
if (!client_read_string_args(cmd, 1, &mai... | CREATE ns_prefix/box/ didn't work right when namespace prefix existed. | CREATE ns_prefix/box/ didn't work right when namespace prefix existed.
| C | mit | LTD-Beget/dovecot,LTD-Beget/dovecot,LTD-Beget/dovecot,LTD-Beget/dovecot,LTD-Beget/dovecot |
d44886c857b812d404e8dc8f192423239b627fb9 | cpp/libjoynr/include/joynr/LibJoynrDirectories.h | cpp/libjoynr/include/joynr/LibJoynrDirectories.h | /*
* #%L
* %%
* Copyright (C) 2011 - 2013 BMW Car IT GmbH
* %%
* 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 requir... | /*
* #%L
* %%
* Copyright (C) 2011 - 2013 BMW Car IT GmbH
* %%
* 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 requir... | Remove unused alias for Directory (AttributeSubscriptionDirectory) | [C++] Remove unused alias for Directory (AttributeSubscriptionDirectory)
Change-Id: I3345bf2e269c0e34f0c4c026b1ada457fbdd734c
| C | apache-2.0 | bmwcarit/joynr,clive-jevons/joynr,bmwcarit/joynr,clive-jevons/joynr,bmwcarit/joynr,clive-jevons/joynr,bmwcarit/joynr,clive-jevons/joynr,clive-jevons/joynr,clive-jevons/joynr,bmwcarit/joynr,bmwcarit/joynr,bmwcarit/joynr,bmwcarit/joynr,bmwcarit/joynr |
3ddd33207d2bcc0b728cf579519ee8e75279394b | contracts/eosiolib/types.h | contracts/eosiolib/types.h | /**
* @file
* @copyright defined in eos/LICENSE.txt
*/
#pragma once
#include <stdint.h>
#include <wchar.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @defgroup types Builtin Types
* @ingroup contractdev
* @brief Specifies typedefs and aliases
*
* @{
*/
typedef uint64_t account_name;
typedef uint64_... | /**
* @file
* @copyright defined in eos/LICENSE.txt
*/
#pragma once
#include <stdint.h>
#include <wchar.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @defgroup types Builtin Types
* @ingroup contractdev
* @brief Specifies typedefs and aliases
*
* @{
*/
typedef uint64_t account_name;
typedef uint64_... | Add back scope_name used by a few contracts | Add back scope_name used by a few contracts
| C | mit | EOSIO/eos,EOSIO/eos,EOSIO/eos,EOSIO/eos,EOSIO/eos |
c2988f448975fa3e9af6ef4f33d725088ebfe568 | include/commons/ByteCode.h | include/commons/ByteCode.h | #ifndef BYTECODE_H
#define BYTECODE_H
#include <iostream>
#include <iomanip>
using namespace std;
enum ByteCode {
PUSH = 0,
PRINT = 1,
END = 2
};
void writeOneOperandCall(ofstream* outStream, ByteCode bytecode, string litteral);
void writeSimpleCall(ofstream* outStream, ByteCode bytecode);
void writeEnd(ofstream... | #ifndef BYTECODE_H
#define BYTECODE_H
#include <iostream>
#include <iomanip>
using namespace std;
enum ByteCode {
PUSH = 0,
PRINT = 1,
END = 2
};
/* Write operations */
void writeOneOperandCall(ofstream* outStream, ByteCode bytecode, string litteral);
void writeSimpleCall(ofstream* outStream, ByteCode bytecode)... | Use the new designed library | Use the new designed library
| C | mit | wichtounet/eddic,vogelsgesang/eddic,wichtounet/eddic,vogelsgesang/eddic,vogelsgesang/eddic,wichtounet/eddic |
2328de89d07a4040d9dc53f9ee75d7794498f204 | Apptentive/Apptentive/Misc/ApptentiveSafeCollections.h | Apptentive/Apptentive/Misc/ApptentiveSafeCollections.h | //
// ApptentiveSafeCollections.h
// Apptentive
//
// Created by Alex Lementuev on 3/20/17.
// Copyright © 2017 Apptentive, Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
/**
Returns non-nil value or NSNull
*/
id ApptentiveCollectionValue(id value);
/**
Safely adds key... | //
// ApptentiveSafeCollections.h
// Apptentive
//
// Created by Alex Lementuev on 3/20/17.
// Copyright © 2017 Apptentive, Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
/**
Returns non-nil value or NSNull
*/
id ApptentiveCollectionValue(id value);
/**
Safely adds key... | Add nullable flag to ApptentiveDictionaryGetArray and -String | Add nullable flag to ApptentiveDictionaryGetArray and -String
| C | bsd-3-clause | apptentive/apptentive-ios,apptentive/apptentive-ios,apptentive/apptentive-ios |
ea0d4f7ad7fdc0852e4874d1dec25837ad6ff50b | samplecode/GMSampleView.h | samplecode/GMSampleView.h |
/*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef GMSampleView_DEFINED
#define GMSampleView_DEFINED
#include "SampleCode.h"
#include "gm.h"
class GMSampleView : public SampleView {
private:
typedef skiagm::GM ... |
/*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef GMSampleView_DEFINED
#define GMSampleView_DEFINED
#include "SampleCode.h"
#include "gm.h"
class GMSampleView : public SampleView {
private:
typedef skiagm::GM ... | Use : as separator between "GM" and slide name in SampleApp. This makes it easier to jump to a GM slide using command line args on windows. | Use : as separator between "GM" and slide name in SampleApp. This makes it easier to jump to a GM slide using command line args on windows.
git-svn-id: e8541e15acce502a64c929015570ad1648e548cd@2846 2bbb7eff-a529-9590-31e7-b0007b416f81
| C | bsd-3-clause | Hankuo/color-emoji.skia,MatChung/color-emoji.skia,Frankie-666/color-emoji.skia,hbwhlklive/color-emoji.skia,hbwhlklive/color-emoji.skia,Hankuo/color-emoji.skia,hbwhlklive/color-emoji.skia,hbwhlklive/color-emoji.skia,MatChung/color-emoji.skia,Hankuo/color-emoji.skia,Hankuo/color-emoji.skia,Frankie-666/color-emoji.skia,Fr... |
f9a134b6e4a6c8fc94e377a8f3af1761645a4569 | src/interfaces/ecpg/include/pgtypes_timestamp.h | src/interfaces/ecpg/include/pgtypes_timestamp.h | #ifndef PGTYPES_TIMESTAMP
#define PGTYPES_TIMESTAMP
#include <pgtypes_interval.h>
#ifdef HAVE_INT64_TIMESTAMP
typedef int64 timestamp;
typedef int64 TimestampTz;
#else
typedef double timestamp;
typedef double TimestampTz;
#endif
#ifdef __cplusplus
extern "C"
{
#endif
extern timestamp PGTYPEStimestamp_from_asc(cha... | #ifndef PGTYPES_TIMESTAMP
#define PGTYPES_TIMESTAMP
#include <pgtypes_interval.h>
#ifdef HAVE_INT64_TIMESTAMP
typedef int64 timestamp;
typedef int64 TimestampTz;
#else
typedef double timestamp;
typedef double TimestampTz;
#endif
#ifdef __cplusplus
extern "C"
{
#endif
extern timestamp PGTYPEStimestamp_from_asc(cha... | Add missing ecpg prototype for newly added functions. | Add missing ecpg prototype for newly added functions.
| C | apache-2.0 | kaknikhil/gpdb,Chibin/gpdb,Chibin/gpdb,kaknikhil/gpdb,rubikloud/gpdb,lisakowen/gpdb,kaknikhil/gpdb,adam8157/gpdb,arcivanov/postgres-xl,randomtask1155/gpdb,janebeckman/gpdb,foyzur/gpdb,rubikloud/gpdb,jmcatamney/gpdb,janebeckman/gpdb,yuanzhao/gpdb,xuegang/gpdb,ashwinstar/gpdb,Quikling/gpdb,pavanvd/postgres-xl,rvs/gpdb,li... |
79fadd8f36f90b29386d3dd7d23bae016d4b8671 | plat/ti/k3/board/generic/include/board_def.h | plat/ti/k3/board/generic/include/board_def.h | /*
* Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef BOARD_DEF_H
#define BOARD_DEF_H
#include <lib/utils_def.h>
/* The ports must be in order and contiguous */
#define K3_CLUSTER0_CORE_COUNT 2
#define K3_CLUSTER1_CORE_COUNT 2
#def... | /*
* Copyright (c) 2017-2019, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef BOARD_DEF_H
#define BOARD_DEF_H
#include <lib/utils_def.h>
/* The ports must be in order and contiguous */
#define K3_CLUSTER0_CORE_COUNT U(2)
#define K3_CLUSTER1_CORE_COUNT U(2... | Unify Platform specific defines for PSCI module | ti: Unify Platform specific defines for PSCI module
PLATFORM_CORE_COUNT - Unsigned int
PLATFORM_CLUSTER_COUNT - Unsigned int
PLATFORM_MAX_CPUS_PER_CLUSTER - Unsigned int
PLATFORM_CORE_COUNT_PER_CLUSTER - Unsigned int
Signed-off-by: Deepika Bhavnani <095849dccdc2dcad20acc908a1b020ea4af994c4@arm.com>
Change-Id: Ia7072d... | C | bsd-3-clause | achingupta/arm-trusted-firmware,achingupta/arm-trusted-firmware |
e1333803c3a8fb167ba67ffc5540dbb53fa7deb3 | arch/powerpc/kernel/lparmap.c | arch/powerpc/kernel/lparmap.c | /*
* Copyright (C) 2005 Stephen Rothwell IBM Corp.
*
* 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.
*/
#includ... | /*
* Copyright (C) 2005 Stephen Rothwell IBM Corp.
*
* 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.
*/
#includ... | Fix iSeries bug in VMALLOCBASE/VMALLOC_START consolidation | [PATCH] powerpc: Fix iSeries bug in VMALLOCBASE/VMALLOC_START consolidation
Oops, forgot to compile the VMALLOCBASE/VMALLOC_START patch on
iSeries. VMALLOC_START is defined in pgtable.h whereas previously
VMALLOCBASE was previously defined in page.h. lparmap.c needs to be
updated appropriately.
Booted on iSeries RS... | C | apache-2.0 | TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,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_k... |
ba24c53c1c9e7dea32d2ae4bf6167a1eeb34b036 | tomviz/h5cpp/h5capi.h | tomviz/h5cpp/h5capi.h | /* This source file is part of the Tomviz project, https://tomviz.org/.
It is released under the 3-Clause BSD License, see "LICENSE". */
#ifndef tomvizH5CAPI_h
#define tomvizH5CAPI_h
extern "C"
{
#include <hdf5.h>
}
#endif // tomvizH5CAPI_h
| /* This source file is part of the Tomviz project, https://tomviz.org/.
It is released under the 3-Clause BSD License, see "LICENSE". */
#ifndef tomvizH5CAPI_h
#define tomvizH5CAPI_h
extern "C"
{
#include <vtk_hdf5.h>
}
#endif // tomvizH5CAPI_h
| Include vtk_hdf5.h rather than hdf5.h | Include vtk_hdf5.h rather than hdf5.h
This ensures we pick up the VTK version of HDF5.
Signed-off-by: Chris Harris <a361e89d1eba6c570561222d75facbbf7aaeeafe@kitware.com>
| C | bsd-3-clause | OpenChemistry/tomviz,OpenChemistry/tomviz,OpenChemistry/tomviz,OpenChemistry/tomviz |
e7a20e7f447cb48b55c95aa1d8f94be0b72f8d8c | src/configreader.h | src/configreader.h | #include <map>
#include <sstream>
#include <string>
class ConfigReader {
public:
ConfigReader();
ConfigReader(const std::string &filename);
bool LoadFile(const std::string &filename);
template<typename T>
T GetOption(const std::string &name, const T &defaultValue) const {
std::map<std::string, std::string>::c... | #include <map>
#include <sstream>
#include <string>
class ConfigReader {
public:
ConfigReader();
ConfigReader(const std::string &filename);
bool LoadFile(const std::string &filename);
template<typename T>
T GetOption(const std::string &name, const T &defaultValue) const;
bool IsLoaded() const { return loaded_... | Move ConfigReader::GetOption()'s implementation outside of class definition | Move ConfigReader::GetOption()'s implementation outside of class definition
| C | bsd-2-clause | Zeex/samp-plugin-profiler,Zeex/samp-plugin-profiler |
70c659b68235c4d36dd02c255304523710003884 | wangle/ssl/SSLStats.h | wangle/ssl/SSLStats.h | /*
* Copyright (c) 2017, 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.
*
*/
#pragma once... | /*
* Copyright (c) 2017, 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.
*
*/
#pragma once... | Add a counter for client cert verification mismatches | Add a counter for client cert verification mismatches
Summary: As per title
Reviewed By: yfeldblum
Differential Revision: D4665764
fbshipit-source-id: 7051a3958900ac3c3387f1b7e08e45ae38abcc73
| C | apache-2.0 | facebook/wangle,facebook/wangle,facebook/wangle |
c938a893593fa7ea2e596ec41e186cdfbaee4e58 | src/utils.c | src/utils.c | #include <stdio.h>
#include <stdarg.h>
static FILE* g_logfile = NULL;
int message (const char* fmt, ...)
{
va_list ap;
if (g_logfile) {
va_start (ap, fmt);
vfprintf (g_logfile, fmt, ap);
va_end (ap);
}
va_start (ap, fmt);
int rc = vfprintf (stdout, fmt, ap);
va_end (ap);
return rc;
}
void message_... | #include <stdio.h>
#include <stdarg.h>
#include <string.h>
static FILE* g_logfile = NULL;
static unsigned char g_lastchar = '\n';
#ifdef _WIN32
#include <windows.h>
static unsigned long g_timestamp;
#else
#include <sys/time.h>
static struct timeval g_timestamp;
#endif
int message (const char* fmt, ...)
{
va_li... | Write timestamps to the logfile. | Write timestamps to the logfile.
| C | lgpl-2.1 | josh-wambua/libdivecomputer,andysan/libdivecomputer,glance-/libdivecomputer,venkateshshukla/libdivecomputer,henrik242/libdivecomputer,Poltsi/libdivecomputer-vms,glance-/libdivecomputer,venkateshshukla/libdivecomputer,andysan/libdivecomputer,henrik242/libdivecomputer,josh-wambua/libdivecomputer |
62b62db673984849e2d057e5c4b1a0f1ba5dfe52 | src/engine/parallell/cl_parallell.h | src/engine/parallell/cl_parallell.h | #ifndef ENGINE_PARALLELL_CLPARALLELL_H_
#define ENGINE_PARALLELL_CLPARALLELL_H_
/* OpenCL 1.2 */
#define CL_HPP_MINIMUM_OPENCL_VERSION 120
#define CL_HPP_TARGET_OPENCL_VERSION 120
#define CL_HPP_ENABLE_EXCEPTIONS
#include <vector>
#include <tbb/mutex.h>
#ifdef __APPLE__
#include <OpenCL/cl2.hpp>
#else
#incl... | #ifndef ENGINE_PARALLELL_CLPARALLELL_H_
#define ENGINE_PARALLELL_CLPARALLELL_H_
/* OpenCL 1.2 */
#define CL_HPP_MINIMUM_OPENCL_VERSION 120
#define CL_HPP_TARGET_OPENCL_VERSION 120
#define CL_HPP_ENABLE_EXCEPTIONS
#include <vector>
#include <tbb/mutex.h>
#ifdef __APPLE__
#include <OpenCL/cl2.hpp>
#else
#incl... | Change default wksize for opencl config | Change default wksize for opencl config
| C | mit | ricofehr/enginepp,ricofehr/enginepp,ricofehr/enginepp |
57830441ac4e0d9f470798859c7e41aae75b41b0 | src/modules/StatusCode.c | src/modules/StatusCode.c | #include "StatusCode.h"
HttpseCode
httpse_check_status_code(const HttpseTData *tdata)
{
long cp = 0, cs = 0;
curl_easy_getinfo(tdata->rp->curl, CURLINFO_RESPONSE_CODE, &cp);
curl_easy_getinfo(tdata->rs->curl, CURLINFO_RESPONSE_CODE, &cs);
if(cs && cp)
{
if(cs != cp)
{
return HTTPSE_STATUS_CODE_MISMATCH;
... | #include "StatusCode.h"
HttpseCode
httpse_check_status_code(const HttpseTData *tdata)
{
long cp = 0;
long cs = 0;
curl_easy_getinfo(tdata->rp->curl, CURLINFO_RESPONSE_CODE, &cp);
curl_easy_getinfo(tdata->rs->curl, CURLINFO_RESPONSE_CODE, &cs);
if(cs == cp)
{
switch(cp/ 100)
{
/* Remark: unable to recie... | Fix coding style and improve readability | Fix coding style and improve readability
| C | apache-2.0 | cschanaj/xhttpse2,cschanaj/xhttpse2 |
c48db1d71212705488fef88b5d12bc7aa2883863 | lib/libc/net/res_config.h | lib/libc/net/res_config.h | #define DEBUG /* enable debugging code (needed for dig) */
#undef ALLOW_T_UNSPEC /* enable the "unspec" RR type for old athena */
#define RESOLVSORT /* allow sorting of addresses in gethostbyname */
#undef RFC1535 /* comply with RFC1535 */
#undef ALLOW_UPDATES /* destroy your system security */
#undef USELOOPBACK /* ... | #define DEBUG 1 /* enable debugging code (needed for dig) */
#undef ALLOW_T_UNSPEC /* enable the "unspec" RR type for old athena */
#define RESOLVSORT /* allow sorting of addresses in gethostbyname */
#undef RFC1535 /* comply with RFC1535 */
#undef ALLOW_UPDATES /* destroy your system security */
#undef USELOOPBACK /*... | Define DEBUG as 1 instead of as nothing so that it doesn't conflict with -DDEBUG in libresolv/Makefile. | Define DEBUG as 1 instead of as nothing so that it doesn't conflict with
-DDEBUG in libresolv/Makefile.
| C | bsd-3-clause | jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase |
1bd430675c66ab64791a1aaf8260fd270486651d | MdeModulePkg/Include/Library/PeCoffLoaderLib.h | MdeModulePkg/Include/Library/PeCoffLoaderLib.h | /*++
Copyright (c) 2006, Intel Corporation
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribut... | /*++
Copyright (c) 2006, Intel Corporation
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribut... | Move PeiPeCoffLoader from /Protocol to /Guid. | Move PeiPeCoffLoader from /Protocol to /Guid.
git-svn-id: 5648d1bec6962b0a6d1d1b40eba8cf5cdb62da3d@3047 6f19259b-4bc3-4df7-8a09-765794883524
| C | bsd-2-clause | MattDevo/edk2,MattDevo/edk2,MattDevo/edk2,MattDevo/edk2,MattDevo/edk2,MattDevo/edk2,MattDevo/edk2,MattDevo/edk2 |
ab8c5bb9bfb26846ab464247302f3696bc33f424 | TimeVaryingDragForce.h | TimeVaryingDragForce.h | /*===- TimeVaryingDragForce.h - libSimulation -=================================
*
* DEMON
*
* This file is distributed under the BSD Open Source License. See LICENSE.TXT
* for details.
*
*===-----------------------------------------------------------------------===*/
#ifndef TIME... | /*===- TimeVaryingDragForce.h - libSimulation -=================================
*
* DEMON
*
* This file is distributed under the BSD Open Source License. See LICENSE.TXT
* for details.
*
*===-----------------------------------------------------------------------===*/
#ifndef TIME... | Remove unnecessary using directive. This sclences a warning when compiling with clang++. | Remove unnecessary using directive. This sclences a warning when compiling with clang++. | C | bsd-3-clause | leios/demonsimulationcode,leios/demonsimulationcode |
77adde032a0f7a7fd7fb5475894e7638949fa0f9 | src/11pm.h | src/11pm.h | #pragma once
/* 11pm.h - functions and data types related
* to the operation of HPM itself */
// install.c - functions related to symlinking
// (installing) already faked packages
int xipm_symlink(char *from, char *to);
| #pragma once
/* 11pm.h - functions and data types related
* to the operation of 11pm itself */
// install.c - functions related to symlinking
// (installing) already faked packages
int xipm_symlink(char *from, char *to);
| Change a missed instance of 'HPM' | Change a missed instance of 'HPM'
| C | mit | 11pm-pkg/11pm,11pm-pkg/11pm |
884143e3d78327a81ceadff98b4190776396d6c7 | tests/regression/13-privatized/19-publish-precision.c | tests/regression/13-privatized/19-publish-precision.c | // PARAM: --set ana.int.interval true --set solver "'td3'"
#include<pthread.h>
#include<assert.h>
int glob1 = 0;
pthread_mutex_t mutex1 = PTHREAD_MUTEX_INITIALIZER;
pthread_mutex_t mutex2 = PTHREAD_MUTEX_INITIALIZER;
void *t_fun(void *arg) {
int t;
pthread_mutex_lock(&mutex1);
pthread_mutex_lock(&mutex2);
glo... | // PARAM: --set ana.int.interval true --set solver "'td3'"
#include<pthread.h>
#include<assert.h>
int glob1 = 0;
pthread_mutex_t mutex1 = PTHREAD_MUTEX_INITIALIZER;
pthread_mutex_t mutex2 = PTHREAD_MUTEX_INITIALIZER;
void *t_fun(void *arg) {
int t;
pthread_mutex_lock(&mutex1);
pthread_mutex_lock(&mutex2);
glo... | Test 13/19: Add ! to UNKNOWN | Test 13/19: Add ! to UNKNOWN
| C | mit | goblint/analyzer,goblint/analyzer,goblint/analyzer,goblint/analyzer,goblint/analyzer |
6812abb673f9755e5c9a777dd65123f9041667ad | contrib/tsearch2/ispell/regis.h | contrib/tsearch2/ispell/regis.h | #ifndef __REGIS_H__
#define __REGIS_H__
#include "postgres.h"
typedef struct RegisNode
{
uint32
type:2,
len:16,
unused:14;
struct RegisNode *next;
unsigned char data[1];
} RegisNode;
#define RNHDRSZ (sizeof(uint32)+sizeof(void*))
#define RSF_ONEOF 1
#define RSF_NONEOF 2
typedef struct Regis
{
Regi... | #ifndef __REGIS_H__
#define __REGIS_H__
#include "postgres.h"
typedef struct RegisNode
{
uint32
type:2,
len:16,
unused:14;
struct RegisNode *next;
unsigned char data[1];
} RegisNode;
#define RNHDRSZ (offsetof(RegisNode,data))
#define RSF_ONEOF 1
#define RSF_NONEOF 2
typedef struct Regis
{
RegisNod... | Fix incorrect header size macros | Fix incorrect header size macros
| C | agpl-3.0 | tpostgres-projects/tPostgres,50wu/gpdb,Chibin/gpdb,royc1/gpdb,jmcatamney/gpdb,rubikloud/gpdb,rvs/gpdb,edespino/gpdb,0x0FFF/gpdb,chrishajas/gpdb,50wu/gpdb,greenplum-db/gpdb,cjcjameson/gpdb,50wu/gpdb,arcivanov/postgres-xl,tangp3/gpdb,janebeckman/gpdb,adam8157/gpdb,Quikling/gpdb,ashwinstar/gpdb,yuanzhao/gpdb,zeroae/postgr... |
df1f6a7e063c494514f25cedc3f615f4599ce313 | src/main.c | src/main.c | /* Copyright 2010 Curtis McEnroe <programble@gmail.com>
*
* This file is part of BSH.
*
* BSH 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 3 of the License, or
* (at your option)... | /* Copyright 2010 Curtis McEnroe <programble@gmail.com>
*
* This file is part of BSH.
*
* BSH 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 3 of the License, or
* (at your option)... | Set the SHELL environment variable | Set the SHELL environment variable
| C | isc | programble/bsh |
1ddf35ebc48f1a0922c17399382ce679a51b2bda | src/main.h | src/main.h | #ifndef __ADR_MAIN_H__
#define __ADR_MAIN_H__
// Libraries //
#include "craftable.h"
#include "resource.h"
#include "villager.h"
#include "location.h"
// Forward Declarations //
enum LOCATION adr_loc;
enum FIRE_STATE adr_fire;
enum ROOM_TEMP adr_temp;
unsigned int adr_rs [ALIEN_ALLOY + 1];
unsigned short adr_cs [RIFL... | #ifndef __ADR_MAIN_H__
#define __ADR_MAIN_H__
// Libraries //
#include "craftable.h"
#include "resource.h"
#include "villager.h"
#include "location.h"
// Forward Declarations //
static enum LOCATION adr_loc;
static enum FIRE_STATE adr_fire;
static enum ROOM_TEMP adr_temp;
static unsigned int adr_rs [ALIEN_ALLOY + 1];... | Make all the state variables static (still subject to significant change) | Make all the state variables static (still subject to significant change)
| C | mpl-2.0 | HalosGhost/adarcroom |
da66946ecd7257482a58d6eee247012d9e5250e9 | lib/ReaderWriter/ELF/Mips/MipsRelocationHandler.h | lib/ReaderWriter/ELF/Mips/MipsRelocationHandler.h | //===- lld/ReaderWriter/ELF/Mips/MipsRelocationHandler.h ------------------===//
//
// The LLVM Linker
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------... | //===- lld/ReaderWriter/ELF/Mips/MipsRelocationHandler.h ------------------===//
//
// The LLVM Linker
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------... | Reformat the code with clang-format | [Mips] Reformat the code with clang-format
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@234153 91177308-0d34-0410-b5e6-96231b3b80d8
| C | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld |
93e853bf2b832d13cb64194b90a8fec44544e518 | include/core/SkMilestone.h | include/core/SkMilestone.h | /*
* Copyright 2016 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SK_MILESTONE
#define SK_MILESTONE 79
#endif
| /*
* Copyright 2016 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SK_MILESTONE
#define SK_MILESTONE 80
#endif
| Update Skia milestone to 80 | Update Skia milestone to 80
TBR=reed
Change-Id: I121ad8cf68f4a42ba5285cef5c2f9d450ba7545b
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/249123
Reviewed-by: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>
Commit-Queue: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.co... | C | bsd-3-clause | HalCanary/skia-hc,aosp-mirror/platform_external_skia,google/skia,HalCanary/skia-hc,aosp-mirror/platform_external_skia,aosp-mirror/platform_external_skia,google/skia,google/skia,google/skia,HalCanary/skia-hc,google/skia,aosp-mirror/platform_external_skia,aosp-mirror/platform_external_skia,HalCanary/skia-hc,HalCanary/ski... |
a8d6c1209a737eb760ece69e12348b4bd275dc9f | include/ofp/ipv6endpoint.h | include/ofp/ipv6endpoint.h | #ifndef OFP_IPV6ENDPOINT_H
#define OFP_IPV6ENDPOINT_H
#include "ofp/ipv6address.h"
namespace ofp { // <namespace ofp>
class IPv6Endpoint {
public:
IPv6Endpoint() = default;
IPv6Endpoint(const IPv6Address &addr, UInt16 port) : addr_{addr}, port_{port} {}
IPv6Endpoint(const std::string &addr, UInt16 port) : addr_{a... | #ifndef OFP_IPV6ENDPOINT_H
#define OFP_IPV6ENDPOINT_H
#include "ofp/ipv6address.h"
#include <istream>
#include "ofp/log.h"
namespace ofp { // <namespace ofp>
class IPv6Endpoint {
public:
IPv6Endpoint() = default;
IPv6Endpoint(const IPv6Address &addr, UInt16 port) : addr_{addr}, port_{port} {}
IPv6Endpoint(const s... | Add program options to bridgeofp. | Add program options to bridgeofp.
| C | mit | byllyfish/oftr,byllyfish/oftr,byllyfish/libofp,byllyfish/oftr,byllyfish/oftr,byllyfish/libofp,byllyfish/libofp,byllyfish/oftr |
eb7482ed7ba773d3d560054ab8c662c81bf70edb | Fingertips.h | Fingertips.h | //
// Fingertips.h
// Fingertips
//
// Copyright © 2016 Mapbox. All rights reserved.
//
#import <UIKit/UIKit.h>
//! Project version number for Fingertips.
FOUNDATION_EXPORT double FingertipsVersionNumber;
//! Project version string for Fingertips.
FOUNDATION_EXPORT const unsigned char FingertipsVersionString[];
... | //
// Fingertips.h
// Fingertips
//
// Copyright © 2016 Mapbox. All rights reserved.
//
#import <UIKit/UIKit.h>
//! Project version number for Fingertips.
FOUNDATION_EXPORT double FingertipsVersionNumber;
//! Project version string for Fingertips.
FOUNDATION_EXPORT const unsigned char FingertipsVersionString[];
... | Fix prefix in header import | Fix prefix in header import
| C | bsd-3-clause | mapbox/Fingertips |
cdce7bd7f4d0a1114f9db3b94a62e5dd70130a09 | Include/dictobject.h | Include/dictobject.h | /*
Dictionary object type -- mapping from char * to object.
NB: the key is given as a char *, not as a stringobject.
These functions set errno for errors. Functions dictremove() and
dictinsert() return nonzero for errors, getdictsize() returns -1,
the others NULL. A successful call to dictinsert() calls INCREF()
for ... | /*
Dictionary object type -- mapping from char * to object.
NB: the key is given as a char *, not as a stringobject.
These functions set errno for errors. Functions dictremove() and
dictinsert() return nonzero for errors, getdictsize() returns -1,
the others NULL. A successful call to dictinsert() calls INCREF()
for ... | Remove dict2 interface -- it's now static. | Remove dict2 interface -- it's now static.
| C | mit | sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator |
4b78d2cada6aad776b2f3986730baded297a587d | IAAI.c | IAAI.c | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
const char RAW[] = "/bin/stty raw";
const char default_str[] = "I AM AN IDIOT ";
int main(int argc, char **argv) {
const char *str;
if ( argc == 2 )
str = argv[1];
else
str = default_str;
size_t len = strlen(str);
system(RAW);
while ( ... | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
const char RAW[] = "/bin/stty raw";
#define CLEAR_LINE "\x1b[2K"
#define GOTO_START "\r"
#define GOTO_NEXT_LINE "\n"
const char default_str[] = "I AM AN IDIOT ";
int main(int argc, char **argv) {
const char *str;
if ( argc == 2 )
str = argv[1... | Make the constants easier to understand | Make the constants easier to understand
| C | mit | vinamarora8/IAAI |
bbf57ade4773694a0a4c03612f9b17e19702d669 | libyaul/cons/vdp1.c | libyaul/cons/vdp1.c | /*
* Copyright (c) 2012 Israel Jacques
* See LICENSE for details.
*
* Israel Jacques <mrko@eecs.berkeley.edu>
*/
#include "cons.h"
typedef struct {
} cons_vdp1_t;
static struct cons_vdp1_t *cons_vdp1_new(void);
static void cons_vdp1_write(struct cons *, int, uint8_t, uint8_t);
void
cons_vdp1_init(struct cons *... | /*
* Copyright (c) 2012 Israel Jacques
* See LICENSE for details.
*
* Israel Jacques <mrko@eecs.berkeley.edu>
*/
#include <inttypes.h>
#include <stdbool.h>
#include <ctype.h>
#include <string.h>
#include "cons.h"
typedef struct {
} cons_vdp1_t;
static cons_vdp1_t *cons_vdp1_new(void);
static void cons_vdp1_res... | Change stubs for VDP1 cons driver | Change stubs for VDP1 cons driver
| C | mit | ijacquez/libyaul,ijacquez/libyaul,ijacquez/libyaul,ijacquez/libyaul |
bb414dec4868931b7589aa81b0469ab4cb37eebe | main.c | main.c | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "is_utf8.h"
int main(int ac, char **av)
{
if (ac != 2)
{
fprintf(stderr, "USAGE: %s string\n", av[0]);
return EXIT_FAILURE;
}
return is_utf8((unsigned char*)av[1], strlen(av[1]));
}
| #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "is_utf8.h"
#define BUFSIZE 4096
int main(int ac, char **av)
{
char buffer[BUFSIZE];
int read_retval;
if (ac != 2)
{
fprintf(stderr, "USAGE: %s STRING or - for stdin.\n", av[0]);
return EXIT_FAILU... | Read on stdin for is_utf8 - | NEW: Read on stdin for is_utf8 -
| C | bsd-2-clause | JulienPalard/is_utf8,JulienPalard/is_utf8 |
f5d025e4a30b5f0dc1a4df85135e0ee507847342 | test/CodeGen/unreachable-ret.c | test/CodeGen/unreachable-ret.c | // RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
extern void abort() __attribute__((noreturn));
void f1() {
abort();
}
// CHECK-LABEL: define void @f1()
// CHECK-NEXT: entry:
// CHECK-NEXT: call void @abort()
// CHECK-NEXT: unreachable
// CHECK-NEXT: }
void *f2() {
abort();
return 0;
}
// CHECK-LABEL: ... | // RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
extern void abort() __attribute__((noreturn));
void f1() {
abort();
}
// CHECK-LABEL: define {{.*}}void @f1()
// CHECK-NEXT: entry:
// CHECK-NEXT: call void @abort()
// CHECK-NEXT: unreachable
// CHECK-NEXT: }
void *f2() {
abort();
return 0;
}
// CHECK-L... | Fix for different build configurations. | Fix for different build configurations.
git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@358125 91177308-0d34-0410-b5e6-96231b3b80d8
| C | apache-2.0 | apple/swift-clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,llvm-mirror/cl... |
326c70c9fb409f0c8d423ee860d687912ab1fc8e | test/Misc/driver-verify.c | test/Misc/driver-verify.c | // RUN: not %clang %s -verify 2>&1 | FileCheck %s
// RUN: %clang -cc1 -verify %s
// expected-no-diagnostics
// Test that -verify is strictly rejected as unknown by the driver.
// CHECK: unknown argument: '-verify'
| // RUN: not %clang -verify %s 2>&1 | FileCheck %s
// RUN: %clang -cc1 -verify %s
// expected-no-diagnostics
// Test that -verify is strictly rejected as unknown by the driver.
// CHECK: unknown argument: '-verify'
| Tweak test run line for readability | Tweak test run line for readability
Matching up the argument order in r199455's two RUN lines better demonstrates
what's going on.
git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@199456 91177308-0d34-0410-b5e6-96231b3b80d8
| C | apache-2.0 | apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,apple/swift-cl... |
9e166082555486d9a9bd8b714ac52f6c4ff4a04c | Sources/KeepLayout.h | Sources/KeepLayout.h | //
// KeepLayout.h
// Keep Layout
//
// Created by Martin Kiss on 28.1.13.
// Copyright (c) 2013 Triceratops. All rights reserved.
//
#ifdef __cplusplus
#import <Foundation/Foundation.h>
#else
@import Foundation;
#endif
FOUNDATION_EXPORT double KeepLayoutVersionNumber;
FOUNDATION_EXPORT const unsigned char ... | //
// KeepLayout.h
// Keep Layout
//
// Created by Martin Kiss on 28.1.13.
// Copyright (c) 2013 Triceratops. All rights reserved.
//
#import <Foundation/Foundation.h>
FOUNDATION_EXPORT double KeepLayoutVersionNumber;
FOUNDATION_EXPORT const unsigned char KeepLayoutVersionString[];
#import "KeepTypes.h"
#imp... | Simplify importing Foundation while still compatible with C++ | Simplify importing Foundation while still compatible with C++ | C | mit | Tricertops/KeepLayout,K-Be/KeepLayout,K-Be/KeepLayout,iMartinKiss/KeepLayout,Tricertops/KeepLayout |
00055df70f34b1ec9e2b669a96cba6ec78a9305a | include/core/SkMilestone.h | include/core/SkMilestone.h | /*
* Copyright 2016 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SK_MILESTONE
#define SK_MILESTONE 59
#endif
| /*
* Copyright 2016 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SK_MILESTONE
#define SK_MILESTONE 60
#endif
| Update Skia milestone to 60 | Update Skia milestone to 60
BUG=skia:
Change-Id: I1354ff96f5ff62c02af1d9cf39f0a971da077b17
Reviewed-on: https://skia-review.googlesource.com/13465
Reviewed-by: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>
Commit-Queue: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>
| C | bsd-3-clause | HalCanary/skia-hc,google/skia,rubenvb/skia,Hikari-no-Tenshi/android_external_skia,aosp-mirror/platform_external_skia,HalCanary/skia-hc,rubenvb/skia,Hikari-no-Tenshi/android_external_skia,aosp-mirror/platform_external_skia,google/skia,Hikari-no-Tenshi/android_external_skia,Hikari-no-Tenshi/android_external_skia,google/s... |
918002b7cc42d465dc80d2313e31d8fbfeef3712 | include/ethdrivers/intel.h | include/ethdrivers/intel.h | /*
* Copyright 2014, NICTA
*
* This software may be distributed and modified according to the terms of
* the GNU General Public License version 2. Note that NO WARRANTY is provided.
* See "LICENSE_GPLv2.txt" for details.
*
* @TAG(NICTA_GPL)
*/
#include <platsupport/io.h>
/**
* This function initialises the h... | /*
* Copyright 2014, NICTA
*
* This software may be distributed and modified according to the terms of
* the GNU General Public License version 2. Note that NO WARRANTY is provided.
* See "LICENSE_GPLv2.txt" for details.
*
* @TAG(NICTA_GPL)
*/
#ifndef ETHIF_INTEL_H
#define ETHIF_INTEL_H
#include <platsupport/... | Add missing header file guards | Add missing header file guards
| C | bsd-2-clause | agacek/util_libs,agacek/util_libs,agacek/util_libs,agacek/util_libs |
eb87f015b651e163be9767e7272535e7463332ff | ext/osl/rbosl_move.h | ext/osl/rbosl_move.h | #ifndef RBOSL_MOVE_H
#define RBOSL_MOVE_H
#include "ruby.h"
#include <osl/move.h>
extern VALUE cMove;
using namespace osl;
#ifdef __cplusplus
extern "C" {
#endif
extern void Init_move(VALUE mOsl);
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif /* RBOSL_MOVE_H */
| #ifndef RBOSL_MOVE_H
#define RBOSL_MOVE_H
#include "ruby.h"
#include <osl/move.h>
extern VALUE cMove;
#ifdef __cplusplus
extern "C" {
#endif
extern void Init_move(VALUE mOsl);
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif /* RBOSL_MOVE_H */
| Remove a needless using namespace | Remove a needless using namespace
| C | mit | myokoym/ruby-osl,myokoym/ruby-osl,myokoym/ruby-osl |
75482dd2ba967e3295976f786a88d9da4948a3a3 | tests/regression/36-apron/07-problem-pointer.c | tests/regression/36-apron/07-problem-pointer.c | // SKIP PARAM: --set solver td3 --set ana.activated "['base','threadid','threadflag','mallocWrapper','apron']" --set ana.base.privatization none --set ana.apron.privatization dummy
extern int __VERIFIER_nondet_int();
void change(int *p) {
(*p)++;
}
int g;
int main() {
int c = __VERIFIER_nondet_int();
g = ... | // SKIP PARAM: --set solver td3 --set ana.activated "['base','threadid','threadflag','mallocWrapper','apron']" --set ana.base.privatization none --set ana.apron.privatization dummy
extern int __VERIFIER_nondet_int();
void change(int *p) {
(*p)++;
}
int g;
int main() {
int c = __VERIFIER_nondet_int();
g = ... | Add test exhibiting problematic issue | Add test exhibiting problematic issue
| C | mit | goblint/analyzer,goblint/analyzer,goblint/analyzer,goblint/analyzer,goblint/analyzer |
8a4faca9d5432f6f1fe81cd05450ea5c173e3554 | src/bin/e_widget_iconsel.h | src/bin/e_widget_iconsel.h | /*
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
*/
#ifdef E_TYPEDEFS
#else
#ifndef E_WIDGET_BUTTON_H
#define E_WIDGET_BUTTON_H
EAPI Evas_Object *e_widget_iconsel_add(Evas *evas, Evas_Object *icon, Evas_Coord minw, Evas_Coord minh, void (*func) (void *data, void *data2), void *data, void *data2);
EAPI Evas_Obj... | /*
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
*/
#ifdef E_TYPEDEFS
#else
#ifndef E_WIDGET_ICONSEL_H
#define E_WIDGET_ICONSEL_H
EAPI Evas_Object *e_widget_iconsel_add(Evas *evas, Evas_Object *icon, Evas_Coord minw, Evas_Coord minh, char **file);
EAPI Evas_Object *e_widget_iconsel_add_from_file(Evas *evas, ch... | Correct define for this file. Fix function declarations. | Correct define for this file.
Fix function declarations.
git-svn-id: 0f3f1c46c6da7ffd142db61e503a7ff63af3a195@18291 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
| C | bsd-2-clause | jordemort/e17,jordemort/e17,jordemort/e17 |
d8e29e5b07a0c9939cef51b5188b6df38fb9abc0 | chrome/browser/history/web_history_service_factory.h | chrome/browser/history/web_history_service_factory.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 CHROME_BROWSER_HISTORY_WEB_HISTORY_SERVICE_FACTORY_H_
#define CHROME_BROWSER_HISTORY_WEB_HISTORY_SERVICE_FACTORY_H_
#include "base/memory/sin... | // 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 CHROME_BROWSER_HISTORY_WEB_HISTORY_SERVICE_FACTORY_H_
#define CHROME_BROWSER_HISTORY_WEB_HISTORY_SERVICE_FACTORY_H_
#include "base/memory/sin... | Remove explicit from zero-parameter constructor | Remove explicit from zero-parameter constructor
Explicit in zero-parameter constructor does
not effect so it can be removed. Remove explicit
from WebHistoryServiceFactory constructor in
chrome/browser/history/web_history_service_factory.h
Review URL: https://codereview.chromium.org/1311533005
Cr-Commit-Position: 972... | C | bsd-3-clause | CapOM/ChromiumGStreamerBackend,ltilve/ChromiumGStreamerBackend,ltilve/ChromiumGStreamerBackend,ltilve/ChromiumGStreamerBackend,ltilve/ChromiumGStreamerBackend,CapOM/ChromiumGStreamerBackend,CapOM/ChromiumGStreamerBackend,CapOM/ChromiumGStreamerBackend,CapOM/ChromiumGStreamerBackend,ltilve/ChromiumGStreamerBackend,CapOM... |
9f7344e6d253edb47a863a527bbffdb3e0d839e7 | Programs/sys_prog_windows.h | Programs/sys_prog_windows.h | /*
* BRLTTY - A background process providing access to the Linux console (when in
* text mode) for a blind person using a refreshable braille display.
*
* Copyright (C) 1995-2004 by The BRLTTY Team. All rights reserved.
*
* BRLTTY comes with ABSOLUTELY NO WARRANTY.
*
* This is free software, placed und... | /*
* BRLTTY - A background process providing access to the Linux console (when in
* text mode) for a blind person using a refreshable braille display.
*
* Copyright (C) 1995-2004 by The BRLTTY Team. All rights reserved.
*
* BRLTTY comes with ABSOLUTELY NO WARRANTY.
*
* This is free software, placed und... | Remove the use of PATH_MAX from the Windows implementation of getProgramPath(). (dm) | Remove the use of PATH_MAX from the Windows implementation of getProgramPath(). (dm)
git-svn-id: 30a5f035a20f1bc647618dbad7eea2a951b61b7c@1287 91a5dbb7-01b9-0310-9b5f-b28072856b6e
| C | lgpl-2.1 | brltty/brltty,brltty/brltty,brltty/brltty,brltty/brltty,brltty/brltty,brltty/brltty |
962be8ec763c4787bf00ccc06ac21d12467ffe7c | renderer/intersection_data.h | renderer/intersection_data.h | /*
* Contains the information about an intersection.
* Author: Dino Wernli
*/
#ifndef INTERSECTIONDATA_H_
#define INTERSECTIONDATA_H_
#include "scene/element.h"
#include "scene/material.h"
#include "util/point3.h"
#include "util/ray.h"
struct IntersectionData {
// Builds a new struct for this specific ray. The ... | /*
* Contains the information about an intersection.
* Author: Dino Wernli
*/
#ifndef INTERSECTIONDATA_H_
#define INTERSECTIONDATA_H_
#include "scene/element.h"
#include "scene/material.h"
#include "util/point3.h"
#include "util/ray.h"
struct IntersectionData {
// Builds a new struct for this specific ray. The ... | Add intersected query to data. | Add intersected query to data.
| C | mit | dinowernli/raytracer,dinowernli/raytracer,dinowernli/raytracer,dinowernli/raytracer |
9fd7f1825289ff5e80ea03c2caf9859e3a214e42 | src/net/include/scy/net/dns.h | src/net/include/scy/net/dns.h | ///
//
// LibSourcey
// Copyright (c) 2005, Sourcey <https://sourcey.com>
//
// SPDX-License-Identifier: LGPL-2.1+
//
/// @addtogroup net
/// @{
#ifndef SCY_Net_DNS_H
#define SCY_Net_DNS_H
#include "scy/net/net.h"
#include "scy/net/address.h"
#include "scy/request.h"
#include "scy/logger.h"
#include "scy/util.h"
... | ///
//
// LibSourcey
// Copyright (c) 2005, Sourcey <https://sourcey.com>
//
// SPDX-License-Identifier: LGPL-2.1+
//
/// @addtogroup net
/// @{
#ifndef SCY_Net_DNS_H
#define SCY_Net_DNS_H
#include "scy/net/net.h"
#include "scy/net/address.h"
#include "scy/request.h"
#include "scy/logger.h"
#include "scy/util.h"
... | Fix hardcoded address length (IPv6 address are > 16 in length) | Fix hardcoded address length (IPv6 address are > 16 in length)
| C | lgpl-2.1 | sourcey/libsourcey,sourcey/libsourcey,sourcey/libsourcey,sourcey/libsourcey |
ec58d9e3ac445e96413d10957c2e2488a695e784 | test/CodeGen/clear_cache.c | test/CodeGen/clear_cache.c | // RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
char buffer[32] = "This is a largely unused buffer";
// __builtin___clear_cache always maps to @llvm.clear_cache, but what
// each back-end produces is different, and this is tested in LLVM
int main() {
__builtin___clear_cache(buffer, buffer+32);
// CHECK: @llvm... | // RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
char buffer[32] = "This is a largely unused buffer";
// __builtin___clear_cache always maps to @llvm.clear_cache, but what
// each back-end produces is different, and this is tested in LLVM
int main() {
__builtin___clear_cache(buffer, buffer+32);
// CHECK: @llvm... | Update test case to be compatible with auto-migration to new getelementptr syntax coming in the near future | Update test case to be compatible with auto-migration to new getelementptr syntax coming in the near future
The first change won't touch GEPOperators such as these, but the update
script only identifies them by the leading '(' after getelementptr or
'getelementptr inbounds', so update this test to at least have those
... | C | apache-2.0 | llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/cl... |
becac250828d4310614afe74480b9ed2a533c1f6 | inc/m_util.h | inc/m_util.h | /*********************************** LICENSE **********************************\
* Copyright 2017 Morphux *
* *
* Licensed under the Apache License, Version 2.0 (the "License"); ... | /*********************************** LICENSE **********************************\
* Copyright 2017 Morphux *
* *
* Licensed under the Apache License, Version 2.0 (the "License"); ... | Add safe string macro checking | Add(Utils): Add safe string macro checking
| C | apache-2.0 | Morphux/lib,Morphux/lib |
ae711dcfdf89c67492d604879a13d21dc55e44dc | tests/regression/04-mutex/73-simple_nr_spinlock.c | tests/regression/04-mutex/73-simple_nr_spinlock.c | #include <pthread.h>
#include <stdio.h>
int myglobal;
pthread_spinlock_t spinlock1;
pthread_spinlock_t spinlock2;
void *t_fun(void *arg) {
pthread_spin_lock(&spinlock1);
myglobal=myglobal+1; // NORACE
pthread_spin_unlock(&spinlock1);
return NULL;
}
int main(void) {
pthread_t id;
pthread_create(&id, NULL,... | #include <pthread.h>
#include <stdio.h>
#ifdef __APPLE__
int main(void) {
// OS X has no spin_lock
int x =5; //NORACE
}
#else
int myglobal;
pthread_spinlock_t spinlock1;
pthread_spinlock_t spinlock2;
void *t_fun(void *arg) {
pthread_spin_lock(&spinlock1);
myglobal=myglobal+1; // NORACE
... | Work around Mac not having `pthread_spinlock` | Work around Mac not having `pthread_spinlock`
| C | mit | goblint/analyzer,goblint/analyzer,goblint/analyzer,goblint/analyzer,goblint/analyzer |
b340587e68b479e52039f800d7c60abd417e1975 | arch/powerpc/sysdev/mpc5xxx_clocks.c | arch/powerpc/sysdev/mpc5xxx_clocks.c | /**
* mpc5xxx_get_bus_frequency - Find the bus frequency for a device
* @node: device node
*
* Returns bus frequency (IPS on MPC512x, IPB on MPC52xx),
* or 0 if the bus frequency cannot be found.
*/
#include <linux/kernel.h>
#include <linux/of_platform.h>
#include <linux/export.h>
#include <asm/mpc5xxx.h>
u... | /**
* mpc5xxx_get_bus_frequency - Find the bus frequency for a device
* @node: device node
*
* Returns bus frequency (IPS on MPC512x, IPB on MPC52xx),
* or 0 if the bus frequency cannot be found.
*/
#include <linux/kernel.h>
#include <linux/of_platform.h>
#include <linux/export.h>
#include <asm/mpc5xxx.h>
u... | Use of_get_next_parent to simplify code | powerpc/mpc5xxx: Use of_get_next_parent to simplify code
of_get_next_parent can be used to simplify the while() loop and
avoid the need of a temp variable.
Signed-off-by: Christophe JAILLET <aa5b4d6ac057e7b0849afbbced06a03fc6c87d45@wanadoo.fr>
Signed-off-by: Michael Ellerman <864f124608374e06e4da1fa5d2e47ed839b95411@... | C | mit | KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs |
5395ef04e96e5db3e86b11d362a9566d779a590d | test/CodeGen/bitfield.c | test/CodeGen/bitfield.c | // RUN: clang %s -emit-llvm -o - > %t1
// RUN: grep "shl i32 %tmp, 19" %t1 &&
// RUN: grep "ashr i32 %tmp1, 19" %t1 &&
// RUN: grep "shl i16 %tmp4, 1" %t1 &&
// RUN: grep "lshr i16 %tmp5, 9" %t1 &&
// RUN: grep "and i32 %tmp, -8192" %t1 &&
// RUN: grep "and i16 %tmp5, -32513" %t1 &&
// RUN: grep "getelementptr (i32\* b... | // RUN: clang %s -emit-llvm -o - > %t1
// RUN: grep "shl i32 .*, 19" %t1 &&
// RUN: grep "ashr i32 .*, 19" %t1 &&
// RUN: grep "shl i16 .*, 1" %t1 &&
// RUN: grep "lshr i16 .*, 9" %t1 &&
// RUN: grep "and i32 .*, -8192" %t1 &&
// RUN: grep "and i16 .*, -32513" %t1 &&
// RUN: grep "getelementptr (i32\* bitcast (.struct.... | Make this test actually pass, in addition to the previous patch which made it work. | Make this test actually pass, in addition to the previous patch
which made it work.
git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@52382 91177308-0d34-0410-b5e6-96231b3b80d8
| C | apache-2.0 | llvm-mirror/clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,llvm-mirror/cl... |
01913372e8b7a8314cba41c329464bc3d355b477 | modules/acct_rtcp_hep/_acct_rtcp_hep_config.h | modules/acct_rtcp_hep/_acct_rtcp_hep_config.h | static struct hep_ctx ctx = {
.initfails = 0,
.hints = {{ 0 }},
.capt_host = "10.0.0.1",
.capt_port = "9060",
.hints = {{ .ai_socktype = SOCK_DGRAM }},
.capt_id = 101,
.hep_version = 3,
.usessl = 0,
.pl_compress = 0,
.sendPacketsCount = 0... | static struct hep_ctx ctx = {
.initfails = 0,
.hints = {{ .ai_socktype = SOCK_DGRAM }},
.capt_host = "10.0.0.1",
.capt_port = "9060",
.capt_id = 101,
.hep_version = 3,
.usessl = 0,
.pl_compress = 0,
.sendPacketsCount = 0
};
| Move .hints definition in place. | Move .hints definition in place.
| C | bsd-2-clause | dsanders11/rtpproxy,dsanders11/rtpproxy,sippy/rtpproxy,sippy/rtpproxy,sippy/rtpproxy,dsanders11/rtpproxy |
467a9220714dbd8a03e7bd058c3ee062e2256ad3 | gp11/tests/gp11-test.h | gp11/tests/gp11-test.h | #ifndef TESTGP11HELPERS_H_
#define TESTGP11HELPERS_H_
#include "gp11.h"
#define FAIL_RES(res, e) do { \
g_assert ((res) ? FALSE : TRUE); \
g_assert ((e) && (e)->message && "error should be set"); \
g_clear_error (&e); \
} while (0)
#define SUCCESS_RES(res, err) do { \
if (!(res)) g_printerr ("error: %s\n", err ... | #ifndef TESTGP11HELPERS_H_
#define TESTGP11HELPERS_H_
#include "gp11.h"
#define FAIL_RES(res, e) do { \
g_assert ((res) ? FALSE : TRUE); \
g_assert ((e) && (e)->message && "error should be set"); \
g_clear_error (&e); \
} while (0)
#define SUCCESS_RES(res, err) do { \
if (!(res)) g_printerr ("error: %s\n", err ... | Remove usage of deprecated glib stuff. | Remove usage of deprecated glib stuff.
* configure.in:
* gp11/tests/gp11-test.h:
* common/gkr-location.c: Remove usage of deprecated glib stuff.
svn path=/trunk/; revision=1362
| C | lgpl-2.1 | Distrotech/gcr,Distrotech/gcr,stefwalter/gcr,stefwalter/gcr,stefwalter/gcr,Distrotech/gcr,stefwalter/gcr,Distrotech/gcr |
a261efe40af92ed1548d50a9997469ce5b4eab14 | src/csapex_remote/include/csapex/io/session_client.h | src/csapex_remote/include/csapex/io/session_client.h | #ifndef SESSION_CLIENT_H
#define SESSION_CLIENT_H
/// PROJECT
#include <csapex/io/session.h>
/// SYSTEM
#include <boost/asio.hpp>
namespace csapex
{
class SessionClient : public Session
{
public:
SessionClient(const std::string& ip, int port);
~SessionClient() override;
std::string getDescription() cons... | #ifndef SESSION_CLIENT_H
#define SESSION_CLIENT_H
/// PROJECT
#include <csapex/io/session.h>
/// SYSTEM
#include <boost/asio.hpp>
#include <boost/version.hpp>
namespace csapex
{
class SessionClient : public Session
{
public:
SessionClient(const std::string& ip, int port);
~SessionClient() override;
std:... | Fix depracted boost asio types | Fix depracted boost asio types
| C | bsd-3-clause | cogsys-tuebingen/csapex,cogsys-tuebingen/csapex,cogsys-tuebingen/csapex,cogsys-tuebingen/csapex |
6e5e7e6aef66653731d79e23d3cf46f464216687 | src/engine/utils/include/halley/utils/type_traits.h | src/engine/utils/include/halley/utils/type_traits.h | #pragma once
#include <type_traits>
namespace Halley
{
// is_detected_v is based on https://en.cppreference.com/w/cpp/experimental/is_detected
namespace detail {
template<template<class...> class Expr, class... Args>
std::false_type is_detected_impl(...);
template<template<class...> class Expr, cla... | #pragma once
#include <type_traits>
namespace Halley
{
// is_detected_v is based on https://en.cppreference.com/w/cpp/experimental/is_detected
struct nonesuch {
~nonesuch() = delete;
nonesuch(nonesuch const&) = delete;
void operator=(nonesuch const&) = delete;
};
namespace detail {
template <cl... | Replace implementation of is_detected with one that works with gcc | Replace implementation of is_detected with one that works with gcc
| C | apache-2.0 | amzeratul/halley,amzeratul/halley,amzeratul/halley |
40042b55d410a8c0adfb7a5b1ee27c55a72a731d | 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 9
#define CLIENT_VERSION_REVISION 3
#define CLIENT_VERSION_BUILD ... | #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 9
#define CLIENT_VERSION_REVISION 5
#define CLIENT_VERSION_BUILD ... | Update client version to 0.9.5 | Update client version to 0.9.5
| C | mit | coinkeeper/2015-06-22_18-49_unobtanium,unobtanium-official/Unobtanium,unobtanium-official/Unobtanium,coinkeeper/2015-06-22_18-49_unobtanium,coinkeeper/2015-06-22_18-49_unobtanium,coinkeeper/2015-06-22_18-49_unobtanium,unobtanium-official/Unobtanium,coinkeeper/2015-06-22_18-49_unobtanium,unobtanium-official/Unobtanium,c... |
68722936310358dbba2342366e72f0777c2d0ab5 | clacksd/src/transport-server/cl_discovery_thread.c | clacksd/src/transport-server/cl_discovery_thread.c | #include <syslog.h>
#include "cl_discovery.h"
#include "cl_discovery_thread.h"
void * start_discovery(void * args) {
syslog(LOG_INFO, "started discovery thread");
for (;;) {
continue;
}
}
| #include <stdlib.h>
#include <syslog.h>
#include "cl_discovery.h"
#include "cl_discovery_thread.h"
void * start_discovery(void * args) {
syslog(LOG_INFO, "started discovery thread");
for (;;) {
struct CL_Discovery_Transport *discovered_transport = malloc(sizeof(struct CL_Discovery_Transport));
wait_for_t... | Call into the discovery function and wait for someone to say hi | Call into the discovery function and wait for someone to say hi
| C | mit | jamessnee/clacks,jamessnee/clacks,jamessnee/clacks |
9dfc4f8efb20c07e111c556843f914376187ba13 | src/plugins/find/searchresultcolor.h | src/plugins/find/searchresultcolor.h | #ifndef SEARCHRESULTCOLOR_H
#define SEARCHRESULTCOLOR_H
#include <QColor>
namespace Find {
namespace Internal {
struct SearchResultColor{
QColor textBackground;
QColor textForeground;
QColor highlightBackground;
QColor highlightForeground;
};
} // namespace Internal
} // namespace Find
#endif // SE... | #ifndef SEARCHRESULTCOLOR_H
#define SEARCHRESULTCOLOR_H
#include <QColor>
namespace Find {
namespace Internal {
class SearchResultColor{
public:
QColor textBackground;
QColor textForeground;
QColor highlightBackground;
QColor highlightForeground;
};
} // namespace Internal
} // namespace Find
#endi... | Fix warning about struct/class mismatch | Fix warning about struct/class mismatch
Change-Id: I832ea6ebf078e533623fb748809dd71b5abfb645
Reviewed-by: Eike Ziller <c142da16c73a95a82d35191bcc55b22835617128@digia.com>
| C | lgpl-2.1 | danimo/qt-creator,darksylinc/qt-creator,kuba1/qtcreator,amyvmiwei/qt-creator,martyone/sailfish-qtcreator,xianian/qt-creator,amyvmiwei/qt-creator,maui-packages/qt-creator,darksylinc/qt-creator,xianian/qt-creator,richardmg/qtcreator,colede/qtcreator,danimo/qt-creator,duythanhphan/qt-creator,kuba1/qtcreator,duythanhphan/q... |
612ff9b7e8e738c3a1a267d477ad7a39488fc97e | src/ccutil/tprintf.h | src/ccutil/tprintf.h | /**********************************************************************
* File: tprintf.h
* Description: Trace version of printf - portable between UX and NT
* Author: Phil Cheatle
*
* (C) Copyright 1995, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version 2.0 (the "License");
** you m... | /**********************************************************************
* File: tprintf.h
* Description: Trace version of printf - portable between UX and NT
* Author: Phil Cheatle
*
* (C) Copyright 1995, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version 2.0 (the "License");
** you m... | Fix sw build error by using TESS_API for global variable log_level | Fix sw build error by using TESS_API for global variable log_level
Signed-off-by: Stefan Weil <8d4c780fcfdc41841e5070f4c43da8958ba6aec0@weilnetz.de>
| C | apache-2.0 | amitdo/tesseract,UB-Mannheim/tesseract,amitdo/tesseract,stweil/tesseract,amitdo/tesseract,tesseract-ocr/tesseract,UB-Mannheim/tesseract,stweil/tesseract,tesseract-ocr/tesseract,amitdo/tesseract,tesseract-ocr/tesseract,stweil/tesseract,tesseract-ocr/tesseract,UB-Mannheim/tesseract,amitdo/tesseract,stweil/tesseract,UB-Ma... |
9af81a685e627783b65a9346fa02270a5b59b304 | include/llvm/iOperators.h | include/llvm/iOperators.h | //===-- llvm/iBinary.h - Binary Operator node definitions --------*- C++ -*--=//
//
// This file contains the declarations of all of the Binary Operator classes.
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_IBINARY_H
#define LLVM_IBINARY_H
#include "llvm/InstrTypes.... | //===-- llvm/iBinary.h - Binary Operator node definitions --------*- C++ -*--=//
//
// This file contains the declarations of all of the Binary Operator classes.
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_IBINARY_H
#define LLVM_IBINARY_H
#include "llvm/InstrTypes.... | Make a new GenericBinaryInst class, instead of providing lots of silly little classes. | Make a new GenericBinaryInst class, instead of providing lots of silly
little classes.
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@82 91177308-0d34-0410-b5e6-96231b3b80d8
| C | bsd-2-clause | dslab-epfl/asap,dslab-epfl/asap,chubbymaggie/asap,dslab-epfl/asap,llvm-mirror/llvm,apple/swift-llvm,dslab-epfl/asap,llvm-mirror/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,llvm-mirror/llvm,apple/swift-llvm,apple/swift-llvm,dslab-epfl/asap,llvm-mirror/llvm,llvm-mirror/llvm,chubbymagg... |
68b97b56e8c77a8010f181efcae3f41afa3d5002 | MatrixSDK/Crypto/SecretStorage/MXSecretStorage_Private.h | MatrixSDK/Crypto/SecretStorage/MXSecretStorage_Private.h | /*
Copyright 2020 The Matrix.org Foundation C.I.C
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... | /*
Copyright 2020 The Matrix.org Foundation C.I.C
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... | Make aes-hmac-sha2 encryption methods from `MXSecretStorage` available in SDK | Make aes-hmac-sha2 encryption methods from `MXSecretStorage` available in SDK
| C | apache-2.0 | matrix-org/matrix-ios-sdk,matrix-org/matrix-ios-sdk,matrix-org/matrix-ios-sdk,matrix-org/matrix-ios-sdk,matrix-org/matrix-ios-sdk |
38f3323037de22bb0089d08be27be01196e7148b | include/asm-generic/page.h | include/asm-generic/page.h | #ifndef _ASM_GENERIC_PAGE_H
#define _ASM_GENERIC_PAGE_H
#ifdef __KERNEL__
#ifndef __ASSEMBLY__
#include <linux/log2.h>
/*
* non-const pure 2^n version of get_order
* - the arch may override these in asm/bitops.h if they can be implemented
* more efficiently than using the arch log2 routines
* - we use the non-... | #ifndef _ASM_GENERIC_PAGE_H
#define _ASM_GENERIC_PAGE_H
#ifdef __KERNEL__
#ifndef __ASSEMBLY__
#include <linux/compiler.h>
/* Pure 2^n version of get_order */
static __inline__ __attribute_const__ int get_order(unsigned long size)
{
int order;
size = (size - 1) >> (PAGE_SHIFT - 1);
order = -1;
do {
size >>= 1... | Revert "[PATCH] LOG2: Alter get_order() so that it can make use of ilog2() on a constant" | Revert "[PATCH] LOG2: Alter get_order() so that it can make use of ilog2() on a constant"
This reverts commit 39d61db0edb34d60b83c5e0d62d0e906578cc707.
The commit was buggy in multiple ways:
- the conversion to ilog2() was incorrect to begin with
- it tested the wrong #defines, so on all architectures but FRV you'd... | C | mit | KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,TeamVee-Kanas/android_k... |
237c88f631c428a2a6afa4927a02c2f84939025c | Source/NSManagedObject+HYPURI.h | Source/NSManagedObject+HYPURI.h | @import CoreData;
@interface NSManagedObject (HYPURI)
- (NSString *)hyp_URI;
@end
| @import CoreData;
@interface NSManagedObject (HYPURI)
- (NSString *)hyp_URI;
+ (NSManagedObject *)managedObjectWithURI:(NSString *)URI inContext:(NSManagedObjectContext *)context;
@end
| Add method to retrieve object using an URI | Add method to retrieve object using an URI | C | mit | hyperoslo/NSManagedObject-HYPURI |
cc954580aab4e44ec294c878306060778fb29af1 | 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 Start... | // 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 Start... | Revert "Revert "Add support for the Python Stdout Log"" | Revert "Revert "Add support for the Python Stdout Log""
This reverts commit 32671bbd7b2134d5d1912225eb47bb368ee3e7ab.
| C | mit | getnamo/UnrealEnginePython,Orav/UnrealEnginePython,20tab/UnrealEnginePython,getnamo/UnrealEnginePython,Orav/UnrealEnginePython,kitelightning/UnrealEnginePython,getnamo/UnrealEnginePython,kitelightning/UnrealEnginePython,20tab/UnrealEnginePython,20tab/UnrealEnginePython,kitelightning/UnrealEnginePython,kitelightning/Unr... |
798e1889b6743be7d18a944a46442468004c8ed5 | 2DXngine.Test/src/Integration_Tiled/TiledFixture.h | 2DXngine.Test/src/Integration_Tiled/TiledFixture.h | #pragma once
#include "gtest\gtest.h"
#include "../pugixml/src/pugixml.hpp"
#include <Integrations\Tiled\Parsers\TileMapParser.h>
#include <Integrations\Tiled\DataStructures\TiledMap.h>
class TiledFixture : public ::testing::Test
{
protected:
virtual void SetUp()
{
pugi::xml_document doc;
auto ... | #pragma once
#include "gtest\gtest.h"
#include "../pugixml/src/pugixml.hpp"
#include <Integrations\Tiled\Parsers\TileMapParser.h>
#include <Integrations\Tiled\DataStructures\TiledMap.h>
#include "../../../2DXngine.Core/src/ContentManagement/AssetPath.h"
class TiledFixture : public ::testing::Test
{
protected:
virt... | Fix path to map xml | EDIT: Fix path to map xml
| C | mit | Harunx9/2DXngine,Harunx9/2DXngine,Harunx9/2DXngine |
f5a38eb8883ac9a838b2db4a7bbffa244931da4e | ObjectiveRocks/RocksDBMergeOperator.h | ObjectiveRocks/RocksDBMergeOperator.h | //
// RocksDBMergeOperator.h
// ObjectiveRocks
//
// Created by Iska on 07/12/14.
// Copyright (c) 2014 BrainCookie. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface RocksDBMergeOperator : NSObject
+ (instancetype)operatorWithName:(NSString *)name
andBlock:(id (^)(id key, id existingVal... | //
// RocksDBMergeOperator.h
// ObjectiveRocks
//
// Created by Iska on 07/12/14.
// Copyright (c) 2014 BrainCookie. All rights reserved.
//
#import <Foundation/Foundation.h>
/**
A Merge operator is an atomic Read-Modify-Write operation in RocksDB.
*/
@interface RocksDBMergeOperator : NSObject
/**
Initialize... | Add source code documentation for the Merge Operator class | Add source code documentation for the Merge Operator class
| C | mit | iabudiab/ObjectiveRocks,iabudiab/ObjectiveRocks,iabudiab/ObjectiveRocks,iabudiab/ObjectiveRocks |
1b1421b65b363e29db2d022f2bff39cef99efc5a | AppKit/DataViewController/AKTableViewCellAdapter.h | AppKit/DataViewController/AKTableViewCellAdapter.h | //
// AKTableViewCellAdapter.h
// AppKit
//
// Created by Zijiao Liu on 12/20/15.
// Copyright © 2015 Zijiao Liu. All rights reserved.
//
#import "AKTableViewConfiguration.h"
#import "AKTableViewCell.h"
@interface AKTableViewCellAdapter : NSObject <AKTableViewConfiguration>
- (CGFloat)dataViewController:(nonnull... | //
// AKTableViewCellAdapter.h
// AppKit
//
// Created by Zijiao Liu on 12/20/15.
// Copyright © 2015 Zijiao Liu. All rights reserved.
//
#import "AKTableViewConfiguration.h"
#import "AKTableViewCell.h"
@interface AKTableViewCellAdapter : NSObject <AKTableViewConfiguration>
- (CGFloat)dataViewController:(nonnull... | Disable a method in adapter | Disable a method in adapter
| C | apache-2.0 | lingguang1997/AppKit |
7b3e6a03279e775974dd43f7ff643f170fc08d1c | Stripe/STPLocalizationUtils.h | Stripe/STPLocalizationUtils.h | //
// STPLocalizedStringUtils.h
// Stripe
//
// Created by Brian Dorfman on 8/11/16.
// Copyright © 2016 Stripe, Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
#define STPLocalizedString(key, comment) \
[STPLocalizationUtils localizedStripeStringForKey:(key)]
@interface STPLocalizationUtils : NSO... | //
// STPLocalizationUtils.h
// Stripe
//
// Created by Brian Dorfman on 8/11/16.
// Copyright © 2016 Stripe, Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface STPLocalizationUtils : NSObject
/**
Acts like NSLocalizedString but tries to find the string in the Stripe
bundle first if poss... | Change to use inline function instead of macro. | Change to use inline function instead of macro.
This makes FauxPas's localization checks work properly.
| C | mit | stripe/stripe-ios,NewAmsterdamLabs/stripe-ios,stripe/stripe-ios,fbernardo/stripe-ios,fbernardo/stripe-ios,stripe/stripe-ios,stripe/stripe-ios,stripe/stripe-ios,NewAmsterdamLabs/stripe-ios,fbernardo/stripe-ios,NewAmsterdamLabs/stripe-ios,stripe/stripe-ios,NewAmsterdamLabs/stripe-ios,fbernardo/stripe-ios |
db053d481db41887771dccc52a61b7123f5011a2 | BRScroller/BRScrollerUtilities.c | BRScroller/BRScrollerUtilities.c | //
// BRScrollerUtilities.c
// BRScroller
//
// Created by Matt on 7/11/13.
// Copyright (c) 2013 Blue Rocket. Distributable under the terms of the Apache License, Version 2.0.
//
#include "BRScrollerUtilities.h"
#if !defined(MIN)
#define MIN(A,B) ((A) < (B) ? (A) : (B))
#endif
inline bool BRFloatsAreEqual(CGFl... | //
// BRScrollerUtilities.c
// BRScroller
//
// Created by Matt on 7/11/13.
// Copyright (c) 2013 Blue Rocket. Distributable under the terms of the Apache License, Version 2.0.
//
#include "BRScrollerUtilities.h"
#include <math.h>
#include <sys/param.h>
inline bool BRFloatsAreEqual(CGFloat a, CGFloat b) {
const... | Fix includes to just what is needed. | Fix includes to just what is needed.
| C | apache-2.0 | Blue-Rocket/BRScroller,Blue-Rocket/BRScroller |
b912fb63cd043f653cdba9abe0b5a1c4b5ebb9c0 | RxHyperdrive/RxHyperdrive.h | RxHyperdrive/RxHyperdrive.h | //
// RxHyperdrive.h
// RxHyperdrive
//
// Created by Kyle Fuller on 13/09/2015.
// Copyright © 2015 Cocode. All rights reserved.
//
#import <Cocoa/Cocoa.h>
//! Project version number for RxHyperdrive.
FOUNDATION_EXPORT double RxHyperdriveVersionNumber;
//! Project version string for RxHyperdrive.
FOUNDATION_EXP... | //
// RxHyperdrive.h
// RxHyperdrive
//
// Created by Kyle Fuller on 13/09/2015.
// Copyright © 2015 Cocode. All rights reserved.
//
@import Foundation;
//! Project version number for RxHyperdrive.
FOUNDATION_EXPORT double RxHyperdriveVersionNumber;
//! Project version string for RxHyperdrive.
FOUNDATION_EXPORT ... | Use Foundation in the umbrella header | Use Foundation in the umbrella header | C | mit | kylef/RxHyperdrive,kylef/RxHyperdrive |
eda89b4fcfe6a529d2194cf54546a814731b67bc | bindings/muen/muen-yield.c | bindings/muen/muen-yield.c | /*
* Copyright (c) 2017 Contributors as noted in the AUTHORS file
*
* This file is part of Solo5, a sandboxed execution environment.
*
* Permission to use, copy, modify, and/or distribute this software
* for any purpose with or without fee is hereby granted, provided
* that the above copyright notice and this pe... | /*
* Copyright (c) 2017 Contributors as noted in the AUTHORS file
*
* This file is part of Solo5, a sandboxed execution environment.
*
* Permission to use, copy, modify, and/or distribute this software
* for any purpose with or without fee is hereby granted, provided
* that the above copyright notice and this pe... | Rework solo5_yield to support multiple devices | muen: Rework solo5_yield to support multiple devices
| C | isc | mato/solo5,mato/solo5,Solo5/solo5,Solo5/solo5,mato/solo5 |
e1829b05d441cd768a52ceb81af3a906ee6c219c | src/payload/setup-object.h | src/payload/setup-object.h | #ifndef RCR_LEVEL1PAYLOAD_SETUP_H_
#define RCR_LEVEL1PAYLOAD_SETUP_H_
#if defined(ARDUINO) && ARDUINO >= 100
#include "arduino.h"
#else
#include "WProgram.h"
#endif
namespace rcr {
namespace level1payload {
// Setup the object. Swallow any errors.
template<typename T>
inline void setup_object(T& obj, const char* e... | #ifndef RCR_LEVEL1PAYLOAD_SETUP_H_
#define RCR_LEVEL1PAYLOAD_SETUP_H_
#if defined(ARDUINO) && ARDUINO >= 100
#include "arduino.h"
#else
#include "WProgram.h"
#endif
namespace rcr {
namespace level1payload {
// Setup the object. Swallow any errors.
template<typename T, typename TArg>
inline void setup_object(T& obj... | Add template overload for begin() arguments | Add template overload for begin() arguments
| C | mit | nolanholden/payload-level1-rocket,nolanholden/geovis,nolanholden/geovis,nolanholden/geovis |
cb808fbb23fbfcac41b9436a92d4a223b4d01fda | views/view_constants.h | views/view_constants.h | // Copyright (c) 2011 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 VIEWS_VIEW_CONSTANTS_H_
#define VIEWS_VIEW_CONSTANTS_H_
#pragma once
#include "views/views_export.h"
namespace views {
// Size (width or he... | // Copyright (c) 2011 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 VIEWS_VIEW_CONSTANTS_H_
#define VIEWS_VIEW_CONSTANTS_H_
#pragma once
#include "views/views_export.h"
namespace views {
// Size (width or he... | Add VIEWS_EXPORT to autoscroll constants. | Add VIEWS_EXPORT to autoscroll constants.
Referenced by browser/bookmarks/bookmark_drop_info.cc, fixes link when in
component and incremental linking on Windows.
BUG=
TEST=Links in Component build mode
Review URL: http://codereview.chromium.org/7741017
git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@98281 00... | C | bsd-3-clause | yitian134/chromium,ropik/chromium,yitian134/chromium,ropik/chromium,adobe/chromium,yitian134/chromium,ropik/chromium,gavinp/chromium,gavinp/chromium,adobe/chromium,ropik/chromium,yitian134/chromium,yitian134/chromium,ropik/chromium,yitian134/chromium,ropik/chromium,gavinp/chromium,adobe/chromium,gavinp/chromium,ropik/c... |
cc7b316872403c586627bd909bb596801e4a67cf | test/clear-similar-keys.c | test/clear-similar-keys.c |
#include "sphia-test.h"
// See #51
static void
test_clear_similar_keys() {
sphia_set(sphia, "key-1", "hello world");
sphia_set(sphia, "key-10", "hello world");
assert(2 == sphia_count(sphia));
assert(0 == sphia_clear(sphia));
assert(0 == sphia_count(sphia));
}
TEST(test_clear_similar_keys);
|
#include "sphia-test.h"
// See #51
static void
test_clear_similar_keys() {
sphia_set(sphia, "key-1", "hello world");
sphia_set(sphia, "key-10", "hello world");
sphia_set(sphia, "00000000", "hello world");
sphia_set(sphia, "000000000", "hello world");
assert(4 == sphia_count(sphia));
assert(0 == sphia_clea... | Update clear test to use keys longer than 8 chars | Update clear test to use keys longer than 8 chars
| C | mit | sphia/sphia,sphia/sphia,sphia/sphia |
b2a14a335095b42f02edabdf96bdf6480da2c9f7 | tests/regression/13-privatized/67-pthread_cond_wait.c | tests/regression/13-privatized/67-pthread_cond_wait.c | #include<pthread.h>
#include<stdio.h>
#include<unistd.h>
#include <assert.h>
int g;
pthread_mutex_t mut = PTHREAD_MUTEX_INITIALIZER;
pthread_cond_t cond = PTHREAD_COND_INITIALIZER;
void* f1(void* ptr) {
pthread_mutex_lock(&mut);
g = 1;
pthread_cond_wait(&cond,&mut);
assert(g == 0); // TODO (no cond-f... | #include<pthread.h>
#include<stdio.h>
#include<unistd.h>
#include <assert.h>
int g;
pthread_mutex_t mut = PTHREAD_MUTEX_INITIALIZER;
pthread_cond_t cond = PTHREAD_COND_INITIALIZER;
void* f1(void* ptr) {
pthread_mutex_lock(&mut);
g = 1;
pthread_cond_wait(&cond,&mut);
assert(g == 0); // TODO (no cond-f... | Add missing return to 13/67 | Add missing return to 13/67
| C | mit | goblint/analyzer,goblint/analyzer,goblint/analyzer,goblint/analyzer,goblint/analyzer |
40559fbb000bece563eb4b8c0fba875990ddf083 | libcef_dll/cef_macros.h | libcef_dll/cef_macros.h | // Copyright (c) 2014 The Chromium Embedded Framework 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 CEF_LIBCEF_DLL_CEF_MACROS_H_
#define CEF_LIBCEF_DLL_CEF_MACROS_H_
#pragma once
#ifdef BUILDING_CEF_SHARED
#include "base/m... | // Copyright (c) 2014 The Chromium Embedded Framework 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 CEF_LIBCEF_DLL_CEF_MACROS_H_
#define CEF_LIBCEF_DLL_CEF_MACROS_H_
#pragma once
#ifdef BUILDING_CEF_SHARED
#include "base/m... | Remove duplicate content in file. | Remove duplicate content in file. | C | bsd-3-clause | amikey/chromium,amikey/chromium,amikey/chromium,amikey/chromium,amikey/chromium |
5041a2011a8f68aaf252f634ba5bd2bd198229b3 | src/epollinterface.c | src/epollinterface.c | #include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/epoll.h>
#include "epollinterface.h"
#define MAX_EPOLL_EVENTS 10
void add_epoll_handler(int epoll_fd, struct epoll_event_handler* handler, uint32_t event_mask)
{
struct epoll_event event;
event.data.ptr = handler;
event.events = e... | #include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/epoll.h>
#include "epollinterface.h"
#define MAX_EPOLL_EVENTS 1
void add_epoll_handler(int epoll_fd, struct epoll_event_handler* handler, uint32_t event_mask)
{
struct epoll_event event;
event.data.ptr = handler;
event.events = ev... | Handle epoll events one at a time. Doesn't seem to make things slower, and eliminates (I think) risk of freed backends getting events. | Handle epoll events one at a time. Doesn't seem to make things slower, and eliminates (I think) risk of freed backends getting events.
| C | mit | gpjt/rsp,gpjt/rsp,gpjt/rsp |
b1d45cb3b9f9ad2089d57de0ec3fa75ea1cf7fc4 | include/ygo/data/CardData.h | include/ygo/data/CardData.h | #ifndef YGO_DATA_CARDDATA_H
#define YGO_DATA_CARDDATA_H
#include <string>
#include "CardType.h"
namespace ygo
{
namespace data
{
struct StaticCardData
{
std::string name;
CardType cardType;
// monster only
Attribute attribute;
MonsterType monsterType;
Type type;
MonsterType monsterAbilit... | #ifndef YGO_DATA_CARDDATA_H
#define YGO_DATA_CARDDATA_H
#include <string>
#include "CardType.h"
namespace ygo
{
namespace data
{
struct StaticCardData
{
const char* name;
CardType cardType;
// monster only
Attribute attribute;
MonsterType monsterType;
Type type;
MonsterType monsterAbilit... | Change name to const char * | Change name to const char *
Allow for trivially constructable type
| C | mit | DeonPoncini/ygodata |
2d70b362127449ee79dc7fe236a7b20d75689fd3 | libraries/ESP8266WebServer/src/detail/RequestHandler.h | libraries/ESP8266WebServer/src/detail/RequestHandler.h | #ifndef REQUESTHANDLER_H
#define REQUESTHANDLER_H
class RequestHandler {
public:
virtual bool canHandle(HTTPMethod method, String uri) { return false; }
virtual bool canUpload(String uri) { return false; }
virtual bool handle(ESP8266WebServer& server, HTTPMethod requestMethod, String requestUri) { return f... | #ifndef REQUESTHANDLER_H
#define REQUESTHANDLER_H
class RequestHandler {
public:
virtual ~RequestHandler() { }
virtual bool canHandle(HTTPMethod method, String uri) { return false; }
virtual bool canUpload(String uri) { return false; }
virtual bool handle(ESP8266WebServer& server, HTTPMethod requestMet... | Fix warning due to lack of virtual destructor | Fix warning due to lack of virtual destructor
| C | lgpl-2.1 | lrmoreno007/Arduino,KaloNK/Arduino,hallard/Arduino,KaloNK/Arduino,quertenmont/Arduino,jes/Arduino,toastedcode/esp8266-Arduino,martinayotte/ESP8266-Arduino,sticilface/Arduino,jes/Arduino,me-no-dev/Arduino,esp8266/Arduino,martinayotte/ESP8266-Arduino,lrmoreno007/Arduino,KaloNK/Arduino,Links2004/Arduino,wemos/Arduino,esp8... |
a615fa83959896f8eac76c235953fb164cd1a9b9 | include/linux/kmalloc_sizes.h | include/linux/kmalloc_sizes.h | #if (PAGE_SIZE == 4096)
CACHE(32)
#endif
CACHE(64)
#if L1_CACHE_BYTES < 64
CACHE(96)
#endif
CACHE(128)
#if L1_CACHE_BYTES < 128
CACHE(192)
#endif
CACHE(256)
CACHE(512)
CACHE(1024)
CACHE(2048)
CACHE(4096)
CACHE(8192)
CACHE(16384)
CACHE(32768)
CACHE(65536)
CACHE(131072)
#ifndef CONFIG_MMU
CACHE(262144)
C... | #if (PAGE_SIZE == 4096)
CACHE(32)
#endif
CACHE(64)
#if L1_CACHE_BYTES < 64
CACHE(96)
#endif
CACHE(128)
#if L1_CACHE_BYTES < 128
CACHE(192)
#endif
CACHE(256)
CACHE(512)
CACHE(1024)
CACHE(2048)
CACHE(4096)
CACHE(8192)
CACHE(16384)
CACHE(32768)
CACHE(65536)
CACHE(131072)
#if (NR_CPUS > 512) || (MAX_NUMNODES... | Increase max kmalloc size for very large systems | [PATCH] Increase max kmalloc size for very large systems
Systems with extemely large numbers of nodes or cpus need to kmalloc
structures larger than is currently supported. This patch increases the
maximum supported size for very large systems.
This patch should have no effect on current systems.
(akpm: why not jus... | C | mit | KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,Krist... |
c6e3881888e2f39b24d5381ce01876f30cfb9482 | include/core/SkMilestone.h | include/core/SkMilestone.h | /*
* Copyright 2016 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SK_MILESTONE
#define SK_MILESTONE 88
#endif
| /*
* Copyright 2016 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SK_MILESTONE
#define SK_MILESTONE 89
#endif
| Update Skia milestone to 89 | Update Skia milestone to 89
Change-Id: I9de827fe1902a9a91898fcf70d82153a821500ee
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/334418
Reviewed-by: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>
Commit-Queue: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>
| C | bsd-3-clause | google/skia,aosp-mirror/platform_external_skia,aosp-mirror/platform_external_skia,google/skia,google/skia,google/skia,aosp-mirror/platform_external_skia,google/skia,aosp-mirror/platform_external_skia,aosp-mirror/platform_external_skia,google/skia,aosp-mirror/platform_external_skia,google/skia,google/skia,aosp-mirror/pl... |
f0b2388d22e1002a70e80643500434b19723a8cc | include/samplog/LogLevel.h | include/samplog/LogLevel.h | #pragma once
#ifndef INC_SAMPLOG_LOGLEVEL_H
#define INC_SAMPLOG_LOGLEVEL_H
#ifdef ERROR //because Microsoft
#undef ERROR
#endif
enum samplog_LogLevel
{
NONE = 0,
DEBUG = 1,
INFO = 2,
WARNING = 4,
ERROR = 8,
FATAL = 16,
VERBOSE = 32,
};
inline samplog_LogLevel operator|(samplog_LogLevel a, samplog_LogLevel b)... | #pragma once
#ifndef INC_SAMPLOG_LOGLEVEL_H
#define INC_SAMPLOG_LOGLEVEL_H
#ifdef ERROR //because Microsoft
#undef ERROR
#endif
enum samplog_LogLevel
{
NONE = 0,
DEBUG = 1,
INFO = 2,
WARNING = 4,
ERROR = 8,
FATAL = 16,
VERBOSE = 32,
};
#ifdef __cplusplus
inline samplog_LogLevel operator|(samplog_LogLevel a, ... | Put enum OR declaration in `__cplusplus` | Put enum OR declaration in `__cplusplus`
| C | mit | maddinat0r/samp-log-core,maddinat0r/samp-log-core |
f928e7a707a09d471881dc77e46992a774ae5b44 | features/mbedtls/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F439xI/mbedtls_device.h | features/mbedtls/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F439xI/mbedtls_device.h | /*
* mbedtls_device.h
*******************************************************************************
* Copyright (c) 2017, STMicroelectronics
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the Li... | /*
* mbedtls_device.h
*******************************************************************************
* Copyright (c) 2017, STMicroelectronics
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the Li... | Disable MD5, SHA1, SHA256 HW ACC for STM32F439xI | mbedtls: Disable MD5, SHA1, SHA256 HW ACC for STM32F439xI
STM32F439xI-family MD5, SHA1 and SHA256 hardware acceleration
occasionally produces incorrect output (#5079).
Don't enable MD5, SHA1 and SHA256 HW acceleration on STM32F439xI-family
targets by default until issue #5079 is fixed.
| C | apache-2.0 | mazimkhan/mbed-os,mbedmicro/mbed,infinnovation/mbed-os,betzw/mbed-os,ryankurte/mbed-os,karsev/mbed-os,ryankurte/mbed-os,mbedmicro/mbed,infinnovation/mbed-os,karsev/mbed-os,nRFMesh/mbed-os,karsev/mbed-os,c1728p9/mbed-os,catiedev/mbed-os,c1728p9/mbed-os,karsev/mbed-os,karsev/mbed-os,Archcady/mbed-os,andcor02/mbed-os,betz... |
ee396e6fa028184cf715351311ba3c41e7b8228e | src/lib/utils/openssl/openssl.h | src/lib/utils/openssl/openssl.h | /*
* Utils for calling OpenSSL
* (C) 2015 Jack Lloyd
*
* Botan is released under the Simplified BSD License (see license.txt)
*/
#ifndef BOTAN_OPENSSL_H__
#define BOTAN_OPENSSL_H__
#include <botan/secmem.h>
#include <botan/exceptn.h>
#include <memory>
#include <openssl/err.h>
namespace Botan {
class OpenSSL_Error ... | /*
* Utils for calling OpenSSL
* (C) 2015 Jack Lloyd
*
* Botan is released under the Simplified BSD License (see license.txt)
*/
#ifndef BOTAN_OPENSSL_H__
#define BOTAN_OPENSSL_H__
#include <botan/secmem.h>
#include <botan/exceptn.h>
#include <memory>
#include <openssl/err.h>
namespace Botan {
class OpenSSL_Error ... | Make OpenSSL ECDSA and RSA request only until they can be tested | Make OpenSSL ECDSA and RSA request only until they can be tested
| C | bsd-2-clause | randombit/botan,randombit/botan,webmaster128/botan,Rohde-Schwarz-Cybersecurity/botan,Rohde-Schwarz-Cybersecurity/botan,webmaster128/botan,Rohde-Schwarz-Cybersecurity/botan,Rohde-Schwarz-Cybersecurity/botan,randombit/botan,webmaster128/botan,Rohde-Schwarz-Cybersecurity/botan,randombit/botan,webmaster128/botan,Rohde-Schw... |
10687f69c018875f5180e93aeff5bdc3d6b828d1 | include/bold/Support/Slab.h | include/bold/Support/Slab.h | //===- Slab.h -------------------------------------------------------------===//
//
// The Bold Project
//
// This file is distributed under the New BSD License.
// See LICENSE for details.
//
//===----------------------------------------------------------------------===//
#ifndef BOLD_SUPP... | //===- Slab.h -------------------------------------------------------------===//
//
// The Bold Project
//
// This file is distributed under the New BSD License.
// See LICENSE for details.
//
//===----------------------------------------------------------------------===//
#ifndef BOLD_SUPP... | Fix bug - obviously, recursive template type is impossible. | Fix bug - obviously, recursive template type is impossible.
| C | bsd-3-clause | astrotycoon/bold-utils,hjmeric/bold-utils,hjmeric/bold-utils,astrotycoon/bold-utils |
b71d9d2e421652ca60b67b9ce37d7e6988e40e0e | src/miners/fs/tracker-writeback.h | src/miners/fs/tracker-writeback.h | /*
* Copyright (C) 2008, Nokia <ivan.frade@nokia.com>
*
* 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.
... | /*
* Copyright (C) 2008, Nokia <ivan.frade@nokia.com>
*
* This library 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... | Fix licensing errors in files | tracker-miner-fs: Fix licensing errors in files
Some were changed from GPL to LGPL for some reason. Now they're all GPL as
they should be.
| C | lgpl-2.1 | hoheinzollern/tracker,hoheinzollern/tracker,hoheinzollern/tracker,outofbits/tracker,hoheinzollern/tracker,hoheinzollern/tracker,hoheinzollern/tracker,outofbits/tracker,hoheinzollern/tracker,outofbits/tracker,outofbits/tracker,outofbits/tracker,outofbits/tracker,outofbits/tracker |
2672954aebf325f7c73f0539fd5e6aa53f4bb1e9 | Parse-RACExtensions/PFQuery+RACExtensions.h | Parse-RACExtensions/PFQuery+RACExtensions.h | //
// PFQuery+RACExtensions.h
// Parse-RACExtensions
//
// Created by Dave Lee on 2013-06-28.
// Copyright (c) 2013 Dave Lee. All rights reserved.
//
#import <Parse/PFQuery.h>
@class RACSignal;
@interface PFQuery (RACExtensions)
/// Gets a PFObject with the given id.
///
/// @warning This mutates the PFQuery.
/... | //
// PFQuery+RACExtensions.h
// Parse-RACExtensions
//
// Created by Dave Lee on 2013-06-28.
// Copyright (c) 2013 Dave Lee. All rights reserved.
//
#import <Parse/PFQuery.h>
@class RACSignal;
@interface PFQuery (RACExtensions)
/// Gets a PFObject with the given id.
///
/// Disposing subscription will also can... | Document PFQuery disposal side effects | Document PFQuery disposal side effects
| C | mit | kastiglione/Parse-RACExtensions,chrrasmussen/Parse-RACExtensions,kastiglione/Parse-RACExtensions,chrrasmussen/Parse-RACExtensions |
2df653a9db16b6359b5abd80e7ffa30e832fed9a | src/StdAfx.h | src/StdAfx.h |
/* StdAfx.h
*
* Copyright (C) 2013 Michael Imamura
*
* 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 ... |
/* StdAfx.h
*
* Copyright (C) 2013 Michael Imamura
*
* 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 ... | Set API ver and disable CRT warnings on Win32. | Set API ver and disable CRT warnings on Win32.
| C | apache-2.0 | ZoogieZork/Adventures-in-SDL2,ZoogieZork/Adventures-in-SDL2 |
6f6926c373cf829cb8043f1a81595c0388d8009f | src/btcwif.h | src/btcwif.h | #ifndef __BTC_WIF_H__
#define __BTC_WIF_H__
#include <string>
#include <vector>
namespace btc {
namespace wif {
std::string PrivateKeyToWif(const std::vector<uint8_t> &priv_key);
std::vector<uint8_t> WifToPrivateKey(const std::string &priv_key_str);
} // namespace wif
} // namespace btc
#endif
| #ifndef __BTC_WIF_H__
#define __BTC_WIF_H__
#include <string>
#include <vector>
namespace btc {
namespace wif {
/**
* Convert private key to string in WIF
*
* @param priv_key Private key data.
*
* @return WIF string.
*/
std::string PrivateKeyToWif(const std::vector<uint8_t> &priv_key);
/**
* Parse WIF privat... | Add comment for WIF functions. | Add comment for WIF functions.
| C | mit | gladosconn/btcaddrgen |
19533431a5b879a40b706b7ce2c64a1456acb8bb | src/icmpv4.c | src/icmpv4.c | #include "ethernet.h"
#include "icmpv4.h"
#include "ip.h"
#include "utils.h"
void icmpv4_incoming(struct sk_buff *skb)
{
struct iphdr *iphdr = ip_hdr(skb);
struct icmp_v4 *icmp = (struct icmp_v4 *) iphdr->data;
//TODO: Check csum
switch (icmp->type) {
case ICMP_V4_ECHO:
icmpv4_re... | #include "ethernet.h"
#include "icmpv4.h"
#include "ip.h"
#include "utils.h"
void icmpv4_incoming(struct sk_buff *skb)
{
struct iphdr *iphdr = ip_hdr(skb);
struct icmp_v4 *icmp = (struct icmp_v4 *) iphdr->data;
//TODO: Check csum
switch (icmp->type) {
case ICMP_V4_ECHO:
icmpv4_re... | Fix ICMPv4 dest addr set | Fix ICMPv4 dest addr set
| C | mit | saminiir/level-ip,saminiir/level-ip |
38c0c6b517013f885e9c465e6f481d3828b355ea | bst.h | bst.h | #include <stdlib.h>
#ifndef __BST_H__
#define __BST_H__
#endif | #include <stdlib.h>
#ifndef __BST_H__
#define __BST_H__
struct BSTNode;
struct BST;
#endif | Add BSTNode & BST struct declaration | Add BSTNode & BST struct declaration
| C | mit | MaxLikelihood/CADT |
d8d34b0ebf0af05fd03af936ea0e08ec32972ff8 | prj1/include/geometry/geometry.h | prj1/include/geometry/geometry.h | #ifndef GEOMETRY_H
#define GEOMETRY_H
#include <vector>
#include <string>
#include <memory>
#include "linalg/ray.h"
#include "linalg/transform.h"
class Geometry {
public:
virtual bool intersect(Ray &r) = 0;
};
class Node {
std::vector<std::shared_ptr<Node>> children;
std::shared_ptr<Geometry> geometry;
Transform... | #ifndef GEOMETRY_H
#define GEOMETRY_H
#include <vector>
#include <string>
#include <memory>
#include "linalg/ray.h"
#include "linalg/transform.h"
class Geometry {
public:
/*
* Test a ray for intersection with the geometry.
* The ray should have been previously transformed into object space
*/
virtual bool int... | Add comment on what space the incoming ray should be in | Add comment on what space the incoming ray should be in
| C | mit | Twinklebear/tray,Twinklebear/tray |
11cc5dbfd26c345e51ec7aa402417ae5faa0c71d | src/distributed.h | src/distributed.h | #ifndef DISTRIBUTED_H_
#define DISTRIBUTED_H_
#include <pthread.h>
#include "synch.h"
#define N_WORKERS 2
/* The Nahanni device */
#define SHM_DEV "/dev/uio0"
/* The size of the shared memory, in bytes */
#define SHM_SIZE (1024L * 1024L * 1024L)
/* Where we should map the memory */
#define SHM_LOC ... | #ifndef DISTRIBUTED_H_
#define DISTRIBUTED_H_
#include <pthread.h>
#include "synch.h"
/* This is a misnomer - it's actually the number of processes (master + workers) */
#define N_WORKERS 3
/* The Nahanni device */
#define SHM_DEV "/dev/uio0"
/* The size of the shared memory, in bytes */
#define SHM_SIZE ... | Increase node count to 3 | Increase node count to 3
| C | bsd-3-clause | adamwg/elastic-phoenix,adamwg/elastic-phoenix,adamwg/elastic-phoenix |
bce9205e430e94918476ae62579f9e3c811294d7 | test/Parser/ms-inline-asm.c | test/Parser/ms-inline-asm.c | // REQUIRES: x86-registered-target
// RUN: %clang_cc1 %s -verify -fasm-blocks
#define M __asm int 0x2c
#define M2 int
void t1(void) { M }
void t2(void) { __asm int 0x2c }
void t3(void) { __asm M2 0x2c }
void t4(void) { __asm mov eax, fs:[0x10] }
void t5() {
__asm {
int 0x2c ; } asm comments are fun! }{
}
__... | // RUN: %clang_cc1 %s -triple i386-apple-darwin10 -verify -fasm-blocks
#define M __asm int 0x2c
#define M2 int
void t1(void) { M }
void t2(void) { __asm int 0x2c }
void t3(void) { __asm M2 0x2c }
void t4(void) { __asm mov eax, fs:[0x10] }
void t5() {
__asm {
int 0x2c ; } asm comments are fun! }{
}
__asm {}
... | Add a triple, per Ben's suggestion. | Add a triple, per Ben's suggestion.
git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@173198 91177308-0d34-0410-b5e6-96231b3b80d8
| C | apache-2.0 | llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-cl... |
f03fd7f1afa93f73f156c82e9541d11e1519ec31 | test/Sema/typo-correction.c | test/Sema/typo-correction.c | // RUN: %clang_cc1 -fsyntax-only -verify %s
//
// This file contains typo correction tests which hit different code paths in C
// than in C++ and may exhibit different behavior as a result.
__typeof__(struct F*) var[invalid]; // expected-error-re {{use of undeclared identifier 'invalid'{{$}}}}
void PR21656() {
flo... | // RUN: %clang_cc1 -fsyntax-only -verify %s
//
// This file contains typo correction tests which hit different code paths in C
// than in C++ and may exhibit different behavior as a result.
__typeof__(struct F*) var[invalid]; // expected-error-re {{use of undeclared identifier 'invalid'{{$}}}}
void PR21656() {
flo... | Fix test from my previous commit | Fix test from my previous commit
(I should have re-run the test after running clang-format)
git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@225515 91177308-0d34-0410-b5e6-96231b3b80d8
| C | apache-2.0 | llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,apple/swift-cl... |
29cc413e4a179535fc7003b6e7f3cc67424cca13 | UTAPIObjCAdapter/UTAPIObjCAdapter.h | UTAPIObjCAdapter/UTAPIObjCAdapter.h | //
// UTAPIObjCAdapter-iOS.h
// UTAPIObjCAdapter-iOS
//
// Created by Mark Woollard on 15/05/2016.
// Copyright © 2016 UrbanThings. All rights reserved.
//
#import <UIKit/UIKit.h>
//! Project version number for UTAPIObjCAdapter-iOS.
FOUNDATION_EXPORT double UTAPIObjCAdapter_iOSVersionNumber;
//! Project version ... | //
// UTAPIObjCAdapter-iOS.h
// UTAPIObjCAdapter-iOS
//
// Created by Mark Woollard on 15/05/2016.
// Copyright © 2016 UrbanThings. All rights reserved.
//
//! Project version number for UTAPIObjCAdapter-iOS.
FOUNDATION_EXPORT double UTAPIObjCAdapter_iOSVersionNumber;
//! Project version string for UTAPIObjCAdapt... | Make master header platform neutral | Make master header platform neutral
| C | apache-2.0 | urbanthings/urbanthings-sdk-apple,urbanthings/urbanthings-sdk-apple,urbanthings/urbanthings-sdk-apple,urbanthings/urbanthings-sdk-apple |
783ab6c29e2c372ca395cec7683656f593fcd4e2 | tests/regression/37-congruence/03-interval-overflow.c | tests/regression/37-congruence/03-interval-overflow.c | // PARAM: --enable ana.int.interval --enable ana.int.congruence --disable ana.int.def_exc
// Overflow information should be passed from the interval domain to congruences
#include <assert.h>
#include <stdio.h>
int main(){
char r;
if (r) {
r = -68;
} else {
r = -63;
}
char k = r - 80;
assert (k ==... | // PARAM: --enable ana.int.interval --enable ana.int.congruence --disable ana.int.def_exc
// Overflow information should be passed from the interval domain to congruences
#include <assert.h>
#include <stdio.h>
int main(){
signed char r;
if (r) {
r = -68;
} else {
r = -63;
}
signed char k = r - 80;
... | Change UNKNOWN to UNKNOWN! in 37/03 + chars to signed chars | Change UNKNOWN to UNKNOWN! in 37/03 + chars to signed chars
| C | mit | goblint/analyzer,goblint/analyzer,goblint/analyzer,goblint/analyzer,goblint/analyzer |
1884e824eac4bd2f6210e13fb20708da0b9b4482 | polygonmain.c | polygonmain.c | #include <polygon.h>
int main(int argc, char* argv[]) {
Polygon lol;
lol=createPolygon();
lol=addPoint(lol, createPoint(12.6,-5.3));
lol=addPoint(lol, createPoint(-4.1,456.123));
printf("\n\ntaille : %d", lol.size);
printf("\n\nx premier point : %f", lol.head->value.x);
printf("\ny premier point : %f\n\n",... | #include <polygon.h>
int main(int argc, char* argv[]) {
Polygon lol;
lol=createPolygon();
lol=addPoint(lol, createPoint(12.6,-5.3));
lol=addPoint(lol, createPoint(-4.1,456.123));
lol=addPoint(lol, createPoint(23.7,1));
printf("\n\ntaille : %d", lol.size);
printf("\n\nx premier point : %f", lol.head->value.... | Add a section which test if the removePoint function work | Add a section which test if the removePoint function work
And it work !
| C | mit | UTBroM/GeometricLib |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.