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 |
|---|---|---|---|---|---|---|---|---|
287a3be0d9dbdfceaf2c043165eb816114fe700c82dab50698d61141e3c5307d | /*
* @Date : Shandagames2018/09/02
* @Author : IceCory (icecory520@gmail.com)
* @Copyright(C): GPL 3.0
*/
#include <iostream>
#include <algorithm>
#include <vector>
#include <map>
#include <tuple>
// 输入三元组(x,y,z)数量n
// 一个值a
// logn 的复杂度内找到所有的三元组(满足 y <= a <= z)并升序输出x
int main(int argc, char *argv[]) {
u... | C++ | Contest/Ctrip2018/2.cpp | bitwater1997/ACM | gpl-3.0 | 1,814 | 65 | codeparrot/github-code |
ce211f58226a170e9a97f0d17af2527b2d1626aeb453b81c737fe311d1e6e84f | import os
import re
import sys
"""
* Perform initial configuration to ensure that the server is set up to work with Burton's format
sudo chown -R ubuntu:ubuntu /var/www
mkdir -p /var/www/default/public_html
mv /var/www/html/index.html /var/www/default/public_html # Ubuntu >=14.04
mv /var/www/index.html... | Python | configure_websites.py | dotancohen/burton | gpl-3.0 | 4,169 | 148 | codeparrot/github-code |
ab27850eb9f5b64c3e327470f387a9f799906395ce621391ca0e4564a8bda3d5 | <?php
namespace MP\Mapper;
use Dibi\Connection;
use MP\Util\Lang\Lang;
use MP\Util\Transaction\DibiTransaction;
/**
* Vychozi databazovy mapper.
*
* @author Martin Odstrcilik <martin.odstrcilik@gmail.com>
*/
class DatabaseMapper implements IMapper
{
/** @var Context */
protected $context;
/** @var C... | PHP | app/Mapper/DatabaseMapper.php | Mapybezbarier/mapybezbarier | gpl-3.0 | 7,587 | 334 | codeparrot/github-code |
1637a0e4f66c99c61c00b9bad887f461e2d826c88bf5020a7a0552a585a5d327 | /**
* ByteCart, ByteCart Redux
* Copyright (C) Catageek
* Copyright (C) phroa
*
* 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... | Java | src/main/java/com/github/catageek/bytecart/sign/BC7019.java | phroa/ByteCartRedux | gpl-3.0 | 3,023 | 96 | codeparrot/github-code |
2e97aa929378bce9378f52c34010e87c7ff24615cd8219906229b63ae85a2c79 | package com.javarush.test.level07.lesson12.home01;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;
/* Вывести числа в обратном порядке
Ввести с клавиатуры 10 чисел и заполнить ими список.
Вывести их в обратном порядке.
Исп... | Java | com/javarush/test/level07/lesson12/home01/Solution.java | andrey-gabchak/JavaRushLabs | gpl-3.0 | 842 | 32 | codeparrot/github-code |
5f801a20c02af8100aae38456d377c2e7188c69e786892cad092561c56daaf0d | package com.game.clean;
import org.apache.log4j.Logger;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.util.Arrays;
import java.util.LinkedList;
import java.util.concurrent.*;
/**
* Created by wanggq on 2016/11/9.
*/
public class MainUI {
Logger logger = Logger.getLogger(this.get... | Java | src/main/java/cn/colvin/game/MainUI.java | wangguanquan/wsjob | gpl-3.0 | 17,956 | 555 | codeparrot/github-code |
e3bfc1d71a80614f7893f37264dbe3c91afedb483f37d07ba01a4fe17c43de12 | /*
LEADERS OF AN ARRAY
The task is to find all leaders in an array, where
a leader is an array element which is greater than all the elements
on its right side
*/
import java.util.Scanner;
class Leaders_Of_Array {
public static void main(String args[]) {
int num;
System.out.print... | Java | Leaders_Of_Array/Leaders_Of_Array.java | jainaman224/Algo_Ds_Notes | gpl-3.0 | 1,031 | 41 | codeparrot/github-code |
28e21065fc6e5e7b7537265b114f0a10eb4ed5a54981046a33c08f508bd8efa5 | package net.minecraft.server;
import org.bukkit.craftbukkit.inventory.CraftItemStack; // CraftBukkit
public class EntityIronGolem extends EntityGolem {
private int e = 0;
Village d = null;
private int f;
private int g;
public EntityIronGolem(World world) {
super(world);
this.text... | Java | src/main/java/net/minecraft/server/EntityIronGolem.java | Irokue/Craftbukkit-1.3 | gpl-3.0 | 5,216 | 166 | codeparrot/github-code |
5333271f6af779265ba556f4eee09e1643c3ef32f7f93ec49e6d4e349b7e2070 | /**
* TiempoBus - Informacion sobre tiempos de paso de autobuses en Alicante
* Copyright (C) 2012 Alberto Montiel
*
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3... | Java | TiempoBus/src/alberapps/java/exception/TiempoBusException.java | alberapps/tiempobus | gpl-3.0 | 2,003 | 84 | codeparrot/github-code |
8a06d1aa38f729097b927adc4db5b6cde4a1f042e3cf892ed2070b295aa37132 | #include "Distance.h"
#include "FileName.h"
#include "IException.h"
#include "ShapeModelFactory.h"
#include "ShapeModel.h"
#include "Camera.h"
#include "Preference.h"
#include "CameraFactory.h"
#include "Target.h"
/**
* This application tests the ShapeModelFactory class.
*
* @author 2010-10-11 Debbie A. Coo... | C++ | isis/src/base/objs/ShapeModelFactory/unitTest.cpp | corburn/ISIS | gpl-3.0 | 6,738 | 208 | codeparrot/github-code |
599fc53a40549cf79ea8f4019f6cc7d76e49d8bca2d9e069695bcc1d3ea57bf0 | import pilas
import json
from pilas.escena import Base
from general import General
from individual import Individual
class jugadores(Base):
def __init__(self):
Base.__init__(self)
def fondo(self):
pilas.fondos.Fondo("data/img/fondos/aplicacion.jpg")
def general(self):
self.sonido_boton.rep... | Python | src/estadisticas.py | gercordero/va_de_vuelta | gpl-3.0 | 1,023 | 38 | codeparrot/github-code |
359f28600a7f1de6e3a69e1fd68cf1c395de4c22e2f27692a43b3353e1d7fcfb | /****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance wit... | C++ | src/plugins/qmldesigner/designercore/model/internalproperty.cpp | frostasm/qt-creator | gpl-3.0 | 4,688 | 176 | codeparrot/github-code |
ac13d952a26d05d1093c3953e0248576102cd6f69d34807c3f9db776c35b7d34 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- styles.qdoc -->
<title>Styles Example | Qt Widgets 5.7</title>
<link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
<script type="text/ja... | HTML | Doc/qtwidgets/qtwidgets-widgets-styles-example.html | angeloprudentino/QtNets | gpl-3.0 | 75,575 | 634 | codeparrot/github-code |
72bc5186e51392a13bd302eb85cd503846375946cc63bed5f7d450ef8495de7f | // Decompiled with JetBrains decompiler
// Type: System.Web.Configuration.ProfileSettingsCollection
// Assembly: System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// MVID: 7E68A73E-4066-4F24-AB0A-F147209F50EC
// Assembly location: C:\Windows\Microsoft.NET\Framework\v4.0.30319\System.Web.dll... | C# | LoCO Client Files/Decompressed Client/Extracted DLL/System.Web/System/Web/Configuration/ProfileSettingsCollection.cs | mater06/LEGOChimaOnlineReloaded | gpl-3.0 | 7,297 | 158 | codeparrot/github-code |
6c843aac9e6aa0cf6a851215f72663adf6ce5947c5ced42db0bdffe86dfd37fd | // Decompiled with JetBrains decompiler
// Type: System.Net.Cache.MetadataUpdateStream
// Assembly: System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
// MVID: 5ABD58FD-DF31-44FD-A492-63F2B47CC9AF
// Assembly location: C:\Windows\Microsoft.NET\Framework\v4.0.30319\System.dll
using System;
using... | C# | LoCO Client Files/Decompressed Client/Extracted DLL/System/System/Net/Cache/MetadataUpdateStream.cs | mater06/LEGOChimaOnlineReloaded | gpl-3.0 | 5,951 | 217 | codeparrot/github-code |
f3d27c5a1fff0dc179dc36d33415502c6bc02d7e9bf5bda8539aaba86acedf29 | /*
* Copyright (C) 2017 Jonas Zeiger <jonas.zeiger@talpidae.net>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version... | Java | src/main/java/net/talpidae/base/client/InsectNameUserAgentRequestFilter.java | lyind/base | gpl-3.0 | 2,100 | 69 | codeparrot/github-code |
7f40d9a89cedc11e59a2006c09c28a111390eb64939b1610655088875cacf81d | /* $XConsortium: XKBui.c /main/2 1995/12/07 21:18:19 kaleb $ */
/************************************************************
Copyright (c) 1996 by Silicon Graphics Computer Systems, Inc.
Permission to use, copy, modify, and distribute this
software and its documentation for any purpose and without
fee is hereby g... | C | QMOLEDEV/vnc-4_1_3-unixsrc/unix/xc/lib/xkbui/XKBui.c | chriskmanx/qmole | gpl-3.0 | 20,724 | 837 | codeparrot/github-code |
641208f1f7f27e0e4e62506678518d2dcb0869a22905aff847363b9b8c35ddf4 | /*
* 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/serial_softserial.c | frank26080115/cleanflight | gpl-3.0 | 12,895 | 431 | codeparrot/github-code |
29e1e2b1f45104ffd0fd107a6b6ab0f84a9b5fc39b09615cd4d39f6d8b9b5c81 | <?php
require_once 'users/init.php';
global $errors, $successes, $thisUserID;
require_once 'usersc/includes/general.php';
global $abs_us_root, $us_url_root;
global $PERMISSION, $UPLOADS, $seasonsArray;
require_once $abs_us_root . $us_url_root . 'users/includes/header.php';
// This should be set before including navi... | PHP | player_elo.php | klaymen/mk.ladder | gpl-3.0 | 7,864 | 153 | codeparrot/github-code |
01333dcec719c646b2f3a11cb695b3be6d52af48dc801c0d4b0efed1ddbe3628 | /*
* Ipsum is a rapid development API for Minecraft, developer by Relicum
* Copyright (C) 2015. Chris Lutte
*
* 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 Licen... | Java | src/main/java/com/relicum/ipsum/Menus/RunCommand.java | Relicum/Ipsum | gpl-3.0 | 2,079 | 83 | codeparrot/github-code |
def9c176b3f88aee0c1fd3fb3d534f90fb1bdd8ced1d2374108b88986d5efedc | <!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="language" content="en" />
<link href="./assets/ae392ecb/css/bootstrap.css" rel="stylesheet">
<link href="./assets/7aa84e41/solarized_light.css" rel="sty... | HTML | docs/api/yii-db-mssql-conditions-inconditionbuilder.html | fryntiz/Raspberry-PI | gpl-3.0 | 62,523 | 821 | codeparrot/github-code |
f65f089813a98a82601ffc3b0b069058ac3f60697286563a6aea3819eafb95d5 | /*
Unix SMB/CIFS implementation.
Copyright (C) Andrew Bartlett 2001-2003
Copyright (C) Andrew Tridgell 1994-1998,2000-2001
Copyright (C) Gerald (Jerry) Carter 2004
Copyright (C) Jelmer Vernooij 2003
Copyright (C) Jeremy Allison 2001-2009,2011
Copyright (C) Stefan Metzmacher 2003,2009
Copyright ... | C | source3/libsmb/proto.h | rchicoli/samba | gpl-3.0 | 36,918 | 896 | codeparrot/github-code |
f9085be9b92a7ffca90411015e2c275f637546d90b725a276ef95346e1feb6f5 | /*
* XDR types for NFSv3 in nfsd.
*
* Copyright (C) 1996-1998, Olaf Kirch <okir@monad.swb.de>
*/
#ifndef _LINUX_NFSD_XDR3_H
#define _LINUX_NFSD_XDR3_H
#include "xdr.h"
struct nfsd3_sattrargs
{
struct svc_fh fh;
struct iattr attrs;
int check_guard;
time_t guardtime;
};
struct nfsd3_diropargs
{
struct ... | C | fs/nfsd/xdr3.h | williamfdevine/PrettyLinux | gpl-3.0 | 8,425 | 381 | codeparrot/github-code |
7bdd4120722915ed786856c0c6964c2fab3eede8c45f0d0d3737e98a7bc3ae65 | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Terraria;
using Terraria.ModLoader;
using Terraria.ObjectData;
namespace DrakSolz.Tiles {
public class CorruptBanner : ModTile {
public override void SetDefaults() {
Main.tileFrameImportant[Type] = true;
Ma... | C# | Tiles/CorruptBanner.cs | Xahlicem/DrakSolz | gpl-3.0 | 3,563 | 104 | codeparrot/github-code |
0076bbda4d8bfc91e3e21fe512f4b98b84ed64e77eabbc59e177e77a8579d99d | /*
* 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.
*
* Written (W) 2013 Shell Hu
* Copyright (C) 2013 Shell Hu
*... | C++ | src/shogun/structure/FactorGraphModel.cpp | cfjhallgren/shogun | gpl-3.0 | 12,485 | 469 | codeparrot/github-code |
e8fdb76000421089abc8c23dea04ff799e07ce1b78532c0b6bf14a6d71e720fe | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package tcc.curriculo;
import java.net.URL;
import java.sql.SQLException;
import java.text.ParseException;
import java.text.SimpleDat... | Java | src/tcc/curriculo/CursandoFXMLController.java | RenanVictor/Projeto-TCC | gpl-3.0 | 2,956 | 95 | codeparrot/github-code |
f77d05b8a9c97aefc4d8312e3680d9ab6a6017161c0fa4353794bfb111576b69 | local S = minetest.get_translator("skinsdb")
local function show_selection_formspec(player)
local context = skins.get_formspec_context(player)
local name = player:get_player_name()
local skin = skins.get_player_skin(player)
local formspec = "size[8,8]"..skins.get_skin_info_formspec(skin)
formspec = formspec..skin... | Lua | games/stonecraft_game/mods/skinsdb/chatcommands.lua | MrCerealGuy/Stonecraft | gpl-3.0 | 3,222 | 104 | codeparrot/github-code |
777c484d6dba7c7f72c916a0466e5d62e3f9a4977ee616b975bfa2520e040bf7 | <?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... | PHP | www/framework/Zend/Service/DeveloperGarden/Response/IpLocation/LocateIPResponse.php | MailCleaner/MailCleaner | gpl-3.0 | 3,227 | 99 | codeparrot/github-code |
314892c7c0ee5b7da9b05dc7afae0cd4e4ef4f74417a871be25d6011bff3c07b | package Game.generation;
import Game.base.BlockBase;
import Game.base.World;
/**
*
* @author maximumtech
*/
public class StructureGenTree extends StructureGenBase {
public StructureGenTree(World world) {
super(world);
}
public void generate(int x, int y) {
int height = 13 + rand.nextI... | Java | Game/src/Game/generation/StructureGenTree.java | maximumtech/Game | gpl-3.0 | 2,033 | 60 | codeparrot/github-code |
2d3624f9454359d9cdd85a7897477f43420bdfdc3d6a5c7c67eedaa303da1fcc | package edu.wayne.ograph.analysis;
import java.util.Collections;
import java.util.HashSet;
import java.util.Hashtable;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.eclipse.jdt.core.dom.ASTNode;
import org.eclipse.jdt.core.dom.ArrayAccess;
import org.eclipse.jdt.core.dom.IMe... | Java | PointsToOOG/src/edu/wayne/ograph/analysis/ValueFlowTransferFunctions.java | aroog/code | gpl-3.0 | 16,047 | 374 | codeparrot/github-code |
3b7f09c4e11b37bd6044b58d5084baa3d3be7a6d27844f57e4131ff8b218178a | /**
*
* @author xedushx
*/
$(document).bind("touchmove", function (event) {
event.preventDefault();
});
/*
* Función que permite bloquear la pantalla mientras esta procesando
*/
$(function () {
$(document).ajaxStart($.blockUI).ajaxStop($.unblockUI);
});
/*
* Función que bloquea la tecla F5 y Enter de ... | JavaScript | erpxprime/web/resources/sistema/sistema.js | xedushx/erpxprime | gpl-3.0 | 3,376 | 117 | codeparrot/github-code |
d9cec13521ee9e0b993f317b9828d7318b3c0c07287f55d9d6f70d57edf5a197 | // CodeMirror2 mode/perl/perl.js (text/x-perl) beta 0.10 (2011-11-08)
// This is a part of CodeMirror from https://github.com/sabaca/CodeMirror_mode_perl (mail@sabaca.com)
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"));
else if (ty... | JavaScript | src/codemirror4/mode/perl/perl.js | soliton4/promiseLand-website | gpl-3.0 | 56,018 | 830 | codeparrot/github-code |
135c935a6fd8af36ce25ffb17965f486e935787d5b2c29dd11393389fdb00993 | // Decompiled with JetBrains decompiler
// Type: System.Threading.TimerQueue
// Assembly: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
// MVID: 255ABCDF-D9D6-4E3D-BAD4-F74D4CE3D7A8
// Assembly location: C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll
using Microsoft.Win32;
us... | C# | LoCO Client Files/Decompressed Client/Extracted DLL/mscorlib/System/Threading/TimerQueue.cs | mater06/LEGOChimaOnlineReloaded | gpl-3.0 | 7,411 | 229 | codeparrot/github-code |
3e5689a064bc40a87898036a8043cc8ab7884c7eb98521a062c9cd0800c6c951 | <?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle ... | PHP | local/report_user_license_allocations/lib.php | lernlink/iomad-ll | gpl-3.0 | 17,341 | 345 | codeparrot/github-code |
1fe6880e24020013facfe96b01cc952f8f0cb16109d6b9e86da0f75399125b63 | /*****************************************************************************
* desc_0a.h: ISO/IEC 13818-1 Descriptor 0x0A (ISO-639 language descriptor)
*****************************************************************************
* Copyright (C) 2009-2010 VideoLAN
*
* Authors: Christophe Massiot <massiot@via.ecp... | C | include/bitstream/mpeg/psi/desc_0a.h | ambernetas/epgdump | gpl-3.0 | 4,459 | 131 | codeparrot/github-code |
8f1efbbc1b3d31c74bf708182b0863294665a408c930d328835a421992fc0cff | /**
* Standalone Window.
*
* A window in standalone display mode.
*/
/**
* Standalone Window Constructor.
*
* @extends BaseWindow.
* @param {number} id Window ID to give standalone window.
* @param {string} url URL to navigate to.
* @param {Object} webApp WebApp with metadata to generate window from.
*/
var... | JavaScript | chrome/desktop/js/StandaloneWindow.js | webianproject/shell | gpl-3.0 | 3,719 | 131 | codeparrot/github-code |
79cba45011608bc390eebd646acf4a91770d3d3ec55982411880d209ef04c049 | package com.fxs.platform.web.controller;
import java.util.List;
import com.fxs.platform.security.core.support.ResponseMessage;
import com.fxs.platform.security.core.support.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframewo... | Java | fxs-platform-web/src/main/java/com/fxs/platform/web/controller/DisputeInfoController.java | charlesyao/FXS-Platform | gpl-3.0 | 7,848 | 287 | codeparrot/github-code |
bf157da0967cd957db7bf454f4845d86108f03a2b03e370720f40ef1b03e823a | #include <iostream>
#include <string>
#include <algorithm>
#include <fstream>
#define IN cin
using namespace std;
//bool sort_logic(int i, int j);
//void pr(int data[], int length);
// EOF Termination
int main(){
int __initial_input, max_index, rear;
int register i;
//ifstream input;
//input.open("input.tx... | C++ | Dhaka SIte Regional/2013/(solved)12709(Falling Ants)/12709(Falling_Ants).cpp | aihimel/contestprogramming | gpl-3.0 | 2,070 | 127 | codeparrot/github-code |
719eff0e35bc1b64df0fa88d07d43d33c2c3a32ed65a05b1d641c5c6321365fc | /*
* PropertySaver.java
*
* Created on October 9, 2007, 3:13 PM
*
* Trieda, ktoru nainicializuje objekt PropertyReader, pri starte programu
* WebAnalyzer. Tento objekt bude jedinacik a bude poskytovat vlastnosti, ktore
* potrebuju jednotlive moduly WebAnalyzatoru.
*
*/
package org.apache.analyzer.config;
/**... | Java | src/org/apache/analyzer/config/PropertySaver.java | WebArchivCZ/webanalyzer | gpl-3.0 | 1,116 | 49 | codeparrot/github-code |
63003753c469bb441d46fdc3ad7abbaa61995fe2b30fb6f8e1fdf959ee9e15a0 | /*
* Copyright (C) 2020 The Android Open Source Project
*
* 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... | Java | quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/NoButtonNavbarToOverviewTouchController.java | Deletescape-Media/Lawnchair | gpl-3.0 | 10,748 | 252 | codeparrot/github-code |
c07fa453ab7497dd3916445c7c81b855431496f015371e722dbb5122b4401bf4 | /*
* _____ _ _ _____ _
* | __ \| | | | / ____| | |
* | |__) | | ___ | |_| (___ __ _ _ _ __ _ _ __ ___ __| |
* | ___/| |/ _ \| __|\___ \ / _` | | | |/ _` | '__/ _ \/ _` |
* | | | | (_) | |_ ____) | (_| | ... | Java | Core/src/main/java/com/plotsquared/core/queue/LightingMode.java | IntellectualCrafters/PlotSquared | gpl-3.0 | 1,929 | 60 | codeparrot/github-code |
3fb17894ca4f50399efe88eb590d6287dd52c1ff527690c411aa5b3829063e57 | /*
* emucpu -- Emulates processors
* Copyright (C) 2009 Joseph Freeman (jfree143dev AT gmail DOT com)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, o... | C++ | src/Immediate.hh | sundrythoughts/EmuCpu | gpl-3.0 | 5,180 | 211 | codeparrot/github-code |
0d51cf6372718cf2cf5917076b8c7d61e3b6631bfe5a2a14262e46e75df2a6c3 | /*
* Copyright 2010, 2011, 2012 mapsforge.org
*
* This program 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 version.
*
* This pro... | Java | map-writer-osmosis/src/main/java/org/mapsforge/map/writer/model/TDNode.java | opensciencemap/VectorTileMap | gpl-3.0 | 6,372 | 248 | codeparrot/github-code |
346435dfbdb576c46a542bdf75776269dde2e12cffcfdbda30ea5d91f12533c6 | #include "../Resource/ResourceManager.h"
#include "../Resource/Handle/DLHandle.h"
#include "../Resource/Handle/DAHandle.h"
#include "../Err/FlashToolErrorCodeDef.h"
#include "../Conn/Connection.h"
#include "../Err/Exception.h"
#include "../Logger/Log.h"
#include "EfuseCommand.h"
#include "../Utility/IniItem.h"
#define... | C++ | Cmd/EfuseCommand.cpp | eret1k/SP-Flash-Tool-src | gpl-3.0 | 19,960 | 760 | codeparrot/github-code |
a557059516c1b5c53d3462f1d8951cb62e486be50da30edb6dfc5c6144fc518d | package net.geforcemods.securitycraft.items;
import java.util.List;
import net.geforcemods.securitycraft.ConfigHandler;
import net.geforcemods.securitycraft.SCContent;
import net.geforcemods.securitycraft.api.IModuleInventory;
import net.geforcemods.securitycraft.api.IOwnable;
import net.geforcemods.securitycraft.api... | Java | src/main/java/net/geforcemods/securitycraft/items/AdminToolItem.java | Geforce132/SecurityCraft | gpl-3.0 | 6,318 | 138 | codeparrot/github-code |
c7d2cb899fc74e639cad3b74714bb5d6c50862e2860c9fa879a7d15aaa9641a6 | <?php
namespace App\Model;
use Fn;
use PDO;
use stdClass;
use Exception;
use App\Model;
use App\Config;
use App\Messages\MessageInterface;
use App\Exceptions\NotFoundException;
use App\Exceptions\ValidationException;
use App\Exceptions\DatabaseInsertException;
use App\Exceptions\DatabaseUpdateException;
class Messag... | PHP | webmail/src/Model/Message.php | mikegioia/libremail | gpl-3.0 | 41,059 | 1,399 | codeparrot/github-code |
98b8668e3cbc7d811717fe6500a19a79c13e0c1a4f52e75d52eaccc0a367d176 | <?php
class Deliverable
{
/**
* @var
*/
protected $_did;
/**
* @var
*/
protected $_dName;
/**
* @var
*/
protected $_startDate;
/**
* @var
*/
protected $_endDate;
/**
* @var
*/
protected $_sid;
/**
* Deliverable con... | PHP | includes/classes/Deliverable.php | COMP353-S16/crsmgr | gpl-3.0 | 2,039 | 109 | codeparrot/github-code |
9cb6da64e0ed125941e42fcb67f6cb026b1a8461ad519a85d4cbc5e831c9eae4 | package gapt.logic.bdt
import gapt.logic.bdt.BDT.F
import gapt.logic.bdt.BDT.Ite
import gapt.logic.bdt.BDT.T
import gapt.expr.formula.And
import gapt.expr.formula.Atom
import gapt.expr.formula.Bottom
import gapt.expr.formula.Formula
import gapt.expr.formula.Imp
import gapt.expr.formula.Neg
import gapt.expr.formula.Or
... | Scala | core/src/main/scala/gapt/logic/bdt/BDT.scala | gapt/gapt | gpl-3.0 | 2,907 | 93 | codeparrot/github-code |
1497777df9ed836b3fee5dd332a1376878d893a82ce6f9e10963b564791dd7b0 | /*****************************************************************************
*
* IIDCoacam.h -- header for IEE1394/IIDC camera API
*
* Copyright 2013,2014,2015,2016,2017,2018,2019
* James Fidell (james@openastroproject.org)
*
* License:
*
* This file is part of the Open Astro Project.
*
* The Open Astr... | C | liboacam/iidc/IIDCoacam.h | openastroproject/openastro | gpl-3.0 | 2,176 | 68 | codeparrot/github-code |
4b9398a693e49f5fba280969630b0d4a687cd07dc02aaa90cbe6e0234f6e24fd | using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Crystalbyte.Paranoia.Data.SQLite;
namespace Crystalbyte.Paranoia.Data {
[Table("mail_address")]
internal class MailAddress {
[Key]
[Column("id")]
public Int64 Id {... | C# | src/Crystalbyte.Paranoia/Data/MailAddress.cs | crystalbyte/paranoia | gpl-3.0 | 871 | 37 | codeparrot/github-code |
550ead99e70d8d5fed0a34d21062f793ccf2fadc9d4e2223a88212134191fa85 | #include <iostream>
#include <fstream>
#include <sstream>
#include <vector>
#include <cstring>
#include <algorithm>
using namespace std;
#define MAX_DEPTH 8
#define RESULTS_MINDEPTH 2
#define RESULTS_LIMIT 40
class Node {
public:
int depth;
string key;
Node(int d) : next(), depth(d) {}
Node * next[27];
... | C | service/ntree.h | rikiji/walrusdict | gpl-3.0 | 807 | 44 | codeparrot/github-code |
e6fe30f5791f854c895ffe1f6e22f859e2434b46e08a5bbca348bd1862010147 | /*
Grammatical Evolution in Java
Release: GEVA-v1.2.zip
Copyright (C) 2008 Michael O'Neill, Erik Hemberg, Anthony Brabazon, Conor Gilligan
Contributors Patrick Middleburgh, Eliott Bartley, Jonathan Hugosson, Jeff Wrigh
Separate licences for asm, bsf, antlr, groovy, jscheme, commons-logging, jsci is included in the l... | Java | geva-core/src/test/java/geva/Helpers/GrammarCreator.java | cdorrat/geva-clj | gpl-3.0 | 5,084 | 143 | codeparrot/github-code |
5cb9c2f65eb4f32720b79a460cd2ef8a0de6bafca2cb436ee1b549dd9a89e6b6 | #ifndef GROUPLISTITEM_H
#define GROUPLISTITEM_H
#include <QWidget>
namespace Ui {
class GroupListItem;
}
class GroupListItem : public QWidget
{
Q_OBJECT
public:
explicit GroupListItem(QWidget *parent = 0);
~GroupListItem();
void set_group(QString group);
void set_favorite(bool fav);
signals:
... | C | grouplistitem.h | ParkerD559/StudyGroup | gpl-3.0 | 521 | 32 | codeparrot/github-code |
ea2e60cb3e02c1ed01d9682c9366e9a965d3d0b8e45df38bd0c835a0d612ffb0 | /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
/*
Sonic Visualiser
An audio file viewer and annotation editor.
Centre for Digital Music, Queen Mary, University of London.
This file copyright 2006 Chris Cannam and QMUL.
This program is free software; you can redi... | C++ | svgui/view/Overview.cpp | praaline/Praaline | gpl-3.0 | 9,287 | 363 | codeparrot/github-code |
8b2374df8908f61e28b84621d3ae441a5b15e3c535843b4514c9f916f1bf06c9 | # -*- coding: utf-8 -*-
# Copyright: (c) 2018, Ansible Project
# Copyright: (c) 2018, Abhijeet Kasurde <akasurde@redhat.com>
# Simplified BSD License (see licenses/simplified_bsd.txt or https://opensource.org/licenses/BSD-2-Clause)
from __future__ import absolute_import, division, print_function
__metaclass__ = type
... | Python | lib/ansible/module_utils/vmware_rest_client.py | 2ndQuadrant/ansible | gpl-3.0 | 13,483 | 372 | codeparrot/github-code |
68e4e9414fc1d2e2584d8b09a245bb53aaac06230b0f12ca1b1c3da5a07a409d | # NOTE: this should inherit from (object) to function correctly with python 2.7
class CachedProperty(object):
""" A property that is only computed once per instance and
then stores the result in _cached_properties of the object.
Source: https://github.com/bottlepy/bottle/commit/fa7733e075da0d790d809aa3... | Python | zfs_autobackup/CachedProperty.py | psy0rz/zfs_autobackup | gpl-3.0 | 1,252 | 39 | codeparrot/github-code |
ee89cd9f8e403c6a75119593ffc9c270888f543799b7362ef9dea63533141abb | /**
* Copyright (C) 2013 Open Whisper Systems
*
* 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... | Java | src/org/whispersystems/whisperpush/crypto/PreKeyUtil.java | CyanogenMod/android_external_whispersystems_libwhisperpush | gpl-3.0 | 7,320 | 213 | codeparrot/github-code |
817825f586cf7c24de899d6fad603ef1e082b99bffbecd538d735a33378ddc9b | <?php namespace CnesMeteo\User\Components;
use CnesMeteo\Localization\Models\Country;
use CnesMeteo\Localization\Models\Province;
use CnesMeteo\Localization\Models\State;
use CnesMeteo\User\Models\Group;
use CnesMeteo\User\Models\Organization;
use CnesMeteo\User\Models\Classroom;
use CnesMeteo\User\Models\Site;
use Cn... | PHP | user/components/Account.php | CNESmeteo/cnesmeteo | gpl-3.0 | 21,962 | 657 | codeparrot/github-code |
eb123c2c8fc9774fec968336f838e95d563b9e72062aa60e662252fa68d443af | /*
* Copyright 2016(c) The Ontario Institute for Cancer Research. All rights reserved.
*
* This program and the accompanying materials are made available under the terms of the GNU Public
* License v3.0. You should have received a copy of the GNU General Public License along with this
* program. If not, see <http:... | JavaScript | billing-ui/src/services/reports/makeDummyReport.js | CancerCollaboratory/billing | gpl-3.0 | 2,843 | 87 | codeparrot/github-code |
cac49ff7edd8f344dea1adce6775f696a55092ecf35641d0270f99e086f63be8 | <?
// MySQL compat mode for php 4:
// define mysqli_*() functions from mysql_*() ones if MYSQLI is not available
// loosely, only defined functions that are actually in use by mysql plugin.
if (!function_exists("mysqli_connect")) {
// definitions
//
define("MYSQLI_ASSOC", MYSQL_ASSOC);
// functions
... | PHP | src/api/php-functions/mysqli_compat.php | nil0x42/phpsploit | gpl-3.0 | 1,243 | 58 | codeparrot/github-code |
4b0e43e343556265470f83b3e74cc94d3486aeb5154b93a34d93e490a3691209 | import React, { Component } from 'react'
import { Button, Dropdown, Icon, Image, Form, Modal, Segment } from 'semantic-ui-react'
import tr from '../app/utils/Translation';
const verticallyCenteredTextStyle = {
display: 'inline-flex',
alignItems: 'center'
}
const verticallyCenteredContainerStyle = {
display: 'fl... | JavaScript | stories/ActiveDictionarySelector.js | sedooe/cevirgec | gpl-3.0 | 1,527 | 55 | codeparrot/github-code |
c22a6157a46f60c111ba5376c33f7b72f870ebb6f70ae22255357967cb81655b | package com.ofte.services;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.P... | Java | SourceCode/new ofte with del monitor/com.ofte.services/FilesProcessorService.java | MithunThadi/OFTE | gpl-3.0 | 20,407 | 484 | codeparrot/github-code |
6ae2c8f3636f6225378c86b7a290ba6febf1358184965274f57237d70e9b8cea | /** ***** BEGIN LICENSE BLOCK *****
*
* Copyright (C) 2019 Marc Ruiz Altisent. All rights reserved.
*
* This file is part of FoxReplace.
*
* FoxReplace 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, ... | JavaScript | sidebar/sidebar.js | Woundorf/foxreplace | gpl-3.0 | 1,985 | 48 | codeparrot/github-code |
bf6f27bd3b94ccbbefebef23c094a35e3df391b071f941414a9bf53ab8aa3701 | /* Quickscope - a software oscilloscope
* Copyright (C) 2012-2014 Lance Arsenault
* GNU General Public License version 3
*/
#include <string.h>
#include <limits.h>
#include <stdlib.h>
#include <math.h>
#include <stdbool.h>
#include <gtk/gtk.h>
#include "debug.h"
#include "Assert.h"
#include "base.h"
#include "adjus... | C | lib/adjusterBool.c | lanceman2/quickscope | gpl-3.0 | 1,793 | 80 | codeparrot/github-code |
95605e7db7c2ec321323c268b6c15b67797c9c5b008dad4c0a1063b8093541ee | /*****************************************************************************
* *
* MinionReloggerLib 0.x Beta -- https://github.com/Vipeax/MinionRelogger *
* Copyright (C) 2013, Robert van den Boorn *
* ... | C# | AlternativeSchedulerComponent/AlternativeSchedulerComponent.cs | GabiHulea/MinionLauncherCustom | gpl-3.0 | 8,763 | 182 | codeparrot/github-code |
db43efabd051db1859717eab348de333febe0e0b23a17e18750e67fbab9a2cf6 | /*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* SGI UV MMR definitions
*
* Copyright (C) 2007-2008 Silicon Graphics, Inc. All rights reserved.
*/
#ifndef _ASM_IA64_UV_UV_MMRS_H
#defi... | C | arch/ia64/include/asm/uv/uv_mmrs.h | williamfdevine/PrettyLinux | gpl-3.0 | 36,434 | 874 | codeparrot/github-code |
a078cb63bdfd8c9365ebd5aa9ce8fe5b6cbb8a30d7c2bd2362fea53e25b57147 |
from vsg.rules import token_prefix
from vsg import token
lTokens = []
lTokens.append(token.signal_declaration.identifier)
class rule_008(token_prefix):
'''
This rule checks for valid prefixes on signal identifiers.
Default signal prefix is *s\_*.
|configuring_prefix_and_suffix_rules_link|
**V... | Python | vsg/rules/signal/rule_008.py | jeremiah-c-leary/vhdl-style-guide | gpl-3.0 | 705 | 36 | codeparrot/github-code |
b2711afb02d780f2adc9991dec175143031035ad92b3862836dcc038b5f0a130 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2019-2021 OpenFOAM Foundation
\\... | C++ | src/rigidBodyState/rigidBodyState.C | OpenFOAM/OpenFOAM-dev | gpl-3.0 | 4,621 | 166 | codeparrot/github-code |
704e9de707df4970421020abd074ddea1d73bfd2a95f6e584b7bf2f08526b702 | /*
* C293PCIE Board Setup
*
* Copyright 2013 Freescale Semiconductor 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 2 of the License, or (at your
* option) a... | C | arch/powerpc/platforms/85xx/c293pcie.c | williamfdevine/PrettyLinux | gpl-3.0 | 1,609 | 77 | codeparrot/github-code |
c87b2e25abc4e0f10550052774fda0c74d9a573472af2d251aa0f1174aca23d4 | //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.def.buss.dao;
import org.hiberna... | Java | siat-1.0-SOURCE/src/buss/src/ar/gov/rosario/siat/def/buss/dao/ColEmiMatDAO.java | avdata99/SIAT | gpl-3.0 | 1,097 | 37 | codeparrot/github-code |
458d4ccbfbfe15f39b11de469ae8fdc3e9af452d0e78fecefdff8d639e59becb | /*
* setup.c - boot time setup code
*/
#include <linux/init.h>
#include <linux/export.h>
#include <asm/bootinfo.h>
#include <asm/reboot.h>
#include <asm/time.h>
#include <linux/ioport.h>
#include <asm/mach-rc32434/rb.h>
#include <asm/mach-rc32434/pci.h>
struct pci_reg __iomem *pci_reg;
EXPORT_SYMBOL(pci_reg);
st... | C | arch/mips/rb532/setup.c | williamfdevine/PrettyLinux | gpl-3.0 | 1,527 | 88 | codeparrot/github-code |
76c65a41cc039cfffc83403f849d6e19efaafd68a249f7f4e915f514145db52a | /*
* ALSA sequencer Timer
* Copyright (c) 1998-1999 by Frank van de Pol <fvdpol@coil.demon.nl>
* Jaroslav Kysela <perex@perex.cz>
*
*
* 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
... | C | sound/core/seq/seq_timer.c | williamfdevine/PrettyLinux | gpl-3.0 | 12,341 | 631 | codeparrot/github-code |
bf40a32ac6dd39cdf1e84101633351504bf21ef24aa10e6a659851fbfac8510f | package me.mrCookieSlime.Slimefun.Objects.SlimefunItem.machines;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import me.mrCookieSlime.CSCoreLibPlugin.general.Inventory.InvUtils;
import me.mrCookieSlime.CSCoreLibPlugi... | Java | src/me/mrCookieSlime/Slimefun/Objects/SlimefunItem/machines/AutoEnchanter.java | Joapple/Slimefun4 | gpl-3.0 | 5,591 | 154 | codeparrot/github-code |
e1d89a0da5f1f026eedc45f979b1720b082b7521691d899dd5e958f86c63dbab | /*****************************************************************************
* Copyright 2015-2020 Alexander Barthel alex@littlenavmap.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, eit... | C++ | src/gui/statusbareventfilter.cpp | albar965/littlenavmap | gpl-3.0 | 2,192 | 66 | codeparrot/github-code |
dfbcf2aba6fe6402f278d625efdd1504e646ce09f23cd932b1932ee2a7898076 | /*
* Copyright 2012 Aarhus University
*
* Licensed under the GNU General Public License, Version 3 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.gnu.org/licenses/gpl-3.0.html
*
* Unless required by applicabl... | C++ | artemis-code/src/concolic/solver/constraintwriter/z3str.cpp | cs-au-dk/Artemis | gpl-3.0 | 7,077 | 218 | codeparrot/github-code |
eb24931d21e2ad5046e7c7c5d6739a7ed143f54605524a0a5b67b7ed04a974d0 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SFML.Graphics;
using SFML.Window;
using System.Diagnostics;
using System.Threading;
namespace Presentation
{
class MyProgram : SFMLProgram
{
RenderWindow window;
private bo... | C# | MyProgram.cs | binarygondola/travelling-salesman | gpl-3.0 | 2,918 | 113 | codeparrot/github-code |
d976c8f40d63416e1cf1d5c22c9d67b96d5eec57817580bf492b14cc4f394003 | #include "GuiManager.h"
#include "Shader.h"
#include "TextureData.h"
#include "Component.h"
#if defined(GLES2)
#include <GLES2/gl2.h>
#elif defined(GLES3)
#include <GLES3/gl3.h>
#else
#include <GL/glew.h>
#endif
#include <glm/gtx/transform.hpp>
TextureData *m_textureData;
Shader *m_shader;
static int g_AttribLocati... | C++ | src/engine/GuiManager.cpp | Shervanator/Engine | gpl-3.0 | 15,379 | 458 | codeparrot/github-code |
6251b42d10fe55e579010aa7dfa852b16ef7d8525b511a6089ec1415f630f1f7 | //----------------------------------------------------------------------------
// Copyright (C) 2004-2017 by EMGU Corporation. All rights reserved.
//----------------------------------------------------------------------------
using System;
using Emgu.CV;
#if UNITY_ANDROID || UNITY_IOS || UNITY_STANDALONE || ... | C# | Emgu.CV/Color/Rgb565.cs | neutmute/emgucv | gpl-3.0 | 3,489 | 116 | codeparrot/github-code |
ced87247e1140f6cb3e204dad273d659317bca2ed40dcf6726cbf64db12f9d90 | /*
* Copyright (C) 2020 GG-Net GmbH
*
* 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 distri... | Java | ui/receipt/src/test/java/eu/ggnet/dwoss/receipt/ui/tryout/fx/CdiFxSaft.java | gg-net/dwoss | gpl-3.0 | 1,487 | 53 | codeparrot/github-code |
8949661cc9c02a672dac9986ec06974987548b496788bf04c3627dff32125959 | /*
* Copyright (C) 2003, 2004, 2005, 2007, 2009 Apple Inc. All rights reserved.
* Copyright 2010, The Android Open Source Project
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source c... | C++ | WebKit/Source/WebCore/bridge/jni/jsc/JavaMethodJSC.cpp | cs-au-dk/Artemis | gpl-3.0 | 5,765 | 152 | codeparrot/github-code |
0c431d3e681d438208049c3e4fe9bf26a67a53c0d4f661a5f349859bc6e9e880 | package com.bioxx.tfc2.handlers;
import java.util.*;
import net.minecraft.init.Blocks;
import net.minecraftforge.fml.common.FMLCommonHandler;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
import net.minecraftforge.fml.relauncher.Side;
import com.bioxx.jmapgen.IslandMap;
import com.bioxx.jmapgen.... | Java | src/Common/com/bioxx/tfc2/handlers/CreateDungeonHandler.java | Precision-Smelter/TFC2 | gpl-3.0 | 8,748 | 247 | codeparrot/github-code |
fd4253d48fa8cc5c9824be92a18f6ed13314e05b95ad29ae22e4cdefbc4c5d68 | /* ****************************************************************** **
** OpenSees - Open System for Earthquake Engineering Simulation **
** Pacific Earthquake Engineering Research Center **
** **
** ... | C++ | src/domain/mesh/element/special/frictionBearing/FlatSliderSimple2d.cpp | lcpt/xc | gpl-3.0 | 20,307 | 666 | codeparrot/github-code |
cb5334d8fdcc606776ebfb55b6e635fd9a44f9693f90247e9d95a2033176874a | package com.example.demo;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.springframework.boot.autoconfigure.ImportAutoConfiguration;
import org.springframework.boot.autoconfigure.mongo.embedded.EmbeddedMongoAutoConfiguration;
import org.springframework.boot.test.context.SpringB... | Java | boot-data-mongo/src/test/java/com/example/demo/IntegrationTests.java | hantsy/spring-reactive-sample | gpl-3.0 | 1,082 | 38 | codeparrot/github-code |
d6a32fe23bbb385f68e8ebdd3dcee3972fb31f6067603a67556b92910e61d0af | // Copyright 2008 Isis Innovation Limited
#include "ptam/construct/small_blurry_image.h"
#include <cvd/utility.h>
#include <cvd/convolution.h>
#include <cvd/vision.h>
#include <TooN/se2.h>
#include <TooN/Cholesky.h>
#include <TooN/wls.h>
//using namespace CVD;
using namespace std;
namespace ptam {
CVD::ImageRef Smal... | C++ | ptam/construct/small_blurry_image.cc | williammc/ptam_plus | gpl-3.0 | 8,238 | 251 | codeparrot/github-code |
2ff755c57978d645489ad1feee4f7fbb263e855c3e113bd37b8008dbf0e4a388 | /* RetroArch - A frontend for libretro.
* Copyright (C) 2014-2015 - Mike Robinson
*
* RetroArch 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 Found-
* ation, either version 3 of the License, or (at your option) ... | C | input/drivers_joypad/parport_joypad.c | xerpi/RetroArch | gpl-3.0 | 11,233 | 381 | codeparrot/github-code |
36ff65e79602cdeb71bded2cbee9ca3a51443cc95922f90d93fe83579eec715e |
<HTML >
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252" />
<TITLE>BorderRightColor Attribute</TITLE>
<LINK REL="stylesheet" TYPE="text/css" HREF="../common/ie4.css" />
<LINK REL="stylesheet" TYPE="text/css" HREF="../common/ie5.css" />
<style>
BODY
{
font-family:verdana,arial,helvetica;... | HTML | dhtml/DHTML/DHTMLref/vml/a_borico.html | gucong3000/handbook | gpl-3.0 | 3,988 | 112 | codeparrot/github-code |
200cc03b02aada49d5942aa334548417681d4028d9342cf0a4d7d5ec38394c89 | <?php
class Radicacion {
/**
* Clase que maneja los Historicos de los documentos
*
* @param int Dependencia Dependencia de Territorial que Anula
* @db Objeto conexion
* @access public
*/
// VARIABLES DE DATOS PARA LOS RADICADOS
var $db;
var $tipRad;
var $radiTipoDeri;
var $nivelRad... | PHP | include/tx/Radicacion.php | anicma/orfeo | gpl-3.0 | 8,081 | 232 | codeparrot/github-code |
ba340c6ce8e0dae0c72a53ca1c200e054e9aed9e1976469d02d5d1c750e2f38e | /* xoreos - A reimplementation of BioWare's Aurora engine
*
* xoreos is the legal property of its developers, whose names
* can be found in the AUTHORS file distributed with this source
* distribution.
*
* xoreos is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Publ... | C | src/graphics/aurora/pltfile.h | cc9cii/xoreos | gpl-3.0 | 2,350 | 110 | codeparrot/github-code |
e328c90083509e277dd82dd70e69a8fd7afb8b78f4d2c494ae947e389d4570aa | # Copyright 2013-2015 Lenna X. Peterson. All rights reserved.
from .meta import classproperty
class AtomData(object):
# Maximum ASA for each residue
# from Miller et al. 1987, JMB 196: 641-656
total_asa = {
'A': 113.0,
'R': 241.0,
'N': 158.0,
'D': 151.0,
'C': 140... | Python | util/atom_data.py | lennax/util | gpl-3.0 | 6,616 | 181 | codeparrot/github-code |
70010a632b2fa369c740659b24b2fb198a4cb3228bef59873a1f4e8bf9c53443 | <html>
<head>
<title>Server Error</title>
<style type="text/css">
body {
background-color: #fff;
margin: 40px;
font-family: Lucida Grande, Verdana, Sans-serif;
font-size: 14px;
line-height: 21px;
color: #000;
}
#content {
border: #999 1px solid;
background-color: #fff;
padding: 20px 20px;
}
h1 {
font-weight... | HTML | src/Fasim/View/error500.html | lhs168/fasim | gpl-3.0 | 1,760 | 104 | codeparrot/github-code |
f0c4d9b400a85727b598be77e025b6d3100434a2814fd757cba3378f5e79c669 | using System;
using AoM;
using Newtonsoft.Json;
using Units;
namespace Maps
{
/// <summary>
/// Represents a single population rule
/// </summary>
public class PopulationRule
{
/// <summary>
/// This is requiered to have access to other rules, so these rules are not forceful independent
/// </summary>
[Js... | C# | Maps/PopulationRule.cs | karv/Art-of-Meow | gpl-3.0 | 1,529 | 71 | codeparrot/github-code |
b6ea768a0d19a727c5f4d63ed4dbcc0ea09433833b30c1632308cb86b082bbef | /*******************************************************************************
* Copyright (c) 2006 Subclipse project and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is... | Java | org.tigris.subversion.subclipse.ui/src/org/tigris/subversion/subclipse/ui/authentication/UserPromptDialog.java | apicloudcom/APICloud-Studio | gpl-3.0 | 3,794 | 111 | codeparrot/github-code |
176ca48d17575767a308994158fd8c7aefb3c3bd67bac4c10916f0c25021cf6d | <!DOCTYPE>
<html>
<head>
</head>
<body onload="">
<div id="container">
<h2>Your seat reservations</h2>
<table>
<thead><tr>
<th>Passenger name</th><th>Meal</th><th>Surcharge</th><th></th>
</tr></thead>
... | HTML | archives/knockout/20150427_ko_003.html | kgoe/html | gpl-3.0 | 1,835 | 51 | codeparrot/github-code |
1e4d22356a5848f1c6f09daa68a57e90cbf3a8837b4a6de7b6570645c3163fba | /*
* Hello Minecraft! Launcher
* Copyright (C) 2020 huangyuhui <huanghongxun2008@126.com> and contributors
*
* 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 Licens... | Java | HMCLCore/src/main/java/org/jackhuang/hmcl/mod/server/ServerModpackRemoteInstallTask.java | huanghongxun/HMCL | gpl-3.0 | 3,748 | 96 | codeparrot/github-code |
90eb0aca93796910183304b84f3ac841789374d641949f2333dfa9c72f51b44e | #include "Meta_temporary_type.hpp"
#include "../colors.h"
#if COMPILER
#include "../compiler/Compiler.hpp"
#endif
namespace ls {
bool Meta_temporary_type::operator == (const Type* type) const {
return false;
}
int Meta_temporary_type::distance(const Type* type) const {
return -1;
}
#if COMPILER
llvm::Type* Meta_tem... | C++ | src/type/Meta_temporary_type.cpp | 5Pilow/LeekScript | gpl-3.0 | 768 | 34 | codeparrot/github-code |
ee1dcb2e45c98b7d8cb583f8e3a3a24594d02db374e4c6fa3c2d6a6d18aeda96 | /***************************************************************************
JSPICE3 adaptation of Spice3f2 - Copyright (c) Stephen R. Whiteley 1992
Copyright 1990 Regents of the University of California. All rights reserved.
Authors: 1988 Hong June Park
1993 Stephen R. Whiteley
******************************... | C | models-jspice3-2.5/bsim2/b2mask.c | henjo/gnucap-models | gpl-3.0 | 13,244 | 430 | codeparrot/github-code |
5615b89b1a79d4c68e37c25dd60b2379def91c943a144a59e645f106d10e2439 | #ifndef TAG_INFO_H
#define TAG_INFO_H
#include "BaseResult.h"
namespace Instagram{
class EXPORT_INSTAGRAM TagInfo : public BaseResult{
public:
TagInfo();
TagInfo(const std::string& name, int count);
TagInfo(const char* errMsg);
TagInfo(const std::string& errMsg);
TagInfo(const TagInfo& tagInfo);
... | C | lib/inc/results/TagInfo.h | 1nsidE/InstagramCpp | gpl-3.0 | 741 | 38 | codeparrot/github-code |
0f9a186be6e4ab538679e7bd83ae82170b78f54618b113c5f05edf5c7d165b2d | /***********************************************************************
This file is part of KEEL-software, the Data Mining tool for regression,
classification, clustering, pattern mining and so on.
Copyright (C) 2004-2010
F. Herrera (herrera@decsai.ugr.es)
L. Sánchez (luciano@uniovi.es)
J. Alcalá-Fde... | Java | src/keel/GraphInterKeel/datacf/util/KeelFileFilter.java | adofsauron/KEEL | gpl-3.0 | 2,920 | 111 | codeparrot/github-code |
918cafb30b5ab6225401dda0788e87f3667b385ef18bf074d4d83098b67bebaf | #ifndef INCLUDE_MODEL_TASK_HPP_
#define INCLUDE_MODEL_TASK_HPP_
#include <unordered_map>
#include "building.hpp"
#include "entity.hpp"
#include "item.hpp"
#include "tile.hpp"
namespace villa
{
/**
* Task data union.
*/
struct taskdata
{
taskdata(std::pair<int, int> target_coords);
taskdata(std::pair<int, i... | C++ | include/model/task.hpp | Netflux/Villa | gpl-3.0 | 1,286 | 64 | codeparrot/github-code |
570e99cf7af4cf8df39b3bb9ba3723701a7c0ab89d807aafb90e31d17ff8d794 | /*
* File: city.cpp
* Author: matthew
*
* Created on 24 October 2013, 20:28
*/
#include <gtk/gtk.h>
#include <iostream>
#include <stdlib.h> /* abs */
#include "city.h"
#include "unit_ref.h"
#include "includes.h"
using namespace std;
cCity::cCity(gint iCityPlayerId_, gint iCellX_, gint iCellY_, gint iCit... | C++ | src/city.cpp | mmcnicol/StratConClone-GTK-CPP | gpl-3.0 | 2,986 | 108 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.