repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
walterdejong/oolib
src/Sock.cpp
8549
// // 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...
bsd-2-clause
PeterPan1990/DSN
src/caffe/layers/loss_layer.cpp
10973
// 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 ...
bsd-2-clause
avr-aics-riken/CDMlib
tools/fconv/include/convOutput_SPH.h
2523
#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...
bsd-2-clause
adouble42/nemesis-current
Crypto/config.h
7649
#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__ *...
bsd-2-clause
allenj0321/Powershell
Sinkhole-DNS.ps1
15857
#################################################################################### #.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...
bsd-2-clause
kkuhrman/AblePolecat
usr/share/documentation/html/search/all_c.js
3016
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...
bsd-2-clause
mogoweb/chromium-crosswalk
ui/gfx/image/image_util.h
1223
// 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" ...
bsd-3-clause
Crystalnix/house-of-life-chromium
chrome/browser/profiles/profile.cc
24938
// 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...
bsd-3-clause
SnakeDoc/GuestVM
guestvm~guestvm/com.oracle.max.ve.native/fdlibm/w_pow.c
1152
/* * 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...
bsd-3-clause
homeworkprod/byceps
byceps/blueprints/site/board/templates/macros/board.html
335
{% 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')) }} {...
bsd-3-clause
rwatson/chromium-capsicum
net/http/http_stream_parser.h
5721
// 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...
bsd-3-clause
cpmech/goga
examples/README.md
8060
# Goga &ndash; 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...
bsd-3-clause
webriq/core
module/Paragraph/public/scripts/zork/layoutselect.js
5515
/** * 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...
bsd-3-clause
TeamSprocket/2013Robot
BackRightAutonomous.java
952
/* * 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...
bsd-3-clause
comilla/map
lib/assets/javascripts/cartodb/dashboard/visualizations/new_visualization_dialog.js
8143
/** * 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...
bsd-3-clause
wadejong/avogadrolibs
tests/qtopengl/qttextlabeltest.cpp
6465
/****************************************************************************** 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...
bsd-3-clause
MSch/multithreadedtc-junit4
web/docs/index-files/index-2.html
7566
<!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...
bsd-3-clause
youtube/cobalt
third_party/libdav1d/include/config.asm
1067
# 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 ...
bsd-3-clause
bitdewy/Ya
src/propertybrowser/propertymanager/private/boolpropertymanager_p.h
813
/**************************************************************************** ** ** BSD 3-Clause License ** ** Copyright (c) 2017, bitdewy ** All rights reserved. ** ****************************************************************************/ #pragma once #include <QtCore/QMap> #include <QtGui/QIcon> ...
bsd-3-clause
AustereCuriosity/astropy
astropy/units/tests/test_quantity_ufuncs.py
38162
# 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...
bsd-3-clause
kyorohiro/dart_hetimatorrent
doc/api/hetimatorrent/TorrentClientManager/messageStream.html
6287
<!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...
bsd-3-clause
nwjs/chromium.src
third_party/blink/common/page/content_to_visible_time_reporter.cc
9156
// 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...
bsd-3-clause
WPI-ARC/lightning_ros
scripts/RR_action_server.py
22385
#!/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...
bsd-3-clause
iig-uni-freiburg/SEWOL
src/de/uni/freiburg/iig/telematik/sewol/accesscontrol/rbac/lattice/graphic/RoleGraphViewer.java
874
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> ...
bsd-3-clause
jplusui/jplusui-en
src/Controls/Composite/assets/scripts/Carousel.js
994
/** * @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)) ...
bsd-3-clause
macminix/MacMinix
src/lib/other/lsearch.c
858
#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...
bsd-3-clause
relrod/pib
bot.py
1205
#!/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...
bsd-3-clause
assureit/AssureIt
plugins/Annotation/Annotation.ts
1118
/// <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...
bsd-3-clause
temogen/nteract
test/renderer/providers/editor-spec.js
1719
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...
bsd-3-clause
dalinaum/fb-adb
child.c
13390
/* * 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...
bsd-3-clause
sgraf812/feed-gipeda
src/FeedGipeda/THGenerated.hs
1466
{-# 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 ...
bsd-3-clause
Jirachiii/sues_print
models/Record.php
2805
<?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...
bsd-3-clause
ezegarra/microbrowser
microba/com/michaelbaranov/microba/gradient/DefaultGradientModel.java
2149
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...
bsd-3-clause
xuwei-k/scala-js
tools/scalajsenv.js
32145
/* 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 ...
bsd-3-clause
zcbenz/cefode-chromium
chrome/browser/ui/panels/panel_resize_controller.cc
5852
// 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/...
bsd-3-clause
MarginC/kame
openbsd/sys/arch/sparc/include/limits.h
3892
/* $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...
bsd-3-clause
percolate/percolate-java-sdk
core/src/main/java/com/percolate/sdk/dto/FacebookConversationMessage.java
3496
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...
bsd-3-clause
yuttapong/webapp
backend/modules/qtn/views/survey/index.php
2807
<?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...
bsd-3-clause
gmarkall/ck
bin/ck.bat
571
@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...
bsd-3-clause
carstooon/AliPhysics
PWGDQ/dielectron/macrosLMEE/Config_acapon_Efficiency.C
22296
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...
bsd-3-clause
TR-Host/THConfig
interface/web/sites/web_aliasdomain_del.php
2098
<?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...
bsd-3-clause
nwjs/chromium.src
chrome/browser/renderer_preferences_util.cc
8221
// 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...
bsd-3-clause
UrielCh/ovh-java-sdk
ovh-java-sdk-price/src/main/java/net/minidev/ovh/api/price/dedicatedcloud/_2014v1/sbg1a/infrastructure/filer/OvhHourlyEnum.java
1119
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...
bsd-3-clause
umakantp/SmartyLint
SmartyLint/Rules/Whitespace/SuperfluousWhitespaceRule.php
1961
<?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...
bsd-3-clause
hiraq/Cloggy
Module/CloggySearch/Model/CloggySearchFullText.php
2568
<?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()...
bsd-3-clause
hatnote/montage
montage/templates/docs/base.html
1272
<!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...
bsd-3-clause
ShadowShitler/Bridgette
src/org/usfirst/frc369/Robot2017Code/subsystems/LED.java
726
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...
bsd-3-clause
MaTriXy/fresco
docs/javadoc/reference/com/facebook/imagepipeline/nativecode/package-descr.html
17812
<!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...
bsd-3-clause
netkicorp/walletname-chrome-extension
app/scripts.babel/netkiUtils.js
573
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'...
bsd-3-clause
Velm14/dribascorp
system/cache.php
35088
<?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...
bsd-3-clause
iknite/trusty64
src/provision/update.sh
246
#!/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
bsd-3-clause
NCIP/cacore-sdk-pre411
SDK4/system/src/gov/nih/nci/system/webservice/WSQueryImpl.java
5667
/*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...
bsd-3-clause
pbiggar/rash
b.sh
27
ls | `cat` | wc -l | wc -c
bsd-3-clause
GeoscienceAustralia/geodesy-sitelog-domain
src/main/java/au/gov/ga/geodesy/sitelog/domain/model/Contact.java
1834
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...
bsd-3-clause
jalaziz/leaderboard-csharp
Leaderboard/SortBy.cs
106
namespace Leaderboard { public enum SortBy { None, Score, Rank } }
bsd-3-clause
OBHITA/PROCenter
ProCenter.Mvc.Infrastructure/Service/Completeness/CompletenessModelValidtorProvider.cs
6717
#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...
bsd-3-clause
TaliesinSkye/evennia
wintersoasis-master/commands/unloggedin.py
12835
""" 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, ...
bsd-3-clause
NCIP/taverna-grid
servicewrapper/doc/uk/org/mygrid/cagrid/servicewrapper/service/interproscan/stubs/package-summary.html
8735
<!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...
bsd-3-clause
TeamCohen/MinorThird
src/main/java/edu/cmu/minorthird/text/gui/ZoomingTextLabelsViewer.java
1434
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...
bsd-3-clause
zohl/postgresql-simple-bind
tests/Test/PGConstant.hs
1133
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE QuasiQuotes #-} {-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE KindSignatures #-} {-# LANGUAGE DataKinds #-} {-# LANGUAGE LambdaCase #-} {-# LANGUAGE RecordWildCards #-} {-# LANGUAGE MultiParamTypeClasses #-} {-# LANGUAGE GADTs #-} {-# LANGUAGE TupleSections #-} {-# OP...
bsd-3-clause
eandbsoftware/phpbms
modules/recurringinvoices/install/version.php
434
<?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 ...
bsd-3-clause
Kitware/paraviewweb
src/IO/Girder/CoreEndpoints/user.js
1750
/* 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' )...
bsd-3-clause
PrinsessaDiana/kiigame
kiigame.html
352
<!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...
bsd-3-clause
bergmark/Cactus
module/Core/lib/Util/Util.TypeChecker.test.js
22955
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...
bsd-3-clause
rajanishtimes/partnerapi
common/models/McpAccesslogs.php
1297
<?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...
bsd-3-clause
ovh/cds
docs/content/docs/concepts/permissions.md
2457
--- 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 ...
bsd-3-clause
landasystems/tamanharapan
backend/extensions/bootstrap/assets/js/locales/bootstrap-wysihtml5.sv-SE.js
1185
/** * 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...
bsd-3-clause
fam-jam/fam-jam-server
tests/Unit/TextPostTest.php
702
<?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...
bsd-3-clause
marrocamp/nasa-VICAR
vos/MotifApp/DialogManager.h
1971
/////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// // This example code is from the book: // // Object-Oriented Programming with C++ and OSF/Motif // by // Douglas Young // ...
bsd-3-clause
JoostvdB94/RapidJupiter
module/Users/Module.php
2835
<?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...
bsd-3-clause
youtube/cobalt
third_party/llvm-project/compiler-rt/test/builtins/Unit/ctzti2_test.c
2303
// 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...
bsd-3-clause
CUBRID/cubrid-testcases
sql/_12_mysql_compatibility/_11_code_coverage/_06_datetime_functions/cases/_012_str_to_date.sql
3516
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...
bsd-3-clause
TexToro/parser-on-yii2
frontend/views/site/index.php
189
<?php /* @var $this yii\web\View */ $this->title = 'My Yii Application'; ?> <div class="bodyParser"> <?=$this->render('table', [ 'dataHistory' => $dataHistory ])?> </div>
bsd-3-clause
statsmodels/statsmodels.github.io
v0.11.1/generated/statsmodels.sandbox.stats.multicomp.randmvn.html
19790
<!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...
bsd-3-clause
dcui/FreeBSD-9.3_kernel
sys/dev/cxgb/cxgb_t3fw.c
4506
/* * 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...
bsd-3-clause
wilsonianb/nacl_contracts
buildbot/buildbot_selector.py
16846
#!/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...
bsd-3-clause
prat0318/pyramid_swagger
tests/acceptance/response_test.py
8642
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...
bsd-3-clause
daejunpark/jsaf
benchmarks/v8_v1/units/loop.js
1571
// 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...
bsd-3-clause
marrocamp/nasa-VICAR
vos/java/jpl/mipl/io/xsl/test/msl_Vic2ODL-PDS-jpg.pl
5855
#!/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...
bsd-3-clause
Oss9935/MakitOS
osproj/omake/tolsrc/go_0023s/go_lib/fputc.c
244
/* 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; }
bsd-3-clause
jjrennie/GHCNpy
test.py
360
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"...
bsd-3-clause
DjenieLabs/django-magicflatpages
magicflatpages/templates/flatpages/page_form.html
1501
{% 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...
bsd-3-clause
angavrilov/olmar
elsa/xml_do_read.h
261
// 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
bsd-3-clause
yslepianok/analysis_site
views/tests/app/pages/src/editProfilePage/src/editProfileController.js
2590
'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_...
bsd-3-clause
dineshkummarc/zf2
library/Zend/Service/StrikeIron/Base.php
8807
<?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...
bsd-3-clause
nyeholt/relapse
views/note/thread-view.php
2359
<?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...
bsd-3-clause
triptych/shaker
examples/demo/mojits/master/controller.common.js
2296
/* * 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...
bsd-3-clause
bradlarsen/switchback
src/pancake/PancakeNode.hpp
326
/** * \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...
bsd-3-clause
DrItanium/Cortex
Operation/GraphVizSpecificBuilder.cs
3083
//----------------------------------------------------------------------------- //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...
bsd-3-clause
fmilano/mitk
Plugins/org.mitk.gui.qt.dicom/src/internal/DicomEventHandler.cpp
11194
/*============================================================================ 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. =================...
bsd-3-clause
2amigos/yiiwheels-docs
www/api/source-class-WhFineUploader.html
29497
<!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...
bsd-3-clause
myitcv/react
_vendor/src/golang.org/x/tools/cmd/godoc/main.go
10263
// 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...
bsd-3-clause
lnerit/ktailFSM
build/lib.linux-x86_64-2.7/PyQt-gpl-5.5.1/doc/html/api/qgeocodingmanager.html
5422
<!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 &mdash; PyQt 5.5.1 Reference Guid...
bsd-3-clause
debug-ito/wild-bind
wild-bind/test/WildBind/SeqSpec.hs
7072
{-# 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...
bsd-3-clause
crccheck/foursquare-archiver
README.md
962
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...
bsd-3-clause
caiges/populous
populous/filebrowser/media/filebrowser/css/filebrowser.css
4776
.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....
bsd-3-clause
baptistecosta/apigility
module/Status/config/documentation.config.php
3099
<?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" }', ...
bsd-3-clause
pulsar-chem/Pulsar-Core
test/system/TestAtom.cpp
2239
#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...
bsd-3-clause
shubnikofff/mobiles
tests/codeception/unit/modules/mobile/models/TripTest.php
2492
<?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...
bsd-3-clause
elorian/crm.inreserve.kz
protected/extensions/recopy/ReCopyWidget.php
2946
<?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...
bsd-3-clause