repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
openil/sja1105-tool | src/lib/static-config/tables/mac-config.c | 8757 | /******************************************************************************
* Copyright (c) 2016, NXP Semiconductors
* 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. Redistributio... | bsd-3-clause |
scarletsky/aniquo-web | app/views/search/searchResult.html | 271 | <div layout="column">
<div ng-if="viewType === 'source'">
<div ng-include="'views/source/sourceList.html'"></div>
</div>
<div ng-if="viewType === 'character'">
<div ng-include="'views/character/characterList.html'"></div>
</div>
</div>
| bsd-3-clause |
nivedhithaVenkatachalam/grpc-java | examples/build/docs/javadoc/edu/sjsu/cmpe273/lab2/PollServiceServer.html | 8408 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_75) on Wed Mar 18 19:43:01 PDT 2015 -->
<title>PollServiceServer (grpc-examples 0.1.0-SNAPSHOT API)</title>
<meta name="date" content="... | bsd-3-clause |
realphp/yii2-admin | models/Measure.php | 946 | <?php
namespace app\models;
use Yii;
class Measure extends \yii\db\ActiveRecord {
public static function tableName() {
return '{{%measure}}';
}
public function getColum($cnum, $date, $row, $col) {
$obj = self::find()->where([
'cnum' => $cnum,
'da... | bsd-3-clause |
rcthomas/C3 | testing/013-stack-test.cc | 3107 |
#include "gtest/gtest.h"
#include "C3_Stack.hh"
TEST( StackTest, Construct )
{
C3::size_type nframes = 2;
C3::size_type ncolumns = 3;
C3::size_type nrows = 4;
C3::Stack< int > container( nframes, ncolumns, nrows );
EXPECT_EQ( nframes , container.nframes() );
EXPECT_EQ( ncolumns, conta... | bsd-3-clause |
andyfriesen/epsilon | test/wmtest/wmtest.c | 1559 |
#include <stdio.h>
#include "epsilon.h"
#include "epsilon/wm/wm.h"
#include "epsilon/event/event.h"
int main() {
eps_Window* myWindow;
int kill = 0;
eps_wm_initialize();
myWindow = eps_wm_createWindow(640, 480, 0);
while (!kill) {
eps_Event event;
if (eps_event_w... | bsd-3-clause |
chenbaihu/grpc | src/compiler/cpp_generator.cc | 30007 | /*
*
* Copyright 2015, 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:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of condi... | bsd-3-clause |
progrium/WebSocket-for-Python | example/droid_sensor_cherrypy_server.py | 2324 | # -*- coding: utf-8 -*-
import os.path
import cherrypy
from ws4py.server.cherrypyserver import WebSocketPlugin, WebSocketTool
from ws4py.server.handler.threadedhandler import WebSocketHandler, EchoWebSocketHandler
class BroadcastWebSocketHandler(WebSocketHandler):
def received_message(self, m):
cherrypy.e... | bsd-3-clause |
clwyatt/CTC | Reference/HongLi/src/capd/curvature.cc | 12147 | // File: curvature.cc
// Abstract: determine curvature of surface points on binary volume
//
// ref. Tracing Surfaces for Surfacing Traces
// Sander & Zucker
//
// ref. Surface Parameterization and Curvature Measurement
// of Arbitrary 3-D Objects: Five Pratical Methods
// Stokely and Wu, PAMI vol. 14, 1... | bsd-3-clause |
archhaskell/archlinux | scripts/recdeps.hs | 441 | --
-- | This test reads the current directory and dumps a topologically sorted package list
--
module Main where
import Distribution.ArchLinux.SrcRepo
import System.IO
import System.Directory
import System.Environment
import Control.Monad
main = do
[pkg] <- getArgs
dot <- getCurrentDirectory
repo <- getRepoFro... | bsd-3-clause |
Eric89GXL/vispy | examples/basics/scene/isocurve_for_trisurface.py | 1317 | # -*- coding: utf-8 -*-
# -----------------------------------------------------------------------------
# Copyright (c) Vispy Development Team. All Rights Reserved.
# Distributed under the (new) BSD License. See LICENSE.txt for more info.
# -----------------------------------------------------------------------------
... | bsd-3-clause |
adaoex/email-marketing | src/EmailMarketing/Domain/Entity/Contato.php | 1436 | <?php
namespace EmailMarketing\Domain\Entity;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
class Contato
{
private $id;
private $nome;
private $email;
private $tags;
public function __construct()
{
$this->tags = new ArrayCollection();
... | bsd-3-clause |
MarginC/kame | openbsd/sys/arch/mvmeppc/include/ptrace.h | 91 | /* $OpenBSD: ptrace.h,v 1.2 2001/09/02 19:40:24 miod Exp $ */
#include <powerpc/ptrace.h>
| bsd-3-clause |
jaybril/www.juice.com | frontend/web/css/com.css | 11404 |
@charset "utf-8";
/*reset*/
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,as... | bsd-3-clause |
listenrightmeow/KOHANA-UI | modules/ui/classes/kohana/ui.php | 2622 | <?php defined('SYSPATH') or die('No direct script access.');
abstract class Kohana_UI {
/**
* Return assets from Masher config. Utilize 3.0 helpers (http://kohanaframework.org/3.0/guide/api/HTML)
*
* // Call position or type specific assets
* UI::masher('footer', 'js', $page);
*
* @author Michael Dyer
... | bsd-3-clause |
kevin-intel/scikit-learn | sklearn/ensemble/_forest.py | 102940 | """
Forest of trees-based ensemble methods.
Those methods include random forests and extremely randomized trees.
The module structure is the following:
- The ``BaseForest`` base class implements a common ``fit`` method for all
the estimators in the module. The ``fit`` method of the base ``Forest``
class calls th... | bsd-3-clause |
ZF-Commons/ZfcUser | src/ZfcUser/Service/User.php | 7992 | <?php
namespace ZfcUser\Service;
use Interop\Container\ContainerInterface;
use Zend\Authentication\AuthenticationService;
use Zend\Form\Form;
use Zend\ServiceManager\ServiceManager;
use Zend\Crypt\Password\Bcrypt;
use Zend\Hydrator;
use ZfcUser\EventManager\EventProvider;
use ZfcUser\Mapper\UserInterface as UserMappe... | bsd-3-clause |
synergynet/synergynet3.1 | synergynet3.1-parent/synergynet3-numbernet-core/src/main/java/synergynet3/web/apps/numbernet/shared/Participant.java | 896 | package synergynet3.web.apps.numbernet.shared;
import java.io.Serializable;
import com.google.gwt.user.client.rpc.IsSerializable;
/**
* Represents an individual person.
*
* @author dcs0ah1
*/
public class Participant implements Serializable, IsSerializable
{
/** The Constant serialVersionUID. */
private stati... | bsd-3-clause |
NifTK/MITK | Modules/SurfaceInterpolation/mitkReduceContourSetFilter.cpp | 16276 | /*===================================================================
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 o... | bsd-3-clause |
FRC867/Nano2014 | src/FRC867/Nano2014/commands/StartCompressor.java | 983 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package FRC867.Nano2014.commands;
/**
*
* @author Mike
*/
public class StartCompressor extends CommandBase {
public StartC... | bsd-3-clause |
srinathtv/pepper | pepper/apps_sfdl_hw/ramput_fast_micro_v_inp_gen_hw.cpp | 873 | #include <apps_sfdl_gen/ramput_fast_micro_v_inp_gen.h>
#include <apps_sfdl_hw/ramput_fast_micro_v_inp_gen_hw.h>
#include <apps_sfdl_gen/ramput_fast_micro_cons.h>
//This file will NOT be overwritten by the code generator, if it already
//exists. make clean will also not remove this file.
ramput_fast_microVerifierInpGe... | bsd-3-clause |
m-asama/soma | kernel/html/functions.html | 4224 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | bsd-3-clause |
minf/avrora | doc/avrora/core/isdl/ast/package-frame.html | 7802 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.4.2_07) on Sat Jul 23 14:54:08 PDT 2005 -->
<TITLE>
avrora.core.isdl.ast
</TITLE>
<META NAME="keywords" CONTENT="avrora.core.isdl.ast package">
<LINK R... | bsd-3-clause |
fxcosta/Zend2SkeletonForProof | module/Book/src/Book/Entity/Author.php | 1933 | <?php
namespace Book\Entity;
use Doctrine\ORM\Mapping as ORM;
use Zend\Form\Annotation\Hydrator;
use Zend\Stdlib\Hydrator\ClassMethods;
use Zend\Stdlib\Hydrator as Hy;
/**
* Author
*
* @ORM\Table(name="author")
* @ORM\Entity
* @ORM\Entity(repositoryClass="Book\Repository\AuthorRepository")
*/
class Author
{
... | bsd-3-clause |
marcusball/Lag | src/client/lib.rs | 19320 | #[macro_use]
extern crate log;
extern crate mio;
extern crate byteorder;
#[path="../shared/frame.rs"]
pub mod frame;
use frame::{MessageFrame, ToFrame, Message};
#[path="../shared/state.rs"]
pub mod state;
use state::{ClientState, Position, Rotation, Transform};
use mio::tcp::*;
use mio::TryWrite;
use mio::util::Sla... | bsd-3-clause |
codenote/chromium-test | chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_browser.cc | 47718 | // 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/ui/ash/launcher/chrome_launcher_controller_per_browser.h"
#include <vector>
#include "ash/launcher/launcher_model.h"
#inclu... | bsd-3-clause |
FuseMCNetwork/ZSurvivalGames | src/main/java/me/michidk/zsurvivalgames/utils/MathHelper.java | 1791 | package me.michidk.zsurvivalgames.utils;
import org.bukkit.Bukkit;
import org.bukkit.Location;
import org.bukkit.entity.Player;
import java.util.ArrayList;
import java.util.List;
/**
* Created with IntelliJ IDEA.
* User: ml
* Date: 03.09.13
* Time: 13:33
* To change this template use File | Settings | File Temp... | bsd-3-clause |
junun/shell | linux/node.nginx.sh | 453 | curl -s https://raw.github.com/netkiller/shell/master/centos6.sh | bash
curl -s https://raw.github.com/netkiller/shell/master/modules/ntp.sh | bash
curl -s https://raw.github.com/netkiller/shell/master/filesystem/btrfs.sh | bash
curl -s https://raw.github.com/netkiller/shell/master/nginx/nginx.sh | bash
curl -s https:/... | bsd-3-clause |
DevGroup-ru/yii2-deferred-tasks | tests/ExampleTest.php | 195 | <?php
namespace DevGroup\DeferredTasks\Tests;
class ExampleTest extends \PHPUnit_Framework_TestCase
{
public function testExample()
{
$this->assertEquals('foo', 'foo');
}
}
| bsd-3-clause |
merc1031/haskell-sonos-http-api | src/Sonos/Plugins/Pandora.hs | 5076 | {-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
module Sonos.Plugins.Pandora
( login
, getStationList
, searchStation
, createStation
, module Sonos.Plugins.Pandora.Types
) where
import Sonos.Plugins.Pandora.Types
import Sonos.Plugins.Pandora.Crypt
import Network.Wreq
import Control.Monad
import N... | bsd-3-clause |
sergeyreznik/et-engine | tools/FontGen/main.cpp | 2573 | #include <crtdbg.h>
#include "stdafx.h"
#include <et/core/tools.h>
#include <et/gui/fontgen.h>
using namespace et;
using namespace et::gui;
const int maxFontSize = 128;
const int maxFontOffset = 32;
void displayHelp(_TCHAR* argv[])
{
std::cout << "Using: " << std::endl
<< getFileName(argv[0]) << ... | bsd-3-clause |
evgeniyosipov/facshop | facshop-store/src/main/java/ru/evgeniyosipov/facshop/store/ejb/AdministratorBean.java | 2075 | package ru.evgeniyosipov.facshop.store.ejb;
import ru.evgeniyosipov.facshop.entity.Administrator;
import ru.evgeniyosipov.facshop.entity.Groups;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import javax.persistence.Query;
import ru.evgeniyosipov.facsh... | bsd-3-clause |
vulcan-estudios/bsk | src/app/helpers/events/keypress/backspace.js | 552 | /**
* Keydown
*
*/
module.exports = function() {
/*
* this swallows backspace keys on any non-input element.
* stops backspace -> back
*/
var rx = /INPUT|SELECT|TEXTAREA/i;
$('body').bind("keydown keypress", function(e) {
var key = e.keyCode || e.which;
if( key == 8) {... | bsd-3-clause |
kd-brinex/kd | modules/autoparts/views/over/index.php | 1271 | <?php
use yii\helpers\Html;
use yii\grid\GridView;
/* @var $this yii\web\View */
/* @var $searchModel app\modules\autoparts\models\PartOverSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Part Overs';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="part-over-index">
<... | bsd-3-clause |
MiguelMadero/fluent-nhibernate | src/FluentNHibernate.Testing/ConventionsTests/OverridingFluentInterface/ManyToOneConventionTests.cs | 6014 | using System;
using System.Linq;
using System.Linq.Expressions;
using FluentNHibernate.Automapping.TestFixtures;
using FluentNHibernate.Conventions.Helpers.Builders;
using FluentNHibernate.Conventions.Instances;
using FluentNHibernate.Mapping;
using FluentNHibernate.MappingModel;
using FluentNHibernate.MappingM... | bsd-3-clause |
ZeitOnline/celery_longterm_scheduler | src/celery_longterm_scheduler/tests/test_task.py | 3059 | from __future__ import unicode_literals
from celery_longterm_scheduler import get_scheduler
from celery_longterm_scheduler.conftest import CELERY
import mock
import pendulum
@CELERY.task
def echo(arg):
return arg
def test_should_store_all_arguments_needed_for_send_task(celery_worker):
# Cannot do this with ... | bsd-3-clause |
jonzobrist/Percona-Server-5.1 | doc/Makefile | 5063 | # Makefile for Sphinx documentation
#
# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
PAPER =
BUILDDIR = build
# Internal variables.
PAPEROPT_a4 = -D latex_paper_size=a4
PAPEROPT_letter = -D latex_paper_size=letter
ALLSPHINXOPTS = -d $(BUILDDIR)/doc... | bsd-3-clause |
hrydi/yii_ | config/db.php | 189 | <?php
return [
'class' => 'yii\db\Connection',
'dsn' => 'mysql:host=localhost;dbname=yii2basic',
'username' => 'root',
'password' => 'mariadb',
'charset' => 'utf8',
];
| bsd-3-clause |
joansmith/rultor | src/main/java/com/rultor/agents/github/Question.java | 2379 | /**
* Copyright (c) 2009-2015, rultor.com
* 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... | bsd-3-clause |
111WARLOCK111/Caznowl-Cube-Zombie | fCraft/Commands/ChatCommands.cs | 18005 | // Copyright 2009-2013 Matvei Stefarov <me@matvei.org>
using System;
using System.Collections.Generic;
using System.Linq;
namespace fCraft {
static class ChatCommands {
public static void Init() {
CommandManager.RegisterCommand( CdSay );
CommandManager.RegisterCommand( CdStaff );
... | bsd-3-clause |
OBHITA/Consent2Share | ThirdParty/adobe-echosign-api/src/main/java/echosign/api/clientv20/dto7/package-info.java | 182 | @javax.xml.bind.annotation.XmlSchema(namespace = "http://dto7.api.echosign", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
package echosign.api.clientv20.dto7;
| bsd-3-clause |
gertv/go-freckle | freckle_test.go | 1325 | // Copyright 2014 - anova r&d bvba. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package freckle
import (
"fmt"
"net/http"
"net/http/httptest"
"testing"
"github.com/stretchr/testify/assert"
)
const domain = "mydomain"
const token =... | bsd-3-clause |
exponent/exponent | packages/expo-application/android/src/main/java/expo/modules/application/ApplicationModule.java | 6171 | package expo.modules.application;
import android.app.Activity;
import android.content.Context;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.os.Build;
import android.os.RemoteException;
import android.provider.Settings;
import android.util.Log;
import com.android.inst... | bsd-3-clause |
stan-dev/math | test/unit/math/mix/fun/sub_row_test.cpp | 1112 | #include <test/unit/math/test_ad.hpp>
TEST(MathMixMatFun, subRow) {
auto f = [](int i, int j, int k) {
return [=](const auto& y) { return stan::math::sub_row(y, i, j, k); };
};
Eigen::MatrixXd a(1, 1);
a << 3.2;
stan::test::expect_ad(f(1, 1, 0), a);
stan::test::expect_ad(f(1, 1, 1), a);
Eigen::Matri... | bsd-3-clause |
Blindinglight-Team5433/BlindingLight-Sheila | src/org/usfirst/frc5433/BlindingLight_Sheila/commands/AutonomousCommand.java | 1569 | // RobotBuilder Version: 1.5
//
// This file was generated by RobotBuilder. It contains sections of
// code that are automatically generated and assigned by robotbuilder.
// These sections will be updated in the future when you export to
// Java from RobotBuilder. Do not put any code or make any change in
// the blocks... | bsd-3-clause |
maatvirtue/forgottenschism | res/xna/Map Tool/Map1.Designer.cs | 2979 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.269
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----... | bsd-3-clause |
macminix/MacMinix | src/commands/df.c | 4834 | /* df - disk free block printout Author: Andy Tanenbaum */
#include <sys/types.h>
#include <sys/stat.h>
#include <limits.h>
#include <fcntl.h>
#include <errno.h>
#include <unistd.h>
#include <stdio.h>
#include <minix/config.h>
#include <minix/const.h>
#include <minix/type.h>
#include "../fs/const.h"
#include "../fs/t... | bsd-3-clause |
kitsilanosoftware/EASTL | include/EASTL/set.h | 22613 | /*
Copyright (C) 2009,2010,2012 Electronic Arts, 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 conditi... | bsd-3-clause |
cinecove/defunctr | lib/checks/hasQuerySelectorCheck.js | 201 | /* @flow */
'use strict';
import { document } from '../dom/dom';
export default function () : boolean {
return Boolean(
(document) &&
(typeof document.querySelector !== 'undefined')
);
}
| bsd-3-clause |
sebcrozet/kiss3d | src/planar_camera/sidescroll.rs | 5701 | use crate::event::{Action, MouseButton, WindowEvent};
use crate::planar_camera::PlanarCamera;
use crate::resource::ShaderUniform;
use crate::window::Canvas;
use na::{self, Matrix3, Point2, Translation2, Vector2};
use num::Pow;
use std::f32;
/// A 2D camera that can be zoomed and panned.
#[derive(Clone, Debug)]
pub str... | bsd-3-clause |
gnu3ra/SCC15HPCRepast | INSTALLATION/mpich2-1.4.1p1/src/mpid/dcmfd/src/comm/topo/mpidi_cart_map_nofold.c | 4533 | /* (C)Copyright IBM Corp. 2007, 2008 */
/**
* \file src/comm/topo/mpidi_cart_map_nofold.c
* \brief ???
*/
#include "mpid_topo.h"
static int try_permute_match( int *vir_cart,
int *phy_cart,
int nd_sort, int vir_perm[], int phy_perm[] )
{
int nomatch... | bsd-3-clause |
babagay/razzd | backend/models/TaxonomyItemsSearch.php | 1352 | <?php
namespace backend\models;
use Yii;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use backend\models\TaxonomyItems;
/**
* TaxonomyItemsSearch represents the model behind the search form about `app\models\TaxonomyItems`.
*/
class TaxonomyItemsSearch extends TaxonomyItems
{
/**
* @inheritdoc
... | bsd-3-clause |
enthought/etsproxy | enthought/pyface/ui/wx/system_metrics.py | 57 | # proxy module
from pyface.ui.wx.system_metrics import *
| bsd-3-clause |
benh/twesos | src/slave/isolation_module.hpp | 992 | #ifndef __ISOLATION_MODULE_HPP__
#define __ISOLATION_MODULE_HPP__
#include <string>
namespace mesos { namespace internal { namespace slave {
class Framework;
class Slave;
class IsolationModule {
public:
static IsolationModule * create(const std::string &type);
static void destroy(IsolationModule *module);
... | bsd-3-clause |
wangpengzhen/web | frontend/models/money/Quota.php | 1084 | <?php
namespace frontend\models\money;
use Yii;
/**
* This is the model class for table "fin_quota".
*
* @property integer $quota_id
* @property integer $user_id
* @property string $quota_amount
* @property string $quota_desc
* @property integer $quota_status
* @property integer $addtime
*/
class Quota exte... | bsd-3-clause |
DominicDirkx/tudat | Tudat/Astrodynamics/Aerodynamics/UnitTests/unitTestControlSurfaceIncrements.cpp | 19487 | /* Copyright (c) 2010-2018, Delft University of Technology
* All rigths reserved
*
* This file is part of the Tudat. Redistribution and use in source and
* binary forms, with or without modification, are permitted exclusively
* under the terms of the Modified BSD license. You should have received
*... | bsd-3-clause |
barak/raidutils | raideng/scsi_mgr.cpp | 15972 | /* Copyright (c) 1996-2004, Adaptec Corporation
* 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... | bsd-3-clause |
brandonprry/gray_hat_csharp_code | ch4_crossplatform_metasploit_payloads/Program.cs | 7542 | using System;
using System.Runtime.InteropServices;
namespace ch12_crossplatform_metasploit_payloads
{
class MainClass
{
[DllImport("kernel32")]
static extern IntPtr VirtualAlloc(IntPtr ptr, IntPtr size, IntPtr type, IntPtr mode);
[UnmanagedFunctionPointer(CallingConvention.Winapi)]
delegate void WindowsRu... | bsd-3-clause |
vapourismo/luwra | docs/output/reference/structluwra_1_1Value_3_01const_01char_0fN_0e_4-members.html | 3305 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" co... | bsd-3-clause |
kakada/dhis2 | dhis-api/src/main/java/org/hisp/dhis/period/FinancialPeriodType.java | 6505 | package org.hisp.dhis.period;
/*
* Copyright (c) 2004-2015, University of Oslo
* 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 copyrig... | bsd-3-clause |
TfEL/LearningDesign | css/master.css | 13812 | @charset "UTF-8";
/* TfEL for Learning Design Stylesheet.
© 2013 Aidan Cornelius-Bell. All Rights Reserved.
Developed by Beaconsfield IT for the Department of Education and Child Development.
NOTES:
This stylesheet uses some CSS3 styles and includes a HTML5 reset.
To use it you should really be running Chro... | bsd-3-clause |
MarginC/kame | netbsd/sys/arch/amd64/include/cpu_counter.h | 2499 | /* $NetBSD: cpu_counter.h,v 1.1 2003/04/26 18:39:39 fvdl Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by Bill Sommerfeld.
*
* Redistribution and use in source and binary forms, with or without
... | bsd-3-clause |
baccaglini/labvet | views/clinica-fone/_search.php | 822 | <?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\models\ClinicaFoneSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="clinica-fone-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method' => 'get',
]); ?>... | bsd-3-clause |
turboencabulator/boomerang | loader/ComBinaryFile.h | 1055 | /**
* \file
* \brief Contains the definition of the class ComBinaryFile.
*
* \copyright
* See the file "LICENSE.TERMS" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*/
#ifndef COMBINARYFILE_H
#define COMBINARYFILE_H
#include "BinaryFile.h"
/**
* \brief Lo... | bsd-3-clause |
straight-street/straight-street | Helpfiles/about.php | 4326 | <?
$_in_help_content_page=True;
include('../_header.php');
?>
<div >
<h1>About</h1>
<h2><a name="history"></a>History</h2>
<p>Paxtoncrafts Charitable Trust was formed in 2000 after a favourite uncle suffered a stroke, robbing him of his speech and the ability to read and write. His intellect was unimpaired... | bsd-3-clause |
zcbenz/cefode-chromium | chrome/browser/ui/fullscreen/fullscreen_controller_state_unittest.cc | 21739 | // 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 "build/build_config.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_tabstrip.h"
#include "chrome/browser/ui/ful... | bsd-3-clause |
Candihub/pixel | apps/core/migrations/0002_auto_20171012_0855.py | 1878 | # -*- coding: utf-8 -*-
# Generated by Django 1.11.6 on 2017-10-12 08:55
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
import tagulous.models.fields
class Migration(migrations.Migration):
dependencies = [
('core', '0001_initial'),
]... | bsd-3-clause |
chenlian2015/skia_from_google | src/core/SkImageInfo.cpp | 2443 | /*
* Copyright 2010 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkImageInfo.h"
#include "SkReadBuffer.h"
#include "SkWriteBuffer.h"
static bool profile_type_is_valid(SkColorProfileType profileType) {
return (profileType >= 0... | bsd-3-clause |
DrrDom/crem | crem/__init__.py | 379 | #!/usr/bin/env python3
#==============================================================================
# author : Pavel Polishchuk
# date : 14-08-2019
# version :
# python_version :
# copyright : Pavel Polishchuk 2019
# license :
#===========================================... | bsd-3-clause |
K4lx4s/yii2bank | config/db.php | 202 | <?php
return [
'class' => 'yii\db\Connection',
'dsn' => 'mysql:host=localhost;dbname=yii2bank',
'username' => 'bankadmin',
'password' => '0Filfn6BcjvvgHy6',
'charset' => 'utf8',
];
| bsd-3-clause |
mrubyc/mrubyc | test/string_split_test.rb | 4453 | # frozen_string_literal: true
class StringSplitTest < MrubycTestCase
#
# Regex not supprted.
#
description "Sring"
def string_case
assert_equal ["a","b","c"], "a,b,c".split(",")
assert_equal ["a","","b","c"], "a,,b,c".split(",")
assert_equal ["a","b:c","d"], "a::... | bsd-3-clause |
patrick-luethi/Envision | OOInteraction/src/string_offset_providers/Cell.cpp | 2984 | /***********************************************************************************************************************
**
** Copyright (c) 2011, 2014 ETH Zurich
** All rights reserved.
**
** Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
** follo... | bsd-3-clause |
peterlei/fboss | fboss/qsfp_service/platforms/wedge/GalaxyManager.h | 619 | #pragma once
#include "fboss/lib/usb/WedgeI2CBus.h"
#include "fboss/qsfp_service/platforms/wedge/WedgeManager.h"
namespace facebook { namespace fboss {
class GalaxyManager : public WedgeManager {
public:
GalaxyManager();
~GalaxyManager() override {}
// This is the front panel ports count
int getNumQsfpModu... | bsd-3-clause |
EKT/pyrundeck | pyrundeck/exceptions.py | 1781 | # Copyright (c) 2015, National Documentation Centre (EKT, www.ekt.gr)
# 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
# n... | bsd-3-clause |
Blizzard/premake-core | modules/gmake2/tests/test_gmake2_linking.lua | 5900 | --
-- test_gmake2_linking.lua
-- Validate the link step generation for makefiles.
-- (c) 2016-2017 Jason Perkins, Blizzard Entertainment and the Premake project
--
local suite = test.declare("gmake2_linking")
local p = premake
local gmake2 = p.modules.gmake2
local project = p.project
--
-- Setup and teardown
-... | bsd-3-clause |
exponent/exponent | packages/expo-barcode-scanner/ios/EXBarCodeScanner/EXBarCodeScanner.h | 684 | // Copyright 2016-present 650 Industries. All rights reserved.
#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>
#import <UMBarCodeScannerInterface/UMBarCodeScannerInterface.h>
@interface EXBarCodeScanner : NSObject <UMBarCodeScannerInterface>
- (void)setSession:(AVCaptureSession *)session;
- (... | bsd-3-clause |
Ecpy/ecpy_pulses | exopy_pulses/testing/context.py | 1203 | # -*- coding: utf-8 -*-
# -----------------------------------------------------------------------------
# Copyright 2015-2018 by ExopyPulses Authors, see AUTHORS for more details.
#
# Distributed under the terms of the BSD license.
#
# The full license is in the file LICENCE, distributed with this software.
# ---------... | bsd-3-clause |
sky-uk/cqlmigrate | src/test/java/uk/sky/cqlmigrate/CqlMigratorConsistencyLevelIntegrationTest.java | 12518 | package uk.sky.cqlmigrate;
import com.datastax.oss.driver.api.core.ConsistencyLevel;
import com.datastax.oss.simulacron.common.cluster.ClusterSpec;
import com.datastax.oss.simulacron.common.cluster.DataCenterSpec;
import com.datastax.oss.simulacron.common.cluster.QueryLog;
import com.datastax.oss.simulacron.common.clu... | bsd-3-clause |
afntoninho/trampo | module/Application/tests/src/Application/Controller/IndexControllerTest.php | 4501 | <?php
use Core\Test\ControllerTestCase;
use Application\Controller\IndexController;
use Application\Model\Chamado;
use Zend\Http\Request;
use Zend\Stdlib\Parameters;
use Zend\View\Renderer\PhpRenderer;
/**
* @group Controller
*/
class IndexControllerTest extends ControllerTestCase
{
/**
* Namespace comple... | bsd-3-clause |
njall/wel-seek | db/migrate/archive/20100708073047_transfer_asset_data_to_resources.rb | 1406 | require 'save_without_timestamping'
#Needed because Asset model may not exist any more
class Asset < ActiveRecord::Base
belongs_to :resource, :polymorphic => true
end
class TransferAssetDataToResources < ActiveRecord::Migration
def self.up
count = 0
Asset.all.each do |asset|
resource = asset.resou... | bsd-3-clause |
daanwierstra/pybrain | pybrain/rl/agents/history.py | 2202 | __author__ = 'Thomas Rueckstiess, ruecksti@in.tum.de'
from agent import Agent
from pybrain.datasets import ReinforcementDataSet
class HistoryAgent(Agent):
""" This agent stores actions, states, and rewards encountered during interaction with an environment
in a ReinforcementDataSet (which is a variation o... | bsd-3-clause |
ImaginaryLandscape/django-nocaptcha-recaptcha | test_settings.py | 636 | DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': 'test.sqlite',
}
}
INSTALLED_APPS = [
'nocaptcha_recaptcha',
]
MIDDLEWARE_CLASSES = [
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.... | bsd-3-clause |
arewellborn/Personal-Website | tests/test_forms.py | 2446 | # -*- coding: utf-8 -*-
"""Test forms."""
from personal_website.article.forms import ArticleForm
from personal_website.public.forms import LoginForm
class TestArticleForm:
"""Article Form."""
def test_title_required(self, article):
"""Publish article."""
form = ArticleForm(body=article.body,... | bsd-3-clause |
sylvainhalle/sase | doc/edu/umass/cs/sase/engine/class-use/ConfigFlags.html | 6099 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_24) on Tue Mar 08 22:33:49 EST 2011 -->
<TITLE>
Uses of Class edu.umass.cs.sase.engine.ConfigFlags
</TITLE>
<META NAME="date" CONTENT="2011... | bsd-3-clause |
f4nt/djpandora | djpandora/admin.py | 230 | from django.contrib import admin
import models
admin.site.register(models.Song)
admin.site.register(models.Station)
admin.site.register(models.Vote)
admin.site.register(models.StationPoll)
admin.site.register(models.StationVote) | bsd-3-clause |
1ChicagoDave/Adafruit-LED-Backpack-Library | Adafruit_LEDBackpack.h | 3140 | /***************************************************
This is a library for our I2C LED Backpacks
Designed specifically to work with the Adafruit LED Matrix backpacks
----> http://www.adafruit.com/products/
----> http://www.adafruit.com/products/
These displays use I2C to communicate, 2 pins are required t... | bsd-3-clause |
NCIP/cagrid-core | caGrid/projects/data/src/java/utilities/gov/nih/nci/cagrid/data/utilities/validation/WSDLUtils.java | 4989 | /**
*============================================================================
* Copyright The Ohio State University Research Foundation, The University of Chicago -
* Argonne National Laboratory, Emory University, SemanticBits LLC, and
* Ekagra Software Technologies Ltd.
*
* Distributed under the OSI-approved B... | bsd-3-clause |
viggy96/FRCteam3331_2014 | src/edu/wpi/first/wpilibj/templates/commands/AutoCommandGroup.java | 528 |
package edu.wpi.first.wpilibj.templates.commands;
import edu.wpi.first.wpilibj.command.CommandGroup;
/**
*
* @author vignesh
*/
public class AutoCommandGroup extends CommandGroup {
public AutoCommandGroup() {
addParallel(new autoClawArmDownCommand());
addParallel(new CompressorCommand());... | bsd-3-clause |
chad/rubinius | kernel/delta/backtrace.rb | 2223 | ##
# Contains all logic for gathering and displaying backtraces.
class Backtrace
include Enumerable
attr_accessor :frames
attr_accessor :top_context
attr_accessor :first_color
attr_accessor :kernel_color
attr_accessor :eval_color
def initialize
@frames = []
@top_context = nil
@first_color =... | bsd-3-clause |
JonathanLogan/mute | mix/mixcrypt/clientmix_test.go | 9542 | // Copyright (c) 2015 Mute Communications Ltd.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package mixcrypt
import (
"bytes"
"crypto/rand"
"crypto/sha256"
"testing"
"github.com/agl/ed25519"
"github.com/mutecomm/mute/mix/mixaddr"
"github.com/mutecomm/... | bsd-3-clause |
aina1205/virtualliverf1 | test/rest_test_cases.rb | 1407 | #mixin to automate testing of Rest services per controller test
require 'libxml'
require 'pp'
module RestTestCases
SCHEMA_FILE_PATH = File.join(Rails.root, 'public', '2010', 'xml', 'rest', 'schema-v1.xsd')
def test_index_rest_api_xml
#to make sure something in the database is created
object=rest_api_t... | bsd-3-clause |
JianpingZeng/xcc | xcc/test/juliet/testcases/CWE134_Uncontrolled_Format_String/s03/CWE134_Uncontrolled_Format_String__wchar_t_connect_socket_snprintf_54e.c | 2572 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE134_Uncontrolled_Format_String__wchar_t_connect_socket_snprintf_54e.c
Label Definition File: CWE134_Uncontrolled_Format_String.label.xml
Template File: sources-sinks-54e.tmpl.c
*/
/*
* @description
* CWE: 134 Uncontrolled Format String
* BadSource: connect_soc... | bsd-3-clause |
uuchat/uuchat | src/server/template/message_reply_email.html | 4968 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
<style type="text/css">
.uu-email-message{
padding: 20px;
background-color: rgba(0, 0, 0, 0.1);
}
.fl{
display: inline-block;
float:left;
}
.... | bsd-3-clause |
patrickm/chromium.src | chrome/browser/password_manager/password_store_mac_unittest.cc | 53108 | // 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 "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "base/basictypes.h"
#include "base/files/scope... | bsd-3-clause |
codenote/chromium-test | content/browser/gpu/gpu_data_manager_impl_unittest.cc | 20249 | // 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/command_line.h"
#include "base/message_loop.h"
#include "base/run_loop.h"
#include "base/time.h"
#include "content/browser/gpu/gpu_data... | bsd-3-clause |
gcds/project_xxx | nuttx/configs/lpcxpresso-lpc1768/src/up_usbmsc.c | 4970 | /****************************************************************************
* configs/lpcxpresso-lpc1768/src/up_usbmsc.c
*
* Copyright (C) 2011, 2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Configure and register the LPC17xx MMC/SD SPI block driver.
*
* Redistributi... | bsd-3-clause |
christophreimer/pytesmo | tests/test_ismn/test_readers.py | 8660 | # Copyright (c) 2013,Vienna University of Technology, Department of Geodesy and Geoinformation
# 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 a... | bsd-3-clause |
phsmit/AaltoASR | aku/scripts/train.pl | 18890 | #!/usr/bin/perl
use locale;
use strict;
use ClusterManager;
## Model name ##
my $BASE_ID = $ENV{'TRAIN_NAME'};
defined($BASE_ID) || die("TRAIN_NAME environment variable needs to be set.");
## Path settings ##
my $BINDIR = $ENV{'TRAIN_BINDIR'};
defined($BINDIR) || die("TRAIN_BINDIR environment variable needs... | bsd-3-clause |
nokdoc/nokdoc.github.io | docs/nuage/nokdoc__NUAGE__4.0.R6.html | 21949 | <!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">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
... | bsd-3-clause |
rodrigogribeiro/nanohaskell | test/Spec.hs | 2533 | {-# LANGUAGE FlexibleContexts #-}
import Control.Monad.State
import Test.Tasty
import Test.Tasty.HUnit
import qualified Text.Parsec as P hiding (State)
import Text.Parsec.Indent
import Parser.NanoHaskellParser
import Parser.CoreParser
import Syntax.Name
import Syntax.NanoHaskell
import Utils.Pretty ... | bsd-3-clause |