code stringlengths 3 1.01M | repo_name stringlengths 5 116 | path stringlengths 3 311 | language stringclasses 30
values | license stringclasses 15
values | size int64 3 1.01M |
|---|---|---|---|---|---|
//
// ooSocket.c 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 noti... | walterdejong/oolib | src/Sock.cpp | C++ | bsd-2-clause | 8,549 |
// Copyright 2013 Yangqing Jia
#include <algorithm>
#include <cmath>
#include <cfloat>
#include <vector>
#include "caffe/layer.hpp"
#include "caffe/vision_layers.hpp"
#include "caffe/util/math_functions.hpp"
#include "caffe/util/io.hpp"
#define C_ 1
using std::max;
namespace caffe {
const float ... | PeterPan1990/DSN | src/caffe/layers/loss_layer.cpp | C++ | bsd-2-clause | 10,973 |
#ifndef _CONVOUTPUT_SPH_H_
#define _CONVOUTPUT_SPH_H_
/*
###################################################################################
#
# CDMlib - Cartesian Data Management library
#
# Copyright (c) 2013-2017 Advanced Institute for Computational Science (AICS), RIKEN.
# All rights reserved.
#
# Copyright (c) 20... | avr-aics-riken/CDMlib | tools/fconv/include/convOutput_SPH.h | C | bsd-2-clause | 2,523 |
#ifndef CRYPTOPP_CONFIG_H
#define CRYPTOPP_CONFIG_H
#ifdef __GNUC__
#define VC_INLINE static inline __attribute__((always_inline))
#elif defined (_MSC_VER)
#define VC_INLINE __forceinline
#else
#define VC_INLINE static inline
#endif
#ifdef __GNUC__
#define CRYPTOPP_GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ *... | adouble42/nemesis-current | Crypto/config.h | C | bsd-2-clause | 7,649 |
####################################################################################
#.Synopsis
# Creates and deletes sinkhole domains in Windows DNS servers.
#
#.Description
# Script takes fully-qualified domain names (FQDNs) and/or simple domain
# names, then uses them to create primary zones (not A... | allenj0321/Powershell | Sinkhole-DNS.ps1 | PowerShell | bsd-2-clause | 15,857 |
var searchData=
[
['lettersonly',['lettersOnly',['../class_able_polecat___data___primitive___scalar___string.html#ab2a7acaf93e00fbbd75ea51e56bbf47e',1,'AblePolecat_Data_Primitive_Scalar_String']]],
['list_5fdelimiter',['LIST_DELIMITER',['../interface_able_polecat___query_language___statement_interface.html#a7a10020... | kkuhrman/AblePolecat | usr/share/documentation/html/search/all_c.js | JavaScript | bsd-2-clause | 3,016 |
// 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_GFX_IMAGE_IMAGE_UTIL_H_
#define UI_GFX_IMAGE_IMAGE_UTIL_H_
#include <vector>
#include "base/basictypes.h"
#include "ui/gfx/gfx_export.h"
... | mogoweb/chromium-crosswalk | ui/gfx/image/image_util.h | C | bsd-3-clause | 1,223 |
// 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.
#include "chrome/browser/profiles/profile.h"
#include <string>
#include "base/command_line.h"
#include "base/compiler_specific.h"
#include "base/fil... | Crystalnix/house-of-life-chromium | chrome/browser/profiles/profile.cc | C++ | bsd-3-clause | 24,938 |
/*
* Copyright (c) 2006, 2006, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
/*
* wrapper pow(x,y) return x**y
*/
#include "fdlibm.h"
#ifdef __STDC__
double pow(double x, double y) /* wrapper pow */
#else
double pow(x,y) /* wrapper... | SnakeDoc/GuestVM | guestvm~guestvm/com.oracle.max.ve.native/fdlibm/w_pow.c | C | bsd-3-clause | 1,152 |
{% from 'macros/misc.html' import render_tag %}
{% macro render_flag_hidden(hidden_by) -%}
{{ render_tag(_('hidden'), class='user-comment-hidden', icon='hidden', title='%s (%s %s)'|format(_('hidden'), _('by'), hidden_by.screen_name)) }}
{%- endmacro %}
{% macro render_flag_new() -%}
{{ render_tag(_('new')) }}
{... | homeworkprod/byceps | byceps/blueprints/site/board/templates/macros/board.html | HTML | bsd-3-clause | 335 |
// 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 NET_HTTP_HTTP_STREAM_PARSER_H_
#define NET_HTTP_HTTP_STREAM_PARSER_H_
#include <string>
#include "base/basictypes.h"
#include "net/base/io_b... | rwatson/chromium-capsicum | net/http/http_stream_parser.h | C | bsd-3-clause | 5,721 |
# Goga – examples
## Summary
0. Simple functions
1. Constrained one-objective problems
2. Unconstrained two-objective problems
3. Constrained two-objective problems
4. Constrained and unconstrained three-objective problems
5. Unconstrained many-objectives problems
6. Truss shape and topology optimisation
7. Econ... | cpmech/goga | examples/README.md | Markdown | bsd-3-clause | 8,060 |
/**
* Layout Select UI
*
* @package zork
* @subpackage form
* @author Kristof Matos <kristof.matos@megaweb.hu>
*/
( function ( global, $, js )
{
"use strict";
if ( typeof js.layoutSelect !== "undefined" )
{
return;
}
js.require( "jQuery.fn.vslider");
/**
* Generates layout... | webriq/core | module/Paragraph/public/scripts/zork/layoutselect.js | JavaScript | bsd-3-clause | 5,515 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
*
* @author Bill
*/
public class BackRightAutonomous extends CommandBase {
public BackRightAutonomous() {
// Use requires() here to declare subsystem dependencies
// eg. requ... | TeamSprocket/2013Robot | BackRightAutonomous.java | Java | bsd-3-clause | 952 |
/**
* Dialog to add a new visualization from any of your
* existing tables.
*
*/
cdb.admin.NewVisualizationDialogTableItem = cdb.core.View.extend({
events: {
"click .remove" : "_onRemove"
},
tagName: "li",
className: "table",
initialize: function() {
_.bindAll(this, "_onRemove");
this.tem... | comilla/map | lib/assets/javascripts/cartodb/dashboard/visualizations/new_visualization_dialog.js | JavaScript | bsd-3-clause | 8,143 |
/******************************************************************************
This source file is part of the Avogadro project.
Copyright 2013 Kitware, Inc.
This source code is released under the New BSD License, (the "License").
Unless required by applicable law or agreed to in writing, software
distri... | wadejong/avogadrolibs | tests/qtopengl/qttextlabeltest.cpp | C++ | bsd-3-clause | 6,465 |
<!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) on Wed May 09 10:30:52 EDT 2007 -->
<TITLE>
B-Index
</TITLE>
<META NAME="date" CONTENT="2007-05-09">
<LINK REL ="stylesheet" TYPE="text... | MSch/multithreadedtc-junit4 | web/docs/index-files/index-2.html | HTML | bsd-3-clause | 7,566 |
# Copyright 2020 The Cobalt Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable ... | youtube/cobalt | third_party/libdav1d/include/config.asm | Assembly | bsd-3-clause | 1,067 |
/****************************************************************************
**
** BSD 3-Clause License
**
** Copyright (c) 2017, bitdewy
** All rights reserved.
**
****************************************************************************/
#pragma once
#include <QtCore/QMap>
#include <QtGui/QIcon>
... | bitdewy/Ya | src/propertybrowser/propertymanager/private/boolpropertymanager_p.h | C | bsd-3-clause | 813 |
# The purpose of these tests are to ensure that calling ufuncs with quantities
# returns quantities with the right units, or raises exceptions.
import warnings
import pytest
import numpy as np
from numpy.testing.utils import assert_allclose
from ... import units as u
from ...tests.helper import raises
from ...extern... | AustereCuriosity/astropy | astropy/units/tests/test_quantity_ufuncs.py | Python | bsd-3-clause | 38,162 |
<!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">
<title>messageStream property - TorrentClientManager class - hetimatorrent library - Dart API</title>
<!-- require... | kyorohiro/dart_hetimatorrent | doc/api/hetimatorrent/TorrentClientManager/messageStream.html | HTML | bsd-3-clause | 6,287 |
// Copyright 2019 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 "third_party/blink/public/common/page/content_to_visible_time_reporter.h"
#include <utility>
#include "base/bind.h"
#include "base/callback_hel... | nwjs/chromium.src | third_party/blink/common/page/content_to_visible_time_reporter.cc | C++ | bsd-3-clause | 9,156 |
#!/usr/bin/env python
"""
# Software License Agreement (BSD License)
#
# Copyright (c) 2012, University of California, Berkeley
# All rights reserved.
# Authors: Cameron Lee (cameronlee@berkeley.edu) and Dmitry Berenson (
berenson@eecs.berkeley.edu)
#
# Redistribution and use in source and binary forms, with or without... | WPI-ARC/lightning_ros | scripts/RR_action_server.py | Python | bsd-3-clause | 22,385 |
package de.uni.freiburg.iig.telematik.sewol.accesscontrol.rbac.lattice.graphic;
import org.apache.commons.collections15.Factory;
import edu.uci.ics.jung.graph.Graph;
import edu.uci.ics.jung.graph.SparseMultigraph;
public class RoleGraphViewer {
Graph<Integer, String> g;
int nodeCount, edgeCount;
Factory<Integer> ... | iig-uni-freiburg/SEWOL | src/de/uni/freiburg/iig/telematik/sewol/accesscontrol/rbac/lattice/graphic/RoleGraphViewer.java | Java | bsd-3-clause | 874 |
/**
* @author
*/
imports("Controls.Composite.Carousel");
using("System.Fx.Marquee");
var Carousel = Control.extend({
onChange: function (e) {
var ul = this.find('.x-carousel-header'), t;
if (t = ul.first(e.from))
t.removeClass('x-carousel-header-selected');
if(t = ul.first(e.to))
... | jplusui/jplusui-en | src/Controls/Composite/assets/scripts/Carousel.js | JavaScript | bsd-3-clause | 994 |
#include <lib.h>
#include <string.h>
/* lsearch(3) and lfind(3)
*
* Author: Terrence W. Holm Sep. 1988
*/
#include <stddef.h>
char *lsearch(key, base, count, width, keycmp)
char *key;
char *base;
unsigned *count;
unsigned width;
_PROTOTYPE( int (*keycmp), (const void *, const void *));
{
char *entry... | macminix/MacMinix | src/lib/other/lsearch.c | C | bsd-3-clause | 858 |
#!/usr/bin/env python
from django.core.management import setup_environ
import settings
setup_environ(settings)
import socket
from trivia.models import *
irc = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
irc.connect((settings.IRC_SERVER, settings.IRC_PORT))
def send(msg):
irc.send(msg + "\r\n")
print "{SE... | relrod/pib | bot.py | Python | bsd-3-clause | 1,205 |
/// <reference path="../../src/CaseModel.ts" />
/// <reference path="../../src/CaseViewer.ts" />
/// <reference path="../../src/PlugInManager.ts" />
class AnnotationPlugIn extends AssureIt.PlugInSet {
constructor(public plugInManager: AssureIt.PlugInManager) {
super(plugInManager);
this.HTMLRenderPlugIn = new An... | assureit/AssureIt | plugins/Annotation/Annotation.ts | TypeScript | bsd-3-clause | 1,118 |
import React from "react";
import { expect } from "chai";
import { mount } from "enzyme";
import { Provider } from "react-redux";
import Editor from "../../../src/notebook/providers/editor";
import { dummyStore } from "../../utils";
import {
UPDATE_CELL_SOURCE,
FOCUS_CELL_EDITOR
} from "../../../src/notebook/const... | temogen/nteract | test/renderer/providers/editor-spec.js | JavaScript | bsd-3-clause | 1,719 |
/*
* Copyright (c) 2014, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in
* the LICENSE file in the root directory of this source tree. An
* additional grant of patent rights can be found in the PATENTS file
* in the same directory.
*
*/
#include... | dalinaum/fb-adb | child.c | C | bsd-3-clause | 13,390 |
{-# LANGUAGE TemplateHaskell #-}
{-| Contains TemplateHaskell stuff I don't want to recompile every time I make
changes to other files, a pre-compiled header, so to say. Don't know if that
even works.
-}
module FeedGipeda.THGenerated
( benchmarkClosure
, stringDict
, __remoteTable
) where
import ... | sgraf812/feed-gipeda | src/FeedGipeda/THGenerated.hs | Haskell | bsd-3-clause | 1,466 |
<?php
namespace app\models;
use Yii;
/**
* This is the model class for table "record".
*
* @property string $todaydetail
* @property string $st_classmark
* @property string $startday
* @property string $endday
* @property integer $totalday
* @property string $country
* @property string $countryEN
* @proper... | Jirachiii/sues_print | models/Record.php | PHP | bsd-3-clause | 2,805 |
package com.michaelbaranov.microba.gradient;
import java.awt.Color;
import java.util.ArrayList;
import java.util.List;
import com.michaelbaranov.microba.common.AbstractBoundedTableModel;
/**
* A very basic implementation of {@link AbstractBoundedTableModel} used by
* default by {@link GradientBar}. This implementa... | ezegarra/microbrowser | microba/com/michaelbaranov/microba/gradient/DefaultGradientModel.java | Java | bsd-3-clause | 2,149 |
/* Scala.js runtime support
* Copyright 2013 LAMP/EPFL
* Author: Sébastien Doeraene
*/
/* ---------------------------------- *
* The top-level Scala.js environment *
* ---------------------------------- */
//!if outputMode == ECMAScript51Global
var ScalaJS = {};
//!endif
// Get the environment info
ScalaJS.env ... | xuwei-k/scala-js | tools/scalajsenv.js | JavaScript | bsd-3-clause | 32,145 |
// 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/panels/panel_resize_controller.h"
#include "base/logging.h"
#include "chrome/browser/ui/panels/panel.h"
#include "chrome/... | zcbenz/cefode-chromium | chrome/browser/ui/panels/panel_resize_controller.cc | C++ | bsd-3-clause | 5,852 |
/* $OpenBSD: limits.h,v 1.5 1998/03/22 21:15:24 millert Exp $ */
/* $NetBSD: limits.h,v 1.7 1996/01/05 18:10:57 pk Exp $ */
/*
* Copyright (c) 1988 The Regents of the University of California.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitt... | MarginC/kame | openbsd/sys/arch/sparc/include/limits.h | C | bsd-3-clause | 3,892 |
package com.percolate.sdk.dto;
import com.fasterxml.jackson.annotation.*;
import com.percolate.sdk.interfaces.HasExtraFields;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMa... | percolate/percolate-java-sdk | core/src/main/java/com/percolate/sdk/dto/FacebookConversationMessage.java | Java | bsd-3-clause | 3,496 |
<?php
use yii\helpers\Html;
use kartik\grid\GridView;
use yii\helpers\ArrayHelper;
use backend\modules\qtn\models\Survey;
/* @var $this yii\web\View */
/* @var $searchModel backend\modules\qtn\Models\SurveySearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Qtn Surveys';
$this->params['bre... | yuttapong/webapp | backend/modules/qtn/views/survey/index.php | PHP | bsd-3-clause | 2,807 |
@echo off
rem
rem Collective Knowledge
rem
rem See CK LICENSE.txt for licensing details.
rem See CK Copyright.txt for copyright details.
rem
rem Developer: Grigori Fursin
rem
rem CK entry point
rem Set default path by detecting the path to this script
set ck_path=%~dp0\..
rem Check if CK_ROOT is defined and used it... | gmarkall/ck | bin/ck.bat | Batchfile | bsd-3-clause | 571 |
Bool_t SetGeneratedSmearingHistos = kFALSE;
Bool_t GetCentralityFromAlien = kFALSE;
std::string centralityFilename = "";
std::string centralityFilenameFromAlien = "/alice/cern.ch/user/a/acapon/.root";
const Int_t triggerNames = AliVEvent::kINT7;
const Int_t nMCSignal = 0;
const Int_t nCutsetting = 0;
const Doubl... | carstooon/AliPhysics | PWGDQ/dielectron/macrosLMEE/Config_acapon_Efficiency.C | C++ | bsd-3-clause | 22,296 |
<?php
/*
Copyright (c) 2007, Till Brehm, projektfarm Gmbh
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... | TR-Host/THConfig | interface/web/sites/web_aliasdomain_del.php | PHP | bsd-3-clause | 2,098 |
// 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/renderer_preferences_util.h"
#include <stdint.h>
#include <string>
#include <vector>
#include "base/macros.h"
#include "ba... | nwjs/chromium.src | chrome/browser/renderer_preferences_util.cc | C++ | bsd-3-clause | 8,221 |
package net.minidev.ovh.api.price.dedicatedcloud._2014v1.sbg1a.infrastructure.filer;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Enum of Hourlys
*/
public enum OvhHourlyEnum {
@JsonProperty("iscsi-1200-GB")
iscsi_1200_GB("iscsi-1200-GB"),
@JsonProperty("iscsi-13200g-GB")
iscsi_13200g_GB("iscsi-1... | UrielCh/ovh-java-sdk | ovh-java-sdk-price/src/main/java/net/minidev/ovh/api/price/dedicatedcloud/_2014v1/sbg1a/infrastructure/filer/OvhHourlyEnum.java | Java | bsd-3-clause | 1,119 |
<?php
/**
* Rules_Whitespace_SuperfluousWhitespaceRule.
*
* Checks that no whitespace at the end of each line and no two empty lines in the content.
*
* @package SmartyLint
* @author Umakant Patil <me@umakantpatil.com>
* @copyright 2013-15 Umakant Patil
* @license https://github.com/umakantp/SmartyLint/b... | umakantp/SmartyLint | SmartyLint/Rules/Whitespace/SuperfluousWhitespaceRule.php | PHP | bsd-3-clause | 1,961 |
<?php
App::uses('CloggyAppModel', 'Cloggy.Model');
class CloggySearchFullText extends CloggyAppModel {
public $name = 'CloggySearchFullText';
public $useTable = 'search_fulltext';
public $actsAs = array('CloggySearchFullTexIndex','CloggySearchFullTextTerm');
public function getTotal()... | hiraq/Cloggy | Module/CloggySearch/Model/CloggySearchFullText.php | PHP | bsd-3-clause | 2,568 |
<!DOCTYPE html>
<html>
<head>
<title>{title} - Montage Docs</title>
<link rel="stylesheet" href="/mdl/material.min.css">
<link rel="stylesheet" href="/mdl/styles.css">
<script src="/mdl/material.min.js"></script>
<link rel="stylesheet" href="https://tools-static.wmflabs.org/fontcdn/css?family=Robo... | hatnote/montage | montage/templates/docs/base.html | HTML | bsd-3-clause | 1,272 |
package org.usfirst.frc369.Robot2017Code.subsystems;
import org.usfirst.frc369.Robot2017Code.Robot;
import edu.wpi.first.wpilibj.Relay;
import edu.wpi.first.wpilibj.command.Subsystem;
/**
*
*/
public class LED extends Subsystem {
// Put methods for controlling this subsystem
// here. Call these from Comma... | ShadowShitler/Bridgette | src/org/usfirst/frc369/Robot2017Code/subsystems/LED.java | Java | bsd-3-clause | 726 |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="description" content="Javadoc API documentation for Fresco." />
<link rel="shortcut icon" type="image/x-icon" href="../../../../favicon.ico" />
<title>
co... | MaTriXy/fresco | docs/javadoc/reference/com/facebook/imagepipeline/nativecode/package-descr.html | HTML | bsd-3-clause | 17,812 |
var NETKI_PUBAPI_HOST = 'https://pubapi.netki.com';
var NETKI_API_HOST = 'https://api.netki.com';
var SHORTCODES = {
'btc': 'Bitcoin',
'tbtc': 'Bitcoin Testnet',
'ltc': 'Litecoin',
'dgc': 'Dogecoin',
'nmc': 'Namecoin',
'tusd': 'tetherUSD',
'teur': 'tetherEUR',
'tjpy': 'tetherJPY',
'oap': 'Open Asset'... | netkicorp/walletname-chrome-extension | app/scripts.babel/netkiUtils.js | JavaScript | bsd-3-clause | 573 |
<?php
/**
* Cache subsystem library
* @package Cotonti
* @version 0.9.10
* @author Cotonti Team
* @copyright Copyright (c) Cotonti Team 2009-2014
* @license BSD
*/
defined('COT_CODE') or die('Wrong URL');
/**
* Stores the list of advanced cachers provided by the host
* @var array
*/
$cot_cache_drivers = arr... | Velm14/dribascorp | system/cache.php | PHP | bsd-3-clause | 35,088 |
#!/bin/bash
set -x
# configure tweaks
mv /tmp/docker-* /etc/apt/apt.conf.d
chown root:root /etc/apt/apt.conf.d/docker-*
chmod 644 /etc/apt/apt.conf.d/docker-*
# make sure we're fully up-to-date
apt-get update && apt-get dist-upgrade -y
reboot
| iknite/trusty64 | src/provision/update.sh | Shell | bsd-3-clause | 246 |
/*L
* Copyright Ekagra Software Technologies Ltd.
* Copyright SAIC
*
* Distributed under the OSI-approved BSD 3-Clause License.
* See http://ncip.github.com/cacore-sdk-pre411/LICENSE.txt for details.
*/
package gov.nih.nci.system.webservice;
import gov.nih.nci.system.applicationservice.ApplicationService;
i... | NCIP/cacore-sdk-pre411 | SDK4/system/src/gov/nih/nci/system/webservice/WSQueryImpl.java | Java | bsd-3-clause | 5,667 |
ls | `cat` | wc -l | wc -c
| pbiggar/rash | b.sh | Shell | bsd-3-clause | 27 |
package au.gov.ga.geodesy.sitelog.domain.model;
import javax.validation.constraints.Size;
/**
* http://sopac.ucsd.edu/ns/geodesy/doc/igsSiteLog/contact/2004/baseContactLib.xsd:contactType
*/
public class Contact {
private Integer id;
@Size(max = 200)
protected String name;
@Size(max = 200)
protect... | GeoscienceAustralia/geodesy-sitelog-domain | src/main/java/au/gov/ga/geodesy/sitelog/domain/model/Contact.java | Java | bsd-3-clause | 1,834 |
namespace Leaderboard
{
public enum SortBy
{
None,
Score,
Rank
}
}
| jalaziz/leaderboard-csharp | Leaderboard/SortBy.cs | C# | bsd-3-clause | 106 |
#region License Header
// /*******************************************************************************
// * Open Behavioral Health Information Technology Architecture (OBHITA.org)
// *
// * Redistribution and use in source and binary forms, with or without
// * modification, are permitted provided that... | OBHITA/PROCenter | ProCenter.Mvc.Infrastructure/Service/Completeness/CompletenessModelValidtorProvider.cs | C# | bsd-3-clause | 6,717 |
"""
Commands that are available from the connect screen.
"""
import re
import traceback
from django.conf import settings
from src.players.models import PlayerDB
from src.objects.models import ObjectDB
from src.server.models import ServerConfig
from src.comms.models import Channel
from src.utils import create, logger, ... | TaliesinSkye/evennia | wintersoasis-master/commands/unloggedin.py | Python | bsd-3-clause | 12,835 |
<!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_14) on Fri Sep 18 14:09:15 BST 2009 -->
<TITLE>
uk.org.mygrid.cagrid.servicewrapper.service.interproscan.stubs
</TITLE>
<META NAME="date" C... | NCIP/taverna-grid | servicewrapper/doc/uk/org/mygrid/cagrid/servicewrapper/service/interproscan/stubs/package-summary.html | HTML | bsd-3-clause | 8,735 |
package edu.cmu.minorthird.text.gui;
import edu.cmu.minorthird.text.FancyLoader;
import edu.cmu.minorthird.text.TextLabels;
import edu.cmu.minorthird.util.gui.ControlledViewer;
import edu.cmu.minorthird.util.gui.VanillaViewer;
import edu.cmu.minorthird.util.gui.Viewer;
import edu.cmu.minorthird.util.gui.ViewerFrame;
i... | TeamCohen/MinorThird | src/main/java/edu/cmu/minorthird/text/gui/ZoomingTextLabelsViewer.java | Java | bsd-3-clause | 1,434 |
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE QuasiQuotes #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE KindSignatures #-}
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE GADTs #-}
{-# LANGUAGE TupleSections #-}
{-# OP... | zohl/postgresql-simple-bind | tests/Test/PGConstant.hs | Haskell | bsd-3-clause | 1,133 |
<?php
$modules["recurringinvoices"]["name"] = "Recurring Invoices";
$modules["recurringinvoices"]["version"] = "1.01";
$modules["recurringinvoices"]["description"] =
"This module adds the ability to repeat invoices on a scheduled basis.";
$modules["recurringinvoices"]["requirements"] =
"phpBMS Core v0.9 ... | eandbsoftware/phpbms | modules/recurringinvoices/install/version.php | PHP | bsd-3-clause | 434 |
/* eslint-disable no-underscore-dangle */
export default function ({
client,
filterQuery,
mustContain,
busy,
encodeQueryAsString,
}) {
return {
listUsers(query) {
const params = filterQuery(
query,
'text',
'limit',
'offset',
'sort',
'sortdir'
)... | Kitware/paraviewweb | src/IO/Girder/CoreEndpoints/user.js | JavaScript | bsd-3-clause | 1,750 |
<!DOCTYPE HTML>
<html>
<head>
<style>
body {
margin: 0px;
padding: 0px;
}
</style>
</head>
<body>
<div id="container"></div>
<script src="KineticJS/kinetic.js"></script>
<script src="kiigame.js"></script>
<script src="latkazombit.js"></s... | PrinsessaDiana/kiigame | kiigame.html | HTML | bsd-3-clause | 352 |
module.exports = (function () {
var TypeChecker = Cactus.Util.TypeChecker;
var JSON = Cactus.Util.JSON;
var stringify = JSON.stringify;
var object = Cactus.Addon.Object;
var collection = Cactus.Data.Collection;
var gettype = TypeChecker.gettype.bind(TypeChecker);
return {
"null and undefined" : func... | bergmark/Cactus | module/Core/lib/Util/Util.TypeChecker.test.js | JavaScript | bsd-3-clause | 22,955 |
<?php
namespace common\models;
use Yii;
/**
* This is the model class for table "mcp_accesslogs".
*
* @property integer $user_id
* @property string $browser
* @property string $ip
* @property string $session
* @property string $intime
* @property string $outtime
*/
class McpAccesslogs extends \yii\db\Active... | rajanishtimes/partnerapi | common/models/McpAccesslogs.php | PHP | bsd-3-clause | 1,297 |
---
title: "Permissions - ACLs"
weight: 3
card:
name: concept_organization
---
There are 3 types of permissions:
+ Read (as code value: 4)
+ Read / Execute (as code value: 5)
+ Read / Write / Execute (as code value: 7)
These permissions can be attached to different objects:
+ Project
+ Workflow
+ Workflow node
... | ovh/cds | docs/content/docs/concepts/permissions.md | Markdown | bsd-3-clause | 2,457 |
/**
* Swedish translation for bootstrap-wysihtml5
*/
(function($){
$.fn.wysihtml5.locale["sv-SE"] = {
font_styles: {
normal: "Normal Text",
h1: "Rubrik 1",
h2: "Rubrik 2",
h3: "Rubrik 3"
},
emphasis: {
bold: "Fet",
ita... | landasystems/tamanharapan | backend/extensions/bootstrap/assets/js/locales/bootstrap-wysihtml5.sv-SE.js | JavaScript | bsd-3-clause | 1,185 |
<?php
namespace Tests\Unit;
use Tests\TestCase;
use Illuminate\Foundation\Testing\RefreshDatabase;
class TextPostTest extends TestCase
{
use RefreshDatabase;
protected $textPost;
public function setup()
{
parent::setUp();
$this->authenticate();
$this->textPost = create('Kno... | fam-jam/fam-jam-server | tests/Unit/TextPostTest.php | PHP | bsd-3-clause | 702 |
///////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
// This example code is from the book:
//
// Object-Oriented Programming with C++ and OSF/Motif
// by
// Douglas Young
// ... | marrocamp/nasa-VICAR | vos/MotifApp/DialogManager.h | C | bsd-3-clause | 1,971 |
<?php
namespace Users;
use Zend\EventManager\EventInterface as Event;
use Users\Model\AuthorisationClass as AuthorisationClass;
class Module
{
public function onBootstrap(Event $e)
{
// This method is called once the MVC bootstrapping is complete
$application = $e->getApplication();
$se... | JoostvdB94/RapidJupiter | module/Users/Module.php | PHP | bsd-3-clause | 2,835 |
// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- ctzti2_test.c - Test __ctzti2 -------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for detail... | youtube/cobalt | third_party/llvm-project/compiler-rt/test/builtins/Unit/ctzti2_test.c | C | bsd-3-clause | 2,303 |
CREATE TABLE test_table(column_integer INTEGER,
column_smallint SMALLINT,
column_numeric_9_2 NUMERIC(9,2),
column_char_9 CHAR(9),
column_varchar_92 VARCHAR(92),
column_date DATE,
column_bit BIT(4),
column_time TIME,
column_timestamp TIMESTAMP,
column_datetime datetime,
monet monetary,
big bigint,
float_num float,
d... | CUBRID/cubrid-testcases | sql/_12_mysql_compatibility/_11_code_coverage/_06_datetime_functions/cases/_012_str_to_date.sql | SQL | bsd-3-clause | 3,516 |
<?php
/* @var $this yii\web\View */
$this->title = 'My Yii Application';
?>
<div class="bodyParser">
<?=$this->render('table', [
'dataHistory' => $dataHistory
])?>
</div>
| TexToro/parser-on-yii2 | frontend/views/site/index.php | PHP | bsd-3-clause | 189 |
<!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... | statsmodels/statsmodels.github.io | v0.11.1/generated/statsmodels.sandbox.stats.multicomp.randmvn.html | HTML | bsd-3-clause | 19,790 |
/*
* from: FreeBSD: src/sys/tools/fw_stub.awk,v 1.6 2007/03/02 11:42:53 flz
*/
#include <sys/cdefs.h>
__FBSDID("$FreeBSD: releng/9.3/sys/dev/cxgb/cxgb_t3fw.c 189643 2009-03-10 19:22:45Z gnn $");
#include <sys/param.h>
#include <sys/errno.h>
#include <sys/kernel.h>
#include <sys/module.h>
#include <sys/linker.h>
#incl... | dcui/FreeBSD-9.3_kernel | sys/dev/cxgb/cxgb_t3fw.c | C | bsd-3-clause | 4,506 |
#!/usr/bin/python
# Copyright (c) 2012 The Native Client Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import json
import os
import subprocess
import sys
sys.path.append(os.path.join(os.path.dirname(__file__), '..'))
import pynacl.p... | wilsonianb/nacl_contracts | buildbot/buildbot_selector.py | Python | bsd-3-clause | 16,846 |
from contextlib import contextmanager
from _pytest.python import FixtureRequest
import mock
from mock import Mock
import pyramid.testing
from webob.multidict import MultiDict
import pyramid_swagger
import pyramid_swagger.tween
import pytest
import simplejson
from pyramid.config import Configurator
from pyramid.interfa... | prat0318/pyramid_swagger | tests/acceptance/response_test.py | Python | bsd-3-clause | 8,642 |
// Benchpress: A collection of micro-benchmarks.
var allResults = [ ];
// -----------------------------------------------------------------------------
// F r a m e w o r k
// -----------------------------------------------------------------------------
function Benchmark(string, run) {
this.string = string;
thi... | daejunpark/jsaf | benchmarks/v8_v1/units/loop.js | JavaScript | bsd-3-clause | 1,571 |
#!/usr/bin/perl
# start in the directory with all the files
$argc = @ARGV; # get the number of arguments
if ($argc == 0 ) {
print "msl_Vic2ODL-PDDS-jpg.pl dir multi vic2odl_xsl odl2pds_xsl max \n";
print "prints a set of transcoder (jConvertIIO) commands to test .DAT and .VIC files \n";
print "Output goes... | marrocamp/nasa-VICAR | vos/java/jpl/mipl/io/xsl/test/msl_Vic2ODL-PDS-jpg.pl | Perl | bsd-3-clause | 5,855 |
/* copyright(C) 2002 H.Kawai (under KL-01). */
#include <stdio.h>
#include <stdlib.h>
int GO_fputc(int c, GO_FILE *stream)
{
if (stream->p >= stream->p1)
abort();
*stream->p++ = c;
/* GOL_debuglog(1, &c); */
return (unsigned char) c;
}
| Oss9935/MakitOS | osproj/omake/tolsrc/go_0023s/go_lib/fputc.c | C | bsd-3-clause | 244 |
import ghcnpy
# Provide introduction
ghcnpy.intro()
# Print Latest Version
ghcnpy.get_ghcnd_version()
# Testing Search Capabilities
print("\nTESTING SEARCH CAPABILITIES")
ghcnpy.find_station("Asheville")
# Testing Search Capabilities
print("\nTESTING PULL CAPABILITIES")
outfile=ghcnpy.get_data_station("USW00003812"... | jjrennie/GHCNpy | test.py | Python | bsd-3-clause | 360 |
{% extends 'magicflatpages/base_content.html' %}
{% load floppyforms %}
{% block js_top %}
{{ block.super }}
{{ form.media }}
{% endblock %}
{% block navbar %}
{% endblock navbar %}
{% block footer_area %}
{% endblock footer_area %}
{% block content %}
<div class="popup-content">
<div class="row">
<d... | DjenieLabs/django-magicflatpages | magicflatpages/templates/flatpages/page_form.html | HTML | bsd-3-clause | 1,501 |
// xml_do_read.h see license.txt for copyright and terms of use
#ifndef XML_DO_READ_H
#define XML_DO_READ_H
class TranslationUnit;
class StringTable;
TranslationUnit *xmlDoRead(StringTable &strTable, char const *inputFname);
#endif // XML_DO_READ_H
| angavrilov/olmar | elsa/xml_do_read.h | C | bsd-3-clause | 261 |
'use strict';
myApp.controller('editProfileController', ['$scope', '$state', 'loadingMaskService', 'CONSTANTS', '$uibModal', '$log', '$rootScope', '$http', function ($scope, $state, loadingMaskService, CONSTANTS, $uibModal, $log, $rootScope, $http) {
var userInfo = JSON.parse(localStorage.getItem(CONSTANTS.LOCAL_... | yslepianok/analysis_site | views/tests/app/pages/src/editProfilePage/src/editProfileController.js | JavaScript | bsd-3-clause | 2,590 |
<?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... | dineshkummarc/zf2 | library/Zend/Service/StrikeIron/Base.php | PHP | bsd-3-clause | 8,807 |
<?php $deleteStyle = isset($this->existing) ? 'inline' : 'none' ?>
<?php $addStyle = $deleteStyle == 'inline' ? 'none' : 'inline' ?>
<div id="watch-controls">
</div>
<h2><?php $this->o($this->notes[0]->title);?></h2>
<?php $note = null; ?>
<?php foreach ($this->notes as $note): ?>
<div class="note">
<div class... | nyeholt/relapse | views/note/thread-view.php | PHP | bsd-3-clause | 2,359 |
/*
* Copyright (c) 2011 Yahoo! Inc. All rights reserved.
*/
YUI.add('master', function(Y, NAME) {
/**
* The master module.
*
* @module master
*/
var DIMENSIONS = {
device: 'smartphone',
region: 'CA',
skin : 'grey'
};
/**
* Constructor for the Controller class.
*
* @class Control... | triptych/shaker | examples/demo/mojits/master/controller.common.js | JavaScript | bsd-3-clause | 2,296 |
/**
* \file PancakeNode.hpp
*
*
*
* \author eaburns
* \date 18-01-2010
*/
#include "search/Node.hpp"
#include "pancake/PancakeTypes.hpp"
#include "pancake/PancakeState.hpp"
#if !defined(_PANCAKE_NODE_H_)
#define _PANCAKE_NODE_H_
typedef Node<PancakeState14, PancakeCost> PancakeNode14;
#endif // !_PANCAKE_NOD... | bradlarsen/switchback | src/pancake/PancakeNode.hpp | C++ | bsd-3-clause | 326 |
//-----------------------------------------------------------------------------
//Cortex
//Copyright (c) 2010-2015, Joshua Scoggins
//All rights reserved.
//
//Redistribution and use in source and binary forms, with or without
//modification, are permitted provided that the following conditions are met:
// * Redist... | DrItanium/Cortex | Operation/GraphVizSpecificBuilder.cs | C# | bsd-3-clause | 3,083 |
/*============================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center (DKFZ)
All rights reserved.
Use of this source code is governed by a 3-clause BSD license that can be
found in the LICENSE file.
=================... | fmilano/mitk | Plugins/org.mitk.gui.qt.dicom/src/internal/DicomEventHandler.cpp | C++ | bsd-3-clause | 11,194 |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="ApiGen 2.8.0" />
<meta name="robots" content="noindex" />
<title>File widgets/fineuploader/WhFineUploader.php | YiiWheels</title>
<script type="text/javascript" src="resources/combi... | 2amigos/yiiwheels-docs | www/api/source-class-WhFineUploader.html | HTML | bsd-3-clause | 29,497 |
// Copyright 2009 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.
// godoc: Go Documentation Server
// Web server tree:
//
// http://godoc/ main landing page
// http://godoc/doc/ serve from $GOROOT/doc - spec, mem, etc.
// h... | myitcv/react | _vendor/src/golang.org/x/tools/cmd/godoc/main.go | GO | bsd-3-clause | 10,263 |
<!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/html; charset=utf-8" />
<title>QGeoCodingManager — PyQt 5.5.1 Reference Guid... | lnerit/ktailFSM | build/lib.linux-x86_64-2.7/PyQt-gpl-5.5.1/doc/html/api/qgeocodingmanager.html | HTML | bsd-3-clause | 5,422 |
{-# LANGUAGE OverloadedStrings #-}
module WildBind.SeqSpec (main,spec) where
import Control.Applicative ((<*>))
import Control.Monad (forM_)
import Control.Monad.IO.Class (liftIO)
import qualified Control.Monad.Trans.State as State
import Data.Monoid ((<>))
import Data.IORef (modifyIORef, newIORef, readIORef)
import T... | debug-ito/wild-bind | wild-bind/test/WildBind/SeqSpec.hs | Haskell | bsd-3-clause | 7,072 |
Foursquare Archiver
===================
Archive your Foursquare checkin data locally.
This is a Python script for saving the json data from Foursuare's `checkins`
resource https://developer.foursquare.com/docs/users/checkins .
If you want to generate a heatmap of checkins, see [`csv.py`](./csv.py) and http://crcchec... | crccheck/foursquare-archiver | README.md | Markdown | bsd-3-clause | 962 |
.filebrowser table td { font-size: 10px; }
.filebrowser table a { font-size: 11px; }
.filebrowser thead th.sorted a { padding-right: 13px; }
.filebrowser td { padding: 9px 10px 7px 10px !important; }
.filebrowser td.fb_icon { padding: 6px 5px 5px 5px !important; }
table a.fb_deletelink, table a.fb_renamelink, table a.... | caiges/populous | populous/filebrowser/media/filebrowser/css/filebrowser.css | CSS | bsd-3-clause | 4,776 |
<?php
return array(
'Status\\V1\\Rpc\\Ping\\Controller' => array(
'GET' => array(
'description' => 'Ping the API for availability and receive a timestamp for acknowledgement.',
'request' => null,
'response' => '{
"ack": "Acknowledge the request with a timestamp"
}',
... | baptistecosta/apigility | module/Status/config/documentation.config.php | PHP | bsd-3-clause | 3,099 |
#include <pulsar/testing/CppTester.hpp>
#include <pulsar/system/Atom.hpp>
using namespace pulsar;
TEST_SIMPLE(TestAtom){
CppTester tester("Testing the Atom class");
Atom H=create_atom({0.0,0.0,0.0},1);
Atom H2=create_atom({0.0,0.0,0.0},1,1);
tester.test_equal("create_atom works",H,H2);
tester... | pulsar-chem/Pulsar-Core | test/system/TestAtom.cpp | C++ | bsd-3-clause | 2,239 |
<?php
/**
* Created by PhpStorm.
* User: bill
* Date: 13.04.15
* Time: 17:13
*/
namespace app\tests\codeception\unit\modules\mobile\models;
use app\modules\mobile\models\Trip;
use app\tests\codeception\unit\fixtures\TripFixture;
use Codeception\Specify;
use yii\codeception\TestCase;
use MongoDate;
class TripTe... | shubnikofff/mobiles | tests/codeception/unit/modules/mobile/models/TripTest.php | PHP | bsd-3-clause | 2,492 |
<?php
class ReCopyWidget extends CWidget {
public $targetClass='clone'; //Target CSS class target for duplicate
public $limit=0; //The number of allowed copies. Default: 0 is unlimited
public $addButtonId; // Add button id. Set id differently if this widget is called multiple times per page.
publ... | elorian/crm.inreserve.kz | protected/extensions/recopy/ReCopyWidget.php | PHP | bsd-3-clause | 2,946 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.