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
668da9ae730c2a542f3d49e75ee391b9fc900bfa9df9d6132a66deae4e503c31
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
C#
Module/InstantAction/Views/InstantActionPage.xaml.cs
tor4kichi/ReactiveFolder
gpl-3.0
1,455
63
codeparrot/github-code
81e015c6fe78157f6ca95544a1dfd6995a4eb2bb9f9f05f5924854c3b0ca7fdb
package bartburg.nl.backbaseweather.provision.remote.controller; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.lang.annotation.Annotation; import java.net.HttpURLConnection...
Java
app/src/main/java/bartburg/nl/backbaseweather/provision/remote/controller/BaseApiController.java
bartburg/backbaseweatherapp
gpl-3.0
3,934
100
codeparrot/github-code
525863fa0314a7537716c19e7de8f779cdfc01df9318460dd9c461b76011a2c9
/***************************************************************** * This file is part of CCAFS Planning and Reporting Platform. * CCAFS P&R 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
impactPathways/src/main/java/org/cgiar/ccafs/ap/data/dao/mysql/MySQLProjectOtherContributionDAO.java
CCAFS/ccafs-ap
gpl-3.0
6,951
154
codeparrot/github-code
440dc06ce40f10a1df5e0f8b251cfed7d065128b554add913870bf00881d594a
// ReSharper disable CheckNamespace using System; using System.Collections.Generic; public class Program { public static void Main() { var people = new Dictionary<string, Person>(); string input; while ((input = Console.ReadLine()) != "End") { var split = input.Spl...
C#
CSharp OOP Basics/Exercises/01. Defining Classes - Exercise/Google/Program.cs
martinmladenov/SoftUni-Solutions
gpl-3.0
1,439
53
codeparrot/github-code
60c77d63463b4594c4356e0495ffe2b1f63796f7e60dc0893b1ce5a35d065f76
// +build linux package subsystem import ( "bufio" "errors" "fmt" "io" "os" "os/exec" "runtime" "strconv" "strings" ) type PlatformHeader LinuxHeader func NewPlatformHeader() *LinuxHeader { header := new(LinuxHeader) header.Devices = make(map[string]LinuxDevice) header.getDevsParts() return header } ...
GO
core/subsystem/perfmonger_linux.go
hayamiz/perfmonger
gpl-3.0
10,563
529
codeparrot/github-code
a328130f11e4168973d31cb8cfd1ea6c94c3d07c8ca8695219676b6f0cb233e5
/* * tca6416 keypad platform support * * Copyright (C) 2010 Texas Instruments * * Author: Sriramakrishnan <srk@ti.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #...
C
include/linux/tca6416_keypad.h
williamfdevine/PrettyLinux
gpl-3.0
848
37
codeparrot/github-code
7070d5285dabc67ff9d26cb95d65ceb3dc06518c087ed568d0f190f47dd40c6c
// Copyright (c) Athena Dev Teams - Licensed under GNU GPL // For more information, see LICENCE in the main folder #ifndef _DUEL_H_ #define _DUEL_H_ struct duel { int members_count; int invites_count; int max_players_limit; }; #define MAX_DUEL 1024 extern struct duel duel_list[MAX_DUEL]; extern int duel_count; /...
C
src/map/duel.h
Zellukas/Radices
gpl-3.0
939
31
codeparrot/github-code
759541e9aed5a9dd10a00d20adba17749e7a08751211a19b912e7b8eeed7cb7f
<?php require "common.inc.php"; verifica_seguranca($_SESSION[PAP_RESP_MUTIRAO]); top(); ?> <?php $action = request_get("action",-1); if($action==-1) $action=ACAO_EXIBIR_LEITURA; $est_cha=request_get("est_cha",-1); if($est_cha==-1) { if(isset($_SESSION['cha_id_pref'])) { $est_cha=$_...
PHP
estoque_pre.php
redeecologica/pedidos
gpl-3.0
19,040
481
codeparrot/github-code
872181fff18a4efba685ebc82fca6ec03416a4d849d9fc2d93a082c122fcc045
use crate::cube::Cube; use glium; use glium::{Display, Program, Surface, implement_vertex}; use glium::index::{IndexBuffer, PrimitiveType}; use std::rc::Rc; pub fn solid_fill_program(display: &Display) -> Program { let vertex_shader_src = include_str!("shaders/solid.vert"); let fragment_shader_src = include_st...
Rust
bounding_box.rs
codewiz/mandelwow
gpl-3.0
2,271
61
codeparrot/github-code
4f37f360e231d8894c7974c545097bc1c8fcfdbdcfd2671b375601dce9922a78
using Terraria; using Terraria.ID; using Terraria.ModLoader; namespace DrakSolz.Projectiles { public class ChickenEgg : ModProjectile { public override string Texture { get { return "Terraria/Projectile_318"; } } public override void SetStaticDefaults() { DisplayName.SetDefault("Chicke...
C#
Projectiles/ChickenEgg.cs
Xahlicem/DrakSolz
gpl-3.0
1,089
33
codeparrot/github-code
1735f98ae2de9968c82dc9f030cccda77ea71678edf1272caf0ecc030062a9b3
<?php /* ########################################################################## # # # Version 4 / / / # # -----------__---/__---__------__----__---/---/- # # ...
PHP
admin/gallery.php
webSPELL/webSPELL-4.2.3SE
gpl-3.0
27,665
578
codeparrot/github-code
601c74febd060451fcdd08bb1ac8b1bcc7989317973cba20ac43081060d65007
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * 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. * * T...
Java
java/com/github/mdsimmo/pixeldungeon/levels/painters/TreasuryPainter.java
mdsimmo/cake-dungeon
gpl-3.0
2,296
62
codeparrot/github-code
f71935606ca522640fa6f81fc38aa6f26bcb088553552f768fdec5d59c1043e0
/* * object.c * * Copyright (C) 2012 - Dr.NP * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This progra...
C
src/lib/bsp-core/object.c
drnp/bsp
gpl-3.0
53,620
2,087
codeparrot/github-code
cb13d30fcdce46222bf164ab4be6d965e2bf654aa4b997fada4f20d7660bf530
/* Copyright (C) 2016 Sergo Pasoevi. This pragram 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 d...
C
src/util.c
pasoev/dungeons
gpl-3.0
1,578
53
codeparrot/github-code
a63fd565a488b5063905e077030c16c3b6b5a97f35898e1b97551077fc40eb40
{% extends "userspace/journal/base.html" %} {% load i18n rules %} {% block title %}{{ block.super }}{% endblock title %} {% block breadcrumb %}{{ block.super }} <li><a href="{% url 'userspace:journal:subscription:list' scope_current_journal.pk %}">{% trans "Abonnements" %}</a></li> {% endblock breadcrumb %} {% block...
HTML
eruditorg/templates/userspace/journal/subscription/base.html
erudit/zenon
gpl-3.0
1,281
31
codeparrot/github-code
9d319a11b5bb454a876b3e1e011fff90c6dfca09066dd0720b6e2198e9e2031e
// Copyright 2014 The go-krypton Authors // This file is part of the go-krypton library. // // The go-krypton library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, o...
GO
trie/trie.go
covertress/go-krypton
gpl-3.0
13,056
449
codeparrot/github-code
08e961b35426650a947f559a11628246ad1d77b1197498e5bbe127e5a3ff8cc3
{-# LANGUAGE FlexibleContexts, CPP, JavaScriptFFI #-} module Carnap.GHCJS.Action.TreeDeductionCheck (treeDeductionCheckAction) where import Lib hiding (content) import Data.Tree import Data.Either import Data.Map as M (lookup,Map, toList) import Data.IORef (IORef, readIORef, newIORef, writeIORef) import Data.Typeable ...
Haskell
Carnap-GHCJS/src/Carnap/GHCJS/Action/TreeDeductionCheck.hs
gleachkr/Carnap
gpl-3.0
15,280
259
codeparrot/github-code
08f4e0b0fbe2caf62b671b76a792fa5cca9eed874fcb3d99210883c8f460796c
/* * Darmix-Core Copyright (C) 2013 Deremix * Integrated Files: CREDITS.md and LICENSE.md */ #ifndef BLIZZLIKE_OBJECTACCESSOR_H #define BLIZZLIKE_OBJECTACCESSOR_H #include "Platform/Define.h" #include "Policies/Singleton.h" #include <ace/Thread_Mutex.h> #include "Utilities/UnorderedMap.h" #include "Policies/Threa...
C
src/game/ObjectAccessor.h
deremix/darmixcore
gpl-3.0
7,431
231
codeparrot/github-code
5ec959ace9c4f0f1319fdb0490f105838281b53f0d7061d3d8b71955d89e2334
#include "definitions.h" CustomWeakForm::CustomWeakForm(std::vector<std::string> newton_boundaries, double heatcap, double rho, double tau, double lambda, double alpha, double temp_ext, MeshFunctionSharedPtr<double> sln_prev_time, bool JFNK) : WeakForm<double>(1, JFNK) { this->set_ext(sln_prev_time); // Jacobia...
C++
F-trilinos/03-trilinos-timedep/definitions.cpp
hpfem/hermes-tutorial
gpl-3.0
3,694
106
codeparrot/github-code
18c67d0269be7bacda682b4a5139e4952a9797e8b25be7d0cc64ad3d62323365
// NOTE: nbApp is defined in app.js nbApp.directive("languageContainerDirective", function() { return { restrict : 'E', templateUrl : 'js/templates/language-container.html', scope: { color: "@", language: "@", reading: "@", writing: "@", list...
JavaScript
js/directives/language-container-directive.js
nbuechler/nb.com-v8
gpl-3.0
3,501
88
codeparrot/github-code
42fa475a67361e3aa8c84861100c2da7e9f39164deb1546e74f3bff278d9d143
//============================================================================= /*! return transposed _dsymatrix */ inline _dsymatrix t(const _dsymatrix& mat) {CPPL_VERBOSE_REPORT; #ifdef CPPL_DEBUG WARNING_REPORT; std::cerr << "This function call has no effect since the matrix is symmetric." << std::endl; #endif/...
C++
thirdparty/cpplapack/include/_dsymatrix-/_dsymatrix-calc.hpp
j-otsuki/SpM
gpl-3.0
2,027
61
codeparrot/github-code
70f894d9d8496faeb9bc67937412b1b47a1c167ad22074ac22acaeb31a75c6c6
package name.parsak.controller; import javax.servlet.http.Cookie; import javax.servlet.http.HttpServletResponse; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.stereotype.Controller; import org.springfram...
Java
src/main/java/name/parsak/controller/WebController.java
yparsak/JWC
gpl-3.0
10,545
330
codeparrot/github-code
628aeef64ed09041f0034f94ccb550dfc65a926f31b8e9b5c8f255dafede9850
#pragma once // // njhseq - A library for analyzing sequence data // Copyright (C) 2012-2018 Nicholas Hathaway <nicholas.hathaway@umassmed.edu>, // // This file is part of njhseq. // // njhseq is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by...
C++
src/njhseq/alignment/alnCache/alnInfoHolder.hpp
bailey-lab/bibseq
gpl-3.0
2,293
81
codeparrot/github-code
7c9c058df0ad2ebd7eb7449ac517828e23c14edb82b9f24530854f2166597b49
#include "common_header.h" namespace { using ArrayType = std::vector<int>; /** Given a sorted array and a number x, find the pair in array whose sum is closest to x * * @reference https://www.geeksforgeeks.org/given-sorted-array-number-x-find-pair-array-whose-sum-closest-x/ * * Given a sorted array and a numb...
C++
mathematics/arithmetics/sum/closest_sum_pair_to_x.cpp
yyang-even/algorithms
gpl-3.0
4,582
154
codeparrot/github-code
06d94988fca31fe5c5bc768a9e6b81821e5756a291ec7978f1eceecbb93e1d2b
<!DOCTYPE html> <html lang="en" prefix="og: http://ogp.me/ns# fb: https://www.facebook.com/2008/fbml" > <head> <title>misc - jm33_ng</title> <!-- Using the latest rendering mode for IE --> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta charset="utf-8"> <meta name="viewport" content="w...
HTML
category/misc13.html
jm33-m0/jm33_m0
gpl-3.0
32,343
843
codeparrot/github-code
b12c2d123cf72c7f0b1024dda9899da84a862d8c9f0466d677344732ffddbd22
module XmlResolution # Most named exceptions in the XmlResolution service we subclass here # to one of the HTTP classes. Libraries are designed specifically # to be unaware of this mapping: they only use their specific low level # exceptions classes. # # In general, if we catch an HttpError at our top lev...
Ruby
lib/xmlresolution/exceptions.rb
fcla/xmlresolution
gpl-3.0
7,177
218
codeparrot/github-code
395733edd9d188e08bbff2f5a11e63fcc8a82b2c38f3d2dc35b2b26399ddde17
/*************************************************************************** * Copyright © 2010-2011 Jonathan Thomas <echidnaman@kubuntu.org> * * Heavily inspired by Synaptic library code ;-) * * * * This pr...
C++
src/package.cpp
manchicken/libqapt
gpl-3.0
40,647
1,318
codeparrot/github-code
4770028651fc35cc8b54fa62dac34e3538fdfccc263e76043e937cdc8b56cf6c
<?php namespace App; use Illuminate\Database\Eloquent\Model; final class Contact extends Model { const PHONE = 'phone'; const ADDRESS = 'address'; const ADDRESS_COMPLEMENT = 'address_complement'; const POSTAL_CODE = 'postal_code'; const CITY = 'city'; const REGION = 'region'; const C...
PHP
app/Contact.php
murilocosta/huitzilopochtli
gpl-3.0
744
37
codeparrot/github-code
59a0c341f6a868f4166e562eb3e9d3c1d78bcd3b1bd6f0020e5b585506e1d11d
# # logutil.py # A module containing means of interacting with log files. # import logging import logging.handlers import os import time from data_structures import enum from config import get_config_value LoggingSection = enum( 'CLIENT', 'CRAWLER', 'DATA', 'FRONTIER', 'TEST', 'UTILITIES', )...
Python
HTResearch/Utilities/logutil.py
mizhgun/HTResearch
gpl-3.0
1,640
62
codeparrot/github-code
501f04023651f5fab8db1b3974927639f62b2824ae213621afcf9b3356e2f1f3
/* -*- c++ -*- * Copyright (C) 2007-2016 Hypertable, Inc. * * This file is part of Hypertable. * * Hypertable 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 l...
C++
src/cc/Hypertable/RangeServer/UpdatePipeline.cc
hypertable/hypertable
gpl-3.0
32,361
870
codeparrot/github-code
c6a53d6264c2ad63e2403a623d75db1ed2640bc52ee567db0061533dfad4835a
#!/usr/bin/env python ''' Purpose: This script, using default values, determines and plots the CpG islands in relation to a given feature "type" (e.g. "gene" or "mRNA") from a GFF file which corresponds to the user-provided fasta file. Note: CpG Islands are determined by ObEx = (Observed CpG) / (Expected CpG) , def...
Python
CpG_by_feature/cpg_gene.py
juswilliams/bioscripts
gpl-3.0
3,970
137
codeparrot/github-code
b2e754a7f3153657e1c9701c768081e5ad2883d21e1ff55141786e16a6dee7e8
-- Move generator logic module Kurt.GoEngine ( genMove , simulatePlayout , EngineState(..) , newEngineState , updateEngineState , newUctTree ) where import Control.Arrow ...
Haskell
src/Kurt/GoEngine.hs
lefant/kurt
gpl-3.0
11,157
313
codeparrot/github-code
80cad481eeebbe3488c0913171dd8413a03b4e085555e02e8f28e1e5d22e5822
// Copyright 2020 Signal Messenger, LLC // SPDX-License-Identifier: AGPL-3.0-only import * as React from 'react'; import { storiesOf } from '@storybook/react'; import { action } from '@storybook/addon-actions'; import { number } from '@storybook/addon-knobs'; import { LightboxGallery, Props } from './LightboxGallery...
TypeScript
ts/components/LightboxGallery.stories.tsx
nrizzio/Signal-Desktop
gpl-3.0
2,482
91
codeparrot/github-code
c36c3ac4b0f9fcb9ea3a4e7643702a3af7dc2358215cfc9527cbae098c98ef0c
// app.photoGrid var Backbone = require("backbone"); // var _ = require("underscore"); var $ = require("jquery"); var ImageGridFuncs = require("./photo_grid_functions"); var ImageCollection = require("../models/photo_grid_image_collection"); var ImageView = require("./photo_grid_image"); module.exports = Backbone.Vi...
JavaScript
_assets/js/views/photo_grid.js
alexkademan/solful-2016-wp
gpl-3.0
4,143
146
codeparrot/github-code
7b070e94c54809f23915f800c25aafc76ca596e97cc5ce4bf9891522dbe5744d
package ua.pp.shurgent.tfctech.integration.bc.blocks.pipes.transport; import net.minecraft.item.Item; import net.minecraftforge.common.util.ForgeDirection; import ua.pp.shurgent.tfctech.integration.bc.BCStuff; import ua.pp.shurgent.tfctech.integration.bc.ModPipeIconProvider; import ua.pp.shurgent.tfctech.integration.b...
Java
src/main/java/ua/pp/shurgent/tfctech/integration/bc/blocks/pipes/transport/PipeItemsSterlingSilver.java
Shurgent/TFCTech
gpl-3.0
1,104
36
codeparrot/github-code
b64bfe842d21c1298c8c9f48c2e783db8eb8c31f0ccc4ef341c936ab6512925c
package org.crazyit.activity; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; /** * Description: * <br/>site: <a href="http://www.crazyit.org">crazyit.org</a> * <br/>Copyright (C...
Java
crazy_android/04/4.1/StartActivity/src/org/crazyit/activity/StartActivity.java
footoflove/android
gpl-3.0
1,081
43
codeparrot/github-code
0f00dfb7853cfa93ed8c535b31fe938c2e41f896e65254c1036a2d001c492682
using System; namespace SourceCodeCounter.Core { /// <summary> /// The exception that is thrown when a command-line argument is invalid. /// </summary> internal class InvalidArgumentException : Exception { readonly string _argument; public InvalidArgumentException(strin...
C#
SourceCodeCounter/Core/InvalidArgumentException.cs
kkurapaty/SourceCodeCounter
gpl-3.0
1,035
40
codeparrot/github-code
80d8282c7e76825d9e801037013ecb74789144a4fbc54dfa15aca803aa925ec0
#ifndef AssimpSceneLoader_H #define AssimpSceneLoader_H #include <string> #include <assimp/scene.h> #include <assimp/postprocess.h> #include <assimp/Importer.hpp> #include "Common/Singleton.h" #include "Mesh/Mesh.h" #include "Shader/ShaderProgram.h" #include "Scene/Material.h" using std::string; class AssimpSceneL...
C
src/Load/AssimpSceneLoader.h
lubosz/liblub
gpl-3.0
694
32
codeparrot/github-code
28b1a0b65641cc057d166894ef9a5a050bc257909c5c3581c63b74d276854288
// // semaphore.cpp // // Circle - A C++ bare metal environment for Raspberry Pi // Copyright (C) 2021 R. Stange <rsta2@o2online.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...
C++
lib/sched/semaphore.cpp
rsta2/circle
gpl-3.0
1,721
86
codeparrot/github-code
951df3435e81e747684a0a58f7382b1c5da8c5a282b0eb340a58751afc7430c7
import numpy as np from scipy import sparse from scipy.interpolate import interp1d class calibration(object): ''' some useful tools for manual calibration ''' def normalize_zdata(self,z_data,cal_z_data): return z_data/cal_z_data def normalize_amplitude(self,z_data,cal_ampdata): return z_data/cal_ampdata ...
Python
resonator_tools/resonator_tools/calibration.py
vdrhtc/Measurement-automation
gpl-3.0
4,324
116
codeparrot/github-code
dd38835b0afd827cb882aba23edf438050b085879729f677219f27fa40fb6071
/**************************************************************************** ** ** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this f...
C
share/julia-studio/qml/qmljsdebugger/editor/liverubberbandselectionmanipulator.h
forio/julia-studio
gpl-3.0
2,719
86
codeparrot/github-code
625a58b144e410d3885e9ff358280324e86cef80af683019369308b3f0187044
<?php namespace Aqua\SQL; class Search extends Select { /** * @var array */ public $whereOptions = array(); /** * @var array */ public $havingOptions = array(); /** * @param array $where * @param bool $merge * @return static */ public function whereOptions(array $where, $merge = true) { if($...
PHP
lib/Aqua/SQL/Search.php
AquaCore/AquaCore
gpl-3.0
2,598
129
codeparrot/github-code
898bfade07309ca86f81552fe6bd50614b259cf35f82f1cccd6ddf79da05327e
#pragma once #include <nstd/Base.h> class DataProtocol { public: enum MessageType { errorResponse, subscribeRequest, subscribeResponse, unsubscribeRequest, unsubscribeResponse, tradeRequest, tradeResponse, registerSourceRequest, registerSourceResponse, registerSinkRequest,...
C
Src/DataProtocol.h
donpillou/MegucoData
gpl-3.0
2,403
162
codeparrot/github-code
8f5b2d6a93d996a7d47ecf08776feaeb9e82d859e9c3061d6c6e3208ab24b12f
/* * SPDX-License-Identifier: GPL-3.0 * * * (J)ava (M)iscellaneous (U)tilities (L)ibrary * * JMUL is a central repository for utilities which are used in my * other public and private repositories. * * Copyright (C) 2013 Kristian Kutin * * This program is free software: you can redistribute it and/or modify...
Java
Utilities/Transformation-XML/src/jmul/transformation/xml/rules/xml2object/Xml2ClassRule.java
gammalgris/jmul
gpl-3.0
5,570
179
codeparrot/github-code
5a1a3189acb1df13706538a5e50520bdb87af516deb7dcbe6cc7b1f371df6f07
/*--[litinternal.h]------------------------------------------------------------ | Copyright (C) 2002 Dan A. Jackson | | This file is part of the "openclit" library for processing .LIT files. | | "Openclit" is free software; you can redistribute it and/or modify | it under the terms of the GNU General Public Lice...
C
lib/litinternal.h
Camano/convertlit
gpl-3.0
2,631
73
codeparrot/github-code
cd4e36b8c3dfe39b292bc2b012c7abaf41e2baa4822700a7835e438cbb676108
## mostly copied from: http://norvig.com/spell-correct.html import sys, random import re, collections, time TXT_FILE=''; BUF_DIR=''; NWORDS=None; def words(text): return re.findall('[a-z]+', text) def train(features): model = collections.defaultdict(lambda: 1) for f in features: model[f] += 1 r...
Python
impl1.py
xulesc/spellchecker
gpl-3.0
1,898
61
codeparrot/github-code
a9c69e2c881e88afccaf3cd495dad933738c3efed715a064a7530f659f91e5a3
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!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/html; charset=UTF-8" /> <title>sense...
HTML
Resources/html/sensekey.html
belangeo/cecilia4csound
gpl-3.0
18,159
350
codeparrot/github-code
6ab3bf74d7e88b8d1d603f44f31897ff05451ca6c90436bda0eee19e9127749c
package com.baeldung.webflux; import static java.time.LocalDateTime.now; import static java.util.UUID.randomUUID; import java.time.Duration; import org.springframework.stereotype.Component; import org.springframework.web.reactive.socket.WebSocketHandler; import org.springframework.web.reactive.socket.WebSocketSessio...
Java
projects/tutorials-master/tutorials-master/spring-5-reactive-security/src/main/java/com/baeldung/webflux/EmployeeWebSocketHandler.java
Niky4000/UsefulUtils
gpl-3.0
1,272
40
codeparrot/github-code
28ab9ba17b622dfde592260949f9afa23ad9c9bc4cf4b35596117f69a469cdce
/***************************************************************************** The Dark Mod GPL Source Code This file is part of the The Dark Mod Source Code, originally based on the Doom 3 GPL Source Code as published in 2011. The Dark Mod Source Code is free software: you can redistribute ...
C
game/MultiStateMover.h
Extant-1/ThieVR
gpl-3.0
4,866
134
codeparrot/github-code
b227e9afb83025cc0ec86679cdaff8f36468f4cd1a75b7d7b54099f9728741b3
<?php namespace App\Model; use PDO; use Exception; use App\Model; use App\Config; use App\Exceptions\ServerException; use App\Exceptions\DatabaseInsertException; class Account extends Model { public $id; public $name; public $email; public $service; public $password; public $is_active; pu...
PHP
webmail/src/Model/Account.php
mikegioia/libremail
gpl-3.0
4,773
188
codeparrot/github-code
6d69c5af0f136696553f0a585f2b6aaef335d2a02654300a7d7670441a7af28c
class Global_var_WeaponGUI { idd=-1; movingenable=false; class controls { class Global_var_WeaponGUI_Frame: RscFrame { idc = -1; x = 0.365937 * safezoneW + safezoneX; y = 0.379 * safezoneH + safezoneY; w = 0.170156 * safezoneW; h = 0.143 * safezoneH; }; class Global_var_WeaponGUI_Background: ...
C++
The_Outbreak2.Altis/Ammo/dialogs.hpp
Rockhount/ArmA3_Event_TheOutbreak
gpl-3.0
1,558
61
codeparrot/github-code
89220661af8d9a36550cc87db9b83950acdad03276e035e455d6ab0d8d29c756
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\...
C++
applications/utilities/mesh/manipulation/mirrorMesh/mirrorMesh.C
will-bainbridge/OpenFOAM-dev
gpl-3.0
4,304
140
codeparrot/github-code
1c05c2b6ec32a33b649deccc61d0e40a419ef06784700aaefe6ea443d2119a4b
--玄星曜兽-女土蝠 function c21520110.initial_effect(c) --summon & set with no tribute local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(21520110,0)) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_SUMMON_PROC) e1:SetCondition(c21520110.ntco...
Lua
expansions/script/c21520110.lua
MonokuroInzanaito/ygopro-777DIY
gpl-3.0
1,574
48
codeparrot/github-code
2824fd89de1623ca9d6103b3e22a3a5cef4dab9b7bb92724424ff990c8eab074
#include "Data/datadescriptor.h" #include <type_traits> #include <QDebug> unsigned int DataDescriptor::_uid_ctr = 0; DataDescriptor::DataDescriptor(QString name, QString unit, double factor, Type t) : _name(name), _unit(unit), _factor(factor), _type(t) { _uuid = getUUID(); } DataDescriptor::DataDescriptor(const QJ...
C++
Data/datadescriptor.cpp
TUD-OS/OdroidReader
gpl-3.0
1,161
48
codeparrot/github-code
06dac7f9c2869c067e2459782a0579520266e14706e4f39d769615936c7f3bb6
/* ----------------------------------------------------------------------- Copyright: 2010-2015, iMinds-Vision Lab, University of Antwerp 2014-2015, CWI, Amsterdam Contact: astra@uantwerpen.be Website: http://sf.net/projects/astra-toolbox This file is part of the ASTRA Toolbox. The ASTRA Toolbox is free ...
C++
src/CudaEMAlgorithm.cpp
mohamedadaly/trex
gpl-3.0
2,709
96
codeparrot/github-code
6ad1ee0a02649849545c482cf49e03d8b2bf18aea3d45641fa60e5b59daac259
#!/usr/bin/env python # -*- coding: utf-8; py-indent-offset:4 -*- ############################################################################### # # Copyright (C) 2015 Daniel Rodriguez # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as pub...
Python
backtrader/broker.py
gnagel/backtrader
gpl-3.0
13,299
352
codeparrot/github-code
fce4ff42796f5078cd5f456ec32c4bed682a02d0516392c1e6f3bed7ac3d0867
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.mariotaku.twidere.util.http; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import javax.microedition.io...
Java
src/org/mariotaku/twidere/util/http/UnsafeSSLConnection.java
mariotaku/twidere.j2me
gpl-3.0
2,116
72
codeparrot/github-code
d4f270bb2867da758bf71a5bcfde4199cd866226d1c9c57548465005edc3a163
/*************************************************************************** * Title : Find all possible paths from Source to Destination * URL : * Date : 2018-02-23 * Author: Atiq Rahman * Comp : O(V+E) * Status: Demo * Notes : comments inline, input sample at '01_BFS_SP.cs' * meta : tag-graph-dfs, tag-re...
C#
algo/Graph/02_DFS_AllPossiblePaths.cs
atiq-cs/Problem-Solving
gpl-3.0
4,531
140
codeparrot/github-code
45b5f529098a47a22906e48a03b8888dcefe09d0d54987f3cf0f6c715fbcefce
/*********************************************************************** This file is part of KEEL-software, the Data Mining tool for regression, classification, clustering, pattern mining and so on. Copyright (C) 2004-2010 F. Herrera (herrera@decsai.ugr.es) L. Sánchez (luciano@uniovi.es) J. A...
Java
src/keel/Algorithms/RE_SL_Methods/LEL_TSK/Simplif.java
SCI2SUGR/KEEL
gpl-3.0
10,004
297
codeparrot/github-code
bb14aaabe0b4cf61baccf6896e1bce8c43dde97a6d43f6f14a62bcdc7114ed04
package com.orcinuss.reinforcedtools.item.tools; import com.google.common.collect.Sets; import net.minecraft.block.Block; import net.minecraft.init.Blocks; import net.minecraft.item.EnumRarity; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.item.ItemTool; import java.util.Se...
Java
src/main/java/com/orcinuss/reinforcedtools/item/tools/ItemRTMHarvester.java
Orcinuss/ReinforcedTools
gpl-3.0
803
31
codeparrot/github-code
79acc7b9a176fa67303d9ff21fb5519933c76d470b8adf49a7c6e4378dc6f1da
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' ''Copyright (C) 2010 MapAction UK Charity No. 1075977 '' ''www.mapaction.org '' ''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; eithe...
Visual Basic
v1.0/dataNameTools/cli/maDataNameChecker.vb
mapaction/legacy-tools
gpl-3.0
9,060
198
codeparrot/github-code
97da2ce4200a4ea31a87ccfd20f07cb7dfadfaf0fd7a67b1b4215ccc18581bf1
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Net; using System.Net.Http; using System.Net.Http.Formatting; namespace Admin.Models { public class FacilityClient { //private string BASE_URL = "http://ihmwcore.azurewebsites.net/api/"; private s...
C#
Admin/Admin/Models/FacilityClient.cs
KevinEsquivel21/iHMW
gpl-3.0
3,797
114
codeparrot/github-code
eeb13b0f455c7d0133464a26f8c09ce788520e5af028c538ddd9b96db17fb624
/* * Copyright © 2004 Noah Levitt * * 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 distribu...
C
mucharmap/mucharmap-search-dialog.h
mate-desktop/mate-character-map
gpl-3.0
2,794
74
codeparrot/github-code
2b3e2062e303d440a42d2e81c22b47a52b141c692d9deb0ed0ba39589276b2d8
package org.hl7.v3; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlType; /** * <p>AgeDetectedIssueCodeのJavaクラス。 * * <p>次のスキーマ・フラグメントは、このクラス内に含まれる予期されるコンテンツを指定します。 * <p> * <pre> * &lt;simpleType name="AgeDetectedIssueCode"> * &lt;restriction base="{urn:hl7-org:v...
Java
ricecakesoftware.communitymedicallink.hl7/src/org/hl7/v3/AgeDetectedIssueCode.java
ricecakesoftware/CommunityMedicalLink
gpl-3.0
817
41
codeparrot/github-code
ee0d94b98b9cd992da43b95d06677724567dc64846ddb293b605074bfae9bfac
package medium_challenges; import java.util.ArrayList; import java.util.List; import java.util.Scanner; class BenderSolution { public static void main(String args[]) { @SuppressWarnings("resource") Scanner in = new Scanner(System.in); int R = in.nextInt(); int C = in.nextInt(); ...
Java
src/medium_challenges/BenderSolution.java
workwelldone/bright-eyes
gpl-3.0
5,937
218
codeparrot/github-code
bde262ba939802158bcc04d770ec6d60583c4027f1fedb544913ddf161157c37
package me.zsj.moment.utils; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapShader; import android.graphics.Canvas; import android.graphics.Paint; import com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool; import com.bumptech.glide.load.resource.bitmap.Bit...
Java
app/src/main/java/me/zsj/moment/utils/CircleTransform.java
Assassinss/Moment
gpl-3.0
1,691
55
codeparrot/github-code
8045609970a5b3a06165a8bfe21b5b34da6c4aef3efb61c15cd383b29bd9dbba
/* * Copyright (C) * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. * * This program is distributed in the hop...
C
src/server/scripts/OutdoorPvP/OutdoorPvPHP.h
Sworken/RagSWC
gpl-3.0
4,238
142
codeparrot/github-code
2d74c24aab0ef92bfa9514ab9f2a20fbc0c11e03f4e1871b500b67dacaddb0a3
package clientdata.visitors; import java.nio.charset.Charset; import java.nio.charset.CharsetDecoder; import java.util.HashMap; import java.util.Map; import org.apache.mina.core.buffer.IoBuffer; import clientdata.VisitorInterface; public class SlotDefinitionVisitor implements VisitorInterface { public static class ...
Java
src/clientdata/visitors/SlotDefinitionVisitor.java
swgopenge/openge
gpl-3.0
1,410
59
codeparrot/github-code
847057be87f28d768206ef7549057a85449f7bdb8210207a2018a8ee02bd0b74
package fr.eurecom.senml.entity; import javax.jdo.annotations.IdGeneratorStrategy; import javax.jdo.annotations.PersistenceCapable; import javax.jdo.annotations.Persistent; import javax.jdo.annotations.PrimaryKey; import com.google.appengine.api.datastore.Key; @PersistenceCapable public class ContactTest { @Prima...
Java
targets/PROJECTS/SPECTRA/DEMO_SPECTRA/spectra_demo_src/CRM/server-gae/restlet/src/fr/eurecom/senml/entity/ContactTest.java
mspublic/openair4G-mirror
gpl-3.0
917
37
codeparrot/github-code
eaa6ca582bca6a78df4c5caaf3572b6b2b12017699f407de0df9a36d8cadff40
package me.anthonybruno.soccerSim.team.member; import me.anthonybruno.soccerSim.models.Range; /** * Player is a class that contains information about a player. */ public class Player extends TeamMember { private final Range shotRange; private final int goal; /** * Creates a new player with a nam...
Java
src/main/java/me/anthonybruno/soccerSim/team/member/Player.java
AussieGuy0/soccerSim
gpl-3.0
1,523
52
codeparrot/github-code
843827badf3f5e9d203d565a4a45345f929f3e053e1fcdbcc8b8e1c4a03fcc05
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using Newtonsoft.Json; using SmartStore.Core.Infrastructure; namespace SmartStore.Collections { public abstract class TreeNodeBase<T> where T : TreeNodeBase<T> { private T _parent; private List<T> _children = new L...
C#
src/Libraries/SmartStore.Core/Collections/TreeNodeBase.cs
smartstoreag/SmartStoreNET
gpl-3.0
13,702
768
codeparrot/github-code
f32918790ba09eb323eb292940481a903ef5083e7b75a43605be554450bcd915
package vizardous.delegate.dataFilter; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Set; import vizardous.util.Converter; /** * Filter class that provides filter functionality for data structures with comparable content * * @au...
Java
src/main/java/vizardous/delegate/dataFilter/ComparableFilter.java
modsim/vizardous
gpl-3.0
1,741
67
codeparrot/github-code
35a18229ec4b0d56a5d8e4dd14318f27c77060c412393f712bc607cf1d2fe48d
/*++ Copyright (c) 2008 Microsoft Corporation Module Name: ast_smt_pp.h Abstract: Pretty printer of AST formulas as SMT benchmarks. Author: Nikolaj Bjorner 2008-04-09. Revision History: --*/ #ifndef _AST_SMT_PP_H_ #define _AST_SMT_PP_H_ #include"ast.h" #include<string> #inclu...
C
contrib/Z3/lib/ast_smt_pp.h
cs-au-dk/Artemis
gpl-3.0
3,147
104
codeparrot/github-code
68ff8949f08f10343d074dac465b9dfab8320db6dab2145eca38127d10921443
package com.albion.common.graph.algorithms; import com.albion.common.graph.core.v1.Edge; import com.albion.common.graph.core.v1.Graph; import com.albion.common.graph.core.v1.Vertex; import java.util.ArrayList; import java.util.List; public class BreathFirstSearch { public static Vertex locate(Graph graph, Integer ...
Java
src/main/java/com/albion/common/graph/algorithms/BreathFirstSearch.java
KyleLearnedThis/data-structures
gpl-3.0
868
40
codeparrot/github-code
394e3017f093378cf08295fc2bd3e7a6f5b6a81e11bb2e5ab74559245efd9e0e
// Copyright 2012 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Platform-specific code for FreeBSD goes here. For the POSIX-compatible // parts, the implementation is in platform-posix.cc. #include <osconfig.h> ...
C++
vender/src/v8/src/platform-freebsd.cc
jiachenning/fibjs
gpl-3.0
8,266
315
codeparrot/github-code
accc3a4eeda7de644f52d9c5c26cef56b17ba5a5a8325704c22c2ec91746b09b
class CfgWeapons { // Base classes class ItemCore; class H_HelmetB; class H_Cap_red; class H_Bandanna_khk; class rhs_booniehat2_marpatd; // RHSSAF class rhssaf_helmet_base : H_HelmetB{ rgoc_canAcceptNVG = 1; }; class rhssaf_helmet_m59_85_nocamo : rhssaf_helmet_base{ rgoc_canAcceptNVG = 1; }; class rhs...
C++
rgoc_rhssaf_compat/CfgWeapons.hpp
finesseseth/SOCOMD
gpl-3.0
4,218
136
codeparrot/github-code
154a017b06aadf349511b34c0c63f5ef47a1355c4853361e2d19c8eeb60b9713
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package services; import FareCalculator.Calculate; import java.util.ArrayList; import javax.ws.rs.core.Context; import javax.ws.rs.core.UriInfo; import javax.ws.rs.PathParam; import javax.ws.rs.Consumes; import javax.ws...
Java
Fare_Module/src/java/services/calculatorService.java
ecemandirac/FlightTracker
gpl-3.0
1,825
66
codeparrot/github-code
18747f5c0d4a5b3fc009edcc9d276513a6f1a33e9e697929fc7e433b2603df46
Imports System Imports System.Reflection Imports System.Runtime.InteropServices Imports System.Globalization Imports System.Resources Imports System.Windows ' General Information about an assembly is controlled through the following ' set of attributes. Change these attribute values to modify the information ' assoc...
Visual Basic
2015/Case.ViewportReporting/Case.ViewportReporting/My Project/AssemblyInfo.vb
kmorin/case-apps
gpl-3.0
2,382
60
codeparrot/github-code
52bdb47878d2e6d7750f9511da17fbbc22305b8752a7b0a6beed0df3e39f3080
#include <gtest/gtest.h> #include "math/integr/WeightedIntegral.h" #include "math/integr/IntegrationDensities.h" #include <stdexcept> #include <cmath> class WeightedIntegralTest: public testing::Test { }; TEST_F(WeightedIntegralTest,Test) { rql::integr::WeightedIntegral wi(rql::integr::WeightedIntegral::...
C++
math-test/integr/WeightedIntegralTest.cpp
rilwen/open-quantum-systems
gpl-3.0
1,913
49
codeparrot/github-code
4664a4f7017040113df8c05f9fd65fbec502d4798a494fd26ef5a1ba731a4ee8
/* * Copyright (C) 2014 Matej Kormuth <http://matejkormuth.eu> * * 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. * ...
Java
src/test/java/ts3bot/helpers/MethodSignatureTester.java
dobrakmato/Sergius
gpl-3.0
4,969
132
codeparrot/github-code
6e23a4c4353e63c912f00f39437f36bb91cd11de090fdbec446dceb1df6a7655
<!DOCTYPE html> <!--[if lt IE 7]> <html class="no-js ie6" > <![endif]--> <!--[if IE 7]> <html class="no-js ie7" > <![endif]--> <!--[if IE 8]> <html class="no-js ie8" > <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" > <!--<![endif]--> <head> <meta charset="utf-8"> <meta http-equiv="content-type" cont...
HTML
03-rwd/slides/export/rwd-deck-slides.html
asanzdiego/curso-interfaces-web-2014
gpl-3.0
37,505
794
codeparrot/github-code
4967bd21d741c2d09b3de4fa7b85eff8729096db2bb0116b9a7fbf940fb95ccc
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Shapes; using System.Windows.Navig...
C#
02_ECCentral/02_Portal/UI/ECCentral.Portal.UI.MKT/Views/HotKeywords.xaml.cs
ZeroOne71/ql
gpl-3.0
9,654
254
codeparrot/github-code
cf1bba315974b3393cbd458daacd44f200676fd3c27df50a7421b58b02d95006
using UnityEngine; using System.Collections; using UnityEngine.EventSystems; public class SelectOnInput : MonoBehaviour { public EventSystem eventSystem; public GameObject selectedObject; private bool buttonSelected; // Use this for initialization void Start () { } // Update is called once per ...
C#
Assets/Scripts/UI/SelectOnInput.cs
TheMrNomis/T-racing
gpl-3.0
615
32
codeparrot/github-code
1b62006a0e3ee2f550d938f45598bad6b2c8c5ef8a459339059f422dd4a033ce
package org.anddev.amatidev.pvb; import java.util.LinkedList; import org.amatidev.util.AdEnviroment; import org.amatidev.util.AdPrefs; import org.anddev.amatidev.pvb.bug.BugBeetle; import org.anddev.amatidev.pvb.card.Card; import org.anddev.amatidev.pvb.card.CardTomato; import org.anddev.amatidev.pvb.obj.Dialog; impo...
Java
src/org/anddev/amatidev/pvb/Tutorial.java
amatig/PlantsVsBugs
gpl-3.0
7,881
231
codeparrot/github-code
4c1c972e2c31dff454b6b29400de0fb8340b08eb271ba359cfdee28734142ab3
----------------------------------------- -- Spell: Protect ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,target,spel...
Lua
scripts/globals/spells/protect.lua
Vadavim/jsr-darkstar
gpl-3.0
1,084
40
codeparrot/github-code
4a4fa6f3e492801967d5d6800476284bc30ee2d24cb2fb798900745623fd435c
/* ============================================================================== This file is part of the JUCE examples. Copyright (c) 2017 - ROLI Ltd. The code included in this file is provided under the terms of the ISC license http://www.isc.org/downloads/software-support-policy/isc-license. Permiss...
C
2018/JUCE/examples/GUI/OpenGLAppDemo.h
COx2/JUCE_JAPAN_DEMO
gpl-3.0
15,810
411
codeparrot/github-code
7412e3ec8b23896d4aa7e0b406205403c8b9d6674325a6a4cec8302bacf77844
function HistoryAssistant() { } HistoryAssistant.prototype.setup = function() { this.appMenuModel = { visible: true, items: [ { label: $L("About"), command: 'about' }, { label: $L("Help"), command: 'tutorial' }, ] }; this.controller.setupWidget(Mojo.Menu.appMenu, {omitDefaultItems: true}, this.appMenuMo...
JavaScript
app/assistants/history-assistant.js
sebastianha/webos-app_de.omoco.100pixels
gpl-3.0
4,982
128
codeparrot/github-code
75c16b00cfe85a25c1686825c3fabc49ddbe9c6044e6d8eeed2a8495514992c8
// Copyright 2015-2017 Parity Technologies (UK) Ltd. // This file is part of Parity. // Parity 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 lat...
Rust
ethcore/src/types/transaction.rs
BSDStudios/parity
gpl-3.0
18,976
578
codeparrot/github-code
5a302f8500d63a196b1f564df619f413e3de7984e1fe714a625aee36c5096570
#pragma once #include <ros/assert.h> #include <iostream> #include <eigen3/Eigen/Dense> #include "../utility/utility.h" #include "../parameters.h" #include "integration_base.h" #include <ceres/ceres.h> class IMUFactor : public ceres::SizedCostFunction<15, 7, 9, 7, 9> { public: IMUFactor() = delete; IMUFacto...
C
vins_estimator/src/factor/imu_factor.h
HKUST-Aerial-Robotics/VINS-Mono
gpl-3.0
8,487
190
codeparrot/github-code
e2442d4ce5de6b192ae7fa2cd9932f3932e8af87158b4f34d03acb2c27a9408d
/*! * \file GPS_L1_CA.h * \brief Defines system parameters for GPS L1 C/A signal and NAV data * \author Javier Arribas, 2011. jarribas(at)cttc.es * * ------------------------------------------------------------------------- * * Copyright (C) 2010-2015 (see AUTHORS file for a list of contributors) * * GNSS-SD...
C
src/core/system_parameters/GPS_L1_CA.h
luis-esteve/gnss-sdr
gpl-3.0
11,551
250
codeparrot/github-code
d6492756c3ecd58d682dccdfd549c5c47078f9d9ef598de4379c88bd2a90daa3
# Topydo - A todo.txt client written in Python. # Copyright (C) 2014 - 2015 Bram Schoenmakers <bram@topydo.org> # # 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,...
Python
topydo/lib/Todo.py
bram85/topydo
gpl-3.0
3,165
99
codeparrot/github-code
9a685373b707a08f0d315af69a79c02a0603d3ba38ddf6e4cf5b3b8ee8a5acef
/* Copyright (c) Colorado School of Mines, 1996.*/ /* All rights reserved. */ /* segy.h - include file for SEGY traces * * declarations for: * typedef struct {} segy - the trace identification header * typedef struct {} bhed - binary header * * Note: * If header words are added, run the ma...
C
include/segy.h
daniel-koehn/GERMAINE
gpl-3.0
25,371
919
codeparrot/github-code
c40eb48546bf38b8ffab01f342f3c063d2459a33d50731fe379e45ecc262ee7b
/* * File: tstGenericDBObject.cpp * Author: volker * * Created on March 2, 2014, 3:46 PM */ #include <QString> #include "tstScore.h" #include "Score.h" using namespace QTournament; //---------------------------------------------------------------------------- void tstScore::testGameScore_IsValidScore() { ...
C++
tests_deprecated/tstScore.cpp
Foorgol/QTournament
gpl-3.0
11,604
391
codeparrot/github-code
eb001a6ee56932f1ab24abb94e77b86d1af8049086025a473b8d78cac7d26ca9
<?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
grade/classes/grades/grader/gradingpanel/point/external/store.php
dustinbrisebois/moodle
gpl-3.0
6,329
188
codeparrot/github-code
7bb916e0c5915aa8cad7c7855215b6da7ce7d063359bc082df8431964d401b86
from pupa.scrape import Jurisdiction, Organization from .bills import MNBillScraper from .committees import MNCommitteeScraper from .people import MNPersonScraper from .vote_events import MNVoteScraper from .events import MNEventScraper from .common import url_xpath """ Minnesota legislative data can be found at the O...
Python
openstates/mn/__init__.py
cliftonmcintosh/openstates
gpl-3.0
5,612
149
codeparrot/github-code
a6647cceace290841e46daf76efb91c2e8fbbc2cff4f0fda0a8247557dffefbf
#pragma once #include <fstream> #include <iomanip> #include <map> #include <sstream> #include <string> #include "jw.hpp" namespace Zee { class Report { public: Report(std::string title, std::string rowTitle) : title_(title), rowTitle_(rowTitle) { rowSize_ = rowTitle_.size(); } void a...
C++
include/util/report.hpp
jwbuurlage/Zee
gpl-3.0
5,111
164
codeparrot/github-code
4025700b54d3ba85d7f120a29a0f49d0ec178a25b3ddf37ad23df0eeba32c7a2
<?php /** * OpenSKOS * * LICENSE * * This source file is subject to the GPLv3 license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://www.gnu.org/licenses/gpl-3.0.txt * If you did not receive a copy of the license and are unab...
PHP
library/OpenSKOS/Solr/Document.php
olhsha/OpenSKOS2tempMeertens
gpl-3.0
8,418
262
codeparrot/github-code
8c92eaac23c71c3d3419975e94549227af98473d547d0fb7964a4b4099a501b9
// This code is part of the CPCC-NG project. // // Copyright (c) 2009-2016 Clemens Krainer <clemens.krainer@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 of t...
Java
cpcc-demo/src/main/java/cpcc/demo/setup/builder/SensorConstants.java
cksystemsgroup/cpcc
gpl-3.0
6,792
180
codeparrot/github-code
be8d94ed7a65d8782be73fb7ef8d71758a8032e1a7c43cab11cf063deec04750
<?php namespace App\Console\Commands; use App\App; use Illuminate\Console\Command; use Illuminate\Support\Facades\Artisan; use Imperium\File\File; class Venus extends Command { /** * The name and signature of the console command. * * @var string */ protected $signature = 'app:secure'; ...
PHP
app/Console/Commands/Venus.php
fumseck/aphrodite
gpl-3.0
1,016
58
codeparrot/github-code
d6a0e0980ebe18c3f045bdb7b3dad786defce1fe4df06296f1271cabbddd0361
/* * Decompiled with CFR 0_114. * * Could not load the following classes: * com.stimulsoft.base.drawing.StiBrush * com.stimulsoft.base.drawing.StiColor * com.stimulsoft.base.drawing.StiSolidBrush * com.stimulsoft.base.drawing.enums.StiPenStyle * com.stimulsoft.base.serializing.annotations.StiDefaulValue ...
Java
stimulsoft/src/com/stimulsoft/report/chart/view/series/radar/StiRadarAreaSeries.java
talek69/curso
gpl-3.0
2,787
95
codeparrot/github-code