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 |
|---|---|---|---|---|---|---|---|---|
92d1c94bf6b207d53ba33ed5c3e0918aa8cc317b1deb540e3ed5ff566ebdadaf | /*
* Copyright (c) 2016 - 2019 Rui Zhao <renyuneyun@gmail.com>
*
* This file is part of Easer.
*
* Easer 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 o... | Java | app/src/main/java/ryey/easer/core/data/Helper.java | renyuneyun/Easer | gpl-3.0 | 5,524 | 145 | codeparrot/github-code |
b3d86ff5eb81427313ca0001a9153b3667df82389954e57b0648faf2cf85a3fd | /* Copyright (C) 2014 Colin Pronovost
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
any later version.
This program is distributed in the hope that it wil... | C | src/main.c | AstralSorcerer/4D-sudoku | gpl-3.0 | 1,303 | 48 | codeparrot/github-code |
d5c66d3805675bcd45ecf1ce0a11a9fe8de6617d49345d2297f804ba39ffe14e | '
' * Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved.
' * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
' *
' *
' *
' *
' *
' *
' *
' *
' *
' *
' *
' *
' *
' *
' *
' *
' *
' *
' *
' *
'
Namespace java.nio.file
''' <summary>
''' This class consists exclusively of st... | Visual Basic | java/nio/file/Paths.vb | amethyst-asuka/java_dotnet | gpl-3.0 | 5,988 | 144 | codeparrot/github-code |
3e0f837a08af1e1bef9c455198530d173fd114f2aefb1c4432d98d6388552bf5 | // Copyright 2011: Eugen Sawin, Philip Stahl, Jonas Sternisko
#include <gmock/gmock.h>
#include <ostream>
#include <vector>
#include <string>
#include <map>
#include <set>
#include <cmath>
#include <ctime>
#include "./GtestUtil.h"
#include "../src/Utilities.h"
using std::vector;
using std::map;
using std::set;
using s... | C++ | test/UtilitiesTest.cpp | eamsen/transit-planner | gpl-3.0 | 3,646 | 118 | codeparrot/github-code |
bc99249e356810518247d3abfed14ce75c418472848ae70b12299539700f6e75 | /*
Copyright (C) 2014 Marchuk S.
This file is part of "Ostinato"
This 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 dist... | C++ | common/lacpconfig.cpp | PLVision/ostinato-protocols | gpl-3.0 | 21,170 | 499 | codeparrot/github-code |
2cb19c6cb648375dd4de83a44aab2fc1c7015d936df23a0701b3e91374e95106 | <?php
/**
* Class for handling settings admin pages
*
* @package WPVC
*/
if ( ! class_exists( 'WPVC_Settings' ) ) {
class WPVC_Settings extends WPVC_Base {
function __construct( $activate = false ) {
parent::__construct( WPVC_SETTINGS_KEY, $this->generate_defaults(), 'wpvc-settings', 'ammap_setting... | PHP | inc/class-wpvc-settings.php | fero8/wp-visited-countries | gpl-3.0 | 19,179 | 559 | codeparrot/github-code |
6f6f1e8dcf0fbc6398b9dbecde5249411ac50fc10c38ae3f8b6cedeeb6ca950a | /*******************************************************************************
* Copyright (c) 2017 Federal Institute for Risk Assessment (BfR), Germany
*
* 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... | Java | src/main/java/de/bund/bfr/fskml/RScript.java | SiLeBAT/fskml | gpl-3.0 | 3,624 | 106 | codeparrot/github-code |
162fd4c1c6146372141f86ea0ab0a2a8b2e7ae962802e4f6c1cf2c0422264383 | /*
* Copyright (C) 2010 Markus Echterhoff <evopaint@markusechterhoff.com>
*
* This file is part of EvoPaint.
*
* EvoPaint 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 Lic... | Java | src/evopaint/gui/util/DragDropList.java | unixtam/EvoPaint | gpl-3.0 | 4,680 | 147 | codeparrot/github-code |
b3a32d0d065847299c9e4676e21a8010419fa1b1d2ca690f8d1eb063001933d2 | /****************************************************************************
Copyright (c) 2014 Chukong Technologies Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Sof... | C++ | cocos2d/cocos/3d/CCAnimate3D.cpp | jun496276723/CocosMFCEditor | gpl-3.0 | 17,443 | 535 | codeparrot/github-code |
fa464a51b267072b5c3c880b9c54b82a00e8bbeee0616dd2d8398decac288746 | /*
* Pixel Dungeon
* Copyright (C) 2012-2014 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.
*
* ... | Java | RemixedDungeon/src/main/java/com/watabou/pixeldungeon/Assets.java | NYRDS/pixel-dungeon-remix | gpl-3.0 | 12,247 | 278 | codeparrot/github-code |
ff24626ae3ef237bade71e08f179f98c0350fb75be2eb4f6bc78e584d0ca8ad1 | /*
* Copyright (C) 2013 Open Education Foundation
*
* Copyright (C) 2010-2013 Groupement d'Intérêt Public pour
* l'Education Numérique en Afrique (GIP ENA)
*
* This file is part of OpenBoard.
*
* OpenBoard is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public Li... | C++ | src/gui/UBActionPalette.cpp | OpenEducationFoundation/OpenBoard | gpl-3.0 | 7,139 | 321 | codeparrot/github-code |
80c7076cb9403fc0d33c79dca1366be706fee8aa7570dd96af3169c871063a75 | #include<stdio.h>
#include<iostream>
#include<sstream>
#include<list>
#include<string>
using namespace std;
//Definir funciones
void func(string str){
int pos=0;
list<char> cs;
list<char>::iterator it=cs.end();
for(pos=0;pos<str.length();pos++){
if(str[pos]=='-'){
it=cs.begin();
}else if(str[pos]=... | C++ | algorithms/-tecladoEstropeado/tecladoEstropeado.cpp | oka-haist/codeHere | gpl-3.0 | 770 | 41 | codeparrot/github-code |
59a567fbbb0645fa7c4bfa8d63875d99693a21a3194aa80b69845200d1f6c965 | using AppUsage.Infrastructure.Data.Base;
using AppUsage.Infrastructure.Data.Contexts;
using AppUsage.Infrastructure.Data.Repositories;
using AppUsage.Infrastructure.Logging;
using System;
using System.Threading.Tasks;
namespace AppUsage.Infrastructure.Data
{
public class UnitOfWork : IUnitOfWork
{
pri... | C# | AppUsage/AppUsage.Infrastructure.Data/UnitOfWork.cs | tiagopache/app-usage | gpl-3.0 | 2,145 | 77 | codeparrot/github-code |
1f959f86c172a7a824bcf6dd64ca2b596d957d1759efee8f4fa6b5c4fcf957c3 | #!/usr/bin/python
"""
Starter code for the validation mini-project.
The first step toward building your POI identifier!
Start by loading/formatting the data
After that, it's not our code anymore--it's yours!
"""
import pickle
import sys
sys.path.append("../tools/")
from feature_format import featur... | Python | machine learning/Udacity/ud120-projects/validation/validate_poi.py | yavuzovski/playground | gpl-3.0 | 1,149 | 35 | codeparrot/github-code |
ee3789d2922b039c5b7ad1f1184d078f22dd04c03c89bd1a13d94be5aec539bd | /// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
/*
* location.cpp
* Copyright (C) Andrew Tridgell 2011
*
* This file 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 v... | C++ | libraries/AP_Math/location.cpp | meee1/ardupilotold | gpl-3.0 | 5,379 | 164 | codeparrot/github-code |
df96a19d19019ae013067b8e5ed7563e902028540762ab19858208dd83366ed1 | using System;
using System.Collections.Generic;
using System.Data;
using TAMU.GeoInnovation.PointIntersectors.Census.OutputData.CensusRecords;
using USC.GISResearchLab.Census.Core.Configurations.ServerConfigurations;
using USC.GISResearchLab.Common.Databases.QueryManagers;
namespace TAMU.GeoInnovation.PointIntersect... | C# | src/Main/AbstractClasses/Census2010/AbstractCensus2010PointIntersectorTest.cs | TamuGeoInnovation/TAMU.GeoInnovation.PointIntersectors.Census.SqlServer.Test | gpl-3.0 | 4,607 | 76 | codeparrot/github-code |
d9f5a1adda26be4873639f2e39bbc670e73f9cd014f53d823d7eb064a67694a6 | namespace DecoratorPattern2
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <... | C# | Week 4/DecoratorPattern2/Form1.Designer.cs | daria-mih/DPR | gpl-3.0 | 11,210 | 231 | codeparrot/github-code |
a188c53dba2567d9fd2070d664c4c39b8e525981128ff6dc07cd2dd231777178 | #!/usr/bin/perl
# sudo apt-get install libio-async-perl libgetopt-long-perl
use v5.10;
use IO::Async::Loop;
use IO::Async::Stream;
use IO::Async::Timer::Periodic;
use autodie qw/:io/;
use Getopt::Long qw/:config gnu_getopt/;
my $jobtabfile = '/usr/local/etc/upy-switch-systemd/jobtab';
GetOptions('jobtab=s' => \$... | Perl | host/upy-switch-systemd.pl | nmbooker/upy-switch-led-panel | gpl-3.0 | 1,843 | 96 | codeparrot/github-code |
3776adfdba3978b91c983523bbc3b57c9f1a14cd79e24e09d5566e1eebb099ab | define([
'app',
'core/UIComponent',
'./interface'
], function (app, UIComponent, Input) {
'use strict';
return UIComponent.extend({
id: 'directus_user',
system: true,
sortBy: ['first_name', 'last_name'],
Input: Input,
dataTypes: ['INT'],
list: function (interfaceOptions) {
var ... | JavaScript | app/core/interfaces/user/component.js | Sonans/directus | gpl-3.0 | 967 | 43 | codeparrot/github-code |
caf406488f9c4b8bc8050f8ba4c775896bf366c3a3c5999a8a8ccf5819e8e809 | package com.legobmw99.allomancy.modules.powers.data;
import com.legobmw99.allomancy.api.data.IAllomancerData;
import com.legobmw99.allomancy.api.enums.Metal;
import com.legobmw99.allomancy.network.Network;
import net.minecraft.core.BlockPos;
import net.minecraft.core.Registry;
import net.minecraft.nbt.CompoundTag;
imp... | Java | src/main/java/com/legobmw99/allomancy/modules/powers/data/DefaultAllomancerData.java | legobmw99/Allomancy | gpl-3.0 | 9,816 | 338 | codeparrot/github-code |
e669ef3d878273688aee5434797dff812a2361feb167c7609ff1bf1e2724911a | /**
* @file
* A Backbone View that provides a dynamic contextual link.
*/
(function ($, Backbone, Drupal) {
"use strict";
Drupal.edit.ContextualLinkView = Backbone.View.extend({
events: function () {
// Prevents delay and simulated mouse events.
function touchEndToClick (event) {
event.preventDe... | JavaScript | core/modules/edit/js/views/ContextualLinkView.js | Ignigena/bethel-dashboard | gpl-3.0 | 1,478 | 60 | codeparrot/github-code |
df9244d5f014b5caa595e6269999d4feff71b77618dd69c6d55df234e6fa42e6 | // Decompiled with JetBrains decompiler
// Type: System.Runtime.InteropServices.WindowsRuntime.IReadOnlyListToIVectorViewAdapter
// Assembly: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
// MVID: 255ABCDF-D9D6-4E3D-BAD4-F74D4CE3D7A8
// Assembly location: C:\Windows\Microsoft.NET\Framewor... | C# | LoCO Client Files/Decompressed Client/Extracted DLL/mscorlib/System/Runtime/InteropServices/WindowsRuntime/IReadOnlyListToIVectorViewAdapter.cs | mater06/LEGOChimaOnlineReloaded | gpl-3.0 | 3,125 | 99 | codeparrot/github-code |
e314123ecc0d4d1c11b806699f14bedf6d0775955cb0fdb3fd8155b70b25e7d9 | #!/usr/bin/python
from tldextract.tldextract import LOG
from NPSpyder import NPSpyder
from NPSpyderBR import NPSpyderBR
import logging
import re
import gc
logging.basicConfig(level=logging.CRITICAL)
total = 0
# Brazil
#--------------------------
# Build Estadao: Working, last revision on 02/10/2020
try:
estadaoR... | Python | crawler/RetrieveArticles.BR.py | brvnl/master | gpl-3.0 | 8,484 | 263 | codeparrot/github-code |
c0ffce308ec1421a1f47635ccfb01549306cc408cc934b0be65ddc5ea6d4eaa0 | <?php
namespace WPGraphQL\Server;
use GraphQL\Server\Helper;
use GraphQL\Server\OperationParams;
use GraphQL\Server\RequestError;
/**
* Extends GraphQL\Server\Helper to apply filters and parse query extensions.
*
* @package WPGraphQL\Server
*/
class WPHelper extends Helper {
/**
* Parses normalized request p... | PHP | src/Server/WPHelper.php | wp-graphql/wp-graphql | gpl-3.0 | 3,589 | 102 | codeparrot/github-code |
c3ce6416db8be5ff6617c1e1d0edb55396a1193a569b456a7cd8998397d3e065 | ################################################################################
# copyright 2010 Lucas Baudin <xapantu@gmail.com> #
# #
# This file is part of Ultimate Smash Friends. ... | Python | usf/screens/network_game_conf_screen.py | tshirtman/ultimate-smash-friends | gpl-3.0 | 6,713 | 177 | codeparrot/github-code |
a6f6fc39635ece85dba3d9e602aef320b70d0a56338ae57f85f1fc365f0c573f | /*
* ebt_ip
*
* Authors:
* Bart De Schuymer <bdschuym@pandora.be>
*
* April, 2002
*
* Changes:
* added ip-sport and ip-dport
* Innominate Security Technologies AG <mhopf@innominate.com>
* September, 2002
*/
#include <linux/ip.h>
#include <net/ip.h>
#include <linux/in.h>
#include <linux/module.h>... | C | net/bridge/netfilter/ebt_ip.c | williamfdevine/PrettyLinux | gpl-3.0 | 3,479 | 189 | codeparrot/github-code |
180944954bd888dbbba04ea5865d1e134b4f414aa16344d048184088db486675 | package pe.com.ctaf.beautyapp.models;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
public class ServicesEntity extends BaseEntity{
public ServicesEntity(Connection connection) {
super(connection, "service");
}
... | Java | src/pe/com/ctaf/beautyapp/models/ServicesEntity.java | damasiojcely/BeautyAppService | gpl-3.0 | 3,839 | 102 | codeparrot/github-code |
77b67d2bd026175c26f792d229f78b6b2103b0d0a3a643845ad50ef19519a839 | /*
* Decompiled with CFR 0_114.
*/
package com.cburch.logisim.gui.opts;
import com.cburch.logisim.data.Attribute;
import com.cburch.logisim.data.AttributeEvent;
import com.cburch.logisim.data.AttributeListener;
import com.cburch.logisim.data.AttributeSet;
import com.cburch.logisim.file.Options;
import com.cburch.log... | Java | 232/logisim-ceng232-20090616_source_from_cfr/com/cburch/logisim/gui/opts/ToolbarOptions.java | kadircet/CENG | gpl-3.0 | 9,131 | 243 | codeparrot/github-code |
71e8e2abaa03f43f6313fb7f85e3c14a868cd4ebfab45f1185ef3d3d5b3cd168 | /*
* Copyright (C) 2017 Pivotal Software, Inc.
*
* 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 progra... | Java | backend/model-mongodb/src/main/java/com/grinnotech/patients/model/Organization.java | sjacek/patients | gpl-3.0 | 2,213 | 70 | codeparrot/github-code |
e050042720d5e0680a989bffc892ec3c1e79b5323d5d185222f4e9dab5bd4df1 | #ifndef PAGE_INFOMATION_H
#define PAGE_INFOMATION_H
//
// The HTML PAGE
//
const char PAGE_Information[] = R"=====(
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="style.css" type="text/css" />... | C | firmware/Demo_neo/Page_Information.h | FablabLannion/Trender | gpl-3.0 | 2,200 | 75 | codeparrot/github-code |
66bcf98dc56df730912668be9a46d3ded23e9f20b94df89a57d452f653149cc0 | import React from 'react';
import {Link} from "react-router";
import steem from 'steem';
import moment from 'moment';
import http from 'http';
import _ from 'lodash';
import until from 'async/until';
import Dispatcher from "../Dispatcher";
import Store from "../Store";
import Loader from "../components/Loader";
cons... | JavaScript | src/views/Tools.js | AugustoL/BKCBlog | gpl-3.0 | 5,575 | 202 | codeparrot/github-code |
2d79fd1c9ddcb3f0065c69606c65ef9961d1685681fc5adb63e6c421b79d769c | #pragma once
#include <libwebthree/SystemManager.h>
#include "AdminUtilsFace.h"
namespace dev
{
namespace rpc
{
class SessionManager;
class AdminUtils: public dev::rpc::AdminUtilsFace
{
public:
AdminUtils(SessionManager& _sm, SystemManager* _systemManager = nullptr);
virtual RPCModules implementedMo... | C | libweb3jsonrpc/AdminUtils.h | bcosorg/bcos | gpl-3.0 | 688 | 31 | codeparrot/github-code |
294b5c69e21ae00a2581912b0cfd891c4af18d1773a731298659737a22931229 | import Ionicons from 'react-native-vector-icons/Ionicons'
import { PixelRatio } from 'react-native'
import { themeColors } from '../theme'
const navIconSize = (__DEV__ === false && Platform.OS === 'android') ? PixelRatio.getPixelSizeForLayoutSize(40) : 40; // eslint-disable-line
const replaceSuffixPattern = /--(active|... | JavaScript | app/images/Icons.js | fullstack-zmrdi/bounty-land-app | gpl-3.0 | 1,342 | 47 | codeparrot/github-code |
cef4330e1c19cc261ad792a679cbf5c443cd33dfe0e92e3a9de5611e8450f4b8 | package org.mstream.scrum.query.user;
import org.axonframework.eventhandling.annotation.EventHandler;
import org.mstream.scrum.api.user.event.UserAccountCreated;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.config.BeanDefinition;
import org.springframework.co... | Java | src/main/java/org/mstream/scrum/query/user/UserAccountQueryListener.java | mstream/MScrum | gpl-3.0 | 1,386 | 42 | codeparrot/github-code |
e0b42eeee83cf4002306e4e78e05ff57322814d267f5727396016a6f0fa5202c | /*
* Copyright (C) 2015 saurav
*
* 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 dis... | Java | src/test/java/edu/vt/owml/saurav/raininterpolation/IDWInterpolatorTest.java | skp703/RainInterpolator | gpl-3.0 | 4,199 | 130 | codeparrot/github-code |
6b53a7a85df4b3a128d672d1527562b4c9f8b7d77f0c2b624532f3fc8ad25583 | /*
===========================================================================
Copyright (c) 2010-2014 Darkstar Dev Teams
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 Lice... | C | xiloader/defines.h | Cloudef/xiloader-wine | gpl-3.0 | 2,966 | 94 | codeparrot/github-code |
71334fe55e2ba3cee7d4eaa080498edeff3c493f981aa11a4ec2920985311b18 | import sys, os, csv, pprint, math
from collections import OrderedDict
import numpy as np
import random
import shutil
import math
import matplotlib
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D
import scipy.stats
import itertools
from matplotlib.colors import ListedColormap, NoNorm
from matplo... | Python | src/analyse_results/AnalyseResults_ExecutionCosts.py | roshantha9/AbstractManycoreSim | gpl-3.0 | 14,740 | 343 | codeparrot/github-code |
7e4316f9870fe1fd8809f8efd630e56cf659e5b0c667e03d92ad5378d3e2236a |
<?php
/*
* ***************************************************
* ** Online Examination System ***
* **----------------------------------------------***
* ** License: GNU General Public License V.3 ***
* ** Author: Manjunath Baddi ***
* ** Title: Prepare Questions(Add,... | PHP | tc/prepqn.php | vaishalitekale/quoe | gpl-3.0 | 20,697 | 369 | codeparrot/github-code |
e9624da7f61916f8236365038b38d932a271f96d03881d9f94236e2c9a11c6bc | using System;
using TAMU.GeoInnovation.PointIntersectors.Census.Metadata.OutputFields;
using USC.GISResearchLab.Common.Databases.FieldMappings;
using USC.GISResearchLab.Common.Databases.Runners.Metadata.OutputFields;
using USC.GISResearchLab.Geocoding.Core.Metadata.OutputFields;
namespace USC.GISResearchLab.Common.Co... | C# | src/Main/Queries/Options/BatchOptions.cs | TamuGeoInnovation/Tamu.GeoInnovation.Geocoding.Core.Queries | gpl-3.0 | 2,051 | 38 | codeparrot/github-code |
6b1261b91cb61b52fb6e057933ed270d95ab48c0a02cdebe60c04ec5448acea7 | /** This file is part of Witch Blast.
*
* Witch Blast 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.
*
* Witch Bla... | C | src/Config.h | Cirrus-Minor/witchblast | gpl-3.0 | 1,203 | 41 | codeparrot/github-code |
def6e29743572b8d052c98b4bf20250a8f5a25ea63cf8414a88df95301eee263 | import {
Entity,
Column,
PrimaryColumn,
ManyToOne,
CreateDateColumn,
UpdateDateColumn,
Index,
} from 'typeorm';
import { IconName, ColumnDefinition, ColumnDefinitionType } from '../../common';
import SessionEntity from './Session';
import SessionTemplateEntity from './SessionTemplate';
class ColumnDefini... | TypeScript | backend/src/db/entities/ColumnDefinition.ts | antoinejaussoin/retro-board | gpl-3.0 | 2,302 | 97 | codeparrot/github-code |
c241cc0903cd90a56f2d9d77381fd80f7699f3511500942b8701ad55c26d950f | /*
* Copyright (c) 2010,
* Gavriloaie Eugen-Andrei (shiretu@gmail.com)
*
* This file is part of crtmpserver.
* crtmpserver 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... | C++ | sources/thelib/src/protocols/rtp/connectivity/outboundconnectivity.cpp | mdavid/crtmpserver | gpl-3.0 | 14,284 | 450 | codeparrot/github-code |
f03e57e590022234c6c9cc7b3cb31c67ebfef9e65fd3f48c07b302cba6ad0815 | # Mantid Repository : https://github.com/mantidproject/mantid
#
# Copyright © 2018 ISIS Rutherford Appleton Laboratory UKRI,
# NScD Oak Ridge National Laboratory, European Spallation Source
# & Institut Laue - Langevin
# SPDX - License - Identifier: GPL - 3.0 +
from __future__ import (absolute_import, divi... | Python | Framework/PythonInterface/test/python/plugins/algorithms/FitGaussianTest.py | mganeva/mantid | gpl-3.0 | 2,677 | 77 | codeparrot/github-code |
43a1e5a145121a2f46dde1ec0fc3e9d6bcdc7b9ddb1cdb4fd448e7ac529d746d | /*
* Copyright (c) 2006-2016 Marvisan Pty. Ltd. All rights reserved.
* Use is subject to license terms.
*/
/*
* PositionMaintenanceRequestMsg44Test.java
*
* $Id: PositionMaintenanceRequestMsg44Test.java,v 1.1 2011-02-16 11:24:33 vrotaru Exp $
*/
package net.hades.fix.message.impl.v44;
import or... | Java | Model/src/test/java/net/hades/fix/message/impl/v44/PositionMaintenanceRequestMsg44Test.java | marvisan/HadesFIX | gpl-3.0 | 6,542 | 188 | codeparrot/github-code |
7bbeb38c39a92e1d2a4467ca72a7de132613215d08783bb6f1157ebf59e7275e | package de.phbouillon.android.games.alite.screens.opengl.sprites.buttons;
/* Alite - Discover the Universe on your Favorite Android Device
* Copyright (C) 2015 Philipp Bouillon
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as publis... | Java | src/de/phbouillon/android/games/alite/screens/opengl/sprites/buttons/AliteButtons.java | CmdrStardust/Alite | gpl-3.0 | 29,535 | 793 | codeparrot/github-code |
eb00e624ee9ba856ae2660b7219e6e520ea0141ccf8f404c110cbef703bc51d6 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 1991-2010 OpenCFD Ltd.
\\/ M anipulation |
---------------... | C++ | src/dynamicMesh/polyTopoChange/polyTopoChange/modifyObject/polyModifyPoint.H | themiwi/freefoam-debian | gpl-3.0 | 4,123 | 165 | codeparrot/github-code |
8e2e53555e457ede2e71968cf5dbc605b1ccb40d7b329aa541aae6e9ffbebf22 |
# Copyright (c) 2010-2011 Eugene Brazwick
module Reform
require 'reform/widget'
class AbstractItemView < Widget
include ModelContext
=begin
It should be possible to say:
pieview {
decorator :color # blob. You can also pass an image as icon
key_connector :section
label_connector... | Ruby | lib/reform_OLD/abstractitemview.rb | EugeneBrazwick/Midibox | gpl-3.0 | 17,124 | 441 | codeparrot/github-code |
1ab8731f0f5c1db07586b346859cfdbcff95380242d287cb7029c7f4b0b3f2a7 | #!/usr/bin/python
"""
mediatum - a multimedia content repository
Copyright (C) 2007 Arne Seifert <seiferta@in.tum.de>
Copyright (C) 2007 Matthias Kramm <kramm@in.tum.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 ... | Python | core/athana.py | mediatum/mediatum | gpl-3.0 | 85,188 | 2,693 | codeparrot/github-code |
5bae90e3cb8f215de7615716842e222437bde4b8cc5ec8968597af4ef3d7c766 | /*
* The rabin polynomial computation is derived from:
* http://code.google.com/p/rabin-fingerprint-c/
*
* originally created by Joel Lawrence Tucci on 09-March-2011.
*
* Rabin polynomial portions Copyright (c) 2011 Joel Lawrence Tucci
* All rights reserved.
*
* Redistribution and use in source and binary f... | C | rabin/rabin_dedup.c | hyuni/pcompress | gpl-3.0 | 50,563 | 1,727 | codeparrot/github-code |
e7a6f00c770f35404046551b86a8ddfbf879d858f9d9d638ea01950fd0c145e7 | package com.dabomstew.pkrandom.pokemon;
/*----------------------------------------------------------------------------*/
/*-- Evolution.java - represents an evolution between 2 Pokemon. --*/
/*-- --*/
/*-- Part of "Universal Pokemon Ran... | Java | src/com/dabomstew/pkrandom/pokemon/Evolution.java | Dabomstew/universal-pokemon-randomizer | gpl-3.0 | 3,577 | 90 | codeparrot/github-code |
5846a40bc0c687ff1c4490ad1515a142831f77cee61e4edd7146520da3cf09e0 | SUBDIRS = apache git php sql
OBJDIR =
PREFIX = /usr/local
DESTDIR =
MKDIR = mkdir -m 0755 -p
INSTALL = install
RM = rm -f
TARGETS = $(OBJDIR)daportal.1 $(OBJDIR)daportal.html $(OBJDIR)daportal.conf $(OBJDIR)daportal.conf.5 $(OBJDIR)daportal.conf.html $(OBJDIR)daportal.xml $(OBJDIR)install.html $(OBJDIR)install.xml $(OB... | Makefile | doc/Makefile | DeforaOS/DaPortal | gpl-3.0 | 5,280 | 122 | codeparrot/github-code |
4f3fd6190fb1ea0b71cdfee4eb6d1787ef0acaaf5820392355a3064d52760a57 | package hu.unideb.inf.prt.KaloriaSzamlalo.controller;
import java.text.DecimalFormat;
import java.text.NumberFormat;
import hu.unideb.inf.prt.KaloriaSzamlalo.Main;
import hu.unideb.inf.prt.KaloriaSzamlalo.model.Person;
import hu.unideb.inf.prt.KaloriaSzamlalo.services.Services;
import javafx.fxml.FXML;
import javafx.... | Java | src/main/java/hu/unideb/inf/prt/KaloriaSzamlalo/controller/RootPaneController.java | NDBman/KaloriaSzamlalo | gpl-3.0 | 3,544 | 127 | codeparrot/github-code |
097837a554ed910bb3fc77ae927e36ee013b28a806345288262d35714c633181 | <?php if (!defined('IDIR')) { die; }
/*======================================================================*\
|| #################################################################### ||
|| # vBulletin - Licence Number VBF98A5CB5
|| # ---------------------------------------------------------------- # ||
|| # All PHP c... | PHP | otmfaq.com/htdocs/forums/impex/systems/ipb2/010.php | chrisplough/otmfaq | gpl-3.0 | 10,525 | 212 | codeparrot/github-code |
d173beb99116fb9e27849b733879d2b393de480ffaacdea3acae1601afa1d725 | //
// Copyright 2016 Benoit J. Merlet
//
using System;
using System.Runtime.InteropServices;
namespace MidiLibrary.Sequencer
{
/// <summary>
/// Interface to the processor tick counter
/// </summary>
public class WindowsHighResolutionClock : IHighResolutionClock
{
#region Private fields
... | C# | MidiLibrary/Sequencer/WindowsHighResolutionClock.cs | bmerlet/MidiLibrary | gpl-3.0 | 3,506 | 124 | codeparrot/github-code |
6cb9b289784d1bdf799bbc3404e701eee17227e1428d3781e4bed66053ce2c18 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<title>Uses of Class org.apache.poi.hssf.record.TableRecord (POI API Documentation)</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title... | HTML | resources/Apache/Apache-POI-3.16-beta2/poi-bin-3.16-beta2-20170202/poi-3.16-beta2/docs/apidocs/org/apache/poi/hssf/record/class-use/TableRecord.html | doughtnerd/POD | gpl-3.0 | 7,374 | 163 | codeparrot/github-code |
6a11ca38ebf6b39408cf8419a73c7f93d80101ec5b4ab76e2801677d45e44214 | '''
Task Coach - Your friendly task manager
Copyright (C) 2004-2013 Task Coach developers <developers@taskcoach.org>
Task Coach 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
... | Python | taskcoach/taskcoachlib/widgets/__init__.py | TaskEvolution/Task-Coach-Evolution | gpl-3.0 | 1,717 | 42 | codeparrot/github-code |
1c06a1db8ad7c987ea7e507c2994a8f6cfbedf6d3800283835945066544dba01 | # ptext module: place this in your import directory.
# ptext.draw(text, pos=None, **options)
# Please see README.md for explanation of options.
# https://github.com/cosmologicon/pygame-text
from __future__ import division
from math import ceil, sin, cos, radians, exp
import pygame
DEFAULT_FONT_SIZE = 2... | Python | src/gamelib/gummworld2/pygametext.py | gentooza/Freedom-Fighters-of-Might-Magic | gpl-3.0 | 21,402 | 536 | codeparrot/github-code |
e2bd6e25168c06f048eab3a49819c04ac050b8c18581116c1b704b93620bfbe7 | /*
* UnitsMonitor.cpp
*
* Created on: 12 Feb. 2018
* Author: tom
*/
#include "UnitsMonitor.h"
#include <thread>
#include <string>
#include <chrono>
#include <ctime>
#include <iostream>
#include "Common/Interfaces/IThreadInformationProvider.h"
#include "Common/Interfaces/ILogger.h"
#include "Common/Exceptio... | C++ | gcc/raspberrypi/Sauerteig/src/Monitors/Units/UnitsMonitor.cpp | tschroedter/cpp_examples | gpl-3.0 | 3,094 | 92 | codeparrot/github-code |
856ef9a4a41d7dc0137e40d776394dd6b120fb5679161b2b30616fe8cddd95a1 | /*
* grid is a game written in Haskell
* Copyright (C) 2018 karamellpelle@hotmail.com
*
* This file is part of grid.
*
* grid 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 ... | C | iOS/grid/ios/IOSPlayers.h | karamellpelle/grid | gpl-3.0 | 1,567 | 61 | codeparrot/github-code |
1d81b009b9ab84a497564dcdf25cf5ce108029af15bd8b13159fc3aca80b65b3 | % $Header: /home/vedranm/bitbucket/beamer/solutions/conference-talks/conference-ornate-20min.en.tex,v 90e850259b8b 2007/01/28 20:48:30 tantau $
\documentclass{beamer}
\usepackage{amsmath,algorithm,algorithmic,tikz,adjustbox,pgfplots,pgfplotstable,subfig,graphicx}
\usetikzlibrary{shapes,arrows,positioning,patterns}
\use... | TeX | docs/final_pres/final.tex | heuristicus/final-year-project | gpl-3.0 | 22,272 | 596 | codeparrot/github-code |
c36265e236e157a24cb379c6d3e5012d60bec1dd7d66524ac024cc527d7d3c12 | package de.mytfg.app.android.slidemenu;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.... | Java | app/src/main/java/de/mytfg/app/android/slidemenu/ConversationFragment.java | MyTFG/mytfg-app-android | gpl-3.0 | 6,392 | 167 | codeparrot/github-code |
b2205de1c83c7aee1a4b9f1c8aac55805df216b2e58621c8953470646771ca5e | import csv
import os
from django.contrib.auth.decorators import login_required
from django.core.urlresolvers import reverse_lazy
from django.utils.decorators import method_decorator
from django.db import models
from converter.exceptions import UploadException
from .models import SystemSource, Reference, Referenc... | Python | converter/utils.py | valentine20xx/portal | gpl-3.0 | 2,852 | 73 | codeparrot/github-code |
3929ac27c43daf97bb68cf6aa4ae601cd321f98cbd63e6e9b2d9f9e09e9f0f3d | # -*- coding: utf-8 -*-
from resources.lib.handler.jdownloaderHandler import cJDownloaderHandler
from resources.lib.download import cDownload
from resources.lib.handler.hosterHandler import cHosterHandler
from resources.lib.gui.gui import cGui
from resources.lib.gui.guiElement import cGuiElement
from resources.lib.hand... | Python | resources/lib/gui/hoster.py | mmllnr/plugin.video.xstream | gpl-3.0 | 8,657 | 218 | codeparrot/github-code |
e4a5914eb3a9c3dfd69cc865d260fe6bbebc583a78d1931f07dc6f0c08897f63 | """
Copyright 2011-2014-2012 Kyle Lancaster
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... | Python | src/MilkMachine/simplekml/styleselector.py | EdFarrell/MilkMachine | gpl-3.0 | 6,912 | 210 | codeparrot/github-code |
98b6606a0d75c5498e2892c69bd1e7a61952e874819c268f5d628016dda56d55 | <?php namespace Template;
use \View\HtmlWriter;
class TemplateManager{
private static $instance;
private $defaultCss = array();
private $templates = array();
public function __construct(){
self::$instance = $this;
include __DIR__ ."/../../TemplatesProvider.php";
$this->FlushTemplates();
}
pr... | PHP | application/Template/TemplateManager.php | Earu/Mindless | gpl-3.0 | 1,716 | 53 | codeparrot/github-code |
a3c49bc8ebd3d18a6d31b313e92bba50c267d93dccc1bff20343b9372e759e11 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Script to search vcf files for mutations within specific coordinates
# Input:
# -A vcf file
#
# Output:
# -A Roary-like file with mutations sorted in rows, strains as columns and presence/absence in cells
# -Columns: Chromosome, Position, variant (eg C->T), type (eg mis... | Python | scoary/vcf2scoary.py | AdmiralenOla/Scoary | gpl-3.0 | 8,390 | 225 | codeparrot/github-code |
aed177541310724828e8a7fbc21fd81d0b83747704502393de58267a97d944b1 | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2014 Pedro Gonnet (pedro.gonnet@gmail.com)
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain ... | C | resources/3rdparty/eigen-3.3-beta1/StormEigen/src/Core/arch/AVX/MathFunctions.h | MazZzinatus/storm | gpl-3.0 | 18,472 | 442 | codeparrot/github-code |
e6a8f34e1301f578ed37b1ebbd48f1202ae27fc323c6ebd5050bc0eb83cb1276 | package com.supermap.desktop.geometryoperation;
import com.supermap.data.GeoStyle;
import java.awt.*;
/**
* Created by lixiaoyao on 2017/3/2.
*/
public class RegionAndLineHighLightStyle {
private static GeoStyle regionStyleRed = null;
private static GeoStyle regionStyleBlue = null;
private static GeoSt... | Java | MapEditor/src/main/java/com/supermap/desktop/geometryoperation/RegionAndLineHighLightStyle.java | SuperMap-iDesktop/SuperMap-iDesktop-Cross | gpl-3.0 | 1,805 | 68 | codeparrot/github-code |
5fb14067a0bb439bc8dd8cecbde39c38527499727bf2642b61905c4e34431532 | #include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/init.h>
#include <linux/kernel.h> /* printk() */
#include <linux/slab.h> /* kmalloc() */
#include <linux/fs.h> /* everything... */
#include <linux/errno.h> /* error codes */
#include <linux/types.h> /* size_t... | C | scratch/alok_dev.c | mistryalok/linux-device-drivers | gpl-3.0 | 2,740 | 90 | codeparrot/github-code |
b131a5125136c33bfc9cbfcd87c51fd2e798957343558ec6bf363b0471e2a330 | /*
* ping.c
*
* Copyright (c) 2015, eadf (https://github.com/eadf)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice,
* th... | C | driver/ping/ping.c | eadf/esp8266_ping | gpl-3.0 | 8,602 | 244 | codeparrot/github-code |
8ded0373962a7ef23948fcc731727c4df8825ec31a88ba279ab3c9346b8057ee | /*
* 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 w... | Java | src/main/java/adams/gui/flow/menu/EditDiff.java | automenta/adams-core | gpl-3.0 | 4,503 | 154 | codeparrot/github-code |
5d12fc22b15a17eb86e89dcb12de45c6f26f5b8942f979398c430e9b1979a023 | 'use strict';
/* Controllers */
var myapp = angular.module('myApp', [], function($locationProvider) {
$locationProvider.html5Mode(true);
})
.factory('SurveyService', function() {
var today = new Date();
var survey = {
type: '',
surveyor: null,
question: null,
questionOptions... | JavaScript | public/js/controllers.js | causelabs/Messa.ge | gpl-3.0 | 6,712 | 259 | codeparrot/github-code |
92302f8b4f67855f23cfbe58e9f08fa228de5ec69db56ca3c135828a68e2b914 | require 'gender_detector/version'
if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.4.0')
require 'active_support/core_ext/string/multibyte'
end
# Main class for interacting with the data file
class GenderDetector
COUNTRIES = %i[great_britain ireland usa italy malta portugal
spain france be... | Ruby | lib/gender_detector.rb | bmuller/gender_detector | gpl-3.0 | 5,105 | 153 | codeparrot/github-code |
3bc26d7ddc6ca33f04b12d07bd58025f4de36218859bbbc2be4a2e45bcb525b2 | /*
* Copyright (C) 2020 Graylog, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the Server Side Public License, version 1,
* as published by MongoDB, Inc.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; withou... | TypeScript | graylog2-web-interface/src/views/components/searchbar/saved-search/SavedSearchForm.test.tsx | Graylog2/graylog2-server | gpl-3.0 | 6,662 | 151 | codeparrot/github-code |
b0ccfed46519e28d3e7a5adebbd440cd704157212942debf81f480ce0d27e103 | <?php
/**
* @copyright Roy Rosenzweig Center for History and New Media, 2007-2010
* @license http://www.gnu.org/licenses/gpl-3.0.txt
* @package Omeka
* @access private
*/
/**
* @internal This implements Omeka internals and is not part of the public API.
* @access private
* @package Omeka
* @subpackage Contro... | PHP | application/controllers/UsersController.php | agroknow/AgLR | gpl-3.0 | 15,280 | 431 | codeparrot/github-code |
e232026992ce79d147e44f829e9756ceb32c772416a27bc638f7a7e4d7caf940 | # coding=utf-8
from __future__ import print_function
from __future__ import unicode_literals
from tornado.websocket import WebSocketHandler
clients = []
backlogged_msgs = []
def push_to_web_socket(msg):
if len(clients):
for client in clients:
client.write_message(msg)
else:
# No... | Python | medusa/ws/MedusaWebSocketHandler.py | fernandog/Medusa | gpl-3.0 | 1,018 | 41 | codeparrot/github-code |
15281b05fd7ea76dff28bfce3a9d45f29840a7e814f80aa9be7394a91786cffd | /**@defgroup ÌṩNagra¹æ·¶booter½Ó¿Ú
@brief NAGRABOOTÄ£¿é¶ÔӦͷÎļþ<csbl_nagra.h>£¬¶¨ÒåÁËNagra¹æ·¶booterËùÓеŦÄܼ°ÅäÖýӿڡ£
@version 1.0.0 2012/2/03
@{
*/
#ifndef _CSBL_NAGRA_H_
#define _CSBL_NAGRA_H_
#ifdef __cplusplus
extern "C" {
#endif
#include "csbl_gconfig.h"
#include "udi2_toolset.h"
#incl... | C | TestCase/include/bootloader/csbl_nagra.h | footoflove/coship | gpl-3.0 | 1,330 | 61 | codeparrot/github-code |
4e8311ec71b8fa8c97dd1bbfd23cc9035f5d4164299a0e9e27286ff4e3268fc3 | /*
* HOWTO write an External for Pure data
* (c) 2001-2006 IOhannes m zmölnig zmoelnig[AT]iem.at
*
* this is the source-code for the third example in the HOWTO
* it creates an object that increments and outputs a counter
* whenever it gets banged.
* the counter value can be "set" to a special value, or "reset" t... | C | vendors/pd-extended-0.43.4/doc/tutorials/externals-howto/example3/counter.c | rvega/morphasynth | gpl-3.0 | 6,105 | 204 | codeparrot/github-code |
0dfc6e33f1f5ca71e1f58cc86b5b57736eead4019504f9107fdac08ec0c6c963 | /*
* WANDORA
* Knowledge Extraction, Management, and Publishing Application
* http://wandora.org
*
* Copyright (C) 2004-2016 Wandora Team
*
* 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 Foundat... | Java | src/org/wandora/application/gui/topicpanels/queryeditorpanel/DirectivePanel.java | wandora-team/wandora | gpl-3.0 | 24,466 | 667 | codeparrot/github-code |
9fa04a855394fad6eaeafe281e81d015e283114a2670aef585884b53453c94d4 | <?php
/*
* Copyright (C) 2009 Igalia, S.L. <info@igalia.com>
*
* This file is part of PhpReport.
*
* PhpReport 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 ... | PHP | web/services/createJourneyHistoriesService.php | naxd1532/avikonor | gpl-3.0 | 7,034 | 192 | codeparrot/github-code |
db5af1d0319afdc2c80dc81f57eb038440aeb0b0de8bcb1750258d6fc3bed3dc | (function ($) {
var anchor;
function showProperties (init) {
anchor.text('Hide properties').click(switchMode(hideProperties));
if (init)
$('.advanced-property').css('display', 'table-row');
else {
$('.advanced-property').fadeIn({
duration: 'slow',
start: function () { this.style.display = 'tab... | JavaScript | webui/js/dataset.js | vpsfreecz/vpsadmin-webui | gpl-3.0 | 1,060 | 57 | codeparrot/github-code |
a3672ee50d6a66464ab73a1a18c24487e57f23c4cd31de7a4b88a845a84a47b8 | package me.songt.smartpaper.controller;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;
import me.songt.smartpaper.po.QuestionType;
import me.songt.smartpaper.service.QuestionTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframewo... | Java | back/src/main/java/me/songt/smartpaper/controller/QuestionTypeController.java | PvtTony/SmartPaperGenSys | gpl-3.0 | 1,240 | 34 | codeparrot/github-code |
9f15c995d243b2bcf6ad79d5d98d8bac0afb0369be28a6e74c9f646957f3f87b | /***************************************
* Copyright (c) 2013 Charles Hache <chache@brood.ca>. All rights reserved.
*
* This file is part of the prjOS project.
* prjOS 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 | include/kernel_data.h | therealchalz/prjOS | gpl-3.0 | 2,033 | 57 | codeparrot/github-code |
689e436d54d4b609a3b88ab5902d7204de231db06c28717effa05c209d9b1474 | /* Copyright (C) 2014-2020 FastoGT. All right reserved.
This file is part of FastoNoSQL.
FastoNoSQL 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
... | C++ | src/proxy/connection_settings_factory.cpp | fasto/fastonosql | gpl-3.0 | 9,856 | 283 | codeparrot/github-code |
5737efd479edee1619f1d730024e935e7c75b368a16ccc3a6a76e47ad7740c15 | import { randomUUID } from 'node:crypto';
import {
Fragment,
useState,
type ReactElement,
type ReactNode,
type Dispatch as D,
type SetStateAction as S,
type ChangeEvent,
type MouseEvent
} from 'react';
import { useDispatch } from 'react-redux';
import type { Dispatch } from '@reduxjs/toolkit';
import { ... | TypeScript | packages/48tools/src/pages/Toutiao/Douyin/Add.tsx | duan602728596/48tools | gpl-3.0 | 5,090 | 153 | codeparrot/github-code |
64fe25df035e556e05f38ceaa45866746cf2ba77d1a5330c81166e8d67dc6c26 | using System.Drawing;
using ICSharpCode.TextEditor;
using ICSharpCode.TextEditor.Document;
using ScriptEditor.CodeTranslation;
namespace ScriptEditor.TextEditorUI.ToolTips
{
// Tooltip for opcodes/macros and message
static class ToolTipRequest
{
public static void Show(TabInfo ti, IDocument docu... | C# | ScriptEditor/TextEditorUI/ToolTips/ToolTipRequest.cs | FakelsHub/sfall_script_editor | gpl-3.0 | 1,498 | 41 | codeparrot/github-code |
536d5e738377d4acb5960ae4c7a186352521d08323d6d450fdd3359202b52ad3 | package gad17.blatt03;
/**
* Objekte der Klasse Interval stellen einen Bereich von Zahlen dar. Die
* Intervallgrenzen sind dabei jeweils eingeschlossen.
*/
abstract class Interval {
/**
* Abfragen der unteren Intervallgrenze
*
* @return die untere Grenze
*/
public abstract int getFrom();... | Java | src/gad17/blatt03/Interval.java | Code-Connect/TUM_Homework | gpl-3.0 | 2,784 | 130 | codeparrot/github-code |
8781d8c8fab570fb6f142d17bcd23a75a41e3eda7c7c93207c6fabba37031411 | var util = require("util");
var GVSP_ACK = require("./GVSP_ACK").GVSP_ACK;
var constants = require("../Constants");
var ADD_PROPERTIES = exports.ADD_PROPERTIES = [
{ name: 'reserved', length: 2, type: 'int' },
{ name: 'payload_type', length: 2, type: 'int', afterRead: 'setNameString' },
{ name: 'timestamp_high... | JavaScript | lib/classes/messages/DATA_LEADER.js | tualo/gigecamera | gpl-3.0 | 1,684 | 49 | codeparrot/github-code |
01e227a4f83e725c3112dfb8b5d328e30203957d78daf1926fa497866874aae0 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows;
using System.Configuration;
using Autodesk.Revit.DB.Mechanical;
namespace ARUP.IssueTracker.Revit
{
public static class MyProjectSettings
{
// Example project setting:
/*
<?xml... | C# | Revit/MyProjectSettings.cs | ArupAus/issue-tracker | gpl-3.0 | 3,582 | 120 | codeparrot/github-code |
254d0f46ad34d004e0318d28f15a2338374a1126af276cce0663c1a6fd35e3a0 | /****************
* commands.cpp *
****************/
/****************************************************************************
* Written By Mark Pelletier 2017 - Aleph Objects, Inc. *
* Written By Marcio Teixeira 2018 - Aleph Objects, Inc. *
* ... | C | Marlin/src/lcd/extui/lib/ftdi_eve_touch_ui/ftdi_eve_lib/basic/commands.h | KangDroid/Marlin | gpl-3.0 | 13,277 | 261 | codeparrot/github-code |
5c5f1f30b7118543a98cdcea6475ac49e05e48a41eb7c2f22994907422bf34fb | Function Set-DbaDatabaseState
{
<#
.SYNOPSIS
Sets various options for databases, hereby called "states"
.DESCRIPTION
Sets some common "states" on databases:
- "RW" options (ReadOnly, ReadWrite)
- "Status" options (Online, Offline, Emergency, plus a special "Detached")
- "Access" options (SingleUser, RestrictedUser,... | PowerShell | functions/Set-DbaDatabaseState.ps1 | SQLvariant/dbatools | gpl-3.0 | 14,672 | 553 | codeparrot/github-code |
21373145209dbbee49157f53079d25f50fe8b3c856006db041755739b3fc8ce6 | package com.alpha.music.dialogs;
import android.app.Dialog;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v4.app.DialogFragment;
import android.text.Html;
import com.afollestad.materialdialogs.DialogAction;
import com.afollestad.materialdialogs.MaterialDialog;
import com.... | Java | app/src/main/java/com/alpha/music/dialogs/DeleteSongsDialog.java | mohitarora7272/AlphaMusicPlayer | gpl-3.0 | 2,259 | 67 | codeparrot/github-code |
287c7b7548f9ff153db3b8b9fbf8ab4cbb519181e84beb728e8d9239f2c3427d |
//**************************************************************************
//
//! \mainpage rfm73
//!
//! C interface library for the HopeRF RFM73 2.4 GHz transceiver module
//!
//! \image html RFM73-D.jpg
//! \image rtf RFM73-D.jpg
//!
//! \author
//! Wouter van Ooijen (wouter@v... | C | libs/rfm73.c | valentinz/network-thermometer | gpl-3.0 | 29,693 | 844 | codeparrot/github-code |
1af61af5c013e51810a24b0c5c889e4f701397bba496cd843ffa1ef1dbd60268 | package com.BLUESHADOW2020.LearningToMod.client.gui;
import cpw.mods.fml.client.IModGuiFactory;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.GuiScreen;
import java.util.Set;
public class GuiFactory implements IModGuiFactory {
@Override
public void initialize(Minecraft minecraftInst... | Java | src/main/java/com/BLUESHADOW2020/LearningToMod/client/gui/GuiFactory.java | BLUESHADOW2020/BLUESHADOW2020-LearningToMod | gpl-3.0 | 695 | 32 | codeparrot/github-code |
6a6abdf2087dc0037345d659e9ae2c38f5bb7066a3ec3ce2ed0ef8ea55041557 | #!/usr/bin/env python3
"""Lalikan
=======
Backup scheduler for Disk ARchive (DAR)
Copyright (c) 2010-2019 Dr. Martin Zuther (http://www.mzuther.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 Sof... | Python | src/Lalikan.py | mzuther/lalikan | gpl-3.0 | 6,995 | 270 | codeparrot/github-code |
c3069d2df0fcd56a528e04cbcc10584e0802fb753540d093449bbc68889cc4e9 | package edu.tuberlin.spex.algorithms.domain;
import no.uib.cipr.matrix.AbstractVector;
import no.uib.cipr.matrix.DenseVector;
import no.uib.cipr.matrix.Vector;
import java.io.Serializable;
import java.util.Arrays;
/**
* This is a vector slice of vector elements
*
* Date: 18.02.2015
* Time: 22:46
*
*/
public cl... | Java | src/main/java/edu/tuberlin/spex/algorithms/domain/VectorBlock.java | jkirsch/spex | gpl-3.0 | 4,992 | 226 | codeparrot/github-code |
1cb6e8894ccfe67217f614b6136d4cc6b65dedc87b8929989e64de5ee077a6d3 | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SiteGenerator.ApiReferenceGenerator
{
public class ApiProject
{
public string fileName { get; set; }
public bool useAllItems { g... | C# | SiteSupportApp/SiteGenerator/ApiReferenceGenerator/ApiProject.cs | GNUClay/SiteSupportApp | gpl-3.0 | 959 | 35 | codeparrot/github-code |
4a0ab56b7a50a89242cfd4ccd60838a9df76160e4cf83e7da98c29750783438a | <?php
requireCap(CAP_ENROL);
require_once 'component.php';
require_once('navigation2.php');
require_once 'querytotable.php';
require_once 'validators.php';
require_once 'classSelector.php';
require_once 'ClassSelectorClass.php';
require_once 'SimpleTableFormatter.php';
require_once 'SpreadSheetWriter.php';
require_on... | PHP | peer/enrol_prospect.php | homberghp/peerweb | gpl-3.0 | 5,646 | 128 | codeparrot/github-code |
09f722ae9dc35a4a89964adc0928cc2064ddf37974f8a55cd6afab9826edcdcf | /*
Copyright 2011 The ARIES Consortium (http://www.ariesonline.org)
This file is part of ARIES.
ARIES 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) ... | Java | plugins/org.integratedmodelling.aries.http.explorer/src/org/integratedmodelling/aries/webapp/model/STATUS.java | ariesteam/aries | gpl-3.0 | 2,142 | 61 | codeparrot/github-code |
bcaa7143d0e54d88ae9ca03f6c81c35f3d6d79548ef629b63707c38aec82abd1 | package edu.bjfu.lol.Ó¢ÐÛ.º®±ùÉäÊÖ;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.audio.Music;
import com.badlogic.gdx.graphics.g2d.ParticleEffect;
import edu.bjfu.lol.scenes.scene2d.actions.¾ø¶ÔÒÆ¶¯Action;
import edu.bjfu.lol.scenes.scene2d.ui.Á£×ÓÑÝÔ±Àà;
import edu.bjfu.lol.scenes.scene2d.¶¯×÷.¶¯×÷Àà;
import... | Java | LOL/src/edu/bjfu/lol/英雄/寒冰射手/魔法水晶箭技能类.java | 125626748/LOL-LibGDX | gpl-3.0 | 7,796 | 219 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.