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 |
|---|---|---|---|---|---|---|---|---|
76f1e738b7bcc91d7500f4e1c40b8391bddaaa08d171576f533007ad617f6238 | package com.mxt.anitrend.model.entity.anilist.meta;
import android.os.Parcel;
import android.os.Parcelable;
@Deprecated
public class FormatStats implements Parcelable {
private String format;
private int amount;
protected FormatStats(Parcel in) {
format = in.readString();
amount = in.rea... | Java | app/src/main/java/com/mxt/anitrend/model/entity/anilist/meta/FormatStats.java | wax911/AniTrendApp | lgpl-3.0 | 1,012 | 48 | codeparrot/github-code |
d5f90bc934e8a0349c7253aeb05c18ea00343f36d9fc32f7947160a4dd475bf7 | import getURL from '../utils/getURL.js'
import getUserInfo from './getUserInfo.js'
import people from './people.js'
/**
@name $SP().getManager
@function
@category people
@description Return the manager for the provided user, as a People string
@param {String} [username] With or without the domain, and you c... | JavaScript | src/people/getManager.js | Aymkdn/SharepointPlus | lgpl-3.0 | 1,871 | 49 | codeparrot/github-code |
b571fb8576ae514b8c0d391a4c5346c3c0a568d1ca901832fb998fd489034d1a | #ifndef STRINGREPLACER_H
#define STRINGREPLACER_H
#include <QString>
#include <QPair>
#include <QList>
class QSqlDatabase;
class StringReplacer
{
public:
static StringReplacer *getInstance();
void addPair (const QString &rWildcard, const QString &rReplacementString);
const QString getRepl... | C | stringreplacer.h | ealkenbrecher/ETVManager | lgpl-3.0 | 960 | 36 | codeparrot/github-code |
86876e5e992e3384d20a692a1c30cc8287ffbb5f01eb3a280f7ca1e7d4884dbd | /* "Position vector", a (compressed) list of word positions in documents */
/* Copyright (C) 1998 Andrew McCallum
Written by: Andrew Kachites McCallum <mccallum@cs.cmu.edu>
This file is part of the Bag-Of-Words Library, `libbow'.
This library is free software; you can redistribute it and/or
modify it u... | C | pv.c | kevintownsend/BowBranch | lgpl-3.0 | 16,709 | 553 | codeparrot/github-code |
7c1d7a192ddf3fdc62c27f03a33bf694c364a7597babdfdd165aa09c886ddecb | <?php
/**
* @package wa-apps/blog/plugin/import
*/
abstract class blogImportPluginXmlrpcTransport extends blogImportPluginTransport
{
protected $xmlrpc_url = false;
protected $xmlrpc_path = '';
private $url_user = '';
private $url_pass = '';
protected function initOptions()
{
... | PHP | wa-apps/blog/plugins/import/lib/classes/blogImportPluginXmlrpcTransport.class.php | SergeR/webasyst-framework | lgpl-3.0 | 5,470 | 139 | codeparrot/github-code |
115d5dd307ed135cff0767c87e2e83e8a4e0742103854c8543f4d22e4e809f32 | <!DOCTYPE html>
<html>
<head>
<title>SOCR Visualization of extremely high-dimensional
neuroimaging data</title>
<link rel="stylesheet" type="text/css" href="css/style.css">
<style type="text/css">
a {
color: red;
}
</style>
</head>
<body>
<ul class="topnav">
<li class="right"><a class="active"
... | HTML | HTML5/SOCR_TensorBoard_UKBB/UsersData.html | SOCR/HTML5_WebSite | lgpl-3.0 | 5,998 | 158 | codeparrot/github-code |
682a6288acbedc44288875909764a1a33606774f916918cf0d46f2fc7dfc2cfd | package eu.stamp_project.dspot.common.configuration.options;
import eu.stamp_project.dspot.common.automaticbuilder.AutomaticBuilder;
import eu.stamp_project.dspot.common.automaticbuilder.gradle.GradleAutomaticBuilder;
import eu.stamp_project.dspot.common.automaticbuilder.maven.MavenAutomaticBuilder;
import eu.stamp_pr... | Java | dspot/src/main/java/eu/stamp_project/dspot/common/configuration/options/AutomaticBuilderEnum.java | STAMP-project/dspot | lgpl-3.0 | 951 | 31 | codeparrot/github-code |
21a9d88ad84db06d21851552b6aa714cc8363087bd8dbd353eac9bb4d652914f | /*
Copyright (c) 2014-2014 Andrey Goryachev <andrey.goryachev@gmail.com>
Copyright (c) 2011-2014 Other contributors as noted in the AUTHORS file.
This file is part of Cocaine.
Cocaine is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public Licens... | C++ | include/cocaine/detail/raft/configuration_machine.hpp | bioothod/cocaine-core | lgpl-3.0 | 18,849 | 603 | codeparrot/github-code |
6ab44e178817876e023ff7281819f5c9c860d6649a448aedebf43555e2956c35 | /*
Copyright 2012 Daniel Gonzalez Peña, Osvaldo Graña
This file is part of the bicycle Project.
bicycle Project is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your opti... | Java | src/main/java/es/cnio/bioinfo/bicycle/gatk/ListerFilter.java | sing-group/bicycle | lgpl-3.0 | 15,481 | 532 | codeparrot/github-code |
e273705d373b98e5ac1cba51c88968bb563f537b8daeeae006a79c58a7c1d038 | /*******************************************************************************
* Copyright (C) 2009-2020 Human Media Interaction, University of Twente, the Netherlands
*
* This file is part of the Articulated Social Agents Platform BML realizer (ASAPRealizer).
*
* ASAPRealizer is free software: you can redi... | Java | HmiNeurophysics/src/hmi/neurophysics/EyeSaturation.java | ArticulatedSocialAgentsPlatform/HmiCore | lgpl-3.0 | 3,556 | 86 | codeparrot/github-code |
b0fb5eecc1d6d6836b13e93c7d588cf7a49b68040b4525b45d8267eb99919e2f | <?php
/* ==========================================================================================
* REST data endpoint
*
* @author Steve Gallo <smgallo@buffalo.edu>
* @data 2015-11-12
* ==========================================================================================
*/
// Access the config options pa... | PHP | classes/ETL/DataEndpoint/Rest.php | chakrabortyr/xdmod | lgpl-3.0 | 4,300 | 126 | codeparrot/github-code |
79120789cbcb639dd34bf82ca4018ef8ec7213d11ae0b5a8a6b17b350d61f4b4 | package me.ichun.mods.morph.client.entity;
import com.mojang.blaze3d.matrix.MatrixStack;
import com.mojang.blaze3d.vertex.IVertexBuilder;
import me.ichun.mods.ichunutil.client.render.RenderHelper;
import me.ichun.mods.ichunutil.client.tracker.ClientEntityTracker;
import me.ichun.mods.ichunutil.common.entity.util.Entit... | Java | src/main/java/me/ichun/mods/morph/client/entity/EntityAcquisition.java | iChun/Morph | lgpl-3.0 | 21,684 | 568 | codeparrot/github-code |
035af3fe06e9bcad028f8e6dee10929d993d4cde91c04146581350502e600776 | /*
* SonarQube
* Copyright (C) 2009-2019 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* 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, o... | TypeScript | server/sonar-web/src/main/js/apps/projectBranches/components/RenameBranchModal.tsx | Godin/sonar | lgpl-3.0 | 3,652 | 116 | codeparrot/github-code |
5dade9d688142da6dc1e8a57eb6f7b10a053fe60c2e7addd2b9cae48d09984b9 | package com.domeastudio.mappingo.servers.util.mpsecurity;
import com.domeastudio.mappingo.servers.util.mpsecurity.base.Byte2StringHelper;
import java.security.MessageDigest;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class MD5SHAHelper {
private static Logger logger = LoggerFactory.getLogge... | Java | code/Leo/mappingo/servers/util/mp-security/src/main/java/com/domeastudio/mappingo/servers/util/mpsecurity/MD5SHAHelper.java | DomeA/Nebula | lgpl-3.0 | 2,020 | 63 | codeparrot/github-code |
5cc9770e7dbd693999e9e661802eadf98ed3ee2493dddf96846089acf7da164d | #!/usr/bin/env python
# Copyright (c) 2014 CNRS
# Author: Steve Tonneau
#
# This file is part of hpp-rbprm-corba.
# hpp-rbprm-corba 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 ... | Python | src/hpp/corbaserver/rbprm/rbprmbuilder.py | rlefevre1/hpp-rbprm-corba | lgpl-3.0 | 12,303 | 315 | codeparrot/github-code |
dd899f22d2b312b7a9b19ce5d07a79a58fb4b53589f37cd169fed8694d541a90 | /*=========================================================================
Module : Solid Mechanics
File : smAcceleratedMD.h
Copyright : (C)opyright 2011++
See COPYRIGHT statement in top level directory.
Authors : B. Hashemian
Modified :
Purpose : Computing the forces of accelerated molecular... | C | Modules/Simulation/AMD.h | behrzh/SandCV | lgpl-3.0 | 14,308 | 473 | codeparrot/github-code |
73d8b0857359884e8dfea17f63eede2c4bd9e53f22a06c164e9557a97178cf9e | import os
import numpy as np
import flopy
ml = flopy.modflow.Modflow.load('l2a_2k.nam', version='mf2005', verbose=True)
delx = ml.dis.delr.array
dely = ml.dis.delc.array
# get data from the lst file
f = open('l2a_2k.lst', 'r')
for line in f:
if 'LAYER # ROW # COLUMN # LAKE # INTERFACE TYPE LAKEBED LEA... | Python | examples/mf6/test045_lake2tr_dev/mf2005/mf6lakeconn.py | jdhughes-usgs/river-eel | lgpl-3.0 | 3,316 | 124 | codeparrot/github-code |
54d4c44bc86df7f1e511ed05af3c256a7cdf24f4bd1bded7187a62cc65747175 | package micdoodle8.mods.galacticraft.mars.world.gen.dungeon;
import java.util.ArrayList;
import java.util.Random;
import micdoodle8.mods.galacticraft.core.world.gen.dungeon.GCCoreDungeonBoundingBox;
import micdoodle8.mods.galacticraft.core.world.gen.dungeon.GCCoreDungeonRoom;
import micdoodle8.mods.galacticraft.core.... | Java | common/micdoodle8/mods/galacticraft/mars/world/gen/dungeon/GCMarsRoomChests.java | hunator/Galacticraft | lgpl-3.0 | 4,033 | 109 | codeparrot/github-code |
fa9542e7d63a35063c50e4c8a40b11eedf58dd98c86f1ec07eb271ab66d08841 | /**
*
* Phantom OS
*
* Copyright (C) 2005-2019 Dmitry Zavalishin, dz@dz.ru
*
* .internal.http class implementation
*
* See <https://github.com/dzavalishin/phantomuserland/wiki/InternalClasses>
* See <https://github.com/dzavalishin/phantomuserland/wiki/InternalMethodWritingGuide>
*
**/
#define DEBUG_MSG_PRE... | C | phantom/vm/sys/i_http.c | dzavalishin/phantomuserland | lgpl-3.0 | 3,145 | 164 | codeparrot/github-code |
f7f56fa20d96984169f60c6ed671f692512d92da7890c4ef3801193332b297c7 |
<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>PasswordField — qooxdoo 5.0 documentation</title>
<link rel="stylesheet" href="../../_static/theme.css" type="text/css" />
<link rel="sty... | HTML | qooxdoo/documentation/manual/pages/widget/passwordfield.html | sebastienhupin/qxrad | lgpl-3.0 | 13,297 | 347 | codeparrot/github-code |
13ed46b306bb47567c54b77bfaea9cc680bf9e130e6fd1a3877b78d079725e79 | // ext_drag.h copyright 2008 cycling '74
// functions for handling drag-and-drop from the max file browser (but not from the mac finder)
#ifndef __EXT_DRAG_H__
#define __EXT_DRAG_H__
BEGIN_USING_C_LINKAGE
enum {
JDRAG_MATCHFLAGS_ANY = 1 // any item with this role is OK, default is that all must match
};
typedef ... | C | c74support/max-includes/ext_drag.h | baeksanchang/MaxExternals | lgpl-3.0 | 1,891 | 51 | codeparrot/github-code |
3e3eea2245bc19e66d1df5eddc60ae4fec758e52f6cb4be8db515d50916e263a | package org.jumbune.common.beans;
/***
* constants for hadoop specific versions.
*/
public enum SupportedHadoopDistributions {
/** The default hadoop version for apache 1.2.1 non-yarn */
HADOOP_NON_YARN("Hadoop 1.2"),
/** The HADOOP 0_20_02 */
HADOOP_MAPR("Hadoop 1.0.3"),
/** The HADOOP 2.4.1 */
HADOOP_... | Java | common/src/main/java/org/jumbune/common/beans/SupportedHadoopDistributions.java | impetus-opensource/jumbune | lgpl-3.0 | 1,366 | 66 | codeparrot/github-code |
e65266025c8fa8e9ddbd6f3541d2bfefc7f11ee2d0ea2dde34b802a9486aa840 | /**
* No8 Copyright (C) 2015 no8.io
*
* 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 dist... | Java | src/main/java/no8/application/ApplicationException.java | daniloqueiroz/no8 | lgpl-3.0 | 1,336 | 43 | codeparrot/github-code |
fb59a8af4ca45f368a70a9be12aa5642377884a611f0c70e34a834500b7d7da8 | package org.javlo.module.ticket;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
import java.util.Set;
public interface Ticket {
public static final String STATUS_NEW = "new";
public static final String STATUS_WORKING = "working";
public static final String STATUS_ONHOLD = "on... | Java | src/main/java/org/javlo/module/ticket/Ticket.java | Javlo/javlo | lgpl-3.0 | 2,509 | 115 | codeparrot/github-code |
1ec90395b5a4083966516cba140e2e8ee2d078d08f8d0620735328b3492f8a3e | /*
* SonarQube
* Copyright (C) 2009-2019 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* 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, o... | Java | server/sonar-server/src/main/java/org/sonar/server/qualityprofile/QProfileComparison.java | Godin/sonar | lgpl-3.0 | 5,994 | 176 | codeparrot/github-code |
87182152aeff5fa608151375008e326211871a505baa466ac7db08dd54850ffc | #region LGPL License
/*----------------------------------------------------------------------------
* This file (CK.Javascript\EvalVisitor\RuntimeObj.cs) is part of CiviKey.
*
* CiviKey is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published... | C# | CK.Javascript/EvalVisitor/RuntimeObj.cs | Invenietis/ck-javascript | lgpl-3.0 | 3,356 | 118 | codeparrot/github-code |
f09c301ebbcb69530cb4ab6cebaef07a9a3c3c4a928f8e5c46fe6174ee169a0d | //----------------------------------------------------------------------------
/** @file GoGame.cpp
See GoGame.h */
//----------------------------------------------------------------------------
#include "SgSystem.h"
#include "GoGame.h"
#include "GoBoardUtil.h"
#include "GoInit.h"
#include "GoPlayer.h"
#include "... | C++ | go/GoGame.cpp | herzbube/fuego-on-ios | lgpl-3.0 | 14,892 | 476 | codeparrot/github-code |
e2645ea0ab60b48fb122c4e1e9e0e8289a63ac5d45a7f8cd82538a97a3b9b266 | module CharacterContainerModule
use ConstantsModule, only: LINELENGTH
use ListModule, only: ListType
private
public :: CharacterContainerType, CastAsCharacterContainerType, &
ConstructCharacterContainer, AddStringToList, GetStringFromList
type :: CharacterContainerType
character(len=LINEL... | FORTRAN | utils/mf5to6/src/CharacterContainer.f90 | jdhughes-usgs/river-eel | lgpl-3.0 | 2,230 | 83 | codeparrot/github-code |
055996f9d10e7569c8f8fd26815177c856619cb2800799feb28cc7038205dd4d | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using DevAge.Drawing;
using DevAge.Drawing.VisualElements;
using ProgressProfilerViewer.Dto;
using ProgressProfilerViewer.Pr... | C# | ProgressProfilerViewer/CallTreeUserControl.cs | gmt-europe/ProgressProfilerViewer | lgpl-3.0 | 13,383 | 351 | codeparrot/github-code |
d65f988664c5337c2c7f6fce500d8a7f2f2a3d5674e47fcf9b1944028cb03323 | #ifndef SEQ_VECTOR_CVT__HPP
#define SEQ_VECTOR_CVT__HPP
/* $Id: seq_vector_cvt.hpp 406788 2013-07-16 14:29:35Z vasilche $
* ===========================================================================
*
* PUBLIC DOMAIN NOTICE
* National Center for Biotechnology Information
*
* ... | C++ | src/ncbi-blast-2.5.0+/c++/include/objmgr/impl/seq_vector_cvt.hpp | kyungtaekLIM/PSI-BLASTexB | lgpl-3.0 | 4,063 | 136 | codeparrot/github-code |
1a640a0deec3715c5ed0849cd092b10d494e20bdce9197600c414f1f28bdf874 | # Copyright (C) 2015-2022 by the RBniCS authors
#
# This file is part of RBniCS.
#
# SPDX-License-Identifier: LGPL-3.0-or-later
from rbnics.problems.base import NonlinearProblem
from rbnics.problems.elliptic import EllipticProblem
from rbnics.backends import product, sum, transpose
NonlinearEllipticProblem_Base = Non... | Python | rbnics/problems/nonlinear_elliptic/nonlinear_elliptic_problem.py | mathLab/RBniCS | lgpl-3.0 | 1,932 | 44 | codeparrot/github-code |
a8b7485e44ab75da90058a8dccd4e48bcb0e0a407bcb2585b957bd7f4b1b4423 | /*
* SonarQube, open source software quality management tool.
* Copyright (C) 2008-2014 SonarSource
* mailto:contact AT sonarsource DOT com
*
* SonarQube 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 Found... | Java | sonar-plugin-api/src/test/java/org/sonar/api/config/CategoryTest.java | teryk/sonarqube | lgpl-3.0 | 1,690 | 52 | codeparrot/github-code |
389d7f4aded156d1a6898a9468cd1fff97554cbcde58a0a758b8d75007c1e264 | package nif.niobject.bs;
import java.io.IOException;
import java.nio.ByteBuffer;
import nif.ByteConvert;
import nif.NifVer;
import nif.niobject.NiExtraData;
import nif.tools.MiniFloat;
public class BSPositionData extends NiExtraData
{
/*
<niobject name="BSPositionData" inherit="NiExtraData">
F... | Java | jnif/src/nif/niobject/bs/BSPositionData.java | philjord/jnif | lgpl-3.0 | 893 | 37 | codeparrot/github-code |
c569ce0536a314a86c0b996681ef6c1f91d7a0748b7fcad4c3983fab7607a3ee | package me.ichun.mods.hats.common.hats;
import me.ichun.mods.hats.common.Hats;
import java.util.ArrayList;
import java.util.Locale;
import java.util.Random;
public class HatPool
{
public final ArrayList<HatInfo> hatsInPool = new ArrayList<>();
private final Random rand = new Random(); //only used for getting... | Java | src/main/java/me/ichun/mods/hats/common/hats/HatPool.java | iChun/Hats | lgpl-3.0 | 1,039 | 45 | codeparrot/github-code |
ee04bde5a50eb2e403ee925f18e07a0a831b89d0bc8768777e0cbeefe7faec28 | // Written by Jürgen Moßgraber - mossgrabers.de
// (c) 2017-2022
// Licensed under LGPLv3 - http://www.gnu.org/licenses/lgpl-3.0.txt
package de.mossgrabers.framework.command.trigger.track;
import de.mossgrabers.framework.command.core.AbstractTriggerCommand;
import de.mossgrabers.framework.configuration.Configu... | Java | src/main/java/de/mossgrabers/framework/command/trigger/track/ToggleVUCommand.java | git-moss/DrivenByMoss | lgpl-3.0 | 1,352 | 46 | codeparrot/github-code |
5b4a56aa1a3bce202223a941ffecec4052dfbf110c6cf368981c5d9430205ad9 | //-----------------------------------------------------------------------
// <copyright file="IsolatedStorageServerSettings.cs" company="AFS">
// Copyright (c) AFS. All rights reserved.
//
// This file is part of Chatbox.
//
// Chatbox is free software: you can redistribute it and/or modify
// it under... | C# | ChatBox.Engine/Settings/IsolatedStorageServerSettings.cs | cpigat/everything2chatbox | lgpl-3.0 | 5,939 | 182 | codeparrot/github-code |
0e8b26c6a4c44726c732847f95eeb89e50ebfc501fc3f033fb0f6f2783cef398 | #region License
// Copyright (c) 2007 James Newton-King
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// restriction, including without limitation the rights to use,
// copy, ... | C# | ICNet_folder/ic_Net/Newtonsoft.Json/Utilities/StringUtils.cs | Tsai-WS/ICNet-for-Unity | lgpl-3.0 | 11,906 | 418 | codeparrot/github-code |
e9d1df8b88aaa2c0e2319a121c06fb62f21500006797bcdc5c17277733dd4a3d | /* --------------------------------------------------------------------------
* Copyrights
*
* Portions created by or assigned to Cursive Systems, Inc. are
* Copyright (c) 2002-2008 Cursive Systems, Inc. All Rights Reserved. Contact
* information for Cursive Systems, Inc. is available at
* http://www.cursive.ne... | C# | Backup/jabber/protocol/x/Caps.cs | rvrn22/jabber-net | lgpl-3.0 | 3,345 | 126 | codeparrot/github-code |
40d8694a09a33f4b2d4fc5aa18f7544457a60a897d17a2aa8189daea505a5f6d | /*
* SonarQube, open source software quality management tool.
* Copyright (C) 2008-2013 SonarSource
* mailto:contact AT sonarsource DOT com
*
* SonarQube 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 Found... | Java | sonar-batch/src/main/java/org/sonar/batch/issue/ignore/pattern/PatternMatcher.java | xinghuangxu/xinghuangxu.sonarqube | lgpl-3.0 | 2,354 | 63 | codeparrot/github-code |
361ac44f32cab9719ec417abab6775bf7fefe06d4dc44bbfe6140845575ae5bf | from __future__ import division
from __future__ import print_function
from PIL import Image
from PIL import ImageFont
from PIL import ImageDraw
from PIL import ImageEnhance
import nwcsaf
import numpy as np
from satpy import Scene, find_files_and_readers
from datetime import datetime, timedelta
from copy import deepc... | Python | scripts/demo_satpy_fog.py | meteoswiss-mdr/monti-pytroll | lgpl-3.0 | 13,803 | 337 | codeparrot/github-code |
2cbfa0137dea7953b1b3305b1e6b26fb7ab73bc37383042d227e30330cd843be | //#define OLD_METHOD
using ScriptFunction.Instructions;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace ScriptFunction
{
public class ScriptDelegate
{
... | C# | ScriptFunction/ScriptDelegate.cs | WiiPlayer2/ScriptFunction | lgpl-3.0 | 5,189 | 184 | codeparrot/github-code |
dd67a4b91b3294bf0a617b9cc4efda763bcd4ef3009a86723b622eb3bbbc2f55 |
---------------------------------------------------------------
---Rémi-C Thales-IGN 6/08/2013
---
---#A simple algorithm for solving The ░▒▓line of Sight Problem▓▒░ #
---
--
--this sql commands are not supposed to be run in a row but more command by command while controlling the result
-----------------------------... | SQL | __mixed/clustering_observation_of_street_signs.sql | neogis-de/PPPP_utilities | lgpl-3.0 | 35,621 | 877 | codeparrot/github-code |
4f1ad4091a06cfaa345bd01e37242b02b2bab5401c9a3ab1466bbe6a9219a2c2 | package net.anthavio.wotan.client;
import java.io.Closeable;
import java.lang.reflect.Array;
import net.anthavio.cache.CacheBase;
import net.anthavio.httl.HttlBuilderVisitor;
import net.anthavio.httl.HttlParameterSetter.ConfigurableParamSetter;
import net.anthavio.httl.HttlRequestBuilders.HttlRequestBuilder;
import n... | Java | wotan-client/src/main/java/net/anthavio/wotan/client/WotanClient.java | anthavio/wotan | lgpl-3.0 | 6,153 | 214 | codeparrot/github-code |
fd6ed33eb2b8f33757d118b3b237eb0a1e97338fa694b51b75fcc5080ebbfe1d | /*
* SimpleTask plugin implementation called SimpleImple1
*/
#include <Toolbox/Plugin.hpp>
#include "../SimpleTask_interface.h"
TOOLBOX_DEFINE_PLUGIN( SimpleTask, SimpleImple1 )
virtual const std::string &Operation()
{
static std::string Op( "* 5" );
return Op;
}
virtual int Task( int input )
{
retur... | C++ | Plugin/example/src/plugin/simple1.cpp | nicrohobak/Toolbox | lgpl-3.0 | 715 | 44 | codeparrot/github-code |
50e6d4a2abfa22cbb27ae1892f4497b221d27931c971f5b3242751c50242aac0 | /*
* Copyright 2005,2009 Ivan SZKIBA
*
* 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 applicable law or agre... | Java | src/main/java/org/ini4j/Ini.java | bigorc/orchestra | lgpl-3.0 | 5,718 | 219 | codeparrot/github-code |
c99d61a955dcc9a85add9bab902db54264e2d67a886ca0e6f77fee608a670910 | package com.jeroensteenbeeke.andalite.java.transformation.template;
import com.google.common.collect.ImmutableList;
import com.jeroensteenbeeke.andalite.java.transformation.EnumScopeOperationBuilder;
import com.jeroensteenbeeke.andalite.java.transformation.HasEnumConstantBuilder;
import com.jeroensteenbeeke.andalite.j... | Java | java/src/main/java/com/jeroensteenbeeke/andalite/java/transformation/template/EnumConstantTemplate.java | jsteenbeeke/andalite | lgpl-3.0 | 2,258 | 66 | codeparrot/github-code |
00f57a9bff0270d1f7c4eacae472ca946c561e66fcb26a510610dcdee64a90a8 | // <file>
// <copyright see="prj:///doc/copyright.txt"/>
// <license see="prj:///doc/license.txt"/>
// <owner name="Luc Morin" email=""/>
// <version>$Revision$</version>
// </file>
using System;
using System.Data;
using System.Data.OleDb;
using SharpQuery.Collections;
using SharpQuery.Exceptions;
usi... | C# | src/AddIns/Misc/SharpReport/ICSharpCode.Reports.Addin/Project/SharpQuery/Connection/OLEDBConnectionWrapper.cs | kingjiang/SharpDevelopLite | lgpl-3.0 | 12,407 | 447 | codeparrot/github-code |
0b71cd31f9c323e685da0fe9a1b6410bf1a6fcf25e35fd30dda93757b18a398d | /*
* JasperReports - Free Java Reporting Library.
* Copyright (C) 2001 - 2013 Jaspersoft Corporation. All rights reserved.
* http://www.jaspersoft.com
*
* Unless you have purchased a commercial license agreement from Jaspersoft,
* the following license terms apply:
*
* This program is part of JasperReports.
*
... | Java | src/net/sf/jasperreports/data/cache/NumberToBigIntegerOffsetTransformer.java | sikachu/jasperreports | lgpl-3.0 | 1,844 | 59 | codeparrot/github-code |
e2a1b4b494d89d253f5acff49196e98f8bdb0e47a3db5e030a58d3a2e33447f1 | /*
* This is free and unencumbered software released into the public domain.
*/
package com.mycompany;
import org.apache.wicket.markup.html.basic.Label;
import org.apache.wicket.request.http.handler.RedirectRequestHandler;
import javax.servlet.http.HttpServletRequest;
import java.security.Principal;
/**
* @autho... | Java | src/main/java/com/mycompany/LaunchPage.java | shawnmckinney/fortressdemo1 | unlicense | 1,058 | 33 | codeparrot/github-code |
62ef196569fc7ed6296a225f36a62cad8d7d6bc23571eaf243989cfce9445209 | #pragma once
#include "Region.h"
class ClusterElement
{
public:
ClusterElement();
virtual ~ClusterElement();
virtual bool Init(const Rect& box, bool isPrimary=false, bool doubleBuffer=false);
virtual void SetVisible(bool visible);
virtual bool GetVisible() { return mVisible; };
// Invalidate the area of this... | C | source/ClusterElement.h | asicerik/PiCluster | unlicense | 2,847 | 71 | codeparrot/github-code |
7f18a0d99fb98a3d95924351dbbe685402cd6d73d0f8909a76d1b5e9137a4f32 | using System;
using xmljr.math;
using System.ComponentModel;
using uint16 = System.UInt16;
using uint32 = System.UInt32;
namespace DemoGame
{
[TypeConverter(typeof(ExpandableObjectConverter)),Serializable]
public class Monster
{
public int _ActivatedAt;
[CategoryAttribu... | C# | 2007/kitchen/demoGame/dom/DemoGame.cs | jeffrey-io/wall-of-shame | unlicense | 32,845 | 1,017 | codeparrot/github-code |
bfde273310079ede1628235882cf86ef5efe6e860c29c04a169580bbf1c62c48 | package com.pmi.restlet.ext.xstream.impl;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import com.thoughtworks.xstream.annotations.XStreamAlias... | Java | restlet.ext.xstream/src/test/java/com/pmi/restlet/ext/xstream/impl/AnnotedCustomer.java | devacfr/spring-restlet | unlicense | 2,481 | 98 | codeparrot/github-code |
d9cc7b214c245ae43dc77790677ba84a2d1683d428ee90cf57d5a6fa1eaa1f7f | package decaf.backend;
import java.util.HashSet;
import java.util.Random;
import decaf.Driver;
import decaf.dataflow.BasicBlock;
import decaf.machdesc.Register;
import decaf.tac.Tac;
import decaf.tac.Temp;
public class RegisterAllocator {
private BasicBlock bb;
private MipsFrameManager frameManager;... | Java | Decaf/src/decaf/backend/RegisterAllocator.java | thucoldwind/ucore_mips | unlicense | 5,291 | 240 | codeparrot/github-code |
57ad58ed0f850768e9f93c92c614ea06e7fc1c0515bdd68e48428ee7a41a0665 | package com.dis.model;
import com.dis.data.DB2ConnectionManager;
import java.math.BigDecimal;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.HashMap;
import java.util.Map;
public class References {
public Map<Integer, Article> article... | Java | src/com/dis/model/References.java | caleron/dis2017 | unlicense | 5,018 | 178 | codeparrot/github-code |
38085b3df326bf69d4744e1d8345e1e62251b18b0ea098704821765896188137 | (function($, window, document, undefined) {
'use strict';
var gridContainer = $('#grid-container'),
filtersContainer = $('#filters-container'),
wrap, filtersCallback;
/*********************************
init cubeportfolio
*********************************/
gridC... | JavaScript | backend/handler/web/assets/js/plugins/cube-portfolio/cube-portfolio-2-ns.js | master-zhuang/SearchMax | unlicense | 3,401 | 97 | codeparrot/github-code |
4cd92eeca8d49c9e8a8e27a0a1f5aafde5411a969634a5db2c4f3cee6dd2b340 | package ch.santosalves.ssme.states;
public class GenericState implements IState{
private int id;
private String name;
public GenericState(int id, String name) {
this.id = id;
this.name = name;
}
@Override
public int getId() {
return this.id;
}
@Override
public String getName() {
return this.name;... | Java | src/main/java/ch/santosalves/ssme/states/GenericState.java | sergio-alves/SSME | unlicense | 509 | 32 | codeparrot/github-code |
8694e5c6302e0e4d2d33516d3fb3a4a5d0783a720d7d17f3860f625a16c3a2d3 | package org.mies.censo.pojo;
import java.io.Serializable;
public class ProvinciaMiesBean implements Serializable{
private static final long serialVersionUID = -5912752878210288198L;
private int idProvincia;
private String nombre;
private PaisMiesBean pais;
private long vinculados;
private long aspirantes... | Java | src/org/mies/censo/pojo/ProvinciaMiesBean.java | fjamores3/appMies | unlicense | 1,335 | 78 | codeparrot/github-code |
ee5a9fb8a660c4815fa6385ac8ee025ca3df0625e67f82bead66f179b8062e29 | /** ==========================================================================
* 2011 by KjellKod.cc. This is PUBLIC DOMAIN to use at your own risk and comes
* with no warranties. This code is yours to share, use and modify with no
* strings attached and no restrictions or obligations.
*
* For more information see... | C++ | src/crashhandler_windows.cpp | jkhoogland/g3log | unlicense | 9,833 | 254 | codeparrot/github-code |
00d069b3efa443d6373a8613e1efb9cae20a64d9c7679710daf3db45229097d2 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); yo... | C# | Lucene.Net/src/core/Search/FuzzyQuery.cs | TheDenys/.NET | unlicense | 8,797 | 256 | codeparrot/github-code |
60f062326e557b747a2e188d96a0c4ab5ec4a94121edcd340323f022ec259b87 | package com.algotrado.mt4.impl;
import java.io.Serializable;
import com.algotrado.mt4.tal.strategy.check.pattern.SingleCandleBarData;
public abstract class Pattern implements Serializable {
protected int timeFrame;
public Pattern () {
timeFrame = 15;
}
public abstract boolean isBullishReversalPattern(Singl... | Java | MT4Processor/src/com/algotrado/mt4/impl/Pattern.java | AlgoAnalysis/Algo | unlicense | 1,981 | 54 | codeparrot/github-code |
646155a53cc49f19609abf5ae9b5b444c7a09fe64261154c7430d4dc27198f5e | using SPICA.Serialization;
using SPICA.Serialization.Attributes;
namespace SPICA.Formats.CtrH3D
{
class H3DHeader
{
[Inline]
public string Magic;
[Version]
public byte BackwardCompatibility;
public byte ForwardCompatibility;
public ushort ConverterVersion;
... | C# | SPICA/Formats/CtrH3D/H3DHeader.cs | gdkchan/SPICA | unlicense | 1,126 | 50 | codeparrot/github-code |
f3a405f03cdbbf7fb43c9db5c58c866f3794c57669cc0e0e0672e89d63570f52 | <?php
/**
* Created by PhpStorm.
* User: madhu
* Date: 09/05/17
* Time: 4:55 AM
*/
namespace AppBundle\Repository;
use Doctrine\ORM\EntityRepository;
class BlacklistRepository extends EntityRepository
{
/**
* @param $symbolArray
* @return mixed
*/
public function getDetailsOfSymbols($symb... | PHP | code/src/AppBundle/Repository/BlacklistRepository.php | Anamican/sws | unlicense | 1,325 | 62 | codeparrot/github-code |
a7860f8b291446e94a49e5bb7bee959e62becf3af4acfda4a283e86ae29b1050 | //#define SECK_DEBUG
#include <iostream>
#include <vector>
#include <queue>
#include <string>
#include <cstring>
#include <cstdlib>
#include <list>
#include <numeric>
#include <ctime>
#include <algorithm>
#include <set>
#include <string>
#include <iomanip>
#include <cmath>
#include <map>
#include <functional>
#include... | C++ | algo/acm/codeforces/27/e.cc | seckcoder/lang-learn | unlicense | 2,630 | 130 | codeparrot/github-code |
d7a16f7f878808ee36437b3fada1b534b70f68a470e042c1a19d174fae783565 | package gov.usgs.wma.wqp.validation;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
import javax.validation.ConstraintValidatorContext;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.mockito.Mock;
import o... | Java | src/test/java/gov/usgs/wma/wqp/validation/BBoxValidatorTest.java | mbucknell/WQP-WQX-Services | unlicense | 2,865 | 113 | codeparrot/github-code |
c78acaefef211001fdc0c10f8d8ae28c3bcbda2151377a4e196d7c55adbb30c5 | // <copyright file="PrintStatements.cs" company="Brian Rogers">
// Copyright (c) Brian Rogers. All rights reserved.
// </copyright>
namespace GWBas2CS.Test
{
using FluentAssertions;
using Xunit;
public sealed class PrintStatements
{
[Fact]
public void Empty()
{
cons... | C# | projects/AdventureSample/test/GWBas2CS.Test/PrintStatements.cs | brian-dot-net/writeasync | unlicense | 2,604 | 121 | codeparrot/github-code |
51b03008698cb283ee12bc761b62ac8bd7962a197abf0e00648530b90d6f3552 | #ifndef _GAMETREE_H
#define _GAMETREE_H
#include <vector>
#include "board.h"
using namespace std;
class gameTree
{
public:
struct move
{
int from, to;
int moveValue;
};
enum status { CHECK, CHECKMATE, STALEMATE};
gameTree ();
move findMove (int ply, board::colors currentPlayer, int alpha, int ... | C | gameTree.h | dideler/divs | unlicense | 883 | 35 | codeparrot/github-code |
a55dd8f066bbbefd4b6d3191331fa4299c793d1736d4219091f30e9dc7f6745a | package com.charlesmadere.hummingbird.views;
import android.content.Context;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import android.view.View;
import com.charlesmadere.hummingbird.R;
public final class RatioViewHelper {
private static final int FIXED_SIDE_HEIGHT = 0;
private... | Java | project/app/src/main/java/com/charlesmadere/hummingbird/views/RatioViewHelper.java | charlesmadere/that-lil-hummingbird | unlicense | 3,935 | 111 | codeparrot/github-code |
af19837d10e2b826b731ab6168b63405ef586b37081b971d47442e2919b8efd1 | extern crate nemo;
#[macro_use]
extern crate clap;
extern crate bounded_spsc_queue as queue;
use std::io::{stdin, stdout, Write};
use std::cell::RefCell;
use std::sync::{Arc, Mutex};
use std::io;
use std::io::prelude::*;
use std::fs::File;
use std::thread;
use clap::{Arg, App};
fn main() {
let matches = App::new("... | Rust | src/main.rs | nemo-lang/nemo | unlicense | 5,241 | 133 | codeparrot/github-code |
2598df94b22c63234940f500e047cc0f09cd19e96645c184bead503dbe3efd54 | /* bits.h - Foundation library - Public Domain - 2013 Mattias Jansson
*
* This library provides a cross-platform foundation library in C11 providing basic support
* data types and functions to write applications and games in a platform-independent fashion.
* The latest source code is always available at
*
*... | C | foundation/bits.h | rampantpixels/foundation_lib | unlicense | 8,094 | 300 | codeparrot/github-code |
392db772626f8db0d0c2a024f772d9f81d98f2de114ee4f8e1860bb7341adccc | /*
* NOTE: This copyright does *not* cover user programs that use HQ
* program services by normal system calls through the application
* program interfaces provided as part of the Hyperic Plug-in Development
* Kit or the Hyperic Client Development Kit - this is merely considered
* normal use of the program, and do... | Java | hq-web/src/main/java/org/hyperic/hq/ui/util/minitab/SubMiniTab.java | cc14514/hq6 | unlicense | 2,754 | 110 | codeparrot/github-code |
f13feab00442515f0e9cc18f5aa55a431db81f4e7311c0b33ae36a35b4fbfab0 | // miniz_tester.cpp
// Note: This module is not intended to make a good example, or be used for anything other than testing.
// It's something quick I put together last year to help regression test miniz/tinfl under Linux/Win32/Mac. It's derived from LZHAM's test module.
#ifdef _MSC_VER
#pragma warning (disable:41... | C++ | 3rdparty/miniz/miniz_tester.cpp | tomalexander/fzcat | unlicense | 52,030 | 1,810 | codeparrot/github-code |
c2f92bd2e24deaf0af148823294edbaaedbd06c5d15fbe574cb7aee6ce8cd203 | /*
* Part of Jari Komppa's zx spectrum suite
* https://github.com/jarikomppa/speccy
* released under the unlicense, see http://unlicense.org
* (practically public domain)
*/
#define ANYKEYX() ANYKEY()
#define COLOR(BLINK, BRIGHT, PAPER, INK) (((BLINK) << 7) | ((BRIGHT) << 6) | ((PAPER) << 3) | (INK))
#include <... | C | quiz/app.c | jarikomppa/speccy | unlicense | 23,937 | 990 | codeparrot/github-code |
933231c880b0966c929278706593227aebbc0736f653bb59fec9d335ae99b178 | #ifndef DATAUTIL_H
#define DATAUTIL_H
#include <QObject>
#include "gen/DataManager.hpp"
#include "imageloader.hpp"
#include "dataserver.hpp"
class DataUtil : public QObject
{
Q_OBJECT
public:
explicit DataUtil(QObject *parent = nullptr);
void init(DataManager *dataManager, DataServer* dataServer);
v... | C++ | cpp/datautil.hpp | ekke/c2gQtWS_x | unlicense | 4,635 | 189 | codeparrot/github-code |
853e8e99a79b9e621f7b6188846f87670fe3325bc32e7827a8fa00c9d9ddabef | /*
* Created by zhye at 2013-11-20 9:23:04;
*
*
*
*
*
* Copyright:Strong
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Dapper;
using Model;
namespace DAL
{
public class dtEquipAcceptAdapter
{
/// <summary>
/// 获取方法
/// </... | C# | OutputDir/Dal/dtEquipAcceptDAL.cs | robertoye/CodeGenerator | unlicense | 5,065 | 160 | codeparrot/github-code |
c78ef442fdee421e4238e944e1ddf88cb08d22f376b671149119650ea7d714fe | <?php
require_once('GithubIssueBridge.php');
class GitHubPullRequestBridge extends GithubIssueBridge {
const MAINTAINER = 'Yaman Qalieh';
const NAME = 'GitHub Pull Request';
const DESCRIPTION = 'Returns the pull request or comments of a pull request of a GitHub project';
const PARAMETERS = array(
'global' => arr... | PHP | bridges/GithubPullRequestBridge.php | RSS-Bridge/rss-bridge | unlicense | 971 | 39 | codeparrot/github-code |
96e46adddeca1b0d361008d49d363bc35dd7e1e8c3c1001de92f777db24b3721 | package io.github.jonestimd.subset;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
/**
* This class finds subsets of a collection that match some criteria. The criteria are specified by an implementation
* of {@link SubsetPredicate}. The {@code static} factory methods can be used ... | Java | src/main/java/io/github/jonestimd/subset/SubsetSearch.java | jonestimd/subsets | unlicense | 4,137 | 95 | codeparrot/github-code |
f71c92704dcab2adb871df29755c5eada67d21ec3f74da9f4180c6adc098a631 | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using Dapper;
using Lucene.Net.Store;
using Lucene.Net.Support;
using LuceneNetSqlDirectory.Helpers;
namespace LuceneNetSqlDirectory
{
... | C# | LuceneNetSqlDirectory/SqlServerDirectory.cs | MahyTim/LuceneNetSqlDirectory | unlicense | 7,729 | 167 | codeparrot/github-code |
b2583d5faefb0cef37d2c60e9925c15b1d68fc9c872590eb01fe21df30ea271e | #include <iostream>
#include <windows.h>
#include <vector>
using namespace std;
int MapW,MapH;
char Map[100][100]={
"########################################################",
"# #",
"# #",
"# ... | C++ | C++-SNAKE_GAME.cpp | OMEHA/HELLO-WORLD | unlicense | 4,297 | 172 | codeparrot/github-code |
7c884dd359ab2b8aa43de93da4c9651640f18993adb8f4a2a5c121da442b4d64 | package eu.goodlike.libraries.jooq;
import eu.goodlike.neat.Null;
import org.jooq.*;
import java.util.Collection;
import java.util.function.Supplier;
public final class CommandsManyImpl<R extends Record, Left, Right>
extends SQL implements CommandsMany<Left, Right> {
@Override
public void setUnivers... | Java | src/main/java/eu/goodlike/libraries/jooq/CommandsManyImpl.java | TheGoodlike13/goodlike-utils | unlicense | 2,686 | 69 | codeparrot/github-code |
ad6e5f2c5e7bfd0b983f156c21136cf7ddc195252df61170eb7da16512692517 | import { Application } from 'spectron';
import electron from 'electron-prebuilt';
import { assert } from 'chai';
import MockServer from '../util/mock-server';
import items from '../test-cases/items';
import models from '../test-cases/models';
describe('Creating an Item', function () {
this.timeout(10000);
let... | JavaScript | test/functional/create-item.js | TheFourFifths/consus-client | unlicense | 8,677 | 269 | codeparrot/github-code |
b8de038184556b1b663cd2011114206b5c286eece2aa96da92809526091eb4df | #ifndef EVAPPLICATION_H
#define EVAPPLICATION_H
#include <QObject>
#include "EvGlobal.h"
class EvApplicationPrivate;
class EvApplicationSettings;
class EvMessagesManager;
class EvJobsManager;
class EvApplicationArgumentsManager;
class EvIconsFactory ;
class EvSession;
class EvPluginsManager;
class QAction;
class EvOb... | C | src/application/core/base/EvApplication.h | kaabimg/EvLibrary | unlicense | 1,962 | 84 | codeparrot/github-code |
da3b12e90fed852b8f979661930c30d9982eba6cb4a60b443408a45cd68f559e | #include "qutils/TranslationHelper.h"
// Qt
#include <QGuiApplication>
#include <QTranslator>
namespace zmc
{
TranslationHelper::TranslationHelper(QObject *parent)
: QObject(parent)
, m_Translator(new QTranslator(this))
, m_SourceLang("tr_TR")
, m_CurrentLang(m_SourceLang)
, m_TranslationsDir("tra... | C++ | src/TranslationHelper.cpp | Furkanzmc/qutils | unlicense | 1,498 | 80 | codeparrot/github-code |
e500a16e09c575212ba975952e14dad5c42910ac702603ad7cdc86c4c3647cfa | # uncompyle6 version 2.9.10
# Python bytecode 2.7 (62211)
# Decompiled from: Python 3.6.0b2 (default, Oct 11 2016, 05:27:10)
# [GCC 6.2.0 20161005]
# Embedded file name: utf_8.py
""" Python 'utf-8' Codec
Written by Marc-Andre Lemburg (mal@lemburg.com).
(c) Copyright CNRI, All Rights Reserved. NO WARRANTY.
"""
impo... | Python | Leak #5 - Lost In Translation/windows/Resources/Python/Core/Lib/encodings/utf_8.py | DarthMaulware/EquationGroupLeaks | unlicense | 1,084 | 40 | codeparrot/github-code |
29cda6fda4b7b1732a9f1fd2614690fbf0e75b505766534f665a952145c39fa5 | var Base64 = new function() {
this.encode = function(string) {
return window.btoa(string);
};
this.urlSafeEncode = function(string) {
return this.encode(string).replace('+', '-').replace('/', '_');
};
this.decode = function(base64) {
try {
return window.atob(base64.replace('-', '+').replac... | JavaScript | assets/javascripts/application.js | michenriksen/hackpad | unlicense | 11,479 | 409 | codeparrot/github-code |
83ba286b69ede57fa7717609b7bf13dfbd5aa17937cf20fa13bb0f960fbe06b2 | #ifndef LWR_HW__LWR_HW_H
#define LWR_HW__LWR_HW_H
// boost
#include <boost/scoped_ptr.hpp>
// ROS headers
#include <std_msgs/Duration.h>
#include <urdf/model.h>
// ROS controls
#include <hardware_interface/robot_hw.h>
#include <hardware_interface/joint_state_interface.h>
#include <hardware_interface/joint_command_in... | C | lwr_hw/include/lwr_hw/lwr_hw.h | xwavex/kuka-lwr | unlicense | 6,592 | 169 | codeparrot/github-code |
ca1171f62e78af42e6f445e7be742aa02a846699dc9f7c841e06e765d0f31efd | namespace Impulse
{
/// <summary>
/// Class that contains the player information to be stored
/// </summary>
public class PlayerProfile
{
// Player parameters
private string _playerId;
public string PlayerId
{
get { return _playerId; }
set {... | C# | Assets/Scripts/PlayerProfile/PlayerProfile.cs | Zesix/Impulse | unlicense | 726 | 35 | codeparrot/github-code |
48151f8c5dc3b0480468263c7f6efc3601b9aebd10880bca9991133a420ad28c | package br.ufsc.ine.leb.projetos.estoria;
import java.util.LinkedList;
import java.util.List;
import org.junit.runner.Description;
import org.junit.runner.Result;
import org.junit.runner.notification.Failure;
import org.junit.runner.notification.RunListener;
public final class EspiaoDeEscolta extends RunListener {
... | Java | java/br/ufsc/ine/leb/projetos/estoria/EspiaoDeEscolta.java | lucasPereira/estoria | unlicense | 2,061 | 72 | codeparrot/github-code |
9904cc76295fb274e53dcc3067f516406b2942fc369bc29a6265f063a8fe182a | import { fetch, addTask } from 'domain-task';
import { Action, Reducer, ActionCreator } from 'redux';
import { AppThunkAction } from './';
// -----------------
// STATE - This defines the type of data maintained in the Redux store.
export interface WeatherForecastsState {
isLoading: boolean;
startDateIndex: n... | TypeScript | src/DataConnect.Client.WebClient/ClientApp/store/WeatherForecasts.ts | mjnbike/DataConnect | apache-2.0 | 3,664 | 91 | codeparrot/github-code |
f4a4c9d20ff1aa17ce59c6970aea46b28d75713e6d254f2f9ab196bed3ce91a3 | package com.csc.web.tags;
import java.io.IOException;
import java.util.Hashtable;
import javax.servlet.jsp.JspWriter;
import javax.servlet.jsp.PageContext;
import javax.servlet.jsp.tagext.TagSupport;
/**
* @author Hector
* @date Aug 8, 2011
*/
//com.csc.turtleblog.tags.HistoryTagSupport
public cla... | Java | src/com/csc/web/tags/CscGet.java | hectorlarios/turtle-blog | apache-2.0 | 3,864 | 111 | codeparrot/github-code |
f8e07f556071f97a1765e7f88d218ea0cc86a4b565d0ab5f03803718b97d46cb | """
Copyright 2017-present Airbnb, Inc.
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 applicable law or agreed to in writing, sof... | Python | streamalert_cli/terraform/alert_processor.py | airbnb/streamalert | apache-2.0 | 2,636 | 66 | codeparrot/github-code |
cf3d320cc6aefb1559eb4b1c595227901b8d0c087f94e3c8630b933d822e0d5d | /*
* Copyright (C) 2017-2019 Dremio Corporation
*
* 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 applicable l... | Java | sabot/kernel/src/main/java/com/dremio/exec/planner/logical/EnumerableRule.java | dremio/dremio-oss | apache-2.0 | 1,448 | 45 | codeparrot/github-code |
abd333689f03034f9ed6545814da3772ecd150c322d1cf6ba3ed809fecd9c790 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | Java | components/camel-coap/src/main/java/org/apache/camel/coap/CoAPEndpoint.java | DariusX/camel | apache-2.0 | 16,113 | 431 | codeparrot/github-code |
b2800c24c2c468b08dee24d56e81606bdd61d649e0086853ec101e575dab4c8d | /*
Copyright (c) 2008 Health Market Science, Inc.
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 applicable law or agreed to in w... | Java | src/main/java/com/healthmarketscience/jackcess/impl/query/UnionQueryImpl.java | jahlborn/jackcess | apache-2.0 | 2,428 | 90 | codeparrot/github-code |
0da5fa567f2295727897fb951953b163686b7c030ad5812c06042e39973151f7 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | Java | ql/src/java/org/apache/hadoop/hive/ql/ddl/table/storage/AlterTableUnarchiveDesc.java | b-slim/hive | apache-2.0 | 1,877 | 50 | codeparrot/github-code |
d9ac73213c17c60666dd2605ff0760396bdcc034e1b4dcbf4135f179f31a5a39 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | Java | flink-0-7-custom/flink-compiler/src/main/java/org/apache/flink/compiler/dag/CollectorMapNode.java | citlab/vs.msc.ws14 | apache-2.0 | 1,960 | 59 | codeparrot/github-code |
2cc0535120808ce196183768c971066f2a8ffce0463aec348f385e94f7273164 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<link rel="shortcut icon" href="../../assets/ico/favicon.png">
<title>Jumbotron Template f... | HTML | examples/jumbotron/index.html | bags307/KuewFrontEnd | apache-2.0 | 4,812 | 112 | codeparrot/github-code |
45c36e23d2abb8bf135b55ffd625400b958bb2d6364bc5d4943a2494514b4ff6 | /*
* Copyright 2017 Google Inc.
*
* 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 applicable law or agreed to ... | Java | src/main/java/com/google/firebase/FirebaseApp.java | firebase/firebase-admin-java | apache-2.0 | 20,850 | 587 | codeparrot/github-code |
d12e39ab4a898cf26f3fa4c2e32023582ab3569039549e9af059b4651cda66cf | /*
* Copyright 2010-2021 James Pether Sörling
*
* 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 applicable law o... | Java | service.impl/src/test/java/com/hack23/cia/service/impl/AbstractServiceFunctionalIntegrationTest.java | Hack23/cia | apache-2.0 | 10,564 | 249 | codeparrot/github-code |
b46883c3bf83008ab72f69dca10f1ea3afaa2929dc0d34740d2e7a7503d149c4 | package com.sequenceiq.cloudbreak.shell.converter;
import java.util.List;
import java.util.Map;
import javax.inject.Inject;
import org.springframework.shell.core.Completion;
import org.springframework.shell.core.MethodTarget;
import com.sequenceiq.cloudbreak.client.CloudbreakClient;
import com.sequenceiq.cloudbreak... | Java | shell/src/main/java/com/sequenceiq/cloudbreak/shell/converter/NetworkNameConverter.java | sequenceiq/cloudbreak | apache-2.0 | 1,296 | 41 | codeparrot/github-code |
0d7c1a7e1e0a50b2d20fedae80d08f6bec77f1bc5a6882807d01cad7bdc0b007 |
import {
categorySave,
categorySortSave,
categoryDel,
categoryGetById,
categoryGetList
} from '../platformApi';
const categoryModule = {
namespaced: true,
state: {
loading: false,
},
mutations: {
setLoading(state, val) {
state.loading = val;
},
... | JavaScript | VueAdmin/src/modules/category.js | lesenro/ggcms-CSharp | apache-2.0 | 1,521 | 54 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.