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 |
|---|---|---|---|---|---|
#ifndef MTF_MC_RSCV_H
#define MTF_MC_RSCV_H
#include "RSCV.h"
_MTF_BEGIN_NAMESPACE
class MCRSCV : public RSCV{
public:
MCRSCV(const ParamType *rscv_params = nullptr);
};
_MTF_END_NAMESPACE
#endif | abhineet123/MTF | AM/include/mtf/AM/MCRSCV.h | C | bsd-3-clause | 215 |
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/chromeos/timezone/timezone_request.h"
#include <string>
#include "base/json/json_reader.h"
#include "base/metrics/histogram.h"
... | patrickm/chromium.src | chrome/browser/chromeos/timezone/timezone_request.cc | C++ | bsd-3-clause | 15,268 |
/*
FreeRTOS V7.6.0 - Copyright (C) 2013 Real Time Engineers Ltd.
All rights reserved
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
***************************************************************************
* ... | jedediahfrey/STM32F4-Discovery_FW_V1.1.0_Makefiles | FreeRTOS/FreeRTOS/Demo/Common/Full/death.c | C | bsd-3-clause | 9,302 |
[clappr](../../index.md) / [io.clappr.player.base](../index.md) / [InternalEvent](index.md) / [DID_DESTROY](./-d-i-d_-d-e-s-t-r-o-y.md)
# DID_DESTROY
`DID_DESTROY`
### Inherited Properties
| Name | Summary |
|---|---|
| [value](value.md) | `val value: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/... | clappr/clappr-android | doc/clappr/io.clappr.player.base/-internal-event/-d-i-d_-d-e-s-t-r-o-y.md | Markdown | bsd-3-clause | 342 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="lang:clipboard.copy" conte... | statsmodels/statsmodels.github.io | v0.13.0/generated/statsmodels.tsa.ar_model.AutoRegResults.wald_test_terms.html | HTML | bsd-3-clause | 23,834 |
package com.krishagni.catissueplus.core.biospecimen.events;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import com.krishagni.catissueplus.core.administrative.events.StorageLocationSummary;
import com.krishagni.catissueplus.core.common.events.UserSummary;
import com.krishagni.catissueplu... | krishagni/openspecimen | WEB-INF/src/com/krishagni/catissueplus/core/biospecimen/events/SpecimenAliquotsSpec.java | Java | bsd-3-clause | 5,811 |
{% load i18n %}
<table class="table table-bordered table-striped table-wrapped" data-table data-b-filter="false">
<thead>
<tr>
<th>{% trans "Name" %}</th>
<th>{% trans "Version" %}</th>
</tr>
</thead>
<tbody>
{% for entry in software_info %}
<tr>
... | MPIB/Lagerregal | templates/devicedata/software_info.html | HTML | bsd-3-clause | 468 |
PKG_NAME = lz4
PKG_VERS = 1.7.5
PKG_EXT = tar.gz
PKG_DIST_NAME = v$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://github.com/lz4/lz4/archive/
PKG_DIR = $(PKG_NAME)-$(PKG_VERS)
DEPENDS =
HOMEPAGE = https://github.com/lz4/lz4
COMMENT = LZ4 is lossless compression algorithm, providing compression speed at 400 MB/s per c... | saschpe/spksrc | cross/lz4/Makefile | Makefile | bsd-3-clause | 547 |
// $Id: MainClass.java,v 1.6 2003/10/07 21:46:08 idgay Exp $
/* tab:4
* "Copyright (c) 2000-2003 The Regents of the University of California.
* All rights reserved.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation for any purpose, without fee, and without writte... | fresskarma/tinyos-1.x | tools/java/net/tinyos/tinydb/topology/MainClass.java | Java | bsd-3-clause | 4,833 |
## The Unicode Standard, Unicode Character Database, Version 11.0.0
### Unicode Character Database
```
UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE
Unicode Data Files include all data files under the directories
http://www.unicode.org/Public/, http://www.unicode.org/reports/,
http://www.unicode.org/cldr... | imsweb/naaccr-geocoder-review | jre/jre-12/legal/java.base/unicode.md | Markdown | bsd-3-clause | 2,957 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using System.IO;
using System.Collections.Specialized;
using System.Security.Cryptography;
using System.Web;
namespace BotR.API {
public class BotRAPI {
private string _apiURL = "";
... | bitsontherun/botr-api-dotnet | BotRAPI.cs | C# | bsd-3-clause | 5,584 |
/* prevent execution of jQuery if included more than once */
if(typeof window.jQuery == "undefined") {
/*
* jQuery 1.1.2 - New Wave Javascript
*
* Copyright (c) 2007 John Resig (jquery.com)
* Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses.
*
* $Date: 2007-04-03 22:27:21 $
* $... | NCIP/eagle | WebRoot/js/lib/jquery.js | JavaScript | bsd-3-clause | 59,266 |
# Author: Immanuel Bayer
# License: BSD 3 clause
import ffm
import numpy as np
from .base import FactorizationMachine
from sklearn.utils.testing import assert_array_equal
from .validation import check_array, assert_all_finite
class FMRecommender(FactorizationMachine):
""" Factorization Machine Recommender with ... | ibayer/fastFM-fork | fastFM/bpr.py | Python | bsd-3-clause | 2,859 |
package me.hatter.tools.resourceproxy.commons.io;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
public class FilePrintWriter extends PrintWriter {
public FileP... | KingBowser/hatter-source-code | resourceproxy/commons/src/me/hatter/tools/resourceproxy/commons/io/FilePrintWriter.java | Java | bsd-3-clause | 646 |
#include <stdlib.h>
#include <stdio.h>
#include <utp.h>
#include <utp.c>
int test()
{
return -1;
}
int main(int argc, char ** argv)
{
if (argc != 2) {
fprintf(stderr, "usage: server <PORT>\n");
return EXIT_FAILURE;
}
int port = atoi(argv[1]);
printf("using port = %i\n", port);
... | pxqr/utp | tests/server.c | C | bsd-3-clause | 1,675 |
Copyright 2017 Roman Dodin
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions ... | hellt/nokdoc | LICENSE.md | Markdown | bsd-3-clause | 1,456 |
/*
* mplsred.h
*
* Copyright 2010 Daniel Mende <dmende@ernw.de>
*/
/*
* 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 ab... | kholia/Loki | include/mplsred.h | C | bsd-3-clause | 2,168 |
#include "torch-moveit.h"
#include <moveit/planning_scene_interface/planning_scene_interface.h>
#include "utils.h"
typedef std::shared_ptr<moveit_msgs::CollisionObject> CollisionObjectPtr;
MOVIMP(CollisionObjectPtr*, CollisionObject, new)()
{
CollisionObjectPtr *p = new CollisionObjectPtr(new moveit_msgs::Collision... | Xamla/torch-moveit | src/collision_object.cpp | C++ | bsd-3-clause | 2,089 |
// Generated by delombok at Sat Jun 11 11:12:44 CEST 2016
public final class Zoo {
private final String meerkat;
private final String warthog;
public Zoo create() {
return new Zoo("tomon", "pumbaa");
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
Zoo(final String meerkat... | AlexejK/lombok-intellij-plugin | testData/after/value/ValueAndBuilder93.java | Java | bsd-3-clause | 3,489 |
<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>relative_humidity_from_dewpoint — MetP... | metpy/MetPy | v0.11/api/generated/metpy.calc.relative_humidity_from_dewpoint.html | HTML | bsd-3-clause | 17,016 |
<?php
/*
* This file is part of the codeliner/ginger-plugin-installer package.
* (c) Alexander Miertsch <kontakt@codeliner.ws>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
return array(
); | gingerwfms/ginger-plugin-installer | config/module.config.php | PHP | bsd-3-clause | 284 |
package ru.ac.uniyar.dots;
import android.app.Application;
import android.test.ApplicationTestCase;
/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() {
super... | ivparamonov/android-course-examples | dots/app/src/androidTest/java/ru/ac/uniyar/dots/ApplicationTest.java | Java | bsd-3-clause | 348 |
---
layout: organization
category: local
title: St. Helens Church
impact_area: Human Rights
keywords:
location_services:
location_offices:
website: sthelen.org
description:
mission: |
Support group for the physically challenged/ community service organization
cash_grants:
grants:
service_opp:
services:
le... | flipside-org/penny-harvest | _posts/organizations/2015-01-12-O1202.md | Markdown | bsd-3-clause | 602 |
<!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" xml:lang="en" lang="en" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Kontrollb... | ithoq/kontrollbase | includes/graphs/host-graphs-14.php | PHP | bsd-3-clause | 669,494 |
Order.class_eval do
after_create :create_tax_charge!
alias original_generate_order_number generate_order_number
def generate_order_number
return original_generate_order_number unless Spree::Config[:running_order_numbers]
year = Time.now.year
if last = Order.last
num = last.number[5..9].to_... | ArjanL/spree-vat-fix | app/models/order_decorator.rb | Ruby | bsd-3-clause | 1,533 |
using Microsoft.Extensions.DependencyInjection;
using OrchardCore.Email.Workflows.Activities;
using OrchardCore.Email.Workflows.Drivers;
using OrchardCore.Modules;
using OrchardCore.Workflows.Helpers;
namespace OrchardCore.Email.Workflows
{
[RequireFeatures("OrchardCore.Workflows")]
public class Startup : Star... | xkproject/Orchard2 | src/OrchardCore.Modules/OrchardCore.Email/Workflows/Startup.cs | C# | bsd-3-clause | 509 |
#------------------------------------------------------------------------------
# Copyright (c) 2007, Riverbank Computing Limited
# All rights reserved.
#
# This software is provided without warranty under the terms of the BSD license.
# However, when used with the GPL version of PyQt the additional terms described in ... | geggo/pyface | pyface/ui/qt4/python_editor.py | Python | bsd-3-clause | 6,248 |
#include <iostream>
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>
#include <errno.h>
using namespace std;
int main(int argc, char** argv)
{
if(argc <= 1)
{
cout << "Nothing passed in to argv." << endl;
... | cdixi001/rshell | src/dir_code.cpp | C++ | bsd-3-clause | 991 |
/* $OpenBSD: tls_server.c,v 1.4 2015/02/07 06:19:26 jsing Exp $ */
/*
* Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice a... | GaloisInc/hacrypto | src/C/libressl/libressl-2.1.6/tls/tls_server.c | C | bsd-3-clause | 3,555 |
import argparse
import glob
import hashlib
import json
import os
IRMAS_INDEX_PATH = '../mirdata/indexes/irmas_index.json'
def md5(file_path):
"""Get md5 hash of a file.
Parameters
----------
file_path: str
File path.
Returns
-------
md5_hash: str
md5 hash of data in file_... | mir-dataset-loaders/mirdata | scripts/legacy/make_irmas_index.py | Python | bsd-3-clause | 6,590 |
/**************************************************************************************
* Copyright (c) 2013-2015, Finnish Social Science Data Archive/University of Tampere *
* *
* All rights reserved. ... | henrisu/metka | metka/src/main/webapp/resources/js/modules/uiLocalization.js | JavaScript | bsd-3-clause | 17,066 |
# frozen_string_literal: true
require 'rack/handler'
module Rack
module Handler
module Puma
DEFAULT_OPTIONS = {
:Verbose => false,
:Silent => false
}
def self.config(app, options = {})
require 'puma'
require 'puma/configuration'
require 'puma/log_write... | puma/puma | lib/rack/handler/puma.rb | Ruby | bsd-3-clause | 3,562 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>SetStartupInfo</title>
<meta http-equiv="Content-Type" Content="text/html; charset=Windows-1251">
<link rel="stylesheet" type="text/css" href="../../styles/styles.css">
<script language="javascript" src='../links.js' type="text/javascr... | data-man/FarAS | enc/enc_rus/meta/exported_functions/setstartupinfo.html | HTML | bsd-3-clause | 2,279 |
/*
* Copyright (c) 2005, Regents of the University of California
* 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
* ... | BayesianLogic/blog | src/main/java/blog/model/AtomicFormula.java | Java | bsd-3-clause | 5,685 |
class RenameCurrencyTable < ActiveRecord::Migration
def change
rename_table :currencies, :spree_currencies
end
end
| coupling/spree_multi_currency | db/migrate/20120605110806_rename_currency_table.rb | Ruby | bsd-3-clause | 123 |
import unittest
import time
import pprint
import logging
import scanner.logSetup as logSetup
import pyximport
print("Have Cython")
pyximport.install()
import dbPhashApi
class TestCompareDatabaseInterface(unittest.TestCase):
def __init__(self, *args, **kwargs):
logSetup.initLogging()
super().__init__(*args,... | fake-name/IntraArchiveDeduplicator | Tests/Test_db_BKTree_Compare.py | Python | bsd-3-clause | 1,765 |
require_relative '../../spec_helper'
describe '/api/assessments' do
before do
login_to_environment
end
context 'GET /api/assessments' do
it 'returns a list of assessments' do
assessments = Controls.assessments
assessments.each do |assessment|
expect(assessment).to be_kind_of(Control... | erran/controls.rb | spec/controls/client/assessments_spec.rb | Ruby | bsd-3-clause | 822 |
from numpy import array, zeros, ones, sqrt, ravel, mod, random, inner, conjugate
from scipy.sparse import csr_matrix, csc_matrix, coo_matrix, bmat, eye
from scipy import rand, mat, real, imag, linspace, hstack, vstack, exp, cos, sin, pi
from pyamg.util.linalg import norm
import pyamg
from scipy.optimize import fminboun... | pombreda/pyamg | Examples/ComplexSymmetric/one_D_helmholtz.py | Python | bsd-3-clause | 3,892 |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE762_Mismatched_Memory_Management_Routines__new_free_struct_54a.cpp
Label Definition File: CWE762_Mismatched_Memory_Management_Routines__new_free.label.xml
Template File: sources-sinks-54a.tmpl.cpp
*/
/*
* @description
* CWE: 762 Mismatched Memory Management Rout... | JianpingZeng/xcc | xcc/test/juliet/testcases/CWE762_Mismatched_Memory_Management_Routines/s07/CWE762_Mismatched_Memory_Management_Routines__new_free_struct_54a.cpp | C++ | bsd-3-clause | 2,842 |
<?php
namespace backend\controllers;
use Yii;
use backend\models\Status;
use backend\models\search\StatusSearch;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
use yii\filters\AccessControl;
use common\models\PermissionHelpers;
/**
* StatusController implements the CRUD actio... | AntoshaPro/intranet.portal | backend/controllers/StatusController.php | PHP | bsd-3-clause | 4,340 |
from bluebottle.projects.serializers import ProjectPreviewSerializer
from bluebottle.quotes.serializers import QuoteSerializer
from bluebottle.slides.serializers import SlideSerializer
from bluebottle.statistics.serializers import StatisticSerializer
from rest_framework import serializers
class HomePageSerializer(ser... | jfterpstra/bluebottle | bluebottle/homepage/serializers.py | Python | bsd-3-clause | 554 |
/*
Copyright (c) 2015, Kripasindhu Sarkar
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and th... | giacomodabisias/opendetection | common/include/od/common/pipeline/ObjectDetector.h | C | bsd-3-clause | 5,519 |
/**************************************************************************/
/* CONFIDENTIAL AND PROPRIETARY SOURCE CODE */
/* OF NETSCAPE COMMUNICATIONS CORPORATION */
/* */
/* Copyright... | jvirkki/heliod | src/server/base/dbtbase.h | C | bsd-3-clause | 55,644 |
/*
Copyright (c) 2010 Anders Bakken
Copyright (c) 2010 Donald Carr
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 ... | sirspudd/tokoloshmediabeast | tail/phononbackend.h | C | bsd-3-clause | 2,876 |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>File: INDEX.rd... | myGrid/methodbox | vendor/plugins/annotations/doc/INDEX_rdoc.html | HTML | bsd-3-clause | 5,276 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="lang:clipboard.copy" conte... | statsmodels/statsmodels.github.io | v0.12.1/generated/statsmodels.tsa.vector_ar.var_model.FEVD.plot.html | HTML | bsd-3-clause | 18,870 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="lang:clipboard.copy" conte... | statsmodels/statsmodels.github.io | v0.12.2/generated/statsmodels.tsa.vector_ar.var_model.VARResults.cov_params.html | HTML | bsd-3-clause | 18,217 |
{% extends "tournamentcontrol/competition/season.html" %}
{% load i18n tz %}
{% block content %}
<h1>{% trans "Daily Run Sheets" %}</h1>
<ul>
{% for date in dates %}
<li><a href="{% url application.name|add:":runsheet" competition=competition.slug season=season.slug datestr=date|date:"Ymd" %}">{{ date }}</a></l... | goodtune/vitriolic | tournamentcontrol/competition/templates/tournamentcontrol/competition/runsheet_list.html | HTML | bsd-3-clause | 360 |
/*
* Copyright (C) 2017-present Frederic Meyer. All rights reserved.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "vt100.h"
#include <stddef.h>
struct vt100_term* vt100_init(struct vt100_term* this, int buffer_width, int buffer_height) {
... | flerovii/renaOS | kernel/klib/vt100.c | C | bsd-3-clause | 8,238 |
<?php
namespace Application\ViewModel;
use Application\Domain\Factory\Factory;
use Zend\View\Model\ViewModel;
class MemberDetailViewModel extends ViewModel
{
private $userId;
public function __construct($userId)
{
parent::__construct();
$this->userId = $userId;
$this->setViewDat... | SeiYukinariEc/ProcessManagement | module/Application/src/Application/ViewModel/MemberDetailViewModel.php | PHP | bsd-3-clause | 765 |
/*
* Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com)
* Copyright (C) 2004, 2005, 2006 Apple Computer, 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 s... | ric2b/Vivaldi-browser | chromium/third_party/blink/renderer/platform/graphics/image.cc | C++ | bsd-3-clause | 16,820 |
<?php
/**
* CoolMS2 Twitter Bootstrap Module (http://www.coolms.com/)
*
* @link http://github.com/coolms/twbs for the canonical source repository
* @copyright Copyright (c) 2006-2015 Altgraphic, ALC (http://www.altgraphic.com)
* @license http://www.coolms.com/license/new-bsd New BSD License
* @author Dm... | coolms/twbs | src/Form/View/Helper/FormText.php | PHP | bsd-3-clause | 1,532 |
//======================================================================================
// Copyright 5AM Solutions Inc, Yale University
//
// Distributed under the OSI-approved BSD 3-Clause License.
// See http://ncip.github.com/caarray/LICENSE.txt for details.
//=======================================================... | NCIP/caarray | software/caarray-common.jar/src/main/java/gov/nih/nci/caarray/magetab/TermSource.java | Java | bsd-3-clause | 3,123 |
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "sky/engine/tonic/dart_dependency_catcher.h"
#include "sky/engine/tonic/dart_library_loader.h"
namespace blink {
DartDependencyCatcher::DartDe... | chinmaygarde/mojo | sky/engine/tonic/dart_dependency_catcher.cc | C++ | bsd-3-clause | 656 |
/*============================================================================
WCSLIB 7.6 - an implementation of the FITS WCS standard.
Copyright (C) 1995-2021, Mark Calabretta
This file is part of WCSLIB.
WCSLIB is free software: you can redistribute it and/or modify it under the
terms of the GNU Lesser Ge... | aleksandr-bakanov/astropy | cextern/wcslib/C/log.h | C | bsd-3-clause | 5,663 |
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package profiles
import (
"fmt"
"os"
"runtime"
"sort"
"strconv"
"strings"
"time"
"v.io/x/lib/envvar"
)
// Target represents specification for t... | vanadium/go.jiri | profiles/target.go | GO | bsd-3-clause | 10,692 |
<?php
namespace Avaliacao\Controller;
use Avaliacao\Entity\Debito;
use Avaliacao\Entity\Veiculo;
use Avaliacao\Service\VeiculoService;
use Zend\Hydrator\ClassMethods;
use Zend\Mvc\Controller\AbstractRestfulController;
use Zend\View\Model\JsonModel;
/**
* Class ApiVeiculoController
* @package Avaliacao\Controller... | chacal88/zf3-intermediario | module/Avaliacao/src/Controller/ApiVeiculoController.php | PHP | bsd-3-clause | 1,217 |
{% extends "layout.html" %}
{% block main %}
<input type="hidden" id="surveyRedirectURL" value="{{redirect_url}}" />
<div class="modal fade" id="confirmIdentityModal" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="mod... | uwcirg/true_nth_usa_portal | portal/templates/confirm_identity.html | HTML | bsd-3-clause | 1,317 |
//////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2011, Image Engine Design Inc. All rights reserved.
// Copyright (c) 2012, John Haddon. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided... | ImageEngine/gaffer | src/GafferArnoldPlugin/OutputDriver.cpp | C++ | bsd-3-clause | 11,163 |
extern zend_class_entry *ice_mvc_service_ce;
ZEPHIR_INIT_CLASS(Ice_Mvc_Service);
PHP_METHOD(Ice_Mvc_Service, setModel);
PHP_METHOD(Ice_Mvc_Service, getModel);
PHP_METHOD(Ice_Mvc_Service, __call);
ZEND_BEGIN_ARG_INFO_EX(arginfo_ice_mvc_service_setmodel, 0, 0, 1)
ZEND_ARG_INFO(0, model)
ZEND_END_ARG_INFO()
ZEND_BEG... | mruz/framework | build/php8/ice/mvc/service.zep.h | C | bsd-3-clause | 944 |
# -*-coding:Utf-8 -*
# Copyright (c) 2010-2017 LE GOFF Vincent
# 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
... | vlegoff/tsunami | src/primaires/scripting/commandes/scripting/alerte_info.py | Python | bsd-3-clause | 3,352 |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
def helloworld():
"""
Hello world routine !
"""
print("Hello world!")
| aboucaud/python-euclid2016 | euclid/euclid/hello.py | Python | bsd-3-clause | 135 |
#include "allocv/al_VideoCapture.hpp"
/*
From opencv2/highgui/highgui.hpp:
class CV_EXPORTS_W VideoCapture
{
public:
CV_WRAP VideoCapture();
CV_WRAP VideoCapture(const string& filename);
CV_WRAP VideoCapture(int device);
virtual ~VideoCapture();
CV_WRAP virtual bool open(const string& filename);
... | AlloSphere-Research-Group/AlloSystem | allocv/src/al_VideoCapture.cpp | C++ | bsd-3-clause | 7,259 |
package com.github.dandelion.gua.core.field;
public enum EventTrackingField implements AnalyticsField, AnalyticsCreateField {
@AnalyticsFieldControl(AnalyticsFieldControl.Policy.TEXT) eventCategory,
@AnalyticsFieldControl(AnalyticsFieldControl.Policy.TEXT) eventAction,
@AnalyticsFieldControl(AnalyticsField... | dandelion/dandelion-gua | gua-core/src/main/java/com/github/dandelion/gua/core/field/EventTrackingField.java | Java | bsd-3-clause | 432 |
/*L
* Copyright Georgetown University, Washington University.
*
* Distributed under the OSI-approved BSD 3-Clause License.
* See http://ncip.github.com/cab2b/LICENSE.txt for details.
*/
package edu.wustl.cab2b.server.analyticalservice;
import java.io.InputStream;
import java.util.ArrayList;
import jav... | NCIP/cab2b | software/cab2b/src/java/server/edu/wustl/cab2b/server/analyticalservice/EntityToAnalyticalServiceMapper.java | Java | bsd-3-clause | 11,873 |
/*
* 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 com.jtex.plot;
/**
*
* @author hios
*/
public interface ScatterCanvas {
public ScatterOptions getScatterOptions();
... | luttero/Maud | src/com/jtex/plot/ScatterCanvas.java | Java | bsd-3-clause | 380 |
/* $NetBSD: rpc_soc.c,v 1.6 2000/07/06 03:10:35 christos Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
* unrestricted use provided that this legend is included on all tape
* media and as a part of the software program in whole or part. Users
* may copy or modify Sun RPC without ... | jhbsz/OSI-OS | Operating-System/Libraries/libc/rpc/rpc_soc.c | C | bsd-3-clause | 13,887 |
/*
* Copyright 2004-2009, IM Kit Team. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _LOGGER_H
#define _LOGGER_H
void logmsg(const char* message, ...);
#endif // _LOGGER_H
| HaikuArchives/IMKit | libs/libjabber/Logger.h | C | bsd-3-clause | 213 |
<?php
/**
* osCommerce Website
*
* @copyright (c) 2019 osCommerce; https://www.oscommerce.com
* @license MIT; https://www.oscommerce.com/license/mit.txt
*/
namespace osCommerce\OM\Core\Site\Website\SQL\Partner;
use osCommerce\OM\Core\Registry;
class GetCategories
{
public static function execute(array $data... | haraldpdl/oscommerce_website | osCommerce/OM/Custom/Site/Website/SQL/Partner/GetCategories.php | PHP | bsd-3-clause | 2,889 |
#pragma once
#include <agency/detail/config.hpp>
#include <agency/detail/requires.hpp>
#include <agency/future.hpp>
#include <agency/execution/executor/executor_traits/executor_future.hpp>
#include <agency/execution/executor/executor_traits/is_executor.hpp>
#include <utility>
#include <type_traits>
namespace agency
... | egaburov/agency | agency/execution/executor/customization_points/make_ready_future.hpp | C++ | bsd-3-clause | 2,217 |
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE FunctionalDependencies #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE TupleSections #-}
... | bitemyapp/hspec-snap | src/Test/Hspec/Snap.hs | Haskell | bsd-3-clause | 22,986 |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title>statsmodels.sandbox.stats.multicomp.set_remove_subs — statsmodels v0.10.1 documentation</title>
<link rel="stylesheet" href="../_static/nature.css" type="text/css" />
<link rel="stylesheet" href... | statsmodels/statsmodels.github.io | v0.10.1/generated/statsmodels.sandbox.stats.multicomp.set_remove_subs.html | HTML | bsd-3-clause | 9,571 |
/*
* This file is part of the Soletta Project
*
* Copyright (C) 2015 Intel 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 ... | ricardotk/soletta | src/modules/flow/string/string-replace-icu.c | C | bsd-3-clause | 13,088 |
/*
Copyright (c) 2012-2014 The SSDB 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 "server.h"
#include "../util/strings.h"
#include "../util/file.h"
#include "../util/config.h"
#include "../util/log.h"
#include "../util/ip_filt... | iandc/mydb | src/net/server.cpp | C++ | bsd-3-clause | 11,280 |
import { Page } from 'puppeteer';
import Textbox from 'app/element/textbox';
import AuthenticatedPage from 'app/page/authenticated-page';
import { waitForDocumentTitle, waitForUrl, waitWhileLoading } from 'utils/waits-utils';
import Button from 'app/element/button';
import Textarea from 'app/element/textarea';
import {... | all-of-us/workbench | e2e/app/page/profile-page.ts | TypeScript | bsd-3-clause | 3,249 |
// This program sends logging records directly to the server, rather
// than going through the client logging daemon.
#include "ace/SOCK_Connector.h"
#include "ace/Log_Record.h"
#include "ace/Log_Msg.h"
#include "ace/OS_NS_time.h"
#include "ace/OS_NS_stdlib.h"
#include "ace/OS_NS_unistd.h"
#include "ace/CDR_Stream.h"
... | wfnex/openbras | src/ace/ACE_wrappers/netsvcs/clients/Logger/direct_logging.cpp | C++ | bsd-3-clause | 2,682 |
/******************************************************************************
* ____ _ _____ *
* / ___| / \ | ___| C++ *
* | | / _ \ | |_ Actor *
... | Neverlord/stream-simulator | include/source.hpp | C++ | bsd-3-clause | 2,011 |
<?php
namespace app\controllers;
use app\models\User;
use Yii;
use yii\base\InvalidParamException;
use yii\web\BadRequestHttpException;
use yii\web\Controller;
use yii\filters\VerbFilter;
use yii\filters\AccessControl;
use app\models\LoginForm;
use app\models\PasswordResetRequestForm;
use app\models\ResetPasswordForm;... | TaciturnPerson/yii2arsenev | controllers/SiteController.php | PHP | bsd-3-clause | 6,091 |
var $ = require('jquery');
var CoreView = require('backbone/core-view');
var checkAndBuildOpts = require('builder/helpers/required-opts');
var REQUIRED_OPTS = [
'el'
];
module.exports = CoreView.extend({
events: {
'click .js-foo': '_fooHandler'
},
initialize: function (opts) {
checkAndBuildOpts(opts... | CartoDB/cartodb | lib/assets/javascripts/dashboard/helpers/scroll-tofixed-view.js | JavaScript | bsd-3-clause | 920 |
import os
import os.path as op
import pytest
import numpy as np
from numpy.testing import (assert_array_equal, assert_equal, assert_allclose,
assert_array_less, assert_almost_equal)
import itertools
import mne
from mne.datasets import testing
from mne.fixes import _get_img_fdata
from mne im... | bloyl/mne-python | mne/tests/test_transforms.py | Python | bsd-3-clause | 21,423 |
/**
* CArtAgO - DEIS, University of Bologna
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This ... | lsa-pucrs/jason-ros-releases | cartago-2.0.1/src/main/cartago/OpId.java | Java | bsd-3-clause | 2,026 |
<!DOCTYPE html>
<html lang="en" itemscope itemtype="https://schema.org/WebPage">
<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>Vitess / GitHub Workflow</title>
<!-- Webfont -->
... | mapbased/vitess | docs/contributing/github-workflow.html | HTML | bsd-3-clause | 20,308 |
# encoding: UTF-8
# This file is auto-generated from the current state of the database. Instead
# of editing this file, please use the migrations feature of Active Record to
# incrementally modify your database, and then regenerate this schema definition.
#
# Note that this schema.rb definition is the authoritative sou... | magiclabs/alchemy-oauth | spec/dummy/db/schema.rb | Ruby | bsd-3-clause | 12,537 |
package team.gif;
import edu.wpi.first.wpilibj.Joystick;
import edu.wpi.first.wpilibj.buttons.Button;
import edu.wpi.first.wpilibj.buttons.DigitalIOButton;
import edu.wpi.first.wpilibj.buttons.JoystickButton;
import team.gif.commands.*;
public class OI {
public static final Joystick leftStick = new Joystick(... | Team2338/Fumper | src/team/gif/OI.java | Java | bsd-3-clause | 1,352 |
<?php
namespace app\modules\currency\models\ar;
/**
* This is the model class for table "currency".
*
* @property integer $id
* @property string $code
* @property string $short_name
* @property string $sign
*/
class Currency extends \app\modules\core\db\ActiveRecord
{
const EUR = 'EUR';
const RUB = 'RU... | roman444uk/adverts | modules/currency/models/ar/Currency.php | PHP | bsd-3-clause | 1,794 |
from optparse import make_option
from django.core.management.base import BaseCommand, CommandError
from brambling.utils.payment import dwolla_update_tokens
class Command(BaseCommand):
option_list = BaseCommand.option_list + (
make_option(
'--days',
action='store',
des... | j-po/django-brambling | brambling/management/commands/update_tokens.py | Python | bsd-3-clause | 931 |
# -*- coding: utf-8 -*-
"""
.. _tut-set-eeg-ref:
Setting the EEG reference
=========================
This tutorial describes how to set or change the EEG reference in MNE-Python.
.. contents:: Page contents
:local:
:depth: 2
As usual we'll start by importing the modules we need, loading some
:ref:`example dat... | mne-tools/mne-tools.github.io | 0.19/_downloads/0162af27293b0c7e7c35ef85531280ea/plot_55_setting_eeg_reference.py | Python | bsd-3-clause | 10,338 |
///////////////////////////////////////////////////////////////////////////////
// Copyright (C) 2013, PAL Robotics S.L.
//
// 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 reta... | ros-controls/ros_control | hardware_interface/test/posvelacc_command_interface_test.cpp | C++ | bsd-3-clause | 6,470 |
/*
* Copyright Ekagra and SemanticBits, LLC
*
* Distributed under the OSI-approved BSD 3-Clause License.
* See http://ncip.github.com/clinical-connector/LICENSE.txt for details.
*/
package gov.nih.nci.cdmsconnector.c3d.service.globus.resource;
import gov.nih.nci.cdmsconnector.c3d.common.C3DGridServiceConstants;
... | NCIP/clinical-connector | software/C3DGridService/src/gov/nih/nci/cdmsconnector/c3d/service/globus/resource/C3DGridServiceResourceHome.java | Java | bsd-3-clause | 3,275 |
// Copyright 2012 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.
(function() {
"use strict";
var runFunc;
var count = 0;
function getId() {
return "code" + (count++);
}
function text(node) {
var s = "";... | bketelsen/gablog | static/play/play.js | JavaScript | bsd-3-clause | 3,040 |
collectd-activemq-python
========================
Python-based plugin to put simple [ActiveMQ] (http://activemq.apache.org/) stats to [collectd](http://collectd.org)
Data captured includes:
* Queue name
* Number of messages in queue
* Number of consumers
* Counter of enqueued messages
* Counter of dequeued mess... | motech-implementations/nms-deployment | files/collectd/activemq/collectd-activemq-python/README.md | Markdown | bsd-3-clause | 1,624 |
/*
* sound/pas2_mixer.c
*
* Mixer routines for the Pro Audio Spectrum cards.
*
* Copyright by Hannu Savolainen 1993
*
* 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 re... | MarginC/kame | freebsd3/sys/i386/isa/sound/pas2_mixer.c | C | bsd-3-clause | 9,208 |
<?php
namespace tests\models;
use yii\db\ActiveRecord;
/**
* Post
*
* @property integer $id
* @property string $title
* @property string $body
*
* @property string $tagNames
* @property array $imageNames
*
* @property Tag[] $tags
* @property Image[] $images
*/
class Post extends ActiveRecord
{
/**
... | LAV45/yii2-target-behavior | tests/models/Post.php | PHP | bsd-3-clause | 1,120 |
/*******************************************************************************
* Caleydo - Visualization for Molecular Biology - http://caleydo.org
* Copyright (c) The Caleydo Team. All rights reserved.
* Licensed under the new BSD license, available at http://caleydo.org/license
*********************************... | Caleydo/org.caleydo.view.contour | src/main/java/org/caleydo/view/relationshipexplorer/ui/collection/TabularDataCollection.java | Java | bsd-3-clause | 4,540 |
Language provider interface
===========================
This package provides interface for language provider for accessing application languages from any storage for Yii2 Framework.
It's allows to you create multi-language modules for using in Yii2 based application.
As example of integration to module you can see [y... | motion-web-production/yii2-language-provider | README.md | Markdown | bsd-3-clause | 4,566 |
<?php
namespace backend\models\base;
use Yii;
/**
* This is the base model class for table "auth_item_child".
*
* @property string $parent
* @property string $child
*
* @property \backend\models\AuthItem $parent0
* @property \backend\models\AuthItem $child0
*/
class AuthItemChild extends \yii\db\Ac... | derilawlinda/panbum | backend/models/base/AuthItemChild.php | PHP | bsd-3-clause | 1,569 |
var PgQuery = require('bindings')('pg-query');
module.exports = {
parse: function(query) {
var result = PgQuery.parse(query);
if (result.query) {
result.query = JSON.parse(result.query);
}
if (result.error) {
var err = new Error(result.error.message);
err.fileName = result.error.... | zhm/node-pg-query-native | index.js | JavaScript | bsd-3-clause | 588 |
// Replacement for jquery.ui.accordion to avoid dealing with
// jquery.ui theming.
//
// Usage: $('#container').squeezebox(options);
// where the direct child elements of '#container' are
// sequential pairs of header/panel elements, and options
// is an optional object with any of the following properties:
//
// ac... | stephenmcd/jquery-squeezebox | jquery.squeezebox.js | JavaScript | bsd-3-clause | 1,697 |
<?php
namespace console\controllers;
use Yii;
use yii\console\Controller;
class RbacController extends Controller
{
public function actionInit()
{
$auth = Yii::$app->authManager;
////////////////////////////////////////////////////////////////////////////
$org = $auth->createRole('org');
... | xiandalisay/yii2advanced | console/controllers/RbacController.php | PHP | bsd-3-clause | 2,201 |
import base64
import json
from twisted.internet.defer import inlineCallbacks, DeferredQueue, returnValue
from twisted.web.http_headers import Headers
from twisted.web import http
from twisted.web.server import NOT_DONE_YET
from vumi.config import ConfigContext
from vumi.message import TransportUserMessage, TransportE... | praekelt/vumi-go | go/apps/http_api/tests/test_vumi_app.py | Python | bsd-3-clause | 31,622 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.