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 |
|---|---|---|---|---|---|---|---|---|
34010f98469118dc9ceb50e9a9b4bd594258ff4b847e45faafe87d24a007429a | /*
* lemonjuice - Java Template Engine.
* Copyright (C) 2009-2012 Manuel Tomis manuel@codegremlins.com
*
* This library is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the... | Java | src/com/codegremlins/lemonjuice/engine/EqualElement.java | mtomis/lemonjuice | gpl-3.0 | 1,485 | 42 | codeparrot/github-code |
2e7db7c09aa514ca97d62ec3515662213fe0fbe0f935e80895caba58ce15d1bf | package br.net.ubre.lang.keyword.binary.relational;
import br.net.ubre.data.container.DataContainer;
import br.net.ubre.lang.data.literal.FalseStatement;
import br.net.ubre.lang.data.literal.TrueStatement;
import br.net.ubre.lang.statement.Statement;
/**
* COmpara se os valores das partes (esquerda e direita) são ig... | Java | ubre-core/src/main/java/br/net/ubre/lang/keyword/binary/relational/EqualsOperator.java | siviotti/ubre | gpl-3.0 | 894 | 33 | codeparrot/github-code |
71878010b5bfd7cb6181042d8e4e84f2564f28b2aed5d0653e39185b93e236ff | /* PostMonster, universal HTTP automation tool
* Copyright (C) 2015 by Paul Artsishevsky <polter.rnd@gmail.com>
*
* This file is part of PostMonster.
*
* PostMonster is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software ... | C++ | src/pluginregistry.cpp | PostMonster/postmonster | gpl-3.0 | 3,715 | 118 | codeparrot/github-code |
fd923075f85e6ea3a9ce7eb3bbb39eee33d04b24e7e9080bd60c22d2123d2aa6 | //: move/Nap.java
package pokepon.move;
import pokepon.enums.*;
import pokepon.pony.Pony;
import pokepon.battle.*;
/**
* Heal 50% of user's HP.
*
* @author silverweed
*/
public class Nap extends Move {
public Nap() {
super("Nap");
type = Type.NIGHT;
moveType = Move.MoveType.STATUS;
maxpp = pp = 10... | Java | move/Nap.java | silverweed/pokepon | gpl-3.0 | 1,192 | 57 | codeparrot/github-code |
1bf76b3c6c33f188272b6246f7fdf641515446b6299019490e285e1b078c20db | /*
This file is part of darktable,
copyright (c) 2010 Henrik Andersson.
darktable 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... | C | src/iop/zonesystem.c | muessel/darktable | gpl-3.0 | 34,849 | 962 | codeparrot/github-code |
549a0d1d0b8043e6b847485754abc703669daa17870207d7b2e99aa3219d56cc | package l2s.gameserver.ai;
import l2s.gameserver.model.Creature;
import l2s.gameserver.model.instances.NpcInstance;
import l2s.gameserver.model.instances.MonsterInstance;
/**
* @author Bonux
**/
public class SpecialTautiMonsters extends Fighter
{
public SpecialTautiMonsters(NpcInstance actor)
{
super(actor);
}
... | Java | gameserver/src/main/java/l2s/gameserver/ai/SpecialTautiMonsters.java | pantelis60/L2Scripts_Underground | gpl-3.0 | 1,320 | 65 | codeparrot/github-code |
6d671f3815182979ec9936576734565fcc034f093d29835a3d184a444cf87998 | <!DOCTYPE html>
<html>
<head>
<title>Washington State Courts - Supreme Court Calendar </title>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="expires" content="0">
<meta http-equiv="Pragma" content="no-cache... | HTML | sources/wasc/2009/10/29-docket.html | jeffpar/courtcasts | gpl-3.0 | 13,332 | 307 | codeparrot/github-code |
c44137af8d6cdcdd78fe77a5d8e4b6adb211f0af679fb85aefe6cafd1c320dd8 | /*
* 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 use... | C# | ViewOptions.cs | cloudfy/economicsdk | gpl-3.0 | 2,380 | 78 | codeparrot/github-code |
fd57d02b9e7deea3889fb4d051a43e9028ae75298197c4f3ec638a8bf308fb3e | /**
* @file FESpace_imp.hpp
* @brief Implementation of the functional space class methods
* @author Carlo Marcati
* @date 2013-09-08
*/
/* 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++ | lib/include/FESpace_imp.hpp | carlomr/tspeed | gpl-3.0 | 6,726 | 184 | codeparrot/github-code |
4d9f729cfbdfbf1d39baac227b3462e1c9c1179877f87cc23ff87dcbb9bf3225 | local _, ns = ...
local oUF = ns.oUF
local VISIBLE = 1
local HIDDEN = 0
local wipe = wipe
local pcall = pcall
local floor = floor
local unpack = unpack
local tinsert = tinsert
local infinity = math.huge
local _G = _G
local GetTime = GetTime
local UnitAura = UnitAura
local CreateFrame = CreateFrame
local UnitIsUnit =... | Lua | AddOns/ElvUI/Libraries/Core/oUF_Plugins/oUF_AuraBars.lua | qyh214/wow_addons_private_use | gpl-3.0 | 10,018 | 347 | codeparrot/github-code |
3ff12db29c26da450074af0b8025d7b79e6e433ac4463e59a1973f5e680e6d69 | <?php
namespace SuperUtils\Image\Driver;
/*
* :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
* ::
* :: GIFEncoder Version 2.0 by László Zsidi, http://gifs.hu
* ::
* :: This class is a rewritten 'GifMerge.class.php' version.
* ::
* :: Modification:
* :: - Simplified and easy code,
* :: - Ultra fas... | PHP | src/Image/Driver/GIFEncoder.php | winerQin/SuperUtils | gpl-3.0 | 7,733 | 223 | codeparrot/github-code |
cce87b80b80114019ced587d4ebb23408dd8cb7e2acefb6d6192c2728715cfc0 | #region License
/*
Copyright 2014 - 2015 Nikita Bernthaler
Summoners.cs is part of SFXKillSteal.
SFXKillSteal 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 op... | C# | SFXUtility/SFXKillSteal/Data/Summoners.cs | Lizzaran/LeagueSharp-Standalones | gpl-3.0 | 6,544 | 195 | codeparrot/github-code |
b54c3beb4f77faa214041f4ac2bec52b0c7c05507706aedf3d33dd0ed080f80a | package com.integreight.onesheeld.shields.controller;
import android.app.Activity;
import com.integreight.firmatabluetooth.ShieldFrame;
import com.integreight.onesheeld.enums.UIShield;
import com.integreight.onesheeld.shields.ControllerParent;
import com.integreight.onesheeld.utils.Log;
public class LcdShield extend... | Java | oneSheeld/src/main/java/com/integreight/onesheeld/shields/controller/LcdShield.java | donaldhwong/1Sheeld | gpl-3.0 | 9,331 | 279 | codeparrot/github-code |
aad1cd0d2f751826b83492e4c3c26884e6cc2128e17d1107f1ddd87e233739a8 | package com.gracehoppers.jlovas.bookwrm;
import android.app.Activity;
import android.content.Intent;
import android.test.ActivityInstrumentationTestCase2;
import android.widget.Button;
import android.widget.TextView;
import junit.framework.TestCase;
import java.util.ArrayList;
/**
* Created by ljuarezr on 11/24/15... | Java | app/src/androidTest/java/com/gracehoppers/jlovas/bookwrm/ViewTradeActivityTest.java | CMPUT301F15T06/GraceHoppers | gpl-3.0 | 2,048 | 82 | codeparrot/github-code |
e1b27e869d39aef467e70faf93ef2e1017b159df72b79783a726f007f015d6b8 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace BBD.DSP.Models.IEEE11073
{
public class DataPacket
{
public APDU APDU;
public byte[] RawData;
public DataAPDU Data;
... | C# | Software/Source/BBDCommon/BBD.DSP/Models/IEEE11073/APDUs.cs | andrasfuchs/BioBalanceDetector | gpl-3.0 | 4,296 | 154 | codeparrot/github-code |
018152f6275ef0989ddb42e0cd5f846fe47796687b49977b796ffda303faba79 | /*
* 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 use... | C | src/simulation/elements/MOVS.h | donat-b/The-Powder-Toy | gpl-3.0 | 5,894 | 236 | codeparrot/github-code |
496d3bc03881de291776c3820f805a06215619f3a105df4defc8512099169b5e | /*
Copyright (C) 2014 Darran Kartaschew
This file is part of Occillo.
Occillo 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 ... | C++ | src/menu/CreditsMenu.cc | dkartaschew/occillo | gpl-3.0 | 3,671 | 114 | codeparrot/github-code |
44067348c5d3c3f2f3da09f2d2024c0ed3a0c9506391995463227625e88f936f | /*******************************************************************
Part of the Fritzing project - http://fritzing.org
Copyright (c) 2007-2014 Fachhochschule Potsdam - http://fh-potsdam.de
Fritzing is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as publish... | C++ | src/items/note.cpp | sirdel/fritzing | gpl-3.0 | 24,662 | 868 | codeparrot/github-code |
9033c9338f65dd3e57f6ef753233c2999c5e7c67a8878426ec438fece4c63576 | /*
===========================================================================
Doom 3 GPL Source Code
Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company.
This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?).
Doom 3 Source Code is free software: you can redistribute it and/or modify
it... | C++ | neo/sys/linux/sound_alsa.cpp | RobertBeckebans/Sikkpin-Feedback | gpl-3.0 | 11,042 | 360 | codeparrot/github-code |
7eff455d0013635d60c900d8e490232c8c18c3869b368f1c8a75a1a7a9279f51 | using UnityEngine;
using System.Collections;
public class DocumentSwitchTrigger : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
void OnTriggerStay2D(Collider2D col) {
if (GameObject.Find("GameManager").GetComponent<GameM... | C# | Assets/Code/DocumentSwitchTrigger.cs | rancex/sort-machine | gpl-3.0 | 1,761 | 49 | codeparrot/github-code |
7a6247bebc6c3ad9a3f702d9ea8d1cbd08e8d20deeb1c1340236db4c1e802a12 | /*
===========================================================================
Copyright (C) 1999-2010 id Software LLC, a ZeniMax Media company.
This file is part of Spearmint Source Code.
Spearmint Source Code is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public Licens... | C | code/game/ai_goal.h | mecwerks/revamp | gpl-3.0 | 5,863 | 143 | codeparrot/github-code |
e0da9ab199597c130708e190fc69d86b6c49015580279c487f74be050a77a967 | #ifndef STORAGE_H
#define STORAGE_H
#include <QThread>
#include <QMutex>
struct point;
template <typename T> class QVector;
class storage : public QThread
{
Q_OBJECT
public:
storage(QObject *parent = 0);
const QVector<point>* data() const;
double glowDuration() const;
protected:
void run();
... | C | storage.h | flesniak/polis | gpl-3.0 | 739 | 41 | codeparrot/github-code |
db75989ca582a3dc35c981e20f9b5500a97ff03a665a4cfd33095e70dee042e0 | class BudgetDatatable < AjaxDatatablesRails::Base
# http://bobfly.blogspot.de/2015/05/rails-4-datatables-foundation.html
AjaxDatatablesRails::Extensions::Kaminari
def sortable_columns
# Declare strings in this format: ModelName.column_name
@sortable_columns ||= %w(Budget.title Budget.promise Budget.start... | Ruby | app/datatables/budget_datatable.rb | iNeedCode/Maalify | gpl-3.0 | 2,044 | 58 | codeparrot/github-code |
59d12d3c0978444c112aff18e625e753340be0228dc33db5f25be51ec2622087 | # Copyright 2015 Matthew J. Aburn
#
# 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. See <http://www.gnu.org/licenses/>.
... | Python | sdeint/wiener.py | mattja/sdeint | gpl-3.0 | 10,384 | 296 | codeparrot/github-code |
5bb2b8b977faf815d511a7990b29f43bd72099f1c0d8b7d7d95db963025a96a4 | package company;
import java.util.Arrays;
import java.util.Comparator;
import java.util.HashMap;
import java.util.Map;
public class StringChains {
private int longestChain(String[] words) {
if (words == null || words.length == 0)
return 0;
int chainLength = 0;
Arrays.sort(wor... | Java | Interview/src/company/StringChains.java | Sriee/epi | gpl-3.0 | 1,592 | 49 | codeparrot/github-code |
816e846e0b70788e739135342fbd9dbf5effa985ddb4478902a5d5b767280fbe | <!DOCTYPE html>
<html>
<head>
<title>添加邀请注册</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="<?php echo $this->rootUrl; ?>/css/bootstrap-3.2.0... | PHP | app/modules/admin/views/uidiy/configedit.php | goyoo-php/mobcent | gpl-3.0 | 5,373 | 90 | codeparrot/github-code |
2c8e05946954ae47b8dfa9031bb40873d6065ad7c31e954a02f6f1ea9bfd908d | using System;
using System.IO;
using System.IO.Compression;
using System.Linq;
using Nancy;
using Nancy.Bootstrapper;
using NLog;
using NzbDrone.Common.EnvironmentInfo;
namespace Lidarr.Http.Extensions.Pipelines
{
public class GzipCompressionPipeline : IRegisterNancyPipeline
{
private readonly Logger _... | C# | src/Lidarr.Http/Extensions/Pipelines/GZipPipeline.cs | lidarr/Lidarr | gpl-3.0 | 3,335 | 105 | codeparrot/github-code |
742c4ba3662f30e44e2c4bb96483f3ed391c08fc98b5dd8b3389432ff966c0ab | /*
* Copyright 2012 Philippe Latulippe
* https://github.com/philippelatulippe/rdbreader
Project Faolan a Simple and Free Server Emulator for Age of Conan.
Copyright (C) 2009, 2010, 2011, 2012 The Project Faolan Team
This program is free software: you can redistribute it and/or modify
it under the terms of t... | C | structs.h | philippelatulippe/rdbreader | gpl-3.0 | 3,114 | 135 | codeparrot/github-code |
2e32cda69d39d50353fddbf4a2a79c3727184d481a78b0709a31acb3133c58ff | #ifndef SETUP_WLD_SCENE_H
#define SETUP_WLD_SCENE_H
#include <vector>
#include <graphics/gl_color.h>
class IniProcessing;
struct WorldAdditionalImage
{
std::string imgFile;
bool animated;
int frames;
int framedelay;
int x;
int y;
};
struct WorldMapSetup
{
void init(IniProcessing &engine_... | C | Engine/data_configs/setup_wld_scene.h | jpmac26/PGE-Project | gpl-3.0 | 2,018 | 97 | codeparrot/github-code |
8ccb9e962c83f161554b837eb59b1bf64b2cd07d09f39bef8fe8f83143d1da08 | //Copyright (c) 2011 Municipalidad de Rosario and Coop. de Trabajo Tecso Ltda.
//This file is part of SIAT. SIAT is licensed under the terms
//of the GNU General Public License, version 3.
//See terms in COPYING file or <http://www.gnu.org/licenses/gpl.txt>
package ar.gov.rosario.siat.rec.view.struts;
import javax.se... | Java | siat-1.0-SOURCE/src/view/src/WEB-INF/src/ar/gov/rosario/siat/rec/view/struts/AdministrarNovedadRSDAction.java | avdata99/SIAT | gpl-3.0 | 9,557 | 218 | codeparrot/github-code |
30705a8e1a0e1f2b11fe54cd6258fdf253cc5a85d28e8346e6570877090cf90a | var xForRefIcon = 0;
var yForRefIcon = 0;
var xForSubDiagramIcon = 0;
var yForSubDiagramIcon = 0;
var xForTransIcon = 0;
var yForTransIcon = 0;
var fileLinks = [];
var folderLinks = [];
var urlLinks = [];
var diagramLinks = [];
var shapeLinks = [];
var subdiagramLinks = [];
var fromTransitorLinks = []... | JavaScript | poseitech-java-assignments/docs/content/link_popup.js | EdwardWuYiHsuan/Student-Course-System | gpl-3.0 | 39,618 | 1,129 | codeparrot/github-code |
054531570cab81f40f1e3974a5efb937c6206771d9718dbb66f1dcd2cb61ce56 | /*
This file is part of solidity.
solidity 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.
solidity is distributed in the hope that i... | C++ | test/libsolidity/StandardCompiler.cpp | bobsummerwill/solidity | gpl-3.0 | 39,368 | 1,368 | codeparrot/github-code |
faace93d5a39844efad9f28c18bd9e7541e1139f04db1c3266b8a4a944e042c0 | using namespace std;
struct _Course{
string CourseCode;
int Point;
int Score;
_Course(string CourseCode){
this->CourseCode = CourseCode;
this->Score = 0;
this->Point = 0;
}
void setCourse(string CourseCode, int Score, int Point){
this->CourseCode = CourseCode;
... | C | include/struct.h | vongola12324/FakeGradeSystem | gpl-3.0 | 1,983 | 98 | codeparrot/github-code |
2b392cde7b7fa4ad54119b00fde0a14f79a37b692367ad421a877459dd7acfbf | /* GIMP - The GNU Image Manipulation Program
* Copyright (C) 1995-2002 Spencer Kimball, Peter Mattis, and others
*
* gimppluginmanager-restore.c
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foun... | C | app/plug-in/gimppluginmanager-restore.c | brion/gimp | gpl-3.0 | 24,364 | 748 | codeparrot/github-code |
9d5dafbf6214751568fef7b776e913a81a9a30195aa511d10d31d5bbd12f5715 | var request = require('request');
var cheerio = require('cheerio');
var admin = require("firebase-admin");
//var serviceAccount = require("tehillim-17559-firebase-adminsdk-gx90v-b712a63ab5.json");
admin.initializeApp({
credential: admin.credential.cert("tehillim-17559-firebase-adminsdk-gx90v-b712a63ab5.json"),
... | JavaScript | TehillimForAll/srv/scrape.js | miroo93/TehillimForAll | gpl-3.0 | 3,342 | 104 | codeparrot/github-code |
4f9d08d4f6a23e6c791e4c9d9803610a807bc75a25c3755eae7ee56ee491c3d6 | /*
Copyright 2010-2015 Tarik Sekmen.
All Rights Reserved.
Written by Tarik Sekmen <tarik@ilixi.org>.
This file is part of ilixi.
ilixi is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either versi... | C | ilixi/ui/ContainerBase.h | ilixi/ilixi | gpl-3.0 | 3,601 | 149 | codeparrot/github-code |
5aface106c03ad2a04b6bd48a1685cabb5d8aa5a853c7ab7553673b5af0fea06 | /*
Copyright (C) 2013 by Claudio Zopfi, Zurich, Suisse, z@x21.ch
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... | C++ | rc1/conf/layoutmodel.cpp | x21/rc1 | gpl-3.0 | 3,628 | 189 | codeparrot/github-code |
59a7a86a9b102ea53e935ec65acbdfc4f4ec5eeef922cbe3f140c23fa92faadc | //
// input_properties_py.hpp
// blockscipy
//
// Created by Malte Moeser on 8/26/19.
//
#ifndef input_properties_py_h
#define input_properties_py_h
#include "method_tags.hpp"
#include <blocksci/chain/block.hpp>
struct AddInputMethods {
template <typename FuncApplication>
void operator()(FuncApplication ... | C++ | blockscipy/src/chain/input/input_properties_py.hpp | citp/BlockSci | gpl-3.0 | 1,555 | 35 | codeparrot/github-code |
830a4f8240d75324fdbda4c5945eafc2f5060885d5c2a388ad4ebd7b6655224c | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Prasatec.Cu2Com.Data
{
public sealed class UserResetCollection : Raden.ICollection<UserReset>
{
private const int DEFAULT_LIMIT = 25;
... | C# | alpha/0.1.230.0/Prasatec.Cu2Com/Data/UserResetCollection.cs | PrasatecDevelopment/curve | gpl-3.0 | 2,628 | 108 | codeparrot/github-code |
6e39af51bef74893dd0ec96fe3b62115154b080aaf403d6d4ac14795384c7242 | // (C) Copyright 2009, Chong Wang, David Blei and Li Fei-Fei
// written by Chong Wang, chongw@cs.princeton.edu
// This file is part of slda.
// slda is free software; you can redistribute it and/or modify it under
// the terms of the GNU General Public License as published by the Free
// Software Foundation; either ... | C++ | MA-sLDAr (smooth)/main.cpp | fmpr/MA-sLDAr | gpl-3.0 | 4,275 | 134 | codeparrot/github-code |
934b7241db7d795c88190a307c983eab37f999cd19e9dcc71993f6e48e3cf7ab | /**
* MegaMek - Copyright (C) 2004,2005 Ben Mazur (bmazur@sev.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... | Java | megamek/src/megamek/common/weapons/WeaponHandler.java | chvink/kilomek | gpl-3.0 | 56,885 | 1,474 | codeparrot/github-code |
31a46e791b0ab540f760146c0cd97fb8ca9c2964f0d8aa01d5191c9c51ffee8c | package org.ebookdroid.core;
import android.graphics.Rect;
import android.graphics.RectF;
import com.foobnix.model.AppBook;
import org.ebookdroid.common.settings.SettingsManager;
import org.ebookdroid.common.settings.types.DocumentViewMode;
import org.ebookdroid.common.settings.types.PageAlign;
import org.ebookdroid... | Java | app/src/main/java/org/ebookdroid/core/HScrollController.java | foobnix/LirbiReader | gpl-3.0 | 3,996 | 118 | codeparrot/github-code |
7bc35e92838d453194c079a16dc567f5bd7734d37e9808c003bb0c9aafecdf94 | /*-----------------------------------------------------------------------*/
/* Low level disk I/O module skeleton for Petit FatFs (C)ChaN, 2010 */
/*-----------------------------------------------------------------------*/
#include "diskio.h"
#include <string.h>
#include <LUFA/Drivers/USB/Class/MassStorag... | C | LUFA 100807/Projects/Incomplete/StandaloneProgrammer/Lib/PetiteFATFs/diskio.c | m3741/due_eeprom | gpl-3.0 | 1,670 | 58 | codeparrot/github-code |
6a97cb7630e4d6c1ef9152ffdb9aac195009c6a58c059c4954821633c4421d43 | package gui;
import java.awt.Dimension;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.IOException;
import java.text.DecimalFormat;
import java.text.NumberF... | Java | src/gui/WorkFrame.java | otting/NebenkostenAssistent | gpl-3.0 | 4,016 | 153 | codeparrot/github-code |
39243dceeacb2d796e7ddde6a11e038673aecc738b03fd3581d9b23758b372f2 | package com.infox.sysmgr.entity.base;
import java.io.Serializable;
public class BaseField implements Serializable {
private static final long serialVersionUID = 1L;
private int hashCode = Integer.MIN_VALUE;
// fields
private java.lang.String name;
private java.lang.String fieldType;
priva... | Java | src/main/java/com/infox/sysmgr/entity/base/BaseField.java | yhqmcq/infox | gpl-3.0 | 1,767 | 89 | codeparrot/github-code |
a98bcca10cdca98ba4655d4836dd8e799fa0046eca2a5338f1f69429a91455dd | /*
* This file is part of the GeMTC software for MTC model generation and
* analysis. GeMTC is distributed from http://drugis.org/gemtc.
* Copyright (C) 2009-2012 Gert van Valkenhoef.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as... | Java | mtc-gui/src/main/java/org/drugis/mtc/presentation/results/NetworkVarianceTableModel.java | drugis/mtc | gpl-3.0 | 3,491 | 123 | codeparrot/github-code |
c54130ff03bac6517680376f75e751fef8148bc2a3609d7b9b222c13e381ea77 | /* Buff to buff example - Test program for the lzlib library
Copyright (C) 2010, 2011, 2012, 2013 Antonio Diaz Diaz.
This program is free software: you have unlimited permission
to copy, distribute and modify it.
Usage is:
bbexample filename
This program is an example of how buffer-to-buff... | C | lzlib/bbexample.c | tom42/txtvc | gpl-3.0 | 6,116 | 212 | codeparrot/github-code |
64387f34136bf0e2e75ced65ab28ff830ca2740f78df785168754ea20b512ea9 | /*****************************************************************************
* Copyright (C) 2004-2013 The PaGMO development team, *
* Advanced Concepts Team (ACT), European Space Agency (ESA) *
* http://apps.sourceforge.net/mediawiki/pagmo *
* ... | C++ | src/util/hv_algorithm/hv4d.cpp | enikulenkov/PaGMO | gpl-3.0 | 6,462 | 180 | codeparrot/github-code |
cfa8f293a6caa08d504da175f6eaaa7240299abd1caf5b1a6dbf901f3c30f633 | #!/usr/bin/python
"""Perform preprocessing and generate raytrace exec scripts for one focal plane.
For documentation using the python_control for ImSim/PhoSim version <= v.3.0.x,
see README.v3.0.x.txt.
For documentation using the python_control for ImSim/PhoSim version == v.3.2.x,
see README.txt.
The behavior of th... | Python | fullFocalplane.py | lsst-sims/sims_phosim_pythoncontrol | gpl-3.0 | 11,426 | 261 | codeparrot/github-code |
ebe6e26e91e0ea195bfebb7750af60d27a3ec8c56570ecc0908cede54fced8db | #ifndef LEDSET_H
#define LEDSET_H
#include <QHash>
#include "constants.h"
#include "LedSetIterator.h"
#include "Led.h"
namespace AnimatorModel {
class Animation;
class LedSet : public QObject {
Q_OBJECT
public :
explicit LedSet(QObject *parent);
void addLed(Led& led);
void removeLed(Led& led);
... | C | LedSet.h | annesummers/LedAnimator | gpl-3.0 | 1,743 | 75 | codeparrot/github-code |
2ce28f0bebb6f7adec843061a482f60181511e73848c40168fdcce01929f0a5c | # Example made by OssiLehtinen
#
from svgpathtools import svg2paths, wsvg
import numpy as np
import uArmRobot
import time
#Configure Serial Port
#serialport = "com3" # for windows
serialport = "/dev/ttyACM0" # for linux like system
# Connect to uArm
myRobot = uArmRobot.robot(serialport,0) # user 0 for ... | Python | svg_example.py | AnykeyNL/uArmProPython | gpl-3.0 | 1,467 | 61 | codeparrot/github-code |
dceb8f20fe04e6f6156ee162482c8a001acecc6bee839fe49b738f76789f8363 | // -*-c++-*-
#ifndef _TSYSERROR_H_
#define _TSYSERROR_H_
#include <TNamed.h>
#include <Rtypes.h>
class TList;
class TGraphErrors;
class TSysError : public TNamed
{
public:
enum EType { kNone = 0, kMean, kMinStdDev, kRelativeErrorMCSum, kAbsoluteDevFromRef, kMaxValueFromBin, kMaxValueFromBinPercent,
kStdDev... | C | TSysError.h | mvala/syserr | gpl-3.0 | 2,799 | 74 | codeparrot/github-code |
cfec2c528c11d47511f40e456003171d6b11548c9f819e27742e80d87610e711 | <?php
// This file is part of mod_checkmark for Moodle - http://moodle.org/
//
// It 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.... | PHP | mod/checkmark/backup/moodle2/backup_checkmark_stepslib.php | nitro2010/moodle | gpl-3.0 | 4,986 | 113 | codeparrot/github-code |
3fedf7cbcfa1948d18e957b33901dca3df112d38302fc19c3e9f2b47b4dd1b4d | using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Newegg.Oversea.Silverlight.ControlPanel.Core.Ba... | C# | 02_ECCentral/02_Portal/UI/ECCentral.Portal.UI.SO/Models/SODeliveryExpVM.cs | ZeroOne71/ql | gpl-3.0 | 2,697 | 90 | codeparrot/github-code |
0a3f561a6fbd2b2013f1da5ed2b77b5fc9fac3bf7993e75b90bd24ffd0c67e26 | # -*- coding: utf-8 -*-
# Author: Leo Vidarte <http://nerdlabs.com.ar>
#
# This file is part of lai-client.
#
# lai-client 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.
#
# lai-client is distribut... | Python | lai/db/mongo.py | lvidarte/lai-client | gpl-3.0 | 6,391 | 197 | codeparrot/github-code |
c844c7041a1a88141941acfeb076d5f2ca4a0d5ba32f29d50243fb43e418301a | /*
* This file is part of Cleanflight.
*
* Cleanflight 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.
*
* Cleanflight is distr... | C | src/main/drivers/accgyro/accgyro_adxl345.c | rb1205/inav | gpl-3.0 | 4,079 | 136 | codeparrot/github-code |
7950cff8e3222d4526d7d860424a84715baa20d3629cb920c72358add1417d87 | require 'nil/file'
require 'nil/http'
class Rune
attr_reader :id, :name, :description
def initialize(id, name, description)
@id = id
@name = name
@description = description
end
end
def processTier(tier)
host = 'http://na.leagueoflegends.com'
url = "#{host}/runes/#{tier}"
puts "Downloading tie... | Ruby | Web/Generation/runes.rb | epicvrvs/RiotControl | gpl-3.0 | 1,965 | 79 | codeparrot/github-code |
07f73aba1e37de1bd22fc7cf3e928631bdc0a4eece31546e58b61fd9ac203570 | package com.gildedgames.aether.client.renderer.tile_entities;
import com.gildedgames.aether.client.models.entities.tile.ModelPresent;
import com.gildedgames.aether.common.items.blocks.ItemBlockPresent;
import com.gildedgames.aether.common.tiles.TileEntityPresent;
import net.minecraft.client.renderer.GlStateManager;
im... | Java | src/main/java/com/gildedgames/aether/client/renderer/tile_entities/TileEntityPresentRenderer.java | Better-Aether/Better-Aether | gpl-3.0 | 2,920 | 88 | codeparrot/github-code |
07fcb7e596da5dd74e2feacf840cf1d77a0f7fb194b484c2d14cff1ef9b53d71 | using KotaeteMVC.Context;
using KotaeteMVC.Models.Entities;
using KotaeteMVC.Models.ViewModels;
using KotaeteMVC.Models.ViewModels.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace KotaeteMVC.Service
{
public class LikesService : UsersService
{
public... | C# | KotaeteMVC/Service/LikesService.cs | seranfuen/kotaete | gpl-3.0 | 4,676 | 135 | codeparrot/github-code |
5dd885ce29cd415cca14376f0c199767266a8d3b22b5b4aeefd867aea0b70625 | <!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<html>
<head>
<title>About View3D</title>
<link rel="stylesheet" href="nbdocs:/org/netbeans/modules/usersguide/ide.css" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset... | HTML | View3D/src/com/billooms/view3d/docs/view3d-about.html | billooms/BowlShape2 | gpl-3.0 | 3,717 | 78 | codeparrot/github-code |
76a2e62fa4d5fd639ef96e173a05ea0ffcfdf5cef334cf2e018342f3d9ec50d7 | // https://github.com/WebKit/webkit/blob/main/Source/WebKit/UIProcess/API/Cocoa/WKWebViewPrivate.h
// https://github.com/WebKit/webkit/blob/main/Source/WebKit/UIProcess/Cocoa/WebViewImpl.h
// https://github.com/WebKit/webkit/blob/main/Source/WebCore/page/Settings.yaml
#import "./WebKitAvailability.h"
#import "_WKLayou... | C | modules/WebKitPrivates/WKWebView+Privates.h | kfix/MacPin | gpl-3.0 | 18,307 | 268 | codeparrot/github-code |
acd654fe7d9ca51dd7a4161be9538a85f4810b872119f5f9ec48437d0bf6eb99 | /** __ __
* _____ _/ /_/ /_ Computational Intelligence Library (CIlib)
* / ___/ / / / __ \ (c) CIRG @ UP
* / /__/ / / / /_/ / http://cilib.net
* \___/_/_/_/_.___/
*/
package net.sourceforge.cilib.problem.boundaryconstraint;
import net.sourceforge.cilib.entity.Entity;
import net.sourceforg... | Java | library/src/main/java/net/sourceforge/cilib/problem/boundaryconstraint/PreviousPosition.java | censlin/cilib-old | gpl-3.0 | 1,495 | 54 | codeparrot/github-code |
20f041e7ce49d5849c8b483548da2a7b082a3025d18d6fc220253e043f6742cc | /*
RPG Paper Maker Copyright (C) 2017-2021 Wano
RPG Paper Maker engine is under proprietary license.
This source code is also copyrighted.
Use Commercial edition for commercial use of your games.
See RPG Paper Maker EULA here:
http://rpg-paper-maker.com/index.php/eula.
*/
#ifndef PROJECTU... | C | Editor/Models/projectupdater.h | Wano-k/RPG-Paper-Maker | gpl-3.0 | 2,757 | 91 | codeparrot/github-code |
5134493d00bb3fb4faea2f5142393bc99304231b5cbf814d67188508f4194fa6 | /*****************************************************************************
* Copyright 2010-2012 Katholieke Universiteit Leuven
*
* Use of this software is governed by the GNU LGPLv3.0 license
*
* Written by Broes De Cat, Bart Bogaerts, Stef De Pooter, Johan Wittocx,
* Jo Devriendt, Joachim Jansen and Pieter ... | C++ | src/common.cpp | KULeuven-KRR/IDP | gpl-3.0 | 8,878 | 438 | codeparrot/github-code |
2d5a4747221b44ac79e394e78f1f0b81c06d175037d79df4d6cdb89de1a84580 | package Net::DNS::RR::X25;
#
# $Id: X25.pm 1528 2017-01-18 21:44:58Z willem $
#
our $VERSION = (qw$LastChangedRevision: 1528 $)[1];
use strict;
use warnings;
use base qw(Net::DNS::RR);
=head1 NAME
Net::DNS::RR::X25 - DNS X25 resource record
=cut
use integer;
use Net::DNS::Text;
sub _decode_rdata { ## decod... | Perl | Files/Code/perl/lib/site_perl/5.26.1/Net/DNS/RR/X25.pm | mgood7123/UPM | gpl-3.0 | 2,925 | 135 | codeparrot/github-code |
dac6f711817bebfc4d416a9b71e59d5bc25c963c0000b98274d12a3b6c39a680 | #!/usr/bin/env python
import sys
import os
output_dir = "erc2-chromatin15state-all-files"
if not os.path.exists(output_dir):
sys.stderr.write("Creating dir [%s]...\n" % (output_dir))
os.makedirs(output_dir)
prefix = "/home/cbreeze/for_Alex"
suffix = "_15_coreMarks_mnemonics.bed"
marks = [ '1_TssA',
... | Python | docs/eforge-db-construction/construct_erc2-chromatin15state-all_files.py | charlesbreeze/eFORGE | gpl-3.0 | 3,559 | 182 | codeparrot/github-code |
c9214a60eb5a59c534a163dc53bf2a518cfe2014d13b61fcbb2c8f112a97cdce | package com.oryx.core.converter;
import com.vaadin.data.util.converter.Converter;
import org.apache.log4j.Logger;
import javax.xml.datatype.DatatypeConfigurationException;
import javax.xml.datatype.DatatypeFactory;
import javax.xml.datatype.XMLGregorianCalendar;
import java.text.ParseException;
import java.text.Simpl... | Java | oryx-client/client-core/src/main/java/com/oryx/core/converter/XMLGregorianCalendarStringConverter.java | 241180/Oryx | gpl-3.0 | 2,519 | 74 | codeparrot/github-code |
8f535a983a5d03fc79198b69be718978b2292990245880ee5ef38beccfd67c57 | import {
parseProgrammes,
parseSubjects,
parseCourses,
} from "@education-data/parser";
import { join } from "path";
import { writeFileSync } from "fs";
import { format } from "date-fns";
import { sv } from "date-fns/locale";
import { sourceDirectory, outputDirectory, replacementsDirectory } from "./cfg";
async... | TypeScript | packages/data-swedish-gymnasium/index.ts | eweilow/swedish-education-data | gpl-3.0 | 1,305 | 54 | codeparrot/github-code |
47b0dc77b95876274c75aa9dfc6fc2060bdddbcc1ecee11fa3e5bc27f61ec92e | <?php
/**
* This file is part of CMSGears Framework. Please view License file distributed
* with the source code for license details.
*
* @link https://www.cmsgears.org/
* @copyright Copyright (c) 2015 VulpineCode Technologies Pvt. Ltd.
*/
namespace cmsgears\cart\common\models\resources;
// Yii Imports
use Yii;... | PHP | common/models/resources/OrderItem.php | cmsgears/module-cart | gpl-3.0 | 14,285 | 487 | codeparrot/github-code |
a51d762d5aca81973dc95db57f3ef4e09443b5d61ae5e318257238844c57bdb0 | /*
* MJPEG decoder
* Copyright (c) 2000, 2001 Fabrice Bellard
* Copyright (c) 2003 Alex Beregszaszi
* Copyright (c) 2003-2004 Michael Niedermayer
*
* Support for external huffman table, various fixes (AVID workaround),
* aspecting, new decode_frame mechanism and apple mjpeg-b support
* ... | C | external/ffmpeg/libavcodec/mjpegdec.c | s20121035/rk3288_android5.1_repo | gpl-3.0 | 67,685 | 1,879 | codeparrot/github-code |
395ded07c1bed1329a93150525c5dd963117de66b59006ba207a58a8e60998d0 | <?php
//----------------------------------------------------------------------
//
// Copyright (C) 2017-2022 Artem Rodygin
//
// This file is part of eTraxis.
//
// You should have received a copy of the GNU General Public License
// along with eTraxis. If not, see <https://www.gnu.org/licenses/>.
//
//-----------... | PHP | src/Controller/OAuth2Controller.php | etraxis/etraxis | gpl-3.0 | 1,461 | 56 | codeparrot/github-code |
cfac71d078397fdcee6451146cb669c29bbfb002cc781df481c9d128a30dfd5f | /*
* 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/goe/AbstractIntegralNumberEditor.java | automenta/adams-core | gpl-3.0 | 3,227 | 117 | codeparrot/github-code |
8a8702b80e14215b9e0be9cc821422d6f6cee0adfc90264cba50d56dfc1cfa4f | // Copyright (C) 2013 Simon Que
//
// This file is part of DuinoCube.
//
// DuinoCube is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later ... | C | DuinoCube/examples/pacman/sprites.h | eecsninja/duinocube | gpl-3.0 | 1,690 | 51 | codeparrot/github-code |
8bb98d2d84c840ff0c32ddac0ccaa97dca562f7556a59e7d8f56e8dfb495aadb | package fi.pyramus.dao.users;
import java.util.Date;
import java.util.List;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.criteria.CriteriaBuilder;
import javax.persistence.criteria.CriteriaQuery;
import javax.persistence.criteria.Root;
import fi.pyramus.dao.PyramusEnti... | Java | persistence/src/main/java/fi/pyramus/dao/users/PasswordResetRequestDAO.java | leafsoftinfo/pyramus | gpl-3.0 | 2,326 | 69 | codeparrot/github-code |
7b20ef6e515ec05dbabbb8ac864a873ab784d18a67424efbd0e778b0d294e573 | import pandas as pd
from larray.core.array import Array
from larray.inout.pandas import from_frame
__all__ = ['read_stata']
def read_stata(filepath_or_buffer, index_col=None, sort_rows=False, sort_columns=False, **kwargs) -> Array:
r"""
Reads Stata .dta file and returns an Array with the contents
Param... | Python | larray/inout/stata.py | gdementen/larray | gpl-3.0 | 1,657 | 53 | codeparrot/github-code |
d9b800027f7011e8de1951f121fb750ac94e2df59eda7d7b2edc392c3104bd57 | <?php
namespace MultisiteMigrationFramework\modules;
use MultisiteMigrationFramework\classes\MultisiteMigration;
use MultisiteMigrationFramework\classes\MultisiteMigrationSystemAuthorization;
if (! defined('ABSPATH')) {
exit;
}
/**
* This module allows a new site to be created in the network with a specified blo... | PHP | modules/CreateBlogSpecificID.php | codex-m/multisite-migration | gpl-3.0 | 8,311 | 255 | codeparrot/github-code |
56efd913240725afedf173a14a575bb64011f11bc231eb7ca3a499fc88605eab | package com.stt.util2;
import java.util.UUID;
/**
* @Author shitongtong
* <p>
* Created by shitongtong on 2017/3/24.
*/
public class UUIDUtil {
/**
* 带"-"分割的
* @return
*/
public static String randomUUID(){
return UUID.randomUUID().toString();
}
/**
* 不带"-"分割的
* @... | Java | stt-util/src/main/java/com/stt/util2/UUIDUtil.java | shitongtong/libraryManage | gpl-3.0 | 579 | 37 | codeparrot/github-code |
30e537b25c1e94f34eee0107ed320969cbdf3df9a437c7c7f6cb1660f8b0545c | <!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>header.html - jekyll-3.1.1 Documentation</title>
<script type="text/javascript">
var rdoc_rel_prefix = "../../../";
</script>
<script src="../../../js/jquery.js"></script>
<script src="../../../js/darkfish.js"></script>
<link href="../../../css/fonts.cs... | HTML | cygwin/home/bananas/.gem/ruby/doc/jekyll-3.1.1/rdoc/lib/site_template/_includes/header_html.html | justathoughtor2/atomicApe | gpl-3.0 | 5,285 | 146 | codeparrot/github-code |
f6b5a268c3e9ff7a007ada20c435fd350916d88d603c0f7329863baaa238b20d | #include "mesh_chunk_builder.h"
#include "mesh_chunk_vertices.h"
#include "chunk.h"
#include "color.h"
#include "voxel.h"
using minecpp::MeshChunkBuilder;
using minecpp::MeshChunkVertices;
using minecpp::RGBA8;
void MeshChunkBuilder::computeLightsPlacing(unsigned componentIndex) noexcept
{
while (!lightsPlace[com... | C++ | src/mesh_chunk_builder.cpp | jangolare/MineCPP | gpl-3.0 | 18,147 | 436 | codeparrot/github-code |
abeaa6d9150d7de21925c2aad94baa92d3cf600c31b40667a9ad88b48cd2526d | package be.neutrinet.ispng.security;
import be.neutrinet.ispng.vpn.Users;
import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;
import org.apache.log4j.Logger;
import java.sql.SQLException;
import java.util.UUID;
/**
* Created by wannes on 12/20/14.
*/
@DatabaseTable(tableName =... | Java | src/main/java/be/neutrinet/ispng/security/SessionToken.java | Neutrinet/ISP-ng | gpl-3.0 | 1,487 | 65 | codeparrot/github-code |
348b2344782bd643deeee3237abf8b262ec23026368b734596a7c936c5d62c97 | <?php
declare(strict_types = 1);
namespace EssentialsPE;
use EssentialsPE\BaseFiles\BaseAPI;
use EssentialsPE\BaseFiles\BaseCommand;
use EssentialsPE\Commands\AFK;
use EssentialsPE\Commands\Antioch;
use EssentialsPE\Commands\Back;
use EssentialsPE\Commands\BreakCommand;
use EssentialsPE\Commands\Broadcast;
use Essen... | PHP | src/EssentialsPE/Loader.php | LegendOfMCPE/EssentialsPE | gpl-3.0 | 14,012 | 411 | codeparrot/github-code |
87618f7140334f0c0885b5eeb1e8fa1bfe4a1fc6115b529be2589c1a39da1ecd | import React, { Component } from 'react';
import { Link } from 'react-router-dom'
import { CSSTransition } from 'react-transition-group';
class Nav extends Component {
constructor(props) {
super(props);
this.state = {
menuActive: false
}
this.handleClick = this.handleClick.bind(this);
}
h... | JavaScript | src/js/Components/Nav.js | 7sleepwalker/addicted-to-mnt | gpl-3.0 | 1,662 | 56 | codeparrot/github-code |
265864e61b3f360649e1f428ca4d136ee8949760eb0b7fd55edf83d22ccefb6b | /*
NSBrowser.h
Control to display and select from hierarchal lists
Copyright (C) 1996, 1997 Free Software Foundation, Inc.
Author: Scott Christley <scottc@net-community.com>
Date: 1996
This file is part of the GNUstep GUI Library.
This library is free software; you can redistribute it and... | C | Headers/AppKit/NSBrowser.h | lionxing/gnustep-gui | gpl-3.0 | 9,050 | 323 | codeparrot/github-code |
f204dc330a07464a11efefb4a22bb65e1d12872318551e51aab1b70a14e87d78 |
/*
* Orthos backend functions. Mostly inspired by slim DM code.
* Big thanks to Per Liden, Simone Rota and Johannes Winkelmann.
*
* [exa]
*/
#include "sys.h"
#include "settings.h"
//#define _GNU_SOURCE
#include <sys/types.h>
#include <sys/time.h>
#include <sys/wait.h>
#include <errno.h>
#include <unistd.h>
#in... | C++ | sys.cpp | aur-archive/orthos | gpl-3.0 | 8,120 | 406 | codeparrot/github-code |
a10cfb1635552341f4b149c8c4c18eafc6d25a0efb48a6d6d0fef06256f719ed | /*
* PropertiesToolBar.java
*
* Copyright (C) 2002-2017 Takis Diakoumis
*
* 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.
*
* T... | Java | src/org/executequery/gui/prefs/PropertiesToolBar.java | takisd123/executequery | gpl-3.0 | 13,636 | 429 | codeparrot/github-code |
339f216b07f6bef43f6f53cda30acb1bda35810eb274b702d9f070a48a26207c | using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Text.RegularExpressions;
using System.Web;
using Deveel.Data.Util;
namespace Deveel.Data.Net.Security {
public class OAuthParameters : ... | C# | src/cloudb-oauth/Deveel.Data.Net.Security/OAuthParameters.cs | deveel/cloudb-oauth | gpl-3.0 | 22,846 | 621 | codeparrot/github-code |
8683a6c9dd873f9b0f7f18b00b78645dc9857134f9a8babc9581546b499d2dd0 | // (c) Copyright 2020 Richard W. Marinelli
//
// This work is licensed under the GNU General Public License (GPLv3). To view a copy of this license, see the
// "License.txt" file included with this distribution or visit http://www.gnu.org/licenses/gpl-3.0.en.html.
//
// parse.c Routines dealing with statement and stri... | C | src/parse.c | italia389/MightEMacs | gpl-3.0 | 27,592 | 906 | codeparrot/github-code |
cec9500424957540233e0a815e2de12f2802d4416edeee6f6b9f0d1138d05c5b | /*
* VerticalGlass.java
* Copyright (C) 2010-2011 Jonas Eriksson
*
* 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 versio... | Java | src/org/zkt/zmask/masks/VerticalGlass.java | zqad/zmask | gpl-3.0 | 2,138 | 79 | codeparrot/github-code |
9fba145d7991eeeb006a471c978710acc8e53344926076dde68c0ccfabcfb6bb | # ../gungame/core/messages/hooks.py
"""Provides a way to hook GunGame messages."""
# =============================================================================
# >> IMPORTS
# =============================================================================
# Source.Python
from core import AutoUnload
# GunGame
from .m... | Python | addons/source-python/plugins/gungame/core/messages/hooks.py | GunGame-Dev-Team/GunGame-SP | gpl-3.0 | 1,705 | 52 | codeparrot/github-code |
4b68f170c9f051a8b116482daa86749ac4d79db8f758feec7c1613665fa0cc5a | <?php
namespace App\Admin\Controllers;
use App\CriterioDesempateGrupoEvento;
use App\Http\Controllers\Controller;
use Encore\Admin\Controllers\HasResourceActions;
use Encore\Admin\Form;
use Encore\Admin\Grid;
use Encore\Admin\Layout\Content;
use Encore\Admin\Show;
class CriterioDesempateGrupoEventoController extends... | PHP | app/Admin/Controllers/CriterioDesempateGrupoEventoController.php | XadrezSuico/XadrezSuico | gpl-3.0 | 2,228 | 118 | codeparrot/github-code |
0eb53bd78654800eb52f3e6eb7526a260ac88ee10d20f06c2c7394ef9b2742af | package com.neemre.bitplexus.backend.model;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
i... | Java | src/main/java/com/neemre/bitplexus/backend/model/AddressType.java | priiduneemre/bitplexus | gpl-3.0 | 4,237 | 131 | codeparrot/github-code |
9f56755216d6ade67abd76b1ed45ed638b340d68702752592967e48e01abde43 | # coding=utf-8
""" NodeChains are sequential orders of :mod:`~pySPACE.missions.nodes`
.. image:: ../../graphics/node_chain.png
:width: 500
There are two main use cases:
* the application for :mod:`~pySPACE.run.launch_live` and the
:mod:`~pySPACE.environments.live` using the default
:class:`Nod... | Python | pySPACE/environments/chains/node_chain.py | Crespo911/pyspace | gpl-3.0 | 60,058 | 1,397 | codeparrot/github-code |
c5d58dc99467eeb6817efb9e9ab57fafb20315080fbb89b027fc315956a222da | package Armadito::Agent::Antivirus::Kaspersky;
use strict;
use warnings;
use base 'Armadito::Agent::Antivirus';
use UNIVERSAL::require;
use English qw(-no_match_vars);
sub new {
my ( $class, %params ) = @_;
my $self = $class->SUPER::new(%params);
$self->{av_class} = __PACKAGE__;
$self->{name} = "Kas... | Perl | lib/Armadito/Agent/Antivirus/Kaspersky.pm | armadito/armadito-agent | gpl-3.0 | 1,192 | 70 | codeparrot/github-code |
fd79279b53a89ef9902f88619fad4eff8197a6e48aa2b7cc2dd556dde002161f | package com.dotmarketing.portlets.dashboard.model;
import java.io.Serializable;
import java.util.Date;
public class DashboardSummaryPeriod implements Serializable {
private static final long serialVersionUID = 1L;
private long id;
private Date fullDate;
private int day;
private String dayName;
pri... | Java | src/com/dotmarketing/portlets/dashboard/model/DashboardSummaryPeriod.java | ggonzales/ksl | gpl-3.0 | 1,302 | 94 | codeparrot/github-code |
becae2f92d3010b555caab57fb6b5f6877d799ebf715f9b7e9cd064b07d14b22 | package ltf.namerank.dao.fs;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.TypeReference;
import ltf.namerank.dao.DictItemDao;
import ltf.namerank.entity.DictItem;
import ltf.namerank.entity.DictItem_Bm8;
import ltf.namerank.utils.PathUtils;
import org.springframework.stereotype.Component;
import java... | Java | jlab/namerank/src/main/java/ltf/namerank/dao/fs/DictItemDaoImpl.java | ltf/lab | gpl-3.0 | 1,864 | 68 | codeparrot/github-code |
dcbaa3ee02d7e3cac67bb3551a0c5811f9f0fdfefe2f8853066380ce9ff0cdc6 | /*
* ModelManager.java
*
* DMXControl for Android
*
* Copyright (c) 2012 DMXControl-For-Android. All rights reserved.
*
* This software 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;... | Java | DMXControl/src/de/dmxcontrol/model/ModelManager.java | DMXControl/DMXControl-for-Android | gpl-3.0 | 3,722 | 119 | codeparrot/github-code |
d4d35d30a4675a2b9458aa5228eecdb4c90a941271582def24bff0449b847491 | /*
* Copyright (C) 2009-2016 by the geOrchestra PSC
*
* This file is part of geOrchestra.
*
* geOrchestra 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 opt... | JavaScript | mapfishapp/src/main/webapp/app/js/GEOR_Lang/fr.js | jusabatier/georchestra | gpl-3.0 | 27,262 | 543 | codeparrot/github-code |
6a1438763e6ca887b6124fb7bac0d6d171165a0738d78ead2e63c6437d46db82 | package cz.devaty.projects.gio;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.stream.Collectors;
public class Main {
/**
* předmět a -> 3., 7.O
* předmět b -> 4., 8.O
* předmě... | Java | rozvrhovac/src/cz/devaty/projects/gio/Main.java | MrMid/gio-seminare | gpl-3.0 | 2,887 | 91 | codeparrot/github-code |
ddc15444d5fde07ddc98e5fb8c3bd22bfe162a7473b091185904be8d47c412a0 | /*****************************************************************************
The Dark Mod GPL Source Code
This file is part of the The Dark Mod Source Code, originally based
on the Doom 3 GPL Source Code as published in 2011.
The Dark Mod Source Code is free software: you can redistribute ... | C++ | renderer/draw_nv20.cpp | Extant-1/ThieVR | gpl-3.0 | 29,712 | 879 | codeparrot/github-code |
bb81376e68a8dd9275be83669a4c51f550e6262d934d263514933a7afd020c22 | /* @@@LICENSE
*
* Copyright (c) 2012 Simon Busch <morphis@gravedo.de>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | C | src/luna_service_utils.c | webOS-ports/android-property-service | gpl-3.0 | 4,291 | 161 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.