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 |
|---|---|---|---|---|---|---|---|---|
76a1a371f4605c445f9d2a1a88295e155282d2a81773c5a5983a07061f442e36 | /*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2012 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2011 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(R) is... | Java | opennms-provision/opennms-provision-api/src/main/java/org/opennms/netmgt/provision/support/ConversationExchangeDefaultImpl.java | tharindum/opennms_dashboard | gpl-2.0 | 2,269 | 60 | codeparrot/github-code |
5bffde4891a2383e5a5c29e9eaa2362db99801cc348d08506f42cdbbde9092f6 | /*
* Copyright (C) 2008-2013 Trinitycore <http://www.trinitycore.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 2 of the License, or (at your
* option) any later ve... | C++ | src/server/authserver/Authentication/TOTP.cpp | InfinityCore/InfinityCore243 | gpl-2.0 | 2,905 | 96 | codeparrot/github-code |
7e678ba3eb5659e700218c512ce767bd98bef5bd4b556af00a4fab8e74502098 | (function($) {
$.fn.extend({
stickyMojo: function(options) {
// Exit if there are no elements to avoid errors:
if (this.length === 0) {
return this;
}
var settings = $.extend({
'footerID': '',
'contentID': '',
'orientation': $(this).css('float'... | JavaScript | wp-content/themes/spalab/framework/js/public/stickyMojo.js | tittee/jarem | gpl-2.0 | 4,105 | 143 | codeparrot/github-code |
ec617a4757c133fc32a242545f02f8990baf3d1c6c0a5fffbc3b51ab4df43b31 | #include <stdio.h>
#include <fcntl.h>
#ifdef _WIN32
#include <io.h>
#endif
int main(int argc, char **argv)
{
int n = 0;
int c;
if (argc > 1)
printf("unsigned char %s[] = {\n", argv[1]);
#ifdef _WIN32
_setmode(_fileno(stdin), _O_BINARY);
#endif
do
{
printf("\t");
whi... | C | etc/bin2c.c | rlk/scm | gpl-2.0 | 607 | 40 | codeparrot/github-code |
fe5b22f2dadda6483743b1270164079de714d1400fc1b61b541dd3129162e20d | /*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2006-2011 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2011 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | Java | opennms-services/src/main/java/org/opennms/netmgt/eventd/adaptors/udp/UdpProcessor.java | tharindum/opennms_dashboard | gpl-2.0 | 7,734 | 226 | codeparrot/github-code |
f4fd998f96c15c61f9b4192dc5b09ed406e3b70c0dba9a6d906c1c61a56287c3 | using System;
namespace LiteDB
{
/// <summary>
/// A class that represent all index options used on a index creation
/// </summary>
public class IndexOptions : IEquatable<IndexOptions>
{
public IndexOptions()
{
Unique = false;
IgnoreCase = true;
... | C# | Shared/Core/LiteDB/DbEngine/Structures/IndexOptions.cs | Xicy/SilkroadScript | gpl-3.0 | 1,844 | 65 | codeparrot/github-code |
52442c9b3331238a20a5f4180c592a7d4abb157b7b95dd2301cc8b1e9992ffe0 | /*
* Copyright (C) 2010 Brockmann Consult GmbH (info@brockmann-consult.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, or (at your option)
* any late... | Java | beam-core/src/test/java/org/esa/beam/dataio/dimap/spi/GeneralFilterBandPersistableTest.java | seadas/beam | gpl-3.0 | 14,285 | 255 | codeparrot/github-code |
fb65ad6110908c4badbe16a96458274f6d807f30980649da607597da4d975315 | module app.teacherlists {
'use strict';
interface ITeacherListResourceClass<T> extends ng.resource.IResourceClass<ng.resource.IResource<T>> {
GetStudentList(data: T): T;
}
interface ITeacherRemoveStdResourceClass<T> extends ng.resource.IResourceClass<ng.resource.IResource<T>> {
Remove... | TypeScript | MainSolution/src/MindSageWeb/scripts/teacherlists/services.ts | tlaothong/mindsage2016 | gpl-3.0 | 1,898 | 39 | codeparrot/github-code |
a4682d0be81ebee666cbea018877ca2650cbd59cf025920293da25e33a719a6d | /*
* Copyright (C) 2015 Stuart Howarth <showarth@marxoft.co.uk>
*
* 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 that it will be use... | C++ | app/src/soundcloud/soundcloudtrack.cpp | abertschi/musikloud2 | gpl-3.0 | 9,948 | 303 | codeparrot/github-code |
2e756ae71828566cda0fafb11beb8c09dcde8db65dad355be6cd8900ba1d0c9e | /*
Authors:
Pavel Březina <pbrezina@redhat.com>
Copyright (C) 2016 Red Hat
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 you... | C | src/providers/data_provider/dp_private.h | celestian/sssd | gpl-3.0 | 8,497 | 249 | codeparrot/github-code |
6e6ad599b238f46eafaccc6a7cc7218078a29d1b9744093e1944353827669e35 | import { apiUrl } from '../../constants';
export default class DataService {
/** @ngInject */
constructor($http, $q) {
this.$http = $http;
this.$q = $q;
this.dataStore = {
categories: [],
providers: [],
resources: [],
services: [],
stages: [],
currentFilters: {
... | JavaScript | src/app/services/data.js | amyvbenson/asylumjourney-frontend | gpl-3.0 | 4,827 | 199 | codeparrot/github-code |
e8b25aabd29025fe7017a95b77ab1386f519f7a93a5381536d32fd377fc41ea2 | using System;
using Server;
using Server.Items;
namespace Server.ACC.CSS.Systems.Bard
{
public class BardFireThrenodyScroll : CSpellScroll
{
[Constructable]
public BardFireThrenodyScroll() : this( 1 )
{
}
[Constructable]
public BardFireThrenodyScroll( int amount ) : base( typeof( BardFireThrenodySpell )... | C# | Scripts/ACC Systems/Complete Spell System/-=+ 03 Systems/Bard/Scrolls/FireThrenodyScroll.cs | ironclad88/JustZH | gpl-3.0 | 749 | 38 | codeparrot/github-code |
3dde7a5cc43a2745700d0ae796c1c641e45516642e0eccef8386f9d67629c563 | /* This file is part of the db4o object database http://www.db4o.com
Copyright (C) 2004 - 2011 Versant Corporation http://www.versant.com
db4o is free software; you can redistribute it and/or modify it under
the terms of version 3 of the GNU General Public License as published
by the Free Software Foundation.
db4o ... | C# | tools/omn/OmControlLibrary/CustomControls/dbDataGridViewDateTimePickerColumn.cs | masroore/db4o | gpl-3.0 | 3,122 | 109 | codeparrot/github-code |
87a287dbd6e34186b3c07ed9fcd5b4ca5d2cfd842443f6aa0b5714a7046855a7 | // xImaWnd.cpp : Windows functions
/* 07/08/2001 v1.00 - Davide Pizzolato - www.xdp.it
* CxImage version 7.0.0 31/Dec/2010
*/
#include "ximage.h"
#include "ximaiter.h"
#include "ximabmp.h"
////////////////////////////////////////////////////////////////////////////////
#if defined (_WIN32_WCE)
#ifnd... | C++ | smelt/sdl/CxImage/ximawnd.cpp | chirs241097/bullet-lab-remix | gpl-3.0 | 61,973 | 1,901 | codeparrot/github-code |
a80b231926d8e349eb4894331471c8aaddb47d7e9120996c39106fa766709ffc | /*
* Title: CloudSim Toolkit
* Description: CloudSim (Cloud Simulation) Toolkit for Modeling and Simulation of Clouds
* Licence: GPL - http://www.gnu.org/copyleft/gpl.html
*
* Copyright (c) 2009-2012, The University of Melbourne, Australia
*/
package org.cloudbus.cloudsim.power.models;
import static... | Java | cloudsim-plus/src/test/java/org/cloudbus/cloudsim/power/models/PowerModelCubicTest.java | RaysaOliveira/cloudsim-plus | gpl-3.0 | 2,041 | 71 | codeparrot/github-code |
60f5c68bb8deff948689de086167675440f11996c4c945f466f3670311e87a33 | //----------------------------------------------------------------------------
/** @file GoStaticSafetySolver.cpp
See GoStaticSafetySolver.h.
*/
//----------------------------------------------------------------------------
#include "SgSystem.h"
#include "GoStaticSafetySolver.h"
#include "GoBlock.h"
#include "GoC... | C++ | fuegoia/go/GoStaticSafetySolver.cpp | tectronics/goia | gpl-3.0 | 6,454 | 229 | codeparrot/github-code |
19a0e52b3c53acf4f96bc264677c4679e18027387dac12c2cc68eb6365798d72 | // Copyright: 2010 - 2017 https://github.com/ensime/ensime-server/graphs
// License: http://www.gnu.org/licenses/gpl-3.0.en.html
package org.ensime.util
import org.scalatest.{ FlatSpec, Matchers }
import org.ensime.util.enums._
class EnumsSpec extends FlatSpec with Matchers {
private def marshall[T](
expected:... | Scala | util/src/test/scala/org/ensime/util/EnumsSpec.scala | VC1995/ensime-server | gpl-3.0 | 1,459 | 47 | codeparrot/github-code |
d8f2144da49e94ed231585578f22a3f9cd2e444978925ced42b2ec8b0f1c9d89 | <?php
$fileURL = '../'.$_POST['fileURL'];
$directoryToLoad = $_POST['directoryToLoad'];
$directoryStructure = $_POST['DirectoryStructure'];
$files = array();
$folders = array();
$folderItemIndex = array();
$fileItemIndex = array();
if (($directoryToLoad == 'root') && ($fileURL == '../')) {
$dire... | PHP | Applications/VideoPlayer/loadDirectory.php | RoySRC/Darsiv-2.0 | gpl-3.0 | 4,165 | 140 | codeparrot/github-code |
15c065f6d1ec0466511bb4876e7371249dec5e5d3d27863484a8e616e15c3f8d | /* FeatureVector.java
*
* created: Tue Oct 13 1998
*
* This file is part of Artemis
*
* Copyright (C) 1998,1999,2000 Genome Research Limited
*
* 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... | Java | uk/ac/sanger/artemis/FeatureVector.java | satta/Artemis | gpl-3.0 | 4,313 | 167 | codeparrot/github-code |
e7b25a69be851d83420757df4555797b49afac2d3013bf22d06994f78823d27b | //===-- utilities.cpp -------------------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | C++ | 3rd/templight/compiler-rt/lib/gwp_asan/utilities.cpp | sabel83/metashell | gpl-3.0 | 2,174 | 64 | codeparrot/github-code |
09decc6b2516dd501e8067b755b866636e8267dc55a6e99fa52c2ffd37e5e53b | /*****************************************************************************
*
* PROJECT: Multi Theft Auto v1.0
* LICENSE: See LICENSE in the top level directory
* FILE: core/CGUI.cpp
* PURPOSE: Core graphical user interface container class
*
* Multi Theft Auto is available from http://... | C++ | Client/core/CGUI.cpp | qaisjp/mtasa-blue | gpl-3.0 | 23,414 | 831 | codeparrot/github-code |
c1a99dd76a665ba0cc0de8fa5ad3db16706edebc8bf47759fe85197d5423a2b8 | package com.earth2me.essentials.commands;
import com.google.common.base.Charsets;
import com.google.common.io.CharStreams;
import com.google.common.reflect.TypeToken;
import com.google.gson.Gson;
import com.google.gson.stream.JsonWriter;
import com.earth2me.essentials.CommandSource;
import com.earth2me.essentials.Use... | Java | Essentials/src/com/earth2me/essentials/commands/Commandcreatekit.java | Azewilous/Essentials | gpl-3.0 | 7,349 | 162 | codeparrot/github-code |
18d8a8debfd5f838e38a70021bd5abb9debb472700ae72bf3c72b5e5cda20f0d | #!/usr/bin/env python
# encoding: utf-8
# Thomas Nagy, 2006-2010 (ita)
# Ralf Habacker, 2006 (rh)
# Yinon Ehrlich, 2009
"""
clang/llvm detection.
"""
import os, sys
from waflib import Configure, Options, Utils
from waflib.Tools import ccroot, ar
from waflib.Configure import conf
@conf
def find_clang(conf):
"""
... | Python | server/waflib/Tools/clang.py | Gnomescroll/Gnomescroll | gpl-3.0 | 4,637 | 154 | codeparrot/github-code |
d7514a5955cabe33268d81373ba350144e77f999c99bd725b6944fab3e470c9b | /*
This file is part of LilyPond, the GNU music typesetter.
Copyright (C) 1997--2015 Jan Nieuwenhuizen <janneke@gnu.org>
Han-Wen Nienhuys <hanwen@xs4all.nl>
LilyPond 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... | C++ | lily/source-file.cc | thSoft/lilypond-hu | gpl-3.0 | 8,654 | 383 | codeparrot/github-code |
18b0e888babe3c7c3899e6cb15ddd966cb3ce644cf6168b7e88ecc667a9c6acf | package cn.nukkit.command.defaults;
import cn.nukkit.Player;
import cn.nukkit.command.CommandSender;
import cn.nukkit.command.ConsoleCommandSender;
import cn.nukkit.utils.TextFormat;
public class MuteCommand extends VanillaCommand {
public MuteCommand(String name) {
super(name, "自分をミュート状態にします。", "/mute")... | Java | src/main/java/cn/nukkit/command/defaults/MuteCommand.java | JupiterDevelopmentTeam/JupiterDevelopmentTeam | gpl-3.0 | 1,075 | 42 | codeparrot/github-code |
cfac166e139b9e179b33f218182615c6eb2b322e3ada75ca376ea6e0024ed60f | /* xoreos - A reimplementation of BioWare's Aurora engine
*
* xoreos is the legal property of its developers, whose names
* can be found in the AUTHORS file distributed with this source
* distribution.
*
* xoreos is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Publ... | C++ | src/engines/nwn/gui/widgets/nwnwidget.cpp | xoreos/xoreos | gpl-3.0 | 2,057 | 91 | codeparrot/github-code |
9d86accaa60a1ddc381a77e711d5126c98619502afd2f20fc524399d55fe850c | using System;
using System.Linq;
using LeagueSharp;
using LeagueSharp.Common;
using SharpDX;
using Color = System.Drawing.Color;
using EloBuddy;
using LeagueSharp.Common;
namespace DonguKalista
{
class DamageIndicator
{
public delegate float DamageToUnitDelegate(AIHeroClient hero);
private... | C# | Core/Champion Ports/Kalista/DonguKalista/CustomDamageIndicator.cs | tk8226/YamiPortAIO-v2 | gpl-3.0 | 2,767 | 85 | codeparrot/github-code |
cc3cc8ac51d81641e31f0978142a62494330be7f521eb1fcfaa788f44007f66b | WScript.Echo("** The end of copyright notices **");
function quote(arg) {
arg = arg.replace(/"/g, '""');
return '"' + arg + '"';
}
var app = WScript.Arguments(0);
var args = [];
for (var i = 1; i < WScript.Arguments.Count(); ++i) {
args.push(quote(WScript.Arguments(i)));
}
var shell = new ActiveXObject("W... | JavaScript | tools/win/run-in-foreground.js | kendo-labs/kendo-bootstrapper | gpl-3.0 | 1,150 | 35 | codeparrot/github-code |
2cb640b6281cfd06d76d8158ff201d246ccd6cd17a5b879da867aee32a9c42f6 | /**
* UMM Schema Generator
* Copyright (C) 2014 ebIX, the European forum for energy Business Information eXchange.
*
* 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 ... | Java | org.ebix.umm.uml2text/xtend-gen/org/ebix/umm/uml2text/model/impl/BdtLibraryImpl.java | ebIX-TT/ebix | gpl-3.0 | 1,569 | 41 | codeparrot/github-code |
4ea4803ec9cd843dc1122b732dfd9dc042e3a620949e446046a655b74b02264a | package org.asamk.signal.manager.util;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.nio.file.Files;
import java.nio.file.attribute.BasicFileAttributes;
import java.nio.file.att... | Java | lib/src/main/java/org/asamk/signal/manager/util/IOUtils.java | AsamK/signal-cli | gpl-3.0 | 3,026 | 88 | codeparrot/github-code |
2a3b640d95414b2cef1e7b0630f006202fb3b9f4cf8ecb5423add4b89ed667b7 | <!doctype html>
<!-- SPDX-License-Identifier: GPL-3.0-or-later -->
<html lang=en-us>
<head>
<meta charset=utf-8>
<title>Netdata: Get control of your Linux Servers. Simple. Effective. Awesome.</title>
<meta name=author content="Costa Tsaousis">
<meta name=description content="Unparalleled insights, in re... | HTML | web/gui/dashboard/infographic.html | vlvkobal/netdata | gpl-3.0 | 9,648 | 172 | codeparrot/github-code |
b40fcae3c820a345ddffd4ed5b785254c8d1a53c3162019365a9d5a5e668db09 | //KK defines safe_malloc, safe_realloc
#include<stdio.h>
#include<stdlib.h>
static inline void* safe_malloc(size_t size){
void* p;
if ((p = malloc(size))==NULL){
fprintf(stderr, "ERROR: Out of Memory\n");
fflush(stderr);
fprintf(stdout, "ERROR: Out of Memory\n");
fflush(stdout);
exit(EXIT_... | C | src/mem_my.h | joaoraf/iprover | gpl-3.0 | 636 | 31 | codeparrot/github-code |
032944942e2cb09450e777f59783e45795ac0f0db3d97d055bbe76330d8784bf | /*
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 usefu... | C++ | libraries/AP_HAL_SITL/UARTDriver.cpp | diydrones/ardupilot | gpl-3.0 | 24,412 | 856 | codeparrot/github-code |
a79d75ee397a5d4abb2c78a8373a0f20299100762833cbb5c327994b302e637a | import math
import wx
import eos.db
import gui.mainFrame
from gui import globalEvents as GE
from gui.fitCommands.calc.cargo.remove import CalcRemoveCargoCommand
from gui.fitCommands.helpers import CargoInfo, InternalCommandHistory
from service.market import Market
class GuiRemoveCargosCommand(wx.Command):
def ... | Python | gui/fitCommands/gui/cargo/remove.py | DarkFenX/Pyfa | gpl-3.0 | 1,273 | 40 | codeparrot/github-code |
f73933cca9711081b0df9927a47662e728846d1dc6bc30dcea50d34c354fd183 | """
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,
but WITHOUT... | Python | AnimeWatch-PyQt5/Plugins/Nyaa.py | abhishek-archlinux/AnimeWatch | gpl-3.0 | 5,173 | 171 | codeparrot/github-code |
ac391c1ea2b3c0a38f9c48012b58690e5e26477cc6d3738fea8e6fec4a9977e4 | //
// MapChunkVertexLighting.cs
//
// Author:
// Jarl Gullberg <jarl.gullberg@gmail.com>
//
// Copyright (c) 2017 Jarl Gullberg
//
// 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,... | C# | libwarcraft/ADT/Chunks/Subchunks/MapChunkVertexLighting.cs | WowDevTools/libwarcraft | gpl-3.0 | 3,099 | 101 | codeparrot/github-code |
691cff3f28733dbf197a3f356c657f938fe8873e4a94ca3d1ea613a35d2b8ecc | #region Copyright & License Information
/*
* Copyright 2007-2013 The OpenRA Developers (see AUTHORS)
* This file is part of OpenRA, which is free software. It is made
* available to you under the terms of the GNU General Public License
* as published by the Free Software Foundation. For more information,
* see COP... | C# | OpenRA.Game/FileSystem/PackageEntry.cs | soniccol/OpenRedAlert_TW | gpl-3.0 | 2,623 | 111 | codeparrot/github-code |
3fe25c323c5384080ecbbea1d6d125ea4a6afce2edb05774a5e386741736370c | #ifndef EVENTLOGIN_H
#define EVENTLOGIN_H
#include <memory>
#include "IEvent.hpp"
class EventQueue;
/// Event for checking if the user's credentials are correct
class EventLogin : public IEvent {
void* data;
std::string username;
std::string password;
public:
/// Constructor
///
/// \param da... | C++ | src/event/EventLogin.hpp | 0x17de/Harpoon | gpl-3.0 | 760 | 32 | codeparrot/github-code |
39b2d000c86af0ff83f81d3c99547799ef982f2ac2cfbf79ef7b43299bf8e75a | #ifndef INCLUDED_SLS_PVALUES
#define INCLUDED_SLS_PVALUES
/* $Id: $
* ===========================================================================
*
* PUBLIC DOMAIN NOTICE
* National Center for Biotechnology Information
*
* This software/database is a "United States Go... | C++ | lib/alp/sls_pvalues.hpp | soedinglab/mmseqs2 | gpl-3.0 | 6,141 | 307 | codeparrot/github-code |
5fe35eb9915a4b1e6cf5e9f1f4f35f71b06338f32b825b949852c62cd6755554 | #include "componente.h"
// Iniciar_componente {{{1
void Componente::Iniciar_componente(int Escala,int Nivel, float Interframes, float estructura[18][14], vector<Animacion> Vanimacion, ALLEGRO_BITMAP **B){
fin_animacion=false;
animacion_activa=1;
animando=false;
no_componentes=0;
count=0;
fra... | C++ | Core/allegro/sidescroller/src3d/componente.cpp | baskerbill/Core | gpl-3.0 | 9,572 | 598 | codeparrot/github-code |
987879f7b67ed657e00685b164cb6bbc08374ab37adf243c9669b8827acb6000 | #!/usr/bin/env python
# encoding: utf-8
"""
Waf tool for ChibiOS build
"""
from waflib import Errors, Logs, Task, Utils
from waflib.TaskGen import after_method, before_method, feature
import os
import shutil
import sys
import re
import pickle
_dynamic_env_data = {}
def _load_dynamic_env_data(bld):
bldnode = bld... | Python | Tools/ardupilotwaf/chibios.py | yonahbox/ardupilot | gpl-3.0 | 13,403 | 352 | codeparrot/github-code |
4a2b9345c9f4928fb740561064f634c1ed2ffcbd59dd755fcec66ed56467d2b3 | package com.quran.labs.androidquran.model.bookmark;
import android.content.Context;
import android.net.Uri;
import androidx.annotation.NonNull;
import androidx.core.content.FileProvider;
import com.quran.labs.androidquran.R;
import com.quran.data.model.bookmark.BookmarkData;
import com.quran.labs.androidquran.databas... | Java | app/src/main/java/com/quran/labs/androidquran/model/bookmark/BookmarkImportExportModel.java | quran/quran_android | gpl-3.0 | 2,137 | 65 | codeparrot/github-code |
ec7f4b124080a94ba9a3e29dfcd4d3ef696039a7058b431be340a420632ab214 | //
// Created by sascha on 18.09.15.
//
#include "matador/sql/statement_impl.hpp"
namespace matador {
namespace detail {
statement_impl::statement_impl(basic_dialect *dialect, const matador::sql &stmt)
{
std::tie(sql_, bind_vars_, columns_) = dialect->prepare(stmt);
}
std::string statement_impl::str() const
{
... | C++ | src/sql/statement_impl.cpp | zussel/oos | gpl-3.0 | 846 | 53 | codeparrot/github-code |
44cfb9a530af4fae2389c3caf94010b34adad589b04a61caa73f6524bd6b6698 | #!/usr/bin/python
import sys,os
from email.Utils import COMMASPACE, formatdate
from email.MIMEMultipart import MIMEMultipart
from email.MIMEText import MIMEText
from email.MIMEImage import MIMEImage
from email.MIMEImage import MIMEImage
from email.MIMEBase import MIMEBase
from email import Encoders
import smtplib
impor... | Python | sendfile.py | fcauwe/brother-scan | gpl-3.0 | 1,234 | 43 | codeparrot/github-code |
72816fe50a00615f96bef30f95de7b958651fc620f41af1cf21a658605bae322 | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance w... | C | src/plugins/texteditor/codeassist/textdocumentmanipulator.h | qtproject/qt-creator | gpl-3.0 | 2,375 | 62 | codeparrot/github-code |
523e0fb9779409989357c9ba1e4509dd66fcd7d823c4c5c8792959bdf06c5702 | # ===================================================================
#
# Copyright (c) 2015, Legrandin <helderijs@gmail.com>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# 1. Redistributio... | Python | nuitka/Cryptodome/Hash/SHAKE256.py | hclivess/Stallion | gpl-3.0 | 4,663 | 128 | codeparrot/github-code |
e83a728d3e606f4c3c0781a042b4bf044d8556500bc992e060ed0be67c6062ff | ///////////////////////////////////////////////////////////////////////////////
// BOSSA
//
// Copyright (C) 2011-2012 ShumaTech http://www.shumatech.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 Softwa... | C | src/Flasher.h | flutterwireless/BOSSA-Arduino | gpl-3.0 | 1,635 | 56 | codeparrot/github-code |
ebebc6c9463da4fd65324f9965ca633becd6ba6885787ae5edc1760eddc8094f | // CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"));
else if (typeof define == "function" && define.amd) // A... | JavaScript | assets/js/addon/fullscreen.js | vsc55/endpointman | gpl-3.0 | 1,493 | 41 | codeparrot/github-code |
bcd9efe5cf6ff7f0e28d5e033422ccefb4270ac8814f49af3d96f6270f475064 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<meta name="generator"
content="HTML Tidy for Linux/x86 (vers 1st December 2004), see www.w3.org">
<link href="../../../../../style.css" rel="stylesheet" type="text/css">
<meta http-equiv="CONTENT-TYPE" content="text/html; charset=us-ascii">
<tit... | HTML | apps/STANDFIRE_v1.1/bin/capsis/class/capsis/extension/filter/general/FBooleansDialog_Help_en.html | STANDFIRE/standfire | gpl-3.0 | 2,099 | 60 | codeparrot/github-code |
b71ebfbcc818ff781547e4e707040814a528e4f73e29ca534a9643d154f6aeba | #-------------------------------------------------------------------------------
# Name: /faraday/deviceconfiguration.py
# Purpose: Configure the Faraday radio by manipulating relevant INI files
# and providing a Flask server to kick off programming with via
# proxy.
#
# Author: ... | Python | faraday/deviceconfiguration.py | FaradayRF/Faraday-Software | gpl-3.0 | 26,804 | 604 | codeparrot/github-code |
fc8a673442141db02b24a6f21fd4701dd8c6630d1a4cc41cca149616c66fada8 | <?php
/**
* Ahthor: lf
* Email: job@feehi.com
* Blog: http://blog.feehi.com
* Date: 2016/4/1415:42
*/
namespace backend\controllers;
use yii;
class ErrorController extends BaseController
{
public function actionIndex()
{
if (($exception = Yii::$app->getErrorHandler()->exception) === null) {
... | PHP | backend/controllers/ErrorController.php | allenphang/taiijibing | gpl-3.0 | 2,207 | 74 | codeparrot/github-code |
26d03b9f2f8eae5bf17f57e4068a75bf6c73f10bed93dd6f0b7e5edc3409ff6b | """
Python script 'process_NCEI_03_prcp_180d.py'
by Matthew Garcia, PhD student
Dept. of Forest and Wildlife Ecology
University of Wisconsin - Madison
matt.e.garcia@gmail.com
Copyright (C) 2015-2016 by Matthew Garcia
Licensed Gnu GPL v3; see 'LICENSE_GnuGPLv3.txt' for complete terms
Send questions, bug reports, any re... | Python | source/process_NCEI_03_prcp_180d.py | megarcia/GT16_JGRA | gpl-3.0 | 5,554 | 157 | codeparrot/github-code |
ce22a65e164e6596e018069bcdb871dd1fa64cbac7f023b7a0e278a3ad72c896 | /*
Copyright 2012, Bas Fagginger Auer.
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... | C++ | tiny/draw/shaderprogram.cpp | takenu/tiny-game-engine | gpl-3.0 | 3,463 | 138 | codeparrot/github-code |
aec68ae98517b2e356d6ec0c3bb1ca285b54c48ddd224c743c58a2b0c5674ed5 | /*
* Copyright (C) 2015 Mu Weiyang <young.mu@aliyun.com>
*
* 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 that it will be useful, b... | Java | src/com/young/apkdemo/ndk/JniActivity.java | jackwish/apkdemo | gpl-3.0 | 3,003 | 80 | codeparrot/github-code |
01dce84b41d17f72657e69a1ba7dd74a8991d5143bb6bac296258cca37f35fec | <!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<style>
body {
font-family: sans-serif;
}
pre {
background-color: #eeeeee;
padding: 1em;
white-space: pre-wrap;
}
</style>
</head>
<body>
... | HTML | android/res/raw/credits.html | kiwix/kiwix | gpl-3.0 | 3,448 | 125 | codeparrot/github-code |
ea90a2a5b1355edcaf5cda811d55dfde757e98f076904350bcd5c4ec24e50184 | // Copyright © 2010 - May 2014 Rise Vision Incorporated.
// Use of this software is governed by the GPLv3 license
// (reproduced in the LICENSE file).
package com.risevision.ui.client.common.widgets;
import com.google.gwt.dom.client.Style.Unit;
import com.google.gwt.event.logical.shared.ValueChangeEvent;
impo... | Java | src/com/risevision/ui/client/common/widgets/ScaleWidget.java | thinaire/rva | gpl-3.0 | 2,103 | 86 | codeparrot/github-code |
b126b93e2af31f6254fcaf9401385b613e28de4870e0c3020455681ce092b97f | #region License
// Copyright (c) 2013, ClearCanvas Inc.
// All rights reserved.
// http://www.clearcanvas.ca
//
// This file is part of the ClearCanvas RIS/PACS open source project.
//
// The ClearCanvas RIS/PACS open source project is free software: you can
// redistribute it and/or modify it under the terms of the G... | C# | Ris/Client/Workflow/Extended/ProtocolCodeSummaryComponent.cs | mayioit/MacroMedicalSystem | gpl-3.0 | 8,054 | 249 | codeparrot/github-code |
4dd4028c37cd055c3a09a1aa79d13ef49c5f7703033be9f53efd617283d252b8 | <?php
/**
*
* Created By SimTabi™
*
* Company SimTabi™ Creative Studios
* Company URL http://simtabi.com/ | info@simatbi.com
* Author @myImani | twitter.com/myImani
* Author URL www.mnimani.com | hello@mnimani.com
* Copyright Copyright © 2011-2013 SimTabi™ Creatives
* License... | PHP | tpov1/tpov1/install/system/controllers/installer.php | INAImexico/Transparencia-en-Publicidad-Oficial-TPO | gpl-3.0 | 30,179 | 818 | codeparrot/github-code |
c3280351cb2701ae34ec2d3e445a5e1358ef94fd8cc09b9bb195885f02df8d1f | /* -*-c++-*-
This file is part of the IC reverse engineering tool degate.
Copyright 2008, 2009 by Martin Schobert
Degate 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 | libtest/GateLibraryExporterTest.h | capturePointer/degate | gpl-3.0 | 1,185 | 47 | codeparrot/github-code |
acb8fe44cc3fa75ebb9b3ced188277a4ff024c8def34325931fe0df79aa98a9c | #pragma region Copyright (c) 2014-2017 OpenRCT2 Developers
/*****************************************************************************
* OpenRCT2, an open source clone of Roller Coaster Tycoon 2.
*
* OpenRCT2 is the work of many authors, a full list can be found in contributors.md
* For more information, visit h... | C++ | src/openrct2/paint/sprite/Sprite.cpp | zaxcav/OpenRCT2 | gpl-3.0 | 4,019 | 112 | codeparrot/github-code |
0125b6084a5adcd482fc0ceeb94a0c0aef6744c3846b79c998090113f774ddb6 | <?php
// Display the whole course as "weeks" made of of modules
// Included from "view.php"
/**
* Evaluation weekly format for course display - NO layout tables, for accessibility, etc.
*
* A duplicate course format to enable the Moodle development team to evaluate
* CSS for the multi-column layout in p... | PHP | course/format/weeks/format.php | orvsd/moodle22 | gpl-3.0 | 13,431 | 293 | codeparrot/github-code |
70e44864c63b5a62ab30233cbc2a76fa22e6ffff24feb1048745d8596dbd3ec5 | /*
* Copyright (C) 2016 Álinson Santos Xavier <isoron@gmail.com>
*
* This file is part of Loop Habit Tracker.
*
* Loop Habit Tracker 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 t... | Java | app/src/main/java/org/isoron/uhabits/activities/common/views/FrequencyChart.java | austil/uhabits | gpl-3.0 | 9,203 | 330 | codeparrot/github-code |
6198791f31b196f7643c583c5344930f5947154e10b551b01e68c128c5efec19 | #!/usr/bin/env python
#
# Copyright 2020 Free Software Foundation, Inc.
#
# This file is part of GNU Radio
#
# SPDX-License-Identifier: GPL-3.0-or-later
#
#
from gnuradio import gr, gr_unittest
import random, numpy
from gnuradio import digital, blocks, channels
class qa_linear_equalizer(gr_unittest.TestCase):
... | Python | gr-digital/python/digital/qa_linear_equalizer.py | jdemel/gnuradio | gpl-3.0 | 5,126 | 143 | codeparrot/github-code |
8371c4fd05cd9c282b79e21f80d72451508c79d962e0504b8eb1b5c20655dec0 | /*
Free Download Manager Copyright (c) 2003-2014 FreeDownloadManager.ORG
*/
#include "stdafx.h"
#include "FdmApp.h"
#include "Prg_GeneralPage.h"
#include "MainFrm.h"
#include "Prg_GeneralPage_FWDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
IM... | C++ | Prg_GeneralPage.cpp | DragonZX/fdm | gpl-3.0 | 6,210 | 216 | codeparrot/github-code |
d20533dec0dc9296779f278f889e1b8efa3cf446dc72a2c7058dcfc44d1c3872 | #region Copyright & License Information
/*
* Copyright 2007-2015 The OpenRA Developers (see AUTHORS)
* This file is part of OpenRA, which is free software. It is made
* available to you under the terms of the GNU General Public License
* as published by the Free Software Foundation. For more information,
* see COP... | C# | OpenRA.Mods.Common/Traits/Buildings/RepairableBuilding.cs | OmegaBolt/OpenRA | gpl-3.0 | 4,125 | 135 | codeparrot/github-code |
154a5d40783a8507addfe1634776711f132198f065a413172d87815d7b36451a |
#include "stdafx.h"
#include "RFLinkBase.h"
#include "../main/Logger.h"
#include "../main/Helper.h"
#include "../main/RFXtrx.h"
#include "hardwaretypes.h"
#include "../main/localtime_r.h"
#include "../main/SQLHelper.h"
#include "../main/mainworker.h"
#include "../main/WebServer.h"
#include "../webserver/cWebem.h"
#in... | C++ | hardware/RFLinkBase.cpp | eskibars/domoticz | gpl-3.0 | 37,401 | 1,199 | codeparrot/github-code |
61caf1565e211d40cc105b23104eb3538b6843107509b17db927e0672c6c470b | /*
* Copyright (C) 2013 Camptocamp
*
* This file is part of MapFish Print
*
* MapFish Print 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 l... | Java | src/test/java/apps/Main.java | jbjonesjr/mapfish-print | gpl-3.0 | 3,143 | 96 | codeparrot/github-code |
8b36d3def663107523d0afb4c8283dd7835f16a33a94179bca0d25993aa0fd9f | # -*- coding: utf-8 -*-
############################ Copyrights and license ############################
# #
# Copyright 2012 Vincent Jacques <vincent@vincent-jacques.net> #
# Copyright 2012 Zearin <zearin@gonk.net> ... | Python | ext/github/Hook.py | pymedusa/Medusa | gpl-3.0 | 9,634 | 245 | codeparrot/github-code |
d498b345af3fa0772d40bc104c4326d720ab4af55649ee013f0ac03180b6e3ef | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
\\/ M anipulation |
--------... | C++ | src/thermophysicalModels/specie/thermo/janaf/janafThermoI.H | OpenFOAM/OpenFOAM-5.x | gpl-3.0 | 11,094 | 449 | codeparrot/github-code |
52a32ff06753726026d36ef91ebb662586f1b330386513d4ea80d8d6523cfbf8 | package org.acmsl.javacss.css.parser;
import org.antlr.v4.runtime.ANTLRInputStream;
import org.antlr.v4.runtime.BailErrorStrategy;
import org.antlr.v4.runtime.CommonTokenStream;
import org.antlr.v4.runtime.tree.ParseTree;
import org.junit.Assert;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
import... | Java | src/test/java/org/acmsl/javacss/css/parser/StringTemplateCSSParserTest.java | rydnr/.JavaCSS.rt | gpl-3.0 | 1,551 | 48 | codeparrot/github-code |
6a1312492356b6b773b986cd2441964be19f1e3ea174f5fe94c55be2b23e746f | /**
* StaffInformer - Inform players about online staff
*
* Copyright (C) 2013-2014 matzefratze123
*
* 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 L... | Java | src/main/java/de/matzefratze123/staffinformer/command/CommandHandler.java | matzefratze123/StaffInformer | gpl-3.0 | 4,446 | 146 | codeparrot/github-code |
067614266b365b869d51ba7d44bad556164549f9ccfc7a77b9981e78cd6cf323 | /*
Copyright (C) 2013 - 2014 CurlyMo
This file is part of pilight.
pilight 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.
pilight ... | C | libs/pilight/events/actions/dim.c | wo-rasp/pilight | gpl-3.0 | 25,307 | 869 | codeparrot/github-code |
52c7cf5998758c00426b03dc37b61ae1684aea9868e2fd4065f327ef015bd050 | using System;
using Server;
namespace Server.Items
{
public class ZooRewardQuagmireStatue : Item
{
public override int LabelNumber { get { return 1073195; } } // A Quagmire Contribution Statue from the Britannia Royal Zoo.
[Constructable]
public ZooRewardQuagmireStatue()
: base( 0x2614 )
{
... | C# | Scripts/Distro/Engines/Collections/Moonglow Zoo/Rewards/Statues/ZooRewardQuagmireStatue.cs | xrunuo/xrunuo | gpl-3.0 | 757 | 38 | codeparrot/github-code |
286905a0c91bfcf7bb6f38040fe0dc34cabc0064d56f16621995e6376b508841 | package eu.siacs.conversations.generator;
import java.util.ArrayList;
import java.util.List;
import eu.siacs.conversations.entities.Account;
import eu.siacs.conversations.entities.Conversation;
import eu.siacs.conversations.services.MessageArchiveService;
import eu.siacs.conversations.services.XmppConnectionService;... | Java | src/main/java/eu/siacs/conversations/generator/IqGenerator.java | singpolyma/Conversations | gpl-3.0 | 6,638 | 182 | codeparrot/github-code |
4fcdcda1457aa428ac548b942909139b7a7d9c42d5cfde734475101fa95d728b | /* Copyright 2008 Mattias Norrby
*
* This file is part of Test Dept..
*
* Test Dept. 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 ve... | C | test/test-dept/examples/example_project/sut.c | gondree/nps-tpool | gpl-3.0 | 1,262 | 49 | codeparrot/github-code |
7bc8707321fe679f4429466c75d7d4c92108fb0b58826caa233ab88d86788bd8 | /*
* Broadcom Proprietary and Confidential. Copyright 2016 Broadcom
* All Rights Reserved.
*
* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Broadcom Corporation;
* the contents of this file may not be disclosed to third parties, copied
* or duplicated in any form, in whole or in part, without the prior
* writt... | C | hal/src/duo/wiced/security/BESL/include/besl_host_interface.h | XuGuohui/firmware | gpl-3.0 | 1,284 | 39 | codeparrot/github-code |
479d5fa06beae42cf4897ece01b23a0cab6bf07a524bfa6417fddbba333f43e0 | import BarButton from '../bar-button/bar-button';
import { useRef, useEffect } from 'react';
export default function ConnectionButton() {
const buttonRef = useRef();
const isUserConnected = elementorAdminTopBarConfig.is_user_connected;
useEffect( () => {
if ( ! buttonRef.current || isUserConnected ) {
return;... | JavaScript | modules/admin-top-bar/assets/js/components/connection-button/connection-button.js | pojome/elementor | gpl-3.0 | 996 | 33 | codeparrot/github-code |
a6346d1cdeb515b4528b370ce4a962a614fa41b4ce9f066cc13bf138243ee409 | #include "Copter.h"
void Copter::update_ground_effect_detector(void)
{
if(!g2.gndeffect_comp_enabled || !motors->armed()) {
// disarmed - disable ground effect and return
gndeffect_state.takeoff_expected = false;
gndeffect_state.touchdown_expected = false;
ahrs.setTakeoffExpected(gn... | C++ | ArduCopter/baro_ground_effect.cpp | Aerotenna/APM_OcPoC_Zynq | gpl-3.0 | 3,091 | 70 | codeparrot/github-code |
44a59b0f1436c7bcc1ef03d54a07f2e8a1150a8215c2e05bc75ee9617b7cb775 | /**
* Run this using node_modules/gulp/bin/gulp.js !!!
* mhm 8.6.2017
*/
'use strict';
import plugins from 'gulp-load-plugins';
//import rename from 'gulp-rename';
import yargs from 'yargs';
import gulp from 'gulp';
import rimraf from 'rimraf';
import yaml from 'js-yaml';
import fs from 'fs';
// Load all Gulp plu... | JavaScript | playground/twigjs/gulpfile.babel.js | mhmli/helpers | gpl-3.0 | 1,155 | 51 | codeparrot/github-code |
34857357eb88937689ec6bd6c070add6fe040558a655de771f863f71fca1d1fd | def interactiveConsole(a,b=None):
'''
Useful function for debugging
Placing interactiveConsole(locals(),globals()) into code will
drop into an interactive console when run
'''
import code
d = {}
if b:
d.update(b)
d.update(a)
c=code.InteractiveConsole(locals=d)... | Python | Sandbox/SecureDict.py | UnionGospelMission/UGM-Database | gpl-3.0 | 1,147 | 43 | codeparrot/github-code |
f63135ad54cd9e364bcb2b61c2bf73cf30da232a7cca6a0931aaf92acbbec68b | // RUN: %clang_cc1 %s -triple i686-pc-win32 -fsyntax-only -Wmicrosoft -Wc++11-extensions -Wno-long-long -verify -fms-extensions -fexceptions -fcxx-exceptions -DTEST1
// RUN: %clang_cc1 -std=c++98 %s -triple i686-pc-win32 -fsyntax-only -Wmicrosoft -Wc++11-extensions -Wno-long-long -verify -fms-extensions -fexceptions -f... | C++ | llvm/tools/clang/test/SemaCXX/MicrosoftExtensions.cpp | montimaj/ShaktiT_LLVM | gpl-3.0 | 15,123 | 525 | codeparrot/github-code |
ef1a5e9cb452ef478f80c6620b317dc2ec0591046c145ac88b44784e9bc4d692 | <?php //#SCOPE_OS_PUBLIC
/*******************************************************************************
#LIC_FULL
@author Troy Hurteau <jthurtea@ncsu.edu>
Router Plugin to add a stack of values after the matched action
*******************************************************************************/
class Saf_Cont... | PHP | lib/Saf/Controller/Front/Plugin/RouteResourceStack.php | jthurteau/saf | gpl-3.0 | 4,238 | 117 | codeparrot/github-code |
a34438bc658a0b0c38ece4292add20402c7ace0d268f9b1e6e1547819c9ab713 | #add by sq.luo
import andbug.command, andbug.screed
import andbug.vm
def stepComplete(t):
t = t[0]
with andbug.screed.section("Single step complete in %s, suspended." % t):
showCallStack(t, 1)
def showCallStack(t, count = 0):
if count >= len(t.frames) or count <= 0:
count = len(t.f... | Python | lib/andbug/cmd/step.py | anbc/AndBug | gpl-3.0 | 3,688 | 103 | codeparrot/github-code |
86e58ed0723768032989da31a88a5dce3a59af1e5ff84242ae56c87ab6dd102c | package org.sosy_lab.cpachecker.cpa.policyiteration.congruence;
import java.util.Iterator;
import java.util.Map;
import java.util.Map.Entry;
import org.sosy_lab.cpachecker.cpa.policyiteration.Template;
import com.google.common.base.Optional;
import com.google.common.collect.ImmutableMap;
public class CongruenceStat... | Java | cpachecker/src/org/sosy_lab/cpachecker/cpa/policyiteration/congruence/CongruenceState.java | nishanttotla/predator | gpl-3.0 | 1,033 | 41 | codeparrot/github-code |
257de24e7f7fa1d886647f0f51a02452bf7d610211eb5b3c21c513accf97927a | /*
BlamLib: .NET SDK for the Blam Engine
See license\BlamLib\BlamLib for specific license information
*/
using System;
using System.Collections.Generic;
using System.Text;
namespace BlamLib.Blam.Halo2
{
/// <summary>
/// Utility class for converting Halo 1 tags to Halo 2
/// </summary>
public class Converter
{... | C# | BlamLib/BlamLib/Blam/Halo2/Convert.cs | BipolarAurora/H-CE-Opensauce-V5 | gpl-3.0 | 1,277 | 57 | codeparrot/github-code |
25bb6507a391af05fc67c9630d9d6da46a843e6a1c4eecb118bab57fa85332e5 | /* ------------------------------------------------------------------------
degreaser - A tool for detecting network tarpits.
Copyright (c) 2014, Lance Alt
This file is part of degreaser.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Pu... | C++ | src/subnet.cpp | cmand/degreaser | gpl-3.0 | 2,980 | 124 | codeparrot/github-code |
508d590f8d64fbf3fde646301d3643f72e681434b149b82187ec002a53515472 | <html><head>
<style type="text/css">
<!--
*
{
visibility: visible !important;
overflow: visible !important;
user-select:normal !important;
-moz-user-select:normal !important;
-webkit-user-select:normal !important;
user-focus:normal !important;
-moz-user-focus:normal !important;
-web... | HTML | datasets/L3S-GN1/annotated/506df3c3-f5bf-4f4a-bd32-80a3f1fb97d7.html | villasv/pyWebNectar | gpl-3.0 | 27,722 | 673 | codeparrot/github-code |
2057e0314d7e8342deef7e37c70e02de7f733a2f9c426188c8db4ce402c6c337 | /* ---------------------------------------------------------------------
* Numenta Platform for Intelligent Computing (NuPIC)
* Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
* with Numenta, Inc., for a separate license for this software code, the
* following terms and conditions apply:
*
* This ... | C++ | src/main/os/Path.cpp | tsenggordon/nupic.core.gordon | gpl-3.0 | 22,560 | 862 | codeparrot/github-code |
c588b8b9435a10bb759d0604d3730c6242736f47192000b2665c490d47fa0f39 | // EPOS Memory Segment Abstraction Declarations
#ifndef __segment_h
#define __segment_h
#include <mmu.h>
__BEGIN_SYS
class Segment: public MMU::Chunk
{
private:
typedef MMU::Chunk Chunk;
public:
typedef CPU::Phy_Addr Phy_Addr;
typedef MMU::Flags Flags;
public:
Segment(unsigned int bytes, const Col... | C | ine5424/include/segment.h | fmreina/20162-INE5424-Agrupamento2-Tema1.1-ComponentesDeControleEAutomacao-17 | gpl-3.0 | 595 | 32 | codeparrot/github-code |
2d9e494496a6c35317c7cae80e1188bc9a8091bb6a4a0ffcb5f2b73bd8759e42 | /*****************************************************************************
* Copyright (c) 2014 Ted John
* OpenRCT2, an open source clone of Roller Coaster Tycoon 2.
*
* This file is part of OpenRCT2.
*
* OpenRCT2 is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... | C | src/windows/guest_list.c | daihakken/OpenRCT2 | gpl-3.0 | 27,188 | 949 | codeparrot/github-code |
b8045a20c4cefe204015f30e5a07014e6ce451b68836de600b544a482c33e873 | package eu.siacs.conversations.entities;
import android.content.ContentValues;
import android.database.Cursor;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import java.util.ArrayList;
import java.util.List;
import java.util.Locale;
import eu.siacs.conversations.utils.UIHelpe... | Java | src/main/java/eu/siacs/conversations/entities/Contact.java | goutomroy/Conversations | gpl-3.0 | 13,247 | 506 | codeparrot/github-code |
5fd048e2889cf2b53f769576a54fb7f0f4bbb48c85939b71c3355b8372a40e96 | // -*- Mode: Go; indent-tabs-mode: t -*-
/*
* Copyright (C) 2014-2015 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 hop... | GO | overlord/snapstate/booted.go | ubuntu-core/snappy | gpl-3.0 | 2,708 | 96 | codeparrot/github-code |
47507d3934f9e18eda118a0a453ab9fe45b73a4cd915ce893c9f9c579bf90a81 | /*
* linux/drivers/mmc/core/core.c
*
* Copyright (C) 2003-2004 Russell King, All Rights Reserved.
* SD support Copyright (C) 2004 Ian Molton, All Rights Reserved.
* Copyright (C) 2005-2008 Pierre Ossman, All Rights Reserved.
* MMCv4 support Copyright (C) 2006 Philip Langdale, All Rights Reserved.
*
* This ... | C | linux-3.14.52/drivers/mmc/core/core.c | sdphome/UHF_Reader | gpl-3.0 | 69,048 | 2,798 | codeparrot/github-code |
dff0729d827faa0fc16b2c4ffc840ade25921c6445a34e1e175fec3f3ea264b7 | /*
* Copyright (c) 2021 OBiBa. All rights reserved.
*
* This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*... | Java | opal-gwt-client/src/main/java/org/obiba/opal/web/gwt/app/client/magma/derive/DeriveConclusionPresenter.java | kazoompa/opal | gpl-3.0 | 7,507 | 219 | codeparrot/github-code |
f956f6a5746300aca74389fa28edf8d04607044d0c420c9d2f2fa552829b9b4a | # Speak.activity
# A simple front end to the espeak text-to-speech engine on the XO laptop
# http://wiki.laptop.org/go/Speak
#
# Copyright (C) 2008 Joshua Minor
# This file is part of Speak.activity
#
# Parts of Speak.activity are based on code from Measure.activity
# Copyright (C) 2007 Arjun Sarwal - arjun@laptop.or... | Python | eye.py | walterbender/speak | gpl-3.0 | 4,073 | 128 | codeparrot/github-code |
b255ab53d09f73c588febdf3fc2a4fc0e5f2deac8c707d76b4b7a2dd1258a9ce | /* Routines to insert, append and delete FITS cards from a header.
These routines allow FITS cards to be inserted, appended and deleted
by keyword value.
The insertion routines format a new card with the supplied keyword and
value and insert it after indicated card. The append routines add new
cards t... | C | funtools/fitsy/headins.c | SAOImageDS9/SAOImageDS9 | gpl-3.0 | 4,607 | 206 | codeparrot/github-code |
855194772afbfb973393208bb911179745ac690eebe9cdbef1faeef4ee8c8642 |
Ext.define('Redwood.view.ExecutionView', {
extend: 'Ext.panel.Panel',
alias: 'widget.executionview',
overflowY: 'auto',
bodyPadding: 5,
dataRecord: null,
dirty: false,
loadingData: true,
viewType: "Execution",
noteChanged: false,
tcDataRefreshed: false,
initComponent: funct... | JavaScript | public/view/ExecutionView.js | chenc4/RedwoodHQ | gpl-3.0 | 84,657 | 1,946 | codeparrot/github-code |
a77a6a6d8646eb96a5f15b2f16b85191a8d76a9f2aa0695be15a207ca2478341 | package org.thoughtcrime.securesms.jobs.requirements;
import android.content.Context;
import org.thoughtcrime.securesms.jobmanager.dependencies.ContextDependent;
import org.thoughtcrime.securesms.jobmanager.requirements.NetworkRequirement;
import org.thoughtcrime.securesms.jobmanager.requirements.Requirement;
import ... | Java | src/org/thoughtcrime/securesms/jobs/requirements/NetworkOrServiceRequirement.java | FeuRenard/Signal-Android | gpl-3.0 | 986 | 31 | codeparrot/github-code |
26c55ae7749e6af2d4afa1b681b422eca04c9382ed23898d0db14a87bc3badeb | /*
* Copyright 2009 Jonathan Grochowski
*
* This file is part of onsie.
*
* onsie 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 la... | Java | src/com/jgrocho/uno/GameTest.java | TheProjecter/onsie | gpl-3.0 | 4,150 | 160 | codeparrot/github-code |
6cdff04fb563a208f93fbf961f0d2be1c8a447543d2b961e0c159174908d2274 | /* Default color scheme */
@define-color base_color #dadada;
@define-color bg_color #c6c6c6;
@define-color text_color #161616;
@define-color fg_color #242424;
@define-color selected_bg_color #4a6787;
@define-color selected_fg_color #fff;
@define-color tooltip_bg_color #040404;
@define-color tooltip_fg_color #fff;
/* C... | CSS | MediterraneanWhiteNight/gtk-3.0/gtk.css | darvelo/pkg-mediterranean-gtk-themes | gpl-3.0 | 11,914 | 305 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.