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
package akka.dispatch import com.typesafe.config.Config import java.util.concurrent.ExecutorService class EventLoopExecutorConfigurator(config: Config, prerequisites: DispatcherPrerequisites) extends ExecutorServiceConfigurator(config, prerequisites) { def createExecutorServiceFactory(id: String): ExecutorServiceF...
unicredit/akka.js
akka-js-actor/js/src/main/scala/akka/dispatch/EventLoopExecutorConfigurator.scala
Scala
bsd-3-clause
461
/******************************************************************************** * * * F o u r - W a y S p l i t t e r * * ...
ldematte/beppe
include/fox/FX4Splitter.h
C
bsd-3-clause
5,923
import os import tempfile from rest_framework import status from hs_core.hydroshare import resource from .base import HSRESTTestCase class TestPublicResourceFlagsEndpoint(HSRESTTestCase): def setUp(self): super(TestPublicResourceFlagsEndpoint, self).setUp() self.tmp_dir = tempfile.mkdtemp() ...
RENCI/xDCIShare
hs_core/tests/api/rest/test_resource_flags.py
Python
bsd-3-clause
3,544
<?php namespace app\models; use Yii; use yii\base\Model; /** * LoginForm is the model behind the login form. * * @property User|null $user This property is read-only. * */ class LoginForm extends Model { public $username; public $password; public $rememberMe = true; private $_user = false; ...
AsenNikolov80/magnet
models/LoginForm.php
PHP
bsd-3-clause
2,195
{-# LANGUAGE PatternSignatures #-} module Main where import GHC.Conc import Control.Exception import Foreign.StablePtr import System.IO import GHC.Conc.Sync (atomicallyWithIO) inittvar :: STM (TVar String) inittvar = newTVar "Hello world" deadlock0 :: STM String deadlock0 = retry deadlock1 :: TVar String -> STM Str...
mcschroeder/ghc
libraries/base/tests/Concurrent/stmio047.hs
Haskell
bsd-3-clause
1,402
/* * net.c * * Network implementation * All network related functions are grouped here * * a Net::DNS like library for C * * (c) NLnet Labs, 2004-2006 * * See the file LICENSE for the license */ #include <ldns/config.h> #include <ldns/ldns.h> #ifdef HAVE_NETINET_IN_H #include <netinet/in.h> #endif #ifdef ...
NLnetLabs/ldns
net.c
C
bsd-3-clause
24,586
<?php /** * UMI.Framework (http://umi-framework.ru/) * * @link http://github.com/Umisoft/framework for the canonical source repository * @copyright Copyright (c) 2007-2013 Umisoft ltd. (http://umisoft.ru/) * @license http://umi-framework.ru/license/bsd-3 BSD-3 License */ namespace utest\toolkit\unit\factor...
Umisoft/umi-framework
tests/utest/toolkit/unit/factory/FactoryTest.php
PHP
bsd-3-clause
7,452
<?php /** * Mol_Util_Stringifier * * @category PHP * @package Mol_Util * @author Matthias Molitor <matthias@matthimatiker.de> * @copyright 2012 Matthias Molitor * @license http://www.opensource.org/licenses/BSD-3-Clause BSD License * @link https://github.com/Matthimatiker/MolComponents * @since 31.10.2012 */...
Matthimatiker/MolComponents
src/Mol/Util/Stringifier.php
PHP
bsd-3-clause
5,050
var Catcher = Class.create({ initialize: function(world) { this.bodyLeft = createBox(world, 570, 450, 5, 35, true, 'catcher', 1.0); this.bodyRight = createBox(world, 630, 450, 5, 35, true, 'catcher', 1.0); this.bodyMiddle = createBox(world, 600, 483, 25, 2, true, 'catcher', 1.0); this.bodyMiddleInside = create...
maseek/maseek-codes
src/quarter-brain/js/catcher.js
JavaScript
bsd-3-clause
2,108
package main import ( "bufio" "flag" "fmt" "github.com/nutrun/lentil" "log" "os" "strings" ) var listener *bool = flag.Bool("listen", false, "Start listener") var help *bool = flag.Bool("help", false, "Show help") var mailto *string = flag.String("mailto", "", "Who to email on failure (comma separated) [submit...
nutrun/glow
main.go
GO
bsd-3-clause
4,385
<?php /** * Created by PhpStorm. * User : xin.zhang * Date : 15/4/20 * Time : 下午1:24 * Email: zhangxinmailvip@foxmail.com */ ?> <!DOCTYPE html> <head> </head> <body> <form onsubmit="return false" id=form_validate class="form-horizontal" novalidate="novalidate"> <input id="countryId" value="<?= $city->coun...
suiuuwebandapp/Web-Backend
backend/views/country/editCity.php
PHP
bsd-3-clause
6,138
/*-------------------------------------------------------------------------- File : isha256.c Author : Hoang Nguyen Hoan Aug. 17, 2014 Desc : SHA-256 computation Copyright (c) 2014, I-SYST inc., all rights reserved Permission to use, copy, modify, and distribute this software for any purpose with or wi...
I-SYST/EHAL
src/isha256.c
C
bsd-3-clause
7,819
################################################################ # File: e621.py # Title: MANGAdownloader's site scraper # Author: ASL97/ASL <asl97@outlook.com> # Version: 1 # Notes : DON'T EMAIL ME UNLESS YOU NEED TO # TODO: *blank* ################################################################ import misc # used ...
asl97/MANGAdownloader
scrapers/e621.py
Python
bsd-3-clause
1,343
package engine import ( "os" "testing" "time" "golang.org/x/net/context" "github.com/keybase/client/go/libkb" "github.com/keybase/clockwork" "github.com/stretchr/testify/require" ) func TestLoginOffline(t *testing.T) { tc := SetupEngineTest(t, "login") defer tc.Cleanup() u1 := CreateAndSignupFakeUser(tc,...
keybase/client
go/engine/login_offline_test.go
GO
bsd-3-clause
4,525
// // viztool - a tool for visualizing collections of java classes // Copyright (c) 2001-2013, Michael Bayne - All rights reserved. // http://github.com/samskivert/viztool/blob/master/LICENSE package com.samskivert.viztool; /** * A placeholder class that contains a reference to the log object used by * the viztool ...
samskivert/viztool
src/main/java/com/samskivert/viztool/Log.java
Java
bsd-3-clause
972
#!/usr/bin/env python import setuptools # Hack to prevent stupid TypeError: 'NoneType' object is not callable error on # exit of python setup.py test # in multiprocessing/util.py _exit_function when # running python setup.py test (see # http://www.eby-sarna.com/pipermail/peak/2010-May/003357.html) try: i...
orwell-int/agent-server-game-python
setup.py
Python
bsd-3-clause
1,239
/* I/O interface class for loading, storing and manipulating optical flow fields in KITTI format. This file requires libpng and libpng++ to be installed (for accessing png files). More detailed format specifications can be found in the readme.txt (c) Andreas Geiger */ #ifndef IO_FLOW_H #define IO_FLOW_H #i...
ivankreso/stereo-vision
reconstruction/evaluation/io_flow.h
C
bsd-3-clause
10,036
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "ABI44_0_0SliderMeasurementsManager.h" #include <fbjni/fbjni.h> #include <ABI44_0_0React/ABI44_0_0jni/ReadableNativeMap.h...
exponentjs/exponent
ios/versioned-react-native/ABI44_0_0/ReactNative/ReactCommon/react/renderer/components/slider/platform/android/react/renderer/components/slider/ABI44_0_0SliderMeasurementsManager.cpp
C++
bsd-3-clause
1,974
<?php /** * @link http://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license http://www.yiiframework.com/license/ */ namespace Date; use Date\assets\AppAsset; use Yii; /** * //Date range picker * $('#reservation').daterangepicker(); * //Date range picker with time picker * $('#r...
little-bit-shy/yii-advanced-app-2.0.9
common/widgets/date/Date.php
PHP
bsd-3-clause
2,888
/* * Copyright (c) 1994, 1995. Netscape Communications Corporation. All * rights reserved. * * Use of this software is governed by the terms of the license agreement for * the Netscape Communications or Netscape Comemrce Server between the * parties. */ /* ----------------------------------------------------...
wfnex/openbras
src/ace/ACE_wrappers/apps/JAWS/clients/WebSTONE/src/nsapi-includes/base/ereport.h
C
bsd-3-clause
2,848
/*L * Copyright Oracle Inc * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/cadsr-cgmdr-nci-uk/LICENSE.txt for details. */ /* * eXist Open Source Native XML Database * Copyright (C) 2001-04 The eXist Project * http://exist-db.org * * This program is ...
NCIP/cadsr-cgmdr-nci-uk
src/org/exist/storage/btree/SetParentLoggable.java
Java
bsd-3-clause
2,856
# -*- coding: utf8 -*- """ .. module:: burpui.misc.backend.burp2 :platform: Unix :synopsis: Burp-UI burp2 backend module. .. moduleauthor:: Ziirish <hi+burpui@ziirish.me> """ import re import os import time import json from collections import OrderedDict from .burp1 import Burp as Burp1 from .interface impo...
ziirish/burp-ui
burpui/misc/backend/burp2.py
Python
bsd-3-clause
30,550
<?php /* * Copyright 2007-2011 Charles du Jeu <contact (at) cdujeu.me> * This file is part of AjaXplorer. * * AjaXplorer is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the Lic...
Tlapi/Noodle
public/ajaxplorer/plugins/access.fs/test.fsAccess.php
PHP
bsd-3-clause
2,083
<?php namespace frontend\controllers; use Yii; use frontend\models\Produse; use frontend\models\Produse_Search; use frontend\models\LogStergere; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; use frontend\models\Amanetare; use yii\web\UploadedFile; use yii\helpers\Json; /** ...
Mitza1993/advanced
frontend/controllers/ProduseController.php
PHP
bsd-3-clause
6,312
from enum import Enum from typing import List, Any, cast import yass from tutorial.base_types_external import Integer # shows how to use contract internal base types class ExpirationHandler(yass.BaseTypeHandler): def readBase(self, reader: yass.Reader) -> 'Expiration': return Expiration( rea...
softappeal/yass
py3/tutorial/generated/contract/__init__.py
Python
bsd-3-clause
2,223
import re from nexusmaker.tools import natsort is_combined_cognate = re.compile(r"""(\d+)([a-z]+)""") class CognateParser(object): UNIQUE_IDENTIFIER = "u_" def __init__(self, strict=True, uniques=True, sort=True): """ Parses cognates. - strict (default=True): remove dubious cognat...
SimonGreenhill/NexusMaker
nexusmaker/CognateParser.py
Python
bsd-3-clause
2,824
#!/usr/bin/env python # Copyright (c) 2014 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Tests for analyzer """ import json import TestGyp found = 'Found dependency' found_all = 'Found dependency (all)' not_found = 'No depend...
pnigos/gyp
test/analyzer/gyptest-analyzer.py
Python
bsd-3-clause
13,761
# Join model between {Mdm::Service} and {Mdm::Task} that signifies that the {#task} found the {#service}. class Mdm::TaskService < ApplicationRecord # # Associations # # The {Mdm::Service} found by {#task}. belongs_to :service, class_name: 'Mdm::Service', inverse_of: :task_services ...
rapid7/metasploit_data_models
app/models/mdm/task_service.rb
Ruby
bsd-3-clause
858
/* * Copyright (c) 2004-2021, University of Oslo * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this * list...
dhis2/dhis2-android-sdk
core/src/androidTest/java/org/hisp/dhis/android/testapp/fileresource/FileResourceCollectionRepositoryMockIntegrationShould.java
Java
bsd-3-clause
8,166
<!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>Limitless - Responsive Web Application Kit by Eugene Kopyov</title> <!-- Global stylesheets --> <link href="https://font...
luizaranda/sistema
public/sistema/limitless/dimple_area_horizontal.html
HTML
bsd-3-clause
52,076
#include "stdafx.h" #include "ThreadManager.h" #include "Ini.h" #include "SceneThread.h" #include "SceneManager.h" #include "Config.h" ThreadManager* g_pThreadManager = NULL ; ThreadManager::ThreadManager() { __ENTER_FUNCTION m_pThreadPool = new ThreadPool ; Assert( m_pThreadPool ) ; ...
viticm/web-pap
server/Server/Main/ThreadManager.cpp
C++
bsd-3-clause
4,176
/*================================================================================ Copyright (c) 2009 VMware, Inc. All Rights Reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must ...
mikem2005/vijava
src/com/vmware/vim25/ArrayOfExtendedEventPair.java
Java
bsd-3-clause
2,131
## things I need to do - flesh out a "save" methodology (including remote storage -- e.g. AWS S3) - allow for PUT requests
henderjon/filemarshal
TODO.md
Markdown
bsd-3-clause
127
// // Copyright (c) 2014-2016 Brian W. Wolter, All rights reserved. // Ego - an embedded Go parser / compiler // // 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 th...
bww/Ego
scanner.go
GO
bsd-3-clause
25,845
// // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2010 Alessandro Tasora // All rights reserved. // // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file at the top level of the distribution // and at http://projectchrono.org/license-chrono.txt. // #i...
scpeters/chrono
src/core/ChChrono.h
C
bsd-3-clause
3,018
/** * @docs https://docs.mollie.com/reference/v2/refunds-api/cancel-refund */ import createMollieClient from '@mollie/api-client'; const mollieClient = createMollieClient({ apiKey: 'test_dHar4XY7LxsDOtmnkVtjNVWXLSlXsM' }); (async () => { try { const status: boolean = await mollieClient.paymentRefunds.cancel('...
mollie/mollie-api-node
examples/refunds/cancel.ts
TypeScript
bsd-3-clause
450
#include <stdlib.h> #include "FCam/Lens.h" #include "FCam/Frame.h" #include "Debug.h" namespace FCam { Lens::FocusAction::FocusAction(Lens *l) : lens(l) { focus = 0.0f; speed = lens->maxFocusSpeed(); latency = lens->focusLatency(); time = 0; } Lens::FocusAction:...
mattrubin/CameraAssist
external/FCam/Lens.cpp
C++
bsd-3-clause
3,547
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model app\models\PostSearch */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="post-search"> <?php $form = ActiveForm::begin([ 'action' => ['index'], 'method' => 'get', ]); ?> <?= $form...
monroesummer/myblog.loc
modules/admin/views/post/_search.php
PHP
bsd-3-clause
755
#ifndef _CURSES_H #define _CURSES_H #include <ansi.h> /* Lots of junk here, not packaged right. */ extern char termcap[]; extern char tc[]; extern char *ttytype; extern char *arp; extern char *cp; extern char *cl; extern char *cm; extern char *so; extern char *se; extern char /* nscrn[ROWS][COLS], cscrn[ROWS][COLS]...
macminix/MacMinix
include/curses.h
C
bsd-3-clause
1,093
{-# LANGUAGE RecordWildCards #-} module Main (main) where import GeoLabel (toString, fromString') import GeoLabel.Strings (format, parse) import GeoLabel.Strings.Wordlist (wordlist) import GeoLabel.Geometry.QuadTree (Subface(A,B,C,D)) import GeoLabel.Geometry.Point (lengthOf, (<->)) import GeoLabel.Geometry.Conversio...
wyager/GeoLabel
src/GeoLabel/Test.hs
Haskell
bsd-3-clause
2,776
/* Catalog */ #select_city_chosen { width: 100% !important; } #companyform_categories_chosen { width: 100% !important; } .has-error > .chosen-container { border: 1px solid #a94442 !important; border-radius: 5px; }
baranov-nt/ektscp
frontend/modules/bussness/assets/css/bussness.css
CSS
bsd-3-clause
232
///////////////////////////////////////////////////////////////////////////// // Name: src/generic/listctrl.cpp // Purpose: generic implementation of wxListCtrl // Author: Robert Roebling // Vadim Zeitlin (virtual list control support) // Copyright: (c) 1998 Robert Roebling // Licence: ...
ric2b/Vivaldi-browser
update_notifier/thirdparty/wxWidgets/src/generic/listctrl.cpp
C++
bsd-3-clause
169,842
--- title : AL layout : datapage permalink : /states/AL/ --- <a name="top"></a> [Project Homepage]({{ site.baseurl}}/) [AL-01](#AL-01) [AL-02](#AL-02) [AL-03](#AL-03) [AL-04](#AL-04) [AL-05](#AL-05) [AL-06](#AL-06) [AL-07](#AL-07) # AL -- Sen. Richard C. Shelby (R) and Sen. Doug Jones (D) ## Committees Rich...
mbaumer/us_hep_funding
docs/_states/AL.md
Markdown
bsd-3-clause
20,416
{-| Module : Reactive.DOM.Children.MonotoneList Description : Definition of the MonotoneList children container. Copyright : (c) Alexander Vieth, 2016 Licence : BSD3 Maintainer : aovieth@gmail.com Stability : experimental Portability : non-portable (GHC only) -} {-# LANGUAGE StandaloneDeriving #-} {-# LA...
avieth/reactive-dom
Reactive/DOM/Children/MonotoneList.hs
Haskell
bsd-3-clause
1,438
//============================================================================= /** * @file main.cpp * * This is the main program - it just hands control off to the * process instance to figure out what to do. This program only * runs on Win32. * * @author Gonzalo Diethelm <gonzo@cs.wustl.edu> and Stev...
wfnex/openbras
src/ace/ACE_wrappers/examples/NT_Service/main.cpp
C++
bsd-3-clause
6,097
# 2012-04-09 ## Reviewed by: your_name_here ## Raw image gallery: http://physics.mnstate.edu/feder_gallery/2012-04-09 ## Unusual images? Are there any images that look unusual? List the file name of any unusual images for this night here, with description: + `crazy-object-001R.fit` -- not sure what this is an im...
feder-observatory/processed_images
nights/2012-04-09-README.md
Markdown
bsd-3-clause
1,544
/* * Copyright © 2009 CNRS * Copyright © 2009-2010 INRIA. All rights reserved. * Copyright © 2009-2011 Université Bordeaux 1 * Copyright © 2011 Cisco Systems, Inc. All rights reserved. * See COPYING in top-level directory. */ /** \file * \brief Macros to help interaction between hwloc and glibc scheduling rou...
gnu3ra/SCC15HPCRepast
INSTALLATION/mpich2-1.4.1p1/src/pm/hydra/tools/topo/hwloc/hwloc/include/hwloc/glibc-sched.h
C
bsd-3-clause
3,349
// 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 "config.h" #include "bindings/core/v8/ScriptStreamer.h" #include "bindings/core/v8/ScriptStreamerThread.h" #include "bindings/core/v8/V8ScriptRu...
CTSRD-SOAAP/chromium-42.0.2311.135
third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp
C++
bsd-3-clause
18,525
# -*- coding: utf-8 -*- from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('entries', '0005_resultsmode_json'), ] operations = [ migrations.AlterField( model_name='resultsmode', name='json', field=models....
mjtamlyn/archery-scoring
entries/migrations/0006_auto_20150612_2307.py
Python
bsd-3-clause
372
// 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 "content/browser/device_sensors/sensor_manager_android.h" #include <string.h> #include "base/android/context_utils.h" #include "base/android/jn...
danakj/chromium
content/browser/device_sensors/sensor_manager_android.cc
C++
bsd-3-clause
18,015
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; use kartik\date\DatePicker; /* @var $this yii\web\View */ /* @var $model app\models\Cosechadia */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="row"> <div class="col-xs-12"> <?php $form = ActiveForm::begin([ 'options' => ['clas...
ppino/Cosecha
views/cosechadia/_form.php
PHP
bsd-3-clause
2,646
#ifndef NEK_CONTAINER_CONTAINER_TRAITS_CONTAINER_TRAITS_HPP #define NEK_CONTAINER_CONTAINER_TRAITS_CONTAINER_TRAITS_HPP #include <cstddef> #include <nek/container/container_traits/container_tag.hpp> #include <nek/mpl/identity.hpp> #include <nek/mpl/eval_if.hpp> #include <nek/type_traits/is_array.hpp> #include <nek/ut...
nekko1119/nek
nek/container/container_traits/container_traits.hpp
C++
bsd-3-clause
1,864
<!DOCTYPE html> <html> <head data-gwd-animation-mode="proMode"> <meta charset="utf-8"> <title>Login</title> <meta name="generator" content="Google Web Designer 1.4.2.0915"> <style type="text/css"> html, body { width: 100%; height: 100%; margin: 0px; } .gwd-div-1yun { width: ...
krystouf/injazfuj
Login/Login.html
HTML
bsd-3-clause
656
/** * @file * * @brief A plugin that converts keys to metakeys and vice versa * * @copyright BSD License (see LICENSE.md or https://www.libelektra.org) * */ #include "keytometa.h" #ifndef HAVE_KDBCONFIG #include "kdbconfig.h" #endif #include <errno.h> #include <stdbool.h> #include <stdlib.h> static const ch...
e1528532/libelektra
src/plugins/keytometa/keytometa.c
C
bsd-3-clause
9,287
package com.feeyo.net.nio.util; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.IOException; import java.nio.channels.SelectionKey; import java.nio.channels.Selector; import java.util.ConcurrentModificationException; public class SelectorUtil { private static final Logger LOGGER = Logge...
variflight/feeyo-redisproxy
src/main/java/com/feeyo/net/nio/util/SelectorUtil.java
Java
bsd-3-clause
2,816
import * as API from './sessionApi'; import * as constants from './sessionConstants'; import { getNullUser, camelCaseObjKeys } from 'ssUtil'; export const setUser = user => ({ type: constants.SET_USER, user }); export const resetUser = () => ({ type: constants.RESET_USER }); export const login = user => async ...
jaredjj3/string-sync
client/src/data/api/session/sessionActions.ts
TypeScript
bsd-3-clause
560
<!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" lang="es-ES" xml:lang="es-ES"> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>LightZone: Styles: Exportin...
MarinnaCole/LightZone
lightcrafts/help/Spanish/Styles-Exporting.html
HTML
bsd-3-clause
2,490
// Copyright (c) 2011 The Chromium OS 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 LOGIN_MANAGER_MOCK_POLICY_STORE_H_ #define LOGIN_MANAGER_MOCK_POLICY_STORE_H_ #include "login_manager/policy_store.h" namespace login_man...
chadversary/chromiumos.platform.login_manager
mock_policy_store.h
C
bsd-3-clause
826
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Polymer Codelab Messina</title> <link rel="stylesheet" href="styles/main.css"> <script src="bower_components/webcomponentsjs/webcomponents-lite.js"></script> ...
Granze/polymer-codelab-messina
app/index.html
HTML
bsd-3-clause
1,580
<?php namespace Application\Gateway; use Rox\Gateway\MongoDb\AbstractGateway; class Karts extends AbstractGateway { }
marcelojeff/kart
module/Application/src/Application/Gateway/Karts.php
PHP
bsd-3-clause
125
<?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...
TrafeX/zf2
library/Zend/Markup/Renderer/Markup/Html/Root.php
PHP
bsd-3-clause
1,464
<?php defined('COT_CODE') or die('Wrong URL.'); if(empty($GLOBALS['db_files_folders'])) { cot::$db->registerTable('files_folders'); cot_extrafields_register_table('files_folders'); } /** * Модель File Folder * * @method static files_model_Folder getById($pk, $staticCache = true); * @method static files_mo...
Alex300/files
files/model/Folder.php
PHP
bsd-3-clause
10,024
/* * Copyright (c) 2014, Araz Abishov * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of condition...
dhis2/dhis2-android-datacapture
dhis2-android-app/src/main/java/org/dhis2/mobile/utils/date/DateIteratorFactory.java
Java
bsd-3-clause
5,974
/****************************************************************************** * Copyright (c) 2010-2011, PCMS Lab * 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...
tectronics/jssunit
src/jssUnit-Console/scripting.cpp
C++
bsd-3-clause
8,245
/* * Software License Agreement (BSD License) * * Copyright (c) 2011-2014, Willow Garage, Inc. * Copyright (c) 2014-2016, Open Source Robotics Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following c...
hsu/fcl
include/fcl/narrowphase/detail/traversal/distance/mesh_shape_distance_traversal_node.h
C
bsd-3-clause
7,388
<?php use yii\helpers\Html; use kartik\export\ExportMenu; use kartik\grid\GridView; /* @var $this yii\web\View */ /* @var $searchModel app\models\ExpenceSearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = 'Expences'; $this->params['breadcrumbs'][] = $this->title; $search = "$('.sear...
djn21/proman
_protected/views/expence/index.php
PHP
bsd-3-clause
3,652
package com.smartdevicelink.proxy.rpc.enums; public enum DeliveryMode { PROMPT, DESTINATION, QUEUE, ; public static DeliveryMode valueForString(String value) { try{ return valueOf(value); }catch(Exception e){ return null; } } }
914802951/sdl_android
sdl_android/src/main/java/com/smartdevicelink/proxy/rpc/enums/DeliveryMode.java
Java
bsd-3-clause
299
from twisted.plugin import IPlugin from twisted.words.protocols import irc from txircd.config import ConfigValidationError from txircd.module_interface import Command, ICommand, IModuleData, ModuleData from txircd.utils import durationToSeconds, ipAddressToShow, ircLower, now from zope.interface import implementer from...
Heufneutje/txircd
txircd/modules/rfc/cmd_whowas.py
Python
bsd-3-clause
4,564
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.conf import settings from django.conf.urls import include, url from django.conf.urls.static import static from django.contrib import admin from django.views.generic import TemplateView from django.views import defaults as default_views urlpat...
ylitormatech/terapialaskutus
config/urls.py
Python
bsd-3-clause
1,837
import json from json_url_rewriter import config from json_url_rewriter.rewrite import URLRewriter class HeaderToPathPrefixRewriter(object): """ A rewriter to take the value of a header and prefix any path. """ def __init__(self, keys, base, header_name): self.keys = keys self.base =...
ionrock/json_url_rewriter
json_url_rewriter/middleware.py
Python
bsd-3-clause
2,398
Rainbows! do name = 'project-status' use :ThreadPool case ENV['RACK_ENV'].to_sym when :development worker_processes 2 worker_connections 4 listen 9292 when :production worker_processes 2 worker_connections 32 timeout 30 listen "unix:/var/run/geoloqi/#{name}.sock", :backlog => 4096...
aaronpk/Project-Status
rainbows_config.rb
Ruby
bsd-3-clause
1,628
<!DOCTYPE html> <html> <head> <title>Change source | CARTO</title> <meta name="viewport" content="initial-scale=1.0"> <meta charset="utf-8"> <!-- Include Leaflet --> <script src="https://unpkg.com/leaflet@1.2.0/dist/leaflet.js"></script> <link href="https://unpkg.com/leaflet@1.2.0/dist/leaflet...
splashblot/cartodb.js
examples/public/layers/change-source-leaflet.html
HTML
bsd-3-clause
3,322
#include <QtGui/QApplication> #include "mainwindow.h" int main(int argc, char *argv[]) { QApplication a(argc, argv); qpd_MainWindow w; w.show(); return a.exec(); }
errordeveloper/qpd-projects
basic/blank/main.cpp
C++
bsd-3-clause
181
TC_ARCH = cedarview TC_VERS = 7.0 TC_KERNEL = 3.10.108 TC_GCC = 7.3.0 TC_GLIBC = 2.26 TC_DIST = cedarview-gcc730_glibc226_x86_64-GPL TC_DIST_SITE_PATH = Intel%20x86%20Linux%203.10.108%20%28Cedarview%29 TC_TARGET = x86_64-pc-linux-gnu TC_SYSROOT = $(TC_TARGET)/sys-root include ../../mk/spksrc.tc.mk
Zetten/spksrc
toolchain/syno-cedarview-7.0/Makefile
Makefile
bsd-3-clause
302
def extractSweetjamtranslationsCom(item): ''' Parser for 'sweetjamtranslations.com' ''' vol, chp, frag, postfix = extractVolChapterFragmentPostfix(item['title']) if not (chp or vol) or "preview" in item['title'].lower(): return None tagmap = [ ('PRC', 'PRC', 'translated'), ('Lo...
fake-name/ReadableWebProxy
WebMirror/management/rss_parser_funcs/feed_parse_extractSweetjamtranslationsCom.py
Python
bsd-3-clause
561
def extractMiratlsWordpressCom(item): ''' Parser for 'miratls.wordpress.com' ''' vol, chp, frag, postfix = extractVolChapterFragmentPostfix(item['title']) if not (chp or vol) or "preview" in item['title'].lower(): return None tagmap = [ ('PRC', 'PRC', 'translated'), ('Loiterous...
fake-name/ReadableWebProxy
WebMirror/management/rss_parser_funcs/feed_parse_extractMiratlsWordpressCom.py
Python
bsd-3-clause
554
#include <stdio.h> #include <ctype.h> #include <stdlib.h> #include <string.h> #include "svm.h" char* line; int max_line_len = 1024; struct svm_node *x; int max_nr_attr = 64; struct svm_model* model; int predict_probability=0; void predict(FILE *input, FILE *output) { int correct = 0; int total = 0; double error =...
npinto/libsvm-2.84_varma-np
svm-predict.c
C
bsd-3-clause
4,007
from textwrap import dedent from sympy import ( symbols, Integral, Tuple, Dummy, Basic, default_sort_key, Matrix, factorial, true) from sympy.combinatorics import RGS_enum, RGS_unrank, Permutation from sympy.utilities.iterables import ( _partition, _set_partitions, binary_partitions, bracelets, capture, ...
hrashk/sympy
sympy/utilities/tests/test_iterables.py
Python
bsd-3-clause
24,090
/* * Copyright (c) 2015, Ford Motor Company * 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 condit...
smartdevicelink/sdl_core
src/components/utils/test/lock_boost_test.cc
C++
bsd-3-clause
3,407
import { IRangeElem } from './IRangeElem'; import { IIterator } from '../../base/iterator'; export declare class SingleRangeElem implements IRangeElem { readonly from: number; constructor(from: number); get step(): number; get to(): number; get isAll(): boolean; get isSingle(): boolean; get ...
datavisyn/tdp_core
dist/range/internal/SingleRangeElem.d.ts
TypeScript
bsd-3-clause
653
/* * Android SDK for Piwik * * @link https://github.com/piwik/piwik-android-sdk * @license https://github.com/piwik/piwik-sdk-android/blob/master/LICENSE BSD-3 Clause */ package org.piwik.sdk; import android.support.annotation.NonNull; import org.piwik.sdk.dispatcher.Dispatcher; import java.util.HashMap; /** ...
seancunningham/piwik-sdk-android
piwik-sdk/src/main/java/org/piwik/sdk/TrackMe.java
Java
bsd-3-clause
4,126
<?php namespace app\models; use Yii; use yii\base\Model; use yii\data\ActiveDataProvider; use app\models\Kabupaten; /** * KabupatenSearch represents the model behind the search form about `app\models\Kabupaten`. */ class KabupatenSearch extends Kabupaten { /** * @inheritdoc */ public function rul...
TutorialPemrogramanID/dekranasda
models/KabupatenSearch.php
PHP
bsd-3-clause
1,704
import { AppRegistry } from "react-native-web"; import { mount } from "enzyme"; import { addSerializers, compose, enzymeTreeSerializer, justChildren, meltNative, minimaliseTransform, minimalWebTransform, print, propsNoChildren, replaceTransform, rnwTransform } from "@times-components/jest-serializ...
newsuk/times-components
packages/card/__tests__/shared.js
JavaScript
bsd-3-clause
891
module AutoBrewster class Screenshot attr_accessor :server, :path, :url_paths, :screen_widths, :failed_fast def initialize(server, path, url_paths, screen_widths) @server = server @path = path @url_paths = url_paths ...
madetech/autobrewster
lib/auto_brewster/screenshot.rb
Ruby
bsd-3-clause
2,785
// 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 "chromeos/network/onc/onc_translator.h" #include <string> #include "base/basictypes.h" #include "base/json/json_reader.h" #include "base/js...
mogoweb/chromium-crosswalk
chromeos/network/onc/onc_translator_shill_to_onc.cc
C++
bsd-3-clause
14,135
package com.cjm721.overloaded.block.basic.hyperTransfer; import com.cjm721.overloaded.block.basic.hyperTransfer.base.AbstractBlockHyperReceiver; import com.cjm721.overloaded.tile.hyperTransfer.TileHyperEnergyReceiver; import com.cjm721.overloaded.client.render.dynamic.ImageUtil; import com.cjm721.overloaded.config.Ove...
CJ-MC-Mods/Overloaded
src/main/java/com/cjm721/overloaded/block/basic/hyperTransfer/BlockHyperEnergyReceiver.java
Java
bsd-3-clause
1,407
from pypom import Region from selenium.webdriver.common.by import By from base import Base class Collections(Base): """Collections page.""" _item_locator = (By.CSS_SELECTOR, '.item') def wait_for_page_to_load(self): self.wait.until(lambda _: len(self.collections) > 0 and ...
harikishen/addons-server
tests/ui/pages/desktop/collections.py
Python
bsd-3-clause
779
<?php defined('SYSPATH') or die('No direct script access.'); ?> 2015-05-12 11:03:11 --- ERROR: Kohana_Exception [ 0 ]: The reprog_eval_beneficiarios property does not exist in the Model_Proyectosexcel class ~ MODPATH/orm/classes/kohana/orm.php [ 746 ]
sysdevbol/entidad
application/logs/2015/05/12.php
PHP
bsd-3-clause
252
/*================================================================================ Copyright (c) 2012 Steve Jin. 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 re...
xebialabs/vijava
src/com/vmware/vim25/ConfigTarget.java
Java
bsd-3-clause
7,050
#include <ruby.h> VALUE sm_define_const(VALUE self, VALUE klass, VALUE val) { rb_define_const(klass, "FOO", val); return Qnil; } VALUE sm_const_defined(VALUE self, VALUE klass, VALUE id) { return (VALUE)rb_const_defined(klass, SYM2ID(id)); } void Init_subtend_module() { VALUE cls; cls = rb_define_class("Su...
chad/rubinius
spec/subtend/ext/subtend_module.c
C
bsd-3-clause
481
<patTemplate:tmpl name="menu"> <div id="topmenu"> <div id="menutitle"> <img src="images/icons/gnome/stock/generic/stock_people.png">Clients </div> <ul> <li><form action="?page=clients&action=new" method="POST">New: <input type="submit" name="Submit" value="invoice"> <input type="submit" name="Submit" value="proje...
UMD-SEAM/bugbox
framework/Targets/phpaccounts_0_5_3/application/templates/clients.tmpl.html
HTML
bsd-3-clause
18,077
// Copyright 2014 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. // The coordinator runs on GCE and coordinates builds in Docker containers. package main import ( "bytes" "crypto/hmac" "crypto/md5" "encoding/json" "flag...
athom/go.tools
dashboard/coordinator/main.go
GO
bsd-3-clause
11,840
from __future__ import unicode_literals from django.db import models from modelcluster.fields import ParentalKey from wagtail.wagtailcore.models import Page from wagtail.wagtailcore import fields from wagtail.wagtailadmin.edit_handlers import FieldPanel from wagtail.wagtailadmin.edit_handlers import InlinePanel from...
abirafdirp/blog-wagtail
about/models.py
Python
bsd-3-clause
785
// // Copyright 2020 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // vulkan_icd.cpp : Helper for creating vulkan instances & selecting physical device. #include "common/vulkan/vulkan_icd.h" #include <functio...
endlessm/chromium-browser
third_party/angle/src/common/vulkan/vulkan_icd.cpp
C++
bsd-3-clause
7,318
package gwlpr.protocol.gameserver.outbound; import gwlpr.protocol.serialization.GWMessage; /** * Auto-generated by PacketCodeGen. * */ public final class P293_GuildAnnouncement extends GWMessage { private String announcement; private String characterName; @Override public short getHeader()...
GameRevision/GWLP-R
protocol/src/main/java/gwlpr/protocol/gameserver/outbound/P293_GuildAnnouncement.java
Java
bsd-3-clause
869
--- id: bd7123c9c549eddfaeb5bdef title: 使用方括号查找字符串中的第一个字符 challengeType: 1 videoUrl: 'https://scrimba.com/c/ca8JwhW' forumTopicId: 18341 dashedName: use-bracket-notation-to-find-the-first-character-in-a-string --- # --description-- 方括号表示法(<dfn>Bracket notation</dfn>)是一种在字符串中的特定 index(索引)处获取字符的方法。 大多数现代编程语言,如 JavaScr...
FreeCodeCamp/FreeCodeCamp
curriculum/challenges/chinese/02-javascript-algorithms-and-data-structures/basic-javascript/use-bracket-notation-to-find-the-first-character-in-a-string.md
Markdown
bsd-3-clause
1,751
// 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. #ifndef CHROME_BROWSER_EXTENSIONS_API_SETTINGS_PRIVATE_SETTINGS_PRIVATE_EVENT_ROUTER_FACTORY_H_ #define CHROME_BROWSER_EXTENSIONS_API_SETTINGS_PRIVATE_SET...
nwjs/chromium.src
chrome/browser/extensions/api/settings_private/settings_private_event_router_factory.h
C
bsd-3-clause
2,097
/* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Re...
scibuilder/blis
frame/3/trmm/bli_trmm_blk_var1f.c
C
bsd-3-clause
5,923
import eqpy import sympy from eqpy._utils import raises def test_constants(): assert eqpy.nums.Catalan is sympy.Catalan assert eqpy.nums.E is sympy.E assert eqpy.nums.EulerGamma is sympy.EulerGamma assert eqpy.nums.GoldenRatio is sympy.GoldenRatio assert eqpy.nums.I is sympy.I assert eqpy.nums...
eriknw/eqpy
eqpy/tests/test_nums.py
Python
bsd-3-clause
747
<!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>getPieceAtRandom method - BitfieldPlus class - hetimatorrent.util library - Dart API</title> <!-- required ...
kyorohiro/dart_hetimatorrent
doc/api/hetimatorrent.util/BitfieldPlus/getPieceAtRandom.html
HTML
bsd-3-clause
8,297