id
stringlengths
64
64
content
stringlengths
500
100k
language
stringclasses
29 values
path
stringlengths
4
333
repo
stringlengths
5
116
license
stringclasses
15 values
size
int64
500
100k
lines
int64
26
8.06k
source
stringclasses
1 value
5d78ab9dad165b4950196638c311f573ec0650feab9ee7bffd1bba829e669b4b
// -*- Mode: Go; indent-tabs-mode: t -*- /* * Copyright (C) 2016 Canonical Ltd * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License version 3 as * published by the Free Software Foundation. * * This program is distributed in the hope tha...
GO
interfaces/repo.go
zyga/snapd
gpl-3.0
36,563
1,189
codeparrot/github-code
fab92959d8f7197b3b7793d788719f59b979c407990275e412602574e28fd879
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.ApplicationModel; using Windows.ApplicationModel.Activation; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xam...
C#
GestInfoApp/App.xaml.cs
boubad/WUInfoSolution
gpl-3.0
4,156
101
codeparrot/github-code
5c41ec72e56782cd9cf0aa37906557d8aa1b8480443dfb7dd8ce2874b6b01a37
package com.okayjam.collection; import java.util.LinkedList; import java.util.Queue; /** * Created by Weiguang Chen <chen2621978@gmail.com> on 2017/7/20 10:43. * * Implement Queue with LinkedList */ public class MyQueue<T> { private Queue<T> storage = new LinkedList<T>(); /** 将指定的元素插入队尾,失败会返回false,add()会...
Java
src/main/java/com/okayjam/collection/MyQueue.java
weiguang/JamJavaUtil
gpl-3.0
1,087
48
codeparrot/github-code
29cbd6f4543e8bea6972893f3e3960d261beea26ddf9852c526b1b7936e06bfb
## ## This file is part of the sigrok-meter project. ## ## Copyright (C) 2014 Jens Steinhauser <jens.steinhauser@gmail.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...
Python
datamodel.py
swegener/sigrok-meter
gpl-3.0
8,443
244
codeparrot/github-code
b6c2216b94abc61de728afcb07e025d763be495e28e5243d997bd6432f151c2d
package osh.datatypes.power; import java.io.Serializable; import java.util.Comparator; import java.util.Iterator; import java.util.Map; import java.util.NavigableMap; import java.util.NavigableSet; import java.util.NoSuchElementException; import java.util.SortedMap; import it.unimi.dsi.fastutil.longs.AbstractLong2Obj...
Java
source/osh_core/datatypes_src/osh/datatypes/power/Long2ObjectRBNavigableMap.java
organicsmarthome/OSHv4
gpl-3.0
61,770
2,576
codeparrot/github-code
e0c14b99559b9c669067c1fb911f939807018b9acdd64fb26d5cb09af861556b
<?php namespace Helium; /* * Home.php * Copyright: Bryan Healey (bryan@bryanhealey.com) * License: GNU General Public License (v3) * Purpose: Default page */ class Home extends StaticController { protected $class = 'Home'; protected $template = 'home'; public $cache = true; function __construct(...
PHP
www/base/controllers/Home.php
healeyb/Helium
gpl-3.0
1,162
61
codeparrot/github-code
f7b012345f1e8b8bbf641e6f48f3f952f0a4df418732ba647c54022b9c62d4de
/** * * Copyright (C) 2015 Sam Bell * @email - sam@mimpidev.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 3 of the License, * or any later version. * * This ...
Java
src/com/mimpidev/oztoll/OzTollResultsActivity.java
sgbell/oztoll
gpl-3.0
3,294
128
codeparrot/github-code
cdbe979680bba02216ae8760c53a0ef5b7064e4ddac1fc6a43a32b38455d80cf
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <title>Coverage Report</title> <link title="Style" type="text/css" rel="stylesheet" href="css/main.css"/...
HTML
target/site/cobertura/frame-summary-my.EgeszSzamokMagyarul.html
mikuci/EgeszSzamokMagyarul
gpl-3.0
30,223
77
codeparrot/github-code
a09fc59d49492f2911a895b1f177e4433426f97b509670de8284a821fe910a21
<?php namespace PhRestClient\Commands; use Symfony\Component\Yaml\Yaml; use Symfony\Component\Yaml\Exception\ParseException; use PhRestClient\Includes\Log; class Config { public function set($key, $value) { $config = null; try { $config = Yaml::parse(file_get_contents('../app.yml...
PHP
system/cli/commands/Config.php
miguellandeiropinto/phrest
gpl-3.0
3,819
125
codeparrot/github-code
0d54b2e61282ebfe6ebe830fd11119386deae2ebd4cc4c9152a58bf7e9fc056c
/* File: elkeditorpanel.c Project: elk Author: Douwe Vos Date: Jul 5, 2015 e-mail: dmvos2000(at)yahoo.com Copyright (C) 2015 Douwe Vos. 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 ...
C
elk/src/editor/elkeditorpanel.c
douwevos/natpad
gpl-3.0
10,713
252
codeparrot/github-code
afe544e3dbb3fc1a20e6a302ba52ca7afeb09ed9d2a9515cfc11343c2c0feb7b
package evercraft.NEMESIS13cz.TileEntity.TileEntity; import net.minecraft.block.Block; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.init.Blocks; import net.minecraft.init.Items; import net.minecraft.inventory.ISidedInventory; import net.minecraft.item.Item; import net.minecraft.item.It...
Java
java/evercraft/NEMESIS13cz/TileEntity/TileEntity/TileEntityCentrifuge.java
NEMESIS13cz/Evercraft
gpl-3.0
29,967
702
codeparrot/github-code
1fa1018dd36770eeca3976f50ff632b73d0df59e517f91c67f8cad7867221160
<?php /** * @package SermonSpeaker * @subpackage Component.Site * @author Thomas Hunziker <admin@sermonspeaker.net> * @copyright © 2022 - Thomas Hunziker * @license http://www.gnu.org/licenses/gpl.html **/ defined('_JEXEC') or die(); use Joomla\CMS\Factory; use Joomla\CMS\Language\Text; /** * ...
PHP
com_sermonspeaker/site/views/scripture/view.html.php
Bakual/SermonSpeaker
gpl-3.0
4,603
143
codeparrot/github-code
4fd4090200387b97ae9e05157b4bcb3c5abdad2bfea5c336b80837ea97b00f3d
#include "../Interface/Server.h" #include "../Interface/File.h" #include "IVHDFile.h" #ifndef sun #pragma pack(push) #endif #pragma pack(1) struct VHDFooter { char cookie[8]; unsigned int features; unsigned int format_version; uint64 data_offset; unsigned int timestamp; char creator_application[4]; unsigned in...
C
fsimageplugin/vhdfile.h
pabitrad/HTBaseBackend
gpl-3.0
3,082
149
codeparrot/github-code
5f2b5ea2c4cce61798d912c789aa8cdfb310cd9d0f7291671c134a824366ef20
#ifndef BOARD_ENCODER_EMULATION_H #define BOARD_ENCODER_EMULATION_H 1 #include "stm32f10x.h" #include "stm32f10x_tim.h" #include "board_system_type.h" #include "board_NVIC.h" #include "board_capture.h" #include "board_gpio_table.h" #include "board_motor.h" #define ZERO_SPEED_PERIOD 2000U #define PID_PROPORTIONAL ...
C
src/board/board_encoder_emulation.h
seagsm/printer_control
gpl-3.0
1,065
41
codeparrot/github-code
b42108b478d721dbe941c86a5332c822660f512096c0ba513d1c67575b7d09a3
using System; using ServiceModel = Eleflex; namespace Eleflex.Security.Services.WCF.Message { /// <summary> /// Represents a LogMessage service client. /// </summary> public partial class SecurityRolePermissionServiceRepository : ISecurityRolePermissionServiceRepository { /// <summary> ...
C#
V3.0/Modules/Security/Eleflex.Security.Services.WCF.Message/SecurityRolePermissionServiceRepository.cs
ProductionReady/Eleflex
gpl-3.0
4,369
103
codeparrot/github-code
d5a76d2c65f84d05058f24377fe99a694bd319b375dc3838ab1f0db4aebc4538
/* <one line to give the program's name and a brief idea of what it does.> Copyright (C) 2011 <copyright holder> <email> 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 ve...
C
src/mechanics/GameState.h
apreiml/freeaoe
gpl-3.0
1,916
79
codeparrot/github-code
98a9d8b26c55a863daaf68080d625cab98fb691509ff9f0255f3fd42a7115172
// 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 3 of the License, or (at your option) // any later version. // // This program is distributed in the hope that it will be useful...
GO
emphasis.go
jmptrader/markdown
gpl-3.0
3,445
162
codeparrot/github-code
0e580402e059a61ebf79f7a62c60e2e6f3dc12a58e7740b3fae3f0fe36206419
/* Copyright (C) 2015 Aliaksandr Aliashkevich 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 3 of the License, or (at your option) any later version. ...
JavaScript
src/Cloud.js
sasha-alias/sqltabs
gpl-3.0
2,878
90
codeparrot/github-code
399236cb659cd30cd1e833fa11e0622b807080f64cde4f386c90b6b2370b6527
#include <SDL.h> #include <stdio.h> #include <string> #include <iostream> #include <stdint.h> #include "Game.h" #include "SDLDriver.h" #include "Timer.h" // Class Objects SDLDriver MainSDLDriver; Game Tetris(&MainSDLDriver); int main(int argc, char* argv[]) { MainSDLDriver.init(); Tetris.init(); SDL_SetRenderDraw...
C++
source/main.cpp
tylerpedley/Tetris
gpl-3.0
1,260
71
codeparrot/github-code
5df4010fafd30b14d532ecb026b2dca74945b9f9a27bd28948cd92a8cbcd5f24
/**************************************************************************** Copyright (c) 2013-2017 Chukong Technologies Inc. http://www.cocos2d-x.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Sof...
C++
cocos2d/cocos/ui/UITextField.cpp
9matan/FuzzyTower
gpl-3.0
20,299
853
codeparrot/github-code
ed2843ea781ac2e47b10a5378ed8647e12135997c5db486effd61dac1f73c8b2
package com.pseudoblue.greentree; import com.pseudoblue.greentree.Tree.BugEvent; import com.pseudoblue.greentree.Tree.StormEvent; import android.database.Cursor; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.drawable.ColorDrawable; impor...
Java
app/src/main/java/com/pseudoblue/greentree/TreeGame.java
natewilliford/greentree
gpl-3.0
14,222
491
codeparrot/github-code
6b53b125164c72d0be0cab599eb87929366d0dee86e9936c63ddfc5d26b6c875
require 'memoist' class Comment < ApplicationRecord extend Memoist include HasAttachments include SoftDeletable include MentionsUsers belongs_to :discussion # Optional because the user may no longer exist. belongs_to :poster, class_name: 'User', optional: true has_many :reports, as: :item, dependent: ...
Ruby
app/models/comment.rb
JasonBarnabe/greasyfork
gpl-3.0
3,601
123
codeparrot/github-code
b4a06ee3925020596e873e55e719eb6dc997c2ab9a0ca32d3938afd48da11592
/* * Restructuring Shogun's statistical hypothesis testing framework. * Copyright (C) 2014 Soumyajit De * * 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 3 of the License, ...
C++
src/flash/statistics/internals/mmd/WithinBlockDirect.cpp
lambday/flash
gpl-3.0
1,542
48
codeparrot/github-code
84564c95a9f9e5f2e4386610d50c6610af5bdf0b99f5fc6f4cba2d0e4644ed53
// CHECKSTYLE:OFF package hu.unideb.inf.pt.Bank.view; import java.io.File; import java.io.IOException; import javax.xml.parsers.ParserConfigurationException; import javax.xml.transform.TransformerException; import org.xml.sax.SAXException; import hu.unideb.inf.pt.Bank.Main; import hu.unideb.inf.pt.Bank.Muveletek; i...
Java
src/main/java/hu/unideb/inf/pt/Bank/view/RootPaneController.java
Gamilan/Bank
gpl-3.0
1,956
76
codeparrot/github-code
775d78f7490f861c604711bbe93521240a1825aaf748d65baa10e55b3e58a95a
/* Copyright 2008, 2009 (C) Nicira, Inc. * * This file is part of NOX. * * NOX 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) any later version. ...
C++
src/nox/netapps/authenticator/authenticator.hh
sanandrea/ofnic_R3.3
gpl-3.0
20,658
511
codeparrot/github-code
fbaf87a0068a7d2608d274682c6cf5e127e097c255bfe8baa1614c27f3d86e38
/* TidelibColdSpringHarborOysterBayNewYork.h A library for calculating the current tide height at Cold Spring Harbor, Oyster Bay, New York , NOAA station ID number 8516061 Luke Miller, 2019-02-02 Compiled under Arduino 1.8.8 https://github.com/millerlp/Tide_calculator Released under the GPL version 3 ...
C
East_Coast/TidelibColdSpringHarborOysterBayNewYork/TidelibColdSpringHarborOysterBayNewYork.h
millerlp/Tide_calculator
gpl-3.0
1,588
37
codeparrot/github-code
975c1eb29d080917fda0203e13746053c6c35b4e74d59f603ca32b06c1e3281b
import React, {Component} from 'react'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import { setActiveResponsiveMenu } from '../../../actions'; class HamburgerIcon extends Component { hamburgerClick(){ this.props.setActiveResponsiveMenu(!this.props.active_responsive...
JavaScript
src/components/header/components/HamburgerIcon.js
LiskHunt/LiskHunt
gpl-3.0
1,144
44
codeparrot/github-code
1514978e17036db21d5fed5108e74f4f68482552862435c47350771b3cb0b948
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 2011 OpenConcerto, by ILM Informatique. All rights reserved. * * The contents of this file are subject to the terms of the GNU General Public License Version 3 * only ("GPL"). You may not use this file except in compliance with th...
Java
OpenConcerto/src/org/openconcerto/erp/injector/CommandeCliCommandeSQLInjector.java
eric-lemesre/OpenConcerto
gpl-3.0
1,354
31
codeparrot/github-code
7eb2836d8830ec667b250ff7a90a47c95d913ae2b53dff3a45d87733bd558bb4
#include <cstdio> #include <cstring> #include <algorithm> #include <iostream> using namespace std; const int N = 100005; char s[N], t[N]; int fail[N]; int len, n; void build(int x, int lst){ for (int i = lst + 1, j; i <= x; i++){ for (j = fail[i - 1]; j != -1 && t[i] != t[j + 1]; j = fail[j]); fail[i] = j + ...
C++
Template of Other Teams/Spear-of-Longinus/acm/2016-08-02(2012 Asia Chengdu Regional Contest )/E.cpp
kzoacn/Grimoire
gpl-3.0
977
68
codeparrot/github-code
61da6fc106435c3227dec66cfd00e5e635c5f8d88e970f8f00c1e02b8022519e
using System.Collections.Generic; using System.IO; using Kontract.Interface; using Kontract.IO; using System.Text; namespace archive_vap { public class VAP { public List<VAPFileInfo> Files = new List<VAPFileInfo>(); private Stream _stream = null; public Header header; public ...
C#
src/archive/archive_vap/VAP.cs
IcySon55/Kuriimu
gpl-3.0
1,995
72
codeparrot/github-code
7dbb40cd983d56f13eb2cc31c6d5b77120888cdc76120db66fa72a7f3d14ebc8
-- * Header {- GHC version 7.8.3 Author: Florent Balestrieri -} -- ** Ghc options {-# LANGUAGE MultiParamTypeClasses , FlexibleContexts , FlexibleInstances , TypeOperators , UndecidableInstances , OverlappingInstances , NoMonomorphismRestriction , GADTs , TypeFamilies , LambdaC...
Haskell
Language/Grammars/AGalacarte/Core.hs
balez/ag-a-la-carte
gpl-3.0
28,989
925
codeparrot/github-code
de418810e3f6069d8b82451d4f8440e04d12ef0bdce0666b8dd46d3769fccc16
<?php /* * Copyright (C) 2005-2020 University of Sydney * * Licensed under the GNU License, Version 3.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.gnu.org/licenses/gpl-3.0.txt * * Unless required by applicable law or agreed...
PHP
admin/verification/cleanInvalidChars.php
HeuristNetwork/heurist
gpl-3.0
6,677
158
codeparrot/github-code
bc7bb605008acd1f19a00688f6aff77fcd0141a213aba4f8eeba5b30e78f3528
/* * OddEngine - a reimplementation of the Abe's Oddysee game engine * Copyright (C) 2015 Milan Izai <milan.izai@gmail.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 versio...
C++
code/res/ResFont.cpp
mazayus/OddEngine
gpl-3.0
2,078
67
codeparrot/github-code
f5a70f57d64e930ab7e1f39d2a342ca8c3cf6c7accf02aef5cbabfa523b854f3
package org.freedom.infra.x.UIMaker.effect; import java.awt.Color; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.ArrayList; import java.util.List; import javax.swing.JComponent; import javax.swing.Timer; import org.freedom.infra.x.UIMaker.Panel; public class Fade extends ...
Java
freedom-infra/src/main/java/org/freedom/infra/x/UIMaker/effect/Fade.java
cams7/erp
gpl-3.0
5,138
243
codeparrot/github-code
0d5ae500bcae83b2adcf5f4f457cde15a0ddd27bf18dbc7766ed09ae3e3aeb72
import logging import os from jinja2 import Environment, FileSystemLoader from bottle import TEMPLATE_PATH def make_templates_path(root): return root + os.sep + 'templates' system_templates_path = make_templates_path(os.path.dirname(__file__)) template_path = [system_templates_path] TEMPLATE_PATH.insert(0, syst...
Python
errbot/templating.py
moses-rolston/err
gpl-3.0
1,524
46
codeparrot/github-code
e0f8a77777e741543e9b4928575abf0d19fb670140ccdf84237100b859384019
#include "Timeline.hpp" #include "exception.hpp" #include "cgGraph.pb.h" #include <fstream> #include <iomanip> namespace cgGraph { Timeline::Timeline() : is_finalized(false), is_first(true) {} Timeline::Timeline(std::string filename) : is_finalized(false), is_first(false) /* 読み出した最後から続ける */ { load(filename);...
C++
Timeline.cpp
termoshtt/cgGraph
gpl-3.0
1,932
85
codeparrot/github-code
4c52e8753b2c5087bb91661157e72d1befe54f04fc6015dc1d394917ea19b817
/* **************************************************************************** * eID Middleware Project. * Copyright (C) 2008-2010 FedICT. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License version * 3.0 as published by the Free ...
C
_src/eDT/DiagLib/software.h
12019/svn.gov.pt
gpl-3.0
1,878
65
codeparrot/github-code
58b905571ce6da6c91a70db490179b92e644e8215df0a172033bd999ccd881c3
<?php namespace ATC; /** * Class Utilities * @package ATC */ class Utilities { /** * Format route string as a PHP class name * * @param string $value * @return string */ static public function formatClassName($value) { return str_replace(' ', '', ucwords(str_replace('-', ' ...
PHP
src/php/ATC/Utilities.php
ArtifexTech/life-jacket
gpl-3.0
678
33
codeparrot/github-code
668c49123f61177db275e5d559cdd18bcdda3989fb81ded9ee15ad6fefce715b
/* ** Galapix - an image viewer for large image collections ** Copyright (C) 2010 Ingo Ruhnke <grumbel@gmx.de> ** ** 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 3 of the ...
C++
extra/extract_channel.cpp
Galapix/galapix
gpl-3.0
2,100
77
codeparrot/github-code
29c317f0111c87de32c45b9a4f0c16d0210e7de5fe8dad278475ecc10b1cb46f
# -*- coding: utf-8 -*- import psycopg2 from psycopg2.extensions import register_adapter, adapt, AsIs from psycopg2.extras import CompositeCaster, register_composite import re from typing import Any, ClassVar, Dict from django import forms from django.contrib.postgres.fields import ArrayField from django.contrib.post...
Python
django/applications/catmaid/fields.py
tomka/CATMAID
gpl-3.0
15,358
438
codeparrot/github-code
d31e66d8eff31081ff83cd965dd8223d77fc8dfc8de4d3936f40e60319c017a6
#ifndef PROTO_ROS_NODE_HPP #define PROTO_ROS_NODE_HPP #include <functional> #include <ros/ros.h> #include <std_msgs/Bool.h> #include <sensor_msgs/CameraInfo.h> #include <cv_bridge/cv_bridge.h> #include <image_transport/image_transport.h> #include <proto/proto.hpp> namespace proto { #define ROS_PARAM(NH, X, Y) ...
C++
proto_ros/include/proto/ros/node.hpp
chutsu/prototype
gpl-3.0
5,843
190
codeparrot/github-code
28862f8fafd7a4f6754c2a29c679063c388588a9cfc50f356c5dcd058d7aa2ad
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Linq.Expressions; using System.Text.RegularExpressions; namespace MicroRuleEngine { public class MRE { private ExpressionType[] nestedOperators = new ExpressionType[] { ExpressionType.And, ExpressionType...
C#
src/Logman.Business/MRE/MRE.cs
aussiearef/Logman
gpl-3.0
7,708
201
codeparrot/github-code
f81b1b7e164c7895593ed370156450dc678903733b1391839667c70d15b4b661
/* * Multi2Sim * Copyright (C) 2014 Yifan Sun (yifansun@coe.neu.edu) * * 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 la...
C++
src/arch/hsa/asm/BrigCodeEntryDump.cc
intersense/multi2sim
gpl-3.0
21,015
823
codeparrot/github-code
25e7ccbb72d62e8fd8088e304b42224f07fafd89847dab2a34847c3dfcc13d7c
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
HTML
server/doc/html/wa__node_8h_source.html
NickCis/7552-taller-prog-2-2015-C1
gpl-3.0
8,315
124
codeparrot/github-code
aaf8669233da8440685602f761e9d3b64243df699c1aaa1954fcf9995dd2a639
//============================================================================== // // Copyright (c) 2002-2004, Dave Parker // // This file is part of PRISM. // // PRISM 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 Softwar...
Java
apmc-2.3/japmcc/parser/ModulesFile.java
ix-labs/apmc
gpl-3.0
16,577
655
codeparrot/github-code
af668f2d107ec318268b092799ce26714c32d65d3cb37ca221f7f3686ebe2992
/* Copyright (c) 2016, Isode Limited, London, England. * All rights reserved. * * Acquisition and use of this software and related materials for any * purpose requires a written license agreement from Isode Limited, * or a written license from an organisation licensed by Isode Limited * to grant such a lice...
Java
test/com/isode/stroke/network/BOSHConnectionPoolTest.java
swift/stroke
gpl-3.0
21,612
510
codeparrot/github-code
2035c964e30be6dea4ad8b237fad8b55c1dd660c81966d3eaf1aff56d6cd0e9b
#include "texture.hpp" #include <iostream> #include <SDL2/SDL.h> #include <SDL2/SDL_image.h> #include "defines.hpp" #include "exception.hpp" #include "graphics.hpp" #include "logger.hpp" #include "util.hpp" using namespace std; Texture::Texture(const string &name, const string &filename) : _nam...
C++
src/texture.cpp
treewojima/game_old
gpl-3.0
1,440
66
codeparrot/github-code
cf673bdfd3403672b262c78ac02ae707fbaee2a08e4ab68e6388bf542d0172b0
import { KiSSCel } from './kissCel' import { KiSSObject } from './kissObject' class KiSSDoll { constructor (kissData, incLoaded) { // Size of the play area. this.size = { x: kissData.window_size[0], y: kissData.window_size[1] } // Set up border area (around the playarea) const borderarea = document....
JavaScript
javascript/kissDoll.js
emhoracek/smooch
gpl-3.0
6,487
216
codeparrot/github-code
075fd956560af544b4625a693c3f7819893c8a1cf2a87a5c77e65071f32b200d
#!/usr/bin/python from multiprocessing import Pool import time import os import sys import argparse from homolog4 import * from collections import defaultdict # Copyright(C) 2014 David Ream # Released under Biopython license. http://www.biopython.org/DIST/LICENSE # Do not remove this comment # This exists to make t...
Python
loci_filtering.py
reamdc1/gene_block_evolution_old
gpl-3.0
8,117
185
codeparrot/github-code
935150ee868ed1278d471afad623f7d14fdd9996ecb412574caf4e6afbeef71e
package ch.cyberduck.core.threading; /* * Copyright (c) 2002-2022 iterate GmbH. All rights reserved. * https://cyberduck.io/ * * 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 versi...
Java
core/dylib/src/test/java/ch/cyberduck/core/threading/DispatchThreadPoolTest.java
iterate-ch/cyberduck
gpl-3.0
1,048
31
codeparrot/github-code
c6ddabe6a2848698952b004911d663339dfe4764db3b421d4fc5511d0eff4280
/** * Genji Scrum Tool and Issue Tracker * Copyright (C) 2015 Steinbeis GmbH & Co. KG Task Management Solutions * <a href="http://www.trackplus.com">Genji Scrum Tool</a> * * 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...
Java
src/main/java/com/aurel/track/itemNavigator/layout/sort/LayoutSortBL.java
trackplus/Genji
gpl-3.0
3,328
88
codeparrot/github-code
5e299d3863bb0871f9deb3454be626cf3baf402da0a6fd249acc1eef3933cee1
/**************************************************************************** * Copyright (c) 2011 Anthony Vital <anthony.vital@gmail.com> * * * * This file is part of Wicd Client KDE. * * ...
C++
applet/networkplotter.cpp
KDE/wicd-kde
gpl-3.0
4,149
103
codeparrot/github-code
ef362d2e91b33f69ece39ce8e15c044f35fb8c5d46046fcb9e5ea6fb8d58d46f
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle 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) any later version. // // Moodle ...
PHP
mod/lti/view.php
khan0407/FinalArcade
gpl-3.0
6,933
185
codeparrot/github-code
8d3cb60d775ff455cee837a62f126fa8dd9c6721eba96f191f0ca449bab1ef9e
/* * MiningContest * Copyright (C) 2011 IndiPlex * * 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 3 of the License, or * (at your option) any later version. * * This p...
Java
src/de/indiplex/miningcontest/map/ColorMap.java
IndiPlex/MiningContest
gpl-3.0
6,618
188
codeparrot/github-code
7d7988b65919097514517ff448dec901900beab6023662e13ccce6475ab502eb
package org.tastefuljava.ezguest.gui.config; import org.tastefuljava.ezguest.data.ArticleCategory; import java.util.ArrayList; import java.util.Collections; import java.util.List; import javax.swing.event.TreeModelEvent; import javax.swing.event.TreeModelListener; import javax.swing.tree.TreeModel; import javax.swing....
Java
src/org/tastefuljava/ezguest/gui/config/ArticleCategoryTreeModel.java
robbyn/easyguest
gpl-3.0
9,582
313
codeparrot/github-code
7ea73e630cbbf216cdc459d90b30ee3cc07ff58a4d41b30b56486cfb816b7a31
/***************************************************************************** * Copyright: 2012 Michael Zanetti <michael_zanetti@gmx.net> * * * * This program is free software: you can redistribute it and/or modify * * i...
C
src/data/gmwbooking.h
mzanetti/getmewheels
gpl-3.0
2,490
70
codeparrot/github-code
5784797d92025e728190e5ad4e421fbf4e91f367831689d8cfa359f4d97f58d9
/* * Copyright 2014 MovingBlocks * * 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 t...
Java
Source/Framework/zSprite.Sandbox/Terasology/logic/behavior/BehaviorSystem.java
xposure/zSprite_Old
gpl-3.0
6,874
182
codeparrot/github-code
6ada738f72f4f20db6d338c412ed2558be821b453d4c048097d5e868714416db
/* Copyright 2017 Lee Taek Hee (Korea Polytech University) This program is free software: you can redistribute it and/or modify it under the terms of the What The Hell License. Do it plz. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY. */ #include "stdafx.h" #include ...
C++
GSE_2_2013180023/SimpleGame/SimpleGame.cpp
ChangminYoo/GSE_2_2013180023
gpl-3.0
2,723
141
codeparrot/github-code
166600df21511611e8aeb6dedf179019ed400fceeb8fb31107940a543c0f8438
using System; using System.Data; using System.Data.SqlClient; using DataCommander.Providers2.FieldNamespace; namespace DataCommander.Providers.SqlServer.FieldReader { internal sealed class VariantDataFieldReader : IDataFieldReader { private readonly int _columnOrdinal; private readonly SqlDat...
C#
DataCommander/.NetFramework-4.8/Providers/DataCommander.Providers.SqlServer/FieldReader/VariantDataFieldReader.cs
csbernath/DataCommander
gpl-3.0
2,052
68
codeparrot/github-code
70d6c89877fc878e5c6708e0b8bcbb528a945a944770e011ca64e83251a32403
package com.entrepidea.core.basic; import org.junit.Assert; import org.junit.Test; import java.lang.reflect.Constructor; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.util.concurrent.ConcurrentHashMap; public class ReflectionTests { //How many ways to instantia...
Java
java/java.core/src/test/java/com/entrepidea/core/basic/ReflectionTests.java
entrepidea/projects
gpl-3.0
1,316
35
codeparrot/github-code
b368682c90046f91509e19db4b3509fff5298ffe16ada582e3e3bd9626ace10c
import _ from "lodash"; import Drop from "tether-drop"; import { Meteor } from "meteor/meteor"; import { Blaze } from "meteor/blaze"; import { $ } from "meteor/jquery"; import { Template } from "meteor/templating"; import { Reaction, i18next } from "/client/api"; import { Packages } from "/lib/collections"; import Tool...
JavaScript
imports/plugins/core/layout/client/templates/layout/admin/admin.js
Team-Olga/Olga-Verkkokauppa
gpl-3.0
4,235
158
codeparrot/github-code
a54ae80c2322054214b8046abe9fd4b512bb06bca744f9aa9602dd6f4c99adf9
## # Meta-infrastructure to allow po-based translation of Colobot help files ## find_program(PO4A po4a) if(NOT PO4A) message(WARNING "PO4A not found, help files will NOT be translated!") endif() ## # Generate translated help files in separate directories per language ## function(generate_help_i18n resul...
CMake
i18n-tools/HelpI18N.cmake
tomangelo2/colobot-data
gpl-3.0
3,444
84
codeparrot/github-code
afbb57d409b8ff5d73ab648ce4b5c7aaa4a964871322b4a1f3969da6c1c278a3
//////////////////////////////////////////////////////////////////////////// // Created : 20.04.2010 // Author : Dmitriy Iassenev // Copyright (C) GSC Game World - 2010 //////////////////////////////////////////////////////////////////////////// #ifndef MIXING_N_ARY_TREE_BASE_NODE_INLINE_H_INCLUDED #define MIXING_N_...
C
xray/animation/sources/mixing_n_ary_tree_base_node_inline.h
hpl1nk/nonamegame
gpl-3.0
1,210
40
codeparrot/github-code
89158b061aedbaeeb138dcfa418de3aeaa9ddc45956c84656090883ca01b09df
// // TranslationSetObjectModel.cs // // Author: // Michael Becker <alcexhim@gmail.com> // // Copyright (c) 2021 Mike Becker's Software // // 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 Foun...
C#
Plugins/UniversalEditor.Plugins.RavenSoftware/ObjectModels/TranslationSet/TranslationSetObjectModel.cs
alcexhim/UniversalEditor
gpl-3.0
1,922
62
codeparrot/github-code
c36d4e6f002e18af3a97ad2fd3a49f0b1936febb6b130970d184673ecdc6948b
package org.chris.android.tool.sensor; import android.hardware.Sensor; import android.util.SparseArray; public enum SensorType { ORIENTATION(Sensor.TYPE_ORIENTATION, false), ACCELEROMETER(Sensor.TYPE_ACCELEROMETER, false), AMBIENT_TEMPERATURE(Sensor.TYPE_AMBIENT_TEMPERATURE, false), GAME_ROTATION_...
Java
src/org/chris/android/tool/sensor/SensorType.java
kaklakariada/androidtool
gpl-3.0
1,814
70
codeparrot/github-code
87185f16f5d56ad14e5ee76d9453badd95b90fa3d4b5634f1e1570eb77a145bb
/* ----------------------------------------------------------------------------- * align_sort.h * * iPDC - Phasor Data Concentrator * * Copyright (C) 2011-2012 Nitesh Pandit * Copyright (C) 2011-2012 Kedar V. Khandeparkar * * This program is free software; you can redistribute it and/or * modify it under the ...
C
iPDC/align_sort.h
gopalgajjar/iPDC
gpl-3.0
3,005
106
codeparrot/github-code
fcd922ebe57ae819633bf46cbb7985c1e842cddccccccc1dcf02f9c9902dab63
<?php namespace app\coreviewmodels; use Yii; use yii\base\Model; use yii\data\ActiveDataProvider; use app\viewmodels\Models; /** * SearchModels represents the model behind the search form about `app\viewmodels\Models`. */ class SearchModels extends Models { /** * @inheritdoc */ public function ru...
PHP
coreviewmodels/SearchModels.php
easyapplication/laymeneasylife
gpl-3.0
1,778
75
codeparrot/github-code
d6ec51c64413509a3cc9a5cea39e0fee9bb2baadfe1511710431be0c568ea958
/* mpfr_sub1sp -- internal function to perform a "real" substraction All the op must have the same precision Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc. Contributed by the AriC and Caramel projects, INRIA. This file is part of the GNU MPFR Library. The...
C
src/sub1sp.c
epowers/mpfr
gpl-3.0
28,519
811
codeparrot/github-code
bb05bf0cf5b61b04cb52e1e996f7a597295e1a565a8b3739b755e87538f88221
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /** * CodeIgniter * * An open source application development framework for PHP 5.2.4 or newer * * NOTICE OF LICENSE * * Licensed under the Open Software License version 3.0 * * This source file is subject to the Open Software License (O...
PHP
system/database/DB_forge.php
MitchellMcKenna/LifePress
gpl-3.0
8,906
381
codeparrot/github-code
506c785c48820a83f87b6b6f737933ad17ef1debf0df8d9ec0871da69a3e5c0c
# coding=utf-8 # Copyright 2006-2009 Scott Horowitz <stonecrest@gmail.com> # Copyright 2009-2014 Jonathan Ballet <jon@multani.info> # # This file is part of Sonata. # # Sonata 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 Softwa...
Python
sonata/about.py
deprint/sonata
gpl-3.0
9,748
214
codeparrot/github-code
4426d517e2d9cc59b66496d13a025b7a46c4cbd844923f84102bc0d10f906a40
<?php /** * TestUnit of File_Editor. * @package Tests.file * @author Christian Würker <Christian.Wuerker@CeuS-Media.de> * @since 04.07.2008 * @version 0.1 */ require_once 'PHPUnit/Framework/TestCase.php'; require_once 'Test/initLoaders.php5'; /** * TestUnit of File_Editor. * @package Tests.file * @exten...
PHP
Test/File/EditorTest.php
CeusMedia/cmClasses
gpl-3.0
5,285
232
codeparrot/github-code
9cf474f7ee7f4c38684f3ae129545365a0cb2373ba0cdee4c444c299c8be517f
// Copyright (C) 2010 Aleksandr Dobkin, Michael Choi, and Christopher Mills. // // This file is part of BusRadar <https://github.com/orgs/busradar/>. // // BusRadar 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 Foun...
Java
android-project/src/busradar/madison/DB.java
busradar/busradar
gpl-3.0
8,201
286
codeparrot/github-code
39b7d27a9557eb9efb2ed5a4451c04c3c2509e9e7817f5a7f136d2151da4ca4f
# (c) 2012-2014, Michael DeHaan <michael.dehaan@gmail.com> # # This file is part of Ansible # # Ansible 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) an...
Python
lib/ansible/constants.py
dochang/ansible
gpl-3.0
20,345
295
codeparrot/github-code
04782cd2f96eed402e22830ac9895e9e4c3c3fe8f4580a5f1e983d97faaf41a6
#include "foobar2000.h" //void on_change(const char * p_name,const char * p_value,unsigned p_value_length) ; void titleformat_config_callback::g_on_change(const GUID & p_guid,const char * p_name,const char * p_value,t_size p_value_length) { service_ptr_t<titleformat_config_callback> ptr; service_enum_t<titleformat...
C++
foobar2000/SDK/titleformat_config.cpp
samithaj/columns_ui
gpl-3.0
2,893
113
codeparrot/github-code
83ae7083b130907bf6b16ad98cc72818f3a628817c8c3121e0ef29ade5170c56
import $ from 'jquery' import React from 'react'; import gql from 'graphql-tag'; import {graphql} from 'react-apollo'; import moment from 'moment'; import {Link} from 'react-router'; import scrollToElement from 'scroll-to-element'; let Home = React.createClass({ componentDidMount(){ require('../assets/css/main.c...
JavaScript
addons/themes/txt/layouts/Single.js
rendact/rendact
gpl-3.0
4,957
136
codeparrot/github-code
e10b877f75be65f6ab86492930ec32fd27cc5eeab28bb50a0ef78ae767faec6e
import React from 'react' import PropTypes from 'prop-types' import {connect} from 'react-redux' import {withRouter} from 'react-router-dom' const UserProfile = (props) => { const {userName, email} = props return( <div className="content"> <div className="row"> <div className="col-lg-...
JavaScript
client/components/userProfile.js
coinsTracker/coinTracker
gpl-3.0
1,262
42
codeparrot/github-code
701c41329eb4c11561f8a74d5223034bbf2b4fe4fa53c9613460c91a81ea9b2b
package fi.dy.masa.enderutilities.item.part; import net.minecraft.client.renderer.block.model.ModelResourceLocation; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.ItemStack; import net.minecraft.util.ActionResult; import net.minecraft.util.Enu...
Java
src/main/java/fi/dy/masa/enderutilities/item/part/ItemLinkCrystal.java
maruohon/enderutilities
gpl-3.0
4,865
155
codeparrot/github-code
f3c59303843ea2833b9bd7eb0d51fd1d2abab41ab25d1430bc5de299747c22a0
package com.example.practice.myapplication; import android.app.Activity; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.os.Bundle; import android.text.Editable; import android.view.LayoutInflater; import android.view.View; import android...
Java
MainActivity.java
Vinagar1/ISPY
gpl-3.0
3,065
83
codeparrot/github-code
ebd39121f36baa4a59831568efaf1486cb5c6f2d86c59070a6e9371e9d77bab5
package de.gwdg.europeanaqa.api.calculator; import de.gwdg.metadataqa.api.json.JsonBranch; import de.gwdg.metadataqa.api.model.EdmFieldInstance; import de.gwdg.metadataqa.api.model.pathcache.JsonPathCache; import de.gwdg.metadataqa.api.model.pathcache.PathCache; import de.gwdg.metadataqa.api.model.PathCacheFactory; im...
Java
src/test/java/de/gwdg/europeanaqa/api/calculator/ProxyBasedCompletenessCalculatorTest.java
pkiraly/europeana-qa-api
gpl-3.0
17,698
285
codeparrot/github-code
2bb30ae90552becb5e369b28275b07962381dd570a309ef4e74de1e841556b70
package vulpy.ui; import javafx.animation.KeyFrame; import javafx.event.ActionEvent; import javafx.event.Event; import javafx.event.EventHandler; import javafx.geometry.Pos; import javafx.scene.control.Button; import javafx.scene.text.Text; import javafx.util.Duration; import vulpy.core.Collector; import vulpy.core.Pro...
Java
src/main/java/vulpy/ui/ProjectHBox.java
rovaniemi/vulpy
gpl-3.0
3,989
117
codeparrot/github-code
6a93c1bee35590d85e86c20e7bb8d0f5adf1a1d0a3793167d4c35fa203192ae4
<?php defined('SYSPATH') or die('No direct script access.'); ?> <script type="text/javascript"> $(document).ready(function(){ <?php $buffers = array(); foreach ($url_top_ten_click as $val1) { $buffers[] = json_encode(array($val1->keywords,$val1->clicks / 100),TRUE); }; ?> var data1 = [ <?php echo implod...
PHP
_mod/_modules/dashboard/views/dashboard/backend/dashboard_index.php
dyarfi/default_kcms
gpl-3.0
5,436
249
codeparrot/github-code
4a8e87f17e162ac611ac10e30cef1c885d242df131d2ab1bac1dffeaf1f6957d
package com.aionemu.gameserver.network.aion.serverpackets; import java.util.Collection; import com.aionemu.gameserver.configs.main.MembershipConfig; import com.aionemu.gameserver.model.gameobjects.player.emotion.Emotion; import com.aionemu.gameserver.network.aion.AionConnection; import com.aionemu.gameserver.n...
Java
GameServer/src/com/aionemu/gameserver/network/aion/serverpackets/SM_EMOTION_LIST.java
Estada1401/anuwhscript
gpl-3.0
1,101
39
codeparrot/github-code
fbcd6f7de8f28d0d5ee6478fe5cba9f1292616b7b6e9364c882667ef961dc59d
#!/bin/sh # script for remove old backup files v0.09.3 pfzim (c) 2010 (44f5709e242b975305161941b30d1573) # save last ${storage_time} days old backups, all 1 and 15 day of month # backups other will be deleted storage_path='' storage_time=0 no_permanent=no expired_cmd='rm -f' awkcmd='awk' while [ $# -gt 0 ]; do ...
Shell
rotate.sh
pfzim/scripts
gpl-3.0
3,785
159
codeparrot/github-code
3b17736b92b34da4f2c0fb76be828e94b23eb4de1670ff5ed1e20cabf686ed41
package net.foxopen.fox.command.util; import com.google.common.base.Joiner; import net.foxopen.fox.ContextUElem; import net.foxopen.fox.XFUtil; import net.foxopen.fox.dom.DOM; import net.foxopen.fox.dom.DOMList; import net.foxopen.fox.ex.ExActionFailed; import net.foxopen.fox.ex.ExModule; import net.foxopen.fox.module...
Java
src/main/java/net/foxopen/fox/command/util/CompareXml.java
Fivium/FOXopen
gpl-3.0
12,261
288
codeparrot/github-code
6f87f0c84fb31b3f631b85846d79da7e4432df323c6d6d8f29443eef363e12da
package fr.norsys.logs.service; import static org.slf4j.LoggerFactory.getLogger; import java.sql.SQLException; import java.util.List; import org.slf4j.Logger; import fr.norsys.logs.InterfaceAvecDesMethodes; public class ServiceAvecBeaucoupTropDeLog extends AbstractServiceInterface { /** declarati...
Java
logger-example/src/main/java/fr/norsys/logs/service/ServiceAvecBeaucoupTropDeLog.java
Eulbobo/java-samples
gpl-3.0
2,675
71
codeparrot/github-code
5b4ab7945e7b73a8442cd6b4bc466e8407b7c7aafee526547d9a79b40e02092d
// Copyright (C) 2002-2012 Nikolaus Gebhardt // This file is part of the "Irrlicht Engine". // For conditions of distribution and use, see copyright notice in irrlicht.h #ifndef __IRR_POINT_3D_H_INCLUDED__ #define __IRR_POINT_3D_H_INCLUDED__ #include "irrMath.h" namespace irr { namespace core { //! 3d vector templ...
C
WolvenKit.Irrlicht/include/vector3d.h
Traderain/Wolven-kit
gpl-3.0
16,814
461
codeparrot/github-code
61d8389bede4eb5ce80c07bc85576eb5836d939ee029a6c127dfff7af34e70ff
""" The FileCatalogClient is a class representing the client of the DIRAC File Catalog """ import os from DIRAC import S_OK, S_ERROR from DIRAC.Core.DISET.TransferClient import TransferClient from DIRAC.Core.Security.ProxyInfo import getVOfromProxyGroup from DIRAC.ConfigurationSystem.Client.Helpers.Registry import g...
Python
Resources/Catalog/FileCatalogClient.py
arrabito/DIRAC
gpl-3.0
24,012
678
codeparrot/github-code
16013de1a4ef0cd37942192e7aba83c08cf303972f255356c50a48fd5f59c0e5
// // Func_adjacentRateModifier.cpp // revbayes-proj // // Created by Michael Landis on 2/3/17. // Copyright © 2017 Michael Landis. All rights reserved. // #include "Func_adjacentRateModifier.h" #include "AdjacentRateModifierFunction.h" #include "CharacterHistoryRateModifier.h" #include "MatrixReal.h" #include "Mo...
C++
src/revlanguage/functions/phylogenetics/ratemap/Func_adjacentRateModifier.cpp
wrightaprilm/revbayes
gpl-3.0
7,949
180
codeparrot/github-code
937035039bc9028c91c8bc8afe56808daea1af9ba7d8c03a1cf40e555825945c
/* Davinci, a software for the single-crystal diffraction data reduction. Copyright (C) 2015-2017 Andrew Sazonov This file is part of Davinci. Davinci 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 ...
C++
Libraries/Original/Widgets/SpaceObject.hpp
AndrewSazonov/Davinci
gpl-3.0
1,115
42
codeparrot/github-code
2f5a6ca66f06cc826ecfe228928981ad3ba4eced5ec54cf45c3ff51d7a4d169c
#include <unistd.h> #include <string.h> #include <errno.h> #include <unordered_map> #include <unordered_set> #include <functional> #include "../base/all.hpp" #include "reactor.h" #include "coroutine.h" #include "event.h" #include "epoll_wrapper.h" namespace rrr { thread_local std::shared_ptr<Reactor> sp_reactor_th_{...
C++
src/rrr/reactor/reactor.cc
NYU-NEWS/janus
gpl-3.0
8,231
347
codeparrot/github-code
da08d20b354f953e2895a821185d89abe88e38db47019a3d3fc3b956239208c2
/* * Copyright (C) 2009-2011 RtcNbClient Team (http://rtcnbclient.wmi.amu.edu.pl/) * * This file is part of RtcNbClient. * * RtcNbClient 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 ...
Java
RtcNbClientPlans/RtcNbClientPlansBridge/src/main/java/pl/edu/amu/wmi/kino/rtc/client/impl/plans/viewmode/sortmode/RtcRankingSortMode.java
RtcNbClient/RtcNbClient
gpl-3.0
3,500
90
codeparrot/github-code
2fadc5b39732af9b574f68ec6fcb19df345c67e776902da44671c7ce7a2a3a2c
#region - Basics of Objects # In this example we are building a person object. Think of the properties of a physical person. # Name, Height, HairColor... # You set these by either using the Add-Members function or by adding the members during instantiation. $Jason = [pscustomobject]@{ N...
PowerShell
Demo1-Objects.ps1
pulkjr/Insight-2017-18413-2
gpl-3.0
5,092
160
codeparrot/github-code
6c48910c07f027f5d238b4e8c307e64d8960f5b65cee6d99c370df6277e3fa50
/* * Project: Metro4All * Purpose: Routing in subway. * Author: Stanislav Petriakov, becomeglory@gmail.com * ***************************************************************************** * Copyright (c) 2015 NextGIS, info@nextgis.com * * This program is free software: you can redistribute it and/or modify *...
Java
app/src/main/java/com/nextgis/metroaccess/ui/activity/LimitationsActivity.java
nextgis/metro4all-android
gpl-3.0
9,589
225
codeparrot/github-code
2f23064de14035dcf9a42ed60ba71efe32e707bfbde0882d649271880529c0b9
/*************************************************************************** * __________ __ ___. * Open \______ \ ____ ____ | | _\_ |__ _______ ___ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / * Jukebox | | ( <_> ) \___| < | \_\ ( <_> ...
C
osfi-z/lib/dsp/afr.c
SL-RU/osfi-z
gpl-3.0
4,137
149
codeparrot/github-code
49c16596586b7c577b64c5ba44988d913f12ff27af4d0982f9354e853ac93966
// // SuperTuxKart - a fun racing game with go-kart // Copyright (C) 2009 Joerg Henrichs // // 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 3 // of the License, or (at y...
C++
src/animations/ipo.cpp
clbr/stk
gpl-3.0
19,265
505
codeparrot/github-code
82974391903f85c09cc1fc1646f4bc71cb2584eadca7310f88235f7c00e963c9
define([], function () { function CSV_StringToArray() { this.defParams = { 'fSep': ',', 'rSep': '\r\n', 'quot': '"', 'head': false, 'trim': false } }; CSV_StringToArray.prototype.toArray = function (str, o) { if (o) { ...
JavaScript
js/DataUpload/converters/CSV/CSVToStringArray.js
FENIX-Platform/fenix-ui-dataUpload
gpl-3.0
2,143
71
codeparrot/github-code
06d2fb4824c228a8c8319adec5ed34cce3a96cc1401a1de87a905d38552c7281
<?php include_once('config.php'); if (isset($_SESSION['username'])){ include_once('jupiter/code/fxModelo.php'); include_once('jupiter/code/fxVista.php'); include_once('jupiter/code/db_procter.php'); $resultados = getEquipos(0, $db); $tblEquipo = genEquiposTR($resultados); $resDis = getDistribuidoras($db...
PHP
crear-equipo - copia.php
soyborias/prometeo
gpl-3.0
25,287
725
codeparrot/github-code
3dd8b830da96a52a3ee0be78b6769d4c0757aac44fb90a231b13581bb655b47c
/* Theme Name: LCCC Framework v2 Author: LCCC Web Development Team Author URI: http://www.lorainccc.edu/ Description: LCCC Framework is the underlying framework theme that all websites maintained by the LCCC Web Development Team is built on. This framework is based upon the Underscores theme from underscores.me and ut...
CSS
lccc-framework/style.css
lorainccc/themes
gpl-3.0
15,012
888
codeparrot/github-code
3509c27ab9bf5ba9a2aeb8d331fe310cc4b635d78df6d17f399006beb4151d18
//============================================================================ // // This file is part of GPSTk, the GPS Toolkit. // // The GPSTk 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; ei...
C++
Simulator/GPSTK/Position.cpp
GNSSSim/GNSSSimulator
gpl-3.0
57,088
1,607
codeparrot/github-code
40381f091a2a0507f1c1009f07aeee0a8cd84b9fb0bc26b12b8c0c309ae74675
extern crate blockstack_lib; extern crate serde_json; use blockstack_lib::{ chainstate::stacks::index::storage::{TrieFileStorage}, chainstate::burn::BlockHeaderHash, vm::types::{QualifiedContractIdentifier}, vm::database::{MarfedKV, NULL_HEADER_DB}, vm::clarity::ClarityInstance, vm::costs::Ex...
Rust
benches/block_limits.rs
kantai/blockstack-core
gpl-3.0
5,245
148
codeparrot/github-code