repo_name
string
path
string
copies
string
size
string
content
string
license
string
firerszd/kbengine
kbe/src/lib/dependencies/openssl/crypto/bio/bio_lib.c
116
13083
/* crypto/bio/bio_lib.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * * This package is an SSL implementation written * by Eric Young (eay@cryptsoft.com). * The implementation was written so as to conform with Netscapes SSL. * * This library is free for commercial and non...
lgpl-3.0
Bang3DEngine/Bang
Compile/CompileDependencies/ThirdParty/freetype-2.4.0/builds/unix/ftsystem.c
428
15306
/***************************************************************************/ /* */ /* ftsystem.c */ /* */ /* Un...
lgpl-3.0
ThreadedThinking/EInk-Street-Sign
TPS65185.c
1
2319
#include <i2c.h> enum tps_registers { TMST_VALUE, ENABLE, VADJ, VCOM1, VCOM2, INT_EN1, INT_EN2, INT1, INT2, UPSEQ0, UPSEQ1, DWNSEQ0, DWNSEQ1, TMST1, TMST2, PG, REVID }; void write_ti(uint8_t reg, uint8_t value) { uint8_t temp; while(i2c_busy()) /* wait */; *I2CCR = 0; // assume being maste...
unlicense
liasica/Karabiner_CN
src/core/kext/KeyCode.cpp
1
6569
#include "Config.hpp" #include "KeyCode.hpp" #include "KeyCodeModifierFlagPairs.hpp" namespace org_pqrs_Karabiner { #include "../../../src/bridge/output/include.kext.keycode.cpp" // ------------------------------------------------------------ bool EventType::isKeyDownOrModifierDown(KeyCode key, Flags flags) const { ...
unlicense
MichaelClerx/libcellml
src/entity.cpp
1
2025
/* Copyright libCellML Contributors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, softwa...
apache-2.0
zherczeg/jerryscript
jerry-core/ecma/builtin-objects/ecma-builtin-global.c
1
22701
/* Copyright JS Foundation and other contributors, http://js.foundation * * 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 r...
apache-2.0
rudkx/swift
lib/SILOptimizer/Mandatory/MoveOnlyChecker.cpp
1
25003
//===--- MoveOnlyChecker.cpp ----------------------------------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
apache-2.0
aws/aws-sdk-cpp
aws-cpp-sdk-ds/source/model/DirectoryVpcSettings.cpp
1
1816
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/ds/model/DirectoryVpcSettings.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { names...
apache-2.0
robertamarton/incubator-trafodion
core/sql/exp/exp_tuple_desc.cpp
1
32573
/********************************************************************** // @@@ START COPYRIGHT @@@ // // Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. ...
apache-2.0
apaprocki/bde
groups/bdl/bdlt/bdlt_datetz.t.cpp
2
90559
// bdlt_datetz.t.cpp -*-C++-*- #include <bdlt_datetz.h> #include <bdlt_date.h> #include <bdlt_datetime.h> #include <bslim_testutil.h> #include <bslma_testallocator.h> #include <bsls_assert.h> #include <bsls_asserttest.h> #include <bslx_byteinstream.h> #include <bslx...
apache-2.0
google/google-ctf
third_party/edk2/UefiCpuPkg/Library/CpuCommonFeaturesLib/ClockModulation.c
2
3813
/** @file Clock Modulation feature. Copyright (c) 2017 - 2018, Intel Corporation. All rights reserved.<BR> This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may...
apache-2.0
vonway/TeamTalk
server/src/msg_server/LoginServConn.cpp
2
4499
/* * LoginServConn.cpp * * Created on: 2013-7-8 * Author: ziteng@mogujie.com */ #include "LoginServConn.h" #include "MsgConn.h" #include "ImUser.h" #include "IM.Other.pb.h" #include "IM.Server.pb.h" #include "ImPduBase.h" #include "public_define.h" using namespace IM::BaseDefine; static ConnMap_t g_login_...
apache-2.0
google-ar/WebARonARCore
third_party/WebKit/Source/core/dom/custom/V0CustomElementProcessingStack.cpp
2
3683
/* * Copyright (C) 2013 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditio...
apache-2.0
google/swiftshader
src/Reactor/ReactorDebugInfo.cpp
3
3800
// Copyright 2020 The SwiftShader Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ...
apache-2.0
jmerkow/ITK
Modules/ThirdParty/MINC/src/libminc/libsrc2/volume.c
3
50249
/** \file volume.c * \brief MINC 2.0 Volume Functions * \author Leila Baghdadi, Bert Vincent * * Functions to create, open, and close MINC volume objects. ************************************************************************/ #include <stdlib.h> #include <hdf5.h> #ifdef HAVE_CONFIG_H #include "config.h" #endif /*HA...
apache-2.0
aws/aws-sdk-cpp
aws-cpp-sdk-securityhub/source/model/AwsEcsServiceDeploymentConfigurationDetails.cpp
3
2244
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/securityhub/model/AwsEcsServiceDeploymentConfigurationDetails.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aw...
apache-2.0
awslabs/aws-sdk-cpp
aws-cpp-sdk-wafv2/source/model/RateBasedStatementManagedKeysIPSet.cpp
3
2189
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/wafv2/model/RateBasedStatementManagedKeysIPSet.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; name...
apache-2.0
pyca/pynacl
docs/vectors/c-source/sealbox_test_vectors.c
4
5841
/* * Copyright 2017 Donald Stufft and individual contributors * * 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 ap...
apache-2.0
cedral/aws-sdk-cpp
aws-cpp-sdk-cloudformation/source/model/StackSetOperationResultSummary.cpp
4
5428
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/cloudformation/model/StackSetOperationResultSummary.h> #include <aws/core/utils/xml/XmlSerializer.h> #include <aws/core/utils/StringUtils.h> #include <aws/core/utils/memory/stl/AWSString...
apache-2.0
aws/aws-sdk-cpp
aws-cpp-sdk-elasticmapreduce/source/model/DeleteStudioSessionMappingRequest.cpp
4
1455
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/elasticmapreduce/model/DeleteStudioSessionMappingRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::EMR::Model; using namespace Aws::Uti...
apache-2.0
llvm-mirror/lldb
source/API/SBAddress.cpp
4
10874
//===-- SBAddress.cpp -------------------------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
apache-2.0
wmydz1/tape
c-tape/queuefile.c
5
25144
/* * Copyright (C) 2012 Square, Inc. * * 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 agre...
apache-2.0
WhiteBearSolutions/WBSAirback
packages/wbsairback-kernel-image/wbsairback-kernel-image-3.2.43/arch/arm/mach-omap2/powerdomain.c
261
28329
/* * OMAP powerdomain control * * Copyright (C) 2007-2008, 2011 Texas Instruments, Inc. * Copyright (C) 2007-2011 Nokia Corporation * * Written by Paul Walmsley * Added OMAP4 specific support by Abhijit Pagare <abhijitpagare@ti.com> * State counting code by Tero Kristo <tero.kristo@nokia.com> * * This program...
apache-2.0
kerlw/stunserver
testcode/testdatastream.cpp
7
1572
/* Copyright 2011 John Selbie Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in wri...
apache-2.0
ppittle/AlienSwarmDirectorMod
trunk/src/game/client/swarm/vgui/objectiveicons.cpp
7
3955
#include "cbase.h" #include "c_asw_game_resource.h" #include "ObjectiveIcons.h" #include "c_asw_player.h" #include "c_asw_objective.h" #include "vgui_controls/AnimationController.h" #include "ObjectiveTitlePanel.h" #include "ObjectiveDetailsPanel.h" #include <vgui/ISurface.h> #include <vgui_controls/ImagePanel.h> // ...
apache-2.0
Osirium/xrdp
sesman/libscp/libscp_tcp.c
8
2798
/** * xrdp: A Remote Desktop Protocol server. * * Copyright (C) Jay Sorg 2004-2012 * * 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 ...
apache-2.0
Gilbert88/mesos
src/slave/containerizer/mesos/isolators/volume/utils.cpp
9
1793
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
apache-2.0
pillip8282/TizenRT
external/libsodium/port/crypto_hash_mbedtls/crypto_hash_sha512_mbedtls.c
10
4612
/**************************************************************************** * * Copyright 2019 Samsung Electronics All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at...
apache-2.0
mbedmicro/mbed
storage/filesystem/littlefsv2/tests/TESTS/filesystem/interspersed/main.cpp
10
11634
/* mbed Microcontroller Library * Copyright (c) 2017 ARM Limited * 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 License. * You may obtain a copy of the License at * * http://www.apache.org/li...
apache-2.0
gaoxiaojun/miniCTK
Plugins/org.blueberry.core.commands/src/common/berryCommandExceptions.cpp
10
1304
/*=================================================================== BlueBerry Platform Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS...
apache-2.0
graetzer/arangodb
3rdParty/boost/1.71.0/libs/compute/test/test_lambda.cpp
10
20131
//---------------------------------------------------------------------------// // Copyright (c) 2013 Kyle Lutz <kyle.r.lutz@gmail.com> // // Distributed under the Boost Software License, Version 1.0 // See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt // // See http://boostorg.gi...
apache-2.0
andcor02/mbed-os
features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_NORDIC_SOFTDEVICE/TARGET_NRF51/source/btle/btle.cpp
13
9116
/* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * * 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 re...
apache-2.0
50wu/gpdb
gpcontrib/zstd/zstd_compression.c
14
4405
/*--------------------------------------------------------------------- * * zstd_compression.c * * IDENTIFICATION * src/backend/catalog/zstd_compression.c * *--------------------------------------------------------------------- */ #include "postgres.h" #include "access/genam.h" #include "catalog/pg_compre...
apache-2.0
olegartys/TizenRT
apps/examples/testcase/le_tc/kernel/tc_tash_stackmonitor.c
15
2333
/**************************************************************************** * * Copyright 2016 Samsung Electronics All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at...
apache-2.0
GDXN/CoActionOS-Public
CoActionOS-Applib/src/lib/dsp/MatrixFunctions/arm_mat_trans_q15.c
17
8433
/* ---------------------------------------------------------------------- * Copyright (C) 2010-2013 ARM Limited. All rights reserved. * * $Date: 17. January 2013 * $Revision: V1.4.1 * * Project: CMSIS DSP Library * Title: arm_mat_trans_q15.c * * Description: Q15 ma...
apache-2.0
indashnet/InDashNet.Open.UN2000
android/external/skia/tools/skpdiff/SkDifferentPixelsMetric_cpu.cpp
18
2757
/* * Copyright 2013 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include <cstring> #include "SkBitmap.h" #include "SkDifferentPixelsMetric.h" #include "skpdiff_util.h" struct SkDifferentPixelsMetric::QueuedDiff { bool finished; ...
apache-2.0
davidfather/TizenRT
external/libopus/src/opus_demo.c
20
35114
/* Copyright (c) 2007-2008 CSIRO Copyright (c) 2007-2009 Xiph.Org Foundation Written by Jean-Marc Valin */ /* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the...
apache-2.0
AubrCool/rt-thread
bsp/gkipc/libraries/drv/710XS/gh/src/gh_vo_mixer1.c
22
61190
/****************************************************************************** ** ** \file gh_vo_mixer1.c ** ** \brief VO Mixer B access function. ** ** Copyright: 2012 - 2013 (C) GoKe Microelectronics ShangHai Branch ** ** \attention THIS SAMPLE CODE IS PROVIDED AS IS. GOKE MICROELECTRONICS ** ...
apache-2.0
msmolens/CTK
Plugins/org.commontk.eventadmin/dispatch/ctkEAThreadFactoryUser.cpp
25
1813
/*============================================================================= Library: CTK Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the ...
apache-2.0
pillip8282/TizenRT
os/kernel/environ/env_getenv.c
27
4790
/**************************************************************************** * * Copyright 2016 Samsung Electronics All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at...
apache-2.0
307509256/v2v
ffmpeg-jni/jni/include2/libavfilter/deshake_opencl.c
27
9538
/* * Copyright (C) 2013 Wei Gao <weigao@multicorewareinc.com> * Copyright (C) 2013 Lenny Wang * * This file is part of FFmpeg. * * FFmpeg 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 ...
apache-2.0
brightchen/Impala
thirdparty/openldap-2.4.25/servers/slapd/abandon.c
28
4067
/* abandon.c - decode and handle an ldap abandon operation */ /* $OpenLDAP: pkg/ldap/servers/slapd/abandon.c,v 1.52.2.9 2011/01/04 23:50:15 kurt Exp $ */ /* This work is part of OpenLDAP Software <http://www.openldap.org/>. * * Copyright 1998-2011 The OpenLDAP Foundation. * All rights reserved. * * Redistribution ...
apache-2.0
BartokW/sagetv
third_party/mplayer/libavformat/flvdec.c
31
17274
/* * FLV demuxer * Copyright (c) 2003 The FFmpeg Project. * * This file is part of FFmpeg. * * FFmpeg 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...
apache-2.0
jrmull/sagetv
third_party/mplayer/osdep/getch2-win.c
31
4802
/* windows TermIO for MPlayer (C) 2003 Sascha Sommer */ // See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/WinUI/WindowsUserInterface/UserInput/VirtualKeyCodes.asp // for additional virtual keycodes #include "config.h" #include <stdio.h> #include <windows.h> #include "keycodes.h"...
apache-2.0
xiechengen/GearVRf
GVRf/Framework/jni/objects/components/orthogonal_camera_jni.cpp
31
6995
/* Copyright 2015 Samsung Electronics Co., LTD * * 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...
apache-2.0
efortuna/AndroidSDKClone
ndk_experimental/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_unsigned_long.pass.cpp
34
12457
//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------...
apache-2.0
mosaic-cloud/mosaic-distribution-dependencies
dependencies/mozilla-js/1.8.5/js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_uchar.c
805
2279
/* Area: ffi_call, closure_call Purpose: Check passing of multiple unsigned char values. Limitations: none. PR: PR13221. Originator: <andreast@gcc.gnu.org> 20031129 */ /* { dg-do run } */ #include "ffitest.h" unsigned char test_func_fn(unsigned char a1, unsigned char a2, unsigned char a3, unsigned...
apache-2.0
svogl/mbed-os
TESTS/mbed_drivers/echo/main.cpp
40
2125
/* * Copyright (c) 2013-2016, ARM Limited, All Rights Reserved * 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 License. * You may obtain a copy of the License at * * http://www.apache.org/licenses...
apache-2.0
tejas1996/mathrunner
tess-two/jni/com_googlecode_tesseract_android/src/cube/bmp_8.cpp
43
28231
/********************************************************************** * File: bmp_8.cpp * Description: Implementation of an 8-bit Bitmap class * Author: Ahmad Abdulkader * Created: 2007 * * (C) Copyright 2008, Google Inc. ** Licensed under the Apache License, Version 2.0 (the "License"); ** you ma...
apache-2.0
hak/android-ndk
gles3jni/app/src/main/jni/RendererES3.cpp
46
5247
/* * Copyright 2013 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
apache-2.0
mbedmicro/mbed
connectivity/lwipstack/lwip/src/apps/snmp/lwip_snmpv3.c
47
3899
/** * @file * Additional SNMPv3 functionality RFC3414 and RFC3826. */ /* * Copyright (c) 2016 Elias Oenal. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of sour...
apache-2.0
kartben/iotivity
extlibs/tinydtls/ecc/test_helper.c
48
2790
/* * Copyright (c) 2009 Chris K Cockrum <ckc@cockrum.net> * * Copyright (c) 2013 Jens Trillmann <jtrillma@tzi.de> * Copyright (c) 2013 Marc Müller-Weinhardt <muewei@tzi.de> * Copyright (c) 2013 Lars Schmertmann <lars@tzi.de> * Copyright (c) 2013 Hauke Mehrtens <hauke@hauke-m.de> * * Permission is hereby granted...
apache-2.0
sitexa/otp
lib/erl_interface/src/decode/decode_pid.c
49
1240
/* * %CopyrightBegin% * * Copyright Ericsson AB 1998-2013. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
apache-2.0
yawnosnorous/python-for-android
python3-alpha/ncurses-5.9/form/fld_max.c
51
3702
/**************************************************************************** * Copyright (c) 1998-2004,2010 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy ...
apache-2.0
Yeolar/coral-folly
folly/experimental/io/test/FsUtilTest.cpp
53
2567
/* * Copyright 2015 Facebook, Inc. * * 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...
apache-2.0
loversInJapan/folly
folly/test/SpookyHashV1Test.cpp
54
17654
/* * Copyright 2015 Facebook, Inc. * * 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...
apache-2.0
BUGgs/FreeRDP
winpr/libwinpr/file/test/TestFilePatternMatch.c
60
4423
#include <stdio.h> #include <winpr/crt.h> #include <winpr/file.h> #include <winpr/windows.h> int TestFilePatternMatch(int argc, char* argv[]) { /* '*' expression */ if (!FilePatternMatchA("document.txt", "*")) { printf("FilePatternMatchA error: FileName: %s Pattern: %s\n", "document.txt", "*"); return -1; } ...
apache-2.0
pradeep-gr/mbed-os5-onsemi
targets/TARGET_Maxim/TARGET_MAX32625/mxc/i2cs.c
78
6619
/** * @file i2cs.c * @brief This file contains the function implementations for the I2CS * (Inter-Integrated Circuit Slave) peripheral module. */ /* **************************************************************************** * Copyright (C) 2016 Maxim Integrated Products, Inc., All Rights Reserve...
apache-2.0
ghostkim-sc/SMG920T_profiling_enabled
drivers/usb/serial/ipaq.c
2152
32579
/* * USB Compaq iPAQ driver * * Copyright (C) 2001 - 2002 * Ganesh Varadarajan <ganesh@veritas.com> * * 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,...
apache-2.0
TeamVee-Kanas/android_kernel_samsung_kanas
drivers/ata/pata_octeon_cf.c
1653
28243
/* * Driver for the Octeon bootbus compact flash. * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 2005 - 2012 Cavium Inc. * Copyright (C) 2008 Wind River Systems */ #in...
apache-2.0
catiedev/mbed-os
targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_K82F/drivers/fsl_smc.c
119
12246
/* * Copyright (c) 2015, Freescale Semiconductor, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * o Redistributions of source code must retain the above copyright notice, this list...
apache-2.0
ybellavance/python-for-android
python-modules/twisted/jni/python/_initgroups.c
125
1686
/***************************************************************************** Copyright (c) 2002 Zope Corporation and Contributors. All Rights Reserved. This software is subject to the provisions of the Zope Public License, Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. THIS SOFT...
apache-2.0
weolar/miniblink49
node/openssl/openssl/crypto/lhash/lh_test.c
130
3752
/* crypto/lhash/lh_test.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * * This package is an SSL implementation written * by Eric Young (eay@cryptsoft.com). * The implementation was written so as to conform with Netscapes SSL. * * This library is free for commercial and no...
apache-2.0
andreparrish/python-for-android
python3-alpha/python3-src/Modules/_ctypes/libffi_msvc/types.c
138
3538
/* ----------------------------------------------------------------------- types.c - Copyright (c) 1996, 1998 Red Hat, Inc. Predefined ffi_types needed by libffi. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ``...
apache-2.0
lzo/hadoop
hadoop-hdfs-project/hadoop-hdfs/src/contrib/libwebhdfs/src/hdfs_json_parser.c
144
19813
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
apache-2.0
MRSDTeamI/bud-e
ROS/src/BUD-E/hearbo_2dnav/hearbo_cart_ts/hearbo_cart_joy/build/CMakeFiles/CompilerIdC/CMakeCCompilerId.c
239
5973
#ifdef __cplusplus # error "A C++ compiler has been selected for C." #endif #if defined(__18CXX) # define ID_VOID_MAIN #endif #if defined(__INTEL_COMPILER) || defined(__ICC) # define COMPILER_ID "Intel" #elif defined(__clang__) # define COMPILER_ID "Clang" #elif defined(__BORLANDC__) # define COMPILER_ID "Borland" ...
apache-2.0
Alloyed/Play--CodeGen
tests/Shift64Test.cpp
1
4362
#include "Shift64Test.h" #include "MemStream.h" #define CONSTANT_1 (0x8000FFFF01234567ULL) #define CONSTANT_2 (0x0123456789ABCDEFULL) CShift64Test::CShift64Test(uint32 shiftAmount) : m_shiftAmount(shiftAmount) { } CShift64Test::~CShift64Test() { } void CShift64Test::Run() { memset(&m_context, ...
bsd-2-clause
dplbsd/soc2013
head/sys/boot/i386/libi386/bioscd.c
2
9039
/*- * Copyright (c) 1998 Michael Smith <msmith@freebsd.org> * Copyright (c) 2001 John H. Baldwin <jhb@FreeBSD.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of...
bsd-2-clause
Treeeater/WebPermission
html/InputType.cpp
2
17086
/* * Copyright (C) 1999 Lars Knoll (knoll@kde.org) * (C) 1999 Antti Koivisto (koivisto@kde.org) * (C) 2001 Dirk Mueller (mueller@kde.org) * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. * (C) 2006 Alexey Proskuryakov (ap@nypop.com) * Cop...
bsd-2-clause
dplbsd/soc2013
head/usr.sbin/fdwrite/fdwrite.c
2
4711
/* * ---------------------------------------------------------------------------- * "THE BEER-WARE LICENSE" (Revision 42): * <phk@FreeBSD.org> wrote this file. As long as you retain this notice you * can do whatever you want with this stuff. If we meet some day, and you think * this stuff is worth it, you can buy...
bsd-2-clause
brunolauze/pegasus-providers
tests/UNIXProviders.Tests/UNIX_BGPClusterFixture.cpp
2
2752
//%LICENSE//////////////////////////////////////////////////////////////// // // Licensed to The Open Group (TOG) under one or more contributor license // agreements. Refer to the OpenPegasusNOTICE.txt file distributed with // this work for additional information regarding copyright ownership. // Each contributor lice...
bsd-2-clause
tridge/SiK
Firmware/radio/parameters.c
3
14766
// -*- Mode: C; c-basic-offset: 8; -*- // // Copyright (c) 2011 Michael Smith, All Rights Reserved // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // // o Redistributions of source code must retain the above copy...
bsd-2-clause
BloodyKnight/nginx-openresty-windows
LuaJIT-2.1-20150622/src/lib_base.c
32
16556
/* ** Base and coroutine library. ** Copyright (C) 2005-2015 Mike Pall. See Copyright Notice in luajit.h ** ** Major portions taken verbatim or adapted from the Lua interpreter. ** Copyright (C) 1994-2011 Lua.org, PUC-Rio. See Copyright Notice in lua.h */ #include <stdio.h> #define lib_base_c #define LUA_LIB #includ...
bsd-2-clause
sydtju/nginx-1.0.14_comment
src/event/modules/ngx_win32_select_module.c
57
10590
/* * Copyright (C) Igor Sysoev * Copyright (C) Nginx, Inc. */ #include <ngx_config.h> #include <ngx_core.h> #include <ngx_event.h> static ngx_int_t ngx_select_init(ngx_cycle_t *cycle, ngx_msec_t timer); static void ngx_select_done(ngx_cycle_t *cycle); static ngx_int_t ngx_select_add_event(ngx_event_t *ev, ngx_i...
bsd-2-clause
ssdr/nginx-1.6.0-annotated
src/os/unix/ngx_posix_init.c
69
2412
/* * Copyright (C) Igor Sysoev * Copyright (C) Nginx, Inc. */ #include <ngx_config.h> #include <ngx_core.h> #include <nginx.h> ngx_int_t ngx_ncpu; ngx_int_t ngx_max_sockets; ngx_uint_t ngx_inherited_nonblocking; ngx_uint_t ngx_tcp_nodelay_and_tcp_nopush; struct rlimit rlmt; ngx_os_io_t ngx_os_io = { ...
bsd-2-clause
sdgdsffdsfff/nginx-openresty-windows
nginx/objs/lib/openssl-1.0.2d/ssl/s2_enc.c
183
7055
/* ssl/s2_enc.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * * This package is an SSL implementation written * by Eric Young (eay@cryptsoft.com). * The implementation was written so as to conform with Netscapes SSL. * * This library is free for commercial and non-commerci...
bsd-2-clause
pinghe/nginx-openresty-windows
nginx/objs/lib/openssl-1.0.1p/crypto/pem/pem_x509.c
184
2959
/* pem_x509.c */ /* * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL project * 2001. */ /* ==================================================================== * Copyright (c) 2001 The OpenSSL Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without...
bsd-2-clause
PopCap/GameIdea
Engine/Source/ThirdParty/ICU/icu4c-53_1/source/i18n/ucol_sit.cpp
197
21628
/* ******************************************************************************* * Copyright (C) 2004-2014, International Business Machines * Corporation and others. All Rights Reserved. ******************************************************************************* * file name: ucol_sit.cpp * encoding: U...
bsd-2-clause
maxim2266/OCR
src/ocr_ls.c
1
3370
#include "list_pages.h" #include <limits.h> #include <getopt.h> #include <fcntl.h> #include <sys/uio.h> static const char usage_string[] = "Usage:\t" PROG_NAME " [OPTION]... [DIR]\n" "List image or text files (aka pages) produced by ocr-* tools, from the directory DIR,\n" "ordered by page number.\n\n" "Options:\n...
bsd-3-clause
dava/dava.engine
Programs/ColladaConverter/Collada15/FCollada/FCDocument/FCDAnimationKey.cpp
1
1418
/* Copyright (C) 2005-2007 Feeling Software Inc. Portions of the code are: Copyright (C) 2005-2007 Sony Computer Entertainment America MIT License: http://www.opensource.org/licenses/mit-license.php */ #include "StdAfx.h" #include "FCDocument/FCDAnimationKey.h" // // FCDAnimationMKey // FCDAnima...
bsd-3-clause
sbranden/arm-trusted-firmware
plat/arm/board/common/board_css_common.c
1
2641
/* * Copyright (c) 2015-2016, ARM Limited and Contributors. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, this * l...
bsd-3-clause
cgaebel/mordor
mordor/http/client.cpp
1
51379
// Copyright (c) 2009 - Decho Corporation #include "client.h" #include <algorithm> #include <boost/bind.hpp> #include "chunked.h" #include "mordor/assert.h" #include "mordor/fiber.h" #include "mordor/log.h" #include "mordor/scheduler.h" #include "mordor/streams/limited.h" #include "mordor/streams/notify.h" #include...
bsd-3-clause
adtools/clib2
library/math_kernel_tanf.c
1
4357
/* * $Id: math_kernel_tanf.c,v 1.2 2006-01-08 12:04:23 obarthel Exp $ * * :ts=4 * * Portable ISO 'C' (1994) runtime library for the Amiga computer * Copyright (c) 2002-2015 by Olaf Barthel <obarthel (at) gmx.net> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * m...
bsd-3-clause
wfnex/openbras
src/PPP/CPPPFsm.cpp
1
22750
/*********************************************************************** Copyright (c) 2017, The OpenBRAS project authors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of sou...
bsd-3-clause
MRPT/mrpt
libs/ros1bridge/src/map.cpp
1
6511
/* +------------------------------------------------------------------------+ | Mobile Robot Programming Toolkit (MRPT) | | https://www.mrpt.org/ | | | | Cop...
bsd-3-clause
profdevi/JangData
src/MStringList.cpp
1
7439
/* Copyright (C) 2011-2014, Comine.com ( profdevi@ymail.com ) All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this lis...
bsd-3-clause
hpbader42/Klampt
Interface/RobotPoseGUI.cpp
1
29076
#include "RobotPoseGUI.h" #include <KrisLibrary/GLdraw/drawMesh.h> #include <KrisLibrary/GLdraw/drawgeometry.h> #include <KrisLibrary/geometry/Conversions.h> #include <KrisLibrary/meshing/VolumeGrid.h> #include "Modeling/MultiPath.h" #include <KrisLibrary/robotics/IKFunctions.h> #include "Contact/Utils.h" #include "Pla...
bsd-3-clause
vaplv/sl
src/sl_wstring.c
1
1566
#define SL_STRING_TYPE SL_STRING_WIDE #include "sl_string.c.def" #undef SL_STRING_TYPE #include "sl_wstring.h" #include <stdlib.h> EXPORT_SYM enum sl_error sl_wstring_insert_cstr(struct sl_wstring* str, size_t id, const char* cstr) { enum sl_error sl_err = SL_NO_ERROR; if(!str || !cstr || id > str->len |...
bsd-3-clause
krbeverx/Firmware
src/lib/sensor_calibration/Utilities.cpp
1
5161
/**************************************************************************** * * Copyright (c) 2020 PX4 Development Team. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistri...
bsd-3-clause
jlblancoc/suitesparse-metis-for-windows
SuiteSparse/GraphBLAS/Source/Generated/GB_AxB__plus_plus_uint8.c
1
8219
//------------------------------------------------------------------------------ // GB_AxB: hard-coded C=A*B and C<M>=A*B //------------------------------------------------------------------------------ // SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2018, All Rights Reserved. // http://suitesparse.com See ...
bsd-3-clause
xianyi/OpenBLAS
lapack-netlib/SRC/cspcon.c
1
20496
#include <math.h> #include <stdlib.h> #include <string.h> #include <stdio.h> #include <complex.h> #ifdef complex #undef complex #endif #ifdef I #undef I #endif #if defined(_WIN64) typedef long long BLASLONG; typedef unsigned long long BLASULONG; #else typedef long BLASLONG; typedef unsigned long BLASULONG; #endif #if...
bsd-3-clause
maxhutch/magma
src/zgehrd_m.cpp
1
10897
/* -- MAGMA (version 2.1.0) -- Univ. of Tennessee, Knoxville Univ. of California, Berkeley Univ. of Colorado, Denver @date August 2016 @precisions normal z -> s d c @author Mark Gates */ #include "magma_internal.h" /********************************************************...
bsd-3-clause
guiquanz/lockfree
ptst.c
1
3346
/****************************************************************************** * ptst.c * * Per-thread state management. Essentially the state management parts * of MB's garbage-collection code have been pulled out and placed here, * for the use of other utility routines. * * Copyright (c) 2002-2003, K A Fras...
bsd-3-clause
GaloisInc/hacrypto
src/C/libssl/HEAD/src/crypto/ec/ec_pmeth.c
1
8188
/* $OpenBSD: ec_pmeth.c,v 1.5 2014/06/12 15:49:29 deraadt Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 2006. */ /* ==================================================================== * Copyright (c) 2006 The OpenSSL Project. All rights reserved. * * Redistribution and ...
bsd-3-clause
snowyu/libtorrent
src/string_util.cpp
1
7262
/* Copyright (c) 2012-2014, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
bsd-3-clause
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE190_Integer_Overflow/s07/CWE190_Integer_Overflow__unsigned_int_fscanf_preinc_02.c
1
4750
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE190_Integer_Overflow__unsigned_int_fscanf_preinc_02.c Label Definition File: CWE190_Integer_Overflow.label.xml Template File: sources-sinks-02.tmpl.c */ /* * @description * CWE: 190 Integer Overflow * BadSource: fscanf Read data from the console using fscanf()...
bsd-3-clause
huard/scipy-work
scipy/sparse/linalg/dsolve/SuperLU/SRC/dgssv.c
2
8499
/* * -- SuperLU routine (version 3.0) -- * Univ. of California Berkeley, Xerox Palo Alto Research Center, * and Lawrence Berkeley National Lab. * October 15, 2003 * */ #include "dsp_defs.h" void dgssv(superlu_options_t *options, SuperMatrix *A, int *perm_c, int *perm_r, SuperMatrix *L, SuperMatrix *U, Su...
bsd-3-clause
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE319_Cleartext_Tx_Sensitive_Info/CWE319_Cleartext_Tx_Sensitive_Info__w32_wchar_t_connect_socket_02.c
2
19516
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE319_Cleartext_Tx_Sensitive_Info__w32_wchar_t_connect_socket_02.c Label Definition File: CWE319_Cleartext_Tx_Sensitive_Info__w32.label.xml Template File: sources-sinks-02.tmpl.c */ /* * @description * CWE: 319 Cleartext Transmission of Sensitive Information * B...
bsd-3-clause
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE415_Double_Free/s02/CWE415_Double_Free__new_delete_array_wchar_t_84_bad.cpp
2
1334
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE415_Double_Free__new_delete_array_wchar_t_84_bad.cpp Label Definition File: CWE415_Double_Free__new_delete_array.label.xml Template File: sources-sinks-84_bad.tmpl.cpp */ /* * @description * CWE: 415 Double Free * BadSource: Allocate data using new and Deallo...
bsd-3-clause
chock-mostlyharmless/mostlyharmless
spirits_of_the_sea/i4k_OGL/src/_windows/main_rel.cpp
2
2131
//--------------------------------------------------------------------------// // iq / rgba . tiny codes . 2008 // //--------------------------------------------------------------------------// #define WIN32_LEAN_AND_MEAN #define WIN32_EXTRA_LEAN #include <windows.h> #...
bsd-3-clause