blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 333 | content_id stringlengths 40 40 | detected_licenses sequencelengths 0 58 | license_type stringclasses 2
values | repo_name stringlengths 5 113 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 604
values | visit_date timestamp[us]date 2016-08-02 21:20:34 2023-09-06 10:17:08 | revision_date timestamp[us]date 1970-01-01 00:00:00 2023-09-05 20:12:54 | committer_date timestamp[us]date 1970-01-01 00:00:00 2023-09-05 20:12:54 | github_id int64 966 664M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us]date 2012-06-18 16:43:44 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-02-03 21:17:16 2023-07-07 15:57:14 ⌀ | gha_language stringclasses 121
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 128 17.8k | extension stringclasses 134
values | content stringlengths 128 8.19k | authors sequencelengths 1 1 | author_id stringlengths 1 143 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
32004cd6aee41c08905cd5b705ab6f8ff0bb6507 | cdf75036c20eed12b54f9110c95588652899fa4c | /Others/atoi_2.c | 1845ab7cbe713cde67484b57a0fe4dd8bbf74bd5 | [] | no_license | M1c17/C_Programming_Language | 6ca585297ab6014a8a5a86ec1e4be8fb58f01e39 | 15c3074a7876dea9615a3d4a5dd0bb8120abf180 | refs/heads/main | 2023-03-06T05:41:51.665000 | 2021-02-07T04:41:49 | 2021-02-07T04:41:49 | 323,505,241 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 862 | c | #include <stdio.h>
#include <ctype.h>
#include <string.h>
/* atoi: convert s to integer; version 2 */
int atoi(char line[]);
int main(){
int val;
char str[10];
strcpy(str, "-93284927");
val = atoi(str);
printf("String value = %s, Int value = %d\n", str, val);
strcpy(str, "hello");
val =... | [
"pictor117@gmail.com"
] | pictor117@gmail.com |
0ddad1251dcd4016b4c526efeafe716af3f5026e | ef9a2839953f3586e66c1cf824c9de199f52d088 | /mcc_generated_files/X2CCode/Library/Math/Controller/inc/Sqrt_FiP16.h | b83fa9c934f92a6452ef0773f0ae3be8fd299024 | [] | no_license | MCHP-X2Cdemos/mc_foc_sl_fip_dsPIC33ck_mclv2.x | 72f1e06eb18738796d59938474c6d533bd07bb1e | d77e18983439d895b83b6d63fdaad4c8fdb028e7 | refs/heads/master | 2023-03-20T10:54:54.157000 | 2021-03-11T22:01:12 | 2021-03-11T22:01:12 | 288,478,027 | 2 | 0 | null | null | null | null | UTF-8 | C | false | false | 3,510 | h | /*
* Copyright (c) 2013, Linz Center of Mechatronics GmbH (LCM) http://www.lcm.at/
* All rights reserved.
*/
/*
* This file is licensed according to the BSD 3-clause license as follows:
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the followi... | [
"christoph.baumgartner@microchipcom"
] | christoph.baumgartner@microchipcom |
ae6588ae9020907de235f7dc4c83350dbf925003 | 60cddbbb30ef7614070f6e1691ab9a3f0ce407e4 | /robo2-xsdk/libs/phymod/chip/falcon16/falcon16_diagnostics_dispatch.c | 12ba0238027635ff729ee0e14f43ab82c3db76e5 | [] | no_license | David-Croose/Broadcom-Compute-Connectivity-Software-robo2-xsdk | f2a1fe9a704e1a1873eac2fba02125ba7cb1570f | 25b15c851d6e8a5a70715603e4f8d8a9af8f66fe | refs/heads/master | 2022-11-27T00:00:23.553000 | 2020-08-03T07:36:34 | 2020-08-03T07:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,555 | c | /*
*
* $Id: phymod.xml,v 1.1.2.5 Broadcom SDK $
*
*
* This license is set out in https://github.com/Broadcom/Broadcom-Compute-Connectivity-Software-robo2-xsdk/master/Legal/LICENSE file.
*
* $Copyright: (c) 2020 Broadcom Inc.
* Broadcom Proprietary and Confidential. All rights reserved.$
*
... | [
"murali.policharla@broadcom.com"
] | murali.policharla@broadcom.com |
26393171c0093670884c0ea4829ff4beaea2848e | fda015cc078e877754e4cd5a48e970f0a1159ada | /src/sources/shared/system_support/os_specifics.h | aee560f47e775860f7a101ac20eaaa04456aeddf | [] | no_license | cran/liquidSVM | 886e0487104a434d3854120a774ebe120e1ddeae | 35b8af219f5d52df5513789793c1e5cf07d310b8 | refs/heads/master | 2020-04-06T04:12:26.063000 | 2019-09-14T17:20:02 | 2019-09-14T17:20:02 | 83,014,436 | 2 | 0 | null | null | null | null | UTF-8 | C | false | false | 4,395 | h | // Copyright 2015, 2016, 2017 Ingo Steinwart
//
// This file is part of liquidSVM.
//
// liquidSVM is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your opt... | [
"csardi.gabor+cran@gmail.com"
] | csardi.gabor+cran@gmail.com |
e68b09ef487cfbc95b0472becf08661d8f918a67 | 93f2b5dc75142b5d6f5cb31e1e02f1c5aac130a0 | /srcs_lem/get_next_line1.c | 9a771719bb18a1137c4edc964beaab2d64290170 | [] | no_license | Enshertid/lem-in_school21 | d869541fb45c6c6f9d8f96bb047d489aed895b26 | 3b326ec0c41cefe4af28eb46d76817ad89612a33 | refs/heads/master | 2022-05-07T23:49:00.736000 | 2020-03-15T16:34:49 | 2020-03-15T16:34:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 3,150 | c | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* get_next_line1.c :+: :+: :+: ... | [
"enshertid@icloud.com"
] | enshertid@icloud.com |
435d938de995c245d164b32e935ec8b55a8bc340 | bb762a49e4f5324de253d6287438899a4c645632 | /Lista9/Questao1/tadArvoreBB3.c | 9f8071a9ac77eb7d89a79a9acd91267be9385138 | [] | no_license | RaquelBelmiro/estruturas-de-dados-c | 7de2defe4ffaf1849eb5408c533658c0637a1366 | f38f6e6758a897a24e8091e773b6651f02e09a45 | refs/heads/master | 2023-08-01T07:46:45.736000 | 2021-09-21T21:42:25 | 2021-09-21T21:42:25 | 408,981,056 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 3,945 | c | #include<stdio.h>
#include<stdlib.h>
struct reg_no_arvore
{
struct reg_no_arvore *ptrEsquerda;
int chave;
struct reg_no_arvore *ptrDireita;
};
typedef struct reg_no_arvore **tipo_no_arvore;
tipo_no_arvore inicializar_arvore(tipo_no_arvore sub_raiz)
{
sub_raiz = (struct reg_no_arvore**)malloc(sizeof(s... | [
"raquelsilvabelmiro@gmail.com"
] | raquelsilvabelmiro@gmail.com |
85535a4d92f8f2666b9a5170975b7e8728e2f10d | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/246/087/CWE78_OS_Command_Injection__char_listen_socket_w32_execv_13.c | 820a233fd4b7e26bdeed91be32983bf04da283ab | [] | no_license | CU-0xff/juliet-cpp | d62b8485104d8a9160f29213368324c946f38274 | d8586a217bc94cbcfeeec5d39b12d02e9c6045a2 | refs/heads/master | 2021-03-07T15:44:19.446000 | 2020-03-10T12:45:40 | 2020-03-10T12:45:40 | 246,275,244 | 0 | 1 | null | null | null | null | UTF-8 | C | false | false | 6,999 | c | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE78_OS_Command_Injection__char_listen_socket_w32_execv_13.c
Label Definition File: CWE78_OS_Command_Injection.strings.label.xml
Template File: sources-sink-13.tmpl.c
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: listen_socket Read data using a listen... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
140d8434c9645707bed4716235e4ff9dc4315eca | c9eccf85f19371a3843911c1480e761de4773722 | /src/lvgl/src/lv_misc/lv_bidi.h | f3f758b43ab14b9f6180db943b44a41d1f39df7d | [
"MIT"
] | permissive | mibus/TTGO_TWatch_Library | 7d3c04ca2358b181264ea744a1bcd8338f508d91 | bd77e6edba3baf9c5c68de4683a01b81f6b3a8b3 | refs/heads/master | 2022-11-25T03:04:40.292000 | 2020-07-25T03:15:55 | 2020-07-25T03:15:55 | 275,497,118 | 0 | 0 | MIT | 2020-06-28T03:13:55 | 2020-06-28T03:13:54 | null | UTF-8 | C | false | false | 4,064 | h | /**
* @file lv_bifi.h
*
*/
#ifndef LV_BIDI_H
#define LV_BIDI_H
#ifdef __cplusplus
extern "C" {
#endif
/*********************
* INCLUDES
*********************/
#include "../lv_conf_internal.h"
#include <stdbool.h>
#include <stdint.h>
/*********************
* DEFINES
**********... | [
"lewisxhe@outlook.com"
] | lewisxhe@outlook.com |
4e6ed1901fc0f9319647713b68b5b6b327930a06 | 3f309b1dd9774ca1eef2c7bb7626447e6c3dbe70 | /apps/evsys/evsys_trigger/firmware/src/config/sam_l10_xpro/peripheral/clock/plib_clock.c | e3a6e5298e13415f391dd1c25b0e3d7d7fe6eb46 | [
"LicenseRef-scancode-unknown-license-reference",
"ISC",
"LicenseRef-scancode-public-domain"
] | permissive | Unitek-KL/csp | 30892ddf1375f5191173cafdfba5f098245a0ff7 | 2ac7ba59465f23959e51d2f16a5712b57b79ef5f | refs/heads/master | 2020-12-10T13:42:26.878000 | 2019-10-14T17:55:22 | 2019-10-14T17:56:20 | 233,609,402 | 0 | 0 | NOASSERTION | 2020-01-13T14:04:51 | 2020-01-13T14:04:51 | null | UTF-8 | C | false | false | 4,781 | c | /*******************************************************************************
CLOCK PLIB
Company:
Microchip Technology Inc.
File Name:
plib_clock.c
Summary:
CLOCK PLIB Implementation File.
Description:
None
*******************************************************************************/... | [
"http://support.microchip.com"
] | http://support.microchip.com |
f8a07ef6a3923daba641e7ac3c0fd7ad2ecbfc87 | 1fabbdfd1ca9ea1b6808893e12bd907eb74de414 | /xcode/Classes/Native/AssemblyU2DCSharp_SPacket_SocketInstance_GC_SYNC_REACHEDSCENMethodDeclarations.h | cc71e70250fd75fada95620a65e6af4003c60645 | [] | no_license | Klanly/TutorialPackageClient | 6f889e96c40ab13c97d107708ae8f3c71a484301 | b9d61ba2f287c491c9565b432f852980ec3fee28 | refs/heads/master | 2020-12-03T01:42:35.256000 | 2016-11-01T02:40:21 | 2016-11-01T02:40:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 743 | h | #pragma once
#include <stdint.h>
#include <assert.h>
#include <exception>
#include "codegen/il2cpp-codegen.h"
// SPacket.SocketInstance.GC_SYNC_REACHEDSCENEHandler
struct GC_SYNC_REACHEDSCENEHandler_t2847;
// PacketDistributed
struct PacketDistributed_t2209;
// System.Void SPacket.SocketInstance.GC_SYNC_REACHEDSCENE... | [
"bu213200@gmail.com"
] | bu213200@gmail.com |
8b39fe097d9a0ad75f4e8e176acbcd3e9e6ce47c | 5c255f911786e984286b1f7a4e6091a68419d049 | /code/24fbc88b-b066-449c-ae5b-a5acd378d8ab.c | 6c6cfa7dc48bd7868bbeecf6b19c39cd6bf27ae4 | [] | no_license | nmharmon8/Deep-Buffer-Overflow-Detection | 70fe02c8dc75d12e91f5bc4468cf260e490af1a4 | e0c86210c86afb07c8d4abcc957c7f1b252b4eb2 | refs/heads/master | 2021-09-11T19:09:59.944000 | 2018-04-06T16:26:34 | 2018-04-06T16:26:34 | 125,521,331 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 217 | c | #include <stdio.h>
int main() {
int i=0;
int j=14;
int k;
int l;
k = 53;
l = 64;
k = i/j;
l = i/j;
l = l/j;
l = k-j*i;
printf("vulnerability");
printf("%d%d\n",l,l);
return 0;
}
| [
"nharmon8@gmail.com"
] | nharmon8@gmail.com |
6e142e946a8eea810bceb15f7ada544ab9931cb0 | 6ef6213d2fa39d1d0ab7e2373d882b9d263e8c6d | /ti_components/algorithms/vlib_c66x_3_3_2_0/packages/ti/vlib/src/VLIB_ORB_computeOrientation/VLIB_ORB_computeOrientation_cn.h | b894dbc58a0b2a4caf5af6d8c2a4c550a38628ff | [] | no_license | Zhangh2018/PROCESSOR_SDK_VISION_03_06_00_00 | 9c380d3167b156a11a8f21814e94ac5550cddc87 | 05c72de5d031006c7565d4234abd53670a926acd | refs/heads/master | 2021-10-16T13:43:05.313000 | 2019-02-11T09:10:44 | 2019-02-11T09:10:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 3,069 | h | /*******************************************************************************
**+--------------------------------------------------------------------------+**
**| **** |**
**| **** ... | [
"yukichen@otobrite.com"
] | yukichen@otobrite.com |
d982dd43d5b4af36c08a4f37e4b1553183be2623 | 65969eb320c536e360abed38cfb15c34d4b2e586 | /lee.c | 80cd25a6825242bcf6ff21022062ad706cc3e1f3 | [
"MIT"
] | permissive | essele/roLua | 39a593d19a4f520bac72dfbde18821ef095e2c5b | b492912789cac58f4a25e053773e7fc24cb26c21 | refs/heads/main | 2023-03-20T09:44:06.246000 | 2021-03-10T17:47:55 | 2021-03-10T17:47:55 | 343,067,872 | 1 | 0 | null | null | null | null | UTF-8 | C | false | false | 2,999 | c | #include <lua.h>
#include <lualib.h>
#include <lauxlib.h>
#include <lapi.h>
#include <lstate.h>
#include <lobject.h>
#include <lgc.h>
#include <stdlib.h>
#include <string.h>
#include <malloc/malloc.h>
#include <lstring.h>
static void *lee_alloc (void *ud, void *ptr, size_t osize, size_t nsize) {
static size_... | [
"lee.essen@nowonline.co.uk"
] | lee.essen@nowonline.co.uk |
37c89afb473fb1f0e71c3f743b0cc646712c4985 | 5c255f911786e984286b1f7a4e6091a68419d049 | /vulnerable_code/0f76e37c-5ba9-431e-acb0-97747e28c6bb.c | d70ff0058833ce6c0df966372d79fbd154c48354 | [] | no_license | nmharmon8/Deep-Buffer-Overflow-Detection | 70fe02c8dc75d12e91f5bc4468cf260e490af1a4 | e0c86210c86afb07c8d4abcc957c7f1b252b4eb2 | refs/heads/master | 2021-09-11T19:09:59.944000 | 2018-04-06T16:26:34 | 2018-04-06T16:26:34 | 125,521,331 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 558 | c | #include <string.h>
#include <stdio.h>
int main() {
int i=4;
int j=13;
int k;
int l;
k = 53;
l = 64;
k = i/j;
l = i/j;
l = j/j;
l = l/j;
l = l%j;
l = l-j;
k = k-k*i;
//variables
/* START VULNERABILITY */
int a;
int b[28];
int c[67];
a = 0;
while (... | [
"nharmon8@gmail.com"
] | nharmon8@gmail.com |
c6c3bdfecdb996c5a631181b252045ec0128fe41 | d317c415b8eda9b2f3d2723e52a669daabc4bb7c | /test/bi_test1.c | 9b80d601d8f5a5fadb4187d23c6c5b366869c4d4 | [] | no_license | liuguangxi/pe | 73fcf8c3ed0d0af2bc6a2555ed7a7561d91565d6 | 0a1ff3535dbef5856fda3f916011eb3c720c9b2a | refs/heads/master | 2022-12-17T07:49:49.424000 | 2020-09-23T18:23:22 | 2020-09-23T18:23:22 | 298,725,253 | 1 | 0 | null | 2020-09-26T02:55:36 | 2020-09-26T02:55:35 | null | UTF-8 | C | false | false | 4,305 | c | #include "pe_test.h"
namespace bi_test {
SL void bi_test_small() {
for (int i = -100; i <= 100; ++i)
for (int j = -100; j <= 100; ++j) {
bi a(i), b(j);
assert(i + j == a + b);
assert(i - j == a - b);
assert(i * j == a * b);
if (j != 0) {
assert(i / j == a / b);
... | [
"bailiangsky@gmail.com"
] | bailiangsky@gmail.com |
d72ff3d4ec3ada9988c95d4136098e7c4acf8f6a | 3d18a6d10c097db154f96107079e025170442541 | /FinalProject/Sources/led_thread.c | a7b4ec20bc74f7eea8f9dc84a9734599a6c33641 | [] | no_license | Snazzythat/ecse69_final_project | cc0a7cb9e23fb28c7c837048382b3a597e931815 | 807a0c53c570a916ca75215b5f166f9009b7c596 | refs/heads/master | 2020-06-19T17:17:46.620000 | 2016-12-01T04:47:32 | 2016-12-01T04:47:32 | 74,845,506 | 0 | 1 | null | null | null | null | UTF-8 | C | false | false | 1,113 | c | ////////////////////////////////////////////////////////////////////////////////
// File Name : led_thread.c
// Description : program entry
// Author : Team 12
// Date : Nov 1st, 2016
////////////////////////////////////////////////////////////////////////////////
// Includes
#include "main.h"
... | [
"yinghan307@gmail.com"
] | yinghan307@gmail.com |
5615d1cc69744580b5bcb0019a2a5f34931c71ba | 17c87e23e01e074c684619ff0e56706b407f0b23 | /omi-1.0.8/pal/sem.h | 37bac3318770a130e9e15e9e1786f23beaf6769d | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | HuaweiSwitch/OMI | 8856be28d0dbe22650dc70635e2749a908802c7d | bca42b3388f0e97d21fd1e872a949fa4032adbff | refs/heads/master | 2021-01-10T17:51:50.818000 | 2016-03-31T09:15:47 | 2016-03-31T09:16:07 | 55,116,218 | 2 | 1 | null | null | null | null | UTF-8 | C | false | false | 4,975 | h | /*
**==============================================================================
**
** Open Management Infrastructure (OMI)
**
** Copyright (c) Microsoft Corporation
**
** Licensed under the Apache License, Version 2.0 (the "License"); you may not
** use this file except in compliance with the License. You may obt... | [
"mao58398297"
] | mao58398297 |
9f2645903d93c6b9e39fbc1e9b4094496f66a432 | acd52f69773265a8e46f1c07f5868cdb29b49fdd | /C/15-04/10.h | ab55daa8624b6038666f300686e00f2f0bbab40d | [
"Unlicense"
] | permissive | Numb4r/LPCI | 0ebac7d2586c6e55f267aafc9da1b8499285a862 | 2959863bba81ae67b90c1067f73d039f5fc89e68 | refs/heads/master | 2020-04-27T18:00:45.747000 | 2019-08-24T02:53:50 | 2019-08-24T02:53:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 140 | h | int perimetro_retangulo(int lado1,int lado2){
return(2*lado1+2*lado2);
}
int area_retangulo(int lado1,int lado2){
return lado1*lado2;
}
| [
"yuri.d.d.faria@gmail.com"
] | yuri.d.d.faria@gmail.com |
db61a73a94750946a32fa8812887d06c1a30a7e4 | 75859787b3eb1fc054b5df82c26bc261421d47e0 | /3rdparty/genFiles/RSRP-RangeSL-r12.c | 1037dd467dcedec3ad2ad30aa7e7b0c275e4af33 | [] | no_license | aa7133/RRC | e118b3d769abff4b0b42d7511530f7b1cc29d09e | 955c1ceadebf97d21306f3c083b5f38a24838da4 | refs/heads/master | 2020-12-10T10:45:56.892000 | 2020-01-26T13:02:20 | 2020-01-26T13:02:20 | 233,563,734 | 0 | 1 | null | null | null | null | UTF-8 | C | false | false | 1,767 | c | /*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "EUTRA-RRC-Definitions"
* found in "../asnFiles/36331-f60-ASNfunctions.asn"
* `asn1c -fcompound-names -findirect-choice -fincludes-quoted -fno-include-deps -gen-PER -no-gen-OER -D.`
*/
#include "RSRP-RangeSL-r12.h"
int
RSRP_RangeSL_r... | [
"aa7133@att.com"
] | aa7133@att.com |
3794c2c92e553b27a530f0276dbe213eb9ec7733 | 0fedaa9e1fd650888f12dd49ef34ead7785ea643 | /SRC/applications/BSP_Init.c | 8bf3b4e126ea2b81761313a7f54d184b409fa5af | [] | no_license | leomoons/FC_ANO | e6f0ce30289981f7af30ed101d79159bbba7d1de | 5207dd2d8eaabe96b9a4cb1be7944ed2a5fdf8cc | refs/heads/main | 2023-04-01T04:13:02.185000 | 2021-04-07T06:02:50 | 2021-04-07T06:02:50 | 324,680,992 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 3,252 | c | /******************** (C) COPYRIGHT 2017 ANO Tech ********************************
* 作者 :匿名科创
* 官网 :www.anotc.com
* 淘宝 :anotc.taobao.com
* 技术Q群 :190169595
* 描述 :飞控初始化
**********************************************************************************/
#include "include.h"
#include "Drv... | [
"liyuanhao@zju.edu.cn"
] | liyuanhao@zju.edu.cn |
d305f8e3495d17acdb8e910a22552b1d76159128 | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE590_Free_Memory_Not_on_Heap/s04/CWE590_Free_Memory_Not_on_Heap__free_char_static_68b.c | f9b7cb5453042e0b67db1519f0341e5cae74e82a | [] | no_license | junxzm1990/ASAN-- | 0056a341b8537142e10373c8417f27d7825ad89b | ca96e46422407a55bed4aa551a6ad28ec1eeef4e | refs/heads/master | 2022-08-02T15:38:56.286000 | 2022-06-16T22:19:54 | 2022-06-16T22:19:54 | 408,238,453 | 74 | 13 | null | 2022-06-16T22:19:55 | 2021-09-19T21:14:59 | null | UTF-8 | C | false | false | 1,575 | c | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE590_Free_Memory_Not_on_Heap__free_char_static_68b.c
Label Definition File: CWE590_Free_Memory_Not_on_Heap__free.label.xml
Template File: sources-sink-68b.tmpl.c
*/
/*
* @description
* CWE: 590 Free Memory Not on Heap
* BadSource: static Data buffer is declared... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
cb5d342c2720de427b01970d97981f1231b257a8 | f27e3cb90a6bb97c48b92b626fcc2825871d91a7 | /0000_base_learn/linux-sys.zh.pdf_learn/process/013_init_daemon/test.c | fe90b4dacf113cdd3e4f2b17e291a59585db4280 | [] | no_license | flxshujie799056897/jiuyinzhenjing | 0ecf161f9a7f6df86c78a69a60f5c9b8f5134798 | caedf00ba6c80cb38996da2bae72d60597e0c202 | refs/heads/master | 2022-01-12T06:50:27.759000 | 2019-05-27T13:55:10 | 2019-05-27T13:55:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,209 | c | #include<stdio.h>
#include<stdlib.h>
#include<pthread.h>
int init_daemon(void){
pid_t pid;
umask(0);//4 /* clear file mode creation mask */
/* parent exits , child continues */
if((pid = fork()) < 0){//1
printf("error fork()");
return -1;
}
else if(pid != 0){
printf("error != 0");//正确的分支
exit(0);
}
sets... | [
"847479962@qq.com"
] | 847479962@qq.com |
326c8aca73d729ed1466243b8b049e01d6d375c6 | 5bc04daeef5284871264a7446aadf7552ec0d195 | /lib/percy/cryptominisat/src/sql_tablestructure.h | 43bee8b2e5e0a707451d4e35dae57ac2c593563b | [
"MIT",
"GPL-1.0-or-later",
"GPL-2.0-only"
] | permissive | Ace-Ma/LSOracle | a8fd7efe8927f8154ea37407bac727e409098ed5 | 6e940906303ef6c2c6b96352f44206567fdd50d3 | refs/heads/master | 2020-07-23T15:36:18.224000 | 2019-08-16T15:58:33 | 2019-08-16T15:58:33 | 207,612,130 | 0 | 0 | MIT | 2019-09-10T16:42:43 | 2019-09-10T16:42:43 | null | UTF-8 | C | false | false | 1,436 | h | /*************************************************************
MiniSat --- Copyright (c) 2003-2006, Niklas Een, Niklas Sorensson
CryptoMiniSat --- Copyright (c) 2014, Mate Soos
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "S... | [
"u1219556@lnissrv4.eng.utah.edu"
] | u1219556@lnissrv4.eng.utah.edu |
de4c9d43cf9459e3ef357bb267e96e8ab8c74b44 | b945b2fac11f237a49de33af1b8fa02ba3ed1814 | /bspmath/include/prototypes/bsfilendpar.h | af9ba4c157d97d4973faadd972018bf62ae46187 | [] | no_license | ahundiak/isdp | b94f56f7a7b02b806209ff06da8e22497f6e1386 | 07572eb18f07cbf762505ef34e471fa47c102df4 | refs/heads/master | 2021-03-12T20:02:34.067000 | 2011-12-16T20:03:20 | 2011-12-16T20:03:20 | 37,136,442 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 148 | h | /* /usr3/bs/src.em/bsfilendpar.c */
extern void BSfilendpar(IGRint, IGRdouble, IGRdouble, IGRdouble, IGRint, IGRint, BSpair *, IGRint [2], BSrc *);
| [
"ahundiak@e9faf64c-7e38-11de-a453-d5a50d962d30"
] | ahundiak@e9faf64c-7e38-11de-a453-d5a50d962d30 |
65f77212d5e067076dfaccd169a3fafdd1fc7751 | b2a07c363daa20974a7822cf04ed8aa2499cf5f7 | /I2S—录音与回放/User/i2c/i2c.c | 36e64b6a5b861c26efb27782fae85890bb45e754 | [] | no_license | capsper1/ebf_stm32h743_tiaozhanzhe_code | 5e77be0bb726936a3b71a740177cd91735d5bfa8 | a1d644ff1be4601571fb60f4fb33480c59013ff4 | refs/heads/master | 2022-09-27T01:35:49.281000 | 2020-06-06T03:53:51 | 2020-06-06T03:53:51 | null | 0 | 0 | null | null | null | null | GB18030 | C | false | false | 5,144 | c | /**
******************************************************************************
* @file i2c.c
* @author fire
* @version V1.0
* @date 2015-xx-xx
* @brief i2c 总线驱动,方便与各种I2C传感器通讯。
******************************************************************************
* @attention
*
* 实验平台:... | [
"18575131670@163.com"
] | 18575131670@163.com |
422ad3573de9a5cfe1d70016e2b6da72fc0382d3 | e37c46a141827d831c6868b9677bba95de1e34bb | /bareMetal/dijk15x15/dijkstra_155.c | 75d1d99d3e7a2de37b4f68662e23f490d1957f70 | [] | no_license | guimadalozzo/OVP-MPSoC-NoC | 0eb24342c18b6513ac920c8c44deb15d6be11443 | 8842cf92068ef64165efe1061e263a6c2e846f52 | refs/heads/master | 2020-04-01T18:48:49.032000 | 2018-10-31T19:41:03 | 2018-10-31T19:41:03 | 153,516,330 | 0 | 2 | null | 2018-12-05T19:04:22 | 2018-10-17T20:02:29 | C | UTF-8 | C | false | false | 3,979 | c | #include <stdlib.h>
#include <stdio.h>
#include "MPIe.h"
#include "tasks_comm.h"
#define NONE 9999 //Maximum
#define MAXPROCESSORS 64 //The amount of processor
#define NUM_NODES 16 //16 for small input; 160 for large input; 30 for medium input;
int rank = 155;
struct _N... | [
"guimadalozzo@gmail.com"
] | guimadalozzo@gmail.com |
1edfe833fd0bfe1b868357e8047416fde0d34d03 | 02e2f32edb8df4013061776c12c50292e85e8a6e | /src/nucleus/ft_cut_copy.c | 386fcdde3a453c2771f7d552f6553dba1468a029 | [] | no_license | pankratdodo/21sh | 1de930ab2257999b214784ec3832c1c87d7df8bd | a61d1910b36f8589d06f73390b1abf844a6e4a79 | refs/heads/master | 2022-11-09T13:41:58.292000 | 2020-06-23T13:11:28 | 2020-06-23T13:11:28 | 224,352,247 | 2 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,510 | c | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_cut_copy.c :+: :+: :+: ... | [
"plettie@mi-q5.21-school.ru"
] | plettie@mi-q5.21-school.ru |
db78316e94c58b7370f94241359ef1b2feb55a55 | 63b4a698bc22fd54857c8fa097b1331f79c39e5a | /src/uclibc/uClibc-0.9.33.2/test/stat/stat.c | 4980cdd78b33640d2c2c7de15afd9cea13884d15 | [
"LGPL-2.1-only",
"LGPL-2.1-or-later",
"LicenseRef-scancode-other-permissive",
"Apache-2.0"
] | permissive | MinimSecure/unum-sdk | 67e04e2b230f9afb3ae328501a16afa4b94cdac6 | 30c63f0eccddba39a760671a831be3602842f3f4 | refs/heads/master | 2023-07-13T07:33:43.078000 | 2023-07-07T13:52:05 | 2023-07-07T13:52:05 | 143,209,329 | 33 | 22 | Apache-2.0 | 2021-03-05T22:56:59 | 2018-08-01T21:13:43 | C | UTF-8 | C | false | false | 1,786 | c | #include <stdio.h>
#include <string.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <unistd.h>
#include <stdlib.h>
static void print_struct_stat(char *msg, struct stat *s)
{
printf("%s\n", msg);
/* The casts are because glibc thinks it's cool */
printf("device : 0x%llx\n",(long long)s->st_dev);
... | [
"denis.bakin@minim.co"
] | denis.bakin@minim.co |
20166b6e322f465b3473471ceaf9d9ad165b3f66 | e25c8b65c0115053b14f8ecffaea94a964eefa1f | /ds/u/k/kakasi/eq/mask.c | b31cbc94b270aa530a16608def683a412d7fb2fb | [] | no_license | zwshen/mudos-game-ds | c985b4b64c586bdc7347bd95d97ab12e78a2f20f | 07ea84ebdff5ee49cb482a520bdf1aaeda886cd0 | refs/heads/master | 2022-03-01T14:55:10.537000 | 2022-02-15T15:41:26 | 2022-02-15T15:41:26 | 244,925,365 | 4 | 1 | null | 2022-02-15T15:41:27 | 2020-03-04T14:44:49 | C | BIG5 | C | false | false | 635 | c | #include <ansi.h>
#include <armor.h>
inherit MASK;
void create()
{
set_name(RED"寫輪"HIW"ソ"HIY"眼"NOR,({"sha-lon mask","mask",}) );
set("long",@LONG
旗木卡卡西的貼身護具之一。
LONG
);
set_weight(291);
if( clonep() )
set_default_object(__FILE__);
else {
set("limit... | [
"zwshen0603@gmail.com"
] | zwshen0603@gmail.com |
0dfd3320294559b4017e9812d1845e4c07f01377 | 53cec7c4ca4bef433c649c46d7cf208db4fb55e4 | /u/stey/u/ziye/weapon_new/standard/body.c | 32ebf9f953c578d5039879cae367cf868853fe38 | [] | no_license | androids7/sjsh | c57b2f0f94932e228641a166efda8b7e19eefcc1 | 1c0391f6b8236f2c6e0c62a2bf904f47e3d5ca26 | refs/heads/master | 2021-01-09T15:35:19.076000 | 2016-02-21T11:27:48 | 2016-02-21T11:27:48 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C | false | false | 554 | c | // tiejia.c
#include <armor.h>
inherit ARMOR;
void create()
{
set_name("Ìú¼×", ({"tie jia","tiejia","jia","armor","body",}));
set_weight(40000);
if( clonep() )
set_default_object(__FILE__);
else {
set("unit", "¼þ");
set("long", "Ò»¼þ³Áµ... | [
"liming.xie@gmail.com"
] | liming.xie@gmail.com |
0773347eee3c6872054e2a22a3d09b2a0bc0d8f9 | 0be7bb63022754d44b5d272309109f63d7862727 | /m/rls/rlb/ricas.c | 1b37ad47b88478ce898094ad1cfbc6a5408bccfd | [] | no_license | rust11/rust | dbb3f68d2b8eea6a5de064f644e203fa2cacd8b2 | 8d347f1415da38b679cbafe2eb0ae0332c0ff0ee | refs/heads/master | 2023-03-10T06:35:41.453000 | 2023-03-08T18:26:00 | 2023-03-08T18:26:00 | 32,439,492 | 13 | 2 | null | 2022-08-12T04:10:56 | 2015-03-18T05:18:25 | R | UTF-8 | C | false | false | 1,777 | c | /* file - ricas - case statements */
#include "m:\rid\ridef.h"
#include "m:\rid\ridat.h"
#include "m:\rid\chdef.h"
#include "m:\rid\imdef.h"
#include "m:\rid\eddef.h"
#include "m:\rid\stdef.h"
#define riKcas 32
int riVcas = 0;
int riAcas [riKcas]= {0};
/* code - ri_orf - or/of preprocessor */
void ri_orf(
int brk )
... | [
"rust11@users.noreply.github.com"
] | rust11@users.noreply.github.com |
6f7ce927611fe4a889cb5a5e5b58eaef88188035 | 40de3da30239862f11a946166b50438174c2fd4e | /lib/wizards/nalle/_lasttells.c | f79127590c13f9bc08ee0ed3311e9f3dae2b6505 | [
"MIT"
] | permissive | vlehtola/questmud | f53b7205351f30e846110300d60b639d52d113f8 | 8bc3099b5ad00a9e0261faeb6637c76b521b6dbe | refs/heads/master | 2020-12-23T19:59:44.886000 | 2020-01-30T15:52:16 | 2020-01-30T15:52:16 | 237,240,459 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 529 | c | cmd_lasttells(str) {
object ob;
if (!str) { write("Need argument.\n"); return 1; }
ob = find_player(lower_case(str));
if (!ob) { write("No such a player.\n"); return 1; }
last_tell(ob->query_last_tells());
if
(ob->query_level()>this_player()->query_level() && this_player()->query_name()!="Nalle")
{ tell_ob... | [
"ville.lehtola@iki.fi"
] | ville.lehtola@iki.fi |
e418c13f6ed8184256e55213d63af207f2a4a6d6 | fe692881320e10c55962cebd165d478c1434c359 | /skill/64/64039.c | 9f4e4f409feaabfc8dee4302dc8eeda31eeb2275 | [] | no_license | anho9339/chienquoc | 130602c90c43053bbc99dfbfbc877de0b2d81dd7 | cb5157d5eabcb4bb2ff71c292cfbdd5dc5fbb221 | refs/heads/master | 2021-07-04T07:51:49.408000 | 2021-02-01T15:15:58 | 2021-02-01T15:15:58 | 222,929,950 | 1 | 0 | null | null | null | null | UTF-8 | C | false | false | 567 | c | #include <ansi.h>
#include <skill.h>
#include <effect.h>
#include <equip.h>
#include <item.h>
inherit "/inh/std/vitaskill";
void create()
{
set_skill(640);
set_skill_type(2);
set_number(39);
set_name("Bích Long Đầu Cân Chế Tác");
set_skill_level(34);
set_tool(510);
set_tili(1);
set_final("/item/final/65/2030"... | [
"hothienan1993@gmail.com"
] | hothienan1993@gmail.com |
f7f8e7dfd789e8ae223042325a40175a1b5920f2 | 48138de07966053e6aae6eeda42acf37037e23da | /All_Sprints/sprint08/t03/mx_hex_to_nbr.c | 82e5a2236b118a22c57f34735a27def5a4cac935 | [] | no_license | JustXAH/Ucode_MarathonC | 23f425320c3671753292d5089b8ce54205dfa3c1 | 22ebf06f2cf2c5c62746bbb53e5397511ad5cae8 | refs/heads/master | 2022-12-07T16:23:47.164000 | 2020-09-01T12:57:24 | 2020-09-01T12:57:24 | 291,010,240 | 0 | 2 | null | null | null | null | UTF-8 | C | false | false | 619 | c | #include "hex_to_nbr.h"
unsigned long mx_hex_to_nbr(const char *hex) {
unsigned long nbr = 0;
int n = 0;
unsigned long dec = 1;
if (!hex)
return 0;
for ( ;hex[n + 1]; n++)
dec *= 16;
for (int i = 0; hex[i]; i++) {
if (mx_isdigit(hex[i]))
nbr += (hex[i] - 48)... | [
"ikhanenko@student.ucode.world"
] | ikhanenko@student.ucode.world |
069c70124b3efca58105d360bb0eabacbb1e8b96 | 976f5e0b583c3f3a87a142187b9a2b2a5ae9cf6f | /source/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/extr_hw.c__rtl88ee_set_media_status.c | 38289adb71752c25e0bb4df3df115326339b5b58 | [] | no_license | isabella232/AnghaBench | 7ba90823cf8c0dd25a803d1688500eec91d1cf4e | 9a5f60cdc907a0475090eef45e5be43392c25132 | refs/heads/master | 2023-04-20T09:05:33.024000 | 2021-05-07T18:36:26 | 2021-05-07T18:36:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 4,071 | c | #define NULL ((void*)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t; typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1
/* Forward d... | [
"brenocfg@gmail.com"
] | brenocfg@gmail.com |
fdb1ab0c6698d9fe649d7dbb68845fef034eb4ea | f08bbe3a9406fe3e39aa3c03eb979fdd88ea819a | /Oscillographer/EMWIN/STemWin/inc/GUIDRV_Dist.h | a6e47c4317c3dcb52a234fbdcea32f116e50cc22 | [] | no_license | lazode/MCU_Code | e41def826d7b812fe00db76bd288106d7acd37e3 | 1105eb8f289f9107d97b3dc9de0e50a456570964 | refs/heads/master | 2020-12-30T15:07:39.352000 | 2017-08-11T06:11:00 | 2017-08-11T06:11:00 | 91,100,444 | 7 | 0 | null | null | null | null | UTF-8 | C | false | false | 3,321 | h | /*********************************************************************
* SEGGER Microcontroller GmbH & Co. KG *
* Solutions for real time microcontroller applications *
**********************************************************************
* ... | [
"lanzhuo_@hotmail.com"
] | lanzhuo_@hotmail.com |
3077e697336e3b20028dca12719c0c043266dd4b | 14c77d6dee2f0fd522ea8cbf31ee68786856f11f | /7079_Big_Mod.c | 271e16f31fe464f669ee00a4cfb593526e397279 | [] | no_license | hydai/NTHU-OJ-Code | c3d10dddb6748b7df0c299b69ad9101fe0386b4c | 6016952e3e44243413f9b5eab3dd1f70cd347b18 | refs/heads/master | 2021-01-17T08:37:41.216000 | 2016-07-09T02:26:45 | 2016-07-09T02:26:45 | 12,322,536 | 6 | 0 | null | null | null | null | UTF-8 | C | false | false | 893 | c | #include <stdio.h>
#include <stdlib.h>
/*value*/
int m;
/*function*/
long long int mode(int b, int p);
int main(int argc, char *argv[])
{
int b, p;
long long int ans;
while (EOF != scanf("%d%d%d", &b, &p, &m)) {
if (b%m==0) {
ans = 0;
}
ans = mode(b, p);
print... | [
"z54981220@gmail.com"
] | z54981220@gmail.com |
19da40db10975e1c5c7e00f101a3bea0d05cb264 | 50e7f29b07531bf3db585e420fb7a4209bacf102 | /unity-samples/Temp/il2cppOutput/il2cppOutput/Mono_Security_Mono_Security_Protocol_Tls_Handshake_Handshake.h | e25e05b3de9837230285b4552ac21a01bfe6a7b8 | [] | no_license | golergka/appboy-unity-sdk | 0d7a8732c6dfd66ffbf30c9214c932a04f2b6d59 | deeeba3849bd3a8e6a1166e95a6a5be6f5038646 | refs/heads/master | 2021-01-18T11:53:22.096000 | 2016-03-17T12:24:52 | 2016-03-17T12:24:52 | 54,115,484 | 0 | 0 | null | 2016-03-17T12:18:57 | 2016-03-17T12:18:56 | null | UTF-8 | C | false | false | 436 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_Enum.h"
#include "Mono_Security_Mono_Security_Protocol_Tls_Handshake_Handshake.h"
// Mono.Security.Protocol.Tls.Handshake.HandshakeType
struct HandshakeTy... | [
"wenzhi@appboy.com"
] | wenzhi@appboy.com |
f85279fed26ed221e934ec0179c20fbdbd9d1b1d | 9bfd1035daefdc9037289089ed4e6d00b208b672 | /src/image.h | 8f64fd652643b8e2dddbdd1818a34d0c58f41f37 | [] | no_license | pjreddie/dl-hw1 | bbb2a22e91b37b60a9ba6fb61b0ea2954a1bf63d | 8440db1f85807f2fd33b18498a212a5f46619e8a | refs/heads/master | 2020-04-01T08:39:07.358000 | 2018-10-25T19:31:17 | 2018-10-25T19:31:17 | 153,040,722 | 19 | 28 | null | null | null | null | UTF-8 | C | false | false | 1,274 | h | #ifndef IMAGE_H
#define IMAGE_H
#include <stdio.h>
// DO NOT CHANGE THIS FILE
#include "matrix.h"
#define TWOPI 6.2831853
#define MIN(a,b) (((a)<(b))?(a):(b))
#define MAX(a,b) (((a)>(b))?(a):(b))
typedef struct{
int w,h,c;
float *data;
} image;
// Basic operations
float get_pixel(image im, int x, int y, in... | [
"pjreddie@gmail.com"
] | pjreddie@gmail.com |
b217cf352fd01dcd53f6d84df5144c03be758dd5 | 43441cde04695a2bf62a7a5f7db4072aa0a6d366 | /vc60/G3D/Stdafx.h | 52bd5687350a089aee5d51cb0558126e1952c8f6 | [] | no_license | crespo2014/cpp-lib | a8aaf4b963d3bf41f91db3832dd51bcf601d54ee | de6b653bf4c689fc5ceb3e9fe0f4fe47d79acf95 | refs/heads/master | 2020-12-24T15:23:32.396000 | 2016-03-21T11:53:37 | 2016-03-21T11:53:37 | 26,559,932 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,529 | h | // stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#if !defined(AFX_STDAFX_H__8FC3CE27_AEEE_11D3_A036_0000E8DE4B3B__INCLUDED_)
#define AFX_STDAFX_H__8FC3CE27_AEEE_11D3_A036_0000E8DE4B3B__INCLUDED_
... | [
"lester.crespo.es@gmail.com"
] | lester.crespo.es@gmail.com |
e959db03dfcb3736ed80c3dccc0a5f0d2a6c349f | caf26a8bb8ffe570e699d9c968c2b447b1f399ba | /firmware/Back_FC/MAVLINK/minimal/mavlink_msg_gps_status.h | d8673bd8688814160361437266db9e9adc5182fe | [] | no_license | bygreencn/Oldx_fly_controller | d07bfd00b29b6ebe4d1c76cc7eb02240ca6d47aa | 021cd924378f77e56d89289ee5c4e864ea787402 | refs/heads/master | 2020-04-13T08:44:30.883000 | 2018-12-25T14:44:50 | 2018-12-25T14:44:50 | 163,090,609 | 1 | 2 | null | 2018-12-25T14:45:53 | 2018-12-25T14:45:52 | null | UTF-8 | C | false | false | 5,040 | h | // MESSAGE GPS_STATUS PACKING
#ifndef _MAVLINK_MSG_GPS_STATUS_H_
#define _MAVLINK_MSG_GPS_STATUS_H_
#include "../mavlink_helpers.h"
#define MAVLINK_MSG_ID_GPS_STATUS 25
typedef struct __mavlink_gps_status_t
{
uint8_t satellites_visible; /*< Number of satellites visible*/
uint8_t satellite_prn[20]; /*< Global sat... | [
"golaced@163.com"
] | golaced@163.com |
b44fd3b9a001535f1927033ca48a5be1527afbc9 | 5c255f911786e984286b1f7a4e6091a68419d049 | /vulnerable_code/abd0265d-4c43-4805-b898-2b1b1c979923.c | 23953ab547c8114b260ca41cdefa2d94afd81f67 | [] | no_license | nmharmon8/Deep-Buffer-Overflow-Detection | 70fe02c8dc75d12e91f5bc4468cf260e490af1a4 | e0c86210c86afb07c8d4abcc957c7f1b252b4eb2 | refs/heads/master | 2021-09-11T19:09:59.944000 | 2018-04-06T16:26:34 | 2018-04-06T16:26:34 | 125,521,331 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 608 | c | #include <string.h>
#include <stdio.h>
int main() {
int i=0;
int j=14;
int k;
int l;
k = 53;
l = 64;
k = i/j;
l = i/j;
l = i/j;
l = l/j;
l = k%j;
l = k-j;
k = k-k*i;
//variables
//random
/* START VULNERABILITY */
int a;
int b[69];
int c[47];
a = 0... | [
"nharmon8@gmail.com"
] | nharmon8@gmail.com |
cf0612c57b36d6c3644efc482aac3bd55cf2ddac | 9a3b9d80afd88e1fa9a24303877d6e130ce22702 | /src/Providers/UNIXProviders/StorageRelocationService/UNIX_StorageRelocationServicePrivate.h | 9d7da4ab60cb56f61e80e76b7ba21d841b109555 | [
"MIT"
] | permissive | brunolauze/openpegasus-providers | 3244b76d075bc66a77e4ed135893437a66dd769f | f24c56acab2c4c210a8d165bb499cd1b3a12f222 | refs/heads/master | 2020-04-17T04:27:14.970000 | 2015-01-04T22:08:09 | 2015-01-04T22:08:09 | 19,707,296 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 2,554 | h | //%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... | [
"brunolauze@msn.com"
] | brunolauze@msn.com |
93aabd81aeb654a4f0c98886f687b127b3124af7 | 3d0de0f2549d9025540fcec88624c72c079b406f | /BSW/src/bsw/gen/CanIf/src/CanIf_TriggerTransmit.c | 86228e4eb3c6f75359a840610685dce687fba441 | [] | no_license | ongbut999/Jenkins_Test | ee19936e1577bd93d2755d21299ed3fbec553db6 | abb74480c4ce938dd1c7463627c4074071580af4 | refs/heads/master | 2023-06-23T21:26:57.794000 | 2021-07-22T08:05:20 | 2021-07-22T08:05:20 | 388,372,287 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,714 | c |
/*
***************************************************************************************************
* Includes
***************************************************************************************************
*/
#include "CanIf_Prv.h"
/*
*******************************************************************... | [
"fixed-term.Truong.HuynhQuang@vn.bosch.com"
] | fixed-term.Truong.HuynhQuang@vn.bosch.com |
8f07dbee6914ea966e7a17f9c878dde87d7c257f | 5bcbe7af06d0e47fa8c95041639e5b43f22e153a | /usr/tools/wpm/conf.h | d9183fd840d633462ff253bf681c41a7af28c061 | [] | no_license | hongbochen/OS-Zero | d19a84591718fe95b622a60ba5578e70853954a5 | a636f512fe31626b6aa463c0f7a635167dee951a | refs/heads/master | 2020-04-05T23:30:01.475000 | 2014-06-24T12:32:12 | 2014-06-24T12:32:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 298 | h | #ifndef __WPM_CONF_H__
#define __WPM_CONF_H__
#define WPMPREWARM 1
#define WPMVECFULL 0
#define WPMPROF 1
#define WPMVEC 0
#define PTHREAD 1
#define WPMDB 0
#define WPMDEBUG 0
#define WPMTRACE 0
#define ZASDB 0
#define WPMWORDSIZE 32
#endif /* __WPM_CONF_H__ */
| [
"tuomoster@gmail.com"
] | tuomoster@gmail.com |
26516eeb302ec10ec5ccb915df2051c0ec08a920 | 805666a84218be543410ff5089588f1572dd20ec | /d/quanzhou/yongning.c | 405b9906349c5168742a6fa1ccc739e6c54c8adc | [] | no_license | mudchina/xkx2001 | d47a9caca686ab7c89fe0b9140fbaf9d3601e1f5 | 4e8f8a13a72884d5dbe4b589542eb34e29e89d70 | refs/heads/master | 2021-01-10T06:50:29.517000 | 2016-02-20T14:09:12 | 2016-02-20T14:09:12 | 52,156,038 | 24 | 23 | null | null | null | null | GB18030 | C | false | false | 801 | c | //Cracked by Roath
// yongning.c 永宁港
// qfy Nov 3, 1996
// modified by aln
#include <ansi.h>
inherit HARBOR;
void create()
{
set("short", "永宁港");
set("long", @LONG
永宁港是泉州三大港口之一。这里港阔水深,风平浪静。极目远眺,海天
一色,蔚蓝无暇。岸边停靠着密密麻麻的各种船只。南边的姑嫂塔流传着一个
感人的故事。
LONG
);
set("exits", ([ /* sizeof() == 4 */
"south... | [
"liming.xie@gmail.com"
] | liming.xie@gmail.com |
723e17d307a937d2a0b8fbcd4834e76b8bde5d40 | 91ddd17e771f99cd4eb5acec6e9127f2acb833d6 | /C-algorithm/ProgrammingPearls/maxSumOfSubsequence/maxSequence_2.c | cee643333950f4be8a7377b4eb28008f864a6184 | [] | no_license | jabc1/ProgramLearning | 8a5a7d174e9cf6b1d0672704effa8c320380442e | 90684a7f5fa76b784375b258658396c9f23f2314 | refs/heads/master | 2020-05-17T08:38:00.222000 | 2018-03-11T14:37:30 | 2018-03-11T14:37:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,021 | c | /**
最大子序列求和
时间复杂度:O(n^2)
*/
int maxSequence(int *arr, int n){
int maxSum = 0;
int currentSum = 0;
for (int i = 0; i < n; i++){
currentSum = 0;
for (int j = i; j < n; j++){ // 必须有等于号
currentSum += arr[j];
if (maxSum < currentSum){
maxSum = currentSum;
}
}
}
return max... | [
"ywangsh2014@sina.com"
] | ywangsh2014@sina.com |
1ab6078efe73ef412931f3ea46d4b43180afd40b | e81220623f8e27b9df4364cd41cd63ed0edf9d72 | /NavigationDG/jni/3rdParty/fftw3/dft/scalar/codelets/t2_4.c | 75a1fa2547ed0d038a03aebcafea77b6938909a2 | [
"Apache-2.0"
] | permissive | jwietrzykowski/DiamentowyGrant | f04514812e7e4f46815f073e3df3820d5f7501cd | 490470eff4cacc04102109e25a17044da8273c89 | refs/heads/master | 2021-05-30T03:49:11.013000 | 2015-09-16T11:04:29 | 2015-09-16T11:04:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 5,367 | c | /*
* Copyright (c) 2003, 2007-8 Matteo Frigo
* Copyright (c) 2003, 2007-8 Massachusetts Institute of Technology
*
* 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 Li... | [
"michalsminowicki@gmail.com"
] | michalsminowicki@gmail.com |
e329a6d561f98c7ebb6243011394b7451a6e2b48 | 7069cb71852cf1a5995133b1858bab3e46b501f9 | /source/ekernel/drivers/drv/legacy/deviceman/devices/dev.h | 368d04cf99d6cf4e2bdf98d8b8d21bf15c6f04a5 | [] | no_license | lindenis-org/lindenis-v833-RTOS-melis-4.0 | d2646c7093851d45645679a55bcf1462b8d4d18e | 71ab8faeee960e27ef83a9ff2e4ae4b7f33eda20 | refs/heads/master | 2023-06-24T01:40:55.111000 | 2021-07-23T08:01:43 | 2021-07-23T08:09:40 | 388,733,103 | 14 | 13 | null | null | null | null | GB18030 | C | false | false | 2,971 | h | /*
*********************************************************************************************************
* ePOS
* the Easy Portable/Player Operation System
* eMOD sub-system
*
* ... | [
"given@lindeni.com"
] | given@lindeni.com |
f234d2a5cd7973325b8c1b57ee1768a11488a6c2 | ff68c5e9516bba84ad4398e0094f0385ec738661 | /hq_source_code/013_test_rd_wr/rd_wr.c | dad377ae0cd255d9bf5fe101a434cd65215868ee | [] | no_license | 007skyfall/itop_4412_driver | 28e889fb3feaa0248b976c45e3729b2c6e5e359c | 8c19cfac84ea9573fdcff16b068355e8030277b0 | refs/heads/master | 2020-05-07T17:30:54.996000 | 2019-04-14T01:59:10 | 2019-04-14T01:59:10 | 180,729,593 | 1 | 2 | null | null | null | null | GB18030 | C | false | false | 1,931 | c | #include <linux/init.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/cdev.h>
#include <linux/fs.h>
#include <linux/errno.h>
#include <asm/uaccess.h>
#define NAME "rd_wr_demo"
#define MAX 64
char ker_buf[MAX] = {0};
/*
1.模块三要素
2.字符框架相关
2.1 申请设备号
2.2 cdev申请
2.3 cdev初始化
2.4 cdev注册
*/
ssize_t d... | [
"565911459@qq.com"
] | 565911459@qq.com |
0607cf2828108a7cebc58f556610ed3b27a33c22 | 3636d82c2e754fbd60c6e1b48387165ecde79726 | /C_Plus/Learning_C/NUMTST.C | 6df0e709e530d52dc0ea6a0a9ae46109b8b0a1db | [
"MIT"
] | permissive | MCLifeLeader/MiscProjects | 2762fa69ea55a91cc668e7be7e29b178ed6fa6c1 | 335d7dc0f5819e4aff19860a71d65653aecee2d6 | refs/heads/master | 2023-08-04T22:08:32.016000 | 2023-07-08T05:53:45 | 2023-07-08T05:53:45 | 115,904,264 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 415 | c |
#include "stdio.h"
main()
{
int s, w, x, y, z;
unsigned char inpt;
w = 0;
do {
w++;
if(w>=255) {
w = 0;
}
inpt = w;
printf("%d\n", inpt);
x = ((w+x+y)/3)+z;
inpt = x;
printf("%d\n", inpt);
y = ((w+x+y)/3)+x;
inpt = y;
printf("%d\n", inpt... | [
"kb7ppb@hotmail.com"
] | kb7ppb@hotmail.com |
eb5a3df8f01f18570018bc227655aa5b8ed3b91e | e516aa3fce5fc72bb900de01254f252187252096 | /wolf3d.h | cbbe1305f4c2b991932871108261974fa51119cd | [] | no_license | Ggrybova/Wolf3D | fe604a3cf33b5936c775c8998b7e19df603dc77b | 10bdfcc85d810c3cc4f27b177ec3600ebaf4dfdb | refs/heads/master | 2021-05-13T13:41:50.887000 | 2018-01-08T18:51:20 | 2018-01-08T18:51:20 | 116,714,716 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 2,377 | h | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* wolf3d.h :+: :+: :+: ... | [
"ggrybova@e3r5p9.unit.ua"
] | ggrybova@e3r5p9.unit.ua |
cdddeacb82da25ccb2e46fdfcbd46150dc6d8dfb | fe5e5f3e3da1d6199da2161fa4ee1b8516009894 | /Midterm_C/Problem3_20/Problem3_20/main.c | a6bd508fdbe30ff284a36adcb13e6449fbf22eac | [] | no_license | alien-house/C | 4a4d2f8ebbd2e6a86ae8e1050c2f87fd3a9f57bc | 5c9c9e70580a328b761a02bbcd5c2da17c8d8a59 | refs/heads/master | 2021-06-12T12:10:48.901000 | 2017-02-03T20:09:57 | 2017-02-03T20:09:57 | 53,290,261 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 463 | c | //
// main.c
// Problem3_20
//
// Created by sin on 2017/01/28.
// Copyright © 2017年 shinji. All rights reserved.
//
#include <stdio.h>
int main(int argc, const char * argv[]) {
int a[3] = {1, 2, 3};
int *p = a;
int **r = &p;
printf("%p \n", a);
printf("%d \n", *p);
printf("%p \n", p);
... | [
"info@alien-house.com"
] | info@alien-house.com |
e354269707a6613f4991b9bbd1834e80739f4adf | 45d1881440cd736dc3624e69026d95922f9e1289 | /Silicon/TigerlakePkg/Include/CpuPcieInfo.h | eb02a589cedf48494934c45f14896c7a603f4d12 | [
"BSD-2-Clause-Patent",
"BSD-3-Clause"
] | permissive | sagraw2/slimbootloader | cf794d9cf593f4c9ee99b958ac17480e4ccbec10 | c62c995e496368a4c426da478b054120ebbc8eca | refs/heads/master | 2021-06-19T18:16:08.746000 | 2021-01-07T21:34:59 | 2021-01-08T04:22:54 | 160,243,111 | 0 | 0 | BSD-2-Clause | 2018-12-03T19:31:52 | 2018-12-03T19:31:52 | null | UTF-8 | C | false | false | 3,635 | h | /** @file
This file contains definitions of PCIe controller information
Copyright (c) 2018 - 2019, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#ifndef _CPU_PCIE_INFO_H_
#define _CPU_PCIE_INFO_H_
#define PCIE_HWEQ_COEFFS_MAX 5
/**
PCIe controller c... | [
"guo.dong@intel.com"
] | guo.dong@intel.com |
382cdb2c263ecef7ace773b52519020028485ccd | 8d66da22764e44dd5680a5ce4bdf165f1546c25e | /Firmware_F411 V1.2/COMMUNICATE/src/radiolink.c | a02d2abcbe136ebfef46847029748e4002200d30 | [] | no_license | xindong324/MiniFly | 679210b8f00d7f2bac73470ffbb62d5718e9c2a9 | 21c0679563510728590a306e627fbeeb42a4cdd3 | refs/heads/master | 2020-03-26T13:19:32.942000 | 2018-08-16T03:42:51 | 2018-08-16T03:42:51 | 144,932,913 | 3 | 3 | null | null | null | null | GB18030 | C | false | false | 4,515 | c | #include <string.h>
#include "config.h"
#include "radiolink.h"
#include "config_param.h"
#include "led.h"
#include "ledseq.h"
#include "uart_syslink.h"
/*FreeRtos includes*/
#include "FreeRTOS.h"
#include "task.h"
#include "semphr.h"
#include "queue.h"
/**************************************************... | [
"xindong324@163.com"
] | xindong324@163.com |
08113360ad500737a7a5484c45b9eafc178d9774 | c4afbfe1885e8d0c7a1c8b928563f7bb8ab6a683 | /openETCS_Releases/v0.3-D3.6.3/KCG_GreenField/CAST_int_to_DMI_TEXT_DATA_Varia.c | cc1403d9726ddbafe4826b0732e7b218f84714c1 | [] | no_license | VladislavLasmann/srcAndBinary | cd48ebaa2f1f7f697ba5df9f38abb9ed50658e10 | 13aa76e545b9596f6dac84fb20480dffae7584d8 | refs/heads/master | 2021-05-08T15:04:05.709000 | 2016-01-22T12:40:10 | 2016-01-22T12:40:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,086 | c | /* $**************** KCG Version 6.4 (build i21) ****************
** Command: kcg64.exe -config D:/Github/modeling/model/Scade/System/OBU_PreIntegrations/openETCS_EVC/KCG_GreenField/config.txt
** Generation date: 2015-11-05T08:54:04
*************************************************************$ */
#include "kcg_consts... | [
"bernd.hekele@deutschebahn.com"
] | bernd.hekele@deutschebahn.com |
34bfe63f15c2d0a942627f591bc3308707cd0dfd | a3421ecebedf3ba47a5480776078132be98ee61c | /lib/cmds/players/money.c | 4df874fda26619362b1604a0b595da7ebf03eb67 | [] | no_license | Muderru/NighmareMUD | 7851738d08b0d3d6a46fc7fe32cf25b3cdaffdb0 | c8f91447afaa4ff70460e300dd0a6c64e369bfd5 | refs/heads/master | 2020-03-27T13:45:03.384000 | 2018-08-29T15:57:52 | 2018-08-29T15:57:52 | 146,626,384 | 1 | 0 | null | null | null | null | UTF-8 | C | false | false | 1,495 | c | // /bin/user/_money.c
// from the Nightmare mudlib
// a comand to allow players to search their pockets
// created by Descartes of Borg 25 april 1993
#include <lib.h>
inherit LIB_DAEMON;
mixed cmd(string str) {
string *currs;
string borg;
int i, tmp;
if(str) return 0; /* to all... | [
"overmind2017@yandex.ru"
] | overmind2017@yandex.ru |
be5e0fd30545eef4145079ab6832219510e984f0 | 7774f5fa84edbe372df5bbb536e8b07b51306681 | /Temp/StagingArea/Data/il2cppOutput/t1295.h | a44fa6b78fca3271b53f369182495cb1f49677c2 | [] | no_license | 1jeffcohen/Mr-Turtle-Breaks-Free | 677f4792b30ac3041e1454e6027a64478ec18a05 | 360506196b46e3b8234cf732230b266e655975e1 | refs/heads/master | 2016-09-01T16:24:29.294000 | 2015-10-08T21:46:23 | 2015-10-08T21:46:23 | 43,917,971 | 0 | 0 | null | null | null | null | UTF-8 | C | false | false | 215 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
struct t322;
#include "t14.h"
struct t1295 : public t14
{
t322* f0;
};
| [
"1jeffcohen@gmail.com"
] | 1jeffcohen@gmail.com |
ecdf48a5e99c03e80d3d0804d4749b5ff8d67d07 | 5fe634e7327f5f62bcafa356e76d46f07b794b36 | /APUE/src/8/8-9_1.c | ef96ceb6650db9d35842bb2a1bc6f18626ff4e23 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | MarsonShine/Books | 8433bc1a5757e6d85e9cd649347926cfac59af08 | 7265c8a6226408ae687c796f604b35320926ed79 | refs/heads/master | 2023-08-31T05:32:35.202000 | 2023-08-30T10:29:26 | 2023-08-30T10:29:26 | 131,323,678 | 29 | 3 | Apache-2.0 | 2022-12-07T13:01:31 | 2018-04-27T17:00:17 | C# | UTF-8 | C | false | false | 627 | c | #include "apue.h"
static void charatatime(char *);
int main(void)
{
pid_t pid;
if ((pid == fork()) < 0) {
err_sys("fork error");
} else if (pid == 0) { // 子进程
charatatime("output from child\n");
} else {// 父进程
charatatime("output from parent\n");
}
exit(0);
}
static vo... | [
"ms27946@outlook.com"
] | ms27946@outlook.com |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 7