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 |
|---|---|---|---|---|---|---|---|---|
3ce402eab05192bbad36234511be64686e2c960cd0a0d3426041adccd40d1a4f | <?php
/**
* Confirmation Validator
*
* @author Andres Gutierrez <andres@phalconphp.com>
* @author Eduar Carvajal <eduar@phalconphp.com>
* @author Wenzel Pünter <wenzel@phelix.me>
* @version 1.2.6
* @package Phalcon
*/
namespace Phalcon\Validation\Validator;
use \Phalcon\Validation\Validator;
use \Phalcon\Valida... | PHP | src/Phalcon/Validation/Validator/Confirmation.php | scento/phalcon-php | bsd-3-clause | 1,974 | 71 | codeparrot/github-code |
1c929bb4c19165bd8c731823f4eb7c562ff676ad9e866a9782a6c1e76e85c727 | <?php
/**
* Changelog keeper
*
* @link https://github.com/hiqdev/chkipper
* @package chkipper
* @license BSD-3-Clause
* @copyright Copyright (c) 2016-2017, HiQDev (http://hiqdev.com/)
*/
namespace hiqdev\chkipper\lib\modifiers;
use hiqdev\chkipper\lib\History;
/**
* CompositeModifier class.
* Runs ... | PHP | src/lib/modifiers/CompositeModifier.php | hiqdev/chkipper | bsd-3-clause | 1,226 | 57 | codeparrot/github-code |
367dff32235f7b077220a539743f019de8acddd858696335032c56fb91b81d32 | <?php
/*
* Abraham Williams (abraham@abrah.am) http://abrah.am
*
* The first PHP Library to support OAuth for Twitter's REST API.
Copyright (c) 2009 Abraham Williams - http://abrah.am - abraham@poseurte.ch
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and assoc... | PHP | lib/twitteroauth.php | cashmusic/Tweet-for-Track | bsd-3-clause | 8,874 | 269 | codeparrot/github-code |
2a2cb30d58cb4094966d1dded6ebef3db19d59d7a4d3a8b4ef517999fe67a7d1 | /*
* libEtPan! -- a mail stuff library
*
* Copyright (C) 2001, 2005 - DINH Viet Hoa
* 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 a... | C | src/driver/implementation/imap/imapdriver.c | tipbit/libetpan | bsd-3-clause | 32,434 | 1,301 | codeparrot/github-code |
f7a2c338f274964ad74a182ebc2351ed4bdba263723ac2cd551ea116c0e31130 | /*
* Software License Agreement (BSD License)
*
* Copyright (c) 2011-2014, Willow Garage, Inc.
* Copyright (c) 2014-2016, Open Source Robotics Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following c... | C++ | src/narrowphase/detail/primitive_shape_algorithm/halfspace.cpp | hsu/fcl | bsd-3-clause | 6,062 | 153 | codeparrot/github-code |
11ba3455a8476e70a1f2642462cb983f6b0ce85b26a9c104e889df1c9cbae1ec | # -*- coding: utf-8 -*-
"""
flaskbb.management.views
~~~~~~~~~~~~~~~~~~~~~~~~
This module handles the management views.
:copyright: (c) 2014 by the FlaskBB Team.
:license: BSD, see LICENSE for more details.
"""
import sys
from flask import (Blueprint, current_app, request, redirect, url_for, flas... | Python | flaskbb/management/views.py | realityone/flaskbb | bsd-3-clause | 24,085 | 727 | codeparrot/github-code |
3bba46c750752fb2c8ad8a348ba79e44550e892e42d052f0dd56604775e7f82f | // 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.
#include "chrome/common/chrome_version_info.h"
#include "base/basictypes.h"
#include "base/file_version_info.h"
#include "base/string_util.h"
#includ... | C++ | chrome/common/chrome_version_info.cc | leiferikb/bitpop-private | bsd-3-clause | 3,604 | 148 | codeparrot/github-code |
76959066604f8fc8e212e27658b3ee5fe0c9f0aaf026961aaf92bf0e9c6e8fc4 | /**
******************************************************************************
* Xenia : Xbox 360 Emulator Research Project *
******************************************************************************
* Copyright 2013 Ben Vanik. All rights reserved. ... | C++ | src/xenia/kernel/user_module.cc | galek/xenia | bsd-3-clause | 27,968 | 779 | codeparrot/github-code |
2ac8b69ee83b368d67487bcfef81c8006e43cd10102bf93df328d103d6768b6d | var $box = $('.box');
var F = {};
F.getMousePos = function(e, $relaveDom) {
var x = 0;
var y = 0;
if (!e) {
var e = window.event;
}
if (e.pageX || e.pageY) {
x = e.pageX;
y = e.pageY;
}
else if (e.clientX || e.clientY) {
x = e.clientX + document.body.scrollL... | JavaScript | pages/lab_test/xian.js | comlewod/document | bsd-3-clause | 7,722 | 303 | codeparrot/github-code |
85bea8c270c2c26a781cb59385413d1cf0061ec326dd95c7b2513d5f1c895c52 |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title>statsmodels.tsa.arima_model.ARIMAResults.bse — statsmodels v0.10.0 documentation</title>
<link rel="stylesheet" href="../_static/nature.css" type="text/css" />
<link rel="stylesheet" href="../_s... | HTML | v0.10.0/generated/statsmodels.tsa.arima_model.ARIMAResults.bse.html | statsmodels/statsmodels.github.io | bsd-3-clause | 7,386 | 166 | codeparrot/github-code |
c6e0c1e90cb4d2e7b22cbf6c89094692b027438ba41259ff0c1833fdd6d38d69 | /******************************************************************************
*
* Module Name: osunixxf - UNIX OSL interfaces
*
*****************************************************************************/
/*
* Copyright (C) 2000 - 2015, Intel Corp.
* All rights reserved.
*
* Redistribution and use in sourc... | C | sys/contrib/dev/acpica/os_specific/service_layers/osunixxf.c | jrobhoward/SCADAbase | bsd-3-clause | 37,361 | 1,541 | codeparrot/github-code |
13bc5950706baaa6fae471f9dbb860504c166b3e087315fc0abf34d922f176b3 | /* process text input from stdin
write parsed output to stdout
utterances terminated with newline
type "quit" to exit
*/
#include <stdio.h>
#include <ctype.h>
#include <string.h>
#include "parse.h"
#include "pconf.h"
#include "globals_parse.h"
void strip_line();
extern char dict_file[LABEL_LEN],
priority_... | C | Library_Logios/Tools/MakeGra/phoenix_v0/ParserLib/parse_text.c | minigeek/MMDAgent | bsd-3-clause | 3,393 | 169 | codeparrot/github-code |
26fc4649e7ab2490de1fd5d1053f0985004c7c01304754e6174d9a4599f21337 | {% extends "touchtechnology/content/admin/edit.html" %}
{% load i18n %}
{% load common %}
{% load mvp_tags %}
{% block extracss %}
{{ block.super }}
<!-- formset.media.css -->
{{ formset_media.css }}
{% endblock %}
{% block extrajs %}
{{ block.super }}
<!-- formset.media.js -->
{{ formset_media.js }}
{% endbloc... | HTML | touchtechnology/content/templates/touchtechnology/content/admin/edit_application.html | goodtune/vitriolic | bsd-3-clause | 1,594 | 81 | codeparrot/github-code |
75986896ed59beeced4cbfabe91abe02e5cd659a1352907a746a20e0f96a8337 | # -*- coding: utf-8 -*-
"""
Display current network and ip address for newer Huwei modems.
It is tested for Huawei E3276 (usb-id 12d1:1506) aka Telekom Speed
Stick LTE III but may work on other devices, too.
DEPENDENCIES:
- netifaces
- pyserial
Configuration parameters:
- baudrate : There sh... | Python | py3status/modules/wwan_status.py | hburg1234/py3status | bsd-3-clause | 7,301 | 177 | codeparrot/github-code |
0100d713a695a605f25c7b1c291fbb5b127d4a7dcf1d7b7cd2b9065420a6e17b | /*
* $Id: PlotMark.java,v 1.1 2004/12/27 16:15:20 luca Exp $
*
* This software is provided by NOAA for full, free and open release. It is
* understood by the recipient/user that NOAA assumes no liability for any
* errors contained in the code. Although this software is released without
* conditions or restricti... | Java | src/gov/noaa/pmel/sgt/PlotMark.java | luttero/Maud | bsd-3-clause | 7,985 | 263 | codeparrot/github-code |
af1d58abeb8a31b7e7d3187c512f246922e9dc3af355316d8125626a4f526352 | #ifndef SHELL_DEBUGGER_H
#define SHELL_DEBUGGER_H
#include "reos_debugger.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct ShellDebuggerData ShellDebuggerData;
typedef struct ShellDebuggerCommand ShellDebuggerCommand;
typedef struct ShellDebuggerOption ShellDebuggerOption;
typedef struct ShellBreakCondition ... | C | src/debuggers/shell_debugger.h | michaelstorm/ReOS | bsd-3-clause | 1,699 | 76 | codeparrot/github-code |
49dc374e03e41fdb2719fb99291015fae501b55eaf72510484f01abfdc35fe15 | """Schedule models.
Much of this module is derived from the work of Eldarion on the
`Symposion <https://github.com/pinax/symposion>`_ project.
Copyright (c) 2010-2014, Eldarion, Inc. and contributors
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted p... | Python | pygotham/schedule/models.py | djds23/pygotham-1 | bsd-3-clause | 7,610 | 221 | codeparrot/github-code |
ac61862e0d219f065436a81e4474110302713c4cc363fa7312365810b6c588c9 |
#include <util/logger.h>
#include "a_star.h"
namespace math
{
a_star::a_star(point const &start, point const &goal, scorer_t const &scorer):
start_(start),
goal_(goal),
scorer_(scorer),
failed_(false)
{
}
a_star::~a_star()
{
}
void a_star::calculate_path()
{
start();
run();
}
std::vector<a_star::point> a_st... | C++ | src/math/a_star.cc | manvelavetisian/scratch | bsd-3-clause | 3,614 | 172 | codeparrot/github-code |
ccb0ba4b694660a7b193facf3c947645a5f7789e05990ace28f4410baad12f8e | /*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the implied warranty ... | C++ | Modules/DiffusionImaging/MiniApps/TractDensity.cpp | RabadanLab/MITKats | bsd-3-clause | 7,270 | 202 | codeparrot/github-code |
7d166e5a1d2c786b1f9026f4977ce42226daed663676ae96053600cdb9e62d6f | #include "jsxmin_renaming.h"
#include <assert.h>
#include <stdio.h>
#include <iostream>
// Varaible renaming of JS files.
// This file includes three renaming strategies:
// 1. local variable renaming;
// 2. global variable renaming in the current file scope;
// 3. property renaming in the current file scope;
/... | C++ | support/jsxmin/jsxmin_renaming.cpp | phacility/javelin | bsd-3-clause | 13,931 | 469 | codeparrot/github-code |
21fa07ef6c0d6eec59a93706de472e14249039627db612214f1197283d2457fd | /*
Copyright (c) 2007 - 2010, Carlos Guzmán Álvarez
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,
... | C# | source/Hanoi/Authentication/SaslPlainAuthenticator.cs | MustafaUzumcuCom/Hanoi | bsd-3-clause | 4,116 | 111 | codeparrot/github-code |
f1a50a2a79c5d2f8e1734370f1946fdf223ff3568d15e47aec70ca434e60eb53 | /* @flow */
import * as React from "react";
import { nest } from "d3-collection";
import { scaleLinear } from "d3-scale";
import TooltipContent from "../tooltip-content";
const parentPath = (d, pathArray) => {
if (d.parent) {
pathArray = parentPath(d.parent, [d.key, ...pathArray]);
} else {
pathArray = ["r... | JavaScript | packages/transform-dataresource/src/charts/hierarchical.js | jdfreder/nteract | bsd-3-clause | 3,353 | 133 | codeparrot/github-code |
be44130e3d83cc2d4c848a070fbceab92ea0f4c287338ea99e5bd275f0b2edad | #include <unistd.h>
#include <iostream>
#include <iomanip>
#include <string>
#include <sndfile.hh>
#include "TemVoc.hpp"
const string VERSION = "1.0";
using namespace std;
int main(int argc, char *argv[]) try
{
string help_message {"temvoc [-hwv] [-f fftsize] <carrier path> <modulator path> <output path>"};
bool... | C++ | main.cpp | analoq/temvoc | bsd-3-clause | 3,703 | 139 | codeparrot/github-code |
1d7c1108c90fe77029d5cf8d8588da5910b585e7bbfdca6b84372d34219746a0 | #ifndef OPTIM_UTILS_H
#define OPTIM_UTILS_H
#include <cstdio>
#include <vector>
#include <cassert>
#include <cmath>
#include <float.h>
#include "matrix.h"
//Compute the gradient by central difference
std::vector<double> gradient(double (*f)(std::vector<double>), const std::vector<double>& x, double tol)
{
std::vect... | C | optimTools/optim_utils.h | bapaden/gradientDescent | bsd-3-clause | 1,339 | 66 | codeparrot/github-code |
431a550a3caa8eb87f60b1ebf9d82656b6804cd3016a39c2892e9bbf28194198 | #!/usr/bin/env python
'''
isobands_matplotlib.py is a script for creating isobands.
Works in a similar way as gdal_contour, but creating polygons
instead of polylines
This version requires matplotlib, but there is another one,
isobands_gdal.py that uses only GDAL python
Originally created by Roger Veciana i Rovira, m... | Python | Isochrones/isobands_matplotlib.py | PatSunter/pyOTPA | bsd-3-clause | 5,552 | 154 | codeparrot/github-code |
045929bf74296e8255dde23cb113813be09372941be7c6cf679a1f53587ab408 | // Copyright (c) 2015, Galaxy Authors. All Rights Reserved
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// Author: wangtaize@baidu.com
#include "agent/cgroup.h"
#include <sstream>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdio.h>
#include <si... | C++ | src/agent/cgroup.cc | leoYY/galaxy | bsd-3-clause | 16,727 | 557 | codeparrot/github-code |
1981715039934fde0afa7dffb0dcefe1252719cd5729d3977d117caaf77ddb5e | <?php
namespace app\controllers;
use Yii;
use app\models\User;
use app\models\UserSearch;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\web\ForbiddenHttpException;
use yii\filters\VerbFilter;
use yii\db\IntegrityException;
/**
* UserController implements the CRUD actions for User model.
*/
cla... | PHP | controllers/UserController.php | schw/SGE3 | bsd-3-clause | 4,138 | 155 | codeparrot/github-code |
2101cdb8939b7afd4fa4281fa085c94e565aad9cf36b1892f8044673683da398 | from __future__ import division
from direct.showbase.ShowBase import ShowBase
from direct.actor.Actor import ActorNode
from panda3d.core import WindowProperties, NodePath, LVector3
from panda3d.core import LineSegs, OrthographicLens, CardMaker
from inputs import Inputs
from sys import path
import square
try:
path.i... | Python | color_world.py | codedragon/color_world | bsd-3-clause | 15,178 | 379 | codeparrot/github-code |
fa35db8cd4662da061d88e3dfc53b9a528d1a2a226c7f7e9ec2532f5bae2cf8e | /*
* Copyright (c) 2013, Yahoo! Inc. All rights reserved.
* Copyrights licensed under the New BSD License.
* See the accompanying LICENSE.txt file for terms.
*/
/*jslint nomen:true, node:true */
'use strict';
var core = require('./core');
module.exports = {
describe: {
summary: 'Compile dust templ... | JavaScript | lib/plugin.js | yahoo/locator-dust | bsd-3-clause | 2,981 | 90 | codeparrot/github-code |
2be2bcd2f6ad41349cb0992476a1fa278c29df752e6590033fa756a3cfc0596e | /*
fileedit.cpp
Редактирование файла - надстройка над editor.cpp
*/
/*
Copyright © 1996 Eugene Roshal
Copyright © 2000 Far Group
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 so... | C++ | far/fileedit.cpp | data-man/FarAS | bsd-3-clause | 73,376 | 2,833 | codeparrot/github-code |
3e9a60fd15d560acb7c8a26dc72d8f4530ee809ff5fdd08d5ab06b5d5a033616 | #!/bin/env python
#Copyright ReportLab Europe Ltd. 2000-2012
#see license.txt for license details
#history http://www.reportlab.co.uk/cgi-bin/viewcvs.cgi/public/reportlab/trunk/reportlab/lib/formatters.py
__all__=('Formatter','DecimalFormatter')
__version__=''' $Id: formatters.py 3959 2012-09-27 14:39:39Z robin $ '''
_... | Python | src/reportlab/lib/formatters.py | nakagami/reportlab | bsd-3-clause | 3,887 | 110 | codeparrot/github-code |
3f270fd67728b9ccc0ba28f1dd839ea68effb7654a4697049dbaa20acb12bd49 | /*L
* Copyright Moxie Informatics.
*
* Distributed under the OSI-approved BSD 3-Clause License.
* See http://ncip.github.com/calims/LICENSE.txt for details.
*/
package gov.nih.nci.calims2.domain.inventory.l10n;
import java.util.ListResourceBundle;
import gov.nih.nci.calims2.domain.inventory.enumeration.Contain... | Java | calims2-model/src/java/gov/nih/nci/calims2/domain/inventory/l10n/ContainerQuantityBundle.java | NCIP/calims | bsd-3-clause | 789 | 33 | codeparrot/github-code |
698f2bd9303cd051b914667f1870c38c720c7fee709f49d163e7ef0ff7f0e45e | /*
* Software License Agreement (BSD License)
*
* Point Cloud Library (PCL) - www.pointclouds.org
* Copyright (c) 2010-2011, Willow Garage, Inc.
* Copyright (c) 2014, Hunter Laux
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted... | Java | project/src/main/java/project/GetPCD.java | jolting/cs263 | bsd-3-clause | 8,756 | 249 | codeparrot/github-code |
5808ce115450ab04df6d12827b44b7a101e8bda79cdc85d81174dce4c4c101d2 | /*
* Copyright (c) 2016 CartoDB. All rights reserved.
* Copying and using this code is allowed only according
* to license terms, as given in https://cartodb.com/terms/
*/
#ifndef _CARTO_GEOMUTILS_H_
#define _CARTO_GEOMUTILS_H_
#include <vector>
namespace carto {
class MapBounds;
class MapPos;
class ... | C | all/native/utils/GeomUtils.h | CartoDB/mobile-sdk | bsd-3-clause | 1,644 | 50 | codeparrot/github-code |
bae72f1899a9b00282d111db5e537b3e16054c2c67a361dc713f3f5c5d05f2d6 | /* $This file is distributed under the terms of the license in LICENSE$ */
package edu.cornell.mannlib.vitro.webapp.modelaccess.impl.keys;
import edu.cornell.mannlib.vitro.webapp.modelaccess.ModelAccess.LanguageOption;
import edu.cornell.mannlib.vitro.webapp.utils.logging.ToString;
/**
* An immutable key for storin... | Java | api/src/main/java/edu/cornell/mannlib/vitro/webapp/modelaccess/impl/keys/OntModelKey.java | vivo-project/Vitro | bsd-3-clause | 1,164 | 49 | codeparrot/github-code |
f5b3586f0c5ff2616502292e806123e09e0a5e3cd6f410f1b70f2f8e2e94b7da | // +build freebsd linux darwin
package disk
import "syscall"
func DiskUsage(path string) (*DiskUsageStat, error) {
stat := syscall.Statfs_t{}
err := syscall.Statfs(path, &stat)
if err != nil {
return nil, err
}
bsize := stat.Bsize
ret := &DiskUsageStat{
Path: path,
Total: (uint64(stat.Bloc... | GO | disk/disk_unix.go | jmptrader/gopsutil | bsd-3-clause | 771 | 31 | codeparrot/github-code |
151ba71689aea2029773f12299cca5b29085aeaf1f7df9094faf4a7c5c97c360 | /*
* Copyright (c) 2011 The WebRTC 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 contribut... | C++ | src/third_party/webrtc/modules/rtp_rtcp/test/bitstreamTest/bitstreamTest.cc | matsumoto-r/synciga | bsd-3-clause | 18,222 | 539 | codeparrot/github-code |
dc83b37538e9afe084d5fb9c9dd8c89ca80c8cf26f5dee5f892412d06c15be11 | <?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/ZendSkeletonApplication for the canonical source repository
* @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD Lic... | PHP | module/Albumanh/Module.php | comictvn/cnc_001 | bsd-3-clause | 2,019 | 68 | codeparrot/github-code |
76a2bcbac837d3ed4a4cb1c09a02e2a1e25a09f5556012431f2143aa199351d7 | // 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.
#include "content/browser/loader/resource_loader.h"
#include "base/command_line.h"
#include "base/message_loop.h"
#include "base/time.h"
#include "co... | C++ | content/browser/loader/resource_loader.cc | timopulkkinen/BubbleFish | bsd-3-clause | 21,725 | 657 | codeparrot/github-code |
8cae729a23494b2fc0c487ea36dcaf0353b2a896d679e6a22f2ce6d72f2e4a3f | // 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.
#include "chrome/browser/extensions/api/sync_file_system/extension_sync_event_observer.h"
#include "base/lazy_instance.h"
#include "chrome/browser/ex... | C++ | chrome/browser/extensions/api/sync_file_system/extension_sync_event_observer.cc | patrickm/chromium.src | bsd-3-clause | 5,577 | 151 | codeparrot/github-code |
0aade8a23d693b3849a3e3d8ea5a4d17e2c2c0c313f58b9d8eec1b85b2f79516 | // Copyright (c) 2009 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_HISTORY_DOWNLOAD_DATABASE_H_
#define CHROME_BROWSER_HISTORY_DOWNLOAD_DATABASE_H_
#include "chrome/browser/history/history_type... | C | chrome/browser/history/download_database.h | rwatson/chromium-capsicum | bsd-3-clause | 2,221 | 68 | codeparrot/github-code |
df93b0774dc1e9128fe69dd2a4ef02811faaf0d220c5b5c69a30b2f42fe99b15 |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="lang:clipboard.copy" content="Copy to clipboard">
<meta name="la... | HTML | v0.11.1/generated/statsmodels.graphics.gofplots.qqplot.html | statsmodels/statsmodels.github.io | bsd-3-clause | 31,059 | 555 | codeparrot/github-code |
7782570ab2591591f9b4cd39acbcea4b90dba24a95f486a042a4db2e27eda141 |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title>statsmodels.gam.generalized_additive_model.GLMGam.information — statsmodels v0.10.0 documentation</title>
<link rel="stylesheet" href="../_static/nature.css" type="text/css" />
<link rel="styles... | HTML | v0.10.0/generated/statsmodels.gam.generalized_additive_model.GLMGam.information.html | statsmodels/statsmodels.github.io | bsd-3-clause | 7,669 | 166 | codeparrot/github-code |
f8837575fcebe0a37abb5f7a1a4cff4332095f1401a7dc9d13ed4e7588db1a13 | package ee.ut.math.tvt.salessystem.service;
import java.util.ArrayList;
import java.util.List;
import javax.swing.JOptionPane;
import org.apache.log4j.Logger;
import org.hibernate.Session;
import ee.ut.math.tvt.salessystem.domain.data.Order;
import ee.ut.math.tvt.salessystem.domain.data.SoldItem;
import ee.ut.math.... | Java | src/ee/ut/math/tvt/salessystem/service/HibernateDataService.java | pohh-mell/BeerHousePOS | bsd-3-clause | 1,610 | 58 | codeparrot/github-code |
25cb5fdab5c90e4a25cd26d34009adbdcf96a4a92e1d20dbabd4b7f0fa4b4ddc | /**
* Copyright 5AM Solutions Inc, ESAC, ScenPro & SAIC
*
* Distributed under the OSI-approved BSD 3-Clause License.
* See http://ncip.github.com/caintegrator/LICENSE.txt for details.
*/
package gov.nih.nci.caintegrator.application.query;
import gov.nih.nci.caintegrator.application.arraydata.ArrayDataService;
imp... | Java | caintegrator-war/src/gov/nih/nci/caintegrator/application/query/GenomicQueryHandler.java | NCIP/caintegrator | bsd-3-clause | 17,653 | 346 | codeparrot/github-code |
280f139b10de83d02235816e686be07203ec614bbdf045eca8af157e816c88a6 | # orm/dependency.py
# Copyright (C) 2005, 2006, 2007, 2008 Michael Bayer mike_mp@zzzcomputing.com
#
# This module is part of SQLAlchemy and is released under
# the MIT License: http://www.opensource.org/licenses/mit-license.php
"""Bridge the ``PropertyLoader`` (i.e. a ``relation()``) and the
``UOWTransaction`` togeth... | Python | envs/ALPHA-POPEGO/lib/python2.5/site-packages/SQLAlchemy-0.4.5-py2.5.egg/sqlalchemy/orm/dependency.py | santisiri/popego | bsd-3-clause | 26,274 | 518 | codeparrot/github-code |
419bd60ea6c55eb0c3818d53a32b9380895ea34a2508540e7fd08fe71479d8c5 | <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>mne.epochs.add_channels_epochs — MNE 0.17.1 documentation</title>
<link rel="stylesheet" href="... | HTML | 0.17/generated/mne.epochs.add_channels_epochs.html | mne-tools/mne-tools.github.io | bsd-3-clause | 10,324 | 231 | codeparrot/github-code |
6ef8f16e8f625362a3ae738adabe34186faba392f078eb24de8deedbba7f4074 | package net.dougqh.jak;
import java.lang.reflect.Type;
import java.lang.reflect.TypeVariable;
public final class TypeDescriptor {
private final int flags;
private final String name;
private final TypeVariable<?>[] typeVars;
private final Type parentType;
private final Type[] interfaceTypes;
TypeDescriptor(
... | Java | net.dougqh.jak.core/src/net/dougqh/jak/TypeDescriptor.java | dougqh/JAK | bsd-3-clause | 1,479 | 73 | codeparrot/github-code |
32f7edd9724a0b260cff9804d0210b9b16e601e0f126c63794fa7f96412d271c | // 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.
#include "components/bookmarks/browser/bookmark_model.h"
#include <algorithm>
#include <functional>
#include "base/bind.h"
#include "base/bind_helpers.h... | C++ | components/bookmarks/browser/bookmark_model.cc | Workday/OpenFrame | bsd-3-clause | 36,980 | 1,124 | codeparrot/github-code |
976c0daeb9b8b8fc7e02c0280cd6434df6ec0215284b0a6c277a3f64c773c46b | --
-- clang.lua
-- Clang toolset adapter for Premake
-- Copyright (c) 2013 Jason Perkins and the Premake project
--
premake.tools.clang = {}
local clang = premake.tools.clang
local gcc = premake.tools.gcc
local config = premake.config
--
-- Build a list of flags for the C preprocessor corresponding to the
-- se... | Lua | src/tools/clang.lua | annulen/premake | bsd-3-clause | 5,545 | 259 | codeparrot/github-code |
704f9bcc538f518dc1a1ccd56d48b692b733f9be53e7819dae797f9fc38cc2ce | <!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>jQuery Easy Tree Example</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
<link rel="stylesheet" href="css/easyTree.css"... | HTML | behaviors/Nice-Tree-View-Plugin-with-jQuery-Bootstrap-3-Easy-Tree/index.html | sekT0id/scripts-ns | bsd-3-clause | 2,772 | 108 | codeparrot/github-code |
7debe6e50cc178b3bd5847e60ec69e7da1cf9c078a8abde86242e1273a2c36e4 | <?php
/**
* ModernWeb
*
* 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://www.modernweb.pl/license/new-bsd
* If you did not receive a copy of the license and are ... | PHP | library/Modern/Gdata/Maps/LatLng.php | Hagith/zf1-lib | bsd-3-clause | 2,234 | 86 | codeparrot/github-code |
0aeb8d0b6e873e80e8f62718bd048aa816e1235a9e5342d3e09d538730947e1e | #pragma once
#ifndef __DAVA_Reflection__
#include "Reflection/Reflection.h"
#endif
#define IMPL__DAVA_REFLECTION(Cls) \
template <typename FT__> \
friend struct DAVA::ReflectionDetail::ReflectionInitializerRunner; \
static void Dava__ReflectionInitializer() { Dava__ReflectionInitializerS(); } \
static... | C | Sources/Internal/Reflection/Private/Reflection_pre_impl.h | dava/dava.engine | bsd-3-clause | 2,029 | 73 | codeparrot/github-code |
fbac9a6d1572d2d349e1b4c46e8ff82b60285d05988fce89f063033a791e2b0d | import numpy as np
import pandas as pd
import gen_fns
import math
import re
import csv
import correlation_matrix as co
#
# reformat_raw_data
#
# Takes compiled data on historical proliferation contributers from xlsx
# spreadsheet (final_hist_data.xlsx) and reformats. xlsx file has a single
# row for each country with... | Python | hist_bench.py | mbmcgarry/historical_prolif | bsd-3-clause | 27,370 | 839 | codeparrot/github-code |
1c4b745240c301e07797b0bd8aa08fbea8b4e4c2c083277fabd0b78f75b439bd | using UnityEngine;
using UnityEditor;
[CustomEditor(typeof(InputConfigBuilder))]
public class PopulateInputConfig : Editor
{
SerializedProperty _inputProperties;
MSChartEditorInputActions _newActionAdded;
static bool s_shouldReset = false;
string inputPropertiesPath = "Assets/Database/InputProp... | C# | Moonscraper Chart Editor/Assets/Editor/PopulateInputConfig.cs | FireFox2000000/Moonscraper-Chart-Editor | bsd-3-clause | 2,378 | 70 | codeparrot/github-code |
6fcdb622eb39eadf80898ff5115588d584b790b2927b1c81f90094ba35c02025 | from __future__ import division
import abc
import numpy as n
import scipy.linalg as linalg
import scipy.optimize as opt
import scipy.spatial.distance as dist
class Feature(object):
'''
Abstract class that represents a feature to be used
with :py:class:`pyransac.ransac.RansacFeature`
'''
__metaclass... | Python | pyransac/features.py | rubendibattista/python-ransac-library | bsd-3-clause | 6,919 | 234 | codeparrot/github-code |
a54298ade2b535158e8251f094a8c994745824849d0b6adfe3bfd86e6899e7ff | package yum
import (
"bytes"
"encoding/xml"
"fmt"
"io"
"io/ioutil"
"math"
"os"
"path/filepath"
"time"
"github.com/gonuts/logger"
)
// List of packages to ignore for our case
var IGNORED_PACKAGES = []string{
"rpmlib(CompressedFileNames)", "/bin/sh", "rpmlib(PayloadFilesHavePrefix)",
"rpmlib(PartialHardlin... | GO | yum/repository.go | lhcb-org/lbpkr | bsd-3-clause | 7,548 | 321 | codeparrot/github-code |
cde125c7363941e05a14ff3459babc29fc8ac36df8c408fe480620811ed39fec | # Copyright (c) 2015, Ecole Polytechnique Federale de Lausanne, Blue Brain Project
# All rights reserved.
#
# This file is part of NeuroM <https://github.com/BlueBrain/NeuroM>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are ... | Python | neurom/view/view.py | lidakanari/NeuroM | bsd-3-clause | 14,676 | 360 | codeparrot/github-code |
9c7147232df95f1b65939f187a269af89bf0f8b2148bd3952d0780482d1243d6 | /*
* 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.
*/
//var MODAL = $("#modalProducto");
var URL = Define.URL_BASE;
window.onload=function(){
//toastr.error("Ingresaaaaaaaaa");
... | JavaScript | public/js/Controllers/socialcoffee.js | jhonsfran/Coffee_market | bsd-3-clause | 2,897 | 116 | codeparrot/github-code |
d89a7cfc44005646ab630fd30ca96bf40257e3e70f1bfb8e55723303e89fb47f | // Copyright (c) 2009 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.
#include "chrome/browser/gtk/infobar_gtk.h"
#include <gtk/gtk.h>
#include "app/gfx/gtk_util.h"
#include "base/string_util.h"
#include "chrome/browse... | C++ | chrome/browser/gtk/infobar_gtk.cc | rwatson/chromium-capsicum | bsd-3-clause | 11,324 | 331 | codeparrot/github-code |
d0b0108dbe520af60b8d2201d55a1fe1a2aa4c63c0053d673cdfba9e78e76044 | module Stupidedi
module Editor
#
# Critiques (edits) interchanges (ISA/IEA) with version "00501", then
# selects the appropriate editor, according to the config, and edits
# each functional group (GS/GE)
#
class FiveOhOneEd < AbstractEd
# @return [Config]
attr_reader :config
... | Ruby | lib/stupidedi/editor/00501.rb | novuscommerce/stupidedi | bsd-3-clause | 10,787 | 342 | codeparrot/github-code |
870372576236f32d7ec65e12fcbd8113c1ea389abff963932f76c506feadd2f9 | ##-*-coding: utf-8 -*-
from django.db import models
from django.utils.encoding import python_2_unicode_compatible
@python_2_unicode_compatible
class Usage(models.Model):
ip = models.CharField(max_length=50)
method = models.CharField(max_length=3)
path = models.CharField(max_length=100)
params = models... | Python | thaifood/models.py | ohmini/thaifoodapi | bsd-3-clause | 6,348 | 174 | codeparrot/github-code |
bddf50d55e5ab797973911520f99180b2703946a86cce212e5687df0b03ef7b5 | // Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/shell/platform/common/json_message_codec.h"
#include "flutter/shell/platform/embedder/embedder.h"
#include "flutter/shell/platform/embedd... | C++ | shell/platform/windows/keyboard_win32_unittests.cc | jason-simmons/flutter_engine | bsd-3-clause | 90,070 | 2,370 | codeparrot/github-code |
8979f67769b626973bf5385844b6ead49ab3a7ca1faf3bf49c84c28e200e65ef | // Plugin for using a local directory as a Library. Generates the payload for
// an AssetList REST endpoint consisting of asset models as well as pagination
// helpers.
var _ = require('underscore'),
fs = require('fs'),
url = require('url'),
path = require('path'),
querystring = require('querystring'),
... | JavaScript | server/library-directory.js | makinacorpus/tilemill | bsd-3-clause | 3,711 | 113 | codeparrot/github-code |
3663122f6cfd2d3e68a5c3cbd47632c05525bcfcea3967f5b95733805948d831 | """A generic class to build line-oriented command interpreters.
Interpreters constructed with this class obey the following conventions:
1. End of file on input is processed as the command 'EOF'.
2. A command is parsed out of each line by collecting the prefix composed
of characters in the identchars member.
3. A ... | Python | examples/elCmd.py | mark-nicholson/python-editline | bsd-3-clause | 15,015 | 420 | codeparrot/github-code |
56213549d3088431cd068527e410d44e99f5e00137a3ffff14850e5e6fce6961 | <!DOCTYPE html>
<html>
<head>
<title>APP GAME</title>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no">
<style type="text/css">
body { margin: 0px; overflow: hidden; }
canvas { border: 1px solid black; }
</style> <link ... | HTML | www/index.html | appsxinclusion2015/formix | bsd-3-clause | 39,723 | 859 | codeparrot/github-code |
ac287af8dbdb0ecdce73a3c8bde3ab1eebdbe03054e07fca49e29e15180da9ca | // Copyright 2013 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.
#include "chrome/browser/ui/views/status_icons/status_icon_linux_wrapper.h"
#include <memory>
#include "base/feature_list.h"
#include "base/memory/ptr_u... | C++ | chrome/browser/ui/views/status_icons/status_icon_linux_wrapper.cc | nwjs/chromium.src | bsd-3-clause | 4,736 | 165 | codeparrot/github-code |
e951a92913ea77b62d8a22b74f6682a442da34891ea73f85551ec5473e605b5f | module Matterhorn.Events.ChannelListOverlay
( onEventChannelListOverlay
, channelListOverlayKeybindings
, channelListOverlayKeyHandlers
)
where
import Prelude ()
import Matterhorn.Prelude
import qualified Graphics.Vty as Vty
import Matterhorn.Events.Keybindings
import ... | Haskell | src/Matterhorn/Events/ChannelListOverlay.hs | matterhorn-chat/matterhorn | bsd-3-clause | 1,458 | 36 | codeparrot/github-code |
5e0d9da715555743a987d66580cd1c59f99665c5eb936d35bdabb9ce4cfe5401 | #ifndef __APARSE_H__
#define __APARSE_H__
#include <string>
#include <vector>
#include <map>
using namespace std;
struct NumElement;
struct Expression;
struct MutiCheckNode;
typedef enum CompareOperator
{
COPER_EQUAL,
COPER_NOTEQUAL,
COPER_LESS,
COPER_BIG,
COPER_NUMBER
};
typedef enum ValueType... | C | src/business/ConditionParse.h | victorzjl/BPE | bsd-3-clause | 2,671 | 138 | codeparrot/github-code |
7bcb3059b9d735c42db79688957d99fb0c13bfd27f3ada878301105975231c93 | // Copyright 2008, Google 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 ... | C++ | src/kml/base/file_win32.cc | sebastic/libkml | bsd-3-clause | 3,643 | 108 | codeparrot/github-code |
ec2874e977e95d7565f19304277e19acfcbb9acbd0501f507e77b80b981937bb | package main
import (
"encoding/json"
"encoding/xml"
"errors"
"fmt"
"io"
"io/ioutil"
"net"
"os"
"path"
"path/filepath"
"strconv"
"strings"
"sync"
"syscall"
"time"
"github.com/flynn/flynn/Godeps/_workspace/src/github.com/alexzorin/libvirt-go"
"github.com/flynn/flynn/Godeps/_workspace/src/github.com/do... | GO | host/libvirt_lxc_backend.go | technosophos/flynn | bsd-3-clause | 30,467 | 1,108 | codeparrot/github-code |
20f4551bec8923fc1c08f05c4b6ec257ceeb482efd5989d824f4ee824660150e | package proxy
import (
"fmt"
"github.com/hashicorp/serf/command"
"github.com/mitchellh/cli"
"math/rand"
"strings"
)
// Service contains all the addresses for a current service.
// The Service current supports random retrieval of available services.
type Service struct {
// name of service
name string
// ip a... | GO | proxy/registry.go | janelia-flyem/serviceproxy | bsd-3-clause | 4,689 | 192 | codeparrot/github-code |
ba02e9e5663d3e8d9b4110bb3592272fab5a4d19f76f1ce8cd89a8c49dbeb1b4 | """
Generic, configurable scatterplot
"""
import collections
import warnings
import numpy as np
import matplotlib as mpl
import matplotlib.pyplot as plt
import pandas as pd
import seaborn as sns
class PlottingAttribute(object):
__slots__ = 'groupby', 'title', 'palette', 'group_to_attribute'
def __init__(se... | Python | cupcake/scatter.py | olgabot/cupcake | bsd-3-clause | 16,979 | 423 | codeparrot/github-code |
54546872d032b3b87132fbad2adea80803615a97e14ef69b033d4435a2f9c2a5 | <?php
namespace app\admin\models;
use Yii;
use yii\base\Model;
use app\admin\models\Admin as User;
/**
* LoginForm is the model behind the login form.
*/
class LoginForm extends Model
{
public $username;
public $password;
public $rememberMe = true;
private $_user = false;
/**
* @return ... | PHP | admin/models/LoginForm.php | froyot/mdBlog | bsd-3-clause | 1,954 | 80 | codeparrot/github-code |
b10ed4500726b89246f5b98eaaa688bddd5dcd4f50a9b802d96d5740789b73cc | // 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.
#include "base/bind.h"
#include "base/callback_helpers.h"
#include "base/gtest_prod_util.h"
#include "base/message_loop.h"
#include "base/stl_util.h"
... | C++ | media/filters/audio_renderer_impl_unittest.cc | nacl-webkit/chrome_deps | bsd-3-clause | 18,806 | 581 | codeparrot/github-code |
0d365002f6ddde246df0c904ee5bb1c4ce8b1ce64d42fc626ca8041b0ce49019 | {% extends 'dashboard/layout.html' %}
{% load url from future %}
{% load currency_filters %}
{% load i18n %}
{% block body_class %}content-blocks{% endblock %}
{% block title %}
{% trans "Content blocks" %} | {{ block.super }}
{% endblock %}
{% block header %}
<div class="page-header">
<h1>{% trans "... | HTML | oscar/templates/oscar/dashboard/promotions/promotion_list.html | michaelBenin/django-oscar | bsd-3-clause | 3,314 | 80 | codeparrot/github-code |
183da5e9200e912c7e835bbfdce41029a86e4453e608238b5b9240dd37ca0bf0 | <?php
/**
* @todo Compose PHP doc
*/
class TeacherController extends Controller
{
/**
* @var string the default layout for the views. Defaults to '//layouts/column2', meaning
* using two-column layout. See 'protected/views/layouts/column2.php'.
*/
public $layout='//layouts/column2';
/**
* @return ar... | PHP | protected/controllers/TeacherController.php | wrensly/SegTDD | bsd-3-clause | 4,510 | 185 | codeparrot/github-code |
cbe4967edbb41f02be15cd146bee9734daa4e69d3024502d444c3d7e1f46a367 | /**
*
* @file pcgemm.c
*
* PLASMA auxiliary routines
* PLASMA is a software package provided by Univ. of Tennessee,
* Univ. of California Berkeley and Univ. of Colorado Denver
*
* @version 2.4.2
* @author Emmanuel Agullo
* @author Mathieu Faverge
* @date 2010-11-15
* @generated c Thu Sep 15 12:09:20 2011... | C | compute/pcgemm.c | joao-lima/plasma-kaapi | bsd-3-clause | 8,715 | 252 | codeparrot/github-code |
b6fe2566e9411d3b7d38cddb9671f9c05b4da172b79c6e5fc105aa93608921b2 | // 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.
/**
* @fileoverview Network drop-down implementation.
*/
cr.define('cr.ui', function() {
/**
* Creates a new container for the drop down menu ... | JavaScript | chrome/browser/resources/chromeos/login/network_dropdown.js | loopCM/chromium | bsd-3-clause | 12,950 | 425 | codeparrot/github-code |
39ae2f582788722534fc281183dda1acf30a85e6ba87ffb31e7349fdf58c3d26 | /*
* Copyright (c) 2019, The OpenThread Authors.
* 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 ... | C++ | src/core/backbone_router/bbr_leader.cpp | chshu/openthread | bsd-3-clause | 9,252 | 322 | codeparrot/github-code |
49ed6a388f52d010b67995a6835e7352c03706cf2adf8c85b3768dde5cb6a189 | <?php
namespace Application\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity
* @ORM\Table(name="video")
**/
class Video
{
/**
* @ORM\Column(name="video_id", type="integer", nullable=false)
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $videoId;
/**
* @ORM\Column(name="v... | PHP | module/Application/src/Application/Entity/Video.php | felsf/consultoria | bsd-3-clause | 1,276 | 69 | codeparrot/github-code |
5ef31447b70d5d2b1c113e03cd68a01fa0886f27063e7939c605f9208da3e310 | // Copyright 2015 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.
#include "net/tools/quic/quic_packet_reader.h"
#include <errno.h>
#ifndef __APPLE__
// This is a GNU header that is not present in /usr/include on MacOS
... | C++ | net/tools/quic/quic_packet_reader.cc | Bysmyyr/chromium-crosswalk | bsd-3-clause | 4,147 | 150 | codeparrot/github-code |
403d7c2350e876c06c0f2cf4a702700abe2b2055507c21c7c7e0f7720b467dd7 | # -*- coding: utf-8 -*-
"""
jinja2.filters
~~~~~~~~~~~~~~
Bundled jinja filters.
:copyright: (c) 2010 by the Jinja Team.
:license: BSD, see LICENSE for more details.
"""
import re
import math
from random import choice
from operator import itemgetter
from itertools import groupby
from jinja2.utils... | Python | jinja2/filters.py | dstufft/jinja2 | bsd-3-clause | 29,972 | 995 | codeparrot/github-code |
e77a0e6adec5762dedfaecf17b2ceecb879f6f054135a6bf038c3dde5717e872 | /*=========================================================================
Program: Visualization Toolkit
Module: vtkContext2D.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is di... | C | Charts/vtkContext2D.h | naucoin/VTKSlicerWidgets | bsd-3-clause | 12,988 | 351 | codeparrot/github-code |
83380cdeddb779419a2c74f6a786104994ff44f65df3164d67c94e4a7263147a | <?php
namespace frontend\modules\patient\controllers;
use common\components\AppController;
use common\components\MyHelper;
/**
* Description of PrintController
*
* @author utehn
*/
class PrintController extends AppController {
public function beforeAction($action) {
... | PHP | frontend/modules/patient/controllers/PrintController.php | sirensoft/smartcare | bsd-3-clause | 678 | 32 | codeparrot/github-code |
146d3acc7ed216653a1e98931cf25de9c01a1787c83222d490230636a997b3de | <?php
/* @var $this TblSoldHogsController */
/* @var $model TblSoldHogs */
/* @var $form CActiveForm */
$farmHerd = Yii::app()->request->cookies['farm_herd'];
$farmHerdName = Yii::app()->request->cookies['farm_herd_name'];
$herdmark = Yii::app()->request->cookies['breeder_herd_mark'];
$hogtag = Yii::app()->request->coo... | PHP | testdrive/protected/views/tblSoldHogs/_form.php | jntd11/yiitest | bsd-3-clause | 5,383 | 129 | codeparrot/github-code |
890073c35dbe72f546d699e534bd6eea0b99d2ffd68339f1ac38b23be544a453 | (function ()
{
"use strict";
angular.module('BuDirectives', []).
directive('bindHtmlWithJs', ['$sce', '$parse', function ($sce, $parse)
{
/**
* It removes script tags from html and inserts it into DOM.
*
* Testing:
* html += '<script>alert(1234)</script><script type="text/javascript">alert(1234... | JavaScript | web/js/directive_bind_html_with_js.js | makc45/blog | bsd-3-clause | 3,009 | 117 | codeparrot/github-code |
0fcc4fdc2d81d3c27d44466e92d37a7e6b30b0f016d0d66217ebfb1a1738f549 | // Copyright 2013 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_EXTENSIONS_API_MDNS_MDNS_API_H_
#define CHROME_BROWSER_EXTENSIONS_API_MDNS_MDNS_API_H_
#include <map>
#include <set>
#include <str... | C | chrome/browser/extensions/api/mdns/mdns_api.h | SaschaMester/delicium | bsd-3-clause | 4,361 | 116 | codeparrot/github-code |
34140f2d41fbeddf5c430c6dec415860da2152517526e96ba0f643cbe26579a5 | /******************************************************************************
* ____ _ _____ *
* / ___| / \ | ___| C++ *
* | | / _ \ | |_ Actor *
... | C++ | libcaf_core/caf/detail/sync_request_bouncer.hpp | nq-ebaratte/actor-framework | bsd-3-clause | 2,066 | 51 | codeparrot/github-code |
ceb40ef3ebf0ef97e1efb1c3b1669c872ffe0109b7e8bae15d6e6263c03a100d | // This file was generated using Parlex's cpp_generator
#include "FUNCTION_MODIFIER_MODEL.hpp"
#include "plange_grammar.hpp"
#include "parlex/detail/document.hpp"
#include "FUNCTION_MODIFIER_CALLING_CONVENTION.hpp"
#include "ICR.hpp"
plc::FUNCTION_MODIFIER_MODEL::field_1_t_1_t plc::FUNCTION_MODIFIER_MODEL::field_1... | C++ | source/plc/src/document/FUNCTION_MODIFIER_MODEL.cpp | dlin172/Plange | bsd-3-clause | 1,655 | 36 | codeparrot/github-code |
10ef455fea3af6109cdea1b855cbe6774816648c382ba12cc19112b190eff28c | <!DOCTYPE html>
<html dir="ltr" lang="ru">
<head>
<title>Приложение B - Список литературы - Rubinius</title>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta content='ru' http-equiv='content-language'>
<meta content='Rubinius is an implementation of the R... | HTML | web/_site/doc/ru/appendix-b-reading-list/index.html | takano32/rubinius | bsd-3-clause | 8,211 | 263 | codeparrot/github-code |
7ba80b7124af97bd03c5281738baecb72ef4d2b2aac2cb415b2dda8295cd9b6b | """
extend TiddlyWiki serialization to optionally use beta or
externalized releases and add the UniversalBackstage.
activated via "twrelease=beta" URL parameter or ServerSettings,
see build_config_var
"""
import logging
from tiddlyweb.util import read_utf8_file
from tiddlywebwiki.serialization import Serialization... | Python | tiddlywebplugins/tiddlyspace/betaserialization.py | TiddlySpace/tiddlyspace | bsd-3-clause | 3,007 | 94 | codeparrot/github-code |
6ce2c5865ad5b59a2efa4f07e53c9972e6623cd524db70d93002bf8d6a278f82 | /*
* Copyright (c) 1995, 2008, Oracle and/or its affiliates. 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
* no... | Scala | examples/src/main/scala/scala/swing/examples/tutorials/components/FrameDemo2.scala | benhutchison/scala-swing | bsd-3-clause | 10,392 | 329 | codeparrot/github-code |
7ebf60d956ad9588371e4b910599757fa290dba96933a31c9c7c5b9fe74767fe |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="lang:clipboard.copy" conte... | HTML | devel/_modules/statsmodels/graphics/agreement.html | statsmodels/statsmodels.github.io | bsd-3-clause | 30,684 | 497 | codeparrot/github-code |
8718fff10b05e3f5b1b24a28df9342e583302c8ab73250a994f1c23ec836f9e3 | <?php
namespace Becklyn\SearchBundle\Search\Result;
class SearchResult implements \IteratorAggregate, \Countable
{
/**
* @var EntitySearchHits[]
*/
private $resultLists = [];
/**
* @var int
*/
private $totalCount = 0;
/**
* @var float
*/
private $maxScore = 0;... | PHP | Search/Result/SearchResult.php | Becklyn/SearchBundle | bsd-3-clause | 1,655 | 103 | codeparrot/github-code |
d520705cb9de231c18656b46f902c9037af45a9deda3051cfa62e804663dac8f | /**
* Logback: the reliable, generic, fast and flexible logging framework.
* Copyright (C) 2006-2011, QOS.ch. All rights reserved.
*
* This program and the accompanying materials are dual-licensed under
* either the terms of the Eclipse Public License v1.0 as published by
* the Eclipse Foundation
*
* or (p... | Java | ThirdParty/logback-audit/audit-client/src/main/java/ch/qos/logback/audit/client/joran/action/AuditorAction.java | OBHITA/Consent2Share | bsd-3-clause | 1,850 | 57 | codeparrot/github-code |
919ebb8aaa12ad0e0a240d89e6c72954ae74ba4157cc9c720a5fa9183116d0ef | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Street View Riding Simulation</title>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
... | HTML | RouteView-mobile.html | osingla/RouteView | bsd-3-clause | 31,600 | 777 | codeparrot/github-code |
0f81e18ef54a24ac1febe486462df6e1cd0f5ba49e807e68d1aa85cd6762ed8d | /*
* PROJECT: Aura Operating System Development
* CONTENT: DNS Client
* PROGRAMMERS: Valentin Charbonnier <valentinbreiz@gmail.com>
*/
using Cosmos.System.Network.Config;
using Cosmos.HAL;
using System;
using System.Collections.Generic;
using System.Text;
namespace Cosmos.System.Network.IPv4.U... | C# | source/Cosmos.System2/Network/IPv4/UDP/DNS/DNSClient.cs | CosmosOS/Cosmos | bsd-3-clause | 3,001 | 101 | codeparrot/github-code |
8839f15cddfe28bb1a0a353bec75a9af77159016fb23fc74ac5d327e42cb1ab3 | // Copyright 2020 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.
#include "chrome/browser/password_manager/multi_profile_credentials_filter.h"
#include <string>
#include "base/bind.h"
#include "base/callback.h"
#inclu... | C++ | chrome/browser/password_manager/multi_profile_credentials_filter_unittest.cc | nwjs/chromium.src | bsd-3-clause | 11,435 | 275 | codeparrot/github-code |
9935dd82929f432aeeaeb9b687ef74f59916b8304e7507426027f35c30091cd2 | /*
* Software License Agreement (BSD License)
*
* Point Cloud Library (PCL) - www.pointclouds.org
* Copyright (c) 2009, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* ... | C++ | segmentation/include/pcl/segmentation/impl/conditional_euclidean_clustering.hpp | kalectro/pcl_groovy | bsd-3-clause | 5,629 | 143 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.