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 |
|---|---|---|---|---|---|---|---|---|
cfc71c5bddb690f7a1a2a74fb0491678020843fc29e695a45792bcad171f2198 | #define PI 3.141592f
#include <iostream>
#include <cmath>
#include "circulo.h"
#include <string>
using namespace std;
ostream& operator<<(ostream &Saida, circulo &c1)
{
Saida << "Raio: " << c1.get_raio() << endl;
Saida << "Diâmetro: " << c1.get_raio()*2 << endl;
Saida << "Circunferência: " << c1.get_circunferencia... | C++ | sobrecarga/main.cpp | kinmax/LAPRO2 | gpl-3.0 | 1,397 | 54 | codeparrot/github-code |
8d6b187a1acef899988658e94fdaf25bf38e3ce08ce6d963cf392a379ff31897 | /*******************************************************************************
* Copyright (c) 2010 Torsten Zesch.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Lesser Public License v3
* which accompanies this distribution, and is available at
... | Java | src/de/tudarmstadt/ukp/wikipedia/api/TitleIterator.java | fauconnier/LaToe | gpl-3.0 | 4,695 | 149 | codeparrot/github-code |
f65d380dd029d44aa5a026c4b0b8de84e46ff0f820cf063d20648319b2e59619 | /*
* Hyperbox - Virtual Infrastructure Manager
* Copyright (C) 2013 Max Dor
*
* https://apps.kamax.io/hyperbox
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the L... | Java | src/main/java/io/kamax/hboxd/factory/ModelFactory.java | hyperbox/server | gpl-3.0 | 1,201 | 44 | codeparrot/github-code |
072b11f58795cae64191904e4608d485c288192fd7dd7fcb9797c63632414adf | package com.dronecontrol.droneapi;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import com.google.common.collect.Sets;
import com.google.inject.Inject;
import com.dronecontrol.droneapi.components.AddressComponent;
import com.dronecontrol.droneapi.components.ErrorListenerComponent;
imp... | Java | drone-api/src/main/java/com/dronecontrol/droneapi/ConfigurationDataRetriever.java | theone1984/parroteer | gpl-3.0 | 5,909 | 206 | codeparrot/github-code |
41f4f559042ca4ebcffac06e1cd41fdc173ddd9556262bbf893b6806858570c0 | /* ---------------------------------------------------------------------------
* Programa: lee_lineas
* Entradas: Una serie de líneas de texto
* Salidas: - La línea más larga (si no se introduce ninguna se muestra una cadena vacía)
* - La línea menor lexicográficamente (si no se introduce ninguna se
* ... | C++ | Tema5-Tipos de datos estructurados/lee_lineas.cc | FundamentosProgramacionUJA/Ejercicios | gpl-3.0 | 1,123 | 36 | codeparrot/github-code |
9be40f45c55718af2dbefc12c23a1f5e028c0e67e34b6cf4c8c1a7a099f937ef |
/* This library for Digital Light sensor BH1750FVI
use I2C Communication protocal , SDA,SCL Are required
to interface with this sensor
pin configuration :
VCC >>> 3.3V
SDA >>> A4
SCL >>> A5
ADDR >> A3 "Optional"
GND >>> gnd
written By : Mohannad Rawashdeh
www.genotronex.com
*/
#i... | C | lib/BH1750FVI/BH1750FVI.h | Leenix/StreetFighter_Sensor_Testbed | gpl-3.0 | 1,337 | 69 | codeparrot/github-code |
cc6eeb3bec9e5dd2a2b82b205f3ba750b1cadd65acff0a0bb60ea61af7908d43 | <!DOCTYPE html>
<!--********************************************-->
<!--* Generated from PreTeXt source *-->
<!--* on 2021-03-10T19:23:46-08:00 *-->
<!--* A recent stable commit (2020-08-09): *-->
<!--* 98f21740783f166a773df4dc83cab5293ab63a4a *-->
<!--* ... | HTML | images/unit5/HowToIdentifyIntervals.html | rhutchinson20/mt21c | gpl-3.0 | 44,100 | 533 | codeparrot/github-code |
fbacce1145e066153774336981a83b3b227e0c87c10aadf56138d9818939b20c | package com.m4thg33k.lit.lib;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import net.minecraft.util.IStringSerializable;
public enum EnumBetterFurnaceType implements IStringSerializable {
IRON("Iron",0.5,1,1.25,30000, new ItemStack(Items.iron_ingot,1)),
... | Java | src/main/java/com/m4thg33k/lit/lib/EnumBetterFurnaceType.java | M4thG33k/LittleInsignificantThings_1.9 | gpl-3.0 | 1,983 | 69 | codeparrot/github-code |
0b0317e80d28620cb7a1944fccbb55fe99eec84f0eb504eb0264c0c159b2d88c | /*-----------------------------------------------------------------------*\
| ___ ____ __ __ ___ _ _______ |
| / _ \ _ __ ___ _ __ / ___|| \/ |/ _ \| |/ / ____| _ _ |
| | | | | '_ \ / _ \ '_ \\___ \| |\/| | | | | ' /| _| _| |_ _| |_ |
| | |_| | |_) |... | C | solver/openSMOKEpp4edcSMOKE/math/native-nls-solvers/interfaces/Sparse_OpenSMOKEppNls.h | acuoci/edcSMOKE | gpl-3.0 | 6,128 | 153 | codeparrot/github-code |
b1e0dd98bdc9d3667e1ae34b4d213d3cc0f1921c47b23c68dac51b9aaf98475b | /*
* gMix open source project - https://svs.informatik.uni-hamburg.de/gmix/
* Copyright (C) 2012 Karl-Peter Fuchs
*
* 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 th... | Java | src/evaluation/loadGenerator/applicationLevelTraffic/requestReply/ALRR_BasicWriter.java | abeifuss/simgui | gpl-3.0 | 2,609 | 69 | codeparrot/github-code |
a5f92db4cfce63b51d05e26d3e7fcda2cd9dd126f5a2380f51b4c42eaa83bdd7 | from troposphere import Tags,FindInMap, Ref, Template, Parameter,ImportValue, Ref, Output
from troposphere.efs import FileSystem, MountTarget
from troposphere.ec2 import SecurityGroup, SecurityGroupRule, Instance, Subnet
from create import export_ref, import_ref
from create.network import AclFactory, assoc_nacl_subnet
... | Python | create/efs.py | gotropo/gotropo | gpl-3.0 | 2,807 | 74 | codeparrot/github-code |
96879d3bd19f24c0e2ead05da74ec401c34b03f9c9bfe4ea4118dd0701c3419c | <?php
/*
* Social Widget
*/
class Custom_Search_Widget extends WP_Widget {
function Custom_Search_Widget() {
parent::__construct(
'custom_search', // Base ID
__('Custom Search', 'denta-lite'), // Name
array( 'description' => __( 'Custom Search widget.', 'denta-lite' ), ) // Args
);
}
function widget... | PHP | includes/custom-widgets.php | Codeinwp/dentatheme-lite | gpl-3.0 | 1,853 | 64 | codeparrot/github-code |
c34f95b1d328a2a2d603328b1d59eb4d3967dc392a782f71efc128dc10e90bac | /*
*** Transformer
*** src/base/transformer.cpp
Copyright T. Youngs 2013-2015
This file is part of uChroma.
uChroma 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... | C++ | src/base/transformer.cpp | trisyoungs/uchroma | gpl-3.0 | 3,304 | 141 | codeparrot/github-code |
85450b9542ff7b34378a0a56b7d8565951a295b27558e759186732df1dcd560f | # Snap! Configuration Manager
#
# (C) Copyright 2011 Mo Morsi (mo@morsi.org)
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License, Version 3,
# as published by the Free Software Foundation
#
# This program is distributed in the hope that it will... | Python | snap/config.py | movitto/snap | gpl-3.0 | 10,759 | 265 | codeparrot/github-code |
a292d0f0fb81c978a19f0866f0aea66ff6f111e15219d5b2f000f6a90657960b | package org.safepod.app.android.exceptions;
/**
* Created by Prajit on 3/7/2016.
*/
public class AppSignatureNotGeneratedException extends Exception {
public AppSignatureNotGeneratedException() {
}
public AppSignatureNotGeneratedException(String detailMessage) {
super(detailMessage);
}
... | Java | app/src/main/java/org/safepod/app/android/exceptions/AppSignatureNotGeneratedException.java | SafePodOrg/SafePodAndroid | gpl-3.0 | 818 | 37 | codeparrot/github-code |
0e345083a5858597972264e0876840b9b816dcb61803cc9e0b00ad915401ddba | import { Template } from 'meteor/templating';
import { Academy } from '/imports/api/databasedriver.js';
import { Challenges } from '/imports/api/databasedriver.js';
import { Rooms } from '/imports/api/databasedriver.js';
import { Badges } from '/imports/api/databasedriver.js';
import { ROOMS_ACTIVE_ELEMENT_KEY } from ... | JavaScript | client/management/rooms/newRoom/NewRoomInfo.js | LandOfKroilon/KroilonApp | gpl-3.0 | 1,694 | 68 | codeparrot/github-code |
ec68b61043e1a6168d23edfaeb0ba448b0e1843ef8a00797d43cae95bf10c79a | /*
* Copyright 2014-2015 Erik Wilson <erikwilson@magnorum.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, or
* (at your option) any later version.
... | Java | src/main/java/org/tritania/unicus/command/CResource.java | tritania/Unicus | gpl-3.0 | 3,241 | 104 | codeparrot/github-code |
069f5548b3eb9d2c3caa82d70a8c303ebb0ded778a4486a7cbfc4eaf1dd88370 | /*
Unix SMB/CIFS implementation.
FS info functions
Copyright (C) Stefan (metze) Metzmacher 2003
Copyright (C) Jeremy Allison 2007
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 Foundati... | C | source3/libsmb/clifsinfo.c | opinkerfi/winexe | gpl-3.0 | 24,825 | 978 | codeparrot/github-code |
65e046ab0923b8acca8654f9388bfb91bf17ce08ba6e07d7f81e0775b757b6a2 | /*
* distance.cpp
*
* Created on: 18 May 2016
* Author: junior
*/
#include "distance.hpp"
using namespace std;
using namespace cv;
namespace clustering {
namespace distance {
DistanceCalculator::DistanceCalculator(calculator cal){
this->cal = cal;
distance = 0;
this->attributesOne = NULL;
this->attr... | C++ | modules/hdbscan/src/distance.cpp | ojmakhura/mvision | gpl-3.0 | 3,380 | 139 | codeparrot/github-code |
e78adbce46b9b3ddaa71012b7a4404760757d9d9c59f84de00dfe352fa4dbebb | <!--
/*
* 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.
*/
/*
* Autor= Javi
* Fecha= 08/01/2016
* Licencia= GNU General Public License v.3.0
* Version= 1.0
* Descripcion=
* /
-->
<?php
cla... | PHP | EjerTema4_5/guia/controlador/recuerdame.php | cancelajavi/2-DAW | gpl-3.0 | 986 | 33 | codeparrot/github-code |
735162ef354622471b05ca9ff40c7f3cdf54046de917c33d0efa885d2d998c8e | # Peerz - P2P python library using ZeroMQ sockets and gevent
# Copyright (C) 2014-2015 Steve Henderson
#
# 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... | Python | peerz/messaging/base.py | shendo/peerz | gpl-3.0 | 2,720 | 82 | codeparrot/github-code |
a022d4a2a41e752d13257797855efdf71774d0798abf132846d0f087f4e80ede | from essence3.util import clamp
class Align(object):
def __init__(self, h, v = None):
self.h = h
self.v = h if v is None else v
def __call__(self, node, edge):
if edge in ('top', 'bottom'):
return node.width * self.h
if edge in ('left', 'right'):
return... | Python | essence3/layout.py | cheery/essence | gpl-3.0 | 11,955 | 357 | codeparrot/github-code |
b4facc5a2be478f24d05ed8bf0c52d4fe6bcff253dafc90c7f6a763bee3bb213 | package name.abhijitsarkar.javaee.travel.repository;
import com.couchbase.client.java.document.json.JsonObject;
import com.couchbase.client.java.query.N1qlQueryRow;
import name.abhijitsarkar.javaee.travel.domain.Airport;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.time.Instant;
import java.ti... | Java | travel-app/src/main/java/name/abhijitsarkar/javaee/travel/repository/N1qlQueryRowToAirportMapper.java | asarkar/spring | gpl-3.0 | 2,021 | 50 | codeparrot/github-code |
9f520db5370315ee1e7b9bc746f0e2772da7195549bebfc0e2540e87ec960a1a | <?php if ( ! defined('BASEPATH')) exit('No direct access allowed');
class Local extends Main_Controller {
public function __construct() {
parent::__construct(); // calls the constructor
$this->load->model('Locations_model');
$this->load->model('Pages_model');
$this->load->model('Reviews_mod... | PHP | main/controllers/Local.php | ankpristoriko/rasaini | gpl-3.0 | 17,265 | 460 | codeparrot/github-code |
6dbd870400218f47d0134b3d6116e27ace7ee0c7271a1ff1b2188095ff543ca1 | /*
FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
All rights reserved
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
This file is part of the FreeRTOS distribution.
FreeRTOS is free software; you can redistribute it and/or modify it under
the... | C | FreeRTOSv9.0.0/FreeRTOS/Demo/ARM7_STR71x_IAR/FreeRTOSConfig.h | RobsonRojas/frertos-udemy | gpl-3.0 | 5,463 | 116 | codeparrot/github-code |
8b11af98194bad2890a6c4d5aa25f3a89a352a39d01aa9e4a66daf59f4d5bbce | # Copyright (C) 2018-2019 Matthias Klumpp <matthias@tenstral.net>
#
# Licensed under the GNU Lesser General Public License Version 3
#
# 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, eith... | Python | src/rubicon/rubicon/fileimport.py | lkorigin/laniakea | gpl-3.0 | 6,906 | 173 | codeparrot/github-code |
6fe6ab9d070bbc1a744e510997b97ff8d06290dd520d4ba878ff52793e4dafc7 | package com.archeinteractive.dev.commonutils.command;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* An annotation int... | Java | src/main/java/com/archeinteractive/dev/commonutils/command/CommandHandler.java | ewized/CommonUtils | gpl-3.0 | 955 | 36 | codeparrot/github-code |
eb6700c66f8b3c1aa926b24f68881e688ff61214a8aa2c8b45666164cb5045f8 | /****************************************************************************!
* _ _ _ _ *
* | |__ _ __ / \ | |_| |__ ___ _ __ __ _ *
* | '_ \| '__/ _ \| __| '_ \ / _ \ '_ \ / _` | *
* ... | C | src/char/pincode.c | gabrielbdcxd/BrSabino | gpl-3.0 | 8,033 | 242 | codeparrot/github-code |
3de7f66c4d04ccc51a715b1724cee0e9e295dfe2d1abea224124d1962d607093 | //===-- MipsMCCodeEmitter.cpp - Convert Mips code to machine code ---------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | C++ | llvm/lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp | Bootz/multicore-opimization | gpl-3.0 | 9,919 | 267 | codeparrot/github-code |
6ec3b0dd77b8ca46698938cd20f88823daee40ca507470b88ae7ee514d44a0dc | #region
using System;
using System.Collections.Generic;
using System.Data;
using System.Globalization;
using System.Linq;
using Game.Battle.CombatGroups;
using Game.Battle.CombatObjects;
using Game.Battle.Reporting;
using Game.Battle.RewardStrategies;
using Game.Data;
using Game.Setup;
using Game.Util;
u... | C# | server/Game/Battle/BattleManager.cs | giulianob/tribalhero | gpl-3.0 | 35,668 | 953 | codeparrot/github-code |
ec4c75abd6e93dd801181537c29f88b3b0b5d267c55c9d5bfbfb6b93e0c9c967 | package com.blogspot.minborgsjavapot.escape_analysis;
import java.io.IOException;
public class Main {
/*
-server
-XX:BCEATraceLevel=3
-XX:+PrintCompilation
-XX:+UnlockDiagnosticVMOptions
-XX:+PrintInlining
-verbose:gc
-XX:MaxInlineSize=256
-XX:FreqInlineSize=1024
-XX:MaxBCEAEstimateSize=1024
-XX:MaxInlineLev... | Java | src/main/java/com/blogspot/minborgsjavapot/escape_analysis/Main.java | minborg/javapot | gpl-3.0 | 1,138 | 56 | codeparrot/github-code |
6069ace94bf74d6761edd0b8529b17f272e8a35b22a3dc614900ea5e6352beab | #pragma once
#define sTypeDomoticzSecurity 0x83
#define sTypeRAINWU 0x70 //Weather Underground (Total rain reported, no counter)
#define sTypeTHBFloat 0x10 //Weather Station
#define sTypeWINDNoTemp 0x30 //Weather Station
#define wsbaroforcast_heavy_snow 0x01
#define wsbaroforcast_snow 0x01
#define ... | C | hardware/hardwaretypes.h | ozarchie/domoticz | gpl-3.0 | 4,820 | 235 | codeparrot/github-code |
bf000b745fd9f6be9b3e2327906ac7aa99959ec7063a86b208b812d5c7eef27c | import { createSelector } from 'reselect';
import { bindActionCreators, compose } from 'redux';
import { connect } from 'react-redux';
import { reduxForm } from 'redux-form';
import {
requestContact, createContact, deleteContact, invalidate as invalidateContacts,
} from '../../store/modules/contact';
import { request... | JavaScript | src/frontend/web_application/src/scenes/Contact/index.js | CaliOpen/CaliOpen | gpl-3.0 | 2,978 | 91 | codeparrot/github-code |
52e8c3c4f4c5156fb0f6a812194c9eba0154d3f1f0db39bdfa6632479c703376 | package com.earth2me.essentials.update;
import com.earth2me.essentials.update.chat.*;
import java.util.HashMap;
import java.util.Locale;
import java.util.Map;
import org.bukkit.Server;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.even... | Java | EssentialsUpdate/src/com/earth2me/essentials/update/EssentialsHelp.java | desces/Essentials | gpl-3.0 | 4,452 | 172 | codeparrot/github-code |
13c9311cfd8c98be1242916aff409070a1edcaf19958507448f3f2ec5ad8d029 | /*
* Copyright (C) 2011 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 | packages/apps/Launcher3/src/com/android/launcher3/InfoDropTarget.java | s20121035/rk3288_android5.1_repo | gpl-3.0 | 4,717 | 140 | codeparrot/github-code |
42e9b488c113c3aa1b74264786c539f3c1e5cc10dccacd12679ab6e76988431f | /*
* Copyright (C) 2005-2012 MaNGOS <http://www.getmangos.com/>
* Copyright (C) 2008-2012 Trinity <http://www.trinitycore.org/>
* Copyright (C) 2010-2012 Project SkyFire <http://www.projectskyfire.org/>
* Copyright (C) 2011-2012 Darkpeninsula Project <http://www.darkpeninsula.eu/>
*
* This program is free softwar... | C++ | src/server/game/Scripting/ScriptLoader.cpp | Darkpeninsula/DarkCore-Old | gpl-3.0 | 42,185 | 1,291 | codeparrot/github-code |
10225910af46e84a25fb0e88b04b9c56dcf363e37c1a72e54d1a16e13d38639f | /*
* GEM-Mapper v3 (GEM3)
* Copyright (c) 2011-2017 by Santiago Marco-Sola <santiagomsola@gmail.com>
*
* This file is part of GEM-Mapper v3 (GEM3).
*
* 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 So... | C | src/filtering/region/filtering_region.c | smarco/gem3-mapper | gpl-3.0 | 9,299 | 232 | codeparrot/github-code |
b9770cf61e63e914447199ed53c40c5f5a99dba0f1cd3047e7ab062e07cbfcfc | /*
Copyright (C) 2017-2021 Peter S. Zhigalov <peter.zhigalov@gmail.com>
This file is part of the `ImageViewer' program.
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 ... | C | src/ImageViewer/src/GUI/MainWindow/ImageViewerWidget.h | AlienCowEatCake/ImageViewer | gpl-3.0 | 3,067 | 117 | codeparrot/github-code |
db735ba5d2cff5789c3ffbfba68aca15cdf577fc11e36cc91413a15a0e4d79b7 | /*
* use bowtie2 to align all samples to piRBase
*/
package kw_jobinMiRNA;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
public class BowtieToPiRBase {
public static String DIR = "/nobackup/afodor_research/kwinglee/jobin/microRNA/";
public s... | Java | src/kw_jobinMiRNA/BowtieToPiRBase.java | afodor/clusterstuff | gpl-3.0 | 1,812 | 52 | codeparrot/github-code |
9f7b6bc5a33680540294db2fc4a596a50bd9e55db6bc548a56d32125ceada4a8 | /*
Copyright 2022 (C) Alexey Dynda
This file is part of Tiny Protocol Library.
GNU General Public License Usage
Protocol 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, ei... | C++ | unittest/fd_multidrop_tests.cpp | lexus2k/tinyproto | gpl-3.0 | 4,272 | 135 | codeparrot/github-code |
35afbb50601241522e86e566869429640daad1c22264db7fb6cec709c1781aa9 | #include "database.h"
#include <stdexcept>
#include <QFile>
#include <QSqlQuery>
#include "brauhelfer.h"
Database::Database() :
mVersion(-1),
mLastError(QString())
{
QSqlDatabase::addDatabase("QSQLITE", "kbh");
}
void Database::createTables(Brauhelfer* bh)
{
QSqlDatabase db = QSqlDatabase::database("k... | C++ | kleiner-brauhelfer-core/database.cpp | BourgeoisLab/kleiner-brauhelfer-app | gpl-3.0 | 13,123 | 421 | codeparrot/github-code |
b0539f61b0fea5cc662bc1494dbe7cb13731c73d871e0a77522486bc49a46287 | /*
* @formatter:off
* Li Song Mechlab - A 'mech building tool for PGI's MechWarrior: Online.
* Copyright (C) 2013 Li Song
*
* 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... | Java | src/main/java/org/lisoft/lsml/math/probability/BinomialDistribution.java | EmilyBjoerk/lsml | gpl-3.0 | 2,791 | 92 | codeparrot/github-code |
a1715148c067a6778344e35c4d6b76a30804dcd69a666e30f87d9cd4a093b384 | package zzz.study.utils;
import cc.lovesq.service.CreativeService;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import static zzz.study.utils.BaseTool.*;
/**
* 移除指定类的 Javadoc 注释 Created by shuqin on 16/5/4.
*/
public class RemoveJavadocComments {
private static final... | Java | src/main/java/zzz/study/utils/RemoveJavadocComments.java | shuqin/ALLIN | gpl-3.0 | 1,897 | 56 | codeparrot/github-code |
e279196c4cdc4e3fdfaab6bed6f845bc4e598e02742514f63b21e58046f0aee1 | /*=========================================================================
Program: Visualization Toolkit
Module: vtkGridAxes3DActor.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software... | C | ThirdParty-0.1/ParaView-5.0.1/ParaViewCore/VTKExtensions/Default/vtkGridAxes3DActor.h | HopeFOAM/HopeFOAM | gpl-3.0 | 9,636 | 261 | codeparrot/github-code |
fd15263abaaf3383880b2ca16f208bb55ee6f65f571602732c8bb438308bfe25 | 'use strict';
var menu = angular.module('irc.views.menu', [
'irc.networks',
'irc.views.menu.directives',
]);
menu.controller(
'MenuCtrl', [
'$scope',
'$timeout',
'$state',
'networks',
function MenuCtrl(
$scope,
$timeout,
$state,
networks) ... | JavaScript | app/views/menu/menu.js | christopher-l/fxos-irc | gpl-3.0 | 2,535 | 121 | codeparrot/github-code |
1d7fa10aaa024fa48ff940dd003dfcb438f81da525d9a3e19c96c305ac056d2b | #!/usr/bin/perl
BEGIN {
$| = 1;
}
use strict;
use Cwd qw/abs_path/;
use File::Basename;
my $masterdir = "/home/ubuntu/smartvent";
my $bindir = dirname(abs_path($0));
my $datafile = "$masterdir/data.csv";
my $vent_ctrl_script = "$bindir/setvent.sh";
my $vent_ip_addr_file = "$masterdir/vpn_ip";
my $vent_cmd_common... | Perl | controller/control_vent.pl | saraghav/ParadropEmonixDemo | gpl-3.0 | 3,143 | 104 | codeparrot/github-code |
f51e27cd7c800fe0e9a1b257492cd54dcbbdb02eff3d2334711c782a8a3ed0ed | /*
Copyright 2011 rhn <gihu.rhn@porcupinefactory.org>
This file is part of Jazda.
Jazda 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... | C | src/builtins/speed.h | rhn/jazda | gpl-3.0 | 1,715 | 47 | codeparrot/github-code |
93867c0f2e9069ddfb13fadac6ed23cae061aad29a8dc422365a23fa9b77c038 | package crux;
/**
* studentName = "XXXXXXXX XXXXXXXX";
* studentID = "XXXXXXXX";
* uciNetID = "XXXXXXXX";
*/
public class Symbol {
private String name;
public Symbol(String name) {
this.name = name;
}
public String name()
{
return this.name;
}
public Str... | Java | src/crux/Symbol.java | kevdez/abstract-syntax-tree | gpl-3.0 | 601 | 39 | codeparrot/github-code |
c34f15d93d2f31acd41d502d683db526744b1449fb05fa4335d3eaaf6deafd31 | /////////////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2022 Equinor ASA
//
// ResInsight 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... | C++ | ApplicationLibCode/ProjectDataModel/Summary/RimSummaryMultiPlotCollection.cpp | OPM/ResInsight | gpl-3.0 | 3,525 | 86 | codeparrot/github-code |
04a66fe4ba8a0ef35031e711ad235a0ca815d71ed3adf0dfb474198e1ea17a92 | // Copyright (C) 2002-2012 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#ifndef __C_SCENE_NODE_ANIMATOR_ROTATION_H_INCLUDED__
#define __C_SCENE_NODE_ANIMATOR_ROTATION_H_INCLUDED__
#include "ISceneNode.h"
namespace irr
{... | C | WolvenKit.Irrlicht/source/CSceneNodeAnimatorRotation.h | Traderain/Wolven-kit | gpl-3.0 | 1,460 | 49 | codeparrot/github-code |
abdc50c1b2bfa6757445a32a8b12fd512d3a8624ae6ad621bb4e1b792b3b5b2f | <?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/o365/classes/feature/sds/task/sync.php | nitro2010/moodle | gpl-3.0 | 14,459 | 346 | codeparrot/github-code |
eedb52fae14574cfae0bcda32c4ae758684d32e8dc535109b1f9be778b4d3b76 | # Authors: John Dennis <jdennis@redhat.com>
#
# Copyright (C) 2011 Red Hat
# see file 'COPYING' for use and warranty information
#
# 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... | Python | ipapython/log_manager.py | tbabej/freeipa | gpl-3.0 | 62,638 | 1,561 | codeparrot/github-code |
b26c5e6884e43241406ce63a036cc7110dfef6d6a34308afa0c164a352ee0f3a | #pragma once
/* This file is part of Imagine.
Imagine 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.
Imagine is distributed in the ... | C++ | imagine/include/imagine/gfx/GfxLGradient.hh | sails/emu-ex-plus-alpha | gpl-3.0 | 2,181 | 114 | codeparrot/github-code |
63718da743c100dee46de869f65a2dbca362d917fc0c4e4296c148e7aa65f07f | """
Created by Emille Ishida in May, 2015.
Class to implement calculations on data matrix.
"""
import os
import sys
import matplotlib.pylab as plt
import numpy as np
from multiprocessing import Pool
from snclass.treat_lc import LC
from snclass.util import read_user_input, read_snana_lc, translate_snid
from snclass.... | Python | snclass/matrix.py | emilleishida/snclass | gpl-3.0 | 10,669 | 330 | codeparrot/github-code |
afd9091fe1d84d554eec622977af54ebe973267c0b7fd80482f7401572581d0e | using System.ComponentModel;
using System.Windows.Forms;
namespace WolvenKit
{
partial class frmRenameDialog
{
/// <summary>
/// Required designer variable.
/// </summary>
private IContainer components = null;
/// <summary>
/// Clean up any resources being used... | C# | WolvenKit.Legacy/Forms/Dialog/frmRenameDialog.Designer.cs | Traderain/Wolven-kit | gpl-3.0 | 4,698 | 108 | codeparrot/github-code |
0fe862731be9500eb681f533b7d9cc22f88e9f2601465ea7ca0fdd60c5e88ac7 | using System;
using System.Linq;
namespace RabbitOperations.Domain
{
public class TypeName : IEquatable<TypeName>
{
public TypeName()
{
}
public TypeName(string fullName)
{
var parts = fullName.Split(',');
ParseClassAndNamespace(parts);
... | C# | app/RabbitOperations.Domain/TypeName.cs | SouthsideSoftware/RabbitOperations | gpl-3.0 | 4,005 | 120 | codeparrot/github-code |
5191edbd136e311902ef4915169071ef5d7c747ac8678789824739781d8c8b74 | /*
* Copyright 2010-2013 OpenXcom Developers.
*
* This file is part of OpenXcom.
*
* OpenXcom 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 ... | C++ | src/Ufopaedia/ArticleStateCraftWeapon.cpp | lt90/RPG | gpl-3.0 | 3,553 | 107 | codeparrot/github-code |
403b8a25e59c58dda826aa495c1d8536a0ddfa8b1d5713c7890de5f0a0c4c282 | Ext.define('Wif.setup.trend.trendnewEmploymentCard', {
extend : 'Ext.form.Panel',
project : null,
title : 'Employment Trends',
assocLuCbox : null,
assocLuColIdx : 1,
model : null,
pendingChanges : null,
sortKey : 'label',
isEditing: true,
isLoadingExisting: true,
constructor : function(config) ... | JavaScript | src/main/webapp/js/wif/setup/trend/trendnewEmploymentCard.js | AURIN/online-whatif-ui | gpl-3.0 | 17,630 | 564 | codeparrot/github-code |
d0b55589f5a4a72b2fcde49a58070efb3154d3f5ae8f370d8a2e89129fcee5e7 | const Clutter = imports.gi.Clutter;
const Lang = imports.lang;
const ModalDialog = imports.ui.modalDialog;
const Signals = imports.signals;
const St = imports.gi.St;
const Gettext = imports.gettext;
const _ = Gettext.domain('gnome-shell-extensions-scriptproxies').gettext;
const EditProxyDialog = new Lang.Class({
... | JavaScript | editProxyDialog.js | Eimji/gnome-shell-extension-scriptproxies | gpl-3.0 | 4,159 | 142 | codeparrot/github-code |
970a9ebbf8e9ff2b16fdb2a13a8033cbfaf4e1ca014fd782640618fec74d5e5a | /* automatically created by mc from /home/gaius/GM2/graft-5.2.0/gcc-5.2.0/gcc/gm2/gm2-libs-iso/RealStr.def. */
#if !defined (_RealStr_H)
# define _RealStr_H
# ifdef __cplusplus
extern "C" {
# endif
# if !defined (PROC_D)
# define PROC_D
typedef void (*PROC_t) (void);
typedef struct { PROC... | C | src-c/libs/GRealStr.h | gaiusm/pge | gpl-3.0 | 1,071 | 37 | codeparrot/github-code |
a85ae50001eec5fdc637a7ae5090feb80250038e3b0203d921e2fa37817df147 | package com.sk89q.craftbook.circuits.gates.logic;
import org.bukkit.Server;
import com.sk89q.craftbook.ChangedSign;
import com.sk89q.craftbook.circuits.ic.AbstractIC;
import com.sk89q.craftbook.circuits.ic.AbstractICFactory;
import com.sk89q.craftbook.circuits.ic.ChipState;
import com.sk89q.craftbook.circuits... | Java | src/main/java/com/sk89q/craftbook/circuits/gates/logic/Dispatcher.java | wizjany/craftbook | gpl-3.0 | 1,687 | 74 | codeparrot/github-code |
846543476a91f6f46bc4c04af60b4c6aa76e6fd65ea16947831aad4b6a24b2b4 | /*
* Copyright (C) 2017 University of Pittsburgh.
*
* 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 2.1 of the License, or (at your option) any later version.
*
*... | Java | java/edu/cmu/tetrad/annotation/AlgorithmAnnotations.java | bd2kccd/tetradR | gpl-3.0 | 2,669 | 80 | codeparrot/github-code |
5b3819292ad3db43e238f9130ba44120dd05f8b6573aa845f2487ee327ed984a | /* ide-runner.c
*
* Copyright © 2016 Christian Hergert <chergert@redhat.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, or
* (at your option) any l... | C | src/libide/runner/ide-runner.c | albfan/gnome-builder | gpl-3.0 | 37,891 | 1,452 | codeparrot/github-code |
49705cd9fc964e34c6b34284906d9c2011b8b81bbff98c2c48320c5211df445b | /*
*
* Libreria para listas de proposito general
* Haga lo que quiera con ella, pero no hay garantias
* Silvio Quadri (c) 2009
*
* */
#ifndef LIST_INCLUDED
#define LIST_INCLUDED
typedef void(*_list_freefunc)(void*);
#ifndef NULL
#define NULL (void*)0
#endif
typedef struct _str_list{
void** data... | C | common/list.h | silvioq/qgames | gpl-3.0 | 1,313 | 55 | codeparrot/github-code |
37943d826be084bf0ea6603754965eb2540e9be597e287f9c7150bd9a2f67325 | /*
* gnome-keyring
*
* Copyright (C) 2011 Collabora Ltd.
*
* 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 2.1 of
* the License, or (at your option) any later versi... | C | QMOLEDEV/gnome-keyring-3.1.4/pkcs11/gkm/gkm-generic-key.c | chriskmanx/qmole | gpl-3.0 | 5,593 | 216 | codeparrot/github-code |
a66dd121fc6afd56ca1cf69f63c39097ab582a07edae230dc0954ef22f250074 | // $Id: UMLReceptionSignalComboBoxModel.java 15837 2008-09-30 23:53:25Z bobtarling $
// Copyright (c) 1996-2006 The Regents of the University of California. All
// Rights Reserved. Permission to use, copy, modify, and distribute this
// software and its documentation without fee, and without a written
// agreement ... | Java | workspace/argouml_diagrams/argouml-app/src/org/argouml/uml/ui/behavior/common_behavior/UMLReceptionSignalComboBoxModel.java | ckaestne/LEADT | gpl-3.0 | 4,665 | 115 | codeparrot/github-code |
fae1cb323b9b3f70dc82e11db212046c3567cdc082b21361ca9d81e373e68450 | /*******************************************************************************
* Copyright (c) 2012 Dmitry Tikhomirov.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0
* which accompanies this distribution, and is available at
... | Java | src/main/java/org/opensheet/client/mvc/views/ProjectView.java | treblereel/Opensheet | gpl-3.0 | 2,557 | 81 | codeparrot/github-code |
5f4bf88cfa6485b0feae2271c0b5eca1029f3c7e4a8947bc2b07e6249961dff0 | <!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>
常见面试问题 - LZH007
</title>
<link href="atom.xml" rel="alternate" title="LZH007" type="application/atom+xml">
<link rel="styl... | HTML | 常见面试问题.html | lockxmonk/lockxmonk.github.io | gpl-3.0 | 30,726 | 937 | codeparrot/github-code |
dc8cee68fdbfdb79e8cb0df5b30685f73bb53eb16f16f40787a30fe2d64b3034 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Legata
-- Starts and Finishes Quest: Starting a Flame (R)
-- @zone 230
-- @pos 82 0 116
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/... | Lua | scripts/zones/Southern_San_dOria/npcs/Legata.lua | Fenix-XI/Fenix | gpl-3.0 | 2,045 | 75 | codeparrot/github-code |
b7c617ff45848ba5ee685fe9d8014bf85c1b8e838c28d7f780115c6410378283 | package SchwartzSet;
import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;
import org.apache.hadoop.io.IntWritable;
import org.apache.hadoop.io.WritableComparable;
/**
* Datatype containing an array of {@link IntWritable IntWritables}.
*
* @author -----
*
*/
public class IntArrayWrita... | Java | MR_SchwartzSet/src/SchwartzSet/IntArrayWritable.java | theresacsar/BigVoting | gpl-3.0 | 2,708 | 130 | codeparrot/github-code |
534d37fa81667745966b58baf114bb31a403ff6ce1c08a798e20431c5f193237 | #include <stdio.h>
/*
Pattern
isDsPresent, TempL, TempH, Config, CRC
*/
#define PRESENCE_FLAG 0
#define MATCH_DSID_FLAG 1
#define MATCH_CRC_FLAG 2
#define PRESENT_FAN_FLAG 3
#define FAN_ON 4
#define ALARM_ON 5
#define STX 0x02
#define ETX 0x03
#define SIZEBUF 8
typedef enum _bool {false=0, true=1} bool;
typedef str... | C | tools/ch2code.c | pworkshop/FanReg | gpl-3.0 | 3,558 | 130 | codeparrot/github-code |
a61ad1400fd7b03053c95f8330012415406aa4b2356fa152fa025c090d3d27b4 | package io.kodokojo.commons.service.repository.search;
import io.kodokojo.commons.model.ProjectConfiguration;
import io.kodokojo.commons.service.elasticsearch.DataIdProvider;
import java.util.function.Function;
import static java.util.Objects.requireNonNull;
public class ProjectConfigurationSearchDto implements Dat... | Java | src/main/java/io/kodokojo/commons/service/repository/search/ProjectConfigurationSearchDto.java | kodokojo/kodokojo | gpl-3.0 | 1,605 | 64 | codeparrot/github-code |
772af20e0ed2c88e29cd403515b000a85dd763119acc1954f5689b19146cde7f | // Decompiled with JetBrains decompiler
// Type: System.Web.Util.Profiler
// 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
using System.Collections... | C# | LoCO Client Files/Decompressed Client/Extracted DLL/System.Web/System/Web/Util/Profiler.cs | mater06/LEGOChimaOnlineReloaded | gpl-3.0 | 4,447 | 172 | codeparrot/github-code |
f5bf2822013e4150c77741957abaa629ed0496b3260dba81ad4094ccdf948964 | from flask import Flask, render_template, request, redirect, url_for, flash, jsonify, Response
from celery import Celery
from werkzeug.utils import secure_filename
from VideoPlayer import VideoPlayer
from subprocess import Popen
import os
app = Flask(__name__)
local = False
if local:
UPLOAD_FOLDER = '/home/dabo02/... | Python | Back-End.py | dabo02/Upwork_Tom_VideoShowroom | gpl-3.0 | 4,500 | 162 | codeparrot/github-code |
716e9e6c7b2665d834715a5d86ae0ce1ea186fc5f8f6c4d2dc665b051e7fcc29 | package com.baeldung.samples.java.vavr;
import java.util.ArrayList;
import java.util.List;
import io.vavr.collection.Stream;
/**
*
* @author baeldung
*/
public class VavrSampler {
static int[] intArray = new int[] { 1, 2, 4 };
static List<Integer> intList = new ArrayList<>();
static int[][] intOfInts... | Java | projects/tutorials-master/tutorials-master/vavr/src/main/java/com/baeldung/samples/java/vavr/VavrSampler.java | Niky4000/UsefulUtils | gpl-3.0 | 4,000 | 100 | codeparrot/github-code |
cbf5f81e35f24bba8e0ee6ef814e1df95a870750be1939a85e5a26e9b287f5f5 | #include <iostream>
#include <cmath>
#include <vector>
#include <algorithm>
#include <set>
using namespace std;
#define all(t) begin(t), end(t)
#define sp << " " <<
long gcd(long m, long n) {
while (m != 0) {
long k = n%m;
n=m;
m=k;
}
return n;
}
bool is_square(long S) {
long sqr = sqrt(S);
ret... | C++ | pr141/test.cpp | frits-scholer/pr | gpl-3.0 | 511 | 34 | codeparrot/github-code |
d6a9b1b51da9402947173714b93f9021af10ad298347e95c00ae8efc776c29aa | var nodeSass = require('node-sass'),
fs = require('fs');
module.exports = class Sass {
constructor(config){
this.config = config;
if (this.config.compileAtBootup) {
this.compile();
}
if (this.config.watch) {
this.startWatch();
}
}
get timeTaken(){
return parseInt(proces... | JavaScript | modules/sass.js | DennisMajvall/magnets | gpl-3.0 | 1,379 | 57 | codeparrot/github-code |
95e4579565e8093669ad28e51162d0d0b9e087e85d8ea3b01c11d7fe504b4175 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
<link rel="stylesheet" href="http://res.wx.qq.com/open/libs/weui/1.1.0/weui.min.css"/>
<title>发布物品列表</title>
</head>
<body>
<div id="wrap">
<header></hea... | HTML | static/u/check/published/list/index.html | wasd6267016/WeChat_Diudiu | gpl-3.0 | 2,325 | 70 | codeparrot/github-code |
60ab3f7a477dc8224e0cc6fba56da823315b8d408dfffdbd92f208257186d72f | import React, { Component } from "react";
import PropTypes from "prop-types";
import classnames from "classnames";
import { Components, registerComponent } from "@reactioncommerce/reaction-components";
class CardHeader extends Component {
static defaultProps = {
actAsExpander: false,
expandable: false
};
... | JavaScript | imports/plugins/core/ui/client/components/cards/cardHeader.js | xxbooking/reaction | gpl-3.0 | 3,437 | 150 | codeparrot/github-code |
2d5e0401022e1a0a593c47a3829c0b861679008f4b7766ea3deed72d95e64a39 | /**
* libz80
* Copyright (C) 2015 David Jolly
* ----------------------
*
* libz80 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... | C++ | src/lib/src/z80_assembler.cpp | majestic53/libz80 | gpl-3.0 | 48,518 | 1,707 | codeparrot/github-code |
19da6d692825b50938b25dd181340e18ecb8fd6ff1aaa7f1ae8cd43f05de8f21 | package microtrafficsim.core.vis.glui;
import com.jogamp.newt.event.KeyListener;
import microtrafficsim.core.vis.glui.events.MouseListener;
import microtrafficsim.core.vis.glui.renderer.ComponentRenderPass;
import microtrafficsim.math.Mat3d;
import microtrafficsim.math.Rect2d;
import microtrafficsim.math.Vec2d;
impor... | Java | microtrafficsim-core/src/main/java/microtrafficsim/core/vis/glui/Component.java | sgs-us/microtrafficsim | gpl-3.0 | 5,134 | 232 | codeparrot/github-code |
65c857e2826230da81fe099e4d68d3ba2c6e5a313e2a1919267dd26c8afd7340 | local unpack = table.unpack or unpack
--- Bit operations
local ok,bit
if _VERSION == "Lua 5.3" then
bit = (load [[ return {
band = function(x, y) return x & y end,
bor = function(x, y) return x | y end,
bxor = function(x, y) return x ~ y end,
bnot = function(x) return ~x end,
rshift = function(x... | Lua | libs/fakeredis.lua | botsazn/Management-Group | gpl-3.0 | 40,447 | 1,711 | codeparrot/github-code |
e3d652cbc8df4309f9bcf2134c1c3e900a02f6a818e3070306db16000c51530a | /*
Copyright (C) 2014-2015 de4dot@gmail.com
This file is part of dnSpy
dnSpy is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any late... | C# | dnSpy/Debugger/Modules/PEFilesSaver.cs | zuloloxi/dnSpy | gpl-3.0 | 4,182 | 141 | codeparrot/github-code |
af274617de0c9ddbdad8f9986f76389bc6fa27cd62ddd54994ac3b0e607d9ae6 | package mq.xivklott.main;
import net.minecraft.server.v1_8_R3.EntityPlayer;
import net.minecraft.server.v1_8_R3.IChatBaseComponent;
import net.minecraft.server.v1_8_R3.IChatBaseComponent.ChatSerializer;
import net.minecraft.server.v1_8_R3.PacketPlayOutTitle;
import net.minecraft.server.v1_8_R3.PacketPlayOutTitle.EnumT... | Java | src/main/java/mq/xivklott/main/Title.java | HeadInBush/Skywars | gpl-3.0 | 1,945 | 38 | codeparrot/github-code |
41128c70a24410f81649e9f196ce49f78c5caa838906328407bc47591cedb8fe | /**
* Created by levchenko on 5/12/14.
*/
function Style(styles) {
this.styles = styles;
this.applyStyles = function (object) {
for(var key in this.styles) {
if(this.getStyleProperty(key) === false) {
object.setAttribute('style', object.getAttribute('style') + key + ':' + t... | JavaScript | base/Style.js | XNoval/jsSolutions | gpl-3.0 | 1,213 | 36 | codeparrot/github-code |
0bea2549a93fe42974e22ef8171ab492d3f21844417d378b66177f81f0721594 | #include "windowfilter.h"
#include <QDebug>
namespace {
double meanValue(const QVector<double> &x, int begin, int end);
}
WindowFilter::WindowFilter()
:mBeginTime(std::numeric_limits<double>::lowest()), mEndTime(std::numeric_limits<double>::max()), mWindowWidth(1)
{
}
int WindowFilter::windowWidth() const
{
... | C++ | src/dataconverter/windowfilter.cpp | seleznevae/JaG | gpl-3.0 | 1,691 | 80 | codeparrot/github-code |
e854c4c49f4020fcaf38ae02e241457374203e1c93a6703390990cc42be2f0de | /*
* 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 program is distributed in the hope that it will... | C++ | Sources/Application/TSEditorHandler.cpp | bentearadu/UDS_Lear | gpl-3.0 | 5,066 | 149 | codeparrot/github-code |
3f5decc462f7300d35e675188528cadbde18a305b7446e2392a108c1b13e1d7a | /*
* Copyright (c) Martin Kinkelin
*
* See the "License.txt" file in the root directory for infos
* about permitted and prohibited uses of this code.
*/
#include <algorithm>
#include <iostream>
#include <locale>
#include "Worker.h"
#include "StringUtils.h"
#include "WinRing0.h"
using std::cerr;
us... | C++ | Worker.cpp | MWisBest/AmdMsrTweaker | gpl-3.0 | 6,793 | 290 | codeparrot/github-code |
90d032b0296a1a0af1f941f953b9b95299e0ca16f74d688783989fa77d105267 | /*
* ____ DAPHNE COPYRIGHT NOTICE ____
*
* Copyright (C) 2005 Mark Broadhead
*
* This file is part of DAPHNE, a laserdisc arcade game emulator
*
* DAPHNE 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++ | src/game/timetrav.cpp | btolab/hypseus | gpl-3.0 | 4,667 | 177 | codeparrot/github-code |
acd701df814ef20761f3f7bf14b53bee63dbf8c84d4d249e439fecbc2549471a | <?php
session_start();
if ($_SESSION['image_is_logged_in'] == 'true' ) {
$user = $_SESSION['user'];
$pactiu=$_POST['actiu'];
$pgrup=$_POST['grup'];
$ptipus=$_POST['tipus'];
include 'config/configuracio.php';
?>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" >
<link rel="sty... | PHP | families.php | cst777/30pnx_aplicoop | gpl-3.0 | 5,729 | 166 | codeparrot/github-code |
f4e8a3734d2008edcc86aa94df17ae0861c7ca0d057270cc83270168e930d9e7 | <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb" lang="en-gb">
<head>
<title>CivClicker Updates</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
</head>
<body>
<h1>CivClicker Updates</h1>
<h2>2014-10-23: v1.1.59(alpha)</h2>
<p>
Major update ... | HTML | updates_colcord.html | deathraygames/civ-clicker | gpl-3.0 | 21,056 | 570 | codeparrot/github-code |
376ff2275f7614c960b78c98c0607e939a119df1102c3d8c79a683485077d808 | <?php
/**
* @file
* Contains \Drupal\content_translation\Access\ContentTranslationOverviewAccess.
*/
namespace Drupal\content_translation\Access;
use Drupal\Core\Entity\EntityManagerInterface;
use Drupal\Core\Routing\Access\AccessInterface;
use Drupal\Core\Session\AccountInterface;
use Symfony\Component\Routing\R... | PHP | core/modules/content_translation/lib/Drupal/content_translation/Access/ContentTranslationOverviewAccess.php | Ignigena/bethel-dashboard | gpl-3.0 | 1,896 | 68 | codeparrot/github-code |
085ec19c999498f2f4acd39637da54ccb2823114842652810c04f0a6e5c8609c | package org.drugis.addis.subProblems.repository.impl;
import org.drugis.addis.exception.ResourceDoesNotExistException;
import org.drugis.addis.subProblems.SubProblem;
import org.drugis.addis.subProblems.repository.SubProblemRepository;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springfra... | Java | src/main/java/org/drugis/addis/subProblems/repository/impl/SubProblemRepositoryImpl.java | drugis/addis-core | gpl-3.0 | 2,713 | 77 | codeparrot/github-code |
92c0afe6385a8a272b9af2faab4a7a124ac8b7ab4d0aa2e2e5703bc75f18786c | /**
* Copyright (C) 2007-2011, Jens Lehmann
*
* This file is part of DL-Learner.
*
* DL-Learner 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... | Java | components-core/src/main/java/org/dllearner/kb/extraction/ClassNode.java | daftano/dl-learner | gpl-3.0 | 7,843 | 210 | codeparrot/github-code |
8bd759a55deea2c358fe99592e6b645824a7f2fdd4792682679d450fc00646b2 | namespace Installer
{
partial class frmInstaller
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/... | C# | Installer/frmInstaller.Designer.cs | pmdcp/Installer | gpl-3.0 | 1,516 | 47 | codeparrot/github-code |
1d709ed802296ec170935b7501652b79ee7ac7199ed78bb534a94c7eec09b094 | using UnityEngine;
using System.Collections;
public class SpawnWater : MonoBehaviour {
//this controlls how long after using the water power the player must wait to use it again
public float interval = 3;
public float veritcalOffset = .5f;
private float timer;
private GameObject myWaterBlast;
/... | C# | TeamD4D_Sprout/Assets/Scripts/Player/SpawnWater.cs | TeamD4D-Bothell/Sprout | gpl-3.0 | 1,264 | 41 | codeparrot/github-code |
f4a2e5782a74c6ad74498256f78c779375efd48ff062798903da149ef1259c26 | <?php
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2021 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redist... | PHP | application/Espo/Core/Formula/Functions/AttributeType.php | ayman-alkom/espocrm | gpl-3.0 | 2,037 | 59 | codeparrot/github-code |
52556c09af6aa193fc4d4988ee7a968fda546544602d69e46fd2aba12946c498 | \documentclass[12pt]{book}
\raggedbottom
\usepackage[top=1in,left=1in,bottom=1in,right=1in,headsep=0.25in]{geometry}
\usepackage{amssymb,amsmath,amsthm,amsfonts}
\usepackage{chapterfolder,docmute,setspace}
\usepackage{cancel,multicol,tikz,verbatim,framed,polynom,enumitem,tikzpagenodes}
\usepackage[colorlinks, hyperind... | TeX | 2021/full_text_2021/chapter_functions_intro/section_function_notation.tex | batchison/College-Algebra | gpl-3.0 | 27,076 | 404 | codeparrot/github-code |
c1f3dbe8a21b1a41d67240f8cefccc75b71d8fc71db03e959737df2eb31729cb | /*
* Copyright (c) 2006-2016 Marvisan Pty. Ltd. All rights reserved.
* Use is subject to license terms.
*/
/*
* QuoteResponseLevel.java
*
* $Id: QuoteResponseLevel.java,v 1.3 2010-01-14 09:06:48 vrotaru Exp $
*/
package net.hades.fix.message.type;
import java.util.HashMap;
import java.util.Map;... | Java | Model/src/main/java/net/hades/fix/message/type/QuoteResponseLevel.java | marvisan/HadesFIX | gpl-3.0 | 1,649 | 60 | codeparrot/github-code |
f5a3177ec1ec28f65d4c80cc8c3f21de85ce992be100130c84a827ea7e68e74e | /*
* Support for the GPIO/IRQ expander chips present on several HTC phones.
* These are implemented in CPLD chips present on the board.
*
* Copyright (c) 2007 Kevin O'Connor <kevin@koconnor.net>
* Copyright (c) 2007 Philipp Zabel <philipp.zabel@gmail.com>
*
* This file may be distributed under the terms of the G... | C | drivers/gpio/gpio-htc-egpio.c | williamfdevine/PrettyLinux | gpl-3.0 | 11,206 | 504 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.