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 |
|---|---|---|---|---|---|---|---|---|
eb79d38f1d8388d57940ffc73aaefe3bd7e98a2649286772f1ecf70c06a611b9 | /*
ooBase.h WJ112
*/
/*
* Copyright (c) 2014, Walter de Jong
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, t... | C | include/oo/Base.h | walterdejong/oolib | bsd-2-clause | 2,502 | 86 | codeparrot/github-code |
7a017c595d4b358c8bd1df85c60b1c05285bae6d9a541282a860fe37878ef6e2 | using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Reflection;
using System.Runtime.Serialization;
using NUnit.Framework;
using ObjectSerialization.UT.Helpers;
namespace ObjectSerialization.UT
{
[TestFixture]
public class ObjectSerializerTests
{
... | C# | ObjectSerialization.UT/ObjectSerializerTests.cs | Suremaker/ObjectSerialization-Net | bsd-2-clause | 16,858 | 415 | codeparrot/github-code |
45968a8e7cc4635ec47a558916e24c083a1b73ab8ab438fd0872fc092f420a80 | #include "Engine/stdafx.h"
#include "Engine/Application/OSWindow.h"
#include "Engine/Render/Render.h"
uint16_t OSWindow::GetWidth() const
{
return m_width;
}
uint16_t OSWindow::GetHeight() const
{
return m_height;
}
bool OSWindow::IsFullscreen() const
{
return m_isFullscreen;
}
bool OSWindow::IsActive() const
{... | C++ | DESIRE-Engine/src/Engine/Application/OSWindow.cpp | nyaki-HUN/DESIRE | bsd-2-clause | 733 | 43 | codeparrot/github-code |
fa69b4f73338747b55b38330408cc7a2bb7235f583f173b4a7de0cad9467aeff | package vnpt.technology.ssdc.dao.hibernate;
import vnpt.technology.ssdc.dao.BaseDaoTestCase;
import org.hibernate.Query;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.persister.entity.EntityPersister;
import org.junit.Test;
import org.springframework.beans.factory.annotation.A... | Java | core/src/test/java/vnpt/technology/ssdc/dao/hibernate/HibernateConfigurationTest.java | simpleacs/web | bsd-2-clause | 1,295 | 39 | codeparrot/github-code |
def7ab4ebd01d93848ba3cf4823324b8650e18add5c5f86b63231d7d1656bd90 | #include "storage/storage_config.hpp"
#include "util/simple_logger.hpp"
#include <boost/filesystem/operations.hpp>
namespace osrm
{
namespace storage
{
StorageConfig::StorageConfig(const boost::filesystem::path &base)
: base{base.string()}, ram_index_path{base.string() + ".ramIndex"},
file_index_path{base.... | C++ | src/storage/storage_config.cpp | beemogmbh/osrm-backend | bsd-2-clause | 2,432 | 57 | codeparrot/github-code |
4f21fdd82e352c54b9675ff27ba6601ebd3a23c46eece3667a5fb9539d772781 | package de.ids_mannheim.korap.web.utils;
import java.net.URI;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import javax.ws.rs.core.Response;
import javax.ws.rs.core.UriBuilder;
import javax.ws.rs.ext.ExceptionMapper;
import javax.ws.rs.ext.Provider;
import org.apache.logging.log4j.LogManager;
impo... | Java | core/src/main/java/de/ids_mannheim/korap/web/utils/NotFoundMapper.java | KorAP/Kustvakt | bsd-2-clause | 2,754 | 77 | codeparrot/github-code |
d8f58cb8dd3c9a5bcad00bbd8fc668a167cdf27f4f822b63fe8789f336a39063 | #pragma once
#include "BasePacket.h"
class CSetMusicPacket : public CBasePacket
{
public:
enum MUSIC_ID
{
MUSIC_BLACKSHROUD_BATTLE = 0x0D,
MUSIC_TOTORAK = 0x14,
MUSIC_MORDHONA = 0x31,
MUSIC_GRIDANIA = 0x33,
MUSIC_DEEPSHROUD = 0x34,
MUSIC_NOSCEA = 0x35,
MUSIC_COERTHAS = ... | C | daemon/packets/SetMusicPacket.h | jpd002/SeventhUmbral | bsd-2-clause | 626 | 33 | codeparrot/github-code |
47ae61c83535e270af2e870fa1c5e57bc64bac5741a3b21c0c5c81e379c89132 | #include "full.hpp"
#include <vector>
#include "main.hpp"
#include "common.hpp"
using namespace std;
string FULL::generate_header_forward(const int& tsm, const int & tsn, const int& tsk, const int& wptm, const int& wptn, const int& width, const int & activation) {
char ret[1024];
if (activation == RELU) //re... | C++ | code/src/full.forward.cpp | dihong/deepnn | bsd-2-clause | 14,882 | 339 | codeparrot/github-code |
cac484571ad0a6c892213e44f01736d189d414ba79157fa2b711f24e61fdd1ab | #include <pebble.h>
#include "common.h"
#define TEAM_A 0
#define TEAM_B 1
#define TEAM_MAX 2
typedef struct _game {
char *name;
int stop_clock;
int pmax;
int period[];
} GAME;
/*
** Forward declarations
*/
void game_start(void);
void game_adjust_score(int team, int adjustment);
static voi... | C | src/game.c | tesneddon/pebblescore | bsd-2-clause | 2,721 | 90 | codeparrot/github-code |
7c8377c88f4f74c3e8db7e052056f3547a687c64e96c1e8115d87e8c2b3159e2 | import matplotlib.pyplot as plt
from OSIM.Modeling.Components.NPN_Vertical_Bipolar_Intercompany_Model.VBIC_Currents.IRCI import *
from OSIM.Modeling.Components.Resistor import Resistor
from OSIM.Modeling.Components.VoltageSource import VoltageSource
from OSIM.Modeling.CircuitSystemEquations import CircuitSystemEquation... | Python | OSIM/Modeling/Testbenches/VBIC_Kennlinien_TBs/VBIC_NPN_TB.py | tmaiwald/OSIM | bsd-2-clause | 2,279 | 77 | codeparrot/github-code |
ec14e63a4e6ca50f72476596c96f863bf4b78e46b7f5578c9f41bb4232d710bd | from inspect import getmembers
from django.shortcuts import render
from utilities import get_wps_service_engine, list_wps_service_engines, abstract_is_link
def home(request):
"""
Home page for Tethys WPS tool. Lists all the WPS services that are linked.
"""
wps_services = list_wps_service_engines()
... | Python | tethys_wps/views.py | CI-WATER/django-tethys_wps | bsd-2-clause | 1,115 | 44 | codeparrot/github-code |
ab5356b0cfbdebe00b2d49873c5d81274f198b9e947c7e61b992c4504e196bc6 | #
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 The SCons Foundation
#
# 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... | Python | scons-local-1.1.0/SCons/compat/_scons_itertools.py | frew/simpleproto | bsd-2-clause | 3,817 | 119 | codeparrot/github-code |
25464b4bb4c7fd487effbc68f7984b96caeba995199ee876c7597f46c0184e52 | package com.bv.eidss;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.ListFragment;
import android.support.v7.widget.PopupMenu;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuInflater;
import android.... | Java | EIDSS v6.1/Android/app/src/main/java/com/bv/eidss/ASSessionListFragment.java | EIDSS/EIDSS-Legacy | bsd-2-clause | 10,217 | 258 | codeparrot/github-code |
7a748f994d97aecdb278fbe292cfd6e9d469852a33bfe21974178ad9a3db9a41 | // Copyright ©2005, 2006 Freescale Semiconductor, Inc.
// Please see the License for the specific language governing rights and
// limitations under the License.
// ===========================================================================
// LModelDirector.h PowerPlant 2.2.2 ©1993-2005 Metrowerks Inc.
// ==========... | C | third_party/PowerPlant/PowerPlant/AppleEvent Classes/LModelDirector.h | mctully/tntbasic | bsd-2-clause | 5,358 | 194 | codeparrot/github-code |
3732ed40f3d6f940dde50bbc590214a2134979cee261e542c661aaee49f511d3 | from PyQt4 import QtCore
import sys
from ilastik.core.projectClass import Project
from ilastik.core.testThread import TestThread
from ilastik.modules.unsupervised_decomposition.core.unsupervisedMgr import UnsupervisedDecompositionModuleMgr
from ilastik.modules.unsupervised_decomposition.core.algorithms.unsupervisedDeco... | Python | ilastik/modules/unsupervised_decomposition/core/testModule.py | ilastik/ilastik-0.5 | bsd-2-clause | 11,269 | 230 | codeparrot/github-code |
1da6908201b8b7a3a54c4459a2382447315b5ab4bb98ec6d8753bb6a4de64844 | (function($){
_translationsHash.addtext('rus', {BufferPlugin: {
panelTitle: 'Буферные зоны',
sizeLabel : 'Размер буфера (м)',
precisionLabel : 'Точность',
precisionHint: 'Количество точек на полуокружности',
calcButtonTitle: 'Рассчитать',
exportButtonTitle: 'Экспорт в shp',
removeButtonTitl... | JavaScript | BufferPlugin.js | ScanEx/GMXPluginBuffer | bsd-2-clause | 11,606 | 285 | codeparrot/github-code |
1c204db6832091bee113963507e927051f9e3a0d7fdb9a194155ab8446221264 | """ cbas_names.py
Extract the names of CBSAs from the list given by the OMB.
"""
from xlrd import open_workbook
#
# READ DATA
#
book = open_workbook('data/gz/List1.xls',on_demand=True)
for sheet_name in book.sheet_names():
sheet = book.sheet_by_name(sheet_name)
# Read
## CBSA fips
cbsa_fips = ... | Python | bin/names/cbsa_names.py | scities-data/metro-atlas_2014 | bsd-2-clause | 1,257 | 57 | codeparrot/github-code |
e63baad2d5626cc934e440e0421bb4b2b3cc6d1a4dee85928d86a76d6bb1c3f4 | module.exports = {
callSingle: callSingle,
exportAndStart: exportAndStart
}
function callSingle(progName, cmdargs, functionName, args, callback) {
const FIFO = require('fifo-js')
var callerToCalleePipe = new FIFO();
var calleeToCallerPipe = new FIFO();
console.log("Pipes created");
const { spawn } = require... | JavaScript | nodejs/functions.js | UltimatePea/UniversalLanguageInterface | bsd-2-clause | 3,590 | 151 | codeparrot/github-code |
377a72a68a5929f2c8c9c8d36d94c733c3451dc373cea7cee8a33524f30c228a | /*
* Copyright (C) 2006-2012, Julien Ridoux <julien@synclab.org>
* Copyright (C) 2009-2012, Timothy Broomhead <t.broomhead@ugrad.unimelb.edu.au>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are me... | C | radclock/virtual_machine.c | synclab/radclock | bsd-2-clause | 17,803 | 679 | codeparrot/github-code |
69061720acc98fa7822fc3d0fe1a39aa80d07a1bb97c7f141325239048d42b3e | package vertex
import (
"bytes"
"fmt"
"net"
"net/http"
"net/url"
"path"
"reflect"
"regexp"
"strings"
"time"
"github.com/EverythingMe/vertex/swagger"
"github.com/alecthomas/jsonschema"
"github.com/dvirsky/go-pylog/logging"
"github.com/julienschmidt/httprouter"
)
// API represents the definition of a si... | GO | api.go | EverythingMe/vertex | bsd-2-clause | 8,422 | 328 | codeparrot/github-code |
6bc679a5a149e8f2fda15ac3bd7b5b13a5b3a8240d222a8ba31a71e762810d1f | #ifndef NETWORK_H
#define NETWORK_H
#include "simulator.h"
class NETWORK_STATE : public STATE
{
public:
std::vector<bool> Machines;
virtual size_t hash() const {
using boost::hash_combine;
// Start with a hash value of 0 .
std::size_t seed = 0;
// Modify 'seed' by XORing and bit-shi... | C | d2ng-pomcp/src/network.h | aijunbai/thompson-sampling | bsd-2-clause | 1,684 | 68 | codeparrot/github-code |
4b63126936881802b564a1e279044eca35ef2d542c053b047bdc3811a8d3b1ad | class Zeromq < Formula
desc "High-performance, asynchronous messaging library"
homepage "http://www.zeromq.org/"
url "https://github.com/zeromq/zeromq4-1/releases/download/v4.1.6/zeromq-4.1.6.tar.gz"
sha256 "02ebf60a43011e770799336365bcbce2eb85569e9b5f52aa0d8cc04672438a0a"
bottle do
cellar :any
sha25... | Ruby | Formula/zeromq.rb | jvehent/homebrew-core | bsd-2-clause | 2,086 | 74 | codeparrot/github-code |
46585e6bb940566f5bcb3a0eaac9eb7b8cc08ae79414227071e1fa945023d9cb | #ifndef EXT2_SUPERBLOCK_H
#define EXT2_SUPERBLOCK_H
#include <stdint.h>
// definitions for superblock
#define EXT2_SUPER_OFFSET 1024
#define EXT2_SUPER_SIZE 1024
#define EXT2_SUPER_MAGIC 0xef53
struct superblock {
uint32_t s_inodes_count;
uint32_t s_blocks_count;
uint32_t s_r_blocks_count;
uint32_t s_free_block... | C | filesys/ext2/superblock.h | zhenyuli/minimal-ext2 | bsd-2-clause | 1,664 | 66 | codeparrot/github-code |
040f4087f6ff2f68640d0a8061647e65124aea8691b8dcd86808e699667071dd | package mot.dump
import mot.protocol.Frame
import java.net.ServerSocket
import java.net.InetSocketAddress
import mot.util.Util.FunctionToRunnable
import java.net.Socket
import java.net.SocketException
import com.typesafe.scalalogging.slf4j.StrictLogging
import scala.util.control.NonFatal
import java.io.PrintStream
imp... | Scala | src/main/scala/mot/dump/Dumper.scala | marianobarrios/mot | bsd-2-clause | 6,125 | 180 | codeparrot/github-code |
e04a8ace1badeb30edf49ab90132c1b6ad7d29c9ecccfaba54e6d7ec5fa5e3a5 | #pragma once
/*
Copyright (c) 2017 - 2018, Roland Bock
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditio... | C | include/sqlpp17/core/value.h | rbock/sqlpp17 | bsd-2-clause | 2,896 | 92 | codeparrot/github-code |
273b1c04c4f7de87720d1f7656653c8bbbfb6099a05360fd28e774da149aa5c3 | #include <algorithm>
#include <cassert>
#include <cstdio>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include <cstring>
#include <map>
using namespace std;
class RectangleGroups {
public:
string maximalIndexed(vector <string> rectangles) {
map<string, int> M;
for ... | C++ | tc 160+/RectangleGroups.cpp | ibudiselic/contest-problem-solutions | bsd-2-clause | 2,645 | 65 | codeparrot/github-code |
3cc7ba51fc81e4d3056198f75b3789be6c1316164d8d4876694d3f09fe0d3d8a | #!/usr/bin/env python
# -*- encoding: utf-8 -*-
#
# ABOUT : This script checks in which wheel and in which
# position a filter, a slit or a grism is located.
# It can also be used to move this wheel to the right
# position with an optional argument "-m". Filters
# are searched ... | Python | sandbox/src2/src/alfosc_optics.py | sniemi/SamPy | bsd-2-clause | 21,844 | 514 | codeparrot/github-code |
aaf64437908ff3f9f4f3313d314eea504fe27f03a7ea56814940029d872a9600 | require 'formula'
class Subversion < Formula
homepage 'https://subversion.apache.org/'
url 'http://www.apache.org/dyn/closer.cgi?path=subversion/subversion-1.8.9.tar.bz2'
mirror 'http://archive.apache.org/dist/subversion/subversion-1.8.9.tar.bz2'
sha1 '424ee12708f39a126efd905886666083dcc4eeaf'
bottle do
... | Ruby | Library/Formula/subversion.rb | rouge8/homebrew | bsd-2-clause | 8,900 | 272 | codeparrot/github-code |
c112dcbf195f4b35b5b3f2f0f4359ec01d392012d2edbec0ddca6be2b92553f9 | """
# # #### ##### # # ##### # # # #
# # # # # ## ## # # # ## # #
### #### #### # # # # # # # # #####
# # # # # # # # ## # # #
# # # ##### # # # # # # # #
Kremlin Mag... | Python | kremlin/forms.py | glasnost/kremlin | bsd-2-clause | 2,312 | 77 | codeparrot/github-code |
0739a760beb7b3778c6bac2725628e02b13b3120990e0bcf4adb9f7d0f47c200 | #pragma once
#include "stdafx.h"
#include <vector>
#include "NTL\ZZ.h"
#include "LoadedPrimeNumber.h"
using namespace System;
using namespace std;
using namespace System::Collections::Generic;
using namespace NTL;
namespace SecretSharingCore
{
public ref class PrimeGenerator
{
private:
public:
... | C | SecretSharing.Core/PrimeGenerator.h | Brainloop-Security/secret-sharing | bsd-2-clause | 998 | 33 | codeparrot/github-code |
87cac4fe29cb2f9eb490890fd1a9b920d80148612ab407d2fbc0e2585d97b2a0 | /*
* Copyright (c) 2013-2015, Roland Bock
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, this
* list of cond... | C | include/sqlpp11/select.h | sergeken/sqlpp11 | bsd-2-clause | 3,930 | 115 | codeparrot/github-code |
8389aaa9c747a00129fa2f2cdd3ae6cf0bc70c9c72c3ef474d851beb2cb2e294 | /*
Copyright 2009-2011 Urban Airship Inc. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the f... | C | Common/UAAnalyticsDBManager.h | colinyoung/airship | bsd-2-clause | 1,899 | 53 | codeparrot/github-code |
85d9de8bd854a174861cb64ac80cfe4c7c45c2170104ab9f514c67dd58d477ad | {% extends "projects/project_menu.html" %}
{% load i18n %}
{% load cache %}
{% load statistics_resources %}
{% load permissions %}
{% load truncate %}
{% load upload_manager_tags %}
{% block extra_head %}
{% get_permission "project_perm.maintain" for request.user and resource.project as "is_maintainer" %}
<link type="... | HTML | src/transifex/transifex/templates/resources/resource_detail.html | rvanlaar/easy-transifex | bsd-2-clause | 15,017 | 369 | codeparrot/github-code |
389758d127328e14a73593c2a431017a65949140ffe83264a869c418fb182f0e | /*
+--------------------------------------------------------------------+
| PECL :: http |
+--------------------------------------------------------------------+
| Redistribution and use in source and binary forms, with or without |
| modificatio... | C | src/php_http_cookie.h | m6w6/ext-http | bsd-2-clause | 3,854 | 80 | codeparrot/github-code |
d1f9e1148d4aee73a226a80499b853e11d2f1adb04b0373204feb361b4c1aee1 | void on_server_readable(struct xfer_context* ctx)
{
if (ctx->state == READING_METADATA) {
/* Omitted for the sake of brevity; see earlier example */
}
if (ctx->state == SENDING_HEADERS) {
/* Compose headers and write them to the destination file descriptor */
char last_modified[50]... | C | doc/examples/sfd_send_with_headers2.c | francoisk/sendfiled | bsd-2-clause | 1,560 | 50 | codeparrot/github-code |
fb2c2fa79686cc04aab0c67375ec64653920bc885ae525a3b948821f36640501 | #ifndef DEMO_PANDORA_STRUCTURES_VALVE_H
#define DEMO_PANDORA_STRUCTURES_VALVE_H
#include <string>
#include <vector>
#include <glm/glm.hpp>
#include "dpengine/entities/Entity.h"
namespace DreadedPE
{
class SceneNode;
class Texture;
};
class Structure;
class ValveGoal;
class Valve : public DreadedPE::Entity
{
pub... | C | src/demo/pandora/structures/Valve.h | KCL-Planning/strategic-tactical-pandora | bsd-2-clause | 1,206 | 53 | codeparrot/github-code |
e24b29779c611299c4b4859c93fdc89aa7f77f40d3644c62b8ffa8ea62a0a2ac | /*
Glidix GUI
Copyright (c) 2014-2017, Madd Games.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of condi... | C | libgwm/splitter.c | madd-games/glidix | bsd-2-clause | 8,416 | 346 | codeparrot/github-code |
96f9b9d6c66301ba74ab72ef039c4727fc56090a248beae3264615d5f49b3b24 | import * as React from 'react';
import {
Dimensions,
Platform,
StyleProp,
StyleSheet,
View,
ViewStyle,
} from 'react-native';
import {
initialWindowMetrics,
SafeAreaInsetsContext,
SafeAreaProvider,
} from 'react-native-safe-area-context';
type Props = {
children: React.ReactNode;
style?: StylePro... | TypeScript | packages/elements/src/SafeAreaProviderCompat.tsx | react-community/react-navigation | bsd-2-clause | 1,690 | 62 | codeparrot/github-code |
548241b8401bf3b8774d83c374e6b7879731722b38f76c8030d7851d7168a813 | from __future__ import absolute_import
from flask import url_for, redirect, abort, request, Blueprint, current_app
from flask_login import login_required, current_user
import six
from six.moves import filter, map
from sqlalchemy.orm.exc import NoResultFound
from itertools import chain
from .. import ships, systems, db... | Python | src/evesrp/views/api.py | paxswill/evesrp | bsd-2-clause | 12,023 | 356 | codeparrot/github-code |
c20b43c90e788e83f1abbf7ad315e61e3546c6e0403590ff68e25b356c8b8f45 | const webpack = require('webpack');
const path = require('path');
//const CopyWebpackPlugin = require('copy-webpack-plugin');
//const ScriptExtHtmlWebpackPlugin = require('script-ext-html-webpack-plugin');
/*
import ReplacePlugin from 'replace-bundle-webpack-plugin';
import V8LazyParseWebpackPlugin from 'v8-lazy-parse... | JavaScript | webpack.config.js | angelsbaytech/AVnode.net | bsd-2-clause | 2,767 | 107 | codeparrot/github-code |
c68654808372cac0cf9006da64e04275a21b136aa79e8915aa9c857b88e94b32 | package io.Pushjet.api;
import android.annotation.TargetApi;
import android.app.IntentService;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.content.res.Resources;
import android.... | Java | app/src/main/java/io/Pushjet/api/GcmIntentService.java | Pushjet/Pushjet-Android | bsd-2-clause | 4,676 | 128 | codeparrot/github-code |
226d2a2bf4c635ae1662b2d36a87e8f6a33f2ccadc90708e63dab3279fdedea8 | # Copyright (c) by it's authors.
# Some rights reserved. See LICENSE, AUTHORS.
from peer import *
class SMPeer(Peer):
def __init__(self, room, statePillow, states=[], initState="Start"):
Peer.__init__(self, room)
self._routings = set()
self._transitions = set()
self._callbacks = s... | Python | wallaby/pf/peer/sm.py | FreshXOpenSource/wallaby-base | bsd-2-clause | 4,120 | 134 | codeparrot/github-code |
0e898abf76603e8bcc2ca7c80500cc95987f6f586dd226265207fee38d97cbcc | /**
* Copyright (c) 2007-2012, Timothy Stack
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice, this
* list of ... | C++ | src/xterm_mouse.cc | sureshsundriyal/lnav | bsd-2-clause | 3,166 | 94 | codeparrot/github-code |
dba99006632c02b7c5d046b9f9bcf3fd84d79b91e4a500710aef5ab09f2d48ed | /*-
* #%L
* Scenery-backed 3D visualization package for ImageJ.
* %%
* Copyright (C) 2016 - 2018 SciView developers.
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code mus... | Java | src/main/java/sc/iview/commands/demo/MeshDemo.java | kephale/ThreeDViewer | bsd-2-clause | 3,480 | 108 | codeparrot/github-code |
8d11650672e205fbc0cdb432d8b128a5c0e5cc4f46aaa94abb1f5c9aa77a9d34 | <?php
namespace Apps\Common\Models;
/**
* 平台管理操作员Model
* @author chenxiaolin
* @date 2016年1月19日
* @version 2.0.0
* @copyright Copyright 2016 meelier.com
*/
class BackendOperator extends \PhalconPlus\Database\Model
{
/**
*
* @var integer
*/
public $operator_id;
/**
... | PHP | common/models/BackendOperator.php | fu-tao/meelier_c2.0 | bsd-3-clause | 2,874 | 141 | codeparrot/github-code |
8925350f24f06ca6bdf91d99ca4c21a0c37472fae9b5a8b72972cf865fadecce | <?php
namespace app\modules\map\models;
use Yii;
use yii\db\Expression;
use yii\i18n\Formatter;
use app\models\Locality;
use app\models\PoiskstroekData;
use app\models\Attribute;
class Poiskstroek {
protected $russia, $data, $json_data, $name, $kladr_code, $construct_sum, $design_sum, $construct_count, $design_co... | PHP | modules/map/models/Poiskstroek.php | Punka/usi2030 | bsd-3-clause | 22,432 | 644 | codeparrot/github-code |
40408de92cce9c93a99a37dc723e23fcc144a64c8925c4664cdee819e7d9eeb2 | /*
* Copyright (c) 2010-2011 Michael Laudati, N1 Concepts LLC.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditio... | Java | src/main/java/org/vngx/jsch/algorithm/SignatureRSAImpl.java | joval/vngx-jsch | bsd-3-clause | 3,373 | 94 | codeparrot/github-code |
84b625cd265b9d86ea72bac27b2419ee6bbb6357f958b83022453d98f39ba579 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_LINUX_H_
#define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_LINUX_H_
#includ... | C | ui/views/widget/desktop_aura/desktop_root_window_host_linux.h | timopulkkinen/BubbleFish | bsd-3-clause | 9,665 | 239 | codeparrot/github-code |
777f156e0f39f304366dd5f7cbcf2a3968db6b383e64a0962556802c4a6d07c9 | <?php
namespace PHPParser\Builder;
use \PHPParser\Node\Statement\ClassStatement;
use \PHPParser\Node\Statement\ClassMethodStatement;
class MethodBuilder extends BuilderAbstract
{
protected $name;
protected $type;
protected $returnByRef;
protected $params;
protected $Statements;
/**
* C... | PHP | lib/PHPParser/Builder/MethodBuilder.php | parsers/php-parser | bsd-3-clause | 5,137 | 193 | codeparrot/github-code |
4e93427f3f9bf940b92caa44e8cc94ce15a72998b276672337d2d391e7640ca8 | /*
* Copyright (c) InWorldz Halcyon Developers
* Copyright (c) Contributors, http://opensimulator.org/
*
* Copyright 2009 Brian Becker <bjbdragon@gmail.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 ... | C# | InWorldz/InWorldz.WhisperVoice/MurmurVoiceModule.cs | Vinhold/halcyon | bsd-3-clause | 47,164 | 1,207 | codeparrot/github-code |
1c371721e9307e88759cca8a08516ae5d60836cfa148d17f219b57d9f88578ec | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Generated from FHIR 1.0.2.7202 on 2016-06-23.
# 2016, SMART Health IT.
import io
import json
import os
import unittest
from . import devicecomponent
from .fhirdate import FHIRDate
class DeviceComponentTests(unittest.TestCase):
def instantiate_from(self, filen... | Python | rdr_service/lib_fhir/fhirclient_1_0_6/models/devicecomponent_tests.py | all-of-us/raw-data-repository | bsd-3-clause | 4,893 | 91 | codeparrot/github-code |
56c1636d5e0c2b161a4c780f411bf8dca600977c56e0e4b0bc30c844b8c6af93 | <?php
/**
* TDatePicker class file.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
* @link http://www.pradosoft.com/
* @copyright Copyright © 2005-2013 PradoSoft
* @license http://www.pradosoft.com/license/
* @version $Id$
* @package System.Web.UI.WebControls
*/
/**
* Includes TTextBox class
*/
Prado:... | PHP | framework/Web/UI/WebControls/TDatePicker.php | tel8618217223380/prado3 | bsd-3-clause | 29,320 | 994 | codeparrot/github-code |
a98bfcca3c5df8e37f7cb4e8ebe4ea56de6eeb989f6b110b76c4db17a0a24503 | /*********************************************************************
THE ENHANCE PROJECT
School of Informatics,
University of Edinburgh,
Edinburgh - EH9 3JZ
United Kingdom
Written by: Gagarine Yaikhom
*********************************************************************/
/**
DESCRIPTION:
Gen... | C | libeskel/coollex.h | gyaikhom/libeskel | bsd-3-clause | 1,277 | 40 | codeparrot/github-code |
7de247f2f5bd7e6c3cbbd8d2d4ffd70696c8a2810c5b323873cccd3f30a2bf58 |
/**
* renders a panel with all the users within the organization and allows to change permissions
* IMPORTANT: this dialog changes the permission object but it does not save it, it's caller
* responsability to call save on that object
*
* It uses a permission and a organization objects
* usage:
*
* var user_li... | JavaScript | lib/assets/javascripts/cartodb/old_common/privacy/user_list_view.js | raquel-ucl/cartodb | bsd-3-clause | 8,498 | 320 | codeparrot/github-code |
b3ff057cc8a6ffd2b4bbc951e4a603a8bf9eb3e2cc08575306da03ef3988b291 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef MEDIA_CAST_TRANSPORT_CAST_TRANSPORT_IMPL_H_
#define MEDIA_CAST_TRANSPORT_CAST_TRANSPORT_IMPL_H_
#include "base/callback.h"
#include "base/memory/... | C | media/cast/transport/cast_transport_sender_impl.h | chromium2014/src | bsd-3-clause | 4,472 | 110 | codeparrot/github-code |
ce5fcea6b1fb67d22686a4d13f7c6296333c0b58bdf57efce8ea08127d23b8da | # Licensed under a 3-clause BSD style license - see LICENSE.rst
try:
from six.moves.urllib_parse import SplitResult, urlsplit
except ImportError:
from six.moves.urllib_parse import SplitResult, urlsplit
import os.path
def urljoin_keep_path(url, path):
"""Join a base URL and a relative or absolute path. Th... | Python | astroquery/utils/url_helpers.py | imbasimba/astroquery | bsd-3-clause | 1,603 | 49 | codeparrot/github-code |
121a79be32cf0b2fde9277176b5dd13d3a528854d9d1cf1fa1c588b379a33f10 | <!DOCTYPE html>
<html dir="ltr" lang="en">
<head>
<title>Class Variables - Rubinius</title>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta content='en' http-equiv='content-language'>
<meta content='Rubinius is an implementation of the Ruby programming l... | HTML | web/_site/doc/fr/ruby/class-variables/index.html | takano32/rubinius | bsd-3-clause | 6,120 | 218 | codeparrot/github-code |
752eb916ebb4a836bd073d6b39af60dbf7cc4457f76bb7e0149afce0ef316f47 | /**
* Copyright (c) 2015, Ellis Giles, Peter Varman, and Kshitij Doshi
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyr... | C | src/main/memtool.c | nvmwrap/softwrap | bsd-3-clause | 16,619 | 819 | codeparrot/github-code |
16e1e869854bf62763814339f25fd0f560f2f075c8b99db65a8a6eaccf1f8f39 | // =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All right reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of th... | C++ | src/chrono_models/vehicle/mtv/MTV_Vehicle.cpp | Milad-Rakhsha/chrono | bsd-3-clause | 12,678 | 257 | codeparrot/github-code |
3c226e2e0fa0495456c36ff8ca19cb16695462675c0f41f32ef37372db282f5f | /*****************************************************************************
* Copyright (C) PicoContainer Organization. All rights reserved. *
* ------------------------------------------------------------------------- *
* The software in this package is published under the terms of the BSD *
* s... | Java | src/org/picocontainer/lifecycle/DefaultLifecycleState.java | tmyroadctfig/picocontainer-android | bsd-3-clause | 3,041 | 119 | codeparrot/github-code |
63d9af92c956f7f41b1ea6e0f19b2ff0aeffb4aeae06498718b919c0466464a3 | <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Categorical Data and the Dirichlet Discrete Distribution</title>
<link rel="stylesheet" href="_static/basic.css" type="text/css" />
<link rel="sty... | HTML | dirichlet-discrete.html | datamicroscopes/datamicroscopes.github.io | bsd-3-clause | 29,326 | 721 | codeparrot/github-code |
45941c2b399c9ce07740866dce3f5b83ef0e21f037034480c3990f52908848ee | /* $OpenBSD: bss_sock.c,v 1.23 2014/07/11 08:44:47 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This... | C | src/C/libressl/libressl-2.7.2/crypto/bio/bss_sock.c | GaloisInc/hacrypto | bsd-3-clause | 6,004 | 240 | codeparrot/github-code |
469d0d19975f658a4603f9b1c4caf643592df0de0626fcb9644c64501abce969 | <?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... | PHP | library/Zend/GData/Extension/FeedLink.php | dineshkummarc/zf2 | bsd-3-clause | 4,581 | 170 | codeparrot/github-code |
7647fab17eb01ff982287c3871ae325c77028b3d3cbcf5bbf7899d4006c52255 | import sys
from deap import base, creator, tools
import numpy as np
from csep.loglikelihood import calcLogLikelihood
# from models.mathUtil import calcNumberBins
import models.model
import random
import array
import time
from operator import attrgetter
# from scoop import futures
import fgeneric
import bbobbenchmarks a... | Python | code/gaModel/gamodel_bbob.py | PyQuake/earthquakemodels | bsd-3-clause | 6,592 | 177 | codeparrot/github-code |
ba0546834c2ad408f5a7ee53af5a9df31a35ebf261feaed67424b863d2a1ee61 | /**
* Copyright (c) 2014,
* Charles Prud'homme (TASC, INRIA Rennes, LINA CNRS UMR 6241),
* Jean-Guillaume Fages (COSLING S.A.S.).
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:... | Java | choco-solver/src/main/java/org/chocosolver/solver/propagation/hardcoded/TwoBucketPropagationEngine.java | PhilAndrew/choco3gwt | bsd-3-clause | 20,288 | 507 | codeparrot/github-code |
03921e8e188b55b092b520ce177b65213f52a4fef6600fd6c700bbb53206f5fb | """
byceps.services.email.service
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:Copyright: 2006-2021 Jochen Kupperschmidt
:License: Revised BSD (see `LICENSE` file for details)
"""
from __future__ import annotations
from typing import Optional
from sqlalchemy.exc import IntegrityError
from ...database import db, upsert
from ... i... | Python | byceps/services/email/service.py | homeworkprod/byceps | bsd-3-clause | 4,293 | 178 | codeparrot/github-code |
3bd4798ae7b65beec8ad5f320ff413902d531df2e110095cbc0036633e48577e | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_TAB_CONTENTS_CORE_TAB_HELPER_H_
#define CHROME_BROWSER_UI_TAB_CONTENTS_CORE_TAB_HELPER_H_
#include <string>
#include "base... | C | chrome/browser/ui/tab_contents/core_tab_helper.h | scheib/chromium | bsd-3-clause | 6,063 | 141 | codeparrot/github-code |
c53fb044062498069ffdff287df94f6f71cfb1847c7fe4465743a0a63b868706 | /*
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.gi... | JavaScript | gulpfile.js | czellweg/nonam-ui | bsd-3-clause | 7,816 | 260 | codeparrot/github-code |
01336897939be0922cecb518afd6a5c47bb5e0a3cee9663d7dc564240a4ef24d | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_WEBUI_INVALIDATIONS_MESSAGE_HANDLER_H_
#define CHROME_BROWSER_UI_WEBUI_INVALIDATIONS_MESSAGE_HANDLER_H_
#include "base/compiler... | C | chrome/browser/ui/webui/invalidations_message_handler.h | ChromiumWebApps/chromium | bsd-3-clause | 2,558 | 68 | codeparrot/github-code |
b8b488081f53943129741ac1858acec5d773bbff0ef54c2100247b740a6ab4c2 | <?php
namespace SlmQueue\Strategy;
use SlmQueue\Worker\WorkerEvent;
use Zend\EventManager\EventManagerInterface;
class InterruptStrategy extends AbstractStrategy
{
/**
* @var bool
*/
protected $interrupted = false;
/**
* @param array $options
*/
public function __construct(array ... | PHP | src/Strategy/InterruptStrategy.php | jackdpeterson/SlmQueue | bsd-3-clause | 1,961 | 82 | codeparrot/github-code |
af5bbbdf0f69902713661ebffed380c339ed7d32ed62fdb932c6b5c9518b6213 | /*
* Copyright (c) 2015, CrafterKina
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
* this list of conditions an... | Java | src/main/java/jp/crafterkina/KinaCore/movelib/gui/GuiButtonsList.java | CrafterKina/KinaCore | bsd-3-clause | 4,977 | 135 | codeparrot/github-code |
6da303fdfacb2f74026b0b6f7df6e38d0d4492cb4620e22db78b1629cfdf6944 | // Copyright 2013 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// This file implements typechecking of call and selector expressions.
package types
import (
"go/ast"
"go/token"
)
func (check *checker) call(x *operand, ... | GO | types/call.go | jessevdk/go-operators | bsd-3-clause | 11,436 | 429 | codeparrot/github-code |
e15dde9340d9ef27c2ea3dbc964a3bd5e33a10f77058fefe9b3f7b8e60175e36 | <?php
namespace Checklist\Model;
class OfertaEntity {
protected $id;
protected $powierzchnia;
protected $cena;
protected $cenam2;
protected $czynsz;
protected $liczbaPokoi;
protected $liczbaPieter;
protected $adres;
protected $miejscowosc;
protected $formaWlasnosci;
protected $ulica;
protecte... | PHP | module/Checklist/src/Checklist/Model/OfertaEntity.php | poldas/panel_ogloszen | bsd-3-clause | 3,063 | 173 | codeparrot/github-code |
121a29af3b60d45086202b1202ba3675f48cb98dec6a15154961cd3b2fa0be62 | /*
* Copyright (c) 2012 The WebM project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributin... | C | vp8/encoder/denoising.c | ittiamvpx/libvpx | bsd-3-clause | 28,897 | 737 | codeparrot/github-code |
c3fb0806667a1caad6a38eb11843d995eb4aebcd688ef6324732d1cdbc7b52e0 | /*
Copyright 2006 by Ankur Desai, Sean Luke, and George Mason University
Licensed under the Academic Free License version 3.0
See the file "LICENSE" for more information
*/
package ec.pso;
import ec.*;
import ec.util.*;
import ec.vector.*;
import java.io.*;
/**
* PSOSubpopulation.java
*
<p>Particle Swarm ... | Java | ec/pso/PSOSubpopulation.java | malyzajko/xfp | bsd-3-clause | 17,830 | 403 | codeparrot/github-code |
721cad147b6e77caa44a2ff9f31494559bab3828d6a72c96dccd0745eb55c3db | import { createElement } from "lwc";
import ReleaseGateProduct from "c/releaseGateProduct";
import getReleaseGateVModel from "@salesforce/apex/ReleaseGateController.getReleaseGateVModel";
const RELEASE_GATES = require("./data/releaseGates.json");
// Mock getReleaseGateVModel Apex wire adapter
jest.mock(
"@salesfo... | JavaScript | force-app/main/releaseGating/lwc/releaseGateProduct/__tests__/releaseGateProduct.test.js | SalesforceFoundation/HEDAP | bsd-3-clause | 3,382 | 87 | codeparrot/github-code |
a41e4162161ed4e8f9c1fc792411027d47cc74e884ccd8396d2aaa96c76c8d5c | #pragma once
#include <Base/BaseTypes.h>
#include <Reflection/Reflection.h>
#include <UI/Components/UIComponent.h>
namespace DAVA
{
/** Component for attach Spine's bones to UIControls.
UIControls each frame gets position, scale and angle from attached bones.
*/
class UISpineAttachControlsToBonesComponent : public UI... | C | Modules/Spine/Sources/UI/Spine/UISpineAttachControlsToBonesComponent.h | dava/dava.engine | bsd-3-clause | 2,270 | 69 | codeparrot/github-code |
6bfc8517403246bda179981d2d10b421df8ab06a632c777ba03d141de8b19652 | <?php
class Step extends Base
{
private $tpl;
private $batch;
private $workerId;
private $stepId;
private $elements;
private $properties;
public function __construct($stepArray, Batch $batch, $workerId, $stepId)
{
parent::__construct();
$this->batch = $batch;
$this->workerId = $workerId;
$this->ste... | PHP | core/lib/Step.php | ldvpublic/QualityCrowd2 | bsd-3-clause | 2,342 | 108 | codeparrot/github-code |
81b3a6f0a432007ed0925588332777f6e7af2e405704c26047e0b72d0d52ca12 | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/ZendSkeletonApplication for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD Lic... | PHP | module/Admin/src/Admin/Controller/CategoryController.php | lifeman/Zend2_blog | bsd-3-clause | 1,965 | 66 | codeparrot/github-code |
f6d0a5b7306652efb2fc114952ce9990ed34d989ad77efde096e8c289a4e0e12 | /*
-- MAGMA (version 2.1.0) --
Univ. of Tennessee, Knoxville
Univ. of California, Berkeley
Univ. of Colorado, Denver
@date August 2016
@generated from src/zgetrf_m.cpp, normal z -> d, Tue Aug 30 09:38:06 2016
*/
#include <cuda_runtime.h>
#include "magma_internal.h"
#include "m... | C++ | src/dgetrf_m.cpp | maxhutch/magma | bsd-3-clause | 16,641 | 444 | codeparrot/github-code |
7960187639e404050f38e9831b35529073aea0ac6f26c78900bc6f4f39bd6a26 | <?
use frontend\models\School;
use yii\helpers\Json;
$url = Yii::$app->urlManager->createUrl('/');
?>
<link rel="stylesheet" href="<?= $url; ?>/jqwidgets/jqwidgets/styles/jqx.base.css" type="text/css"/>
<script type="text/javascript" src="<?= $url; ?>/jqwidgets/scripts/jquery-1.11.1.min.js"></script>
<script type="tex... | PHP | frontend/themes/bootstrapdashboard/views/site/_tree_view.php | terrytao/school | bsd-3-clause | 4,628 | 116 | codeparrot/github-code |
4a642cfab6edee869b2163e2bc5e816baebc3395861ade46862c3270e84cd8be | /*
* Copyright 2011 Christian König.
* All Rights Reserved.
*
* 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, cop... | C | sys/dev/drm2/radeon/radeon_semaphore.c | jhbsz/OSI-OS | bsd-3-clause | 3,812 | 125 | codeparrot/github-code |
de35e51918575abcf3a5f34e83c3eb1e3cbabb69d93769e5f2e14cc1d710850a | <?php
namespace frontend\models;
use Yii;
/**
* This is the model class for table "est_comments_likes".
*
* @property integer $ID
* @property integer $Liked
* @property integer $Dislike
* @property integer $UserID
* @property integer $CommentID
*/
class NewsCommentsLikes extends \yii\db\ActiveRecord
{
/*... | PHP | frontend/models/NewsCommentsLikes.php | tatia-kom/gvd.my | bsd-3-clause | 1,009 | 52 | codeparrot/github-code |
9107a1b46dd295bd8ecc98e6d1b667e8f3b149305a0ec8ea858cf14840fa3ef0 | <dom-module id="mench-my-projects">
<template>
<style is="custom-style">
:root {
height: 100%;
}
.flex {
@apply(--layout-flex);
}
.horizontal {
@apply(--layout-horizontal);
@apply(--layout-center);
}
.vertical {
@apply(--layout-ve... | HTML | polymer/my-projects.html | menchapp/menchweb | bsd-3-clause | 9,724 | 305 | codeparrot/github-code |
8c2dec6d7a00fc4dc6ff14d09fd541685ba6935c95868e73c81fdc27fb82f982 | {-# LANGUAGE PackageImports, OverloadedStrings, TypeFamilies #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}
module TlsIo (
TlsIo, evalTlsIo, liftIO, throwError, readCached, randomByteString,
Partner(..), opponent, isCiphered,
readContentType, writeContentType, readVersion, writeVersion,
readLen, writeLen,
setVersio... | Haskell | subprojects/tls-analysis/client/TlsIo.hs | YoshikuniJujo/forest | bsd-3-clause | 18,760 | 590 | codeparrot/github-code |
7c0d7eb3d78d0a09fe3da515a89ba570f27c85cc19862376cf0136648999d6d0 | /* ROS-CHOMP.
*
* Copyright (C) 2015 Jafar Qutteineh. All rights reserved.
* License (3-Cluase BSD): https://github.com/j3sq/ROS-CHOMP/blob/master/LICENSE
*
* This code uses and is based on code from:
* Project: trychomp https://github.com/poftwaresatent/trychomp
* Copyright (C) 2014 Roland Philippsen. All r... | C++ | src/chomp.cpp | j3sq/ROS-CHOMP | bsd-3-clause | 5,539 | 162 | codeparrot/github-code |
b74e537d236b650e0ac12421c1220c8943ae0b92792b4250ea7e1f2d22d3d72a | <html>
<head>
<link rel="stylesheet" type="text/css" href="examples.css" />
<link rel="stylesheet" type="text/css" href="../build/Canvas2D.css" />
<script type="text/javascript" src="includes.js"></script>
</head>
<body>
<h1>Diagram Styles Example</h1>
<div class="box">
<h2>Static</h2>
... | HTML | examples/styles.html | christophevg/Canvas2D | bsd-3-clause | 2,709 | 70 | codeparrot/github-code |
08664774807b60853871353c9dc8d8079f6bea6939a9c11f37ce23dad5142428 | //
// Confetti.h
// Ex44ParticlePolymorphism
//
// Created by Ilya Rostovtsev on 7/2/13.
//
// HWH Maintenance 8/19/13
//
#ifndef __Ex44ParticlePolymorphism__Confetti__
#define __Ex44ParticlePolymorphism__Confetti__
#include "cinder/gl/gl.h"
#include "cinder/Rand.h"
#include "Particle.h"
#include "Square.h"
#incl... | C | Chapter04_ParticleSystems/Ex44ParticlePolymorphism/include/Confetti.h | ilzxc/The-Nature-of-Cinder | bsd-3-clause | 655 | 35 | codeparrot/github-code |
676a14cbbbff90de58df411673f75cdfa1ab546fa3342df20f6eb2cdd6e159cf | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Modern well documented core Fortran routines for cleaner, smarter code.">
... | HTML | docs/interface/sort.html | leonfoks/coretran | bsd-3-clause | 54,343 | 1,428 | codeparrot/github-code |
40b06ca00243e98a896467f03c0bfbf640f0822d76bdd4d8dd04ebe7178c4131 | // *****************************************************************************
//
// © Component Factory Pty Ltd 2017. All rights reserved.
// The software and associated documentation supplied hereunder are the
// proprietary information of Component Factory Pty Ltd, 13 Swallows Close,
// Mornington, Vic 3931... | C# | Source/Krypton Components/ComponentFactory.Krypton.Toolkit/Palette Controls/PaletteDataGridViewCells.cs | ComponentFactory/Krypton | bsd-3-clause | 6,992 | 184 | codeparrot/github-code |
dab378340d40a1097cf4a8a97e9e8c9ac148675bcdaf75e634dc6e549a747fbc | // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_GTK_TABS_TAB_STRIP_GTK_H_
#define CHROME_BROWSER_UI_GTK_TABS_TAB_STRIP_GTK_H_
#pragma once
#include <gtk/gtk.h>
#include <v... | C | chrome/browser/ui/gtk/tabs/tab_strip_gtk.h | Crystalnix/house-of-life-chromium | bsd-3-clause | 18,404 | 471 | codeparrot/github-code |
96475769f3840df5a89298f655e3b8fa64b12090b9b08b491a9f293e631ce93b | /* Copyright (c) 2015, Thomas Lang. All rights reserved.
*
* 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.
*
* T... | Java | Maps/HashMap/HashMap.java | langthom/data-structures | bsd-3-clause | 17,956 | 633 | codeparrot/github-code |
2151079200af1cf4c837fb3c2922bdf126c23289c44040e837d7d04c566d6d8f | from sqlagg.columns import SimpleColumn
from corehq.apps.reports.datatables import DataTablesHeader, DataTablesColumnGroup
from corehq.apps.reports.generic import GenericTabularReport
from corehq.apps.reports.sqlreport import DatabaseColumn
from corehq.apps.reports.standard import DatespanMixin, CustomProjectReport
fro... | Python | custom/up_nrhm/reports/district_functionality_report.py | qedsoftware/commcare-hq | bsd-3-clause | 3,729 | 85 | codeparrot/github-code |
e1982397a3dd697d39310db0b7e9beb057c7777a7bb0d190f709e9cf6e256793 | <?php
/*
* 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.
*/
?>
<!--<div class="page-scroll">
<style>
.dot-scroll-vertical {
/* display: inline-block;*/
paddin... | PHP | freeletics/protected/views/partials/navbar_help_support.php | backden/yii_freelectics | bsd-3-clause | 6,399 | 189 | codeparrot/github-code |
14b8499c86cc8a850ce72700fe48eac909e4f3ea7b399877b8910b19462d7b36 | #ifndef INCLUDED_TEXTSIMILARITYSERVICEIMPL_H_
#define INCLUDED_TEXTSIMILARITYSERVICEIMPL_H_
#include "AbstractTextDistance.h"
#include "AbstractConfiguration.h"
#include <map>
class TextSimilarityServiceImpl : public AbstractTextDistance
{
private:
AbstractConfiguration* configurationService;
AbstractTex... | C | task5/TextSimilarityServiceImpl.h | hasherezade/mastercoder2014 | bsd-3-clause | 891 | 30 | codeparrot/github-code |
525f7fd0a250fc7eda32264ca2393591751a7b3bb1f3f41f310324542713c0fd | // @flow
import React from "react"
import R from "ramda"
import type {
FormComponentCls,
WrappedComponentCls,
WithFormProps
} from "../flow/formTypes"
const withForm = <T>(FormComponent: FormComponentCls<T>) => (
WrappedComponent: WrappedComponentCls<T>
) => {
class withForm extends React.Component<WithForm... | JavaScript | static/js/hoc/withForm.js | mitodl/open-discussions | bsd-3-clause | 3,168 | 123 | codeparrot/github-code |
92c2261a6fd79a0873c14e871c904c36543f824f395bb8dfd51a6382441cf252 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="ja">
<head>
<meta name="author" content="clown">
<meta http-equiv="Content-type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<meta http-equiv="C... | HTML | document/icmp.html | clown/clx | bsd-3-clause | 9,512 | 308 | codeparrot/github-code |
bc7af43dfa4eff9c186c2cb11fe407fc58643a85d4f610c6f557f59fd321e536 | using UnityEngine;
using System.Collections;
abstract public class ICharacter : MonoBehaviour
{
#region Variables
#endregion
#region Properties
public abstract string CharacterName { get; }
public abstract AudioSource Voice { get ; }
#endregion
#region Functions
void S... | C# | GiftDemo/Assets/vhAssets/vhutils/ICharacter.cs | USC-ICT/gift-integration-demo | bsd-3-clause | 3,683 | 67 | codeparrot/github-code |
e67fbe0841f5308705bf8aa763693193fdad5ccce94ddfb4e5cdb5dc676c76be | from conans.util.files import mkdir, save, rmdir
import os
from conans.util.log import logger
from conans.paths import CONANINFO, CONAN_MANIFEST
from conans.errors import ConanException, format_conanfile_exception
from conans.model.build_info import DEFAULT_RES, DEFAULT_BIN, DEFAULT_LIB, DEFAULT_INCLUDE
import shutil
f... | Python | tools/conan/conans/client/packager.py | AversivePlusPlus/AversivePlusPlus | bsd-3-clause | 2,736 | 73 | codeparrot/github-code |
538ba75bd51e828fd80a0148a241ca83d5be9e8e8e7a08ac9367e49245e09e43 | <?php
namespace app\modules\admpersonal\controllers;
use Yii;
use app\models\Licencias;
use app\modules\admpersonal\models\LicenciasSearch;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
use app\models\Usuarios;
use yii\filters\AccessControl;
/**
* LicenciasController impleme... | PHP | modules/admpersonal/controllers/LicenciasController.php | programacionav/Proyecto2015 | bsd-3-clause | 5,714 | 194 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.